Skip to content

Commit 335fb44

Browse files
ncrmroclaude
andcommitted
Refactor schedule.py to use ScheduleRunner abstraction
Extract platform-specific scheduling logic into a runner registry pattern (matching AgentAdapter), making it straightforward to add future runners like GitHub Actions or Kubernetes jobs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1df99e9 commit 335fb44

6 files changed

Lines changed: 734 additions & 722 deletions

File tree

doc/architecture.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ deepwork/ # DeepWork tool repository
4040
│ │ ├── __init__.py
4141
│ │ ├── main.py # CLI entry point
4242
│ │ ├── install.py # Install command
43-
│ │ └── sync.py # Sync command
43+
│ │ ├── sync.py # Sync command
44+
│ │ ├── schedule.py # Schedule command (thin CLI layer)
45+
│ │ └── runners.py # Schedule runners (systemd, launchd)
4446
│ ├── core/
4547
│ │ ├── adapters.py # Agent adapters for AI platforms
4648
│ │ ├── detector.py # AI platform detection

0 commit comments

Comments
 (0)