oh-my-claude-sisyphus 1.4.1 → 1.6.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/dist/agents/document-writer.d.ts +11 -0
- package/dist/agents/document-writer.d.ts.map +1 -0
- package/dist/agents/document-writer.js +209 -0
- package/dist/agents/document-writer.js.map +1 -0
- package/dist/agents/explore.d.ts +12 -0
- package/dist/agents/explore.d.ts.map +1 -0
- package/dist/agents/explore.js +103 -0
- package/dist/agents/explore.js.map +1 -0
- package/dist/agents/frontend-engineer.d.ts +11 -0
- package/dist/agents/frontend-engineer.d.ts.map +1 -0
- package/dist/agents/frontend-engineer.js +115 -0
- package/dist/agents/frontend-engineer.js.map +1 -0
- package/dist/agents/index.d.ts +17 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +21 -1
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/librarian.d.ts +12 -0
- package/dist/agents/librarian.d.ts.map +1 -0
- package/dist/agents/librarian.js +103 -0
- package/dist/agents/librarian.js.map +1 -0
- package/dist/agents/metis.d.ts +12 -0
- package/dist/agents/metis.d.ts.map +1 -0
- package/dist/agents/metis.js +117 -0
- package/dist/agents/metis.js.map +1 -0
- package/dist/agents/momus.d.ts +12 -0
- package/dist/agents/momus.d.ts.map +1 -0
- package/dist/agents/momus.js +128 -0
- package/dist/agents/momus.js.map +1 -0
- package/dist/agents/multimodal-looker.d.ts +11 -0
- package/dist/agents/multimodal-looker.d.ts.map +1 -0
- package/dist/agents/multimodal-looker.js +70 -0
- package/dist/agents/multimodal-looker.js.map +1 -0
- package/dist/agents/oracle.d.ts +13 -0
- package/dist/agents/oracle.d.ts.map +1 -0
- package/dist/agents/oracle.js +149 -0
- package/dist/agents/oracle.js.map +1 -0
- package/dist/agents/orchestrator-sisyphus.d.ts +11 -0
- package/dist/agents/orchestrator-sisyphus.d.ts.map +1 -0
- package/dist/agents/orchestrator-sisyphus.js +115 -0
- package/dist/agents/orchestrator-sisyphus.js.map +1 -0
- package/dist/agents/prometheus.d.ts +12 -0
- package/dist/agents/prometheus.d.ts.map +1 -0
- package/dist/agents/prometheus.js +156 -0
- package/dist/agents/prometheus.js.map +1 -0
- package/dist/agents/sisyphus-junior.d.ts +12 -0
- package/dist/agents/sisyphus-junior.d.ts.map +1 -0
- package/dist/agents/sisyphus-junior.js +93 -0
- package/dist/agents/sisyphus-junior.js.map +1 -0
- package/dist/agents/types.d.ts +120 -0
- package/dist/agents/types.d.ts.map +1 -0
- package/dist/agents/types.js +38 -0
- package/dist/agents/types.js.map +1 -0
- package/dist/agents/utils.d.ts +49 -0
- package/dist/agents/utils.d.ts.map +1 -0
- package/dist/agents/utils.js +164 -0
- package/dist/agents/utils.js.map +1 -0
- package/dist/features/auto-update.d.ts +52 -0
- package/dist/features/auto-update.d.ts.map +1 -1
- package/dist/features/auto-update.js +167 -0
- package/dist/features/auto-update.js.map +1 -1
- package/dist/features/background-agent/concurrency.d.ts +53 -0
- package/dist/features/background-agent/concurrency.d.ts.map +1 -0
- package/dist/features/background-agent/concurrency.js +121 -0
- package/dist/features/background-agent/concurrency.js.map +1 -0
- package/dist/features/background-agent/index.d.ts +12 -0
- package/dist/features/background-agent/index.d.ts.map +1 -0
- package/dist/features/background-agent/index.js +12 -0
- package/dist/features/background-agent/index.js.map +1 -0
- package/dist/features/background-agent/manager.d.ts +134 -0
- package/dist/features/background-agent/manager.d.ts.map +1 -0
- package/dist/features/background-agent/manager.js +412 -0
- package/dist/features/background-agent/manager.js.map +1 -0
- package/dist/features/background-agent/types.d.ts +99 -0
- package/dist/features/background-agent/types.d.ts.map +1 -0
- package/dist/features/background-agent/types.js +9 -0
- package/dist/features/background-agent/types.js.map +1 -0
- package/dist/features/boulder-state/constants.d.ts +20 -0
- package/dist/features/boulder-state/constants.d.ts.map +1 -0
- package/dist/features/boulder-state/constants.js +20 -0
- package/dist/features/boulder-state/constants.js.map +1 -0
- package/dist/features/boulder-state/index.d.ts +12 -0
- package/dist/features/boulder-state/index.d.ts.map +1 -0
- package/dist/features/boulder-state/index.js +13 -0
- package/dist/features/boulder-state/index.js.map +1 -0
- package/dist/features/boulder-state/storage.d.ts +58 -0
- package/dist/features/boulder-state/storage.d.ts.map +1 -0
- package/dist/features/boulder-state/storage.js +174 -0
- package/dist/features/boulder-state/storage.js.map +1 -0
- package/dist/features/boulder-state/types.d.ts +48 -0
- package/dist/features/boulder-state/types.d.ts.map +1 -0
- package/dist/features/boulder-state/types.js +10 -0
- package/dist/features/boulder-state/types.js.map +1 -0
- package/dist/features/builtin-skills/index.d.ts +10 -0
- package/dist/features/builtin-skills/index.d.ts.map +1 -0
- package/dist/features/builtin-skills/index.js +10 -0
- package/dist/features/builtin-skills/index.js.map +1 -0
- package/dist/features/builtin-skills/skills.d.ts +21 -0
- package/dist/features/builtin-skills/skills.d.ts.map +1 -0
- package/dist/features/builtin-skills/skills.js +367 -0
- package/dist/features/builtin-skills/skills.js.map +1 -0
- package/dist/features/builtin-skills/types.d.ts +60 -0
- package/dist/features/builtin-skills/types.d.ts.map +1 -0
- package/dist/features/builtin-skills/types.js +9 -0
- package/dist/features/builtin-skills/types.js.map +1 -0
- package/dist/features/context-injector/collector.d.ts +56 -0
- package/dist/features/context-injector/collector.d.ts.map +1 -0
- package/dist/features/context-injector/collector.js +122 -0
- package/dist/features/context-injector/collector.js.map +1 -0
- package/dist/features/context-injector/index.d.ts +12 -0
- package/dist/features/context-injector/index.d.ts.map +1 -0
- package/dist/features/context-injector/index.js +13 -0
- package/dist/features/context-injector/index.js.map +1 -0
- package/dist/features/context-injector/injector.d.ts +47 -0
- package/dist/features/context-injector/injector.d.ts.map +1 -0
- package/dist/features/context-injector/injector.js +103 -0
- package/dist/features/context-injector/injector.js.map +1 -0
- package/dist/features/context-injector/types.d.ts +103 -0
- package/dist/features/context-injector/types.d.ts.map +1 -0
- package/dist/features/context-injector/types.js +11 -0
- package/dist/features/context-injector/types.js.map +1 -0
- package/dist/features/index.d.ts +5 -1
- package/dist/features/index.d.ts.map +1 -1
- package/dist/features/index.js +25 -1
- package/dist/features/index.js.map +1 -1
- package/dist/hooks/agent-usage-reminder/constants.d.ts +17 -0
- package/dist/hooks/agent-usage-reminder/constants.d.ts.map +1 -0
- package/dist/hooks/agent-usage-reminder/constants.js +58 -0
- package/dist/hooks/agent-usage-reminder/constants.js.map +1 -0
- package/dist/hooks/agent-usage-reminder/index.d.ts +36 -0
- package/dist/hooks/agent-usage-reminder/index.d.ts.map +1 -0
- package/dist/hooks/agent-usage-reminder/index.js +89 -0
- package/dist/hooks/agent-usage-reminder/index.js.map +1 -0
- package/dist/hooks/agent-usage-reminder/storage.d.ts +12 -0
- package/dist/hooks/agent-usage-reminder/storage.d.ts.map +1 -0
- package/dist/hooks/agent-usage-reminder/storage.js +39 -0
- package/dist/hooks/agent-usage-reminder/storage.js.map +1 -0
- package/dist/hooks/agent-usage-reminder/types.d.ts +14 -0
- package/dist/hooks/agent-usage-reminder/types.d.ts.map +1 -0
- package/dist/hooks/agent-usage-reminder/types.js +9 -0
- package/dist/hooks/agent-usage-reminder/types.js.map +1 -0
- package/dist/hooks/auto-slash-command/constants.d.ts +19 -0
- package/dist/hooks/auto-slash-command/constants.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/constants.js +28 -0
- package/dist/hooks/auto-slash-command/constants.js.map +1 -0
- package/dist/hooks/auto-slash-command/detector.d.ts +33 -0
- package/dist/hooks/auto-slash-command/detector.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/detector.js +73 -0
- package/dist/hooks/auto-slash-command/detector.js.map +1 -0
- package/dist/hooks/auto-slash-command/executor.d.ts +29 -0
- package/dist/hooks/auto-slash-command/executor.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/executor.js +214 -0
- package/dist/hooks/auto-slash-command/executor.js.map +1 -0
- package/dist/hooks/auto-slash-command/index.d.ts +53 -0
- package/dist/hooks/auto-slash-command/index.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/index.js +105 -0
- package/dist/hooks/auto-slash-command/index.js.map +1 -0
- package/dist/hooks/auto-slash-command/types.d.ts +77 -0
- package/dist/hooks/auto-slash-command/types.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/types.js +9 -0
- package/dist/hooks/auto-slash-command/types.js.map +1 -0
- package/dist/hooks/background-notification/index.d.ts +60 -0
- package/dist/hooks/background-notification/index.d.ts.map +1 -0
- package/dist/hooks/background-notification/index.js +180 -0
- package/dist/hooks/background-notification/index.js.map +1 -0
- package/dist/hooks/background-notification/types.d.ts +64 -0
- package/dist/hooks/background-notification/types.d.ts.map +1 -0
- package/dist/hooks/background-notification/types.js +8 -0
- package/dist/hooks/background-notification/types.js.map +1 -0
- package/dist/hooks/bridge.d.ts +68 -0
- package/dist/hooks/bridge.d.ts.map +1 -0
- package/dist/hooks/bridge.js +225 -0
- package/dist/hooks/bridge.js.map +1 -0
- package/dist/hooks/comment-checker/constants.d.ts +28 -0
- package/dist/hooks/comment-checker/constants.d.ts.map +1 -0
- package/dist/hooks/comment-checker/constants.js +189 -0
- package/dist/hooks/comment-checker/constants.js.map +1 -0
- package/dist/hooks/comment-checker/filters.d.ts +39 -0
- package/dist/hooks/comment-checker/filters.d.ts.map +1 -0
- package/dist/hooks/comment-checker/filters.js +126 -0
- package/dist/hooks/comment-checker/filters.js.map +1 -0
- package/dist/hooks/comment-checker/index.d.ts +58 -0
- package/dist/hooks/comment-checker/index.d.ts.map +1 -0
- package/dist/hooks/comment-checker/index.js +298 -0
- package/dist/hooks/comment-checker/index.js.map +1 -0
- package/dist/hooks/comment-checker/types.d.ts +88 -0
- package/dist/hooks/comment-checker/types.d.ts.map +1 -0
- package/dist/hooks/comment-checker/types.js +9 -0
- package/dist/hooks/comment-checker/types.js.map +1 -0
- package/dist/hooks/context-window-limit-recovery/constants.d.ts +28 -0
- package/dist/hooks/context-window-limit-recovery/constants.d.ts.map +1 -0
- package/dist/hooks/context-window-limit-recovery/constants.js +85 -0
- package/dist/hooks/context-window-limit-recovery/constants.js.map +1 -0
- package/dist/hooks/context-window-limit-recovery/index.d.ts +62 -0
- package/dist/hooks/context-window-limit-recovery/index.d.ts.map +1 -0
- package/dist/hooks/context-window-limit-recovery/index.js +201 -0
- package/dist/hooks/context-window-limit-recovery/index.js.map +1 -0
- package/dist/hooks/context-window-limit-recovery/parser.d.ts +31 -0
- package/dist/hooks/context-window-limit-recovery/parser.d.ts.map +1 -0
- package/dist/hooks/context-window-limit-recovery/parser.js +241 -0
- package/dist/hooks/context-window-limit-recovery/parser.js.map +1 -0
- package/dist/hooks/context-window-limit-recovery/types.d.ts +84 -0
- package/dist/hooks/context-window-limit-recovery/types.d.ts.map +1 -0
- package/dist/hooks/context-window-limit-recovery/types.js +34 -0
- package/dist/hooks/context-window-limit-recovery/types.js.map +1 -0
- package/dist/hooks/directory-readme-injector/constants.d.ts +15 -0
- package/dist/hooks/directory-readme-injector/constants.d.ts.map +1 -0
- package/dist/hooks/directory-readme-injector/constants.js +17 -0
- package/dist/hooks/directory-readme-injector/constants.js.map +1 -0
- package/dist/hooks/directory-readme-injector/index.d.ts +41 -0
- package/dist/hooks/directory-readme-injector/index.d.ts.map +1 -0
- package/dist/hooks/directory-readme-injector/index.js +162 -0
- package/dist/hooks/directory-readme-injector/index.js.map +1 -0
- package/dist/hooks/directory-readme-injector/storage.d.ts +20 -0
- package/dist/hooks/directory-readme-injector/storage.d.ts.map +1 -0
- package/dist/hooks/directory-readme-injector/storage.js +56 -0
- package/dist/hooks/directory-readme-injector/storage.js.map +1 -0
- package/dist/hooks/directory-readme-injector/types.d.ts +20 -0
- package/dist/hooks/directory-readme-injector/types.d.ts.map +1 -0
- package/dist/hooks/directory-readme-injector/types.js +9 -0
- package/dist/hooks/directory-readme-injector/types.js.map +1 -0
- package/dist/hooks/edit-error-recovery/index.d.ts +62 -0
- package/dist/hooks/edit-error-recovery/index.d.ts.map +1 -0
- package/dist/hooks/edit-error-recovery/index.js +89 -0
- package/dist/hooks/edit-error-recovery/index.js.map +1 -0
- package/dist/hooks/empty-message-sanitizer/constants.d.ts +33 -0
- package/dist/hooks/empty-message-sanitizer/constants.d.ts.map +1 -0
- package/dist/hooks/empty-message-sanitizer/constants.js +37 -0
- package/dist/hooks/empty-message-sanitizer/constants.js.map +1 -0
- package/dist/hooks/empty-message-sanitizer/index.d.ts +59 -0
- package/dist/hooks/empty-message-sanitizer/index.d.ts.map +1 -0
- package/dist/hooks/empty-message-sanitizer/index.js +171 -0
- package/dist/hooks/empty-message-sanitizer/index.js.map +1 -0
- package/dist/hooks/empty-message-sanitizer/types.d.ts +79 -0
- package/dist/hooks/empty-message-sanitizer/types.d.ts.map +1 -0
- package/dist/hooks/empty-message-sanitizer/types.js +10 -0
- package/dist/hooks/empty-message-sanitizer/types.js.map +1 -0
- package/dist/hooks/index.d.ts +31 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +69 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/keyword-detector/index.d.ts +40 -0
- package/dist/hooks/keyword-detector/index.d.ts.map +1 -0
- package/dist/hooks/keyword-detector/index.js +88 -0
- package/dist/hooks/keyword-detector/index.js.map +1 -0
- package/dist/hooks/non-interactive-env/constants.d.ts +35 -0
- package/dist/hooks/non-interactive-env/constants.d.ts.map +1 -0
- package/dist/hooks/non-interactive-env/constants.js +69 -0
- package/dist/hooks/non-interactive-env/constants.js.map +1 -0
- package/dist/hooks/non-interactive-env/detector.d.ts +2 -0
- package/dist/hooks/non-interactive-env/detector.d.ts.map +1 -0
- package/dist/hooks/non-interactive-env/detector.js +16 -0
- package/dist/hooks/non-interactive-env/detector.js.map +1 -0
- package/dist/hooks/non-interactive-env/index.d.ts +14 -0
- package/dist/hooks/non-interactive-env/index.d.ts.map +1 -0
- package/dist/hooks/non-interactive-env/index.js +72 -0
- package/dist/hooks/non-interactive-env/index.js.map +1 -0
- package/dist/hooks/non-interactive-env/types.d.ts +14 -0
- package/dist/hooks/non-interactive-env/types.d.ts.map +1 -0
- package/dist/hooks/non-interactive-env/types.js +2 -0
- package/dist/hooks/non-interactive-env/types.js.map +1 -0
- package/dist/hooks/preemptive-compaction/constants.d.ts +48 -0
- package/dist/hooks/preemptive-compaction/constants.d.ts.map +1 -0
- package/dist/hooks/preemptive-compaction/constants.js +90 -0
- package/dist/hooks/preemptive-compaction/constants.js.map +1 -0
- package/dist/hooks/preemptive-compaction/index.d.ts +55 -0
- package/dist/hooks/preemptive-compaction/index.d.ts.map +1 -0
- package/dist/hooks/preemptive-compaction/index.js +237 -0
- package/dist/hooks/preemptive-compaction/index.js.map +1 -0
- package/dist/hooks/preemptive-compaction/types.d.ts +76 -0
- package/dist/hooks/preemptive-compaction/types.d.ts.map +1 -0
- package/dist/hooks/preemptive-compaction/types.js +9 -0
- package/dist/hooks/preemptive-compaction/types.js.map +1 -0
- package/dist/hooks/ralph-loop/index.d.ts +60 -0
- package/dist/hooks/ralph-loop/index.d.ts.map +1 -0
- package/dist/hooks/ralph-loop/index.js +155 -0
- package/dist/hooks/ralph-loop/index.js.map +1 -0
- package/dist/hooks/rules-injector/constants.d.ts +25 -0
- package/dist/hooks/rules-injector/constants.d.ts.map +1 -0
- package/dist/hooks/rules-injector/constants.js +40 -0
- package/dist/hooks/rules-injector/constants.js.map +1 -0
- package/dist/hooks/rules-injector/finder.d.ts +24 -0
- package/dist/hooks/rules-injector/finder.d.ts.map +1 -0
- package/dist/hooks/rules-injector/finder.js +215 -0
- package/dist/hooks/rules-injector/finder.js.map +1 -0
- package/dist/hooks/rules-injector/index.d.ts +45 -0
- package/dist/hooks/rules-injector/index.d.ts.map +1 -0
- package/dist/hooks/rules-injector/index.js +187 -0
- package/dist/hooks/rules-injector/index.js.map +1 -0
- package/dist/hooks/rules-injector/matcher.d.ts +25 -0
- package/dist/hooks/rules-injector/matcher.d.ts.map +1 -0
- package/dist/hooks/rules-injector/matcher.js +70 -0
- package/dist/hooks/rules-injector/matcher.js.map +1 -0
- package/dist/hooks/rules-injector/parser.d.ts +20 -0
- package/dist/hooks/rules-injector/parser.d.ts.map +1 -0
- package/dist/hooks/rules-injector/parser.js +179 -0
- package/dist/hooks/rules-injector/parser.js.map +1 -0
- package/dist/hooks/rules-injector/storage.d.ts +26 -0
- package/dist/hooks/rules-injector/storage.d.ts.map +1 -0
- package/dist/hooks/rules-injector/storage.js +61 -0
- package/dist/hooks/rules-injector/storage.js.map +1 -0
- package/dist/hooks/rules-injector/types.d.ts +101 -0
- package/dist/hooks/rules-injector/types.d.ts.map +1 -0
- package/dist/hooks/rules-injector/types.js +10 -0
- package/dist/hooks/rules-injector/types.js.map +1 -0
- package/dist/hooks/session-recovery/constants.d.ts +56 -0
- package/dist/hooks/session-recovery/constants.d.ts.map +1 -0
- package/dist/hooks/session-recovery/constants.js +78 -0
- package/dist/hooks/session-recovery/constants.js.map +1 -0
- package/dist/hooks/session-recovery/index.d.ts +53 -0
- package/dist/hooks/session-recovery/index.d.ts.map +1 -0
- package/dist/hooks/session-recovery/index.js +321 -0
- package/dist/hooks/session-recovery/index.js.map +1 -0
- package/dist/hooks/session-recovery/storage.d.ts +76 -0
- package/dist/hooks/session-recovery/storage.d.ts.map +1 -0
- package/dist/hooks/session-recovery/storage.js +383 -0
- package/dist/hooks/session-recovery/storage.js.map +1 -0
- package/dist/hooks/session-recovery/types.d.ts +145 -0
- package/dist/hooks/session-recovery/types.d.ts.map +1 -0
- package/dist/hooks/session-recovery/types.js +8 -0
- package/dist/hooks/session-recovery/types.js.map +1 -0
- package/dist/hooks/sisyphus-orchestrator/constants.d.ts +23 -0
- package/dist/hooks/sisyphus-orchestrator/constants.d.ts.map +1 -0
- package/dist/hooks/sisyphus-orchestrator/constants.js +142 -0
- package/dist/hooks/sisyphus-orchestrator/constants.js.map +1 -0
- package/dist/hooks/sisyphus-orchestrator/index.d.ts +113 -0
- package/dist/hooks/sisyphus-orchestrator/index.d.ts.map +1 -0
- package/dist/hooks/sisyphus-orchestrator/index.js +283 -0
- package/dist/hooks/sisyphus-orchestrator/index.js.map +1 -0
- package/dist/hooks/think-mode/detector.d.ts +28 -0
- package/dist/hooks/think-mode/detector.d.ts.map +1 -0
- package/dist/hooks/think-mode/detector.js +105 -0
- package/dist/hooks/think-mode/detector.js.map +1 -0
- package/dist/hooks/think-mode/index.d.ts +70 -0
- package/dist/hooks/think-mode/index.d.ts.map +1 -0
- package/dist/hooks/think-mode/index.js +144 -0
- package/dist/hooks/think-mode/index.js.map +1 -0
- package/dist/hooks/think-mode/switcher.d.ts +39 -0
- package/dist/hooks/think-mode/switcher.d.ts.map +1 -0
- package/dist/hooks/think-mode/switcher.js +180 -0
- package/dist/hooks/think-mode/switcher.js.map +1 -0
- package/dist/hooks/think-mode/types.d.ts +60 -0
- package/dist/hooks/think-mode/types.d.ts.map +1 -0
- package/dist/hooks/think-mode/types.js +9 -0
- package/dist/hooks/think-mode/types.js.map +1 -0
- package/dist/hooks/thinking-block-validator/constants.d.ts +37 -0
- package/dist/hooks/thinking-block-validator/constants.d.ts.map +1 -0
- package/dist/hooks/thinking-block-validator/constants.js +50 -0
- package/dist/hooks/thinking-block-validator/constants.js.map +1 -0
- package/dist/hooks/thinking-block-validator/index.d.ts +66 -0
- package/dist/hooks/thinking-block-validator/index.d.ts.map +1 -0
- package/dist/hooks/thinking-block-validator/index.js +205 -0
- package/dist/hooks/thinking-block-validator/index.js.map +1 -0
- package/dist/hooks/thinking-block-validator/types.d.ts +67 -0
- package/dist/hooks/thinking-block-validator/types.d.ts.map +1 -0
- package/dist/hooks/thinking-block-validator/types.js +9 -0
- package/dist/hooks/thinking-block-validator/types.js.map +1 -0
- package/dist/hooks/todo-continuation/index.d.ts +39 -0
- package/dist/hooks/todo-continuation/index.d.ts.map +1 -0
- package/dist/hooks/todo-continuation/index.js +140 -0
- package/dist/hooks/todo-continuation/index.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/installer/index.d.ts +1 -1
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +232 -1
- package/dist/installer/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/install.sh +181 -3
|
@@ -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 documentWriterAgent: AgentConfig;
|
|
11
|
+
//# sourceMappingURL=document-writer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-writer.d.ts","sourceRoot":"","sources":["../../src/agents/document-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,mBAAmB,EAAE,WAiLjC,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: 'document-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 documentWriterAgent = {
|
|
32
|
+
name: 'document-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=document-writer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-writer.js","sourceRoot":"","sources":["../../src/agents/document-writer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,+BAA+B,GAAwB;IAClE,QAAQ,EAAE,YAAY;IACtB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,iBAAiB;IAC9B,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,mBAAmB,GAAgB;IAC9C,IAAI,EAAE,iBAAiB;IACvB,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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Explore Agent - Fast Pattern Matching and Code Search
|
|
3
|
+
*
|
|
4
|
+
* Optimized for quick searches and broad exploration of internal codebases.
|
|
5
|
+
* Uses parallel search strategies for maximum speed.
|
|
6
|
+
*
|
|
7
|
+
* Ported from oh-my-opencode's explore agent.
|
|
8
|
+
*/
|
|
9
|
+
import type { AgentConfig, AgentPromptMetadata } from './types.js';
|
|
10
|
+
export declare const EXPLORE_PROMPT_METADATA: AgentPromptMetadata;
|
|
11
|
+
export declare const exploreAgent: AgentConfig;
|
|
12
|
+
//# sourceMappingURL=explore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"explore.d.ts","sourceRoot":"","sources":["../../src/agents/explore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,uBAAuB,EAAE,mBAsBrC,CAAC;AAkEF,eAAO,MAAM,YAAY,EAAE,WAO1B,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Explore Agent - Fast Pattern Matching and Code Search
|
|
3
|
+
*
|
|
4
|
+
* Optimized for quick searches and broad exploration of internal codebases.
|
|
5
|
+
* Uses parallel search strategies for maximum speed.
|
|
6
|
+
*
|
|
7
|
+
* Ported from oh-my-opencode's explore agent.
|
|
8
|
+
*/
|
|
9
|
+
export const EXPLORE_PROMPT_METADATA = {
|
|
10
|
+
category: 'exploration',
|
|
11
|
+
cost: 'CHEAP',
|
|
12
|
+
promptAlias: 'Explore',
|
|
13
|
+
triggers: [
|
|
14
|
+
{ domain: 'Internal codebase search', trigger: 'Finding implementations, patterns, files' },
|
|
15
|
+
{ domain: 'Project structure', trigger: 'Understanding code organization' },
|
|
16
|
+
{ domain: 'Code discovery', trigger: 'Locating specific code by pattern' },
|
|
17
|
+
],
|
|
18
|
+
useWhen: [
|
|
19
|
+
'Finding files by pattern or name',
|
|
20
|
+
'Searching for implementations in current project',
|
|
21
|
+
'Understanding project structure',
|
|
22
|
+
'Locating code by content or pattern',
|
|
23
|
+
'Quick codebase exploration',
|
|
24
|
+
],
|
|
25
|
+
avoidWhen: [
|
|
26
|
+
'External documentation lookup (use librarian)',
|
|
27
|
+
'GitHub/npm package research (use librarian)',
|
|
28
|
+
'Complex architectural analysis (use oracle)',
|
|
29
|
+
'When you already know the file location',
|
|
30
|
+
],
|
|
31
|
+
};
|
|
32
|
+
const EXPLORE_PROMPT = `<Role>
|
|
33
|
+
Explore - Fast Internal Codebase Search
|
|
34
|
+
|
|
35
|
+
You search THIS project's codebase. Fast, thorough, exhaustive.
|
|
36
|
+
For EXTERNAL resources (docs, GitHub), use librarian instead.
|
|
37
|
+
</Role>
|
|
38
|
+
|
|
39
|
+
<Search_Strategy>
|
|
40
|
+
## Parallel Search Pattern (MANDATORY)
|
|
41
|
+
|
|
42
|
+
ALWAYS fire multiple searches simultaneously:
|
|
43
|
+
|
|
44
|
+
\`\`\`
|
|
45
|
+
# Execute ALL in parallel (single message, multiple tool calls):
|
|
46
|
+
Grep(pattern="functionName", path="src/")
|
|
47
|
+
Glob(pattern="**/*.ts", path="src/components/")
|
|
48
|
+
Grep(pattern="import.*from", path="src/", type="ts")
|
|
49
|
+
\`\`\`
|
|
50
|
+
|
|
51
|
+
## Search Tools Priority
|
|
52
|
+
|
|
53
|
+
| Tool | Use For | Speed |
|
|
54
|
+
|------|---------|-------|
|
|
55
|
+
| Glob | File patterns, structure | Fastest |
|
|
56
|
+
| Grep | Content search, patterns | Fast |
|
|
57
|
+
| Read | Specific file contents | Medium |
|
|
58
|
+
|
|
59
|
+
## Thoroughness Levels
|
|
60
|
+
|
|
61
|
+
| Level | Approach |
|
|
62
|
+
|-------|----------|
|
|
63
|
+
| Quick | 1-2 targeted searches |
|
|
64
|
+
| Medium | 3-5 parallel searches, different angles |
|
|
65
|
+
| Very Thorough | 5-10 searches, alternative naming conventions, related files |
|
|
66
|
+
</Search_Strategy>
|
|
67
|
+
|
|
68
|
+
<Output_Format>
|
|
69
|
+
## MANDATORY RESPONSE STRUCTURE
|
|
70
|
+
|
|
71
|
+
\`\`\`
|
|
72
|
+
## Search: [What was requested]
|
|
73
|
+
|
|
74
|
+
## Results
|
|
75
|
+
|
|
76
|
+
### [Category 1: e.g., "Direct Matches"]
|
|
77
|
+
- \`path/to/file.ts:42\` - [brief description]
|
|
78
|
+
- \`path/to/other.ts:108\` - [brief description]
|
|
79
|
+
|
|
80
|
+
### [Category 2: e.g., "Related Files"]
|
|
81
|
+
- \`path/to/related.ts\` - [why it's relevant]
|
|
82
|
+
|
|
83
|
+
## Summary
|
|
84
|
+
[Key findings, patterns noticed, recommendations for deeper investigation]
|
|
85
|
+
\`\`\`
|
|
86
|
+
</Output_Format>
|
|
87
|
+
|
|
88
|
+
<Critical_Rules>
|
|
89
|
+
- NEVER single search - always parallel
|
|
90
|
+
- Report ALL findings, not just first match
|
|
91
|
+
- Note patterns and conventions discovered
|
|
92
|
+
- Suggest related areas to explore if relevant
|
|
93
|
+
- Keep responses focused and actionable
|
|
94
|
+
</Critical_Rules>`;
|
|
95
|
+
export const exploreAgent = {
|
|
96
|
+
name: 'explore',
|
|
97
|
+
description: 'Fast codebase exploration and pattern search. Use for finding files, understanding structure, locating implementations. Searches INTERNAL codebase.',
|
|
98
|
+
prompt: EXPLORE_PROMPT,
|
|
99
|
+
tools: ['Glob', 'Grep', 'Read'],
|
|
100
|
+
model: 'haiku',
|
|
101
|
+
metadata: EXPLORE_PROMPT_METADATA
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=explore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"explore.js","sourceRoot":"","sources":["../../src/agents/explore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,MAAM,CAAC,MAAM,uBAAuB,GAAwB;IAC1D,QAAQ,EAAE,aAAa;IACvB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,SAAS;IACtB,QAAQ,EAAE;QACR,EAAE,MAAM,EAAE,0BAA0B,EAAE,OAAO,EAAE,0CAA0C,EAAE;QAC3F,EAAE,MAAM,EAAE,mBAAmB,EAAE,OAAO,EAAE,iCAAiC,EAAE;QAC3E,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,mCAAmC,EAAE;KAC3E;IACD,OAAO,EAAE;QACP,kCAAkC;QAClC,kDAAkD;QAClD,iCAAiC;QACjC,qCAAqC;QACrC,4BAA4B;KAC7B;IACD,SAAS,EAAE;QACT,+CAA+C;QAC/C,6CAA6C;QAC7C,6CAA6C;QAC7C,yCAAyC;KAC1C;CACF,CAAC;AAEF,MAAM,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA8DL,CAAC;AAEnB,MAAM,CAAC,MAAM,YAAY,GAAgB;IACvC,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,qJAAqJ;IAClK,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;IAC/B,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,uBAAuB;CAClC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Frontend Engineer Agent
|
|
3
|
+
*
|
|
4
|
+
* Designer-turned-developer who crafts stunning UI/UX.
|
|
5
|
+
*
|
|
6
|
+
* Ported from oh-my-opencode's agent definitions.
|
|
7
|
+
*/
|
|
8
|
+
import type { AgentConfig, AgentPromptMetadata } from './types.js';
|
|
9
|
+
export declare const FRONTEND_ENGINEER_PROMPT_METADATA: AgentPromptMetadata;
|
|
10
|
+
export declare const frontendEngineerAgent: AgentConfig;
|
|
11
|
+
//# sourceMappingURL=frontend-engineer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend-engineer.d.ts","sourceRoot":"","sources":["../../src/agents/frontend-engineer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,iCAAiC,EAAE,mBA0B/C,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,WA+EnC,CAAC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Frontend Engineer Agent
|
|
3
|
+
*
|
|
4
|
+
* Designer-turned-developer who crafts stunning UI/UX.
|
|
5
|
+
*
|
|
6
|
+
* Ported from oh-my-opencode's agent definitions.
|
|
7
|
+
*/
|
|
8
|
+
export const FRONTEND_ENGINEER_PROMPT_METADATA = {
|
|
9
|
+
category: 'specialist',
|
|
10
|
+
cost: 'CHEAP',
|
|
11
|
+
promptAlias: 'frontend-engineer',
|
|
12
|
+
triggers: [
|
|
13
|
+
{
|
|
14
|
+
domain: 'UI/UX',
|
|
15
|
+
trigger: 'Visual changes, styling, components, accessibility',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
domain: 'Design',
|
|
19
|
+
trigger: 'Layout, animations, responsive design',
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
useWhen: [
|
|
23
|
+
'Visual styling or layout changes',
|
|
24
|
+
'Component design or refactoring',
|
|
25
|
+
'Animation implementation',
|
|
26
|
+
'Accessibility improvements',
|
|
27
|
+
'Responsive design work',
|
|
28
|
+
],
|
|
29
|
+
avoidWhen: [
|
|
30
|
+
'Pure logic changes in frontend files',
|
|
31
|
+
'Backend/API work',
|
|
32
|
+
'Non-visual refactoring',
|
|
33
|
+
],
|
|
34
|
+
};
|
|
35
|
+
export const frontendEngineerAgent = {
|
|
36
|
+
name: 'frontend-engineer',
|
|
37
|
+
description: `Designer-turned-developer who crafts stunning UI/UX even without design mockups. Use for VISUAL changes only (styling, layout, animation). Pure logic changes in frontend files should be handled directly.`,
|
|
38
|
+
prompt: `# Role: Designer-Turned-Developer
|
|
39
|
+
|
|
40
|
+
You are a designer who learned to code. You see what pure developers miss—spacing, color harmony, micro-interactions, that indefinable "feel" that makes interfaces memorable. Even without mockups, you envision and create beautiful, cohesive interfaces.
|
|
41
|
+
|
|
42
|
+
**Mission**: Create visually stunning, emotionally engaging interfaces users fall in love with. Obsess over pixel-perfect details, smooth animations, and intuitive interactions while maintaining code quality.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
# Work Principles
|
|
47
|
+
|
|
48
|
+
1. **Complete what's asked** — Execute the exact task. No scope creep. Work until it works. Never mark work complete without proper verification.
|
|
49
|
+
2. **Leave it better** — Ensure that the project is in a working state after your changes.
|
|
50
|
+
3. **Study before acting** — Examine existing patterns, conventions, and commit history (git log) before implementing. Understand why code is structured the way it is.
|
|
51
|
+
4. **Blend seamlessly** — Match existing code patterns. Your code should look like the team wrote it.
|
|
52
|
+
5. **Be transparent** — Announce each step. Explain reasoning. Report both successes and failures.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
# Design Process
|
|
57
|
+
|
|
58
|
+
Before coding, commit to a **BOLD aesthetic direction**:
|
|
59
|
+
|
|
60
|
+
1. **Purpose**: What problem does this solve? Who uses it?
|
|
61
|
+
2. **Tone**: Pick an extreme—brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian
|
|
62
|
+
3. **Constraints**: Technical requirements (framework, performance, accessibility)
|
|
63
|
+
4. **Differentiation**: What's the ONE thing someone will remember?
|
|
64
|
+
|
|
65
|
+
**Key**: Choose a clear direction and execute with precision. Intentionality > intensity.
|
|
66
|
+
|
|
67
|
+
Then implement working code (HTML/CSS/JS, React, Vue, Angular, etc.) that is:
|
|
68
|
+
- Production-grade and functional
|
|
69
|
+
- Visually striking and memorable
|
|
70
|
+
- Cohesive with a clear aesthetic point-of-view
|
|
71
|
+
- Meticulously refined in every detail
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
# Aesthetic Guidelines
|
|
76
|
+
|
|
77
|
+
## Typography
|
|
78
|
+
Choose distinctive fonts. **Avoid**: Arial, Inter, Roboto, system fonts, Space Grotesk. Pair a characterful display font with a refined body font.
|
|
79
|
+
|
|
80
|
+
## Color
|
|
81
|
+
Commit to a cohesive palette. Use CSS variables. Dominant colors with sharp accents outperform timid, evenly-distributed palettes. **Avoid**: purple gradients on white (AI slop).
|
|
82
|
+
|
|
83
|
+
## Motion
|
|
84
|
+
Focus on high-impact moments. One well-orchestrated page load with staggered reveals (animation-delay) > scattered micro-interactions. Use scroll-triggering and hover states that surprise. Prioritize CSS-only. Use Motion library for React when available.
|
|
85
|
+
|
|
86
|
+
## Spatial Composition
|
|
87
|
+
Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density.
|
|
88
|
+
|
|
89
|
+
## Visual Details
|
|
90
|
+
Create atmosphere and depth—gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, grain overlays. Never default to solid colors.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
# Anti-Patterns (NEVER)
|
|
95
|
+
|
|
96
|
+
- Generic fonts (Inter, Roboto, Arial, system fonts, Space Grotesk)
|
|
97
|
+
- Cliched color schemes (purple gradients on white)
|
|
98
|
+
- Predictable layouts and component patterns
|
|
99
|
+
- Cookie-cutter design lacking context-specific character
|
|
100
|
+
- Converging on common choices across generations
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
# Execution
|
|
105
|
+
|
|
106
|
+
Match implementation complexity to aesthetic vision:
|
|
107
|
+
- **Maximalist** → Elaborate code with extensive animations and effects
|
|
108
|
+
- **Minimalist** → Restraint, precision, careful spacing and typography
|
|
109
|
+
|
|
110
|
+
Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. You are capable of extraordinary creative work—don't hold back.`,
|
|
111
|
+
tools: ['Read', 'Edit', 'Write', 'Glob', 'Grep', 'Bash'],
|
|
112
|
+
model: 'sonnet',
|
|
113
|
+
metadata: FRONTEND_ENGINEER_PROMPT_METADATA,
|
|
114
|
+
};
|
|
115
|
+
//# sourceMappingURL=frontend-engineer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend-engineer.js","sourceRoot":"","sources":["../../src/agents/frontend-engineer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,iCAAiC,GAAwB;IACpE,QAAQ,EAAE,YAAY;IACtB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,mBAAmB;IAChC,QAAQ,EAAE;QACR;YACE,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,oDAAoD;SAC9D;QACD;YACE,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,uCAAuC;SACjD;KACF;IACD,OAAO,EAAE;QACP,kCAAkC;QAClC,iCAAiC;QACjC,0BAA0B;QAC1B,4BAA4B;QAC5B,wBAAwB;KACzB;IACD,SAAS,EAAE;QACT,sCAAsC;QACtC,kBAAkB;QAClB,wBAAwB;KACzB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAgB;IAChD,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,6MAA6M;IAC1N,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wQAwE8P;IACtQ,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;IACxD,KAAK,EAAE,QAAQ;IACf,QAAQ,EAAE,iCAAiC;CAC5C,CAAC"}
|
package/dist/agents/index.d.ts
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agents Module Exports
|
|
3
|
+
*
|
|
4
|
+
* New modular agent system with individual files and metadata.
|
|
5
|
+
* Maintains backward compatibility with definitions.ts exports.
|
|
3
6
|
*/
|
|
4
|
-
export
|
|
7
|
+
export * from './types.js';
|
|
8
|
+
export { createAgentToolRestrictions, mergeAgentConfig, buildDelegationTable, buildUseAvoidSection, createEnvContext, getAvailableAgents, buildKeyTriggersSection, validateAgentConfig, deepMerge } from './utils.js';
|
|
9
|
+
export { oracleAgent, ORACLE_PROMPT_METADATA } from './oracle.js';
|
|
10
|
+
export { exploreAgent, EXPLORE_PROMPT_METADATA } from './explore.js';
|
|
11
|
+
export { librarianAgent, LIBRARIAN_PROMPT_METADATA } from './librarian.js';
|
|
12
|
+
export { sisyphusJuniorAgent, SISYPHUS_JUNIOR_PROMPT_METADATA } from './sisyphus-junior.js';
|
|
13
|
+
export { frontendEngineerAgent, FRONTEND_ENGINEER_PROMPT_METADATA } from './frontend-engineer.js';
|
|
14
|
+
export { documentWriterAgent, DOCUMENT_WRITER_PROMPT_METADATA } from './document-writer.js';
|
|
15
|
+
export { multimodalLookerAgent, MULTIMODAL_LOOKER_PROMPT_METADATA } from './multimodal-looker.js';
|
|
16
|
+
export { momusAgent, MOMUS_PROMPT_METADATA } from './momus.js';
|
|
17
|
+
export { metisAgent, METIS_PROMPT_METADATA } from './metis.js';
|
|
18
|
+
export { orchestratorSisyphusAgent, ORCHESTRATOR_SISYPHUS_PROMPT_METADATA } from './orchestrator-sisyphus.js';
|
|
19
|
+
export { prometheusAgent, PROMETHEUS_PROMPT_METADATA } from './prometheus.js';
|
|
20
|
+
export { getAgentDefinitions, sisyphusSystemPrompt } from './definitions.js';
|
|
5
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agents/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agents/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,cAAc,YAAY,CAAC;AAG3B,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,EACnB,SAAS,EACV,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,iCAAiC,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,iCAAiC,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,qCAAqC,EAAE,MAAM,4BAA4B,CAAC;AAC9G,OAAO,EAAE,eAAe,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAG9E,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,kBAAkB,CAAC"}
|
package/dist/agents/index.js
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agents Module Exports
|
|
3
|
+
*
|
|
4
|
+
* New modular agent system with individual files and metadata.
|
|
5
|
+
* Maintains backward compatibility with definitions.ts exports.
|
|
3
6
|
*/
|
|
4
|
-
|
|
7
|
+
// Types
|
|
8
|
+
export * from './types.js';
|
|
9
|
+
// Utilities
|
|
10
|
+
export { createAgentToolRestrictions, mergeAgentConfig, buildDelegationTable, buildUseAvoidSection, createEnvContext, getAvailableAgents, buildKeyTriggersSection, validateAgentConfig, deepMerge } from './utils.js';
|
|
11
|
+
// Individual agent exports (new modular structure)
|
|
12
|
+
export { oracleAgent, ORACLE_PROMPT_METADATA } from './oracle.js';
|
|
13
|
+
export { exploreAgent, EXPLORE_PROMPT_METADATA } from './explore.js';
|
|
14
|
+
export { librarianAgent, LIBRARIAN_PROMPT_METADATA } from './librarian.js';
|
|
15
|
+
export { sisyphusJuniorAgent, SISYPHUS_JUNIOR_PROMPT_METADATA } from './sisyphus-junior.js';
|
|
16
|
+
export { frontendEngineerAgent, FRONTEND_ENGINEER_PROMPT_METADATA } from './frontend-engineer.js';
|
|
17
|
+
export { documentWriterAgent, DOCUMENT_WRITER_PROMPT_METADATA } from './document-writer.js';
|
|
18
|
+
export { multimodalLookerAgent, MULTIMODAL_LOOKER_PROMPT_METADATA } from './multimodal-looker.js';
|
|
19
|
+
export { momusAgent, MOMUS_PROMPT_METADATA } from './momus.js';
|
|
20
|
+
export { metisAgent, METIS_PROMPT_METADATA } from './metis.js';
|
|
21
|
+
export { orchestratorSisyphusAgent, ORCHESTRATOR_SISYPHUS_PROMPT_METADATA } from './orchestrator-sisyphus.js';
|
|
22
|
+
export { prometheusAgent, PROMETHEUS_PROMPT_METADATA } from './prometheus.js';
|
|
23
|
+
// Legacy exports (backward compatibility - getAgentDefinitions and sisyphusSystemPrompt)
|
|
24
|
+
export { getAgentDefinitions, sisyphusSystemPrompt } from './definitions.js';
|
|
5
25
|
//# sourceMappingURL=index.js.map
|
package/dist/agents/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agents/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agents/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,QAAQ;AACR,cAAc,YAAY,CAAC;AAE3B,YAAY;AACZ,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,EACnB,SAAS,EACV,MAAM,YAAY,CAAC;AAEpB,mDAAmD;AACnD,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,iCAAiC,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,iCAAiC,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,qCAAqC,EAAE,MAAM,4BAA4B,CAAC;AAC9G,OAAO,EAAE,eAAe,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAE9E,yFAAyF;AACzF,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Librarian 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 librarian agent.
|
|
8
|
+
*/
|
|
9
|
+
import type { AgentConfig, AgentPromptMetadata } from './types.js';
|
|
10
|
+
export declare const LIBRARIAN_PROMPT_METADATA: AgentPromptMetadata;
|
|
11
|
+
export declare const librarianAgent: AgentConfig;
|
|
12
|
+
//# sourceMappingURL=librarian.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"librarian.d.ts","sourceRoot":"","sources":["../../src/agents/librarian.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,yBAAyB,EAAE,mBAqBvC,CAAC;AAmEF,eAAO,MAAM,cAAc,EAAE,WAO5B,CAAC"}
|