@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
package/dist/lib/db.js CHANGED
@@ -22,9 +22,9 @@ import {
22
22
  setExternalClient,
23
23
  sweepExpiredSoftDeletedMemories,
24
24
  tryGetRawClient
25
- } from "../chunk-N5G4T47B.js";
25
+ } from "../chunk-SCYWCWKY.js";
26
26
  import "../chunk-2I23RPSI.js";
27
- import "../chunk-Q5V3B6BP.js";
27
+ import "../chunk-GWPICNSO.js";
28
28
  import "../chunk-PNQDP3OA.js";
29
29
  import "../chunk-VQRTO7IS.js";
30
30
  import "../chunk-7HLWBYH7.js";
@@ -3,7 +3,7 @@ import {
3
3
  getDeviceInfo,
4
4
  resolveTargetDevice,
5
5
  setFriendlyName
6
- } from "../chunk-V7E4I7J5.js";
6
+ } from "../chunk-2EJ636HI.js";
7
7
  import "../chunk-DFIOOK5R.js";
8
8
  import "../chunk-65DBIEM2.js";
9
9
  import "../chunk-MLKGABMK.js";
@@ -6,11 +6,11 @@ import {
6
6
  embedDirect,
7
7
  getEmbedder,
8
8
  prepareEmbeddingText
9
- } from "../chunk-S4OOC2EM.js";
10
- import "../chunk-JBWYZAQE.js";
9
+ } from "../chunk-43R2GILO.js";
10
+ import "../chunk-PPXQE7AS.js";
11
11
  import "../chunk-RQ7OVXUZ.js";
12
+ import "../chunk-RVXWGPD3.js";
12
13
  import "../chunk-7XGDTKHX.js";
13
- import "../chunk-7L2EV3XX.js";
14
14
  import "../chunk-FXU7JOXK.js";
15
15
  import "../chunk-DFIOOK5R.js";
16
16
  import "../chunk-65DBIEM2.js";
@@ -10,12 +10,12 @@ import {
10
10
  getTemplateByRole,
11
11
  personalizePrompt,
12
12
  renderClientCOOTemplate
13
- } from "../chunk-MGKZPSXW.js";
14
- import "../chunk-S76SQ6R5.js";
13
+ } from "../chunk-IZPO6IOZ.js";
14
+ import "../chunk-ISILDO7P.js";
15
15
  import "../chunk-VUH67PT4.js";
16
- import "../chunk-N5G4T47B.js";
16
+ import "../chunk-SCYWCWKY.js";
17
17
  import "../chunk-2I23RPSI.js";
18
- import "../chunk-Q5V3B6BP.js";
18
+ import "../chunk-GWPICNSO.js";
19
19
  import "../chunk-PNQDP3OA.js";
20
20
  import "../chunk-VQRTO7IS.js";
21
21
  import "../chunk-7HLWBYH7.js";
@@ -28,9 +28,9 @@ import {
28
28
  saveEmployees,
29
29
  shouldAutoInstance,
30
30
  validateEmployeeName
31
- } from "../chunk-N5G4T47B.js";
31
+ } from "../chunk-SCYWCWKY.js";
32
32
  import "../chunk-2I23RPSI.js";
33
- import "../chunk-Q5V3B6BP.js";
33
+ import "../chunk-GWPICNSO.js";
34
34
  import "../chunk-PNQDP3OA.js";
35
35
  import "../chunk-VQRTO7IS.js";
36
36
  import "../chunk-7HLWBYH7.js";
@@ -8,10 +8,10 @@ import {
8
8
  pingDaemon,
9
9
  sendDaemonRequest,
10
10
  sendIngestRequest
11
- } from "../chunk-JBWYZAQE.js";
11
+ } from "../chunk-PPXQE7AS.js";
12
12
  import "../chunk-RQ7OVXUZ.js";
13
+ import "../chunk-RVXWGPD3.js";
13
14
  import "../chunk-7XGDTKHX.js";
14
- import "../chunk-7L2EV3XX.js";
15
15
  import "../chunk-DFIOOK5R.js";
16
16
  import "../chunk-65DBIEM2.js";
17
17
  import "../chunk-MLKGABMK.js";
@@ -23,8 +23,12 @@ import {
23
23
  findScopedDuplicate,
24
24
  governMemoryRecord,
25
25
  schedulePostWriteMemoryHygiene
26
- } from "../chunk-PGQMMD5P.js";
26
+ } from "../chunk-MQCTK6EF.js";
27
27
  import "../chunk-Y25OJWOQ.js";
28
+ import {
29
+ consumeRestartIntent,
30
+ logRestartEvent
31
+ } from "../chunk-RVXWGPD3.js";
28
32
  import {
29
33
  DAEMON_RSS_RESTART_DEBOUNCE,
30
34
  DAEMON_RSS_STARTUP_GRACE_MS,
@@ -41,10 +45,6 @@ import {
41
45
  resolveEmbedWorkerRssKillMb,
42
46
  shouldRestartForRss
43
47
  } from "../chunk-7XGDTKHX.js";
44
- import {
45
- consumeRestartIntent,
46
- logRestartEvent
47
- } from "../chunk-7L2EV3XX.js";
48
48
  import {
49
49
  resolveEmbeddingsEnabled
50
50
  } from "../chunk-PHFPIUWU.js";
@@ -1101,7 +1101,7 @@ async function loadModel() {
1101
1101
  void (async () => {
1102
1102
  try {
1103
1103
  if (_storeInitialized) {
1104
- const { writeNotification } = await import("../notifications-FAHXEFR2.js");
1104
+ const { writeNotification } = await import("../notifications-UP7WQGG4.js");
1105
1105
  await writeNotification({
1106
1106
  agentId: "exe",
1107
1107
  agentRole: "system",
@@ -1217,7 +1217,7 @@ function disableEmbeddingsForInferenceTimeouts() {
1217
1217
  void (async () => {
1218
1218
  try {
1219
1219
  if (_storeInitialized) {
1220
- const { writeNotification } = await import("../notifications-FAHXEFR2.js");
1220
+ const { writeNotification } = await import("../notifications-UP7WQGG4.js");
1221
1221
  await writeNotification({
1222
1222
  agentId: "exe",
1223
1223
  agentRole: "system",
@@ -1428,7 +1428,7 @@ async function shutdown(exitCode = 0) {
1428
1428
  }
1429
1429
  }
1430
1430
  try {
1431
- const { createBackupAsync, enforceRetention, hasRecentBackup } = await import("../db-backup-3CT2GJK2.js");
1431
+ const { createBackupAsync, enforceRetention, hasRecentBackup } = await import("../db-backup-EORG4LBO.js");
1432
1432
  const PRE_RESTART_DEDUP_MS = 2 * 60 * 1e3;
1433
1433
  if (hasRecentBackup("pre-restart", PRE_RESTART_DEDUP_MS)) {
1434
1434
  const deleted = enforceRetention("pre-restart");
@@ -1459,7 +1459,7 @@ async function shutdown(exitCode = 0) {
1459
1459
  `);
1460
1460
  }
1461
1461
  try {
1462
- const { stopProjectionWorker } = await import("../projection-worker-UBPNRKPX.js");
1462
+ const { stopProjectionWorker } = await import("../projection-worker-HWY37MNC.js");
1463
1463
  stopProjectionWorker();
1464
1464
  } catch {
1465
1465
  }
@@ -1525,7 +1525,7 @@ async function handleHealthCheck(socket, requestId) {
1525
1525
  let pipelineStatus = "unknown";
1526
1526
  if (dbConnected) {
1527
1527
  try {
1528
- await import("../pipeline-router-M3ESJZYK.js");
1528
+ await import("../pipeline-router-5CRWKESM.js");
1529
1529
  pipelineStatus = "ok";
1530
1530
  } catch {
1531
1531
  pipelineStatus = "unavailable";
@@ -1921,7 +1921,7 @@ async function _writeMemoryRecordInner(entry) {
1921
1921
  const vRow = await client.execute({ sql: "SELECT version FROM memories WHERE id = ?", args: [id] });
1922
1922
  const version = Number(vRow.rows[0]?.version) || 0;
1923
1923
  try {
1924
- const { insertOntologyForMemory } = await import("../agentic-ontology-B36CUQLH.js");
1924
+ const { insertOntologyForMemory } = await import("../agentic-ontology-6KBAXLSJ.js");
1925
1925
  await insertOntologyForMemory({
1926
1926
  id,
1927
1927
  agent_id: record.agent_id,
@@ -2005,7 +2005,7 @@ function startMessageQueueDrain() {
2005
2005
  fired("message_queue_drain");
2006
2006
  if (!await ensureStoreForPolling()) return;
2007
2007
  try {
2008
- const { claimMessageQueue, ackMessageQueue } = await import("../message-queue-client-32HOVUK7.js");
2008
+ const { claimMessageQueue, ackMessageQueue } = await import("../message-queue-client-4VDU6BZY.js");
2009
2009
  const lease = claimMessageQueue();
2010
2010
  if (!lease || lease.entries.length === 0) return;
2011
2011
  acted("message_queue_drain");
@@ -2549,7 +2549,7 @@ async function startMcpHttpServer() {
2549
2549
  }
2550
2550
  process.stderr.write("[exed] MCP HTTP: DB ready\n");
2551
2551
  _storeInitialized = true;
2552
- const { initLicenseGate, getCachedLicenseGate } = await import("../license-gate-U7TC44UX.js");
2552
+ const { initLicenseGate, getCachedLicenseGate } = await import("../license-gate-7SDHCJUO.js");
2553
2553
  const gateResult = await initLicenseGate();
2554
2554
  if (!gateResult.hasKey) {
2555
2555
  process.stderr.write(
@@ -2564,13 +2564,13 @@ async function startMcpHttpServer() {
2564
2564
  let _cachedWrapTelemetry = null;
2565
2565
  async function getWrapTelemetry() {
2566
2566
  if (!_cachedWrapTelemetry) {
2567
- const { wrapServerWithTelemetry } = await import("../tool-telemetry-P6XVPFOF.js");
2567
+ const { wrapServerWithTelemetry } = await import("../tool-telemetry-BS5JXM5M.js");
2568
2568
  _cachedWrapTelemetry = wrapServerWithTelemetry;
2569
2569
  }
2570
2570
  return _cachedWrapTelemetry;
2571
2571
  }
2572
2572
  Promise.all([
2573
- import("../tool-capability-index-335P663V.js"),
2573
+ import("../tool-capability-index-ZEXBWKUZ.js"),
2574
2574
  import("../tool-gates-3IC7DK4R.js")
2575
2575
  ]).then(async ([{ getToolCapabilityIndex }, { TOOL_CATEGORIES }]) => {
2576
2576
  const gateState = getCachedLicenseGate();
@@ -2634,7 +2634,7 @@ async function startMcpHttpServer() {
2634
2634
  if (!token || token === header) return false;
2635
2635
  if (token === _daemonToken) return true;
2636
2636
  try {
2637
- const { verifyAccessToken } = await import("../oauth-server-V4H3SY7H.js");
2637
+ const { verifyAccessToken } = await import("../oauth-server-EWUL7DMD.js");
2638
2638
  const result = verifyAccessToken(token);
2639
2639
  return result.valid;
2640
2640
  } catch {
@@ -2874,7 +2874,7 @@ async function startMcpHttpServer() {
2874
2874
  return;
2875
2875
  }
2876
2876
  try {
2877
- const { handleOAuthRoute } = await import("../oauth-server-V4H3SY7H.js");
2877
+ const { handleOAuthRoute } = await import("../oauth-server-EWUL7DMD.js");
2878
2878
  const handled = await handleOAuthRoute(req, res, url, MCP_HTTP_PORT);
2879
2879
  if (handled) return;
2880
2880
  } catch (err) {
@@ -3002,7 +3002,7 @@ async function startMcpHttpServer() {
3002
3002
  contextPct: body.context_pct
3003
3003
  });
3004
3004
  if (body.context_pct !== void 0 && body.context_pct > 70) {
3005
- void import("../orchestration-events-2MVWZ2ET.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
3005
+ void import("../orchestration-events-PZLLPCKY.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
3006
3006
  recordOE({
3007
3007
  eventType: "context.pressure",
3008
3008
  source: "exe-daemon.heartbeat",
@@ -3586,13 +3586,13 @@ async function ensureStoreForPolling() {
3586
3586
  }
3587
3587
  }
3588
3588
  async function startReviewPolling() {
3589
- const polling = await import("../review-polling-VQUPLRWQ.js");
3589
+ const polling = await import("../review-polling-65JZUE3T.js");
3590
3590
  const state = {
3591
3591
  lastIntercomSent: /* @__PURE__ */ new Map(),
3592
3592
  lastNudgeSent: /* @__PURE__ */ new Map(),
3593
3593
  intervalMs: REVIEW_POLL_INTERVAL_MS
3594
3594
  };
3595
- const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-7ESTK6HS.js");
3595
+ const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-G4RRTPP7.js");
3596
3596
  const nudgeState = loadNudgeState();
3597
3597
  const tick = async () => traceDaemonTimer("review_polling", async () => {
3598
3598
  fired("review_polling");
@@ -3636,7 +3636,7 @@ function startSessionTTL() {
3636
3636
  if (!await ensureStoreForPolling()) return;
3637
3637
  try {
3638
3638
  const { getClient } = await import("./database.js");
3639
- const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-7ESTK6HS.js");
3639
+ const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-G4RRTPP7.js");
3640
3640
  const deps = createSessionTTLRealDeps(getClient);
3641
3641
  const killed = await checkSessionTTL(deps);
3642
3642
  if (killed.length > 0) acted("session_ttl");
@@ -3684,7 +3684,7 @@ function startIdleKill() {
3684
3684
  const cfg = await getCachedConfig();
3685
3685
  if (!cfg) return;
3686
3686
  const { getClient } = await import("./database.js");
3687
- const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-7ESTK6HS.js");
3687
+ const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-G4RRTPP7.js");
3688
3688
  const { sessions: liveSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
3689
3689
  const realDeps = createIdleKillRealDeps(
3690
3690
  getClient,
@@ -3753,7 +3753,7 @@ function startConsolidation() {
3753
3753
  `);
3754
3754
  }
3755
3755
  try {
3756
- const { createBackupAsync, enforceRetention } = await import("../db-backup-3CT2GJK2.js");
3756
+ const { createBackupAsync, enforceRetention } = await import("../db-backup-EORG4LBO.js");
3757
3757
  const p = await createBackupAsync("pre-consolidation");
3758
3758
  if (p) enforceRetention("pre-consolidation");
3759
3759
  } catch (e) {
@@ -3937,7 +3937,7 @@ function startSkillRefinement() {
3937
3937
  if (!shouldRunHeavyJob("skill_refinement")) return;
3938
3938
  try {
3939
3939
  if (!await ensureStoreForPolling()) return;
3940
- const { runSkillRefinement } = await import("../skill-refinement-KITOKH6T.js");
3940
+ const { runSkillRefinement } = await import("../skill-refinement-DUOO6B7V.js");
3941
3941
  const result = await runSkillRefinement();
3942
3942
  if (result.reviewed > 0) {
3943
3943
  acted("skill_refinement");
@@ -3963,7 +3963,7 @@ function startStaleBranchSweep() {
3963
3963
  const tick = async () => {
3964
3964
  fired("stale_branch_sweep");
3965
3965
  try {
3966
- const { discoverRepoPaths } = await import("../worktree-sweep-XCPOF3RD.js");
3966
+ const { discoverRepoPaths } = await import("../worktree-sweep-K3CJFSUL.js");
3967
3967
  const { scanUnmergedBranches } = await import("../branch-hygiene-55TKIWAZ.js");
3968
3968
  const today = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
3969
3969
  for (const k of _staleBranchAlertedToday) {
@@ -3990,7 +3990,7 @@ function startStaleBranchSweep() {
3990
3990
  if (!_storeInitialized) continue;
3991
3991
  const stale = scan.branches.filter((b) => b.ageHours >= STALE_BRANCH_HOURS).slice(0, 5).map((b) => `${b.name} (+${b.ahead} commits, ${(b.ageHours / 24).toFixed(1)}d)`).join("; ");
3992
3992
  try {
3993
- const { writeNotification } = await import("../notifications-FAHXEFR2.js");
3993
+ const { writeNotification } = await import("../notifications-UP7WQGG4.js");
3994
3994
  await writeNotification({
3995
3995
  agentId: "exe",
3996
3996
  agentRole: "system",
@@ -4443,7 +4443,7 @@ function startReflectionSweep() {
4443
4443
  );
4444
4444
  let runReflection;
4445
4445
  try {
4446
- ({ runReflection } = await import("../memory-reflection-KSOFEZNV.js"));
4446
+ ({ runReflection } = await import("../memory-reflection-PXF6YFDU.js"));
4447
4447
  } catch (importErr) {
4448
4448
  _reflectionImportFailed = true;
4449
4449
  process.stderr.write(`[exed] Reflection module unavailable (stale chunk hash?) \u2014 disabled until daemon restart: ${importErr instanceof Error ? importErr.message : String(importErr)}
@@ -4482,7 +4482,7 @@ function startReflectionSweep() {
4482
4482
  if (memories > 100 && cards < memories * 0.1) {
4483
4483
  process.stderr.write(`[exed] Memory cards sparse (${cards} cards / ${memories} memories) \u2014 running backfill...
4484
4484
  `);
4485
- const { insertMemoryCardsForBatch } = await import("../memory-cards-OMPYI2GY.js");
4485
+ const { insertMemoryCardsForBatch } = await import("../memory-cards-II67WFL2.js");
4486
4486
  const batchSize = 500;
4487
4487
  let offset = 0;
4488
4488
  let totalCards = 0;
@@ -4527,7 +4527,7 @@ function startDatabaseBackup() {
4527
4527
  fired("db_backup");
4528
4528
  if (!shouldRunHeavyJob("db_backup")) return;
4529
4529
  try {
4530
- const { createBackupAsync, enforceRetention, hasBackupToday } = await import("../db-backup-3CT2GJK2.js");
4530
+ const { createBackupAsync, enforceRetention, hasBackupToday } = await import("../db-backup-EORG4LBO.js");
4531
4531
  if (hasBackupToday("daily")) return;
4532
4532
  const backupPath = await createBackupAsync("daily");
4533
4533
  if (backupPath) {
@@ -4596,7 +4596,7 @@ function startSessionEventsRetention() {
4596
4596
  if (!await ensureStoreForPolling()) return;
4597
4597
  try {
4598
4598
  const { getClient } = await import("./database.js");
4599
- const { sweepExpiredSessionEvents, DEFAULT_SESSION_EVENTS_RETENTION_DAYS } = await import("../session-events-4GHYBXXH.js");
4599
+ const { sweepExpiredSessionEvents, DEFAULT_SESSION_EVENTS_RETENTION_DAYS } = await import("../session-events-EJ3OSAA6.js");
4600
4600
  const days = SESSION_EVENTS_RETENTION_DAYS ?? DEFAULT_SESSION_EVENTS_RETENTION_DAYS;
4601
4601
  const count = await sweepExpiredSessionEvents(getClient(), days);
4602
4602
  if (count > 0) {
@@ -4664,7 +4664,7 @@ function startOrphanReaper() {
4664
4664
  const tick = async () => traceDaemonTimer("orphan_reaper", async () => {
4665
4665
  fired("orphan_reaper");
4666
4666
  try {
4667
- const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-7ESTK6HS.js");
4667
+ const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-G4RRTPP7.js");
4668
4668
  const deps = await createOrphanReaperRealDepsAsync();
4669
4669
  const reaped = await reapOrphanedMcpProcesses(deps);
4670
4670
  if (reaped.length > 0) acted("orphan_reaper");
@@ -4689,7 +4689,7 @@ function startZombieAgentReaper() {
4689
4689
  const tick = async () => traceDaemonTimer("zombie_agent_reaper", async () => {
4690
4690
  fired("zombie_agent_reaper");
4691
4691
  try {
4692
- const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-7ESTK6HS.js");
4692
+ const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-G4RRTPP7.js");
4693
4693
  const deps = await createZombieAgentReaperRealDepsAsync();
4694
4694
  const reaped = reapZombieAgentProcesses(deps);
4695
4695
  if (reaped.length > 0) acted("zombie_agent_reaper");
@@ -4713,7 +4713,7 @@ function startWorktreeReaper() {
4713
4713
  const tick = async () => traceDaemonTimer("worktree_reaper", async () => {
4714
4714
  fired("worktree_reaper");
4715
4715
  try {
4716
- const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-7ESTK6HS.js");
4716
+ const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-G4RRTPP7.js");
4717
4717
  const deps = await createWorktreeReaperRealDeps();
4718
4718
  const result = await reapOrphanedWorktrees(deps);
4719
4719
  if (result.pruned.length > 0) {
@@ -4753,8 +4753,8 @@ function startWorktreeReaper() {
4753
4753
  }
4754
4754
  continue;
4755
4755
  }
4756
- const { cleanupAgentWorktree } = await import("../worktree-sweep-XCPOF3RD.js");
4757
- const { getMainRepoRoot } = await import("../worktree-4BR3ZQWN.js");
4756
+ const { cleanupAgentWorktree } = await import("../worktree-sweep-K3CJFSUL.js");
4757
+ const { getMainRepoRoot } = await import("../worktree-2CXY6NEB.js");
4758
4758
  const repoRoot = getMainRepoRoot(signal.worktreePath);
4759
4759
  if (repoRoot && signal.agentId) {
4760
4760
  const notes = cleanupAgentWorktree(repoRoot, signal.agentId);
@@ -4788,7 +4788,7 @@ function startWalCheckpoint() {
4788
4788
  try {
4789
4789
  const { getClient, runWalCheckpoint } = await import("./database.js");
4790
4790
  const client = getClient();
4791
- const { findActiveDb } = await import("../db-backup-3CT2GJK2.js");
4791
+ const { findActiveDb } = await import("../db-backup-EORG4LBO.js");
4792
4792
  const dbPath = findActiveDb();
4793
4793
  const started = Date.now();
4794
4794
  const result = await runWalCheckpoint(client, dbPath, true);
@@ -4860,7 +4860,7 @@ function startStuckTaskRelease() {
4860
4860
  if (!await ensureStoreForPolling()) return;
4861
4861
  try {
4862
4862
  const { getClient } = await import("./database.js");
4863
- const { releaseStuckTasks, createStuckTaskRealDeps } = await import("../daemon-orchestration-7ESTK6HS.js");
4863
+ const { releaseStuckTasks, createStuckTaskRealDeps } = await import("../daemon-orchestration-G4RRTPP7.js");
4864
4864
  const deps = createStuckTaskRealDeps(getClient);
4865
4865
  const released = await releaseStuckTasks(deps);
4866
4866
  if (released.length > 0) {
@@ -4992,12 +4992,12 @@ function startTaskEnforcementScanner() {
4992
4992
  const tick = async () => traceDaemonTimer("task_enforcement", async () => {
4993
4993
  fired("task_enforcement");
4994
4994
  try {
4995
- const { runTaskEnforcementTick } = await import("../task-enforcement-XAPBTPBF.js");
4995
+ const { runTaskEnforcementTick } = await import("../task-enforcement-UOULTGFB.js");
4996
4996
  const { getTransport } = await import("./transport.js");
4997
4997
  const { loadAgentConfig } = await import("./agent-config.js");
4998
4998
  const { getClient } = await import("./database.js");
4999
4999
  const { loadEmployeesSync } = await import("./employees.js");
5000
- const { sessionScopeFilter } = await import("../task-scope-ZGFHVDG5.js");
5000
+ const { sessionScopeFilter } = await import("../task-scope-P5STKYAC.js");
5001
5001
  const transport = getTransport();
5002
5002
  const { sessions: allSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
5003
5003
  await yieldToEventLoop();
@@ -5008,10 +5008,10 @@ function startTaskEnforcementScanner() {
5008
5008
  sendKeysLiteral: transport.sendKeysLiteral?.bind(transport),
5009
5009
  isAlive: (session) => aliveSessions.has(session)
5010
5010
  };
5011
- const { checkAutoWakeGates } = await import("../daemon-orchestration-7ESTK6HS.js");
5011
+ const { checkAutoWakeGates } = await import("../daemon-orchestration-G4RRTPP7.js");
5012
5012
  const { ensureEmployeeAsync, employeeSessionName } = await import("./tmux-routing.js");
5013
5013
  const { shouldAutoInstance } = await import("./employees.js");
5014
- const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-2MVWZ2ET.js");
5014
+ const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-PZLLPCKY.js");
5015
5015
  const projectDir = process.cwd();
5016
5016
  await runTaskEnforcementTick({
5017
5017
  transport: enforcementTransport,
@@ -5650,7 +5650,7 @@ if (process.platform === "darwin") {
5650
5650
  logBoot({ socketPath: SOCKET_PATH, pidPath: PID_PATH });
5651
5651
  void (async () => {
5652
5652
  try {
5653
- const { cleanupCrashDebris } = await import("../db-backup-3CT2GJK2.js");
5653
+ const { cleanupCrashDebris } = await import("../db-backup-EORG4LBO.js");
5654
5654
  const removed = cleanupCrashDebris();
5655
5655
  if (removed > 0) {
5656
5656
  process.stderr.write(`[exed] Startup cleanup: pruned ${removed} crash-debris file(s) (backups/quarantine).
@@ -5815,7 +5815,7 @@ function startEventLoopLagDetector() {
5815
5815
  const msg = `[exed] EVENT LOOP BLOCKED ${(lag / 1e3).toFixed(1)}s \u2014 MCP UNRESPONSIVE. Sessions will die.`;
5816
5816
  process.stderr.write(msg + "\n");
5817
5817
  logDaemonHealth({ event: "event_loop_blocked", pid: process.pid, message: msg, data: { lagMs: lag } });
5818
- void import("../orchestration-events-2MVWZ2ET.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
5818
+ void import("../orchestration-events-PZLLPCKY.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
5819
5819
  recordOE({ eventType: "daemon.event_loop_blocked", source: "exe-daemon.lagDetector", severity: "error", durationMs: lag });
5820
5820
  }).catch(() => {
5821
5821
  });
@@ -5934,7 +5934,7 @@ function startTaskFileResync() {
5934
5934
  });
5935
5935
  if (Number(res.rowsAffected ?? 0) > 0) {
5936
5936
  synced++;
5937
- void import("../orchestration-events-2MVWZ2ET.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
5937
+ void import("../orchestration-events-PZLLPCKY.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
5938
5938
  recordOE({
5939
5939
  eventType: "task_file.resynced",
5940
5940
  source: "exe-daemon.taskFileResync",
@@ -5970,7 +5970,7 @@ function startTaskGroupBarriers() {
5970
5970
  fired("task_group_barriers");
5971
5971
  if (!await ensureStoreForPolling()) return;
5972
5972
  try {
5973
- const { pollTaskGroupBarriers } = await import("../daemon-orchestration-7ESTK6HS.js");
5973
+ const { pollTaskGroupBarriers } = await import("../daemon-orchestration-G4RRTPP7.js");
5974
5974
  const firedCount = await pollTaskGroupBarriers();
5975
5975
  if (firedCount > 0) {
5976
5976
  acted("task_group_barriers");
@@ -5992,7 +5992,7 @@ function startCheckpointGc() {
5992
5992
  fired("checkpoint_gc");
5993
5993
  if (!await ensureStoreForPolling()) return;
5994
5994
  try {
5995
- const { gcStaleCheckpoints } = await import("../daemon-orchestration-7ESTK6HS.js");
5995
+ const { gcStaleCheckpoints } = await import("../daemon-orchestration-G4RRTPP7.js");
5996
5996
  const cleared = await gcStaleCheckpoints();
5997
5997
  if (cleared > 0) {
5998
5998
  acted("checkpoint_gc");
@@ -6032,14 +6032,14 @@ function startDispatchAckCleanup() {
6032
6032
  function startProjectionWorkerDeferred() {
6033
6033
  setTimeout(async () => {
6034
6034
  try {
6035
- const { startProjectionWorker } = await import("../projection-worker-UBPNRKPX.js");
6035
+ const { startProjectionWorker } = await import("../projection-worker-HWY37MNC.js");
6036
6036
  startProjectionWorker();
6037
6037
  } catch {
6038
6038
  }
6039
6039
  }, 2e4);
6040
6040
  }
6041
6041
  async function startToolTelemetry() {
6042
- const { startToolTelemetryFlush } = await import("../tool-telemetry-P6XVPFOF.js");
6042
+ const { startToolTelemetryFlush } = await import("../tool-telemetry-BS5JXM5M.js");
6043
6043
  startToolTelemetryFlush();
6044
6044
  process.stderr.write("[exed] Tool telemetry started (flush every 5m)\n");
6045
6045
  }
@@ -6182,7 +6182,7 @@ function startLocalFirstTimers() {
6182
6182
  fired("orphan_task_cleanup");
6183
6183
  try {
6184
6184
  if (!await ensureStoreForPolling()) return;
6185
- const { cleanOrphanedTaskFiles } = await import("../tasks-crud-KIZREZSN.js");
6185
+ const { cleanOrphanedTaskFiles } = await import("../tasks-crud-24HMTULR.js");
6186
6186
  const count = await cleanOrphanedTaskFiles();
6187
6187
  if (count > 0) {
6188
6188
  acted("orphan_task_cleanup");
@@ -6198,7 +6198,7 @@ function startLocalFirstTimers() {
6198
6198
  fired("task_file_consistency");
6199
6199
  try {
6200
6200
  if (!await ensureStoreForPolling()) return;
6201
- const { checkTaskFileConsistency } = await import("../tasks-crud-KIZREZSN.js");
6201
+ const { checkTaskFileConsistency } = await import("../tasks-crud-24HMTULR.js");
6202
6202
  const mismatches = await checkTaskFileConsistency();
6203
6203
  if (mismatches > 0) {
6204
6204
  acted("task_file_consistency");
@@ -6217,7 +6217,7 @@ function startLocalFirstTimers() {
6217
6217
  const TELEMETRY_DAILY_MS = 24 * 60 * 60 * 1e3;
6218
6218
  const telemetryDaily = async () => {
6219
6219
  try {
6220
- const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-ZUFI5VH4.js");
6220
+ const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-DWFGC2XJ.js");
6221
6221
  if (!isTelemetryEnabled()) return;
6222
6222
  const { upstream } = await sendTelemetry(24);
6223
6223
  if (upstream.startsWith("sent")) {
@@ -5,17 +5,17 @@ import {
5
5
  recentRecords,
6
6
  rrfMerge,
7
7
  rrfMergeMulti
8
- } from "../chunk-KCJZJJJG.js";
8
+ } from "../chunk-66JPZELX.js";
9
9
  import "../chunk-AB4PAQYK.js";
10
- import "../chunk-X37ENEN5.js";
10
+ import "../chunk-WBJXJ2R4.js";
11
11
  import "../chunk-CHCA3ZM2.js";
12
12
  import "../chunk-OTVEIJUQ.js";
13
- import "../chunk-PGQMMD5P.js";
13
+ import "../chunk-MQCTK6EF.js";
14
14
  import "../chunk-Y25OJWOQ.js";
15
15
  import "../chunk-MP2AFCGL.js";
16
- import "../chunk-N5G4T47B.js";
16
+ import "../chunk-SCYWCWKY.js";
17
17
  import "../chunk-2I23RPSI.js";
18
- import "../chunk-Q5V3B6BP.js";
18
+ import "../chunk-GWPICNSO.js";
19
19
  import "../chunk-PNQDP3OA.js";
20
20
  import "../chunk-VQRTO7IS.js";
21
21
  import "../chunk-7HLWBYH7.js";
@@ -4,9 +4,9 @@ import {
4
4
  identityPath,
5
5
  listIdentities,
6
6
  updateIdentity
7
- } from "../chunk-N5G4T47B.js";
7
+ } from "../chunk-SCYWCWKY.js";
8
8
  import "../chunk-2I23RPSI.js";
9
- import "../chunk-Q5V3B6BP.js";
9
+ import "../chunk-GWPICNSO.js";
10
10
  import "../chunk-PNQDP3OA.js";
11
11
  import "../chunk-VQRTO7IS.js";
12
12
  import "../chunk-7HLWBYH7.js";
@@ -14,8 +14,8 @@ import {
14
14
  startLicenseRevalidation,
15
15
  stopLicenseRevalidation,
16
16
  validateLicense
17
- } from "../chunk-UN6KSHLI.js";
18
- import "../chunk-V7E4I7J5.js";
17
+ } from "../chunk-JV225JBX.js";
18
+ import "../chunk-2EJ636HI.js";
19
19
  import "../chunk-DFIOOK5R.js";
20
20
  import "../chunk-65DBIEM2.js";
21
21
  import "../chunk-MLKGABMK.js";
@@ -15,35 +15,35 @@ import {
15
15
  sendMessage,
16
16
  sendTypedMessage,
17
17
  setWsClientSend
18
- } from "../chunk-Q32XYR7C.js";
19
- import "../chunk-FMJ4D5G6.js";
20
- import "../chunk-5SYMJCBM.js";
21
- import "../chunk-E23LNUWJ.js";
18
+ } from "../chunk-4Q5VNQTV.js";
19
+ import "../chunk-HED6D5KR.js";
20
+ import "../chunk-RZJ6DXVE.js";
22
21
  import "../chunk-4JERP7NT.js";
23
22
  import "../chunk-4FVVJ7ME.js";
24
- import "../chunk-G4SVYLPT.js";
23
+ import "../chunk-E23LNUWJ.js";
24
+ import "../chunk-WJ2PZGRV.js";
25
+ import "../chunk-SSTLTIF3.js";
25
26
  import "../chunk-KOO3J5PV.js";
26
27
  import "../chunk-22TVSRQQ.js";
27
- import "../chunk-SSTLTIF3.js";
28
- import "../chunk-P4WXINQT.js";
28
+ import "../chunk-OR3TAZL3.js";
29
29
  import "../chunk-QB5JOGPK.js";
30
30
  import "../chunk-NGP6LSV2.js";
31
- import "../chunk-VTMPER4B.js";
31
+ import "../chunk-XYG722JW.js";
32
32
  import "../chunk-CVYC6DUW.js";
33
33
  import "../chunk-OPU3NYOO.js";
34
34
  import "../chunk-GJV3WDWM.js";
35
35
  import "../chunk-MP2AFCGL.js";
36
- import "../chunk-HDCP6CGI.js";
36
+ import "../chunk-NIZQ3CIS.js";
37
37
  import "../chunk-HYZV25LY.js";
38
- import "../chunk-N5G4T47B.js";
38
+ import "../chunk-SCYWCWKY.js";
39
39
  import "../chunk-2I23RPSI.js";
40
- import "../chunk-Q5V3B6BP.js";
40
+ import "../chunk-GWPICNSO.js";
41
41
  import "../chunk-PNQDP3OA.js";
42
42
  import "../chunk-VQRTO7IS.js";
43
43
  import "../chunk-7HLWBYH7.js";
44
44
  import "../chunk-FXU7JOXK.js";
45
- import "../chunk-UN6KSHLI.js";
46
- import "../chunk-V7E4I7J5.js";
45
+ import "../chunk-JV225JBX.js";
46
+ import "../chunk-2EJ636HI.js";
47
47
  import "../chunk-DFIOOK5R.js";
48
48
  import "../chunk-65DBIEM2.js";
49
49
  import "../chunk-MLKGABMK.js";
@@ -2,10 +2,10 @@ import {
2
2
  completeReminder,
3
3
  createReminder,
4
4
  listReminders
5
- } from "../chunk-MDO5LEP7.js";
6
- import "../chunk-N5G4T47B.js";
5
+ } from "../chunk-JNARUXDC.js";
6
+ import "../chunk-SCYWCWKY.js";
7
7
  import "../chunk-2I23RPSI.js";
8
- import "../chunk-Q5V3B6BP.js";
8
+ import "../chunk-GWPICNSO.js";
9
9
  import "../chunk-PNQDP3OA.js";
10
10
  import "../chunk-VQRTO7IS.js";
11
11
  import "../chunk-7HLWBYH7.js";
@@ -4,16 +4,16 @@ import {
4
4
  deleteSchedule,
5
5
  listSchedules,
6
6
  parseHumanCron
7
- } from "../chunk-7RGIYC7W.js";
8
- import "../chunk-X37ENEN5.js";
7
+ } from "../chunk-V42BSVX6.js";
8
+ import "../chunk-WBJXJ2R4.js";
9
9
  import "../chunk-CHCA3ZM2.js";
10
10
  import "../chunk-OTVEIJUQ.js";
11
- import "../chunk-PGQMMD5P.js";
11
+ import "../chunk-MQCTK6EF.js";
12
12
  import "../chunk-Y25OJWOQ.js";
13
13
  import "../chunk-MP2AFCGL.js";
14
- import "../chunk-N5G4T47B.js";
14
+ import "../chunk-SCYWCWKY.js";
15
15
  import "../chunk-2I23RPSI.js";
16
- import "../chunk-Q5V3B6BP.js";
16
+ import "../chunk-GWPICNSO.js";
17
17
  import "../chunk-PNQDP3OA.js";
18
18
  import "../chunk-VQRTO7IS.js";
19
19
  import "../chunk-7HLWBYH7.js";
@@ -6,11 +6,11 @@ import {
6
6
  pruneStaleSessions,
7
7
  refreshSessionProject,
8
8
  registerSession
9
- } from "../chunk-G4SVYLPT.js";
10
- import "../chunk-P4WXINQT.js";
11
- import "../chunk-N5G4T47B.js";
9
+ } from "../chunk-WJ2PZGRV.js";
10
+ import "../chunk-OR3TAZL3.js";
11
+ import "../chunk-SCYWCWKY.js";
12
12
  import "../chunk-2I23RPSI.js";
13
- import "../chunk-Q5V3B6BP.js";
13
+ import "../chunk-GWPICNSO.js";
14
14
  import "../chunk-PNQDP3OA.js";
15
15
  import "../chunk-VQRTO7IS.js";
16
16
  import "../chunk-7HLWBYH7.js";