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(tasks): prefer full command names
cyh5a1c35079a24
diff --git a/core/reply_enhancer.py b/core/reply_enhancer.pyindex 3ebf099ba..4757819ea 100644--- a/core/reply_enhancer.py+++ b/core/reply_enhancer.py@@ -197,6 +197,7 @@ Rules:- The default session key intentionally does not include a thread ID.- Only append `::thread::<thread_id>` to `--session-key` when the user explicitly wants the scheduled task to keep replying in the current thread.- Use `--cron "<expr>"` for recurring tasks or `--at "<ISO-8601>"` for one-off tasks.+- If `--timezone` is omitted, the task uses the local system timezone at creation time.- Use `--prompt "..."` or `--prompt-file <path>` to provide the task content.Examples:diff --git a/skills/use-vibe-remote/SKILL.md b/skills/use-vibe-remote/SKILL.mdindex 9c6c2d80c..5e4ad97e0 100644--- a/skills/use-vibe-remote/SKILL.md+++ b/skills/use-vibe-remote/SKILL.md@@ -2,7 +2,7 @@name: use-vibe-remoteslug: use-vibe-remotedescription: Safely inspect and modify local Vibe Remote configuration, routing, runtime settings, scheduled tasks, and operational state.-version: 0.1.1+version: 0.1.2---# Use Vibe Remote@@ -259,7 +259,7 @@ Do not hand-edit this file during normal operations unless the user explicitly a- `vibe task show <id>`- `vibe task pause <id>`- `vibe task resume <id>`-- `vibe task rm <id>`+- `vibe task remove <id>`## Scope and Precedence Rulesdiff --git a/tests/test_cli_task_command.py b/tests/test_cli_task_command.pyindex 47268f2b6..964f5393e 100644--- a/tests/test_cli_task_command.py+++ b/tests/test_cli_task_command.py@@ -97,6 +97,9 @@ def test_task_help_describes_session_key_guidance(capsys) -> None:captured = capsys.readouterr()assert "Create, inspect, and control scheduled prompts for Vibe Remote." in captured.outassert "vibe task add --session-key 'slack::channel::C123'" in captured.out+ assert "{add,list,show,pause,resume,remove}" in captured.out+ assert "rm (remove)" not in captured.out+ assert "\n ls" not in captured.outdef test_task_add_help_includes_examples_and_threadless_guidance(capsys) -> None:@@ -196,3 +199,21 @@ def test_task_show_missing_id_returns_guidance(tmp_path: Path) -> None:assert result == 1assert payload["code"] == "task_not_found"assert payload["help_command"] == "vibe task list"+++def test_task_remove_alias_parses_to_remove_command() -> None:+ parser = cli.build_parser()+ args = parser.parse_args(["task", "remove", "task-123"])++ assert args.command == "task"+ assert args.task_command == "remove"+ assert args.task_id == "task-123"+++def test_task_hidden_aliases_still_parse() -> None:+ parser = cli.build_parser()+ list_args = parser.parse_args(["task", "ls"])+ remove_args = parser.parse_args(["task", "rm", "task-123"])++ assert list_args.task_command == "ls"+ assert remove_args.task_command == "rm"diff --git a/tests/test_reply_enhancer_platform.py b/tests/test_reply_enhancer_platform.pyindex 85f759d76..eac589fac 100644--- a/tests/test_reply_enhancer_platform.py+++ b/tests/test_reply_enhancer_platform.py@@ -83,6 +83,7 @@ class ReplyEnhancerPlatformTests(unittest.IsolatedAsyncioTestCase):self.assertIn("Default session key: `slack::channel::C1`", prompt)self.assertIn("Current thread ID: `171717.123`", prompt)self.assertIn("slack::channel::C1::thread::171717.123", prompt)+ self.assertIn("If `--timezone` is omitted, the task uses the local system timezone at creation time.", prompt)self.assertIn("https://github.com/cyhhao/vibe-remote/raw/master/skills/use-vibe-remote/SKILL.md", prompt)def test_prompt_uses_fallback_platform_for_unannotated_context(self):diff --git a/vibe/cli.py b/vibe/cli.pyindex d2d1405fb..8199a93ac 100644--- a/vibe/cli.py+++ b/vibe/cli.py@@ -131,6 +131,19 @@ def _task_add_examples_text() -> str:)+def _add_hidden_task_alias(task_subparsers, alias: str, parser) -> None:+ task_subparsers.add_parser(+ alias,+ help=argparse.SUPPRESS,+ parents=[parser],+ add_help=False,+ formatter_class=argparse.RawDescriptionHelpFormatter,+ )+ task_subparsers._choices_actions = [ # type: ignore[attr-defined]+ action for action in task_subparsers._choices_actions if action.dest != alias # type: ignore[attr-defined]+ ]++def _write_json(path, payload):path.write_text(json.dumps(payload, indent=2), encoding="utf-8")@@ -479,7 +492,7 @@ def cmd_task_remove(task_id: str):TaskCliError(f"task '{task_id}' not found",code="task_not_found",- hint="Use 'vibe task list' to find a valid task ID before calling rm.",+ hint="Use 'vibe task list' to find a valid task ID before calling remove.",help_command="vibe task list",details={"task_id": task_id},)@@ -1025,7 +1038,10 @@ def build_parser():error_help_command="vibe task --help",error_hint="Run one of the task subcommands below. Use 'vibe task add --help' for task creation details.",)- task_subparsers = task_parser.add_subparsers(dest="task_command")+ task_subparsers = task_parser.add_subparsers(+ dest="task_command",+ metavar="{add,list,show,pause,resume,remove}",+ )task_subparsers.required = Truetask_add_parser = task_subparsers.add_parser(@@ -1054,10 +1070,12 @@ def build_parser():"list",help="List scheduled tasks",description="List all stored scheduled tasks.",- epilog="Use the returned task IDs with 'vibe task show', 'vibe task pause', 'vibe task resume', or 'vibe task rm'.",+ epilog="Use the returned task IDs with 'vibe task show', 'vibe task pause', 'vibe task resume', or 'vibe task remove'.",formatter_class=argparse.RawDescriptionHelpFormatter,error_help_command="vibe task list --help",)+ task_list_parser = task_subparsers.choices["list"]+ _add_hidden_task_alias(task_subparsers, "ls", task_list_parser)task_show_parser = task_subparsers.add_parser("show",@@ -1090,14 +1108,15 @@ def build_parser():task_resume_parser.add_argument("task_id", help="Task ID from 'vibe task list'")task_rm_parser = task_subparsers.add_parser(- "rm",+ "remove",help="Remove a scheduled task",description="Delete one scheduled task permanently.",epilog="Find task IDs with: vibe task list",formatter_class=argparse.RawDescriptionHelpFormatter,- error_help_command="vibe task rm --help",+ error_help_command="vibe task remove --help",)task_rm_parser.add_argument("task_id", help="Task ID from 'vibe task list'")+ _add_hidden_task_alias(task_subparsers, "rm", task_rm_parser)return parser@@ -1123,7 +1142,7 @@ def main():if args.command == "task":if args.task_command == "add":sys.exit(cmd_task_add(args))- if args.task_command == "list":+ if args.task_command in {"list", "ls"}:sys.exit(cmd_task_list())if args.task_command == "show":sys.exit(cmd_task_show(args.task_id))@@ -1131,7 +1150,7 @@ def main():sys.exit(cmd_task_set_enabled(args.task_id, False))if args.task_command == "resume":sys.exit(cmd_task_set_enabled(args.task_id, True))- if args.task_command == "rm":+ if args.task_command in {"remove", "rm"}:sys.exit(cmd_task_remove(args.task_id))parser.error("task command is required")sys.exit(cmd_vibe())