@liangjie559567/ultrapower 5.5.2 → 5.5.3

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 (1993) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +15 -11
  3. package/README.md +104 -8
  4. package/agents/analyst.md +24 -0
  5. package/bridge/codex-server.cjs +886 -88
  6. package/bridge/gemini-server.cjs +892 -89
  7. package/bridge/mcp-server.cjs +1351 -238
  8. package/bridge/team-bridge.cjs +737 -99
  9. package/commands/brainstorm.md +1 -1
  10. package/commands/execute-plan.md +1 -1
  11. package/commands/wizard.md +5 -0
  12. package/commands/write-plan.md +1 -1
  13. package/dist/__tests__/job-management.test.js +43 -43
  14. package/dist/__tests__/job-management.test.js.map +1 -1
  15. package/dist/__tests__/validateMode.test.js +1 -1
  16. package/dist/__tests__/validateMode.test.js.map +1 -1
  17. package/dist/agents/__tests__/agent-wrapper.test.d.ts +2 -0
  18. package/dist/agents/__tests__/agent-wrapper.test.d.ts.map +1 -0
  19. package/dist/agents/__tests__/agent-wrapper.test.js +37 -0
  20. package/dist/agents/__tests__/agent-wrapper.test.js.map +1 -0
  21. package/dist/agents/__tests__/timeout-config.test.d.ts +2 -0
  22. package/dist/agents/__tests__/timeout-config.test.d.ts.map +1 -0
  23. package/dist/agents/__tests__/timeout-config.test.js +35 -0
  24. package/dist/agents/__tests__/timeout-config.test.js.map +1 -0
  25. package/dist/agents/__tests__/timeout-manager.test.d.ts +2 -0
  26. package/dist/agents/__tests__/timeout-manager.test.d.ts.map +1 -0
  27. package/dist/agents/__tests__/timeout-manager.test.js +37 -0
  28. package/dist/agents/__tests__/timeout-manager.test.js.map +1 -0
  29. package/dist/agents/agent-wrapper.d.ts +22 -0
  30. package/dist/agents/agent-wrapper.d.ts.map +1 -0
  31. package/dist/agents/agent-wrapper.js +54 -0
  32. package/dist/agents/agent-wrapper.js.map +1 -0
  33. package/dist/agents/definitions.d.ts +1 -1
  34. package/dist/agents/definitions.js +1 -1
  35. package/dist/agents/index.d.ts +3 -0
  36. package/dist/agents/index.d.ts.map +1 -1
  37. package/dist/agents/index.js +4 -0
  38. package/dist/agents/index.js.map +1 -1
  39. package/dist/agents/timeout-config.d.ts +19 -0
  40. package/dist/agents/timeout-config.d.ts.map +1 -0
  41. package/dist/agents/timeout-config.js +57 -0
  42. package/dist/agents/timeout-config.js.map +1 -0
  43. package/dist/agents/timeout-manager.d.ts +31 -0
  44. package/dist/agents/timeout-manager.d.ts.map +1 -0
  45. package/dist/agents/timeout-manager.js +53 -0
  46. package/dist/agents/timeout-manager.js.map +1 -0
  47. package/dist/analytics/analytics-summary.d.ts.map +1 -1
  48. package/dist/analytics/analytics-summary.js +7 -1
  49. package/dist/analytics/analytics-summary.js.map +1 -1
  50. package/dist/analytics/metrics-collector.d.ts.map +1 -1
  51. package/dist/analytics/metrics-collector.js +9 -1
  52. package/dist/analytics/metrics-collector.js.map +1 -1
  53. package/dist/analytics/query-engine.d.ts.map +1 -1
  54. package/dist/analytics/query-engine.js +21 -3
  55. package/dist/analytics/query-engine.js.map +1 -1
  56. package/dist/analytics/token-tracker.js +3 -3
  57. package/dist/analytics/token-tracker.js.map +1 -1
  58. package/dist/analytics/transcript-scanner.d.ts.map +1 -1
  59. package/dist/analytics/transcript-scanner.js +20 -13
  60. package/dist/analytics/transcript-scanner.js.map +1 -1
  61. package/dist/audit/logger.d.ts +28 -0
  62. package/dist/audit/logger.d.ts.map +1 -0
  63. package/dist/audit/logger.js +86 -0
  64. package/dist/audit/logger.js.map +1 -0
  65. package/dist/audit/verify-cli.d.ts +2 -0
  66. package/dist/audit/verify-cli.d.ts.map +1 -0
  67. package/dist/audit/verify-cli.js +10 -0
  68. package/dist/audit/verify-cli.js.map +1 -0
  69. package/dist/cli/commands/perf.d.ts +3 -0
  70. package/dist/cli/commands/perf.d.ts.map +1 -0
  71. package/dist/cli/commands/perf.js +25 -0
  72. package/dist/cli/commands/perf.js.map +1 -0
  73. package/dist/cli/commands/plugin.d.ts +6 -0
  74. package/dist/cli/commands/plugin.d.ts.map +1 -0
  75. package/dist/cli/commands/plugin.js +100 -0
  76. package/dist/cli/commands/plugin.js.map +1 -0
  77. package/dist/cli/commands/teleport.js +5 -5
  78. package/dist/cli/commands/teleport.js.map +1 -1
  79. package/dist/cli/index.js +6 -0
  80. package/dist/cli/index.js.map +1 -1
  81. package/dist/compatibility/mcp-bridge.d.ts.map +1 -1
  82. package/dist/compatibility/mcp-bridge.js +4 -3
  83. package/dist/compatibility/mcp-bridge.js.map +1 -1
  84. package/dist/config/loader.d.ts.map +1 -1
  85. package/dist/config/loader.js +40 -6
  86. package/dist/config/loader.js.map +1 -1
  87. package/dist/core/hud-config.d.ts +19 -0
  88. package/dist/core/hud-config.d.ts.map +1 -0
  89. package/dist/core/hud-config.js +6 -0
  90. package/dist/core/hud-config.js.map +1 -0
  91. package/dist/core/job-types.d.ts +22 -0
  92. package/dist/core/job-types.d.ts.map +1 -0
  93. package/dist/core/job-types.js +6 -0
  94. package/dist/core/job-types.js.map +1 -0
  95. package/dist/features/diagnostics/error-matcher.d.ts +12 -0
  96. package/dist/features/diagnostics/error-matcher.d.ts.map +1 -0
  97. package/dist/features/diagnostics/error-matcher.js +41 -0
  98. package/dist/features/diagnostics/error-matcher.js.map +1 -0
  99. package/dist/features/diagnostics/index.d.ts +3 -0
  100. package/dist/features/diagnostics/index.d.ts.map +1 -0
  101. package/dist/features/diagnostics/index.js +3 -0
  102. package/dist/features/diagnostics/index.js.map +1 -0
  103. package/dist/features/diagnostics/solution-suggester.d.ts +12 -0
  104. package/dist/features/diagnostics/solution-suggester.d.ts.map +1 -0
  105. package/dist/features/diagnostics/solution-suggester.js +46 -0
  106. package/dist/features/diagnostics/solution-suggester.js.map +1 -0
  107. package/dist/features/diagnostics/types.d.ts +25 -0
  108. package/dist/features/diagnostics/types.d.ts.map +1 -0
  109. package/dist/features/diagnostics/types.js +5 -0
  110. package/dist/features/diagnostics/types.js.map +1 -0
  111. package/dist/features/rate-limit-wait/daemon.js +1 -1
  112. package/dist/features/rate-limit-wait/daemon.js.map +1 -1
  113. package/dist/features/reflection/data-collector.d.ts +12 -0
  114. package/dist/features/reflection/data-collector.d.ts.map +1 -0
  115. package/dist/features/reflection/data-collector.js +38 -0
  116. package/dist/features/reflection/data-collector.js.map +1 -0
  117. package/dist/features/reflection/index.d.ts +4 -0
  118. package/dist/features/reflection/index.d.ts.map +1 -0
  119. package/dist/features/reflection/index.js +3 -0
  120. package/dist/features/reflection/index.js.map +1 -0
  121. package/dist/features/reflection/report-generator.d.ts +3 -0
  122. package/dist/features/reflection/report-generator.d.ts.map +1 -0
  123. package/dist/features/reflection/report-generator.js +42 -0
  124. package/dist/features/reflection/report-generator.js.map +1 -0
  125. package/dist/features/state-manager/__tests__/cache.test.js +17 -17
  126. package/dist/features/state-manager/__tests__/cache.test.js.map +1 -1
  127. package/dist/features/state-manager/__tests__/encryption-performance.test.d.ts +2 -0
  128. package/dist/features/state-manager/__tests__/encryption-performance.test.d.ts.map +1 -0
  129. package/dist/features/state-manager/__tests__/encryption-performance.test.js +42 -0
  130. package/dist/features/state-manager/__tests__/encryption-performance.test.js.map +1 -0
  131. package/dist/features/state-manager/__tests__/encryption.test.d.ts +2 -0
  132. package/dist/features/state-manager/__tests__/encryption.test.d.ts.map +1 -0
  133. package/dist/features/state-manager/__tests__/encryption.test.js +68 -0
  134. package/dist/features/state-manager/__tests__/encryption.test.js.map +1 -0
  135. package/dist/features/state-manager/encryption.d.ts +24 -0
  136. package/dist/features/state-manager/encryption.d.ts.map +1 -0
  137. package/dist/features/state-manager/encryption.js +86 -0
  138. package/dist/features/state-manager/encryption.js.map +1 -0
  139. package/dist/features/state-manager/index.d.ts +4 -0
  140. package/dist/features/state-manager/index.d.ts.map +1 -1
  141. package/dist/features/state-manager/index.js +95 -7
  142. package/dist/features/state-manager/index.js.map +1 -1
  143. package/dist/features/state-manager/tiered-writer.d.ts +44 -0
  144. package/dist/features/state-manager/tiered-writer.d.ts.map +1 -0
  145. package/dist/features/state-manager/tiered-writer.js +76 -0
  146. package/dist/features/state-manager/tiered-writer.js.map +1 -0
  147. package/dist/features/state-manager/wal.d.ts +21 -0
  148. package/dist/features/state-manager/wal.d.ts.map +1 -0
  149. package/dist/features/state-manager/wal.js +75 -0
  150. package/dist/features/state-manager/wal.js.map +1 -0
  151. package/dist/features/task-templates/index.d.ts +13 -0
  152. package/dist/features/task-templates/index.d.ts.map +1 -0
  153. package/dist/features/task-templates/index.js +31 -0
  154. package/dist/features/task-templates/index.js.map +1 -0
  155. package/dist/features/task-templates/wizard-integration.d.ts +15 -0
  156. package/dist/features/task-templates/wizard-integration.d.ts.map +1 -0
  157. package/dist/features/task-templates/wizard-integration.js +27 -0
  158. package/dist/features/task-templates/wizard-integration.js.map +1 -0
  159. package/dist/features/wizard/__tests__/engine.test.d.ts +2 -0
  160. package/dist/features/wizard/__tests__/engine.test.d.ts.map +1 -0
  161. package/dist/features/wizard/__tests__/engine.test.js +78 -0
  162. package/dist/features/wizard/__tests__/engine.test.js.map +1 -0
  163. package/dist/features/wizard/__tests__/recommendation-engine.test.d.ts +2 -0
  164. package/dist/features/wizard/__tests__/recommendation-engine.test.d.ts.map +1 -0
  165. package/dist/features/wizard/__tests__/recommendation-engine.test.js +43 -0
  166. package/dist/features/wizard/__tests__/recommendation-engine.test.js.map +1 -0
  167. package/dist/features/wizard/engine.d.ts +15 -0
  168. package/dist/features/wizard/engine.d.ts.map +1 -0
  169. package/dist/features/wizard/engine.js +74 -0
  170. package/dist/features/wizard/engine.js.map +1 -0
  171. package/dist/features/wizard/index.d.ts +8 -0
  172. package/dist/features/wizard/index.d.ts.map +1 -0
  173. package/dist/features/wizard/index.js +7 -0
  174. package/dist/features/wizard/index.js.map +1 -0
  175. package/dist/features/wizard/questions.d.ts +6 -0
  176. package/dist/features/wizard/questions.d.ts.map +1 -0
  177. package/dist/features/wizard/questions.js +64 -0
  178. package/dist/features/wizard/questions.js.map +1 -0
  179. package/dist/features/wizard/recommendation-engine.d.ts +6 -0
  180. package/dist/features/wizard/recommendation-engine.d.ts.map +1 -0
  181. package/dist/features/wizard/recommendation-engine.js +33 -0
  182. package/dist/features/wizard/recommendation-engine.js.map +1 -0
  183. package/dist/features/wizard/types.d.ts +23 -0
  184. package/dist/features/wizard/types.d.ts.map +1 -0
  185. package/dist/features/wizard/types.js +5 -0
  186. package/dist/features/wizard/types.js.map +1 -0
  187. package/dist/features/workflow-recommender/context-analyzer.d.ts +6 -0
  188. package/dist/features/workflow-recommender/context-analyzer.d.ts.map +1 -0
  189. package/dist/features/workflow-recommender/context-analyzer.js +20 -0
  190. package/dist/features/workflow-recommender/context-analyzer.js.map +1 -0
  191. package/dist/features/workflow-recommender/index.d.ts +12 -0
  192. package/dist/features/workflow-recommender/index.d.ts.map +1 -0
  193. package/dist/features/workflow-recommender/index.js +9 -0
  194. package/dist/features/workflow-recommender/index.js.map +1 -0
  195. package/dist/features/workflow-recommender/intent-classifier.d.ts +6 -0
  196. package/dist/features/workflow-recommender/intent-classifier.d.ts.map +1 -0
  197. package/dist/features/workflow-recommender/intent-classifier.js +24 -0
  198. package/dist/features/workflow-recommender/intent-classifier.js.map +1 -0
  199. package/dist/features/workflow-recommender/recommendation-engine.d.ts +6 -0
  200. package/dist/features/workflow-recommender/recommendation-engine.d.ts.map +1 -0
  201. package/dist/features/workflow-recommender/recommendation-engine.js +110 -0
  202. package/dist/features/workflow-recommender/recommendation-engine.js.map +1 -0
  203. package/dist/features/workflow-recommender/recommender.d.ts +14 -0
  204. package/dist/features/workflow-recommender/recommender.d.ts.map +1 -0
  205. package/dist/features/workflow-recommender/recommender.js +32 -0
  206. package/dist/features/workflow-recommender/recommender.js.map +1 -0
  207. package/dist/features/workflow-recommender/router-integration.d.ts +9 -0
  208. package/dist/features/workflow-recommender/router-integration.d.ts.map +1 -0
  209. package/dist/features/workflow-recommender/router-integration.js +25 -0
  210. package/dist/features/workflow-recommender/router-integration.js.map +1 -0
  211. package/dist/features/workflow-recommender/types.d.ts +20 -0
  212. package/dist/features/workflow-recommender/types.d.ts.map +1 -0
  213. package/dist/features/workflow-recommender/types.js +5 -0
  214. package/dist/features/workflow-recommender/types.js.map +1 -0
  215. package/dist/hooks/__tests__/bridge-normalize.test.d.ts +2 -0
  216. package/dist/hooks/__tests__/bridge-normalize.test.d.ts.map +1 -0
  217. package/dist/hooks/__tests__/bridge-normalize.test.js +90 -0
  218. package/dist/hooks/__tests__/bridge-normalize.test.js.map +1 -0
  219. package/dist/hooks/__tests__/bridge-security.test.js +23 -41
  220. package/dist/hooks/__tests__/bridge-security.test.js.map +1 -1
  221. package/dist/hooks/auto-slash-command/__tests__/detector.test.d.ts +2 -0
  222. package/dist/hooks/auto-slash-command/__tests__/detector.test.d.ts.map +1 -0
  223. package/dist/hooks/auto-slash-command/__tests__/detector.test.js +70 -0
  224. package/dist/hooks/auto-slash-command/__tests__/detector.test.js.map +1 -0
  225. package/dist/hooks/auto-slash-command/__tests__/executor.test.d.ts +2 -0
  226. package/dist/hooks/auto-slash-command/__tests__/executor.test.d.ts.map +1 -0
  227. package/dist/hooks/auto-slash-command/__tests__/executor.test.js +55 -0
  228. package/dist/hooks/auto-slash-command/__tests__/executor.test.js.map +1 -0
  229. package/dist/hooks/auto-slash-command/__tests__/index.test.d.ts +2 -0
  230. package/dist/hooks/auto-slash-command/__tests__/index.test.d.ts.map +1 -0
  231. package/dist/hooks/auto-slash-command/__tests__/index.test.js +50 -0
  232. package/dist/hooks/auto-slash-command/__tests__/index.test.js.map +1 -0
  233. package/dist/hooks/auto-slash-command/live-data.js +2 -2
  234. package/dist/hooks/auto-slash-command/live-data.js.map +1 -1
  235. package/dist/hooks/autopilot/__tests__/prompts.test.js +19 -1
  236. package/dist/hooks/autopilot/__tests__/prompts.test.js.map +1 -1
  237. package/dist/hooks/autopilot/enforcement.d.ts +1 -1
  238. package/dist/hooks/autopilot/enforcement.d.ts.map +1 -1
  239. package/dist/hooks/autopilot/enforcement.js +1 -1
  240. package/dist/hooks/autopilot/enforcement.js.map +1 -1
  241. package/dist/hooks/axiom-boot/index.d.ts +1 -0
  242. package/dist/hooks/axiom-boot/index.d.ts.map +1 -1
  243. package/dist/hooks/axiom-boot/index.js +13 -0
  244. package/dist/hooks/axiom-boot/index.js.map +1 -1
  245. package/dist/hooks/bridge-normalize.d.ts +43 -3
  246. package/dist/hooks/bridge-normalize.d.ts.map +1 -1
  247. package/dist/hooks/bridge-normalize.js +183 -61
  248. package/dist/hooks/bridge-normalize.js.map +1 -1
  249. package/dist/hooks/bridge-types.d.ts +62 -0
  250. package/dist/hooks/bridge-types.d.ts.map +1 -0
  251. package/dist/hooks/bridge-types.js +6 -0
  252. package/dist/hooks/bridge-types.js.map +1 -0
  253. package/dist/hooks/bridge.d.ts +1 -43
  254. package/dist/hooks/bridge.d.ts.map +1 -1
  255. package/dist/hooks/bridge.js +132 -32
  256. package/dist/hooks/bridge.js.map +1 -1
  257. package/dist/hooks/dependency-analyzer.d.ts +32 -0
  258. package/dist/hooks/dependency-analyzer.d.ts.map +1 -0
  259. package/dist/hooks/dependency-analyzer.js +199 -0
  260. package/dist/hooks/dependency-analyzer.js.map +1 -0
  261. package/dist/hooks/guards/pre-tool.d.ts.map +1 -1
  262. package/dist/hooks/guards/pre-tool.js +8 -2
  263. package/dist/hooks/guards/pre-tool.js.map +1 -1
  264. package/dist/hooks/index.d.ts +2 -1
  265. package/dist/hooks/index.d.ts.map +1 -1
  266. package/dist/hooks/index.js.map +1 -1
  267. package/dist/hooks/learner/__tests__/confidence.test.d.ts +2 -0
  268. package/dist/hooks/learner/__tests__/confidence.test.d.ts.map +1 -0
  269. package/dist/hooks/learner/__tests__/confidence.test.js +42 -0
  270. package/dist/hooks/learner/__tests__/confidence.test.js.map +1 -0
  271. package/dist/hooks/learner/__tests__/detector.test.d.ts +2 -0
  272. package/dist/hooks/learner/__tests__/detector.test.d.ts.map +1 -0
  273. package/dist/hooks/learner/__tests__/detector.test.js +170 -0
  274. package/dist/hooks/learner/__tests__/detector.test.js.map +1 -0
  275. package/dist/hooks/learner/__tests__/index-manager-filter.test.d.ts +14 -0
  276. package/dist/hooks/learner/__tests__/index-manager-filter.test.d.ts.map +1 -0
  277. package/dist/hooks/learner/__tests__/index-manager-filter.test.js +147 -0
  278. package/dist/hooks/learner/__tests__/index-manager-filter.test.js.map +1 -0
  279. package/dist/hooks/learner/__tests__/index-manager-import.test.d.ts +2 -0
  280. package/dist/hooks/learner/__tests__/index-manager-import.test.d.ts.map +1 -0
  281. package/dist/hooks/learner/__tests__/index-manager-import.test.js +43 -0
  282. package/dist/hooks/learner/__tests__/index-manager-import.test.js.map +1 -0
  283. package/dist/hooks/learner/__tests__/index.test.d.ts +2 -0
  284. package/dist/hooks/learner/__tests__/index.test.d.ts.map +1 -0
  285. package/dist/hooks/learner/__tests__/index.test.js +48 -0
  286. package/dist/hooks/learner/__tests__/index.test.js.map +1 -0
  287. package/dist/hooks/learner/__tests__/learning-queue-parser.test.d.ts +10 -0
  288. package/dist/hooks/learner/__tests__/learning-queue-parser.test.d.ts.map +1 -0
  289. package/dist/hooks/learner/__tests__/learning-queue-parser.test.js +131 -0
  290. package/dist/hooks/learner/__tests__/learning-queue-parser.test.js.map +1 -0
  291. package/dist/hooks/learner/__tests__/matcher.test.d.ts +2 -0
  292. package/dist/hooks/learner/__tests__/matcher.test.d.ts.map +1 -0
  293. package/dist/hooks/learner/__tests__/matcher.test.js +114 -0
  294. package/dist/hooks/learner/__tests__/matcher.test.js.map +1 -0
  295. package/dist/hooks/learner/__tests__/promotion.test.d.ts +2 -0
  296. package/dist/hooks/learner/__tests__/promotion.test.d.ts.map +1 -0
  297. package/dist/hooks/learner/__tests__/promotion.test.js +146 -0
  298. package/dist/hooks/learner/__tests__/promotion.test.js.map +1 -0
  299. package/dist/hooks/learner/__tests__/queue-archiver.test.d.ts +13 -0
  300. package/dist/hooks/learner/__tests__/queue-archiver.test.d.ts.map +1 -0
  301. package/dist/hooks/learner/__tests__/queue-archiver.test.js +162 -0
  302. package/dist/hooks/learner/__tests__/queue-archiver.test.js.map +1 -0
  303. package/dist/hooks/learner/__tests__/reflection-archiver.test.d.ts +14 -0
  304. package/dist/hooks/learner/__tests__/reflection-archiver.test.d.ts.map +1 -0
  305. package/dist/hooks/learner/__tests__/reflection-archiver.test.js +159 -0
  306. package/dist/hooks/learner/__tests__/reflection-archiver.test.js.map +1 -0
  307. package/dist/hooks/learner/__tests__/reflection-parser.test.d.ts +14 -0
  308. package/dist/hooks/learner/__tests__/reflection-parser.test.d.ts.map +1 -0
  309. package/dist/hooks/learner/__tests__/reflection-parser.test.js +201 -0
  310. package/dist/hooks/learner/__tests__/reflection-parser.test.js.map +1 -0
  311. package/dist/hooks/learner/__tests__/validator.test.d.ts +2 -0
  312. package/dist/hooks/learner/__tests__/validator.test.d.ts.map +1 -0
  313. package/dist/hooks/learner/__tests__/validator.test.js +123 -0
  314. package/dist/hooks/learner/__tests__/validator.test.js.map +1 -0
  315. package/dist/hooks/learner/__tests__/writer.test.d.ts +2 -0
  316. package/dist/hooks/learner/__tests__/writer.test.d.ts.map +1 -0
  317. package/dist/hooks/learner/__tests__/writer.test.js +141 -0
  318. package/dist/hooks/learner/__tests__/writer.test.js.map +1 -0
  319. package/dist/hooks/learner/confidence.d.ts +10 -0
  320. package/dist/hooks/learner/confidence.d.ts.map +1 -1
  321. package/dist/hooks/learner/confidence.js +17 -0
  322. package/dist/hooks/learner/confidence.js.map +1 -1
  323. package/dist/hooks/learner/detection-hook.js +2 -2
  324. package/dist/hooks/learner/detection-hook.js.map +1 -1
  325. package/dist/hooks/learner/index-manager.d.ts +29 -0
  326. package/dist/hooks/learner/index-manager.d.ts.map +1 -1
  327. package/dist/hooks/learner/index-manager.js +56 -0
  328. package/dist/hooks/learner/index-manager.js.map +1 -1
  329. package/dist/hooks/learner/learning-queue.d.ts +1 -0
  330. package/dist/hooks/learner/learning-queue.d.ts.map +1 -1
  331. package/dist/hooks/learner/learning-queue.js +82 -0
  332. package/dist/hooks/learner/learning-queue.js.map +1 -1
  333. package/dist/hooks/learner/orchestrator.d.ts +12 -1
  334. package/dist/hooks/learner/orchestrator.d.ts.map +1 -1
  335. package/dist/hooks/learner/orchestrator.js +19 -2
  336. package/dist/hooks/learner/orchestrator.js.map +1 -1
  337. package/dist/hooks/learner/promotion.d.ts +10 -0
  338. package/dist/hooks/learner/promotion.d.ts.map +1 -1
  339. package/dist/hooks/learner/promotion.js +33 -0
  340. package/dist/hooks/learner/promotion.js.map +1 -1
  341. package/dist/hooks/learner/queue-archiver.d.ts +21 -0
  342. package/dist/hooks/learner/queue-archiver.d.ts.map +1 -0
  343. package/dist/hooks/learner/queue-archiver.js +147 -0
  344. package/dist/hooks/learner/queue-archiver.js.map +1 -0
  345. package/dist/hooks/learner/reflection-archiver.d.ts +19 -0
  346. package/dist/hooks/learner/reflection-archiver.d.ts.map +1 -0
  347. package/dist/hooks/learner/reflection-archiver.js +113 -0
  348. package/dist/hooks/learner/reflection-archiver.js.map +1 -0
  349. package/dist/hooks/learner/reflection-cleanup.d.ts +22 -0
  350. package/dist/hooks/learner/reflection-cleanup.d.ts.map +1 -0
  351. package/dist/hooks/learner/reflection-cleanup.js +62 -0
  352. package/dist/hooks/learner/reflection-cleanup.js.map +1 -0
  353. package/dist/hooks/learner/reflection-parser.d.ts +26 -0
  354. package/dist/hooks/learner/reflection-parser.d.ts.map +1 -0
  355. package/dist/hooks/learner/reflection-parser.js +139 -0
  356. package/dist/hooks/learner/reflection-parser.js.map +1 -0
  357. package/dist/hooks/learner/reflection.d.ts +8 -1
  358. package/dist/hooks/learner/reflection.d.ts.map +1 -1
  359. package/dist/hooks/learner/reflection.js +19 -2
  360. package/dist/hooks/learner/reflection.js.map +1 -1
  361. package/dist/hooks/learner/types.d.ts +23 -0
  362. package/dist/hooks/learner/types.d.ts.map +1 -1
  363. package/dist/hooks/nexus/config.d.ts.map +1 -1
  364. package/dist/hooks/nexus/config.js +4 -3
  365. package/dist/hooks/nexus/config.js.map +1 -1
  366. package/dist/hooks/nexus/improvement-puller.d.ts.map +1 -1
  367. package/dist/hooks/nexus/improvement-puller.js +4 -2
  368. package/dist/hooks/nexus/improvement-puller.js.map +1 -1
  369. package/dist/hooks/nexus/session-end-hook.d.ts.map +1 -1
  370. package/dist/hooks/nexus/session-end-hook.js +8 -3
  371. package/dist/hooks/nexus/session-end-hook.js.map +1 -1
  372. package/dist/hooks/observability/__tests__/observability.test.d.ts +2 -0
  373. package/dist/hooks/observability/__tests__/observability.test.d.ts.map +1 -0
  374. package/dist/hooks/observability/__tests__/observability.test.js +176 -0
  375. package/dist/hooks/observability/__tests__/observability.test.js.map +1 -0
  376. package/dist/hooks/observability/agent-tracker.d.ts +18 -0
  377. package/dist/hooks/observability/agent-tracker.d.ts.map +1 -0
  378. package/dist/hooks/observability/agent-tracker.js +26 -0
  379. package/dist/hooks/observability/agent-tracker.js.map +1 -0
  380. package/dist/hooks/observability/cost-estimator.d.ts +18 -0
  381. package/dist/hooks/observability/cost-estimator.d.ts.map +1 -0
  382. package/dist/hooks/observability/cost-estimator.js +46 -0
  383. package/dist/hooks/observability/cost-estimator.js.map +1 -0
  384. package/dist/hooks/observability/db.d.ts +5 -0
  385. package/dist/hooks/observability/db.d.ts.map +1 -0
  386. package/dist/hooks/observability/db.js +63 -0
  387. package/dist/hooks/observability/db.js.map +1 -0
  388. package/dist/hooks/observability/query-engine.d.ts +36 -0
  389. package/dist/hooks/observability/query-engine.d.ts.map +1 -0
  390. package/dist/hooks/observability/query-engine.js +78 -0
  391. package/dist/hooks/observability/query-engine.js.map +1 -0
  392. package/dist/hooks/observability/tool-tracker.d.ts +11 -0
  393. package/dist/hooks/observability/tool-tracker.d.ts.map +1 -0
  394. package/dist/hooks/observability/tool-tracker.js +24 -0
  395. package/dist/hooks/observability/tool-tracker.js.map +1 -0
  396. package/dist/hooks/observability/write-queue.d.ts +13 -0
  397. package/dist/hooks/observability/write-queue.d.ts.map +1 -0
  398. package/dist/hooks/observability/write-queue.js +48 -0
  399. package/dist/hooks/observability/write-queue.js.map +1 -0
  400. package/dist/hooks/omc-orchestrator/index.d.ts.map +1 -1
  401. package/dist/hooks/omc-orchestrator/index.js +2 -11
  402. package/dist/hooks/omc-orchestrator/index.js.map +1 -1
  403. package/dist/hooks/parallel-executor.d.ts +24 -0
  404. package/dist/hooks/parallel-executor.d.ts.map +1 -0
  405. package/dist/hooks/parallel-executor.js +82 -0
  406. package/dist/hooks/parallel-executor.js.map +1 -0
  407. package/dist/hooks/permission-handler/index.d.ts +1 -0
  408. package/dist/hooks/permission-handler/index.d.ts.map +1 -1
  409. package/dist/hooks/permission-handler/index.js +60 -5
  410. package/dist/hooks/permission-handler/index.js.map +1 -1
  411. package/dist/hooks/persistent-mode/index.d.ts +2 -21
  412. package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
  413. package/dist/hooks/persistent-mode/index.js +4 -85
  414. package/dist/hooks/persistent-mode/index.js.map +1 -1
  415. package/dist/hooks/persistent-mode/tool-error.d.ts +15 -0
  416. package/dist/hooks/persistent-mode/tool-error.d.ts.map +1 -0
  417. package/dist/hooks/persistent-mode/tool-error.js +80 -0
  418. package/dist/hooks/persistent-mode/tool-error.js.map +1 -0
  419. package/dist/hooks/pre-compact/index.d.ts.map +1 -1
  420. package/dist/hooks/pre-compact/index.js +0 -1
  421. package/dist/hooks/pre-compact/index.js.map +1 -1
  422. package/dist/hooks/project-memory/learner.d.ts +13 -1
  423. package/dist/hooks/project-memory/learner.d.ts.map +1 -1
  424. package/dist/hooks/project-memory/learner.js +24 -12
  425. package/dist/hooks/project-memory/learner.js.map +1 -1
  426. package/dist/hooks/race-detector.d.ts +51 -0
  427. package/dist/hooks/race-detector.d.ts.map +1 -0
  428. package/dist/hooks/race-detector.js +121 -0
  429. package/dist/hooks/race-detector.js.map +1 -0
  430. package/dist/hooks/ralph/__tests__/loop.test.d.ts +2 -0
  431. package/dist/hooks/ralph/__tests__/loop.test.d.ts.map +1 -0
  432. package/dist/hooks/ralph/__tests__/loop.test.js +268 -0
  433. package/dist/hooks/ralph/__tests__/loop.test.js.map +1 -0
  434. package/dist/hooks/ralph/__tests__/prd.test.d.ts +2 -0
  435. package/dist/hooks/ralph/__tests__/prd.test.d.ts.map +1 -0
  436. package/dist/hooks/ralph/__tests__/prd.test.js +197 -0
  437. package/dist/hooks/ralph/__tests__/prd.test.js.map +1 -0
  438. package/dist/hooks/ralph/__tests__/progress.test.d.ts +2 -0
  439. package/dist/hooks/ralph/__tests__/progress.test.d.ts.map +1 -0
  440. package/dist/hooks/ralph/__tests__/progress.test.js +120 -0
  441. package/dist/hooks/ralph/__tests__/progress.test.js.map +1 -0
  442. package/dist/hooks/ralph/__tests__/verifier.test.d.ts +2 -0
  443. package/dist/hooks/ralph/__tests__/verifier.test.d.ts.map +1 -0
  444. package/dist/hooks/ralph/__tests__/verifier.test.js +75 -0
  445. package/dist/hooks/ralph/__tests__/verifier.test.js.map +1 -0
  446. package/dist/hooks/recovery/__tests__/context-window.test.d.ts +2 -0
  447. package/dist/hooks/recovery/__tests__/context-window.test.d.ts.map +1 -0
  448. package/dist/hooks/recovery/__tests__/context-window.test.js +131 -0
  449. package/dist/hooks/recovery/__tests__/context-window.test.js.map +1 -0
  450. package/dist/hooks/recovery/__tests__/edit-error.test.d.ts +2 -0
  451. package/dist/hooks/recovery/__tests__/edit-error.test.d.ts.map +1 -0
  452. package/dist/hooks/recovery/__tests__/edit-error.test.js +88 -0
  453. package/dist/hooks/recovery/__tests__/edit-error.test.js.map +1 -0
  454. package/dist/hooks/recovery/__tests__/index.test.d.ts +2 -0
  455. package/dist/hooks/recovery/__tests__/index.test.d.ts.map +1 -0
  456. package/dist/hooks/recovery/__tests__/index.test.js +270 -0
  457. package/dist/hooks/recovery/__tests__/index.test.js.map +1 -0
  458. package/dist/hooks/recovery/__tests__/session-recovery.test.d.ts +2 -0
  459. package/dist/hooks/recovery/__tests__/session-recovery.test.d.ts.map +1 -0
  460. package/dist/hooks/recovery/__tests__/session-recovery.test.js +129 -0
  461. package/dist/hooks/recovery/__tests__/session-recovery.test.js.map +1 -0
  462. package/dist/hooks/recovery/__tests__/storage.test.d.ts +2 -0
  463. package/dist/hooks/recovery/__tests__/storage.test.d.ts.map +1 -0
  464. package/dist/hooks/recovery/__tests__/storage.test.js +549 -0
  465. package/dist/hooks/recovery/__tests__/storage.test.js.map +1 -0
  466. package/dist/hooks/recovery/session-recovery.js +1 -1
  467. package/dist/hooks/recovery/session-recovery.js.map +1 -1
  468. package/dist/hooks/recovery/storage.js +5 -4
  469. package/dist/hooks/recovery/storage.js.map +1 -1
  470. package/dist/hooks/rules-injector/__tests__/finder.test.d.ts +2 -0
  471. package/dist/hooks/rules-injector/__tests__/finder.test.d.ts.map +1 -0
  472. package/dist/hooks/rules-injector/__tests__/finder.test.js +68 -0
  473. package/dist/hooks/rules-injector/__tests__/finder.test.js.map +1 -0
  474. package/dist/hooks/rules-injector/__tests__/index.test.d.ts +2 -0
  475. package/dist/hooks/rules-injector/__tests__/index.test.d.ts.map +1 -0
  476. package/dist/hooks/rules-injector/__tests__/index.test.js +58 -0
  477. package/dist/hooks/rules-injector/__tests__/index.test.js.map +1 -0
  478. package/dist/hooks/rules-injector/__tests__/matcher.test.d.ts +2 -0
  479. package/dist/hooks/rules-injector/__tests__/matcher.test.d.ts.map +1 -0
  480. package/dist/hooks/rules-injector/__tests__/matcher.test.js +86 -0
  481. package/dist/hooks/rules-injector/__tests__/matcher.test.js.map +1 -0
  482. package/dist/hooks/rules-injector/__tests__/parser.test.d.ts +2 -0
  483. package/dist/hooks/rules-injector/__tests__/parser.test.d.ts.map +1 -0
  484. package/dist/hooks/rules-injector/__tests__/parser.test.js +86 -0
  485. package/dist/hooks/rules-injector/__tests__/parser.test.js.map +1 -0
  486. package/dist/hooks/rules-injector/constants.d.ts +2 -0
  487. package/dist/hooks/rules-injector/constants.d.ts.map +1 -1
  488. package/dist/hooks/rules-injector/constants.js +2 -0
  489. package/dist/hooks/rules-injector/constants.js.map +1 -1
  490. package/dist/hooks/rules-injector/finder.d.ts.map +1 -1
  491. package/dist/hooks/rules-injector/finder.js +12 -4
  492. package/dist/hooks/rules-injector/finder.js.map +1 -1
  493. package/dist/hooks/rules-injector/matcher.d.ts.map +1 -1
  494. package/dist/hooks/rules-injector/matcher.js +15 -8
  495. package/dist/hooks/rules-injector/matcher.js.map +1 -1
  496. package/dist/hooks/session-end/__tests__/index.test.d.ts +2 -0
  497. package/dist/hooks/session-end/__tests__/index.test.d.ts.map +1 -0
  498. package/dist/hooks/session-end/__tests__/index.test.js +77 -0
  499. package/dist/hooks/session-end/__tests__/index.test.js.map +1 -0
  500. package/dist/hooks/session-end/callbacks.d.ts +1 -1
  501. package/dist/hooks/session-end/index.d.ts +2 -21
  502. package/dist/hooks/session-end/index.d.ts.map +1 -1
  503. package/dist/hooks/session-end/index.js.map +1 -1
  504. package/dist/hooks/session-end/types.d.ts +26 -0
  505. package/dist/hooks/session-end/types.d.ts.map +1 -0
  506. package/dist/hooks/session-end/types.js +6 -0
  507. package/dist/hooks/session-end/types.js.map +1 -0
  508. package/dist/hooks/setup/__tests__/index.test.d.ts +2 -0
  509. package/dist/hooks/setup/__tests__/index.test.d.ts.map +1 -0
  510. package/dist/hooks/setup/__tests__/index.test.js +68 -0
  511. package/dist/hooks/setup/__tests__/index.test.js.map +1 -0
  512. package/dist/hooks/skill-bridge.cjs +5 -1
  513. package/dist/hooks/team-pipeline/__tests__/state.test.d.ts +2 -0
  514. package/dist/hooks/team-pipeline/__tests__/state.test.d.ts.map +1 -0
  515. package/dist/hooks/team-pipeline/__tests__/state.test.js +94 -0
  516. package/dist/hooks/team-pipeline/__tests__/state.test.js.map +1 -0
  517. package/dist/hooks/timeout-wrapper.d.ts +32 -0
  518. package/dist/hooks/timeout-wrapper.d.ts.map +1 -0
  519. package/dist/hooks/timeout-wrapper.js +62 -0
  520. package/dist/hooks/timeout-wrapper.js.map +1 -0
  521. package/dist/hooks/todo-continuation/index.d.ts.map +1 -1
  522. package/dist/hooks/todo-continuation/index.js +11 -5
  523. package/dist/hooks/todo-continuation/index.js.map +1 -1
  524. package/dist/hooks/ultrapilot/decomposer.d.ts.map +1 -1
  525. package/dist/hooks/ultrapilot/decomposer.js +5 -6
  526. package/dist/hooks/ultrapilot/decomposer.js.map +1 -1
  527. package/dist/hooks/ultrapilot/state.d.ts.map +1 -1
  528. package/dist/hooks/ultrapilot/state.js +13 -4
  529. package/dist/hooks/ultrapilot/state.js.map +1 -1
  530. package/dist/hooks/ultraqa/index.d.ts.map +1 -1
  531. package/dist/hooks/ultraqa/index.js +11 -2
  532. package/dist/hooks/ultraqa/index.js.map +1 -1
  533. package/dist/hooks/ultrawork/index.d.ts.map +1 -1
  534. package/dist/hooks/ultrawork/index.js +20 -6
  535. package/dist/hooks/ultrawork/index.js.map +1 -1
  536. package/dist/hud/elements/autopilot.d.ts +1 -1
  537. package/dist/hud/elements/autopilot.d.ts.map +1 -1
  538. package/dist/hud/elements/git.d.ts +0 -5
  539. package/dist/hud/elements/git.d.ts.map +1 -1
  540. package/dist/hud/elements/git.js +3 -37
  541. package/dist/hud/elements/git.js.map +1 -1
  542. package/dist/hud/sanitize.d.ts.map +1 -1
  543. package/dist/hud/sanitize.js +16 -17
  544. package/dist/hud/sanitize.js.map +1 -1
  545. package/dist/hud/state.d.ts.map +1 -1
  546. package/dist/hud/state.js +69 -1
  547. package/dist/hud/state.js.map +1 -1
  548. package/dist/hud/types.d.ts +2 -15
  549. package/dist/hud/types.d.ts.map +1 -1
  550. package/dist/hud/types.js.map +1 -1
  551. package/dist/installer/__tests__/hooks.test.d.ts +6 -0
  552. package/dist/installer/__tests__/hooks.test.d.ts.map +1 -0
  553. package/dist/installer/__tests__/hooks.test.js +121 -0
  554. package/dist/installer/__tests__/hooks.test.js.map +1 -0
  555. package/dist/installer/index.d.ts.map +1 -1
  556. package/dist/installer/index.js +11 -10
  557. package/dist/installer/index.js.map +1 -1
  558. package/dist/lib/__tests__/atomic-write.test.js +3 -4
  559. package/dist/lib/__tests__/atomic-write.test.js.map +1 -1
  560. package/dist/lib/__tests__/file-lock.test.d.ts +13 -0
  561. package/dist/lib/__tests__/file-lock.test.d.ts.map +1 -0
  562. package/dist/lib/__tests__/file-lock.test.js +122 -0
  563. package/dist/lib/__tests__/file-lock.test.js.map +1 -0
  564. package/dist/lib/__tests__/plugin-deps.test.d.ts +2 -0
  565. package/dist/lib/__tests__/plugin-deps.test.d.ts.map +1 -0
  566. package/dist/lib/__tests__/plugin-deps.test.js +58 -0
  567. package/dist/lib/__tests__/plugin-deps.test.js.map +1 -0
  568. package/dist/lib/__tests__/plugin-marketplace.test.d.ts +2 -0
  569. package/dist/lib/__tests__/plugin-marketplace.test.d.ts.map +1 -0
  570. package/dist/lib/__tests__/plugin-marketplace.test.js +52 -0
  571. package/dist/lib/__tests__/plugin-marketplace.test.js.map +1 -0
  572. package/dist/lib/__tests__/plugin-rollback.test.d.ts +2 -0
  573. package/dist/lib/__tests__/plugin-rollback.test.d.ts.map +1 -0
  574. package/dist/lib/__tests__/plugin-rollback.test.js +60 -0
  575. package/dist/lib/__tests__/plugin-rollback.test.js.map +1 -0
  576. package/dist/lib/__tests__/plugin-security.test.d.ts +2 -0
  577. package/dist/lib/__tests__/plugin-security.test.d.ts.map +1 -0
  578. package/dist/lib/__tests__/plugin-security.test.js +70 -0
  579. package/dist/lib/__tests__/plugin-security.test.js.map +1 -0
  580. package/dist/lib/__tests__/validateMode.test.d.ts +2 -0
  581. package/dist/lib/__tests__/validateMode.test.d.ts.map +1 -0
  582. package/dist/lib/__tests__/validateMode.test.js +61 -0
  583. package/dist/lib/__tests__/validateMode.test.js.map +1 -0
  584. package/dist/lib/__tests__/version.test.d.ts +6 -0
  585. package/dist/lib/__tests__/version.test.d.ts.map +1 -0
  586. package/dist/lib/__tests__/version.test.js +37 -0
  587. package/dist/lib/__tests__/version.test.js.map +1 -0
  588. package/dist/lib/atomic-write.d.ts.map +1 -1
  589. package/dist/lib/atomic-write.js +6 -8
  590. package/dist/lib/atomic-write.js.map +1 -1
  591. package/dist/lib/constants.d.ts +59 -0
  592. package/dist/lib/constants.d.ts.map +1 -0
  593. package/dist/lib/constants.js +69 -0
  594. package/dist/lib/constants.js.map +1 -0
  595. package/dist/lib/env-validator.d.ts +28 -0
  596. package/dist/lib/env-validator.d.ts.map +1 -0
  597. package/dist/lib/env-validator.js +105 -0
  598. package/dist/lib/env-validator.js.map +1 -0
  599. package/dist/lib/file-cache.d.ts +16 -0
  600. package/dist/lib/file-cache.d.ts.map +1 -0
  601. package/dist/lib/file-cache.js +33 -0
  602. package/dist/lib/file-cache.js.map +1 -0
  603. package/dist/lib/file-lock.d.ts +18 -0
  604. package/dist/lib/file-lock.d.ts.map +1 -0
  605. package/dist/lib/file-lock.js +59 -0
  606. package/dist/lib/file-lock.js.map +1 -0
  607. package/dist/lib/git-utils.d.ts +55 -0
  608. package/dist/lib/git-utils.d.ts.map +1 -0
  609. package/dist/lib/git-utils.js +140 -0
  610. package/dist/lib/git-utils.js.map +1 -0
  611. package/dist/lib/memory-utils.d.ts +7 -0
  612. package/dist/lib/memory-utils.d.ts.map +1 -0
  613. package/dist/lib/memory-utils.js +21 -0
  614. package/dist/lib/memory-utils.js.map +1 -0
  615. package/dist/lib/path-validator.d.ts +25 -0
  616. package/dist/lib/path-validator.d.ts.map +1 -0
  617. package/dist/lib/path-validator.js +88 -0
  618. package/dist/lib/path-validator.js.map +1 -0
  619. package/dist/lib/plugin-deps.d.ts +26 -0
  620. package/dist/lib/plugin-deps.d.ts.map +1 -0
  621. package/dist/lib/plugin-deps.js +59 -0
  622. package/dist/lib/plugin-deps.js.map +1 -0
  623. package/dist/lib/plugin-marketplace.d.ts +12 -0
  624. package/dist/lib/plugin-marketplace.d.ts.map +1 -0
  625. package/dist/lib/plugin-marketplace.js +35 -0
  626. package/dist/lib/plugin-marketplace.js.map +1 -0
  627. package/dist/lib/plugin-rollback.d.ts +22 -0
  628. package/dist/lib/plugin-rollback.d.ts.map +1 -0
  629. package/dist/lib/plugin-rollback.js +66 -0
  630. package/dist/lib/plugin-rollback.js.map +1 -0
  631. package/dist/lib/plugin-security.d.ts +19 -0
  632. package/dist/lib/plugin-security.d.ts.map +1 -0
  633. package/dist/lib/plugin-security.js +87 -0
  634. package/dist/lib/plugin-security.js.map +1 -0
  635. package/dist/lib/safe-json.d.ts +16 -0
  636. package/dist/lib/safe-json.d.ts.map +1 -0
  637. package/dist/lib/safe-json.js +22 -0
  638. package/dist/lib/safe-json.js.map +1 -0
  639. package/dist/lib/validateMode.d.ts +3 -0
  640. package/dist/lib/validateMode.d.ts.map +1 -1
  641. package/dist/lib/validateMode.js +28 -2
  642. package/dist/lib/validateMode.js.map +1 -1
  643. package/dist/lib/worktree-paths.d.ts.map +1 -1
  644. package/dist/lib/worktree-paths.js +4 -24
  645. package/dist/lib/worktree-paths.js.map +1 -1
  646. package/dist/mcp/__tests__/cli-detection.test.d.ts +2 -0
  647. package/dist/mcp/__tests__/cli-detection.test.d.ts.map +1 -0
  648. package/dist/mcp/__tests__/cli-detection.test.js +50 -0
  649. package/dist/mcp/__tests__/cli-detection.test.js.map +1 -0
  650. package/dist/mcp/__tests__/codex-core.test.d.ts +2 -0
  651. package/dist/mcp/__tests__/codex-core.test.d.ts.map +1 -0
  652. package/dist/mcp/__tests__/codex-core.test.js +143 -0
  653. package/dist/mcp/__tests__/codex-core.test.js.map +1 -0
  654. package/dist/mcp/__tests__/codex-integration.test.d.ts +2 -0
  655. package/dist/mcp/__tests__/codex-integration.test.d.ts.map +1 -0
  656. package/dist/mcp/__tests__/codex-integration.test.js +59 -0
  657. package/dist/mcp/__tests__/codex-integration.test.js.map +1 -0
  658. package/dist/mcp/__tests__/gemini-core.test.d.ts +2 -0
  659. package/dist/mcp/__tests__/gemini-core.test.d.ts.map +1 -0
  660. package/dist/mcp/__tests__/gemini-core.test.js +53 -0
  661. package/dist/mcp/__tests__/gemini-core.test.js.map +1 -0
  662. package/dist/mcp/__tests__/gemini-integration.test.d.ts +2 -0
  663. package/dist/mcp/__tests__/gemini-integration.test.d.ts.map +1 -0
  664. package/dist/mcp/__tests__/gemini-integration.test.js +50 -0
  665. package/dist/mcp/__tests__/gemini-integration.test.js.map +1 -0
  666. package/dist/mcp/__tests__/job-state-db-deprecation.test.js +48 -1
  667. package/dist/mcp/__tests__/job-state-db-deprecation.test.js.map +1 -1
  668. package/dist/mcp/__tests__/omc-tools-server.test.d.ts +2 -0
  669. package/dist/mcp/__tests__/omc-tools-server.test.d.ts.map +1 -0
  670. package/dist/mcp/__tests__/omc-tools-server.test.js +108 -0
  671. package/dist/mcp/__tests__/omc-tools-server.test.js.map +1 -0
  672. package/dist/mcp/__tests__/prompt-injection.test.d.ts +2 -0
  673. package/dist/mcp/__tests__/prompt-injection.test.d.ts.map +1 -0
  674. package/dist/mcp/__tests__/prompt-injection.test.js +86 -0
  675. package/dist/mcp/__tests__/prompt-injection.test.js.map +1 -0
  676. package/dist/mcp/adapters/ast-adapter.d.ts +90 -0
  677. package/dist/mcp/adapters/ast-adapter.d.ts.map +1 -0
  678. package/dist/mcp/adapters/ast-adapter.js +36 -0
  679. package/dist/mcp/adapters/ast-adapter.js.map +1 -0
  680. package/dist/mcp/adapters/lsp-adapter.d.ts +6 -0
  681. package/dist/mcp/adapters/lsp-adapter.d.ts.map +1 -0
  682. package/dist/mcp/adapters/lsp-adapter.js +6 -0
  683. package/dist/mcp/adapters/lsp-adapter.js.map +1 -0
  684. package/dist/mcp/adapters/memory-adapter.d.ts +156 -0
  685. package/dist/mcp/adapters/memory-adapter.d.ts.map +1 -0
  686. package/dist/mcp/adapters/memory-adapter.js +59 -0
  687. package/dist/mcp/adapters/memory-adapter.js.map +1 -0
  688. package/dist/mcp/adapters/notepad-adapter.d.ts +115 -0
  689. package/dist/mcp/adapters/notepad-adapter.d.ts.map +1 -0
  690. package/dist/mcp/adapters/notepad-adapter.js +78 -0
  691. package/dist/mcp/adapters/notepad-adapter.js.map +1 -0
  692. package/dist/mcp/adapters/python-adapter.d.ts +46 -0
  693. package/dist/mcp/adapters/python-adapter.d.ts.map +1 -0
  694. package/dist/mcp/adapters/python-adapter.js +44 -0
  695. package/dist/mcp/adapters/python-adapter.js.map +1 -0
  696. package/dist/mcp/adapters/skills-adapter.d.ts +37 -0
  697. package/dist/mcp/adapters/skills-adapter.d.ts.map +1 -0
  698. package/dist/mcp/adapters/skills-adapter.js +35 -0
  699. package/dist/mcp/adapters/skills-adapter.js.map +1 -0
  700. package/dist/mcp/adapters/state-adapter.d.ts +209 -0
  701. package/dist/mcp/adapters/state-adapter.d.ts.map +1 -0
  702. package/dist/mcp/adapters/state-adapter.js +82 -0
  703. package/dist/mcp/adapters/state-adapter.js.map +1 -0
  704. package/dist/mcp/adapters/trace-adapter.d.ts +67 -0
  705. package/dist/mcp/adapters/trace-adapter.d.ts.map +1 -0
  706. package/dist/mcp/adapters/trace-adapter.js +30 -0
  707. package/dist/mcp/adapters/trace-adapter.js.map +1 -0
  708. package/dist/mcp/client/MCPClient.d.ts +22 -0
  709. package/dist/mcp/client/MCPClient.d.ts.map +1 -0
  710. package/dist/mcp/client/MCPClient.js +93 -0
  711. package/dist/mcp/client/MCPClient.js.map +1 -0
  712. package/dist/mcp/client.d.ts +19 -0
  713. package/dist/mcp/client.d.ts.map +1 -0
  714. package/dist/mcp/client.js +34 -0
  715. package/dist/mcp/client.js.map +1 -0
  716. package/dist/mcp/codex-core.d.ts.map +1 -1
  717. package/dist/mcp/codex-core.js +9 -4
  718. package/dist/mcp/codex-core.js.map +1 -1
  719. package/dist/mcp/config/config-loader.d.ts +6 -0
  720. package/dist/mcp/config/config-loader.d.ts.map +1 -0
  721. package/dist/mcp/config/config-loader.js +16 -0
  722. package/dist/mcp/config/config-loader.js.map +1 -0
  723. package/dist/mcp/config/env-replacer.d.ts +10 -0
  724. package/dist/mcp/config/env-replacer.d.ts.map +1 -0
  725. package/dist/mcp/config/env-replacer.js +39 -0
  726. package/dist/mcp/config/env-replacer.js.map +1 -0
  727. package/dist/mcp/config/loader.d.ts +6 -0
  728. package/dist/mcp/config/loader.d.ts.map +1 -0
  729. package/dist/mcp/config/loader.js +51 -0
  730. package/dist/mcp/config/loader.js.map +1 -0
  731. package/dist/mcp/config/schema.d.ts +63 -0
  732. package/dist/mcp/config/schema.d.ts.map +1 -0
  733. package/dist/mcp/config/schema.js +15 -0
  734. package/dist/mcp/config/schema.js.map +1 -0
  735. package/dist/mcp/config-loader.d.ts +6 -0
  736. package/dist/mcp/config-loader.d.ts.map +1 -0
  737. package/dist/mcp/config-loader.js +66 -0
  738. package/dist/mcp/config-loader.js.map +1 -0
  739. package/dist/mcp/config-schema.d.ts +64 -0
  740. package/dist/mcp/config-schema.d.ts.map +1 -0
  741. package/dist/mcp/config-schema.js +18 -0
  742. package/dist/mcp/config-schema.js.map +1 -0
  743. package/dist/mcp/gemini-core.d.ts.map +1 -1
  744. package/dist/mcp/gemini-core.js +16 -1
  745. package/dist/mcp/gemini-core.js.map +1 -1
  746. package/dist/mcp/job-management.d.ts.map +1 -1
  747. package/dist/mcp/job-management.js +201 -7
  748. package/dist/mcp/job-management.js.map +1 -1
  749. package/dist/mcp/job-state-db.d.ts +1 -1
  750. package/dist/mcp/job-state-db.d.ts.map +1 -1
  751. package/dist/mcp/job-state-db.js +22 -5
  752. package/dist/mcp/job-state-db.js.map +1 -1
  753. package/dist/mcp/logger.d.ts +7 -0
  754. package/dist/mcp/logger.d.ts.map +1 -0
  755. package/dist/mcp/logger.js +19 -0
  756. package/dist/mcp/logger.js.map +1 -0
  757. package/dist/mcp/namespace-manager.d.ts +25 -0
  758. package/dist/mcp/namespace-manager.d.ts.map +1 -0
  759. package/dist/mcp/namespace-manager.js +26 -0
  760. package/dist/mcp/namespace-manager.js.map +1 -0
  761. package/dist/mcp/namespace.d.ts +26 -0
  762. package/dist/mcp/namespace.d.ts.map +1 -0
  763. package/dist/mcp/namespace.js +56 -0
  764. package/dist/mcp/namespace.js.map +1 -0
  765. package/dist/mcp/prompt-persistence.d.ts +3 -18
  766. package/dist/mcp/prompt-persistence.d.ts.map +1 -1
  767. package/dist/mcp/prompt-persistence.js +3 -3
  768. package/dist/mcp/prompt-persistence.js.map +1 -1
  769. package/dist/mcp/retry-client.d.ts +22 -0
  770. package/dist/mcp/retry-client.d.ts.map +1 -0
  771. package/dist/mcp/retry-client.js +59 -0
  772. package/dist/mcp/retry-client.js.map +1 -0
  773. package/dist/mcp/standalone-server.js +5 -41
  774. package/dist/mcp/standalone-server.js.map +1 -1
  775. package/dist/mcp/timeout.d.ts +8 -0
  776. package/dist/mcp/timeout.d.ts.map +1 -0
  777. package/dist/mcp/timeout.js +14 -0
  778. package/dist/mcp/timeout.js.map +1 -0
  779. package/dist/mcp/tool-handler.d.ts +14 -0
  780. package/dist/mcp/tool-handler.d.ts.map +1 -0
  781. package/dist/mcp/tool-handler.js +32 -0
  782. package/dist/mcp/tool-handler.js.map +1 -0
  783. package/dist/mcp/tool-resolver.d.ts +13 -0
  784. package/dist/mcp/tool-resolver.d.ts.map +1 -0
  785. package/dist/mcp/tool-resolver.js +30 -0
  786. package/dist/mcp/tool-resolver.js.map +1 -0
  787. package/dist/monitoring/dashboard.d.ts +13 -0
  788. package/dist/monitoring/dashboard.d.ts.map +1 -0
  789. package/dist/monitoring/dashboard.js +93 -0
  790. package/dist/monitoring/dashboard.js.map +1 -0
  791. package/dist/monitoring/index.d.ts +3 -0
  792. package/dist/monitoring/index.d.ts.map +1 -0
  793. package/dist/monitoring/index.js +3 -0
  794. package/dist/monitoring/index.js.map +1 -0
  795. package/dist/monitoring/metrics-collector.d.ts +18 -0
  796. package/dist/monitoring/metrics-collector.d.ts.map +1 -0
  797. package/dist/monitoring/metrics-collector.js +68 -0
  798. package/dist/monitoring/metrics-collector.js.map +1 -0
  799. package/dist/monitoring/test-perf.d.ts +2 -0
  800. package/dist/monitoring/test-perf.d.ts.map +1 -0
  801. package/dist/monitoring/test-perf.js +39 -0
  802. package/dist/monitoring/test-perf.js.map +1 -0
  803. package/dist/notifications/reply-listener.d.ts +25 -0
  804. package/dist/notifications/reply-listener.d.ts.map +1 -1
  805. package/dist/notifications/reply-listener.js +5 -5
  806. package/dist/notifications/reply-listener.js.map +1 -1
  807. package/dist/platform/process-utils.d.ts.map +1 -1
  808. package/dist/platform/process-utils.js +2 -3
  809. package/dist/platform/process-utils.js.map +1 -1
  810. package/dist/team/__tests__/deadlock-detector.test.d.ts +2 -0
  811. package/dist/team/__tests__/deadlock-detector.test.d.ts.map +1 -0
  812. package/dist/team/__tests__/deadlock-detector.test.js +50 -0
  813. package/dist/team/__tests__/deadlock-detector.test.js.map +1 -0
  814. package/dist/team/__tests__/dependency-graph.test.d.ts +2 -0
  815. package/dist/team/__tests__/dependency-graph.test.d.ts.map +1 -0
  816. package/dist/team/__tests__/dependency-graph.test.js +29 -0
  817. package/dist/team/__tests__/dependency-graph.test.js.map +1 -0
  818. package/dist/team/bridge-entry.d.ts +23 -0
  819. package/dist/team/bridge-entry.d.ts.map +1 -1
  820. package/dist/team/bridge-entry.js +83 -52
  821. package/dist/team/bridge-entry.js.map +1 -1
  822. package/dist/team/capabilities.d.ts +1 -2
  823. package/dist/team/capabilities.d.ts.map +1 -1
  824. package/dist/team/capabilities.js.map +1 -1
  825. package/dist/team/deadlock-detector.d.ts +16 -0
  826. package/dist/team/deadlock-detector.d.ts.map +1 -0
  827. package/dist/team/deadlock-detector.js +52 -0
  828. package/dist/team/deadlock-detector.js.map +1 -0
  829. package/dist/team/dependency-graph.d.ts +23 -0
  830. package/dist/team/dependency-graph.d.ts.map +1 -0
  831. package/dist/team/dependency-graph.js +35 -0
  832. package/dist/team/dependency-graph.js.map +1 -0
  833. package/dist/team/inbox-outbox.js +1 -1
  834. package/dist/team/inbox-outbox.js.map +1 -1
  835. package/dist/team/index.d.ts +3 -0
  836. package/dist/team/index.d.ts.map +1 -1
  837. package/dist/team/index.js +2 -0
  838. package/dist/team/index.js.map +1 -1
  839. package/dist/team/mcp-team-bridge.d.ts.map +1 -1
  840. package/dist/team/mcp-team-bridge.js +35 -23
  841. package/dist/team/mcp-team-bridge.js.map +1 -1
  842. package/dist/team/types.d.ts +15 -4
  843. package/dist/team/types.d.ts.map +1 -1
  844. package/dist/team/types.js +0 -1
  845. package/dist/team/types.js.map +1 -1
  846. package/dist/team/unified-team.d.ts +2 -11
  847. package/dist/team/unified-team.d.ts.map +1 -1
  848. package/dist/team/unified-team.js.map +1 -1
  849. package/dist/team/worker-health.d.ts +2 -2
  850. package/dist/team/worker-health.d.ts.map +1 -1
  851. package/dist/team/worker-health.js +74 -6
  852. package/dist/team/worker-health.js.map +1 -1
  853. package/dist/team/worker-restart.d.ts +4 -4
  854. package/dist/team/worker-restart.d.ts.map +1 -1
  855. package/dist/team/worker-restart.js +64 -9
  856. package/dist/team/worker-restart.js.map +1 -1
  857. package/dist/tools/__tests__/ast-tools.test.d.ts +2 -0
  858. package/dist/tools/__tests__/ast-tools.test.d.ts.map +1 -0
  859. package/dist/tools/__tests__/ast-tools.test.js +178 -0
  860. package/dist/tools/__tests__/ast-tools.test.js.map +1 -0
  861. package/dist/tools/__tests__/lsp-tools.test.d.ts +2 -0
  862. package/dist/tools/__tests__/lsp-tools.test.d.ts.map +1 -0
  863. package/dist/tools/__tests__/lsp-tools.test.js +252 -0
  864. package/dist/tools/__tests__/lsp-tools.test.js.map +1 -0
  865. package/dist/tools/ast-tools.d.ts.map +1 -1
  866. package/dist/tools/ast-tools.js +84 -5
  867. package/dist/tools/ast-tools.js.map +1 -1
  868. package/dist/tools/dependency-analyzer.d.ts +34 -0
  869. package/dist/tools/dependency-analyzer.d.ts.map +1 -0
  870. package/dist/tools/dependency-analyzer.js +57 -0
  871. package/dist/tools/dependency-analyzer.js.map +1 -0
  872. package/dist/tools/diagnostics/__tests__/index.test.d.ts +2 -0
  873. package/dist/tools/diagnostics/__tests__/index.test.d.ts.map +1 -0
  874. package/dist/tools/diagnostics/__tests__/index.test.js +111 -0
  875. package/dist/tools/diagnostics/__tests__/index.test.js.map +1 -0
  876. package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.d.ts +2 -0
  877. package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.d.ts.map +1 -0
  878. package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.js +120 -0
  879. package/dist/tools/diagnostics/__tests__/lsp-aggregator.test.js.map +1 -0
  880. package/dist/tools/diagnostics/__tests__/tsc-runner.test.d.ts +2 -0
  881. package/dist/tools/diagnostics/__tests__/tsc-runner.test.d.ts.map +1 -0
  882. package/dist/tools/diagnostics/__tests__/tsc-runner.test.js +86 -0
  883. package/dist/tools/diagnostics/__tests__/tsc-runner.test.js.map +1 -0
  884. package/dist/tools/diagnostics/constants.d.ts +5 -0
  885. package/dist/tools/diagnostics/constants.d.ts.map +1 -0
  886. package/dist/tools/diagnostics/constants.js +5 -0
  887. package/dist/tools/diagnostics/constants.js.map +1 -0
  888. package/dist/tools/diagnostics/index.d.ts +2 -1
  889. package/dist/tools/diagnostics/index.d.ts.map +1 -1
  890. package/dist/tools/diagnostics/index.js +2 -1
  891. package/dist/tools/diagnostics/index.js.map +1 -1
  892. package/dist/tools/diagnostics/lsp-aggregator.js +1 -1
  893. package/dist/tools/diagnostics/lsp-aggregator.js.map +1 -1
  894. package/dist/tools/doc-sync.d.ts +38 -0
  895. package/dist/tools/doc-sync.d.ts.map +1 -0
  896. package/dist/tools/doc-sync.js +67 -0
  897. package/dist/tools/doc-sync.js.map +1 -0
  898. package/dist/tools/index.d.ts +11 -1
  899. package/dist/tools/index.d.ts.map +1 -1
  900. package/dist/tools/index.js +41 -3
  901. package/dist/tools/index.js.map +1 -1
  902. package/dist/tools/lsp/__tests__/utils.test.d.ts +2 -0
  903. package/dist/tools/lsp/__tests__/utils.test.d.ts.map +1 -0
  904. package/dist/tools/lsp/__tests__/utils.test.js +338 -0
  905. package/dist/tools/lsp/__tests__/utils.test.js.map +1 -0
  906. package/dist/tools/lsp/client.d.ts +10 -0
  907. package/dist/tools/lsp/client.d.ts.map +1 -1
  908. package/dist/tools/lsp/client.js +55 -0
  909. package/dist/tools/lsp/client.js.map +1 -1
  910. package/dist/tools/lsp/memory-optimizer.d.ts +19 -0
  911. package/dist/tools/lsp/memory-optimizer.d.ts.map +1 -0
  912. package/dist/tools/lsp/memory-optimizer.js +48 -0
  913. package/dist/tools/lsp/memory-optimizer.js.map +1 -0
  914. package/dist/tools/lsp/utils.d.ts.map +1 -1
  915. package/dist/tools/lsp/utils.js +2 -2
  916. package/dist/tools/lsp/utils.js.map +1 -1
  917. package/dist/tools/memory-tools.js +4 -4
  918. package/dist/tools/memory-tools.js.map +1 -1
  919. package/dist/tools/notepad-tools.d.ts.map +1 -1
  920. package/dist/tools/notepad-tools.js +6 -0
  921. package/dist/tools/notepad-tools.js.map +1 -1
  922. package/dist/tools/parallel-opportunity-detector.d.ts +54 -0
  923. package/dist/tools/parallel-opportunity-detector.d.ts.map +1 -0
  924. package/dist/tools/parallel-opportunity-detector.js +66 -0
  925. package/dist/tools/parallel-opportunity-detector.js.map +1 -0
  926. package/dist/tools/python-repl/__tests__/bridge-manager.test.d.ts +2 -0
  927. package/dist/tools/python-repl/__tests__/bridge-manager.test.d.ts.map +1 -0
  928. package/dist/tools/python-repl/__tests__/bridge-manager.test.js +338 -0
  929. package/dist/tools/python-repl/__tests__/bridge-manager.test.js.map +1 -0
  930. package/dist/tools/python-repl/__tests__/socket-client.test.d.ts +2 -0
  931. package/dist/tools/python-repl/__tests__/socket-client.test.d.ts.map +1 -0
  932. package/dist/tools/python-repl/__tests__/socket-client.test.js +155 -0
  933. package/dist/tools/python-repl/__tests__/socket-client.test.js.map +1 -0
  934. package/dist/tools/python-repl/bridge-manager.d.ts +4 -0
  935. package/dist/tools/python-repl/bridge-manager.d.ts.map +1 -1
  936. package/dist/tools/python-repl/bridge-manager.js +8 -5
  937. package/dist/tools/python-repl/bridge-manager.js.map +1 -1
  938. package/dist/tools/skills-tools.d.ts.map +1 -1
  939. package/dist/tools/skills-tools.js +5 -3
  940. package/dist/tools/skills-tools.js.map +1 -1
  941. package/dist/tools/state-tools.d.ts +6 -0
  942. package/dist/tools/state-tools.d.ts.map +1 -1
  943. package/dist/tools/state-tools.js +108 -87
  944. package/dist/tools/state-tools.js.map +1 -1
  945. package/dist/tools/tool-prefix-migration.d.ts +18 -0
  946. package/dist/tools/tool-prefix-migration.d.ts.map +1 -0
  947. package/dist/tools/tool-prefix-migration.js +80 -0
  948. package/dist/tools/tool-prefix-migration.js.map +1 -0
  949. package/dist/workers/adapter.d.ts +16 -0
  950. package/dist/workers/adapter.d.ts.map +1 -0
  951. package/dist/workers/adapter.js +5 -0
  952. package/dist/workers/adapter.js.map +1 -0
  953. package/dist/workers/cached-adapter.d.ts +21 -0
  954. package/dist/workers/cached-adapter.d.ts.map +1 -0
  955. package/dist/workers/cached-adapter.js +67 -0
  956. package/dist/workers/cached-adapter.js.map +1 -0
  957. package/dist/workers/factory.d.ts +11 -0
  958. package/dist/workers/factory.d.ts.map +1 -0
  959. package/dist/workers/factory.js +54 -0
  960. package/dist/workers/factory.js.map +1 -0
  961. package/dist/workers/index.d.ts +10 -0
  962. package/dist/workers/index.d.ts.map +1 -0
  963. package/dist/workers/index.js +10 -0
  964. package/dist/workers/index.js.map +1 -0
  965. package/dist/workers/json-adapter.d.ts +22 -0
  966. package/dist/workers/json-adapter.d.ts.map +1 -0
  967. package/dist/workers/json-adapter.js +171 -0
  968. package/dist/workers/json-adapter.js.map +1 -0
  969. package/dist/workers/sqlite-adapter.d.ts +22 -0
  970. package/dist/workers/sqlite-adapter.d.ts.map +1 -0
  971. package/dist/workers/sqlite-adapter.js +262 -0
  972. package/dist/workers/sqlite-adapter.js.map +1 -0
  973. package/dist/workers/types.d.ts +41 -0
  974. package/dist/workers/types.d.ts.map +1 -0
  975. package/dist/workers/types.js +5 -0
  976. package/dist/workers/types.js.map +1 -0
  977. package/docs/AGENTS.md +81 -89
  978. package/docs/ARCHITECTURE.md +541 -162
  979. package/docs/CLAUDE.md +1 -1
  980. package/docs/DOCUMENTATION_UPDATE_SUMMARY.md +97 -0
  981. package/docs/FAQ.md +306 -0
  982. package/docs/FEATURES.md +1038 -420
  983. package/docs/INSTALL.md +5 -5
  984. package/docs/INSTALL_FIX_SUMMARY.md +97 -0
  985. package/docs/INSTALL_FIX_VERIFICATION.md +61 -0
  986. package/docs/INSTALL_VERIFICATION_REPORT.md +68 -0
  987. package/docs/KNOWN_ISSUES.md +104 -0
  988. package/docs/LOCAL_INSTALL_VERIFICATION.md +159 -0
  989. package/docs/LOCAL_TEST_INSTALL_REPORT.md +96 -0
  990. package/docs/MAIN_DOCS_UPDATE_REPORT.md +41 -0
  991. package/docs/MIGRATION_GUIDE_v5.5.18.md +177 -0
  992. package/docs/PLUGIN_MARKETPLACE_VERIFICATION.md +187 -0
  993. package/docs/README.md +110 -0
  994. package/docs/REFERENCE.md +930 -786
  995. package/docs/RELEASE_NOTES_v5.5.14.md +97 -0
  996. package/docs/RELEASE_SUMMARY_v5.5.18.md +60 -0
  997. package/docs/TUTORIAL.md +223 -0
  998. package/docs/UPGRADE_VERIFICATION.md +500 -0
  999. package/docs/UPGRADE_VERIFICATION_REPORT.md +96 -0
  1000. package/docs/USER_GUIDE.md +2044 -0
  1001. package/docs/VALIDATION_REPORT.md +165 -0
  1002. package/docs/VERIFICATION_SUMMARY.md +116 -0
  1003. package/docs/adr/001-worker-state-adapter.md +168 -0
  1004. package/docs/adr/002-caching-strategy.md +112 -0
  1005. package/docs/adr/003-gradual-migration.md +193 -0
  1006. package/docs/adr/template.md +97 -0
  1007. package/docs/api/.nojekyll +1 -0
  1008. package/docs/api/assets/hierarchy.js +1 -0
  1009. package/docs/api/assets/highlight.css +85 -0
  1010. package/docs/api/assets/icons.js +18 -0
  1011. package/docs/api/assets/icons.svg +1 -0
  1012. package/docs/api/assets/main.js +60 -0
  1013. package/docs/api/assets/navigation.js +1 -0
  1014. package/docs/api/assets/search.js +1 -0
  1015. package/docs/api/assets/style.css +1633 -0
  1016. package/docs/api/classes/ContextCollector.html +21 -0
  1017. package/docs/api/functions/activateUltrawork.html +2 -0
  1018. package/docs/api/functions/addCustomNote.html +5 -0
  1019. package/docs/api/functions/addDirective.html +2 -0
  1020. package/docs/api/functions/addManualEntry.html +2 -0
  1021. package/docs/api/functions/addPattern.html +3 -0
  1022. package/docs/api/functions/addWorker.html +2 -0
  1023. package/docs/api/functions/addWorkingMemoryEntry.html +2 -0
  1024. package/docs/api/functions/analyzeContextUsage.html +2 -0
  1025. package/docs/api/functions/appendProgress.html +2 -0
  1026. package/docs/api/functions/appendSessionId.html +2 -0
  1027. package/docs/api/functions/applyCommentFilters.html +3 -0
  1028. package/docs/api/functions/assignFileToWorker.html +2 -0
  1029. package/docs/api/functions/backgroundUpdateCheck.html +2 -0
  1030. package/docs/api/functions/buildAxiomBootContext.html +1 -0
  1031. package/docs/api/functions/buildBoulderContinuation.html +2 -0
  1032. package/docs/api/functions/buildDelegationTable.html +2 -0
  1033. package/docs/api/functions/buildKeyTriggersSection.html +2 -0
  1034. package/docs/api/functions/buildOrchestratorReminder.html +2 -0
  1035. package/docs/api/functions/buildUseAvoidSection.html +2 -0
  1036. package/docs/api/functions/buildVerificationReminder.html +2 -0
  1037. package/docs/api/functions/canResumeAutopilot.html +10 -0
  1038. package/docs/api/functions/canStartMode.html +5 -0
  1039. package/docs/api/functions/cancelAutopilot.html +3 -0
  1040. package/docs/api/functions/cancelUltraQA.html +2 -0
  1041. package/docs/api/functions/checkBackgroundNotifications.html +2 -0
  1042. package/docs/api/functions/checkBoulderContinuation.html +2 -0
  1043. package/docs/api/functions/checkDuplicateTriggers.html +2 -0
  1044. package/docs/api/functions/checkExpertGate.html +1 -0
  1045. package/docs/api/functions/checkForComments.html +2 -0
  1046. package/docs/api/functions/checkForUpdates.html +2 -0
  1047. package/docs/api/functions/checkIncompleteTodos.html +13 -0
  1048. package/docs/api/functions/checkPersistentModes.html +3 -0
  1049. package/docs/api/functions/cleanupOrphanedState.html +2 -0
  1050. package/docs/api/functions/cleanupStaleAgents.html +2 -0
  1051. package/docs/api/functions/cleanupTransientState.html +2 -0
  1052. package/docs/api/functions/clearAgentUsageState.html +1 -0
  1053. package/docs/api/functions/clearAllModeStates.html +2 -0
  1054. package/docs/api/functions/clearAutopilot.html +2 -0
  1055. package/docs/api/functions/clearAutopilotState.html +2 -0
  1056. package/docs/api/functions/clearBeadsContext.html +2 -0
  1057. package/docs/api/functions/clearBoulderState.html +2 -0
  1058. package/docs/api/functions/clearDetectionState.html +2 -0
  1059. package/docs/api/functions/clearInjectedPaths.html +2 -0
  1060. package/docs/api/functions/clearInjectedRules.html +2 -0
  1061. package/docs/api/functions/clearLinkedUltraworkState.html +2 -0
  1062. package/docs/api/functions/clearModeState.html +10 -0
  1063. package/docs/api/functions/clearProjectMemorySession.html +4 -0
  1064. package/docs/api/functions/clearRalphState.html +2 -0
  1065. package/docs/api/functions/clearRapidFireDebounce.html +2 -0
  1066. package/docs/api/functions/clearSkillSession.html +2 -0
  1067. package/docs/api/functions/clearThinkModeState.html +2 -0
  1068. package/docs/api/functions/clearTrackingState.html +2 -0
  1069. package/docs/api/functions/clearUltraQAState.html +2 -0
  1070. package/docs/api/functions/clearVerificationState.html +3 -0
  1071. package/docs/api/functions/commandExists.html +2 -0
  1072. package/docs/api/functions/compareVersions.html +3 -0
  1073. package/docs/api/functions/completeUltraQA.html +2 -0
  1074. package/docs/api/functions/completeUltrapilot.html +2 -0
  1075. package/docs/api/functions/completeWorker.html +2 -0
  1076. package/docs/api/functions/containsTokenLimitError.html +2 -0
  1077. package/docs/api/functions/createAgentToolRestrictions.html +3 -0
  1078. package/docs/api/functions/createAgentUsageReminderHook.html +1 -0
  1079. package/docs/api/functions/createAutoSlashCommandHook.html +7 -0
  1080. package/docs/api/functions/createBackgroundNotificationHook.html +7 -0
  1081. package/docs/api/functions/createBackgroundTaskManager.html +2 -0
  1082. package/docs/api/functions/createBoulderState.html +2 -0
  1083. package/docs/api/functions/createCommentCheckerHook.html +6 -0
  1084. package/docs/api/functions/createCompactCheckpoint.html +2 -0
  1085. package/docs/api/functions/createContentHash.html +2 -0
  1086. package/docs/api/functions/createContextInjectorHook.html +7 -0
  1087. package/docs/api/functions/createDirectoryReadmeInjectorHook.html +9 -0
  1088. package/docs/api/functions/createEmptyMessageSanitizerHook.html +6 -0
  1089. package/docs/api/functions/createEnvContext.html +2 -0
  1090. package/docs/api/functions/createHookOutput.html +4 -0
  1091. package/docs/api/functions/createLearnedSkillsHook.html +6 -0
  1092. package/docs/api/functions/createMagicKeywordProcessor.html +2 -0
  1093. package/docs/api/functions/createModeMarker.html +6 -0
  1094. package/docs/api/functions/createPrd.html +2 -0
  1095. package/docs/api/functions/createPreemptiveCompactionHook.html +6 -0
  1096. package/docs/api/functions/createRalphLoopHook.html +2 -0
  1097. package/docs/api/functions/createRecoveryHook.html +7 -0
  1098. package/docs/api/functions/createRulesInjectorHook.html +8 -0
  1099. package/docs/api/functions/createSimplePrd.html +2 -0
  1100. package/docs/api/functions/createSisyphusOrchestratorHook.html +7 -0
  1101. package/docs/api/functions/createSisyphusSession.html +7 -0
  1102. package/docs/api/functions/createThinkModeHook.html +7 -0
  1103. package/docs/api/functions/createThinkingBlockValidatorHook.html +1 -0
  1104. package/docs/api/functions/createTodoContinuationHook.html +2 -0
  1105. package/docs/api/functions/createUltraworkStateHook.html +2 -0
  1106. package/docs/api/functions/deactivateUltrawork.html +8 -0
  1107. package/docs/api/functions/decayHotPaths.html +2 -0
  1108. package/docs/api/functions/decomposeTask.html +11 -0
  1109. package/docs/api/functions/deepMerge.html +2 -0
  1110. package/docs/api/functions/detectArchitectApproval.html +2 -0
  1111. package/docs/api/functions/detectArchitectRejection.html +2 -0
  1112. package/docs/api/functions/detectContextLimitError.html +2 -0
  1113. package/docs/api/functions/detectContextLimitErrorInText.html +2 -0
  1114. package/docs/api/functions/detectDirectivesFromMessage.html +2 -0
  1115. package/docs/api/functions/detectEditError.html +2 -0
  1116. package/docs/api/functions/detectEditErrorInOutput.html +2 -0
  1117. package/docs/api/functions/detectEditErrorInText.html +2 -0
  1118. package/docs/api/functions/detectExtractableMoment.html +2 -0
  1119. package/docs/api/functions/detectKeywordsWithType.html +11 -0
  1120. package/docs/api/functions/detectMagicKeywords.html +2 -0
  1121. package/docs/api/functions/detectProjectEnvironment.html +2 -0
  1122. package/docs/api/functions/detectRecoverableError.html +3 -0
  1123. package/docs/api/functions/detectSessionErrorType.html +2 -0
  1124. package/docs/api/functions/detectSlashCommand.html +3 -0
  1125. package/docs/api/functions/detectThinkKeyword.html +2 -0
  1126. package/docs/api/functions/detectUltrathinkKeyword.html +2 -0
  1127. package/docs/api/functions/discoverAllCommands.html +2 -0
  1128. package/docs/api/functions/enablePrdMode.html +2 -0
  1129. package/docs/api/functions/enhancePrompt.html +2 -0
  1130. package/docs/api/functions/ensureAutopilotDir.html +2 -0
  1131. package/docs/api/functions/ensureDirectoryStructure.html +2 -0
  1132. package/docs/api/functions/ensureModeStateDir.html +2 -0
  1133. package/docs/api/functions/ensureSkillsDir.html +2 -0
  1134. package/docs/api/functions/estimateTokens.html +2 -0
  1135. package/docs/api/functions/executeSlashCommand.html +2 -0
  1136. package/docs/api/functions/expandCommand.html +8 -0
  1137. package/docs/api/functions/expandCommandPrompt.html +6 -0
  1138. package/docs/api/functions/expandCommands.html +2 -0
  1139. package/docs/api/functions/exportSessionSummary.html +2 -0
  1140. package/docs/api/functions/exportWisdomToNotepad.html +2 -0
  1141. package/docs/api/functions/extractPromptText.html +11 -0
  1142. package/docs/api/functions/extractSlashPromptText.html +2 -0
  1143. package/docs/api/functions/extractThinkPromptText.html +2 -0
  1144. package/docs/api/functions/failWorker.html +2 -0
  1145. package/docs/api/functions/findCommand.html +2 -0
  1146. package/docs/api/functions/findMatchingSkills.html +2 -0
  1147. package/docs/api/functions/findPlannerPlans.html +3 -0
  1148. package/docs/api/functions/findPrdPath.html +2 -0
  1149. package/docs/api/functions/findPreviousThinkingContent.html +1 -0
  1150. package/docs/api/functions/findProgressPath.html +2 -0
  1151. package/docs/api/functions/findProjectRoot.html +3 -0
  1152. package/docs/api/functions/findRecoveryEmptyMessages.html +2 -0
  1153. package/docs/api/functions/findRecoveryOrphanThinking.html +2 -0
  1154. package/docs/api/functions/findRecoveryThinkingBlocks.html +2 -0
  1155. package/docs/api/functions/findRuleFiles.html +4 -0
  1156. package/docs/api/functions/findSkillFiles.html +3 -0
  1157. package/docs/api/functions/formatCancelMessage.html +2 -0
  1158. package/docs/api/functions/formatCompactSummary.html +2 -0
  1159. package/docs/api/functions/formatContextSummary.html +3 -0
  1160. package/docs/api/functions/formatDirectivesForContext.html +2 -0
  1161. package/docs/api/functions/formatFailureSummary.html +2 -0
  1162. package/docs/api/functions/formatFile.html +2 -0
  1163. package/docs/api/functions/formatFileChanges.html +2 -0
  1164. package/docs/api/functions/formatFileList.html +2 -0
  1165. package/docs/api/functions/formatFullContext.html +2 -0
  1166. package/docs/api/functions/formatFullNotepad.html +2 -0
  1167. package/docs/api/functions/formatLearningsForContext.html +2 -0
  1168. package/docs/api/functions/formatNextStoryPrompt.html +2 -0
  1169. package/docs/api/functions/formatNotepadContext.html +2 -0
  1170. package/docs/api/functions/formatPatternsForContext.html +2 -0
  1171. package/docs/api/functions/formatPrd.html +2 -0
  1172. package/docs/api/functions/formatPrdStatus.html +2 -0
  1173. package/docs/api/functions/formatPreCompactSummary.html +2 -0
  1174. package/docs/api/functions/formatProgressForContext.html +2 -0
  1175. package/docs/api/functions/formatProgressMessage.html +2 -0
  1176. package/docs/api/functions/formatStory.html +2 -0
  1177. package/docs/api/functions/formatSummary.html +2 -0
  1178. package/docs/api/functions/formatUpdateNotification.html +2 -0
  1179. package/docs/api/functions/formatValidationResults.html +2 -0
  1180. package/docs/api/functions/generateExtractionPrompt.html +2 -0
  1181. package/docs/api/functions/generateSkillFrontmatter.html +2 -0
  1182. package/docs/api/functions/generateSummary.html +2 -0
  1183. package/docs/api/functions/getActiveAgentCount.html +2 -0
  1184. package/docs/api/functions/getActiveExclusiveMode.html +4 -0
  1185. package/docs/api/functions/getActiveModes.html +2 -0
  1186. package/docs/api/functions/getActivePlanPath.html +2 -0
  1187. package/docs/api/functions/getAgentDefinitions.html +2 -0
  1188. package/docs/api/functions/getAgentsByType.html +2 -0
  1189. package/docs/api/functions/getAllCommands.html +2 -0
  1190. package/docs/api/functions/getAllModeStatuses.html +5 -0
  1191. package/docs/api/functions/getAllSkills.html +2 -0
  1192. package/docs/api/functions/getArchitectRejectionContinuationPrompt.html +2 -0
  1193. package/docs/api/functions/getArchitectVerificationPrompt.html +2 -0
  1194. package/docs/api/functions/getAutoFormatMessage.html +2 -0
  1195. package/docs/api/functions/getAutopilotStateAge.html +3 -0
  1196. package/docs/api/functions/getAvailableAgents.html +2 -0
  1197. package/docs/api/functions/getAxiomDir.html +1 -0
  1198. package/docs/api/functions/getBackgroundTaskGuidance.html +4 -0
  1199. package/docs/api/functions/getBeadsContextConfig.html +2 -0
  1200. package/docs/api/functions/getBeadsInstructions.html +2 -0
  1201. package/docs/api/functions/getBoulderFilePath.html +2 -0
  1202. package/docs/api/functions/getCheckpointPath.html +2 -0
  1203. package/docs/api/functions/getClaudeThinkingConfig.html +3 -0
  1204. package/docs/api/functions/getCommand.html +2 -0
  1205. package/docs/api/functions/getCommandsDir.html +2 -0
  1206. package/docs/api/functions/getCompactionQueueDepth.html +3 -0
  1207. package/docs/api/functions/getCompletedWorkers.html +2 -0
  1208. package/docs/api/functions/getDefaultMcpServers.html +1 -0
  1209. package/docs/api/functions/getDefaultModelForCategory.html +2 -0
  1210. package/docs/api/functions/getDetectionStats.html +2 -0
  1211. package/docs/api/functions/getDirectPlanningPrompt.html +3 -0
  1212. package/docs/api/functions/getExecutionPrompt.html +2 -0
  1213. package/docs/api/functions/getExpansionPrompt.html +3 -0
  1214. package/docs/api/functions/getExpertGateMessage.html +1 -0
  1215. package/docs/api/functions/getFailedWorkers.html +2 -0
  1216. package/docs/api/functions/getFormatter.html +2 -0
  1217. package/docs/api/functions/getGitDiffStats.html +2 -0
  1218. package/docs/api/functions/getGlobalStateFilePath.html +4 -0
  1219. package/docs/api/functions/getGoalCommand.html +2 -0
  1220. package/docs/api/functions/getHighVariant.html +3 -0
  1221. package/docs/api/functions/getInstallInfo.html +2 -0
  1222. package/docs/api/functions/getInstalledVersion.html +2 -0
  1223. package/docs/api/functions/getIssuesToFix.html +2 -0
  1224. package/docs/api/functions/getLastDetection.html +2 -0
  1225. package/docs/api/functions/getLearnerConfigValue.html +2 -0
  1226. package/docs/api/functions/getLinter.html +2 -0
  1227. package/docs/api/functions/getManualSection.html +2 -0
  1228. package/docs/api/functions/getMemoryFilePaths.html +1 -0
  1229. package/docs/api/functions/getModeMarkerFilePath.html +2 -0
  1230. package/docs/api/functions/getModeStateFilePath.html +2 -0
  1231. package/docs/api/functions/getNextStory.html +2 -0
  1232. package/docs/api/functions/getNotepadPath.html +2 -0
  1233. package/docs/api/functions/getNotepadStats.html +2 -0
  1234. package/docs/api/functions/getOmcPrdPath.html +2 -0
  1235. package/docs/api/functions/getOmcProgressPath.html +2 -0
  1236. package/docs/api/functions/getOmcSystemPrompt.html +2 -0
  1237. package/docs/api/functions/getOmcToolNames.html +3 -0
  1238. package/docs/api/functions/getPatterns.html +2 -0
  1239. package/docs/api/functions/getPhasePrompt.html +2 -0
  1240. package/docs/api/functions/getPlanName.html +2 -0
  1241. package/docs/api/functions/getPlanPath.html +2 -0
  1242. package/docs/api/functions/getPlanProgress.html +2 -0
  1243. package/docs/api/functions/getPlanSummaries.html +2 -0
  1244. package/docs/api/functions/getPrdCompletionStatus.html +2 -0
  1245. package/docs/api/functions/getPrdPath.html +2 -0
  1246. package/docs/api/functions/getPrdStatus.html +2 -0
  1247. package/docs/api/functions/getPreCommitReminderMessage.html +2 -0
  1248. package/docs/api/functions/getPriorityContext.html +2 -0
  1249. package/docs/api/functions/getProgressContext.html +2 -0
  1250. package/docs/api/functions/getProgressPath.html +2 -0
  1251. package/docs/api/functions/getPromotionCandidates.html +2 -0
  1252. package/docs/api/functions/getQAPrompt.html +2 -0
  1253. package/docs/api/functions/getRalphContext.html +3 -0
  1254. package/docs/api/functions/getReadmesForPath.html +2 -0
  1255. package/docs/api/functions/getRecentLearnings.html +2 -0
  1256. package/docs/api/functions/getRulesForPath.html +2 -0
  1257. package/docs/api/functions/getRunningAgents.html +2 -0
  1258. package/docs/api/functions/getRunningWorkers.html +2 -0
  1259. package/docs/api/functions/getSessionTokenEstimate.html +2 -0
  1260. package/docs/api/functions/getSkillsDir.html +2 -0
  1261. package/docs/api/functions/getSpecPath.html +2 -0
  1262. package/docs/api/functions/getStaleAgents.html +2 -0
  1263. package/docs/api/functions/getStateDir.html +2 -0
  1264. package/docs/api/functions/getStory.html +2 -0
  1265. package/docs/api/functions/getSubagentStateFilePath.html +2 -0
  1266. package/docs/api/functions/getThinkModeState.html +2 -0
  1267. package/docs/api/functions/getThinkingConfig.html +3 -0
  1268. package/docs/api/functions/getTopHotPaths.html +2 -0
  1269. package/docs/api/functions/getTrackingStats.html +2 -0
  1270. package/docs/api/functions/getTransitionPrompt.html +2 -0
  1271. package/docs/api/functions/getUltraworkPersistenceMessage.html +2 -0
  1272. package/docs/api/functions/getValidationPrompt.html +2 -0
  1273. package/docs/api/functions/getValidationSpawnPrompt.html +2 -0
  1274. package/docs/api/functions/getValidationStats.html +1 -0
  1275. package/docs/api/functions/getValidationStatus.html +2 -0
  1276. package/docs/api/functions/getWorkingMemory.html +2 -0
  1277. package/docs/api/functions/handleBackgroundEvent.html +3 -0
  1278. package/docs/api/functions/handleContextWindowRecovery.html +2 -0
  1279. package/docs/api/functions/handleEditErrorRecovery.html +2 -0
  1280. package/docs/api/functions/handlePermissionRequest.html +2 -0
  1281. package/docs/api/functions/handleRecovery.html +10 -0
  1282. package/docs/api/functions/handleSessionEnd.html +2 -0
  1283. package/docs/api/functions/handleSessionRecovery.html +2 -0
  1284. package/docs/api/functions/handleSharedFiles.html +7 -0
  1285. package/docs/api/functions/handleSubagentStart.html +2 -0
  1286. package/docs/api/functions/handleSubagentStop.html +2 -0
  1287. package/docs/api/functions/hasBoulder.html +2 -0
  1288. package/docs/api/functions/hasContentParts.html +1 -0
  1289. package/docs/api/functions/hasModeState.html +3 -0
  1290. package/docs/api/functions/hasPrd.html +2 -0
  1291. package/docs/api/functions/hasTextContent.html +2 -0
  1292. package/docs/api/functions/hasValidContent.html +3 -0
  1293. package/docs/api/functions/incrementAgentCount.html +2 -0
  1294. package/docs/api/functions/incrementRalphIteration.html +2 -0
  1295. package/docs/api/functions/incrementReinforcement.html +2 -0
  1296. package/docs/api/functions/initAutopilot.html +2 -0
  1297. package/docs/api/functions/initNotepad.html +2 -0
  1298. package/docs/api/functions/initPrd.html +2 -0
  1299. package/docs/api/functions/initProgress.html +2 -0
  1300. package/docs/api/functions/initUltrapilot.html +2 -0
  1301. package/docs/api/functions/injectContextIntoText.html +2 -0
  1302. package/docs/api/functions/injectPendingContext.html +3 -0
  1303. package/docs/api/functions/injectRecoveryTextPart.html +2 -0
  1304. package/docs/api/functions/install.html +2 -0
  1305. package/docs/api/functions/integrateResults.html +5 -0
  1306. package/docs/api/functions/isActiveModeRunning.html +2 -0
  1307. package/docs/api/functions/isAllowedPath.html +2 -0
  1308. package/docs/api/functions/isAlreadyHighVariant.html +2 -0
  1309. package/docs/api/functions/isAutopilotActive.html +2 -0
  1310. package/docs/api/functions/isAxiomEnabled.html +1 -0
  1311. package/docs/api/functions/isClaudeInstalled.html +3 -0
  1312. package/docs/api/functions/isClaudeModel.html +2 -0
  1313. package/docs/api/functions/isCompactionInProgress.html +3 -0
  1314. package/docs/api/functions/isDuplicateByContentHash.html +2 -0
  1315. package/docs/api/functions/isDuplicateByRealPath.html +2 -0
  1316. package/docs/api/functions/isExcludedCommand.html +2 -0
  1317. package/docs/api/functions/isExtendedThinkingModel.html +1 -0
  1318. package/docs/api/functions/isFileOwnedByWorker.html +2 -0
  1319. package/docs/api/functions/isFormatterAvailable.html +2 -0
  1320. package/docs/api/functions/isGptModel.html +2 -0
  1321. package/docs/api/functions/isInstalled.html +2 -0
  1322. package/docs/api/functions/isLearnerEnabled.html +2 -0
  1323. package/docs/api/functions/isModeActive.html +6 -0
  1324. package/docs/api/functions/isNonInteractive.html +1 -0
  1325. package/docs/api/functions/isRecoverableError.html +2 -0
  1326. package/docs/api/functions/isSafeCommand.html +2 -0
  1327. package/docs/api/functions/isSessionRecoverable.html +2 -0
  1328. package/docs/api/functions/isSharedFile.html +2 -0
  1329. package/docs/api/functions/isThinkModeActive.html +2 -0
  1330. package/docs/api/functions/isToolPart.html +2 -0
  1331. package/docs/api/functions/isUltraQAActive.html +1 -0
  1332. package/docs/api/functions/isWriteEditTool.html +2 -0
  1333. package/docs/api/functions/learnFromToolOutput.html +7 -0
  1334. package/docs/api/functions/lintFile.html +2 -0
  1335. package/docs/api/functions/listAvailableCommands.html +2 -0
  1336. package/docs/api/functions/listCommands.html +2 -0
  1337. package/docs/api/functions/listPromotableLearnings.html +2 -0
  1338. package/docs/api/functions/loadAgentPrompt.html +7 -0
  1339. package/docs/api/functions/loadAgentUsageState.html +1 -0
  1340. package/docs/api/functions/loadAllSkills.html +3 -0
  1341. package/docs/api/functions/loadConfig.html +2 -0
  1342. package/docs/api/functions/loadInjectedPaths.html +2 -0
  1343. package/docs/api/functions/loadInjectedRules.html +2 -0
  1344. package/docs/api/functions/loadLearnerConfig.html +2 -0
  1345. package/docs/api/functions/loadProjectMemory.html +3 -0
  1346. package/docs/api/functions/loadSkillById.html +2 -0
  1347. package/docs/api/functions/mapDirectoryStructure.html +2 -0
  1348. package/docs/api/functions/markStoryComplete.html +2 -0
  1349. package/docs/api/functions/markStoryIncomplete.html +2 -0
  1350. package/docs/api/functions/mergeAgentConfig.html +2 -0
  1351. package/docs/api/functions/parseAxiomState.html +1 -0
  1352. package/docs/api/functions/parseContextLimitError.html +2 -0
  1353. package/docs/api/functions/parseProgress.html +2 -0
  1354. package/docs/api/functions/parseRuleFrontmatter.html +10 -0
  1355. package/docs/api/functions/parseSkillFile.html +2 -0
  1356. package/docs/api/functions/parseSlashCommand.html +2 -0
  1357. package/docs/api/functions/parseTokenLimitError.html +2 -0
  1358. package/docs/api/functions/performUpdate.html +2 -0
  1359. package/docs/api/functions/prependRecoveryThinkingPart.html +2 -0
  1360. package/docs/api/functions/prependThinkingBlock.html +1 -0
  1361. package/docs/api/functions/processAxiomBoot.html +1 -0
  1362. package/docs/api/functions/processAxiomGuards.html +1 -0
  1363. package/docs/api/functions/processBackgroundNotification.html +2 -0
  1364. package/docs/api/functions/processBackgroundNotificationHook.html +2 -0
  1365. package/docs/api/functions/processEditOutput.html +2 -0
  1366. package/docs/api/functions/processHook.html +3 -0
  1367. package/docs/api/functions/processMessageForSkills.html +2 -0
  1368. package/docs/api/functions/processOrchestratorPostTool.html +3 -0
  1369. package/docs/api/functions/processOrchestratorPreTool.html +3 -0
  1370. package/docs/api/functions/processPermissionRequest.html +2 -0
  1371. package/docs/api/functions/processPreCompact.html +6 -0
  1372. package/docs/api/functions/processProjectMemoryPreCompact.html +3 -0
  1373. package/docs/api/functions/processResponseForDetection.html +3 -0
  1374. package/docs/api/functions/processSessionEnd.html +2 -0
  1375. package/docs/api/functions/processSetup.html +2 -0
  1376. package/docs/api/functions/processSetupInit.html +2 -0
  1377. package/docs/api/functions/processSetupMaintenance.html +2 -0
  1378. package/docs/api/functions/processSlashCommand.html +2 -0
  1379. package/docs/api/functions/processSubagentStart.html +2 -0
  1380. package/docs/api/functions/processSubagentStop.html +2 -0
  1381. package/docs/api/functions/processThinkMode.html +3 -0
  1382. package/docs/api/functions/promoteLearning.html +2 -0
  1383. package/docs/api/functions/pruneOldEntries.html +2 -0
  1384. package/docs/api/functions/pruneOldStateFiles.html +2 -0
  1385. package/docs/api/functions/readActiveContext.html +1 -0
  1386. package/docs/api/functions/readAutopilotState.html +2 -0
  1387. package/docs/api/functions/readBoulderState.html +2 -0
  1388. package/docs/api/functions/readModeMarker.html +4 -0
  1389. package/docs/api/functions/readNotepad.html +2 -0
  1390. package/docs/api/functions/readPrd.html +2 -0
  1391. package/docs/api/functions/readProgress.html +2 -0
  1392. package/docs/api/functions/readProgressRaw.html +2 -0
  1393. package/docs/api/functions/readProjectDecisions.html +1 -0
  1394. package/docs/api/functions/readRalphState.html +2 -0
  1395. package/docs/api/functions/readRecoveryMessages.html +2 -0
  1396. package/docs/api/functions/readRecoveryParts.html +2 -0
  1397. package/docs/api/functions/readTrackingState.html +3 -0
  1398. package/docs/api/functions/readUltraQAState.html +2 -0
  1399. package/docs/api/functions/readUltrapilotState.html +2 -0
  1400. package/docs/api/functions/readUltraworkState.html +4 -0
  1401. package/docs/api/functions/readUserPreferences.html +1 -0
  1402. package/docs/api/functions/readVerificationState.html +3 -0
  1403. package/docs/api/functions/recordArchitectFeedback.html +2 -0
  1404. package/docs/api/functions/recordConflict.html +2 -0
  1405. package/docs/api/functions/recordFailure.html +2 -0
  1406. package/docs/api/functions/recordHookFire.html +2 -0
  1407. package/docs/api/functions/recordHookResult.html +2 -0
  1408. package/docs/api/functions/recordKeywordDetected.html +2 -0
  1409. package/docs/api/functions/recordModeChange.html +2 -0
  1410. package/docs/api/functions/recordPattern.html +2 -0
  1411. package/docs/api/functions/recordSessionMetrics.html +2 -0
  1412. package/docs/api/functions/recordSkillActivated.html +2 -0
  1413. package/docs/api/functions/recordSkillInvoked.html +2 -0
  1414. package/docs/api/functions/recordStoryProgress.html +2 -0
  1415. package/docs/api/functions/recordValidationVerdict.html +2 -0
  1416. package/docs/api/functions/registerBeadsContext.html +3 -0
  1417. package/docs/api/functions/registerProjectMemoryContext.html +6 -0
  1418. package/docs/api/functions/removeCodeBlocks.html +12 -0
  1419. package/docs/api/functions/removeModeMarker.html +5 -0
  1420. package/docs/api/functions/removeSlashCodeBlocks.html +2 -0
  1421. package/docs/api/functions/removeThinkCodeBlocks.html +2 -0
  1422. package/docs/api/functions/replaceRecoveryEmptyTextParts.html +2 -0
  1423. package/docs/api/functions/rescanProjectEnvironment.html +4 -0
  1424. package/docs/api/functions/resetSessionTokenEstimate.html +2 -0
  1425. package/docs/api/functions/resumeAutopilot.html +2 -0
  1426. package/docs/api/functions/runPreCommitChecks.html +2 -0
  1427. package/docs/api/functions/runTests.html +2 -0
  1428. package/docs/api/functions/runTypeCheck.html +2 -0
  1429. package/docs/api/functions/sanitizeMessage.html +2 -0
  1430. package/docs/api/functions/sanitizeMessages.html +2 -0
  1431. package/docs/api/functions/saveAgentUsageState.html +1 -0
  1432. package/docs/api/functions/saveInjectedPaths.html +2 -0
  1433. package/docs/api/functions/saveInjectedRules.html +2 -0
  1434. package/docs/api/functions/saveLearnerConfig.html +2 -0
  1435. package/docs/api/functions/saveModeSummary.html +2 -0
  1436. package/docs/api/functions/saveProjectMemory.html +3 -0
  1437. package/docs/api/functions/saveVersionMetadata.html +2 -0
  1438. package/docs/api/functions/setCurrentStory.html +2 -0
  1439. package/docs/api/functions/setEnvironmentVariables.html +2 -0
  1440. package/docs/api/functions/setLearnerConfigValue.html +2 -0
  1441. package/docs/api/functions/setPriorityContext.html +2 -0
  1442. package/docs/api/functions/shouldActivateThinkMode.html +3 -0
  1443. package/docs/api/functions/shouldActivateUltrathink.html +2 -0
  1444. package/docs/api/functions/shouldApplyRule.html +2 -0
  1445. package/docs/api/functions/shouldCheckForUpdates.html +2 -0
  1446. package/docs/api/functions/shouldCompleteByPrd.html +2 -0
  1447. package/docs/api/functions/shouldPromptExtraction.html +2 -0
  1448. package/docs/api/functions/shouldReinforceUltrawork.html +2 -0
  1449. package/docs/api/functions/shouldRetryValidation.html +2 -0
  1450. package/docs/api/functions/shouldRunInBackground.html +8 -0
  1451. package/docs/api/functions/spawnWorkers.html +7 -0
  1452. package/docs/api/functions/startUltraQA.html +3 -0
  1453. package/docs/api/functions/startUltrapilot.html +7 -0
  1454. package/docs/api/functions/startValidationRound.html +2 -0
  1455. package/docs/api/functions/startVerification.html +2 -0
  1456. package/docs/api/functions/startsWithThinkingBlock.html +1 -0
  1457. package/docs/api/functions/stopUltraQA.html +2 -0
  1458. package/docs/api/functions/stripRecoveryThinkingParts.html +2 -0
  1459. package/docs/api/functions/toSdkMcpFormat.html +2 -0
  1460. package/docs/api/functions/trackAccess.html +2 -0
  1461. package/docs/api/functions/trackProgress.html +5 -0
  1462. package/docs/api/functions/transitionPhase.html +2 -0
  1463. package/docs/api/functions/transitionRalphToUltraQA.html +9 -0
  1464. package/docs/api/functions/transitionToComplete.html +2 -0
  1465. package/docs/api/functions/transitionToFailed.html +2 -0
  1466. package/docs/api/functions/transitionUltraQAToValidation.html +2 -0
  1467. package/docs/api/functions/updateDirectoryAccess.html +2 -0
  1468. package/docs/api/functions/updateExecution.html +2 -0
  1469. package/docs/api/functions/updateExpansion.html +2 -0
  1470. package/docs/api/functions/updatePlanning.html +2 -0
  1471. package/docs/api/functions/updateQA.html +2 -0
  1472. package/docs/api/functions/updateValidation.html +2 -0
  1473. package/docs/api/functions/updateWorkerState.html +2 -0
  1474. package/docs/api/functions/validateAgentConfig.html +2 -0
  1475. package/docs/api/functions/validateCommitMessage.html +2 -0
  1476. package/docs/api/functions/validateConfigFiles.html +2 -0
  1477. package/docs/api/functions/validateExtractionRequest.html +2 -0
  1478. package/docs/api/functions/validateMessage.html +1 -0
  1479. package/docs/api/functions/validateMessages.html +1 -0
  1480. package/docs/api/functions/validateSkillMetadata.html +2 -0
  1481. package/docs/api/functions/writeAutopilotState.html +2 -0
  1482. package/docs/api/functions/writeBoulderState.html +2 -0
  1483. package/docs/api/functions/writePrd.html +2 -0
  1484. package/docs/api/functions/writeRalphState.html +2 -0
  1485. package/docs/api/functions/writeSkill.html +2 -0
  1486. package/docs/api/functions/writeTrackingState.html +5 -0
  1487. package/docs/api/functions/writeUltraQAState.html +2 -0
  1488. package/docs/api/functions/writeUltrapilotState.html +2 -0
  1489. package/docs/api/functions/writeUltraworkState.html +2 -0
  1490. package/docs/api/functions/writeVerificationState.html +2 -0
  1491. package/docs/api/hierarchy.html +1 -0
  1492. package/docs/api/index.html +843 -0
  1493. package/docs/api/interfaces/AgentConfig.html +18 -0
  1494. package/docs/api/interfaces/AgentOverrideConfig.html +10 -0
  1495. package/docs/api/interfaces/AgentPromptMetadata.html +19 -0
  1496. package/docs/api/interfaces/AgentState.html +5 -0
  1497. package/docs/api/interfaces/AgentUsageState.html +8 -0
  1498. package/docs/api/interfaces/AutoSlashCommandHookInput.html +5 -0
  1499. package/docs/api/interfaces/AutoSlashCommandHookOutput.html +3 -0
  1500. package/docs/api/interfaces/AutoSlashCommandResult.html +5 -0
  1501. package/docs/api/interfaces/AutopilotConfig.html +26 -0
  1502. package/docs/api/interfaces/AutopilotExecution.html +16 -0
  1503. package/docs/api/interfaces/AutopilotExpansion.html +12 -0
  1504. package/docs/api/interfaces/AutopilotPlanning.html +8 -0
  1505. package/docs/api/interfaces/AutopilotQA.html +12 -0
  1506. package/docs/api/interfaces/AutopilotResult.html +10 -0
  1507. package/docs/api/interfaces/AutopilotState.html +36 -0
  1508. package/docs/api/interfaces/AutopilotSummary.html +16 -0
  1509. package/docs/api/interfaces/AutopilotValidation.html +10 -0
  1510. package/docs/api/interfaces/AutopilotValidationResult.html +8 -0
  1511. package/docs/api/interfaces/AvailableAgent.html +5 -0
  1512. package/docs/api/interfaces/AxiomBootInput.html +3 -0
  1513. package/docs/api/interfaces/AxiomBootOutput.html +4 -0
  1514. package/docs/api/interfaces/AxiomGuardsInput.html +4 -0
  1515. package/docs/api/interfaces/AxiomGuardsOutput.html +4 -0
  1516. package/docs/api/interfaces/AxiomMemoryFiles.html +5 -0
  1517. package/docs/api/interfaces/AxiomState.html +8 -0
  1518. package/docs/api/interfaces/BackgroundNotificationHookConfig.html +11 -0
  1519. package/docs/api/interfaces/BackgroundNotificationHookInput.html +8 -0
  1520. package/docs/api/interfaces/BackgroundNotificationHookOutput.html +8 -0
  1521. package/docs/api/interfaces/BackgroundTask.html +7 -0
  1522. package/docs/api/interfaces/BackgroundTaskManager.html +26 -0
  1523. package/docs/api/interfaces/BeadsContextConfig.html +4 -0
  1524. package/docs/api/interfaces/BoulderState.html +12 -0
  1525. package/docs/api/interfaces/BuildInfo.html +6 -0
  1526. package/docs/api/interfaces/CanStartResult.html +4 -0
  1527. package/docs/api/interfaces/CancelResult.html +4 -0
  1528. package/docs/api/interfaces/ClaudeThinkingConfig.html +4 -0
  1529. package/docs/api/interfaces/CodeConventions.html +5 -0
  1530. package/docs/api/interfaces/CodebasePattern.html +5 -0
  1531. package/docs/api/interfaces/CommandInfo.html +5 -0
  1532. package/docs/api/interfaces/CommandMetadata.html +7 -0
  1533. package/docs/api/interfaces/CommentCheckResult.html +10 -0
  1534. package/docs/api/interfaces/CommentCheckerConfig.html +6 -0
  1535. package/docs/api/interfaces/CommentInfo.html +14 -0
  1536. package/docs/api/interfaces/CommentPendingCall.html +18 -0
  1537. package/docs/api/interfaces/CommitConfig.html +9 -0
  1538. package/docs/api/interfaces/CompactCheckpoint.html +7 -0
  1539. package/docs/api/interfaces/ContextEntry.html +14 -0
  1540. package/docs/api/interfaces/ContextUsageResult.html +12 -0
  1541. package/docs/api/interfaces/CustomNote.html +5 -0
  1542. package/docs/api/interfaces/DelegationDecision.html +7 -0
  1543. package/docs/api/interfaces/DelegationRoute.html +7 -0
  1544. package/docs/api/interfaces/DelegationRoutingConfig.html +5 -0
  1545. package/docs/api/interfaces/DelegationTrigger.html +6 -0
  1546. package/docs/api/interfaces/DetectedKeyword.html +13 -0
  1547. package/docs/api/interfaces/DetectionConfig.html +8 -0
  1548. package/docs/api/interfaces/DetectionResult.html +13 -0
  1549. package/docs/api/interfaces/DirectoryInfo.html +7 -0
  1550. package/docs/api/interfaces/EmptyMessageSanitizerConfig.html +6 -0
  1551. package/docs/api/interfaces/EmptyMessageSanitizerInput.html +6 -0
  1552. package/docs/api/interfaces/EmptyMessageSanitizerOutput.html +8 -0
  1553. package/docs/api/interfaces/ExecuteResult.html +5 -0
  1554. package/docs/api/interfaces/ExpandedCommand.html +4 -0
  1555. package/docs/api/interfaces/ExternalModelPreference.html +4 -0
  1556. package/docs/api/interfaces/ExternalModelsConfig.html +6 -0
  1557. package/docs/api/interfaces/ExternalModelsDefaults.html +5 -0
  1558. package/docs/api/interfaces/ExternalModelsFallbackPolicy.html +5 -0
  1559. package/docs/api/interfaces/FileOwnership.html +8 -0
  1560. package/docs/api/interfaces/FormatConfig.html +7 -0
  1561. package/docs/api/interfaces/FrameworkDetection.html +4 -0
  1562. package/docs/api/interfaces/FullAgentConfig.html +26 -0
  1563. package/docs/api/interfaces/GateCheckResult.html +5 -0
  1564. package/docs/api/interfaces/GitBranchPattern.html +3 -0
  1565. package/docs/api/interfaces/HookContext.html +5 -0
  1566. package/docs/api/interfaces/HookDefinition.html +5 -0
  1567. package/docs/api/interfaces/HookInput.html +18 -0
  1568. package/docs/api/interfaces/HookOutput.html +10 -0
  1569. package/docs/api/interfaces/HookResult.html +4 -0
  1570. package/docs/api/interfaces/HotPath.html +6 -0
  1571. package/docs/api/interfaces/InjectedPathsData.html +9 -0
  1572. package/docs/api/interfaces/InjectedRulesData.html +10 -0
  1573. package/docs/api/interfaces/InjectedSkillsData.html +8 -0
  1574. package/docs/api/interfaces/InjectionResult.html +8 -0
  1575. package/docs/api/interfaces/InstallOptions.html +9 -0
  1576. package/docs/api/interfaces/InstallResult.html +10 -0
  1577. package/docs/api/interfaces/IntegrationResult.html +14 -0
  1578. package/docs/api/interfaces/LanguageDetection.html +5 -0
  1579. package/docs/api/interfaces/LearnedSkill.html +16 -0
  1580. package/docs/api/interfaces/LearnerConfig.html +18 -0
  1581. package/docs/api/interfaces/LintConfig.html +7 -0
  1582. package/docs/api/interfaces/MagicKeyword.html +4 -0
  1583. package/docs/api/interfaces/MatchResult.html +6 -0
  1584. package/docs/api/interfaces/MessageContext.html +8 -0
  1585. package/docs/api/interfaces/MessageInfo.html +9 -0
  1586. package/docs/api/interfaces/MessagePart.html +15 -0
  1587. package/docs/api/interfaces/MessageWithModel.html +3 -0
  1588. package/docs/api/interfaces/MessageWithParts.html +6 -0
  1589. package/docs/api/interfaces/MessagesTransformHook.html +3 -0
  1590. package/docs/api/interfaces/MessagesTransformInput.html +3 -0
  1591. package/docs/api/interfaces/MessagesTransformOutput.html +3 -0
  1592. package/docs/api/interfaces/ModeConfig.html +13 -0
  1593. package/docs/api/interfaces/ModeStatus.html +4 -0
  1594. package/docs/api/interfaces/ModelRef.html +4 -0
  1595. package/docs/api/interfaces/NonInteractiveEnvConfig.html +2 -0
  1596. package/docs/api/interfaces/NotepadConfig.html +7 -0
  1597. package/docs/api/interfaces/NotepadStats.html +11 -0
  1598. package/docs/api/interfaces/NotificationCheckResult.html +8 -0
  1599. package/docs/api/interfaces/OrchestratorToolInput.html +6 -0
  1600. package/docs/api/interfaces/OrchestratorToolOutput.html +6 -0
  1601. package/docs/api/interfaces/OutputPart.html +4 -0
  1602. package/docs/api/interfaces/PRD.html +9 -0
  1603. package/docs/api/interfaces/PRDStatus.html +13 -0
  1604. package/docs/api/interfaces/ParsedSlashCommand.html +8 -0
  1605. package/docs/api/interfaces/ParsedTokenLimitError.html +16 -0
  1606. package/docs/api/interfaces/PendingContext.html +8 -0
  1607. package/docs/api/interfaces/PermissionHookOutput.html +4 -0
  1608. package/docs/api/interfaces/PermissionRequestInput.html +9 -0
  1609. package/docs/api/interfaces/PersistentModeResult.html +9 -0
  1610. package/docs/api/interfaces/PlanProgress.html +8 -0
  1611. package/docs/api/interfaces/PlanSummary.html +10 -0
  1612. package/docs/api/interfaces/PluginConfig.html +17 -0
  1613. package/docs/api/interfaces/PreCommitResult.html +3 -0
  1614. package/docs/api/interfaces/PreCompactHookOutput.html +4 -0
  1615. package/docs/api/interfaces/PreCompactInput.html +8 -0
  1616. package/docs/api/interfaces/PreemptiveCompactionConfig.html +14 -0
  1617. package/docs/api/interfaces/PriorityContextResult.html +5 -0
  1618. package/docs/api/interfaces/ProgressEntry.html +11 -0
  1619. package/docs/api/interfaces/ProgressLog.html +7 -0
  1620. package/docs/api/interfaces/ProjectMemory.html +14 -0
  1621. package/docs/api/interfaces/ProjectStructure.html +5 -0
  1622. package/docs/api/interfaces/PromotionCandidate.html +9 -0
  1623. package/docs/api/interfaces/PruneResult.html +5 -0
  1624. package/docs/api/interfaces/QualityValidation.html +10 -0
  1625. package/docs/api/interfaces/RalphLoopHook.html +4 -0
  1626. package/docs/api/interfaces/RalphLoopOptions.html +5 -0
  1627. package/docs/api/interfaces/RalphLoopState.html +21 -0
  1628. package/docs/api/interfaces/RecoveryConfig.html +16 -0
  1629. package/docs/api/interfaces/RecoveryMessageData.html +4 -0
  1630. package/docs/api/interfaces/RecoveryResult.html +10 -0
  1631. package/docs/api/interfaces/RecoveryStoredMessageMeta.html +8 -0
  1632. package/docs/api/interfaces/RecoveryStoredReasoningPart.html +7 -0
  1633. package/docs/api/interfaces/RecoveryStoredTextPart.html +9 -0
  1634. package/docs/api/interfaces/RecoveryStoredToolPart.html +9 -0
  1635. package/docs/api/interfaces/RegisterContextOptions.html +12 -0
  1636. package/docs/api/interfaces/ReleaseInfo.html +9 -0
  1637. package/docs/api/interfaces/ResolveDelegationOptions.html +7 -0
  1638. package/docs/api/interfaces/ResolveOptions.html +6 -0
  1639. package/docs/api/interfaces/ResolvedModel.html +5 -0
  1640. package/docs/api/interfaces/RetryState.html +6 -0
  1641. package/docs/api/interfaces/RuleFileCandidate.html +12 -0
  1642. package/docs/api/interfaces/RuleFrontmatterResult.html +6 -0
  1643. package/docs/api/interfaces/RuleInfo.html +18 -0
  1644. package/docs/api/interfaces/RuleMetadata.html +9 -0
  1645. package/docs/api/interfaces/RuleToInject.html +10 -0
  1646. package/docs/api/interfaces/SessionEndHookOutput.html +2 -0
  1647. package/docs/api/interfaces/SessionEndInput.html +9 -0
  1648. package/docs/api/interfaces/SessionMetrics.html +9 -0
  1649. package/docs/api/interfaces/SessionState.html +5 -0
  1650. package/docs/api/interfaces/SetupHookOutput.html +3 -0
  1651. package/docs/api/interfaces/SetupInput.html +7 -0
  1652. package/docs/api/interfaces/SetupResult.html +5 -0
  1653. package/docs/api/interfaces/ShellHook.html +4 -0
  1654. package/docs/api/interfaces/SisyphusOptions.html +14 -0
  1655. package/docs/api/interfaces/SisyphusSession.html +16 -0
  1656. package/docs/api/interfaces/SkillExtractionRequest.html +12 -0
  1657. package/docs/api/interfaces/SkillFileCandidate.html +10 -0
  1658. package/docs/api/interfaces/SkillHookContext.html +5 -0
  1659. package/docs/api/interfaces/SkillMetadata.html +22 -0
  1660. package/docs/api/interfaces/SkillParseResult.html +5 -0
  1661. package/docs/api/interfaces/SubagentHookOutput.html +3 -0
  1662. package/docs/api/interfaces/SubagentInfo.html +14 -0
  1663. package/docs/api/interfaces/SubagentStartInput.html +10 -0
  1664. package/docs/api/interfaces/SubagentStopInput.html +11 -0
  1665. package/docs/api/interfaces/SubagentTrackingState.html +6 -0
  1666. package/docs/api/interfaces/TaskExecutionDecision.html +10 -0
  1667. package/docs/api/interfaces/TechStack.html +5 -0
  1668. package/docs/api/interfaces/ThinkModeInput.html +4 -0
  1669. package/docs/api/interfaces/ThinkModeState.html +12 -0
  1670. package/docs/api/interfaces/ThinkingValidatorMessageInfo.html +6 -0
  1671. package/docs/api/interfaces/ThinkingValidatorMessagePart.html +9 -0
  1672. package/docs/api/interfaces/ThinkingValidatorMessageWithParts.html +4 -0
  1673. package/docs/api/interfaces/TodoContinuationHook.html +2 -0
  1674. package/docs/api/interfaces/TransitionResult.html +4 -0
  1675. package/docs/api/interfaces/TruncateState.html +6 -0
  1676. package/docs/api/interfaces/UltraQAOptions.html +5 -0
  1677. package/docs/api/interfaces/UltraQAResult.html +9 -0
  1678. package/docs/api/interfaces/UltraQAState.html +19 -0
  1679. package/docs/api/interfaces/UltrapilotConfig.html +14 -0
  1680. package/docs/api/interfaces/UltrapilotState.html +26 -0
  1681. package/docs/api/interfaces/UltraworkState.html +17 -0
  1682. package/docs/api/interfaces/UpdateCheckResult.html +7 -0
  1683. package/docs/api/interfaces/UpdateResult.html +7 -0
  1684. package/docs/api/interfaces/UserDirective.html +7 -0
  1685. package/docs/api/interfaces/UserStory.html +15 -0
  1686. package/docs/api/interfaces/ValidationCoordinatorResult.html +6 -0
  1687. package/docs/api/interfaces/ValidationResult.html +10 -0
  1688. package/docs/api/interfaces/VerificationState.html +17 -0
  1689. package/docs/api/interfaces/VersionMetadata.html +12 -0
  1690. package/docs/api/interfaces/WorkerState.html +24 -0
  1691. package/docs/api/interfaces/WriteSkillResult.html +6 -0
  1692. package/docs/api/media/EVOLUTION.md +605 -0
  1693. package/docs/api/media/INSTALL.md +542 -0
  1694. package/docs/api/media/MIGRATION.md +1158 -0
  1695. package/docs/api/media/NEXUS.md +562 -0
  1696. package/docs/api/media/REFERENCE.md +1222 -0
  1697. package/docs/api/media/mcp-server-usage.md +240 -0
  1698. package/docs/api/modules.html +1 -0
  1699. package/docs/api/types/AgentCategory.html +2 -0
  1700. package/docs/api/types/AgentCost.html +3 -0
  1701. package/docs/api/types/AgentFactory.html +2 -0
  1702. package/docs/api/types/AgentOverrides.html +2 -0
  1703. package/docs/api/types/AutopilotPhase.html +2 -0
  1704. package/docs/api/types/AutopilotSignal.html +2 -0
  1705. package/docs/api/types/CommandScope.html +2 -0
  1706. package/docs/api/types/ContextPriority.html +3 -0
  1707. package/docs/api/types/ContextSourceType.html +3 -0
  1708. package/docs/api/types/DelegationProvider.html +2 -0
  1709. package/docs/api/types/DelegationTool.html +2 -0
  1710. package/docs/api/types/ExecutionMode.html +3 -0
  1711. package/docs/api/types/ExternalModelProvider.html +2 -0
  1712. package/docs/api/types/GateType.html +3 -0
  1713. package/docs/api/types/InjectionStrategy.html +2 -0
  1714. package/docs/api/types/KeywordType.html +10 -0
  1715. package/docs/api/types/ModelType.html +2 -0
  1716. package/docs/api/types/QAStatus.html +2 -0
  1717. package/docs/api/types/RecoveryErrorType.html +2 -0
  1718. package/docs/api/types/RecoveryStoredPart.html +2 -0
  1719. package/docs/api/types/TaskTool.html +1 -0
  1720. package/docs/api/types/ThinkingConfig.html +2 -0
  1721. package/docs/api/types/UltraQAGoalType.html +1 -0
  1722. package/docs/api/types/UserStoryInput.html +2 -0
  1723. package/docs/api/types/ValidationVerdict.html +2 -0
  1724. package/docs/api/types/ValidationVerdictType.html +2 -0
  1725. package/docs/api/variables/AGENTS_DIR.html +1 -0
  1726. package/docs/api/variables/AGENTS_FILENAME.html +2 -0
  1727. package/docs/api/variables/AGENT_TOOLS.html +2 -0
  1728. package/docs/api/variables/ALLOWED_PATH_PREFIX.html +2 -0
  1729. package/docs/api/variables/ANALYST_PROMPT_METADATA.html +1 -0
  1730. package/docs/api/variables/ARCHITECT_PROMPT_METADATA.html +1 -0
  1731. package/docs/api/variables/AUTO_SLASH_COMMAND_HOOK_NAME.html +4 -0
  1732. package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_CLOSE.html +1 -0
  1733. package/docs/api/variables/AUTO_SLASH_COMMAND_TAG_OPEN.html +2 -0
  1734. package/docs/api/variables/BACKGROUND_NOTIFICATION_HOOK_NAME.html +2 -0
  1735. package/docs/api/variables/BDD_KEYWORDS.html +2 -0
  1736. package/docs/api/variables/BEADS_INSTRUCTIONS.html +1 -0
  1737. package/docs/api/variables/BEADS_RUST_INSTRUCTIONS.html +1 -0
  1738. package/docs/api/variables/BLOCKING_PATTERNS.html +3 -0
  1739. package/docs/api/variables/BOULDER_CONTINUATION_PROMPT.html +2 -0
  1740. package/docs/api/variables/BOULDER_DIR.html +2 -0
  1741. package/docs/api/variables/BOULDER_FILE.html +2 -0
  1742. package/docs/api/variables/BOULDER_STATE_PATH.html +2 -0
  1743. package/docs/api/variables/CHARS_PER_TOKEN.html +2 -0
  1744. package/docs/api/variables/CI_COMMANDS.html +2 -0
  1745. package/docs/api/variables/CI_GATE_MESSAGE.html +1 -0
  1746. package/docs/api/variables/CLAUDE_CONFIG_DIR.html +2 -0
  1747. package/docs/api/variables/CLAUDE_DEFAULT_CONTEXT_LIMIT.html +2 -0
  1748. package/docs/api/variables/COMMANDS_DIR.html +1 -0
  1749. package/docs/api/variables/COMMENT_CHECKER_MESSAGE_HEADER.html +2 -0
  1750. package/docs/api/variables/COMPACTION_COOLDOWN_MS.html +2 -0
  1751. package/docs/api/variables/CONTENT_PART_TYPES.html +2 -0
  1752. package/docs/api/variables/CONTEXT_CRITICAL_MESSAGE.html +2 -0
  1753. package/docs/api/variables/CONTEXT_FILENAMES.html +2 -0
  1754. package/docs/api/variables/CONTEXT_LIMIT_RECOVERY_MESSAGE.html +2 -0
  1755. package/docs/api/variables/CONTEXT_LIMIT_SHORT_MESSAGE.html +2 -0
  1756. package/docs/api/variables/CONTEXT_WARNING_MESSAGE.html +2 -0
  1757. package/docs/api/variables/CRITICAL_THRESHOLD.html +2 -0
  1758. package/docs/api/variables/CRITIC_PROMPT_METADATA.html +1 -0
  1759. package/docs/api/variables/DEFAULT_CONFIG.html +2 -0
  1760. package/docs/api/variables/DEFAULT_MAX_BACKGROUND_TASKS.html +2 -0
  1761. package/docs/api/variables/DEFAULT_THINKING_CONTENT.html +2 -0
  1762. package/docs/api/variables/DIRECT_WORK_REMINDER.html +2 -0
  1763. package/docs/api/variables/DOCUMENT_SPECIALIST_PROMPT_METADATA.html +1 -0
  1764. package/docs/api/variables/DOCUMENT_WRITER_PROMPT_METADATA.html +1 -0
  1765. package/docs/api/variables/EDIT_ERROR_PATTERNS.html +2 -0
  1766. package/docs/api/variables/EDIT_ERROR_REMINDER.html +3 -0
  1767. package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_DEBUG_PREFIX.html +2 -0
  1768. package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_ERROR_PATTERNS.html +2 -0
  1769. package/docs/api/variables/EMPTY_MESSAGE_SANITIZER_HOOK_NAME.html +2 -0
  1770. package/docs/api/variables/ENTRY_SEPARATOR.html +1 -0
  1771. package/docs/api/variables/EXCLUDED_COMMANDS.html +3 -0
  1772. package/docs/api/variables/EXPERT_GATE_MESSAGE.html +1 -0
  1773. package/docs/api/variables/EXPLORE_PROMPT_METADATA.html +1 -0
  1774. package/docs/api/variables/EXTENSION_TO_LANGUAGE.html +2 -0
  1775. package/docs/api/variables/FEATURE_FLAG_KEY.html +2 -0
  1776. package/docs/api/variables/FRONTEND_ENGINEER_PROMPT_METADATA.html +1 -0
  1777. package/docs/api/variables/GITHUB_API_URL.html +1 -0
  1778. package/docs/api/variables/INSTALLER_CLAUDE_CONFIG_DIR.html +2 -0
  1779. package/docs/api/variables/INSTALLER_VERSION.html +2 -0
  1780. package/docs/api/variables/LINE_COMMENT_PATTERNS.html +2 -0
  1781. package/docs/api/variables/LONG_RUNNING_PATTERNS.html +3 -0
  1782. package/docs/api/variables/MANUAL_HEADER.html +1 -0
  1783. package/docs/api/variables/MAX_SKILLS_PER_SESSION.html +2 -0
  1784. package/docs/api/variables/MAX_SKILL_CONTENT_LENGTH.html +2 -0
  1785. package/docs/api/variables/MAX_WARNINGS.html +2 -0
  1786. package/docs/api/variables/MIN_QUALITY_SCORE.html +2 -0
  1787. package/docs/api/variables/MODE_CONFIGS.html +4 -0
  1788. package/docs/api/variables/MULTIMODAL_LOOKER_PROMPT_METADATA.html +1 -0
  1789. package/docs/api/variables/NON_EMPTY_CONTENT_RECOVERY_MESSAGE.html +2 -0
  1790. package/docs/api/variables/NON_INTERACTIVE_ENV.html +1 -0
  1791. package/docs/api/variables/NON_INTERACTIVE_ENV_HOOK_NAME.html +1 -0
  1792. package/docs/api/variables/NOTEPAD_BASE_PATH.html +2 -0
  1793. package/docs/api/variables/NOTEPAD_DEFAULT_CONFIG.html +1 -0
  1794. package/docs/api/variables/NOTEPAD_DIR.html +2 -0
  1795. package/docs/api/variables/NOTEPAD_FILENAME.html +1 -0
  1796. package/docs/api/variables/OMC_ORCHESTRATOR_HOOK_NAME.html +4 -0
  1797. package/docs/api/variables/ORCHESTRATOR_DELEGATION_REQUIRED.html +2 -0
  1798. package/docs/api/variables/PATTERNS_HEADER.html +1 -0
  1799. package/docs/api/variables/PLACEHOLDER_TEXT.html +3 -0
  1800. package/docs/api/variables/PLANNER_PLANS_DIR.html +2 -0
  1801. package/docs/api/variables/PLANNER_PROMPT_METADATA.html +1 -0
  1802. package/docs/api/variables/PLAN_EXTENSION.html +2 -0
  1803. package/docs/api/variables/PRD_EXAMPLE_FILENAME.html +1 -0
  1804. package/docs/api/variables/PRD_FILENAME.html +1 -0
  1805. package/docs/api/variables/PREEMPTIVE_DEFAULT_THRESHOLD.html +2 -0
  1806. package/docs/api/variables/PREVENTED_ERROR.html +2 -0
  1807. package/docs/api/variables/PRIORITY_HEADER.html +1 -0
  1808. package/docs/api/variables/PROGRESS_FILENAME.html +1 -0
  1809. package/docs/api/variables/PROJECT_MARKERS.html +2 -0
  1810. package/docs/api/variables/PROJECT_RULE_FILES.html +2 -0
  1811. package/docs/api/variables/PROJECT_RULE_SUBDIRS.html +2 -0
  1812. package/docs/api/variables/PROJECT_SKILLS_SUBDIR.html +2 -0
  1813. package/docs/api/variables/RAPID_FIRE_DEBOUNCE_MS.html +7 -0
  1814. package/docs/api/variables/README_FILENAME.html +2 -0
  1815. package/docs/api/variables/README_INJECTOR_STORAGE.html +1 -0
  1816. package/docs/api/variables/README_TRACKED_TOOLS.html +2 -0
  1817. package/docs/api/variables/RECOVERY_FAILED_MESSAGE.html +2 -0
  1818. package/docs/api/variables/RECOVERY_MESSAGES.html +2 -0
  1819. package/docs/api/variables/RECOVERY_PLACEHOLDER_TEXT.html +2 -0
  1820. package/docs/api/variables/REMINDER_MESSAGE.html +2 -0
  1821. package/docs/api/variables/REPO_NAME.html +1 -0
  1822. package/docs/api/variables/REPO_OWNER.html +2 -0
  1823. package/docs/api/variables/RETRY_CONFIG.html +6 -0
  1824. package/docs/api/variables/RULES_INJECTOR_STORAGE.html +1 -0
  1825. package/docs/api/variables/RULE_EXTENSIONS.html +2 -0
  1826. package/docs/api/variables/SHELL_COMMAND_PATTERNS.html +3 -0
  1827. package/docs/api/variables/SINGLE_TASK_DIRECTIVE.html +2 -0
  1828. package/docs/api/variables/SISYPHUS_JUNIOR_PROMPT_METADATA.html +1 -0
  1829. package/docs/api/variables/SKILL_EXTENSION.html +2 -0
  1830. package/docs/api/variables/SLASH_COMMAND_PATTERN.html +2 -0
  1831. package/docs/api/variables/STALE_STATE_MAX_AGE_MS.html +2 -0
  1832. package/docs/api/variables/SYNTHETIC_THINKING_ID_PREFIX.html +2 -0
  1833. package/docs/api/variables/TARGET_TOOLS.html +2 -0
  1834. package/docs/api/variables/THINKING_BLOCK_VALIDATOR_HOOK_NAME.html +2 -0
  1835. package/docs/api/variables/THINKING_CONFIGS.html +2 -0
  1836. package/docs/api/variables/THINKING_MODEL_PATTERNS.html +3 -0
  1837. package/docs/api/variables/THINKING_PART_TYPES.html +2 -0
  1838. package/docs/api/variables/TOKEN_LIMIT_KEYWORDS.html +2 -0
  1839. package/docs/api/variables/TOKEN_LIMIT_PATTERNS.html +2 -0
  1840. package/docs/api/variables/TOOL_PART_TYPES.html +2 -0
  1841. package/docs/api/variables/TRACKED_TOOLS.html +2 -0
  1842. package/docs/api/variables/TRUNCATE_CONFIG.html +6 -0
  1843. package/docs/api/variables/TRUNCATION_APPLIED_MESSAGE.html +2 -0
  1844. package/docs/api/variables/TYPE_CHECKER_PREFIXES.html +2 -0
  1845. package/docs/api/variables/ULTRAPILOT_DEFAULT_CONFIG.html +2 -0
  1846. package/docs/api/variables/USER_GATE_MESSAGE.html +1 -0
  1847. package/docs/api/variables/USER_RULE_DIR.html +2 -0
  1848. package/docs/api/variables/USER_SKILLS_DIR.html +2 -0
  1849. package/docs/api/variables/VERIFICATION_REMINDER.html +2 -0
  1850. package/docs/api/variables/VERSION_FILE.html +1 -0
  1851. package/docs/api/variables/WORKING_MEMORY_HEADER.html +1 -0
  1852. package/docs/api/variables/WRITE_EDIT_TOOLS.html +2 -0
  1853. package/docs/api/variables/allCustomTools.html +3 -0
  1854. package/docs/api/variables/analystAgent.html +1 -0
  1855. package/docs/api/variables/architectAgent.html +1 -0
  1856. package/docs/api/variables/astTools.html +2 -0
  1857. package/docs/api/variables/contextCollector.html +2 -0
  1858. package/docs/api/variables/criticAgent.html +1 -0
  1859. package/docs/api/variables/designerAgent.html +1 -0
  1860. package/docs/api/variables/executorAgent.html +1 -0
  1861. package/docs/api/variables/exploreAgent.html +1 -0
  1862. package/docs/api/variables/lspTools.html +2 -0
  1863. package/docs/api/variables/nonInteractiveEnvHook.html +8 -0
  1864. package/docs/api/variables/omcSystemPrompt.html +2 -0
  1865. package/docs/api/variables/omcToolNames.html +3 -0
  1866. package/docs/api/variables/omcToolsServer.html +4 -0
  1867. package/docs/api/variables/plannerAgent.html +1 -0
  1868. package/docs/api/variables/researcherAgent.html +1 -0
  1869. package/docs/api/variables/visionAgent.html +1 -0
  1870. package/docs/api/variables/writerAgent.html +1 -0
  1871. package/docs/features/.gitkeep +0 -0
  1872. package/docs/getting-started/.gitkeep +0 -0
  1873. package/docs/getting-started/concepts.md +103 -0
  1874. package/docs/getting-started/installation.md +100 -0
  1875. package/docs/getting-started/quickstart.md +96 -0
  1876. package/docs/guides/.gitkeep +0 -0
  1877. package/docs/guides/mcp-server-usage.md +240 -0
  1878. package/docs/guides/task-templates-guide.md +153 -0
  1879. package/docs/guides/tool-name-migration.md +97 -0
  1880. package/docs/guides/troubleshooting-guide.md +110 -0
  1881. package/docs/guides/v5.5.13-new-features.md +234 -0
  1882. package/docs/guides/wizard-user-guide.md +85 -0
  1883. package/docs/guides/workflow-recommendation-guide.md +97 -0
  1884. package/docs/mcp/README.md +82 -0
  1885. package/docs/mcp/client-guide.md +337 -0
  1886. package/docs/mcp/configuration.md +292 -0
  1887. package/docs/mcp/overview.md +204 -0
  1888. package/docs/mcp/performance.md +300 -0
  1889. package/docs/mcp/server-guide.md +300 -0
  1890. package/docs/mcp-compatibility-matrix.md +52 -0
  1891. package/docs/plans/2026-03-02-docs-comprehensive-update-design.md +187 -0
  1892. package/docs/plans/2026-03-02-docs-comprehensive-update.md +1395 -0
  1893. package/docs/plans/2026-03-05-mcp-adoption-atomic-tasks.md +1436 -0
  1894. package/docs/plans/2026-03-05-mcp-adoption-plan.md +531 -0
  1895. package/docs/prd/documentation-system-draft.md +227 -0
  1896. package/docs/prd/documentation-system-rough.md +515 -0
  1897. package/docs/prd/memory-evolution-optimize-rough.md +508 -0
  1898. package/docs/prd/user_guide-rough.md +636 -0
  1899. package/docs/reviews/documentation-system/review_critic.md +312 -0
  1900. package/docs/reviews/documentation-system/review_domain.md +390 -0
  1901. package/docs/reviews/documentation-system/review_product.md +151 -0
  1902. package/docs/reviews/documentation-system/review_tech.md +236 -0
  1903. package/docs/reviews/documentation-system/review_ux.md +213 -0
  1904. package/docs/reviews/documentation-system/summary.md +149 -0
  1905. package/docs/reviews/draft-prd-agent-observability/review_critic.md +71 -0
  1906. package/docs/reviews/draft-prd-agent-observability/review_domain.md +100 -0
  1907. package/docs/reviews/draft-prd-agent-observability/review_product.md +78 -0
  1908. package/docs/reviews/draft-prd-agent-observability/review_tech.md +66 -0
  1909. package/docs/reviews/draft-prd-agent-observability/review_ux.md +70 -0
  1910. package/docs/reviews/draft-prd-agent-observability/rough_prd.md +135 -0
  1911. package/docs/reviews/draft-prd-memory-evolution-optimize/review_critic.md +302 -0
  1912. package/docs/reviews/draft-prd-memory-evolution-optimize/review_domain.md +237 -0
  1913. package/docs/reviews/draft-prd-memory-evolution-optimize/review_product.md +140 -0
  1914. package/docs/reviews/draft-prd-memory-evolution-optimize/review_tech.md +240 -0
  1915. package/docs/reviews/draft-prd-memory-evolution-optimize/review_ux.md +121 -0
  1916. package/docs/reviews/draft-prd-three-directions/review_product.md +103 -0
  1917. package/docs/reviews/draft-prd-three-directions/review_tech.md +135 -0
  1918. package/docs/reviews/draft-prd-three-directions/review_ux.md +88 -0
  1919. package/docs/reviews/memory-evolution-optimize/summary.md +94 -0
  1920. package/docs/reviews/ultrapower-security/review_critic.md +450 -0
  1921. package/docs/reviews/ultrapower-tech-review/review_tech.md +180 -0
  1922. package/docs/reviews/user_guide/summary.md +129 -0
  1923. package/docs/standards/AGENTS.md +1 -1
  1924. package/docs/standards/README.md +3 -3
  1925. package/docs/standards/agent-lifecycle.md +80 -1
  1926. package/docs/standards/anti-patterns.md +1 -1
  1927. package/docs/standards/audit-report.md +2 -2
  1928. package/docs/standards/contribution-guide.md +67 -41
  1929. package/docs/standards/hook-execution-order.md +1 -1
  1930. package/docs/standards/runtime-protection.md +42 -1
  1931. package/docs/standards/state-machine.md +1 -1
  1932. package/docs/standards/user-guide.md +54 -1
  1933. package/docs/tasks/documentation-system/implementation-plan.md +292 -0
  1934. package/docs/tasks/documentation-system/manifest.md +425 -0
  1935. package/docs/tasks/memory-evolution-optimize/manifest.md +475 -0
  1936. package/docs/tasks/user_guide/manifest.md +333 -0
  1937. package/docs/troubleshooting/agent-timeouts.md +37 -0
  1938. package/docs/troubleshooting/common-errors.md +37 -0
  1939. package/docs/troubleshooting/hook-failures.md +29 -0
  1940. package/docs/troubleshooting/performance-issues.md +41 -0
  1941. package/docs/troubleshooting/state-corruption.md +36 -0
  1942. package/docs/troubleshooting/tool-name-length-error.md +57 -0
  1943. package/docs/troubleshooting.md +621 -0
  1944. package/package.json +4 -2
  1945. package/scripts/analyze-dependencies.ts +47 -0
  1946. package/scripts/analyze-hook-coverage.ts +55 -0
  1947. package/scripts/bump-version.mjs +14 -10
  1948. package/scripts/measure-memory.mjs +11 -0
  1949. package/scripts/memory-stress-test.mjs +39 -0
  1950. package/scripts/migrate-tool-names.js +100 -0
  1951. package/scripts/parallel-build.mjs +15 -0
  1952. package/scripts/performance-regression.ts +28 -0
  1953. package/scripts/plugin-setup.mjs +117 -1
  1954. package/scripts/profiling.ts +95 -0
  1955. package/scripts/release-steps.mjs +10 -4
  1956. package/scripts/run-profiling.ts +64 -0
  1957. package/scripts/test-parallel-execution.ts +72 -0
  1958. package/scripts/test-race-detection.ts +57 -0
  1959. package/scripts/test-tiered-writer.ts +60 -0
  1960. package/scripts/test-wal-integration.ts +29 -0
  1961. package/scripts/test-wal.ts +48 -0
  1962. package/scripts/verify-all.sh +122 -0
  1963. package/scripts/verify-install.sh +89 -0
  1964. package/skills/AGENTS.md +98 -28
  1965. package/skills/ax-evolve/SKILL.md +11 -1
  1966. package/skills/ax-export/SKILL.md +7 -8
  1967. package/skills/ax-knowledge/AGENTS.md +27 -2
  1968. package/skills/ax-knowledge/SKILL.md +39 -7
  1969. package/skills/ax-reflect/SKILL.md +2 -0
  1970. package/skills/ax-status/SKILL.md +34 -1
  1971. package/skills/executing-plans/SKILL.md +4 -4
  1972. package/skills/next-step-router/SKILL.md +17 -0
  1973. package/skills/release/SKILL.md +42 -0
  1974. package/skills/requesting-code-review/SKILL.md +3 -3
  1975. package/skills/subagent-driven-development/SKILL.md +8 -8
  1976. package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +1 -1
  1977. package/skills/systematic-debugging/SKILL.md +3 -3
  1978. package/skills/trace/SKILL.md +41 -0
  1979. package/skills/wizard/SKILL.md +103 -72
  1980. package/skills/writing-plans/SKILL.md +3 -3
  1981. package/skills/writing-skills/SKILL.md +4 -4
  1982. package/skills/writing-skills/testing-skills-with-subagents.md +1 -1
  1983. package/templates/tasks/README.md +45 -0
  1984. package/templates/tasks/bug-fix.md +37 -0
  1985. package/templates/tasks/code-review.md +36 -0
  1986. package/templates/tasks/feature-development.md +43 -0
  1987. package/templates/tasks/refactoring.md +37 -0
  1988. package/templates/tasks/security-audit.md +37 -0
  1989. package/docs/prd/ultrapower-standards-draft.md +0 -191
  1990. package/docs/prd/ultrapower-standards-rough.md +0 -560
  1991. package/docs/reviews/draft-prd-ultrapower-pain-fix/review_tech.md +0 -219
  1992. package/docs/reviews/draft_prd_pain_points/review_domain.md +0 -215
  1993. package/docs/reviews/ultrapower-full-bugfix-plan/review_product.md +0 -135
package/docs/REFERENCE.md CHANGED
@@ -1,19 +1,42 @@
1
- # 参考文档
1
+ <!-- ultrapower v5.5.5 | updated: 2026-03-02 -->
2
2
 
3
- ultrapower 完整参考手册。快速入门请参阅 [README.md](../README.md)。
3
+ # ultrapower Reference — v5.5.5
4
+
5
+ Complete reference manual for ultrapower. For quick start see [README.md](../README.md).
4
6
 
5
7
  ---
6
8
 
7
- ## 目录
9
+ ## Table of Contents
8
10
 
9
- - [Installation](#installation)
11
+ - [Installation & Quick Start](#installation--quick-start)
10
12
  - [Configuration](#configuration)
11
- - [Agents (49 Total)](#agents-49-total)
12
- - [Skills (71 Total)](#skills-71-total)
13
- - [Slash Commands](#slash-commands)
14
- - [Hooks System](#hooks-system)
13
+ - [Execution Modes](#execution-modes)
14
+ - [Agents (49 total)](#agents-49-total)
15
+ - [Build/Analysis Lane (8)](#buildanalysis-lane-8)
16
+ - [Review Lane (6)](#review-lane-6)
17
+ - [Domain Specialists (16)](#domain-specialists-16)
18
+ - [Product Lane (4)](#product-lane-4)
19
+ - [Axiom Lane (14)](#axiom-lane-14)
20
+ - [Coordination (1)](#coordination-1)
21
+ - [Skills (71 total)](#skills-71-total)
22
+ - [Workflow Skills](#workflow-skills)
23
+ - [Axiom Skills](#axiom-skills)
24
+ - [Superpowers Skills](#superpowers-skills)
25
+ - [Agent Shortcuts](#agent-shortcuts)
26
+ - [Utility Skills](#utility-skills)
27
+ - [Custom Tools (35 total)](#custom-tools-35-total)
28
+ - [LSP Tools (12)](#lsp-tools-12)
29
+ - [AST Tools (2)](#ast-tools-2)
30
+ - [Python REPL (1)](#python-repl-1)
31
+ - [Notepad Tools (6)](#notepad-tools-6)
32
+ - [State Tools (5)](#state-tools-5)
33
+ - [Project Memory Tools (4)](#project-memory-tools-4)
34
+ - [Trace Tools (2)](#trace-tools-2)
35
+ - [Skills Tools (3)](#skills-tools-3)
36
+ - [Hooks System (35 hooks)](#hooks-system-35-hooks)
37
+ - [MCP Integration](#mcp-integration)
38
+ - [Security & Safety Rules](#security--safety-rules)
15
39
  - [Magic Keywords](#magic-keywords)
16
- - [MCP Path Boundary Rules](#mcp-path-boundary-rules)
17
40
  - [Platform Support](#platform-support)
18
41
  - [Performance Monitoring](#performance-monitoring)
19
42
  - [Troubleshooting](#troubleshooting)
@@ -21,90 +44,109 @@ ultrapower 完整参考手册。快速入门请参阅 [README.md](../README.md)
21
44
 
22
45
  ---
23
46
 
24
- ## Installation
47
+ ## Installation & Quick Start
25
48
 
26
- **仅支持 Claude Code Plugin 安装方式。** 其他安装方式(npmbuncurl)已废弃,可能无法正常工作。
49
+ **Only the Claude Code Plugin installation method is supported.** Other methods (npm, bun, curl) are deprecated and may not work correctly.
27
50
 
28
- ### Claude Code Plugin(必须)
51
+ ### Claude Code Plugin (Required)
29
52
 
30
53
  ```bash
31
- # 第一步:添加插件市场
54
+ # Step 1: Add the plugin marketplace
32
55
  /plugin marketplace add https://github.com/liangjie559567/ultrapower
33
56
 
34
- # 第二步:安装插件
57
+ # Step 2: Install the plugin
35
58
  /plugin install omc@ultrapower
36
59
  ```
37
60
 
38
- 此方式直接集成到 Claude Code 的插件系统,使用 Node.js hooks
61
+ This method integrates directly into Claude Code's plugin system using Node.js hooks.
62
+
63
+ > **Note**: Direct global installation via npm/bun is **not supported**. The plugin system handles all installation and hook configuration automatically.
64
+
65
+ ### System Requirements
66
+
67
+ - [Claude Code](https://docs.anthropic.com/claude-code) installed
68
+ - One of:
69
+ - **Claude Max/Pro subscription** (recommended for personal use)
70
+ - **Anthropic API key** (`ANTHROPIC_API_KEY` environment variable)
39
71
 
40
- > **注意**:**不支持**直接通过 npm/bun 全局安装。插件系统会自动处理所有安装和 hook 配置。
72
+ ### Quick Start
41
73
 
42
- ### 系统要求
74
+ After installation, run the setup wizard:
75
+
76
+ ```
77
+ /ultrapower:omc-setup
78
+ ```
43
79
 
44
- - 已安装 [Claude Code](https://docs.anthropic.com/claude-code)
45
- - 以下之一:
46
- - **Claude Max/Pro 订阅**(推荐个人用户)
47
- - **Anthropic API key**(`ANTHROPIC_API_KEY` 环境变量)
80
+ Then try your first execution mode:
81
+
82
+ ```bash
83
+ # Autonomous execution
84
+ autopilot: build a REST API with authentication
85
+
86
+ # Maximum parallel agents
87
+ ultrawork: implement user authentication with OAuth
88
+
89
+ # Persistent execution loop
90
+ ralph: refactor the authentication module
91
+ ```
48
92
 
49
93
  ---
50
94
 
51
95
  ## Configuration
52
96
 
53
- ### 项目级配置(推荐)
97
+ ### Project-Level Configuration (Recommended)
54
98
 
55
- 仅为当前项目配置 omc
99
+ Configure omc for the current project only:
56
100
 
57
101
  ```
58
102
  /ultrapower:omc-setup
59
103
  ```
60
104
 
61
- - 在当前项目中创建 `./.claude/CLAUDE.md`
62
- - 配置仅对本项目生效
63
- - 不影响其他项目或全局设置
64
- - **安全**:保留你的全局 CLAUDE.md
105
+ - Creates `./.claude/CLAUDE.md` in the current project
106
+ - Configuration applies only to this project
107
+ - Does not affect other projects or global settings
108
+ - **Safe**: Preserves your global CLAUDE.md
65
109
 
66
- ### 全局配置
110
+ ### Global Configuration
67
111
 
68
- 为所有 Claude Code 会话配置 omc:
112
+ Configure omc for all Claude Code sessions:
69
113
 
70
114
  ```
71
115
  /ultrapower:omc-setup
72
116
  ```
73
117
 
74
- - 在全局创建 `~/.claude/CLAUDE.md`
75
- - 配置对所有项目生效
76
- - **警告**:会完全覆盖已有的 `~/.claude/CLAUDE.md`
77
-
78
- ### 配置启用的功能
118
+ - Creates `~/.claude/CLAUDE.md` globally
119
+ - Configuration applies to all projects
120
+ - **Warning**: Will completely overwrite existing `~/.claude/CLAUDE.md`
79
121
 
80
- | 功能 | 未配置 | 配置 omc 后 |
81
- |---------|---------|-----------------|
82
- | Agent delegation | 仅手动 | 根据任务自动委派 |
83
- | Keyword detection | 禁用 | ultrawork、search、analyze |
84
- | Todo continuation | 基础 | 强制完成 |
85
- | Model routing | 默认 | 智能分级选择 |
86
- | Skill composition | 无 | 自动组合 skills |
122
+ ### Configuration Priority
87
123
 
88
- ### 配置优先级
89
-
90
- 若两种配置同时存在,**项目级配置优先于**全局配置:
124
+ When both configurations exist, **project-level overrides** global:
91
125
 
92
126
  ```
93
- ./.claude/CLAUDE.md (project) Overrides ~/.claude/CLAUDE.md (global)
127
+ ./.claude/CLAUDE.md (project) -> Overrides -> ~/.claude/CLAUDE.md (global)
94
128
  ```
95
129
 
96
- ### 何时重新运行 Setup
130
+ ### Features Enabled by Configuration
131
+
132
+ | Feature | Without Config | With omc Config |
133
+ |---------|---------------|-----------------|
134
+ | Agent delegation | Manual only | Auto-delegated by task type |
135
+ | Keyword detection | Disabled | ultrawork, search, analyze |
136
+ | Todo continuation | Basic | Forced completion |
137
+ | Model routing | Default | Smart tiered selection |
138
+ | Skill composition | None | Automatic composition |
97
139
 
98
- - **首次使用**:安装后运行(选择项目级或全局)
99
- - **更新后**:重新运行以获取最新配置
100
- - **不同机器**:在每台使用 Claude Code 的机器上运行
101
- - **新项目**:在每个需要 omc 的项目中运行 `/ultrapower:omc-setup --local`
140
+ ### When to Re-run Setup
102
141
 
103
- > **注意**:通过 `npm update`、`git pull` Claude Code 插件更新后,必须重新运行 `/ultrapower:omc-setup` 以应用最新的 CLAUDE.md 变更。
142
+ - **First time**: Run after installation (choose project or global)
143
+ - **After updates**: Re-run to get the latest configuration
144
+ - **Different machines**: Run on each machine using Claude Code
145
+ - **New projects**: Run `/ultrapower:omc-setup --local` in each project that needs omc
104
146
 
105
- ### 权限配置(步骤 3.75)
147
+ ### Permission Configuration
106
148
 
107
- omc-setup 包含一个权限配置步骤,自动将常用工具权限写入 `~/.claude/settings.json`:
149
+ omc-setup includes a permission step that automatically writes common tool permissions to `~/.claude/settings.json`:
108
150
 
109
151
  ```json
110
152
  {
@@ -124,11 +166,9 @@ omc-setup 包含一个权限配置步骤,自动将常用工具权限写入 `~/
124
166
  }
125
167
  ```
126
168
 
127
- 此步骤避免每次工具调用时弹出权限确认对话框,提升工作流流畅度。如需跳过,在 setup 过程中选择"跳过"即可。
169
+ ### Agent Customization
128
170
 
129
- ### Agent 自定义
130
-
131
- 编辑 `~/.claude/agents/` 中的 agent 文件以自定义行为:
171
+ Edit agent files in `~/.claude/agents/` to customize behavior:
132
172
 
133
173
  ```yaml
134
174
  ---
@@ -141,27 +181,23 @@ model: opus # or sonnet, haiku
141
181
  Your custom system prompt here...
142
182
  ```
143
183
 
144
- ### 项目级配置文件
145
-
146
- 在项目中创建 `.claude/CLAUDE.md` 以添加项目专属说明:
184
+ ### Config File Reference
147
185
 
148
- ```markdown
149
- # Project Context
186
+ `~/.claude/.omc-config.json`:
150
187
 
151
- This is a TypeScript monorepo using:
152
- - Bun runtime
153
- - React for frontend
154
- - PostgreSQL database
155
-
156
- ## Conventions
157
- - Use functional components
158
- - All API routes in /src/api
159
- - Tests alongside source files
188
+ ```json
189
+ {
190
+ "defaultExecutionMode": "ultrawork",
191
+ "mcpServers": {
192
+ "context7": { "enabled": true },
193
+ "exa": { "enabled": true, "apiKey": "..." }
194
+ }
195
+ }
160
196
  ```
161
197
 
162
- ### Stop Callback 通知标签
198
+ ### Stop Callback Notification Tags
163
199
 
164
- 使用 `omc config-stop-callback` Telegram/Discord stop callbacks 配置标签。
200
+ Use `omc config-stop-callback` to configure tags for Telegram/Discord stop callbacks:
165
201
 
166
202
  ```bash
167
203
  # Set/replace tags
@@ -178,711 +214,828 @@ omc config-stop-callback telegram --show
178
214
  omc config-stop-callback discord --show
179
215
  ```
180
216
 
181
- 标签行为:
182
- - Telegram:`alice` 会被规范化为 `@alice`
183
- - Discord:支持 `@here`、`@everyone`、数字用户 ID(`<@id>`)和角色标签(`role:<id>` -> `<@&id>`)
184
- - `file` 类型的 callbacks 忽略标签选项
217
+ Tag behavior:
218
+ - Telegram: `alice` is normalized to `@alice`
219
+ - Discord: supports `@here`, `@everyone`, numeric user IDs (`<@id>`), and role tags (`role:<id>` -> `<@&id>`)
220
+ - `file` type callbacks ignore tag options
221
+
222
+ ---
223
+
224
+ ## Execution Modes
225
+
226
+ ultrapower provides 6 execution modes for different workflow needs:
227
+
228
+ | Mode | Trigger Keywords | Description |
229
+ |------|-----------------|-------------|
230
+ | `autopilot` | "autopilot", "build me", "I want a" | Fully autonomous execution from idea to working code |
231
+ | `ultrawork` | "ulw", "ultrawork" | Maximum parallel agent execution |
232
+ | `ralph` | "ralph", "don't stop", "must complete" | Self-referential loop until verified complete |
233
+ | `ultrapilot` | "ultrapilot", "parallel build" | Parallel autopilot with file ownership (Team compatibility facade) |
234
+ | `swarm` | "swarm" | N coordinated agents using Team pipeline (compatibility facade) |
235
+ | `pipeline` | "pipeline", "chain agents" | Sequential agent chain with data passing |
236
+
237
+ ### Mode Details
238
+
239
+ **autopilot** — Full autonomous execution. Detects task complexity, routes to appropriate agents, executes, validates with verifier. Can escalate to ralph for persistence or ultraqa for QA loops.
240
+
241
+ **ultrawork** — Maximum parallelism. Spawns multiple agents simultaneously for independent subtasks. Ideal for large-scale refactors or multi-file implementations.
242
+
243
+ **ralph** — Persistent execution loop. Runs until the verifier confirms completion. Includes ultrawork. Suitable for complex tasks that require multiple iterations.
244
+
245
+ **ultrapilot** — Maps to Team's phased runtime. Provides parallel execution with agent ownership tracking. Mutually exclusive with autopilot.
246
+
247
+ **swarm** — Routes to Team's phased pipeline. Preserves `/swarm` syntax. N coordinated agents with task claiming.
248
+
249
+ **pipeline** — Sequential agent chain. Each stage's output becomes the next stage's input. Explicit data passing between agents.
250
+
251
+ ### Team Pipeline Phases
252
+
253
+ The Team pipeline used by swarm/ultrapilot follows:
254
+
255
+ ```
256
+ team-plan -> team-prd -> team-exec -> team-verify -> team-fix (loop)
257
+ ```
258
+
259
+ Phase agent routing:
260
+ - `team-plan`: `explore` (haiku) + `planner` (opus), optional `analyst`/`architect`
261
+ - `team-prd`: `analyst` (opus), optional `product-manager`/`critic`
262
+ - `team-exec`: `executor` (sonnet) + domain specialists as needed
263
+ - `team-verify`: `verifier` (sonnet) + reviewers as needed
264
+ - `team-fix`: `executor`/`build-fixer`/`debugger` based on defect type
265
+
266
+ Terminal states: `complete`, `failed`, `cancelled`.
267
+
268
+ ---
269
+
270
+ ## Agents (49 total)
271
+
272
+ All agents are invoked via the `ultrapower:` prefix in Task calls.
273
+
274
+ ### Agent Selection Guide
275
+
276
+ | Task Type | Best Agent | Model |
277
+ |-----------|-----------|-------|
278
+ | Fast code lookup | `explore` | haiku |
279
+ | Feature implementation | `executor` | sonnet |
280
+ | Complex refactor / autonomous tasks | `deep-executor` | opus |
281
+ | Debug / root cause | `debugger` | sonnet |
282
+ | Completion verification | `verifier` | sonnet |
283
+ | System design / architecture | `architect` | opus |
284
+ | Strategic planning | `planner` | opus |
285
+ | Requirements analysis | `analyst` | opus |
286
+ | Review / critique a plan | `critic` | opus |
287
+ | UI components / design | `designer` | sonnet |
288
+ | Write docs / comments | `writer` | haiku |
289
+ | Research docs / APIs | `document-specialist` | sonnet |
290
+ | Analyze images / diagrams | `vision` | sonnet |
291
+ | Interactive CLI testing | `qa-tester` | sonnet |
292
+ | Security review | `security-reviewer` | sonnet |
293
+ | Fix build errors | `build-fixer` | sonnet |
294
+ | TDD workflow | `test-engineer` | sonnet |
295
+ | Comprehensive code review | `code-reviewer` | opus |
296
+ | Data analysis / statistics | `scientist` | sonnet |
297
+ | External packages / SDKs | `dependency-expert` | sonnet |
298
+ | Git commits / history | `git-master` | sonnet |
299
+ | Product requirements / PRD | `product-manager` | sonnet |
300
+ | Usability / accessibility audit | `ux-researcher` | sonnet |
301
+ | Information architecture | `information-architect` | sonnet |
302
+ | Product metrics / experiments | `product-analyst` | sonnet |
303
+
304
+ ---
305
+
306
+ ### Build/Analysis Lane (8)
307
+
308
+ | Agent | Model | Description |
309
+ |-------|-------|-------------|
310
+ | `explore` | haiku | Codebase discovery, symbol/file mapping |
311
+ | `analyst` | opus | Requirements clarification, acceptance criteria, hidden constraints |
312
+ | `planner` | opus | Task ordering, execution plans, risk flagging |
313
+ | `architect` | opus | System design, boundaries, interfaces, long-term trade-offs |
314
+ | `debugger` | sonnet | Root cause analysis, regression isolation, fault diagnosis |
315
+ | `executor` | sonnet | Code implementation, refactoring, feature development |
316
+ | `deep-executor` | opus | Complex autonomous goal-directed tasks |
317
+ | `verifier` | sonnet | Completion evidence, claim verification, test adequacy |
318
+
319
+ ---
320
+
321
+ ### Review Lane (6)
322
+
323
+ | Agent | Model | Description |
324
+ |-------|-------|-------------|
325
+ | `style-reviewer` | haiku | Formatting, naming, idiomatic style, lint rules |
326
+ | `quality-reviewer` | sonnet | Logic defects, maintainability, anti-patterns |
327
+ | `api-reviewer` | sonnet | API contracts, versioning, backward compatibility |
328
+ | `security-reviewer` | sonnet | Vulnerabilities, trust boundaries, auth/authz |
329
+ | `performance-reviewer` | sonnet | Hotspots, complexity, memory/latency optimization |
330
+ | `code-reviewer` | opus | Cross-concern comprehensive review |
331
+
332
+ ---
333
+
334
+ ### Domain Specialists (16)
335
+
336
+ | Agent | Model | Description |
337
+ |-------|-------|-------------|
338
+ | `dependency-expert` | sonnet | External SDK/API/package evaluation |
339
+ | `test-engineer` | sonnet | Test strategy, coverage, flaky test hardening |
340
+ | `quality-strategist` | sonnet | Quality strategy, release readiness, risk assessment |
341
+ | `build-fixer` | sonnet | Build/toolchain/type error repair |
342
+ | `designer` | sonnet | UX/UI architecture, interaction design |
343
+ | `writer` | haiku | Documentation, migration notes, user guides |
344
+ | `qa-tester` | sonnet | Interactive CLI/service runtime validation |
345
+ | `scientist` | sonnet | Data/statistical analysis |
346
+ | `document-specialist` | sonnet | External documentation and reference lookup |
347
+ | `git-master` | sonnet | Commit strategy, history management |
348
+ | `vision` | sonnet | Image/screenshot/diagram analysis |
349
+ | `database-expert` | sonnet | Database design, query optimization, and migrations |
350
+ | `devops-engineer` | sonnet | CI/CD, containerization, infrastructure-as-code |
351
+ | `i18n-specialist` | sonnet | Internationalization, localization, multilingual support |
352
+ | `accessibility-auditor` | sonnet | Web accessibility review and WCAG compliance |
353
+ | `api-designer` | sonnet | REST/GraphQL API design and contract definition |
354
+
355
+ Deprecated aliases (backward compatible):
356
+ - `researcher` -> `document-specialist`
357
+ - `tdd-guide` -> `test-engineer`
358
+
359
+ ---
360
+
361
+ ### Product Lane (4)
362
+
363
+ | Agent | Model | Description |
364
+ |-------|-------|-------------|
365
+ | `product-manager` | sonnet | Problem framing, user personas/JTBD, PRD |
366
+ | `ux-researcher` | sonnet | Heuristic audit, usability, accessibility |
367
+ | `information-architect` | sonnet | Taxonomy, navigation, discoverability |
368
+ | `product-analyst` | sonnet | Product metrics, funnel analysis, experiments |
369
+
370
+ ---
371
+
372
+ ### Axiom Lane (14)
373
+
374
+ | Agent | Model | Description |
375
+ |-------|-------|-------------|
376
+ | `axiom-requirement-analyst` | sonnet | Requirements tri-state gate (PASS/CLARIFY/REJECT) |
377
+ | `axiom-product-designer` | sonnet | Draft PRD generation with Mermaid flowcharts |
378
+ | `axiom-review-aggregator` | sonnet | 5-expert parallel review aggregation and conflict arbitration |
379
+ | `axiom-prd-crafter` | sonnet | Engineering-grade PRD with gated validation |
380
+ | `axiom-system-architect` | sonnet | Atomic task DAG and Manifest generation |
381
+ | `axiom-evolution-engine` | sonnet | Knowledge harvesting, pattern detection, workflow optimization |
382
+ | `axiom-context-manager` | sonnet | 7-operation memory system (read/write/state/checkpoint) |
383
+ | `axiom-worker` | sonnet | PM->Worker protocol, tri-state output (QUESTION/COMPLETE/BLOCKED) |
384
+ | `axiom-ux-director` | sonnet | UX/experience expert review, outputs review_ux.md |
385
+ | `axiom-product-director` | sonnet | Product strategy expert review, outputs review_product.md |
386
+ | `axiom-domain-expert` | sonnet | Domain knowledge expert review, outputs review_domain.md |
387
+ | `axiom-tech-lead` | sonnet | Technical feasibility review, outputs review_tech.md |
388
+ | `axiom-critic` | sonnet | Security/quality/logic review, outputs review_critic.md |
389
+ | `axiom-sub-prd-writer` | sonnet | Decompose Manifest tasks into executable Sub-PRDs |
185
390
 
186
391
  ---
187
392
 
188
- ## Agents(49 Total)
189
-
190
- 通过 Task 工具调用时,始终使用 `ultrapower:` 前缀。
191
-
192
- ### 按领域和层级分类
193
-
194
- | 领域 | Agent | 默认模型 | 说明 |
195
- |--------|-------|----------|------|
196
- | **分析/规划** | `explore` | haiku | 代码库发现、符号/文件映射 |
197
- | **分析/规划** | `analyst` | opus | 需求分析、验收标准 |
198
- | **分析/规划** | `planner` | opus | 任务排序、执行计划 |
199
- | **分析/规划** | `architect` | opus | 系统设计、接口、长期权衡 |
200
- | **执行** | `debugger` | sonnet | 根因分析、回归隔离 |
201
- | **执行** | `executor` | sonnet | 代码实现、重构、功能开发 |
202
- | **执行** | `deep-executor` | opus | 复杂自主目标导向任务 |
203
- | **执行** | `verifier` | sonnet | 完成证据、声明验证 |
204
- | **代码审查** | `style-reviewer` | haiku | 格式、命名、lint 规范 |
205
- | **代码审查** | `quality-reviewer` | sonnet | 逻辑缺陷、可维护性 |
206
- | **代码审查** | `api-reviewer` | sonnet | API 契约、版本兼容性 |
207
- | **代码审查** | `security-reviewer` | sonnet | 漏洞、信任边界、认证授权 |
208
- | **代码审查** | `performance-reviewer` | sonnet | 热点、复杂度、内存/延迟 |
209
- | **代码审查** | `code-reviewer` | opus | 跨关注点综合审查 |
210
- | **领域专家** | `dependency-expert` | sonnet | 外部 SDK/API/包评估 |
211
- | **领域专家** | `test-engineer` | sonnet | 测试策略、覆盖率、flaky 测试 |
212
- | **领域专家** | `quality-strategist` | sonnet | 质量策略、发布就绪、风险评估 |
213
- | **领域专家** | `build-fixer` | sonnet | 构建/工具链/类型错误修复 |
214
- | **领域专家** | `designer` | sonnet | UX/UI 架构、交互设计 |
215
- | **领域专家** | `writer` | haiku | 文档、迁移说明、用户指南 |
216
- | **领域专家** | `qa-tester` | sonnet | 交互式 CLI/服务运行时验证 |
217
- | **领域专家** | `scientist` | sonnet | 数据/统计分析 |
218
- | **领域专家** | `document-specialist` | sonnet | 外部文档与参考查找 |
219
- | **领域专家** | `git-master` | sonnet | 提交策略、历史管理 |
220
- | **领域专家** | `vision` | sonnet | 图片/截图/图表分析 |
221
- | **领域专家** | `database-expert` | sonnet | 数据库设计、查询优化和迁移 |
222
- | **领域专家** | `devops-engineer` | sonnet | CI/CD、容器化、基础设施即代码 |
223
- | **领域专家** | `i18n-specialist` | sonnet | 国际化、本地化和多语言支持 |
224
- | **领域专家** | `accessibility-auditor` | sonnet | Web 无障碍审查和 WCAG 合规 |
225
- | **领域专家** | `api-designer` | sonnet | REST/GraphQL API 设计和契约定义 |
226
- | **协调** | `critic` | opus | 计划/设计批判性挑战 |
227
- | **产品** | `product-manager` | sonnet | 问题框架、PRD |
228
- | **产品** | `ux-researcher` | sonnet | 启发式审计、可用性、无障碍 |
229
- | **产品** | `information-architect` | sonnet | 分类、导航、可发现性 |
230
- | **产品** | `product-analyst` | sonnet | 产品指标、漏斗分析、实验 |
231
- | **废弃别名** | `researcher` | - | 已废弃,映射到 `document-specialist` |
232
- | **废弃别名** | `tdd-guide` | - | 已废弃,映射到 `test-engineer` |
233
- | **Axiom** | `axiom-requirement-analyst` | sonnet | 需求分析三态门(PASS/CLARIFY/REJECT) |
234
- | **Axiom** | `axiom-product-designer` | sonnet | Draft PRD 生成,含 Mermaid 流程图 |
235
- | **Axiom** | `axiom-review-aggregator` | sonnet | 5 专家并行审查聚合与冲突仲裁 |
236
- | **Axiom** | `axiom-prd-crafter` | sonnet | 工程级 PRD,含门控验证 |
237
- | **Axiom** | `axiom-system-architect` | sonnet | 原子任务 DAG 与 Manifest 生成 |
238
- | **Axiom** | `axiom-evolution-engine` | sonnet | 知识收割、模式检测、工作流优化 |
239
- | **Axiom** | `axiom-context-manager` | sonnet | 7 操作记忆系统(读/写/状态/检查点) |
240
- | **Axiom** | `axiom-worker` | sonnet | PM→Worker 协议,三态输出(QUESTION/COMPLETE/BLOCKED) |
241
- | **Axiom 专家** | `axiom-ux-director` | sonnet | UX/体验专家评审,输出 review_ux.md |
242
- | **Axiom 专家** | `axiom-product-director` | sonnet | 产品战略专家评审,输出 review_product.md |
243
- | **Axiom 专家** | `axiom-domain-expert` | sonnet | 领域知识专家评审,输出 review_domain.md |
244
- | **Axiom 专家** | `axiom-tech-lead` | sonnet | 技术可行性评审,输出 review_tech.md |
245
- | **Axiom 专家** | `axiom-critic` | sonnet | 安全/质量/逻辑评审,输出 review_critic.md |
246
- | **Axiom 专家** | `axiom-sub-prd-writer` | sonnet | 将 Manifest 任务拆解为可执行 Sub-PRD |
247
-
248
- ### Agent 选择指南
249
-
250
- | 任务类型 | 最佳 Agent | 模型 |
251
- |-----------|------------|-------|
252
- | 快速代码查找 | `explore` | haiku |
253
- | 功能实现 | `executor` | sonnet |
254
- | 复杂重构/自主任务 | `deep-executor` | opus |
255
- | 调试/根因分析 | `debugger` | sonnet |
256
- | 完成验证 | `verifier` | sonnet |
257
- | 系统设计/架构 | `architect` | opus |
258
- | 战略规划 | `planner` | opus |
259
- | 需求分析 | `analyst` | opus |
260
- | 审查/评审计划 | `critic` | opus |
261
- | UI 组件/设计 | `designer` | sonnet |
262
- | 编写文档/注释 | `writer` | haiku |
263
- | 研究文档/API | `document-specialist` | sonnet |
264
- | 分析图片/图表 | `vision` | sonnet |
265
- | 交互式测试 CLI | `qa-tester` | sonnet |
266
- | 安全审查 | `security-reviewer` | sonnet |
267
- | 修复构建错误 | `build-fixer` | sonnet |
268
- | TDD 工作流 | `test-engineer` | sonnet |
269
- | 代码审查 | `code-reviewer` | opus |
270
- | 数据分析/统计 | `scientist` | sonnet |
271
- | 外部包/SDK 评估 | `dependency-expert` | sonnet |
272
- | Git 提交/历史 | `git-master` | sonnet |
273
- | 产品需求/PRD | `product-manager` | sonnet |
274
- | 可用性/无障碍审计 | `ux-researcher` | sonnet |
275
- | 信息架构 | `information-architect` | sonnet |
276
- | 产品指标/实验 | `product-analyst` | sonnet |
393
+ ### Coordination (1)
394
+
395
+ | Agent | Model | Description |
396
+ |-------|-------|-------------|
397
+ | `critic` | opus | Critical challenge of plans and designs |
277
398
 
278
399
  ---
279
400
 
280
- ## Skills(共 71 个)
281
-
282
- ### 核心 Skills
283
-
284
- | Skill | 说明 | 手动命令 |
285
- |-------|-------------|----------------|
286
- | `autopilot` | 从想法到可运行代码的全自主执行 | `/ultrapower:autopilot` |
287
- | `ultrawork` | 并行 agents 最大性能模式 | `/ultrapower:ultrawork` |
288
- | `ultrapilot` | 并行 autopilot,速度提升 3-5 倍 | `/ultrapower:ultrapilot` |
289
- | `swarm` | N 个协调 agents 并行认领任务 | `/ultrapower:swarm` |
290
- | `team` | N 个协调 agents 使用 Claude Code 原生 team | `/ultrapower:team` |
291
- | `pipeline` | 顺序 agent 链式执行 | `/ultrapower:pipeline` |
292
- | `ralph` | 自引用开发直至完成 | `/ultrapower:ralph` |
293
- | `ralph-init` | 初始化 PRD 以进行结构化任务跟踪 | `/ultrapower:ralph-init` |
294
- | `ultraqa` | 自主 QA 循环工作流 | `/ultrapower:ultraqa` |
295
- | `plan` | 启动规划会话 | `/ultrapower:plan` |
296
- | `ralplan` | 迭代规划(Planner+Architect+Critic) | `/ultrapower:ralplan` |
297
- | `review` | 用 critic 审查工作计划 | `/ultrapower:review` |
298
-
299
- ### 工作流 Skills
300
-
301
- | Skill | 说明 | 手动命令 |
302
- |-------|-------------|----------------|
303
- | `brainstorming` | 实现前探索需求和设计方案 | `/ultrapower:brainstorming` |
304
- | `writing-plans` | 将需求拆解为原子任务计划 | `/ultrapower:writing-plans` |
305
- | `subagent-driven-development` | 当前 session 中执行独立任务 | `/ultrapower:subagent-driven-development` |
306
- | `executing-plans` | 在独立 session 中执行计划 | `/ultrapower:executing-plans` |
307
- | `test-driven-development` | TDD 强制执行:测试优先开发 | `/ultrapower:test-driven-development` |
308
- | `systematic-debugging` | 系统化调试工作流 | `/ultrapower:systematic-debugging` |
309
- | `requesting-code-review` | 完成任务后请求代码审查 | `/ultrapower:requesting-code-review` |
310
- | `receiving-code-review` | 接收并处理代码审查反馈 | `/ultrapower:receiving-code-review` |
311
- | `finishing-a-development-branch` | 完成开发分支并整合工作 | `/ultrapower:finishing-a-development-branch` |
312
- | `using-git-worktrees` | 创建隔离 git worktree 工作区 | `/ultrapower:using-git-worktrees` |
313
- | `verification-before-completion` | 声明完成前运行验证 | `/ultrapower:verification-before-completion` |
314
- | `using-superpowers` | 建立 skill 使用规则 | `/ultrapower:using-superpowers` |
315
- | `dispatching-parallel-agents` | 并行分发独立任务给多个 agents | `/ultrapower:dispatching-parallel-agents` |
316
-
317
- ### 增强 Skills
318
-
319
- | Skill | 说明 | 手动命令 |
320
- |-------|-------------|----------------|
321
- | `next-step-router` | 关键节点路由,推荐最优下一步 skill/agent | (内部调用) |
322
- | `deepinit` | 分层 AGENTS.md 代码库文档化 | `/ultrapower:deepinit` |
323
- | `deepsearch` | 多策略深度代码库搜索 | `/ultrapower:deepsearch` |
324
- | `analyze` | 深度分析与调查 | `/ultrapower:analyze` |
325
- | `sciomc` | 并行 scientist 编排 | `/ultrapower:sciomc` |
326
- | `external-context` | 并行 document-specialist 网络搜索 | `/ultrapower:external-context` |
327
- | `ccg` | Claude-Codex-Gemini 三模型并行编排 | `/ultrapower:ccg` |
328
- | `frontend-ui-ux` | 设计师转开发者的 UI/UX 专业能力 | (静默激活) |
329
- | `git-master` | Git 专家,处理原子提交和历史管理 | (静默激活) |
330
- | `tdd` | TDD 强制执行(`test-driven-development` 别名) | `/ultrapower:tdd` |
331
- | `learner` | 从会话中提取可复用 skill | `/ultrapower:learner` |
332
- | `build-fix` | 修复构建和 TypeScript 错误 | `/ultrapower:build-fix` |
333
- | `code-review` | 全面代码审查 | `/ultrapower:code-review` |
334
- | `security-review` | 安全漏洞检测 | `/ultrapower:security-review` |
335
- | `trace` | 显示 agent 流程追踪时间线 | `/ultrapower:trace` |
336
- | `learn-about-omc` | 了解 OMC 使用模式并获取建议 | `/ultrapower:learn-about-omc` |
337
- | `writing-skills` | 创建/编辑/验证 skills | `/ultrapower:writing-skills` |
338
-
339
- ### 工具 Skills
340
-
341
- | Skill | 说明 | 手动命令 |
342
- |-------|-------------|----------------|
343
- | `note` | 保存笔记到抗压缩 notepad | `/ultrapower:note` |
344
- | `cancel` | 统一取消所有模式 | `/ultrapower:cancel` |
345
- | `omc-setup` | 一次性安装向导 | `/ultrapower:omc-setup` |
346
- | `omc-doctor` | 诊断并修复安装问题 | `/ultrapower:omc-doctor` |
347
- | `omc-help` | 显示 OMC 使用指南 | `/ultrapower:omc-help` |
348
- | `hud` | 配置 HUD 状态栏 | `/ultrapower:hud` |
349
- | `release` | 自动化发布工作流 | `/ultrapower:release` |
350
- | `mcp-setup` | 配置 MCP 服务器 | `/ultrapower:mcp-setup` |
351
- | `writer-memory` | 面向写作者的 agent 记忆系统 | `/ultrapower:writer-memory` |
352
- | `project-session-manager` | 管理隔离开发环境(git worktrees + tmux) | `/ultrapower:project-session-manager` |
353
- | `psm` | project-session-manager 别名 | `/ultrapower:psm` |
354
- | `skill` | 管理本地 skills(列出、添加、删除、搜索、编辑) | `/ultrapower:skill` |
355
- | `configure-discord` | 配置 Discord webhook/bot 通知 | `/ultrapower:configure-discord` |
356
- | `configure-telegram` | 配置 Telegram bot 通知 | `/ultrapower:configure-telegram` |
357
- | `wizard` | 交互式配置向导 | `/ultrapower:wizard` |
358
- | `nexus` | 主动学习系统管理(Phase 2 自我改进) | `/ultrapower:nexus` |
401
+ ## Skills (71 total)
402
+
403
+ All skills are invocable as slash commands with `/ultrapower:` prefix.
404
+
405
+ ### Workflow Skills
406
+
407
+ Core orchestration and execution skills:
408
+
409
+ | Skill | Command | Description |
410
+ |-------|---------|-------------|
411
+ | `autopilot` | `/ultrapower:autopilot` | Fully autonomous execution from idea to working code |
412
+ | `ultrawork` | `/ultrapower:ultrawork` | Maximum parallel agent execution |
413
+ | `ultrapilot` | `/ultrapower:ultrapilot` | Parallel autopilot, 3-5x speed improvement |
414
+ | `swarm` | `/ultrapower:swarm` | N coordinated agents with Team pipeline |
415
+ | `team` | `/ultrapower:team` | N coordinated agents using Claude Code native team |
416
+ | `pipeline` | `/ultrapower:pipeline` | Sequential agent chain with data passing |
417
+ | `ralph` | `/ultrapower:ralph` | Self-referential development until complete |
418
+ | `ralph-init` | `/ultrapower:ralph-init` | Initialize PRD for structured task tracking |
419
+ | `ultraqa` | `/ultrapower:ultraqa` | Autonomous QA loop workflow |
420
+ | `plan` | `/ultrapower:plan` | Start a planning session |
421
+ | `ralplan` | `/ultrapower:ralplan` | Iterative planning (Planner+Architect+Critic) |
422
+ | `review` | `/ultrapower:review` | Review a work plan with critic |
423
+ | `ccg` | `/ultrapower:ccg` | Claude-Codex-Gemini three-model parallel orchestration |
424
+
425
+ ---
359
426
 
360
427
  ### Axiom Skills
361
428
 
362
- | Skill | 说明 | 手动命令 |
363
- |-------|-------------|----------------|
364
- | `ax-analyze-error` | 分析错误并生成修复方案 | `/ultrapower:ax-analyze-error` |
365
- | `ax-context` | 加载/保存 Axiom 上下文快照 | `/ultrapower:ax-context` |
366
- | `ax-decompose` | 将需求分解为原子任务 DAG | `/ultrapower:ax-decompose` |
367
- | `ax-draft` | 生成 Draft PRD | `/ultrapower:ax-draft` |
368
- | `ax-evolution` | 查看知识演化历史 | `/ultrapower:ax-evolution` |
369
- | `ax-evolve` | 触发知识收割与工作流优化 | `/ultrapower:ax-evolve` |
370
- | `ax-implement` | 执行 Axiom 任务实现 | `/ultrapower:ax-implement` |
371
- | `ax-reflect` | 任务完成后反思与学习 | `/ultrapower:ax-reflect` |
372
- | `ax-review` | 5 专家并行审查聚合 | `/ultrapower:ax-review` |
373
- | `ax-rollback` | 回滚到上一个检查点 | `/ultrapower:ax-rollback` |
374
- | `ax-status` | 查看 Axiom 工作流状态 | `/ultrapower:ax-status` |
375
- | `ax-suspend` | 挂起当前工作流并保存状态 | `/ultrapower:ax-suspend` |
376
- | `ax-knowledge` | 查询 Axiom 知识库 | `/ultrapower:ax-knowledge` |
377
- | `ax-export` | 导出 Axiom 工作流产物 | `/ultrapower:ax-export` |
429
+ | Skill | Command | Description |
430
+ |-------|---------|-------------|
431
+ | `ax-draft` | `/ultrapower:ax-draft` | Requirements clarification -> Draft PRD -> user confirm |
432
+ | `ax-review` | `/ultrapower:ax-review` | 5-expert parallel review -> aggregation -> Rough PRD |
433
+ | `ax-decompose` | `/ultrapower:ax-decompose` | Rough PRD -> system architecture -> atomic task DAG |
434
+ | `ax-implement` | `/ultrapower:ax-implement` | Execute Axiom tasks with CI gate, auto-repair |
435
+ | `ax-analyze-error` | `/ultrapower:ax-analyze-error` | Root cause diagnosis -> auto-fix -> knowledge queue |
436
+ | `ax-reflect` | `/ultrapower:ax-reflect` | Session reflection -> experience extraction -> action items |
437
+ | `ax-evolve` | `/ultrapower:ax-evolve` | Process learning queue -> update knowledge base -> pattern detection |
438
+ | `ax-status` | `/ultrapower:ax-status` | Full system status dashboard |
439
+ | `ax-rollback` | `/ultrapower:ax-rollback` | Roll back to the last checkpoint (user confirmation required) |
440
+ | `ax-suspend` | `/ultrapower:ax-suspend` | Save session state and safely exit |
441
+ | `ax-context` | `/ultrapower:ax-context` | Directly operate the Axiom memory system |
442
+ | `ax-evolution` | `/ultrapower:ax-evolution` | Evolution engine unified entry (evolve/reflect/knowledge/patterns) |
443
+ | `ax-knowledge` | `/ultrapower:ax-knowledge` | Query the Axiom knowledge base |
444
+ | `ax-export` | `/ultrapower:ax-export` | Export Axiom workflow artifacts as portable zip |
378
445
 
379
446
  ---
380
447
 
381
- ## Slash Commands
382
-
383
- 所有 skills 均可通过 `/ultrapower:` 前缀作为 slash 命令使用。
384
-
385
- | 命令 | 说明 |
386
- |---------|-------------|
387
- | `/ultrapower:autopilot <task>` | 全自主执行 |
388
- | `/ultrapower:ultrawork <task>` | 并行 agents 最大性能模式 |
389
- | `/ultrapower:ultrapilot <task>` | 并行 autopilot(速度提升 3-5 倍) |
390
- | `/ultrapower:swarm <N>:<agent> <task>` | 协调 agent 集群 |
391
- | `/ultrapower:team <task>` | N 个协调 agents(Claude Code 原生 team) |
392
- | `/ultrapower:pipeline <stages>` | 顺序 agent 链式执行 |
393
- | `/ultrapower:ralph-init <task>` | 初始化 PRD 以进行结构化任务跟踪 |
394
- | `/ultrapower:ralph <task>` | 自引用循环直至任务完成 |
395
- | `/ultrapower:ultraqa <goal>` | 自主 QA 循环工作流 |
396
- | `/ultrapower:plan <description>` | 启动规划会话 |
397
- | `/ultrapower:ralplan <description>` | 共识迭代规划 |
398
- | `/ultrapower:review [plan-path]` | critic 审查计划 |
399
- | `/ultrapower:brainstorming` | 实现前探索需求和设计方案 |
400
- | `/ultrapower:writing-plans <task>` | 将需求拆解为原子任务计划 |
401
- | `/ultrapower:test-driven-development <feature>` | TDD 工作流强制执行 |
402
- | `/ultrapower:systematic-debugging` | 系统化调试工作流 |
403
- | `/ultrapower:requesting-code-review` | 请求代码审查 |
404
- | `/ultrapower:receiving-code-review` | 处理代码审查反馈 |
405
- | `/ultrapower:finishing-a-development-branch` | 完成开发分支 |
406
- | `/ultrapower:using-git-worktrees` | 创建隔离 git worktree |
407
- | `/ultrapower:verification-before-completion` | 声明完成前验证 |
408
- | `/ultrapower:dispatching-parallel-agents` | 并行分发独立任务 |
409
- | `/ultrapower:deepsearch <query>` | 多策略深度代码库搜索 |
410
- | `/ultrapower:deepinit [path]` | 用分层 AGENTS.md 文件索引代码库 |
411
- | `/ultrapower:analyze <target>` | 深度分析与调查 |
412
- | `/ultrapower:sciomc <topic>` | 并行研究编排 |
413
- | `/ultrapower:ccg <task>` | Claude-Codex-Gemini 三模型并行编排 |
414
- | `/ultrapower:external-context <query>` | 并行网络搜索 |
415
- | `/ultrapower:tdd <feature>` | TDD 工作流(test-driven-development 别名) |
416
- | `/ultrapower:learner` | 从会话中提取可复用 skill |
417
- | `/ultrapower:trace` | 显示 agent 流程追踪时间线 |
418
- | `/ultrapower:note <content>` | 保存笔记到 notepad.md |
419
- | `/ultrapower:cancel` | 统一取消 |
420
- | `/ultrapower:omc-setup` | 一次性安装向导 |
421
- | `/ultrapower:omc-doctor` | 诊断并修复安装问题 |
422
- | `/ultrapower:omc-help` | 显示 OMC 使用指南 |
423
- | `/ultrapower:hud` | 配置 HUD 状态栏 |
424
- | `/ultrapower:release` | 自动化发布工作流 |
425
- | `/ultrapower:mcp-setup` | 配置 MCP 服务器 |
426
- | `/ultrapower:configure-discord` | 配置 Discord 通知 |
427
- | `/ultrapower:configure-telegram` | 配置 Telegram 通知 |
428
- | `/ultrapower:project-session-manager` | 管理隔离开发环境 |
429
- | `/ultrapower:skill` | 管理本地 skills |
430
- | `/ultrapower:writing-skills` | 创建/编辑/验证 skills |
431
- | `/ultrapower:learn-about-omc` | 了解 OMC 使用模式 |
448
+ ### Superpowers Skills
449
+
450
+ Structured guidance for advanced workflows:
451
+
452
+ | Skill | Command | Description |
453
+ |-------|---------|-------------|
454
+ | `brainstorming` | `/ultrapower:brainstorming` | Structured exploration of requirements and design options |
455
+ | `writing-plans` | `/ultrapower:writing-plans` | Decompose requirements into atomic task plans |
456
+ | `subagent-driven-development` | `/ultrapower:subagent-driven-development` | Execute independent tasks in current session |
457
+ | `executing-plans` | `/ultrapower:executing-plans` | Execute plans in independent sessions |
458
+ | `test-driven-development` | `/ultrapower:test-driven-development` | TDD enforcement: test-first development |
459
+ | `systematic-debugging` | `/ultrapower:systematic-debugging` | Systematic debugging workflow |
460
+ | `requesting-code-review` | `/ultrapower:requesting-code-review` | Request code review after task completion |
461
+ | `receiving-code-review` | `/ultrapower:receiving-code-review` | Receive and process code review feedback |
462
+ | `finishing-a-development-branch` | `/ultrapower:finishing-a-development-branch` | Complete development branch and integrate work |
463
+ | `using-git-worktrees` | `/ultrapower:using-git-worktrees` | Create isolated git worktree workspaces |
464
+ | `verification-before-completion` | `/ultrapower:verification-before-completion` | Run verification before claiming completion |
465
+ | `using-superpowers` | `/ultrapower:using-superpowers` | Establish skill usage rules |
466
+ | `dispatching-parallel-agents` | `/ultrapower:dispatching-parallel-agents` | Dispatch independent tasks to multiple agents in parallel |
467
+ | `next-step-router` | (internal) | Analyze outputs at critical nodes, recommend optimal next step |
468
+ | `writing-skills` | `/ultrapower:writing-skills` | Create/edit/validate skills |
432
469
 
433
470
  ---
434
471
 
435
- ## Hooks System
472
+ ### Agent Shortcuts
436
473
 
437
- ultrapower 包含 47 个生命周期 hooks,用于增强 Claude Code 的行为。
474
+ Lightweight wrappers for common agent invocations:
438
475
 
439
- ### 执行模式 Hooks
476
+ | Skill | Command | Routes To | Triggers |
477
+ |-------|---------|-----------|---------|
478
+ | `analyze` | `/ultrapower:analyze` | `debugger` | "analyze", "debug", "investigate" |
479
+ | `deepsearch` | `/ultrapower:deepsearch` | `explore` | "search", "find in codebase" |
480
+ | `tdd` | `/ultrapower:tdd` | `test-engineer` | "tdd", "test first", "red green" |
481
+ | `build-fix` | `/ultrapower:build-fix` | `build-fixer` | "fix build", "type errors" |
482
+ | `code-review` | `/ultrapower:code-review` | `code-reviewer` | "review code" |
483
+ | `security-review` | `/ultrapower:security-review` | `security-reviewer` | "security review" |
484
+ | `frontend-ui-ux` | (silent activation) | `designer` | UI/component/styling work |
485
+ | `git-master` | (silent activation) | `git-master` | git/commit work |
486
+ | `sciomc` | `/ultrapower:sciomc` | parallel `scientist` | "sciomc" |
487
+ | `external-context` | `/ultrapower:external-context` | parallel `document-specialist` | web search |
440
488
 
441
- | Hook | 说明 |
442
- |------|-------------|
443
- | `autopilot` | 从想法到可运行代码的全自主执行 |
444
- | `ultrawork` | 最大并行 agent 执行 |
445
- | `ralph` | 持续执行直至验证完成 |
446
- | `ultrapilot` | 带文件所有权的并行 autopilot |
447
- | `ultraqa` | QA 循环直至目标达成 |
448
- | `mode-registry` | 跟踪当前执行模式(含 ultrawork、ralph、team 等) |
449
- | `persistent-mode` | 跨会话维护模式状态 |
489
+ ---
450
490
 
451
- ### 核心 Hooks
491
+ ### Utility Skills
492
+
493
+ | Skill | Command | Description |
494
+ |-------|---------|-------------|
495
+ | `note` | `/ultrapower:note` | Save notes to compression-resistant notepad |
496
+ | `cancel` | `/ultrapower:cancel` | Unified cancel of all active modes |
497
+ | `omc-setup` | `/ultrapower:omc-setup` | One-time installation wizard |
498
+ | `omc-doctor` | `/ultrapower:omc-doctor` | Diagnose and repair installation issues |
499
+ | `omc-help` | `/ultrapower:omc-help` | Display OMC usage guide |
500
+ | `hud` | `/ultrapower:hud` | Configure HUD status bar |
501
+ | `release` | `/ultrapower:release` | Automated release workflow |
502
+ | `mcp-setup` | `/ultrapower:mcp-setup` | Configure MCP servers |
503
+ | `writer-memory` | `/ultrapower:writer-memory` | Agent memory system for writers |
504
+ | `project-session-manager` | `/ultrapower:project-session-manager` | Manage isolated dev environments (git worktrees + tmux) |
505
+ | `psm` | `/ultrapower:psm` | Alias for project-session-manager |
506
+ | `skill` | `/ultrapower:skill` | Manage local skills (list, add, delete, search, edit) |
507
+ | `configure-discord` | `/ultrapower:configure-discord` | Configure Discord webhook/bot notifications |
508
+ | `configure-telegram` | `/ultrapower:configure-telegram` | Configure Telegram bot notifications |
509
+ | `wizard` | `/ultrapower:wizard` | Interactive configuration wizard |
510
+ | `nexus` | `/ultrapower:nexus` | Active learning system management (Phase 2 self-improvement) |
511
+ | `deepinit` | `/ultrapower:deepinit` | Deep codebase initialization with layered AGENTS.md |
512
+ | `learner` | `/ultrapower:learner` | Extract reusable skill from session |
513
+ | `trace` | `/ultrapower:trace` | Display agent flow trace timeline |
514
+ | `learn-about-omc` | `/ultrapower:learn-about-omc` | Learn OMC usage patterns and get recommendations |
452
515
 
453
- | Hook | 说明 |
454
- |------|-------------|
455
- | `rules-injector` | 动态规则注入,支持 YAML frontmatter 解析 |
456
- | `omc-orchestrator` | 强制执行编排器行为和委派 |
457
- | `auto-slash-command` | 自动检测并执行 slash 命令 |
458
- | `keyword-detector` | Magic keyword 检测(ultrawork、ralph 等) |
459
- | `todo-continuation` | 确保 todo 列表完成 |
460
- | `notepad` | 抗压缩记忆系统 |
461
- | `learner` | 从对话中提取 skill |
516
+ ---
462
517
 
463
- ### 上下文与恢复 Hooks
518
+ ## Custom Tools (35 total)
464
519
 
465
- | Hook | 说明 |
466
- |------|-------------|
467
- | `recovery` | 编辑错误、会话和上下文窗口恢复 |
468
- | `preemptive-compaction` | 监控上下文使用量以防止超限 |
469
- | `pre-compact` | 压缩前处理 |
470
- | `subagent-stop` | 子 agent 完成时触发,防止无限循环 |
471
- | `teammate-idle` | 团队成员空闲时触发,默认允许 |
472
- | `session-end` | 会话结束时触发,清理临时状态 |
473
- | `user-prompt-submit` | 用户提交提示词前触发,用于关键词检测 |
474
- | `permission-request` | 工具权限请求时触发 |
475
- | `task-completed` | 任务完成时触发 |
476
- | `config-change` | 配置变更时触发 |
477
- | `directory-readme-injector` | README 上下文注入 |
478
-
479
- ### 质量与验证 Hooks
480
-
481
- | Hook | 说明 |
482
- |------|-------------|
483
- | `comment-checker` | BDD 检测和指令过滤 |
484
- | `thinking-block-validator` | 扩展思考验证 |
485
- | `empty-message-sanitizer` | 空消息处理 |
486
- | `permission-handler` | 权限请求与验证 |
487
- | `think-mode` | 扩展思考检测 |
520
+ ultrapower exposes **35 custom tools** via the `mcp__plugin_ultrapower_t__` prefix.
488
521
 
489
- ### 协调与环境 Hooks
522
+ | Category | Count | Tool Prefix |
523
+ |----------|-------|-------------|
524
+ | LSP (Language Server Protocol) | 12 | `lsp_*` |
525
+ | AST (Structured code search) | 2 | `ast_grep_*` |
526
+ | Python REPL | 1 | `python_repl` |
527
+ | Notepad (Session memory) | 6 | `notepad_*` |
528
+ | State (Execution mode state) | 5 | `state_*` |
529
+ | Project Memory (Project-level memory) | 4 | `project_memory_*` |
530
+ | Trace (Flow tracing) | 2 | `trace_*` |
531
+ | Skills (Skill loading) | 3 | `*_omc_skills*` |
532
+ | **Total** | **35** | |
490
533
 
491
- | Hook | 说明 |
492
- |------|-------------|
493
- | `subagent-tracker` | 跟踪已生成的子 agents |
494
- | `flow-tracer` | Agent 流程追踪记录(hook 触发、keyword 检测、skill 激活、模式变更) |
495
- | `session-end` | 会话终止处理 |
496
- | `non-interactive-env` | CI/非交互式环境处理 |
497
- | `agent-usage-reminder` | 提醒使用专业 agents |
498
- | `background-notification` | 后台任务完成通知 |
499
- | `plugin-patterns` | 插件模式检测 |
500
- | `setup` | 初始安装与配置 |
501
- | `beads-context` | 上下文珠链管理 |
502
- | `project-memory` | 项目级记忆管理 |
503
-
504
- ### Axiom Hooks
505
-
506
- | Hook | 说明 |
507
- |------|-------------|
508
- | `axiom-boot` | 会话启动时注入 Axiom 记忆上下文 |
509
- | `axiom-guards` | Axiom 门禁规则执行(Expert/User/CI Gate) |
534
+ > **Disable tool groups**: Set `OMC_DISABLE_TOOLS=lsp,python-repl,project-memory` to disable specific groups at startup. Supported group names: `lsp`, `ast`, `python`/`python-repl`, `trace`, `state`, `notepad`, `memory`/`project-memory`, `skills`.
510
535
 
511
536
  ---
512
537
 
513
- ## Magic Keywords
538
+ ### LSP Tools (12)
514
539
 
515
- 在提示词中任意位置包含以下关键词即可激活增强模式:
540
+ IDE-grade code intelligence via Language Server Protocol:
516
541
 
517
- | 关键词 | 效果 |
518
- |---------|--------|
519
- | `ultrawork`, `ulw` | 激活并行 agent 编排 |
520
- | `autopilot`, `auto-pilot`, `fullsend`, `full auto` | 全自主执行 |
521
- | `ultrapilot`, `ultra-pilot`, `parallel build`, `swarm build` | 并行 autopilot(速度提升 3-5 倍) |
522
- | `ralph` | 持续执行直至验证完成 |
523
- | `team`, `coordinated team` | Team 模式多 agent 协调 |
524
- | `swarm N agents`, `coordinated agents`, `team mode` | 协调 agent 集群 |
525
- | `plan this`, `plan the` | 规划访谈工作流 |
526
- | `ralplan` | 迭代规划共识 |
527
- | `tdd`, `test first` | TDD 工作流强制执行 |
528
- | `ultrathink` | 扩展思考模式 |
529
- | `deepsearch`, `search the codebase`, `find in codebase` | 深度代码库搜索 |
530
- | `deep analyze`, `deepanalyze` | 深度分析模式 |
531
- | `ccg`, `claude-codex-gemini` | Claude-Codex-Gemini 三模型并行编排 |
532
- | `ask codex`, `use codex`, `delegate to codex` | 委派给 Codex(OpenAI) |
533
- | `ask gemini`, `use gemini`, `delegate to gemini` | 委派给 Gemini(Google) |
534
- | `agent pipeline`, `chain agents` | 顺序 agent 链式执行 |
535
- | `cancelomc`, `stopomc` | 统一取消所有活跃模式 |
536
-
537
- ### 示例
542
+ ```
543
+ mcp__plugin_ultrapower_t__lsp_hover -- Type info and docs at position
544
+ mcp__plugin_ultrapower_t__lsp_goto_definition -- Jump to symbol definition
545
+ mcp__plugin_ultrapower_t__lsp_find_references -- Find all usages
546
+ mcp__plugin_ultrapower_t__lsp_document_symbols -- File outline (functions, classes)
547
+ mcp__plugin_ultrapower_t__lsp_workspace_symbols -- Search symbols across workspace
548
+ mcp__plugin_ultrapower_t__lsp_diagnostics -- Errors, warnings, hints (single file)
549
+ mcp__plugin_ultrapower_t__lsp_diagnostics_directory -- Project-level type checking
550
+ mcp__plugin_ultrapower_t__lsp_servers -- List available language servers
551
+ mcp__plugin_ultrapower_t__lsp_prepare_rename -- Check if rename is valid
552
+ mcp__plugin_ultrapower_t__lsp_rename -- Preview multi-file rename
553
+ mcp__plugin_ultrapower_t__lsp_code_actions -- Available refactors/quick fixes
554
+ mcp__plugin_ultrapower_t__lsp_code_action_resolve -- Get action details
555
+ ```
538
556
 
539
- ```bash
540
- # 在 Claude Code 中:
557
+ Supported languages: TypeScript, Python, Rust, Go, C/C++, Java, JSON, HTML, CSS, YAML.
541
558
 
542
- # 最大并行度
543
- ultrawork implement user authentication with OAuth
559
+ > **Note**: LSP tools require language server installation (typescript-language-server, pylsp, rust-analyzer, gopls, etc.). Use `lsp_servers` to check installation status.
544
560
 
545
- # 自主执行
546
- autopilot: build a todo app with React
561
+ ---
547
562
 
548
- # 并行 autopilot
549
- ultrapilot: build a fullstack todo app
563
+ ### AST Tools (2)
550
564
 
551
- # 持续执行模式
552
- ralph: refactor the authentication module
565
+ Structural code search and transformation via ast-grep:
553
566
 
554
- # 规划会话
555
- plan this feature
567
+ ```
568
+ mcp__plugin_ultrapower_t__ast_grep_search -- Pattern-based AST matching with meta-variables ($NAME, $$$ARGS)
569
+ mcp__plugin_ultrapower_t__ast_grep_replace -- AST-aware code transformation (dry-run by default)
570
+ ```
556
571
 
557
- # TDD 工作流
558
- tdd: implement password validation
572
+ Supported languages: JavaScript, TypeScript, TSX, Python, Ruby, Go, Rust, Java, Kotlin, Swift, C, C++, C#, HTML, CSS, JSON, YAML.
559
573
 
560
- # 协调集群
561
- swarm 5 agents: fix all lint errors
574
+ ---
562
575
 
563
- # Agent 链式执行
564
- chain agents: analyze → fix → test this bug
576
+ ### Python REPL (1)
565
577
 
566
- # 深度代码库搜索
567
- deepsearch all files that import the utils module
578
+ ```
579
+ mcp__plugin_ultrapower_t__python_repl -- Persistent Python REPL with pandas/numpy/matplotlib for data analysis
580
+ ```
568
581
 
569
- # 深度分析
570
- deep analyze why the tests are failing
582
+ ---
571
583
 
572
- # 三模型并行编排
573
- ccg: implement the payment module
584
+ ### Notepad Tools (6)
585
+
586
+ Compression-resistant session memory stored at `{worktree}/.omc/notepad.md`:
574
587
 
575
- # 取消活跃模式
576
- cancelomc
588
+ ```
589
+ mcp__plugin_ultrapower_t__notepad_read -- Read notepad (sections: all/priority/working/manual)
590
+ mcp__plugin_ultrapower_t__notepad_write_priority -- Write priority context (<=500 chars, auto-loaded at session start)
591
+ mcp__plugin_ultrapower_t__notepad_write_working -- Write working memory (timestamped, auto-pruned after 7 days)
592
+ mcp__plugin_ultrapower_t__notepad_write_manual -- Write manual record (permanent, never auto-pruned)
593
+ mcp__plugin_ultrapower_t__notepad_prune -- Prune working memory entries older than N days
594
+ mcp__plugin_ultrapower_t__notepad_stats -- Get notepad statistics (size, entry count, oldest entry)
577
595
  ```
578
596
 
579
597
  ---
580
598
 
581
- ## MCP Path Boundary Rules
599
+ ### State Tools (5)
582
600
 
583
- MCP 工具(`ask_codex`、`ask_gemini`)出于安全考虑强制执行严格的路径边界。`prompt_file` `output_file` 均相对于 `working_directory` 解析。
601
+ Execution mode state management stored at `{worktree}/.omc/state/{mode}-state.json`:
584
602
 
585
- ### 默认行为(严格模式)
603
+ ```
604
+ mcp__plugin_ultrapower_t__state_read -- Read state for a mode (autopilot/ralph/ultrawork/team etc.)
605
+ mcp__plugin_ultrapower_t__state_write -- Write/update mode state (supports active, iteration, phase fields)
606
+ mcp__plugin_ultrapower_t__state_clear -- Clear state file for a mode
607
+ mcp__plugin_ultrapower_t__state_list_active -- List all currently active modes
608
+ mcp__plugin_ultrapower_t__state_get_status -- Get detailed status for a mode or all modes
609
+ ```
586
610
 
587
- 默认情况下,两个文件都必须位于 `working_directory` 内:
611
+ Supported modes: `autopilot`, `ultrapilot`, `team`, `pipeline`, `ralph`, `ultrawork`, `ultraqa`, `ralplan`.
588
612
 
589
- | 参数 | 要求 |
590
- |-----------|-------------|
591
- | `prompt_file` | 必须位于 `working_directory` 内(符号链接解析后) |
592
- | `output_file` | 必须位于 `working_directory` 内(符号链接解析后) |
593
- | `working_directory` | 必须位于项目 worktree 内(除非绕过) |
613
+ > **Security**: The `mode` parameter must pass `assertValidMode()` validation before path concatenation to prevent path traversal. See [Security & Safety Rules](#security--safety-rules).
614
+
615
+ ---
594
616
 
595
- ### 环境变量覆盖
617
+ ### Project Memory Tools (4)
618
+
619
+ Project-level persistent memory stored at `{worktree}/.omc/project-memory.json`:
596
620
 
597
- | 变量 | 取值 | 说明 |
598
- |----------|--------|-------------|
599
- | `OMC_MCP_OUTPUT_PATH_POLICY` | `strict`(默认)、`redirect_output` | 控制输出文件路径强制策略 |
600
- | `OMC_MCP_OUTPUT_REDIRECT_DIR` | 路径(默认:`.omc/outputs`) | 策略为 `redirect_output` 时的重定向目录 |
601
- | `OMC_MCP_ALLOW_EXTERNAL_PROMPT` | `0`(默认)、`1` | 允许 prompt 文件位于 working directory 之外 |
602
- | `OMC_ALLOW_EXTERNAL_WORKDIR` | 未设置(默认)、`1` | 允许 working_directory 位于项目 worktree 之外 |
603
- | `OMC_DISCORD_WEBHOOK_URL` | URL | Discord webhook URL,用于通知 |
604
- | `OMC_DISCORD_NOTIFIER_BOT_TOKEN` | Token | Discord bot token,用于 Bot API 通知 |
605
- | `OMC_DISCORD_NOTIFIER_CHANNEL` | Channel ID | Discord 频道 ID,用于 Bot API 通知 |
606
- | `OMC_DISCORD_MENTION` | `<@uid>` 或 `<@&role_id>` | 在 Discord 消息前添加的 mention |
607
- | `OMC_TELEGRAM_BOT_TOKEN` | Token | Telegram bot token,用于通知 |
608
- | `OMC_TELEGRAM_CHAT_ID` | Chat ID | Telegram chat ID,用于通知 |
609
- | `OMC_SLACK_WEBHOOK_URL` | URL | Slack incoming webhook URL,用于通知 |
610
-
611
- ### 策略说明
612
-
613
- **`OMC_MCP_OUTPUT_PATH_POLICY=strict`(默认)**
614
- - 输出文件必须位于 `working_directory` 内
615
- - 尝试写入边界外的文件将失败,错误码为 `E_PATH_OUTSIDE_WORKDIR_OUTPUT`
616
- - 最安全的选项——推荐用于生产环境
617
-
618
- **`OMC_MCP_OUTPUT_PATH_POLICY=redirect_output`**
619
- - 输出文件自动重定向到 `OMC_MCP_OUTPUT_REDIRECT_DIR`
620
- - 仅保留文件名,目录结构被展平
621
- - 适用于希望将所有输出集中到一个位置的场景
622
- - 在 `[MCP Config]` 级别记录重定向日志
623
-
624
- **`OMC_MCP_ALLOW_EXTERNAL_PROMPT=1`**
625
- - 允许从 `working_directory` 外部读取 prompt 文件
626
- - **安全警告**:允许读取文件系统上的任意文件
627
- - 仅在可信环境中使用
628
-
629
- **`OMC_ALLOW_EXTERNAL_WORKDIR=1`**
630
- - 允许 `working_directory` 位于项目 worktree 之外
631
- - 绕过 worktree 边界检查
632
- - 适用于对外部项目运行 MCP 工具的场景
633
-
634
- ### 错误码
635
-
636
- | 错误码 | 含义 |
637
- |-------|---------|
638
- | `E_PATH_OUTSIDE_WORKDIR_PROMPT` | prompt_file 位于 working_directory 之外 |
639
- | `E_PATH_OUTSIDE_WORKDIR_OUTPUT` | output_file 位于 working_directory 之外 |
640
- | `E_PATH_RESOLUTION_FAILED` | 符号链接或目录解析失败 |
641
- | `E_WRITE_FAILED` | 输出文件写入失败(I/O 错误) |
642
- | `E_WORKDIR_INVALID` | working_directory 不存在或无法访问 |
643
-
644
- ### 有效/无效路径示例
645
-
646
- **有效路径(working_directory: `/home/user/project`)**
647
621
  ```
648
- prompt.txt -> /home/user/project/prompt.txt
649
- ./prompts/task.md -> /home/user/project/prompts/task.md
650
- ../project/output.txt -> /home/user/project/output.txt (resolves inside)
651
- .omc/outputs/response.md -> /home/user/project/.omc/outputs/response.md
622
+ mcp__plugin_ultrapower_t__project_memory_read -- Read project memory (sections: techStack/build/conventions/structure/notes/directives)
623
+ mcp__plugin_ultrapower_t__project_memory_write -- Write/update project memory (merge mode supported)
624
+ mcp__plugin_ultrapower_t__project_memory_add_note -- Add categorized note (build/test/deploy/env/architecture etc.)
625
+ mcp__plugin_ultrapower_t__project_memory_add_directive -- Add user directive (cross-session persistent, compression-resistant)
652
626
  ```
653
627
 
654
- **无效路径(working_directory: `/home/user/project`)**
628
+ ---
629
+
630
+ ### Trace Tools (2)
631
+
632
+ Agent flow tracing and session analytics:
633
+
655
634
  ```
656
- /etc/passwd -> Outside working directory (absolute)
657
- ../../etc/shadow -> Outside working directory (traverses too far)
658
- /tmp/output.txt -> Outside working directory (different root)
635
+ mcp__plugin_ultrapower_t__trace_timeline -- Chronological agent flow trace (hooks/skills/agents/keywords/tools/modes)
636
+ mcp__plugin_ultrapower_t__trace_summary -- Session aggregate stats (hook counts, keyword frequency, skill activations, tool bottlenecks)
659
637
  ```
660
638
 
661
- ### 故障排查矩阵
639
+ ---
662
640
 
663
- | 现象 | 原因 | 解决方法 |
664
- |---------|-------|-----|
665
- | `E_PATH_OUTSIDE_WORKDIR_PROMPT` 错误 | prompt_file 位于 working_directory 之外 | 将文件移至 working directory,或将 working_directory 改为公共父目录 |
666
- | `E_PATH_OUTSIDE_WORKDIR_OUTPUT` 错误 | output_file 位于 working_directory 之外 | 使用 working directory 内的相对路径,或设置 `OMC_MCP_OUTPUT_PATH_POLICY=redirect_output` |
667
- | `E_PATH_RESOLUTION_FAILED` 错误 | 符号链接解析失败或目录不可访问 | 确保目标目录存在且可访问 |
668
- | `E_WRITE_FAILED` 错误 | I/O 错误(权限不足、磁盘已满) | 检查文件权限和磁盘空间 |
669
- | `working_directory is outside the project worktree` | working_directory 不在 git worktree 内 | 设置 `OMC_ALLOW_EXTERNAL_WORKDIR=1`,或使用项目内的 working directory |
670
- | 输出文件不在预期位置 | `redirect_output` 策略已激活 | 检查 `OMC_MCP_OUTPUT_REDIRECT_DIR`(默认:`.omc/outputs`) |
641
+ ### Skills Tools (3)
642
+
643
+ Skill loading and discovery:
644
+
645
+ ```
646
+ mcp__plugin_ultrapower_t__load_omc_skills_local -- Load OMC skills from project local
647
+ mcp__plugin_ultrapower_t__load_omc_skills_global -- Load OMC skills from global installation
648
+ mcp__plugin_ultrapower_t__list_omc_skills -- List all available skills
649
+ ```
671
650
 
672
651
  ---
673
652
 
674
- ## Platform Support
653
+ ## Hooks System (35 hooks)
675
654
 
676
- ### 操作系统
655
+ ultrapower includes 35 lifecycle hooks that enhance Claude Code behavior.
677
656
 
678
- | 平台 | 安装方式 | Hook 类型 |
679
- |----------|---------------|-----------|
680
- | **Windows** | Claude Code Plugin | Node.js (.mjs) |
681
- | **macOS** | Claude Code Plugin | Node.js (.mjs) |
682
- | **Linux** | Claude Code Plugin | Node.js (.mjs) |
657
+ ### Execution Mode Hooks
683
658
 
684
- > **注意**:Bash hooks macOS 和 Linux 上完全可移植(无 GNU 特定依赖)。
659
+ | Hook | Description |
660
+ |------|-------------|
661
+ | `autopilot` | Fully autonomous execution from idea to working code |
662
+ | `ultrawork` | Maximum parallel agent execution |
663
+ | `ralph` | Persistent execution until verified complete |
664
+ | `ultrapilot` | Parallel autopilot with file ownership |
665
+ | `ultraqa` | QA loop until goal is achieved |
666
+ | `mode-registry` | Tracks current execution mode (ultrawork, ralph, team, etc.) |
667
+ | `persistent-mode` | Maintains mode state across sessions |
685
668
 
686
- > **高级**:设置 `OMC_USE_NODE_HOOKS=1` 可在 macOS/Linux 上使用 Node.js hooks。
669
+ ### Core Hooks
687
670
 
688
- ### 可用工具
671
+ | Hook | Description |
672
+ |------|-------------|
673
+ | `rules-injector` | Dynamic rule injection with YAML frontmatter parsing |
674
+ | `omc-orchestrator` | Enforces orchestrator behavior and delegation |
675
+ | `auto-slash-command` | Auto-detects and executes slash commands |
676
+ | `keyword-detector` | Magic keyword detection (ultrawork, ralph, etc.) |
677
+ | `todo-continuation` | Ensures todo list completion |
678
+ | `notepad` | Compression-resistant memory system |
679
+ | `learner` | Extracts skills from conversations |
689
680
 
690
- | 工具 | 状态 | 说明 |
691
- |------|--------|-------------|
692
- | **Read** | ✅ 可用 | 读取文件 |
693
- | **Write** | ✅ 可用 | 创建文件 |
694
- | **Edit** | ✅ 可用 | 修改文件 |
695
- | **Bash** | ✅ 可用 | 运行 shell 命令 |
696
- | **Glob** | ✅ 可用 | 按模式查找文件 |
697
- | **Grep** | ✅ 可用 | 搜索文件内容 |
698
- | **WebSearch** | ✅ 可用 | 搜索网络 |
699
- | **WebFetch** | ✅ 可用 | 获取网页内容 |
700
- | **Task** | ✅ 可用 | 生成子 agents |
701
- | **TodoWrite** | ✅ 可用 | 跟踪任务 |
702
-
703
- ### LSP 工具(真实实现)
704
-
705
- | 工具 | 状态 | 说明 |
706
- |------|--------|-------------|
707
- | `lsp_hover` | ✅ 已实现 | 获取指定位置的类型信息和文档 |
708
- | `lsp_goto_definition` | ✅ 已实现 | 跳转到符号定义 |
709
- | `lsp_find_references` | ✅ 已实现 | 查找符号的所有引用 |
710
- | `lsp_document_symbols` | ✅ 已实现 | 获取文件大纲(函数、类等) |
711
- | `lsp_workspace_symbols` | ✅ 已实现 | 在工作区内搜索符号 |
712
- | `lsp_diagnostics` | ✅ 已实现 | 获取错误、警告和提示 |
713
- | `lsp_prepare_rename` | ✅ 已实现 | 检查重命名是否有效 |
714
- | `lsp_rename` | ✅ 已实现 | 在整个项目中重命名符号 |
715
- | `lsp_code_actions` | ✅ 已实现 | 获取可用的重构操作 |
716
- | `lsp_code_action_resolve` | ✅ 已实现 | 获取代码操作的详细信息 |
717
- | `lsp_servers` | ✅ 已实现 | 列出可用的语言服务器 |
718
- | `lsp_diagnostics_directory` | ✅ 已实现 | 项目级类型检查 |
719
-
720
- > **注意**:LSP 工具需要安装语言服务器(typescript-language-server、pylsp、rust-analyzer、gopls 等)。使用 `lsp_servers` 检查安装状态。
721
-
722
- ### AST 工具(ast-grep 集成)
723
-
724
- | 工具 | 状态 | 说明 |
725
- |------|--------|-------------|
726
- | `ast_grep_search` | ✅ 已实现 | 基于 AST 匹配的模式代码搜索 |
727
- | `ast_grep_replace` | ✅ 已实现 | 基于模式的代码转换 |
681
+ ### Context & Recovery Hooks
728
682
 
729
- > **注意**:AST 工具使用 [@ast-grep/napi](https://ast-grep.github.io/) 进行结构化代码匹配。支持元变量,如 `$VAR`(单节点)和 `$$$`(多节点)。
683
+ | Hook | Description |
684
+ |------|-------------|
685
+ | `recovery` | Edit error, session, and context window recovery |
686
+ | `preemptive-compaction` | Monitors context usage to prevent overflow |
687
+ | `pre-compact` | Pre-compaction processing |
688
+ | `subagent-stop` | Triggered when sub-agents complete, prevents infinite loops |
689
+ | `teammate-idle` | Triggered when team members idle, permits by default |
690
+ | `session-end` | Session termination cleanup of temporary state |
691
+ | `user-prompt-submit` | Triggered before user submits prompt, for keyword detection |
692
+ | `permission-request` | Triggered on tool permission requests |
693
+ | `task-completed` | Triggered on task completion |
694
+ | `config-change` | Triggered on configuration changes |
695
+ | `directory-readme-injector` | README context injection |
696
+
697
+ ### Quality & Validation Hooks
698
+
699
+ | Hook | Description |
700
+ |------|-------------|
701
+ | `comment-checker` | BDD detection and instruction filtering |
702
+ | `thinking-block-validator` | Extended thinking validation |
703
+ | `empty-message-sanitizer` | Empty message handling |
704
+ | `permission-handler` | Permission request and validation |
705
+ | `think-mode` | Extended thinking detection |
730
706
 
731
- ### Python REPL 工具
707
+ ### Coordination & Environment Hooks
732
708
 
733
- | 工具 | 状态 | 说明 |
734
- |------|--------|-------------|
735
- | `python_repl` | 已实现 | 持久 Python REPL,支持 pandas/numpy/matplotlib 数据分析 |
709
+ | Hook | Description |
710
+ |------|-------------|
711
+ | `subagent-tracker` | Tracks spawned sub-agents |
712
+ | `flow-tracer` | Agent flow trace recording (hook triggers, keyword detection, skill activations, mode changes) |
713
+ | `non-interactive-env` | CI/non-interactive environment handling |
714
+ | `agent-usage-reminder` | Reminds to use specialist agents |
715
+ | `background-notification` | Background task completion notifications |
716
+ | `plugin-patterns` | Plugin pattern detection |
717
+ | `setup` | Initial installation and configuration |
718
+ | `beads-context` | Context bead chain management |
719
+ | `project-memory` | Project-level memory management |
720
+
721
+ ### Axiom Hooks (2)
722
+
723
+ | Hook | Location | Description |
724
+ |------|----------|-------------|
725
+ | `axiom-boot` | `src/hooks/axiom-boot/` | Inject Axiom memory context at session startup |
726
+ | `axiom-guards` | `src/hooks/axiom-guards/` | Gate rule enforcement (Expert/User/CI Gate) |
727
+
728
+ ### Hook Runtime Guarantees
729
+
730
+ - Hook inputs use snake_case fields: `tool_name`, `tool_input`, `tool_response`, `session_id`, `cwd`, `hook_event_name`
731
+ - Kill switches: `DISABLE_OMC` (disable all hooks), `OMC_SKIP_HOOKS` (skip specific hooks by comma-separated names)
732
+ - Sensitive hook fields (permission-request, setup, session-end) are filtered through strict whitelist in bridge-normalize; unknown fields are discarded
733
+ - Required key validation per hook event type (e.g., session-end requires `sessionId`, `directory`)
734
+ - `SubagentStop` inference: Never read `input.success` directly; use `input.success !== false`
736
735
 
737
- ### Notepad 工具(会话记忆)
736
+ ---
738
737
 
739
- | 工具 | 状态 | 说明 |
740
- |------|--------|-------------|
741
- | `notepad_read` | ✅ 已实现 | 读取 notepad 内容(章节:all/priority/working/manual) |
742
- | `notepad_write_priority` | ✅ 已实现 | 写入优先上下文(≤500 字符,会话开始时自动加载) |
743
- | `notepad_write_working` | ✅ 已实现 | 写入工作记忆(带时间戳,7 天后自动清理) |
744
- | `notepad_write_manual` | ✅ 已实现 | 写入手动记录(永久保存,永不自动清理) |
745
- | `notepad_prune` | ✅ 已实现 | 清理 N 天前的工作记忆条目 |
746
- | `notepad_stats` | ✅ 已实现 | 获取 notepad 统计信息(大小、条目数、最旧条目) |
738
+ ## MCP Integration
747
739
 
748
- > **存储位置**:`{worktree}/.omc/notepad.md`
740
+ ### MCP Providers
749
741
 
750
- ### State 工具(执行模式状态)
742
+ | Provider | Tool | Best For |
743
+ |----------|------|---------|
744
+ | Codex (OpenAI) | `mcp__x__ask_codex` | Architecture review, planning validation, code review, security review |
745
+ | Gemini (Google) | `mcp__g__ask_gemini` | UI/UX design review, docs, large-context tasks (1M tokens) |
751
746
 
752
- | 工具 | 状态 | 说明 |
753
- |------|--------|-------------|
754
- | `state_read` | ✅ 已实现 | 读取指定模式的状态(autopilot/ralph/ultrawork/team 等) |
755
- | `state_write` | ✅ 已实现 | 写入/更新模式状态(支持 active、iteration、phase 等字段) |
756
- | `state_clear` | ✅ 已实现 | 清除指定模式的状态文件 |
757
- | `state_list_active` | ✅ 已实现 | 列出所有当前活跃的模式 |
758
- | `state_get_status` | ✅ 已实现 | 获取指定模式或所有模式的详细状态 |
747
+ Any OMC agent role can be passed as `agent_role` to either provider.
759
748
 
760
- > **支持的模式**:`autopilot`、`ultrapilot`、`team`、`pipeline`、`ralph`、`ultrawork`、`ultraqa`、`ralplan`
749
+ ### Tool Discovery
761
750
 
762
- ### Project Memory 工具(项目级持久记忆)
751
+ MCP tools are lazy-loaded and not in your tool list at session start. Before first use, call `ToolSearch` to discover:
763
752
 
764
- | 工具 | 状态 | 说明 |
765
- |------|--------|-------------|
766
- | `project_memory_read` | 已实现 | 读取项目记忆(章节:techStack/build/conventions/structure/notes/directives) |
767
- | `project_memory_write` | 已实现 | 写入/更新项目记忆(支持合并模式) |
768
- | `project_memory_add_note` | ✅ 已实现 | 添加分类笔记(build/test/deploy/env/architecture 等) |
769
- | `project_memory_add_directive` | ✅ 已实现 | 添加用户指令(跨会话持久化,抗压缩) |
753
+ ```
754
+ ToolSearch("mcp") -- discover all MCP tools (recommended, run once early)
755
+ ToolSearch("ask_codex") -- discover Codex specifically
756
+ ToolSearch("ask_gemini") -- discover Gemini specifically
757
+ ```
770
758
 
771
- > **存储位置**:`{worktree}/.omc/project-memory.json`
759
+ If ToolSearch returns no results, the MCP server is not configured — fall back to equivalent Claude agents.
772
760
 
773
- ### Trace 工具(Agent 流程追踪)
761
+ ### Local MCP Tools (via `claude mcp add`)
774
762
 
775
- | 工具 | 状态 | 说明 |
776
- |------|--------|-------------|
777
- | `trace_timeline` | 已实现 | 显示按时间顺序的 agent 流程追踪(hooks/skills/agents/keywords/tools/modes) |
778
- | `trace_summary` | 已实现 | 显示会话聚合统计(hook 统计、keyword 频率、skill 激活、工具瓶颈) |
763
+ | Tool | Description |
764
+ |------|-------------|
765
+ | `sequential-thinking` | Structured step-by-step reasoning breaks complex problems into ordered thought chains |
766
+ | `software-planning-tool` | Task planning and decomposition structured task analysis, dependency graphs, execution tracking |
779
767
 
780
- ### Skills 工具(Skill 加载)
768
+ ### Custom Tools via MCP (32 total)
781
769
 
782
- | 工具 | 状态 | 说明 |
783
- |------|--------|-------------|
784
- | `load_omc_skills_local` | ✅ 已实现 | 从项目本地加载 OMC skills |
785
- | `load_omc_skills_global` | ✅ 已实现 | 从全局安装加载 OMC skills |
786
- | `list_omc_skills` | ✅ 已实现 | 列出所有可用 skills |
770
+ ultrapower exposes 32 custom tools through the MCP server using the `mcp__plugin_ultrapower_t__` prefix.
787
771
 
788
- ### 工具汇总
772
+ #### LSP Tools (12)
789
773
 
790
- ultrapower 通过 `mcp__plugin_ultrapower_t__` 前缀暴露 **35 个自定义工具**:
774
+ | Tool | MCP Name | Description |
775
+ |------|----------|-------------|
776
+ | `lsp_hover` | `mcp__plugin_ultrapower_t__lsp_hover` | Get type information and documentation at cursor position |
777
+ | `lsp_goto_definition` | `mcp__plugin_ultrapower_t__lsp_goto_definition` | Find definition location of a symbol |
778
+ | `lsp_find_references` | `mcp__plugin_ultrapower_t__lsp_find_references` | Find all references to a symbol across codebase |
779
+ | `lsp_document_symbols` | `mcp__plugin_ultrapower_t__lsp_document_symbols` | Get hierarchical outline of symbols in a file |
780
+ | `lsp_workspace_symbols` | `mcp__plugin_ultrapower_t__lsp_workspace_symbols` | Search for symbols by name across workspace |
781
+ | `lsp_diagnostics` | `mcp__plugin_ultrapower_t__lsp_diagnostics` | Get language server diagnostics for a file |
782
+ | `lsp_diagnostics_directory` | `mcp__plugin_ultrapower_t__lsp_diagnostics_directory` | Run project-level diagnostics on a directory |
783
+ | `lsp_servers` | `mcp__plugin_ultrapower_t__lsp_servers` | List all known language servers and installation status |
784
+ | `lsp_prepare_rename` | `mcp__plugin_ultrapower_t__lsp_prepare_rename` | Check if a symbol can be renamed |
785
+ | `lsp_rename` | `mcp__plugin_ultrapower_t__lsp_rename` | Rename a symbol across all files in project |
786
+ | `lsp_code_actions` | `mcp__plugin_ultrapower_t__lsp_code_actions` | Get available code actions (refactorings, quick fixes) |
787
+ | `lsp_code_action_resolve` | `mcp__plugin_ultrapower_t__lsp_code_action_resolve` | Get full edit details for a specific code action |
791
788
 
792
- | 类别 | 数量 | 工具前缀 |
793
- |------|------|---------|
794
- | LSP(语言服务器协议) | 12 | `lsp_*` |
795
- | AST(结构化代码搜索) | 2 | `ast_grep_*` |
796
- | Python REPL | 1 | `python_repl` |
797
- | Notepad(会话记忆) | 6 | `notepad_*` |
798
- | State(执行模式状态) | 5 | `state_*` |
799
- | Project Memory(项目记忆) | 4 | `project_memory_*` |
800
- | Trace(流程追踪) | 2 | `trace_*` |
801
- | Skills(Skill 加载) | 3 | `*_omc_skills*` |
802
- | **合计** | **35** | |
789
+ #### AST Tools (2)
803
790
 
804
- > **禁用工具组**:通过 `OMC_DISABLE_TOOLS=lsp,python-repl,project-memory` 等环境变量可在启动时禁用指定工具组。
791
+ | Tool | MCP Name | Description |
792
+ |------|----------|-------------|
793
+ | `ast_grep_search` | `mcp__plugin_ultrapower_t__ast_grep_search` | Search for code patterns using AST matching |
794
+ | `ast_grep_replace` | `mcp__plugin_ultrapower_t__ast_grep_replace` | Replace code patterns using AST matching |
805
795
 
806
- ---
796
+ #### Python REPL (1)
807
797
 
808
- ## Performance Monitoring
798
+ | Tool | MCP Name | Description |
799
+ |------|----------|-------------|
800
+ | `python_repl` | `mcp__plugin_ultrapower_t__python_repl` | Execute Python code in persistent REPL environment |
809
801
 
810
- ultrapower 包含全面的 agent 性能、token 使用量监控及并行工作流调试功能。
802
+ #### Notepad Tools (6)
811
803
 
812
- 完整文档请参阅 **[Performance Monitoring Guide](./PERFORMANCE-MONITORING.md)**。
804
+ | Tool | MCP Name | Description |
805
+ |------|----------|-------------|
806
+ | `notepad_read` | `mcp__plugin_ultrapower_t__notepad_read` | Read notepad content (all/priority/working/manual sections) |
807
+ | `notepad_write_priority` | `mcp__plugin_ultrapower_t__notepad_write_priority` | Write to Priority Context section (max 500 chars) |
808
+ | `notepad_write_working` | `mcp__plugin_ultrapower_t__notepad_write_working` | Add entry to Working Memory section (auto-pruned after 7 days) |
809
+ | `notepad_write_manual` | `mcp__plugin_ultrapower_t__notepad_write_manual` | Add entry to MANUAL section (never auto-pruned) |
810
+ | `notepad_prune` | `mcp__plugin_ultrapower_t__notepad_prune` | Prune Working Memory entries older than N days |
811
+ | `notepad_stats` | `mcp__plugin_ultrapower_t__notepad_stats` | Get statistics about the notepad |
813
812
 
814
- ### 快速概览
813
+ #### State Tools (5)
815
814
 
816
- | 功能 | 说明 | 访问方式 |
817
- |---------|-------------|--------|
818
- | **Agent Observatory** | 实时 agent 状态、效率、瓶颈 | HUD / API |
819
- | **Token Analytics** | 成本跟踪、使用报告、预算警告 | `omc stats`, `omc cost` |
820
- | **Session Replay** | 会话后分析的事件时间线 | `.omc/state/agent-replay-*.jsonl` |
821
- | **Intervention System** | 自动检测停滞 agents 和成本超支 | 自动 |
815
+ | Tool | MCP Name | Description |
816
+ |------|----------|-------------|
817
+ | `state_read` | `mcp__plugin_ultrapower_t__state_read` | Read state for a specific mode |
818
+ | `state_write` | `mcp__plugin_ultrapower_t__state_write` | Write/update state for a specific mode |
819
+ | `state_clear` | `mcp__plugin_ultrapower_t__state_clear` | Clear/delete state for a specific mode |
820
+ | `state_list_active` | `mcp__plugin_ultrapower_t__state_list_active` | List all currently active modes |
821
+ | `state_get_status` | `mcp__plugin_ultrapower_t__state_get_status` | Get detailed status for a specific mode or all modes |
822
822
 
823
- ### CLI 命令
823
+ #### Project Memory Tools (4)
824
824
 
825
- CLI 入口:`ultrapower`、`omc`、`omc-cli`(三者等价)。
825
+ | Tool | MCP Name | Description |
826
+ |------|----------|-------------|
827
+ | `project_memory_read` | `mcp__plugin_ultrapower_t__project_memory_read` | Read project memory (techStack/build/conventions/structure/notes/directives) |
828
+ | `project_memory_write` | `mcp__plugin_ultrapower_t__project_memory_write` | Write/update project memory with merge support |
829
+ | `project_memory_add_note` | `mcp__plugin_ultrapower_t__project_memory_add_note` | Add a custom note to project memory |
830
+ | `project_memory_add_directive` | `mcp__plugin_ultrapower_t__project_memory_add_directive` | Add a user directive to project memory |
826
831
 
827
- ```bash
828
- omc stats # 当前会话统计
829
- omc cost daily # 每日成本报告
830
- omc cost weekly # 每周成本报告
831
- omc sessions # 列出会话记录
832
- omc agents # Agent 明细
833
- omc export # 导出数据
834
- omc cleanup # 清理旧数据
835
- omc backfill # 导入历史记录数据
836
- omc wait # 等待后台任务完成
837
- omc config-stop-callback # 配置 stop callback 通知标签
838
- ```
832
+ #### Trace Tools (2)
839
833
 
840
- 分析工具:`omc-analytics`(独立分析命令)。
834
+ | Tool | MCP Name | Description |
835
+ |------|----------|-------------|
836
+ | `trace_timeline` | `mcp__plugin_ultrapower_t__trace_timeline` | Show chronological agent flow trace timeline |
837
+ | `trace_summary` | `mcp__plugin_ultrapower_t__trace_summary` | Show aggregate statistics for an agent flow trace session |
841
838
 
842
- ### HUD Analytics 预设
839
+ ### MCP Path Boundary Rules
843
840
 
844
- 在状态栏中启用详细成本跟踪:
841
+ MCP tools (`ask_codex`, `ask_gemini`) enforce strict path boundaries. Both `prompt_file` and `output_file` are resolved relative to `working_directory`.
845
842
 
846
- ```json
847
- {
848
- "omcHud": {
849
- "preset": "analytics"
850
- }
851
- }
843
+ | Parameter | Requirement |
844
+ |-----------|-------------|
845
+ | `prompt_file` | Must be within `working_directory` (after symlink resolution) |
846
+ | `output_file` | Must be within `working_directory` (after symlink resolution) |
847
+ | `working_directory` | Must be within the project worktree (unless bypassed) |
848
+
849
+ ### Environment Variable Overrides
850
+
851
+ | Variable | Values | Description |
852
+ |----------|--------|-------------|
853
+ | `OMC_MCP_OUTPUT_PATH_POLICY` | `strict` (default), `redirect_output` | Controls output file path enforcement |
854
+ | `OMC_MCP_OUTPUT_REDIRECT_DIR` | path (default: `.omc/outputs`) | Redirect directory when policy is `redirect_output` |
855
+ | `OMC_MCP_ALLOW_EXTERNAL_PROMPT` | `0` (default), `1` | Allow prompt file outside working directory |
856
+ | `OMC_ALLOW_EXTERNAL_WORKDIR` | unset (default), `1` | Allow working_directory outside project worktree |
857
+ | `OMC_DISCORD_WEBHOOK_URL` | URL | Discord webhook URL for notifications |
858
+ | `OMC_DISCORD_NOTIFIER_BOT_TOKEN` | Token | Discord bot token for Bot API notifications |
859
+ | `OMC_DISCORD_NOTIFIER_CHANNEL` | Channel ID | Discord channel ID for Bot API notifications |
860
+ | `OMC_DISCORD_MENTION` | `<@uid>` or `<@&role_id>` | Mention prepended to Discord messages |
861
+ | `OMC_TELEGRAM_BOT_TOKEN` | Token | Telegram bot token for notifications |
862
+ | `OMC_TELEGRAM_CHAT_ID` | Chat ID | Telegram chat ID for notifications |
863
+ | `OMC_SLACK_WEBHOOK_URL` | URL | Slack incoming webhook URL for notifications |
864
+
865
+ ### MCP Error Codes
866
+
867
+ | Error Code | Meaning |
868
+ |-----------|---------|
869
+ | `E_PATH_OUTSIDE_WORKDIR_PROMPT` | prompt_file is outside working_directory |
870
+ | `E_PATH_OUTSIDE_WORKDIR_OUTPUT` | output_file is outside working_directory |
871
+ | `E_PATH_RESOLUTION_FAILED` | Symlink or directory resolution failed |
872
+ | `E_WRITE_FAILED` | Output file write failed (I/O error) |
873
+ | `E_WORKDIR_INVALID` | working_directory does not exist or is inaccessible |
874
+
875
+ ---
876
+
877
+ ## Security & Safety Rules
878
+
879
+ ### Non-Negotiable Security Rules
880
+
881
+ These rules are enforced at the framework level and must not be bypassed:
882
+
883
+ **1. Path Traversal Prevention**
884
+
885
+ The `mode` parameter must pass `assertValidMode()` validation before path concatenation:
886
+
887
+ ```typescript
888
+ import { assertValidMode } from './src/lib/validateMode';
889
+ const validMode = assertValidMode(mode);
890
+ const path = `.omc/state/${validMode}-state.json`;
852
891
  ```
853
892
 
854
- ### 外部资源
893
+ **2. Hook Input Sanitization**
894
+
895
+ All hook inputs pass through `bridge-normalize.ts` whitelist filtering. Unknown fields are discarded. This prevents injection attacks via malformed hook payloads.
896
+
897
+ **3. Shell Execution Safety (v5.5.0+)**
898
+
899
+ Shell commands use `execFileSync` instead of `exec`/`execSync` to prevent shell injection. Arguments are passed as arrays, not interpolated strings.
855
900
 
856
- - **[MarginLab.ai](https://marginlab.ai)** - 带统计显著性检验的 SWE-Bench-Pro 性能跟踪,用于检测 Claude 模型退化
901
+ **4. Sensitive Hook Field Filtering (v5.5.0+)**
902
+
903
+ The `SENSITIVE_HOOKS` constant in bridge-normalize defines hooks with sensitive fields (permission-request, setup, session-end). These hooks apply strict field whitelisting — only explicitly allowed fields pass through.
904
+
905
+ **5. SubagentStop Inference Rule**
906
+
907
+ Never read `input.success` directly. Use `input.success !== false` to allow undefined/missing values to be treated as success. This prevents false-positive blocking of legitimate sub-agent completions.
908
+
909
+ ### Delegation Enforcer (v5.5.2+)
910
+
911
+ The `delegation-enforcer` feature ensures the orchestrator delegates implementation work rather than executing it directly. When triggered, it routes substantial code changes to the appropriate executor agent and logs the delegation decision.
912
+
913
+ ### Security Review Checklist
914
+
915
+ When modifying security-sensitive code, verify:
916
+ - [ ] `mode` parameters validated with `assertValidMode()` before path use
917
+ - [ ] Hook field access uses whitelist pattern from bridge-normalize
918
+ - [ ] Shell commands use `execFileSync` with argument arrays
919
+ - [ ] No `eval()` or dynamic `require()` with untrusted input
920
+ - [ ] State file paths constrained to `.omc/state/` directory
857
921
 
858
922
  ---
859
923
 
860
- ## Troubleshooting
924
+ ## Magic Keywords
925
+
926
+ Include any of the following keywords anywhere in your prompt to activate enhanced modes:
861
927
 
862
- ### 诊断安装问题
928
+ | Keyword | Effect |
929
+ |---------|--------|
930
+ | `ultrawork`, `ulw` | Activate parallel agent orchestration |
931
+ | `autopilot`, `auto-pilot`, `fullsend`, `full auto` | Fully autonomous execution |
932
+ | `ultrapilot`, `ultra-pilot`, `parallel build`, `swarm build` | Parallel autopilot (3-5x speed) |
933
+ | `ralph` | Persistent execution until verified complete |
934
+ | `team`, `coordinated team` | Team mode multi-agent coordination |
935
+ | `swarm N agents`, `coordinated agents`, `team mode` | Coordinated agent cluster |
936
+ | `plan this`, `plan the` | Planning interview workflow |
937
+ | `ralplan` | Iterative planning consensus |
938
+ | `tdd`, `test first` | TDD workflow enforcement |
939
+ | `ultrathink` | Extended thinking mode |
940
+ | `deepsearch`, `search the codebase`, `find in codebase` | Deep codebase search |
941
+ | `deep analyze`, `deepanalyze` | Deep analysis mode |
942
+ | `ccg`, `claude-codex-gemini` | Three-model parallel orchestration |
943
+ | `ask codex`, `use codex`, `delegate to codex` | Delegate to Codex (OpenAI) |
944
+ | `ask gemini`, `use gemini`, `delegate to gemini` | Delegate to Gemini (Google) |
945
+ | `agent pipeline`, `chain agents` | Sequential agent chain |
946
+ | `cancelomc`, `stopomc` | Unified cancel of all active modes |
947
+
948
+ ### Examples
863
949
 
864
950
  ```bash
865
- /ultrapower:omc-doctor
951
+ # Maximum parallelism
952
+ ultrawork implement user authentication with OAuth
953
+
954
+ # Autonomous execution
955
+ autopilot: build a todo app with React
956
+
957
+ # Persistent execution
958
+ ralph: refactor the authentication module
959
+
960
+ # Planning session
961
+ plan this feature
962
+
963
+ # TDD workflow
964
+ tdd: implement password validation
965
+
966
+ # Three-model orchestration
967
+ ccg: implement the payment module
968
+
969
+ # Cancel active modes
970
+ cancelomc
866
971
  ```
867
972
 
868
- 检查项目:
869
- - 缺失的依赖
870
- - 配置错误
871
- - Hook 安装状态
872
- - Agent 可用性
873
- - Skill 注册情况
973
+ ---
974
+
975
+ ## Platform Support
976
+
977
+ ### Operating Systems
978
+
979
+ | Platform | Installation | Hook Type |
980
+ |----------|-------------|-----------|
981
+ | **Windows** | Claude Code Plugin | Node.js (.mjs) |
982
+ | **macOS** | Claude Code Plugin | Node.js (.mjs) |
983
+ | **Linux** | Claude Code Plugin | Node.js (.mjs) |
984
+
985
+ > **Note**: Set `OMC_USE_NODE_HOOKS=1` to use Node.js hooks on macOS/Linux.
986
+
987
+ ### Available Tools
988
+
989
+ | Tool | Status | Description |
990
+ |------|--------|-------------|
991
+ | **Read** | Available | Read files |
992
+ | **Write** | Available | Create files |
993
+ | **Edit** | Available | Modify files |
994
+ | **Bash** | Available | Run shell commands |
995
+ | **Glob** | Available | Find files by pattern |
996
+ | **Grep** | Available | Search file contents |
997
+ | **WebSearch** | Available | Search the web |
998
+ | **WebFetch** | Available | Fetch web pages |
999
+ | **Task** | Available | Spawn sub-agents |
1000
+ | **TodoWrite** | Available | Track tasks |
1001
+
1002
+ ---
1003
+
1004
+ ## Performance Monitoring
1005
+
1006
+ ultrapower includes comprehensive agent performance, token usage, and parallel workflow debugging.
1007
+
1008
+ Full documentation: **[Performance Monitoring Guide](./PERFORMANCE-MONITORING.md)**
1009
+
1010
+ ### Quick Overview
1011
+
1012
+ | Feature | Description | Access |
1013
+ |---------|-------------|--------|
1014
+ | **Agent Observatory** | Real-time agent status, efficiency, bottlenecks | HUD / API |
1015
+ | **Token Analytics** | Cost tracking, usage reports, budget warnings | `omc stats`, `omc cost` |
1016
+ | **Session Replay** | Post-session event timeline analysis | `.omc/state/agent-replay-*.jsonl` |
1017
+ | **Intervention System** | Auto-detects stalled agents and cost overruns | Automatic |
1018
+
1019
+ ### CLI Commands
874
1020
 
875
- ### 配置 HUD 状态栏
1021
+ CLI entry points: `ultrapower`, `omc`, `omc-cli` (all equivalent).
876
1022
 
877
1023
  ```bash
878
- /ultrapower:hud setup
1024
+ omc stats # Current session statistics
1025
+ omc cost daily # Daily cost report
1026
+ omc cost weekly # Weekly cost report
1027
+ omc sessions # List session records
1028
+ omc agents # Agent breakdown
1029
+ omc export # Export data
1030
+ omc cleanup # Clean up old data
1031
+ omc backfill # Import historical data
1032
+ omc wait # Wait for background task completion
1033
+ omc config-stop-callback # Configure stop callback notification tags
879
1034
  ```
880
1035
 
881
- 安装或修复 HUD 状态栏以获取实时状态更新。
1036
+ ### HUD Configuration
882
1037
 
883
- ### HUD 配置(settings.json
884
-
885
- 在 `~/.claude/settings.json` 中配置 HUD 元素:
1038
+ Configure HUD elements in `~/.claude/settings.json`:
886
1039
 
887
1040
  ```json
888
1041
  {
@@ -897,44 +1050,51 @@ omc config-stop-callback # 配置 stop callback 通知标签
897
1050
  }
898
1051
  ```
899
1052
 
900
- | 元素 | 说明 | 默认值 |
1053
+ | Element | Description | Default |
901
1054
  |---------|-------------|---------|
902
- | `cwd` | 显示当前工作目录 | `false` |
903
- | `gitRepo` | 显示 git 仓库名称 | `false` |
904
- | `gitBranch` | 显示当前 git 分支 | `false` |
905
- | `omcLabel` | 显示 [OMC] 标签 | `true` |
906
- | `contextBar` | 显示上下文窗口使用量 | `true` |
907
- | `agents` | 显示活跃 agents 数量 | `true` |
908
- | `todos` | 显示 todo 进度 | `true` |
909
- | `ralph` | 显示 ralph 循环状态 | `true` |
910
- | `autopilot` | 显示 autopilot 状态 | `true` |
911
- | `axiom` | 显示 Axiom 系统状态(状态/目标/任务/学习队列/知识库/成功率) | `false` |
912
- | `suggestions` | 显示智能下一步建议(基于上下文/Axiom 状态/会话健康) | `false` |
1055
+ | `cwd` | Display current working directory | `false` |
1056
+ | `gitRepo` | Display git repository name | `false` |
1057
+ | `gitBranch` | Display current git branch | `false` |
1058
+ | `omcLabel` | Display [OMC] label | `true` |
1059
+ | `contextBar` | Display context window usage | `true` |
1060
+ | `agents` | Display active agent count | `true` |
1061
+ | `todos` | Display todo progress | `true` |
1062
+ | `ralph` | Display ralph loop status | `true` |
1063
+ | `autopilot` | Display autopilot status | `true` |
1064
+ | `axiom` | Display Axiom system status | `false` |
1065
+ | `suggestions` | Display smart next-step suggestions | `false` |
1066
+
1067
+ Available presets: `minimal`, `focused`, `full`, `dense`, `analytics`, `opencode`
913
1068
 
914
- 可用预设:`minimal`、`focused`、`full`、`dense`、`analytics`、`opencode`
1069
+ ---
915
1070
 
916
- ### 常见问题
1071
+ ## Troubleshooting
917
1072
 
918
- | 问题 | 解决方法 |
919
- |-------|----------|
920
- | 命令未找到 | 重新运行 `/ultrapower:omc-setup` |
921
- | Hooks 未执行 | 检查 hook 权限:`chmod +x ~/.claude/hooks/**/*.sh` |
922
- | Agents 未委派 | 验证 CLAUDE.md 已加载:检查 `./.claude/CLAUDE.md` 或 `~/.claude/CLAUDE.md` |
923
- | LSP 工具不工作 | 安装语言服务器:`npm install -g typescript-language-server` |
924
- | Token 限制错误 | 使用 `/ultrapower:` 进行 token 高效执行 |
1073
+ ### Diagnose Installation Issues
925
1074
 
926
- ### 自动更新
1075
+ ```bash
1076
+ /ultrapower:omc-doctor
1077
+ ```
927
1078
 
928
- ultrapower 包含一个静默自动更新系统,在后台检查更新。
1079
+ Checks:
1080
+ - Missing dependencies
1081
+ - Configuration errors
1082
+ - Hook installation status
1083
+ - Agent availability
1084
+ - Skill registration
929
1085
 
930
- 特性:
931
- - **频率限制**:最多每 24 小时检查一次
932
- - **并发安全**:锁文件防止同时更新
933
- - **跨平台**:在 macOS 和 Linux 上均可工作
1086
+ ### Common Issues
934
1087
 
935
- 如需手动更新,重新运行插件安装命令或使用 Claude Code 内置的更新机制。
1088
+ | Issue | Resolution |
1089
+ |-------|-----------|
1090
+ | Command not found | Re-run `/ultrapower:omc-setup` |
1091
+ | Hooks not executing | Check hook permissions: `chmod +x ~/.claude/hooks/**/*.sh` |
1092
+ | Agents not delegating | Verify CLAUDE.md is loaded: check `./.claude/CLAUDE.md` or `~/.claude/CLAUDE.md` |
1093
+ | LSP tools not working | Install language server: `npm install -g typescript-language-server` |
1094
+ | Token limit errors | Use `/ultrapower:` for token-efficient execution |
1095
+ | Path traversal error | Ensure mode parameter passes `assertValidMode()` validation |
936
1096
 
937
- ### 卸载
1097
+ ### Uninstall
938
1098
 
939
1099
  ```bash
940
1100
  curl -fsSL https://raw.githubusercontent.com/liangjie559567/ultrapower/main/scripts/uninstall.sh | bash
@@ -949,79 +1109,81 @@ rm ~/.claude/commands/{analyze,autopilot,deepsearch,plan,review,ultrawork}.md
949
1109
 
950
1110
  ---
951
1111
 
952
- ## Axiom 系统(深度融合)
953
-
954
- ultrapower 深度融合了 Axiom 智能体编排框架,提供完整的需求→开发→进化工作流。
955
-
956
- ### Axiom Agents(14 个)
957
-
958
- | 智能体 | 模型 | 用途 |
959
- |-------|-------|------|
960
- | axiom-requirement-analyst | sonnet | 需求三态门(PASS/CLARIFY/REJECT) |
961
- | axiom-product-designer | sonnet | Draft PRD + Mermaid 流程图生成 |
962
- | axiom-review-aggregator | sonnet | 5 专家并行评审 + 冲突仲裁 |
963
- | axiom-prd-crafter | sonnet | 工程级 PRD + 门禁验证 |
964
- | axiom-system-architect | sonnet | 原子任务 DAG + Manifest 生成 |
965
- | axiom-evolution-engine | sonnet | 知识收割 + 模式检测 + 工作流优化 |
966
- | axiom-context-manager | sonnet | 7 种记忆操作(读/写/状态/检查点) |
967
- | axiom-worker | sonnet | PM→Worker 协议,三态输出(QUESTION/COMPLETE/BLOCKED) |
968
- | axiom-ux-director | sonnet | UX/体验专家评审,输出 review_ux.md |
969
- | axiom-product-director | sonnet | 产品战略专家评审,输出 review_product.md |
970
- | axiom-domain-expert | sonnet | 领域知识专家评审,输出 review_domain.md |
971
- | axiom-tech-lead | sonnet | 技术可行性评审,输出 review_tech.md |
972
- | axiom-critic | sonnet | 安全/质量/逻辑评审,输出 review_critic.md |
973
- | axiom-sub-prd-writer | sonnet | 将 Manifest 任务拆解为可执行 Sub-PRD |
974
-
975
- ### Axiom Skills(14 个)
976
-
977
- | Skill | 指令 | 用途 |
978
- |-------|------|------|
979
- | ax-draft | `/ax-draft` | 需求澄清 → Draft PRD → 用户确认 |
980
- | ax-review | `/ax-review` | 5 专家并行评审 → 聚合 → Rough PRD |
981
- | ax-decompose | `/ax-decompose` | Rough PRD → 系统架构 → 原子任务 DAG |
982
- | ax-implement | `/ax-implement` | 按 Manifest 执行任务,CI 门禁,自动修复 |
983
- | ax-analyze-error | `/ax-analyze-error` | 根因诊断 → 自动修复 → 知识队列 |
984
- | ax-reflect | `/ax-reflect` | 会话反思 → 经验提取 → Action Items |
985
- | ax-evolve | `/ax-evolve` | 处理学习队列 → 更新知识库 → 模式检测 |
986
- | ax-status | `/ax-status` | 完整系统状态仪表盘 |
987
- | ax-rollback | `/ax-rollback` | 回滚到最近检查点(需用户确认) |
988
- | ax-suspend | `/ax-suspend` | 保存会话状态,安全退出 |
989
- | ax-context | `/ax-context` | 直接操作 Axiom 记忆系统 |
990
- | ax-evolution | `/ax-evolution` | 进化引擎统一入口(evolve/reflect/knowledge/patterns) |
991
- | ax-knowledge | `/ax-knowledge` | 查询 Axiom 知识库和模式库 |
992
- | ax-export | `/ax-export` | 导出 Axiom 工作流产物为可移植 zip |
993
-
994
- ### Axiom Hooks(2 个)
995
-
996
- | Hook | 位置 | 用途 |
997
- |------|------|------|
998
- | axiom-boot | `src/hooks/axiom-boot/` | 会话启动时注入记忆上下文 |
999
- | axiom-guards | `src/hooks/axiom-guards/` | 门禁规则执行(Expert/User/CI Gate) |
1000
-
1001
- ### Axiom 记忆系统
1112
+ ## Axiom System
1113
+
1114
+ ultrapower deeply integrates the Axiom agent orchestration framework, providing a complete requirements -> development -> evolution workflow.
1115
+
1116
+ ### Axiom State Machine
1117
+
1118
+ ```
1119
+ IDLE -> PLANNING -> CONFIRMING -> EXECUTING -> AUTO_FIX -> BLOCKED -> ARCHIVING -> IDLE
1120
+ ```
1121
+
1122
+ ### Axiom Gate System
1123
+
1124
+ | Gate | Trigger | Action |
1125
+ |------|---------|--------|
1126
+ | Expert Gate | All new feature requirements | Must pass `/ax-draft` -> `/ax-review` flow |
1127
+ | User Gate | PRD draft finalization | Must display "PRD generated, confirm execution? (Yes/No)" |
1128
+ | CI Gate | Code modification completion | Must run `tsc --noEmit && npm run build && npm test` |
1129
+ | Scope Gate | File modification | Check if within `manifest.md` Impact Scope; out-of-scope triggers warning |
1130
+
1131
+ ### Axiom Memory System
1002
1132
 
1003
1133
  ```
1004
1134
  .omc/axiom/
1005
- ├── active_context.md # 当前任务状态(短期记忆)
1006
- ├── project_decisions.md # 架构决策记录(长期记忆)
1007
- ├── user_preferences.md # 用户偏好
1008
- ├── state_machine.md # 状态机定义
1009
- ├── reflection_log.md # 反思日志
1135
+ ├── active_context.md # Current task state (short-term memory)
1136
+ ├── project_decisions.md # Architecture decision records (long-term memory)
1137
+ ├── user_preferences.md # User preferences
1138
+ ├── state_machine.md # State machine definition
1139
+ ├── reflection_log.md # Reflection log
1010
1140
  └── evolution/
1011
- ├── knowledge_base.md # 知识图谱(置信度系统)
1012
- ├── pattern_library.md # 代码模式库(出现次数 >= 3 提升)
1013
- ├── learning_queue.md # 待处理学习素材(P0-P3 优先级)
1014
- └── workflow_metrics.md # 工作流执行指标
1141
+ ├── knowledge_base.md # Knowledge graph (confidence system)
1142
+ ├── pattern_library.md # Code pattern library (promoted at >= 3 occurrences)
1143
+ ├── learning_queue.md # Pending learning materials (P0-P3 priority)
1144
+ └── workflow_metrics.md # Workflow execution metrics
1015
1145
  ```
1016
1146
 
1017
- ### Axiom 状态机
1147
+ ### Axiom Worker Protocol
1148
+
1149
+ Worker agents receive atomic tasks from PM, and output one of three formats:
1018
1150
 
1019
- `IDLE → PLANNING → CONFIRMING → EXECUTING → AUTO_FIX → BLOCKED → ARCHIVING → IDLE`
1151
+ ```
1152
+ ## QUESTION
1153
+ Question: [specific question]
1154
+ Reason: [why clarification is needed]
1155
+ ```
1020
1156
 
1021
- ### 适配器文件
1157
+ ```
1158
+ ## COMPLETE
1159
+ Completed: [task description]
1160
+ Changes: [list of modified files]
1161
+ Verification: [CI command output]
1162
+ ```
1022
1163
 
1023
- | 文件 | 目标工具 |
1024
- |------|---------|
1164
+ ```
1165
+ ## BLOCKED
1166
+ Reason: [blocking cause]
1167
+ Attempted: [methods tried]
1168
+ Needs: [what help is needed]
1169
+ ```
1170
+
1171
+ **Self-repair strategy**: Up to 3 attempts. After each failure, runs `tsc --noEmit && npm run build && npm test`. After 3 failures, outputs BLOCKED.
1172
+
1173
+ ### Axiom Evolution Engine (Auto-Behavior)
1174
+
1175
+ | Trigger Event | Auto-Action |
1176
+ |--------------|------------|
1177
+ | Task completed | Add code changes to `learning_queue.md` |
1178
+ | Error fix successful | Add fix pattern to learning queue (P1) |
1179
+ | Workflow completed | Update `workflow_metrics.md` |
1180
+ | State -> ARCHIVING | Auto-trigger `/ax-reflect` |
1181
+ | State -> IDLE | Process learning queue (P0/P1) |
1182
+
1183
+ ### Tool Adapter Files
1184
+
1185
+ | File | Target Tool |
1186
+ |------|------------|
1025
1187
  | `.kiro/steering/axiom.md` | Kiro |
1026
1188
  | `.cursorrules` | Cursor |
1027
1189
  | `.gemini/GEMINI.md` | Gemini |
@@ -1030,49 +1192,31 @@ ultrapower 深度融合了 Axiom 智能体编排框架,提供完整的需求
1030
1192
  | `.github/copilot-instructions.md` | GitHub Copilot |
1031
1193
  | `.codex/CODEX.md` | Codex CLI |
1032
1194
 
1033
- ### 自我进化系统详细文档
1034
-
1035
- Axiom 自我进化系统的完整使用指南、安装说明和故障排除请参阅:
1036
-
1037
- **[docs/EVOLUTION.md](./EVOLUTION.md)** — Axiom 自我进化系统完整文档
1038
-
1039
- 包含内容:
1040
- - 系统概述与架构
1041
- - 安装与初始化步骤
1042
- - 核心组件说明(进化引擎、上下文管理器、Boot Hook、Guards Hook)
1043
- - 记忆系统详解(知识库、模式库、学习队列)
1044
- - 进化工作流(ax-reflect + ax-evolve 完整流程)
1045
- - 所有 ax-* Skills 使用指南
1046
- - 自动触发机制
1047
- - 知识库管理与置信度系统
1048
- - 状态机与门禁系统
1049
- - HUD 集成
1050
- - 故障排除
1051
-
1052
- **[docs/NEXUS.md](./NEXUS.md)** — Nexus 主动进化系统完整文档
1053
-
1054
- 包含内容:
1055
- - Phase 1 被动学习(已完成)与 Phase 2 主动学习架构
1056
- - Nexus 双层架构(插件层 + VPS 云端层)
1057
- - 反馈系统、效果追踪、主动推荐、质量迭代模块详解
1058
- - Consciousness Loop、Self-Modifier、Self-Evaluator 模块
1059
- - Git 同步通信机制与数据存储结构
1060
- - Phase 2 与 Nexus 配置参考
1061
- - VPS 部署指南(nexus-daemon)
1062
- - 实现路线图(P0/P1/P2 优先级)
1195
+ For detailed Axiom documentation see:
1196
+ - **[docs/EVOLUTION.md](./EVOLUTION.md)** — Axiom self-evolution system complete documentation
1197
+ - **[docs/NEXUS.md](./NEXUS.md)** — Nexus active evolution system complete documentation
1063
1198
 
1064
1199
  ---
1065
1200
 
1066
1201
  ## Changelog
1067
1202
 
1068
- 版本历史和发布说明请参阅 [CHANGELOG.md](../CHANGELOG.md)
1203
+ For version history and release notes see [CHANGELOG.md](../CHANGELOG.md).
1204
+
1205
+ ### Key Version Milestones
1206
+
1207
+ - **v5.5.5** — This release: comprehensive reference documentation rewrite
1208
+ - **v5.5.2** — delegation-enforcer: ensures orchestrator delegates implementation work
1209
+ - **v5.5.0** — Security hardening: `assertValidMode()`, `execFileSync`, `SENSITIVE_HOOKS`, bridge-normalize strict whitelist
1210
+ - **v5.4.x** — Axiom deep integration: 14 agents, 14 skills, 2 hooks
1211
+ - **v5.2.x** — Team pipeline with phased routing; ultrapilot/swarm as Team facades
1212
+ - **v5.0.x** — 35 custom tools via `mcp__plugin_ultrapower_t__` prefix
1069
1213
 
1070
1214
  ---
1071
1215
 
1072
1216
  ## License
1073
1217
 
1074
- MIT - 参见 [LICENSE](../LICENSE)
1218
+ MIT see [LICENSE](../LICENSE)
1075
1219
 
1076
1220
  ## Credits
1077
1221
 
1078
- 灵感来源于 code-yeongyu [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode)
1222
+ Inspired by code-yeongyu's [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode).