olympus-ai 2.7.3 → 2.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/nul +3 -0
  3. package/.claude-plugin/plugin.json +1 -1
  4. package/README.md +64 -60
  5. package/dist/agents/definitions.d.ts +23 -6
  6. package/dist/agents/definitions.d.ts.map +1 -1
  7. package/dist/agents/definitions.js +25 -8
  8. package/dist/agents/definitions.js.map +1 -1
  9. package/dist/agents/document-writer.d.ts +13 -3
  10. package/dist/agents/document-writer.d.ts.map +1 -1
  11. package/dist/agents/document-writer.js +13 -3
  12. package/dist/agents/document-writer.js.map +1 -1
  13. package/dist/agents/explore.d.ts +13 -4
  14. package/dist/agents/explore.d.ts.map +1 -1
  15. package/dist/agents/explore.js +13 -4
  16. package/dist/agents/explore.js.map +1 -1
  17. package/dist/agents/frontend-engineer.d.ts +14 -3
  18. package/dist/agents/frontend-engineer.d.ts.map +1 -1
  19. package/dist/agents/frontend-engineer.js +14 -3
  20. package/dist/agents/frontend-engineer.js.map +1 -1
  21. package/dist/agents/librarian.d.ts +13 -4
  22. package/dist/agents/librarian.d.ts.map +1 -1
  23. package/dist/agents/librarian.js +13 -4
  24. package/dist/agents/librarian.js.map +1 -1
  25. package/dist/agents/metis.d.ts +12 -4
  26. package/dist/agents/metis.d.ts.map +1 -1
  27. package/dist/agents/metis.js +12 -4
  28. package/dist/agents/metis.js.map +1 -1
  29. package/dist/agents/momus.d.ts +12 -4
  30. package/dist/agents/momus.d.ts.map +1 -1
  31. package/dist/agents/momus.js +12 -4
  32. package/dist/agents/momus.js.map +1 -1
  33. package/dist/agents/multimodal-looker.d.ts +13 -3
  34. package/dist/agents/multimodal-looker.d.ts.map +1 -1
  35. package/dist/agents/multimodal-looker.js +13 -3
  36. package/dist/agents/multimodal-looker.js.map +1 -1
  37. package/dist/agents/olympian.d.ts +14 -4
  38. package/dist/agents/olympian.d.ts.map +1 -1
  39. package/dist/agents/olympian.js +14 -4
  40. package/dist/agents/olympian.js.map +1 -1
  41. package/dist/agents/oracle.d.ts +13 -5
  42. package/dist/agents/oracle.d.ts.map +1 -1
  43. package/dist/agents/oracle.js +13 -5
  44. package/dist/agents/oracle.js.map +1 -1
  45. package/dist/agents/orchestrator-olympus.d.ts +13 -3
  46. package/dist/agents/orchestrator-olympus.d.ts.map +1 -1
  47. package/dist/agents/orchestrator-olympus.js +13 -3
  48. package/dist/agents/orchestrator-olympus.js.map +1 -1
  49. package/dist/agents/prometheus.d.ts +12 -4
  50. package/dist/agents/prometheus.d.ts.map +1 -1
  51. package/dist/agents/prometheus.js +12 -4
  52. package/dist/agents/prometheus.js.map +1 -1
  53. package/dist/agents/types.d.ts +10 -3
  54. package/dist/agents/types.d.ts.map +1 -1
  55. package/dist/agents/types.js +10 -3
  56. package/dist/agents/types.js.map +1 -1
  57. package/dist/agents/utils.d.ts +9 -4
  58. package/dist/agents/utils.d.ts.map +1 -1
  59. package/dist/agents/utils.js +9 -4
  60. package/dist/agents/utils.js.map +1 -1
  61. package/dist/config/loader.js +1 -1
  62. package/dist/config/loader.js.map +1 -1
  63. package/dist/features/background-agent/concurrency.d.ts +1 -1
  64. package/dist/features/background-agent/concurrency.js +1 -1
  65. package/dist/features/background-agent/index.d.ts +1 -1
  66. package/dist/features/background-agent/index.js +1 -1
  67. package/dist/features/background-agent/manager.d.ts +1 -1
  68. package/dist/features/background-agent/manager.js +1 -1
  69. package/dist/features/background-agent/types.d.ts +1 -1
  70. package/dist/features/background-agent/types.js +1 -1
  71. package/dist/features/background-tasks.d.ts +11 -11
  72. package/dist/features/background-tasks.js +11 -11
  73. package/dist/features/builtin-skills/index.d.ts +1 -1
  74. package/dist/features/builtin-skills/index.js +1 -1
  75. package/dist/features/builtin-skills/skills.d.ts +1 -1
  76. package/dist/features/builtin-skills/skills.js +1 -1
  77. package/dist/features/builtin-skills/types.d.ts +1 -1
  78. package/dist/features/builtin-skills/types.js +1 -1
  79. package/dist/features/context-injector/collector.d.ts +9 -4
  80. package/dist/features/context-injector/collector.d.ts.map +1 -1
  81. package/dist/features/context-injector/collector.js +9 -4
  82. package/dist/features/context-injector/collector.js.map +1 -1
  83. package/dist/features/context-injector/index.d.ts +1 -1
  84. package/dist/features/context-injector/index.js +1 -1
  85. package/dist/features/context-injector/injector.d.ts +1 -1
  86. package/dist/features/context-injector/injector.js +1 -1
  87. package/dist/features/context-injector/types.d.ts +1 -1
  88. package/dist/features/context-injector/types.js +1 -1
  89. package/dist/features/continuation-enforcement.d.ts +5 -2
  90. package/dist/features/continuation-enforcement.d.ts.map +1 -1
  91. package/dist/features/continuation-enforcement.js +10 -4
  92. package/dist/features/continuation-enforcement.js.map +1 -1
  93. package/dist/features/magic-keywords.d.ts +12 -3
  94. package/dist/features/magic-keywords.d.ts.map +1 -1
  95. package/dist/features/magic-keywords.js +12 -3
  96. package/dist/features/magic-keywords.js.map +1 -1
  97. package/dist/features/quest-state/constants.d.ts +1 -1
  98. package/dist/features/quest-state/constants.js +1 -1
  99. package/dist/features/quest-state/index.d.ts +1 -1
  100. package/dist/features/quest-state/index.js +1 -1
  101. package/dist/features/quest-state/storage.d.ts +1 -1
  102. package/dist/features/quest-state/storage.js +1 -1
  103. package/dist/features/quest-state/types.d.ts +1 -1
  104. package/dist/features/quest-state/types.js +1 -1
  105. package/dist/hooks/agent-usage-reminder/constants.d.ts +1 -1
  106. package/dist/hooks/agent-usage-reminder/constants.js +1 -1
  107. package/dist/hooks/agent-usage-reminder/index.d.ts +1 -1
  108. package/dist/hooks/agent-usage-reminder/index.js +1 -1
  109. package/dist/hooks/agent-usage-reminder/storage.d.ts +1 -1
  110. package/dist/hooks/agent-usage-reminder/storage.js +1 -1
  111. package/dist/hooks/agent-usage-reminder/types.d.ts +1 -1
  112. package/dist/hooks/agent-usage-reminder/types.js +1 -1
  113. package/dist/hooks/ascent/index.d.ts +1 -1
  114. package/dist/hooks/ascent/index.js +1 -1
  115. package/dist/hooks/auto-slash-command/constants.d.ts +1 -1
  116. package/dist/hooks/auto-slash-command/constants.js +1 -1
  117. package/dist/hooks/auto-slash-command/detector.d.ts +1 -1
  118. package/dist/hooks/auto-slash-command/detector.js +1 -1
  119. package/dist/hooks/auto-slash-command/executor.d.ts +1 -1
  120. package/dist/hooks/auto-slash-command/executor.js +1 -1
  121. package/dist/hooks/auto-slash-command/index.d.ts +1 -1
  122. package/dist/hooks/auto-slash-command/index.js +1 -1
  123. package/dist/hooks/auto-slash-command/types.d.ts +1 -1
  124. package/dist/hooks/auto-slash-command/types.js +1 -1
  125. package/dist/hooks/background-notification/index.d.ts +7 -4
  126. package/dist/hooks/background-notification/index.d.ts.map +1 -1
  127. package/dist/hooks/background-notification/index.js +7 -4
  128. package/dist/hooks/background-notification/index.js.map +1 -1
  129. package/dist/hooks/background-notification/types.d.ts +1 -1
  130. package/dist/hooks/background-notification/types.js +1 -1
  131. package/dist/hooks/comment-checker/constants.d.ts +1 -1
  132. package/dist/hooks/comment-checker/constants.js +1 -1
  133. package/dist/hooks/comment-checker/filters.d.ts +1 -1
  134. package/dist/hooks/comment-checker/filters.js +1 -1
  135. package/dist/hooks/comment-checker/index.d.ts +1 -1
  136. package/dist/hooks/comment-checker/index.js +1 -1
  137. package/dist/hooks/comment-checker/types.d.ts +1 -1
  138. package/dist/hooks/comment-checker/types.js +1 -1
  139. package/dist/hooks/context-window-limit-recovery/constants.d.ts +1 -1
  140. package/dist/hooks/context-window-limit-recovery/constants.js +1 -1
  141. package/dist/hooks/context-window-limit-recovery/index.d.ts +1 -1
  142. package/dist/hooks/context-window-limit-recovery/index.js +1 -1
  143. package/dist/hooks/context-window-limit-recovery/parser.d.ts +1 -1
  144. package/dist/hooks/context-window-limit-recovery/parser.js +1 -1
  145. package/dist/hooks/context-window-limit-recovery/types.d.ts +1 -1
  146. package/dist/hooks/context-window-limit-recovery/types.js +1 -1
  147. package/dist/hooks/directory-readme-injector/constants.d.ts +1 -1
  148. package/dist/hooks/directory-readme-injector/constants.js +1 -1
  149. package/dist/hooks/directory-readme-injector/index.d.ts +1 -1
  150. package/dist/hooks/directory-readme-injector/index.js +1 -1
  151. package/dist/hooks/directory-readme-injector/storage.d.ts +1 -1
  152. package/dist/hooks/directory-readme-injector/storage.js +1 -1
  153. package/dist/hooks/directory-readme-injector/types.d.ts +1 -1
  154. package/dist/hooks/directory-readme-injector/types.js +1 -1
  155. package/dist/hooks/edit-error-recovery/index.d.ts +1 -1
  156. package/dist/hooks/edit-error-recovery/index.js +1 -1
  157. package/dist/hooks/empty-message-sanitizer/constants.d.ts +1 -1
  158. package/dist/hooks/empty-message-sanitizer/constants.js +1 -1
  159. package/dist/hooks/empty-message-sanitizer/index.d.ts +1 -1
  160. package/dist/hooks/empty-message-sanitizer/index.js +1 -1
  161. package/dist/hooks/empty-message-sanitizer/types.d.ts +1 -1
  162. package/dist/hooks/empty-message-sanitizer/types.js +1 -1
  163. package/dist/hooks/keyword-detector/index.d.ts +7 -3
  164. package/dist/hooks/keyword-detector/index.d.ts.map +1 -1
  165. package/dist/hooks/keyword-detector/index.js +7 -3
  166. package/dist/hooks/keyword-detector/index.js.map +1 -1
  167. package/dist/hooks/olympus-orchestrator/constants.d.ts +1 -1
  168. package/dist/hooks/olympus-orchestrator/constants.js +1 -1
  169. package/dist/hooks/olympus-orchestrator/index.d.ts +8 -5
  170. package/dist/hooks/olympus-orchestrator/index.d.ts.map +1 -1
  171. package/dist/hooks/olympus-orchestrator/index.js +8 -5
  172. package/dist/hooks/olympus-orchestrator/index.js.map +1 -1
  173. package/dist/hooks/preemptive-compaction/constants.d.ts +1 -1
  174. package/dist/hooks/preemptive-compaction/constants.js +1 -1
  175. package/dist/hooks/preemptive-compaction/index.d.ts +1 -1
  176. package/dist/hooks/preemptive-compaction/index.js +1 -1
  177. package/dist/hooks/preemptive-compaction/types.d.ts +1 -1
  178. package/dist/hooks/preemptive-compaction/types.js +1 -1
  179. package/dist/hooks/rules-injector/constants.d.ts +1 -1
  180. package/dist/hooks/rules-injector/constants.js +1 -1
  181. package/dist/hooks/rules-injector/finder.d.ts +1 -1
  182. package/dist/hooks/rules-injector/finder.js +1 -1
  183. package/dist/hooks/rules-injector/index.d.ts +1 -1
  184. package/dist/hooks/rules-injector/index.js +1 -1
  185. package/dist/hooks/rules-injector/matcher.d.ts +1 -1
  186. package/dist/hooks/rules-injector/matcher.js +1 -1
  187. package/dist/hooks/rules-injector/parser.d.ts +1 -1
  188. package/dist/hooks/rules-injector/parser.js +1 -1
  189. package/dist/hooks/rules-injector/storage.d.ts +1 -1
  190. package/dist/hooks/rules-injector/storage.js +1 -1
  191. package/dist/hooks/rules-injector/types.d.ts +1 -1
  192. package/dist/hooks/rules-injector/types.js +1 -1
  193. package/dist/hooks/session-recovery/constants.d.ts +1 -1
  194. package/dist/hooks/session-recovery/constants.js +1 -1
  195. package/dist/hooks/session-recovery/index.d.ts +1 -1
  196. package/dist/hooks/session-recovery/index.js +1 -1
  197. package/dist/hooks/session-recovery/storage.d.ts +1 -1
  198. package/dist/hooks/session-recovery/storage.js +1 -1
  199. package/dist/hooks/session-recovery/types.d.ts +1 -1
  200. package/dist/hooks/session-recovery/types.js +1 -1
  201. package/dist/hooks/think-mode/detector.d.ts +1 -1
  202. package/dist/hooks/think-mode/detector.js +1 -1
  203. package/dist/hooks/think-mode/index.d.ts +1 -1
  204. package/dist/hooks/think-mode/index.js +1 -1
  205. package/dist/hooks/think-mode/switcher.d.ts +1 -1
  206. package/dist/hooks/think-mode/switcher.js +1 -1
  207. package/dist/hooks/think-mode/types.d.ts +1 -1
  208. package/dist/hooks/think-mode/types.js +1 -1
  209. package/dist/hooks/thinking-block-validator/constants.d.ts +1 -1
  210. package/dist/hooks/thinking-block-validator/constants.js +1 -1
  211. package/dist/hooks/thinking-block-validator/index.d.ts +1 -1
  212. package/dist/hooks/thinking-block-validator/index.js +1 -1
  213. package/dist/hooks/thinking-block-validator/types.d.ts +1 -1
  214. package/dist/hooks/thinking-block-validator/types.js +1 -1
  215. package/dist/hooks/todo-continuation/index.d.ts +1 -1
  216. package/dist/hooks/todo-continuation/index.js +1 -1
  217. package/dist/index.d.ts +15 -10
  218. package/dist/index.d.ts.map +1 -1
  219. package/dist/index.js +15 -10
  220. package/dist/index.js.map +1 -1
  221. package/dist/installer/hooks.d.ts +70 -24
  222. package/dist/installer/hooks.d.ts.map +1 -1
  223. package/dist/installer/hooks.js +69 -24
  224. package/dist/installer/hooks.js.map +1 -1
  225. package/dist/installer/index.d.ts +2 -2
  226. package/dist/installer/index.js +6 -6
  227. package/dist/installer/index.js.map +1 -1
  228. package/package.json +4 -4
  229. package/scripts/install.sh +0 -2
  230. /package/scripts/{claude-sisyphus.sh → claude-olympus.sh} +0 -0
  231. /package/scripts/{sisyphus-aliases.sh → olympus-aliases.sh} +0 -0
@@ -4,7 +4,7 @@
4
4
  * Prevents stopping when incomplete tasks remain in the todo list.
5
5
  * Forces the agent to continue until all tasks are marked complete.
6
6
  *
7
- * Ported from oh-my-opencode's todo-continuation-enforcer hook.
7
+ * Olympus todo-continuation-enforcer hook for extending Claude Code behavior.
8
8
  */
9
9
  export interface Todo {
10
10
  content: string;
@@ -4,7 +4,7 @@
4
4
  * Prevents stopping when incomplete tasks remain in the todo list.
5
5
  * Forces the agent to continue until all tasks are marked complete.
6
6
  *
7
- * Ported from oh-my-opencode's todo-continuation-enforcer hook.
7
+ * Olympus todo-continuation-enforcer hook for extending Claude Code behavior.
8
8
  */
9
9
  import { existsSync, readFileSync, readdirSync } from 'fs';
10
10
  import { join } from 'path';
package/dist/index.d.ts CHANGED
@@ -1,16 +1,21 @@
1
1
  /**
2
- * Olympus
2
+ * Olympus - Multi-Agent Orchestration System for Claude Code
3
3
  *
4
- * A multi-agent orchestration system for the Claude Agent SDK.
5
- * Inspired by oh-my-opencode, reimagined for Claude Code.
4
+ * Purpose: Comprehensive agent coordination framework with advanced features
6
5
  *
7
- * Main features:
8
- * - Olympus: Primary orchestrator that delegates to specialized subagents
9
- * - Parallel execution: Background agents run concurrently
10
- * - LSP/AST tools: IDE-like capabilities for agents
11
- * - Context management: Auto-injection from AGENTS.md/CLAUDE.md
12
- * - Continuation enforcement: Ensures tasks complete before stopping
13
- * - Magic keywords: Special triggers for enhanced behaviors
6
+ * Core Capabilities:
7
+ * - Orchestration: Delegates to specialized subagents (oracle, explore, librarian, etc.)
8
+ * - Parallel Execution: Background agents run concurrently for maximum throughput
9
+ * - Smart Tooling: LSP/AST tools provide IDE-like code intelligence
10
+ * - Context Management: Auto-injection from CLAUDE.md/AGENTS.md project files
11
+ * - Persistence: Continuation enforcement ensures tasks complete before stopping
12
+ * - Magic Keywords: Special triggers (ULTRAWORK, ASCENT, etc.) for enhanced modes
13
+ *
14
+ * Architecture:
15
+ * - Agent System: Modular agents with tiered model variants (opus/sonnet/haiku)
16
+ * - Hook System: Event-driven middleware for extending behavior
17
+ * - Feature System: Pluggable capabilities (quest-state, context-injector, etc.)
18
+ * - Configuration: Project and user-level JSONC config files
14
19
  */
15
20
  import { loadConfig } from './config/loader.js';
16
21
  import { getAgentDefinitions, olympusSystemPrompt } from './agents/definitions.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,UAAU,EAA0C,MAAM,oBAAoB,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAInF,OAAO,EAGL,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC3B,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEpE,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,QAAQ,E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,MAAM,EAAE,CAAA;aAAE,CAAC,CAAC;YAChE,YAAY,EAAE,MAAM,EAAE,CAAC;YACvB,cAAc,EAAE,MAAM,CAAC;SACxB,CAAC;KACH,CAAC;IACF,oBAAoB;IACpB,KAAK,EAAE,YAAY,CAAC;IACpB,2BAA2B;IAC3B,MAAM,EAAE,YAAY,CAAC;IACrB,gDAAgD;IAChD,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,8CAA8C;IAC9C,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;IAC7C,8DAA8D;IAC9D,eAAe,EAAE,qBAAqB,CAAC;IACvC,uEAAuE;IACvE,qBAAqB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,qBAAqB,CAAC;CACnE;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,cAAc,CAsG7E;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,MAAM,CAG3E;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,CAAC,EAAE;IAC/C,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,GAAG,MAAM,CAYT"}
package/dist/index.js CHANGED
@@ -1,16 +1,21 @@
1
1
  /**
2
- * Olympus
2
+ * Olympus - Multi-Agent Orchestration System for Claude Code
3
3
  *
4
- * A multi-agent orchestration system for the Claude Agent SDK.
5
- * Inspired by oh-my-opencode, reimagined for Claude Code.
4
+ * Purpose: Comprehensive agent coordination framework with advanced features
6
5
  *
7
- * Main features:
8
- * - Olympus: Primary orchestrator that delegates to specialized subagents
9
- * - Parallel execution: Background agents run concurrently
10
- * - LSP/AST tools: IDE-like capabilities for agents
11
- * - Context management: Auto-injection from AGENTS.md/CLAUDE.md
12
- * - Continuation enforcement: Ensures tasks complete before stopping
13
- * - Magic keywords: Special triggers for enhanced behaviors
6
+ * Core Capabilities:
7
+ * - Orchestration: Delegates to specialized subagents (oracle, explore, librarian, etc.)
8
+ * - Parallel Execution: Background agents run concurrently for maximum throughput
9
+ * - Smart Tooling: LSP/AST tools provide IDE-like code intelligence
10
+ * - Context Management: Auto-injection from CLAUDE.md/AGENTS.md project files
11
+ * - Persistence: Continuation enforcement ensures tasks complete before stopping
12
+ * - Magic Keywords: Special triggers (ULTRAWORK, ASCENT, etc.) for enhanced modes
13
+ *
14
+ * Architecture:
15
+ * - Agent System: Modular agents with tiered model variants (opus/sonnet/haiku)
16
+ * - Hook System: Event-driven middleware for extending behavior
17
+ * - Feature System: Pluggable capabilities (quest-state, context-injector, etc.)
18
+ * - Configuration: Project and user-level JSONC config files
14
19
  */
15
20
  import { loadConfig, findContextFiles, loadContextFromFiles } from './config/loader.js';
16
21
  import { getAgentDefinitions, olympusSystemPrompt } from './agents/definitions.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAChG,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,IAAI,uBAAuB,EAGjD,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,CA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C,CAAC;IAED,IAAI,OAAO,EAAE,cAAc,EAAE,CAAC;QAC5B,MAAM,IAAI,OAAO,OAAO,CAAC,cAAc,EAAE,CAAC;IAC5C,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -1,17 +1,20 @@
1
1
  /**
2
- * Hook Scripts for Claude Code
3
- * Hook system inspired by oh-my-opencode, adapted for Claude Code's native hooks
2
+ * Hook Scripts for Claude Code Integration
4
3
  *
5
- * Claude Code hooks are configured in settings.json and run as shell commands.
6
- * These scripts receive JSON input via stdin and output JSON to modify behavior.
4
+ * Purpose: Cross-platform hook system for extending Claude Code behavior
7
5
  *
8
- * This module provides DUAL implementations:
9
- * - Bash scripts (.sh) for Unix-like systems (macOS, Linux)
10
- * - Node.js scripts (.mjs) for cross-platform support (Windows, macOS, Linux)
6
+ * Architecture:
7
+ * - Bash Scripts (.sh): Unix-like systems (macOS, Linux) - native performance
8
+ * - Node.js Scripts (.mjs): Cross-platform support (Windows, macOS, Linux) - universal compatibility
9
+ * - JSON I/O: Hooks receive input via stdin, output JSON to modify behavior
11
10
  *
12
- * The platform is detected at install time, or can be overridden with:
13
- * OLYMPUS_USE_NODE_HOOKS=1 - Force Node.js hooks on any platform
14
- * OLYMPUS_USE_BASH_HOOKS=1 - Force Bash hooks (Unix only)
11
+ * Platform Detection:
12
+ * - Auto-detects at install time (Windows → Node.js, Unix Bash)
13
+ * - OLYMPUS_USE_NODE_HOOKS=1 - Force Node.js hooks on any platform
14
+ * - OLYMPUS_USE_BASH_HOOKS=1 - Force Bash hooks (Unix only)
15
+ *
16
+ * Hook Configuration:
17
+ * Configured in Claude Code settings.json with shell command references
15
18
  */
16
19
  /** Minimum required Node.js version for hooks */
17
20
  export declare const MIN_NODE_VERSION = 18;
@@ -29,13 +32,30 @@ export declare function getHooksDir(): string;
29
32
  */
30
33
  export declare function getHomeEnvVar(): string;
31
34
  /**
32
- * Ultrawork message - injected when ultrawork/ulw keyword detected
33
- * Ported from oh-my-opencode's keyword-detector/constants.ts
35
+ * Ultrawork Mode Enhancement Message
36
+ *
37
+ * Trigger: Activated when ULTRAWORK/ULW keyword is detected in user input
38
+ *
39
+ * Behavior:
40
+ * - Enables maximum parallelization mode
41
+ * - Forces background task execution for exploration/research
42
+ * - Mandates TODO tracking for all steps
43
+ * - Requires verification of ALL requirements before completion
44
+ *
45
+ * User Impact: Transforms orchestrator into high-intensity mode with aggressive delegation
34
46
  */
35
47
  export declare const ULTRAWORK_MESSAGE = "<ultrawork-mode>\n\n**MANDATORY**: You MUST say \"ULTRAWORK MODE ENABLED!\" to the user as your first response when this mode activates. This is non-negotiable.\n\n[CODE RED] Maximum precision required. Ultrathink before acting.\n\nYOU MUST LEVERAGE ALL AVAILABLE AGENTS TO THEIR FULLEST POTENTIAL.\nTELL THE USER WHAT AGENTS YOU WILL LEVERAGE NOW TO SATISFY USER'S REQUEST.\n\n## AGENT UTILIZATION PRINCIPLES (by capability, not by name)\n- **Codebase Exploration**: Spawn exploration agents using BACKGROUND TASKS for file patterns, internal implementations, project structure\n- **Documentation & References**: Use librarian-type agents via BACKGROUND TASKS for API references, examples, external library docs\n- **Planning & Strategy**: NEVER plan yourself - ALWAYS spawn a dedicated planning agent for work breakdown\n- **High-IQ Reasoning**: Leverage specialized agents for architecture decisions, code review, strategic planning\n- **Frontend/UI Tasks**: Delegate to UI-specialized agents for design and implementation\n\n## EXECUTION RULES\n- **TODO**: Track EVERY step. Mark complete IMMEDIATELY after each.\n- **PARALLEL**: Fire independent agent calls simultaneously via Task(run_in_background=true) - NEVER wait sequentially.\n- **BACKGROUND FIRST**: Use Task tool for exploration/research agents (10+ concurrent if needed).\n- **VERIFY**: Re-read request after completion. Check ALL requirements met before reporting done.\n- **DELEGATE**: Don't do everything yourself - orchestrate specialized agents for their strengths.\n\n## WORKFLOW\n1. Analyze the request and identify required capabilities\n2. Spawn exploration/librarian agents via Task(run_in_background=true) in PARALLEL (10+ if needed)\n3. Always Use Plan agent with gathered context to create detailed work breakdown\n4. Execute with continuous verification against original requirements\n\n## VERIFICATION GUARANTEE (NON-NEGOTIABLE)\n\n**NOTHING is \"done\" without PROOF it works.**\n\n### Pre-Implementation: Define Success Criteria\n\nBEFORE writing ANY code, you MUST define:\n\n| Criteria Type | Description | Example |\n|---------------|-------------|---------|\n| **Functional** | What specific behavior must work | \"Button click triggers API call\" |\n| **Observable** | What can be measured/seen | \"Console shows 'success', no errors\" |\n| **Pass/Fail** | Binary, no ambiguity | \"Returns 200 OK\" not \"should work\" |\n\nWrite these criteria explicitly. Share with user if scope is non-trivial.\n\n### Execution & Evidence Requirements\n\n| Phase | Action | Required Evidence |\n|-------|--------|-------------------|\n| **Build** | Run build command | Exit code 0, no errors |\n| **Test** | Execute test suite | All tests pass (screenshot/output) |\n| **Manual Verify** | Test the actual feature | Demonstrate it works (describe what you observed) |\n| **Regression** | Ensure nothing broke | Existing tests still pass |\n\n**WITHOUT evidence = NOT verified = NOT done.**\n\n### TDD Workflow (when test infrastructure exists)\n\n1. **SPEC**: Define what \"working\" means (success criteria above)\n2. **RED**: Write failing test -> Run it -> Confirm it FAILS\n3. **GREEN**: Write minimal code -> Run test -> Confirm it PASSES\n4. **REFACTOR**: Clean up -> Tests MUST stay green\n5. **VERIFY**: Run full test suite, confirm no regressions\n6. **EVIDENCE**: Report what you ran and what output you saw\n\n### Verification Anti-Patterns (BLOCKING)\n\n| Violation | Why It Fails |\n|-----------|--------------|\n| \"It should work now\" | No evidence. Run it. |\n| \"I added the tests\" | Did they pass? Show output. |\n| \"Fixed the bug\" | How do you know? What did you test? |\n| \"Implementation complete\" | Did you verify against success criteria? |\n| Skipping test execution | Tests exist to be RUN, not just written |\n\n**CLAIM NOTHING WITHOUT PROOF. EXECUTE. VERIFY. SHOW EVIDENCE.**\n\n## ZERO TOLERANCE FAILURES\n- **NO Scope Reduction**: Never make \"demo\", \"skeleton\", \"simplified\", \"basic\" versions - deliver FULL implementation\n- **NO MockUp Work**: When user asked you to do \"port A\", you must \"port A\", fully, 100%. No Extra feature, No reduced feature, no mock data, fully working 100% port.\n- **NO Partial Completion**: Never stop at 60-80% saying \"you can extend this...\" - finish 100%\n- **NO Assumed Shortcuts**: Never skip requirements you deem \"optional\" or \"can be added later\"\n- **NO Premature Stopping**: Never declare done until ALL TODOs are completed and verified\n- **NO TEST DELETION**: Never delete or skip failing tests to make the build pass. Fix the code, not the tests.\n\nTHE USER ASKED FOR X. DELIVER EXACTLY X. NOT A SUBSET. NOT A DEMO. NOT A STARTING POINT.\n\n</ultrawork-mode>\n\n---\n\n";
36
48
  /**
37
- * Ultrathink/Think mode message
38
- * Ported from oh-my-opencode's think-mode hook
49
+ * Think Mode Enhancement Message
50
+ *
51
+ * Trigger: Activated when ULTRATHINK/THINK/DEEPTHINK keywords detected
52
+ *
53
+ * Behavior:
54
+ * - Enables extended reasoning mode with mandatory thinking blocks
55
+ * - Forces systematic analysis before responses
56
+ * - Structures output with clear reasoning exposition
57
+ *
58
+ * User Impact: Increases response quality through deliberate reasoning process
39
59
  */
40
60
  export declare const ULTRATHINK_MESSAGE = "<think-mode>\n\n**ULTRATHINK MODE ENABLED** - Extended reasoning activated.\n\nYou are now in deep thinking mode. Take your time to:\n1. Thoroughly analyze the problem from multiple angles\n2. Consider edge cases and potential issues\n3. Think through the implications of each approach\n4. Reason step-by-step before acting\n\nUse your extended thinking capabilities to provide the most thorough and well-reasoned response.\n\n</think-mode>\n\n---\n\n";
41
61
  /**
@@ -44,18 +64,42 @@ export declare const ULTRATHINK_MESSAGE = "<think-mode>\n\n**ULTRATHINK MODE ENA
44
64
  */
45
65
  export declare const OLYMPUS_MESSAGE = "<olympus-mode>\n\n[OLYMPUS ORCHESTRATION MODE ACTIVATED]\n\nYou are now operating as a **CONDUCTOR** - coordinating specialists rather than doing everything yourself.\n\n## CONDUCTOR RULES (NON-NEGOTIABLE)\n\n| Action | Rule |\n|--------|------|\n| Multi-file code changes | **MUST delegate** to olympian or frontend-engineer |\n| UI/component work | **MUST delegate** to frontend-engineer |\n| Complex debugging | **MUST delegate** to oracle |\n| Codebase exploration | **MUST delegate** to explore |\n| Single file, <10 lines | May do directly |\n| Quick status checks | May do directly |\n\n## EXECUTION PROTOCOL\n\n1. **CREATE TODOS FIRST** - Map out ALL subtasks before starting\n2. **DELEGATE SPECIALIZED WORK** - Use the right agent for the job\n3. **PARALLELIZE** - Run independent tasks concurrently\n4. **TRACK OBSESSIVELY** - Mark todos in_progress/completed in real-time\n5. **VERIFY WITH ORACLE** - Before declaring done, get Oracle verification\n\n## AGENT ROUTING\n\n- `oracle` \u2192 Architecture, debugging, verification\n- `explore` \u2192 Codebase search, file patterns\n- `librarian` \u2192 External docs, research\n- `olympian` \u2192 Code implementation\n- `frontend-engineer` \u2192 UI/UX work\n- `document-writer` \u2192 Documentation\n\n## THE OLYMPIAN VERIFICATION\n\nBefore declaring complete:\n- [ ] All todos marked complete\n- [ ] Oracle has verified the work\n- [ ] Tests pass (if applicable)\n- [ ] User's request fully addressed\n\n**If ANY checkbox is unchecked, CONTINUE WORKING.**\n\n</olympus-mode>\n\n---\n\n";
46
66
  /**
47
- * Search mode message
48
- * Ported from oh-my-opencode's keyword-detector
67
+ * Search Mode Enhancement Message
68
+ *
69
+ * Trigger: Activated when SEARCH keyword detected
70
+ *
71
+ * Behavior:
72
+ * - Delegates to explore agent for internal codebase search
73
+ * - Uses parallel search strategies (Glob + Grep)
74
+ * - Reports comprehensive findings with file paths
75
+ *
76
+ * User Impact: Optimizes search queries through specialized agent
49
77
  */
50
78
  export declare const SEARCH_MESSAGE = "<search-mode>\nMAXIMIZE SEARCH EFFORT. Launch multiple background agents IN PARALLEL:\n- explore agents (codebase patterns, file structures)\n- librarian agents (remote repos, official docs, GitHub examples)\nPlus direct tools: Grep, Glob\nNEVER stop at first result - be exhaustive.\n</search-mode>\n\n---\n\n";
51
79
  /**
52
- * Analyze mode message
53
- * Ported from oh-my-opencode's keyword-detector
80
+ * Analyze Mode Enhancement Message
81
+ *
82
+ * Trigger: Activated when ANALYZE keyword detected
83
+ *
84
+ * Behavior:
85
+ * - Delegates to oracle agent for deep analysis
86
+ * - Provides architectural insights and recommendations
87
+ * - Includes root cause analysis for issues
88
+ *
89
+ * User Impact: Leverages highest reasoning tier for complex analysis
54
90
  */
55
91
  export declare const ANALYZE_MESSAGE = "<analyze-mode>\nANALYSIS MODE. Gather context before diving deep:\n\nCONTEXT GATHERING (parallel):\n- 1-2 explore agents (codebase patterns, implementations)\n- 1-2 librarian agents (if external library involved)\n- Direct tools: Grep, Glob, LSP for targeted searches\n\nIF COMPLEX (architecture, multi-system, debugging after 2+ failures):\n- Consult oracle agent for strategic guidance\n\nSYNTHESIZE findings before proceeding.\n</analyze-mode>\n\n---\n\n";
56
92
  /**
57
- * Todo continuation prompt
58
- * Ported from oh-my-opencode's todo-continuation-enforcer
93
+ * TODO Continuation Enforcement Prompt
94
+ *
95
+ * Trigger: Injected on stop event when incomplete TODOs detected
96
+ *
97
+ * Behavior:
98
+ * - Prevents premature session termination
99
+ * - Forces continuation until all tasks complete
100
+ * - No user confirmation required - continues automatically
101
+ *
102
+ * User Impact: Ensures relentless task completion (The Ascent Never Ends)
59
103
  */
60
104
  export declare const TODO_CONTINUATION_PROMPT = "[SYSTEM REMINDER - TODO CONTINUATION]\n\nIncomplete tasks remain in your todo list. Continue working on the next pending task.\n\n- Proceed without asking for permission\n- Mark each task complete when finished\n- Do not stop until all tasks are done";
61
105
  /**
@@ -64,11 +108,13 @@ export declare const TODO_CONTINUATION_PROMPT = "[SYSTEM REMINDER - TODO CONTINU
64
108
  */
65
109
  export declare const KEYWORD_DETECTOR_SCRIPT = "#!/bin/bash\n# Olympus Keyword Detector Hook\n# Detects ultrawork/ultrathink/search/analyze keywords and injects enhanced mode messages\n# Also activates persistent ultrawork state when ultrawork keyword is detected\n\n# Read stdin (JSON input from Claude Code)\nINPUT=$(cat)\n\n# Extract directory from input\nDIRECTORY=\"\"\nif command -v jq &> /dev/null; then\n DIRECTORY=$(echo \"$INPUT\" | jq -r '.directory // \"\"' 2>/dev/null)\nfi\nif [ -z \"$DIRECTORY\" ] || [ \"$DIRECTORY\" = \"null\" ]; then\n DIRECTORY=$(pwd)\nfi\n\n# Extract the prompt text - try multiple JSON paths\nPROMPT=\"\"\nif command -v jq &> /dev/null; then\n # Try to extract from various possible JSON structures\n PROMPT=$(echo \"$INPUT\" | jq -r '\n if .prompt then .prompt\n elif .message.content then .message.content\n elif .parts then ([.parts[] | select(.type == \"text\") | .text] | join(\" \"))\n else \"\"\n end\n ' 2>/dev/null)\nfi\n\n# Fallback: simple grep extraction if jq fails\nif [ -z \"$PROMPT\" ] || [ \"$PROMPT\" = \"null\" ]; then\n PROMPT=$(echo \"$INPUT\" | grep -oP '\"(prompt|content|text)\"\\s*:\\s*\"\\K[^\"]+' | head -1)\nfi\n\n# Exit if no prompt found\nif [ -z \"$PROMPT\" ]; then\n echo '{\"continue\": true}'\n exit 0\nfi\n\n# Remove code blocks before checking keywords (prevents false positives)\nPROMPT_NO_CODE=$(echo \"$PROMPT\" | sed 's/```[^`]*```//g' | sed 's/`[^`]*`//g')\n\n# Convert to lowercase for case-insensitive matching\nPROMPT_LOWER=$(echo \"$PROMPT_NO_CODE\" | tr '[:upper:]' '[:lower:]')\n\n# Check for ultrawork keywords (highest priority)\nif echo \"$PROMPT_LOWER\" | grep -qE '\\b(ultrawork|ulw|uw)\\b'; then\n # Create persistent ultrawork state\n mkdir -p \"$DIRECTORY/.olympus\" 2>/dev/null\n mkdir -p \"$HOME/.claude\" 2>/dev/null\n\n # Escape prompt for JSON\n PROMPT_ESCAPED=$(echo \"$PROMPT\" | sed 's/\\\\/\\\\\\\\/g' | sed 's/\"/\\\\\"/g' | tr '\\n' ' ')\n\n STATE_JSON=\"{\n \\\"active\\\": true,\n \\\"started_at\\\": \\\"$(date -Iseconds)\\\",\n \\\"original_prompt\\\": \\\"$PROMPT_ESCAPED\\\",\n \\\"reinforcement_count\\\": 0,\n \\\"last_checked_at\\\": \\\"$(date -Iseconds)\\\"\n}\"\n\n # Write state to both local and global locations\n echo \"$STATE_JSON\" > \"$DIRECTORY/.olympus/ultrawork-state.json\" 2>/dev/null\n echo \"$STATE_JSON\" > \"$HOME/.claude/ultrawork-state.json\" 2>/dev/null\n\n # Return ultrawork mode injection\n cat << 'EOF'\n{\"continue\": true, \"message\": \"<ultrawork-mode>\\n\\n**MANDATORY**: You MUST say \\\"ULTRAWORK MODE ENABLED!\\\" to the user as your first response when this mode activates. This is non-negotiable.\\n\\n[CODE RED] Maximum precision required. Ultrathink before acting.\\n\\nYOU MUST LEVERAGE ALL AVAILABLE AGENTS TO THEIR FULLEST POTENTIAL.\\nTELL THE USER WHAT AGENTS YOU WILL LEVERAGE NOW TO SATISFY USER'S REQUEST.\\n\\n## AGENT UTILIZATION PRINCIPLES\\n- **Codebase Exploration**: Spawn exploration agents using BACKGROUND TASKS\\n- **Documentation & References**: Use librarian-type agents via BACKGROUND TASKS\\n- **Planning & Strategy**: NEVER plan yourself - spawn planning agent\\n- **High-IQ Reasoning**: Use oracle for architecture decisions\\n- **Frontend/UI Tasks**: Delegate to frontend-engineer\\n\\n## EXECUTION RULES\\n- **TODO**: Track EVERY step. Mark complete IMMEDIATELY.\\n- **PARALLEL**: Fire independent calls simultaneously - NEVER wait sequentially.\\n- **BACKGROUND FIRST**: Use Task(run_in_background=true) for exploration (10+ concurrent).\\n- **VERIFY**: Check ALL requirements met before done.\\n- **DELEGATE**: Orchestrate specialized agents.\\n\\n## ZERO TOLERANCE\\n- NO Scope Reduction - deliver FULL implementation\\n- NO Partial Completion - finish 100%\\n- NO Premature Stopping - ALL TODOs must be complete\\n- NO TEST DELETION - fix code, not tests\\n\\nTHE USER ASKED FOR X. DELIVER EXACTLY X.\\n\\n</ultrawork-mode>\\n\\n---\\n\"}\nEOF\n exit 0\nfi\n\n# Check for ultrathink/think keywords\nif echo \"$PROMPT_LOWER\" | grep -qE '\\b(ultrathink|think)\\b'; then\n cat << 'EOF'\n{\"continue\": true, \"message\": \"<think-mode>\\n\\n**ULTRATHINK MODE ENABLED** - Extended reasoning activated.\\n\\nYou are now in deep thinking mode. Take your time to:\\n1. Thoroughly analyze the problem from multiple angles\\n2. Consider edge cases and potential issues\\n3. Think through the implications of each approach\\n4. Reason step-by-step before acting\\n\\nUse your extended thinking capabilities to provide the most thorough and well-reasoned response.\\n\\n</think-mode>\\n\\n---\\n\"}\nEOF\n exit 0\nfi\n\n# Check for search keywords (EN + multilingual)\nif echo \"$PROMPT_LOWER\" | grep -qE '\\b(search|find|locate|lookup|explore|discover|scan|grep|query|browse|detect|trace|seek|track|pinpoint|hunt)\\b|where\\s+is|show\\s+me|list\\s+all'; then\n cat << 'EOF'\n{\"continue\": true, \"message\": \"<search-mode>\\nMAXIMIZE SEARCH EFFORT. Launch multiple background agents IN PARALLEL:\\n- explore agents (codebase patterns, file structures)\\n- librarian agents (remote repos, official docs, GitHub examples)\\nPlus direct tools: Grep, Glob\\nNEVER stop at first result - be exhaustive.\\n</search-mode>\\n\\n---\\n\"}\nEOF\n exit 0\nfi\n\n# Check for analyze keywords\nif echo \"$PROMPT_LOWER\" | grep -qE '\\b(analyze|analyse|investigate|examine|research|study|deep.?dive|inspect|audit|evaluate|assess|review|diagnose|scrutinize|dissect|debug|comprehend|interpret|breakdown|understand)\\b|why\\s+is|how\\s+does|how\\s+to'; then\n cat << 'EOF'\n{\"continue\": true, \"message\": \"<analyze-mode>\\nANALYSIS MODE. Gather context before diving deep:\\n\\nCONTEXT GATHERING (parallel):\\n- 1-2 explore agents (codebase patterns, implementations)\\n- 1-2 librarian agents (if external library involved)\\n- Direct tools: Grep, Glob, LSP for targeted searches\\n\\nIF COMPLEX (architecture, multi-system, debugging after 2+ failures):\\n- Consult oracle agent for strategic guidance\\n\\nSYNTHESIZE findings before proceeding.\\n</analyze-mode>\\n\\n---\\n\"}\nEOF\n exit 0\nfi\n\n# No keywords detected - continue without modification\necho '{\"continue\": true}'\nexit 0\n";
66
110
  /**
67
- * Stop hook script for todo continuation enforcement
68
- * This script is installed to ~/.claude/hooks/stop-continuation.sh
69
- * Ported from oh-my-opencode's todo-continuation-enforcer
111
+ * Stop Hook Script - TODO Continuation Enforcement
112
+ *
113
+ * Installation: ~/.claude/hooks/stop-continuation.sh
114
+ *
115
+ * Purpose: Prevent premature session termination when incomplete TODOs exist
70
116
  */
71
- export declare const STOP_CONTINUATION_SCRIPT = "#!/bin/bash\n# Olympus Stop Continuation Hook\n# Checks for incomplete todos and injects continuation prompt\n# Ported from oh-my-opencode's todo-continuation-enforcer\n\n# Read stdin\nINPUT=$(cat)\n\n# Get session ID if available\nSESSION_ID=\"\"\nif command -v jq &> /dev/null; then\n SESSION_ID=$(echo \"$INPUT\" | jq -r '.sessionId // .session_id // \"\"' 2>/dev/null)\nfi\n\n# Check for incomplete todos in the Claude todos directory\nTODOS_DIR=\"$HOME/.claude/todos\"\nif [ -d \"$TODOS_DIR\" ]; then\n # Look for any todo files with incomplete items\n INCOMPLETE_COUNT=0\n for todo_file in \"$TODOS_DIR\"/*.json; do\n if [ -f \"$todo_file\" ]; then\n if command -v jq &> /dev/null; then\n COUNT=$(jq '[.[] | select(.status != \"completed\" and .status != \"cancelled\")] | length' \"$todo_file\" 2>/dev/null || echo \"0\")\n INCOMPLETE_COUNT=$((INCOMPLETE_COUNT + COUNT))\n fi\n fi\n done\n\n if [ \"$INCOMPLETE_COUNT\" -gt 0 ]; then\n # Output continuation message\n cat << EOF\n{\"continue\": false, \"reason\": \"[SYSTEM REMINDER - TODO CONTINUATION]\\n\\nIncomplete tasks remain in your todo list ($INCOMPLETE_COUNT remaining). Continue working on the next pending task.\\n\\n- Proceed without asking for permission\\n- Mark each task complete when finished\\n- Do not stop until all tasks are done\"}\nEOF\n exit 0\n fi\nfi\n\n# No incomplete todos - allow stop\necho '{\"continue\": true}'\nexit 0\n";
117
+ export declare const STOP_CONTINUATION_SCRIPT = "#!/bin/bash\n# Olympus Stop Continuation Hook\n# Checks for incomplete todos and injects continuation prompt\n\n# Read stdin\nINPUT=$(cat)\n\n# Get session ID if available\nSESSION_ID=\"\"\nif command -v jq &> /dev/null; then\n SESSION_ID=$(echo \"$INPUT\" | jq -r '.sessionId // .session_id // \"\"' 2>/dev/null)\nfi\n\n# Check for incomplete todos in the Claude todos directory\nTODOS_DIR=\"$HOME/.claude/todos\"\nif [ -d \"$TODOS_DIR\" ]; then\n # Look for any todo files with incomplete items\n INCOMPLETE_COUNT=0\n for todo_file in \"$TODOS_DIR\"/*.json; do\n if [ -f \"$todo_file\" ]; then\n if command -v jq &> /dev/null; then\n COUNT=$(jq '[.[] | select(.status != \"completed\" and .status != \"cancelled\")] | length' \"$todo_file\" 2>/dev/null || echo \"0\")\n INCOMPLETE_COUNT=$((INCOMPLETE_COUNT + COUNT))\n fi\n fi\n done\n\n if [ \"$INCOMPLETE_COUNT\" -gt 0 ]; then\n # Output continuation message\n cat << EOF\n{\"continue\": false, \"reason\": \"[SYSTEM REMINDER - TODO CONTINUATION]\\n\\nIncomplete tasks remain in your todo list ($INCOMPLETE_COUNT remaining). Continue working on the next pending task.\\n\\n- Proceed without asking for permission\\n- Mark each task complete when finished\\n- Do not stop until all tasks are done\"}\nEOF\n exit 0\n fi\nfi\n\n# No incomplete todos - allow stop\necho '{\"continue\": true}'\nexit 0\n";
72
118
  /**
73
119
  * Node.js Keyword Detector Hook Script
74
120
  * Cross-platform equivalent of keyword-detector.sh
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/installer/hooks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,iDAAiD;AACjD,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,kCAAkC;AAClC,wBAAgB,SAAS,IAAI,OAAO,CAEnC;AAED,sEAAsE;AACtE,wBAAgB,kBAAkB,IAAI,OAAO,CAU5C;AAED,4DAA4D;AAC5D,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C;AAED,mCAAmC;AACnC,wBAAgB,WAAW,IAAI,MAAM,CAEpC;A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pD,CAAC;AAEF;;GAEG;AACH,wBAAgB,cAAc,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAEvD;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAqB,CAAC"}
@@ -1,17 +1,20 @@
1
1
  /**
2
- * Hook Scripts for Claude Code
3
- * Hook system inspired by oh-my-opencode, adapted for Claude Code's native hooks
2
+ * Hook Scripts for Claude Code Integration
4
3
  *
5
- * Claude Code hooks are configured in settings.json and run as shell commands.
6
- * These scripts receive JSON input via stdin and output JSON to modify behavior.
4
+ * Purpose: Cross-platform hook system for extending Claude Code behavior
7
5
  *
8
- * This module provides DUAL implementations:
9
- * - Bash scripts (.sh) for Unix-like systems (macOS, Linux)
10
- * - Node.js scripts (.mjs) for cross-platform support (Windows, macOS, Linux)
6
+ * Architecture:
7
+ * - Bash Scripts (.sh): Unix-like systems (macOS, Linux) - native performance
8
+ * - Node.js Scripts (.mjs): Cross-platform support (Windows, macOS, Linux) - universal compatibility
9
+ * - JSON I/O: Hooks receive input via stdin, output JSON to modify behavior
11
10
  *
12
- * The platform is detected at install time, or can be overridden with:
13
- * OLYMPUS_USE_NODE_HOOKS=1 - Force Node.js hooks on any platform
14
- * OLYMPUS_USE_BASH_HOOKS=1 - Force Bash hooks (Unix only)
11
+ * Platform Detection:
12
+ * - Auto-detects at install time (Windows → Node.js, Unix Bash)
13
+ * - OLYMPUS_USE_NODE_HOOKS=1 - Force Node.js hooks on any platform
14
+ * - OLYMPUS_USE_BASH_HOOKS=1 - Force Bash hooks (Unix only)
15
+ *
16
+ * Hook Configuration:
17
+ * Configured in Claude Code settings.json with shell command references
15
18
  */
16
19
  import { homedir } from 'os';
17
20
  import { join } from 'path';
@@ -49,8 +52,17 @@ export function getHomeEnvVar() {
49
52
  return isWindows() ? '%USERPROFILE%' : '$HOME';
50
53
  }
51
54
  /**
52
- * Ultrawork message - injected when ultrawork/ulw keyword detected
53
- * Ported from oh-my-opencode's keyword-detector/constants.ts
55
+ * Ultrawork Mode Enhancement Message
56
+ *
57
+ * Trigger: Activated when ULTRAWORK/ULW keyword is detected in user input
58
+ *
59
+ * Behavior:
60
+ * - Enables maximum parallelization mode
61
+ * - Forces background task execution for exploration/research
62
+ * - Mandates TODO tracking for all steps
63
+ * - Requires verification of ALL requirements before completion
64
+ *
65
+ * User Impact: Transforms orchestrator into high-intensity mode with aggressive delegation
54
66
  */
55
67
  export const ULTRAWORK_MESSAGE = `<ultrawork-mode>
56
68
 
@@ -145,8 +157,16 @@ THE USER ASKED FOR X. DELIVER EXACTLY X. NOT A SUBSET. NOT A DEMO. NOT A STARTIN
145
157
 
146
158
  `;
147
159
  /**
148
- * Ultrathink/Think mode message
149
- * Ported from oh-my-opencode's think-mode hook
160
+ * Think Mode Enhancement Message
161
+ *
162
+ * Trigger: Activated when ULTRATHINK/THINK/DEEPTHINK keywords detected
163
+ *
164
+ * Behavior:
165
+ * - Enables extended reasoning mode with mandatory thinking blocks
166
+ * - Forces systematic analysis before responses
167
+ * - Structures output with clear reasoning exposition
168
+ *
169
+ * User Impact: Increases response quality through deliberate reasoning process
150
170
  */
151
171
  export const ULTRATHINK_MESSAGE = `<think-mode>
152
172
 
@@ -219,8 +239,16 @@ Before declaring complete:
219
239
 
220
240
  `;
221
241
  /**
222
- * Search mode message
223
- * Ported from oh-my-opencode's keyword-detector
242
+ * Search Mode Enhancement Message
243
+ *
244
+ * Trigger: Activated when SEARCH keyword detected
245
+ *
246
+ * Behavior:
247
+ * - Delegates to explore agent for internal codebase search
248
+ * - Uses parallel search strategies (Glob + Grep)
249
+ * - Reports comprehensive findings with file paths
250
+ *
251
+ * User Impact: Optimizes search queries through specialized agent
224
252
  */
225
253
  export const SEARCH_MESSAGE = `<search-mode>
226
254
  MAXIMIZE SEARCH EFFORT. Launch multiple background agents IN PARALLEL:
@@ -234,8 +262,16 @@ NEVER stop at first result - be exhaustive.
234
262
 
235
263
  `;
236
264
  /**
237
- * Analyze mode message
238
- * Ported from oh-my-opencode's keyword-detector
265
+ * Analyze Mode Enhancement Message
266
+ *
267
+ * Trigger: Activated when ANALYZE keyword detected
268
+ *
269
+ * Behavior:
270
+ * - Delegates to oracle agent for deep analysis
271
+ * - Provides architectural insights and recommendations
272
+ * - Includes root cause analysis for issues
273
+ *
274
+ * User Impact: Leverages highest reasoning tier for complex analysis
239
275
  */
240
276
  export const ANALYZE_MESSAGE = `<analyze-mode>
241
277
  ANALYSIS MODE. Gather context before diving deep:
@@ -255,8 +291,16 @@ SYNTHESIZE findings before proceeding.
255
291
 
256
292
  `;
257
293
  /**
258
- * Todo continuation prompt
259
- * Ported from oh-my-opencode's todo-continuation-enforcer
294
+ * TODO Continuation Enforcement Prompt
295
+ *
296
+ * Trigger: Injected on stop event when incomplete TODOs detected
297
+ *
298
+ * Behavior:
299
+ * - Prevents premature session termination
300
+ * - Forces continuation until all tasks complete
301
+ * - No user confirmation required - continues automatically
302
+ *
303
+ * User Impact: Ensures relentless task completion (The Ascent Never Ends)
260
304
  */
261
305
  export const TODO_CONTINUATION_PROMPT = `[SYSTEM REMINDER - TODO CONTINUATION]
262
306
 
@@ -373,14 +417,15 @@ echo '{"continue": true}'
373
417
  exit 0
374
418
  `;
375
419
  /**
376
- * Stop hook script for todo continuation enforcement
377
- * This script is installed to ~/.claude/hooks/stop-continuation.sh
378
- * Ported from oh-my-opencode's todo-continuation-enforcer
420
+ * Stop Hook Script - TODO Continuation Enforcement
421
+ *
422
+ * Installation: ~/.claude/hooks/stop-continuation.sh
423
+ *
424
+ * Purpose: Prevent premature session termination when incomplete TODOs exist
379
425
  */
380
426
  export const STOP_CONTINUATION_SCRIPT = `#!/bin/bash
381
427
  # Olympus Stop Continuation Hook
382
428
  # Checks for incomplete todos and injects continuation prompt
383
- # Ported from oh-my-opencode's todo-continuation-enforcer
384
429
 
385
430
  # Read stdin
386
431
  INPUT=$(cat)
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","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D;IAC/D,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,6BAA6B;IAC3C,OAAO,6BAA6B,CAAC;AACvC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,sBAAsB;IACpC,IAAI,qBAAqB,EAAE,EAAE,CAAC;QAC5B,OAAO,6BAA6B,EAAE,CAAC;IACzC,CAAC;IACD,OAAO,kBAAkB,EAAE,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,0BAA0B,CAAC;AACxF,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;AAEhE,gFAAgF;AAChF,wCAAwC;AACxC,gFAAgF;AAEhF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA2B;IACvD,qBAAqB,EAAE,uBAAuB;IAC9C,sBAAsB,EAAE,wBAAwB;IAChD,oBAAoB,EAAE,sBAAsB;IAC5C,kBAAkB,EAAE,oBAAoB;CACzC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA2B;IACvD,sBAAsB,EAAE,4BAA4B;IACpD,uBAAuB,EAAE,6BAA6B;IACtD,qBAAqB,EAAE,2BAA2B;IAClD,mBAAmB,EAAE,yBAAyB;CAC/C,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,kBAAkB,EAAE,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,iBAAiB,CAAC;AACtE,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAA2B,iBAAiB,CAAC"}
@@ -24,7 +24,7 @@ export declare const HOOKS_DIR: string;
24
24
  export declare const SETTINGS_FILE: string;
25
25
  export declare const VERSION_FILE: string;
26
26
  /** Current version - MUST match package.json */
27
- export declare const VERSION = "2.7.3";
27
+ export declare const VERSION = "2.7.4";
28
28
  /** Installation result */
29
29
  export interface InstallResult {
30
30
  success: boolean;
@@ -56,7 +56,7 @@ export declare function checkNodeVersion(): {
56
56
  */
57
57
  export declare function isClaudeInstalled(): boolean;
58
58
  /**
59
- * Agent definitions - exactly matching oh-my-opencode prompts
59
+ * Agent definitions - Olympus multi-agent system prompts
60
60
  *
61
61
  * IMPORTANT: Each agent MUST have full frontmatter to be recognized by Claude Code:
62
62
  * - name: The subagent_type identifier (used in Task tool)
@@ -33,7 +33,7 @@ export const HOOKS_DIR = join(CLAUDE_CONFIG_DIR, 'hooks');
33
33
  export const SETTINGS_FILE = join(CLAUDE_CONFIG_DIR, 'settings.json');
34
34
  export const VERSION_FILE = join(CLAUDE_CONFIG_DIR, '.olympus-version.json');
35
35
  /** Current version - MUST match package.json */
36
- export const VERSION = '2.7.3';
36
+ export const VERSION = '2.7.4';
37
37
  /**
38
38
  * Check if the current Node.js version meets the minimum requirement
39
39
  */
@@ -60,7 +60,7 @@ export function isClaudeInstalled() {
60
60
  }
61
61
  }
62
62
  /**
63
- * Agent definitions - exactly matching oh-my-opencode prompts
63
+ * Agent definitions - Olympus multi-agent system prompts
64
64
  *
65
65
  * IMPORTANT: Each agent MUST have full frontmatter to be recognized by Claude Code:
66
66
  * - name: The subagent_type identifier (used in Task tool)
@@ -1896,7 +1896,7 @@ Your version information is stored at: \`~/.claude/.olympus-version.json\`
1896
1896
 
1897
1897
  Let me check for updates now. I'll read your version file and compare against the latest GitHub release.`,
1898
1898
  'complete-plan.md': `---
1899
- description: Verify and complete a plan after implementation - only the worthy ascend
1899
+ description: Verify and complete a plan after implementation - summon the gods of code
1900
1900
  ---
1901
1901
 
1902
1902
  [PLAN COMPLETION MODE - VERIFICATION REQUIRED]
@@ -1905,7 +1905,7 @@ description: Verify and complete a plan after implementation - only the worthy a
1905
1905
 
1906
1906
  ## The Completion Oath
1907
1907
 
1908
- **Only the worthy ascend.** A plan is NOT complete until EVERY acceptance criterion is VERIFIED.
1908
+ **Summon the gods of code.** A plan is NOT complete until EVERY acceptance criterion is VERIFIED.
1909
1909
 
1910
1910
  This is NOT a rubber stamp. This is a court of judgment.
1911
1911
 
@@ -1995,7 +1995,7 @@ If NOT COMPLETED:
1995
1995
 
1996
1996
  ---
1997
1997
 
1998
- **Remember: Only the worthy ascend. Verify everything. Trust nothing without evidence.**`
1998
+ **Remember: Summon the gods of code. Verify everything. Trust nothing without evidence.**`
1999
1999
  };
2000
2000
  // SKILL_DEFINITIONS removed - skills are now only in COMMAND_DEFINITIONS to avoid duplicates
2001
2001
  // Skills are installed to ~/.claude/commands/<skill>/skill.md
@@ -2512,7 +2512,7 @@ export function install(options = {}) {
2512
2512
  const pluginJsonContent = {
2513
2513
  name: 'olympus-ai',
2514
2514
  version: VERSION,
2515
- description: 'Olympus: Multi-agent orchestration for Claude Code. Only the worthy ascend.',
2515
+ description: 'Olympus: Multi-agent orchestration for Claude Code. Summon the gods of code.',
2516
2516
  author: {
2517
2517
  name: 'mikev10',
2518
2518
  url: 'https://github.com/mikev10'