oh-my-claude-sisyphus 2.6.0 → 3.0.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 +59 -708
- package/agents/analyst.md +85 -0
- package/agents/architect-low.md +88 -0
- package/agents/architect-medium.md +108 -0
- package/agents/architect.md +77 -0
- package/agents/critic.md +97 -0
- package/agents/designer-high.md +113 -0
- package/agents/designer-low.md +89 -0
- package/agents/designer.md +80 -0
- package/agents/executor-high.md +116 -0
- package/agents/executor-low.md +94 -0
- package/agents/executor.md +62 -0
- package/agents/explore-medium.md +113 -0
- package/agents/explore.md +86 -0
- package/agents/planner.md +164 -0
- package/agents/qa-tester.md +109 -0
- package/agents/researcher-low.md +84 -0
- package/agents/researcher.md +70 -0
- package/agents/vision.md +39 -0
- package/agents/writer.md +152 -0
- package/commands/.gitkeep +0 -0
- package/dist/__tests__/hooks.test.js +22 -22
- package/dist/__tests__/hooks.test.js.map +1 -1
- package/dist/__tests__/hud-agents.test.d.ts +7 -0
- package/dist/__tests__/hud-agents.test.d.ts.map +1 -0
- package/dist/__tests__/hud-agents.test.js +363 -0
- package/dist/__tests__/hud-agents.test.js.map +1 -0
- package/dist/__tests__/installer.test.js +184 -116
- package/dist/__tests__/installer.test.js.map +1 -1
- package/dist/__tests__/learned-skills/config.test.d.ts +2 -0
- package/dist/__tests__/learned-skills/config.test.d.ts.map +1 -0
- package/dist/__tests__/learned-skills/config.test.js +37 -0
- package/dist/__tests__/learned-skills/config.test.js.map +1 -0
- package/dist/__tests__/learned-skills/detector.test.d.ts +2 -0
- package/dist/__tests__/learned-skills/detector.test.d.ts.map +1 -0
- package/dist/__tests__/learned-skills/detector.test.js +99 -0
- package/dist/__tests__/learned-skills/detector.test.js.map +1 -0
- package/dist/__tests__/learned-skills/finder.test.d.ts +2 -0
- package/dist/__tests__/learned-skills/finder.test.d.ts.map +1 -0
- package/dist/__tests__/learned-skills/finder.test.js +59 -0
- package/dist/__tests__/learned-skills/finder.test.js.map +1 -0
- package/dist/__tests__/learned-skills/loader.test.d.ts +2 -0
- package/dist/__tests__/learned-skills/loader.test.d.ts.map +1 -0
- package/dist/__tests__/learned-skills/loader.test.js +69 -0
- package/dist/__tests__/learned-skills/loader.test.js.map +1 -0
- package/dist/__tests__/learned-skills/parser.test.d.ts +2 -0
- package/dist/__tests__/learned-skills/parser.test.d.ts.map +1 -0
- package/dist/__tests__/learned-skills/parser.test.js +81 -0
- package/dist/__tests__/learned-skills/parser.test.js.map +1 -0
- package/dist/__tests__/learned-skills/validator.test.d.ts +2 -0
- package/dist/__tests__/learned-skills/validator.test.d.ts.map +1 -0
- package/dist/__tests__/learned-skills/validator.test.js +85 -0
- package/dist/__tests__/learned-skills/validator.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/config.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/config.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/config.test.js +37 -0
- package/dist/__tests__/mnemosyne/config.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/detector.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/detector.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/detector.test.js +99 -0
- package/dist/__tests__/mnemosyne/detector.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/finder.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/finder.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/finder.test.js +61 -0
- package/dist/__tests__/mnemosyne/finder.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/loader.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/loader.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/loader.test.js +73 -0
- package/dist/__tests__/mnemosyne/loader.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/parser.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/parser.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/parser.test.js +81 -0
- package/dist/__tests__/mnemosyne/parser.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/validator.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/validator.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/validator.test.js +85 -0
- package/dist/__tests__/mnemosyne/validator.test.js.map +1 -0
- package/dist/__tests__/model-routing.test.js +34 -34
- package/dist/__tests__/model-routing.test.js.map +1 -1
- package/dist/__tests__/notepad.test.js +7 -7
- package/dist/__tests__/notepad.test.js.map +1 -1
- package/dist/__tests__/ralph-prd.test.js +12 -12
- package/dist/__tests__/ralph-prd.test.js.map +1 -1
- package/dist/__tests__/ralph-progress.test.js +12 -12
- package/dist/__tests__/ralph-progress.test.js.map +1 -1
- package/dist/__tests__/skills.test.js +50 -17
- package/dist/__tests__/skills.test.js.map +1 -1
- package/dist/__tests__/types.test.js +5 -5
- package/dist/__tests__/types.test.js.map +1 -1
- package/dist/agents/analyst.d.ts +11 -0
- package/dist/agents/analyst.d.ts.map +1 -0
- package/dist/agents/analyst.js +115 -0
- package/dist/agents/analyst.js.map +1 -0
- package/dist/agents/architect.d.ts +12 -0
- package/dist/agents/architect.d.ts.map +1 -0
- package/dist/agents/architect.js +189 -0
- package/dist/agents/architect.js.map +1 -0
- package/dist/agents/coordinator.d.ts +11 -0
- package/dist/agents/coordinator.d.ts.map +1 -0
- package/dist/agents/coordinator.js +115 -0
- package/dist/agents/coordinator.js.map +1 -0
- package/dist/agents/critic.d.ts +11 -0
- package/dist/agents/critic.d.ts.map +1 -0
- package/dist/agents/critic.js +127 -0
- package/dist/agents/critic.js.map +1 -0
- package/dist/agents/definitions.d.ts +33 -70
- package/dist/agents/definitions.d.ts.map +1 -1
- package/dist/agents/definitions.js +140 -1268
- package/dist/agents/definitions.js.map +1 -1
- package/dist/agents/designer.d.ts +11 -0
- package/dist/agents/designer.d.ts.map +1 -0
- package/dist/agents/designer.js +115 -0
- package/dist/agents/designer.js.map +1 -0
- package/dist/agents/executor.d.ts +12 -0
- package/dist/agents/executor.d.ts.map +1 -0
- package/dist/agents/executor.js +93 -0
- package/dist/agents/executor.js.map +1 -0
- package/dist/agents/explore.js +4 -4
- package/dist/agents/explore.js.map +1 -1
- package/dist/agents/index.d.ts +12 -11
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +15 -16
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/planner.d.ts +11 -0
- package/dist/agents/planner.d.ts.map +1 -0
- package/dist/agents/planner.js +194 -0
- package/dist/agents/planner.js.map +1 -0
- package/dist/agents/qa-tester.js +16 -16
- package/dist/agents/qa-tester.js.map +1 -1
- package/dist/agents/researcher.d.ts +12 -0
- package/dist/agents/researcher.d.ts.map +1 -0
- package/dist/agents/researcher.js +103 -0
- package/dist/agents/researcher.js.map +1 -0
- package/dist/agents/vision.d.ts +11 -0
- package/dist/agents/vision.d.ts.map +1 -0
- package/dist/agents/vision.js +70 -0
- package/dist/agents/vision.js.map +1 -0
- package/dist/agents/writer.d.ts +11 -0
- package/dist/agents/writer.d.ts.map +1 -0
- package/dist/agents/writer.js +209 -0
- package/dist/agents/writer.js.map +1 -0
- package/dist/cli/index.js +32 -32
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/index.d.ts +4 -4
- package/dist/commands/index.js +4 -4
- package/dist/config/loader.js +25 -25
- package/dist/config/loader.js.map +1 -1
- package/dist/features/auto-update.d.ts +5 -5
- package/dist/features/auto-update.d.ts.map +1 -1
- package/dist/features/auto-update.js +17 -17
- package/dist/features/auto-update.js.map +1 -1
- package/dist/features/background-agent/manager.js +1 -1
- package/dist/features/background-agent/manager.js.map +1 -1
- package/dist/features/boulder-state/constants.d.ts +5 -5
- package/dist/features/boulder-state/constants.d.ts.map +1 -1
- package/dist/features/boulder-state/constants.js +3 -3
- package/dist/features/boulder-state/constants.js.map +1 -1
- package/dist/features/boulder-state/index.d.ts +2 -2
- package/dist/features/boulder-state/index.d.ts.map +1 -1
- package/dist/features/boulder-state/index.js +2 -2
- package/dist/features/boulder-state/index.js.map +1 -1
- package/dist/features/boulder-state/storage.d.ts +3 -3
- package/dist/features/boulder-state/storage.d.ts.map +1 -1
- package/dist/features/boulder-state/storage.js +6 -6
- package/dist/features/boulder-state/storage.js.map +1 -1
- package/dist/features/builtin-skills/skills.d.ts +15 -1
- package/dist/features/builtin-skills/skills.d.ts.map +1 -1
- package/dist/features/builtin-skills/skills.js +100 -1110
- package/dist/features/builtin-skills/skills.js.map +1 -1
- package/dist/features/context-injector/types.d.ts +1 -1
- package/dist/features/context-injector/types.d.ts.map +1 -1
- package/dist/features/index.d.ts +1 -1
- package/dist/features/index.d.ts.map +1 -1
- package/dist/features/index.js +2 -2
- package/dist/features/index.js.map +1 -1
- package/dist/features/magic-keywords.js +14 -14
- package/dist/features/magic-keywords.js.map +1 -1
- package/dist/features/model-routing/prompts/opus.d.ts +1 -1
- package/dist/features/model-routing/prompts/opus.d.ts.map +1 -1
- package/dist/features/model-routing/prompts/opus.js +1 -1
- package/dist/features/model-routing/router.d.ts +1 -1
- package/dist/features/model-routing/router.js +14 -14
- package/dist/features/model-routing/router.js.map +1 -1
- package/dist/features/model-routing/rules.js +31 -31
- package/dist/features/model-routing/rules.js.map +1 -1
- package/dist/features/model-routing/types.js +1 -1
- package/dist/features/model-routing/types.js.map +1 -1
- package/dist/hooks/agent-usage-reminder/constants.d.ts +2 -2
- package/dist/hooks/agent-usage-reminder/constants.d.ts.map +1 -1
- package/dist/hooks/agent-usage-reminder/constants.js +5 -5
- package/dist/hooks/agent-usage-reminder/constants.js.map +1 -1
- package/dist/hooks/auto-slash-command/constants.d.ts +1 -1
- package/dist/hooks/auto-slash-command/constants.d.ts.map +1 -1
- package/dist/hooks/auto-slash-command/constants.js +9 -2
- package/dist/hooks/auto-slash-command/constants.js.map +1 -1
- package/dist/hooks/bridge.d.ts +2 -2
- package/dist/hooks/bridge.d.ts.map +1 -1
- package/dist/hooks/bridge.js +50 -18
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/directory-readme-injector/constants.d.ts +1 -1
- package/dist/hooks/directory-readme-injector/constants.d.ts.map +1 -1
- package/dist/hooks/directory-readme-injector/constants.js +2 -2
- package/dist/hooks/directory-readme-injector/constants.js.map +1 -1
- package/dist/hooks/index.d.ts +3 -2
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +9 -4
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/learned-skills/config.d.ts +53 -0
- package/dist/hooks/learned-skills/config.d.ts.map +1 -0
- package/dist/hooks/learned-skills/config.js +103 -0
- package/dist/hooks/learned-skills/config.js.map +1 -0
- package/dist/hooks/learned-skills/constants.d.ts +24 -0
- package/dist/hooks/learned-skills/constants.d.ts.map +1 -0
- package/dist/hooks/learned-skills/constants.js +26 -0
- package/dist/hooks/learned-skills/constants.js.map +1 -0
- package/dist/hooks/learned-skills/detection-hook.d.ts +39 -0
- package/dist/hooks/learned-skills/detection-hook.d.ts.map +1 -0
- package/dist/hooks/learned-skills/detection-hook.js +83 -0
- package/dist/hooks/learned-skills/detection-hook.js.map +1 -0
- package/dist/hooks/learned-skills/detector.d.ts +30 -0
- package/dist/hooks/learned-skills/detector.d.ts.map +1 -0
- package/dist/hooks/learned-skills/detector.js +150 -0
- package/dist/hooks/learned-skills/detector.js.map +1 -0
- package/dist/hooks/learned-skills/finder.d.ts +21 -0
- package/dist/hooks/learned-skills/finder.d.ts.map +1 -0
- package/dist/hooks/learned-skills/finder.js +117 -0
- package/dist/hooks/learned-skills/finder.js.map +1 -0
- package/dist/hooks/learned-skills/index.d.ts +62 -0
- package/dist/hooks/learned-skills/index.d.ts.map +1 -0
- package/dist/hooks/learned-skills/index.js +137 -0
- package/dist/hooks/learned-skills/index.js.map +1 -0
- package/dist/hooks/learned-skills/loader.d.ts +20 -0
- package/dist/hooks/learned-skills/loader.d.ts.map +1 -0
- package/dist/hooks/learned-skills/loader.js +107 -0
- package/dist/hooks/learned-skills/loader.js.map +1 -0
- package/dist/hooks/learned-skills/parser.d.ts +21 -0
- package/dist/hooks/learned-skills/parser.d.ts.map +1 -0
- package/dist/hooks/learned-skills/parser.js +190 -0
- package/dist/hooks/learned-skills/parser.js.map +1 -0
- package/dist/hooks/learned-skills/promotion.d.ts +29 -0
- package/dist/hooks/learned-skills/promotion.d.ts.map +1 -0
- package/dist/hooks/learned-skills/promotion.js +87 -0
- package/dist/hooks/learned-skills/promotion.js.map +1 -0
- package/dist/hooks/learned-skills/types.d.ts +109 -0
- package/dist/hooks/learned-skills/types.d.ts.map +1 -0
- package/dist/hooks/learned-skills/types.js +8 -0
- package/dist/hooks/learned-skills/types.js.map +1 -0
- package/dist/hooks/learned-skills/validator.d.ts +15 -0
- package/dist/hooks/learned-skills/validator.d.ts.map +1 -0
- package/dist/hooks/learned-skills/validator.js +87 -0
- package/dist/hooks/learned-skills/validator.js.map +1 -0
- package/dist/hooks/learned-skills/writer.d.ts +27 -0
- package/dist/hooks/learned-skills/writer.d.ts.map +1 -0
- package/dist/hooks/learned-skills/writer.js +126 -0
- package/dist/hooks/learned-skills/writer.js.map +1 -0
- package/dist/hooks/learner/config.d.ts +53 -0
- package/dist/hooks/learner/config.d.ts.map +1 -0
- package/dist/hooks/learner/config.js +103 -0
- package/dist/hooks/learner/config.js.map +1 -0
- package/dist/hooks/learner/constants.d.ts +24 -0
- package/dist/hooks/learner/constants.d.ts.map +1 -0
- package/dist/hooks/learner/constants.js +26 -0
- package/dist/hooks/learner/constants.js.map +1 -0
- package/dist/hooks/learner/detection-hook.d.ts +39 -0
- package/dist/hooks/learner/detection-hook.d.ts.map +1 -0
- package/dist/hooks/learner/detection-hook.js +83 -0
- package/dist/hooks/learner/detection-hook.js.map +1 -0
- package/dist/hooks/learner/detector.d.ts +30 -0
- package/dist/hooks/learner/detector.d.ts.map +1 -0
- package/dist/hooks/learner/detector.js +150 -0
- package/dist/hooks/learner/detector.js.map +1 -0
- package/dist/hooks/learner/finder.d.ts +21 -0
- package/dist/hooks/learner/finder.d.ts.map +1 -0
- package/dist/hooks/learner/finder.js +117 -0
- package/dist/hooks/learner/finder.js.map +1 -0
- package/dist/hooks/learner/index.d.ts +62 -0
- package/dist/hooks/learner/index.d.ts.map +1 -0
- package/dist/hooks/learner/index.js +137 -0
- package/dist/hooks/learner/index.js.map +1 -0
- package/dist/hooks/learner/loader.d.ts +20 -0
- package/dist/hooks/learner/loader.d.ts.map +1 -0
- package/dist/hooks/learner/loader.js +113 -0
- package/dist/hooks/learner/loader.js.map +1 -0
- package/dist/hooks/learner/parser.d.ts +21 -0
- package/dist/hooks/learner/parser.d.ts.map +1 -0
- package/dist/hooks/learner/parser.js +190 -0
- package/dist/hooks/learner/parser.js.map +1 -0
- package/dist/hooks/learner/promotion.d.ts +29 -0
- package/dist/hooks/learner/promotion.d.ts.map +1 -0
- package/dist/hooks/learner/promotion.js +87 -0
- package/dist/hooks/learner/promotion.js.map +1 -0
- package/dist/hooks/learner/types.d.ts +109 -0
- package/dist/hooks/learner/types.d.ts.map +1 -0
- package/dist/hooks/learner/types.js +8 -0
- package/dist/hooks/learner/types.js.map +1 -0
- package/dist/hooks/learner/validator.d.ts +15 -0
- package/dist/hooks/learner/validator.d.ts.map +1 -0
- package/dist/hooks/learner/validator.js +87 -0
- package/dist/hooks/learner/validator.js.map +1 -0
- package/dist/hooks/learner/writer.d.ts +27 -0
- package/dist/hooks/learner/writer.d.ts.map +1 -0
- package/dist/hooks/learner/writer.js +126 -0
- package/dist/hooks/learner/writer.js.map +1 -0
- package/dist/hooks/mnemosyne/config.d.ts +53 -0
- package/dist/hooks/mnemosyne/config.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/config.js +103 -0
- package/dist/hooks/mnemosyne/config.js.map +1 -0
- package/dist/hooks/mnemosyne/constants.d.ts +24 -0
- package/dist/hooks/mnemosyne/constants.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/constants.js +26 -0
- package/dist/hooks/mnemosyne/constants.js.map +1 -0
- package/dist/hooks/mnemosyne/detection-hook.d.ts +39 -0
- package/dist/hooks/mnemosyne/detection-hook.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/detection-hook.js +83 -0
- package/dist/hooks/mnemosyne/detection-hook.js.map +1 -0
- package/dist/hooks/mnemosyne/detector.d.ts +30 -0
- package/dist/hooks/mnemosyne/detector.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/detector.js +150 -0
- package/dist/hooks/mnemosyne/detector.js.map +1 -0
- package/dist/hooks/mnemosyne/finder.d.ts +21 -0
- package/dist/hooks/mnemosyne/finder.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/finder.js +117 -0
- package/dist/hooks/mnemosyne/finder.js.map +1 -0
- package/dist/hooks/mnemosyne/index.d.ts +62 -0
- package/dist/hooks/mnemosyne/index.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/index.js +137 -0
- package/dist/hooks/mnemosyne/index.js.map +1 -0
- package/dist/hooks/mnemosyne/loader.d.ts +20 -0
- package/dist/hooks/mnemosyne/loader.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/loader.js +113 -0
- package/dist/hooks/mnemosyne/loader.js.map +1 -0
- package/dist/hooks/mnemosyne/parser.d.ts +21 -0
- package/dist/hooks/mnemosyne/parser.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/parser.js +190 -0
- package/dist/hooks/mnemosyne/parser.js.map +1 -0
- package/dist/hooks/mnemosyne/promotion.d.ts +29 -0
- package/dist/hooks/mnemosyne/promotion.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/promotion.js +87 -0
- package/dist/hooks/mnemosyne/promotion.js.map +1 -0
- package/dist/hooks/mnemosyne/types.d.ts +109 -0
- package/dist/hooks/mnemosyne/types.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/types.js +8 -0
- package/dist/hooks/mnemosyne/types.js.map +1 -0
- package/dist/hooks/mnemosyne/validator.d.ts +15 -0
- package/dist/hooks/mnemosyne/validator.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/validator.js +87 -0
- package/dist/hooks/mnemosyne/validator.js.map +1 -0
- package/dist/hooks/mnemosyne/writer.d.ts +27 -0
- package/dist/hooks/mnemosyne/writer.d.ts.map +1 -0
- package/dist/hooks/mnemosyne/writer.js +126 -0
- package/dist/hooks/mnemosyne/writer.js.map +1 -0
- package/dist/hooks/notepad/index.d.ts +2 -2
- package/dist/hooks/notepad/index.js +7 -7
- package/dist/hooks/notepad/index.js.map +1 -1
- package/dist/hooks/omc-orchestrator/constants.d.ts +23 -0
- package/dist/hooks/omc-orchestrator/constants.d.ts.map +1 -0
- package/dist/hooks/omc-orchestrator/constants.js +142 -0
- package/dist/hooks/omc-orchestrator/constants.js.map +1 -0
- package/dist/hooks/omc-orchestrator/index.d.ts +113 -0
- package/dist/hooks/omc-orchestrator/index.d.ts.map +1 -0
- package/dist/hooks/omc-orchestrator/index.js +309 -0
- package/dist/hooks/omc-orchestrator/index.js.map +1 -0
- package/dist/hooks/persistent-mode/index.d.ts +4 -4
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
- package/dist/hooks/persistent-mode/index.js +37 -37
- package/dist/hooks/persistent-mode/index.js.map +1 -1
- package/dist/hooks/ralph-loop/index.d.ts +33 -5
- package/dist/hooks/ralph-loop/index.d.ts.map +1 -1
- package/dist/hooks/ralph-loop/index.js +91 -17
- package/dist/hooks/ralph-loop/index.js.map +1 -1
- package/dist/hooks/ralph-prd/index.d.ts +4 -4
- package/dist/hooks/ralph-prd/index.d.ts.map +1 -1
- package/dist/hooks/ralph-prd/index.js +13 -13
- package/dist/hooks/ralph-prd/index.js.map +1 -1
- package/dist/hooks/ralph-progress/index.d.ts +5 -5
- package/dist/hooks/ralph-progress/index.d.ts.map +1 -1
- package/dist/hooks/ralph-progress/index.js +14 -14
- package/dist/hooks/ralph-progress/index.js.map +1 -1
- package/dist/hooks/ralph-verifier/index.d.ts +23 -23
- package/dist/hooks/ralph-verifier/index.d.ts.map +1 -1
- package/dist/hooks/ralph-verifier/index.js +41 -41
- package/dist/hooks/ralph-verifier/index.js.map +1 -1
- package/dist/hooks/rules-injector/constants.d.ts +1 -1
- package/dist/hooks/rules-injector/constants.d.ts.map +1 -1
- package/dist/hooks/rules-injector/constants.js +2 -2
- package/dist/hooks/rules-injector/constants.js.map +1 -1
- package/dist/hooks/todo-continuation/index.js +1 -1
- package/dist/hooks/todo-continuation/index.js.map +1 -1
- package/dist/hooks/ultraqa-loop/index.d.ts +1 -1
- package/dist/hooks/ultraqa-loop/index.js +8 -8
- package/dist/hooks/ultraqa-loop/index.js.map +1 -1
- package/dist/hooks/ultrawork-state/index.js +7 -7
- package/dist/hooks/ultrawork-state/index.js.map +1 -1
- package/dist/hud/background-tasks.d.ts +26 -0
- package/dist/hud/background-tasks.d.ts.map +1 -0
- package/dist/hud/background-tasks.js +116 -0
- package/dist/hud/background-tasks.js.map +1 -0
- package/dist/hud/colors.d.ts +54 -0
- package/dist/hud/colors.d.ts.map +1 -0
- package/dist/hud/colors.js +156 -0
- package/dist/hud/colors.js.map +1 -0
- package/dist/hud/elements/agents.d.ts +73 -0
- package/dist/hud/elements/agents.d.ts.map +1 -0
- package/dist/hud/elements/agents.js +405 -0
- package/dist/hud/elements/agents.js.map +1 -0
- package/dist/hud/elements/background.d.ts +20 -0
- package/dist/hud/elements/background.d.ts.map +1 -0
- package/dist/hud/elements/background.js +70 -0
- package/dist/hud/elements/background.js.map +1 -0
- package/dist/hud/elements/context.d.ts +19 -0
- package/dist/hud/elements/context.d.ts.map +1 -0
- package/dist/hud/elements/context.js +58 -0
- package/dist/hud/elements/context.js.map +1 -0
- package/dist/hud/elements/index.d.ts +17 -0
- package/dist/hud/elements/index.d.ts.map +1 -0
- package/dist/hud/elements/index.js +17 -0
- package/dist/hud/elements/index.js.map +1 -0
- package/dist/hud/elements/limits.d.ts +19 -0
- package/dist/hud/elements/limits.d.ts.map +1 -0
- package/dist/hud/elements/limits.js +54 -0
- package/dist/hud/elements/limits.js.map +1 -0
- package/dist/hud/elements/permission.d.ts +13 -0
- package/dist/hud/elements/permission.d.ts.map +1 -0
- package/dist/hud/elements/permission.js +20 -0
- package/dist/hud/elements/permission.js.map +1 -0
- package/dist/hud/elements/prd.d.ts +20 -0
- package/dist/hud/elements/prd.d.ts.map +1 -0
- package/dist/hud/elements/prd.js +52 -0
- package/dist/hud/elements/prd.js.map +1 -0
- package/dist/hud/elements/ralph.d.ts +14 -0
- package/dist/hud/elements/ralph.d.ts.map +1 -0
- package/dist/hud/elements/ralph.js +36 -0
- package/dist/hud/elements/ralph.js.map +1 -0
- package/dist/hud/elements/session.d.ts +13 -0
- package/dist/hud/elements/session.d.ts.map +1 -0
- package/dist/hud/elements/session.js +24 -0
- package/dist/hud/elements/session.js.map +1 -0
- package/dist/hud/elements/skills.d.ts +24 -0
- package/dist/hud/elements/skills.d.ts.map +1 -0
- package/dist/hud/elements/skills.js +81 -0
- package/dist/hud/elements/skills.js.map +1 -0
- package/dist/hud/elements/thinking.d.ts +13 -0
- package/dist/hud/elements/thinking.d.ts.map +1 -0
- package/dist/hud/elements/thinking.js +19 -0
- package/dist/hud/elements/thinking.js.map +1 -0
- package/dist/hud/elements/todos.d.ts +20 -0
- package/dist/hud/elements/todos.d.ts.map +1 -0
- package/dist/hud/elements/todos.js +70 -0
- package/dist/hud/elements/todos.js.map +1 -0
- package/dist/hud/index.d.ts +9 -0
- package/dist/hud/index.d.ts.map +1 -0
- package/dist/hud/index.js +89 -0
- package/dist/hud/index.js.map +1 -0
- package/dist/hud/omc-state.d.ts +31 -0
- package/dist/hud/omc-state.d.ts.map +1 -0
- package/dist/hud/omc-state.js +163 -0
- package/dist/hud/omc-state.js.map +1 -0
- package/dist/hud/render.d.ts +11 -0
- package/dist/hud/render.d.ts.map +1 -0
- package/dist/hud/render.js +121 -0
- package/dist/hud/render.js.map +1 -0
- package/dist/hud/sisyphus-state.d.ts +31 -0
- package/dist/hud/sisyphus-state.d.ts.map +1 -0
- package/dist/hud/sisyphus-state.js +163 -0
- package/dist/hud/sisyphus-state.js.map +1 -0
- package/dist/hud/state.d.ts +43 -0
- package/dist/hud/state.d.ts.map +1 -0
- package/dist/hud/state.js +201 -0
- package/dist/hud/state.js.map +1 -0
- package/dist/hud/stdin.d.ts +22 -0
- package/dist/hud/stdin.d.ts.map +1 -0
- package/dist/hud/stdin.js +65 -0
- package/dist/hud/stdin.js.map +1 -0
- package/dist/hud/transcript.d.ts +32 -0
- package/dist/hud/transcript.d.ts.map +1 -0
- package/dist/hud/transcript.js +364 -0
- package/dist/hud/transcript.js.map +1 -0
- package/dist/hud/types.d.ts +178 -0
- package/dist/hud/types.d.ts.map +1 -0
- package/dist/hud/types.js +119 -0
- package/dist/hud/types.js.map +1 -0
- package/dist/hud/usage-api.d.ts +24 -0
- package/dist/hud/usage-api.d.ts.map +1 -0
- package/dist/hud/usage-api.js +234 -0
- package/dist/hud/usage-api.js.map +1 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -12
- package/dist/index.js.map +1 -1
- package/dist/installer/hooks.d.ts +36 -64
- package/dist/installer/hooks.d.ts.map +1 -1
- package/dist/installer/hooks.js +91 -1298
- package/dist/installer/hooks.js.map +1 -1
- package/dist/installer/index.d.ts +23 -22
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +307 -2575
- package/dist/installer/index.js.map +1 -1
- package/dist/shared/types.d.ts +6 -6
- package/dist/shared/types.d.ts.map +1 -1
- package/docs/ARCHITECTURE.md +386 -0
- package/docs/CLAUDE.md +281 -0
- package/docs/FULL-README.md +822 -0
- package/docs/LOCAL_PLUGIN_INSTALL.md +94 -0
- package/docs/MIGRATION-v3.md +186 -0
- package/docs/MIGRATION.md +460 -0
- package/docs/TIERED_AGENTS_V2.md +322 -0
- package/hooks/hooks.json +70 -0
- package/hooks/keyword-detector.sh +102 -0
- package/hooks/persistent-mode.sh +172 -0
- package/hooks/session-start.sh +62 -0
- package/hooks/stop-continuation.sh +40 -0
- package/package.json +14 -8
- package/scripts/install.sh +90 -72
- package/scripts/keyword-detector.mjs +1 -1
- package/scripts/persistent-mode.mjs +39 -20
- package/scripts/persistent-mode.sh +21 -10
- package/scripts/plugin-setup.mjs +109 -0
- package/scripts/pre-tool-enforcer.mjs +1 -1
- package/scripts/pre-tool-enforcer.sh +1 -1
- package/scripts/session-start.mjs +38 -3
- package/scripts/skill-injector.mjs +231 -0
- package/scripts/uninstall.sh +8 -8
- package/skills/analyze/SKILL.md +47 -0
- package/skills/cancel-ralph/SKILL.md +43 -0
- package/skills/cancel-ultraqa/SKILL.md +29 -0
- package/skills/cancel-ultrawork/SKILL.md +42 -0
- package/skills/deepinit/SKILL.md +321 -0
- package/skills/deepsearch/SKILL.md +39 -0
- package/skills/doctor/SKILL.md +192 -0
- package/skills/frontend-ui-ux/SKILL.md +53 -0
- package/skills/git-master/SKILL.md +58 -0
- package/skills/help/SKILL.md +66 -0
- package/skills/hud/SKILL.md +142 -0
- package/skills/learner/SKILL.md +136 -0
- package/skills/note/SKILL.md +63 -0
- package/skills/omc-default/SKILL.md +78 -0
- package/skills/omc-default-global/SKILL.md +75 -0
- package/skills/omc-setup/SKILL.md +144 -0
- package/skills/orchestrate/SKILL.md +409 -0
- package/skills/plan/SKILL.md +37 -0
- package/skills/planner/SKILL.md +43 -0
- package/skills/ralph/SKILL.md +101 -0
- package/skills/ralph-init/SKILL.md +61 -0
- package/skills/ralplan/SKILL.md +219 -0
- package/skills/release/SKILL.md +84 -0
- package/skills/review/SKILL.md +37 -0
- package/skills/ultraqa/SKILL.md +123 -0
- package/skills/ultrawork/SKILL.md +89 -0
package/dist/agents/qa-tester.js
CHANGED
|
@@ -30,7 +30,7 @@ export const QA_TESTER_PROMPT_METADATA = {
|
|
|
30
30
|
avoidWhen: [
|
|
31
31
|
'Unit testing (use standard test runners)',
|
|
32
32
|
'API testing without CLI interface (use curl/httpie directly)',
|
|
33
|
-
'Static code analysis (use
|
|
33
|
+
'Static code analysis (use architect or explore)',
|
|
34
34
|
],
|
|
35
35
|
};
|
|
36
36
|
const QA_TESTER_PROMPT = `<Role>
|
|
@@ -298,29 +298,29 @@ ALWAYS:
|
|
|
298
298
|
- Report both success and failure cases
|
|
299
299
|
</Anti_Patterns>
|
|
300
300
|
|
|
301
|
-
<
|
|
302
|
-
## Working with
|
|
301
|
+
<Architect_Collaboration>
|
|
302
|
+
## Working with Architect Agent
|
|
303
303
|
|
|
304
|
-
You are the VERIFICATION ARM of the
|
|
304
|
+
You are the VERIFICATION ARM of the architect diagnosis workflow.
|
|
305
305
|
|
|
306
|
-
### The
|
|
306
|
+
### The Architect → QA-Tester Pipeline
|
|
307
307
|
|
|
308
|
-
1. **
|
|
309
|
-
2. **
|
|
308
|
+
1. **Architect diagnoses** a bug or architectural issue
|
|
309
|
+
2. **Architect recommends** specific test scenarios to verify the fix
|
|
310
310
|
3. **YOU execute** those test scenarios using tmux
|
|
311
311
|
4. **YOU report** pass/fail results with captured evidence
|
|
312
312
|
|
|
313
|
-
### When Receiving
|
|
313
|
+
### When Receiving Architect Test Plans
|
|
314
314
|
|
|
315
|
-
|
|
315
|
+
Architect may provide you with:
|
|
316
316
|
- Specific commands to run
|
|
317
317
|
- Expected outputs to verify
|
|
318
318
|
- Error conditions to check
|
|
319
319
|
- Regression scenarios to test
|
|
320
320
|
|
|
321
|
-
**Your job**: Execute EXACTLY what
|
|
321
|
+
**Your job**: Execute EXACTLY what architect specifies and report objective results.
|
|
322
322
|
|
|
323
|
-
### Test Plan Format (from
|
|
323
|
+
### Test Plan Format (from Architect)
|
|
324
324
|
|
|
325
325
|
\`\`\`
|
|
326
326
|
VERIFY: [what to test]
|
|
@@ -331,11 +331,11 @@ COMMANDS:
|
|
|
331
331
|
FAIL_IF: [conditions that indicate failure]
|
|
332
332
|
\`\`\`
|
|
333
333
|
|
|
334
|
-
### Reporting Back to
|
|
334
|
+
### Reporting Back to Architect
|
|
335
335
|
|
|
336
336
|
After testing, provide:
|
|
337
337
|
\`\`\`
|
|
338
|
-
## Verification Results for: [
|
|
338
|
+
## Verification Results for: [Architect's test plan]
|
|
339
339
|
|
|
340
340
|
### Executed Tests
|
|
341
341
|
- [command]: [PASS/FAIL] - [actual output snippet]
|
|
@@ -350,12 +350,12 @@ After testing, provide:
|
|
|
350
350
|
|
|
351
351
|
### Debug Cycle
|
|
352
352
|
|
|
353
|
-
If
|
|
353
|
+
If architect's fix doesn't work:
|
|
354
354
|
1. Report exact failure with full output
|
|
355
|
-
2.
|
|
355
|
+
2. Architect re-diagnoses with new evidence
|
|
356
356
|
3. You re-test the revised fix
|
|
357
357
|
4. Repeat until VERIFIED
|
|
358
|
-
</
|
|
358
|
+
</Architect_Collaboration>`;
|
|
359
359
|
export const qaTesterAgent = {
|
|
360
360
|
name: 'qa-tester',
|
|
361
361
|
description: 'Interactive CLI testing specialist using tmux. Tests CLI applications, background services, and interactive tools. Manages test sessions, sends commands, verifies output, and ensures cleanup.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qa-tester.js","sourceRoot":"","sources":["../../src/agents/qa-tester.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,MAAM,CAAC,MAAM,yBAAyB,GAAwB;IAC5D,QAAQ,EAAE,YAAY;IACtB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,UAAU;IACvB,QAAQ,EAAE;QACR,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,mCAAmC,EAAE;QACvE,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,EAAE,0CAA0C,EAAE;QAClF,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,EAAE,sCAAsC,EAAE;QAClF,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,EAAE,2CAA2C,EAAE;KACxF;IACD,OAAO,EAAE;QACP,sDAAsD;QACtD,2DAA2D;QAC3D,gDAAgD;QAChD,oDAAoD;QACpD,iDAAiD;KAClD;IACD,SAAS,EAAE;QACT,0CAA0C;QAC1C,8DAA8D;QAC9D,
|
|
1
|
+
{"version":3,"file":"qa-tester.js","sourceRoot":"","sources":["../../src/agents/qa-tester.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,MAAM,CAAC,MAAM,yBAAyB,GAAwB;IAC5D,QAAQ,EAAE,YAAY;IACtB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,UAAU;IACvB,QAAQ,EAAE;QACR,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,mCAAmC,EAAE;QACvE,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,EAAE,0CAA0C,EAAE;QAClF,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,EAAE,sCAAsC,EAAE;QAClF,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,EAAE,2CAA2C,EAAE;KACxF;IACD,OAAO,EAAE;QACP,sDAAsD;QACtD,2DAA2D;QAC3D,gDAAgD;QAChD,oDAAoD;QACpD,iDAAiD;KAClD;IACD,SAAS,EAAE;QACT,0CAA0C;QAC1C,8DAA8D;QAC9D,iDAAiD;KAClD;CACF,CAAC;AAEF,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkUE,CAAC;AAE5B,MAAM,CAAC,MAAM,aAAa,GAAgB;IACxC,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,iMAAiM;IAC9M,MAAM,EAAE,gBAAgB;IACxB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;IACpD,KAAK,EAAE,QAAQ;IACf,QAAQ,EAAE,yBAAyB;CACpC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Researcher Agent - Documentation and External Reference Finder
|
|
3
|
+
*
|
|
4
|
+
* Searches external resources: official docs, GitHub, Stack Overflow.
|
|
5
|
+
* For internal codebase searches, use explore agent instead.
|
|
6
|
+
*
|
|
7
|
+
* Ported from oh-my-opencode's researcher agent.
|
|
8
|
+
*/
|
|
9
|
+
import type { AgentConfig, AgentPromptMetadata } from './types.js';
|
|
10
|
+
export declare const RESEARCHER_PROMPT_METADATA: AgentPromptMetadata;
|
|
11
|
+
export declare const researcherAgent: AgentConfig;
|
|
12
|
+
//# sourceMappingURL=researcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"researcher.d.ts","sourceRoot":"","sources":["../../src/agents/researcher.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,0BAA0B,EAAE,mBAqBxC,CAAC;AAmEF,eAAO,MAAM,eAAe,EAAE,WAO7B,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Researcher Agent - Documentation and External Reference Finder
|
|
3
|
+
*
|
|
4
|
+
* Searches external resources: official docs, GitHub, Stack Overflow.
|
|
5
|
+
* For internal codebase searches, use explore agent instead.
|
|
6
|
+
*
|
|
7
|
+
* Ported from oh-my-opencode's researcher agent.
|
|
8
|
+
*/
|
|
9
|
+
export const RESEARCHER_PROMPT_METADATA = {
|
|
10
|
+
category: 'exploration',
|
|
11
|
+
cost: 'CHEAP',
|
|
12
|
+
promptAlias: 'researcher',
|
|
13
|
+
triggers: [
|
|
14
|
+
{ domain: 'External documentation', trigger: 'API references, official docs' },
|
|
15
|
+
{ domain: 'OSS implementations', trigger: 'GitHub examples, package source' },
|
|
16
|
+
{ domain: 'Best practices', trigger: 'Community patterns, recommendations' },
|
|
17
|
+
],
|
|
18
|
+
useWhen: [
|
|
19
|
+
'Looking up official documentation',
|
|
20
|
+
'Finding GitHub examples',
|
|
21
|
+
'Researching npm/pip packages',
|
|
22
|
+
'Stack Overflow solutions',
|
|
23
|
+
'External API references',
|
|
24
|
+
],
|
|
25
|
+
avoidWhen: [
|
|
26
|
+
'Internal codebase search (use explore)',
|
|
27
|
+
'Current project files (use explore)',
|
|
28
|
+
'When you already have the information',
|
|
29
|
+
],
|
|
30
|
+
};
|
|
31
|
+
const RESEARCHER_PROMPT = `<Role>
|
|
32
|
+
Researcher - External Documentation & Reference Researcher
|
|
33
|
+
|
|
34
|
+
You search EXTERNAL resources: official docs, GitHub repos, OSS implementations, Stack Overflow.
|
|
35
|
+
For INTERNAL codebase searches, use explore agent instead.
|
|
36
|
+
</Role>
|
|
37
|
+
|
|
38
|
+
<Search_Domains>
|
|
39
|
+
## What You Search (EXTERNAL)
|
|
40
|
+
| Source | Use For |
|
|
41
|
+
|--------|---------|
|
|
42
|
+
| Official Docs | API references, best practices, configuration |
|
|
43
|
+
| GitHub | OSS implementations, code examples, issues |
|
|
44
|
+
| Package Repos | npm, PyPI, crates.io package details |
|
|
45
|
+
| Stack Overflow | Common problems and solutions |
|
|
46
|
+
| Technical Blogs | Deep dives, tutorials |
|
|
47
|
+
|
|
48
|
+
## What You DON'T Search (Use explore instead)
|
|
49
|
+
- Current project's source code
|
|
50
|
+
- Local file contents
|
|
51
|
+
- Internal implementations
|
|
52
|
+
</Search_Domains>
|
|
53
|
+
|
|
54
|
+
<Workflow>
|
|
55
|
+
## Research Process
|
|
56
|
+
|
|
57
|
+
1. **Clarify Query**: What exactly is being asked?
|
|
58
|
+
2. **Identify Sources**: Which external resources are relevant?
|
|
59
|
+
3. **Search Strategy**: Formulate effective search queries
|
|
60
|
+
4. **Gather Results**: Collect relevant information
|
|
61
|
+
5. **Synthesize**: Combine findings into actionable response
|
|
62
|
+
6. **Cite Sources**: Always link to original sources
|
|
63
|
+
|
|
64
|
+
## Output Format
|
|
65
|
+
|
|
66
|
+
\`\`\`
|
|
67
|
+
## Query: [What was asked]
|
|
68
|
+
|
|
69
|
+
## Findings
|
|
70
|
+
|
|
71
|
+
### [Source 1: e.g., "Official React Docs"]
|
|
72
|
+
[Key information]
|
|
73
|
+
**Link**: [URL]
|
|
74
|
+
|
|
75
|
+
### [Source 2: e.g., "GitHub Example"]
|
|
76
|
+
[Key information]
|
|
77
|
+
**Link**: [URL]
|
|
78
|
+
|
|
79
|
+
## Summary
|
|
80
|
+
[Synthesized answer with recommendations]
|
|
81
|
+
|
|
82
|
+
## References
|
|
83
|
+
- [Title](URL) - [brief description]
|
|
84
|
+
- [Title](URL) - [brief description]
|
|
85
|
+
\`\`\`
|
|
86
|
+
</Workflow>
|
|
87
|
+
|
|
88
|
+
<Quality_Standards>
|
|
89
|
+
- ALWAYS cite sources with URLs
|
|
90
|
+
- Prefer official docs over blog posts
|
|
91
|
+
- Note version compatibility issues
|
|
92
|
+
- Flag outdated information
|
|
93
|
+
- Provide code examples when helpful
|
|
94
|
+
</Quality_Standards>`;
|
|
95
|
+
export const researcherAgent = {
|
|
96
|
+
name: 'researcher',
|
|
97
|
+
description: 'Documentation researcher and external reference finder. Use for official docs, GitHub examples, OSS implementations, API references. Searches EXTERNAL resources, not internal codebase.',
|
|
98
|
+
prompt: RESEARCHER_PROMPT,
|
|
99
|
+
tools: ['Read', 'Grep', 'Glob', 'WebFetch', 'WebSearch'],
|
|
100
|
+
model: 'sonnet',
|
|
101
|
+
metadata: RESEARCHER_PROMPT_METADATA
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=researcher.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"researcher.js","sourceRoot":"","sources":["../../src/agents/researcher.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,MAAM,CAAC,MAAM,0BAA0B,GAAwB;IAC7D,QAAQ,EAAE,aAAa;IACvB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,YAAY;IACzB,QAAQ,EAAE;QACR,EAAE,MAAM,EAAE,wBAAwB,EAAE,OAAO,EAAE,+BAA+B,EAAE;QAC9E,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,EAAE,iCAAiC,EAAE;QAC7E,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,qCAAqC,EAAE;KAC7E;IACD,OAAO,EAAE;QACP,mCAAmC;QACnC,yBAAyB;QACzB,8BAA8B;QAC9B,0BAA0B;QAC1B,yBAAyB;KAC1B;IACD,SAAS,EAAE;QACT,wCAAwC;QACxC,qCAAqC;QACrC,uCAAuC;KACxC;CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA+DL,CAAC;AAEtB,MAAM,CAAC,MAAM,eAAe,GAAgB;IAC1C,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,0LAA0L;IACvM,MAAM,EAAE,iBAAiB;IACzB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,CAAC;IACxD,KAAK,EAAE,QAAQ;IACf,QAAQ,EAAE,0BAA0B;CACrC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Multimodal Looker Agent
|
|
3
|
+
*
|
|
4
|
+
* Visual content analysis specialist.
|
|
5
|
+
*
|
|
6
|
+
* Ported from oh-my-opencode's agent definitions.
|
|
7
|
+
*/
|
|
8
|
+
import type { AgentConfig, AgentPromptMetadata } from './types.js';
|
|
9
|
+
export declare const MULTIMODAL_LOOKER_PROMPT_METADATA: AgentPromptMetadata;
|
|
10
|
+
export declare const visionAgent: AgentConfig;
|
|
11
|
+
//# sourceMappingURL=vision.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vision.d.ts","sourceRoot":"","sources":["../../src/agents/vision.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,iCAAiC,EAAE,mBAsB/C,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAsCzB,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Multimodal Looker Agent
|
|
3
|
+
*
|
|
4
|
+
* Visual content analysis specialist.
|
|
5
|
+
*
|
|
6
|
+
* Ported from oh-my-opencode's agent definitions.
|
|
7
|
+
*/
|
|
8
|
+
export const MULTIMODAL_LOOKER_PROMPT_METADATA = {
|
|
9
|
+
category: 'specialist',
|
|
10
|
+
cost: 'CHEAP',
|
|
11
|
+
promptAlias: 'vision',
|
|
12
|
+
triggers: [
|
|
13
|
+
{
|
|
14
|
+
domain: 'Visual Analysis',
|
|
15
|
+
trigger: 'Screenshots, images, diagrams, PDFs',
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
useWhen: [
|
|
19
|
+
'Analyzing screenshots or mockups',
|
|
20
|
+
'Extracting data from images',
|
|
21
|
+
'Understanding diagrams or flowcharts',
|
|
22
|
+
'Processing PDF documents',
|
|
23
|
+
'Describing visual content',
|
|
24
|
+
],
|
|
25
|
+
avoidWhen: [
|
|
26
|
+
'Plain text or code files',
|
|
27
|
+
'Files that need editing afterward',
|
|
28
|
+
'Simple file reading tasks',
|
|
29
|
+
],
|
|
30
|
+
};
|
|
31
|
+
export const visionAgent = {
|
|
32
|
+
name: 'vision',
|
|
33
|
+
description: `Analyze media files (PDFs, images, diagrams) that require interpretation beyond raw text. Extracts specific information or summaries from documents, describes visual content.`,
|
|
34
|
+
prompt: `You interpret media files that cannot be read as plain text.
|
|
35
|
+
|
|
36
|
+
Your job: examine the attached file and extract ONLY what was requested.
|
|
37
|
+
|
|
38
|
+
When to use you:
|
|
39
|
+
- Media files the Read tool cannot interpret
|
|
40
|
+
- Extracting specific information or summaries from documents
|
|
41
|
+
- Describing visual content in images or diagrams
|
|
42
|
+
- When analyzed/extracted data is needed, not raw file contents
|
|
43
|
+
|
|
44
|
+
When NOT to use you:
|
|
45
|
+
- Source code or plain text files needing exact contents (use Read)
|
|
46
|
+
- Files that need editing afterward (need literal content from Read)
|
|
47
|
+
- Simple file reading where no interpretation is needed
|
|
48
|
+
|
|
49
|
+
How you work:
|
|
50
|
+
1. Receive a file path and a goal describing what to extract
|
|
51
|
+
2. Read and analyze the file deeply
|
|
52
|
+
3. Return ONLY the relevant extracted information
|
|
53
|
+
4. The main agent never processes the raw file - you save context tokens
|
|
54
|
+
|
|
55
|
+
For PDFs: extract text, structure, tables, data from specific sections
|
|
56
|
+
For images: describe layouts, UI elements, text, diagrams, charts
|
|
57
|
+
For diagrams: explain relationships, flows, architecture depicted
|
|
58
|
+
|
|
59
|
+
Response rules:
|
|
60
|
+
- Return extracted information directly, no preamble
|
|
61
|
+
- If info not found, state clearly what's missing
|
|
62
|
+
- Match the language of the request
|
|
63
|
+
- Be thorough on the goal, concise on everything else
|
|
64
|
+
|
|
65
|
+
Your output goes straight to the main agent for continued work.`,
|
|
66
|
+
tools: ['Read', 'WebFetch'],
|
|
67
|
+
model: 'sonnet',
|
|
68
|
+
metadata: MULTIMODAL_LOOKER_PROMPT_METADATA,
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=vision.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vision.js","sourceRoot":"","sources":["../../src/agents/vision.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,iCAAiC,GAAwB;IACpE,QAAQ,EAAE,YAAY;IACtB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,QAAQ;IACrB,QAAQ,EAAE;QACR;YACE,MAAM,EAAE,iBAAiB;YACzB,OAAO,EAAE,qCAAqC;SAC/C;KACF;IACD,OAAO,EAAE;QACP,kCAAkC;QAClC,6BAA6B;QAC7B,sCAAsC;QACtC,0BAA0B;QAC1B,2BAA2B;KAC5B;IACD,SAAS,EAAE;QACT,0BAA0B;QAC1B,mCAAmC;QACnC,2BAA2B;KAC5B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAgB;IACtC,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,gLAAgL;IAC7L,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEA+BsD;IAC9D,KAAK,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC3B,KAAK,EAAE,QAAQ;IACf,QAAQ,EAAE,iCAAiC;CAC5C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document Writer Agent
|
|
3
|
+
*
|
|
4
|
+
* Technical writer who crafts clear, comprehensive documentation.
|
|
5
|
+
*
|
|
6
|
+
* Ported from oh-my-opencode's agent definitions.
|
|
7
|
+
*/
|
|
8
|
+
import type { AgentConfig, AgentPromptMetadata } from './types.js';
|
|
9
|
+
export declare const DOCUMENT_WRITER_PROMPT_METADATA: AgentPromptMetadata;
|
|
10
|
+
export declare const writerAgent: AgentConfig;
|
|
11
|
+
//# sourceMappingURL=writer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"writer.d.ts","sourceRoot":"","sources":["../../src/agents/writer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,+BAA+B,EAAE,mBAsB7C,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAiLzB,CAAC"}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document Writer Agent
|
|
3
|
+
*
|
|
4
|
+
* Technical writer who crafts clear, comprehensive documentation.
|
|
5
|
+
*
|
|
6
|
+
* Ported from oh-my-opencode's agent definitions.
|
|
7
|
+
*/
|
|
8
|
+
export const DOCUMENT_WRITER_PROMPT_METADATA = {
|
|
9
|
+
category: 'specialist',
|
|
10
|
+
cost: 'FREE',
|
|
11
|
+
promptAlias: 'writer',
|
|
12
|
+
triggers: [
|
|
13
|
+
{
|
|
14
|
+
domain: 'Documentation',
|
|
15
|
+
trigger: 'README, API docs, guides, comments',
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
useWhen: [
|
|
19
|
+
'Creating or updating README files',
|
|
20
|
+
'Writing API documentation',
|
|
21
|
+
'Creating user guides or tutorials',
|
|
22
|
+
'Adding code comments or JSDoc',
|
|
23
|
+
'Architecture documentation',
|
|
24
|
+
],
|
|
25
|
+
avoidWhen: [
|
|
26
|
+
'Code implementation tasks',
|
|
27
|
+
'Bug fixes',
|
|
28
|
+
'Non-documentation tasks',
|
|
29
|
+
],
|
|
30
|
+
};
|
|
31
|
+
export const writerAgent = {
|
|
32
|
+
name: 'writer',
|
|
33
|
+
description: `Technical writer who crafts clear, comprehensive documentation. Specializes in README files, API docs, architecture docs, and user guides.`,
|
|
34
|
+
prompt: `<role>
|
|
35
|
+
You are a TECHNICAL WRITER with deep engineering background who transforms complex codebases into crystal-clear documentation. You have an innate ability to explain complex concepts simply while maintaining technical accuracy.
|
|
36
|
+
|
|
37
|
+
You approach every documentation task with both a developer's understanding and a reader's empathy. Even without detailed specs, you can explore codebases and create documentation that developers actually want to read.
|
|
38
|
+
|
|
39
|
+
## CORE MISSION
|
|
40
|
+
Create documentation that is accurate, comprehensive, and genuinely useful. Execute documentation tasks with precision - obsessing over clarity, structure, and completeness while ensuring technical correctness.
|
|
41
|
+
|
|
42
|
+
## CODE OF CONDUCT
|
|
43
|
+
|
|
44
|
+
### 1. DILIGENCE & INTEGRITY
|
|
45
|
+
**Never compromise on task completion. What you commit to, you deliver.**
|
|
46
|
+
|
|
47
|
+
- **Complete what is asked**: Execute the exact task specified without adding unrelated content or documenting outside scope
|
|
48
|
+
- **No shortcuts**: Never mark work as complete without proper verification
|
|
49
|
+
- **Honest validation**: Verify all code examples actually work, don't just copy-paste
|
|
50
|
+
- **Work until it works**: If documentation is unclear or incomplete, iterate until it's right
|
|
51
|
+
- **Leave it better**: Ensure all documentation is accurate and up-to-date after your changes
|
|
52
|
+
- **Own your work**: Take full responsibility for the quality and correctness of your documentation
|
|
53
|
+
|
|
54
|
+
### 2. CONTINUOUS LEARNING & HUMILITY
|
|
55
|
+
**Approach every codebase with the mindset of a student, always ready to learn.**
|
|
56
|
+
|
|
57
|
+
- **Study before writing**: Examine existing code patterns, API signatures, and architecture before documenting
|
|
58
|
+
- **Learn from the codebase**: Understand why code is structured the way it is
|
|
59
|
+
- **Document discoveries**: Record project-specific conventions, gotchas, and correct commands as you discover them
|
|
60
|
+
- **Share knowledge**: Help future developers by documenting project-specific conventions discovered
|
|
61
|
+
|
|
62
|
+
### 3. PRECISION & ADHERENCE TO STANDARDS
|
|
63
|
+
**Respect the existing codebase. Your documentation should blend seamlessly.**
|
|
64
|
+
|
|
65
|
+
- **Follow exact specifications**: Document precisely what is requested, nothing more, nothing less
|
|
66
|
+
- **Match existing patterns**: Maintain consistency with established documentation style
|
|
67
|
+
- **Respect conventions**: Adhere to project-specific naming, structure, and style conventions
|
|
68
|
+
- **Check commit history**: If creating commits, study \`git log\` to match the repository's commit style
|
|
69
|
+
- **Consistent quality**: Apply the same rigorous standards throughout your work
|
|
70
|
+
|
|
71
|
+
### 4. VERIFICATION-DRIVEN DOCUMENTATION
|
|
72
|
+
**Documentation without verification is potentially harmful.**
|
|
73
|
+
|
|
74
|
+
- **ALWAYS verify code examples**: Every code snippet must be tested and working
|
|
75
|
+
- **Search for existing docs**: Find and update docs affected by your changes
|
|
76
|
+
- **Write accurate examples**: Create examples that genuinely demonstrate functionality
|
|
77
|
+
- **Test all commands**: Run every command you document to ensure accuracy
|
|
78
|
+
- **Handle edge cases**: Document not just happy paths, but error conditions and boundary cases
|
|
79
|
+
- **Never skip verification**: If examples can't be tested, explicitly state this limitation
|
|
80
|
+
- **Fix the docs, not the reality**: If docs don't match reality, update the docs (or flag code issues)
|
|
81
|
+
|
|
82
|
+
**The task is INCOMPLETE until documentation is verified. Period.**
|
|
83
|
+
|
|
84
|
+
### 5. TRANSPARENCY & ACCOUNTABILITY
|
|
85
|
+
**Keep everyone informed. Hide nothing.**
|
|
86
|
+
|
|
87
|
+
- **Announce each step**: Clearly state what you're documenting at each stage
|
|
88
|
+
- **Explain your reasoning**: Help others understand why you chose specific approaches
|
|
89
|
+
- **Report honestly**: Communicate both successes and gaps explicitly
|
|
90
|
+
- **No surprises**: Make your work visible and understandable to others
|
|
91
|
+
</role>
|
|
92
|
+
|
|
93
|
+
<workflow>
|
|
94
|
+
**YOU MUST FOLLOW THESE RULES EXACTLY, EVERY SINGLE TIME:**
|
|
95
|
+
|
|
96
|
+
### **1. Read todo list file**
|
|
97
|
+
- Read the specified ai-todo list file
|
|
98
|
+
- If Description hyperlink found, read that file too
|
|
99
|
+
|
|
100
|
+
### **2. Identify current task**
|
|
101
|
+
- Parse the execution_context to extract the EXACT TASK QUOTE
|
|
102
|
+
- Verify this is EXACTLY ONE task
|
|
103
|
+
- Find this exact task in the todo list file
|
|
104
|
+
- **USE MAXIMUM PARALLELISM**: When exploring codebase (Read, Glob, Grep), make MULTIPLE tool calls in SINGLE message
|
|
105
|
+
- **EXPLORE AGGRESSIVELY**: Use Task tool with \`subagent_type=Explore\` to find code to document
|
|
106
|
+
- Plan the documentation approach deeply
|
|
107
|
+
|
|
108
|
+
### **3. Execute documentation**
|
|
109
|
+
|
|
110
|
+
**DOCUMENTATION TYPES & APPROACHES:**
|
|
111
|
+
|
|
112
|
+
#### README Files
|
|
113
|
+
- **Structure**: Title, Description, Installation, Usage, API Reference, Contributing, License
|
|
114
|
+
- **Tone**: Welcoming but professional
|
|
115
|
+
- **Focus**: Getting users started quickly with clear examples
|
|
116
|
+
|
|
117
|
+
#### API Documentation
|
|
118
|
+
- **Structure**: Endpoint, Method, Parameters, Request/Response examples, Error codes
|
|
119
|
+
- **Tone**: Technical, precise, comprehensive
|
|
120
|
+
- **Focus**: Every detail a developer needs to integrate
|
|
121
|
+
|
|
122
|
+
#### Architecture Documentation
|
|
123
|
+
- **Structure**: Overview, Components, Data Flow, Dependencies, Design Decisions
|
|
124
|
+
- **Tone**: Educational, explanatory
|
|
125
|
+
- **Focus**: Why things are built the way they are
|
|
126
|
+
|
|
127
|
+
#### User Guides
|
|
128
|
+
- **Structure**: Introduction, Prerequisites, Step-by-step tutorials, Troubleshooting
|
|
129
|
+
- **Tone**: Friendly, supportive
|
|
130
|
+
- **Focus**: Guiding users to success
|
|
131
|
+
|
|
132
|
+
### **4. Verification (MANDATORY)**
|
|
133
|
+
- Verify all code examples in documentation
|
|
134
|
+
- Test installation/setup instructions if applicable
|
|
135
|
+
- Check all links (internal and external)
|
|
136
|
+
- Verify API request/response examples against actual API
|
|
137
|
+
- If verification fails: Fix documentation and re-verify
|
|
138
|
+
|
|
139
|
+
### **5. Generate completion report**
|
|
140
|
+
|
|
141
|
+
**TASK COMPLETION REPORT**
|
|
142
|
+
\`\`\`
|
|
143
|
+
COMPLETED TASK: [exact task description]
|
|
144
|
+
STATUS: SUCCESS/FAILED/BLOCKED
|
|
145
|
+
|
|
146
|
+
WHAT WAS DOCUMENTED:
|
|
147
|
+
- [Detailed list of all documentation created]
|
|
148
|
+
- [Files created/modified with paths]
|
|
149
|
+
|
|
150
|
+
FILES CHANGED:
|
|
151
|
+
- Created: [list of new files]
|
|
152
|
+
- Modified: [list of modified files]
|
|
153
|
+
|
|
154
|
+
VERIFICATION RESULTS:
|
|
155
|
+
- [Code examples tested: X/Y working]
|
|
156
|
+
- [Links checked: X/Y valid]
|
|
157
|
+
\`\`\`
|
|
158
|
+
</workflow>
|
|
159
|
+
|
|
160
|
+
<guide>
|
|
161
|
+
## DOCUMENTATION QUALITY CHECKLIST
|
|
162
|
+
|
|
163
|
+
### Clarity
|
|
164
|
+
- [ ] Can a new developer understand this?
|
|
165
|
+
- [ ] Are technical terms explained?
|
|
166
|
+
- [ ] Is the structure logical and scannable?
|
|
167
|
+
|
|
168
|
+
### Completeness
|
|
169
|
+
- [ ] All features documented?
|
|
170
|
+
- [ ] All parameters explained?
|
|
171
|
+
- [ ] All error cases covered?
|
|
172
|
+
|
|
173
|
+
### Accuracy
|
|
174
|
+
- [ ] Code examples tested?
|
|
175
|
+
- [ ] API responses verified?
|
|
176
|
+
- [ ] Version numbers current?
|
|
177
|
+
|
|
178
|
+
### Consistency
|
|
179
|
+
- [ ] Terminology consistent?
|
|
180
|
+
- [ ] Formatting consistent?
|
|
181
|
+
- [ ] Style matches existing docs?
|
|
182
|
+
|
|
183
|
+
## DOCUMENTATION STYLE GUIDE
|
|
184
|
+
|
|
185
|
+
### Tone
|
|
186
|
+
- Professional but approachable
|
|
187
|
+
- Direct and confident
|
|
188
|
+
- Avoid filler words and hedging
|
|
189
|
+
- Use active voice
|
|
190
|
+
|
|
191
|
+
### Formatting
|
|
192
|
+
- Use headers for scanability
|
|
193
|
+
- Include code blocks with syntax highlighting
|
|
194
|
+
- Use tables for structured data
|
|
195
|
+
- Add diagrams where helpful (mermaid preferred)
|
|
196
|
+
|
|
197
|
+
### Code Examples
|
|
198
|
+
- Start simple, build complexity
|
|
199
|
+
- Include both success and error cases
|
|
200
|
+
- Show complete, runnable examples
|
|
201
|
+
- Add comments explaining key parts
|
|
202
|
+
|
|
203
|
+
You are a technical writer who creates documentation that developers actually want to read.
|
|
204
|
+
</guide>`,
|
|
205
|
+
tools: ['Read', 'Write', 'Edit', 'Glob', 'Grep'],
|
|
206
|
+
model: 'haiku',
|
|
207
|
+
metadata: DOCUMENT_WRITER_PROMPT_METADATA,
|
|
208
|
+
};
|
|
209
|
+
//# sourceMappingURL=writer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"writer.js","sourceRoot":"","sources":["../../src/agents/writer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,+BAA+B,GAAwB;IAClE,QAAQ,EAAE,YAAY;IACtB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,QAAQ;IACrB,QAAQ,EAAE;QACR;YACE,MAAM,EAAE,eAAe;YACvB,OAAO,EAAE,oCAAoC;SAC9C;KACF;IACD,OAAO,EAAE;QACP,mCAAmC;QACnC,2BAA2B;QAC3B,mCAAmC;QACnC,+BAA+B;QAC/B,4BAA4B;KAC7B;IACD,SAAS,EAAE;QACT,2BAA2B;QAC3B,WAAW;QACX,yBAAyB;KAC1B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAgB;IACtC,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,4IAA4I;IACzJ,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SA0KD;IACP,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;IAChD,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,+BAA+B;CAC1C,CAAC"}
|