oh-my-copilot 4.13.0 → 4.13.2

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 (420) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/README.md +2 -2
  4. package/agents/analyst.agent.md +2 -1
  5. package/agents/architect.agent.md +2 -1
  6. package/agents/code-reviewer.agent.md +2 -1
  7. package/agents/critic.agent.md +2 -1
  8. package/agents/debugger.agent.md +2 -1
  9. package/agents/designer.agent.md +2 -1
  10. package/agents/devils-advocate.agent.md +2 -1
  11. package/agents/document-specialist.agent.md +2 -1
  12. package/agents/executor.agent.md +2 -1
  13. package/agents/explore.agent.md +2 -1
  14. package/agents/git-master.agent.md +2 -1
  15. package/agents/planner.agent.md +2 -1
  16. package/agents/qa-tester.agent.md +2 -1
  17. package/agents/scientist.agent.md +2 -1
  18. package/agents/security-reviewer.agent.md +2 -1
  19. package/agents/test-engineer.agent.md +2 -1
  20. package/agents/verifier.agent.md +2 -1
  21. package/agents/writer.agent.md +2 -1
  22. package/bridge/cli.cjs +2823 -1491
  23. package/bridge/mcp-server.cjs +15 -2
  24. package/bridge/run-mcp-server.sh +1 -1
  25. package/bridge/runtime-cli.cjs +3589 -2448
  26. package/bridge/team-bridge.cjs +6 -4
  27. package/bridge/team-mcp.cjs +19607 -0
  28. package/bridge/team.js +3576 -2080
  29. package/dist/__tests__/auto-slash-aliases.test.js +5 -5
  30. package/dist/__tests__/auto-slash-aliases.test.js.map +1 -1
  31. package/dist/__tests__/bedrock-lm-suffix-hook.test.js +2 -2
  32. package/dist/__tests__/bedrock-lm-suffix-hook.test.js.map +1 -1
  33. package/dist/__tests__/cleanup-orphans-unref.test.d.ts +2 -0
  34. package/dist/__tests__/cleanup-orphans-unref.test.d.ts.map +1 -0
  35. package/dist/__tests__/cleanup-orphans-unref.test.js +44 -0
  36. package/dist/__tests__/cleanup-orphans-unref.test.js.map +1 -0
  37. package/dist/__tests__/context-safety.test.js +3 -3
  38. package/dist/__tests__/context-safety.test.js.map +1 -1
  39. package/dist/__tests__/hooks/learner/bridge.test.js +106 -0
  40. package/dist/__tests__/hooks/learner/bridge.test.js.map +1 -1
  41. package/dist/__tests__/hooks/learner/parser.test.js +30 -0
  42. package/dist/__tests__/hooks/learner/parser.test.js.map +1 -1
  43. package/dist/__tests__/hooks.test.js +47 -0
  44. package/dist/__tests__/hooks.test.js.map +1 -1
  45. package/dist/__tests__/hud/extra-usage.test.js +42 -0
  46. package/dist/__tests__/hud/extra-usage.test.js.map +1 -1
  47. package/dist/__tests__/hud/render-enterprise.test.d.ts +5 -0
  48. package/dist/__tests__/hud/render-enterprise.test.d.ts.map +1 -0
  49. package/dist/__tests__/hud/render-enterprise.test.js +232 -0
  50. package/dist/__tests__/hud/render-enterprise.test.js.map +1 -0
  51. package/dist/__tests__/hud/render-rate-limits-priority.test.js +159 -0
  52. package/dist/__tests__/hud/render-rate-limits-priority.test.js.map +1 -1
  53. package/dist/__tests__/hud/stdin-session-scope.test.d.ts +2 -0
  54. package/dist/__tests__/hud/stdin-session-scope.test.d.ts.map +1 -0
  55. package/dist/__tests__/hud/stdin-session-scope.test.js +169 -0
  56. package/dist/__tests__/hud/stdin-session-scope.test.js.map +1 -0
  57. package/dist/__tests__/hud/usage-api.test.js +111 -1
  58. package/dist/__tests__/hud/usage-api.test.js.map +1 -1
  59. package/dist/__tests__/issue-2652-runtime-wiring-and-output-contract.test.js +2 -0
  60. package/dist/__tests__/issue-2652-runtime-wiring-and-output-contract.test.js.map +1 -1
  61. package/dist/__tests__/keyword-detector-echo-guard.test.d.ts +2 -0
  62. package/dist/__tests__/keyword-detector-echo-guard.test.d.ts.map +1 -0
  63. package/dist/__tests__/keyword-detector-echo-guard.test.js +218 -0
  64. package/dist/__tests__/keyword-detector-echo-guard.test.js.map +1 -0
  65. package/dist/__tests__/keyword-detector-script.test.js +2 -1
  66. package/dist/__tests__/keyword-detector-script.test.js.map +1 -1
  67. package/dist/__tests__/omc-cli-rendering.test.js +13 -10
  68. package/dist/__tests__/omc-cli-rendering.test.js.map +1 -1
  69. package/dist/__tests__/pre-tool-enforcer.test.js +22 -38
  70. package/dist/__tests__/pre-tool-enforcer.test.js.map +1 -1
  71. package/dist/__tests__/preemptive-compaction-hook.test.js +63 -0
  72. package/dist/__tests__/preemptive-compaction-hook.test.js.map +1 -1
  73. package/dist/__tests__/safe-command-approver.test.d.ts +2 -0
  74. package/dist/__tests__/safe-command-approver.test.d.ts.map +1 -0
  75. package/dist/__tests__/safe-command-approver.test.js +103 -0
  76. package/dist/__tests__/safe-command-approver.test.js.map +1 -0
  77. package/dist/__tests__/skills.test.js +18 -0
  78. package/dist/__tests__/skills.test.js.map +1 -1
  79. package/dist/__tests__/state-root-resolution.test.js +64 -0
  80. package/dist/__tests__/state-root-resolution.test.js.map +1 -1
  81. package/dist/cli/__tests__/launch.test.js +24 -0
  82. package/dist/cli/__tests__/launch.test.js.map +1 -1
  83. package/dist/cli/__tests__/team-status-worktree.test.d.ts +2 -0
  84. package/dist/cli/__tests__/team-status-worktree.test.d.ts.map +1 -0
  85. package/dist/cli/__tests__/team-status-worktree.test.js +96 -0
  86. package/dist/cli/__tests__/team-status-worktree.test.js.map +1 -0
  87. package/dist/cli/__tests__/team.test.js +164 -0
  88. package/dist/cli/__tests__/team.test.js.map +1 -1
  89. package/dist/cli/__tests__/tmux-utils.test.js +18 -3
  90. package/dist/cli/__tests__/tmux-utils.test.js.map +1 -1
  91. package/dist/cli/autoresearch-setup-session.d.ts.map +1 -1
  92. package/dist/cli/autoresearch-setup-session.js +1 -0
  93. package/dist/cli/autoresearch-setup-session.js.map +1 -1
  94. package/dist/cli/commands/team.js +1 -1
  95. package/dist/cli/launch.d.ts.map +1 -1
  96. package/dist/cli/launch.js +10 -2
  97. package/dist/cli/launch.js.map +1 -1
  98. package/dist/cli/team.d.ts.map +1 -1
  99. package/dist/cli/team.js +103 -4
  100. package/dist/cli/team.js.map +1 -1
  101. package/dist/cli/tmux-utils.d.ts.map +1 -1
  102. package/dist/cli/tmux-utils.js +5 -2
  103. package/dist/cli/tmux-utils.js.map +1 -1
  104. package/dist/cli/utils/formatting.d.ts +0 -10
  105. package/dist/cli/utils/formatting.d.ts.map +1 -1
  106. package/dist/cli/utils/formatting.js +0 -52
  107. package/dist/cli/utils/formatting.js.map +1 -1
  108. package/dist/config/loader.d.ts.map +1 -1
  109. package/dist/config/loader.js +34 -8
  110. package/dist/config/loader.js.map +1 -1
  111. package/dist/features/__tests__/magic-keywords.test.d.ts +2 -0
  112. package/dist/features/__tests__/magic-keywords.test.d.ts.map +1 -0
  113. package/dist/features/__tests__/magic-keywords.test.js +19 -0
  114. package/dist/features/__tests__/magic-keywords.test.js.map +1 -0
  115. package/dist/features/delegation-enforcer.d.ts +2 -0
  116. package/dist/features/delegation-enforcer.d.ts.map +1 -1
  117. package/dist/features/delegation-enforcer.js +10 -0
  118. package/dist/features/delegation-enforcer.js.map +1 -1
  119. package/dist/features/magic-keywords.d.ts +1 -1
  120. package/dist/features/magic-keywords.d.ts.map +1 -1
  121. package/dist/features/magic-keywords.js +5 -192
  122. package/dist/features/magic-keywords.js.map +1 -1
  123. package/dist/hooks/__tests__/bridge-routing.test.js +23 -0
  124. package/dist/hooks/__tests__/bridge-routing.test.js.map +1 -1
  125. package/dist/hooks/bridge-normalize.d.ts +5 -0
  126. package/dist/hooks/bridge-normalize.d.ts.map +1 -1
  127. package/dist/hooks/bridge-normalize.js +6 -0
  128. package/dist/hooks/bridge-normalize.js.map +1 -1
  129. package/dist/hooks/bridge.d.ts +4 -0
  130. package/dist/hooks/bridge.d.ts.map +1 -1
  131. package/dist/hooks/bridge.js +60 -3
  132. package/dist/hooks/bridge.js.map +1 -1
  133. package/dist/hooks/keyword-detector/index.js +1 -1
  134. package/dist/hooks/keyword-detector/index.js.map +1 -1
  135. package/dist/hooks/keyword-detector/ultrawork/__tests__/index.test.d.ts +2 -0
  136. package/dist/hooks/keyword-detector/ultrawork/__tests__/index.test.d.ts.map +1 -0
  137. package/dist/hooks/keyword-detector/ultrawork/__tests__/index.test.js +37 -0
  138. package/dist/hooks/keyword-detector/ultrawork/__tests__/index.test.js.map +1 -0
  139. package/dist/hooks/keyword-detector/ultrawork/default.d.ts +3 -0
  140. package/dist/hooks/keyword-detector/ultrawork/default.d.ts.map +1 -0
  141. package/dist/hooks/keyword-detector/ultrawork/default.js +67 -0
  142. package/dist/hooks/keyword-detector/ultrawork/default.js.map +1 -0
  143. package/dist/hooks/keyword-detector/ultrawork/gemini.d.ts +3 -0
  144. package/dist/hooks/keyword-detector/ultrawork/gemini.d.ts.map +1 -0
  145. package/dist/hooks/keyword-detector/ultrawork/gemini.js +47 -0
  146. package/dist/hooks/keyword-detector/ultrawork/gemini.js.map +1 -0
  147. package/dist/hooks/keyword-detector/ultrawork/gpt.d.ts +3 -0
  148. package/dist/hooks/keyword-detector/ultrawork/gpt.d.ts.map +1 -0
  149. package/dist/hooks/keyword-detector/ultrawork/gpt.js +52 -0
  150. package/dist/hooks/keyword-detector/ultrawork/gpt.js.map +1 -0
  151. package/dist/hooks/keyword-detector/ultrawork/index.d.ts +8 -0
  152. package/dist/hooks/keyword-detector/ultrawork/index.d.ts.map +1 -0
  153. package/dist/hooks/keyword-detector/ultrawork/index.js +24 -0
  154. package/dist/hooks/keyword-detector/ultrawork/index.js.map +1 -0
  155. package/dist/hooks/keyword-detector/ultrawork/planner.d.ts +3 -0
  156. package/dist/hooks/keyword-detector/ultrawork/planner.d.ts.map +1 -0
  157. package/dist/hooks/keyword-detector/ultrawork/planner.js +57 -0
  158. package/dist/hooks/keyword-detector/ultrawork/planner.js.map +1 -0
  159. package/dist/hooks/keyword-detector/ultrawork/source-detector.d.ts +6 -0
  160. package/dist/hooks/keyword-detector/ultrawork/source-detector.d.ts.map +1 -0
  161. package/dist/hooks/keyword-detector/ultrawork/source-detector.js +37 -0
  162. package/dist/hooks/keyword-detector/ultrawork/source-detector.js.map +1 -0
  163. package/dist/hooks/learner/bridge.d.ts +2 -0
  164. package/dist/hooks/learner/bridge.d.ts.map +1 -1
  165. package/dist/hooks/learner/bridge.js +15 -109
  166. package/dist/hooks/learner/bridge.js.map +1 -1
  167. package/dist/hooks/learner/index.d.ts.map +1 -1
  168. package/dist/hooks/learner/index.js +51 -14
  169. package/dist/hooks/learner/index.js.map +1 -1
  170. package/dist/hooks/learner/parser.d.ts +9 -0
  171. package/dist/hooks/learner/parser.d.ts.map +1 -1
  172. package/dist/hooks/learner/parser.js +18 -5
  173. package/dist/hooks/learner/parser.js.map +1 -1
  174. package/dist/hooks/learner/types.d.ts +6 -0
  175. package/dist/hooks/learner/types.d.ts.map +1 -1
  176. package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
  177. package/dist/hooks/persistent-mode/index.js +7 -4
  178. package/dist/hooks/persistent-mode/index.js.map +1 -1
  179. package/dist/hooks/persistent-mode/session-isolation.test.js +8 -3
  180. package/dist/hooks/persistent-mode/session-isolation.test.js.map +1 -1
  181. package/dist/hooks/persistent-mode/stop-hook-blocking.test.js +142 -7
  182. package/dist/hooks/persistent-mode/stop-hook-blocking.test.js.map +1 -1
  183. package/dist/hooks/project-memory/__tests__/learner.test.js +7 -0
  184. package/dist/hooks/project-memory/__tests__/learner.test.js.map +1 -1
  185. package/dist/hooks/project-memory/learner.d.ts +1 -1
  186. package/dist/hooks/project-memory/learner.d.ts.map +1 -1
  187. package/dist/hooks/project-memory/learner.js +3 -0
  188. package/dist/hooks/project-memory/learner.js.map +1 -1
  189. package/dist/hooks/session-end/index.d.ts.map +1 -1
  190. package/dist/hooks/session-end/index.js +43 -0
  191. package/dist/hooks/session-end/index.js.map +1 -1
  192. package/dist/hooks/skill-bridge.cjs +116 -87
  193. package/dist/hud/__tests__/enterprise-cost.test.d.ts +5 -0
  194. package/dist/hud/__tests__/enterprise-cost.test.d.ts.map +1 -0
  195. package/dist/hud/__tests__/enterprise-cost.test.js +151 -0
  196. package/dist/hud/__tests__/enterprise-cost.test.js.map +1 -0
  197. package/dist/hud/__tests__/usage-api-enterprise.test.d.ts +5 -0
  198. package/dist/hud/__tests__/usage-api-enterprise.test.d.ts.map +1 -0
  199. package/dist/hud/__tests__/usage-api-enterprise.test.js +249 -0
  200. package/dist/hud/__tests__/usage-api-enterprise.test.js.map +1 -0
  201. package/dist/hud/elements/enterprise-cost.d.ts +16 -0
  202. package/dist/hud/elements/enterprise-cost.d.ts.map +1 -0
  203. package/dist/hud/elements/enterprise-cost.js +63 -0
  204. package/dist/hud/elements/enterprise-cost.js.map +1 -0
  205. package/dist/hud/elements/permission.d.ts.map +1 -1
  206. package/dist/hud/elements/permission.js +2 -5
  207. package/dist/hud/elements/permission.js.map +1 -1
  208. package/dist/hud/elements/session.d.ts.map +1 -1
  209. package/dist/hud/elements/session.js +5 -9
  210. package/dist/hud/elements/session.js.map +1 -1
  211. package/dist/hud/index.d.ts.map +1 -1
  212. package/dist/hud/index.js +22 -5
  213. package/dist/hud/index.js.map +1 -1
  214. package/dist/hud/render.d.ts.map +1 -1
  215. package/dist/hud/render.js +34 -2
  216. package/dist/hud/render.js.map +1 -1
  217. package/dist/hud/stdin.d.ts.map +1 -1
  218. package/dist/hud/stdin.js +49 -5
  219. package/dist/hud/stdin.js.map +1 -1
  220. package/dist/hud/types.d.ts +16 -0
  221. package/dist/hud/types.d.ts.map +1 -1
  222. package/dist/hud/types.js +1 -1
  223. package/dist/hud/types.js.map +1 -1
  224. package/dist/hud/usage-api.d.ts +19 -1
  225. package/dist/hud/usage-api.d.ts.map +1 -1
  226. package/dist/hud/usage-api.js +101 -18
  227. package/dist/hud/usage-api.js.map +1 -1
  228. package/dist/installer/__tests__/hook-templates.test.js +23 -0
  229. package/dist/installer/__tests__/hook-templates.test.js.map +1 -1
  230. package/dist/installer/hooks.d.ts +4 -2
  231. package/dist/installer/hooks.d.ts.map +1 -1
  232. package/dist/installer/hooks.js +5 -94
  233. package/dist/installer/hooks.js.map +1 -1
  234. package/dist/installer/index.d.ts +1 -0
  235. package/dist/installer/index.d.ts.map +1 -1
  236. package/dist/installer/index.js +64 -24
  237. package/dist/installer/index.js.map +1 -1
  238. package/dist/installer/mcp-registry.d.ts.map +1 -1
  239. package/dist/installer/mcp-registry.js +3 -2
  240. package/dist/installer/mcp-registry.js.map +1 -1
  241. package/dist/mcp/__tests__/team-server-artifact-convergence.test.js +156 -4
  242. package/dist/mcp/__tests__/team-server-artifact-convergence.test.js.map +1 -1
  243. package/dist/mcp/omc-tools-server.d.ts +11 -17
  244. package/dist/mcp/omc-tools-server.d.ts.map +1 -1
  245. package/dist/mcp/omc-tools-server.js +22 -32
  246. package/dist/mcp/omc-tools-server.js.map +1 -1
  247. package/dist/mcp/team-job-convergence.d.ts +9 -2
  248. package/dist/mcp/team-job-convergence.d.ts.map +1 -1
  249. package/dist/mcp/team-job-convergence.js +35 -14
  250. package/dist/mcp/team-job-convergence.js.map +1 -1
  251. package/dist/mcp/team-server.d.ts.map +1 -1
  252. package/dist/mcp/team-server.js +93 -13
  253. package/dist/mcp/team-server.js.map +1 -1
  254. package/dist/ralphthon/prd.d.ts.map +1 -1
  255. package/dist/ralphthon/prd.js +13 -17
  256. package/dist/ralphthon/prd.js.map +1 -1
  257. package/dist/shared/types.d.ts +3 -1
  258. package/dist/shared/types.d.ts.map +1 -1
  259. package/dist/team/__tests__/api-interop.cleanup.test.d.ts +2 -0
  260. package/dist/team/__tests__/api-interop.cleanup.test.d.ts.map +1 -0
  261. package/dist/team/__tests__/api-interop.cleanup.test.js +234 -0
  262. package/dist/team/__tests__/api-interop.cleanup.test.js.map +1 -0
  263. package/dist/team/__tests__/api-interop.dispatch.test.js +2 -1
  264. package/dist/team/__tests__/api-interop.dispatch.test.js.map +1 -1
  265. package/dist/team/__tests__/git-worktree.test.js +164 -3
  266. package/dist/team/__tests__/git-worktree.test.js.map +1 -1
  267. package/dist/team/__tests__/model-contract.test.js +38 -22
  268. package/dist/team/__tests__/model-contract.test.js.map +1 -1
  269. package/dist/team/__tests__/resolved-routing-snapshot.test.js +29 -1
  270. package/dist/team/__tests__/resolved-routing-snapshot.test.js.map +1 -1
  271. package/dist/team/__tests__/runtime-cli.test.js +2 -2
  272. package/dist/team/__tests__/runtime-cli.test.js.map +1 -1
  273. package/dist/team/__tests__/runtime-prompt-mode.test.js +17 -17
  274. package/dist/team/__tests__/runtime-prompt-mode.test.js.map +1 -1
  275. package/dist/team/__tests__/runtime-v2-role-routing.test.js +7 -1
  276. package/dist/team/__tests__/runtime-v2-role-routing.test.js.map +1 -1
  277. package/dist/team/__tests__/runtime-v2.dispatch.test.js +145 -16
  278. package/dist/team/__tests__/runtime-v2.dispatch.test.js.map +1 -1
  279. package/dist/team/__tests__/runtime-v2.monitor.test.d.ts +2 -0
  280. package/dist/team/__tests__/runtime-v2.monitor.test.d.ts.map +1 -0
  281. package/dist/team/__tests__/runtime-v2.monitor.test.js +219 -0
  282. package/dist/team/__tests__/runtime-v2.monitor.test.js.map +1 -0
  283. package/dist/team/__tests__/runtime-v2.shutdown.test.d.ts +2 -0
  284. package/dist/team/__tests__/runtime-v2.shutdown.test.d.ts.map +1 -0
  285. package/dist/team/__tests__/runtime-v2.shutdown.test.js +292 -0
  286. package/dist/team/__tests__/runtime-v2.shutdown.test.js.map +1 -0
  287. package/dist/team/__tests__/scaling-launch-config.test.js +204 -4
  288. package/dist/team/__tests__/scaling-launch-config.test.js.map +1 -1
  289. package/dist/team/__tests__/stage-router.test.js +29 -1
  290. package/dist/team/__tests__/stage-router.test.js.map +1 -1
  291. package/dist/team/__tests__/team-summary-worktree.test.d.ts +2 -0
  292. package/dist/team/__tests__/team-summary-worktree.test.d.ts.map +1 -0
  293. package/dist/team/__tests__/team-summary-worktree.test.js +85 -0
  294. package/dist/team/__tests__/team-summary-worktree.test.js.map +1 -0
  295. package/dist/team/__tests__/tmux-session-liveness.test.d.ts +2 -0
  296. package/dist/team/__tests__/tmux-session-liveness.test.d.ts.map +1 -0
  297. package/dist/team/__tests__/tmux-session-liveness.test.js +37 -0
  298. package/dist/team/__tests__/tmux-session-liveness.test.js.map +1 -0
  299. package/dist/team/__tests__/worker-bootstrap.test.js +47 -1
  300. package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
  301. package/dist/team/__tests__/worktree-contract-fields.test.d.ts +2 -0
  302. package/dist/team/__tests__/worktree-contract-fields.test.d.ts.map +1 -0
  303. package/dist/team/__tests__/worktree-contract-fields.test.js +157 -0
  304. package/dist/team/__tests__/worktree-contract-fields.test.js.map +1 -0
  305. package/dist/team/api-interop.d.ts +2 -1
  306. package/dist/team/api-interop.d.ts.map +1 -1
  307. package/dist/team/api-interop.js +121 -14
  308. package/dist/team/api-interop.js.map +1 -1
  309. package/dist/team/capabilities.d.ts.map +1 -1
  310. package/dist/team/capabilities.js +2 -0
  311. package/dist/team/capabilities.js.map +1 -1
  312. package/dist/team/cli-worker-contract.d.ts +7 -6
  313. package/dist/team/cli-worker-contract.d.ts.map +1 -1
  314. package/dist/team/cli-worker-contract.js +7 -6
  315. package/dist/team/cli-worker-contract.js.map +1 -1
  316. package/dist/team/events.d.ts +3 -0
  317. package/dist/team/events.d.ts.map +1 -1
  318. package/dist/team/events.js +2 -1
  319. package/dist/team/events.js.map +1 -1
  320. package/dist/team/git-worktree.d.ts +78 -10
  321. package/dist/team/git-worktree.d.ts.map +1 -1
  322. package/dist/team/git-worktree.js +453 -97
  323. package/dist/team/git-worktree.js.map +1 -1
  324. package/dist/team/governance.d.ts +3 -2
  325. package/dist/team/governance.d.ts.map +1 -1
  326. package/dist/team/governance.js.map +1 -1
  327. package/dist/team/model-contract.d.ts +18 -2
  328. package/dist/team/model-contract.d.ts.map +1 -1
  329. package/dist/team/model-contract.js +55 -27
  330. package/dist/team/model-contract.js.map +1 -1
  331. package/dist/team/monitor.d.ts.map +1 -1
  332. package/dist/team/monitor.js +47 -3
  333. package/dist/team/monitor.js.map +1 -1
  334. package/dist/team/runtime-v2.d.ts +9 -0
  335. package/dist/team/runtime-v2.d.ts.map +1 -1
  336. package/dist/team/runtime-v2.js +347 -120
  337. package/dist/team/runtime-v2.js.map +1 -1
  338. package/dist/team/runtime.d.ts.map +1 -1
  339. package/dist/team/runtime.js +4 -1
  340. package/dist/team/runtime.js.map +1 -1
  341. package/dist/team/scaling.d.ts.map +1 -1
  342. package/dist/team/scaling.js +110 -13
  343. package/dist/team/scaling.js.map +1 -1
  344. package/dist/team/state/tasks.d.ts.map +1 -1
  345. package/dist/team/state/tasks.js +1 -0
  346. package/dist/team/state/tasks.js.map +1 -1
  347. package/dist/team/team-ops.d.ts.map +1 -1
  348. package/dist/team/team-ops.js +112 -16
  349. package/dist/team/team-ops.js.map +1 -1
  350. package/dist/team/tmux-session.d.ts +17 -29
  351. package/dist/team/tmux-session.d.ts.map +1 -1
  352. package/dist/team/tmux-session.js +116 -107
  353. package/dist/team/tmux-session.js.map +1 -1
  354. package/dist/team/types.d.ts +31 -17
  355. package/dist/team/types.d.ts.map +1 -1
  356. package/dist/team/types.js.map +1 -1
  357. package/dist/team/worker-bootstrap.d.ts +7 -0
  358. package/dist/team/worker-bootstrap.d.ts.map +1 -1
  359. package/dist/team/worker-bootstrap.js +27 -13
  360. package/dist/team/worker-bootstrap.js.map +1 -1
  361. package/dist/team/worker-canonicalization.d.ts.map +1 -1
  362. package/dist/team/worker-canonicalization.js +2 -0
  363. package/dist/team/worker-canonicalization.js.map +1 -1
  364. package/dist/utils/frontmatter.d.ts.map +1 -1
  365. package/dist/utils/frontmatter.js +1 -16
  366. package/dist/utils/frontmatter.js.map +1 -1
  367. package/dist/utils/omc-cli-rendering.d.ts.map +1 -1
  368. package/dist/utils/omc-cli-rendering.js +1 -12
  369. package/dist/utils/omc-cli-rendering.js.map +1 -1
  370. package/dist/utils/resolve-node.d.ts.map +1 -1
  371. package/dist/utils/resolve-node.js +22 -28
  372. package/dist/utils/resolve-node.js.map +1 -1
  373. package/docs/MIGRATION.md +1003 -0
  374. package/docs/REFERENCE.md +4 -0
  375. package/docs/TEAM-WORKTREE-MODE.md +86 -0
  376. package/docs/copilot-instructions.md +1 -1
  377. package/docs/reference/compatibility.md +1 -1
  378. package/hooks/hooks.json +34 -13
  379. package/package.json +1 -1
  380. package/scripts/cleanup-orphans.mjs +24 -3
  381. package/scripts/context-safety.mjs +10 -11
  382. package/scripts/keyword-detector.debug.mjs +2 -2
  383. package/scripts/keyword-detector.mjs +219 -57
  384. package/scripts/lib/state-root.cjs +1 -1
  385. package/scripts/lib/state-root.mjs +3 -3
  386. package/scripts/persistent-mode.cjs +30 -4
  387. package/scripts/persistent-mode.mjs +28 -2
  388. package/scripts/plugin-setup.mjs +8 -7
  389. package/scripts/post-tool-rules-injector.mjs +1 -1
  390. package/scripts/post-tool-verifier.mjs +55 -3
  391. package/scripts/pre-tool-enforcer.mjs +9 -21
  392. package/scripts/project-memory-session.mjs +1 -1
  393. package/scripts/run.cjs +9 -9
  394. package/scripts/safe-command-approver.mjs +156 -0
  395. package/scripts/session-start.mjs +91 -11
  396. package/scripts/setup-copilot-instructions.sh +5 -4
  397. package/scripts/skill-injector.mjs +60 -23
  398. package/scripts/test-pr25.sh +1 -1
  399. package/scripts/uninstall.sh +1 -1
  400. package/scripts/verify-deliverables.mjs +1 -1
  401. package/skills/deep-interview/SKILL.md +23 -10
  402. package/skills/learner/SKILL.md +1 -1
  403. package/skills/project-session-manager/lib/config.sh +1 -1
  404. package/skills/project-session-manager/lib/parse.sh +1 -1
  405. package/skills/project-session-manager/lib/providers/azure-devops.sh +1 -1
  406. package/skills/project-session-manager/lib/providers/bitbucket.sh +1 -1
  407. package/skills/project-session-manager/lib/providers/gitea.sh +1 -1
  408. package/skills/project-session-manager/lib/providers/github.sh +1 -1
  409. package/skills/project-session-manager/lib/providers/gitlab.sh +1 -1
  410. package/skills/project-session-manager/lib/providers/interface.sh +1 -1
  411. package/skills/project-session-manager/lib/providers/jira.sh +1 -1
  412. package/skills/project-session-manager/lib/session.sh +1 -1
  413. package/skills/project-session-manager/lib/tmux.sh +1 -1
  414. package/skills/project-session-manager/lib/worktree.sh +1 -1
  415. package/skills/project-session-manager/psm.sh +1 -1
  416. package/skills/project-session-manager/tests/test-psm-prompt-injection.sh +1 -1
  417. package/skills/skill/SKILL.md +1 -1
  418. package/templates/hooks/keyword-detector.mjs +183 -26
  419. package/templates/hooks/persistent-mode.mjs +28 -2
  420. package/templates/hooks/session-start.mjs +126 -11
@@ -10,7 +10,7 @@
10
10
  {
11
11
  "name": "oh-my-copilot",
12
12
  "description": "Copilot CLI native multi-agent orchestration with intelligent model routing, 18 agent variants, and 32 powerful skills. Zero learning curve. Maximum power.",
13
- "version": "4.13.0",
13
+ "version": "4.13.2",
14
14
  "author": {
15
15
  "name": "Robin Norberg",
16
16
  "email": "github@platypus.se"
@@ -27,5 +27,5 @@
27
27
  ]
28
28
  }
29
29
  ],
30
- "version": "4.13.0"
30
+ "version": "4.13.2"
31
31
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-copilot",
3
- "version": "4.13.0",
3
+ "version": "4.13.2",
4
4
  "description": "Multi-agent orchestration system for Copilot CLI",
5
5
  "author": {
6
6
  "name": "Robin Norberg and oh-my-copilot contributors"
package/README.md CHANGED
@@ -44,7 +44,7 @@ npm i -g oh-my-copilot@latest
44
44
  # or
45
45
  autopilot: build a todo-app
46
46
 
47
- # If you enjoy the output, give the repo att ⭐ and tell a friend
47
+ # If you enjoy the output, give the repo att ⭐ and tell a friend
48
48
  ```
49
49
 
50
50
  ### Not Sure Where to Start?
@@ -146,7 +146,7 @@ Optional shortcuts for power users. Natural language works fine without them.
146
146
  ```
147
147
 
148
148
  ### CCCG
149
- **C3g** uses multi-model advisor synthesis — fans out via `ask-claude` + `ask-codex` + `ask-gemini`, then Copilot synthesizes the results:
149
+ **CCCG** uses multi-model advisor synthesis — fans out via `ask-copilot` + `ask-claude` + `ask-codex` + `ask-gemini`, then Copilot synthesizes the results:
150
150
 
151
151
  ```bash
152
152
  /cccg "review this branch — architecture, security, and UI components"
@@ -47,7 +47,8 @@ disallowedTools: Write, Edit
47
47
  </Tool_Usage>
48
48
 
49
49
  <Execution_Policy>
50
- - Default effort: high (thorough gap analysis).
50
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
51
+ - Behavioral effort guidance: high (thorough gap analysis).
51
52
  - Stop when all requirement categories have been evaluated and findings are prioritized.
52
53
  </Execution_Policy>
53
54
 
@@ -60,7 +60,8 @@ disallowedTools: Write, Edit
60
60
  </Tool_Usage>
61
61
 
62
62
  <Execution_Policy>
63
- - Default effort: high (thorough analysis with evidence).
63
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
64
+ - Behavioral effort guidance: high (thorough analysis with evidence).
64
65
  - Stop when diagnosis is complete and all recommendations have file:line references.
65
66
  - For obvious bugs (typo, missing import): skip to recommendation with verification.
66
67
  </Execution_Policy>
@@ -68,7 +68,8 @@ disallowedTools: Write, Edit
68
68
  </Tool_Usage>
69
69
 
70
70
  <Execution_Policy>
71
- - Default effort: high (thorough two-stage review).
71
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
72
+ - Behavioral effort guidance: high (thorough two-stage review).
72
73
  - For trivial changes: brief quality check only.
73
74
  - Stop when verdict is clear and all issues are documented with severity and fix suggestions.
74
75
  </Execution_Policy>
@@ -170,7 +170,8 @@ disallowedTools: Write, Edit
170
170
  </Tool_Usage>
171
171
 
172
172
  <Execution_Policy>
173
- - Default effort: maximum. This is thorough review. Leave no stone unturned.
173
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
174
+ - Behavioral effort guidance: maximum. This is thorough review. Leave no stone unturned.
174
175
  - Do NOT stop at the first few findings. Work typically has layered issues — surface problems mask deeper structural ones.
175
176
  - Time-box per-finding verification but DO NOT skip verification entirely.
176
177
  - If the work is genuinely excellent and you cannot find significant issues after thorough investigation, say so clearly — a clean bill of health from you carries real signal.
@@ -70,7 +70,8 @@ model: sonnet
70
70
  </Tool_Usage>
71
71
 
72
72
  <Execution_Policy>
73
- - Default effort: medium (systematic investigation).
73
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
74
+ - Behavioral effort guidance: medium (systematic investigation).
74
75
  - Stop when root cause is identified with evidence and minimal fix is recommended.
75
76
  - For build errors: stop when build command exits 0 and no new errors exist.
76
77
  - Escalate after 3 failed hypotheses (do not keep trying variations of the same approach).
@@ -54,7 +54,8 @@ model: sonnet
54
54
  </Tool_Usage>
55
55
 
56
56
  <Execution_Policy>
57
- - Default effort: high (visual quality is non-negotiable).
57
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
58
+ - Behavioral effort guidance: high (visual quality is non-negotiable).
58
59
  - Match implementation complexity to aesthetic vision: maximalist = elaborate code, minimalist = precise restraint.
59
60
  - Stop when the UI is functional, visually intentional, and verified.
60
61
  </Execution_Policy>
@@ -130,7 +130,8 @@ disallowedTools: Write, Edit
130
130
  </Tool_Usage>
131
131
 
132
132
  <Execution_Policy>
133
- - Default effort: maximum. This is the last gate before code reaches the remote.
133
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
134
+ - Behavioral effort guidance: maximum. This is the last gate before code reaches the remote.
134
135
  - Review ALL changed files, not just the largest ones.
135
136
  - Read surrounding context, not just the diff lines.
136
137
  - Check both the happy path AND error paths.
@@ -50,7 +50,8 @@ disallowedTools: Write, Edit
50
50
  </Tool_Usage>
51
51
 
52
52
  <Execution_Policy>
53
- - Default effort: medium (find the answer, cite the source).
53
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
54
+ - Behavioral effort guidance: medium (find the answer, cite the source).
54
55
  - Quick lookups (haiku tier): 1-2 searches, direct answer with one source URL.
55
56
  - Comprehensive research (sonnet tier): multiple sources, synthesis, conflict resolution.
56
57
  - Stop when the question is answered with cited sources.
@@ -69,7 +69,8 @@ model: sonnet
69
69
  </Tool_Usage>
70
70
 
71
71
  <Execution_Policy>
72
- - Default effort: match complexity to task classification.
72
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
73
+ - Behavioral effort guidance: match complexity to task classification.
73
74
  - Trivial tasks: skip extensive exploration, verify only modified file.
74
75
  - Scoped tasks: targeted exploration, verify modified files + run relevant tests.
75
76
  - Complex tasks: full exploration, full verification suite, document decisions in remember tags.
@@ -63,7 +63,8 @@ disallowedTools: Write, Edit
63
63
  </Tool_Usage>
64
64
 
65
65
  <Execution_Policy>
66
- - Default effort: medium (3-5 parallel searches from different angles).
66
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
67
+ - Behavioral effort guidance: medium (3-5 parallel searches from different angles).
67
68
  - Quick lookups: 1-2 targeted searches.
68
69
  - Thorough investigations: 5-10 searches including alternative naming conventions and related files.
69
70
  - Stop when you have enough information for the caller to proceed without follow-up questions.
@@ -49,7 +49,8 @@ model: sonnet
49
49
  </Tool_Usage>
50
50
 
51
51
  <Execution_Policy>
52
- - Default effort: medium (atomic commits with style matching).
52
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
53
+ - Behavioral effort guidance: medium (atomic commits with style matching).
53
54
  - Stop when all commits are created and verified with git log output.
54
55
  </Execution_Policy>
55
56
 
@@ -68,7 +68,8 @@ model: opus
68
68
  </Tool_Usage>
69
69
 
70
70
  <Execution_Policy>
71
- - Default effort: medium (focused interview, concise plan).
71
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
72
+ - Behavioral effort guidance: medium (focused interview, concise plan).
72
73
  - Stop when the plan is actionable and user-confirmed.
73
74
  - Interview phase is the default state. Plan generation only on explicit request.
74
75
  </Execution_Policy>
@@ -47,7 +47,8 @@ model: sonnet
47
47
  </Tool_Usage>
48
48
 
49
49
  <Execution_Policy>
50
- - Default effort: medium (happy path + key error paths).
50
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
51
+ - Behavioral effort guidance: medium (happy path + key error paths).
51
52
  - Comprehensive (opus tier): happy path + edge cases + security + performance + concurrent access.
52
53
  - Stop when all test cases are executed and results are documented.
53
54
  </Execution_Policy>
@@ -49,7 +49,8 @@ disallowedTools: Write, Edit
49
49
  </Tool_Usage>
50
50
 
51
51
  <Execution_Policy>
52
- - Default effort: medium (thorough analysis proportional to data complexity).
52
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
53
+ - Behavioral effort guidance: medium (thorough analysis proportional to data complexity).
53
54
  - Quick inspections (haiku tier): .head(), .describe(), value_counts. Speed over depth.
54
55
  - Deep analysis (sonnet tier): multi-step analysis, statistical testing, visualization, full report.
55
56
  - Stop when findings answer the objective and evidence is documented.
@@ -62,7 +62,8 @@ disallowedTools: Write, Edit
62
62
  </Tool_Usage>
63
63
 
64
64
  <Execution_Policy>
65
- - Default effort: high (thorough OWASP analysis).
65
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
66
+ - Behavioral effort guidance: high (thorough OWASP analysis).
66
67
  - Stop when all applicable OWASP categories are evaluated and findings are prioritized.
67
68
  - Always review when: new API endpoints, auth code changes, user input handling, DB queries, file uploads, payment code, dependency updates.
68
69
  </Execution_Policy>
@@ -77,7 +77,8 @@ model: sonnet
77
77
  </Tool_Usage>
78
78
 
79
79
  <Execution_Policy>
80
- - Default effort: medium (practical tests that cover important paths).
80
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
81
+ - Behavioral effort guidance: medium (practical tests that cover important paths).
81
82
  - Stop when tests pass, cover the requested scope, and fresh test output is shown.
82
83
  </Execution_Policy>
83
84
 
@@ -47,7 +47,8 @@ model: sonnet
47
47
  </Tool_Usage>
48
48
 
49
49
  <Execution_Policy>
50
- - Default effort: high (thorough evidence-based verification).
50
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
51
+ - Behavioral effort guidance: high (thorough evidence-based verification).
51
52
  - Stop when verdict is clear with evidence for every acceptance criterion.
52
53
  </Execution_Policy>
53
54
 
@@ -50,7 +50,8 @@ model: haiku
50
50
  </Tool_Usage>
51
51
 
52
52
  <Execution_Policy>
53
- - Default effort: low (concise, accurate documentation).
53
+ - Runtime effort inherits from the parent Copilot CLI session; no bundled agent frontmatter pins an effort override.
54
+ - Behavioral effort guidance: low (concise, accurate documentation).
54
55
  - Stop when documentation is complete, accurate, and verified.
55
56
  </Execution_Policy>
56
57