From 831b95ea481a4659df23e8011e69f5c19eab124c Mon Sep 17 00:00:00 2001 From: BobAi Date: Fri, 15 Aug 2025 15:20:11 +1000 Subject: [PATCH] Add update commands to shell script router MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enable 'rag-mini check-update' and 'rag-mini update' commands by routing them through to the Python script. ✅ Commands now work: - rag-mini check-update (shows available updates) - rag-mini update (installs updates with confirmation) - Regular commands show discrete notifications 🔧 Fix: Shell wrapper now properly routes update commands to rag-mini.py instead of showing 'unknown command' error. --- rag-mini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rag-mini b/rag-mini index 73be737..770f267 100755 --- a/rag-mini +++ b/rag-mini @@ -327,7 +327,7 @@ main() { shift exec "$PYTHON" "$SCRIPT_DIR/mini_rag/fast_server.py" "$@" ;; - "index"|"search"|"explore"|"status") + "index"|"search"|"explore"|"status"|"update"|"check-update") # Direct CLI commands - call Python script exec "$PYTHON" "$SCRIPT_DIR/rag-mini.py" "$@" ;;