mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-10 11:50:45 +08:00
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:
parent
07fd776a39
commit
ad052daaf0
3 changed files with 48 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue