feat(tools): expose schedule tools to all specialists

Move schedule_* tool factories into the public registry so ops/generalist both can create and manage scheduled jobs, and add an English schedule shortcut.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-07-02 15:42:06 +08:00
parent 07fd776a39
commit ad052daaf0
3 changed files with 48 additions and 1 deletions

View file

@ -20,6 +20,7 @@ from runtime.tools.public.set_env_tool import set_env_tool
def test_local_public_read_tool_visible_by_default() -> None:
clear_public_tool_cache()
names = [t.name for t in default_registry(expert="network_ops+memory", specialist="ops").list()]
assert "schedule_create" in names
assert "read_file" in names
assert "list_directory" in names
assert "search_files" in names