claudecode-omc 4.5.7 → 4.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1085) hide show
  1. package/.claude-plugin/marketplace.json +18 -4
  2. package/.claude-plugin/plugin.json +14 -1
  3. package/.mcp.json +0 -4
  4. package/README.de.md +260 -0
  5. package/README.es.md +27 -41
  6. package/README.fr.md +260 -0
  7. package/README.it.md +260 -0
  8. package/README.ja.md +27 -41
  9. package/README.ko.md +45 -54
  10. package/README.md +247 -14
  11. package/README.pt.md +23 -6
  12. package/README.ru.md +260 -0
  13. package/README.tr.md +260 -0
  14. package/README.vi.md +23 -6
  15. package/README.zh.md +27 -41
  16. package/agents/harsh-critic.md +254 -0
  17. package/bridge/cli.cjs +67181 -0
  18. package/bridge/gyoshu_bridge.py +69 -19
  19. package/bridge/mcp-server.cjs +846 -526
  20. package/bridge/runtime-cli.cjs +2861 -367
  21. package/bridge/team-bridge.cjs +216 -60
  22. package/bridge/team-mcp.cjs +493 -255
  23. package/bridge/team.js +1460 -0
  24. package/dist/__tests__/agent-registry.test.js +13 -3
  25. package/dist/__tests__/agent-registry.test.js.map +1 -1
  26. package/dist/__tests__/auto-slash-aliases.test.js +12 -20
  27. package/dist/__tests__/auto-slash-aliases.test.js.map +1 -1
  28. package/dist/__tests__/auto-update.test.js +1 -1
  29. package/dist/__tests__/auto-update.test.js.map +1 -1
  30. package/dist/__tests__/bash-history.test.js.map +1 -1
  31. package/dist/__tests__/cleanup-validation.test.d.ts +2 -0
  32. package/dist/__tests__/cleanup-validation.test.d.ts.map +1 -0
  33. package/dist/__tests__/cleanup-validation.test.js +44 -0
  34. package/dist/__tests__/cleanup-validation.test.js.map +1 -0
  35. package/dist/__tests__/config-force-inherit-env.test.d.ts +5 -0
  36. package/dist/__tests__/config-force-inherit-env.test.d.ts.map +1 -0
  37. package/dist/__tests__/config-force-inherit-env.test.js +35 -0
  38. package/dist/__tests__/config-force-inherit-env.test.js.map +1 -0
  39. package/dist/__tests__/consolidation-contracts.test.js +4 -7
  40. package/dist/__tests__/consolidation-contracts.test.js.map +1 -1
  41. package/dist/__tests__/daemon-module-path.test.d.ts +2 -0
  42. package/dist/__tests__/daemon-module-path.test.d.ts.map +1 -0
  43. package/dist/__tests__/daemon-module-path.test.js +29 -0
  44. package/dist/__tests__/daemon-module-path.test.js.map +1 -0
  45. package/dist/__tests__/delegation-enforcement-levels.test.js.map +1 -1
  46. package/dist/__tests__/delegation-enforcer.test.js +172 -0
  47. package/dist/__tests__/delegation-enforcer.test.js.map +1 -1
  48. package/dist/__tests__/doctor-conflicts.test.js +144 -1
  49. package/dist/__tests__/doctor-conflicts.test.js.map +1 -1
  50. package/dist/__tests__/file-lock.test.d.ts +2 -0
  51. package/dist/__tests__/file-lock.test.d.ts.map +1 -0
  52. package/dist/__tests__/file-lock.test.js +209 -0
  53. package/dist/__tests__/file-lock.test.js.map +1 -0
  54. package/dist/__tests__/hooks.test.js +27 -56
  55. package/dist/__tests__/hooks.test.js.map +1 -1
  56. package/dist/__tests__/hud/defaults.test.js +3 -0
  57. package/dist/__tests__/hud/defaults.test.js.map +1 -1
  58. package/dist/__tests__/hud/limits-error.test.d.ts +5 -0
  59. package/dist/__tests__/hud/limits-error.test.d.ts.map +1 -0
  60. package/dist/__tests__/hud/limits-error.test.js +43 -0
  61. package/dist/__tests__/hud/limits-error.test.js.map +1 -0
  62. package/dist/__tests__/hud/max-width.test.d.ts +2 -0
  63. package/dist/__tests__/hud/max-width.test.d.ts.map +1 -0
  64. package/dist/__tests__/hud/max-width.test.js +149 -0
  65. package/dist/__tests__/hud/max-width.test.js.map +1 -0
  66. package/dist/__tests__/hud/rate-limits-error.test.d.ts +5 -0
  67. package/dist/__tests__/hud/rate-limits-error.test.d.ts.map +1 -0
  68. package/dist/__tests__/hud/rate-limits-error.test.js +76 -0
  69. package/dist/__tests__/hud/rate-limits-error.test.js.map +1 -0
  70. package/dist/__tests__/hud/render.test.js +245 -1
  71. package/dist/__tests__/hud/render.test.js.map +1 -1
  72. package/dist/__tests__/hud/state.test.js +15 -0
  73. package/dist/__tests__/hud/state.test.js.map +1 -1
  74. package/dist/__tests__/hud/usage-api.test.js +19 -5
  75. package/dist/__tests__/hud/usage-api.test.js.map +1 -1
  76. package/dist/__tests__/hud/version-display.test.js +3 -1
  77. package/dist/__tests__/hud/version-display.test.js.map +1 -1
  78. package/dist/__tests__/hud-agents.test.js.map +1 -1
  79. package/dist/__tests__/hud-api-key-source.test.d.ts +7 -0
  80. package/dist/__tests__/hud-api-key-source.test.d.ts.map +1 -0
  81. package/dist/__tests__/hud-api-key-source.test.js +112 -0
  82. package/dist/__tests__/hud-api-key-source.test.js.map +1 -0
  83. package/dist/__tests__/hud-build-guidance.test.d.ts +2 -0
  84. package/dist/__tests__/hud-build-guidance.test.d.ts.map +1 -0
  85. package/dist/__tests__/hud-build-guidance.test.js +26 -0
  86. package/dist/__tests__/hud-build-guidance.test.js.map +1 -0
  87. package/dist/__tests__/installer-hooks-merge.test.js +1 -1
  88. package/dist/__tests__/installer-hooks-merge.test.js.map +1 -1
  89. package/dist/__tests__/installer.test.js +4 -0
  90. package/dist/__tests__/installer.test.js.map +1 -1
  91. package/dist/__tests__/job-management.test.js +1 -1
  92. package/dist/__tests__/job-management.test.js.map +1 -1
  93. package/dist/__tests__/live-data.test.js +11 -5
  94. package/dist/__tests__/live-data.test.js.map +1 -1
  95. package/dist/__tests__/mcp-default-config.test.d.ts +2 -0
  96. package/dist/__tests__/mcp-default-config.test.d.ts.map +1 -0
  97. package/dist/__tests__/mcp-default-config.test.js +13 -0
  98. package/dist/__tests__/mcp-default-config.test.js.map +1 -0
  99. package/dist/__tests__/model-routing.test.js.map +1 -1
  100. package/dist/__tests__/non-claude-provider-detection.test.d.ts +11 -0
  101. package/dist/__tests__/non-claude-provider-detection.test.d.ts.map +1 -0
  102. package/dist/__tests__/non-claude-provider-detection.test.js +303 -0
  103. package/dist/__tests__/non-claude-provider-detection.test.js.map +1 -0
  104. package/dist/__tests__/omc-tools-server.test.js +5 -5
  105. package/dist/__tests__/package-dir-resolution-regression.test.d.ts +2 -0
  106. package/dist/__tests__/package-dir-resolution-regression.test.d.ts.map +1 -0
  107. package/dist/__tests__/package-dir-resolution-regression.test.js +63 -0
  108. package/dist/__tests__/package-dir-resolution-regression.test.js.map +1 -0
  109. package/dist/__tests__/pipeline-orchestrator.test.d.ts +5 -0
  110. package/dist/__tests__/pipeline-orchestrator.test.d.ts.map +1 -0
  111. package/dist/__tests__/pipeline-orchestrator.test.js +244 -0
  112. package/dist/__tests__/pipeline-orchestrator.test.js.map +1 -0
  113. package/dist/__tests__/plugin-setup-deps.test.d.ts +2 -0
  114. package/dist/__tests__/plugin-setup-deps.test.d.ts.map +1 -0
  115. package/dist/__tests__/plugin-setup-deps.test.js +64 -0
  116. package/dist/__tests__/plugin-setup-deps.test.js.map +1 -0
  117. package/dist/__tests__/project-memory-merge.test.d.ts +2 -0
  118. package/dist/__tests__/project-memory-merge.test.d.ts.map +1 -0
  119. package/dist/__tests__/project-memory-merge.test.js +342 -0
  120. package/dist/__tests__/project-memory-merge.test.js.map +1 -0
  121. package/dist/__tests__/ralph-prd-mandatory.test.d.ts +2 -0
  122. package/dist/__tests__/ralph-prd-mandatory.test.d.ts.map +1 -0
  123. package/dist/__tests__/ralph-prd-mandatory.test.js +316 -0
  124. package/dist/__tests__/ralph-prd-mandatory.test.js.map +1 -0
  125. package/dist/__tests__/rate-limit-wait/daemon-bootstrap.test.d.ts +2 -0
  126. package/dist/__tests__/rate-limit-wait/daemon-bootstrap.test.d.ts.map +1 -0
  127. package/dist/__tests__/rate-limit-wait/daemon-bootstrap.test.js +94 -0
  128. package/dist/__tests__/rate-limit-wait/daemon-bootstrap.test.js.map +1 -0
  129. package/dist/__tests__/rate-limit-wait/daemon.test.js.map +1 -1
  130. package/dist/__tests__/rate-limit-wait/integration.test.js +33 -25
  131. package/dist/__tests__/rate-limit-wait/integration.test.js.map +1 -1
  132. package/dist/__tests__/rate-limit-wait/rate-limit-monitor.test.js +34 -26
  133. package/dist/__tests__/rate-limit-wait/rate-limit-monitor.test.js.map +1 -1
  134. package/dist/__tests__/rate-limit-wait/tmux-detector.test.js.map +1 -1
  135. package/dist/__tests__/resolve-node.test.js.map +1 -1
  136. package/dist/__tests__/resolve-transcript-path.test.d.ts +12 -0
  137. package/dist/__tests__/resolve-transcript-path.test.d.ts.map +1 -0
  138. package/dist/__tests__/resolve-transcript-path.test.js +167 -0
  139. package/dist/__tests__/resolve-transcript-path.test.js.map +1 -0
  140. package/dist/__tests__/routing-force-inherit.test.d.ts +8 -0
  141. package/dist/__tests__/routing-force-inherit.test.d.ts.map +1 -0
  142. package/dist/__tests__/routing-force-inherit.test.js +180 -0
  143. package/dist/__tests__/routing-force-inherit.test.js.map +1 -0
  144. package/dist/__tests__/run-cjs-graceful-fallback.test.js +2 -2
  145. package/dist/__tests__/run-cjs-graceful-fallback.test.js.map +1 -1
  146. package/dist/__tests__/shared-memory-concurrency.test.d.ts +8 -0
  147. package/dist/__tests__/shared-memory-concurrency.test.d.ts.map +1 -0
  148. package/dist/__tests__/shared-memory-concurrency.test.js +132 -0
  149. package/dist/__tests__/shared-memory-concurrency.test.js.map +1 -0
  150. package/dist/__tests__/shared-memory.test.d.ts +2 -0
  151. package/dist/__tests__/shared-memory.test.d.ts.map +1 -0
  152. package/dist/__tests__/shared-memory.test.js +345 -0
  153. package/dist/__tests__/shared-memory.test.js.map +1 -0
  154. package/dist/__tests__/shell-path.test.d.ts +5 -0
  155. package/dist/__tests__/shell-path.test.d.ts.map +1 -0
  156. package/dist/__tests__/shell-path.test.js +70 -0
  157. package/dist/__tests__/shell-path.test.js.map +1 -0
  158. package/dist/__tests__/skills.test.js +13 -10
  159. package/dist/__tests__/skills.test.js.map +1 -1
  160. package/dist/__tests__/slack-socket.test.d.ts +5 -0
  161. package/dist/__tests__/slack-socket.test.d.ts.map +1 -0
  162. package/dist/__tests__/slack-socket.test.js +252 -0
  163. package/dist/__tests__/slack-socket.test.js.map +1 -0
  164. package/dist/__tests__/smoke-functional.test.d.ts +8 -0
  165. package/dist/__tests__/smoke-functional.test.d.ts.map +1 -0
  166. package/dist/__tests__/smoke-functional.test.js +450 -0
  167. package/dist/__tests__/smoke-functional.test.js.map +1 -0
  168. package/dist/__tests__/smoke-pipeline-edge.test.d.ts +8 -0
  169. package/dist/__tests__/smoke-pipeline-edge.test.d.ts.map +1 -0
  170. package/dist/__tests__/smoke-pipeline-edge.test.js +435 -0
  171. package/dist/__tests__/smoke-pipeline-edge.test.js.map +1 -0
  172. package/dist/__tests__/smoke-slack-and-state.test.d.ts +13 -0
  173. package/dist/__tests__/smoke-slack-and-state.test.d.ts.map +1 -0
  174. package/dist/__tests__/smoke-slack-and-state.test.js +632 -0
  175. package/dist/__tests__/smoke-slack-and-state.test.js.map +1 -0
  176. package/dist/__tests__/smoke-team-worker.test.d.ts +15 -0
  177. package/dist/__tests__/smoke-team-worker.test.d.ts.map +1 -0
  178. package/dist/__tests__/smoke-team-worker.test.js +483 -0
  179. package/dist/__tests__/smoke-team-worker.test.js.map +1 -0
  180. package/dist/__tests__/ssrf-guard.test.d.ts +2 -0
  181. package/dist/__tests__/ssrf-guard.test.d.ts.map +1 -0
  182. package/dist/__tests__/ssrf-guard.test.js +96 -0
  183. package/dist/__tests__/ssrf-guard.test.js.map +1 -0
  184. package/dist/__tests__/task-continuation.test.js +1 -1
  185. package/dist/__tests__/task-continuation.test.js.map +1 -1
  186. package/dist/__tests__/tier0-contracts.test.js +5 -1
  187. package/dist/__tests__/tier0-contracts.test.js.map +1 -1
  188. package/dist/__tests__/tier0-docs-consistency.test.js +3 -4
  189. package/dist/__tests__/tier0-docs-consistency.test.js.map +1 -1
  190. package/dist/__tests__/tools/trace-tools.test.js +7 -3
  191. package/dist/__tests__/tools/trace-tools.test.js.map +1 -1
  192. package/dist/__tests__/types.test.js +4 -4
  193. package/dist/__tests__/types.test.js.map +1 -1
  194. package/dist/__tests__/worker-adapter.test.d.ts +5 -0
  195. package/dist/__tests__/worker-adapter.test.d.ts.map +1 -0
  196. package/dist/__tests__/worker-adapter.test.js +211 -0
  197. package/dist/__tests__/worker-adapter.test.js.map +1 -0
  198. package/dist/agents/definitions.d.ts +6 -5
  199. package/dist/agents/definitions.d.ts.map +1 -1
  200. package/dist/agents/definitions.js +11 -6
  201. package/dist/agents/definitions.js.map +1 -1
  202. package/dist/agents/harsh-critic.d.ts +14 -0
  203. package/dist/agents/harsh-critic.d.ts.map +1 -0
  204. package/dist/agents/harsh-critic.js +42 -0
  205. package/dist/agents/harsh-critic.js.map +1 -0
  206. package/dist/agents/index.d.ts +1 -3
  207. package/dist/agents/index.d.ts.map +1 -1
  208. package/dist/agents/index.js +1 -4
  209. package/dist/agents/index.js.map +1 -1
  210. package/dist/agents/prompt-helpers.d.ts.map +1 -1
  211. package/dist/agents/prompt-helpers.js +21 -16
  212. package/dist/agents/prompt-helpers.js.map +1 -1
  213. package/dist/agents/prompt-sections/index.d.ts.map +1 -1
  214. package/dist/agents/prompt-sections/index.js +7 -3
  215. package/dist/agents/prompt-sections/index.js.map +1 -1
  216. package/dist/agents/utils.d.ts.map +1 -1
  217. package/dist/agents/utils.js +22 -13
  218. package/dist/agents/utils.js.map +1 -1
  219. package/dist/cli/__tests__/ask.test.d.ts +2 -0
  220. package/dist/cli/__tests__/ask.test.d.ts.map +1 -0
  221. package/dist/cli/__tests__/ask.test.js +282 -0
  222. package/dist/cli/__tests__/ask.test.js.map +1 -0
  223. package/dist/cli/__tests__/cli-boot.test.d.ts +8 -0
  224. package/dist/cli/__tests__/cli-boot.test.d.ts.map +1 -0
  225. package/dist/cli/__tests__/cli-boot.test.js +82 -0
  226. package/dist/cli/__tests__/cli-boot.test.js.map +1 -0
  227. package/dist/cli/__tests__/launch.test.js +11 -2
  228. package/dist/cli/__tests__/launch.test.js.map +1 -1
  229. package/dist/cli/__tests__/team-command-branding.test.d.ts +2 -0
  230. package/dist/cli/__tests__/team-command-branding.test.d.ts.map +1 -0
  231. package/dist/cli/__tests__/team-command-branding.test.js +14 -0
  232. package/dist/cli/__tests__/team-command-branding.test.js.map +1 -0
  233. package/dist/cli/__tests__/team-help.test.d.ts +2 -0
  234. package/dist/cli/__tests__/team-help.test.d.ts.map +1 -0
  235. package/dist/cli/__tests__/team-help.test.js +19 -0
  236. package/dist/cli/__tests__/team-help.test.js.map +1 -0
  237. package/dist/cli/__tests__/team-runtime-boundary.test.d.ts +2 -0
  238. package/dist/cli/__tests__/team-runtime-boundary.test.d.ts.map +1 -0
  239. package/dist/cli/__tests__/team-runtime-boundary.test.js +11 -0
  240. package/dist/cli/__tests__/team-runtime-boundary.test.js.map +1 -0
  241. package/dist/cli/__tests__/team.test.d.ts +2 -0
  242. package/dist/cli/__tests__/team.test.d.ts.map +1 -0
  243. package/dist/cli/__tests__/team.test.js +335 -0
  244. package/dist/cli/__tests__/team.test.js.map +1 -0
  245. package/dist/cli/__tests__/tmux-utils.test.d.ts +11 -0
  246. package/dist/cli/__tests__/tmux-utils.test.d.ts.map +1 -0
  247. package/dist/cli/__tests__/tmux-utils.test.js +145 -0
  248. package/dist/cli/__tests__/tmux-utils.test.js.map +1 -0
  249. package/dist/cli/ask.d.ts +13 -0
  250. package/dist/cli/ask.d.ts.map +1 -0
  251. package/dist/cli/ask.js +202 -0
  252. package/dist/cli/ask.js.map +1 -0
  253. package/dist/cli/commands/__tests__/team.test.d.ts +2 -0
  254. package/dist/cli/commands/__tests__/team.test.d.ts.map +1 -0
  255. package/dist/cli/commands/__tests__/team.test.js +177 -0
  256. package/dist/cli/commands/__tests__/team.test.js.map +1 -0
  257. package/dist/cli/commands/__tests__/teleport.test.js.map +1 -1
  258. package/dist/cli/commands/doctor-conflicts.d.ts +14 -1
  259. package/dist/cli/commands/doctor-conflicts.d.ts.map +1 -1
  260. package/dist/cli/commands/doctor-conflicts.js +126 -12
  261. package/dist/cli/commands/doctor-conflicts.js.map +1 -1
  262. package/dist/cli/commands/team.d.ts +19 -0
  263. package/dist/cli/commands/team.d.ts.map +1 -0
  264. package/dist/cli/commands/team.js +510 -0
  265. package/dist/cli/commands/team.js.map +1 -0
  266. package/dist/cli/commands/teleport.d.ts.map +1 -1
  267. package/dist/cli/commands/teleport.js +6 -4
  268. package/dist/cli/commands/teleport.js.map +1 -1
  269. package/dist/cli/index.js +58 -17
  270. package/dist/cli/index.js.map +1 -1
  271. package/dist/cli/launch.d.ts.map +1 -1
  272. package/dist/cli/launch.js +12 -6
  273. package/dist/cli/launch.js.map +1 -1
  274. package/dist/cli/team.d.ts +76 -0
  275. package/dist/cli/team.d.ts.map +1 -0
  276. package/dist/cli/team.js +1117 -0
  277. package/dist/cli/team.js.map +1 -0
  278. package/dist/cli/tmux-utils.d.ts +10 -0
  279. package/dist/cli/tmux-utils.d.ts.map +1 -1
  280. package/dist/cli/tmux-utils.js +20 -1
  281. package/dist/cli/tmux-utils.js.map +1 -1
  282. package/dist/config/loader.d.ts.map +1 -1
  283. package/dist/config/loader.js +134 -48
  284. package/dist/config/loader.js.map +1 -1
  285. package/dist/config/models.d.ts +36 -14
  286. package/dist/config/models.d.ts.map +1 -1
  287. package/dist/config/models.js +94 -0
  288. package/dist/config/models.js.map +1 -1
  289. package/dist/constants/names.d.ts +6 -3
  290. package/dist/constants/names.d.ts.map +1 -1
  291. package/dist/constants/names.js +7 -3
  292. package/dist/constants/names.js.map +1 -1
  293. package/dist/features/auto-update.js +5 -5
  294. package/dist/features/auto-update.js.map +1 -1
  295. package/dist/features/boulder-state/storage.d.ts +1 -1
  296. package/dist/features/boulder-state/storage.d.ts.map +1 -1
  297. package/dist/features/boulder-state/storage.js +20 -22
  298. package/dist/features/boulder-state/storage.js.map +1 -1
  299. package/dist/features/delegation-enforcer.d.ts +5 -0
  300. package/dist/features/delegation-enforcer.d.ts.map +1 -1
  301. package/dist/features/delegation-enforcer.js +58 -5
  302. package/dist/features/delegation-enforcer.js.map +1 -1
  303. package/dist/features/model-routing/router.d.ts.map +1 -1
  304. package/dist/features/model-routing/router.js +11 -0
  305. package/dist/features/model-routing/router.js.map +1 -1
  306. package/dist/features/model-routing/types.d.ts +6 -0
  307. package/dist/features/model-routing/types.d.ts.map +1 -1
  308. package/dist/features/model-routing/types.js.map +1 -1
  309. package/dist/features/rate-limit-wait/daemon.d.ts +5 -0
  310. package/dist/features/rate-limit-wait/daemon.d.ts.map +1 -1
  311. package/dist/features/rate-limit-wait/daemon.js +38 -9
  312. package/dist/features/rate-limit-wait/daemon.js.map +1 -1
  313. package/dist/features/rate-limit-wait/rate-limit-monitor.d.ts.map +1 -1
  314. package/dist/features/rate-limit-wait/rate-limit-monitor.js +3 -2
  315. package/dist/features/rate-limit-wait/rate-limit-monitor.js.map +1 -1
  316. package/dist/features/rate-limit-wait/tmux-detector.d.ts.map +1 -1
  317. package/dist/features/rate-limit-wait/tmux-detector.js +8 -2
  318. package/dist/features/rate-limit-wait/tmux-detector.js.map +1 -1
  319. package/dist/features/state-manager/__tests__/cache.test.js +161 -1
  320. package/dist/features/state-manager/__tests__/cache.test.js.map +1 -1
  321. package/dist/features/state-manager/index.d.ts +2 -0
  322. package/dist/features/state-manager/index.d.ts.map +1 -1
  323. package/dist/features/state-manager/index.js +167 -51
  324. package/dist/features/state-manager/index.js.map +1 -1
  325. package/dist/hooks/__tests__/bridge-routing.test.js +124 -1
  326. package/dist/hooks/__tests__/bridge-routing.test.js.map +1 -1
  327. package/dist/hooks/__tests__/bridge-security.test.js +1 -1
  328. package/dist/hooks/__tests__/bridge-security.test.js.map +1 -1
  329. package/dist/hooks/__tests__/bridge-team-worker-guard.test.d.ts +2 -0
  330. package/dist/hooks/__tests__/bridge-team-worker-guard.test.d.ts.map +1 -0
  331. package/dist/hooks/__tests__/bridge-team-worker-guard.test.js +52 -0
  332. package/dist/hooks/__tests__/bridge-team-worker-guard.test.js.map +1 -0
  333. package/dist/hooks/__tests__/bridge.test.js.map +1 -1
  334. package/dist/hooks/__tests__/codebase-map.test.js.map +1 -1
  335. package/dist/hooks/__tests__/compaction-concurrency.test.js.map +1 -1
  336. package/dist/hooks/__tests__/stop-hook-openclaw-cooldown.test.d.ts +2 -0
  337. package/dist/hooks/__tests__/stop-hook-openclaw-cooldown.test.d.ts.map +1 -0
  338. package/dist/hooks/__tests__/stop-hook-openclaw-cooldown.test.js +65 -0
  339. package/dist/hooks/__tests__/stop-hook-openclaw-cooldown.test.js.map +1 -0
  340. package/dist/hooks/auto-slash-command/live-data.d.ts.map +1 -1
  341. package/dist/hooks/auto-slash-command/live-data.js +54 -25
  342. package/dist/hooks/auto-slash-command/live-data.js.map +1 -1
  343. package/dist/hooks/autopilot/__tests__/cancel.test.js +1 -1
  344. package/dist/hooks/autopilot/__tests__/cancel.test.js.map +1 -1
  345. package/dist/hooks/autopilot/__tests__/pipeline.test.d.ts +2 -0
  346. package/dist/hooks/autopilot/__tests__/pipeline.test.d.ts.map +1 -0
  347. package/dist/hooks/autopilot/__tests__/pipeline.test.js +375 -0
  348. package/dist/hooks/autopilot/__tests__/pipeline.test.js.map +1 -0
  349. package/dist/hooks/autopilot/__tests__/state.test.js +2 -2
  350. package/dist/hooks/autopilot/__tests__/state.test.js.map +1 -1
  351. package/dist/hooks/autopilot/__tests__/summary.test.js.map +1 -1
  352. package/dist/hooks/autopilot/__tests__/transition.test.js.map +1 -1
  353. package/dist/hooks/autopilot/__tests__/validation.test.js +3 -3
  354. package/dist/hooks/autopilot/__tests__/validation.test.js.map +1 -1
  355. package/dist/hooks/autopilot/adapters/execution-adapter.d.ts +12 -0
  356. package/dist/hooks/autopilot/adapters/execution-adapter.d.ts.map +1 -0
  357. package/dist/hooks/autopilot/adapters/execution-adapter.js +110 -0
  358. package/dist/hooks/autopilot/adapters/execution-adapter.js.map +1 -0
  359. package/dist/hooks/autopilot/adapters/index.d.ts +22 -0
  360. package/dist/hooks/autopilot/adapters/index.d.ts.map +1 -0
  361. package/dist/hooks/autopilot/adapters/index.js +32 -0
  362. package/dist/hooks/autopilot/adapters/index.js.map +1 -0
  363. package/dist/hooks/autopilot/adapters/qa-adapter.d.ts +12 -0
  364. package/dist/hooks/autopilot/adapters/qa-adapter.d.ts.map +1 -0
  365. package/dist/hooks/autopilot/adapters/qa-adapter.js +33 -0
  366. package/dist/hooks/autopilot/adapters/qa-adapter.js.map +1 -0
  367. package/dist/hooks/autopilot/adapters/ralph-adapter.d.ts +15 -0
  368. package/dist/hooks/autopilot/adapters/ralph-adapter.d.ts.map +1 -0
  369. package/dist/hooks/autopilot/adapters/ralph-adapter.js +102 -0
  370. package/dist/hooks/autopilot/adapters/ralph-adapter.js.map +1 -0
  371. package/dist/hooks/autopilot/adapters/ralplan-adapter.d.ts +14 -0
  372. package/dist/hooks/autopilot/adapters/ralplan-adapter.d.ts.map +1 -0
  373. package/dist/hooks/autopilot/adapters/ralplan-adapter.js +81 -0
  374. package/dist/hooks/autopilot/adapters/ralplan-adapter.js.map +1 -0
  375. package/dist/hooks/autopilot/enforcement.d.ts.map +1 -1
  376. package/dist/hooks/autopilot/enforcement.js +162 -0
  377. package/dist/hooks/autopilot/enforcement.js.map +1 -1
  378. package/dist/hooks/autopilot/index.d.ts +4 -0
  379. package/dist/hooks/autopilot/index.d.ts.map +1 -1
  380. package/dist/hooks/autopilot/index.js +5 -0
  381. package/dist/hooks/autopilot/index.js.map +1 -1
  382. package/dist/hooks/autopilot/pipeline-types.d.ts +133 -0
  383. package/dist/hooks/autopilot/pipeline-types.d.ts.map +1 -0
  384. package/dist/hooks/autopilot/pipeline-types.js +44 -0
  385. package/dist/hooks/autopilot/pipeline-types.js.map +1 -0
  386. package/dist/hooks/autopilot/pipeline.d.ts +124 -0
  387. package/dist/hooks/autopilot/pipeline.d.ts.map +1 -0
  388. package/dist/hooks/autopilot/pipeline.js +407 -0
  389. package/dist/hooks/autopilot/pipeline.js.map +1 -0
  390. package/dist/hooks/autopilot/state.d.ts +6 -6
  391. package/dist/hooks/autopilot/state.d.ts.map +1 -1
  392. package/dist/hooks/autopilot/state.js +71 -129
  393. package/dist/hooks/autopilot/state.js.map +1 -1
  394. package/dist/hooks/autopilot/types.d.ts +21 -0
  395. package/dist/hooks/autopilot/types.d.ts.map +1 -1
  396. package/dist/hooks/autopilot/types.js.map +1 -1
  397. package/dist/hooks/bridge-normalize.d.ts.map +1 -1
  398. package/dist/hooks/bridge-normalize.js +13 -2
  399. package/dist/hooks/bridge-normalize.js.map +1 -1
  400. package/dist/hooks/bridge.d.ts.map +1 -1
  401. package/dist/hooks/bridge.js +151 -27
  402. package/dist/hooks/bridge.js.map +1 -1
  403. package/dist/hooks/comment-checker/index.js +1 -1
  404. package/dist/hooks/comment-checker/index.js.map +1 -1
  405. package/dist/hooks/empty-message-sanitizer/__tests__/index.test.js +2 -2
  406. package/dist/hooks/empty-message-sanitizer/__tests__/index.test.js.map +1 -1
  407. package/dist/hooks/factcheck/__tests__/factcheck.test.d.ts +7 -0
  408. package/dist/hooks/factcheck/__tests__/factcheck.test.d.ts.map +1 -0
  409. package/dist/hooks/factcheck/__tests__/factcheck.test.js +153 -0
  410. package/dist/hooks/factcheck/__tests__/factcheck.test.js.map +1 -0
  411. package/dist/hooks/factcheck/__tests__/sentinel-gate.test.d.ts +5 -0
  412. package/dist/hooks/factcheck/__tests__/sentinel-gate.test.d.ts.map +1 -0
  413. package/dist/hooks/factcheck/__tests__/sentinel-gate.test.js +159 -0
  414. package/dist/hooks/factcheck/__tests__/sentinel-gate.test.js.map +1 -0
  415. package/dist/hooks/factcheck/__tests__/sentinel.test.d.ts +7 -0
  416. package/dist/hooks/factcheck/__tests__/sentinel.test.d.ts.map +1 -0
  417. package/dist/hooks/factcheck/__tests__/sentinel.test.js +117 -0
  418. package/dist/hooks/factcheck/__tests__/sentinel.test.js.map +1 -0
  419. package/dist/hooks/factcheck/checks.d.ts +36 -0
  420. package/dist/hooks/factcheck/checks.d.ts.map +1 -0
  421. package/dist/hooks/factcheck/checks.js +144 -0
  422. package/dist/hooks/factcheck/checks.js.map +1 -0
  423. package/dist/hooks/factcheck/config.d.ts +25 -0
  424. package/dist/hooks/factcheck/config.d.ts.map +1 -0
  425. package/dist/hooks/factcheck/config.js +125 -0
  426. package/dist/hooks/factcheck/config.js.map +1 -0
  427. package/dist/hooks/factcheck/index.d.ts +34 -0
  428. package/dist/hooks/factcheck/index.d.ts.map +1 -0
  429. package/dist/hooks/factcheck/index.js +120 -0
  430. package/dist/hooks/factcheck/index.js.map +1 -0
  431. package/dist/hooks/factcheck/sentinel.d.ts +32 -0
  432. package/dist/hooks/factcheck/sentinel.d.ts.map +1 -0
  433. package/dist/hooks/factcheck/sentinel.js +153 -0
  434. package/dist/hooks/factcheck/sentinel.js.map +1 -0
  435. package/dist/hooks/factcheck/types.d.ts +99 -0
  436. package/dist/hooks/factcheck/types.d.ts.map +1 -0
  437. package/dist/hooks/factcheck/types.js +27 -0
  438. package/dist/hooks/factcheck/types.js.map +1 -0
  439. package/dist/hooks/keyword-detector/__tests__/index.test.js +29 -80
  440. package/dist/hooks/keyword-detector/__tests__/index.test.js.map +1 -1
  441. package/dist/hooks/keyword-detector/index.d.ts +1 -1
  442. package/dist/hooks/keyword-detector/index.d.ts.map +1 -1
  443. package/dist/hooks/keyword-detector/index.js +11 -21
  444. package/dist/hooks/keyword-detector/index.js.map +1 -1
  445. package/dist/hooks/learner/bridge.d.ts.map +1 -1
  446. package/dist/hooks/learner/bridge.js +8 -0
  447. package/dist/hooks/learner/bridge.js.map +1 -1
  448. package/dist/hooks/learner/index.d.ts +15 -15
  449. package/dist/hooks/learner/index.d.ts.map +1 -1
  450. package/dist/hooks/learner/index.js +44 -38
  451. package/dist/hooks/learner/index.js.map +1 -1
  452. package/dist/hooks/mode-registry/__tests__/session-isolation.test.js +4 -2
  453. package/dist/hooks/mode-registry/__tests__/session-isolation.test.js.map +1 -1
  454. package/dist/hooks/mode-registry/index.d.ts +2 -13
  455. package/dist/hooks/mode-registry/index.d.ts.map +1 -1
  456. package/dist/hooks/mode-registry/index.js +77 -174
  457. package/dist/hooks/mode-registry/index.js.map +1 -1
  458. package/dist/hooks/mode-registry/types.d.ts +1 -1
  459. package/dist/hooks/mode-registry/types.d.ts.map +1 -1
  460. package/dist/hooks/notepad/index.d.ts.map +1 -1
  461. package/dist/hooks/notepad/index.js +83 -73
  462. package/dist/hooks/notepad/index.js.map +1 -1
  463. package/dist/hooks/omc-orchestrator/index.d.ts.map +1 -1
  464. package/dist/hooks/omc-orchestrator/index.js +2 -1
  465. package/dist/hooks/omc-orchestrator/index.js.map +1 -1
  466. package/dist/hooks/permission-handler/__tests__/index.test.js +2 -2
  467. package/dist/hooks/permission-handler/__tests__/index.test.js.map +1 -1
  468. package/dist/hooks/permission-handler/index.d.ts +1 -1
  469. package/dist/hooks/permission-handler/index.d.ts.map +1 -1
  470. package/dist/hooks/permission-handler/index.js +4 -8
  471. package/dist/hooks/permission-handler/index.js.map +1 -1
  472. package/dist/hooks/persistent-mode/__tests__/rate-limit-stop.test.js +23 -0
  473. package/dist/hooks/persistent-mode/__tests__/rate-limit-stop.test.js.map +1 -1
  474. package/dist/hooks/persistent-mode/__tests__/skill-state-stop.test.js.map +1 -1
  475. package/dist/hooks/persistent-mode/__tests__/tool-error.test.js +1 -1
  476. package/dist/hooks/persistent-mode/__tests__/tool-error.test.js.map +1 -1
  477. package/dist/hooks/persistent-mode/index.d.ts +3 -3
  478. package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
  479. package/dist/hooks/persistent-mode/index.js +25 -12
  480. package/dist/hooks/persistent-mode/index.js.map +1 -1
  481. package/dist/hooks/persistent-mode/session-isolation.test.js +20 -4
  482. package/dist/hooks/persistent-mode/session-isolation.test.js.map +1 -1
  483. package/dist/hooks/persistent-mode/stop-hook-blocking.test.d.ts +2 -0
  484. package/dist/hooks/persistent-mode/stop-hook-blocking.test.d.ts.map +1 -0
  485. package/dist/hooks/persistent-mode/stop-hook-blocking.test.js +367 -0
  486. package/dist/hooks/persistent-mode/stop-hook-blocking.test.js.map +1 -0
  487. package/dist/hooks/pre-compact/index.d.ts +2 -14
  488. package/dist/hooks/pre-compact/index.d.ts.map +1 -1
  489. package/dist/hooks/pre-compact/index.js +8 -49
  490. package/dist/hooks/pre-compact/index.js.map +1 -1
  491. package/dist/hooks/preemptive-compaction/index.js +1 -1
  492. package/dist/hooks/preemptive-compaction/index.js.map +1 -1
  493. package/dist/hooks/project-memory/__tests__/integration.test.js +4 -2
  494. package/dist/hooks/project-memory/__tests__/integration.test.js.map +1 -1
  495. package/dist/hooks/project-memory/index.d.ts +9 -9
  496. package/dist/hooks/project-memory/index.d.ts.map +1 -1
  497. package/dist/hooks/project-memory/index.js +25 -25
  498. package/dist/hooks/project-memory/index.js.map +1 -1
  499. package/dist/hooks/project-memory/learner.d.ts.map +1 -1
  500. package/dist/hooks/project-memory/learner.js +92 -86
  501. package/dist/hooks/project-memory/learner.js.map +1 -1
  502. package/dist/hooks/project-memory/storage.d.ts +9 -0
  503. package/dist/hooks/project-memory/storage.d.ts.map +1 -1
  504. package/dist/hooks/project-memory/storage.js +15 -0
  505. package/dist/hooks/project-memory/storage.js.map +1 -1
  506. package/dist/hooks/ralph/index.d.ts +1 -1
  507. package/dist/hooks/ralph/index.d.ts.map +1 -1
  508. package/dist/hooks/ralph/index.js +2 -0
  509. package/dist/hooks/ralph/index.js.map +1 -1
  510. package/dist/hooks/ralph/loop.d.ts +10 -2
  511. package/dist/hooks/ralph/loop.d.ts.map +1 -1
  512. package/dist/hooks/ralph/loop.js +64 -113
  513. package/dist/hooks/ralph/loop.js.map +1 -1
  514. package/dist/hooks/ralph/prd.d.ts.map +1 -1
  515. package/dist/hooks/ralph/prd.js +3 -2
  516. package/dist/hooks/ralph/prd.js.map +1 -1
  517. package/dist/hooks/ralph/progress.d.ts.map +1 -1
  518. package/dist/hooks/ralph/progress.js +6 -5
  519. package/dist/hooks/ralph/progress.js.map +1 -1
  520. package/dist/hooks/ralph/verifier.d.ts +3 -1
  521. package/dist/hooks/ralph/verifier.d.ts.map +1 -1
  522. package/dist/hooks/ralph/verifier.js +19 -7
  523. package/dist/hooks/ralph/verifier.js.map +1 -1
  524. package/dist/hooks/session-end/__tests__/openclaw-session-end.test.d.ts +2 -0
  525. package/dist/hooks/session-end/__tests__/openclaw-session-end.test.d.ts.map +1 -0
  526. package/dist/hooks/session-end/__tests__/openclaw-session-end.test.js +86 -0
  527. package/dist/hooks/session-end/__tests__/openclaw-session-end.test.js.map +1 -0
  528. package/dist/hooks/session-end/index.d.ts.map +1 -1
  529. package/dist/hooks/session-end/index.js +17 -17
  530. package/dist/hooks/session-end/index.js.map +1 -1
  531. package/dist/hooks/setup/index.d.ts.map +1 -1
  532. package/dist/hooks/setup/index.js +0 -2
  533. package/dist/hooks/setup/index.js.map +1 -1
  534. package/dist/hooks/skill-bridge.cjs +13 -4
  535. package/dist/hooks/skill-state/__tests__/skill-state.test.js.map +1 -1
  536. package/dist/hooks/skill-state/index.d.ts +0 -5
  537. package/dist/hooks/skill-state/index.d.ts.map +1 -1
  538. package/dist/hooks/skill-state/index.js +9 -55
  539. package/dist/hooks/skill-state/index.js.map +1 -1
  540. package/dist/hooks/subagent-tracker/__tests__/flush-race.test.js.map +1 -1
  541. package/dist/hooks/subagent-tracker/__tests__/index.test.js.map +1 -1
  542. package/dist/hooks/subagent-tracker/__tests__/session-replay.test.js +1 -1
  543. package/dist/hooks/subagent-tracker/__tests__/session-replay.test.js.map +1 -1
  544. package/dist/hooks/subagent-tracker/index.d.ts.map +1 -1
  545. package/dist/hooks/subagent-tracker/index.js +10 -22
  546. package/dist/hooks/subagent-tracker/index.js.map +1 -1
  547. package/dist/hooks/subagent-tracker/session-replay.d.ts.map +1 -1
  548. package/dist/hooks/subagent-tracker/session-replay.js +3 -2
  549. package/dist/hooks/subagent-tracker/session-replay.js.map +1 -1
  550. package/dist/hooks/task-size-detector/__tests__/index.test.js +7 -7
  551. package/dist/hooks/task-size-detector/__tests__/index.test.js.map +1 -1
  552. package/dist/hooks/task-size-detector/index.d.ts.map +1 -1
  553. package/dist/hooks/task-size-detector/index.js +0 -3
  554. package/dist/hooks/task-size-detector/index.js.map +1 -1
  555. package/dist/hooks/team-dispatch-hook.d.ts +65 -0
  556. package/dist/hooks/team-dispatch-hook.d.ts.map +1 -0
  557. package/dist/hooks/team-dispatch-hook.js +663 -0
  558. package/dist/hooks/team-dispatch-hook.js.map +1 -0
  559. package/dist/hooks/team-leader-nudge-hook.d.ts +36 -0
  560. package/dist/hooks/team-leader-nudge-hook.d.ts.map +1 -0
  561. package/dist/hooks/team-leader-nudge-hook.js +218 -0
  562. package/dist/hooks/team-leader-nudge-hook.js.map +1 -0
  563. package/dist/hooks/team-worker-hook.d.ts +45 -0
  564. package/dist/hooks/team-worker-hook.d.ts.map +1 -0
  565. package/dist/hooks/team-worker-hook.js +415 -0
  566. package/dist/hooks/team-worker-hook.js.map +1 -0
  567. package/dist/hooks/think-mode/__tests__/index.test.js.map +1 -1
  568. package/dist/hooks/todo-continuation/__tests__/isAuthenticationError.test.d.ts +2 -0
  569. package/dist/hooks/todo-continuation/__tests__/isAuthenticationError.test.d.ts.map +1 -0
  570. package/dist/hooks/todo-continuation/__tests__/isAuthenticationError.test.js +33 -0
  571. package/dist/hooks/todo-continuation/__tests__/isAuthenticationError.test.js.map +1 -0
  572. package/dist/hooks/todo-continuation/index.d.ts +12 -0
  573. package/dist/hooks/todo-continuation/index.d.ts.map +1 -1
  574. package/dist/hooks/todo-continuation/index.js +37 -1
  575. package/dist/hooks/todo-continuation/index.js.map +1 -1
  576. package/dist/hooks/ultrapilot/decomposer.d.ts.map +1 -1
  577. package/dist/hooks/ultrapilot/decomposer.js +3 -1
  578. package/dist/hooks/ultrapilot/decomposer.js.map +1 -1
  579. package/dist/hooks/ultrapilot/index.d.ts.map +1 -1
  580. package/dist/hooks/ultrapilot/index.js +3 -1
  581. package/dist/hooks/ultrapilot/index.js.map +1 -1
  582. package/dist/hooks/ultrapilot/state.d.ts +1 -1
  583. package/dist/hooks/ultrapilot/state.d.ts.map +1 -1
  584. package/dist/hooks/ultrapilot/state.js +45 -77
  585. package/dist/hooks/ultrapilot/state.js.map +1 -1
  586. package/dist/hooks/ultraqa/index.d.ts.map +1 -1
  587. package/dist/hooks/ultraqa/index.js +4 -77
  588. package/dist/hooks/ultraqa/index.js.map +1 -1
  589. package/dist/hooks/ultrawork/index.d.ts.map +1 -1
  590. package/dist/hooks/ultrawork/index.js +40 -82
  591. package/dist/hooks/ultrawork/index.js.map +1 -1
  592. package/dist/hooks/ultrawork/session-isolation.test.js +1 -1
  593. package/dist/hooks/ultrawork/session-isolation.test.js.map +1 -1
  594. package/dist/hud/elements/api-key-source.d.ts +30 -0
  595. package/dist/hud/elements/api-key-source.d.ts.map +1 -0
  596. package/dist/hud/elements/api-key-source.js +70 -0
  597. package/dist/hud/elements/api-key-source.js.map +1 -0
  598. package/dist/hud/elements/index.d.ts +1 -0
  599. package/dist/hud/elements/index.d.ts.map +1 -1
  600. package/dist/hud/elements/index.js +1 -0
  601. package/dist/hud/elements/index.js.map +1 -1
  602. package/dist/hud/elements/limits.d.ts +9 -1
  603. package/dist/hud/elements/limits.d.ts.map +1 -1
  604. package/dist/hud/elements/limits.js +18 -0
  605. package/dist/hud/elements/limits.js.map +1 -1
  606. package/dist/hud/index.d.ts.map +1 -1
  607. package/dist/hud/index.js +40 -25
  608. package/dist/hud/index.js.map +1 -1
  609. package/dist/hud/omc-state.d.ts.map +1 -1
  610. package/dist/hud/omc-state.js +6 -4
  611. package/dist/hud/omc-state.js.map +1 -1
  612. package/dist/hud/render.d.ts +9 -0
  613. package/dist/hud/render.d.ts.map +1 -1
  614. package/dist/hud/render.js +166 -15
  615. package/dist/hud/render.js.map +1 -1
  616. package/dist/hud/state.d.ts.map +1 -1
  617. package/dist/hud/state.js +23 -14
  618. package/dist/hud/state.js.map +1 -1
  619. package/dist/hud/stdin.d.ts.map +1 -1
  620. package/dist/hud/stdin.js +5 -2
  621. package/dist/hud/stdin.js.map +1 -1
  622. package/dist/hud/types.d.ts +34 -3
  623. package/dist/hud/types.d.ts.map +1 -1
  624. package/dist/hud/types.js +19 -0
  625. package/dist/hud/types.js.map +1 -1
  626. package/dist/hud/usage-api.d.ts +9 -6
  627. package/dist/hud/usage-api.d.ts.map +1 -1
  628. package/dist/hud/usage-api.js +115 -46
  629. package/dist/hud/usage-api.js.map +1 -1
  630. package/dist/index.d.ts +3 -1
  631. package/dist/index.d.ts.map +1 -1
  632. package/dist/index.js +6 -2
  633. package/dist/index.js.map +1 -1
  634. package/dist/installer/__tests__/claude-md-merge.test.js +29 -0
  635. package/dist/installer/__tests__/claude-md-merge.test.js.map +1 -1
  636. package/dist/installer/__tests__/safe-installer.test.js +1 -1
  637. package/dist/installer/__tests__/safe-installer.test.js.map +1 -1
  638. package/dist/installer/hooks.d.ts.map +1 -1
  639. package/dist/installer/hooks.js +11 -12
  640. package/dist/installer/hooks.js.map +1 -1
  641. package/dist/installer/index.d.ts.map +1 -1
  642. package/dist/installer/index.js +20 -16
  643. package/dist/installer/index.js.map +1 -1
  644. package/dist/interop/__tests__/worker-adapter-integration.test.d.ts +2 -0
  645. package/dist/interop/__tests__/worker-adapter-integration.test.d.ts.map +1 -0
  646. package/dist/interop/__tests__/worker-adapter-integration.test.js +219 -0
  647. package/dist/interop/__tests__/worker-adapter-integration.test.js.map +1 -0
  648. package/dist/interop/__tests__/worker-adapter.test.d.ts +2 -0
  649. package/dist/interop/__tests__/worker-adapter.test.d.ts.map +1 -0
  650. package/dist/interop/__tests__/worker-adapter.test.js +408 -0
  651. package/dist/interop/__tests__/worker-adapter.test.js.map +1 -0
  652. package/dist/interop/adapter-types.d.ts +39 -0
  653. package/dist/interop/adapter-types.d.ts.map +1 -0
  654. package/dist/interop/adapter-types.js +9 -0
  655. package/dist/interop/adapter-types.js.map +1 -0
  656. package/dist/interop/worker-adapter.d.ts +116 -0
  657. package/dist/interop/worker-adapter.d.ts.map +1 -0
  658. package/dist/interop/worker-adapter.js +324 -0
  659. package/dist/interop/worker-adapter.js.map +1 -0
  660. package/dist/lib/__tests__/mode-state-io.test.d.ts +2 -0
  661. package/dist/lib/__tests__/mode-state-io.test.d.ts.map +1 -0
  662. package/dist/lib/__tests__/mode-state-io.test.js +194 -0
  663. package/dist/lib/__tests__/mode-state-io.test.js.map +1 -0
  664. package/dist/lib/__tests__/payload-limits.test.d.ts +2 -0
  665. package/dist/lib/__tests__/payload-limits.test.d.ts.map +1 -0
  666. package/dist/lib/__tests__/payload-limits.test.js +124 -0
  667. package/dist/lib/__tests__/payload-limits.test.js.map +1 -0
  668. package/dist/lib/__tests__/worktree-paths.test.js +5 -4
  669. package/dist/lib/__tests__/worktree-paths.test.js.map +1 -1
  670. package/dist/lib/file-lock.d.ts +75 -0
  671. package/dist/lib/file-lock.d.ts.map +1 -0
  672. package/dist/lib/file-lock.js +246 -0
  673. package/dist/lib/file-lock.js.map +1 -0
  674. package/dist/lib/mode-names.d.ts +10 -3
  675. package/dist/lib/mode-names.d.ts.map +1 -1
  676. package/dist/lib/mode-names.js +12 -17
  677. package/dist/lib/mode-names.js.map +1 -1
  678. package/dist/lib/mode-state-io.d.ts +41 -0
  679. package/dist/lib/mode-state-io.d.ts.map +1 -0
  680. package/dist/lib/mode-state-io.js +127 -0
  681. package/dist/lib/mode-state-io.js.map +1 -0
  682. package/dist/lib/payload-limits.d.ts +31 -0
  683. package/dist/lib/payload-limits.d.ts.map +1 -0
  684. package/dist/lib/payload-limits.js +82 -0
  685. package/dist/lib/payload-limits.js.map +1 -0
  686. package/dist/lib/project-memory-merge.d.ts +36 -0
  687. package/dist/lib/project-memory-merge.d.ts.map +1 -0
  688. package/dist/lib/project-memory-merge.js +154 -0
  689. package/dist/lib/project-memory-merge.js.map +1 -0
  690. package/dist/lib/shared-memory.d.ts +82 -0
  691. package/dist/lib/shared-memory.d.ts.map +1 -0
  692. package/dist/lib/shared-memory.js +305 -0
  693. package/dist/lib/shared-memory.js.map +1 -0
  694. package/dist/lib/worktree-paths.d.ts +31 -3
  695. package/dist/lib/worktree-paths.d.ts.map +1 -1
  696. package/dist/lib/worktree-paths.js +147 -12
  697. package/dist/lib/worktree-paths.js.map +1 -1
  698. package/dist/mcp/__tests__/team-server-artifact-convergence.test.d.ts +2 -0
  699. package/dist/mcp/__tests__/team-server-artifact-convergence.test.d.ts.map +1 -0
  700. package/dist/mcp/__tests__/team-server-artifact-convergence.test.js +84 -0
  701. package/dist/mcp/__tests__/team-server-artifact-convergence.test.js.map +1 -0
  702. package/dist/mcp/__tests__/team-server-deprecation.test.d.ts +2 -0
  703. package/dist/mcp/__tests__/team-server-deprecation.test.d.ts.map +1 -0
  704. package/dist/mcp/__tests__/team-server-deprecation.test.js +54 -0
  705. package/dist/mcp/__tests__/team-server-deprecation.test.js.map +1 -0
  706. package/dist/mcp/omc-tools-server.d.ts +2 -0
  707. package/dist/mcp/omc-tools-server.d.ts.map +1 -1
  708. package/dist/mcp/omc-tools-server.js +9 -2
  709. package/dist/mcp/omc-tools-server.js.map +1 -1
  710. package/dist/mcp/team-job-convergence.d.ts +20 -0
  711. package/dist/mcp/team-job-convergence.d.ts.map +1 -0
  712. package/dist/mcp/team-job-convergence.js +101 -0
  713. package/dist/mcp/team-job-convergence.js.map +1 -0
  714. package/dist/mcp/team-server.d.ts +33 -10
  715. package/dist/mcp/team-server.d.ts.map +1 -1
  716. package/dist/mcp/team-server.js +219 -109
  717. package/dist/mcp/team-server.js.map +1 -1
  718. package/dist/notifications/__tests__/config.test.js +100 -6
  719. package/dist/notifications/__tests__/config.test.js.map +1 -1
  720. package/dist/notifications/__tests__/custom-integration.test.d.ts +8 -0
  721. package/dist/notifications/__tests__/custom-integration.test.d.ts.map +1 -0
  722. package/dist/notifications/__tests__/custom-integration.test.js +297 -0
  723. package/dist/notifications/__tests__/custom-integration.test.js.map +1 -0
  724. package/dist/notifications/__tests__/dispatcher.test.js +195 -0
  725. package/dist/notifications/__tests__/dispatcher.test.js.map +1 -1
  726. package/dist/notifications/__tests__/redact.test.d.ts +2 -0
  727. package/dist/notifications/__tests__/redact.test.d.ts.map +1 -0
  728. package/dist/notifications/__tests__/redact.test.js +111 -0
  729. package/dist/notifications/__tests__/redact.test.js.map +1 -0
  730. package/dist/notifications/__tests__/reply-listener.test.js +8 -1
  731. package/dist/notifications/__tests__/reply-listener.test.js.map +1 -1
  732. package/dist/notifications/__tests__/slack-socket.test.d.ts +2 -0
  733. package/dist/notifications/__tests__/slack-socket.test.d.ts.map +1 -0
  734. package/dist/notifications/__tests__/slack-socket.test.js +293 -0
  735. package/dist/notifications/__tests__/slack-socket.test.js.map +1 -0
  736. package/dist/notifications/__tests__/template-engine.test.js +32 -0
  737. package/dist/notifications/__tests__/template-engine.test.js.map +1 -1
  738. package/dist/notifications/config.d.ts +40 -0
  739. package/dist/notifications/config.d.ts.map +1 -1
  740. package/dist/notifications/config.js +201 -4
  741. package/dist/notifications/config.js.map +1 -1
  742. package/dist/notifications/dispatcher.d.ts +20 -1
  743. package/dist/notifications/dispatcher.d.ts.map +1 -1
  744. package/dist/notifications/dispatcher.js +183 -7
  745. package/dist/notifications/dispatcher.js.map +1 -1
  746. package/dist/notifications/hook-config-types.d.ts +1 -1
  747. package/dist/notifications/hook-config-types.d.ts.map +1 -1
  748. package/dist/notifications/index.d.ts +11 -2
  749. package/dist/notifications/index.d.ts.map +1 -1
  750. package/dist/notifications/index.js +13 -3
  751. package/dist/notifications/index.js.map +1 -1
  752. package/dist/notifications/presets.d.ts +43 -0
  753. package/dist/notifications/presets.d.ts.map +1 -0
  754. package/dist/notifications/presets.js +122 -0
  755. package/dist/notifications/presets.js.map +1 -0
  756. package/dist/notifications/redact.d.ts +21 -0
  757. package/dist/notifications/redact.d.ts.map +1 -0
  758. package/dist/notifications/redact.js +33 -0
  759. package/dist/notifications/redact.js.map +1 -0
  760. package/dist/notifications/reply-listener.d.ts +54 -2
  761. package/dist/notifications/reply-listener.d.ts.map +1 -1
  762. package/dist/notifications/reply-listener.js +178 -15
  763. package/dist/notifications/reply-listener.js.map +1 -1
  764. package/dist/notifications/session-registry.d.ts +1 -1
  765. package/dist/notifications/session-registry.d.ts.map +1 -1
  766. package/dist/notifications/slack-socket.d.ts +242 -0
  767. package/dist/notifications/slack-socket.d.ts.map +1 -0
  768. package/dist/notifications/slack-socket.js +603 -0
  769. package/dist/notifications/slack-socket.js.map +1 -0
  770. package/dist/notifications/template-engine.d.ts.map +1 -1
  771. package/dist/notifications/template-engine.js +4 -0
  772. package/dist/notifications/template-engine.js.map +1 -1
  773. package/dist/notifications/template-variables.d.ts +26 -0
  774. package/dist/notifications/template-variables.d.ts.map +1 -0
  775. package/dist/notifications/template-variables.js +139 -0
  776. package/dist/notifications/template-variables.js.map +1 -0
  777. package/dist/notifications/types.d.ts +75 -2
  778. package/dist/notifications/types.d.ts.map +1 -1
  779. package/dist/notifications/validation.d.ts +24 -0
  780. package/dist/notifications/validation.d.ts.map +1 -0
  781. package/dist/notifications/validation.js +167 -0
  782. package/dist/notifications/validation.js.map +1 -0
  783. package/dist/openclaw/__tests__/dispatcher.test.js +0 -1
  784. package/dist/openclaw/__tests__/dispatcher.test.js.map +1 -1
  785. package/dist/openclaw/__tests__/index.test.js +82 -0
  786. package/dist/openclaw/__tests__/index.test.js.map +1 -1
  787. package/dist/openclaw/index.d.ts.map +1 -1
  788. package/dist/openclaw/index.js +24 -1
  789. package/dist/openclaw/index.js.map +1 -1
  790. package/dist/openclaw/types.d.ts +12 -0
  791. package/dist/openclaw/types.d.ts.map +1 -1
  792. package/dist/shared/types.d.ts +84 -20
  793. package/dist/shared/types.d.ts.map +1 -1
  794. package/dist/team/__tests__/api-interop.command-dialect.test.d.ts +2 -0
  795. package/dist/team/__tests__/api-interop.command-dialect.test.d.ts.map +1 -0
  796. package/dist/team/__tests__/api-interop.command-dialect.test.js +26 -0
  797. package/dist/team/__tests__/api-interop.command-dialect.test.js.map +1 -0
  798. package/dist/team/__tests__/api-interop.compatibility.test.d.ts +2 -0
  799. package/dist/team/__tests__/api-interop.compatibility.test.d.ts.map +1 -0
  800. package/dist/team/__tests__/api-interop.compatibility.test.js +93 -0
  801. package/dist/team/__tests__/api-interop.compatibility.test.js.map +1 -0
  802. package/dist/team/__tests__/cli-path-resolution.test.d.ts +2 -0
  803. package/dist/team/__tests__/cli-path-resolution.test.d.ts.map +1 -0
  804. package/dist/team/__tests__/cli-path-resolution.test.js +281 -0
  805. package/dist/team/__tests__/cli-path-resolution.test.js.map +1 -0
  806. package/dist/team/__tests__/index.compat-exports.test.d.ts +2 -0
  807. package/dist/team/__tests__/index.compat-exports.test.d.ts.map +1 -0
  808. package/dist/team/__tests__/index.compat-exports.test.js +20 -0
  809. package/dist/team/__tests__/index.compat-exports.test.js.map +1 -0
  810. package/dist/team/__tests__/layout-stabilizer.test.d.ts +2 -0
  811. package/dist/team/__tests__/layout-stabilizer.test.d.ts.map +1 -0
  812. package/dist/team/__tests__/layout-stabilizer.test.js +217 -0
  813. package/dist/team/__tests__/layout-stabilizer.test.js.map +1 -0
  814. package/dist/team/__tests__/mcp-team-bridge.spawn-args.test.js +8 -4
  815. package/dist/team/__tests__/mcp-team-bridge.spawn-args.test.js.map +1 -1
  816. package/dist/team/__tests__/mcp-team-bridge.usage.test.js +4 -2
  817. package/dist/team/__tests__/mcp-team-bridge.usage.test.js.map +1 -1
  818. package/dist/team/__tests__/model-contract.test.js +84 -8
  819. package/dist/team/__tests__/model-contract.test.js.map +1 -1
  820. package/dist/team/__tests__/pane-readiness.test.d.ts +2 -0
  821. package/dist/team/__tests__/pane-readiness.test.d.ts.map +1 -0
  822. package/dist/team/__tests__/pane-readiness.test.js +185 -0
  823. package/dist/team/__tests__/pane-readiness.test.js.map +1 -0
  824. package/dist/team/__tests__/prompt-sanitization.test.js +1 -1
  825. package/dist/team/__tests__/prompt-sanitization.test.js.map +1 -1
  826. package/dist/team/__tests__/runtime-cli.test.d.ts +2 -0
  827. package/dist/team/__tests__/runtime-cli.test.d.ts.map +1 -0
  828. package/dist/team/__tests__/runtime-cli.test.js +159 -0
  829. package/dist/team/__tests__/runtime-cli.test.js.map +1 -0
  830. package/dist/team/__tests__/runtime-done-recovery.test.d.ts +2 -0
  831. package/dist/team/__tests__/runtime-done-recovery.test.d.ts.map +1 -0
  832. package/dist/team/__tests__/runtime-done-recovery.test.js +77 -0
  833. package/dist/team/__tests__/runtime-done-recovery.test.js.map +1 -0
  834. package/dist/team/__tests__/runtime-interop-spawn-regression.test.d.ts +2 -0
  835. package/dist/team/__tests__/runtime-interop-spawn-regression.test.d.ts.map +1 -0
  836. package/dist/team/__tests__/runtime-interop-spawn-regression.test.js +139 -0
  837. package/dist/team/__tests__/runtime-interop-spawn-regression.test.js.map +1 -0
  838. package/dist/team/__tests__/runtime-prompt-mode.test.js +167 -14
  839. package/dist/team/__tests__/runtime-prompt-mode.test.js.map +1 -1
  840. package/dist/team/__tests__/runtime-v2.feature-flag.test.d.ts +2 -0
  841. package/dist/team/__tests__/runtime-v2.feature-flag.test.d.ts.map +1 -0
  842. package/dist/team/__tests__/runtime-v2.feature-flag.test.js +20 -0
  843. package/dist/team/__tests__/runtime-v2.feature-flag.test.js.map +1 -0
  844. package/dist/team/__tests__/runtime-watchdog-retry.test.d.ts +2 -0
  845. package/dist/team/__tests__/runtime-watchdog-retry.test.d.ts.map +1 -0
  846. package/dist/team/__tests__/runtime-watchdog-retry.test.js +408 -0
  847. package/dist/team/__tests__/runtime-watchdog-retry.test.js.map +1 -0
  848. package/dist/team/__tests__/shell-path.test.d.ts +2 -0
  849. package/dist/team/__tests__/shell-path.test.d.ts.map +1 -0
  850. package/dist/team/__tests__/shell-path.test.js +193 -0
  851. package/dist/team/__tests__/shell-path.test.js.map +1 -0
  852. package/dist/team/__tests__/state-paths.test.d.ts +2 -0
  853. package/dist/team/__tests__/state-paths.test.d.ts.map +1 -0
  854. package/dist/team/__tests__/state-paths.test.js +16 -0
  855. package/dist/team/__tests__/state-paths.test.js.map +1 -0
  856. package/dist/team/__tests__/task-file-ops.test.js +8 -2
  857. package/dist/team/__tests__/task-file-ops.test.js.map +1 -1
  858. package/dist/team/__tests__/tmux-session.create-team.test.js +15 -17
  859. package/dist/team/__tests__/tmux-session.create-team.test.js.map +1 -1
  860. package/dist/team/__tests__/tmux-session.kill-team-session.test.d.ts +2 -0
  861. package/dist/team/__tests__/tmux-session.kill-team-session.test.d.ts.map +1 -0
  862. package/dist/team/__tests__/tmux-session.kill-team-session.test.js +56 -0
  863. package/dist/team/__tests__/tmux-session.kill-team-session.test.js.map +1 -0
  864. package/dist/team/__tests__/tmux-session.spawn.test.js +9 -0
  865. package/dist/team/__tests__/tmux-session.spawn.test.js.map +1 -1
  866. package/dist/team/__tests__/tmux-session.test.js +83 -5
  867. package/dist/team/__tests__/tmux-session.test.js.map +1 -1
  868. package/dist/team/__tests__/wait-for-shell-ready.test.d.ts +2 -0
  869. package/dist/team/__tests__/wait-for-shell-ready.test.d.ts.map +1 -0
  870. package/dist/team/__tests__/wait-for-shell-ready.test.js +242 -0
  871. package/dist/team/__tests__/wait-for-shell-ready.test.js.map +1 -0
  872. package/dist/team/__tests__/worker-bootstrap.test.js +11 -0
  873. package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
  874. package/dist/team/api-interop.d.ts +20 -0
  875. package/dist/team/api-interop.d.ts.map +1 -0
  876. package/dist/team/api-interop.js +601 -0
  877. package/dist/team/api-interop.js.map +1 -0
  878. package/dist/team/contracts.d.ts +14 -0
  879. package/dist/team/contracts.d.ts.map +1 -0
  880. package/dist/team/contracts.js +32 -0
  881. package/dist/team/contracts.js.map +1 -0
  882. package/dist/team/dispatch-queue.d.ts +64 -0
  883. package/dist/team/dispatch-queue.d.ts.map +1 -0
  884. package/dist/team/dispatch-queue.js +288 -0
  885. package/dist/team/dispatch-queue.js.map +1 -0
  886. package/dist/team/events.d.ts +49 -0
  887. package/dist/team/events.d.ts.map +1 -0
  888. package/dist/team/events.js +113 -0
  889. package/dist/team/events.js.map +1 -0
  890. package/dist/team/index.d.ts +15 -2
  891. package/dist/team/index.d.ts.map +1 -1
  892. package/dist/team/index.js +14 -1
  893. package/dist/team/index.js.map +1 -1
  894. package/dist/team/layout-stabilizer.d.ts +23 -0
  895. package/dist/team/layout-stabilizer.d.ts.map +1 -0
  896. package/dist/team/layout-stabilizer.js +117 -0
  897. package/dist/team/layout-stabilizer.js.map +1 -0
  898. package/dist/team/mcp-comm.d.ts +99 -0
  899. package/dist/team/mcp-comm.d.ts.map +1 -0
  900. package/dist/team/mcp-comm.js +235 -0
  901. package/dist/team/mcp-comm.js.map +1 -0
  902. package/dist/team/mcp-team-bridge.d.ts +2 -2
  903. package/dist/team/mcp-team-bridge.d.ts.map +1 -1
  904. package/dist/team/mcp-team-bridge.js +263 -144
  905. package/dist/team/mcp-team-bridge.js.map +1 -1
  906. package/dist/team/model-contract.d.ts +28 -1
  907. package/dist/team/model-contract.d.ts.map +1 -1
  908. package/dist/team/model-contract.js +143 -5
  909. package/dist/team/model-contract.js.map +1 -1
  910. package/dist/team/monitor.d.ts +45 -0
  911. package/dist/team/monitor.d.ts.map +1 -0
  912. package/dist/team/monitor.js +339 -0
  913. package/dist/team/monitor.js.map +1 -0
  914. package/dist/team/runtime-cli.d.ts +24 -0
  915. package/dist/team/runtime-cli.d.ts.map +1 -1
  916. package/dist/team/runtime-cli.js +230 -12
  917. package/dist/team/runtime-cli.js.map +1 -1
  918. package/dist/team/runtime-v2.d.ts +122 -0
  919. package/dist/team/runtime-v2.d.ts.map +1 -0
  920. package/dist/team/runtime-v2.js +766 -0
  921. package/dist/team/runtime-v2.js.map +1 -0
  922. package/dist/team/runtime.d.ts +2 -0
  923. package/dist/team/runtime.d.ts.map +1 -1
  924. package/dist/team/runtime.js +145 -52
  925. package/dist/team/runtime.js.map +1 -1
  926. package/dist/team/scaling.d.ts +59 -0
  927. package/dist/team/scaling.d.ts.map +1 -0
  928. package/dist/team/scaling.js +311 -0
  929. package/dist/team/scaling.js.map +1 -0
  930. package/dist/team/sentinel-gate.d.ts +23 -0
  931. package/dist/team/sentinel-gate.d.ts.map +1 -0
  932. package/dist/team/sentinel-gate.js +127 -0
  933. package/dist/team/sentinel-gate.js.map +1 -0
  934. package/dist/team/shell-path.d.ts +21 -0
  935. package/dist/team/shell-path.d.ts.map +1 -0
  936. package/dist/team/shell-path.js +73 -0
  937. package/dist/team/shell-path.js.map +1 -0
  938. package/dist/team/state/tasks.d.ts +48 -0
  939. package/dist/team/state/tasks.d.ts.map +1 -0
  940. package/dist/team/state/tasks.js +184 -0
  941. package/dist/team/state/tasks.js.map +1 -0
  942. package/dist/team/state-paths.d.ts +20 -4
  943. package/dist/team/state-paths.d.ts.map +1 -1
  944. package/dist/team/state-paths.js +29 -6
  945. package/dist/team/state-paths.js.map +1 -1
  946. package/dist/team/task-file-ops.d.ts +2 -1
  947. package/dist/team/task-file-ops.d.ts.map +1 -1
  948. package/dist/team/task-file-ops.js +19 -0
  949. package/dist/team/task-file-ops.js.map +1 -1
  950. package/dist/team/team-ops.d.ts +44 -0
  951. package/dist/team/team-ops.d.ts.map +1 -0
  952. package/dist/team/team-ops.js +547 -0
  953. package/dist/team/team-ops.js.map +1 -0
  954. package/dist/team/tmux-comm.d.ts.map +1 -1
  955. package/dist/team/tmux-comm.js +107 -44
  956. package/dist/team/tmux-comm.js.map +1 -1
  957. package/dist/team/tmux-session.d.ts +5 -0
  958. package/dist/team/tmux-session.d.ts.map +1 -1
  959. package/dist/team/tmux-session.js +81 -10
  960. package/dist/team/tmux-session.js.map +1 -1
  961. package/dist/team/types.d.ts +303 -8
  962. package/dist/team/types.d.ts.map +1 -1
  963. package/dist/team/types.js +2 -1
  964. package/dist/team/types.js.map +1 -1
  965. package/dist/team/worker-bootstrap.d.ts.map +1 -1
  966. package/dist/team/worker-bootstrap.js +73 -21
  967. package/dist/team/worker-bootstrap.js.map +1 -1
  968. package/dist/tools/__tests__/cancel-integration.test.d.ts +2 -0
  969. package/dist/tools/__tests__/cancel-integration.test.d.ts.map +1 -0
  970. package/dist/tools/__tests__/cancel-integration.test.js +248 -0
  971. package/dist/tools/__tests__/cancel-integration.test.js.map +1 -0
  972. package/dist/tools/__tests__/memory-tools.test.d.ts +2 -0
  973. package/dist/tools/__tests__/memory-tools.test.d.ts.map +1 -0
  974. package/dist/tools/__tests__/memory-tools.test.js +66 -0
  975. package/dist/tools/__tests__/memory-tools.test.js.map +1 -0
  976. package/dist/tools/__tests__/state-tools.test.js +73 -5
  977. package/dist/tools/__tests__/state-tools.test.js.map +1 -1
  978. package/dist/tools/lsp/__tests__/client-eviction.test.js +6 -6
  979. package/dist/tools/lsp/__tests__/client-eviction.test.js.map +1 -1
  980. package/dist/tools/lsp/__tests__/client-timeout-env.test.d.ts +2 -0
  981. package/dist/tools/lsp/__tests__/client-timeout-env.test.d.ts.map +1 -0
  982. package/dist/tools/lsp/__tests__/client-timeout-env.test.js +39 -0
  983. package/dist/tools/lsp/__tests__/client-timeout-env.test.js.map +1 -0
  984. package/dist/tools/lsp/client.d.ts +2 -0
  985. package/dist/tools/lsp/client.d.ts.map +1 -1
  986. package/dist/tools/lsp/client.js +11 -1
  987. package/dist/tools/lsp/client.js.map +1 -1
  988. package/dist/tools/lsp/index.d.ts +1 -1
  989. package/dist/tools/lsp/index.d.ts.map +1 -1
  990. package/dist/tools/lsp/index.js +1 -1
  991. package/dist/tools/lsp/index.js.map +1 -1
  992. package/dist/tools/memory-tools.d.ts.map +1 -1
  993. package/dist/tools/memory-tools.js +2 -1
  994. package/dist/tools/memory-tools.js.map +1 -1
  995. package/dist/tools/python-repl/__tests__/tcp-fallback.test.d.ts +2 -0
  996. package/dist/tools/python-repl/__tests__/tcp-fallback.test.d.ts.map +1 -0
  997. package/dist/tools/python-repl/__tests__/tcp-fallback.test.js +138 -0
  998. package/dist/tools/python-repl/__tests__/tcp-fallback.test.js.map +1 -0
  999. package/dist/tools/python-repl/bridge-manager.d.ts.map +1 -1
  1000. package/dist/tools/python-repl/bridge-manager.js +104 -24
  1001. package/dist/tools/python-repl/bridge-manager.js.map +1 -1
  1002. package/dist/tools/python-repl/paths.d.ts +8 -0
  1003. package/dist/tools/python-repl/paths.d.ts.map +1 -1
  1004. package/dist/tools/python-repl/paths.js +10 -0
  1005. package/dist/tools/python-repl/paths.js.map +1 -1
  1006. package/dist/tools/python-repl/socket-client.d.ts.map +1 -1
  1007. package/dist/tools/python-repl/socket-client.js +9 -2
  1008. package/dist/tools/python-repl/socket-client.js.map +1 -1
  1009. package/dist/tools/shared-memory-tools.d.ts +55 -0
  1010. package/dist/tools/shared-memory-tools.d.ts.map +1 -0
  1011. package/dist/tools/shared-memory-tools.js +250 -0
  1012. package/dist/tools/shared-memory-tools.js.map +1 -0
  1013. package/dist/tools/state-tools.d.ts.map +1 -1
  1014. package/dist/tools/state-tools.js +126 -101
  1015. package/dist/tools/state-tools.js.map +1 -1
  1016. package/dist/utils/daemon-module-path.d.ts +9 -0
  1017. package/dist/utils/daemon-module-path.d.ts.map +1 -0
  1018. package/dist/utils/daemon-module-path.js +23 -0
  1019. package/dist/utils/daemon-module-path.js.map +1 -0
  1020. package/dist/utils/jsonc.d.ts +16 -0
  1021. package/dist/utils/jsonc.d.ts.map +1 -0
  1022. package/dist/utils/jsonc.js +64 -0
  1023. package/dist/utils/jsonc.js.map +1 -0
  1024. package/dist/utils/paths.js +1 -1
  1025. package/dist/utils/paths.js.map +1 -1
  1026. package/dist/utils/ssrf-guard.d.ts +26 -0
  1027. package/dist/utils/ssrf-guard.d.ts.map +1 -0
  1028. package/dist/utils/ssrf-guard.js +103 -0
  1029. package/dist/utils/ssrf-guard.js.map +1 -0
  1030. package/dist/verification/tier-selector.d.ts +1 -1
  1031. package/dist/verification/tier-selector.js +1 -1
  1032. package/docs/ANALYTICS-SYSTEM.md +2 -5
  1033. package/docs/CLAUDE.md +88 -212
  1034. package/docs/MIGRATION.md +138 -161
  1035. package/docs/PERFORMANCE-MONITORING.md +5 -5
  1036. package/docs/REFERENCE.md +351 -286
  1037. package/docs/ko/ARCHITECTURE.md +152 -0
  1038. package/docs/ko/FEATURES.md +582 -0
  1039. package/docs/ko/MIGRATION.md +1027 -0
  1040. package/docs/ko/REFERENCE.md +745 -0
  1041. package/docs/partials/mode-selection-guide.md +22 -12
  1042. package/docs/shared/mode-selection-guide.md +22 -12
  1043. package/package.json +11 -6
  1044. package/scripts/ask-codex.sh +24 -0
  1045. package/scripts/ask-gemini.sh +24 -0
  1046. package/scripts/build-cli.mjs +47 -0
  1047. package/scripts/build-runtime-cli.mjs +2 -0
  1048. package/scripts/context-guard-stop.mjs +66 -3
  1049. package/scripts/context-safety.mjs +67 -2
  1050. package/scripts/keyword-detector.mjs +14 -36
  1051. package/scripts/persistent-mode.cjs +106 -1
  1052. package/scripts/persistent-mode.mjs +88 -2
  1053. package/scripts/plugin-setup.mjs +46 -4
  1054. package/scripts/pre-tool-enforcer.mjs +1 -0
  1055. package/scripts/qa-tests/test-custom-integration.mjs +144 -0
  1056. package/scripts/run-provider-advisor.js +220 -0
  1057. package/scripts/session-start.mjs +42 -2
  1058. package/skills/AGENTS.md +15 -20
  1059. package/skills/ask-codex/SKILL.md +47 -0
  1060. package/skills/ask-gemini/SKILL.md +47 -0
  1061. package/skills/autopilot/SKILL.md +39 -5
  1062. package/skills/cancel/SKILL.md +23 -105
  1063. package/skills/ccg/SKILL.md +58 -75
  1064. package/skills/configure-notifications/SKILL.md +276 -0
  1065. package/skills/configure-openclaw/SKILL.md +63 -0
  1066. package/skills/deep-interview/SKILL.md +551 -0
  1067. package/skills/deepinit/SKILL.md +1 -1
  1068. package/skills/hud/SKILL.md +35 -3
  1069. package/skills/omc-doctor/SKILL.md +30 -13
  1070. package/skills/omc-help/SKILL.md +1 -1
  1071. package/skills/omc-setup/SKILL.md +20 -20
  1072. package/skills/omc-teams/SKILL.md +60 -112
  1073. package/skills/plan/SKILL.md +5 -5
  1074. package/skills/ralph/SKILL.md +96 -70
  1075. package/skills/ralplan/SKILL.md +7 -7
  1076. package/skills/security-review/SKILL.md +2 -2
  1077. package/skills/team/SKILL.md +36 -2
  1078. package/skills/ultrawork/SKILL.md +7 -7
  1079. package/templates/hooks/keyword-detector.mjs +20 -28
  1080. package/templates/hooks/persistent-mode.mjs +89 -2
  1081. package/templates/hooks/pre-tool-use.mjs +53 -0
  1082. package/templates/hooks/session-start.mjs +3 -3
  1083. package/skills/pipeline/SKILL.md +0 -434
  1084. package/skills/review/SKILL.md +0 -30
  1085. package/skills/ultrapilot/SKILL.md +0 -632
package/docs/REFERENCE.md CHANGED
@@ -8,8 +8,10 @@ Complete reference for oh-my-claudecode. For quick start, see the main [README.m
8
8
 
9
9
  - [Installation](#installation)
10
10
  - [Configuration](#configuration)
11
+ - [CLI Commands: ask/team](#cli-commands-askteam)
12
+ - [Legacy MCP Team Runtime Tools (Deprecated)](#legacy-mcp-team-runtime-tools-deprecated)
11
13
  - [Agents (28 Total)](#agents-28-total)
12
- - [Skills (37 Total)](#skills-37-total)
14
+ - [Skills (38 Total)](#skills-38-total)
13
15
  - [Slash Commands](#slash-commands)
14
16
  - [Hooks System](#hooks-system)
15
17
  - [Magic Keywords](#magic-keywords)
@@ -76,13 +78,13 @@ Configure omc for all Claude Code sessions:
76
78
 
77
79
  ### What Configuration Enables
78
80
 
79
- | Feature | Without | With omc Config |
80
- |---------|---------|-----------------|
81
- | Agent delegation | Manual only | Automatic based on task |
82
- | Keyword detection | Disabled | ultrawork, search, analyze |
83
- | Todo continuation | Basic | Enforced completion |
84
- | Model routing | Default | Smart tier selection |
85
- | Skill composition | None | Auto-combines skills |
81
+ | Feature | Without | With omc Config |
82
+ | ----------------- | ----------- | -------------------------- |
83
+ | Agent delegation | Manual only | Automatic based on task |
84
+ | Keyword detection | Disabled | ultrawork, search, analyze |
85
+ | Todo continuation | Basic | Enforced completion |
86
+ | Model routing | Default | Smart tier selection |
87
+ | Skill composition | None | Auto-combines skills |
86
88
 
87
89
  ### Configuration Precedence
88
90
 
@@ -94,15 +96,16 @@ If both configurations exist, **project-scoped takes precedence** over global:
94
96
 
95
97
  ### Environment Variables
96
98
 
97
- | Variable | Default | Description |
98
- |----------|---------|-------------|
99
- | `OMC_STATE_DIR` | _(unset)_ | Centralized state directory. When set, OMC stores state at `$OMC_STATE_DIR/{project-id}/` instead of `{worktree}/.omc/`. This preserves state across worktree deletions. The project identifier is derived from the git remote URL (or worktree path for local-only repos). |
100
- | `OMC_BRIDGE_SCRIPT` | _(auto-detected)_ | Path to the Python bridge script |
101
- | `OMC_PARALLEL_EXECUTION` | `true` | Enable/disable parallel agent execution |
102
- | `OMC_CODEX_DEFAULT_MODEL` | _(provider default)_ | Default model for Codex CLI workers |
103
- | `OMC_GEMINI_DEFAULT_MODEL` | _(provider default)_ | Default model for Gemini CLI workers |
104
- | `DISABLE_OMC` | _(unset)_ | Set to any value to disable all OMC hooks |
105
- | `OMC_SKIP_HOOKS` | _(unset)_ | Comma-separated list of hook names to skip |
99
+ | Variable | Default | Description |
100
+ | -------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
101
+ | `OMC_STATE_DIR` | _(unset)_ | Centralized state directory. When set, OMC stores state at `$OMC_STATE_DIR/{project-id}/` instead of `{worktree}/.omc/`. This preserves state across worktree deletions. The project identifier is derived from the git remote URL (or worktree path for local-only repos). |
102
+ | `OMC_BRIDGE_SCRIPT` | _(auto-detected)_ | Path to the Python bridge script |
103
+ | `OMC_PARALLEL_EXECUTION` | `true` | Enable/disable parallel agent execution |
104
+ | `OMC_CODEX_DEFAULT_MODEL` | _(provider default)_ | Default model for Codex CLI workers |
105
+ | `OMC_GEMINI_DEFAULT_MODEL` | _(provider default)_ | Default model for Gemini CLI workers |
106
+ | `OMC_LSP_TIMEOUT_MS` | `15000` | Timeout (ms) for LSP requests. Increase for large repos or slow language servers |
107
+ | `DISABLE_OMC` | _(unset)_ | Set to any value to disable all OMC hooks |
108
+ | `OMC_SKIP_HOOKS` | _(unset)_ | Comma-separated list of hook names to skip |
106
109
 
107
110
  #### Centralized State with `OMC_STATE_DIR`
108
111
 
@@ -135,9 +138,8 @@ Edit agent files in `~/.claude/agents/` to customize behavior:
135
138
  name: architect
136
139
  description: Your custom description
137
140
  tools: Read, Grep, Glob, Bash, Edit
138
- model: opus # or sonnet, haiku
141
+ model: opus # or sonnet, haiku
139
142
  ---
140
-
141
143
  Your custom system prompt here...
142
144
  ```
143
145
 
@@ -149,11 +151,13 @@ Create `.claude/CLAUDE.md` in your project for project-specific instructions:
149
151
  # Project Context
150
152
 
151
153
  This is a TypeScript monorepo using:
154
+
152
155
  - Bun runtime
153
156
  - React for frontend
154
157
  - PostgreSQL database
155
158
 
156
159
  ## Conventions
160
+
157
161
  - Use functional components
158
162
  - All API routes in /src/api
159
163
  - Tests alongside source files
@@ -179,124 +183,188 @@ omc config-stop-callback discord --show
179
183
  ```
180
184
 
181
185
  Tag behavior:
186
+
182
187
  - Telegram: `alice` is normalized to `@alice`
183
188
  - Discord: supports `@here`, `@everyone`, numeric user IDs (`<@id>`), and role tags (`role:<id>` -> `<@&id>`)
184
189
  - `file` callbacks ignore tag options
185
190
 
186
191
  ---
187
192
 
193
+ ## CLI Commands: ask/team
194
+
195
+ ### `omc ask`
196
+
197
+ ```bash
198
+ omc ask claude "review this patch"
199
+ omc ask codex "review this patch from a security perspective"
200
+ omc ask gemini --prompt "suggest UX improvements"
201
+ omc ask claude --agent-prompt executor --prompt "create an implementation plan"
202
+ ```
203
+
204
+ - Provider matrix: `claude | codex | gemini`
205
+ - Artifacts: `.omc/artifacts/ask/{provider}-{slug}-{timestamp}.md`
206
+ - Canonical env vars: `OMC_ASK_ADVISOR_SCRIPT`, `OMC_ASK_ORIGINAL_TASK`
207
+ - Phase-1 aliases (deprecated warning): `OMX_ASK_ADVISOR_SCRIPT`, `OMX_ASK_ORIGINAL_TASK`
208
+ - Skill shortcuts: `/oh-my-claudecode:ask-codex` and `/oh-my-claudecode:ask-gemini` route to this command
209
+
210
+ ### `omc team` (CLI runtime surface)
211
+
212
+ ```bash
213
+ omc team 2:codex "review auth flow"
214
+ omc team status review-auth-flow
215
+ omc team shutdown review-auth-flow --force
216
+ omc team api claim-task --input '{"team_name":"auth-review","task_id":"1","worker":"worker-1"}' --json
217
+ ```
218
+
219
+ Supported entrypoints: direct start (`omc team [N:agent] "<task>"`), `status`, `shutdown`, and `api`.
220
+
221
+ ---
222
+
223
+ ## Legacy MCP Team Runtime Tools (Deprecated, Opt-In Only)
224
+
225
+ The Team MCP runtime server is **not enabled by default**. If manually enabled, runtime tools are still **CLI-only deprecated** and return a deterministic error envelope:
226
+
227
+ ```json
228
+ {
229
+ "code": "deprecated_cli_only",
230
+ "message": "Legacy team MCP runtime tools are deprecated. Use the omc team CLI instead."
231
+ }
232
+ ```
233
+
234
+ Use `omc team ...` replacements instead:
235
+
236
+ | Tool | Purpose |
237
+ | ---------------------- | ---------------------------------------------------------- |
238
+ | `omc_run_team_start` | **Deprecated** → `omc team [N:agent-type] "<task>"` |
239
+ | `omc_run_team_status` | **Deprecated** → `omc team status <team-name>` |
240
+ | `omc_run_team_wait` | **Deprecated** → monitor via `omc team status <team-name>` |
241
+ | `omc_run_team_cleanup` | **Deprecated** → `omc team shutdown <team-name> [--force]` |
242
+
243
+ Optional compatibility enablement (manual only):
244
+
245
+ ```json
246
+ {
247
+ "mcpServers": {
248
+ "team": {
249
+ "command": "node",
250
+ "args": ["${CLAUDE_PLUGIN_ROOT}/bridge/team-mcp.cjs"]
251
+ }
252
+ }
253
+ }
254
+ ```
255
+
256
+ ### Runtime status semantics
257
+
258
+ - **Artifact-first terminal convergence**: team monitors prefer finalized state artifacts when present.
259
+ - **Deterministic parse-failure handling**: malformed result artifacts are treated as terminal `failed`.
260
+ - **Cleanup scope**: shutdown/cleanup only clears `.omc/state/team/{teamName}` for the target team (never sibling teams).
261
+
188
262
  ## Agents (28 Total)
189
263
 
190
264
  Always use `oh-my-claudecode:` prefix when calling via Task tool.
191
265
 
192
266
  ### By Domain and Tier
193
267
 
194
- | Domain | LOW (Haiku) | MEDIUM (Sonnet) | HIGH (Opus) |
195
- |--------|-------------|-----------------|-------------|
196
- | **Analysis** | `architect-low` | `architect-medium` | `architect` |
197
- | **Execution** | `executor-low` | `executor` | `executor-high` |
198
- | **Search** | `explore` | - | `explore-high` |
199
- | **Research** | - | `document-specialist` | - |
200
- | **Frontend** | `designer-low` | `designer` | `designer-high` |
201
- | **Docs** | `writer` | - | - |
202
- | **Visual** | - | `vision` | - |
203
- | **Planning** | - | - | `planner` |
204
- | **Critique** | - | - | `critic` |
205
- | **Pre-Planning** | - | - | `analyst` |
206
- | **Testing** | - | `qa-tester` | - |
207
- | **Security** | `security-reviewer-low` | - | `security-reviewer` |
208
- | **Build** | - | `build-fixer` | - |
209
- | **TDD** | - | `test-engineer` | - |
210
- | **Code Review** | - | - | `code-reviewer` |
211
- | **Data Science** | - | `scientist` | `scientist-high` |
268
+ | Domain | LOW (Haiku) | MEDIUM (Sonnet) | HIGH (Opus) |
269
+ | ---------------- | ----------------------- | --------------------- | ------------------- |
270
+ | **Analysis** | `architect-low` | `architect-medium` | `architect` |
271
+ | **Execution** | `executor-low` | `executor` | `executor-high` |
272
+ | **Search** | `explore` | - | `explore-high` |
273
+ | **Research** | - | `document-specialist` | - |
274
+ | **Frontend** | `designer-low` | `designer` | `designer-high` |
275
+ | **Docs** | `writer` | - | - |
276
+ | **Visual** | - | `vision` | - |
277
+ | **Planning** | - | - | `planner` |
278
+ | **Critique** | - | - | `critic` |
279
+ | **Pre-Planning** | - | - | `analyst` |
280
+ | **Testing** | - | `qa-tester` | - |
281
+ | **Security** | `security-reviewer-low` | - | `security-reviewer` |
282
+ | **Build** | - | `build-fixer` | - |
283
+ | **TDD** | - | `test-engineer` | - |
284
+ | **Code Review** | - | - | `code-reviewer` |
285
+ | **Data Science** | - | `scientist` | `scientist-high` |
212
286
 
213
287
  ### Agent Selection Guide
214
288
 
215
- | Task Type | Best Agent | Model |
216
- |-----------|------------|-------|
217
- | Quick code lookup | `explore` | haiku |
218
- | Find files/patterns | `explore` | haiku |
219
- | Complex architectural search | `explore-high` | opus |
220
- | Simple code change | `executor-low` | haiku |
221
- | Feature implementation | `executor` | sonnet |
222
- | Complex refactoring | `executor-high` | opus |
223
- | Debug simple issue | `architect-low` | haiku |
224
- | Debug complex issue | `architect` | opus |
225
- | UI component | `designer` | sonnet |
226
- | Complex UI system | `designer-high` | opus |
227
- | Write docs/comments | `writer` | haiku |
228
- | Research docs/APIs | `document-specialist` | sonnet |
229
- | Analyze images/diagrams | `vision` | sonnet |
230
- | Strategic planning | `planner` | opus |
231
- | Review/critique plan | `critic` | opus |
232
- | Pre-planning analysis | `analyst` | opus |
233
- | Test CLI interactively | `qa-tester` | sonnet |
234
- | Security review | `security-reviewer` | opus |
235
- | Quick security scan | `security-reviewer-low` | haiku |
236
- | Fix build errors | `build-fixer` | sonnet |
237
- | Simple build fix | `build-fixer` (model=haiku) | haiku |
238
- | TDD workflow | `test-engineer` | sonnet |
239
- | Quick test suggestions | `test-engineer` (model=haiku) | haiku |
240
- | Code review | `code-reviewer` | opus |
241
- | Quick code check | `code-reviewer` (model=haiku) | haiku |
242
- | Data analysis/stats | `scientist` | sonnet |
243
- | Quick data inspection | `scientist` (model=haiku) | haiku |
244
- | Complex ML/hypothesis | `scientist-high` | opus |
289
+ | Task Type | Best Agent | Model |
290
+ | ---------------------------- | ----------------------------- | ------ |
291
+ | Quick code lookup | `explore` | haiku |
292
+ | Find files/patterns | `explore` | haiku |
293
+ | Complex architectural search | `explore-high` | opus |
294
+ | Simple code change | `executor-low` | haiku |
295
+ | Feature implementation | `executor` | sonnet |
296
+ | Complex refactoring | `executor-high` | opus |
297
+ | Debug simple issue | `architect-low` | haiku |
298
+ | Debug complex issue | `architect` | opus |
299
+ | UI component | `designer` | sonnet |
300
+ | Complex UI system | `designer-high` | opus |
301
+ | Write docs/comments | `writer` | haiku |
302
+ | Research docs/APIs | `document-specialist` | sonnet |
303
+ | Analyze images/diagrams | `vision` | sonnet |
304
+ | Strategic planning | `planner` | opus |
305
+ | Review/critique plan | `critic` | opus |
306
+ | Pre-planning analysis | `analyst` | opus |
307
+ | Test CLI interactively | `qa-tester` | sonnet |
308
+ | Security review | `security-reviewer` | opus |
309
+ | Quick security scan | `security-reviewer-low` | haiku |
310
+ | Fix build errors | `build-fixer` | sonnet |
311
+ | Simple build fix | `build-fixer` (model=haiku) | haiku |
312
+ | TDD workflow | `test-engineer` | sonnet |
313
+ | Quick test suggestions | `test-engineer` (model=haiku) | haiku |
314
+ | Code review | `code-reviewer` | opus |
315
+ | Quick code check | `code-reviewer` (model=haiku) | haiku |
316
+ | Data analysis/stats | `scientist` | sonnet |
317
+ | Quick data inspection | `scientist` (model=haiku) | haiku |
318
+ | Complex ML/hypothesis | `scientist-high` | opus |
245
319
 
246
320
  ---
247
321
 
248
- ## Skills (37 Total)
249
-
250
- ### Core Skills
251
-
252
- | Skill | Description | Manual Command |
253
- |-------|-------------|----------------|
254
- | `orchestrate` | Multi-agent orchestration mode | - |
255
- | `autopilot` | Full autonomous execution from idea to working code | `/oh-my-claudecode:autopilot` |
256
- | `ultrawork` | Maximum performance with parallel agents | `/oh-my-claudecode:ultrawork` |
257
- | `ultrapilot` | Parallel autopilot with 3-5x speedup | `/oh-my-claudecode:ultrapilot` |
258
- | `team` | N coordinated agents on shared task list using native teams | `/oh-my-claudecode:team` |
259
- | `swarm` | **Deprecated** compatibility facade over team orchestration (use `team`) | `/oh-my-claudecode:swarm` |
260
- | `pipeline` | Sequential agent chaining | `/oh-my-claudecode:pipeline` |
261
- | `ralph` | Self-referential development until completion | `/oh-my-claudecode:ralph` |
262
- | `ralph-init` | Initialize PRD for structured task tracking | `/oh-my-claudecode:ralph-init` |
263
- | `ultraqa` | Autonomous QA cycling workflow | `/oh-my-claudecode:ultraqa` |
264
- | `plan` | Start planning session (consensus mode uses RALPLAN-DR structured deliberation) | `/oh-my-claudecode:plan` |
265
- | `ralplan` | Iterative planning (Planner+Architect+Critic) with structured deliberation; short mode default, `--deliberate` for high-risk pre-mortem + expanded test plan | `/oh-my-claudecode:ralplan` |
266
- | `review` | Review work plans with critic | `/oh-my-claudecode:review` |
267
-
268
- ### Enhancement Skills
269
-
270
- | Skill | Description | Manual Command |
271
- |-------|-------------|----------------|
272
- | `deepinit` | Hierarchical AGENTS.md codebase documentation | `/oh-my-claudecode:deepinit` |
273
- | `deepsearch` | Thorough multi-strategy codebase search | `/oh-my-claudecode:deepsearch` |
274
- | `analyze` | Deep analysis and investigation | `/oh-my-claudecode:analyze` |
275
- | `sciomc` | Parallel scientist orchestration | `/oh-my-claudecode:sciomc` |
276
- | `frontend-ui-ux` | Designer-turned-developer UI/UX expertise | (silent activation) |
277
- | `git-master` | Git expert for atomic commits and history | (silent activation) |
278
- | `tdd` | TDD enforcement: test-first development | `/oh-my-claudecode:tdd` |
279
- | `learner` | Extract reusable skill from session | `/oh-my-claudecode:learner` |
280
- | `build-fix` | Fix build and TypeScript errors | `/oh-my-claudecode:build-fix` |
281
- | `code-review` | Comprehensive code review | `/oh-my-claudecode:code-review` |
282
- | `security-review` | Security vulnerability detection | `/oh-my-claudecode:security-review` |
283
-
284
- ### Utility Skills
285
-
286
- | Skill | Description | Manual Command |
287
- |-------|-------------|----------------|
288
- | `note` | Save notes to compaction-resilient notepad | `/oh-my-claudecode:note` |
289
- | `cancel` | Unified cancellation for all modes | `/oh-my-claudecode:cancel` |
290
- | `omc-setup` | One-time setup wizard | `/oh-my-claudecode:omc-setup` |
291
- | `omc-doctor` | Diagnose and fix installation issues | `/oh-my-claudecode:omc-doctor` |
292
- | `omc-help` | Show OMC usage guide | `/oh-my-claudecode:omc-help` |
293
- | `hud` | Configure HUD statusline | `/oh-my-claudecode:hud` |
294
- | `release` | Automated release workflow | `/oh-my-claudecode:release` |
295
- | `mcp-setup` | Configure MCP servers | `/oh-my-claudecode:mcp-setup` |
296
- | `writer-memory` | Agentic memory system for writers | `/oh-my-claudecode:writer-memory` |
297
- | `project-session-manager` | Manage isolated dev environments (git worktrees + tmux) | `/oh-my-claudecode:project-session-manager` |
298
- | `psm` | **Deprecated** compatibility alias for `project-session-manager` | `/oh-my-claudecode:psm` |
299
- | `skill` | Manage local skills (list, add, remove, search, edit) | `/oh-my-claudecode:skill` |
322
+ ## Skills (38 Total)
323
+
324
+ Includes **37 canonical skills + 1 deprecated alias** (`psm`).
325
+
326
+ | Skill | Description | Manual Command |
327
+ | ------------------------- | ---------------------------------------------------------------- | ------------------------------------------- |
328
+ | `analyze` | Deep analysis and investigation | `/oh-my-claudecode:analyze` |
329
+ | `ask-codex` | Ask Codex via `omc ask codex` and store an ask artifact | `/oh-my-claudecode:ask-codex` |
330
+ | `ask-gemini` | Ask Gemini via `omc ask gemini` and store an ask artifact | `/oh-my-claudecode:ask-gemini` |
331
+ | `autopilot` | Full autonomous execution from idea to working code | `/oh-my-claudecode:autopilot` |
332
+ | `build-fix` | Fix build and TypeScript errors | `/oh-my-claudecode:build-fix` |
333
+ | `cancel` | Unified cancellation for active modes | `/oh-my-claudecode:cancel` |
334
+ | `ccg` | Tri-model workflow via `ask-codex` + `ask-gemini`, then Claude synthesis | `/oh-my-claudecode:ccg` |
335
+ | `code-review` | Comprehensive code review | `/oh-my-claudecode:code-review` |
336
+ | `configure-notifications` | Configure notifications (Discord/Telegram/Slack/OpenClaw) | `/oh-my-claudecode:configure-notifications` |
337
+ | `configure-openclaw` | Configure OpenClaw notification bridge | `/oh-my-claudecode:configure-openclaw` |
338
+ | `deep-interview` | Socratic deep interview with ambiguity gating | `/oh-my-claudecode:deep-interview` |
339
+ | `deepinit` | Generate hierarchical AGENTS.md docs | `/oh-my-claudecode:deepinit` |
340
+ | `external-context` | Parallel document-specialist research | `/oh-my-claudecode:external-context` |
341
+ | `hud` | Configure HUD/statusline | `/oh-my-claudecode:hud` |
342
+ | `learn-about-omc` | Analyze OMC usage patterns | `/oh-my-claudecode:learn-about-omc` |
343
+ | `learner` | Extract reusable skill from session | `/oh-my-claudecode:learner` |
344
+ | `mcp-setup` | Configure MCP servers | `/oh-my-claudecode:mcp-setup` |
345
+ | `note` | Save notes to notepad | `/oh-my-claudecode:note` |
346
+ | `omc-doctor` | Diagnose and fix installation issues | `/oh-my-claudecode:omc-doctor` |
347
+ | `omc-help` | Show OMC usage guide | `/oh-my-claudecode:omc-help` |
348
+ | `omc-plan` | Planning workflow (`/plan` safe alias) | `/oh-my-claudecode:omc-plan` |
349
+ | `omc-security-review` | Security review workflow (`/security-review` safe alias) | `/oh-my-claudecode:omc-security-review` |
350
+ | `omc-setup` | One-time setup wizard | `/oh-my-claudecode:omc-setup` |
351
+ | `omc-teams` | Legacy compatibility wrapper for `omc team` CLI | `/oh-my-claudecode:omc-teams` |
352
+ | `project-session-manager` | Manage isolated dev environments (git worktrees + tmux) | `/oh-my-claudecode:project-session-manager` |
353
+ | `psm` | **Deprecated** compatibility alias for `project-session-manager` | `/oh-my-claudecode:psm` |
354
+ | `ralph` | Persistence loop until verified completion | `/oh-my-claudecode:ralph` |
355
+ | `ralph-init` | Initialize PRD for structured ralph execution | `/oh-my-claudecode:ralph-init` |
356
+ | `ralplan` | Consensus planning alias for `/omc-plan --consensus` | `/oh-my-claudecode:ralplan` |
357
+ | `release` | Automated release workflow | `/oh-my-claudecode:release` |
358
+ | `sciomc` | Parallel scientist orchestration | `/oh-my-claudecode:sciomc` |
359
+ | `skill` | Manage local skills (list/add/remove/search/edit) | `/oh-my-claudecode:skill` |
360
+ | `tdd` | Test-first workflow enforcement | `/oh-my-claudecode:tdd` |
361
+ | `team` | Coordinated multi-agent workflow | `/oh-my-claudecode:team` |
362
+ | `trace` | Show orchestration trace timeline | `/oh-my-claudecode:trace` |
363
+ | `ultraqa` | QA cycle until goal is met | `/oh-my-claudecode:ultraqa` |
364
+ | `ultrawork` | Maximum parallel throughput mode | `/oh-my-claudecode:ultrawork` |
365
+ | `writer-memory` | Agentic memory system for writing projects | `/oh-my-claudecode:writer-memory` |
366
+
367
+ `psm` | **Deprecated** compatibility alias for `project-session-manager`
300
368
 
301
369
  ---
302
370
 
@@ -304,36 +372,32 @@ Always use `oh-my-claudecode:` prefix when calling via Task tool.
304
372
 
305
373
  All skills are available as slash commands with the prefix `/oh-my-claudecode:`.
306
374
 
307
- | Command | Description |
308
- |---------|-------------|
309
- | `/oh-my-claudecode:orchestrate <task>` | Activate multi-agent orchestration mode |
310
- | `/oh-my-claudecode:autopilot <task>` | Full autonomous execution |
311
- | `/oh-my-claudecode:ultrawork <task>` | Maximum performance mode with parallel agents |
312
- | `/oh-my-claudecode:ultrapilot <task>` | Parallel autopilot (3-5x faster) |
313
- | `/oh-my-claudecode:team <N>:<agent> <task>` | Coordinated native team workflow |
314
- | `/oh-my-claudecode:swarm <N>:<agent> <task>` | Deprecated alias for Team orchestration |
315
- | `/oh-my-claudecode:pipeline <stages>` | Sequential agent chaining |
316
- | `/oh-my-claudecode:ralph-init <task>` | Initialize PRD for structured task tracking |
317
- | `/oh-my-claudecode:ralph <task>` | Self-referential loop until task completion |
318
- | `/oh-my-claudecode:ultraqa <goal>` | Autonomous QA cycling workflow |
319
- | `/oh-my-claudecode:plan <description>` | Start planning session (supports consensus structured deliberation) |
320
- | `/oh-my-claudecode:ralplan <description>` | Iterative planning with consensus structured deliberation (`--deliberate` for high-risk mode) |
321
- | `/oh-my-claudecode:review [plan-path]` | Review a plan with critic |
322
- | `/oh-my-claudecode:deepsearch <query>` | Thorough multi-strategy codebase search |
323
- | `/oh-my-claudecode:deepinit [path]` | Index codebase with hierarchical AGENTS.md files |
324
- | `/oh-my-claudecode:analyze <target>` | Deep analysis and investigation |
325
- | `/oh-my-claudecode:sciomc <topic>` | Parallel research orchestration |
326
- | `/oh-my-claudecode:tdd <feature>` | TDD workflow enforcement |
327
- | `/oh-my-claudecode:learner` | Extract reusable skill from session |
328
- | `/oh-my-claudecode:note <content>` | Save notes to notepad.md |
329
- | `/oh-my-claudecode:cancel` | Unified cancellation |
330
- | `/oh-my-claudecode:omc-setup` | One-time setup wizard |
331
- | `/oh-my-claudecode:omc-doctor` | Diagnose and fix installation issues |
332
- | `/oh-my-claudecode:omc-help` | Show OMC usage guide |
333
- | `/oh-my-claudecode:hud` | Configure HUD statusline |
334
- | `/oh-my-claudecode:release` | Automated release workflow |
335
- | `/oh-my-claudecode:mcp-setup` | Configure MCP servers |
336
- | `/oh-my-claudecode:psm <arguments>` | Deprecated alias for project session manager |
375
+ | Command | Description |
376
+ | ------------------------------------------- | --------------------------------------------------------------------------------------------- |
377
+ | `/oh-my-claudecode:autopilot <task>` | Full autonomous execution |
378
+ | `/oh-my-claudecode:ultrawork <task>` | Maximum performance mode with parallel agents |
379
+ | `/oh-my-claudecode:team <N>:<agent> <task>` | Coordinated native team workflow |
380
+ | `/oh-my-claudecode:ralph-init <task>` | Initialize PRD for structured task tracking |
381
+ | `/oh-my-claudecode:ralph <task>` | Self-referential loop until task completion |
382
+ | `/oh-my-claudecode:ultraqa <goal>` | Autonomous QA cycling workflow |
383
+ | `/oh-my-claudecode:omc-plan <description>` | Start planning session (supports consensus structured deliberation) |
384
+ | `/oh-my-claudecode:ralplan <description>` | Iterative planning with consensus structured deliberation (`--deliberate` for high-risk mode) |
385
+ | `/oh-my-claudecode:deep-interview <idea>` | Socratic interview with ambiguity scoring before execution |
386
+ | `/oh-my-claudecode:deepinit [path]` | Index codebase with hierarchical AGENTS.md files |
387
+ | `/oh-my-claudecode:analyze <target>` | Deep analysis and investigation |
388
+ | `/oh-my-claudecode:sciomc <topic>` | Parallel research orchestration |
389
+ | `/oh-my-claudecode:tdd <feature>` | TDD workflow enforcement |
390
+ | `/oh-my-claudecode:learner` | Extract reusable skill from session |
391
+ | `/oh-my-claudecode:note <content>` | Save notes to notepad.md |
392
+ | `/oh-my-claudecode:cancel` | Unified cancellation |
393
+ | `/oh-my-claudecode:omc-setup` | One-time setup wizard |
394
+ | `/oh-my-claudecode:omc-doctor` | Diagnose and fix installation issues |
395
+ | `/oh-my-claudecode:omc-help` | Show OMC usage guide |
396
+ | `/oh-my-claudecode:hud` | Configure HUD statusline |
397
+ | `/oh-my-claudecode:release` | Automated release workflow |
398
+ | `/oh-my-claudecode:mcp-setup` | Configure MCP servers |
399
+ | `/oh-my-claudecode:trace` | Show orchestration trace timeline |
400
+ | `/oh-my-claudecode:psm <arguments>` | Deprecated alias for project session manager |
337
401
 
338
402
  ---
339
403
 
@@ -343,49 +407,47 @@ Oh-my-claudecode includes 31 lifecycle hooks that enhance Claude Code's behavior
343
407
 
344
408
  ### Execution Mode Hooks
345
409
 
346
- | Hook | Description |
347
- |------|-------------|
348
- | `autopilot` | Full autonomous execution from idea to working code |
349
- | `ultrawork` | Maximum parallel agent execution |
350
- | `ralph` | Persistence until verified complete |
351
- | `ultrapilot` | Parallel autopilot with file ownership |
352
- | `team-pipeline` | Native team staged pipeline orchestration |
353
- | `ultraqa` | QA cycling until goal met |
354
- | `swarm` | Coordinated multi-agent with SQLite task claiming |
355
- | `mode-registry` | Tracks active execution mode state (including team/ralph/ultrawork/ralplan) |
356
- | `persistent-mode` | Maintains mode state across sessions |
410
+ | Hook | Description |
411
+ | ----------------- | --------------------------------------------------------------------------- |
412
+ | `autopilot` | Full autonomous execution from idea to working code |
413
+ | `ultrawork` | Maximum parallel agent execution |
414
+ | `ralph` | Persistence until verified complete |
415
+ | `team-pipeline` | Native team staged pipeline orchestration |
416
+ | `ultraqa` | QA cycling until goal met |
417
+ | `mode-registry` | Tracks active execution mode state (including team/ralph/ultrawork/ralplan) |
418
+ | `persistent-mode` | Maintains mode state across sessions |
357
419
 
358
420
  ### Core Hooks
359
421
 
360
- | Hook | Description |
361
- |------|-------------|
362
- | `rules-injector` | Dynamic rules injection with YAML frontmatter parsing |
363
- | `omc-orchestrator` | Enforces orchestrator behavior and delegation |
364
- | `auto-slash-command` | Automatic slash command detection and execution |
365
- | `keyword-detector` | Magic keyword detection (ultrawork, ralph, etc.) |
366
- | `todo-continuation` | Ensures todo list completion |
367
- | `notepad` | Compaction-resilient memory system |
368
- | `learner` | Skill extraction from conversations |
422
+ | Hook | Description |
423
+ | -------------------- | ----------------------------------------------------- |
424
+ | `rules-injector` | Dynamic rules injection with YAML frontmatter parsing |
425
+ | `omc-orchestrator` | Enforces orchestrator behavior and delegation |
426
+ | `auto-slash-command` | Automatic slash command detection and execution |
427
+ | `keyword-detector` | Magic keyword detection (ultrawork, ralph, etc.) |
428
+ | `todo-continuation` | Ensures todo list completion |
429
+ | `notepad` | Compaction-resilient memory system |
430
+ | `learner` | Skill extraction from conversations |
369
431
 
370
432
  ### Context & Recovery
371
433
 
372
- | Hook | Description |
373
- |------|-------------|
374
- | `recovery` | Edit error, session, and context window recovery |
375
- | `preemptive-compaction` | Context usage monitoring to prevent limits |
376
- | `pre-compact` | Pre-compaction processing |
377
- | `directory-readme-injector` | README context injection |
434
+ | Hook | Description |
435
+ | --------------------------- | ------------------------------------------------ |
436
+ | `recovery` | Edit error, session, and context window recovery |
437
+ | `preemptive-compaction` | Context usage monitoring to prevent limits |
438
+ | `pre-compact` | Pre-compaction processing |
439
+ | `directory-readme-injector` | README context injection |
378
440
 
379
441
  ### Quality & Validation
380
442
 
381
- | Hook | Description |
382
- |------|-------------|
383
- | `comment-checker` | BDD detection and directive filtering |
384
- | `thinking-block-validator` | Extended thinking validation |
385
- | `empty-message-sanitizer` | Empty message handling |
386
- | `permission-handler` | Permission requests and validation |
387
- | `think-mode` | Extended thinking detection |
388
- | `code-simplifier` | Auto-simplify recently modified files on Stop (opt-in) |
443
+ | Hook | Description |
444
+ | -------------------------- | ------------------------------------------------------ |
445
+ | `comment-checker` | BDD detection and directive filtering |
446
+ | `thinking-block-validator` | Extended thinking validation |
447
+ | `empty-message-sanitizer` | Empty message handling |
448
+ | `permission-handler` | Permission requests and validation |
449
+ | `think-mode` | Extended thinking detection |
450
+ | `code-simplifier` | Auto-simplify recently modified files on Stop (opt-in) |
389
451
 
390
452
  ### Code Simplifier Hook
391
453
 
@@ -394,6 +456,7 @@ The `code-simplifier` Stop hook automatically delegates recently modified source
394
456
  explicitly enabled via `~/.omc/config.json`.
395
457
 
396
458
  **Enable:**
459
+
397
460
  ```json
398
461
  {
399
462
  "codeSimplifier": {
@@ -403,6 +466,7 @@ explicitly enabled via `~/.omc/config.json`.
403
466
  ```
404
467
 
405
468
  **Full config options:**
469
+
406
470
  ```json
407
471
  {
408
472
  "codeSimplifier": {
@@ -413,13 +477,14 @@ explicitly enabled via `~/.omc/config.json`.
413
477
  }
414
478
  ```
415
479
 
416
- | Option | Type | Default | Description |
417
- |--------|------|---------|-------------|
418
- | `enabled` | `boolean` | `false` | Opt-in to automatic simplification |
419
- | `extensions` | `string[]` | `[".ts",".tsx",".js",".jsx",".py",".go",".rs"]` | File extensions to consider |
420
- | `maxFiles` | `number` | `10` | Maximum files simplified per turn |
480
+ | Option | Type | Default | Description |
481
+ | ------------ | ---------- | ----------------------------------------------- | ---------------------------------- |
482
+ | `enabled` | `boolean` | `false` | Opt-in to automatic simplification |
483
+ | `extensions` | `string[]` | `[".ts",".tsx",".js",".jsx",".py",".go",".rs"]` | File extensions to consider |
484
+ | `maxFiles` | `number` | `10` | Maximum files simplified per turn |
421
485
 
422
486
  **How it works:**
487
+
423
488
  1. When Claude stops, the hook runs `git diff HEAD --name-only` to find modified files
424
489
  2. If modified source files are found, the hook injects a message asking Claude to delegate to the `code-simplifier` agent
425
490
  3. The agent simplifies the files for clarity and consistency without changing behavior
@@ -427,38 +492,35 @@ explicitly enabled via `~/.omc/config.json`.
427
492
 
428
493
  ### Coordination & Environment
429
494
 
430
- | Hook | Description |
431
- |------|-------------|
432
- | `subagent-tracker` | Tracks spawned sub-agents |
433
- | `session-end` | Session termination handling |
434
- | `non-interactive-env` | CI/non-interactive environment handling |
435
- | `agent-usage-reminder` | Reminder to use specialized agents |
495
+ | Hook | Description |
496
+ | ------------------------- | ---------------------------------------- |
497
+ | `subagent-tracker` | Tracks spawned sub-agents |
498
+ | `session-end` | Session termination handling |
499
+ | `non-interactive-env` | CI/non-interactive environment handling |
500
+ | `agent-usage-reminder` | Reminder to use specialized agents |
436
501
  | `background-notification` | Background task completion notifications |
437
- | `plugin-patterns` | Plugin pattern detection |
438
- | `setup` | Initial setup and configuration |
502
+ | `plugin-patterns` | Plugin pattern detection |
503
+ | `setup` | Initial setup and configuration |
439
504
 
440
505
  ---
441
506
 
442
507
  ## Magic Keywords
443
508
 
444
- Just include these words anywhere in your prompt to activate enhanced modes:
445
-
446
- | Keyword | Effect |
447
- |---------|--------|
448
- | `ultrawork`, `ulw`, `uw` | Activates parallel agent orchestration |
449
- | `eco`, `efficient`, `save-tokens`, `budget` | Token-efficient parallel execution |
450
- | `autopilot`, `build me`, `I want a` | Full autonomous execution |
451
- | `ultrapilot`, `parallel build`, `swarm build` | Parallel autopilot (3-5x faster) |
452
- | `ralph`, `don't stop`, `must complete` | Persistence until verified complete |
453
- | `plan this`, `plan the` | Planning interview workflow |
454
- | `ralplan` | Iterative planning consensus with structured deliberation (`--deliberate` for high-risk mode) |
455
- | `search`, `find`, `locate` | Enhanced search mode |
456
- | `analyze`, `investigate`, `debug` | Deep analysis mode |
457
- | `sciomc` | Parallel research orchestration |
458
- | `tdd`, `test first`, `red green` | TDD workflow enforcement |
459
- | `swarm N agents` | Coordinated agent swarm |
460
- | `pipeline`, `chain agents` | Sequential agent chaining |
461
- | `stop`, `cancel`, `abort` | Unified cancellation |
509
+ Use these trigger phrases in natural language prompts to activate enhanced modes:
510
+
511
+ | Keyword | Effect |
512
+ | ------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
513
+ | `ultrawork`, `ulw` | Activates parallel agent orchestration |
514
+ | `autopilot`, `build me`, `I want a` | Full autonomous execution |
515
+ | `ralph`, `don't stop`, `must complete` | Persistence until verified complete |
516
+ | `team`, `coordinated team` | Team pipeline orchestration |
517
+ | `ralplan` | Iterative planning consensus with structured deliberation (`--deliberate` for high-risk mode) |
518
+ | `deep interview`, `ouroboros` | Deep Socratic interview with mathematical clarity gating |
519
+ | `deepsearch`, `search the codebase`, `find in codebase` | Codebase-focused search mode |
520
+ | `deepanalyze`, `deep-analyze` | Deep analysis mode |
521
+ | `ultrathink` | Deep reasoning mode |
522
+ | `tdd`, `test first`, `red green` | TDD workflow enforcement |
523
+ | `cancelomc`, `stopomc` | Unified cancellation |
462
524
 
463
525
  ### Examples
464
526
 
@@ -468,35 +530,29 @@ Just include these words anywhere in your prompt to activate enhanced modes:
468
530
  # Maximum parallelism
469
531
  ultrawork implement user authentication with OAuth
470
532
 
471
- # Token-efficient parallelism
472
- eco fix all TypeScript errors
473
-
474
533
  # Enhanced search
475
- find all files that import the utils module
534
+ deepsearch for files that import the utils module
476
535
 
477
536
  # Deep analysis
478
- analyze why the tests are failing
537
+ deep-analyze why the tests are failing
479
538
 
480
539
  # Autonomous execution
481
540
  autopilot: build a todo app with React
482
541
 
483
- # Parallel autopilot
484
- ultrapilot: build a fullstack todo app
542
+ # Parallel autonomous execution
543
+ team 3:executor "build a fullstack todo app"
485
544
 
486
545
  # Persistence mode
487
546
  ralph: refactor the authentication module
488
547
 
489
548
  # Planning session
490
- plan this feature
549
+ ralplan this feature
491
550
 
492
551
  # TDD workflow
493
552
  tdd: implement password validation
494
553
 
495
- # Coordinated swarm
496
- swarm 5 agents: fix all lint errors
497
-
498
- # Agent chaining
499
- pipeline: analyze → fix → test this bug
554
+ # Stop active orchestration
555
+ stopomc
500
556
  ```
501
557
 
502
558
  ---
@@ -505,11 +561,11 @@ pipeline: analyze → fix → test this bug
505
561
 
506
562
  ### Operating Systems
507
563
 
508
- | Platform | Install Method | Hook Type |
509
- |----------|---------------|-----------|
564
+ | Platform | Install Method | Hook Type |
565
+ | ----------- | --------------------------- | -------------- |
510
566
  | **Windows** | WSL2 recommended (see note) | Node.js (.mjs) |
511
- | **macOS** | curl or npm | Bash (.sh) |
512
- | **Linux** | curl or npm | Bash (.sh) |
567
+ | **macOS** | curl or npm | Bash (.sh) |
568
+ | **Linux** | curl or npm | Bash (.sh) |
513
569
 
514
570
  > **Note**: Bash hooks are fully portable across macOS and Linux (no GNU-specific dependencies).
515
571
 
@@ -519,44 +575,44 @@ pipeline: analyze → fix → test this bug
519
575
 
520
576
  ### Available Tools
521
577
 
522
- | Tool | Status | Description |
523
- |------|--------|-------------|
524
- | **Read** | ✅ Available | Read files |
525
- | **Write** | ✅ Available | Create files |
526
- | **Edit** | ✅ Available | Modify files |
527
- | **Bash** | ✅ Available | Run shell commands |
528
- | **Glob** | ✅ Available | Find files by pattern |
529
- | **Grep** | ✅ Available | Search file contents |
530
- | **WebSearch** | ✅ Available | Search the web |
531
- | **WebFetch** | ✅ Available | Fetch web pages |
532
- | **Task** | ✅ Available | Spawn subagents |
533
- | **TodoWrite** | ✅ Available | Track tasks |
578
+ | Tool | Status | Description |
579
+ | ------------- | ------------ | --------------------- |
580
+ | **Read** | ✅ Available | Read files |
581
+ | **Write** | ✅ Available | Create files |
582
+ | **Edit** | ✅ Available | Modify files |
583
+ | **Bash** | ✅ Available | Run shell commands |
584
+ | **Glob** | ✅ Available | Find files by pattern |
585
+ | **Grep** | ✅ Available | Search file contents |
586
+ | **WebSearch** | ✅ Available | Search the web |
587
+ | **WebFetch** | ✅ Available | Fetch web pages |
588
+ | **Task** | ✅ Available | Spawn subagents |
589
+ | **TodoWrite** | ✅ Available | Track tasks |
534
590
 
535
591
  ### LSP Tools (Real Implementation)
536
592
 
537
- | Tool | Status | Description |
538
- |------|--------|-------------|
539
- | `lsp_hover` | ✅ Implemented | Get type info and documentation at position |
540
- | `lsp_goto_definition` | ✅ Implemented | Jump to symbol definition |
541
- | `lsp_find_references` | ✅ Implemented | Find all usages of a symbol |
542
- | `lsp_document_symbols` | ✅ Implemented | Get file outline (functions, classes, etc.) |
543
- | `lsp_workspace_symbols` | ✅ Implemented | Search symbols across workspace |
544
- | `lsp_diagnostics` | ✅ Implemented | Get errors, warnings, hints |
545
- | `lsp_prepare_rename` | ✅ Implemented | Check if rename is valid |
546
- | `lsp_rename` | ✅ Implemented | Rename symbol across project |
547
- | `lsp_code_actions` | ✅ Implemented | Get available refactorings |
548
- | `lsp_code_action_resolve` | ✅ Implemented | Get details of a code action |
549
- | `lsp_servers` | ✅ Implemented | List available language servers |
550
- | `lsp_diagnostics_directory` | ✅ Implemented | Project-level type checking |
593
+ | Tool | Status | Description |
594
+ | --------------------------- | -------------- | ------------------------------------------- |
595
+ | `lsp_hover` | ✅ Implemented | Get type info and documentation at position |
596
+ | `lsp_goto_definition` | ✅ Implemented | Jump to symbol definition |
597
+ | `lsp_find_references` | ✅ Implemented | Find all usages of a symbol |
598
+ | `lsp_document_symbols` | ✅ Implemented | Get file outline (functions, classes, etc.) |
599
+ | `lsp_workspace_symbols` | ✅ Implemented | Search symbols across workspace |
600
+ | `lsp_diagnostics` | ✅ Implemented | Get errors, warnings, hints |
601
+ | `lsp_prepare_rename` | ✅ Implemented | Check if rename is valid |
602
+ | `lsp_rename` | ✅ Implemented | Rename symbol across project |
603
+ | `lsp_code_actions` | ✅ Implemented | Get available refactorings |
604
+ | `lsp_code_action_resolve` | ✅ Implemented | Get details of a code action |
605
+ | `lsp_servers` | ✅ Implemented | List available language servers |
606
+ | `lsp_diagnostics_directory` | ✅ Implemented | Project-level type checking |
551
607
 
552
608
  > **Note**: LSP tools require language servers to be installed (typescript-language-server, pylsp, rust-analyzer, gopls, etc.). Use `lsp_servers` to check installation status.
553
609
 
554
610
  ### AST Tools (ast-grep Integration)
555
611
 
556
- | Tool | Status | Description |
557
- |------|--------|-------------|
558
- | `ast_grep_search` | ✅ Implemented | Pattern-based code search using AST matching |
559
- | `ast_grep_replace` | ✅ Implemented | Pattern-based code transformation |
612
+ | Tool | Status | Description |
613
+ | ------------------ | -------------- | -------------------------------------------- |
614
+ | `ast_grep_search` | ✅ Implemented | Pattern-based code search using AST matching |
615
+ | `ast_grep_replace` | ✅ Implemented | Pattern-based code transformation |
560
616
 
561
617
  > **Note**: AST tools use [@ast-grep/napi](https://ast-grep.github.io/) for structural code matching. Supports meta-variables like `$VAR` (single node) and `$$$` (multiple nodes).
562
618
 
@@ -570,21 +626,21 @@ For complete documentation, see **[Performance Monitoring Guide](./PERFORMANCE-M
570
626
 
571
627
  ### Quick Overview
572
628
 
573
- | Feature | Description | Access |
574
- |---------|-------------|--------|
575
- | **Agent Observatory** | Real-time agent status, efficiency, bottlenecks | HUD / API |
576
- | **Token Analytics** | Cost tracking, usage reports, budget warnings | `omc stats`, `omc cost` |
577
- | **Session Replay** | Event timeline for post-session analysis | `.omc/state/agent-replay-*.jsonl` |
578
- | **Intervention System** | Auto-detection of stale agents, cost overruns | Automatic |
629
+ | Feature | Description | Access |
630
+ | ----------------------- | ----------------------------------------------- | ------------------------------------ |
631
+ | **Agent Observatory** | Real-time agent status, efficiency, bottlenecks | HUD / API |
632
+ | **Token Analytics** | Cost tracking, usage reports, budget warnings | HUD (`analytics` preset), `omc cost` |
633
+ | **Session Replay** | Event timeline for post-session analysis | `.omc/state/agent-replay-*.jsonl` |
634
+ | **Intervention System** | Auto-detection of stale agents, cost overruns | Automatic |
579
635
 
580
636
  ### CLI Commands
581
637
 
582
638
  ```bash
583
- omc stats # Current session statistics
639
+ omc # Default analytics dashboard
584
640
  omc cost daily # Daily cost report
585
641
  omc cost weekly # Weekly cost report
586
- omc agents # Agent breakdown
587
642
  omc backfill # Import historical transcript data
643
+ # Agent breakdown: use HUD observatory / replay logs
588
644
  ```
589
645
 
590
646
  ### HUD Analytics Preset
@@ -614,6 +670,7 @@ Enable detailed cost tracking in your status line:
614
670
  ```
615
671
 
616
672
  Checks for:
673
+
617
674
  - Missing dependencies
618
675
  - Configuration errors
619
676
  - Hook installation status
@@ -645,35 +702,43 @@ Configure HUD elements in `~/.claude/settings.json`:
645
702
  }
646
703
  ```
647
704
 
648
- | Element | Description | Default |
649
- |---------|-------------|---------|
650
- | `cwd` | Show current working directory | `false` |
651
- | `gitRepo` | Show git repository name | `false` |
652
- | `gitBranch` | Show current git branch | `false` |
653
- | `omcLabel` | Show [OMC] label | `true` |
654
- | `contextBar` | Show context window usage | `true` |
655
- | `agents` | Show active agents count | `true` |
656
- | `todos` | Show todo progress | `true` |
657
- | `ralph` | Show ralph loop status | `true` |
658
- | `autopilot` | Show autopilot status | `true` |
705
+ | Element | Description | Default |
706
+ | ------------ | ------------------------------ | ------- |
707
+ | `cwd` | Show current working directory | `false` |
708
+ | `gitRepo` | Show git repository name | `false` |
709
+ | `gitBranch` | Show current git branch | `false` |
710
+ | `omcLabel` | Show [OMC] label | `true` |
711
+ | `contextBar` | Show context window usage | `true` |
712
+ | `agents` | Show active agents count | `true` |
713
+ | `todos` | Show todo progress | `true` |
714
+ | `ralph` | Show ralph loop status | `true` |
715
+ | `autopilot` | Show autopilot status | `true` |
716
+
717
+ Additional `omcHud` layout options (top-level):
718
+
719
+ | Option | Description | Default |
720
+ | ---------- | --------------------------------------------------------------------------------- | ---------- |
721
+ | `maxWidth` | Maximum HUD line width (terminal columns) | unset |
722
+ | `wrapMode` | `truncate` (ellipsis) or `wrap` (break at `\|` boundaries) when `maxWidth` is set | `truncate` |
659
723
 
660
724
  Available presets: `minimal`, `focused`, `full`, `dense`, `analytics`, `opencode`
661
725
 
662
726
  ### Common Issues
663
727
 
664
- | Issue | Solution |
665
- |-------|----------|
666
- | Commands not found | Re-run `/oh-my-claudecode:omc-setup` |
667
- | Hooks not executing | Check hook permissions: `chmod +x ~/.claude/hooks/**/*.sh` |
728
+ | Issue | Solution |
729
+ | --------------------- | -------------------------------------------------------------------------------- |
730
+ | Commands not found | Re-run `/oh-my-claudecode:omc-setup` |
731
+ | Hooks not executing | Check hook permissions: `chmod +x ~/.claude/hooks/**/*.sh` |
668
732
  | Agents not delegating | Verify CLAUDE.md is loaded: check `./.claude/CLAUDE.md` or `~/.claude/CLAUDE.md` |
669
- | LSP tools not working | Install language servers: `npm install -g typescript-language-server` |
670
- | Token limit errors | Use `/oh-my-claudecode:` for token-efficient execution |
733
+ | LSP tools not working | Install language servers: `npm install -g typescript-language-server` |
734
+ | Token limit errors | Use `/oh-my-claudecode:` for token-efficient execution |
671
735
 
672
736
  ### Auto-Update
673
737
 
674
738
  Oh-my-claudecode includes a silent auto-update system that checks for updates in the background.
675
739
 
676
740
  Features:
741
+
677
742
  - **Rate-limited**: Checks at most once every 24 hours
678
743
  - **Concurrent-safe**: Lock file prevents simultaneous update attempts
679
744
  - **Cross-platform**: Works on both macOS and Linux