@quantiya/codevibe 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/codevibe +8 -1
  2. package/package.json +1 -1
package/bin/codevibe CHANGED
@@ -361,11 +361,18 @@ case "$1" in
361
361
  fi
362
362
  exec node "$CORE_CLI" "$@"
363
363
  ;;
364
- ""|--mode|--orchestration|--companion|--agent|--forget-agent|--)
364
+ model|""|--mode|--orchestration|--companion|--agent|--forget-agent|--)
365
365
  # CodeVibe 2.0 CP-1.a: empty args OR any mode/agent/forget flag OR
366
366
  # the POSIX `--` argv terminator → orchestration shell. The TS
367
367
  # parser handles flag re-ordering + the `--` separator. Per
368
368
  # Stage 2 r2 Codex MEDIUM-1.
369
+ #
370
+ # `model` (install/status/remove/health-check) also routes here: the
371
+ # orchestration-shell CLI owns the local Gemma runtime, so it dispatches
372
+ # the `model` subcommand rather than launching the shell. Without this,
373
+ # `codevibe model ...` fell through to the unknown-command arm on a real
374
+ # host install (it only worked in-container where cli.js is invoked
375
+ # directly).
369
376
  SHELL_CLI=$(node -e "try { console.log(require.resolve('@quantiya/codevibe-core/dist/orchestration-shell/cli.js')) } catch(e) { process.exit(1) }" 2>/dev/null)
370
377
  if [ -n "$SHELL_CLI" ] && [ -f "$SHELL_CLI" ]; then
371
378
  exec node "$SHELL_CLI" "$@"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "CodeVibe — Control Claude Code, Codex CLI, and Antigravity CLI from your iPhone and Android. Real-time sync, voice prompts, approve file edits, E2E encrypted.",
5
5
  "bin": {
6
6
  "codevibe": "./bin/codevibe",