feat(cron): enable and disable jobs from the tool

This commit is contained in:
david-dev666 authored and Xubin Ren committed 2026-10-25 14:08:36 +08:00
1 parent 60fd7c1a64
commit f971712f4f
5 files changed
+163 -9

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ from nanobot.agent.tools.registry import ToolRegistry
class _SvcStub:
"""Minimal CronService stand-in; we only exercise schema/dispatch paths."""
def list_jobs(self):
def list_jobs(self, include_disabled=False):
return []
def get_job(self, _job_id):