sisyphi 1.2.1 → 1.2.11
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.
- package/README.md +20 -20
- package/dist/cli.js +12461 -11237
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +1112 -564
- package/dist/daemon.js.map +1 -1
- package/dist/templates/agent-plugin/agents/CLAUDE.md +2 -2
- package/dist/templates/agent-plugin/agents/implementor.md +3 -2
- package/dist/templates/agent-plugin/agents/operator.md +3 -4
- package/dist/templates/agent-plugin/agents/plan.md +1 -1
- package/dist/templates/agent-plugin/agents/problem.md +20 -20
- package/dist/templates/agent-plugin/agents/research-lead.md +1 -1
- package/dist/templates/agent-plugin/agents/spec/engineer.md +9 -7
- package/dist/templates/agent-plugin/agents/spec/requirements-writer.md +1 -1
- package/dist/templates/agent-plugin/agents/spec.md +31 -25
- package/dist/templates/agent-plugin/hooks/CLAUDE.md +0 -1
- package/dist/templates/agent-plugin/hooks/ask-background-guard.sh +11 -11
- package/dist/templates/agent-plugin/hooks/intercept-send-message.sh +1 -1
- package/dist/templates/agent-plugin/hooks/operator-user-prompt.sh +2 -2
- package/dist/templates/agent-plugin/hooks/plan-validate.sh +3 -3
- package/dist/templates/agent-plugin/hooks/require-submit.sh +1 -1
- package/dist/templates/agent-plugin/skills/operator/SKILL.md +1 -1
- package/dist/templates/agent-suffix.md +4 -18
- package/dist/templates/companion-plugin/hooks/user-prompt-context.sh +1 -1
- package/dist/templates/dashboard-claude.md +15 -13
- package/dist/templates/orchestrator-base.md +44 -78
- package/dist/templates/orchestrator-completion.md +9 -11
- package/dist/templates/orchestrator-discovery.md +8 -8
- package/dist/templates/orchestrator-impl.md +6 -7
- package/dist/templates/orchestrator-planning.md +2 -2
- package/dist/templates/orchestrator-plugin/commands/sisyphus/scratch.md +1 -1
- package/dist/templates/orchestrator-plugin/commands/sisyphus/strategize.md +2 -2
- package/dist/templates/orchestrator-validation.md +1 -3
- package/dist/templates/termrender-haiku-system.md +5 -3
- package/dist/tui.js +1817 -1400
- package/dist/tui.js.map +1 -1
- package/native/build-notify.sh +2 -2
- package/package.json +3 -3
- package/templates/agent-plugin/agents/CLAUDE.md +2 -2
- package/templates/agent-plugin/agents/implementor.md +3 -2
- package/templates/agent-plugin/agents/operator.md +3 -4
- package/templates/agent-plugin/agents/plan.md +1 -1
- package/templates/agent-plugin/agents/problem.md +20 -20
- package/templates/agent-plugin/agents/research-lead.md +1 -1
- package/templates/agent-plugin/agents/spec/engineer.md +9 -7
- package/templates/agent-plugin/agents/spec/requirements-writer.md +1 -1
- package/templates/agent-plugin/agents/spec.md +31 -25
- package/templates/agent-plugin/hooks/CLAUDE.md +0 -1
- package/templates/agent-plugin/hooks/ask-background-guard.sh +11 -11
- package/templates/agent-plugin/hooks/intercept-send-message.sh +1 -1
- package/templates/agent-plugin/hooks/operator-user-prompt.sh +2 -2
- package/templates/agent-plugin/hooks/plan-validate.sh +3 -3
- package/templates/agent-plugin/hooks/require-submit.sh +1 -1
- package/templates/agent-plugin/skills/operator/SKILL.md +1 -1
- package/templates/agent-suffix.md +4 -18
- package/templates/companion-plugin/hooks/user-prompt-context.sh +1 -1
- package/templates/dashboard-claude.md +15 -13
- package/templates/orchestrator-base.md +44 -78
- package/templates/orchestrator-completion.md +9 -11
- package/templates/orchestrator-discovery.md +8 -8
- package/templates/orchestrator-impl.md +6 -7
- package/templates/orchestrator-planning.md +2 -2
- package/templates/orchestrator-plugin/commands/sisyphus/scratch.md +1 -1
- package/templates/orchestrator-plugin/commands/sisyphus/strategize.md +2 -2
- package/templates/orchestrator-validation.md +1 -3
- package/templates/termrender-haiku-system.md +5 -3
- package/dist/templates/agent-plugin/skills/humanloop/SKILL.md +0 -148
- package/dist/templates/agent-plugin/skills/operator-memory/SKILL.md +0 -64
- package/dist/templates/agent-plugin/skills/perspective-fanout/SKILL.md +0 -115
- package/dist/templates/agent-plugin/skills/problem-document/SKILL.md +0 -105
- package/dist/templates/agent-plugin/skills/problem-plateau-breakers/SKILL.md +0 -83
- package/dist/templates/orchestrator-plugin/skills/humanloop/SKILL.md +0 -150
- package/dist/templates/orchestrator-plugin/skills/orchestration/CLAUDE.md +0 -1
- package/dist/templates/orchestrator-plugin/skills/orchestration/SKILL.md +0 -29
- package/dist/templates/orchestrator-plugin/skills/orchestration/strategy.md +0 -160
- package/dist/templates/orchestrator-plugin/skills/orchestration/task-patterns.md +0 -266
- package/dist/templates/orchestrator-plugin/skills/orchestration/workflow-examples.md +0 -428
- package/templates/agent-plugin/skills/humanloop/SKILL.md +0 -148
- package/templates/agent-plugin/skills/operator-memory/SKILL.md +0 -64
- package/templates/agent-plugin/skills/perspective-fanout/SKILL.md +0 -115
- package/templates/agent-plugin/skills/problem-document/SKILL.md +0 -105
- package/templates/agent-plugin/skills/problem-plateau-breakers/SKILL.md +0 -83
- package/templates/orchestrator-plugin/skills/humanloop/SKILL.md +0 -150
- package/templates/orchestrator-plugin/skills/orchestration/CLAUDE.md +0 -1
- package/templates/orchestrator-plugin/skills/orchestration/SKILL.md +0 -29
- package/templates/orchestrator-plugin/skills/orchestration/strategy.md +0 -160
- package/templates/orchestrator-plugin/skills/orchestration/task-patterns.md +0 -266
- 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
|
|
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
|
|
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
|
|
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`, `
|
|
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
|
|
393
|
-
sis
|
|
394
|
-
sis
|
|
395
|
-
sis
|
|
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 `
|
|
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
|
|