@askexenow/exe-os 0.9.303 → 0.9.310

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 (291) hide show
  1. package/deploy/compose/.env.example +8 -2
  2. package/deploy/compose/docker-compose.yml +12 -5
  3. package/deploy/compose/generate-env.ts +16 -4
  4. package/deploy/stack-manifests/v0.9.json +86 -8
  5. package/dist/{active-agent-SJ2EH6WL.js → active-agent-ORX47ZKW.js} +3 -3
  6. package/dist/{active-agent-F3TFM4GE.js → active-agent-S5T2YMOR.js} +3 -3
  7. package/dist/{agentic-ontology-B36CUQLH.js → agentic-ontology-6KBAXLSJ.js} +1 -1
  8. package/dist/{backfill-metadata-HPLVG42J.js → backfill-metadata-FV7GX6AS.js} +4 -4
  9. package/dist/{behaviors-KRP2Q5XL.js → behaviors-47CPEKJ7.js} +5 -5
  10. package/dist/bin/agentic-ontology-backfill.js +5 -5
  11. package/dist/bin/agentic-reflection-backfill.js +6 -6
  12. package/dist/bin/agentic-semantic-label.js +5 -5
  13. package/dist/bin/backfill-conversations.js +6 -6
  14. package/dist/bin/backfill-responses.js +6 -6
  15. package/dist/bin/backfill-vectors.js +8 -8
  16. package/dist/bin/bulk-sync-postgres.js +12 -12
  17. package/dist/bin/cc-doctor.js +4 -4
  18. package/dist/bin/cleanup-stale-review-tasks.js +13 -13
  19. package/dist/bin/cli.js +20 -17
  20. package/dist/bin/deferred-daemon-restart.js +4 -4
  21. package/dist/bin/exe-agent-config.js +2 -2
  22. package/dist/bin/exe-agent.js +8 -8
  23. package/dist/bin/exe-assign.js +8 -8
  24. package/dist/bin/exe-boot.js +21 -21
  25. package/dist/bin/exe-call.js +4 -4
  26. package/dist/bin/exe-cloud.js +12 -12
  27. package/dist/bin/exe-config-dump.js +2 -2
  28. package/dist/bin/exe-dispatch.js +13 -13
  29. package/dist/bin/exe-doctor.js +2 -2
  30. package/dist/bin/exe-export-behaviors.js +7 -7
  31. package/dist/bin/exe-forget.js +6 -6
  32. package/dist/bin/exe-gateway.js +21 -11
  33. package/dist/bin/exe-healthcheck.js +4 -4
  34. package/dist/bin/exe-heartbeat.js +13 -13
  35. package/dist/bin/exe-kill.js +16 -16
  36. package/dist/bin/exe-launch-agent.js +23 -23
  37. package/dist/bin/exe-new-employee.js +8 -8
  38. package/dist/bin/exe-pending-messages.js +14 -14
  39. package/dist/bin/exe-pending-notifications.js +13 -13
  40. package/dist/bin/exe-pending-reviews.js +13 -13
  41. package/dist/bin/exe-preflight.js +108 -0
  42. package/dist/bin/exe-rename.js +4 -4
  43. package/dist/bin/exe-review.js +15 -15
  44. package/dist/bin/exe-search.js +5 -5
  45. package/dist/bin/exe-session-cleanup.js +18 -18
  46. package/dist/bin/exe-settings.js +12 -12
  47. package/dist/bin/exe-start-codex.js +12 -12
  48. package/dist/bin/exe-start-opencode.js +8 -8
  49. package/dist/bin/exe-status.js +14 -14
  50. package/dist/bin/exe-support.js +4 -4
  51. package/dist/bin/exe-team.js +3 -3
  52. package/dist/bin/git-sweep.js +14 -14
  53. package/dist/bin/graph-backfill.js +4 -4
  54. package/dist/bin/graph-export.js +5 -5
  55. package/dist/bin/import-history.js +7 -7
  56. package/dist/bin/install-launchd.js +4 -1
  57. package/dist/bin/install.js +13 -13
  58. package/dist/bin/intercom-check.js +4 -4
  59. package/dist/bin/mcp-sessions.js +2 -2
  60. package/dist/bin/orchestration-metrics.js +4 -4
  61. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  62. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  63. package/dist/bin/prune-orphan-chunks.js +43 -10
  64. package/dist/bin/scan-tasks.js +13 -13
  65. package/dist/bin/setup.js +1 -1
  66. package/dist/bin/shard-migrate.js +4 -4
  67. package/dist/bin/stack-update.js +30 -5
  68. package/dist/bin/vps-health-gate.js +1 -1
  69. package/dist/{capability-cards-7FFJF4HF.js → capability-cards-WQVY7WSS.js} +2 -2
  70. package/dist/{capacity-monitor-G4XO7GNU.js → capacity-monitor-BUKYPSWR.js} +14 -14
  71. package/dist/{catchup-brief-NBAN42X7.js → catchup-brief-X5IVQAOH.js} +16 -16
  72. package/dist/{chunk-SCUUQ3VB.js → chunk-255DIG4B.js} +1 -1
  73. package/dist/{chunk-NWUPOAFV.js → chunk-2NGPZCWX.js} +2 -2
  74. package/dist/{chunk-7CMIKNAB.js → chunk-2NVEKSSP.js} +7 -7
  75. package/dist/{chunk-3BE52GPB.js → chunk-2UVN2NBN.js} +1 -1
  76. package/dist/{chunk-7RMIXFMD.js → chunk-3KH6GXXX.js} +4 -4
  77. package/dist/{chunk-S4OOC2EM.js → chunk-43R2GILO.js} +1 -1
  78. package/dist/{chunk-CTIEJGO4.js → chunk-4BANMHJ5.js} +3 -3
  79. package/dist/{chunk-D6INBP4F.js → chunk-4L4R6AQJ.js} +1 -1
  80. package/dist/{chunk-Q32XYR7C.js → chunk-4Q5VNQTV.js} +3 -3
  81. package/dist/{chunk-YHYWYSWK.js → chunk-4RJJ5FJ2.js} +13 -1
  82. package/dist/{chunk-53LLDHLD.js → chunk-5DPE7B7K.js} +1 -1
  83. package/dist/{chunk-QPA5UAXG.js → chunk-62UZWGFX.js} +2 -2
  84. package/dist/{chunk-KCJZJJJG.js → chunk-66JPZELX.js} +10 -10
  85. package/dist/{chunk-B7BDXCKK.js → chunk-6LNSZADA.js} +14 -14
  86. package/dist/{chunk-75SBA2D4.js → chunk-6OD2RVIA.js} +155 -146
  87. package/dist/chunk-7ODTYODO.js +350 -0
  88. package/dist/{chunk-YLAYKXX3.js → chunk-7WDIGRSO.js} +1 -1
  89. package/dist/{chunk-CTUQZ7LF.js → chunk-AC6DKMVS.js} +1 -1
  90. package/dist/{chunk-2DDRLHWF.js → chunk-B2J3BBJC.js} +2 -2
  91. package/dist/{chunk-HU5SQUZX.js → chunk-BUOMSIXH.js} +1 -1
  92. package/dist/{chunk-PY6RG2DV.js → chunk-DFUCFLZH.js} +1 -1
  93. package/dist/{chunk-PNYUSBLA.js → chunk-DKHBMIVE.js} +1 -1
  94. package/dist/{chunk-4VHQ6QQ3.js → chunk-DNFU56ZS.js} +1 -1
  95. package/dist/{chunk-PRU6NRJY.js → chunk-EOS7VPVT.js} +5 -5
  96. package/dist/{chunk-BM3YRAE5.js → chunk-FM7XZDZI.js} +1 -1
  97. package/dist/chunk-G6EJKYK3.js +33 -0
  98. package/dist/{chunk-C5CR4XDV.js → chunk-GMZMBLHT.js} +1 -1
  99. package/dist/{chunk-JLOB72OV.js → chunk-GSY6HL3T.js} +5 -5
  100. package/dist/{chunk-FMJ4D5G6.js → chunk-HED6D5KR.js} +20 -20
  101. package/dist/{chunk-UI5WA22X.js → chunk-HQODUV3G.js} +2 -2
  102. package/dist/{chunk-O2KITXII.js → chunk-IIHE3FNC.js} +3 -3
  103. package/dist/{chunk-HUO7WZFC.js → chunk-IRIPGGGL.js} +1 -1
  104. package/dist/{chunk-S76SQ6R5.js → chunk-ISILDO7P.js} +1 -1
  105. package/dist/{chunk-MGKZPSXW.js → chunk-IZPO6IOZ.js} +1 -1
  106. package/dist/{chunk-624YJGMR.js → chunk-J3QZPDNH.js} +1 -1
  107. package/dist/{chunk-6U6HNE2Y.js → chunk-JDYO76PI.js} +1 -1
  108. package/dist/{chunk-MDO5LEP7.js → chunk-JNARUXDC.js} +1 -1
  109. package/dist/{chunk-UN6KSHLI.js → chunk-JV225JBX.js} +1 -1
  110. package/dist/{chunk-7WQ36FAD.js → chunk-JZW5AOWI.js} +1 -1
  111. package/dist/{chunk-XHJESIVW.js → chunk-K7KBAJQL.js} +9 -9
  112. package/dist/{chunk-HHKI2FBV.js → chunk-KAVUTP5G.js} +2 -2
  113. package/dist/{chunk-4GBTBZFC.js → chunk-KPVVTHPK.js} +8 -8
  114. package/dist/{chunk-D3IYBLWN.js → chunk-KSMITUGY.js} +3 -3
  115. package/dist/{chunk-NME5E325.js → chunk-LMX7UKGX.js} +3 -3
  116. package/dist/{chunk-UFYO4DLS.js → chunk-MTIJ2NXY.js} +1 -1
  117. package/dist/{chunk-KLAVORDC.js → chunk-NCC3F6GM.js} +1 -1
  118. package/dist/{chunk-HDCP6CGI.js → chunk-NIZQ3CIS.js} +1 -1
  119. package/dist/{chunk-ALVJ3CT3.js → chunk-OBJXZII2.js} +2 -2
  120. package/dist/{chunk-P4WXINQT.js → chunk-OR3TAZL3.js} +1 -1
  121. package/dist/{chunk-CCYRCRLW.js → chunk-PMEOSD6S.js} +2 -2
  122. package/dist/{chunk-JBWYZAQE.js → chunk-PPXQE7AS.js} +3 -3
  123. package/dist/{chunk-PTR4DP7H.js → chunk-QEGXNJGR.js} +4 -4
  124. package/dist/{chunk-FTOUQEYH.js → chunk-RPBTYQKJ.js} +1 -1
  125. package/dist/{chunk-7L2EV3XX.js → chunk-RVXWGPD3.js} +39 -6
  126. package/dist/{chunk-5SYMJCBM.js → chunk-RZJ6DXVE.js} +1 -1
  127. package/dist/{chunk-N5G4T47B.js → chunk-SCYWCWKY.js} +3 -3
  128. package/dist/{chunk-5Y2DO57X.js → chunk-SOT23KWW.js} +1 -1
  129. package/dist/{chunk-JPGU7XUA.js → chunk-SPOXL7HF.js} +7 -7
  130. package/dist/{chunk-OVQDDRGZ.js → chunk-TN2YCFQE.js} +4 -4
  131. package/dist/{chunk-QTDS7LFB.js → chunk-U63BZI2B.js} +3 -3
  132. package/dist/{chunk-7RGIYC7W.js → chunk-V42BSVX6.js} +2 -2
  133. package/dist/{chunk-MO3G76UK.js → chunk-V4BW5HFQ.js} +3 -3
  134. package/dist/{chunk-Y4TYFJ37.js → chunk-VFSYVQX4.js} +1 -1
  135. package/dist/{chunk-EWIW3R6V.js → chunk-VT6P7FV4.js} +1 -1
  136. package/dist/{chunk-4NWEVZKT.js → chunk-W2J2RF5N.js} +3 -3
  137. package/dist/{chunk-X37ENEN5.js → chunk-WBJXJ2R4.js} +9 -9
  138. package/dist/chunk-WCGNCH3Q.js +72 -0
  139. package/dist/{chunk-G4SVYLPT.js → chunk-WJ2PZGRV.js} +1 -1
  140. package/dist/{chunk-2JESQBYU.js → chunk-WZBUKC5N.js} +1 -1
  141. package/dist/{chunk-7DAUFPDV.js → chunk-X4AFBL4N.js} +1 -1
  142. package/dist/{chunk-UJJIFFIJ.js → chunk-XV5HRIXG.js} +11 -11
  143. package/dist/{chunk-VTMPER4B.js → chunk-XYG722JW.js} +2 -2
  144. package/dist/{chunk-4OTIVBY3.js → chunk-YB7U4WTY.js} +4 -4
  145. package/dist/{chunk-YLLUDO54.js → chunk-Z6H6Y4BS.js} +1 -1
  146. package/dist/{chunk-ZXZU6NCE.js → chunk-ZOVHXTGC.js} +1 -1
  147. package/dist/{chunk-JAPPHNDZ.js → chunk-ZZXADKAP.js} +2 -2
  148. package/dist/{co-activation-W3DTVIXG.js → co-activation-WN25AJOC.js} +2 -2
  149. package/dist/{co-occurrence-JP6QO7DC.js → co-occurrence-YP2Q3OEA.js} +2 -2
  150. package/dist/{code-context-index-6SWHYPLZ.js → code-context-index-ZWONKBKX.js} +3 -3
  151. package/dist/{crdt-sync-V4MYKLOX.js → crdt-sync-ZFIFL2QM.js} +1 -1
  152. package/dist/{crm-webhook-PJZ37A2Q.js → crm-webhook-DGPHULOO.js} +2 -2
  153. package/dist/{cto-delegation-gate-72TPHIVT.js → cto-delegation-gate-OF2A3TSS.js} +12 -12
  154. package/dist/{daemon-orchestration-7ESTK6HS.js → daemon-orchestration-G4RRTPP7.js} +16 -16
  155. package/dist/{db-backup-3CT2GJK2.js → db-backup-EORG4LBO.js} +1 -1
  156. package/dist/{doc-graph-extractor-ECZF4H6G.js → doc-graph-extractor-APZS3DFD.js} +2 -2
  157. package/dist/{dreaming-BZZAZHL5.js → dreaming-Q4E3WBGY.js} +13 -13
  158. package/dist/{exe-drift-24KYGBPH.js → exe-drift-CI5R6GUT.js} +3 -3
  159. package/dist/{exe-export-SONG5KUF.js → exe-export-HQIQASIT.js} +6 -6
  160. package/dist/{exe-import-JJJL7E5D.js → exe-import-ULZK56WC.js} +6 -6
  161. package/dist/{exe-key-BRKHDMIX.js → exe-key-ILNSBGRN.js} +4 -4
  162. package/dist/{exe-snapshot-436XVPEC.js → exe-snapshot-RUZTWZOF.js} +16 -16
  163. package/dist/{factory-CTFAGZUA.js → factory-YHQZ6RZZ.js} +14 -6
  164. package/dist/{fast-db-init-4VL3ZQIH.js → fast-db-init-KNJRL7T3.js} +1 -1
  165. package/dist/{founder-context-6KTVHGVC.js → founder-context-QCTMEK66.js} +2 -2
  166. package/dist/gateway/index.js +17 -17
  167. package/dist/{git-staleness-VFDGCAMO.js → git-staleness-KIA5YI4H.js} +2 -2
  168. package/dist/{git-task-sweep-KZ27TCNB.js → git-task-sweep-WH6QE7HL.js} +13 -13
  169. package/dist/{global-procedures-LDKZ2IPH.js → global-procedures-SYZZCGDS.js} +3 -3
  170. package/dist/{graph-auto-extract-VA3SFHPF.js → graph-auto-extract-J2TIWZEE.js} +2 -2
  171. package/dist/hooks/bug-report-worker.js +15 -15
  172. package/dist/hooks/codex-stop-task-finalizer.js +15 -15
  173. package/dist/hooks/commit-complete.js +15 -15
  174. package/dist/hooks/error-recall.js +6 -6
  175. package/dist/hooks/exe-heartbeat-hook.js +3 -3
  176. package/dist/hooks/ingest-worker.js +3 -3
  177. package/dist/hooks/ingest.js +6 -6
  178. package/dist/hooks/instructions-loaded.js +4 -4
  179. package/dist/hooks/manifest.json +20 -20
  180. package/dist/hooks/notification.js +4 -4
  181. package/dist/hooks/post-compact.js +14 -14
  182. package/dist/hooks/post-tool-combined.js +6 -6
  183. package/dist/hooks/pre-compact.js +18 -18
  184. package/dist/hooks/pre-tool-use.js +18 -18
  185. package/dist/hooks/prompt-submit.js +27 -27
  186. package/dist/hooks/session-end.js +23 -23
  187. package/dist/hooks/session-start.js +12 -12
  188. package/dist/hooks/stop.js +21 -21
  189. package/dist/hooks/subagent-stop.js +14 -14
  190. package/dist/hooks/summary-worker.js +21 -21
  191. package/dist/index.js +26 -26
  192. package/dist/{installer-7LYVKNUK.js → installer-3NB3IBHF.js} +5 -5
  193. package/dist/{installer-B6PUJTSR.js → installer-IIJFCTMH.js} +5 -5
  194. package/dist/{installer-MSAJOOHK.js → installer-PSDYMGN7.js} +5 -5
  195. package/dist/lib/cloud-sync.js +12 -12
  196. package/dist/lib/consolidation.js +5 -5
  197. package/dist/lib/database.js +2 -2
  198. package/dist/lib/db-daemon-client.js +3 -3
  199. package/dist/lib/db.js +2 -2
  200. package/dist/lib/device-registry.js +1 -1
  201. package/dist/lib/embedder.js +3 -3
  202. package/dist/lib/employee-templates.js +4 -4
  203. package/dist/lib/employees.js +2 -2
  204. package/dist/lib/exe-daemon-client.js +2 -2
  205. package/dist/lib/exe-daemon.js +51 -51
  206. package/dist/lib/hybrid-search.js +5 -5
  207. package/dist/lib/identity.js +2 -2
  208. package/dist/lib/license.js +2 -2
  209. package/dist/lib/messaging.js +13 -13
  210. package/dist/lib/reminders.js +3 -3
  211. package/dist/lib/schedules.js +5 -5
  212. package/dist/lib/session-registry.js +4 -4
  213. package/dist/lib/skill-learning.js +6 -6
  214. package/dist/lib/store.js +4 -4
  215. package/dist/lib/task-router.js +3 -3
  216. package/dist/lib/tasks.js +14 -14
  217. package/dist/lib/tmux-routing.js +12 -12
  218. package/dist/lib/token-spend.js +3 -3
  219. package/dist/{license-gate-U7TC44UX.js → license-gate-7SDHCJUO.js} +3 -3
  220. package/dist/mcp/register-tools.js +69 -69
  221. package/dist/mcp/server.js +90 -73
  222. package/dist/mcp/tools/complete-reminder.js +4 -4
  223. package/dist/mcp/tools/create-reminder.js +4 -4
  224. package/dist/mcp/tools/create-task.js +16 -16
  225. package/dist/mcp/tools/deactivate-behavior.js +7 -7
  226. package/dist/mcp/tools/list-reminders.js +4 -4
  227. package/dist/mcp/tools/list-tasks.js +16 -16
  228. package/dist/mcp/tools/send-message.js +15 -15
  229. package/dist/mcp/tools/update-task.js +15 -15
  230. package/dist/{mcp-http-config-DKDEXFVS.js → mcp-http-config-QSOVFXHW.js} +3 -3
  231. package/dist/mcp-tool-surface-CSPFXL3F.js +15 -0
  232. package/dist/{memory-cards-OMPYI2GY.js → memory-cards-II67WFL2.js} +2 -2
  233. package/dist/{memory-graph-extractor-QARQCG53.js → memory-graph-extractor-PM4Q2KJG.js} +3 -3
  234. package/dist/{memory-poisoning-defense-4J5CPLJT.js → memory-poisoning-defense-ECXSX7HK.js} +2 -2
  235. package/dist/{memory-queue-client-2NURVA62.js → memory-queue-client-HLURQEV6.js} +3 -3
  236. package/dist/{memory-reflection-KSOFEZNV.js → memory-reflection-PXF6YFDU.js} +2 -2
  237. package/dist/{notifications-FAHXEFR2.js → notifications-UP7WQGG4.js} +12 -12
  238. package/dist/{orchestration-events-2MVWZ2ET.js → orchestration-events-PZLLPCKY.js} +3 -3
  239. package/dist/{orchestrator-DMM6AJVL.js → orchestrator-PUT45J4O.js} +14 -14
  240. package/dist/{pipeline-router-M3ESJZYK.js → pipeline-router-5CRWKESM.js} +3 -3
  241. package/dist/{plan-limits-BDOAH4DJ.js → plan-limits-SH2NDFNX.js} +5 -5
  242. package/dist/{projection-worker-UBPNRKPX.js → projection-worker-HWY37MNC.js} +2 -2
  243. package/dist/{prospective-memory-OALGUYBS.js → prospective-memory-FQSVMCGG.js} +2 -2
  244. package/dist/{reranker-CTZ4SYCN.js → reranker-AALRMGMM.js} +1 -1
  245. package/dist/{retrieval-health-P4ZMY4H3.js → retrieval-health-PNWJSJNG.js} +1 -1
  246. package/dist/{review-polling-VQUPLRWQ.js → review-polling-65JZUE3T.js} +13 -13
  247. package/dist/runtime/index.js +20 -20
  248. package/dist/{session-events-4GHYBXXH.js → session-events-EJ3OSAA6.js} +13 -13
  249. package/dist/{session-kill-telemetry-S445CSOH.js → session-kill-telemetry-3HGM7SNQ.js} +13 -13
  250. package/dist/{session-scope-PPGKSJEL.js → session-scope-JGDYAMJO.js} +12 -12
  251. package/dist/{setup-wizard-ERES36LR.js → setup-wizard-44LMFM2C.js} +1 -1
  252. package/dist/{skill-refinement-KITOKH6T.js → skill-refinement-DUOO6B7V.js} +2 -2
  253. package/dist/{stack-release-JZVTSBJJ.js → stack-release-XYMKU7NT.js} +53 -4
  254. package/dist/{stack-update-V7AJ425P.js → stack-update-XHQJRJEP.js} +3 -3
  255. package/dist/{steward-gate-VLN2FTQD.js → steward-gate-6NWRDLX2.js} +3 -3
  256. package/dist/{task-enforcement-XAPBTPBF.js → task-enforcement-UOULTGFB.js} +12 -12
  257. package/dist/{task-scope-ZGFHVDG5.js → task-scope-P5STKYAC.js} +12 -12
  258. package/dist/{tasks-crud-KIZREZSN.js → tasks-crud-24HMTULR.js} +12 -12
  259. package/dist/{tasks-notify-3W3YIVF4.js → tasks-notify-LAIU7UUI.js} +13 -13
  260. package/dist/{tasks-review-F5PPITAJ.js → tasks-review-AFJAU2DY.js} +12 -12
  261. package/dist/{telemetry-upload-ZUFI5VH4.js → telemetry-upload-DWFGC2XJ.js} +7 -7
  262. package/dist/{token-budget-7BD6ROHF.js → token-budget-4RFZKWGH.js} +3 -3
  263. package/dist/{tool-capability-index-335P663V.js → tool-capability-index-ZEXBWKUZ.js} +1 -1
  264. package/dist/{tool-telemetry-P6XVPFOF.js → tool-telemetry-BS5JXM5M.js} +1 -1
  265. package/dist/tui/App.js +21 -21
  266. package/dist/{tui-data-QWJVWVTP.js → tui-data-UNO5B7PU.js} +12 -12
  267. package/dist/{worker-gate-IHCMOXDF.js → worker-gate-C6CTTYMD.js} +1 -1
  268. package/dist/{workflow-engine-PJ7JAO6E.js → workflow-engine-4W2KYCDV.js} +2 -2
  269. package/dist/{worktree-4BR3ZQWN.js → worktree-2CXY6NEB.js} +4 -4
  270. package/dist/{worktree-sweep-XCPOF3RD.js → worktree-sweep-K3CJFSUL.js} +5 -5
  271. package/package.json +3 -2
  272. package/release-notes.json +9 -42
  273. package/stack.release.json +11 -11
  274. /package/dist/{chunk-V7E4I7J5.js → chunk-2EJ636HI.js} +0 -0
  275. /package/dist/{chunk-ERAHOO7R.js → chunk-2NS3QRMJ.js} +0 -0
  276. /package/dist/{chunk-PCU4ZMUA.js → chunk-A2YZG4AD.js} +0 -0
  277. /package/dist/{chunk-YH2IYVPW.js → chunk-AE74NOE6.js} +0 -0
  278. /package/dist/{chunk-Q5V3B6BP.js → chunk-GWPICNSO.js} +0 -0
  279. /package/dist/{chunk-6JJBGPMF.js → chunk-I3DPCSDG.js} +0 -0
  280. /package/dist/{chunk-Z77S2QQU.js → chunk-J3SR5MGG.js} +0 -0
  281. /package/dist/{chunk-KYF3KSFT.js → chunk-K4BKJJ4F.js} +0 -0
  282. /package/dist/{chunk-PGQMMD5P.js → chunk-MQCTK6EF.js} +0 -0
  283. /package/dist/{chunk-EW2P62CV.js → chunk-QE7UVQDP.js} +0 -0
  284. /package/dist/{chunk-PP3RXZID.js → chunk-QNXM2HXW.js} +0 -0
  285. /package/dist/{chunk-O573H7LS.js → chunk-YUBTHJVV.js} +0 -0
  286. /package/dist/{core-memory-VIWP7GJL.js → core-memory-OC5ITKKV.js} +0 -0
  287. /package/dist/{entity-boost-VZ7ZEDVR.js → entity-boost-NF3LE6OJ.js} +0 -0
  288. /package/dist/{message-queue-client-32HOVUK7.js → message-queue-client-4VDU6BZY.js} +0 -0
  289. /package/dist/{oauth-server-V4H3SY7H.js → oauth-server-EWUL7DMD.js} +0 -0
  290. /package/dist/{project-boot-DQZXRY5C.js → project-boot-2TCPDZ4S.js} +0 -0
  291. /package/dist/{wiki-acl-HNP5GGDA.js → wiki-acl-CONNF6ES.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  sendMessage
3
- } from "./chunk-Q32XYR7C.js";
3
+ } from "./chunk-4Q5VNQTV.js";
4
4
  import {
5
5
  getActiveAgent
6
- } from "./chunk-HU5SQUZX.js";
6
+ } from "./chunk-BUOMSIXH.js";
7
7
 
8
8
  // src/mcp/tools/send-message.ts
9
9
  import { z } from "zod";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  getActiveAgent
3
- } from "./chunk-HU5SQUZX.js";
3
+ } from "./chunk-BUOMSIXH.js";
4
4
  import {
5
5
  listTasks
6
- } from "./chunk-FMJ4D5G6.js";
6
+ } from "./chunk-HED6D5KR.js";
7
7
  import {
8
8
  getAgentContext
9
9
  } from "./chunk-GJV3WDWM.js";
10
10
  import {
11
11
  isCoordinatorName
12
- } from "./chunk-N5G4T47B.js";
12
+ } from "./chunk-SCYWCWKY.js";
13
13
 
14
14
  // src/mcp/tools/list-tasks.ts
15
15
  import { z } from "zod";
@@ -2,7 +2,7 @@ import {
2
2
  getClient,
3
3
  isCoordinatorName,
4
4
  loadEmployeesSync
5
- } from "./chunk-N5G4T47B.js";
5
+ } from "./chunk-SCYWCWKY.js";
6
6
 
7
7
  // src/lib/steward-gate.ts
8
8
  import crypto from "crypto";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-VUH67PT4.js";
5
5
  import {
6
6
  getClient
7
- } from "./chunk-N5G4T47B.js";
7
+ } from "./chunk-SCYWCWKY.js";
8
8
 
9
9
  // src/lib/global-procedures.ts
10
10
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getGlobalProceduresBlock
3
- } from "./chunk-S76SQ6R5.js";
3
+ } from "./chunk-ISILDO7P.js";
4
4
 
5
5
  // src/lib/employee-templates.ts
6
6
  var BASE_OPERATING_PROCEDURES = `
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  completeReminder
3
- } from "./chunk-MDO5LEP7.js";
3
+ } from "./chunk-JNARUXDC.js";
4
4
 
5
5
  // src/mcp/tools/complete-reminder.ts
6
6
  import { z } from "zod";
@@ -204,7 +204,7 @@ async function main(args) {
204
204
  console.log("[health-gate] Starting rollback...");
205
205
  restorePreDeployBackup();
206
206
  try {
207
- const { rollbackStackUpdate, defaultStackPaths } = await import("./stack-update-V7AJ425P.js");
207
+ const { rollbackStackUpdate, defaultStackPaths } = await import("./stack-update-XHQJRJEP.js");
208
208
  const paths = defaultStackPaths();
209
209
  await rollbackStackUpdate({
210
210
  manifestRef: paths.manifestRef,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-N5G4T47B.js";
3
+ } from "./chunk-SCYWCWKY.js";
4
4
  import {
5
5
  loadConfig
6
6
  } from "./chunk-DFIOOK5R.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDeviceInfo
3
- } from "./chunk-V7E4I7J5.js";
3
+ } from "./chunk-2EJ636HI.js";
4
4
  import {
5
5
  EXE_AI_DIR
6
6
  } from "./chunk-DFIOOK5R.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ELXR65AN.js";
4
4
  import {
5
5
  loadEmployeesSync
6
- } from "./chunk-N5G4T47B.js";
6
+ } from "./chunk-SCYWCWKY.js";
7
7
 
8
8
  // src/adapters/mcp-http-config.ts
9
9
  import { chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  MultiAgentOrchestrator
3
- } from "./chunk-4NWEVZKT.js";
3
+ } from "./chunk-W2J2RF5N.js";
4
4
  import {
5
5
  createTokenBudgetMiddleware
6
- } from "./chunk-ZXZU6NCE.js";
6
+ } from "./chunk-ZOVHXTGC.js";
7
7
  import {
8
8
  createQuietRenderer,
9
9
  createTerminalRenderer,
10
10
  renderAgentEvents
11
11
  } from "./chunk-YZFZDJWZ.js";
12
- import {
13
- checkDangerousPatterns,
14
- hasCriticalPattern
15
- } from "./chunk-CMCYL2JC.js";
16
12
  import {
17
13
  checkPathSafety,
18
14
  checkReadPathSafety,
19
15
  containsPathTraversal
20
16
  } from "./chunk-NGVOA6ZQ.js";
17
+ import {
18
+ checkDangerousPatterns,
19
+ hasCriticalPattern
20
+ } from "./chunk-CMCYL2JC.js";
21
21
  import {
22
22
  ContextManager,
23
23
  agentLoop,
@@ -209,7 +209,7 @@ function createExeOSHooks(config) {
209
209
  );
210
210
  }
211
211
  try {
212
- const { listBehaviors } = await import("./behaviors-KRP2Q5XL.js");
212
+ const { listBehaviors } = await import("./behaviors-47CPEKJ7.js");
213
213
  const behaviors = await listBehaviors(config.agentId, config.projectName, 12);
214
214
  if (behaviors.length > 0) {
215
215
  process.stderr.write(
@@ -330,7 +330,7 @@ function createExeOSHooks(config) {
330
330
  async onSubagentStop(_reason) {
331
331
  try {
332
332
  const { getClient } = await import("./lib/database.js");
333
- const { sessionScopeFilter } = await import("./task-scope-ZGFHVDG5.js");
333
+ const { sessionScopeFilter } = await import("./task-scope-P5STKYAC.js");
334
334
  const client = getClient();
335
335
  const ehScope = sessionScopeFilter();
336
336
  const tasks = await client.execute({
@@ -422,7 +422,7 @@ function createExeOSHooks(config) {
422
422
  try {
423
423
  const { writeMemory, flushBatch } = await import("./lib/store.js");
424
424
  const { getClient } = await import("./lib/database.js");
425
- const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-ZGFHVDG5.js");
425
+ const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-P5STKYAC.js");
426
426
  const client = getClient();
427
427
  const cpScope = cpScopeFilter();
428
428
  const tasks = await client.execute({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  storeBehavior
3
- } from "./chunk-CCYRCRLW.js";
3
+ } from "./chunk-PMEOSD6S.js";
4
4
  import {
5
5
  getClient
6
- } from "./chunk-N5G4T47B.js";
6
+ } from "./chunk-SCYWCWKY.js";
7
7
  import {
8
8
  loadConfig
9
9
  } from "./chunk-DFIOOK5R.js";
@@ -4,31 +4,31 @@ import {
4
4
  } from "./chunk-HMP5VT6A.js";
5
5
  import {
6
6
  createTask
7
- } from "./chunk-PRU6NRJY.js";
7
+ } from "./chunk-EOS7VPVT.js";
8
8
  import {
9
9
  getActiveAgent
10
- } from "./chunk-HU5SQUZX.js";
10
+ } from "./chunk-BUOMSIXH.js";
11
11
  import {
12
12
  ensureEmployee,
13
13
  logTaskDispatch,
14
14
  resolveExeSession
15
- } from "./chunk-FMJ4D5G6.js";
15
+ } from "./chunk-HED6D5KR.js";
16
16
  import {
17
17
  recordOrchestrationEventBestEffort
18
- } from "./chunk-P4WXINQT.js";
18
+ } from "./chunk-OR3TAZL3.js";
19
19
  import {
20
20
  getAgentRuntime,
21
21
  validateRuntimeModel
22
22
  } from "./chunk-QB5JOGPK.js";
23
23
  import {
24
24
  getLicenseSync
25
- } from "./chunk-VTMPER4B.js";
25
+ } from "./chunk-XYG722JW.js";
26
26
  import {
27
27
  getAgentContext
28
28
  } from "./chunk-GJV3WDWM.js";
29
29
  import {
30
30
  isCoordinatorName
31
- } from "./chunk-N5G4T47B.js";
31
+ } from "./chunk-SCYWCWKY.js";
32
32
 
33
33
  // src/mcp/tools/create-task.ts
34
34
  import { z } from "zod";
@@ -334,7 +334,7 @@ function registerCreateTask(server) {
334
334
  session_scope: sessionScope,
335
335
  created_at: (/* @__PURE__ */ new Date()).toISOString()
336
336
  }), "utf-8");
337
- const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-2MVWZ2ET.js");
337
+ const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-PZLLPCKY.js");
338
338
  recordOE({
339
339
  eventType: "signal.created",
340
340
  source: "create-task.mcp",
@@ -366,7 +366,7 @@ function registerCreateTask(server) {
366
366
  let projectConflictOpts = {};
367
367
  try {
368
368
  const { getClient } = await import("./lib/database.js");
369
- const { sessionScopeFilter } = await import("./task-scope-ZGFHVDG5.js");
369
+ const { sessionScopeFilter } = await import("./task-scope-P5STKYAC.js");
370
370
  const client = getClient();
371
371
  const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
372
372
  const existing = await client.execute({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  updateTask
3
- } from "./chunk-PRU6NRJY.js";
3
+ } from "./chunk-EOS7VPVT.js";
4
4
  import {
5
5
  TASK_ALREADY_CLAIMED_PREFIX
6
- } from "./chunk-FMJ4D5G6.js";
6
+ } from "./chunk-HED6D5KR.js";
7
7
 
8
8
  // src/mcp/tools/update-task.ts
9
9
  import { z } from "zod";
@@ -40,7 +40,7 @@ function registerUpdateTask(server) {
40
40
  let callerAgentId;
41
41
  let callerSession;
42
42
  try {
43
- const { getActiveAgent: getAgent } = await import("./active-agent-F3TFM4GE.js");
43
+ const { getActiveAgent: getAgent } = await import("./active-agent-S5T2YMOR.js");
44
44
  callerAgentId = getAgent().agentId;
45
45
  const { getAgentContext } = await import("./agent-context-AZTTMUHP.js");
46
46
  callerSession = getAgentContext()?.sessionHint || process.env.EXE_SESSION_NAME || process.env.EXE_SESSION || void 0;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  isExeSession
3
- } from "./chunk-FMJ4D5G6.js";
3
+ } from "./chunk-HED6D5KR.js";
4
4
  import {
5
5
  recordOrchestrationEventBestEffort
6
- } from "./chunk-P4WXINQT.js";
6
+ } from "./chunk-OR3TAZL3.js";
7
7
  import {
8
8
  getClient,
9
9
  isCoordinatorName
10
- } from "./chunk-N5G4T47B.js";
10
+ } from "./chunk-SCYWCWKY.js";
11
11
  import {
12
12
  isDaemonAlive
13
13
  } from "./chunk-7HLWBYH7.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getGitRoot,
3
3
  isWorktreeDirty
4
- } from "./chunk-5SYMJCBM.js";
4
+ } from "./chunk-RZJ6DXVE.js";
5
5
 
6
6
  // src/lib/worktree-sweep.ts
7
7
  import { execFileSync } from "child_process";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  isClientConnected,
6
6
  sendDaemonRequest
7
- } from "./chunk-JBWYZAQE.js";
7
+ } from "./chunk-PPXQE7AS.js";
8
8
 
9
9
  // src/lib/memory-queue-client.ts
10
10
  async function writeMemoryViaDaemon(entry) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadEmployees
3
- } from "./chunk-N5G4T47B.js";
3
+ } from "./chunk-SCYWCWKY.js";
4
4
 
5
5
  // src/lib/agent-symlinks.ts
6
6
  import os from "os";
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-VUH67PT4.js";
4
4
  import {
5
5
  isGhostBehaviorRow
6
- } from "./chunk-CCYRCRLW.js";
6
+ } from "./chunk-PMEOSD6S.js";
7
7
  import {
8
8
  getClient,
9
9
  getIdentity,
10
10
  listIdentities,
11
11
  updateIdentity
12
- } from "./chunk-N5G4T47B.js";
12
+ } from "./chunk-SCYWCWKY.js";
13
13
  import {
14
14
  atomicWriteJsonSync
15
15
  } from "./chunk-65DBIEM2.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-N5G4T47B.js";
3
+ } from "./chunk-SCYWCWKY.js";
4
4
 
5
5
  // src/lib/orchestration-events.ts
6
6
  import crypto from "crypto";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  vectorToSqlLiteral
3
- } from "./chunk-X37ENEN5.js";
3
+ } from "./chunk-WBJXJ2R4.js";
4
4
  import {
5
5
  blobToVector
6
6
  } from "./chunk-OTVEIJUQ.js";
7
7
  import {
8
8
  getClient
9
- } from "./chunk-N5G4T47B.js";
9
+ } from "./chunk-SCYWCWKY.js";
10
10
 
11
11
  // src/lib/behaviors.ts
12
12
  import crypto from "crypto";
@@ -2,12 +2,12 @@ import {
2
2
  ensureDaemonToken,
3
3
  readDaemonToken
4
4
  } from "./chunk-RQ7OVXUZ.js";
5
+ import {
6
+ requestRestart
7
+ } from "./chunk-RVXWGPD3.js";
5
8
  import {
6
9
  computeDaemonHeapCapMb
7
10
  } from "./chunk-7XGDTKHX.js";
8
- import {
9
- requestRestart
10
- } from "./chunk-7L2EV3XX.js";
11
11
  import {
12
12
  EXE_AI_DIR
13
13
  } from "./chunk-DFIOOK5R.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  deactivateBehavior
3
- } from "./chunk-CCYRCRLW.js";
3
+ } from "./chunk-PMEOSD6S.js";
4
4
  import {
5
5
  getActiveAgent
6
- } from "./chunk-HU5SQUZX.js";
6
+ } from "./chunk-BUOMSIXH.js";
7
7
  import {
8
8
  canCoordinate,
9
9
  getClient
10
- } from "./chunk-N5G4T47B.js";
10
+ } from "./chunk-SCYWCWKY.js";
11
11
 
12
12
  // src/mcp/tools/deactivate-behavior.ts
13
13
  import { z } from "zod";
@@ -24,7 +24,7 @@ function registerDeactivateBehavior(server) {
24
24
  async ({ behavior_id }) => {
25
25
  const caller = getActiveAgent();
26
26
  try {
27
- const { StewardGate } = await import("./steward-gate-VLN2FTQD.js");
27
+ const { StewardGate } = await import("./steward-gate-6NWRDLX2.js");
28
28
  const steward = new StewardGate();
29
29
  const gateDecision = await steward.checkAuthority(caller.agentId || "unknown", "deactivate_behavior", behavior_id);
30
30
  if (!gateDecision.allowed) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listReminders
3
- } from "./chunk-MDO5LEP7.js";
3
+ } from "./chunk-JNARUXDC.js";
4
4
 
5
5
  // src/mcp/tools/list-reminders.ts
6
6
  import { z } from "zod";
@@ -295,15 +295,48 @@ function cleanWorkerPidFiles() {
295
295
  } catch {
296
296
  }
297
297
  }
298
- function updateMcpVersionMarker() {
298
+ async function updateMcpVersionMarker(opts) {
299
299
  try {
300
- writeFileSync(MCP_VERSION_PATH, `deploy-${Date.now()}`);
301
- process.stderr.write("[restart-orchestrator] MCP version marker updated \u2014 servers will hot-reload within 10s\n");
302
- logRestart({ event: "mcp_marker_updated" });
300
+ let surfaceHash = opts?.surfaceHash;
301
+ if (surfaceHash === void 0) {
302
+ surfaceHash = await computeMcpSurfaceHash();
303
+ }
304
+ const { buildMcpVersionMarker } = await import("./mcp-tool-surface-CSPFXL3F.js");
305
+ const marker = buildMcpVersionMarker(surfaceHash ?? null);
306
+ let current = null;
307
+ try {
308
+ current = existsSync(MCP_VERSION_PATH) ? readFileSync(MCP_VERSION_PATH, "utf8").trim() : null;
309
+ } catch {
310
+ }
311
+ if (current === marker) {
312
+ process.stderr.write(
313
+ "[restart-orchestrator] MCP tool surface unchanged \u2014 marker NOT updated, no hot-reload\n"
314
+ );
315
+ logRestart({ event: "mcp_marker_unchanged", marker });
316
+ return;
317
+ }
318
+ writeFileSync(MCP_VERSION_PATH, marker);
319
+ const surfaceMode = surfaceHash ? "surface-hash" : "timestamp-fallback";
320
+ process.stderr.write(
321
+ `[restart-orchestrator] MCP version marker updated (${surfaceMode}) \u2014 servers will hot-reload within 10s
322
+ `
323
+ );
324
+ logRestart({ event: "mcp_marker_updated", mode: surfaceMode });
303
325
  } catch {
304
326
  }
305
327
  }
306
- function requestDeployRestart(reason) {
328
+ async function computeMcpSurfaceHash() {
329
+ try {
330
+ const [{ computeToolSurfaceHash }, { registerAllTools }] = await Promise.all([
331
+ import("./mcp-tool-surface-CSPFXL3F.js"),
332
+ import("./mcp/register-tools.js")
333
+ ]);
334
+ return computeToolSurfaceHash((server) => registerAllTools(server));
335
+ } catch {
336
+ return null;
337
+ }
338
+ }
339
+ async function requestDeployRestart(reason) {
307
340
  const deployReason = reason ?? "deploy";
308
341
  if (!acquireLock()) {
309
342
  process.stderr.write("[restart-orchestrator] Lock held \u2014 waiting briefly for deploy\n");
@@ -340,7 +373,7 @@ function requestDeployRestart(reason) {
340
373
  }
341
374
  const orphansKilled = killOrphanedDaemons();
342
375
  const backfillKilled = killOrphanedBackfill();
343
- updateMcpVersionMarker();
376
+ await updateMcpVersionMarker();
344
377
  cleanWorkerPidFiles();
345
378
  try {
346
379
  unlinkSync(SOCKET_PATH);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  recordOrchestrationEventBestEffort
3
- } from "./chunk-P4WXINQT.js";
3
+ } from "./chunk-OR3TAZL3.js";
4
4
 
5
5
  // src/lib/worktree.ts
6
6
  import { execSync } from "child_process";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2I23RPSI.js";
4
4
  import {
5
5
  listBackups
6
- } from "./chunk-Q5V3B6BP.js";
6
+ } from "./chunk-GWPICNSO.js";
7
7
  import {
8
8
  getEmotionalBaseline,
9
9
  renderEmotionalBaselineSection
@@ -1119,7 +1119,7 @@ async function migrateReflectionDedup(client) {
1119
1119
  "ALTER TABLE memory_reflections ADD COLUMN dedup_key TEXT",
1120
1120
  "migration add memory_reflections.dedup_key"
1121
1121
  );
1122
- const { reflectionDedupKey } = await import("./memory-reflection-KSOFEZNV.js");
1122
+ const { reflectionDedupKey } = await import("./memory-reflection-PXF6YFDU.js");
1123
1123
  const keyForRow = (row) => {
1124
1124
  let sources = [];
1125
1125
  try {
@@ -1368,7 +1368,7 @@ async function _attemptBackupRestore(config) {
1368
1368
  } catch {
1369
1369
  }
1370
1370
  try {
1371
- const { pruneCorruptQuarantine } = await import("./db-backup-3CT2GJK2.js");
1371
+ const { pruneCorruptQuarantine } = await import("./db-backup-EORG4LBO.js");
1372
1372
  pruneCorruptQuarantine();
1373
1373
  } catch {
1374
1374
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-N5G4T47B.js";
3
+ } from "./chunk-SCYWCWKY.js";
4
4
 
5
5
  // src/lib/pipeline-router.ts
6
6
  import crypto from "crypto";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isCrdtSyncEnabled
3
- } from "./chunk-KYF3KSFT.js";
3
+ } from "./chunk-K4BKJJ4F.js";
4
4
  import {
5
5
  GHOST_BEHAVIOR_SQL,
6
6
  isGhostBehaviorRow
7
- } from "./chunk-CCYRCRLW.js";
7
+ } from "./chunk-PMEOSD6S.js";
8
8
  import {
9
9
  decryptSyncBlob,
10
10
  encryptSyncBlob,
@@ -13,16 +13,16 @@ import {
13
13
  } from "./chunk-LO6L5ADL.js";
14
14
  import {
15
15
  retryOnDaemonTransportError
16
- } from "./chunk-4VHQ6QQ3.js";
16
+ } from "./chunk-DNFU56ZS.js";
17
17
  import {
18
18
  getClient,
19
19
  loadEmployees,
20
20
  registerBinSymlinks,
21
21
  saveEmployees
22
- } from "./chunk-N5G4T47B.js";
22
+ } from "./chunk-SCYWCWKY.js";
23
23
  import {
24
24
  loadDeviceId
25
- } from "./chunk-UN6KSHLI.js";
25
+ } from "./chunk-JV225JBX.js";
26
26
  import {
27
27
  EXE_AI_DIR
28
28
  } from "./chunk-DFIOOK5R.js";
@@ -584,7 +584,7 @@ async function cloudSync(config, options) {
584
584
  let pulled = 0;
585
585
  if (pullResult.records.length > 0) {
586
586
  if (shouldUseCrdtMergeForCloudSync()) {
587
- const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-V4MYKLOX.js");
587
+ const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-ZFIFL2QM.js");
588
588
  initCrdtDoc();
589
589
  importExistingMemories(
590
590
  pullResult.records.map((rec) => ({
@@ -1023,7 +1023,7 @@ async function cloudSync(config, options) {
1023
1023
  }
1024
1024
  const totalMemories = await countRows("SELECT COUNT(*) as cnt FROM memories WHERE status = 'active' OR status IS NULL");
1025
1025
  try {
1026
- const { getLatestBackup } = await import("./db-backup-3CT2GJK2.js");
1026
+ const { getLatestBackup } = await import("./db-backup-EORG4LBO.js");
1027
1027
  const latestBackup = getLatestBackup();
1028
1028
  if (latestBackup) {
1029
1029
  const backupSize = statSync(latestBackup).size;
@@ -5,13 +5,13 @@ import {
5
5
  notifyParentExe,
6
6
  resolveExeSession,
7
7
  sendIntercom
8
- } from "./chunk-FMJ4D5G6.js";
8
+ } from "./chunk-HED6D5KR.js";
9
9
  import {
10
10
  getTransport
11
11
  } from "./chunk-KOO3J5PV.js";
12
12
  import {
13
13
  recordOrchestrationEventBestEffort
14
- } from "./chunk-P4WXINQT.js";
14
+ } from "./chunk-OR3TAZL3.js";
15
15
  import {
16
16
  getAgentRuntime
17
17
  } from "./chunk-QB5JOGPK.js";
@@ -22,7 +22,7 @@ import {
22
22
  isCoordinatorName,
23
23
  isMultiInstance,
24
24
  shouldAutoInstance
25
- } from "./chunk-N5G4T47B.js";
25
+ } from "./chunk-SCYWCWKY.js";
26
26
 
27
27
  // src/lib/tasks-notify.ts
28
28
  var VERIFY_DELAY_MS = 1e4;
@@ -68,7 +68,7 @@ async function dispatchTaskToEmployee(input) {
68
68
  let crossProject = false;
69
69
  if (input.projectName) {
70
70
  try {
71
- const { assertSessionScope } = await import("./session-scope-PPGKSJEL.js");
71
+ const { assertSessionScope } = await import("./session-scope-JGDYAMJO.js");
72
72
  const check = assertSessionScope("dispatch_task", input.projectName);
73
73
  if (check.reason === "cross_session_denied") {
74
74
  crossProject = true;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  fastDbInit
3
- } from "./chunk-EW2P62CV.js";
3
+ } from "./chunk-QE7UVQDP.js";
4
4
  import {
5
5
  sessionScopeFilter
6
- } from "./chunk-FMJ4D5G6.js";
6
+ } from "./chunk-HED6D5KR.js";
7
7
  import {
8
8
  formatStatusAll,
9
9
  formatStatusDeep,
@@ -14,7 +14,7 @@ import {
14
14
  getClient,
15
15
  isCoordinatorRole,
16
16
  loadEmployees
17
- } from "./chunk-N5G4T47B.js";
17
+ } from "./chunk-SCYWCWKY.js";
18
18
  import {
19
19
  isMainModule
20
20
  } from "./chunk-6Y4B3QF6.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  initStore
3
- } from "./chunk-X37ENEN5.js";
3
+ } from "./chunk-WBJXJ2R4.js";
4
4
  import {
5
5
  getClient,
6
6
  isInitialized
7
- } from "./chunk-N5G4T47B.js";
7
+ } from "./chunk-SCYWCWKY.js";
8
8
 
9
9
  // src/lib/schedules.ts
10
10
  import crypto from "crypto";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  extractMemoryGraph
3
- } from "./chunk-JAPPHNDZ.js";
3
+ } from "./chunk-ZZXADKAP.js";
4
4
  import {
5
5
  flushBatch,
6
6
  writeMemory
7
- } from "./chunk-X37ENEN5.js";
7
+ } from "./chunk-WBJXJ2R4.js";
8
8
  import {
9
9
  extractKeywords
10
10
  } from "./chunk-CHCA3ZM2.js";
11
11
  import {
12
12
  getActiveAgent
13
- } from "./chunk-HU5SQUZX.js";
13
+ } from "./chunk-BUOMSIXH.js";
14
14
 
15
15
  // src/mcp/tools/import-conversations.ts
16
16
  import { z } from "zod";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getCurrentSessionScope,
3
3
  strictSessionScopeFilter
4
- } from "./chunk-FMJ4D5G6.js";
4
+ } from "./chunk-HED6D5KR.js";
5
5
  import {
6
6
  getProjectName
7
7
  } from "./chunk-OPU3NYOO.js";