@askexenow/exe-os 0.9.329 → 0.9.331

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 (272) hide show
  1. package/dist/{active-agent-AOBUSHNL.js → active-agent-AIK6FSYE.js} +3 -3
  2. package/dist/{active-agent-4UCWOZB3.js → active-agent-GXV65DNN.js} +3 -3
  3. package/dist/{agentic-ontology-6LFZFXSL.js → agentic-ontology-V2BQY4DH.js} +1 -1
  4. package/dist/{backfill-metadata-NMABBVPQ.js → backfill-metadata-AVWHS332.js} +4 -4
  5. package/dist/{behaviors-TLSLTFGO.js → behaviors-ZV6HNI2M.js} +5 -5
  6. package/dist/bin/agentic-ontology-backfill.js +5 -5
  7. package/dist/bin/agentic-reflection-backfill.js +6 -6
  8. package/dist/bin/agentic-semantic-label.js +5 -5
  9. package/dist/bin/backfill-conversations.js +4 -4
  10. package/dist/bin/backfill-responses.js +4 -4
  11. package/dist/bin/backfill-vectors.js +5 -5
  12. package/dist/bin/bulk-sync-postgres.js +10 -10
  13. package/dist/bin/cc-doctor.js +4 -4
  14. package/dist/bin/cleanup-stale-review-tasks.js +12 -12
  15. package/dist/bin/cli.js +15 -15
  16. package/dist/bin/deferred-daemon-restart.js +62 -62
  17. package/dist/bin/exe-agent-config.js +2 -2
  18. package/dist/bin/exe-agent.js +4 -4
  19. package/dist/bin/exe-assign.js +5 -5
  20. package/dist/bin/exe-boot.js +20 -20
  21. package/dist/bin/exe-call.js +4 -4
  22. package/dist/bin/exe-cloud.js +10 -10
  23. package/dist/bin/exe-config-dump.js +2 -2
  24. package/dist/bin/exe-dispatch.js +12 -12
  25. package/dist/bin/exe-doctor.js +4 -4
  26. package/dist/bin/exe-export-behaviors.js +7 -7
  27. package/dist/bin/exe-forget.js +6 -6
  28. package/dist/bin/exe-gateway.js +7 -7
  29. package/dist/bin/exe-healthcheck.js +4 -4
  30. package/dist/bin/exe-heartbeat.js +12 -12
  31. package/dist/bin/exe-kill.js +15 -15
  32. package/dist/bin/exe-launch-agent.js +21 -21
  33. package/dist/bin/exe-new-employee.js +8 -8
  34. package/dist/bin/exe-pending-messages.js +13 -13
  35. package/dist/bin/exe-pending-notifications.js +12 -12
  36. package/dist/bin/exe-pending-reviews.js +12 -12
  37. package/dist/bin/exe-rename.js +4 -4
  38. package/dist/bin/exe-review.js +14 -14
  39. package/dist/bin/exe-search.js +5 -5
  40. package/dist/bin/exe-session-cleanup.js +16 -16
  41. package/dist/bin/exe-settings.js +10 -10
  42. package/dist/bin/exe-start-codex.js +12 -12
  43. package/dist/bin/exe-start-opencode.js +8 -8
  44. package/dist/bin/exe-status.js +13 -13
  45. package/dist/bin/exe-support.js +3 -3
  46. package/dist/bin/exe-team.js +3 -3
  47. package/dist/bin/git-sweep.js +13 -13
  48. package/dist/bin/graph-backfill.js +4 -4
  49. package/dist/bin/graph-export.js +5 -5
  50. package/dist/bin/import-history.js +7 -7
  51. package/dist/bin/install.js +64 -64
  52. package/dist/bin/intercom-check.js +4 -4
  53. package/dist/bin/mcp-sessions.js +2 -2
  54. package/dist/bin/orchestration-metrics.js +4 -4
  55. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  56. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  57. package/dist/bin/registry-proxy.js +1 -1
  58. package/dist/bin/scan-tasks.js +12 -12
  59. package/dist/bin/setup.js +1 -1
  60. package/dist/bin/shard-migrate.js +4 -4
  61. package/dist/bin/stack-update.js +4 -4
  62. package/dist/bin/vps-health-gate.js +1 -1
  63. package/dist/{capability-cards-FSKEW55G.js → capability-cards-QKTDMIWO.js} +2 -2
  64. package/dist/{capacity-monitor-IDCXFFZ7.js → capacity-monitor-VNAUNTTH.js} +13 -13
  65. package/dist/{catchup-brief-BQNGG4M2.js → catchup-brief-5ELWS6IF.js} +15 -15
  66. package/dist/{chunk-YUTK6VGJ.js → chunk-3CHTRPOU.js} +1 -1
  67. package/dist/{chunk-JRNXYANV.js → chunk-3HMHSTHQ.js} +1 -1
  68. package/dist/{chunk-CNBHDIED.js → chunk-4NGPNH3F.js} +1 -1
  69. package/dist/{chunk-KZLEO5BP.js → chunk-5EP4TCZ2.js} +1 -1
  70. package/dist/{chunk-C4VHNWH2.js → chunk-5JILQMRS.js} +7 -7
  71. package/dist/{chunk-QSHHRSL3.js → chunk-5QJFZYDD.js} +1 -1
  72. package/dist/{chunk-CQ6WS6UH.js → chunk-67547XFJ.js} +1 -1
  73. package/dist/{chunk-NWLILQAM.js → chunk-6J5FWFAI.js} +1 -1
  74. package/dist/{chunk-QVTLKT5Z.js → chunk-7ODTT6WK.js} +1 -1
  75. package/dist/{chunk-IVZK65BU.js → chunk-7QFR2QUD.js} +2 -2
  76. package/dist/{chunk-Q5MQFGTV.js → chunk-7RDZDCWY.js} +5 -5
  77. package/dist/{chunk-CAITCAO5.js → chunk-AREY6CD2.js} +1 -1
  78. package/dist/{chunk-BKQQCJLP.js → chunk-BGCJZQGQ.js} +1 -1
  79. package/dist/{chunk-LB7VU543.js → chunk-BIM763ML.js} +3 -3
  80. package/dist/{chunk-QNOJPFOE.js → chunk-BPH6YPHA.js} +1 -1
  81. package/dist/{chunk-OHFQDOOS.js → chunk-CASOKILE.js} +9 -9
  82. package/dist/{chunk-ZC5UBL6U.js → chunk-CERY66PJ.js} +2 -2
  83. package/dist/{chunk-Q5ADEVNA.js → chunk-CPXFQBBN.js} +3 -3
  84. package/dist/{chunk-U6TCQOYH.js → chunk-D5SZ3U5L.js} +3 -3
  85. package/dist/{chunk-GWY3NSKL.js → chunk-DDA7IAWM.js} +3 -3
  86. package/dist/{chunk-TCACWXYB.js → chunk-DSL5D3TH.js} +2 -2
  87. package/dist/{chunk-LIKADO5U.js → chunk-DTFFLCFM.js} +1 -1
  88. package/dist/{chunk-LPMUZCCE.js → chunk-E5UHM2KN.js} +108 -1
  89. package/dist/{chunk-3PKMM7QQ.js → chunk-EOYVD5U3.js} +1 -1
  90. package/dist/{chunk-MCNBCNFU.js → chunk-EQCYEYCJ.js} +2 -2
  91. package/dist/{chunk-32XG7TO3.js → chunk-FAVEOPZD.js} +1 -1
  92. package/dist/{chunk-GJFYVU6C.js → chunk-FZALT2G7.js} +1 -1
  93. package/dist/{chunk-BH4IK5FP.js → chunk-GSFGVYCG.js} +2 -2
  94. package/dist/{chunk-KBYINTOY.js → chunk-GTCJU2RF.js} +1 -1
  95. package/dist/{chunk-4PWXZYL7.js → chunk-IJTCNN5I.js} +1 -1
  96. package/dist/{chunk-ASM2MYNI.js → chunk-IJYBKQDJ.js} +5 -5
  97. package/dist/{chunk-HWMGT6YQ.js → chunk-JCBQQIUV.js} +2 -2
  98. package/dist/{chunk-CYYIWNU2.js → chunk-JT3I3OWU.js} +1 -1
  99. package/dist/{chunk-MXMYZFHO.js → chunk-KCHIJUYX.js} +2 -2
  100. package/dist/{chunk-7S3GUMYM.js → chunk-KKZPF6YI.js} +9 -9
  101. package/dist/{chunk-J3I3MAVE.js → chunk-LKB2VIIV.js} +7 -7
  102. package/dist/{chunk-MKP3MEGN.js → chunk-ME3WDWL6.js} +1 -1
  103. package/dist/{chunk-U4KIMDH5.js → chunk-MNLSPTWM.js} +3 -3
  104. package/dist/{chunk-KT36VFOY.js → chunk-MTHQR76V.js} +8 -8
  105. package/dist/{chunk-IU4BZTHU.js → chunk-MTX3FQRR.js} +3 -3
  106. package/dist/{chunk-PPG33XHJ.js → chunk-MZ2MBZ3E.js} +1 -1
  107. package/dist/{chunk-P52DLOLU.js → chunk-N5ACQ7C2.js} +3 -3
  108. package/dist/{chunk-2BZ24BXH.js → chunk-O6RMSGXQ.js} +3 -3
  109. package/dist/{chunk-PO4MLC7T.js → chunk-OEEQGXCG.js} +1 -1
  110. package/dist/{chunk-B2ELTSP7.js → chunk-OLQYIAOQ.js} +26 -8
  111. package/dist/{chunk-5H3CJPKV.js → chunk-ORU5LDIT.js} +1 -1
  112. package/dist/{chunk-ZHARKQVQ.js → chunk-OV7OFYIR.js} +1 -1
  113. package/dist/{chunk-GBUXYGXK.js → chunk-P3PGU2OC.js} +1 -1
  114. package/dist/{chunk-CDBWONNT.js → chunk-QAYGX7KA.js} +2 -2
  115. package/dist/{chunk-EMYWFV4D.js → chunk-QOMCLPQI.js} +2 -2
  116. package/dist/{chunk-4TTJQCQ6.js → chunk-QQCZLNUC.js} +1 -1
  117. package/dist/{chunk-2ANCDQ5H.js → chunk-QVM5KATG.js} +2 -2
  118. package/dist/{chunk-WSF6R6IS.js → chunk-QXXG2MCZ.js} +3 -3
  119. package/dist/{chunk-UAIC5L4H.js → chunk-RKBVTCPY.js} +1 -1
  120. package/dist/{chunk-TECS4WT3.js → chunk-RY7UV6CU.js} +1 -1
  121. package/dist/{chunk-7N7H23WJ.js → chunk-SNJEQPPA.js} +1 -1
  122. package/dist/{chunk-QAUXAILJ.js → chunk-SPCO7SNH.js} +2 -2
  123. package/dist/{chunk-O5MMHBU5.js → chunk-TXUSQZLH.js} +11 -1
  124. package/dist/{chunk-47PIQRBR.js → chunk-UCQITDLM.js} +7 -2
  125. package/dist/{chunk-K7FFR7XO.js → chunk-UJRZD77V.js} +2 -2
  126. package/dist/{chunk-IDTF3DST.js → chunk-UUY3USYA.js} +1 -1
  127. package/dist/{chunk-BQ4ZCKOM.js → chunk-UX5YA6ZY.js} +5 -5
  128. package/dist/{chunk-6JDUBDS3.js → chunk-VAZHL55P.js} +1 -1
  129. package/dist/{chunk-2MGW2U6S.js → chunk-W7F3ZBHH.js} +130 -108
  130. package/dist/{chunk-2NVAL2WO.js → chunk-XDJEPGMF.js} +3 -3
  131. package/dist/{chunk-7GPYOJPH.js → chunk-XWH7QGCU.js} +1 -1
  132. package/dist/{chunk-WU75OCKE.js → chunk-YL5S6I3R.js} +4 -4
  133. package/dist/{chunk-VN2SAARW.js → chunk-YSU4JO3J.js} +1 -1
  134. package/dist/{chunk-OEBEFJVD.js → chunk-YYKY45TM.js} +1 -1
  135. package/dist/{chunk-AJVH2WVF.js → chunk-ZSMF37M6.js} +12 -12
  136. package/dist/{chunk-LL4FUDHA.js → chunk-ZWWHEX3Y.js} +4 -4
  137. package/dist/{cleanup-graph-garbage-USRL5SL6.js → cleanup-graph-garbage-FD34BPLR.js} +4 -4
  138. package/dist/{co-activation-NE4Y3N6J.js → co-activation-EVNRLGPH.js} +2 -2
  139. package/dist/{co-occurrence-CZ6PSVPI.js → co-occurrence-FEU6RXQI.js} +2 -2
  140. package/dist/{crdt-sync-RAZ2HT7L.js → crdt-sync-YI5LFAUY.js} +1 -1
  141. package/dist/{crm-webhook-ZVRVHJSL.js → crm-webhook-6YDLPLVH.js} +2 -2
  142. package/dist/{cto-delegation-gate-NFQ65FMA.js → cto-delegation-gate-JMO6VVTO.js} +11 -11
  143. package/dist/{daemon-orchestration-WQ5ZNWIU.js → daemon-orchestration-U5HW7YT5.js} +15 -15
  144. package/dist/{db-backup-XBDH47QZ.js → db-backup-UBKQZVEI.js} +1 -1
  145. package/dist/{doc-graph-extractor-7QGZQD2O.js → doc-graph-extractor-BPXVTZ4L.js} +2 -2
  146. package/dist/{documents-K2LZA3BL.js → documents-TXMACEEP.js} +5 -5
  147. package/dist/{dreaming-HNCFPTOC.js → dreaming-KJ4P52EC.js} +12 -12
  148. package/dist/{exe-drift-A5SJR4QW.js → exe-drift-PVUYHYKG.js} +3 -3
  149. package/dist/{exe-export-DW2JMG4Y.js → exe-export-PH23G3F7.js} +6 -6
  150. package/dist/{exe-import-SNGN4URX.js → exe-import-QCAFH4AM.js} +6 -6
  151. package/dist/{exe-key-UWEG6MWU.js → exe-key-MGEOBRCI.js} +62 -62
  152. package/dist/{exe-snapshot-D3FTR45Y.js → exe-snapshot-DDSSZ377.js} +15 -15
  153. package/dist/{fast-db-init-AUT2AAKL.js → fast-db-init-6KBEZK66.js} +1 -1
  154. package/dist/{founder-context-5AQIGSQX.js → founder-context-NSXLHXJ4.js} +2 -2
  155. package/dist/gateway/index.js +8 -8
  156. package/dist/{git-staleness-ZB25BUKV.js → git-staleness-7N4H6ZE3.js} +2 -2
  157. package/dist/{global-procedures-TGTL43TX.js → global-procedures-3PJSNL4Q.js} +3 -3
  158. package/dist/{graph-auto-extract-UREB6V7Y.js → graph-auto-extract-S5TSHNFY.js} +2 -2
  159. package/dist/hooks/bug-report-worker.js +14 -14
  160. package/dist/hooks/codex-stop-task-finalizer.js +14 -14
  161. package/dist/hooks/commit-complete.js +14 -14
  162. package/dist/hooks/error-recall.js +6 -6
  163. package/dist/hooks/exe-heartbeat-hook.js +3 -3
  164. package/dist/hooks/ingest.js +6 -6
  165. package/dist/hooks/instructions-loaded.js +4 -4
  166. package/dist/hooks/manifest.json +19 -19
  167. package/dist/hooks/notification.js +4 -4
  168. package/dist/hooks/post-compact.js +13 -13
  169. package/dist/hooks/post-tool-combined.js +7 -7
  170. package/dist/hooks/pre-compact.js +14 -14
  171. package/dist/hooks/pre-tool-use.js +17 -17
  172. package/dist/hooks/prompt-submit.js +28 -28
  173. package/dist/hooks/session-end.js +18 -18
  174. package/dist/hooks/session-start.js +12 -12
  175. package/dist/hooks/stop.js +17 -17
  176. package/dist/hooks/subagent-stop.js +13 -13
  177. package/dist/hooks/summary-worker.js +17 -17
  178. package/dist/index.js +21 -21
  179. package/dist/{installer-LFFKJLYO.js → installer-3X5QNMTD.js} +5 -5
  180. package/dist/{installer-BY7PZYSS.js → installer-FQKJ6ULZ.js} +5 -5
  181. package/dist/{installer-Y7DN3MR6.js → installer-TYK3XXK7.js} +5 -5
  182. package/dist/{intercom-queue-UIN67LJZ.js → intercom-queue-4A7XH72M.js} +11 -11
  183. package/dist/lib/cloud-sync.js +10 -10
  184. package/dist/lib/consolidation.js +5 -5
  185. package/dist/lib/database.js +2 -2
  186. package/dist/lib/db-daemon-client.js +1 -1
  187. package/dist/lib/db.js +2 -2
  188. package/dist/lib/device-registry.js +1 -1
  189. package/dist/lib/employee-templates.js +4 -4
  190. package/dist/lib/employees.js +2 -2
  191. package/dist/lib/exe-daemon.js +49 -49
  192. package/dist/lib/hybrid-search.js +5 -5
  193. package/dist/lib/identity.js +2 -2
  194. package/dist/lib/license.js +2 -2
  195. package/dist/lib/messaging.js +12 -12
  196. package/dist/lib/registry-proxy.js +1 -1
  197. package/dist/lib/reminders.js +3 -3
  198. package/dist/lib/schedules.js +5 -5
  199. package/dist/lib/session-registry.js +4 -4
  200. package/dist/lib/skill-learning.js +6 -6
  201. package/dist/lib/store.js +4 -4
  202. package/dist/lib/task-router.js +3 -3
  203. package/dist/lib/tasks.js +13 -13
  204. package/dist/lib/tmux-routing.js +11 -11
  205. package/dist/lib/token-spend.js +11 -5
  206. package/dist/{license-gate-5AGUZF3C.js → license-gate-B4HB3ZDR.js} +3 -3
  207. package/dist/{license-sync-KFAHAPJE.js → license-sync-LSKU2X6F.js} +2 -2
  208. package/dist/mcp/register-tools.js +61 -61
  209. package/dist/mcp/server.js +62 -62
  210. package/dist/mcp/tools/complete-reminder.js +4 -4
  211. package/dist/mcp/tools/create-reminder.js +4 -4
  212. package/dist/mcp/tools/create-task.js +15 -15
  213. package/dist/mcp/tools/deactivate-behavior.js +7 -7
  214. package/dist/mcp/tools/list-reminders.js +4 -4
  215. package/dist/mcp/tools/list-tasks.js +15 -15
  216. package/dist/mcp/tools/send-message.js +14 -14
  217. package/dist/mcp/tools/update-task.js +14 -14
  218. package/dist/{mcp-http-config-M646QGF3.js → mcp-http-config-D4EBSK3R.js} +3 -3
  219. package/dist/{memory-cards-6X3CIDKU.js → memory-cards-7Z66A6AF.js} +4 -4
  220. package/dist/{memory-graph-extractor-NHZQMRWR.js → memory-graph-extractor-3NQUGAA5.js} +3 -3
  221. package/dist/{memory-poisoning-defense-KSHNQK2V.js → memory-poisoning-defense-DPCHNN7S.js} +2 -2
  222. package/dist/{memory-pressure-watchdog-SZCMH46U.js → memory-pressure-watchdog-Z25XTMNY.js} +12 -12
  223. package/dist/{memory-reflection-O2TWMACR.js → memory-reflection-EGLE4DZ5.js} +2 -2
  224. package/dist/{notifications-WEHR34W5.js → notifications-3MIUQXX6.js} +11 -11
  225. package/dist/{orchestration-events-5PLWK6PM.js → orchestration-events-2QYYCFSI.js} +3 -3
  226. package/dist/{orchestrator-XU6W2Y2J.js → orchestrator-IKRGCGWD.js} +13 -13
  227. package/dist/{pipeline-router-BDZB3LIQ.js → pipeline-router-BNKNM454.js} +3 -3
  228. package/dist/{plan-limits-I4ECOTG5.js → plan-limits-ETP2IFM4.js} +5 -5
  229. package/dist/{projection-worker-7KG5RGBJ.js → projection-worker-RIOEZPKQ.js} +2 -2
  230. package/dist/{prospective-memory-VBOSSFDF.js → prospective-memory-JPTTRFYJ.js} +2 -2
  231. package/dist/{reranker-HMP3TLSW.js → reranker-WHMDMYZP.js} +1 -1
  232. package/dist/{retrieval-health-TRG32A5O.js → retrieval-health-GFGXNPSN.js} +1 -1
  233. package/dist/{review-polling-RIUP7V4D.js → review-polling-FDHBFWSY.js} +12 -12
  234. package/dist/runtime/index.js +15 -15
  235. package/dist/{session-events-MDGIJFXX.js → session-events-GM2OUFON.js} +12 -12
  236. package/dist/{session-kill-telemetry-MWOE7PCB.js → session-kill-telemetry-XN6LYPWA.js} +12 -12
  237. package/dist/{session-scope-JSVV2TGZ.js → session-scope-3OGEPOW7.js} +11 -11
  238. package/dist/{setup-wizard-VDXYNARB.js → setup-wizard-ISCAH4EV.js} +1 -1
  239. package/dist/{skill-refinement-SWAYWZJJ.js → skill-refinement-X4HZANPI.js} +3 -3
  240. package/dist/{stack-update-SOKQION6.js → stack-update-2TGPFH6E.js} +3 -3
  241. package/dist/{steward-gate-MDR6LXM5.js → steward-gate-L2FBY7U4.js} +3 -3
  242. package/dist/{task-enforcement-MXFIB5YB.js → task-enforcement-7GXGH6DB.js} +12 -12
  243. package/dist/{task-scope-7GYL7HSQ.js → task-scope-J3OMPV5A.js} +11 -11
  244. package/dist/{tasks-crud-2E22HP6S.js → tasks-crud-NGMRLJH5.js} +11 -11
  245. package/dist/{tasks-notify-FCG3IG2C.js → tasks-notify-4OZXON6S.js} +12 -12
  246. package/dist/{tasks-review-PW3W5ALU.js → tasks-review-U5QEKLNP.js} +11 -11
  247. package/dist/{telemetry-upload-D5D7UOID.js → telemetry-upload-QCM44FAE.js} +7 -7
  248. package/dist/{token-budget-QCT42Q6K.js → token-budget-EVNOJQ7H.js} +3 -3
  249. package/dist/{tool-telemetry-K2FSVBPZ.js → tool-telemetry-UPADF5DF.js} +1 -1
  250. package/dist/tui/App.js +30 -30
  251. package/dist/{tui-data-I73PKMNS.js → tui-data-YPS2SMWF.js} +11 -11
  252. package/dist/{worker-gate-FUEVUE54.js → worker-gate-M6OGQF7H.js} +1 -1
  253. package/dist/{workflow-engine-7HBHBJN2.js → workflow-engine-OVVJRMD2.js} +2 -2
  254. package/dist/{worktree-2NBVFQEZ.js → worktree-3RKV6KQO.js} +4 -4
  255. package/dist/{worktree-sweep-RCPTUWGS.js → worktree-sweep-PYREGLPP.js} +5 -5
  256. package/package.json +1 -1
  257. package/release-notes.json +57 -36
  258. /package/dist/{chunk-MNSTHX5W.js → chunk-66RCRDIF.js} +0 -0
  259. /package/dist/{chunk-LUH4MNZC.js → chunk-INT5PHNK.js} +0 -0
  260. /package/dist/{chunk-SGPYKZFG.js → chunk-JMGYZLJX.js} +0 -0
  261. /package/dist/{chunk-GBMGBQ3V.js → chunk-N4G4M6LE.js} +0 -0
  262. /package/dist/{chunk-Q6LTWR37.js → chunk-NPAGBSEN.js} +0 -0
  263. /package/dist/{chunk-DFYM2FT5.js → chunk-O4522BYB.js} +0 -0
  264. /package/dist/{chunk-CMDL26WF.js → chunk-OHSJOKKW.js} +0 -0
  265. /package/dist/{chunk-ECN5GDYS.js → chunk-TOEQZTYB.js} +0 -0
  266. /package/dist/{chunk-GUVTBENP.js → chunk-VV422PGC.js} +0 -0
  267. /package/dist/{chunk-MO2JEWEX.js → chunk-XWIVAMVX.js} +0 -0
  268. /package/dist/{chunk-MA5FRTS6.js → chunk-YOOK5NOZ.js} +0 -0
  269. /package/dist/{core-memory-6C6HA6GV.js → core-memory-YHACNEAS.js} +0 -0
  270. /package/dist/{oauth-server-MOWBHWSG.js → oauth-server-YVREFZMD.js} +0 -0
  271. /package/dist/{project-boot-NDRHMSH3.js → project-boot-OZA6KYFP.js} +0 -0
  272. /package/dist/{wiki-acl-YRXN6FTR.js → wiki-acl-XWSASBWZ.js} +0 -0
@@ -2,10 +2,10 @@ import {
2
2
  exportOrchestration,
3
3
  importOrchestration,
4
4
  validatePackage
5
- } from "./chunk-HWMGT6YQ.js";
5
+ } from "./chunk-JCBQQIUV.js";
6
6
  import {
7
7
  runDriftProbes
8
- } from "./chunk-4TTJQCQ6.js";
8
+ } from "./chunk-QQCZLNUC.js";
9
9
  import {
10
10
  DEFAULT_LIST_LIMIT,
11
11
  MAX_IMPORTANCE,
@@ -14,7 +14,7 @@ import {
14
14
  ingestDocument,
15
15
  listDocumentsByWorkspace,
16
16
  updateChunksImportance
17
- } from "./chunk-Q5ADEVNA.js";
17
+ } from "./chunk-CPXFQBBN.js";
18
18
  import {
19
19
  analyzeBlastRadius,
20
20
  buildCodeContextIndex,
@@ -26,14 +26,14 @@ import {
26
26
  } from "./chunk-W7DHFGCB.js";
27
27
  import {
28
28
  StewardGate
29
- } from "./chunk-5H3CJPKV.js";
29
+ } from "./chunk-ORU5LDIT.js";
30
30
  import {
31
31
  DreamingEngine
32
- } from "./chunk-2BZ24BXH.js";
32
+ } from "./chunk-O6RMSGXQ.js";
33
33
  import {
34
34
  isRerankerAvailable,
35
35
  rerankWithScores
36
- } from "./chunk-ECN5GDYS.js";
36
+ } from "./chunk-TOEQZTYB.js";
37
37
  import {
38
38
  getEntityByName,
39
39
  getEntityNeighbors,
@@ -44,10 +44,10 @@ import {
44
44
  } from "./chunk-CRCB5S7I.js";
45
45
  import {
46
46
  AUTO_WAKE_MAX_RETRIES
47
- } from "./chunk-KT36VFOY.js";
47
+ } from "./chunk-MTHQR76V.js";
48
48
  import {
49
49
  listRecentSessionEvents
50
- } from "./chunk-TECS4WT3.js";
50
+ } from "./chunk-RY7UV6CU.js";
51
51
  import {
52
52
  DEFAULT_EXPLORE_DURATION_MS,
53
53
  getPlayMode,
@@ -56,7 +56,7 @@ import {
56
56
  } from "./chunk-PVYR4FCQ.js";
57
57
  import {
58
58
  getToolUsageStats
59
- } from "./chunk-CMDL26WF.js";
59
+ } from "./chunk-OHSJOKKW.js";
60
60
  import {
61
61
  getToolCapabilityIndex
62
62
  } from "./chunk-WHRTDN5J.js";
@@ -67,68 +67,69 @@ import {
67
67
  import {
68
68
  getCachedLicenseGate,
69
69
  refreshLicenseGate
70
- } from "./chunk-NWLILQAM.js";
70
+ } from "./chunk-6J5FWFAI.js";
71
71
  import {
72
72
  loadOrchestrationPhase,
73
73
  setOrchestrationPhase
74
74
  } from "./chunk-32SXNM3G.js";
75
75
  import {
76
76
  createOrRefreshResumeTask
77
- } from "./chunk-BQ4ZCKOM.js";
77
+ } from "./chunk-UX5YA6ZY.js";
78
78
  import {
79
79
  registerUpdateTask
80
- } from "./chunk-U6TCQOYH.js";
80
+ } from "./chunk-D5SZ3U5L.js";
81
81
  import {
82
82
  registerCreateReminder
83
- } from "./chunk-7GPYOJPH.js";
83
+ } from "./chunk-XWH7QGCU.js";
84
84
  import {
85
85
  registerListReminders
86
- } from "./chunk-CYYIWNU2.js";
86
+ } from "./chunk-JT3I3OWU.js";
87
87
  import {
88
88
  registerCompleteReminder
89
- } from "./chunk-KZLEO5BP.js";
89
+ } from "./chunk-5EP4TCZ2.js";
90
90
  import {
91
91
  registerDeactivateBehavior
92
- } from "./chunk-LL4FUDHA.js";
92
+ } from "./chunk-ZWWHEX3Y.js";
93
93
  import {
94
94
  completeReminder,
95
95
  createReminder,
96
96
  listReminders
97
- } from "./chunk-4PWXZYL7.js";
97
+ } from "./chunk-IJTCNN5I.js";
98
98
  import {
99
99
  registerSendMessage
100
- } from "./chunk-K7FFR7XO.js";
100
+ } from "./chunk-UJRZD77V.js";
101
101
  import {
102
102
  registerCreateTask
103
- } from "./chunk-B2ELTSP7.js";
103
+ } from "./chunk-OLQYIAOQ.js";
104
104
  import {
105
105
  registerListTasks
106
- } from "./chunk-WSF6R6IS.js";
106
+ } from "./chunk-QXXG2MCZ.js";
107
107
  import {
108
108
  TOKENS_PER_IDLE_MINUTE,
109
109
  countKillsSince,
110
110
  sumTokensSavedSince
111
- } from "./chunk-U4KIMDH5.js";
111
+ } from "./chunk-MNLSPTWM.js";
112
112
  import {
113
113
  registerImportConversations
114
- } from "./chunk-IU4BZTHU.js";
114
+ } from "./chunk-MTX3FQRR.js";
115
115
  import {
116
116
  createSchedule,
117
117
  parseHumanCron
118
- } from "./chunk-CDBWONNT.js";
118
+ } from "./chunk-QAYGX7KA.js";
119
119
  import {
120
120
  status
121
- } from "./chunk-GWY3NSKL.js";
121
+ } from "./chunk-DDA7IAWM.js";
122
122
  import {
123
+ evaluateGlobalSpendCap,
123
124
  getAgentSpend
124
- } from "./chunk-LPMUZCCE.js";
125
+ } from "./chunk-E5UHM2KN.js";
125
126
  import {
126
127
  exportGraphHTML,
127
128
  generateGraphReport
128
129
  } from "./chunk-3OEVDGIY.js";
129
130
  import {
130
131
  runHealthCheck
131
- } from "./chunk-QSHHRSL3.js";
132
+ } from "./chunk-5QJFZYDD.js";
132
133
  import {
133
134
  checkCpuStealSync
134
135
  } from "./chunk-SSC7EKY2.js";
@@ -140,16 +141,16 @@ import {
140
141
  formatReport,
141
142
  runAudit,
142
143
  shouldFixShards
143
- } from "./chunk-ASM2MYNI.js";
144
+ } from "./chunk-IJYBKQDJ.js";
144
145
  import {
145
146
  formatDegradations,
146
147
  getRetrievalHealth
147
- } from "./chunk-O5MMHBU5.js";
148
+ } from "./chunk-TXUSQZLH.js";
148
149
  import {
149
150
  hasFailures,
150
151
  runHealth,
151
152
  runTest
152
- } from "./chunk-GJFYVU6C.js";
153
+ } from "./chunk-FZALT2G7.js";
153
154
  import {
154
155
  isSupportReportSentStatus,
155
156
  markSupportReportSent
@@ -160,12 +161,12 @@ import {
160
161
  } from "./chunk-2XZ6X3PJ.js";
161
162
  import {
162
163
  renderClientCOOTemplate
163
- } from "./chunk-PO4MLC7T.js";
164
+ } from "./chunk-OEEQGXCG.js";
164
165
  import {
165
166
  deactivateGlobalProcedure,
166
167
  loadGlobalProcedures,
167
168
  storeGlobalProcedure
168
- } from "./chunk-IDTF3DST.js";
169
+ } from "./chunk-UUY3USYA.js";
169
170
  import {
170
171
  PLATFORM_PROCEDURES
171
172
  } from "./chunk-A47MXY2I.js";
@@ -174,14 +175,14 @@ import {
174
175
  cloudSync,
175
176
  getCloudReuploadRequired,
176
177
  markCloudReuploadRequired
177
- } from "./chunk-J3I3MAVE.js";
178
+ } from "./chunk-LKB2VIIV.js";
178
179
  import {
179
180
  createARecord
180
181
  } from "./chunk-X2Z5GT3V.js";
181
182
  import {
182
183
  findSimilarTrajectories,
183
184
  hashSignature
184
- } from "./chunk-MCNBCNFU.js";
185
+ } from "./chunk-EQCYEYCJ.js";
185
186
  import {
186
187
  GHOST_BEHAVIOR_SQL,
187
188
  deactivateBehavior,
@@ -190,13 +191,13 @@ import {
190
191
  reactivateBehavior,
191
192
  storeBehavior,
192
193
  storeReflexBehavior
193
- } from "./chunk-MXMYZFHO.js";
194
+ } from "./chunk-KCHIJUYX.js";
194
195
  import {
195
196
  countUnconsolidated,
196
197
  groupMemories,
197
198
  runConsolidation,
198
199
  selectUnconsolidated
199
- } from "./chunk-ZC5UBL6U.js";
200
+ } from "./chunk-CERY66PJ.js";
200
201
  import {
201
202
  entityId,
202
203
  mergeEntities
@@ -213,17 +214,17 @@ import {
213
214
  } from "./chunk-5RACW3LX.js";
214
215
  import {
215
216
  updateTask
216
- } from "./chunk-C4VHNWH2.js";
217
+ } from "./chunk-5JILQMRS.js";
217
218
  import {
218
219
  fastDbInit
219
- } from "./chunk-Q6LTWR37.js";
220
+ } from "./chunk-NPAGBSEN.js";
220
221
  import {
221
222
  MAX_CONCURRENT_WORKERS
222
- } from "./chunk-PPG33XHJ.js";
223
+ } from "./chunk-MZ2MBZ3E.js";
223
224
  import {
224
225
  hybridSearch,
225
226
  recentRecords
226
- } from "./chunk-OHFQDOOS.js";
227
+ } from "./chunk-CASOKILE.js";
227
228
  import {
228
229
  buildFtsMatch,
229
230
  tokenizeForFts
@@ -233,10 +234,10 @@ import {
233
234
  flushBatch,
234
235
  initStore,
235
236
  writeMemory
236
- } from "./chunk-7S3GUMYM.js";
237
+ } from "./chunk-KKZPF6YI.js";
237
238
  import {
238
239
  getActiveAgent
239
- } from "./chunk-3PKMM7QQ.js";
240
+ } from "./chunk-EOYVD5U3.js";
240
241
  import {
241
242
  getMySession,
242
243
  resolveExeSession,
@@ -245,13 +246,13 @@ import {
245
246
  sessionScopeFilter,
246
247
  updateTaskStatus,
247
248
  writeCheckpoint
248
- } from "./chunk-AJVH2WVF.js";
249
+ } from "./chunk-ZSMF37M6.js";
249
250
  import {
250
251
  listSessions
251
- } from "./chunk-JRNXYANV.js";
252
+ } from "./chunk-3HMHSTHQ.js";
252
253
  import {
253
254
  recordOrchestrationEventBestEffort
254
- } from "./chunk-CAITCAO5.js";
255
+ } from "./chunk-AREY6CD2.js";
255
256
  import {
256
257
  DEFAULT_MODELS,
257
258
  KNOWN_RUNTIMES,
@@ -268,7 +269,7 @@ import {
268
269
  assertEmployeeLimit,
269
270
  assertFeature,
270
271
  assertMemoryLimit
271
- } from "./chunk-IVZK65BU.js";
272
+ } from "./chunk-7QFR2QUD.js";
272
273
  import {
273
274
  getProjectName
274
275
  } from "./chunk-OPU3NYOO.js";
@@ -287,7 +288,7 @@ import {
287
288
  isScheduledTrigger,
288
289
  loadTriggers,
289
290
  sanitizeParam
290
- } from "./chunk-GBMGBQ3V.js";
291
+ } from "./chunk-N4G4M6LE.js";
291
292
  import {
292
293
  pushConversationToCRM
293
294
  } from "./chunk-ML4S5SHZ.js";
@@ -308,7 +309,7 @@ import {
308
309
  loadEmployeesSync,
309
310
  saveEmployees,
310
311
  updateIdentity
311
- } from "./chunk-LB7VU543.js";
312
+ } from "./chunk-BIM763ML.js";
312
313
  import {
313
314
  getEventLoopLagMs,
314
315
  isDaemonAlive,
@@ -330,7 +331,7 @@ import {
330
331
  refreshLicense,
331
332
  saveLicense,
332
333
  validateLicense
333
- } from "./chunk-LIKADO5U.js";
334
+ } from "./chunk-DTFFLCFM.js";
334
335
  import {
335
336
  EXE_AI_DIR,
336
337
  loadConfig
@@ -514,7 +515,7 @@ function registerRecallMyMemory(server) {
514
515
  }) => {
515
516
  try {
516
517
  if (!isInitialized()) {
517
- const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-AUT2AAKL.js");
518
+ const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-6KBEZK66.js");
518
519
  await fastDbInit2();
519
520
  }
520
521
  if (!recent && !query) {
@@ -799,7 +800,7 @@ function registerStoreMemory(server) {
799
800
  }
800
801
  const { agentId, agentRole } = getActiveAgent();
801
802
  if (kind === "prospective") {
802
- const { createProspectiveMemory } = await import("./prospective-memory-VBOSSFDF.js");
803
+ const { createProspectiveMemory } = await import("./prospective-memory-JPTTRFYJ.js");
803
804
  let sessionScope = null;
804
805
  try {
805
806
  const { resolveExeSession: resolveExeSession2 } = await import("./lib/tmux-routing.js");
@@ -1785,7 +1786,7 @@ async function handleSupersede(input) {
1785
1786
  }
1786
1787
  try {
1787
1788
  const { getClient: getClient2 } = await import("./lib/database.js");
1788
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AOBUSHNL.js");
1789
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AIK6FSYE.js");
1789
1790
  const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
1790
1791
  const { randomUUID: randomUUID2 } = await import("crypto");
1791
1792
  const client = getClient2();
@@ -1838,7 +1839,7 @@ New memory id: ${newId}`
1838
1839
  }
1839
1840
  async function handleResonanceQuery(input) {
1840
1841
  try {
1841
- const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-NE4Y3N6J.js");
1842
+ const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-EVNRLGPH.js");
1842
1843
  const subAction = input.resonance_action ?? "hot_pairs";
1843
1844
  const limit = input.limit ?? 20;
1844
1845
  if (subAction === "hot_pairs") {
@@ -1933,7 +1934,7 @@ function registerMemory(server) {
1933
1934
  return handleResonanceQuery(input);
1934
1935
  }
1935
1936
  if (action === "update_working_memory" || action === "get_working_memory") {
1936
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AOBUSHNL.js");
1937
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AIK6FSYE.js");
1937
1938
  const { agentId } = getActiveAgent2();
1938
1939
  const { readWorkingMemoryWithMeta, writeWorkingMemory, WORKING_MEMORY_MAX_BYTES } = await import("./working-memory-PY4AG577.js");
1939
1940
  if (action === "get_working_memory") {
@@ -1959,9 +1960,9 @@ function registerMemory(server) {
1959
1960
  }
1960
1961
  }
1961
1962
  if (action === "core_get" || action === "core_set" || action === "core_delete") {
1962
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AOBUSHNL.js");
1963
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AIK6FSYE.js");
1963
1964
  const { agentId } = getActiveAgent2();
1964
- const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-6C6HA6GV.js");
1965
+ const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-YHACNEAS.js");
1965
1966
  if (action === "core_get") {
1966
1967
  const entries = await getCoreMemory(agentId);
1967
1968
  const block = formatCoreMemoryBlock(entries);
@@ -2013,12 +2014,12 @@ function registerMemory(server) {
2013
2014
  if (!storeTrigger || !storeTriggerAction) {
2014
2015
  return errorResult('memory action "store" with kind="reflex" requires trigger and trigger_action fields');
2015
2016
  }
2016
- const { formatReflexContent, storeReflexBehavior: storeReflexBehavior2 } = await import("./behaviors-TLSLTFGO.js");
2017
+ const { formatReflexContent, storeReflexBehavior: storeReflexBehavior2 } = await import("./behaviors-ZV6HNI2M.js");
2017
2018
  const reflexText = formatReflexContent(storeTrigger, storeTriggerAction);
2018
2019
  legacyArgs.text ??= reflexText;
2019
2020
  legacyArgs.query ??= reflexText;
2020
2021
  try {
2021
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AOBUSHNL.js");
2022
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AIK6FSYE.js");
2022
2023
  const { getProjectName: getProjectName2 } = await import("./project-name-EWG5KAZP.js");
2023
2024
  const agent = getActiveAgent2();
2024
2025
  const behaviorId = await storeReflexBehavior2({
@@ -2374,7 +2375,7 @@ function registerCloseTask(server) {
2374
2375
  async ({ task_id, result: result3, status: status2 }) => {
2375
2376
  const agent = getActiveAgent();
2376
2377
  try {
2377
- const { StewardGate: StewardGate2 } = await import("./steward-gate-MDR6LXM5.js");
2378
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-L2FBY7U4.js");
2378
2379
  const steward = new StewardGate2();
2379
2380
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "close_task", task_id);
2380
2381
  if (!gateDecision.allowed) {
@@ -2555,8 +2556,8 @@ ${preflightWarnings.join("\n")}`;
2555
2556
  if (mergeNote) text5 += mergeNote;
2556
2557
  if (status2 === "closed" && assignee) {
2557
2558
  try {
2558
- const { cleanupAgentWorktree } = await import("./worktree-sweep-RCPTUWGS.js");
2559
- const { getGitRoot } = await import("./worktree-2NBVFQEZ.js");
2559
+ const { cleanupAgentWorktree } = await import("./worktree-sweep-PYREGLPP.js");
2560
+ const { getGitRoot } = await import("./worktree-3RKV6KQO.js");
2560
2561
  const repoRoot = getGitRoot(baseDir);
2561
2562
  if (repoRoot) {
2562
2563
  const cleanupNotes = cleanupAgentWorktree(repoRoot, assignee);
@@ -2605,8 +2606,8 @@ ${preflightWarnings.join("\n")}`;
2605
2606
  } catch {
2606
2607
  }
2607
2608
  try {
2608
- const { cleanupAgentWorktree } = await import("./worktree-sweep-RCPTUWGS.js");
2609
- const { getGitRoot } = await import("./worktree-2NBVFQEZ.js");
2609
+ const { cleanupAgentWorktree } = await import("./worktree-sweep-PYREGLPP.js");
2610
+ const { getGitRoot } = await import("./worktree-3RKV6KQO.js");
2610
2611
  const root = getGitRoot(_baseDir);
2611
2612
  if (root) {
2612
2613
  const notes = cleanupAgentWorktree(root, _assignee);
@@ -2709,7 +2710,7 @@ function registerResumeEmployee(server) {
2709
2710
  },
2710
2711
  async ({ agent_id, project_name }) => {
2711
2712
  if (!isInitialized()) {
2712
- const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-AUT2AAKL.js");
2713
+ const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-6KBEZK66.js");
2713
2714
  await fastDbInit2();
2714
2715
  }
2715
2716
  const client = getClient();
@@ -2735,7 +2736,7 @@ function registerResumeEmployee(server) {
2735
2736
  };
2736
2737
  }
2737
2738
  try {
2738
- const { isTmuxSessionAlive } = await import("./tasks-crud-2E22HP6S.js");
2739
+ const { isTmuxSessionAlive } = await import("./tasks-crud-NGMRLJH5.js");
2739
2740
  const now = (/* @__PURE__ */ new Date()).toISOString();
2740
2741
  for (const row of openTasks.rows) {
2741
2742
  const status2 = String(row.status);
@@ -2763,7 +2764,7 @@ function registerResumeEmployee(server) {
2763
2764
  }
2764
2765
  let checkpointInfo = "";
2765
2766
  try {
2766
- const { readLatestCheckpoint } = await import("./tasks-crud-2E22HP6S.js");
2767
+ const { readLatestCheckpoint } = await import("./tasks-crud-NGMRLJH5.js");
2767
2768
  const checkpoint = await readLatestCheckpoint(agent_id);
2768
2769
  if (checkpoint) {
2769
2770
  const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none";
@@ -3179,7 +3180,7 @@ function registerTask(server) {
3179
3180
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
3180
3181
  if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
3181
3182
  try {
3182
- const { createTaskGroup } = await import("./tasks-crud-2E22HP6S.js");
3183
+ const { createTaskGroup } = await import("./tasks-crud-NGMRLJH5.js");
3183
3184
  const group = await createTaskGroup({
3184
3185
  title: args.title,
3185
3186
  coordinator: args.coordinator,
@@ -3198,7 +3199,7 @@ function registerTask(server) {
3198
3199
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
3199
3200
  if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
3200
3201
  try {
3201
- const { getGroupStatus } = await import("./tasks-crud-2E22HP6S.js");
3202
+ const { getGroupStatus } = await import("./tasks-crud-NGMRLJH5.js");
3202
3203
  const status2 = await getGroupStatus(args.group_id);
3203
3204
  return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
3204
3205
  } catch (err) {
@@ -3210,7 +3211,7 @@ function registerTask(server) {
3210
3211
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
3211
3212
  if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
3212
3213
  try {
3213
- const { getGroupResults } = await import("./tasks-crud-2E22HP6S.js");
3214
+ const { getGroupResults } = await import("./tasks-crud-NGMRLJH5.js");
3214
3215
  const results = await getGroupResults(args.group_id);
3215
3216
  return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
3216
3217
  } catch (err) {
@@ -3461,7 +3462,7 @@ function registerMessage(server) {
3461
3462
  if (msgType && msgPayload) {
3462
3463
  try {
3463
3464
  const { buildTypedMessage, serializeMessage } = await import("./typed-messages-TKDGVPHS.js");
3464
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AOBUSHNL.js");
3465
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AIK6FSYE.js");
3465
3466
  const { sendMessage } = await import("./lib/messaging.js");
3466
3467
  const { agentId } = getActiveAgent2();
3467
3468
  const envelope = buildTypedMessage({
@@ -3495,7 +3496,7 @@ ID: ${msg.id}`
3495
3496
  if (action === "read") {
3496
3497
  try {
3497
3498
  const { getPendingMessages } = await import("./lib/messaging.js");
3498
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AOBUSHNL.js");
3499
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AIK6FSYE.js");
3499
3500
  const { agentId } = getActiveAgent2();
3500
3501
  const messages = await getPendingMessages(agentId);
3501
3502
  if (messages.length === 0) {
@@ -3858,8 +3859,8 @@ function registerIngestDocument(server) {
3858
3859
  },
3859
3860
  async (input) => {
3860
3861
  try {
3861
- const { assertFeature: assertFeature2 } = await import("./plan-limits-I4ECOTG5.js");
3862
- const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-I4ECOTG5.js");
3862
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-ETP2IFM4.js");
3863
+ const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-ETP2IFM4.js");
3863
3864
  await assertFeature2("wiki");
3864
3865
  await assertMemoryLimit2();
3865
3866
  const result3 = await ingestDocument(input);
@@ -3930,8 +3931,8 @@ function registerPurgeDocument(server) {
3930
3931
  },
3931
3932
  async ({ document_id }) => {
3932
3933
  try {
3933
- const { StewardGate: StewardGate2 } = await import("./steward-gate-MDR6LXM5.js");
3934
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AOBUSHNL.js");
3934
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-L2FBY7U4.js");
3935
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AIK6FSYE.js");
3935
3936
  const steward = new StewardGate2();
3936
3937
  const agent = getActiveAgent2();
3937
3938
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "purge_document", document_id);
@@ -4101,7 +4102,7 @@ function registerDocument(server) {
4101
4102
  const { action: _action, ...legacyArgs } = input;
4102
4103
  if (action === "list" && (legacyArgs.workspace_id === void 0 || legacyArgs.workspace_id === null || legacyArgs.workspace_id === "")) {
4103
4104
  try {
4104
- const { resolveDefaultWorkspaceId, listWorkspaces } = await import("./documents-K2LZA3BL.js");
4105
+ const { resolveDefaultWorkspaceId, listWorkspaces } = await import("./documents-TXMACEEP.js");
4105
4106
  const defaultId = await resolveDefaultWorkspaceId();
4106
4107
  if (defaultId) {
4107
4108
  legacyArgs.workspace_id = defaultId;
@@ -5128,7 +5129,7 @@ async function handleTrigger(limit) {
5128
5129
  if (rows.rows.length === 0) {
5129
5130
  return text3("No conversations found to re-process.");
5130
5131
  }
5131
- const { ingest } = await import("./pipeline-router-BDZB3LIQ.js");
5132
+ const { ingest } = await import("./pipeline-router-BNKNM454.js");
5132
5133
  const results = [];
5133
5134
  for (const row of rows.rows) {
5134
5135
  const r = row;
@@ -5759,8 +5760,8 @@ function registerMergeEntities(server) {
5759
5760
  },
5760
5761
  async ({ source_name, source_type, target_name, target_type }) => {
5761
5762
  try {
5762
- const { StewardGate: StewardGate2 } = await import("./steward-gate-MDR6LXM5.js");
5763
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AOBUSHNL.js");
5763
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-L2FBY7U4.js");
5764
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AIK6FSYE.js");
5764
5765
  const steward = new StewardGate2();
5765
5766
  const agent = getActiveAgent2();
5766
5767
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "merge_entities", `${source_name}\u2192${target_name}`);
@@ -5968,7 +5969,7 @@ async function handleExtractFromDocument(args) {
5968
5969
  return errorResult7('graph action "extract_from_document" requires document_id');
5969
5970
  }
5970
5971
  try {
5971
- const { extractGraphFromExistingDocument } = await import("./doc-graph-extractor-7QGZQD2O.js");
5972
+ const { extractGraphFromExistingDocument } = await import("./doc-graph-extractor-BPXVTZ4L.js");
5972
5973
  const result3 = await extractGraphFromExistingDocument(documentId);
5973
5974
  const lines = [
5974
5975
  `## Graph Extraction for Document ${documentId}`,
@@ -5995,7 +5996,7 @@ async function handleCleanupGarbage(args) {
5995
5996
  const doMerge = !garbageOnly;
5996
5997
  let mod;
5997
5998
  try {
5998
- mod = await import("./cleanup-graph-garbage-USRL5SL6.js");
5999
+ mod = await import("./cleanup-graph-garbage-FD34BPLR.js");
5999
6000
  } catch (err) {
6000
6001
  return errorResult7(`cleanup_garbage: failed to load cleanup module \u2014 ${err instanceof Error ? err.message : String(err)}`);
6001
6002
  }
@@ -6337,6 +6338,18 @@ function registerListEmployees(server) {
6337
6338
 
6338
6339
  // src/mcp/tools/get-agent-spend.ts
6339
6340
  import { z as z50 } from "zod";
6341
+ function renderGlobalSpendCap(status2) {
6342
+ const lines = ["", "## Global Spend Cap"];
6343
+ if (!status2.configured) {
6344
+ lines.push(`\u26A0\uFE0F ${status2.message}`);
6345
+ lines.push(`Current ${status2.period} tracked spend: $${status2.totalCostUSD.toFixed(2)}.`);
6346
+ return lines;
6347
+ }
6348
+ const prefix = status2.status === "over_cap" ? "\u{1F6A8}" : status2.status === "near_cap" ? "\u26A0\uFE0F" : "\u2705";
6349
+ lines.push(`${prefix} ${status2.message}`);
6350
+ lines.push(`Cap source: ${status2.source ?? "unknown"}.`);
6351
+ return lines;
6352
+ }
6340
6353
  function registerGetAgentSpend(server) {
6341
6354
  server.registerTool(
6342
6355
  "get_agent_spend",
@@ -6350,7 +6363,12 @@ function registerGetAgentSpend(server) {
6350
6363
  },
6351
6364
  async ({ period, agent_id }) => {
6352
6365
  try {
6353
- let results = await getAgentSpend(period);
6366
+ const allResults = await getAgentSpend(period);
6367
+ const capStatus = evaluateGlobalSpendCap(
6368
+ allResults.reduce((sum, r) => sum + r.costUSD, 0),
6369
+ period
6370
+ );
6371
+ let results = allResults;
6354
6372
  if (agent_id) {
6355
6373
  results = results.filter((r) => r.agentId === agent_id);
6356
6374
  }
@@ -6359,7 +6377,10 @@ function registerGetAgentSpend(server) {
6359
6377
  content: [
6360
6378
  {
6361
6379
  type: "text",
6362
- text: agent_id ? `No token spend found for agent "${agent_id}" in the last ${period}.` : `No token spend data found for the last ${period}.`
6380
+ text: [
6381
+ agent_id ? `No token spend found for agent "${agent_id}" in the last ${period}.` : `No token spend data found for the last ${period}.`,
6382
+ ...renderGlobalSpendCap(capStatus)
6383
+ ].join("\n")
6363
6384
  }
6364
6385
  ]
6365
6386
  };
@@ -6394,6 +6415,7 @@ function registerGetAgentSpend(server) {
6394
6415
  `| **Total** | **${totalInput.toLocaleString()}** | **${totalOutput.toLocaleString()}** | **${totalCache.toLocaleString()}** | **${totalSessions}** | **$${totalCost.toFixed(2)}** |`
6395
6416
  );
6396
6417
  }
6418
+ lines.push(...renderGlobalSpendCap(capStatus));
6397
6419
  return {
6398
6420
  content: [{ type: "text", text: lines.join("\n") }]
6399
6421
  };
@@ -6854,7 +6876,7 @@ async function getAgentSessionLoad() {
6854
6876
  return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
6855
6877
  }
6856
6878
  const { getClient: getClient2 } = await import("./lib/database.js");
6857
- const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-7GYL7HSQ.js");
6879
+ const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-J3OMPV5A.js");
6858
6880
  const client = getClient2();
6859
6881
  const scope = sessionScopeFilter2();
6860
6882
  for (const s of liveAgentSessions) {
@@ -6981,7 +7003,7 @@ ${mode} Applying repairs...
6981
7003
  `];
6982
7004
  if (!isDryRun) {
6983
7005
  try {
6984
- const { createBackup: createBackup2 } = await import("./db-backup-XBDH47QZ.js");
7006
+ const { createBackup: createBackup2 } = await import("./db-backup-UBKQZVEI.js");
6985
7007
  const backupPath = await createBackup2("pre-fix");
6986
7008
  if (backupPath) {
6987
7009
  fixLog.push(` Backup created: ${backupPath.split("/").pop()}`);
@@ -7220,7 +7242,7 @@ async function cloudStatusText() {
7220
7242
  if (lastReuploadedAt) lines.push(`- Last re-upload: ${lastReuploadedAt}`);
7221
7243
  lines.push("");
7222
7244
  try {
7223
- const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-TRG32A5O.js");
7245
+ const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-GFGXNPSN.js");
7224
7246
  const h = await getRetrievalHealth2();
7225
7247
  lines.push(formatDegradations2(h.degradations, "Health / Degradations"));
7226
7248
  lines.push("");
@@ -8715,7 +8737,7 @@ function registerCreateTrigger(server) {
8715
8737
  }
8716
8738
  },
8717
8739
  async ({ name, event, conditions, actions, project, enabled, schedule, query }) => {
8718
- const { assertFeature: assertFeature2 } = await import("./plan-limits-I4ECOTG5.js");
8740
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-ETP2IFM4.js");
8719
8741
  const gatedActions = {
8720
8742
  send_whatsapp: "external_agents",
8721
8743
  update_wiki: "wiki"
@@ -9685,8 +9707,8 @@ function buildHandlers5() {
9685
9707
  }
9686
9708
  async function handleDreaming(action, args) {
9687
9709
  try {
9688
- const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-HNCFPTOC.js");
9689
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AOBUSHNL.js");
9710
+ const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-KJ4P52EC.js");
9711
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AIK6FSYE.js");
9690
9712
  const { getClient: getClient2 } = await import("./lib/database.js");
9691
9713
  const agentId = args.agent_id ?? getActiveAgent2().agentId;
9692
9714
  if (action === "dreaming_run") {
@@ -9844,8 +9866,8 @@ function registerConfig(server) {
9844
9866
  }
9845
9867
  if (action === "closeout") {
9846
9868
  try {
9847
- const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-HNCFPTOC.js");
9848
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AOBUSHNL.js");
9869
+ const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-KJ4P52EC.js");
9870
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AIK6FSYE.js");
9849
9871
  const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
9850
9872
  const { randomUUID: randomUUID2 } = await import("crypto");
9851
9873
  const { getProjectName: getProjectName2 } = await import("./project-name-EWG5KAZP.js");
@@ -9916,7 +9938,7 @@ function registerConfig(server) {
9916
9938
  }
9917
9939
  if (action === "capability_cards") {
9918
9940
  try {
9919
- const { getAllCapabilityCards, findAgentForTask } = await import("./capability-cards-FSKEW55G.js");
9941
+ const { getAllCapabilityCards, findAgentForTask } = await import("./capability-cards-QKTDMIWO.js");
9920
9942
  const cards = getAllCapabilityCards();
9921
9943
  const taskQuery = args.query;
9922
9944
  if (taskQuery) {
@@ -9967,7 +9989,7 @@ function registerConfig(server) {
9967
9989
  const existing = loadEmployeesSync2();
9968
9990
  if (existing.some((e) => e.name === employeeName)) return errorResult8(`Employee "${employeeName}" already exists.`);
9969
9991
  try {
9970
- const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-I4ECOTG5.js");
9992
+ const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-ETP2IFM4.js");
9971
9993
  await assertEmployeeLimit2();
9972
9994
  } catch (e) {
9973
9995
  return errorResult8(e instanceof Error ? e.message : "Employee limit reached.");
@@ -10008,7 +10030,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
10008
10030
  }
10009
10031
  try {
10010
10032
  const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
10011
- const { resolvePackageRoot } = await import("./installer-BY7PZYSS.js");
10033
+ const { resolvePackageRoot } = await import("./installer-FQKJ6ULZ.js");
10012
10034
  generateSessionWrappers(resolvePackageRoot());
10013
10035
  } catch {
10014
10036
  }
@@ -10095,7 +10117,7 @@ function registerListWikiPages(server) {
10095
10117
  }
10096
10118
  },
10097
10119
  async ({ workspace, folder }) => {
10098
- const { assertFeature: assertFeature2 } = await import("./plan-limits-I4ECOTG5.js");
10120
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-ETP2IFM4.js");
10099
10121
  await assertFeature2("wiki");
10100
10122
  const apiUrl = process.env.EXE_WIKI_API_URL;
10101
10123
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -10195,7 +10217,7 @@ function registerGetWikiPage(server) {
10195
10217
  }
10196
10218
  },
10197
10219
  async ({ workspace, document_id, title }) => {
10198
- const { assertFeature: assertFeature2 } = await import("./plan-limits-I4ECOTG5.js");
10220
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-ETP2IFM4.js");
10199
10221
  await assertFeature2("wiki");
10200
10222
  const apiUrl = process.env.EXE_WIKI_API_URL;
10201
10223
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -10389,10 +10411,10 @@ async function handleWikiSearch(input) {
10389
10411
  const userId = input.user_id;
10390
10412
  if (!workspace) return errorResult9('wiki action "search" requires workspace');
10391
10413
  if (!query) return errorResult9('wiki action "search" requires query');
10392
- const { assertFeature: assertFeature2 } = await import("./plan-limits-I4ECOTG5.js");
10414
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-ETP2IFM4.js");
10393
10415
  await assertFeature2("wiki");
10394
10416
  if (userId) {
10395
- const { checkWikiAccess } = await import("./wiki-acl-YRXN6FTR.js");
10417
+ const { checkWikiAccess } = await import("./wiki-acl-XWSASBWZ.js");
10396
10418
  const { allowed } = await checkWikiAccess(String(userId), String(workspace), "read");
10397
10419
  if (!allowed) {
10398
10420
  return errorResult9(`Access denied: user "${userId}" does not have read access to workspace "${workspace}"`);
@@ -10495,7 +10517,7 @@ function registerWiki(server) {
10495
10517
  return errorResult9('wiki action "document_rerank" requires at least one candidate');
10496
10518
  }
10497
10519
  if (user_id && legacyArgs.workspace) {
10498
- const { checkWikiAccess } = await import("./wiki-acl-YRXN6FTR.js");
10520
+ const { checkWikiAccess } = await import("./wiki-acl-XWSASBWZ.js");
10499
10521
  const { allowed } = await checkWikiAccess(
10500
10522
  String(user_id),
10501
10523
  String(legacyArgs.workspace),
@@ -10816,7 +10838,7 @@ Use /exe-forget to remove any that this supersedes.`;
10816
10838
  }]
10817
10839
  };
10818
10840
  }
10819
- const { bulkPurgeGhostBehaviors } = await import("./behaviors-TLSLTFGO.js");
10841
+ const { bulkPurgeGhostBehaviors } = await import("./behaviors-ZV6HNI2M.js");
10820
10842
  const res = await bulkPurgeGhostBehaviors({ batchSize: 5e3, vacuum: true });
10821
10843
  return {
10822
10844
  content: [{
@@ -10927,7 +10949,7 @@ Use /exe-forget to remove any that this supersedes.`;
10927
10949
  return { content: [{ type: "text", text: `Behavior not found: ${behavior_id}` }], isError: true };
10928
10950
  }
10929
10951
  const row2 = result4.rows[0];
10930
- const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-TLSLTFGO.js");
10952
+ const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-ZV6HNI2M.js");
10931
10953
  const wasReactivated = await reactivateBehavior2(behavior_id);
10932
10954
  if (!wasReactivated) {
10933
10955
  return { content: [{ type: "text", text: `Behavior ${behavior_id} is already active.` }] };
@@ -11448,7 +11470,7 @@ function registerWorkflowTool(server) {
11448
11470
  getWorkflowInstance,
11449
11471
  listWorkflowInstances,
11450
11472
  approveWorkflowStep
11451
- } = await import("./workflow-engine-7HBHBJN2.js");
11473
+ } = await import("./workflow-engine-OVVJRMD2.js");
11452
11474
  try {
11453
11475
  switch (input.action) {
11454
11476
  case "create_workflow": {
@@ -11735,7 +11757,7 @@ function registerCreateBugReport(server) {
11735
11757
  const version = package_version ?? "unknown";
11736
11758
  let metricsSnapshot = "";
11737
11759
  try {
11738
- const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-5PLWK6PM.js");
11760
+ const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-2QYYCFSI.js");
11739
11761
  const sinceIso = new Date(Date.now() - 60 * 60 * 1e3).toISOString();
11740
11762
  const metrics = await getOrchestrationMetrics({ sinceIso });
11741
11763
  if (metrics.totalEvents > 0) {
@@ -13009,7 +13031,7 @@ function registerCliParityTools(server) {
13009
13031
  const out = await runCommand("exe-os", ["cloud", "status"], 45e3);
13010
13032
  let healthSection = "";
13011
13033
  try {
13012
- const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-TRG32A5O.js");
13034
+ const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-GFGXNPSN.js");
13013
13035
  const h = await getRetrievalHealth2();
13014
13036
  const lines = [
13015
13037
  "",
@@ -13077,7 +13099,7 @@ function registerCodeContext(server) {
13077
13099
  const index = buildCodeContextIndex(opts);
13078
13100
  let graphExtract;
13079
13101
  try {
13080
- const { autoExtractGraphEntities } = await import("./graph-auto-extract-UREB6V7Y.js");
13102
+ const { autoExtractGraphEntities } = await import("./graph-auto-extract-S5TSHNFY.js");
13081
13103
  graphExtract = await autoExtractGraphEntities(opts.projectRoot);
13082
13104
  } catch {
13083
13105
  }
@@ -14246,7 +14268,7 @@ async function handleMergeAgentMemories(input) {
14246
14268
  }
14247
14269
  async function handleSpawnFailures() {
14248
14270
  try {
14249
- const { getOrchestrationMetrics } = await import("./orchestration-events-5PLWK6PM.js");
14271
+ const { getOrchestrationMetrics } = await import("./orchestration-events-2QYYCFSI.js");
14250
14272
  const metrics = await getOrchestrationMetrics();
14251
14273
  const c = metrics.counts;
14252
14274
  const attempted = c.tmuxSpawnAttempted;
@@ -14348,7 +14370,7 @@ async function handleOrchestrationHealth() {
14348
14370
  async function handleWorkMap() {
14349
14371
  try {
14350
14372
  const { getAgentLivenessReport } = await import("./agent-heartbeat-I5UPGXAU.js");
14351
- const { classifyRole } = await import("./session-kill-telemetry-MWOE7PCB.js");
14373
+ const { classifyRole } = await import("./session-kill-telemetry-XN6LYPWA.js");
14352
14374
  const { buildSessionDeathSummary } = await import("./orchestration-health-read-EJWVUARG.js");
14353
14375
  const { getPaneCwd } = await import("./lib/tmux-status.js");
14354
14376
  const live = getAgentLivenessReport();
@@ -14483,7 +14505,7 @@ async function handleDrift(input) {
14483
14505
  }
14484
14506
  async function handleSteward(action, input) {
14485
14507
  const gate = new StewardGate();
14486
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AOBUSHNL.js");
14508
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-AIK6FSYE.js");
14487
14509
  const inputAgent = input.agent_id;
14488
14510
  const operation = input.operation;
14489
14511
  const target = input.target;
@@ -14781,7 +14803,7 @@ function registerResonance(server) {
14781
14803
  }
14782
14804
  }, async ({ action, memory_id, entity_id, limit }) => {
14783
14805
  try {
14784
- const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-NE4Y3N6J.js");
14806
+ const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-EVNRLGPH.js");
14785
14807
  if (action === "hot_pairs") {
14786
14808
  const pairs = await getHotPairs(limit ?? 20);
14787
14809
  if (pairs.length === 0) return text4("No co-activation data yet. Pairs are recorded as memories are accessed together in searches.");