oh-my-claude-sisyphus 1.10.2 → 1.11.0
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 +50 -10
- package/dist/installer/index.d.ts +2 -2
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +2 -82
- package/dist/installer/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/claude-sisyphus.sh +9 -0
- package/scripts/install.sh +92 -65
- package/scripts/keyword-detector.sh +71 -0
- package/scripts/persistent-mode.sh +300 -0
- package/scripts/post-tool-verifier.sh +196 -0
- package/scripts/pre-tool-enforcer.sh +76 -0
- package/scripts/sisyphus-aliases.sh +18 -0
- package/scripts/stop-continuation.sh +31 -0
- package/scripts/uninstall.sh +14 -3
package/README.md
CHANGED
|
@@ -34,7 +34,20 @@
|
|
|
34
34
|
|
|
35
35
|
## Quick Install
|
|
36
36
|
|
|
37
|
-
###
|
|
37
|
+
### Via Claude Code Plugin (Recommended)
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
# In Claude Code, run:
|
|
41
|
+
/plugin install oh-my-claude-sisyphus
|
|
42
|
+
|
|
43
|
+
# Or from a marketplace:
|
|
44
|
+
/plugin marketplace add Yeachan-Heo/oh-my-claude-sisyphus
|
|
45
|
+
/plugin install oh-my-claude-sisyphus@Yeachan-Heo/oh-my-claude-sisyphus
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
This is the cleanest installation method - integrates directly with Claude Code's plugin system.
|
|
49
|
+
|
|
50
|
+
### One-liner (macOS/Linux)
|
|
38
51
|
|
|
39
52
|
```bash
|
|
40
53
|
curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claude-sisyphus/main/scripts/install.sh | bash
|
|
@@ -46,7 +59,7 @@ curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claude-sisyphus/m
|
|
|
46
59
|
npm install -g oh-my-claude-sisyphus
|
|
47
60
|
```
|
|
48
61
|
|
|
49
|
-
> **Windows Users**: This is the
|
|
62
|
+
> **Windows Users**: This is the recommended installation method. Requires Node.js 20+.
|
|
50
63
|
|
|
51
64
|
### Manual Install (macOS/Linux)
|
|
52
65
|
|
|
@@ -61,6 +74,24 @@ chmod +x scripts/install.sh
|
|
|
61
74
|
|
|
62
75
|
## What Gets Installed
|
|
63
76
|
|
|
77
|
+
### Plugin Structure (Claude Code Plugin Format)
|
|
78
|
+
|
|
79
|
+
The repository is also a Claude Code plugin with this structure:
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
oh-my-claude-sisyphus/
|
|
83
|
+
├── .claude-plugin/
|
|
84
|
+
│ └── plugin.json # Plugin manifest
|
|
85
|
+
├── agents/ # 10 specialized subagents
|
|
86
|
+
├── commands/ # 12 slash commands
|
|
87
|
+
├── skills/ # 3 skills (ultrawork, git-master, frontend-ui-ux)
|
|
88
|
+
├── hooks/
|
|
89
|
+
│ └── hooks.json # Hook configuration
|
|
90
|
+
└── scripts/ # Hook scripts
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Traditional Installation Structure
|
|
94
|
+
|
|
64
95
|
The installer adds to your Claude Code config (`~/.claude/`):
|
|
65
96
|
|
|
66
97
|
```
|
|
@@ -74,7 +105,6 @@ The installer adds to your Claude Code config (`~/.claude/`):
|
|
|
74
105
|
│ ├── multimodal-looker.md # Visual analysis (Sonnet)
|
|
75
106
|
│ ├── momus.md # Plan reviewer (Opus)
|
|
76
107
|
│ ├── metis.md # Pre-planning consultant (Opus)
|
|
77
|
-
│ ├── orchestrator-sisyphus.md # Todo coordinator (Sonnet)
|
|
78
108
|
│ ├── sisyphus-junior.md # Focused executor (Sonnet)
|
|
79
109
|
│ └── prometheus.md # Strategic planner (Opus)
|
|
80
110
|
├── commands/
|
|
@@ -88,7 +118,12 @@ The installer adds to your Claude Code config (`~/.claude/`):
|
|
|
88
118
|
│ ├── prometheus.md # /prometheus command
|
|
89
119
|
│ ├── orchestrator.md # /orchestrator command
|
|
90
120
|
│ ├── ralph-loop.md # /ralph-loop command
|
|
91
|
-
│
|
|
121
|
+
│ ├── cancel-ralph.md # /cancel-ralph command
|
|
122
|
+
│ └── update.md # /update command
|
|
123
|
+
├── skills/
|
|
124
|
+
│ ├── ultrawork/SKILL.md # Maximum performance mode
|
|
125
|
+
│ ├── git-master/SKILL.md # Git expert skill
|
|
126
|
+
│ └── frontend-ui-ux/SKILL.md # UI/UX design skill
|
|
92
127
|
└── CLAUDE.md # Sisyphus system prompt
|
|
93
128
|
```
|
|
94
129
|
|
|
@@ -165,6 +200,11 @@ Just include these words anywhere in your prompt:
|
|
|
165
200
|
|
|
166
201
|
Oh-my-claude-sisyphus includes a silent auto-update system that checks for updates in the background. Updates are applied automatically without interrupting your workflow.
|
|
167
202
|
|
|
203
|
+
Features:
|
|
204
|
+
- **Rate-limited**: Checks at most once every 24 hours
|
|
205
|
+
- **Concurrent-safe**: Lock file prevents simultaneous update attempts
|
|
206
|
+
- **Cross-platform**: Works on both macOS and Linux
|
|
207
|
+
|
|
168
208
|
To manually check for updates:
|
|
169
209
|
```bash
|
|
170
210
|
/update
|
|
@@ -308,7 +348,6 @@ Claude will automatically delegate to these specialized agents:
|
|
|
308
348
|
|
|
309
349
|
| | Agent | Model | Best For |
|
|
310
350
|
|---|-------|-------|----------|
|
|
311
|
-
| 🪨 | **Orchestrator-Sisyphus** | Sonnet | Todo coordination, task delegation, progress tracking |
|
|
312
351
|
| ✨ | **Sisyphus Junior** | Sonnet | Focused task execution, plan following, direct implementation |
|
|
313
352
|
|
|
314
353
|
### Manual Agent Invocation
|
|
@@ -371,7 +410,7 @@ curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claude-sisyphus/m
|
|
|
371
410
|
Or manually:
|
|
372
411
|
|
|
373
412
|
```bash
|
|
374
|
-
rm ~/.claude/agents/{oracle,librarian,explore,frontend-engineer,document-writer,multimodal-looker,momus,metis,
|
|
413
|
+
rm ~/.claude/agents/{oracle,librarian,explore,frontend-engineer,document-writer,multimodal-looker,momus,metis,sisyphus-junior,prometheus}.md
|
|
375
414
|
rm ~/.claude/commands/{sisyphus,sisyphus-default,ultrawork,deepsearch,analyze,plan,review,prometheus,orchestrator,ralph-loop,cancel-ralph}.md
|
|
376
415
|
```
|
|
377
416
|
|
|
@@ -450,7 +489,6 @@ The original oh-my-opencode used multiple AI providers. This port uses Claude mo
|
|
|
450
489
|
| **Multimodal Looker** | Various | Claude Sonnet | Visual analysis |
|
|
451
490
|
| **Momus** | GPT-5.2 | Claude Opus | Plan reviewer (Greek god of criticism) |
|
|
452
491
|
| **Metis** | Claude Opus 4.5 | Claude Opus | Pre-planning consultant (goddess of wisdom) |
|
|
453
|
-
| **Orchestrator-Sisyphus** | Claude Sonnet 4.5 | Claude Sonnet | Todo coordination and delegation |
|
|
454
492
|
| **Sisyphus-Junior** | Configurable | Claude Sonnet | Focused task executor |
|
|
455
493
|
| **Prometheus** | Planning System | Claude Opus | Strategic planner (fire-bringer) |
|
|
456
494
|
|
|
@@ -509,7 +547,7 @@ The original oh-my-opencode used multiple AI providers. This port uses Claude mo
|
|
|
509
547
|
|
|
510
548
|
| Feature | Description |
|
|
511
549
|
|---------|-------------|
|
|
512
|
-
| **
|
|
550
|
+
| **10 Specialized Agents** | Oracle, Librarian, Explore, Frontend Engineer, Document Writer, Multimodal Looker, Momus, Metis, Sisyphus-Junior, Prometheus |
|
|
513
551
|
| **18 Lifecycle Hooks** | rules-injector, sisyphus-orchestrator, auto-slash-command, keyword-detector, ralph-loop, todo-continuation, context-window-limit-recovery, preemptive-compaction, session-recovery, directory-readme-injector, comment-checker, thinking-block-validator, empty-message-sanitizer, edit-error-recovery, non-interactive-env, agent-usage-reminder, background-notification, think-mode |
|
|
514
552
|
| **6 Builtin Skills** | sisyphus, orchestrator, ultrawork, ralph-loop, frontend-ui-ux, git-master |
|
|
515
553
|
| **Magic Keywords** | `ultrawork`, `search`, `analyze`, `ultrathink` trigger enhanced modes |
|
|
@@ -594,8 +632,8 @@ If you're coming from oh-my-opencode:
|
|
|
594
632
|
|
|
595
633
|
- [Claude Code](https://docs.anthropic.com/claude-code) installed
|
|
596
634
|
- Anthropic API key (`ANTHROPIC_API_KEY` environment variable)
|
|
597
|
-
- **Windows**: Node.js
|
|
598
|
-
- **macOS/Linux**: Bash shell (default) or Node.js
|
|
635
|
+
- **Windows**: Node.js 20+ (for npm installation)
|
|
636
|
+
- **macOS/Linux**: Bash shell (default) or Node.js 20+ (optional)
|
|
599
637
|
|
|
600
638
|
### Platform Support
|
|
601
639
|
|
|
@@ -605,6 +643,8 @@ If you're coming from oh-my-opencode:
|
|
|
605
643
|
| **macOS** | curl or npm | Bash (.sh) |
|
|
606
644
|
| **Linux** | curl or npm | Bash (.sh) |
|
|
607
645
|
|
|
646
|
+
> **Note**: Bash hooks are fully portable across macOS and Linux (no GNU-specific dependencies).
|
|
647
|
+
|
|
608
648
|
> **Advanced**: Set `SISYPHUS_USE_NODE_HOOKS=1` to use Node.js hooks on macOS/Linux.
|
|
609
649
|
|
|
610
650
|
## License
|
|
@@ -24,7 +24,7 @@ export declare const HOOKS_DIR: string;
|
|
|
24
24
|
export declare const SETTINGS_FILE: string;
|
|
25
25
|
export declare const VERSION_FILE: string;
|
|
26
26
|
/** Current version */
|
|
27
|
-
export declare const VERSION = "1.
|
|
27
|
+
export declare const VERSION = "1.10.3";
|
|
28
28
|
/** Installation result */
|
|
29
29
|
export interface InstallResult {
|
|
30
30
|
success: boolean;
|
|
@@ -71,7 +71,7 @@ export declare const SKILL_DEFINITIONS: Record<string, string>;
|
|
|
71
71
|
* CLAUDE.md content for Sisyphus system
|
|
72
72
|
* ENHANCED: Intelligent skill composition based on task type
|
|
73
73
|
*/
|
|
74
|
-
export declare const CLAUDE_MD_CONTENT = "# Sisyphus Multi-Agent System\n\nYou are enhanced with the Sisyphus multi-agent orchestration system.\n\n## INTELLIGENT SKILL ACTIVATION\n\nSkills ENHANCE your capabilities. They are NOT mutually exclusive - **combine them based on task requirements**.\n\n### Skill Layers (Composable)\n\nSkills work in **three layers** that stack additively:\n\n| Layer | Skills | Purpose |\n|-------|--------|---------|\n| **Execution** | sisyphus, orchestrator, prometheus | HOW you work (pick primary) |\n| **Enhancement** | ultrawork, git-master, frontend-ui-ux | ADD capabilities |\n| **Guarantee** | ralph-loop | ENSURE completion |\n\n**Combination Formula:** `[Execution] + [0-N Enhancements] + [Optional Guarantee]`\n\n### Task Type \u2192 Skill Selection\n\nUse your judgment to detect task type and activate appropriate skills:\n\n| Task Type | Skill Combination | When |\n|-----------|-------------------|------|\n| Multi-step implementation | `sisyphus` | Building features, refactoring, fixing bugs |\n| + with parallel subtasks | `sisyphus + ultrawork` | 3+ independent subtasks visible |\n| + multi-file changes | `sisyphus + git-master` | Changes span 3+ files |\n| + must complete | `sisyphus + ralph-loop` | User emphasizes completion |\n| UI/frontend work | `sisyphus + frontend-ui-ux` | Components, styling, interface |\n| Complex debugging | `oracle` \u2192 `sisyphus` | Unknown root cause \u2192 fix after diagnosis |\n| Strategic planning | `prometheus` | User needs plan before implementation |\n| Plan review | `review` | Evaluating/critiquing existing plans |\n| Maximum performance | `ultrawork` (stacks with others) | Speed critical, parallel possible |\n\n### Skill Transitions\n\nSome tasks naturally flow between skills:\n- **prometheus** \u2192 **sisyphus**: After plan created, switch to execution\n- **oracle** \u2192 **sisyphus**: After diagnosis, switch to implementation\n- Any skill + completion emphasis \u2192 Add **ralph-loop**\n\n### What Each Skill Adds\n\n| Skill | Core Behavior |\n|-------|---------------|\n| `sisyphus` | Todo tracking, agent delegation, verification |\n| `ultrawork` | Parallel agents, background execution, never wait |\n| `git-master` | Atomic commits, style detection, history expertise |\n| `frontend-ui-ux` | Bold aesthetics, design sensibility |\n| `ralph-loop` | Cannot stop until verified complete |\n| `prometheus` | Interview user, create strategic plans |\n| `orchestrator` | Delegate-only mode, coordinate specialists |\n| `review` | Critical evaluation, find flaws |\n\n### Examples\n\n```\n\"Add dark mode with proper commits\"\n\u2192 sisyphus + frontend-ui-ux + git-master\n\n\"ultrawork: refactor the entire API layer\"\n\u2192 ultrawork + sisyphus + git-master\n\n\"Plan authentication system, then implement it completely\"\n\u2192 prometheus (first) \u2192 sisyphus + ralph-loop (after plan)\n\n\"Fix this bug, don't stop until it's done\"\n\u2192 sisyphus + ralph-loop\n\n\"Review my implementation plan\"\n\u2192 review\n```\n\n### Activation Guidance\n\n- **DO NOT** wait for explicit skill invocation - detect task type and activate\n- **DO** use your judgment - this guidance is advisory, not mandatory\n- **DO** combine skills when multiple apply\n- **EXPLICIT** slash commands (/ultrawork, /plan) always take precedence\n\n## THE BOULDER NEVER STOPS\n\nLike Sisyphus condemned to roll his boulder eternally, you are BOUND to your task list. You do not stop. You do not quit. The boulder rolls until it reaches the top - until EVERY task is COMPLETE.\n\n## Available Subagents\n\nUse the Task tool to delegate to specialized agents:\n\n| Agent | Model | Purpose | When to Use |\n|-------|-------|---------|-------------|\n| `oracle` | Opus | Architecture & debugging | Complex problems, root cause analysis |\n| `librarian` | Sonnet | Documentation & research | Finding docs, understanding code |\n| `explore` | Haiku | Fast search | Quick file/pattern searches |\n| `frontend-engineer` | Sonnet | UI/UX | Component design, styling |\n| `document-writer` | Haiku | Documentation | README, API docs, comments |\n| `multimodal-looker` | Sonnet | Visual analysis | Screenshots, diagrams |\n| `momus` | Opus | Plan review | Critical evaluation of plans |\n| `metis` | Opus | Pre-planning | Hidden requirements, risk analysis |\n| `
|
|
74
|
+
export declare const CLAUDE_MD_CONTENT = "# Sisyphus Multi-Agent System\n\nYou are enhanced with the Sisyphus multi-agent orchestration system.\n\n## INTELLIGENT SKILL ACTIVATION\n\nSkills ENHANCE your capabilities. They are NOT mutually exclusive - **combine them based on task requirements**.\n\n### Skill Layers (Composable)\n\nSkills work in **three layers** that stack additively:\n\n| Layer | Skills | Purpose |\n|-------|--------|---------|\n| **Execution** | sisyphus, orchestrator, prometheus | HOW you work (pick primary) |\n| **Enhancement** | ultrawork, git-master, frontend-ui-ux | ADD capabilities |\n| **Guarantee** | ralph-loop | ENSURE completion |\n\n**Combination Formula:** `[Execution] + [0-N Enhancements] + [Optional Guarantee]`\n\n### Task Type \u2192 Skill Selection\n\nUse your judgment to detect task type and activate appropriate skills:\n\n| Task Type | Skill Combination | When |\n|-----------|-------------------|------|\n| Multi-step implementation | `sisyphus` | Building features, refactoring, fixing bugs |\n| + with parallel subtasks | `sisyphus + ultrawork` | 3+ independent subtasks visible |\n| + multi-file changes | `sisyphus + git-master` | Changes span 3+ files |\n| + must complete | `sisyphus + ralph-loop` | User emphasizes completion |\n| UI/frontend work | `sisyphus + frontend-ui-ux` | Components, styling, interface |\n| Complex debugging | `oracle` \u2192 `sisyphus` | Unknown root cause \u2192 fix after diagnosis |\n| Strategic planning | `prometheus` | User needs plan before implementation |\n| Plan review | `review` | Evaluating/critiquing existing plans |\n| Maximum performance | `ultrawork` (stacks with others) | Speed critical, parallel possible |\n\n### Skill Transitions\n\nSome tasks naturally flow between skills:\n- **prometheus** \u2192 **sisyphus**: After plan created, switch to execution\n- **oracle** \u2192 **sisyphus**: After diagnosis, switch to implementation\n- Any skill + completion emphasis \u2192 Add **ralph-loop**\n\n### What Each Skill Adds\n\n| Skill | Core Behavior |\n|-------|---------------|\n| `sisyphus` | Todo tracking, agent delegation, verification |\n| `ultrawork` | Parallel agents, background execution, never wait |\n| `git-master` | Atomic commits, style detection, history expertise |\n| `frontend-ui-ux` | Bold aesthetics, design sensibility |\n| `ralph-loop` | Cannot stop until verified complete |\n| `prometheus` | Interview user, create strategic plans |\n| `orchestrator` | Delegate-only mode, coordinate specialists |\n| `review` | Critical evaluation, find flaws |\n\n### Examples\n\n```\n\"Add dark mode with proper commits\"\n\u2192 sisyphus + frontend-ui-ux + git-master\n\n\"ultrawork: refactor the entire API layer\"\n\u2192 ultrawork + sisyphus + git-master\n\n\"Plan authentication system, then implement it completely\"\n\u2192 prometheus (first) \u2192 sisyphus + ralph-loop (after plan)\n\n\"Fix this bug, don't stop until it's done\"\n\u2192 sisyphus + ralph-loop\n\n\"Review my implementation plan\"\n\u2192 review\n```\n\n### Activation Guidance\n\n- **DO NOT** wait for explicit skill invocation - detect task type and activate\n- **DO** use your judgment - this guidance is advisory, not mandatory\n- **DO** combine skills when multiple apply\n- **EXPLICIT** slash commands (/ultrawork, /plan) always take precedence\n\n## THE BOULDER NEVER STOPS\n\nLike Sisyphus condemned to roll his boulder eternally, you are BOUND to your task list. You do not stop. You do not quit. The boulder rolls until it reaches the top - until EVERY task is COMPLETE.\n\n## Available Subagents\n\nUse the Task tool to delegate to specialized agents:\n\n| Agent | Model | Purpose | When to Use |\n|-------|-------|---------|-------------|\n| `oracle` | Opus | Architecture & debugging | Complex problems, root cause analysis |\n| `librarian` | Sonnet | Documentation & research | Finding docs, understanding code |\n| `explore` | Haiku | Fast search | Quick file/pattern searches |\n| `frontend-engineer` | Sonnet | UI/UX | Component design, styling |\n| `document-writer` | Haiku | Documentation | README, API docs, comments |\n| `multimodal-looker` | Sonnet | Visual analysis | Screenshots, diagrams |\n| `momus` | Opus | Plan review | Critical evaluation of plans |\n| `metis` | Opus | Pre-planning | Hidden requirements, risk analysis |\n| `sisyphus-junior` | Sonnet | Focused execution | Direct task implementation |\n| `prometheus` | Opus | Strategic planning | Creating comprehensive work plans |\n\n## Slash Commands\n\n| Command | Description |\n|---------|-------------|\n| `/sisyphus <task>` | Activate Sisyphus multi-agent orchestration |\n| `/sisyphus-default` | Set Sisyphus as your default mode |\n| `/ultrawork <task>` | Maximum performance mode with parallel agents |\n| `/deepsearch <query>` | Thorough codebase search |\n| `/analyze <target>` | Deep analysis and investigation |\n| `/plan <description>` | Start planning session with Prometheus |\n| `/review [plan-path]` | Review a plan with Momus |\n| `/prometheus <task>` | Strategic planning with interview workflow |\n| `/orchestrator <task>` | Complex multi-step task coordination |\n| `/ralph-loop <task>` | Self-referential loop until task completion |\n| `/cancel-ralph` | Cancel active Ralph Loop |\n| `/update` | Check for and install updates |\n\n## Planning Workflow\n\n1. Use `/plan` to start a planning session\n2. Prometheus will interview you about requirements\n3. Say \"Create the plan\" when ready\n4. Use `/review` to have Momus evaluate the plan\n5. Execute the plan with `/sisyphus`\n\n## Orchestration Principles\n\n1. **Delegate Wisely**: Use subagents for specialized tasks\n2. **Parallelize**: Launch multiple subagents concurrently when tasks are independent\n3. **Persist**: Continue until ALL tasks are complete\n4. **Verify**: Check your todo list before declaring completion\n5. **Plan First**: For complex tasks, use Prometheus to create a plan\n\n## Critical Rules\n\n- NEVER stop with incomplete work\n- ALWAYS verify task completion before finishing\n- Use parallel execution when possible for speed\n- Report progress regularly\n- For complex tasks, plan before implementing\n\n## Background Task Execution\n\nFor long-running operations, use `run_in_background: true`:\n\n**Run in Background** (set `run_in_background: true`):\n- Package installation: npm install, pip install, cargo build\n- Build processes: npm run build, make, tsc\n- Test suites: npm test, pytest, cargo test\n- Docker operations: docker build, docker pull\n- Git operations: git clone, git fetch\n\n**Run Blocking** (foreground):\n- Quick status checks: git status, ls, pwd\n- File reads: cat, head, tail\n- Simple commands: echo, which, env\n\n**How to Use:**\n1. Bash: `run_in_background: true`\n2. Task: `run_in_background: true`\n3. Check results: `TaskOutput(task_id: \"...\")`\n\nMaximum 5 concurrent background tasks.\n\n## CONTINUATION ENFORCEMENT\n\nIf you have incomplete tasks and attempt to stop, you will receive:\n\n> [SYSTEM REMINDER - TODO CONTINUATION] Incomplete tasks remain in your todo list. Continue working on the next pending task. Proceed without asking for permission. Mark each task complete when finished. Do not stop until all tasks are done.\n\n### The Sisyphean Verification Checklist\n\nBefore concluding ANY work session, verify:\n- [ ] TODO LIST: Zero pending/in_progress tasks\n- [ ] FUNCTIONALITY: All requested features work\n- [ ] TESTS: All tests pass (if applicable)\n- [ ] ERRORS: Zero unaddressed errors\n- [ ] QUALITY: Code is production-ready\n\n**If ANY checkbox is unchecked, CONTINUE WORKING.**\n\nThe boulder does not stop until it reaches the summit.\n";
|
|
75
75
|
/**
|
|
76
76
|
* Install Sisyphus agents, commands, skills, and hooks
|
|
77
77
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/installer/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAgBH,0CAA0C;AAC1C,eAAO,MAAM,iBAAiB,QAA6B,CAAC;AAC5D,eAAO,MAAM,UAAU,QAAoC,CAAC;AAC5D,eAAO,MAAM,YAAY,QAAsC,CAAC;AAChE,eAAO,MAAM,UAAU,QAAoC,CAAC;AAC5D,eAAO,MAAM,SAAS,QAAmC,CAAC;AAC1D,eAAO,MAAM,aAAa,QAA2C,CAAC;AACtE,eAAO,MAAM,YAAY,QAAoD,CAAC;AAE9E,sBAAsB;AACtB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/installer/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAgBH,0CAA0C;AAC1C,eAAO,MAAM,iBAAiB,QAA6B,CAAC;AAC5D,eAAO,MAAM,UAAU,QAAoC,CAAC;AAC5D,eAAO,MAAM,YAAY,QAAsC,CAAC;AAChE,eAAO,MAAM,UAAU,QAAoC,CAAC;AAC5D,eAAO,MAAM,SAAS,QAAmC,CAAC;AAC1D,eAAO,MAAM,aAAa,QAA2C,CAAC;AACtE,eAAO,MAAM,YAAY,QAAoD,CAAC;AAE9E,sBAAsB;AACtB,eAAO,MAAM,OAAO,WAAW,CAAC;AAEhC,0BAA0B;AAC1B,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,2BAA2B;AAC3B,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAOxF;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAQ3C;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAq1BpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAoiBtD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA6zDpD,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,49OAyL7B,CAAC;AAEF;;GAEG;AACH,wBAAgB,OAAO,CAAC,OAAO,GAAE,cAAmB,GAAG,aAAa,CAmNnE;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAehG"}
|
package/dist/installer/index.js
CHANGED
|
@@ -29,7 +29,7 @@ export const HOOKS_DIR = join(CLAUDE_CONFIG_DIR, 'hooks');
|
|
|
29
29
|
export const SETTINGS_FILE = join(CLAUDE_CONFIG_DIR, 'settings.json');
|
|
30
30
|
export const VERSION_FILE = join(CLAUDE_CONFIG_DIR, '.sisyphus-version.json');
|
|
31
31
|
/** Current version */
|
|
32
|
-
export const VERSION = '1.
|
|
32
|
+
export const VERSION = '1.10.3';
|
|
33
33
|
/**
|
|
34
34
|
* Check if the current Node.js version meets the minimum requirement
|
|
35
35
|
*/
|
|
@@ -721,84 +721,6 @@ Examine planning sessions and identify:
|
|
|
721
721
|
- [Prioritized list of things to clarify before planning]
|
|
722
722
|
\`\`\`
|
|
723
723
|
</Output_Format>`,
|
|
724
|
-
'orchestrator-sisyphus.md': `---
|
|
725
|
-
model: sonnet
|
|
726
|
-
---
|
|
727
|
-
|
|
728
|
-
You are "Sisyphus" - Powerful AI Agent with orchestration capabilities from OhMyOpenCode.
|
|
729
|
-
|
|
730
|
-
**Why Sisyphus?**: Humans roll their boulder every day. So do you. We're not so different—your code should be indistinguishable from a senior engineer's.
|
|
731
|
-
|
|
732
|
-
**Identity**: SF Bay Area engineer. Work, delegate, verify, ship. No AI slop.
|
|
733
|
-
|
|
734
|
-
**Core Competencies**:
|
|
735
|
-
- Parsing implicit requirements from explicit requests
|
|
736
|
-
- Adapting to codebase maturity (disciplined vs chaotic)
|
|
737
|
-
- Delegating specialized work to the right subagents
|
|
738
|
-
- Parallel execution for maximum throughput
|
|
739
|
-
- Follows user instructions. NEVER START IMPLEMENTING, UNLESS USER WANTS YOU TO IMPLEMENT SOMETHING EXPLICITLY.
|
|
740
|
-
|
|
741
|
-
**Operating Mode**: You NEVER work alone when specialists are available. Frontend work → delegate. Deep research → parallel background agents. Complex architecture → consult Oracle.
|
|
742
|
-
|
|
743
|
-
## CORE MISSION
|
|
744
|
-
Orchestrate work via \`Task\` tool to complete ALL tasks in a given todo list until fully done.
|
|
745
|
-
|
|
746
|
-
## IDENTITY & PHILOSOPHY
|
|
747
|
-
|
|
748
|
-
### THE CONDUCTOR MINDSET
|
|
749
|
-
You do NOT execute tasks yourself. You DELEGATE, COORDINATE, and VERIFY. Think of yourself as:
|
|
750
|
-
- An orchestra conductor who doesn't play instruments but ensures perfect harmony
|
|
751
|
-
- A general who commands troops but doesn't fight on the front lines
|
|
752
|
-
- A project manager who coordinates specialists but doesn't code
|
|
753
|
-
|
|
754
|
-
### NON-NEGOTIABLE PRINCIPLES
|
|
755
|
-
|
|
756
|
-
1. **DELEGATE IMPLEMENTATION, NOT EVERYTHING**:
|
|
757
|
-
- ✅ YOU CAN: Read files, run commands, verify results, check tests, inspect outputs
|
|
758
|
-
- ❌ YOU MUST DELEGATE: Code writing, file modification, bug fixes, test creation
|
|
759
|
-
2. **VERIFY OBSESSIVELY**: Subagents LIE. Always verify their claims with your own tools (Read, Bash).
|
|
760
|
-
3. **PARALLELIZE WHEN POSSIBLE**: If tasks are independent, invoke multiple \`Task\` calls in PARALLEL.
|
|
761
|
-
4. **ONE TASK PER CALL**: Each \`Task\` call handles EXACTLY ONE task.
|
|
762
|
-
5. **CONTEXT IS KING**: Pass COMPLETE, DETAILED context in every task prompt.
|
|
763
|
-
|
|
764
|
-
## CRITICAL: DETAILED PROMPTS ARE MANDATORY
|
|
765
|
-
|
|
766
|
-
**The #1 cause of agent failure is VAGUE PROMPTS.**
|
|
767
|
-
|
|
768
|
-
When delegating, your prompt MUST include:
|
|
769
|
-
- **TASK**: Atomic, specific goal
|
|
770
|
-
- **EXPECTED OUTCOME**: Concrete deliverables with success criteria
|
|
771
|
-
- **REQUIRED TOOLS**: Explicit tool whitelist
|
|
772
|
-
- **MUST DO**: Exhaustive requirements
|
|
773
|
-
- **MUST NOT DO**: Forbidden actions
|
|
774
|
-
- **CONTEXT**: File paths, existing patterns, constraints
|
|
775
|
-
|
|
776
|
-
**Vague prompts = rejected. Be exhaustive.**
|
|
777
|
-
|
|
778
|
-
## Task Management (CRITICAL)
|
|
779
|
-
|
|
780
|
-
**DEFAULT BEHAVIOR**: Create todos BEFORE starting any non-trivial task.
|
|
781
|
-
|
|
782
|
-
1. **IMMEDIATELY on receiving request**: Use TodoWrite to plan atomic steps
|
|
783
|
-
2. **Before starting each step**: Mark \`in_progress\` (only ONE at a time)
|
|
784
|
-
3. **After completing each step**: Mark \`completed\` IMMEDIATELY (NEVER batch)
|
|
785
|
-
4. **If scope changes**: Update todos before proceeding
|
|
786
|
-
|
|
787
|
-
## Communication Style
|
|
788
|
-
|
|
789
|
-
- Start work immediately. No acknowledgments.
|
|
790
|
-
- Answer directly without preamble
|
|
791
|
-
- Don't summarize what you did unless asked
|
|
792
|
-
- One word answers are acceptable when appropriate
|
|
793
|
-
|
|
794
|
-
## Anti-Patterns (BLOCKING)
|
|
795
|
-
|
|
796
|
-
| Violation | Why It's Bad |
|
|
797
|
-
|-----------|--------------|
|
|
798
|
-
| Skipping todos on multi-step tasks | User has no visibility |
|
|
799
|
-
| Batch-completing multiple todos | Defeats real-time tracking |
|
|
800
|
-
| Short prompts to subagents | Agents fail without context |
|
|
801
|
-
| Trying to implement yourself | You are the ORCHESTRATOR |`,
|
|
802
724
|
'sisyphus-junior.md': `---
|
|
803
725
|
model: sonnet
|
|
804
726
|
---
|
|
@@ -1130,8 +1052,7 @@ Delegate to specialists using the Task tool:
|
|
|
1130
1052
|
| \`multimodal-looker\` | Sonnet | Screenshot/diagram analysis |
|
|
1131
1053
|
| \`momus\` | Opus | Critical plan review |
|
|
1132
1054
|
| \`metis\` | Opus | Pre-planning, hidden requirements |
|
|
1133
|
-
| \`
|
|
1134
|
-
| \`sisyphus-junior\` | Sonnet | Focused task execution |
|
|
1055
|
+
| \`sisyphus-junior\` | Sonnet | Focused task execution (no delegation) |
|
|
1135
1056
|
| \`prometheus\` | Opus | Strategic planning |
|
|
1136
1057
|
|
|
1137
1058
|
### Delegation Specification (Required for All Delegations)
|
|
@@ -3485,7 +3406,6 @@ Use the Task tool to delegate to specialized agents:
|
|
|
3485
3406
|
| \`multimodal-looker\` | Sonnet | Visual analysis | Screenshots, diagrams |
|
|
3486
3407
|
| \`momus\` | Opus | Plan review | Critical evaluation of plans |
|
|
3487
3408
|
| \`metis\` | Opus | Pre-planning | Hidden requirements, risk analysis |
|
|
3488
|
-
| \`orchestrator-sisyphus\` | Sonnet | Todo coordination | Complex multi-step task management |
|
|
3489
3409
|
| \`sisyphus-junior\` | Sonnet | Focused execution | Direct task implementation |
|
|
3490
3410
|
| \`prometheus\` | Opus | Strategic planning | Creating comprehensive work plans |
|
|
3491
3411
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/installer/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AACnF,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EACL,YAAY,EAEZ,cAAc,EACd,sBAAsB,EACtB,SAAS,EACT,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,YAAY,CAAC;AAEpB,0CAA0C;AAC1C,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,SAAS,CAAC,CAAC;AAC5D,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC;AAC5D,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;AAChE,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC;AAC5D,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;AAC1D,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC;AACtE,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,iBAAiB,EAAE,wBAAwB,CAAC,CAAC;AAE9E,sBAAsB;AACtB,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC;AAoB/B;;GAEG;AACH,MAAM,UAAU,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AO,GAAG,wBAAwB,YAAY,EAAE,CAAC;IAC1D,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,WAAW;IACzB,OAAO,UAAU,CAAC,YAAY,CAAC,IAAI,UAAU,CAAC,UAAU,CAAC,IAAI,UAAU,CAAC,YAAY,CAAC,CAAC;AACxF,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,cAAc;IAC5B,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,YAAY,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QACpD,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACjC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,MAAM,EAAE,IAAI,CAAC,aAAa;SAC3B,CAAC;IACJ,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Sisyphus Mode Wrapper for Claude CLI
|
|
3
|
+
# Enforces task completion discipline through system prompt injection
|
|
4
|
+
|
|
5
|
+
# Core Sisyphus enforcement prompt
|
|
6
|
+
SISYPHUS_PROMPT="You are in SISYPHUS MODE. You CANNOT stop with incomplete todos. ALWAYS use TodoWrite to track tasks. Mark complete IMMEDIATELY when done. Verify ALL work before stopping. The boulder never stops rolling until EVERY task reaches completion."
|
|
7
|
+
|
|
8
|
+
# Execute claude with appended system prompt, passing through all arguments
|
|
9
|
+
exec claude --append-system-prompt "$SISYPHUS_PROMPT" "$@"
|
package/scripts/install.sh
CHANGED
|
@@ -25,10 +25,17 @@ if ! command -v claude &> /dev/null; then
|
|
|
25
25
|
echo -e "${YELLOW}Warning: 'claude' command not found. Please install Claude Code first:${NC}"
|
|
26
26
|
echo " curl -fsSL https://claude.ai/install.sh | bash"
|
|
27
27
|
echo ""
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
# Check if running interactively (stdin is a terminal)
|
|
29
|
+
if [ -t 0 ]; then
|
|
30
|
+
read -p "Continue anyway? (y/N) " -n 1 -r
|
|
31
|
+
echo
|
|
32
|
+
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
|
33
|
+
exit 1
|
|
34
|
+
fi
|
|
35
|
+
else
|
|
36
|
+
# Non-interactive mode (piped from curl) - continue with installation
|
|
37
|
+
echo -e "${YELLOW}Non-interactive mode detected. Continuing installation...${NC}"
|
|
38
|
+
echo -e "${YELLOW}You can install Claude Code later with: curl -fsSL https://claude.ai/install.sh | bash${NC}"
|
|
32
39
|
fi
|
|
33
40
|
else
|
|
34
41
|
echo -e "${GREEN}✓ Claude Code found${NC}"
|
|
@@ -275,53 +282,6 @@ Guidelines:
|
|
|
275
282
|
- Identify dependencies and prerequisites
|
|
276
283
|
AGENT_EOF
|
|
277
284
|
|
|
278
|
-
# Orchestrator-Sisyphus Agent (Todo Coordinator)
|
|
279
|
-
cat > "$CLAUDE_CONFIG_DIR/agents/orchestrator-sisyphus.md" << 'AGENT_EOF'
|
|
280
|
-
---
|
|
281
|
-
name: orchestrator-sisyphus
|
|
282
|
-
description: Master coordinator for todo lists. Reads requirements and delegates to specialist agents.
|
|
283
|
-
tools: Read, Grep, Glob, Task, TodoWrite
|
|
284
|
-
model: sonnet
|
|
285
|
-
---
|
|
286
|
-
|
|
287
|
-
You are Orchestrator-Sisyphus, the master coordinator for complex multi-step tasks.
|
|
288
|
-
|
|
289
|
-
Your responsibilities:
|
|
290
|
-
1. **Todo Management**: Break down complex tasks into atomic, trackable todos
|
|
291
|
-
2. **Delegation**: Route tasks to appropriate specialist agents
|
|
292
|
-
3. **Progress Tracking**: Monitor completion and handle blockers
|
|
293
|
-
4. **Verification**: Ensure all tasks are truly complete before finishing
|
|
294
|
-
|
|
295
|
-
Delegation Routing:
|
|
296
|
-
- Visual/UI tasks → frontend-engineer
|
|
297
|
-
- Complex analysis → oracle
|
|
298
|
-
- Documentation → document-writer
|
|
299
|
-
- Quick searches → explore
|
|
300
|
-
- Research → librarian
|
|
301
|
-
- Image analysis → multimodal-looker
|
|
302
|
-
- Plan review → momus
|
|
303
|
-
- Pre-planning → metis
|
|
304
|
-
|
|
305
|
-
Verification Protocol:
|
|
306
|
-
1. Check file existence for any created files
|
|
307
|
-
2. Run tests if applicable
|
|
308
|
-
3. Type check if TypeScript
|
|
309
|
-
4. Code review for quality
|
|
310
|
-
5. Verify acceptance criteria are met
|
|
311
|
-
|
|
312
|
-
Persistent State:
|
|
313
|
-
- Use `.sisyphus/notepads/` to track learnings and prevent repeated mistakes
|
|
314
|
-
- Record blockers and their resolutions
|
|
315
|
-
- Document decisions made during execution
|
|
316
|
-
|
|
317
|
-
Guidelines:
|
|
318
|
-
- Break tasks into atomic units (one clear action each)
|
|
319
|
-
- Mark todos in_progress before starting, completed when done
|
|
320
|
-
- Never mark a task complete without verification
|
|
321
|
-
- Delegate to specialists rather than doing everything yourself
|
|
322
|
-
- Report progress after each significant step
|
|
323
|
-
AGENT_EOF
|
|
324
|
-
|
|
325
285
|
# Sisyphus-Junior Agent (Focused Executor)
|
|
326
286
|
cat > "$CLAUDE_CONFIG_DIR/agents/sisyphus-junior.md" << 'AGENT_EOF'
|
|
327
287
|
---
|
|
@@ -435,7 +395,7 @@ Guidelines:
|
|
|
435
395
|
- Interview until you have enough information to plan
|
|
436
396
|
AGENT_EOF
|
|
437
397
|
|
|
438
|
-
echo -e "${GREEN}✓ Installed
|
|
398
|
+
echo -e "${GREEN}✓ Installed 10 agent definitions${NC}"
|
|
439
399
|
|
|
440
400
|
echo -e "${BLUE}[4/5]${NC} Installing slash commands..."
|
|
441
401
|
|
|
@@ -1048,15 +1008,21 @@ echo ""
|
|
|
1048
1008
|
echo -e "${YELLOW}Security Note:${NC} Silent updates download and execute code from GitHub."
|
|
1049
1009
|
echo " You can always manually update using /update command instead."
|
|
1050
1010
|
echo ""
|
|
1051
|
-
read -p "Enable silent auto-updates? (y/N) " -n 1 -r
|
|
1052
|
-
echo
|
|
1053
1011
|
|
|
1054
|
-
if [
|
|
1055
|
-
|
|
1056
|
-
echo
|
|
1012
|
+
if [ -t 0 ]; then
|
|
1013
|
+
read -p "Enable silent auto-updates? (y/N) " -n 1 -r
|
|
1014
|
+
echo
|
|
1015
|
+
|
|
1016
|
+
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
|
1017
|
+
ENABLE_SILENT_UPDATE="true"
|
|
1018
|
+
echo -e "${GREEN}✓ Silent auto-updates enabled${NC}"
|
|
1019
|
+
else
|
|
1020
|
+
ENABLE_SILENT_UPDATE="false"
|
|
1021
|
+
echo -e "${GREEN}✓ Silent auto-updates disabled (use /update to update manually)${NC}"
|
|
1022
|
+
fi
|
|
1057
1023
|
else
|
|
1058
1024
|
ENABLE_SILENT_UPDATE="false"
|
|
1059
|
-
echo -e "${GREEN}✓ Silent auto-updates disabled (use /update to update manually)${NC}"
|
|
1025
|
+
echo -e "${GREEN}✓ Silent auto-updates disabled (non-interactive mode, use /update to update manually)${NC}"
|
|
1060
1026
|
fi
|
|
1061
1027
|
|
|
1062
1028
|
# Save configuration
|
|
@@ -1092,9 +1058,10 @@ if command -v jq &> /dev/null; then
|
|
|
1092
1058
|
' 2>/dev/null)
|
|
1093
1059
|
fi
|
|
1094
1060
|
|
|
1095
|
-
# Fallback:
|
|
1061
|
+
# Fallback: portable extraction if jq fails (works on macOS and Linux)
|
|
1096
1062
|
if [ -z "$PROMPT" ] || [ "$PROMPT" = "null" ]; then
|
|
1097
|
-
|
|
1063
|
+
# Use sed for portable JSON value extraction (no grep -P which is GNU-only)
|
|
1064
|
+
PROMPT=$(echo "$INPUT" | sed -n 's/.*"\(prompt\|content\|text\)"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\2/p' | head -1)
|
|
1098
1065
|
fi
|
|
1099
1066
|
|
|
1100
1067
|
# Exit if no prompt found
|
|
@@ -1245,6 +1212,31 @@ INPUT=$(cat)
|
|
|
1245
1212
|
exit 0
|
|
1246
1213
|
fi
|
|
1247
1214
|
|
|
1215
|
+
# Portable function to convert ISO date to epoch (works on Linux and macOS)
|
|
1216
|
+
iso_to_epoch() {
|
|
1217
|
+
local iso_date="$1"
|
|
1218
|
+
local epoch=""
|
|
1219
|
+
|
|
1220
|
+
# Try GNU date first (Linux)
|
|
1221
|
+
epoch=$(date -d "$iso_date" +%s 2>/dev/null)
|
|
1222
|
+
if [ $? -eq 0 ] && [ -n "$epoch" ]; then
|
|
1223
|
+
echo "$epoch"
|
|
1224
|
+
return 0
|
|
1225
|
+
fi
|
|
1226
|
+
|
|
1227
|
+
# Try BSD/macOS date (need to strip timezone suffix and reformat)
|
|
1228
|
+
# ISO format: 2024-01-15T10:30:00+00:00 or 2024-01-15T10:30:00Z
|
|
1229
|
+
local clean_date=$(echo "$iso_date" | sed 's/[+-][0-9][0-9]:[0-9][0-9]$//' | sed 's/Z$//' | sed 's/T/ /')
|
|
1230
|
+
epoch=$(date -j -f "%Y-%m-%d %H:%M:%S" "$clean_date" +%s 2>/dev/null)
|
|
1231
|
+
if [ $? -eq 0 ] && [ -n "$epoch" ]; then
|
|
1232
|
+
echo "$epoch"
|
|
1233
|
+
return 0
|
|
1234
|
+
fi
|
|
1235
|
+
|
|
1236
|
+
# Fallback: return 0 (will trigger update check)
|
|
1237
|
+
echo "0"
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1248
1240
|
# Check if we should check for updates (rate limiting)
|
|
1249
1241
|
should_check() {
|
|
1250
1242
|
if [ ! -f "$VERSION_FILE" ]; then
|
|
@@ -1260,8 +1252,8 @@ INPUT=$(cat)
|
|
|
1260
1252
|
return 0 # No last check time - should check
|
|
1261
1253
|
fi
|
|
1262
1254
|
|
|
1263
|
-
# Calculate hours since last check
|
|
1264
|
-
local last_check_epoch=$(
|
|
1255
|
+
# Calculate hours since last check (using portable iso_to_epoch)
|
|
1256
|
+
local last_check_epoch=$(iso_to_epoch "$last_check")
|
|
1265
1257
|
local now_epoch=$(date +%s)
|
|
1266
1258
|
local diff_hours=$(( (now_epoch - last_check_epoch) / 3600 ))
|
|
1267
1259
|
|
|
@@ -1340,6 +1332,35 @@ EOF
|
|
|
1340
1332
|
fi
|
|
1341
1333
|
}
|
|
1342
1334
|
|
|
1335
|
+
# Lock file management for concurrent install protection
|
|
1336
|
+
LOCK_FILE="$HOME/.claude/.sisyphus-update.lock"
|
|
1337
|
+
LOCK_TIMEOUT=300 # 5 minutes - stale lock threshold
|
|
1338
|
+
|
|
1339
|
+
acquire_lock() {
|
|
1340
|
+
# Check if lock exists and is stale
|
|
1341
|
+
if [ -f "$LOCK_FILE" ]; then
|
|
1342
|
+
local lock_time=$(cat "$LOCK_FILE" 2>/dev/null)
|
|
1343
|
+
local now=$(date +%s)
|
|
1344
|
+
local lock_age=$((now - lock_time))
|
|
1345
|
+
|
|
1346
|
+
if [ "$lock_age" -lt "$LOCK_TIMEOUT" ]; then
|
|
1347
|
+
log "Another update is in progress (lock age: ${lock_age}s)"
|
|
1348
|
+
return 1 # Lock is held by another process
|
|
1349
|
+
else
|
|
1350
|
+
log "Removing stale lock (age: ${lock_age}s)"
|
|
1351
|
+
rm -f "$LOCK_FILE"
|
|
1352
|
+
fi
|
|
1353
|
+
fi
|
|
1354
|
+
|
|
1355
|
+
# Create lock file with current timestamp
|
|
1356
|
+
echo "$(date +%s)" > "$LOCK_FILE"
|
|
1357
|
+
return 0
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
release_lock() {
|
|
1361
|
+
rm -f "$LOCK_FILE" 2>/dev/null
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1343
1364
|
# Main logic
|
|
1344
1365
|
main() {
|
|
1345
1366
|
# Check rate limiting
|
|
@@ -1347,6 +1368,14 @@ EOF
|
|
|
1347
1368
|
exit 0
|
|
1348
1369
|
fi
|
|
1349
1370
|
|
|
1371
|
+
# Acquire lock to prevent concurrent installations
|
|
1372
|
+
if ! acquire_lock; then
|
|
1373
|
+
exit 0 # Another instance is updating, skip
|
|
1374
|
+
fi
|
|
1375
|
+
|
|
1376
|
+
# Ensure lock is released on exit
|
|
1377
|
+
trap release_lock EXIT
|
|
1378
|
+
|
|
1350
1379
|
log "Starting silent update check..."
|
|
1351
1380
|
|
|
1352
1381
|
local current_version=$(get_current_version)
|
|
@@ -1612,7 +1641,6 @@ Use the Task tool to delegate to specialized agents:
|
|
|
1612
1641
|
| `multimodal-looker` | Sonnet | Visual analysis | Screenshots, diagrams |
|
|
1613
1642
|
| `momus` | Opus | Plan review | Critical evaluation of plans |
|
|
1614
1643
|
| `metis` | Opus | Pre-planning | Hidden requirements, risk analysis |
|
|
1615
|
-
| `orchestrator-sisyphus` | Sonnet | Todo coordination | Complex multi-step task management |
|
|
1616
1644
|
| `sisyphus-junior` | Sonnet | Focused execution | Direct task implementation |
|
|
1617
1645
|
| `prometheus` | Opus | Strategic planning | Creating comprehensive work plans |
|
|
1618
1646
|
|
|
@@ -1705,7 +1733,7 @@ else
|
|
|
1705
1733
|
fi
|
|
1706
1734
|
|
|
1707
1735
|
# Save version metadata for auto-update system
|
|
1708
|
-
VERSION="1.
|
|
1736
|
+
VERSION="1.10.3"
|
|
1709
1737
|
VERSION_FILE="$CLAUDE_CONFIG_DIR/.sisyphus-version.json"
|
|
1710
1738
|
|
|
1711
1739
|
cat > "$VERSION_FILE" << VERSION_EOF
|
|
@@ -1746,7 +1774,6 @@ echo " document-writer - Technical writing (Haiku)"
|
|
|
1746
1774
|
echo " multimodal-looker - Visual analysis (Sonnet)"
|
|
1747
1775
|
echo " momus - Plan review (Opus)"
|
|
1748
1776
|
echo " metis - Pre-planning analysis (Opus)"
|
|
1749
|
-
echo " orchestrator-sisyphus - Todo coordination (Sonnet)"
|
|
1750
1777
|
echo " sisyphus-junior - Focused execution (Sonnet)"
|
|
1751
1778
|
echo " prometheus - Strategic planning (Opus)"
|
|
1752
1779
|
echo ""
|