Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(cli): reject deprecated watch update prompt flags
cyhda1966c08ed8
diff --git a/tests/test_cli_watch_command.py b/tests/test_cli_watch_command.pyindex 8d6ecdc6e..0055605e3 100644--- a/tests/test_cli_watch_command.py+++ b/tests/test_cli_watch_command.py@@ -688,6 +688,36 @@ def test_watch_update_no_changes_returns_structured_error(tmp_path: Path) -> Nonassert payload["code"] == "no_watch_changes"+def test_watch_update_rejects_deprecated_prompt_argument(tmp_path: Path) -> None:+ store = ManagedWatchStore(tmp_path / "watches.json")+ watch = store.add_watch(+ name="Watch CI",+ session_key="slack::channel::C123",+ command=["python3", "wait.py"],+ shell_command=None,+ prefix=None,+ cwd=None,+ mode="once",+ timeout_seconds=600,+ lifetime_timeout_seconds=0,+ retry_exit_codes=[75],+ retry_delay_seconds=30,+ post_to=None,+ deliver_key=None,+ )+ args = _parse_watch_update([watch.id, "--prompt", "hello"])++ with (+ patch("vibe.cli._ensure_config", return_value=_configured_v2({"slack"})),+ patch("vibe.cli._watch_store", return_value=store),+ ):+ result, payload = _capture_stderr_json(cli.cmd_watch_update, args)++ assert result == 1+ assert payload["code"] == "deprecated_prompt_argument"+ assert "--message" in payload["hint"]++def test_watch_add_rejects_deprecated_prompt_argument() -> None:args = _parse_watch_add([diff --git a/vibe/cli.py b/vibe/cli.pyindex 2e6ab4e01..2b110dfba 100644--- a/vibe/cli.py+++ b/vibe/cli.py@@ -2697,7 +2697,10 @@ def cmd_watch_update(args):else watch.prefix))- message_changed = getattr(args, "message", None) is not None or getattr(args, "message_file", None) is not None+ message_changed = any(+ getattr(args, name, None) is not None+ for name in ("message", "message_file", "prompt", "prompt_file")+ )if message_changed:message = _resolve_optional_message_input(args,