@askexenow/exe-os 0.9.367 → 0.9.368

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 (344) hide show
  1. package/deploy/compose/.env.askexe-control-plane.example +3 -1
  2. package/deploy/compose/.env.customer.example +6 -2
  3. package/deploy/compose/.env.example +8 -2
  4. package/deploy/compose/docker-compose.yml +21 -2
  5. package/deploy/compose/generate-env.ts +21 -1
  6. package/dist/.dist-verified.json +3 -3
  7. package/dist/{active-agent-V3CUDNED.js → active-agent-6WNC756A.js} +3 -3
  8. package/dist/{active-agent-R6Q7UEUD.js → active-agent-RDTJGZHP.js} +3 -3
  9. package/dist/{agent-defs-generator-MLPRGY75.js → agent-defs-generator-M5AUL3WM.js} +2 -2
  10. package/dist/{agentic-ontology-5FMQWGDZ.js → agentic-ontology-ZJBRYETW.js} +1 -1
  11. package/dist/{backfill-metadata-YXUMCKRV.js → backfill-metadata-Q4X23XLR.js} +5 -5
  12. package/dist/{backup-verify-GYHKAX7K.js → backup-verify-UKLX6IEK.js} +1 -1
  13. package/dist/behavior-injection-C3HEKSJY.js +60 -0
  14. package/dist/{behaviors-O6HKTSOF.js → behaviors-UCMAREU3.js} +8 -6
  15. package/dist/bin/agentic-ontology-backfill.js +6 -6
  16. package/dist/bin/agentic-reflection-backfill.js +7 -7
  17. package/dist/bin/agentic-semantic-label.js +6 -6
  18. package/dist/bin/backfill-conversations.js +5 -5
  19. package/dist/bin/backfill-responses.js +5 -5
  20. package/dist/bin/backfill-vectors.js +6 -6
  21. package/dist/bin/bulk-sync-postgres.js +10 -10
  22. package/dist/bin/cc-doctor.js +4 -4
  23. package/dist/bin/cleanup-stale-review-tasks.js +14 -14
  24. package/dist/bin/cli.js +20 -20
  25. package/dist/bin/deferred-daemon-restart.js +83 -81
  26. package/dist/bin/exe-agent-config.js +2 -2
  27. package/dist/bin/exe-agent.js +11 -11
  28. package/dist/bin/exe-assign.js +6 -6
  29. package/dist/bin/exe-boot.js +30 -30
  30. package/dist/bin/exe-call.js +4 -4
  31. package/dist/bin/exe-cloud.js +11 -11
  32. package/dist/bin/exe-config-dump.js +2 -2
  33. package/dist/bin/exe-dispatch.js +15 -15
  34. package/dist/bin/exe-doctor.js +5 -5
  35. package/dist/bin/exe-export-behaviors.js +10 -8
  36. package/dist/bin/exe-forget.js +7 -7
  37. package/dist/bin/exe-gateway.js +7 -7
  38. package/dist/bin/exe-healthcheck.js +4 -4
  39. package/dist/bin/exe-heartbeat.js +17 -17
  40. package/dist/bin/exe-kill.js +18 -18
  41. package/dist/bin/exe-launch-agent.js +24 -23
  42. package/dist/bin/exe-mcp.js +3 -3
  43. package/dist/bin/exe-memory-reads.js +5 -5
  44. package/dist/bin/exe-new-employee.js +8 -8
  45. package/dist/bin/exe-os-mcp-proxy.js +3 -3
  46. package/dist/bin/exe-pending-messages.js +15 -15
  47. package/dist/bin/exe-pending-notifications.js +14 -14
  48. package/dist/bin/exe-pending-reviews.js +14 -14
  49. package/dist/bin/exe-rename.js +4 -4
  50. package/dist/bin/exe-review.js +17 -17
  51. package/dist/bin/exe-search.js +6 -6
  52. package/dist/bin/exe-session-cleanup.js +19 -18
  53. package/dist/bin/exe-settings.js +10 -10
  54. package/dist/bin/exe-start-codex.js +73 -19
  55. package/dist/bin/exe-start-opencode.js +11 -9
  56. package/dist/bin/exe-status.js +16 -16
  57. package/dist/bin/exe-support.js +3 -3
  58. package/dist/bin/exe-team.js +4 -4
  59. package/dist/bin/exe-verify-running-images.js +123 -4
  60. package/dist/bin/exe-watchdog.js +44 -3
  61. package/dist/bin/git-sweep.js +16 -15
  62. package/dist/bin/graph-backfill.js +7 -7
  63. package/dist/bin/graph-export.js +6 -6
  64. package/dist/bin/import-history.js +10 -10
  65. package/dist/bin/install.js +85 -83
  66. package/dist/bin/intercom-check.js +4 -4
  67. package/dist/bin/mcp-sessions.js +2 -2
  68. package/dist/bin/orchestration-metrics.js +4 -4
  69. package/dist/bin/postgres-agentic-reflection-backfill.js +4 -4
  70. package/dist/bin/postgres-agentic-semantic-backfill.js +4 -4
  71. package/dist/bin/reconcile-backlog.js +47 -6
  72. package/dist/bin/registry-proxy.js +1 -1
  73. package/dist/bin/scan-tasks.js +14 -14
  74. package/dist/bin/setup.js +1 -1
  75. package/dist/bin/shard-migrate.js +5 -5
  76. package/dist/bin/stack-update.js +6 -5
  77. package/dist/bin/verify-stack.js +6 -1
  78. package/dist/bin/vps-health-gate.js +1 -1
  79. package/dist/{boot-generation-EZ2Y74IG.js → boot-generation-7H7Y4KC2.js} +3 -3
  80. package/dist/{boot-review-sections-7CNQTAYR.js → boot-review-sections-4AGCECCP.js} +13 -13
  81. package/dist/build-manifest.json +808 -773
  82. package/dist/{capability-cards-ZTFMK4VJ.js → capability-cards-6KAC5D2Z.js} +2 -2
  83. package/dist/{capacity-monitor-B2XU4YHP.js → capacity-monitor-J2Y4SFLA.js} +15 -15
  84. package/dist/{catchup-brief-3BEOL7EV.js → catchup-brief-F2HKF2CU.js} +18 -18
  85. package/dist/{chunk-PR3AHVFW.js → chunk-2AS6FG6C.js} +3 -3
  86. package/dist/{chunk-WCDIDSLR.js → chunk-2UBMXN4D.js} +2 -2
  87. package/dist/{chunk-267QB6VB.js → chunk-2UGU3V63.js} +1 -1
  88. package/dist/{chunk-PQ6NRLKL.js → chunk-34BMZTWV.js} +1 -1
  89. package/dist/{chunk-XA4EU3CW.js → chunk-4DGIOK6T.js} +1 -1
  90. package/dist/{chunk-JJRZE2LD.js → chunk-4GVJIMMK.js} +12 -6
  91. package/dist/{chunk-2IZH6W73.js → chunk-4L732DE5.js} +3 -3
  92. package/dist/{chunk-ZSHLY5BS.js → chunk-4RRMZJLG.js} +1 -1
  93. package/dist/{chunk-MQ3N4KZY.js → chunk-5IVLOOJR.js} +1 -1
  94. package/dist/{chunk-PFR6EOUY.js → chunk-5YKNEL3W.js} +2 -2
  95. package/dist/{chunk-AE3PYLLS.js → chunk-6EXOW5ZA.js} +9 -9
  96. package/dist/{chunk-CTPG4KYZ.js → chunk-6P7DVFKA.js} +1 -1
  97. package/dist/{chunk-F3PIHVVY.js → chunk-6UZ3DEQI.js} +1 -1
  98. package/dist/{chunk-URHJDUWO.js → chunk-72JZQ7EV.js} +1 -1
  99. package/dist/{chunk-66BFQOWR.js → chunk-72QUZX6J.js} +4 -4
  100. package/dist/{chunk-JOKKIFRN.js → chunk-AAL6CDMQ.js} +7 -7
  101. package/dist/{chunk-FSIAGX55.js → chunk-AJGX4Z34.js} +1 -1
  102. package/dist/{chunk-OADOH45L.js → chunk-BEPO36MW.js} +3 -3
  103. package/dist/{chunk-UI3K73LD.js → chunk-BFL3UB77.js} +1 -1
  104. package/dist/{chunk-KDD26FUY.js → chunk-BFPQXPN3.js} +1 -1
  105. package/dist/{chunk-7W5LCREK.js → chunk-BJKC6ZJU.js} +40 -84
  106. package/dist/{chunk-OPS7KUFV.js → chunk-BLNSUBP3.js} +3 -3
  107. package/dist/{chunk-5CH6XKVC.js → chunk-BNDHQGOY.js} +1 -1
  108. package/dist/{chunk-Z5Z3MYUW.js → chunk-BPQWRR4H.js} +2 -2
  109. package/dist/{chunk-YA4PM3MV.js → chunk-BTGR55GX.js} +3 -3
  110. package/dist/{chunk-WYVBWDFY.js → chunk-C4IJ5IS5.js} +1 -1
  111. package/dist/{chunk-XVRQZCTS.js → chunk-C5FOA5GO.js} +14 -3
  112. package/dist/{chunk-XKFMNAJ7.js → chunk-CSBD7QLZ.js} +1 -1
  113. package/dist/{chunk-BY3V5CLX.js → chunk-CU2OUUSV.js} +25 -5
  114. package/dist/{chunk-Y4JVM3SI.js → chunk-CXHRNESJ.js} +1 -1
  115. package/dist/{chunk-SFKIZYKK.js → chunk-DRMGPZSC.js} +2 -2
  116. package/dist/{chunk-PFOJX6CR.js → chunk-DYPKSVB7.js} +5 -5
  117. package/dist/{chunk-PS4NA7PM.js → chunk-EDB3LXBQ.js} +268 -166
  118. package/dist/{chunk-TCR7NBHD.js → chunk-EDRXCUEP.js} +4 -4
  119. package/dist/{chunk-BQYQES2Z.js → chunk-ELY5WBZX.js} +10 -10
  120. package/dist/{chunk-ALYI3P5D.js → chunk-EZUSIF66.js} +1 -1
  121. package/dist/{chunk-CYNL3ZFD.js → chunk-FHYX64H3.js} +3 -3
  122. package/dist/{chunk-PWCZFIQH.js → chunk-FSALI4B7.js} +4 -4
  123. package/dist/{chunk-4DJDC4Y2.js → chunk-FWKTZURC.js} +4 -4
  124. package/dist/{chunk-53LCVVX5.js → chunk-FWVPGXHD.js} +5 -5
  125. package/dist/{chunk-O3F5P6Z5.js → chunk-GILYOIMP.js} +2 -2
  126. package/dist/{chunk-NPND34FS.js → chunk-GP3J3AOT.js} +4 -4
  127. package/dist/{chunk-6NJURKRG.js → chunk-H6J7N3BZ.js} +1 -1
  128. package/dist/{chunk-WSLFGJBA.js → chunk-HQSUXAB4.js} +1 -1
  129. package/dist/{chunk-XTEKGO44.js → chunk-HTLJHSN4.js} +1 -1
  130. package/dist/{chunk-AEVE654G.js → chunk-HXV3DGL7.js} +1 -1
  131. package/dist/{chunk-LW5WRSDD.js → chunk-IEE6X6R2.js} +1 -1
  132. package/dist/{chunk-V3ISR2QT.js → chunk-IKRIUEIF.js} +1 -1
  133. package/dist/{chunk-52CFP2AV.js → chunk-J44774XC.js} +1 -1
  134. package/dist/{chunk-TJSTWACD.js → chunk-J77ZIMH5.js} +5 -5
  135. package/dist/{chunk-Y7OK5PJE.js → chunk-JDPV7W2L.js} +1 -1
  136. package/dist/{chunk-7W6FDHHY.js → chunk-KGPWS4KE.js} +1 -1
  137. package/dist/{chunk-XAMLDTRA.js → chunk-KWQ7RHYD.js} +4 -4
  138. package/dist/{chunk-IIVFXD6P.js → chunk-KYVIV54Y.js} +1 -1
  139. package/dist/chunk-KZXMP6JG.js +319 -0
  140. package/dist/{chunk-ZZ3JQM5I.js → chunk-LJWCK2DR.js} +9 -9
  141. package/dist/{chunk-WBKIU6UJ.js → chunk-MCXYNYZI.js} +30 -2
  142. package/dist/{chunk-L2VZBPJJ.js → chunk-MWEIBVBS.js} +13 -1
  143. package/dist/{chunk-GUOMZ3JM.js → chunk-MXP27XTP.js} +2 -2
  144. package/dist/{chunk-EDZ5URGR.js → chunk-N3CGSO3S.js} +1 -1
  145. package/dist/{chunk-QWDZNQXA.js → chunk-NNXPIJRB.js} +1 -1
  146. package/dist/{chunk-OISZ2I4X.js → chunk-NWE3CFX7.js} +4 -4
  147. package/dist/{chunk-HSBKV5LB.js → chunk-OBESOWFJ.js} +3 -3
  148. package/dist/{chunk-XKZD5FGK.js → chunk-OL3QP3AU.js} +116 -1
  149. package/dist/{chunk-6MCUXRIP.js → chunk-P3PAD6AA.js} +1 -1
  150. package/dist/{chunk-N3JLNMPF.js → chunk-PGF5I7EV.js} +2 -2
  151. package/dist/{chunk-CX4MVEM3.js → chunk-PVWM2WMM.js} +1 -1
  152. package/dist/{chunk-JFOZHVNO.js → chunk-QCSAYYL6.js} +1 -1
  153. package/dist/{chunk-J6VQ7HYV.js → chunk-QE5KWKVU.js} +27 -6
  154. package/dist/{chunk-4WOOCTON.js → chunk-QKZEUCTS.js} +2 -2
  155. package/dist/{chunk-P5XER5QY.js → chunk-QT6CNCXO.js} +3 -3
  156. package/dist/{chunk-P76VYS6V.js → chunk-QZYYCPNL.js} +1 -1
  157. package/dist/{chunk-DTTISDTI.js → chunk-RDIZSXXD.js} +1 -1
  158. package/dist/{chunk-R4AROSYI.js → chunk-RFWOXKVL.js} +10 -179
  159. package/dist/chunk-S2YTU74T.js +76 -0
  160. package/dist/{chunk-K2OFS57E.js → chunk-TP7BFVQP.js} +2 -2
  161. package/dist/{chunk-LIZ3QQGK.js → chunk-TTJWPV4G.js} +1 -1
  162. package/dist/{chunk-XUGOVOID.js → chunk-UATT6BNO.js} +3 -3
  163. package/dist/{chunk-ALKYXAMB.js → chunk-UVM5ZXO2.js} +4 -4
  164. package/dist/{chunk-R3H3WW7H.js → chunk-V7E37GE3.js} +2 -2
  165. package/dist/{chunk-XSXZVKJ7.js → chunk-VD3CVNGB.js} +3 -3
  166. package/dist/{chunk-CKKLSY7B.js → chunk-VIW62NN5.js} +1 -1
  167. package/dist/{chunk-VY3QUSWS.js → chunk-VTOO5UB3.js} +9 -9
  168. package/dist/chunk-W5MCOZTW.js +304 -0
  169. package/dist/{chunk-TZFOWWPM.js → chunk-WJOJWRN5.js} +139 -33
  170. package/dist/{chunk-PS6VPW64.js → chunk-X4MRVNR3.js} +1 -1
  171. package/dist/{chunk-YYLVHUYZ.js → chunk-XBTQPQN7.js} +1 -1
  172. package/dist/{behavior-injection-7VGYY2KO.js → chunk-XOTDAKJL.js} +24 -38
  173. package/dist/{chunk-QX33D4CH.js → chunk-Y4AYNLXU.js} +25 -25
  174. package/dist/{chunk-BTMX2D4X.js → chunk-YGPJ7VSJ.js} +48 -10
  175. package/dist/{chunk-DXCTHNEF.js → chunk-ZR3VMM3X.js} +9 -9
  176. package/dist/{chunk-MLPPG2OG.js → chunk-ZWONQU5S.js} +1 -1
  177. package/dist/{cleanup-graph-garbage-XDIX3HLN.js → cleanup-graph-garbage-FBSQI33K.js} +8 -8
  178. package/dist/{cloud-sync-command-VPYE4FIH.js → cloud-sync-command-NHGVDTLM.js} +11 -3
  179. package/dist/{cloud-sync-db-init-NSDBTFGI.js → cloud-sync-db-init-I75VOTXC.js} +1 -1
  180. package/dist/{cloud-sync-shutdown-6OUYTG4T.js → cloud-sync-shutdown-JGOFGGET.js} +2 -2
  181. package/dist/{cloud-sync-state-5DFKLWNB.js → cloud-sync-state-QF3TMMJ4.js} +3 -1
  182. package/dist/{co-activation-EAAKGGZH.js → co-activation-AE5L2SJV.js} +2 -2
  183. package/dist/{co-occurrence-OFVF55RX.js → co-occurrence-O65D4SCN.js} +6 -6
  184. package/dist/{conversation-entity-extractor-ZR5GFKAI.js → conversation-entity-extractor-LFIDTD2O.js} +4 -4
  185. package/dist/{crdt-sync-FGH4SBFW.js → crdt-sync-NRWDBRSE.js} +1 -1
  186. package/dist/{crm-webhook-PJATR2DC.js → crm-webhook-XOQGX6DV.js} +2 -2
  187. package/dist/{cto-delegation-gate-PO4LSSQ4.js → cto-delegation-gate-ZGOAXQI2.js} +13 -13
  188. package/dist/{daemon-orchestration-IJFZFQUX.js → daemon-orchestration-ZMQWYYDT.js} +18 -18
  189. package/dist/dispatch-intent-journal-VV6HMZC4.js +17 -0
  190. package/dist/{doc-graph-extractor-CAYUAM5A.js → doc-graph-extractor-6C5JBKPP.js} +6 -6
  191. package/dist/{documents-W2G477QE.js → documents-FKSQGSO4.js} +6 -6
  192. package/dist/{dreaming-FVXSIIWV.js → dreaming-IB3H6NDZ.js} +17 -17
  193. package/dist/{employee-boot-brief-OYMSHFHA.js → employee-boot-brief-5YRTUEJH.js} +24 -21
  194. package/dist/{exe-drift-67RGJOBX.js → exe-drift-CUWUYX3O.js} +3 -3
  195. package/dist/{exe-export-SGYX6XZG.js → exe-export-XWENYJNM.js} +7 -7
  196. package/dist/{exe-import-UABVA5N3.js → exe-import-OWOMRF2S.js} +7 -7
  197. package/dist/{exe-key-XNYDCVFE.js → exe-key-P356FGK5.js} +83 -81
  198. package/dist/{exe-org-XJVSU5HN.js → exe-org-UKIVF3KE.js} +8 -8
  199. package/dist/{exe-snapshot-YXOGYZUX.js → exe-snapshot-AZI2WW5Y.js} +18 -18
  200. package/dist/{fast-db-init-GDFJY5UH.js → fast-db-init-FPAPF3GB.js} +1 -1
  201. package/dist/{founder-context-KUXSNXKS.js → founder-context-QTQ6V3B5.js} +2 -2
  202. package/dist/gateway/index.js +11 -11
  203. package/dist/{git-staleness-NN6RWNLW.js → git-staleness-6ACWLV5Q.js} +2 -2
  204. package/dist/{global-procedures-XDNA3TNA.js → global-procedures-RXIKBVLZ.js} +3 -3
  205. package/dist/{graph-auto-extract-KTOR45V4.js → graph-auto-extract-Q4A4QMOF.js} +6 -6
  206. package/dist/{graph-rag-L5NV5YWD.js → graph-rag-RLRQMY54.js} +4 -4
  207. package/dist/{hook-integrity-X3YAVGUW.js → hook-integrity-3X2JRLBM.js} +1 -1
  208. package/dist/{hook-prefetch-WE4MIXBM.js → hook-prefetch-DU44UZQP.js} +14 -14
  209. package/dist/hooks/bug-report-worker.js +18 -18
  210. package/dist/hooks/codex-stop-task-finalizer.js +19 -19
  211. package/dist/hooks/commit-complete.js +20 -18
  212. package/dist/hooks/error-recall.js +8 -8
  213. package/dist/hooks/exe-heartbeat-hook.js +4 -4
  214. package/dist/hooks/ingest-worker.js +2 -2
  215. package/dist/hooks/ingest.js +11 -11
  216. package/dist/hooks/instructions-loaded.js +5 -5
  217. package/dist/hooks/manifest.json +20 -20
  218. package/dist/hooks/notification.js +5 -5
  219. package/dist/hooks/post-compact.js +4 -4
  220. package/dist/hooks/post-tool-combined.js +11 -11
  221. package/dist/hooks/pre-compact.js +17 -17
  222. package/dist/hooks/pre-tool-use.js +44 -37
  223. package/dist/hooks/prompt-submit.js +35 -31
  224. package/dist/hooks/session-end.js +21 -21
  225. package/dist/hooks/session-start.js +16 -16
  226. package/dist/hooks/stop.js +20 -20
  227. package/dist/hooks/subagent-stop.js +18 -18
  228. package/dist/hooks/summary-worker.js +22 -22
  229. package/dist/index.js +25 -25
  230. package/dist/{installer-EAAYEEEF.js → installer-B7QYQE56.js} +7 -5
  231. package/dist/{installer-UDRMFY75.js → installer-EXR25DDG.js} +5 -5
  232. package/dist/{installer-EPQAOI6M.js → installer-TOPA7673.js} +5 -5
  233. package/dist/{intercom-queue-IBOAVT2I.js → intercom-queue-BZ4M3L4S.js} +13 -13
  234. package/dist/lib/cloud-sync.js +10 -10
  235. package/dist/lib/consolidation.js +8 -8
  236. package/dist/lib/database.js +2 -2
  237. package/dist/lib/db-backup.js +1 -1
  238. package/dist/lib/db-write-worker.js +3 -3
  239. package/dist/lib/db.js +2 -2
  240. package/dist/lib/delivery-truth.js +25 -0
  241. package/dist/lib/device-registry.js +1 -1
  242. package/dist/lib/employee-templates.js +4 -4
  243. package/dist/lib/employees.js +2 -2
  244. package/dist/lib/exe-daemon.js +181 -76
  245. package/dist/lib/hybrid-search.js +6 -6
  246. package/dist/lib/identity.js +2 -2
  247. package/dist/lib/license.js +2 -2
  248. package/dist/lib/messaging.js +14 -14
  249. package/dist/lib/registry-proxy.js +1 -1
  250. package/dist/lib/reminders.js +3 -3
  251. package/dist/lib/schedules.js +6 -6
  252. package/dist/lib/session-registry.js +4 -4
  253. package/dist/lib/skill-learning.js +7 -7
  254. package/dist/lib/store.js +5 -5
  255. package/dist/lib/task-router.js +3 -3
  256. package/dist/lib/tasks.js +15 -15
  257. package/dist/lib/tmux-routing.js +13 -13
  258. package/dist/lib/token-spend.js +3 -3
  259. package/dist/{license-gate-3TTWJABL.js → license-gate-YTIOLKVV.js} +3 -3
  260. package/dist/{license-sync-ZC6TPKVV.js → license-sync-5VE5OSTV.js} +2 -2
  261. package/dist/mcp/register-tools.js +82 -80
  262. package/dist/mcp/server.js +85 -83
  263. package/dist/mcp/tools/complete-reminder.js +4 -4
  264. package/dist/mcp/tools/create-reminder.js +4 -4
  265. package/dist/mcp/tools/create-task.js +25 -23
  266. package/dist/mcp/tools/deactivate-behavior.js +8 -8
  267. package/dist/mcp/tools/list-reminders.js +4 -4
  268. package/dist/mcp/tools/list-tasks.js +17 -17
  269. package/dist/mcp/tools/send-message.js +16 -16
  270. package/dist/mcp/tools/update-task.js +16 -16
  271. package/dist/{mcp-http-config-ROF5EPEF.js → mcp-http-config-XUNRIGQH.js} +3 -3
  272. package/dist/{mcp-session-identity-ERU6FEUB.js → mcp-session-identity-4UIG7KLK.js} +13 -13
  273. package/dist/{memory-cards-3QTXI2SG.js → memory-cards-R74YU4CO.js} +5 -5
  274. package/dist/{memory-graph-extractor-7GAILMYG.js → memory-graph-extractor-3B4QJUXI.js} +7 -7
  275. package/dist/{memory-poisoning-defense-TPXSRJTQ.js → memory-poisoning-defense-OAKFL5O2.js} +2 -2
  276. package/dist/{memory-pressure-watchdog-ZSOP6T2F.js → memory-pressure-watchdog-FFC2CHFJ.js} +14 -14
  277. package/dist/{memory-reflection-3AI4JBV2.js → memory-reflection-5IJ6RE2J.js} +2 -2
  278. package/dist/{notification-ledger-ZU7ZFJJX.js → notification-ledger-P5XBUYKO.js} +14 -14
  279. package/dist/{notifications-S4GU22GF.js → notifications-LLCCHRYV.js} +13 -13
  280. package/dist/{orchestration-events-HVG56HJ5.js → orchestration-events-VBGCIQSS.js} +3 -3
  281. package/dist/{orchestrator-UW3Q3WYG.js → orchestrator-EB3SCTAJ.js} +15 -15
  282. package/dist/{org-brief-session-G36TJBN4.js → org-brief-session-GDCDKBFF.js} +6 -6
  283. package/dist/{org-consent-policy-RMYVMM3X.js → org-consent-policy-HCD42NBN.js} +2 -2
  284. package/dist/{org-partner-runtime-KXMGEYFW.js → org-partner-runtime-TPVKFR6E.js} +6 -6
  285. package/dist/{org-row-visibility-UI5PGN76.js → org-row-visibility-ZZLOPZLH.js} +1 -1
  286. package/dist/{pipeline-router-IODWXDDI.js → pipeline-router-3JTL2KF6.js} +3 -3
  287. package/dist/{plan-limits-XMAQVEJZ.js → plan-limits-MTHRP4WY.js} +5 -5
  288. package/dist/{projection-worker-6LZUCI3B.js → projection-worker-FLASNERC.js} +2 -2
  289. package/dist/{prospective-memory-G5VK5GCD.js → prospective-memory-HI3WUY4U.js} +2 -2
  290. package/dist/{push-notifications-S2RYRXLF.js → push-notifications-DFSR6P7V.js} +14 -14
  291. package/dist/{reranker-EHQTAA3L.js → reranker-XHBKUDGG.js} +1 -1
  292. package/dist/{retrieval-health-WZ4ICGNF.js → retrieval-health-NYKSDS6M.js} +1 -1
  293. package/dist/{review-polling-MAWLRDSP.js → review-polling-UAV6DZIZ.js} +14 -14
  294. package/dist/runtime/index.js +21 -21
  295. package/dist/{session-events-BRUIZ5E4.js → session-events-YCYPLWPG.js} +14 -14
  296. package/dist/{session-kill-telemetry-PTZLHT33.js → session-kill-telemetry-UEJTHL65.js} +14 -14
  297. package/dist/{session-scope-G4RVJJGR.js → session-scope-LXDW7LJJ.js} +13 -13
  298. package/dist/{setup-wizard-WFEUB63Z.js → setup-wizard-OVJQYUUL.js} +1 -1
  299. package/dist/{skill-refinement-2OYPH7WD.js → skill-refinement-EWRJID73.js} +3 -3
  300. package/dist/{stack-promote-DLYYQXQI.js → stack-promote-4IJM36OG.js} +4 -4
  301. package/dist/{stack-release-OPWARLXI.js → stack-release-BAIRY65H.js} +4 -4
  302. package/dist/{stack-update-SJ43IEQE.js → stack-update-VDM5WXRS.js} +3 -3
  303. package/dist/stalled-dispatch-escalation-MHLYH2PT.js +80 -0
  304. package/dist/{steward-gate-V7PBGVFK.js → steward-gate-Y4N2XY3R.js} +3 -3
  305. package/dist/{subagent-brief-injection-BLCRI2AJ.js → subagent-brief-injection-7A6JEVTP.js} +21 -20
  306. package/dist/{support-inbox-6HOQYFD2.js → support-inbox-LT4WJECQ.js} +4 -3
  307. package/dist/{task-enforcement-EF6O2V26.js → task-enforcement-WOIZ5TLK.js} +14 -14
  308. package/dist/{task-request-inbox-OB2KIJWO.js → task-request-inbox-D65BPUKZ.js} +2 -2
  309. package/dist/{task-scope-74JBTKJN.js → task-scope-PQ67YRWP.js} +13 -13
  310. package/dist/{tasks-crud-ZU6RZDEZ.js → tasks-crud-TJNMUKKH.js} +13 -13
  311. package/dist/{tasks-notify-767DRYAA.js → tasks-notify-7UVC3VGI.js} +14 -14
  312. package/dist/{tasks-review-4F6PZZ3B.js → tasks-review-WDWYISZ2.js} +13 -13
  313. package/dist/{telemetry-upload-2JM6KIAB.js → telemetry-upload-6LBGRJUE.js} +7 -7
  314. package/dist/{token-budget-NH2RD4YX.js → token-budget-XO5XW6DL.js} +3 -3
  315. package/dist/{tool-telemetry-CHCBD4OQ.js → tool-telemetry-ZL6TTZWG.js} +1 -1
  316. package/dist/tui/App.js +21 -21
  317. package/dist/{tui-data-244GF3BI.js → tui-data-UK7ZPKN4.js} +13 -13
  318. package/dist/{update-support-P2LO3DAB.js → update-support-BGL5KAZO.js} +12 -12
  319. package/dist/{work-claims-4QOE7DT2.js → work-claims-XZL2DKQ3.js} +3 -3
  320. package/dist/{work-state-heartbeat-GX3VWWWK.js → work-state-heartbeat-267YQ75U.js} +1 -1
  321. package/dist/{worker-gate-62PZATOV.js → worker-gate-RUM6MLIR.js} +1 -1
  322. package/dist/{workflow-engine-7YIRU62F.js → workflow-engine-YQHGHKSJ.js} +2 -2
  323. package/dist/{worktree-3TUKIZWY.js → worktree-3FO6EQ4G.js} +4 -4
  324. package/dist/{worktree-sweep-MYQHUXDE.js → worktree-sweep-X7MUEEQS.js} +5 -5
  325. package/package.json +2 -1
  326. package/release-notes.json +29 -23
  327. /package/dist/{chunk-25EN7XXN.js → chunk-4AN2PWUK.js} +0 -0
  328. /package/dist/{chunk-WM7Y5ZV2.js → chunk-5U4UJGTW.js} +0 -0
  329. /package/dist/{chunk-62U63R3E.js → chunk-EYIX6JU7.js} +0 -0
  330. /package/dist/{chunk-JLYHJJHU.js → chunk-FDA45THL.js} +0 -0
  331. /package/dist/{chunk-JZBZI36P.js → chunk-GIO4VU4J.js} +0 -0
  332. /package/dist/{chunk-BTFDA3UJ.js → chunk-I76LRCNA.js} +0 -0
  333. /package/dist/{chunk-YNPOELAN.js → chunk-LBWEAQ6Z.js} +0 -0
  334. /package/dist/{chunk-65ZSFW3O.js → chunk-MQ5RUHNZ.js} +0 -0
  335. /package/dist/{chunk-XM7HJ5SS.js → chunk-PFCE4AXQ.js} +0 -0
  336. /package/dist/{chunk-FLP2BQOA.js → chunk-SXAERZL2.js} +0 -0
  337. /package/dist/{chunk-OUIEDJFO.js → chunk-TKTQRSSD.js} +0 -0
  338. /package/dist/{chunk-DAXFAXLN.js → chunk-U2AZUMBZ.js} +0 -0
  339. /package/dist/{chunk-GTOMDMJL.js → chunk-W6FVADZS.js} +0 -0
  340. /package/dist/{core-memory-EARETDZ6.js → core-memory-W5ZHHBRR.js} +0 -0
  341. /package/dist/{memory-isolation-XASOGA7G.js → memory-isolation-ZE7EDBO4.js} +0 -0
  342. /package/dist/{oauth-server-C3BXAKAW.js → oauth-server-3HG62YYJ.js} +0 -0
  343. /package/dist/{project-boot-LCFBQ6NB.js → project-boot-3OAWKYLO.js} +0 -0
  344. /package/dist/{wiki-acl-XQH4UBP2.js → wiki-acl-FQV4E6M4.js} +0 -0
@@ -1,15 +1,19 @@
1
- import {
2
- persistSupportArtifact
3
- } from "./chunk-XA4EU3CW.js";
4
1
  import {
5
2
  exportOrchestration,
6
3
  importOrchestration,
7
4
  validatePackage
8
- } from "./chunk-SFKIZYKK.js";
5
+ } from "./chunk-DRMGPZSC.js";
9
6
  import {
10
7
  runDriftProbes
11
- } from "./chunk-6NJURKRG.js";
8
+ } from "./chunk-H6J7N3BZ.js";
9
+ import {
10
+ persistSupportArtifact
11
+ } from "./chunk-4DGIOK6T.js";
12
+ import {
13
+ queueSupportStatusUpdateSync
14
+ } from "./chunk-GSJLB6JI.js";
12
15
  import {
16
+ parseDeliveryProof,
13
17
  registerAddBugReportComment,
14
18
  registerGetBugReport,
15
19
  registerGetBugReportComments,
@@ -20,8 +24,10 @@ import {
20
24
  registerListReviews,
21
25
  registerTriageBugReport,
22
26
  registerTriageFeatureRequest,
23
- registerTriageReview
24
- } from "./chunk-TZFOWWPM.js";
27
+ registerTriageReview,
28
+ resolveVerificationArtifact,
29
+ verificationArtifactInputSchema
30
+ } from "./chunk-WJOJWRN5.js";
25
31
  import {
26
32
  supportCommitSchema,
27
33
  supportIdSchema,
@@ -30,8 +36,23 @@ import {
30
36
  supportVersionSchema
31
37
  } from "./chunk-5H47VHB7.js";
32
38
  import {
33
- queueSupportStatusUpdateSync
34
- } from "./chunk-GSJLB6JI.js";
39
+ DEFAULT_LIST_LIMIT,
40
+ MAX_IMPORTANCE,
41
+ MIN_IMPORTANCE,
42
+ deleteDocumentAndChunks,
43
+ ingestDocument,
44
+ listDocumentsByWorkspace,
45
+ updateChunksImportance
46
+ } from "./chunk-2AS6FG6C.js";
47
+ import {
48
+ analyzeBlastRadius,
49
+ buildCodeContextIndexAsync,
50
+ buildCodeContextIndexWithEmbeddingsAsync,
51
+ getCodeContextStats,
52
+ searchCodeContext,
53
+ searchCodeContextSemantic,
54
+ traceCodeSymbol
55
+ } from "./chunk-CWBFOAGM.js";
35
56
  import {
36
57
  CLAIM_TTL_MINUTES,
37
58
  acquireClaim,
@@ -42,23 +63,17 @@ import {
42
63
  normalizeTarget,
43
64
  releaseClaim,
44
65
  resolveHolderSession
45
- } from "./chunk-PFR6EOUY.js";
66
+ } from "./chunk-5YKNEL3W.js";
46
67
  import {
47
68
  StewardGate
48
- } from "./chunk-52CFP2AV.js";
69
+ } from "./chunk-J44774XC.js";
49
70
  import {
50
- DEFAULT_LIST_LIMIT,
51
- MAX_IMPORTANCE,
52
- MIN_IMPORTANCE,
53
- deleteDocumentAndChunks,
54
- ingestDocument,
55
- listDocumentsByWorkspace,
56
- updateChunksImportance
57
- } from "./chunk-PR3AHVFW.js";
71
+ DreamingEngine
72
+ } from "./chunk-UVM5ZXO2.js";
58
73
  import {
59
74
  isRerankerAvailable,
60
75
  rerankWithScores
61
- } from "./chunk-XM7HJ5SS.js";
76
+ } from "./chunk-PFCE4AXQ.js";
62
77
  import {
63
78
  getEntityByName,
64
79
  getEntityNeighbors,
@@ -67,33 +82,25 @@ import {
67
82
  getRelationships,
68
83
  searchEntities
69
84
  } from "./chunk-CRCB5S7I.js";
70
- import {
71
- analyzeBlastRadius,
72
- buildCodeContextIndexAsync,
73
- buildCodeContextIndexWithEmbeddingsAsync,
74
- getCodeContextStats,
75
- searchCodeContext,
76
- searchCodeContextSemantic,
77
- traceCodeSymbol
78
- } from "./chunk-CWBFOAGM.js";
79
85
  import {
80
86
  listRecentSessionEvents
81
- } from "./chunk-AEVE654G.js";
82
- import {
83
- DreamingEngine
84
- } from "./chunk-ALKYXAMB.js";
87
+ } from "./chunk-HXV3DGL7.js";
85
88
  import {
86
89
  AUTO_WAKE_MAX_RETRIES
87
- } from "./chunk-DXCTHNEF.js";
90
+ } from "./chunk-ZR3VMM3X.js";
88
91
  import {
89
92
  DEFAULT_EXPLORE_DURATION_MS,
90
93
  getPlayMode,
91
94
  listExploreSessions,
92
95
  setPlayMode
93
- } from "./chunk-XAMLDTRA.js";
96
+ } from "./chunk-KWQ7RHYD.js";
97
+ import {
98
+ getCachedLicenseGate,
99
+ refreshLicenseGate
100
+ } from "./chunk-5IVLOOJR.js";
94
101
  import {
95
102
  getToolUsageStats
96
- } from "./chunk-DAXFAXLN.js";
103
+ } from "./chunk-U2AZUMBZ.js";
97
104
  import {
98
105
  getToolCapabilityIndex
99
106
  } from "./chunk-6CAX7YH4.js";
@@ -102,16 +109,16 @@ import {
102
109
  isToolAllowedForPlan
103
110
  } from "./chunk-AAMGHW5W.js";
104
111
  import {
105
- getCachedLicenseGate,
106
- refreshLicenseGate
107
- } from "./chunk-MQ3N4KZY.js";
112
+ assertOrgPartnerRuntimeReady,
113
+ orgPartnerRuntimeStatus
114
+ } from "./chunk-BPQWRR4H.js";
108
115
  import {
109
116
  draftOrgUpBrief,
110
117
  listOpenDrafts,
111
118
  listSentBriefs,
112
119
  reviewOpenDraft,
113
120
  sendOpenDraft
114
- } from "./chunk-WCDIDSLR.js";
121
+ } from "./chunk-2UBMXN4D.js";
115
122
  import {
116
123
  createOrg
117
124
  } from "./chunk-P5XTVIEC.js";
@@ -128,10 +135,6 @@ import {
128
135
  loadOrchestrationPhase,
129
136
  setOrchestrationPhase
130
137
  } from "./chunk-ZZXMB5F2.js";
131
- import {
132
- assertOrgPartnerRuntimeReady,
133
- orgPartnerRuntimeStatus
134
- } from "./chunk-Z5Z3MYUW.js";
135
138
  import {
136
139
  requireOrgPartnerBinding,
137
140
  resolveOrgPartnerBindings,
@@ -147,7 +150,7 @@ import {
147
150
  } from "./chunk-A6PDF4BO.js";
148
151
  import {
149
152
  createOrRefreshResumeTask
150
- } from "./chunk-PFOJX6CR.js";
153
+ } from "./chunk-DYPKSVB7.js";
151
154
  import {
152
155
  STRUCTURED_BRIEF_TYPES,
153
156
  acceptTaskRequest,
@@ -160,7 +163,7 @@ import {
160
163
  listTaskRequests,
161
164
  setAutoAcceptPolicy,
162
165
  setAutoSendPolicy
163
- } from "./chunk-JOKKIFRN.js";
166
+ } from "./chunk-AAL6CDMQ.js";
164
167
  import {
165
168
  displayFingerprint
166
169
  } from "./chunk-MPVXHYD5.js";
@@ -169,59 +172,66 @@ import {
169
172
  listDeliveryReceipts,
170
173
  listFailureNotices
171
174
  } from "./chunk-4LWBC7CM.js";
175
+ import {
176
+ registerCreateReminder
177
+ } from "./chunk-AJGX4Z34.js";
172
178
  import {
173
179
  registerListReminders
174
- } from "./chunk-PQ6NRLKL.js";
180
+ } from "./chunk-34BMZTWV.js";
175
181
  import {
176
182
  registerCompleteReminder
177
- } from "./chunk-URHJDUWO.js";
183
+ } from "./chunk-72JZQ7EV.js";
178
184
  import {
179
185
  registerDeactivateBehavior
180
- } from "./chunk-PWCZFIQH.js";
186
+ } from "./chunk-FSALI4B7.js";
187
+ import {
188
+ completeReminder,
189
+ createReminder,
190
+ listReminders
191
+ } from "./chunk-RDIZSXXD.js";
181
192
  import {
182
193
  registerSendMessage
183
- } from "./chunk-K2OFS57E.js";
194
+ } from "./chunk-TP7BFVQP.js";
184
195
  import {
185
196
  registerCreateTask,
186
197
  resolveProjectDir
187
- } from "./chunk-7W5LCREK.js";
198
+ } from "./chunk-BJKC6ZJU.js";
188
199
  import {
189
200
  registerListTasks
190
- } from "./chunk-OPS7KUFV.js";
201
+ } from "./chunk-BLNSUBP3.js";
191
202
  import {
192
203
  registerUpdateTask
193
- } from "./chunk-66BFQOWR.js";
204
+ } from "./chunk-72QUZX6J.js";
194
205
  import {
195
- registerCreateReminder
196
- } from "./chunk-FSIAGX55.js";
197
- import {
198
- completeReminder,
199
- createReminder,
200
- listReminders
201
- } from "./chunk-DTTISDTI.js";
206
+ registerImportConversations
207
+ } from "./chunk-UATT6BNO.js";
202
208
  import {
203
209
  TOKENS_PER_IDLE_MINUTE,
204
210
  countKillsSince,
205
211
  sumTokensSavedSince
206
- } from "./chunk-YA4PM3MV.js";
207
- import {
208
- registerImportConversations
209
- } from "./chunk-XUGOVOID.js";
212
+ } from "./chunk-BTGR55GX.js";
210
213
  import {
211
214
  createSchedule,
212
215
  parseHumanCron
213
- } from "./chunk-GUOMZ3JM.js";
216
+ } from "./chunk-MXP27XTP.js";
214
217
  import {
215
218
  status
216
- } from "./chunk-NPND34FS.js";
219
+ } from "./chunk-GP3J3AOT.js";
217
220
  import {
218
221
  evaluateGlobalSpendCap,
219
222
  getAgentSpend
220
- } from "./chunk-LW5WRSDD.js";
223
+ } from "./chunk-IEE6X6R2.js";
221
224
  import {
222
225
  exportGraphHTML,
223
226
  generateGraphReport
224
227
  } from "./chunk-3OEVDGIY.js";
228
+ import {
229
+ readSupervisionState,
230
+ runHealthCheck
231
+ } from "./chunk-QZYYCPNL.js";
232
+ import {
233
+ checkCpuStealSync
234
+ } from "./chunk-SSC7EKY2.js";
225
235
  import {
226
236
  fixBloated,
227
237
  fixDuplicates,
@@ -230,23 +240,16 @@ import {
230
240
  formatReport,
231
241
  runAudit,
232
242
  shouldFixShards
233
- } from "./chunk-4DJDC4Y2.js";
243
+ } from "./chunk-FWKTZURC.js";
234
244
  import {
235
245
  formatDegradations,
236
246
  getRetrievalHealth
237
- } from "./chunk-GTOMDMJL.js";
238
- import {
239
- readSupervisionState,
240
- runHealthCheck
241
- } from "./chunk-P76VYS6V.js";
242
- import {
243
- checkCpuStealSync
244
- } from "./chunk-SSC7EKY2.js";
247
+ } from "./chunk-W6FVADZS.js";
245
248
  import {
246
249
  hasFailures,
247
250
  runHealth,
248
251
  runTest
249
- } from "./chunk-JJRZE2LD.js";
252
+ } from "./chunk-4GVJIMMK.js";
250
253
  import {
251
254
  isSupportReportSentStatus,
252
255
  markSupportReportSent
@@ -257,12 +260,12 @@ import {
257
260
  } from "./chunk-2XZ6X3PJ.js";
258
261
  import {
259
262
  renderClientCOOTemplate
260
- } from "./chunk-V3ISR2QT.js";
263
+ } from "./chunk-IKRIUEIF.js";
261
264
  import {
262
265
  deactivateGlobalProcedure,
263
266
  loadGlobalProcedures,
264
267
  storeGlobalProcedure
265
- } from "./chunk-5CH6XKVC.js";
268
+ } from "./chunk-BNDHQGOY.js";
266
269
  import {
267
270
  PLATFORM_PROCEDURES
268
271
  } from "./chunk-HHGOCBVQ.js";
@@ -271,7 +274,7 @@ import {
271
274
  cloudSync,
272
275
  getCloudReuploadRequired,
273
276
  markCloudReuploadRequired
274
- } from "./chunk-BTMX2D4X.js";
277
+ } from "./chunk-YGPJ7VSJ.js";
275
278
  import {
276
279
  orgMembershipPresent,
277
280
  readActiveOrgMemberships
@@ -282,7 +285,7 @@ import {
282
285
  import {
283
286
  findSimilarTrajectories,
284
287
  hashSignature
285
- } from "./chunk-4WOOCTON.js";
288
+ } from "./chunk-QKZEUCTS.js";
286
289
  import {
287
290
  GHOST_BEHAVIOR_SQL,
288
291
  deactivateBehavior,
@@ -291,17 +294,17 @@ import {
291
294
  reactivateBehavior,
292
295
  storeBehavior,
293
296
  storeReflexBehavior
294
- } from "./chunk-WBKIU6UJ.js";
297
+ } from "./chunk-MCXYNYZI.js";
295
298
  import {
296
299
  countUnconsolidated,
297
300
  groupMemories,
298
301
  runConsolidation,
299
302
  selectUnconsolidated
300
- } from "./chunk-CYNL3ZFD.js";
303
+ } from "./chunk-FHYX64H3.js";
301
304
  import {
302
305
  entityId,
303
306
  mergeEntities
304
- } from "./chunk-53LCVVX5.js";
307
+ } from "./chunk-FWVPGXHD.js";
305
308
  import {
306
309
  embed
307
310
  } from "./chunk-RLDMUSRM.js";
@@ -314,11 +317,11 @@ import {
314
317
  } from "./chunk-YYA5LXCT.js";
315
318
  import {
316
319
  resolveCloudSyncStatus
317
- } from "./chunk-L2VZBPJJ.js";
320
+ } from "./chunk-MWEIBVBS.js";
318
321
  import {
319
322
  hybridSearch,
320
323
  recentRecords
321
- } from "./chunk-AE3PYLLS.js";
324
+ } from "./chunk-6EXOW5ZA.js";
322
325
  import {
323
326
  buildFtsMatch,
324
327
  tokenizeForFts
@@ -328,19 +331,19 @@ import {
328
331
  flushBatch,
329
332
  initStore,
330
333
  writeMemory
331
- } from "./chunk-BQYQES2Z.js";
334
+ } from "./chunk-ELY5WBZX.js";
332
335
  import {
333
336
  updateTask
334
- } from "./chunk-ZZ3JQM5I.js";
337
+ } from "./chunk-LJWCK2DR.js";
335
338
  import {
336
339
  fastDbInit
337
- } from "./chunk-BTFDA3UJ.js";
340
+ } from "./chunk-I76LRCNA.js";
338
341
  import {
339
342
  MAX_CONCURRENT_WORKERS
340
- } from "./chunk-ALYI3P5D.js";
343
+ } from "./chunk-EZUSIF66.js";
341
344
  import {
342
345
  getActiveAgent
343
- } from "./chunk-QWDZNQXA.js";
346
+ } from "./chunk-NNXPIJRB.js";
344
347
  import {
345
348
  UPSTREAM_ATTACHMENT_MAX_CHARS,
346
349
  isTelemetryRedactionEnabled,
@@ -359,16 +362,16 @@ import {
359
362
  sessionScopeFilter,
360
363
  updateTaskStatus,
361
364
  writeCheckpoint
362
- } from "./chunk-QX33D4CH.js";
365
+ } from "./chunk-Y4AYNLXU.js";
363
366
  import {
364
367
  sanitizeSessionScope
365
368
  } from "./chunk-BTSWFMEH.js";
366
369
  import {
367
370
  listSessions
368
- } from "./chunk-XKFMNAJ7.js";
371
+ } from "./chunk-CSBD7QLZ.js";
369
372
  import {
370
373
  recordOrchestrationEventBestEffort
371
- } from "./chunk-UI3K73LD.js";
374
+ } from "./chunk-BFL3UB77.js";
372
375
  import {
373
376
  DEFAULT_MODELS,
374
377
  KNOWN_RUNTIMES,
@@ -382,7 +385,7 @@ import {
382
385
  assertEmployeeLimit,
383
386
  assertFeature,
384
387
  assertMemoryLimit
385
- } from "./chunk-N3JLNMPF.js";
388
+ } from "./chunk-PGF5I7EV.js";
386
389
  import {
387
390
  readDaemonToken
388
391
  } from "./chunk-RIECV7SR.js";
@@ -403,7 +406,7 @@ import {
403
406
  isScheduledTrigger,
404
407
  loadTriggers,
405
408
  sanitizeParam
406
- } from "./chunk-YNPOELAN.js";
409
+ } from "./chunk-LBWEAQ6Z.js";
407
410
  import {
408
411
  pushConversationToCRM
409
412
  } from "./chunk-ML4S5SHZ.js";
@@ -426,7 +429,7 @@ import {
426
429
  repairFtsTable,
427
430
  saveEmployees,
428
431
  updateIdentity
429
- } from "./chunk-HSBKV5LB.js";
432
+ } from "./chunk-OBESOWFJ.js";
430
433
  import {
431
434
  getEventLoopLagMs,
432
435
  isDaemonAlive,
@@ -450,7 +453,7 @@ import {
450
453
  refreshLicense,
451
454
  saveLicense,
452
455
  validateLicense
453
- } from "./chunk-F3PIHVVY.js";
456
+ } from "./chunk-6UZ3DEQI.js";
454
457
  import {
455
458
  PLAN_LIMITS
456
459
  } from "./chunk-A7XLR3K7.js";
@@ -637,7 +640,7 @@ function registerRecallMyMemory(server) {
637
640
  }) => {
638
641
  try {
639
642
  {
640
- const { ensureReadDbReady } = await import("./fast-db-init-GDFJY5UH.js");
643
+ const { ensureReadDbReady } = await import("./fast-db-init-FPAPF3GB.js");
641
644
  if (!await ensureReadDbReady()) {
642
645
  return {
643
646
  content: [{ type: "text", text: "No matching memories found." }]
@@ -849,7 +852,7 @@ function registerAskTeamMemory(server) {
849
852
  }, safeMode);
850
853
  if (!effectiveIncludeRaw) searchOptions.includeRaw = false;
851
854
  {
852
- const { ensureReadDbReady } = await import("./fast-db-init-GDFJY5UH.js");
855
+ const { ensureReadDbReady } = await import("./fast-db-init-FPAPF3GB.js");
853
856
  if (!await ensureReadDbReady()) {
854
857
  return {
855
858
  content: [
@@ -939,7 +942,7 @@ function registerStoreMemory(server) {
939
942
  }
940
943
  const { agentId, agentRole } = getActiveAgent();
941
944
  if (kind === "prospective") {
942
- const { createProspectiveMemory } = await import("./prospective-memory-G5VK5GCD.js");
945
+ const { createProspectiveMemory } = await import("./prospective-memory-HI3WUY4U.js");
943
946
  let sessionScope = null;
944
947
  try {
945
948
  const { resolveExeSession: resolveExeSession2 } = await import("./lib/tmux-routing.js");
@@ -1317,7 +1320,7 @@ function registerSearchEverything(server) {
1317
1320
  },
1318
1321
  async (params) => {
1319
1322
  try {
1320
- const { ensureReadDbReady } = await import("./fast-db-init-GDFJY5UH.js");
1323
+ const { ensureReadDbReady } = await import("./fast-db-init-FPAPF3GB.js");
1321
1324
  if (!await ensureReadDbReady()) {
1322
1325
  return {
1323
1326
  content: [
@@ -1939,7 +1942,7 @@ async function handleSupersede(input) {
1939
1942
  }
1940
1943
  try {
1941
1944
  const { getClient: getClient2 } = await import("./lib/database.js");
1942
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-R6Q7UEUD.js");
1945
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-RDTJGZHP.js");
1943
1946
  const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
1944
1947
  const { randomUUID: randomUUID2 } = await import("crypto");
1945
1948
  const client = getClient2();
@@ -2009,7 +2012,7 @@ New memory id: ${newId}`
2009
2012
  }
2010
2013
  async function handleResonanceQuery(input) {
2011
2014
  try {
2012
- const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-EAAKGGZH.js");
2015
+ const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-AE5L2SJV.js");
2013
2016
  const subAction = input.resonance_action ?? "hot_pairs";
2014
2017
  const limit = input.limit ?? 20;
2015
2018
  if (subAction === "hot_pairs") {
@@ -2114,7 +2117,7 @@ function registerMemory(server) {
2114
2117
  return handleResonanceQuery(input);
2115
2118
  }
2116
2119
  if (action === "update_working_memory" || action === "get_working_memory") {
2117
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-R6Q7UEUD.js");
2120
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-RDTJGZHP.js");
2118
2121
  const { agentId } = getActiveAgent2();
2119
2122
  const { readWorkingMemoryWithMeta, writeWorkingMemory, WORKING_MEMORY_MAX_BYTES } = await import("./working-memory-DPFRSKH3.js");
2120
2123
  if (action === "get_working_memory") {
@@ -2140,9 +2143,9 @@ function registerMemory(server) {
2140
2143
  }
2141
2144
  }
2142
2145
  if (action === "core_get" || action === "core_set" || action === "core_delete") {
2143
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-R6Q7UEUD.js");
2146
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-RDTJGZHP.js");
2144
2147
  const { agentId } = getActiveAgent2();
2145
- const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-EARETDZ6.js");
2148
+ const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-W5ZHHBRR.js");
2146
2149
  if (action === "core_get") {
2147
2150
  const entries = await getCoreMemory(agentId);
2148
2151
  const block = formatCoreMemoryBlock(entries);
@@ -2194,12 +2197,12 @@ function registerMemory(server) {
2194
2197
  if (!storeTrigger || !storeTriggerAction) {
2195
2198
  return errorResult('memory action "store" with kind="reflex" requires trigger and trigger_action fields');
2196
2199
  }
2197
- const { formatReflexContent, storeReflexBehavior: storeReflexBehavior2 } = await import("./behaviors-O6HKTSOF.js");
2200
+ const { formatReflexContent, storeReflexBehavior: storeReflexBehavior2 } = await import("./behaviors-UCMAREU3.js");
2198
2201
  const reflexText = formatReflexContent(storeTrigger, storeTriggerAction);
2199
2202
  legacyArgs.text ??= reflexText;
2200
2203
  legacyArgs.query ??= reflexText;
2201
2204
  try {
2202
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-R6Q7UEUD.js");
2205
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-RDTJGZHP.js");
2203
2206
  const { getProjectName: getProjectName2 } = await import("./project-name-ILJTETUE.js");
2204
2207
  const agent = getActiveAgent2();
2205
2208
  const behaviorId = await storeReflexBehavior2({
@@ -2585,8 +2588,8 @@ async function respawnAssigneeAfterClose(input) {
2585
2588
  } catch {
2586
2589
  }
2587
2590
  try {
2588
- const { cleanupAgentWorktree } = await import("./worktree-sweep-MYQHUXDE.js");
2589
- const { getGitRoot } = await import("./worktree-3TUKIZWY.js");
2591
+ const { cleanupAgentWorktree } = await import("./worktree-sweep-X7MUEEQS.js");
2592
+ const { getGitRoot } = await import("./worktree-3FO6EQ4G.js");
2590
2593
  const root = getGitRoot(projectDir);
2591
2594
  if (root) {
2592
2595
  const notes = await cleanupAgentWorktree(root, input.assignee);
@@ -2666,7 +2669,7 @@ function registerCloseTask(server) {
2666
2669
  const callerIsAssignedReviewer = Boolean(agent.agentId) && taskReviewer !== null && agent.agentId === taskReviewer;
2667
2670
  const canClose = canCoordinate(agent.agentId, agent.agentRole) || CLOSE_TASK_ALLOWED_ROLES.has(agent.agentRole ?? "") || callerIsAssignedReviewer;
2668
2671
  try {
2669
- const { StewardGate: StewardGate2 } = await import("./steward-gate-V7PBGVFK.js");
2672
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-Y4N2XY3R.js");
2670
2673
  const steward = new StewardGate2();
2671
2674
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "close_task", task_id);
2672
2675
  if (!gateDecision.allowed && !callerIsAssignedReviewer) {
@@ -2821,7 +2824,7 @@ function registerCloseTask(server) {
2821
2824
  skipReviewCreation: true
2822
2825
  });
2823
2826
  try {
2824
- const { releaseClaim: releaseClaim2 } = await import("./work-claims-4QOE7DT2.js");
2827
+ const { releaseClaim: releaseClaim2 } = await import("./work-claims-XZL2DKQ3.js");
2825
2828
  const holderSession = sanitizeSessionScope(resolveExeSession() ?? "") || "";
2826
2829
  if (holderSession) {
2827
2830
  await releaseClaim2({ holderSession, taskId: task.id });
@@ -2843,8 +2846,8 @@ ${preflightWarnings.join("\n")}`;
2843
2846
  if (mergeNote) text5 += mergeNote;
2844
2847
  if (status2 === "closed" && assignee) {
2845
2848
  try {
2846
- const { cleanupAgentWorktree } = await import("./worktree-sweep-MYQHUXDE.js");
2847
- const { getGitRoot } = await import("./worktree-3TUKIZWY.js");
2849
+ const { cleanupAgentWorktree } = await import("./worktree-sweep-X7MUEEQS.js");
2850
+ const { getGitRoot } = await import("./worktree-3FO6EQ4G.js");
2848
2851
  const repoRoot = getGitRoot(baseDir);
2849
2852
  if (repoRoot) {
2850
2853
  const cleanupNotes = await cleanupAgentWorktree(repoRoot, assignee);
@@ -2988,7 +2991,7 @@ function registerResumeEmployee(server) {
2988
2991
  async ({ agent_id, project_name }) => {
2989
2992
  let client;
2990
2993
  if (!isInitialized()) {
2991
- const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-GDFJY5UH.js");
2994
+ const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-FPAPF3GB.js");
2992
2995
  client = await fastDbInit2();
2993
2996
  } else {
2994
2997
  client = getClient();
@@ -3016,7 +3019,7 @@ function registerResumeEmployee(server) {
3016
3019
  };
3017
3020
  }
3018
3021
  try {
3019
- const { isTmuxSessionAlive } = await import("./tasks-crud-ZU6RZDEZ.js");
3022
+ const { isTmuxSessionAlive } = await import("./tasks-crud-TJNMUKKH.js");
3020
3023
  const now = (/* @__PURE__ */ new Date()).toISOString();
3021
3024
  for (const row of openTasks.rows) {
3022
3025
  const status2 = String(row.status);
@@ -3044,7 +3047,7 @@ function registerResumeEmployee(server) {
3044
3047
  }
3045
3048
  let checkpointInfo = "";
3046
3049
  try {
3047
- const { readLatestCheckpoint } = await import("./tasks-crud-ZU6RZDEZ.js");
3050
+ const { readLatestCheckpoint } = await import("./tasks-crud-TJNMUKKH.js");
3048
3051
  const checkpointSessionScope = openTasks.rows[0]?.session_scope != null ? String(openTasks.rows[0].session_scope) : reScope.args[0] != null ? String(reScope.args[0]) : "";
3049
3052
  const checkpoint = checkpointSessionScope ? await readLatestCheckpoint(agent_id, { sessionScope: checkpointSessionScope }) : null;
3050
3053
  if (checkpoint) {
@@ -3544,7 +3547,7 @@ function registerTask(server) {
3544
3547
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
3545
3548
  if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
3546
3549
  try {
3547
- const { createTaskGroup } = await import("./tasks-crud-ZU6RZDEZ.js");
3550
+ const { createTaskGroup } = await import("./tasks-crud-TJNMUKKH.js");
3548
3551
  const group = await createTaskGroup({
3549
3552
  title: args.title,
3550
3553
  coordinator: args.coordinator,
@@ -3563,7 +3566,7 @@ function registerTask(server) {
3563
3566
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
3564
3567
  if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
3565
3568
  try {
3566
- const { getGroupStatus } = await import("./tasks-crud-ZU6RZDEZ.js");
3569
+ const { getGroupStatus } = await import("./tasks-crud-TJNMUKKH.js");
3567
3570
  const status2 = await getGroupStatus(args.group_id);
3568
3571
  return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
3569
3572
  } catch (err) {
@@ -3575,7 +3578,7 @@ function registerTask(server) {
3575
3578
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
3576
3579
  if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
3577
3580
  try {
3578
- const { getGroupResults } = await import("./tasks-crud-ZU6RZDEZ.js");
3581
+ const { getGroupResults } = await import("./tasks-crud-TJNMUKKH.js");
3579
3582
  const results = await getGroupResults(args.group_id);
3580
3583
  return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
3581
3584
  } catch (err) {
@@ -3987,6 +3990,16 @@ function registerStoreBehavior(server) {
3987
3990
  deviceScoped: device_scoped ?? false
3988
3991
  });
3989
3992
  let responseText = `Behavior stored for ${resolvedAgent}. ID: ${id}`;
3993
+ try {
3994
+ const { countActiveBehaviors } = await import("./behaviors-UCMAREU3.js");
3995
+ const { formatOverCapWarning } = await import("./behavior-injection-C3HEKSJY.js");
3996
+ const counts = await countActiveBehaviors(resolvedAgent, resolvedProject);
3997
+ const warning = formatOverCapWarning(resolvedAgent, counts);
3998
+ if (warning) responseText += `
3999
+
4000
+ ${warning}`;
4001
+ } catch {
4002
+ }
3990
4003
  if (domain) {
3991
4004
  const existing = await listBehaviorsByDomain(resolvedAgent, domain);
3992
4005
  const others = existing.filter((b) => b.id !== id);
@@ -4102,7 +4115,7 @@ function registerMessage(server) {
4102
4115
  if (msgType && msgPayload) {
4103
4116
  try {
4104
4117
  const { buildTypedMessage, serializeMessage } = await import("./typed-messages-RCMPEKJN.js");
4105
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-R6Q7UEUD.js");
4118
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-RDTJGZHP.js");
4106
4119
  const { sendMessage } = await import("./lib/messaging.js");
4107
4120
  const { agentId } = getActiveAgent2();
4108
4121
  const envelope = buildTypedMessage({
@@ -4136,7 +4149,7 @@ ID: ${msg.id}`
4136
4149
  if (action === "read") {
4137
4150
  try {
4138
4151
  const { getPendingMessages } = await import("./lib/messaging.js");
4139
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-R6Q7UEUD.js");
4152
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-RDTJGZHP.js");
4140
4153
  const { resolveExeSession: resolveExeSession2 } = await import("./lib/tmux-routing.js");
4141
4154
  const { agentId } = getActiveAgent2();
4142
4155
  const callerScope = resolveExeSession2() ?? void 0;
@@ -4501,8 +4514,8 @@ function registerIngestDocument(server) {
4501
4514
  },
4502
4515
  async (input) => {
4503
4516
  try {
4504
- const { assertFeature: assertFeature2 } = await import("./plan-limits-XMAQVEJZ.js");
4505
- const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-XMAQVEJZ.js");
4517
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-MTHRP4WY.js");
4518
+ const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-MTHRP4WY.js");
4506
4519
  await assertFeature2("wiki");
4507
4520
  await assertMemoryLimit2();
4508
4521
  const result3 = await ingestDocument(input);
@@ -4573,8 +4586,8 @@ function registerPurgeDocument(server) {
4573
4586
  },
4574
4587
  async ({ document_id }) => {
4575
4588
  try {
4576
- const { StewardGate: StewardGate2 } = await import("./steward-gate-V7PBGVFK.js");
4577
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-R6Q7UEUD.js");
4589
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-Y4N2XY3R.js");
4590
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-RDTJGZHP.js");
4578
4591
  const steward = new StewardGate2();
4579
4592
  const agent = getActiveAgent2();
4580
4593
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "purge_document", document_id);
@@ -4744,7 +4757,7 @@ function registerDocument(server) {
4744
4757
  const { action: _action, ...legacyArgs } = input;
4745
4758
  if (action === "list" && (legacyArgs.workspace_id === void 0 || legacyArgs.workspace_id === null || legacyArgs.workspace_id === "")) {
4746
4759
  try {
4747
- const { resolveDefaultWorkspaceId, listWorkspaces } = await import("./documents-W2G477QE.js");
4760
+ const { resolveDefaultWorkspaceId, listWorkspaces } = await import("./documents-FKSQGSO4.js");
4748
4761
  const defaultId = await resolveDefaultWorkspaceId();
4749
4762
  if (defaultId) {
4750
4763
  legacyArgs.workspace_id = defaultId;
@@ -5744,7 +5757,7 @@ async function handleStatus() {
5744
5757
  detail: wikiUrl ? `API at ${wikiUrl}` : "EXE_WIKI_API_URL not set"
5745
5758
  };
5746
5759
  try {
5747
- await import("./graph-rag-L5NV5YWD.js");
5760
+ await import("./graph-rag-RLRQMY54.js");
5748
5761
  sinks.entity_extraction = { configured: true, detail: "GraphRAG available" };
5749
5762
  } catch {
5750
5763
  sinks.entity_extraction = { configured: false, detail: "graph-rag module unavailable" };
@@ -5771,7 +5784,7 @@ async function handleTrigger(limit) {
5771
5784
  if (rows.rows.length === 0) {
5772
5785
  return text3("No conversations found to re-process.");
5773
5786
  }
5774
- const { ingest } = await import("./pipeline-router-IODWXDDI.js");
5787
+ const { ingest } = await import("./pipeline-router-3JTL2KF6.js");
5775
5788
  const results = [];
5776
5789
  for (const row of rows.rows) {
5777
5790
  const r = row;
@@ -6427,8 +6440,8 @@ function registerMergeEntities(server) {
6427
6440
  };
6428
6441
  }
6429
6442
  try {
6430
- const { StewardGate: StewardGate2 } = await import("./steward-gate-V7PBGVFK.js");
6431
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-R6Q7UEUD.js");
6443
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-Y4N2XY3R.js");
6444
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-RDTJGZHP.js");
6432
6445
  const steward = new StewardGate2();
6433
6446
  const agent = getActiveAgent2();
6434
6447
  const sourceLabel2 = source_name ?? source_id;
@@ -6642,7 +6655,7 @@ async function handleExtractFromDocument(args) {
6642
6655
  return errorResult8('graph action "extract_from_document" requires document_id');
6643
6656
  }
6644
6657
  try {
6645
- const { extractGraphFromExistingDocument } = await import("./doc-graph-extractor-CAYUAM5A.js");
6658
+ const { extractGraphFromExistingDocument } = await import("./doc-graph-extractor-6C5JBKPP.js");
6646
6659
  const result3 = await extractGraphFromExistingDocument(documentId);
6647
6660
  const lines = [
6648
6661
  `## Graph Extraction for Document ${documentId}`,
@@ -6669,7 +6682,7 @@ async function handleCleanupGarbage(args) {
6669
6682
  const doMerge = !garbageOnly;
6670
6683
  let mod;
6671
6684
  try {
6672
- mod = await import("./cleanup-graph-garbage-XDIX3HLN.js");
6685
+ mod = await import("./cleanup-graph-garbage-FBSQI33K.js");
6673
6686
  } catch (err) {
6674
6687
  return errorResult8(`cleanup_garbage: failed to load cleanup module \u2014 ${err instanceof Error ? err.message : String(err)}`);
6675
6688
  }
@@ -7566,7 +7579,7 @@ async function getAgentSessionLoad() {
7566
7579
  return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
7567
7580
  }
7568
7581
  const { getClient: getClient2 } = await import("./lib/database.js");
7569
- const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-74JBTKJN.js");
7582
+ const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-PQ67YRWP.js");
7570
7583
  const client = getClient2();
7571
7584
  const scope = sessionScopeFilter2();
7572
7585
  for (const s of liveAgentSessions) {
@@ -7973,7 +7986,7 @@ async function cloudStatusText() {
7973
7986
  if (lastReuploadedAt) lines.push(`- Last re-upload: ${lastReuploadedAt}`);
7974
7987
  lines.push("");
7975
7988
  try {
7976
- const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-WZ4ICGNF.js");
7989
+ const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-NYKSDS6M.js");
7977
7990
  const h = await getRetrievalHealth2();
7978
7991
  lines.push(formatDegradations2(h.degradations, "Health / Degradations"));
7979
7992
  lines.push("");
@@ -9468,7 +9481,7 @@ function registerCreateTrigger(server) {
9468
9481
  }
9469
9482
  },
9470
9483
  async ({ name, event, conditions, actions, project: project2, enabled, schedule, query }) => {
9471
- const { assertFeature: assertFeature2 } = await import("./plan-limits-XMAQVEJZ.js");
9484
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-MTHRP4WY.js");
9472
9485
  const gatedActions = {
9473
9486
  send_whatsapp: "external_agents",
9474
9487
  update_wiki: "wiki"
@@ -10451,8 +10464,8 @@ function buildHandlers5() {
10451
10464
  }
10452
10465
  async function handleDreaming(action, args) {
10453
10466
  try {
10454
- const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-FVXSIIWV.js");
10455
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-R6Q7UEUD.js");
10467
+ const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-IB3H6NDZ.js");
10468
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-RDTJGZHP.js");
10456
10469
  const { getClient: getClient2 } = await import("./lib/database.js");
10457
10470
  const agentId = args.agent_id ?? getActiveAgent2().agentId;
10458
10471
  if (action === "dreaming_run") {
@@ -10610,8 +10623,8 @@ function registerConfig(server) {
10610
10623
  }
10611
10624
  if (action === "closeout") {
10612
10625
  try {
10613
- const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-FVXSIIWV.js");
10614
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-R6Q7UEUD.js");
10626
+ const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-IB3H6NDZ.js");
10627
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-RDTJGZHP.js");
10615
10628
  const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
10616
10629
  const { randomUUID: randomUUID2 } = await import("crypto");
10617
10630
  const { getProjectName: getProjectName2 } = await import("./project-name-ILJTETUE.js");
@@ -10692,7 +10705,7 @@ function registerConfig(server) {
10692
10705
  }
10693
10706
  if (action === "capability_cards") {
10694
10707
  try {
10695
- const { getAllCapabilityCards, findAgentForTask } = await import("./capability-cards-ZTFMK4VJ.js");
10708
+ const { getAllCapabilityCards, findAgentForTask } = await import("./capability-cards-6KAC5D2Z.js");
10696
10709
  const cards = getAllCapabilityCards();
10697
10710
  const taskQuery = args.query;
10698
10711
  if (taskQuery) {
@@ -10743,7 +10756,7 @@ function registerConfig(server) {
10743
10756
  const existing = loadEmployeesSync2();
10744
10757
  if (existing.some((e) => e.name === employeeName)) return errorResult9(`Employee "${employeeName}" already exists.`);
10745
10758
  try {
10746
- const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-XMAQVEJZ.js");
10759
+ const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-MTHRP4WY.js");
10747
10760
  await assertEmployeeLimit2();
10748
10761
  } catch (e) {
10749
10762
  return errorResult9(e instanceof Error ? e.message : "Employee limit reached.");
@@ -10784,7 +10797,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
10784
10797
  }
10785
10798
  try {
10786
10799
  const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
10787
- const { resolvePackageRoot } = await import("./installer-EAAYEEEF.js");
10800
+ const { resolvePackageRoot } = await import("./installer-B7QYQE56.js");
10788
10801
  generateSessionWrappers(resolvePackageRoot());
10789
10802
  } catch {
10790
10803
  }
@@ -10871,7 +10884,7 @@ function registerListWikiPages(server) {
10871
10884
  }
10872
10885
  },
10873
10886
  async ({ workspace, folder }) => {
10874
- const { assertFeature: assertFeature2 } = await import("./plan-limits-XMAQVEJZ.js");
10887
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-MTHRP4WY.js");
10875
10888
  await assertFeature2("wiki");
10876
10889
  const apiUrl = process.env.EXE_WIKI_API_URL;
10877
10890
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -10971,7 +10984,7 @@ function registerGetWikiPage(server) {
10971
10984
  }
10972
10985
  },
10973
10986
  async ({ workspace, document_id, title }) => {
10974
- const { assertFeature: assertFeature2 } = await import("./plan-limits-XMAQVEJZ.js");
10987
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-MTHRP4WY.js");
10975
10988
  await assertFeature2("wiki");
10976
10989
  const apiUrl = process.env.EXE_WIKI_API_URL;
10977
10990
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -11165,10 +11178,10 @@ async function handleWikiSearch(input) {
11165
11178
  const userId = input.user_id;
11166
11179
  if (!workspace) return errorResult10('wiki action "search" requires workspace');
11167
11180
  if (!query) return errorResult10('wiki action "search" requires query');
11168
- const { assertFeature: assertFeature2 } = await import("./plan-limits-XMAQVEJZ.js");
11181
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-MTHRP4WY.js");
11169
11182
  await assertFeature2("wiki");
11170
11183
  if (userId) {
11171
- const { checkWikiAccess } = await import("./wiki-acl-XQH4UBP2.js");
11184
+ const { checkWikiAccess } = await import("./wiki-acl-FQV4E6M4.js");
11172
11185
  const { allowed } = await checkWikiAccess(String(userId), String(workspace), "read");
11173
11186
  if (!allowed) {
11174
11187
  return errorResult10(`Access denied: user "${userId}" does not have read access to workspace "${workspace}"`);
@@ -11271,7 +11284,7 @@ function registerWiki(server) {
11271
11284
  return errorResult10('wiki action "document_rerank" requires at least one candidate');
11272
11285
  }
11273
11286
  if (user_id && legacyArgs.workspace) {
11274
- const { checkWikiAccess } = await import("./wiki-acl-XQH4UBP2.js");
11287
+ const { checkWikiAccess } = await import("./wiki-acl-FQV4E6M4.js");
11275
11288
  const { allowed } = await checkWikiAccess(
11276
11289
  String(user_id),
11277
11290
  String(legacyArgs.workspace),
@@ -11522,6 +11535,16 @@ ${lines.join("\n")}`
11522
11535
  Trigger: ${trigger}
11523
11536
  Action: ${trigger_action}
11524
11537
  Priority: p0 (always injected). The agent decides whether to act.` : `Behavior stored for ${resolvedAgent}. ID: ${id}`;
11538
+ try {
11539
+ const { countActiveBehaviors } = await import("./behaviors-UCMAREU3.js");
11540
+ const { formatOverCapWarning } = await import("./behavior-injection-C3HEKSJY.js");
11541
+ const counts = await countActiveBehaviors(resolvedAgent, resolvedProject);
11542
+ const warning = formatOverCapWarning(resolvedAgent, counts);
11543
+ if (warning) responseText += `
11544
+
11545
+ ${warning}`;
11546
+ } catch {
11547
+ }
11525
11548
  if (resolvedDomain) {
11526
11549
  const existing = await listBehaviorsByDomain(resolvedAgent, resolvedDomain);
11527
11550
  const others = existing.filter((b) => b.id !== id);
@@ -11602,7 +11625,7 @@ Use /exe-forget to remove any that this supersedes.`;
11602
11625
  }]
11603
11626
  };
11604
11627
  }
11605
- const { bulkPurgeGhostBehaviors } = await import("./behaviors-O6HKTSOF.js");
11628
+ const { bulkPurgeGhostBehaviors } = await import("./behaviors-UCMAREU3.js");
11606
11629
  const res = await bulkPurgeGhostBehaviors({ batchSize: 5e3, vacuum: true });
11607
11630
  return {
11608
11631
  content: [{
@@ -11713,7 +11736,7 @@ Use /exe-forget to remove any that this supersedes.`;
11713
11736
  return { content: [{ type: "text", text: `Behavior not found: ${behavior_id}` }], isError: true };
11714
11737
  }
11715
11738
  const row2 = result4.rows[0];
11716
- const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-O6HKTSOF.js");
11739
+ const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-UCMAREU3.js");
11717
11740
  const wasReactivated = await reactivateBehavior2(behavior_id);
11718
11741
  if (!wasReactivated) {
11719
11742
  return { content: [{ type: "text", text: `Behavior ${behavior_id} is already active.` }] };
@@ -12245,7 +12268,7 @@ function registerWorkflowTool(server) {
12245
12268
  getWorkflowInstance,
12246
12269
  listWorkflowInstances,
12247
12270
  approveWorkflowStep
12248
- } = await import("./workflow-engine-7YIRU62F.js");
12271
+ } = await import("./workflow-engine-YQHGHKSJ.js");
12249
12272
  try {
12250
12273
  switch (input.action) {
12251
12274
  case "create_workflow": {
@@ -12541,7 +12564,7 @@ function registerCreateBugReport(server) {
12541
12564
  const version = sanitizeVersionField(package_version) ?? "unknown";
12542
12565
  let metricsSnapshot = "";
12543
12566
  try {
12544
- const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-HVG56HJ5.js");
12567
+ const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-VBGCIQSS.js");
12545
12568
  const sinceIso = new Date(Date.now() - 60 * 60 * 1e3).toISOString();
12546
12569
  const metrics = await getOrchestrationMetrics({ sinceIso });
12547
12570
  if (metrics.totalEvents > 0) {
@@ -12939,6 +12962,38 @@ Upstream status: ${upstreamStatus}`
12939
12962
  import { z as z91 } from "zod";
12940
12963
  import { readdir, readFile as readFile2 } from "fs/promises";
12941
12964
  import path15 from "path";
12965
+
12966
+ // src/lib/support-text-limits.ts
12967
+ var SUPPORT_PROGRESS_NOTE_MAX = 2e3;
12968
+ var SUPPORT_TRIAGE_NOTES_MAX = 12e3;
12969
+ var SUPPORT_EVIDENCE_PREFIX = "Evidence: ";
12970
+ var SUPPORT_REOPEN_PREFIX = "Reopen requested: ";
12971
+ var SUPPORT_EVIDENCE_MAX = SUPPORT_PROGRESS_NOTE_MAX - SUPPORT_EVIDENCE_PREFIX.length;
12972
+ var SUPPORT_REOPEN_REASON_MAX = SUPPORT_PROGRESS_NOTE_MAX - SUPPORT_REOPEN_PREFIX.length;
12973
+ function upstreamTextLength(text5) {
12974
+ if (!text5) return 0;
12975
+ const trimmed = text5.trim();
12976
+ if (!trimmed) return 0;
12977
+ return redactSecrets(trimmed).text.length;
12978
+ }
12979
+ function checkSupportTextLimits(entries) {
12980
+ const oversize = [];
12981
+ for (const entry of entries) {
12982
+ const length = upstreamTextLength(entry.text);
12983
+ if (length > entry.limit) {
12984
+ oversize.push({ field: entry.field, length, limit: entry.limit });
12985
+ }
12986
+ }
12987
+ return oversize;
12988
+ }
12989
+ function describeOversizeRefusal(oversize) {
12990
+ const lines = oversize.map((o) => ` - ${o.field}: ${o.length} chars (max ${o.limit})`);
12991
+ return `Refused: text too long for the support tracker, which truncates silently (bug 43b2a68c).
12992
+ ` + lines.join("\n") + `
12993
+ Nothing was written \u2014 no local update, no memory, no upstream send. Shorten the field(s) above or split the text across multiple calls, then retry.`;
12994
+ }
12995
+
12996
+ // src/mcp/tools/update-bug-report.ts
12942
12997
  var STATUS = z91.enum(["open", "triaged", "fixed", "closed", "wontfix"]);
12943
12998
  var UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;
12944
12999
  var FRONTMATTER_ID_RE = /^id:\s*([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})\s*$/m;
@@ -13064,15 +13119,54 @@ function registerUpdateBugReport(server) {
13064
13119
  add_evidence: z91.string().optional().describe("Additional evidence: logs, repro details, stack traces"),
13065
13120
  reopen_request: z91.boolean().optional().describe("Request a reopen on a recurring fixed/closed bug"),
13066
13121
  reopen_reason: z91.string().optional().describe("Why the bug should be reopened (recurring symptoms, etc.)"),
13067
- send_upstream: z91.boolean().default(true).describe("POST the change to AskExe support endpoint")
13122
+ send_upstream: z91.boolean().default(true).describe("POST the change to AskExe support endpoint"),
13123
+ // Close gate (bug e9ba4b47) — this is the third client that can set a gated
13124
+ // status, and it 422s exactly like the others without an artifact.
13125
+ ...verificationArtifactInputSchema
13068
13126
  }
13069
13127
  },
13070
- async ({ id, status: status2, fix_version, product, notes, add_note, add_evidence, reopen_request, reopen_reason, send_upstream }) => redactedToolResult(async () => {
13128
+ async ({ id, status: status2, fix_version, product, notes, add_note, add_evidence, reopen_request, reopen_reason, send_upstream, ...verification }) => redactedToolResult(async () => {
13071
13129
  const { agentId, agentRole } = getActiveAgent();
13072
13130
  const config = await loadConfig();
13073
13131
  const isAdmin = !!resolveSupportAdminToken(config);
13074
13132
  const followUpNote = notes ?? add_note;
13075
13133
  const reopen = reopen_request === true;
13134
+ const effectiveStatus = reopen ? "open" : status2;
13135
+ const wireStatus = isAdmin ? effectiveStatus : void 0;
13136
+ const gatedStatus = reopen ? void 0 : wireStatus;
13137
+ const adminProgressNote = isAdmin ? [
13138
+ add_evidence ? `${SUPPORT_EVIDENCE_PREFIX}${add_evidence}` : null,
13139
+ reopen ? `${SUPPORT_REOPEN_PREFIX}${reopen_reason ?? "recurring"}` : null
13140
+ ].filter(Boolean).join("\n\n") : "";
13141
+ const oversize = checkSupportTextLimits(
13142
+ isAdmin ? [
13143
+ // Admin notes land in the triage_notes column (12k budget).
13144
+ { field: notes !== void 0 ? "notes" : "add_note", text: followUpNote, limit: SUPPORT_TRIAGE_NOTES_MAX },
13145
+ { field: "add_evidence", text: add_evidence, limit: SUPPORT_EVIDENCE_MAX },
13146
+ { field: "reopen_reason", text: reopen ? reopen_reason : void 0, limit: SUPPORT_REOPEN_REASON_MAX },
13147
+ // Evidence and reopen reason share ONE progress note upstream, so
13148
+ // both fitting individually is not enough.
13149
+ ...add_evidence && reopen ? [{ field: "add_evidence + reopen_reason (one progress note)", text: adminProgressNote, limit: SUPPORT_PROGRESS_NOTE_MAX }] : []
13150
+ ] : [
13151
+ { field: notes !== void 0 ? "notes" : "add_note", text: followUpNote, limit: SUPPORT_PROGRESS_NOTE_MAX },
13152
+ { field: "add_evidence", text: add_evidence, limit: SUPPORT_EVIDENCE_MAX },
13153
+ { field: "reopen_reason", text: reopen ? reopen_reason : void 0, limit: SUPPORT_REOPEN_REASON_MAX }
13154
+ ]
13155
+ );
13156
+ if (oversize.length > 0) {
13157
+ return {
13158
+ isError: true,
13159
+ content: [{ type: "text", text: describeOversizeRefusal(oversize) }]
13160
+ };
13161
+ }
13162
+ const resolvedVerification = resolveVerificationArtifact(gatedStatus, verification);
13163
+ if (!resolvedVerification.ok) {
13164
+ return { isError: true, content: [{ type: "text", text: resolvedVerification.message }] };
13165
+ }
13166
+ const resolvedDelivery = parseDeliveryProof(verification.delivery_proof);
13167
+ if (!resolvedDelivery.ok) {
13168
+ return { isError: true, content: [{ type: "text", text: resolvedDelivery.message }] };
13169
+ }
13076
13170
  const resolved = await findReportFile(id);
13077
13171
  const localFile = resolved?.filePath ?? null;
13078
13172
  if (UUID_RE.test(id.trim().toLowerCase())) {
@@ -13097,7 +13191,7 @@ These do not match \u2014 not updating to avoid mutating the wrong bug. Verify t
13097
13191
  if (localFile) {
13098
13192
  try {
13099
13193
  const built = await buildUpdateSection(localFile, {
13100
- status: reopen ? "open" : status2,
13194
+ status: effectiveStatus,
13101
13195
  notes: followUpNote,
13102
13196
  fixVersion: fix_version,
13103
13197
  evidence: add_evidence,
@@ -13148,7 +13242,7 @@ These do not match \u2014 not updating to avoid mutating the wrong bug. Verify t
13148
13242
  agent_id: agentId
13149
13243
  };
13150
13244
  if (isAdmin) {
13151
- if (status2) payload.status = status2;
13245
+ if (wireStatus) payload.status = wireStatus;
13152
13246
  const safeFixVersion = sanitizeVersionField(fix_version);
13153
13247
  if (safeFixVersion) {
13154
13248
  payload.fixed_version = safeFixVersion;
@@ -13157,6 +13251,9 @@ These do not match \u2014 not updating to avoid mutating the wrong bug. Verify t
13157
13251
  const safeProduct = sanitizeProductFilter(product);
13158
13252
  if (safeProduct) payload.product = safeProduct;
13159
13253
  if (followUpNote) payload.triage_notes = followUpNote;
13254
+ if (adminProgressNote) payload.add_note = adminProgressNote;
13255
+ if (resolvedVerification.artifact) payload.verification_artifact = resolvedVerification.artifact;
13256
+ if (resolvedDelivery.value !== void 0) payload.delivery_proof = resolvedDelivery.value;
13160
13257
  } else {
13161
13258
  if (followUpNote) payload.add_note = followUpNote;
13162
13259
  if (add_evidence) payload.add_evidence = add_evidence;
@@ -13942,7 +14039,7 @@ function registerCliParityTools(server) {
13942
14039
  const out = await runCommand("exe-os", ["cloud", "status"], 45e3);
13943
14040
  let healthSection = "";
13944
14041
  try {
13945
- const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-WZ4ICGNF.js");
14042
+ const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-NYKSDS6M.js");
13946
14043
  const h = await getRetrievalHealth2();
13947
14044
  const lines = [
13948
14045
  "",
@@ -14010,7 +14107,7 @@ function registerCodeContext(server) {
14010
14107
  const index = await buildCodeContextIndexAsync(opts);
14011
14108
  let graphExtract;
14012
14109
  try {
14013
- const { autoExtractGraphEntities } = await import("./graph-auto-extract-KTOR45V4.js");
14110
+ const { autoExtractGraphEntities } = await import("./graph-auto-extract-Q4A4QMOF.js");
14014
14111
  graphExtract = await autoExtractGraphEntities(index.projectRoot);
14015
14112
  } catch {
14016
14113
  }
@@ -14727,7 +14824,12 @@ function registerSupportConsolidated(server) {
14727
14824
  review_resolution: z100.string().optional().describe("Resolution text (reviews)"),
14728
14825
  limit: z100.coerce.number().int().min(1).max(500).optional().describe("Max results per page (up to 500)"),
14729
14826
  offset: z100.coerce.number().int().min(0).optional().describe("Number of results to skip for pagination (list_bugs, list_features, list_reviews, list_my_bugs, list_my_features). Use next_offset from a prior response."),
14730
- changed_since: z100.string().optional().describe("ISO timestamp; for list_my_bugs/list_my_features, return only records created or status-changed after this time.")
14827
+ changed_since: z100.string().optional().describe("ISO timestamp; for list_my_bugs/list_my_features, return only records created or status-changed after this time."),
14828
+ // Close gate (bug e9ba4b47). This is the DEFAULT surface — the tool everyone
14829
+ // actually closes bugs with — and it calls handlers directly, so the artifact
14830
+ // parameters must be declared here or they never reach the handler at all.
14831
+ // Their absence here is exactly what made the server-side gate unsatisfiable.
14832
+ ...verificationArtifactInputSchema
14731
14833
  }
14732
14834
  },
14733
14835
  async (input, extra) => {
@@ -15052,7 +15154,7 @@ async function handleReprojectWorktreeMemories(input) {
15052
15154
  }
15053
15155
  async function handleMemoryIsolation(input) {
15054
15156
  try {
15055
- const { queryMemoryIsolation, formatMemoryIsolationReport } = await import("./memory-isolation-XASOGA7G.js");
15157
+ const { queryMemoryIsolation, formatMemoryIsolationReport } = await import("./memory-isolation-ZE7EDBO4.js");
15056
15158
  const agentId = typeof input.agent_id === "string" ? input.agent_id : void 0;
15057
15159
  const allScopes = input.all_scopes === true;
15058
15160
  const sessionScope = typeof input.session_scope === "string" ? input.session_scope : void 0;
@@ -15072,7 +15174,7 @@ async function handleMemoryIsolation(input) {
15072
15174
  }
15073
15175
  async function handleSpawnFailures() {
15074
15176
  try {
15075
- const { getOrchestrationMetrics } = await import("./orchestration-events-HVG56HJ5.js");
15177
+ const { getOrchestrationMetrics } = await import("./orchestration-events-VBGCIQSS.js");
15076
15178
  const metrics = await getOrchestrationMetrics();
15077
15179
  const c = metrics.counts;
15078
15180
  const attempted = c.tmuxSpawnAttempted;
@@ -15174,7 +15276,7 @@ async function handleOrchestrationHealth() {
15174
15276
  async function handleWorkMap() {
15175
15277
  try {
15176
15278
  const { getAgentLivenessReport } = await import("./agent-heartbeat-CQPGJIFF.js");
15177
- const { classifyRole } = await import("./session-kill-telemetry-PTZLHT33.js");
15279
+ const { classifyRole } = await import("./session-kill-telemetry-UEJTHL65.js");
15178
15280
  const { buildSessionDeathSummary } = await import("./orchestration-health-read-EJWVUARG.js");
15179
15281
  const { getPaneCwd } = await import("./lib/tmux-status.js");
15180
15282
  const live = getAgentLivenessReport();
@@ -15244,7 +15346,7 @@ async function handleWorkMap() {
15244
15346
  async function handleWorkState(input) {
15245
15347
  try {
15246
15348
  const { getClient: getClient2 } = await import("./lib/database.js");
15247
- const { readWorkState, listWorkStates } = await import("./work-state-heartbeat-GX3VWWWK.js");
15349
+ const { readWorkState, listWorkStates } = await import("./work-state-heartbeat-267YQ75U.js");
15248
15350
  const client = await getClient2();
15249
15351
  const sessionScope = typeof input.session_scope === "string" ? input.session_scope.trim() : "";
15250
15352
  if (sessionScope) {
@@ -15346,7 +15448,7 @@ async function handleDrift(input) {
15346
15448
  }
15347
15449
  async function handleSteward(action, input) {
15348
15450
  const gate = new StewardGate();
15349
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-R6Q7UEUD.js");
15451
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-RDTJGZHP.js");
15350
15452
  const inputAgent = input.agent_id;
15351
15453
  const operation = input.operation;
15352
15454
  const target = input.target;
@@ -15644,7 +15746,7 @@ function registerResonance(server) {
15644
15746
  }
15645
15747
  }, async ({ action, memory_id, entity_id, limit }) => {
15646
15748
  try {
15647
- const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-EAAKGGZH.js");
15749
+ const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-AE5L2SJV.js");
15648
15750
  if (action === "hot_pairs") {
15649
15751
  const pairs = await getHotPairs(limit ?? 20);
15650
15752
  if (pairs.length === 0) return text4("No co-activation data yet. Pairs are recorded as memories are accessed together in searches.");