sisyphi 1.2.2 → 1.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/README.md +20 -20
  2. package/dist/cli.js +12450 -11255
  3. package/dist/cli.js.map +1 -1
  4. package/dist/daemon.js +1113 -565
  5. package/dist/daemon.js.map +1 -1
  6. package/dist/templates/agent-plugin/agents/CLAUDE.md +2 -2
  7. package/dist/templates/agent-plugin/agents/operator.md +3 -4
  8. package/dist/templates/agent-plugin/agents/plan.md +1 -1
  9. package/dist/templates/agent-plugin/agents/problem.md +20 -20
  10. package/dist/templates/agent-plugin/agents/research-lead.md +1 -1
  11. package/dist/templates/agent-plugin/agents/spec/engineer.md +9 -7
  12. package/dist/templates/agent-plugin/agents/spec/requirements-writer.md +1 -1
  13. package/dist/templates/agent-plugin/agents/spec.md +31 -25
  14. package/dist/templates/agent-plugin/hooks/CLAUDE.md +0 -1
  15. package/dist/templates/agent-plugin/hooks/ask-background-guard.sh +11 -11
  16. package/dist/templates/agent-plugin/hooks/intercept-send-message.sh +1 -1
  17. package/dist/templates/agent-plugin/hooks/operator-user-prompt.sh +2 -2
  18. package/dist/templates/agent-plugin/hooks/plan-validate.sh +3 -3
  19. package/dist/templates/agent-plugin/hooks/require-submit.sh +1 -1
  20. package/dist/templates/agent-plugin/skills/operator/SKILL.md +1 -1
  21. package/dist/templates/agent-suffix.md +4 -18
  22. package/dist/templates/companion-plugin/hooks/user-prompt-context.sh +1 -1
  23. package/dist/templates/dashboard-claude.md +15 -13
  24. package/dist/templates/orchestrator-base.md +44 -78
  25. package/dist/templates/orchestrator-completion.md +9 -11
  26. package/dist/templates/orchestrator-discovery.md +8 -8
  27. package/dist/templates/orchestrator-impl.md +6 -7
  28. package/dist/templates/orchestrator-planning.md +2 -2
  29. package/dist/templates/orchestrator-plugin/commands/sisyphus/scratch.md +1 -1
  30. package/dist/templates/orchestrator-plugin/commands/sisyphus/strategize.md +2 -2
  31. package/dist/templates/orchestrator-validation.md +1 -3
  32. package/dist/templates/termrender-haiku-system.md +5 -3
  33. package/dist/tui.js +1817 -1400
  34. package/dist/tui.js.map +1 -1
  35. package/native/build-notify.sh +2 -2
  36. package/package.json +3 -3
  37. package/templates/agent-plugin/agents/CLAUDE.md +2 -2
  38. package/templates/agent-plugin/agents/operator.md +3 -4
  39. package/templates/agent-plugin/agents/plan.md +1 -1
  40. package/templates/agent-plugin/agents/problem.md +20 -20
  41. package/templates/agent-plugin/agents/research-lead.md +1 -1
  42. package/templates/agent-plugin/agents/spec/engineer.md +9 -7
  43. package/templates/agent-plugin/agents/spec/requirements-writer.md +1 -1
  44. package/templates/agent-plugin/agents/spec.md +31 -25
  45. package/templates/agent-plugin/hooks/CLAUDE.md +0 -1
  46. package/templates/agent-plugin/hooks/ask-background-guard.sh +11 -11
  47. package/templates/agent-plugin/hooks/intercept-send-message.sh +1 -1
  48. package/templates/agent-plugin/hooks/operator-user-prompt.sh +2 -2
  49. package/templates/agent-plugin/hooks/plan-validate.sh +3 -3
  50. package/templates/agent-plugin/hooks/require-submit.sh +1 -1
  51. package/templates/agent-plugin/skills/operator/SKILL.md +1 -1
  52. package/templates/agent-suffix.md +4 -18
  53. package/templates/companion-plugin/hooks/user-prompt-context.sh +1 -1
  54. package/templates/dashboard-claude.md +15 -13
  55. package/templates/orchestrator-base.md +44 -78
  56. package/templates/orchestrator-completion.md +9 -11
  57. package/templates/orchestrator-discovery.md +8 -8
  58. package/templates/orchestrator-impl.md +6 -7
  59. package/templates/orchestrator-planning.md +2 -2
  60. package/templates/orchestrator-plugin/commands/sisyphus/scratch.md +1 -1
  61. package/templates/orchestrator-plugin/commands/sisyphus/strategize.md +2 -2
  62. package/templates/orchestrator-validation.md +1 -3
  63. package/templates/termrender-haiku-system.md +5 -3
  64. package/dist/templates/agent-plugin/skills/humanloop/SKILL.md +0 -148
  65. package/dist/templates/agent-plugin/skills/operator-memory/SKILL.md +0 -64
  66. package/dist/templates/agent-plugin/skills/perspective-fanout/SKILL.md +0 -115
  67. package/dist/templates/agent-plugin/skills/problem-document/SKILL.md +0 -105
  68. package/dist/templates/agent-plugin/skills/problem-plateau-breakers/SKILL.md +0 -83
  69. package/dist/templates/orchestrator-plugin/skills/humanloop/SKILL.md +0 -150
  70. package/dist/templates/orchestrator-plugin/skills/orchestration/CLAUDE.md +0 -1
  71. package/dist/templates/orchestrator-plugin/skills/orchestration/SKILL.md +0 -29
  72. package/dist/templates/orchestrator-plugin/skills/orchestration/strategy.md +0 -160
  73. package/dist/templates/orchestrator-plugin/skills/orchestration/task-patterns.md +0 -266
  74. package/dist/templates/orchestrator-plugin/skills/orchestration/workflow-examples.md +0 -428
  75. package/templates/agent-plugin/skills/humanloop/SKILL.md +0 -148
  76. package/templates/agent-plugin/skills/operator-memory/SKILL.md +0 -64
  77. package/templates/agent-plugin/skills/perspective-fanout/SKILL.md +0 -115
  78. package/templates/agent-plugin/skills/problem-document/SKILL.md +0 -105
  79. package/templates/agent-plugin/skills/problem-plateau-breakers/SKILL.md +0 -83
  80. package/templates/orchestrator-plugin/skills/humanloop/SKILL.md +0 -150
  81. package/templates/orchestrator-plugin/skills/orchestration/CLAUDE.md +0 -1
  82. package/templates/orchestrator-plugin/skills/orchestration/SKILL.md +0 -29
  83. package/templates/orchestrator-plugin/skills/orchestration/strategy.md +0 -160
  84. package/templates/orchestrator-plugin/skills/orchestration/task-patterns.md +0 -266
  85. package/templates/orchestrator-plugin/skills/orchestration/workflow-examples.md +0 -428
package/README.md CHANGED
@@ -75,9 +75,9 @@ sis admin doctor
75
75
  ## Quick start
76
76
 
77
77
  ```bash
78
- sis start "your task description" # Start a session
79
- sis dashboard # Open the TUI (auto-opens on start)
80
- sis status # Check session state from the CLI
78
+ sis session start "your task description" # Start a session
79
+ sis ui dashboard # Open the TUI (auto-opens on start)
80
+ sis session status # Check session state from the CLI
81
81
  ```
82
82
 
83
83
  Sisyphus is a CLI that Claude Code calls for you. Tell Claude to use it and it handles the rest.
@@ -86,24 +86,24 @@ In Claude Code, say something like:
86
86
 
87
87
  > Use sisyphus to migrate our REST API from Express to Hono. The API lives in src/api/ with 14 route files...
88
88
 
89
- Claude calls `sis start` with a detailed task description, and tmux panes start appearing with parallel agents working on your codebase.
89
+ Claude calls `sis session start` with a detailed task description, and tmux panes start appearing with parallel agents working on your codebase.
90
90
 
91
91
  ### Slash command (recommended)
92
92
 
93
93
  Create `.claude/commands/sisyphus-begin.md` in your project:
94
94
 
95
95
  ~~~markdown
96
- Run `sis start` with a detailed task description:
96
+ Run `sis session start` with a detailed task description:
97
97
 
98
98
  ```bash
99
- sis start "your task description"
99
+ sis session start "your task description"
100
100
  ```
101
101
 
102
102
  Write a thorough task description. Include what needs to be built or fixed, where relevant code lives, what done looks like, constraints, and adjacent concerns (don't break X, keep Y working). More context produces better results. The orchestrator figures out how to break it down.
103
103
 
104
104
  Example:
105
105
  ```bash
106
- sis start "Rip out our hand-rolled RBAC system and replace it with a proper policy engine. Current implementation is scattered across 20+ middleware files in src/middleware/auth/ that each do their own role checks with hardcoded string comparisons. Replace with a centralized policy engine in src/auth/policies/ using a declarative permission model — define resources, actions, and role mappings in a single config, then write one middleware that evaluates policies. Migrate every route that currently calls requireRole() or checkPermission() to the new system. The admin panel (src/routes/admin/) has the most complex rules including org-scoped permissions and delegated access — those need to work exactly as before. Add integration tests that cover the full matrix: superadmin, org-admin, member, and guest across every protected endpoint. Don't break the public API routes in src/routes/v1/public/. The existing test suite (npm test) must pass when you're done."
106
+ sis session start "Rip out our hand-rolled RBAC system and replace it with a proper policy engine. Current implementation is scattered across 20+ middleware files in src/middleware/auth/ that each do their own role checks with hardcoded string comparisons. Replace with a centralized policy engine in src/auth/policies/ using a declarative permission model — define resources, actions, and role mappings in a single config, then write one middleware that evaluates policies. Migrate every route that currently calls requireRole() or checkPermission() to the new system. The admin panel (src/routes/admin/) has the most complex rules including org-scoped permissions and delegated access — those need to work exactly as before. Add integration tests that cover the full matrix: superadmin, org-admin, member, and guest across every protected endpoint. Don't break the public API routes in src/routes/v1/public/. The existing test suite (npm test) must pass when you're done."
107
107
  ```
108
108
  ~~~
109
109
 
@@ -114,7 +114,7 @@ Or just add a note to your `CLAUDE.md`:
114
114
  ```markdown
115
115
  ## Sisyphus
116
116
  For large tasks, use the `sis` CLI to orchestrate parallel agents.
117
- Run `sis start "detailed task description"` inside tmux.
117
+ Run `sis session start "detailed task description"` inside tmux.
118
118
  ```
119
119
 
120
120
  ### Interactive tutorial
@@ -122,7 +122,7 @@ Run `sis start "detailed task description"` inside tmux.
122
122
  New to tmux or sisyphus? Run the guided walkthrough:
123
123
 
124
124
  ```bash
125
- sis admin getting-started
125
+ sis ui guide
126
126
  ```
127
127
 
128
128
  Covers tmux basics, neovim essentials, sisyphus concepts, and a live demo session.
@@ -132,10 +132,10 @@ Covers tmux basics, neovim essentials, sisyphus concepts, and a live demo sessio
132
132
  Full-screen TUI for watching and controlling sessions.
133
133
 
134
134
  ```bash
135
- sis dashboard # or press M-S (Alt-Shift-S)
135
+ sis ui dashboard # or press M-S (Alt-Shift-S)
136
136
  ```
137
137
 
138
- Auto-opens when you `sis start`.
138
+ Auto-opens when you `sis session start`.
139
139
 
140
140
  Left panel is a session tree (sessions, cycles, agents, reports) with status indicators. Right panel shows detail for whatever's selected: roadmap, agent instructions, report content, live pane output. If neovim is available, files open in an embedded editor. Bottom bar has mode and keybinding hints.
141
141
 
@@ -318,7 +318,7 @@ Project `.sisyphus/config.json` overrides global `~/.sisyphus/config.json`:
318
318
 
319
319
  ### Session upload (optional)
320
320
 
321
- On session completion, sisyphus zips the session directory and uploads it to an operator-managed Cloudflare R2 bucket through a Worker proxy — asynchronously, never blocking completion. Use `sis admin upload <id>` to re-run the upload on demand (retry or in-progress sessions). `sis admin export` is unchanged; upload is purely additive.
321
+ On session completion, sisyphus zips the session directory and uploads it to an operator-managed Cloudflare R2 bucket through a Worker proxy — asynchronously, never blocking completion. Use `sis admin upload <id>` to re-run the upload on demand (retry or in-progress sessions). `sis session export` is unchanged; upload is purely additive.
322
322
 
323
323
  **Token workflow** — the operator mints a per-user token and shares a URL of the form:
324
324
 
@@ -378,21 +378,21 @@ Operator setup (token minting, Worker deployment, R2 provisioning): see [`worker
378
378
 
379
379
  Session lifecycle: `session kill`, `session resume`, `session continue`, `session rollback`, `session complete`
380
380
 
381
- Agent and orchestrator: `agent spawn`, `agent submit`, `agent report`, `orch yield`, `message`, `agent restart`, `session task`
381
+ Agent and orchestrator: `agent spawn`, `agent submit`, `agent report`, `orch yield`, `orch message`, `agent restart`, `session task`
382
382
 
383
- Monitoring: `status` (`--verbose`), `list` (`--all`), `dashboard`
383
+ Monitoring: `session status` (`--verbose`), `session list` (`--all`), `ui dashboard`
384
384
 
385
- Setup: `admin setup`, `admin init`, `admin doctor`, `admin getting-started`, `companion`, `admin uninstall`
385
+ Setup: `admin setup`, `admin init`, `admin doctor`, `ui guide`, `companion`, `admin uninstall`
386
386
 
387
387
  ### history
388
388
 
389
389
  Browse session history and metrics.
390
390
 
391
391
  ```bash
392
- sis admin history # List recent sessions
393
- sis admin history <session-id> # Inspect a specific session
394
- sis admin history --stats # Aggregate statistics
395
- sis admin history --events # Raw event timeline
392
+ sis session history # List recent sessions
393
+ sis session history <session-id> # Inspect a specific session
394
+ sis session history --stats # Aggregate statistics
395
+ sis session history --events # Raw event timeline
396
396
  ```
397
397
 
398
398
  | Option | Description |
@@ -441,7 +441,7 @@ sis session delete <session-id> --cwd /path/to/project
441
441
 
442
442
  ## Output and exit codes
443
443
 
444
- **JSON output** — `-j, --json` is available on `status`, `list`, `await`, `read`, and `admin history`. Each command emits data to stdout: a single JSON object or array, or JSONL (one object per line) for `read`.
444
+ **JSON output** — `-j, --json` is available on `session status`, `session list`, `await`, `read`, and `session history`. Each command emits data to stdout: a single JSON object or array, or JSONL (one object per line) for `read`.
445
445
 
446
446
  **ANSI color** — auto-detected from stdout TTY. Disable with `NO_COLOR=1`; force-enable with `FORCE_COLOR=1`.
447
447