mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 03:30:48 +08:00
Store self-contained playbook recipes on scheduled jobs, add schedule_propose draft gate, and run playbook instructions at fire time instead of only short reminders. Co-authored-by: Cursor <cursoragent@cursor.com>
32 lines
906 B
Python
32 lines
906 B
Python
from __future__ import annotations
|
|
|
|
"""Scheduled job tools exposed to all specialists.
|
|
|
|
These tools are low-risk persistence operations (create/update/pause/delete scheduled jobs) and
|
|
are useful across specialists (ops, generalist, etc.). They remain context-scoped via
|
|
`runtime.tools.context_inject.enrich_tool_arguments`, so tenant/user/session are filled from the
|
|
current chat session.
|
|
"""
|
|
|
|
from runtime.tools.experts.productivity.schedule_tools import (
|
|
schedule_create_tool,
|
|
schedule_delete_tool,
|
|
schedule_list_tool,
|
|
schedule_pause_tool,
|
|
schedule_propose_tool,
|
|
schedule_resume_tool,
|
|
schedule_run_now_tool,
|
|
schedule_update_tool,
|
|
)
|
|
|
|
__all__ = [
|
|
"schedule_create_tool",
|
|
"schedule_delete_tool",
|
|
"schedule_list_tool",
|
|
"schedule_pause_tool",
|
|
"schedule_propose_tool",
|
|
"schedule_resume_tool",
|
|
"schedule_run_now_tool",
|
|
"schedule_update_tool",
|
|
]
|
|
|