@askexenow/exe-os 0.9.346 → 0.9.348

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 (316) hide show
  1. package/deploy/compose/cloudflared/config.yml.example +9 -6
  2. package/deploy/compose/docker-compose.yml +16 -9
  3. package/deploy/compose/sso-edge/default.conf.template +26 -0
  4. package/deploy/stack-manifests/v0.9.json +1 -1
  5. package/dist/{active-agent-Y7B6SUEV.js → active-agent-PX6KAEEQ.js} +4 -3
  6. package/dist/{active-agent-JXJFAZMM.js → active-agent-QVLZKWR2.js} +4 -3
  7. package/dist/{agentic-ontology-AUJAVTHS.js → agentic-ontology-6MEXY5L7.js} +1 -1
  8. package/dist/{backfill-metadata-3LUJK7D4.js → backfill-metadata-MCFBGWKX.js} +6 -5
  9. package/dist/{backup-verify-6UAZ5ETR.js → backup-verify-RGB3KKD4.js} +2 -1
  10. package/dist/{behaviors-BVOBYS73.js → behaviors-6GI6VND2.js} +7 -6
  11. package/dist/bin/agentic-ontology-backfill.js +7 -6
  12. package/dist/bin/agentic-reflection-backfill.js +8 -7
  13. package/dist/bin/agentic-semantic-label.js +7 -6
  14. package/dist/bin/backfill-conversations.js +6 -5
  15. package/dist/bin/backfill-responses.js +6 -5
  16. package/dist/bin/backfill-vectors.js +7 -6
  17. package/dist/bin/bulk-sync-postgres.js +11 -10
  18. package/dist/bin/cc-doctor.js +5 -4
  19. package/dist/bin/cleanup-stale-review-tasks.js +16 -15
  20. package/dist/bin/cli.js +16 -16
  21. package/dist/bin/deferred-daemon-restart.js +107 -94
  22. package/dist/bin/exe-agent-config.js +5 -4
  23. package/dist/bin/exe-agent.js +6 -5
  24. package/dist/bin/exe-assign.js +7 -6
  25. package/dist/bin/exe-boot.js +31 -30
  26. package/dist/bin/exe-call.js +6 -5
  27. package/dist/bin/exe-cloud.js +26 -15
  28. package/dist/bin/exe-config-dump.js +5 -4
  29. package/dist/bin/exe-dispatch.js +16 -15
  30. package/dist/bin/exe-doctor.js +5 -4
  31. package/dist/bin/exe-export-behaviors.js +9 -8
  32. package/dist/bin/exe-forget.js +8 -7
  33. package/dist/bin/exe-gateway.js +8 -7
  34. package/dist/bin/exe-healthcheck.js +5 -4
  35. package/dist/bin/exe-heartbeat.js +18 -17
  36. package/dist/bin/exe-kill.js +20 -19
  37. package/dist/bin/exe-launch-agent.js +26 -25
  38. package/dist/bin/exe-memory-reads.js +6 -5
  39. package/dist/bin/exe-new-employee.js +10 -9
  40. package/dist/bin/exe-os-mcp-proxy.js +4 -3
  41. package/dist/bin/exe-pending-messages.js +17 -16
  42. package/dist/bin/exe-pending-notifications.js +16 -15
  43. package/dist/bin/exe-pending-reviews.js +16 -15
  44. package/dist/bin/exe-rename.js +6 -5
  45. package/dist/bin/exe-review.js +19 -18
  46. package/dist/bin/exe-search.js +7 -6
  47. package/dist/bin/exe-session-cleanup.js +20 -19
  48. package/dist/bin/exe-settings.js +13 -12
  49. package/dist/bin/exe-start-codex.js +102 -21
  50. package/dist/bin/exe-start-opencode.js +11 -10
  51. package/dist/bin/exe-status.js +17 -16
  52. package/dist/bin/exe-support.js +3 -3
  53. package/dist/bin/exe-team.js +4 -3
  54. package/dist/bin/git-sweep.js +17 -16
  55. package/dist/bin/graph-backfill.js +7 -6
  56. package/dist/bin/graph-export.js +7 -6
  57. package/dist/bin/import-history.js +10 -9
  58. package/dist/bin/install.js +73 -73
  59. package/dist/bin/intercom-check.js +4 -4
  60. package/dist/bin/mcp-sessions.js +2 -2
  61. package/dist/bin/orchestration-metrics.js +5 -4
  62. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  63. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  64. package/dist/bin/pre-publish.js +1 -1
  65. package/dist/bin/reconcile-backlog.js +2 -2
  66. package/dist/bin/registry-proxy.js +1 -1
  67. package/dist/bin/scan-tasks.js +16 -15
  68. package/dist/bin/setup.js +2 -2
  69. package/dist/bin/shard-migrate.js +6 -5
  70. package/dist/bin/stack-update.js +7 -6
  71. package/dist/bin/vps-health-gate.js +1 -1
  72. package/dist/{boot-generation-IF4J6UEJ.js → boot-generation-FB2J53IG.js} +4 -3
  73. package/dist/{boot-review-sections-WEEFCSBX.js → boot-review-sections-QF5MZGJI.js} +15 -14
  74. package/dist/{capability-cards-C65NRVTL.js → capability-cards-YADEM2KN.js} +3 -2
  75. package/dist/{capacity-monitor-PGYDR35M.js → capacity-monitor-CG2IGONS.js} +17 -16
  76. package/dist/{catchup-brief-QB7M3OY7.js → catchup-brief-QFVNMTU5.js} +20 -19
  77. package/dist/{chunk-H5RS3XRJ.js → chunk-23O6LHII.js} +1 -1
  78. package/dist/{chunk-RLULWMUL.js → chunk-27REQ7KR.js} +1 -1
  79. package/dist/{chunk-GGPLVRYZ.js → chunk-2AD2GAPC.js} +1 -1
  80. package/dist/{chunk-25CXLXZQ.js → chunk-2WJYLXPF.js} +1 -1
  81. package/dist/{chunk-CFA4T2HP.js → chunk-43RTUMUT.js} +1 -1
  82. package/dist/{chunk-RYTY7KNZ.js → chunk-5C46Y4AK.js} +1 -1
  83. package/dist/{chunk-X7NSCRCD.js → chunk-5KCC26FB.js} +2 -2
  84. package/dist/{chunk-44ZGOBMU.js → chunk-5RPCWLXE.js} +1 -1
  85. package/dist/{chunk-ZASZQDAI.js → chunk-6GSYN262.js} +1 -1
  86. package/dist/{chunk-QS6KVXUN.js → chunk-6JQTSKDR.js} +263 -111
  87. package/dist/{chunk-QCM3YWL7.js → chunk-6QRS3IZF.js} +1 -1
  88. package/dist/{chunk-X2PLFBVG.js → chunk-6WFXNQDJ.js} +1 -1
  89. package/dist/{chunk-LUQ57SRM.js → chunk-7QRMFYOV.js} +23 -9
  90. package/dist/{chunk-HBJAMWHT.js → chunk-7WQ3WHPW.js} +195 -153
  91. package/dist/{chunk-OIF65HXR.js → chunk-A3YHWWE6.js} +10 -6
  92. package/dist/{chunk-OZLNCLS3.js → chunk-A42356G7.js} +1 -1
  93. package/dist/{chunk-24BHZNOP.js → chunk-A43SIGAO.js} +3 -3
  94. package/dist/{chunk-LSTIMHL4.js → chunk-AFY4V4N3.js} +1 -1
  95. package/dist/{chunk-Y7GJ6HXA.js → chunk-AJIXH5JF.js} +79 -25
  96. package/dist/{chunk-EU2GUT67.js → chunk-AMC2OPYP.js} +1 -1
  97. package/dist/{chunk-N4XVAP7Z.js → chunk-AQ24P2O7.js} +4 -4
  98. package/dist/{chunk-KQ3HRA6Q.js → chunk-AUILJKSM.js} +2 -2
  99. package/dist/{chunk-OQB5SKO4.js → chunk-AXNUMBLO.js} +3 -3
  100. package/dist/{chunk-SQIH3TDK.js → chunk-BOQUXG7N.js} +4 -4
  101. package/dist/{chunk-4A6RX2N6.js → chunk-BTP7BORU.js} +1 -1
  102. package/dist/{chunk-LYNELMA2.js → chunk-BUUGFQHL.js} +2 -2
  103. package/dist/{chunk-6OEMGMOV.js → chunk-CCOKYSJA.js} +3 -3
  104. package/dist/{chunk-6F3OMSZJ.js → chunk-DAODOSH4.js} +1 -1
  105. package/dist/{chunk-MWXXVXJL.js → chunk-DJYJDK53.js} +7 -7
  106. package/dist/{chunk-ZK6I3PUX.js → chunk-DXMTJJP3.js} +4 -4
  107. package/dist/{chunk-CMTS2MLG.js → chunk-E3BNUQHW.js} +2 -2
  108. package/dist/{chunk-YKIQF6EY.js → chunk-EFHGK6JP.js} +1 -1
  109. package/dist/{chunk-Q6ZQIX7L.js → chunk-FE6WBI2M.js} +5 -1
  110. package/dist/{chunk-6YABSGAW.js → chunk-FENYNW52.js} +1 -1
  111. package/dist/{chunk-4KLQ4GH5.js → chunk-FFCPSPNK.js} +1 -1
  112. package/dist/{chunk-FEIACXDV.js → chunk-FPK753IZ.js} +16 -16
  113. package/dist/{chunk-NCMFMJMZ.js → chunk-GA655CUD.js} +2 -2
  114. package/dist/{chunk-BDFRAQG5.js → chunk-GJ6KIHOM.js} +4 -4
  115. package/dist/{chunk-CR7XPLLC.js → chunk-GKNWKQFY.js} +1 -1
  116. package/dist/{chunk-VQLGFSML.js → chunk-GLOWJP5H.js} +2 -2
  117. package/dist/{chunk-XTGZDP2L.js → chunk-H3TA23PH.js} +4 -4
  118. package/dist/{chunk-GGHH54QD.js → chunk-H5QNVWU4.js} +18 -10
  119. package/dist/{chunk-WKUX5PFV.js → chunk-HL24OHHS.js} +9 -9
  120. package/dist/{chunk-3WELJGZN.js → chunk-HYZE3MNS.js} +1 -1
  121. package/dist/{chunk-HVZKJMJX.js → chunk-JORPYG4O.js} +1 -1
  122. package/dist/{chunk-JNEVNS5R.js → chunk-JW5XS35A.js} +9 -9
  123. package/dist/{chunk-OM2XM5HU.js → chunk-KIMAQNSM.js} +3 -3
  124. package/dist/{chunk-TIZE727O.js → chunk-KZUU6MNF.js} +1 -1
  125. package/dist/{chunk-OELDRRCZ.js → chunk-L36RX54F.js} +104 -11
  126. package/dist/{chunk-ZZQ4AEYB.js → chunk-M7PBRIRH.js} +1 -1
  127. package/dist/{chunk-4JDRUXQV.js → chunk-MGMXYI7Y.js} +2 -2
  128. package/dist/{chunk-4BQYN4IJ.js → chunk-MH5HWMVH.js} +1 -1
  129. package/dist/{chunk-BUDVHNV2.js → chunk-MMOONM6D.js} +1 -1
  130. package/dist/{chunk-CQN4IKRB.js → chunk-MMXIE6HV.js} +1 -1
  131. package/dist/{chunk-LNMTCTSH.js → chunk-MOZY4IQO.js} +1 -1
  132. package/dist/{chunk-EYGMCOTV.js → chunk-MVZLF27P.js} +2 -2
  133. package/dist/{chunk-HMVGXC4I.js → chunk-NY6DU5RB.js} +1 -1
  134. package/dist/{chunk-WMJK4GBF.js → chunk-O522M4YZ.js} +1 -1
  135. package/dist/{chunk-EDC57TDH.js → chunk-OBWIVRD6.js} +1 -1
  136. package/dist/{chunk-Q7UHMUCE.js → chunk-PAXAF2UY.js} +35 -15
  137. package/dist/{chunk-YLLUGK6J.js → chunk-PBLDPW4U.js} +2 -2
  138. package/dist/{chunk-D74XYSA3.js → chunk-QCQT5RXR.js} +5 -1
  139. package/dist/{chunk-3QYE5U6D.js → chunk-QNKR7WEL.js} +20 -6
  140. package/dist/{chunk-E6TLQG2T.js → chunk-RBRGSOK5.js} +1 -1
  141. package/dist/{chunk-6I6OMBYY.js → chunk-RFRUDXOI.js} +2 -2
  142. package/dist/{chunk-MHZAUM7G.js → chunk-SLH2743O.js} +3 -3
  143. package/dist/{chunk-LP6EJVVN.js → chunk-SMQ642D3.js} +4 -4
  144. package/dist/{chunk-BCFWDNH7.js → chunk-SQ4WACH4.js} +1 -1
  145. package/dist/{chunk-6LLDY7AL.js → chunk-TF5E6O5Q.js} +1 -1
  146. package/dist/{chunk-IXIQSWHV.js → chunk-TLWYOMSS.js} +3 -3
  147. package/dist/{chunk-2LC2ASCN.js → chunk-UAKGNQWE.js} +1 -1
  148. package/dist/{chunk-2WEUQWFQ.js → chunk-UTQWVRU6.js} +5 -5
  149. package/dist/{chunk-VPY4CMD6.js → chunk-WL3IQJKN.js} +3 -3
  150. package/dist/{chunk-NGP6LSV2.js → chunk-WNBZJSQT.js} +10 -1
  151. package/dist/{chunk-MCZWZEVE.js → chunk-WUMWXU6B.js} +1 -1
  152. package/dist/{chunk-R6C6UGVG.js → chunk-WWT3E7DO.js} +3 -3
  153. package/dist/{chunk-ACYZER3P.js → chunk-WZJ3VYRJ.js} +3 -3
  154. package/dist/{chunk-2KOQKLDF.js → chunk-X6VEQ7MC.js} +1 -1
  155. package/dist/{chunk-HXIBVZC3.js → chunk-Y3JXLIZV.js} +3 -3
  156. package/dist/{chunk-2UA263BM.js → chunk-YAIFZXOM.js} +5 -5
  157. package/dist/{chunk-YGTKGAWM.js → chunk-YM6GJM2F.js} +4 -4
  158. package/dist/chunk-YMUZWC33.js +8 -0
  159. package/dist/{chunk-DKKMBEU6.js → chunk-YTPCJLEL.js} +1 -1
  160. package/dist/{chunk-RPAMFCPP.js → chunk-Z52QQB4Z.js} +2 -2
  161. package/dist/{chunk-PJOHJ7Q4.js → chunk-ZXSFUR77.js} +172 -35
  162. package/dist/{cleanup-graph-garbage-INHZJESS.js → cleanup-graph-garbage-XTSBQXD6.js} +8 -7
  163. package/dist/{cloud-sync-shutdown-HNQ7T3LA.js → cloud-sync-shutdown-A2QB74YM.js} +3 -2
  164. package/dist/{co-activation-IMZM3IXG.js → co-activation-S2FVGMQP.js} +3 -2
  165. package/dist/{co-occurrence-PZAEUDAP.js → co-occurrence-VQB6U5ME.js} +6 -5
  166. package/dist/{conversation-entity-extractor-AU55E6YT.js → conversation-entity-extractor-YF3ZLTEJ.js} +3 -3
  167. package/dist/{crdt-sync-LI6FL3DG.js → crdt-sync-2SGCDWC3.js} +1 -1
  168. package/dist/{crm-webhook-NOLMWTAP.js → crm-webhook-P64SXEHD.js} +2 -2
  169. package/dist/{cto-delegation-gate-SZCLR4PI.js → cto-delegation-gate-6KLGT2LB.js} +15 -14
  170. package/dist/{daemon-orchestration-R5HT252K.js → daemon-orchestration-JQGKEWPD.js} +20 -20
  171. package/dist/{dispatch-ack-VUGMAGNL.js → dispatch-ack-AZL3WKCK.js} +1 -2
  172. package/dist/{doc-graph-extractor-E5SXO6NZ.js → doc-graph-extractor-DCJMATVZ.js} +6 -5
  173. package/dist/{documents-PYKWTZBA.js → documents-7EPH3VPE.js} +7 -6
  174. package/dist/{dreaming-JAHOTVRJ.js → dreaming-O4P2W5E5.js} +19 -18
  175. package/dist/{exe-drift-DGIY5YBT.js → exe-drift-ED7FBS2C.js} +4 -3
  176. package/dist/{exe-export-A6MC7LZ7.js → exe-export-YJI4USGZ.js} +9 -8
  177. package/dist/{exe-import-HKA6LKHC.js → exe-import-SUTAYKUW.js} +9 -8
  178. package/dist/{exe-key-6QXOAVR4.js → exe-key-CRSDAOZD.js} +71 -71
  179. package/dist/{exe-snapshot-BUPXYKMH.js → exe-snapshot-KB4YYDCA.js} +20 -19
  180. package/dist/{fast-db-init-BXLBA6II.js → fast-db-init-3K2PV6GJ.js} +1 -1
  181. package/dist/{founder-context-5KQR3ER3.js → founder-context-JHHFM4GF.js} +2 -2
  182. package/dist/gateway/index.js +9 -8
  183. package/dist/{git-main-guard-UZP3KXYI.js → git-main-guard-TGK3RQY3.js} +1 -1
  184. package/dist/{git-staleness-OTIXXNBN.js → git-staleness-YPHGWE3B.js} +3 -2
  185. package/dist/{global-procedures-ACYUMLIG.js → global-procedures-PEWDBSPJ.js} +5 -4
  186. package/dist/{graph-auto-extract-QWVENG4K.js → graph-auto-extract-7OJYYV4G.js} +6 -5
  187. package/dist/{graph-rag-2I24BQC2.js → graph-rag-YFITUAVO.js} +3 -3
  188. package/dist/{hook-prefetch-22IJRGX4.js → hook-prefetch-O6ZCZCTX.js} +16 -15
  189. package/dist/hooks/bug-report-worker.js +18 -18
  190. package/dist/hooks/codex-stop-task-finalizer.js +19 -19
  191. package/dist/hooks/commit-complete.js +18 -17
  192. package/dist/hooks/error-recall.js +8 -7
  193. package/dist/hooks/exe-heartbeat-hook.js +4 -3
  194. package/dist/hooks/ingest.js +7 -6
  195. package/dist/hooks/instructions-loaded.js +5 -4
  196. package/dist/hooks/manifest.json +19 -19
  197. package/dist/hooks/notification.js +5 -4
  198. package/dist/hooks/post-compact.js +17 -16
  199. package/dist/hooks/post-tool-combined.js +9 -9
  200. package/dist/hooks/pre-compact.js +18 -17
  201. package/dist/hooks/pre-tool-use.js +38 -40
  202. package/dist/hooks/prompt-submit.js +31 -30
  203. package/dist/hooks/session-end.js +22 -21
  204. package/dist/hooks/session-start.js +13 -13
  205. package/dist/hooks/stop.js +21 -20
  206. package/dist/hooks/subagent-stop.js +19 -18
  207. package/dist/hooks/summary-worker.js +22 -21
  208. package/dist/index.js +25 -24
  209. package/dist/{installer-QYXL3HBG.js → installer-3ONNP5JV.js} +6 -5
  210. package/dist/{installer-RWPVEBMJ.js → installer-CY5PN7TN.js} +6 -5
  211. package/dist/{installer-NZ76KPYJ.js → installer-N4QXGINR.js} +6 -5
  212. package/dist/{intercom-queue-TAARE4O7.js → intercom-queue-A52WQOCD.js} +15 -14
  213. package/dist/lib/agent-config.js +2 -2
  214. package/dist/lib/cloud-sync.js +15 -10
  215. package/dist/lib/consolidation.js +8 -7
  216. package/dist/lib/database.js +5 -2
  217. package/dist/lib/db-backup.js +2 -1
  218. package/dist/lib/db-checkpoint-worker.js +9 -0
  219. package/dist/lib/db-read-worker-client.js +21 -8
  220. package/dist/lib/db-read-worker.js +15 -0
  221. package/dist/lib/db-write-worker-client.js +4 -1
  222. package/dist/lib/db-write-worker.js +21 -6
  223. package/dist/lib/db.js +5 -2
  224. package/dist/lib/device-registry.js +1 -1
  225. package/dist/lib/employee-templates.js +6 -5
  226. package/dist/lib/employees.js +3 -2
  227. package/dist/lib/exe-daemon.js +344 -179
  228. package/dist/lib/hybrid-search.js +7 -6
  229. package/dist/lib/identity.js +3 -2
  230. package/dist/lib/license.js +2 -2
  231. package/dist/lib/messaging.js +16 -15
  232. package/dist/lib/registry-proxy.js +1 -1
  233. package/dist/lib/reminders.js +4 -3
  234. package/dist/lib/runtime-table.js +9 -3
  235. package/dist/lib/schedules.js +7 -6
  236. package/dist/lib/session-registry.js +5 -4
  237. package/dist/lib/skill-learning.js +8 -7
  238. package/dist/lib/store.js +6 -5
  239. package/dist/lib/task-router.js +4 -3
  240. package/dist/lib/tasks.js +17 -17
  241. package/dist/lib/tmux-routing.js +15 -14
  242. package/dist/lib/token-spend.js +4 -3
  243. package/dist/{license-gate-CVHDQZJV.js → license-gate-ZRORTAQ2.js} +3 -3
  244. package/dist/{license-sync-72S7BWQY.js → license-sync-CQHBDUQE.js} +2 -2
  245. package/dist/mcp/register-tools.js +70 -70
  246. package/dist/mcp/server.js +71 -71
  247. package/dist/mcp/tools/complete-reminder.js +5 -4
  248. package/dist/mcp/tools/create-reminder.js +5 -4
  249. package/dist/mcp/tools/create-task.js +19 -19
  250. package/dist/mcp/tools/deactivate-behavior.js +9 -8
  251. package/dist/mcp/tools/list-reminders.js +5 -4
  252. package/dist/mcp/tools/list-tasks.js +19 -19
  253. package/dist/mcp/tools/send-message.js +18 -17
  254. package/dist/mcp/tools/update-task.js +18 -18
  255. package/dist/{mcp-http-config-JP3XSY2X.js → mcp-http-config-2A6HKQP5.js} +4 -3
  256. package/dist/{mcp-session-identity-DDAM464U.js → mcp-session-identity-OPRX32H5.js} +15 -14
  257. package/dist/{memory-cards-XJ2JMF3V.js → memory-cards-GFO2CSPV.js} +6 -5
  258. package/dist/{memory-graph-extractor-FJVF7RTG.js → memory-graph-extractor-2Z72HN5P.js} +7 -6
  259. package/dist/{memory-poisoning-defense-GM3GQPRI.js → memory-poisoning-defense-WZJ52KXT.js} +3 -2
  260. package/dist/{memory-pressure-watchdog-HB572OZG.js → memory-pressure-watchdog-IG7VRFIX.js} +16 -15
  261. package/dist/{memory-reflection-WIMMTW7M.js → memory-reflection-LTRHDGUL.js} +3 -2
  262. package/dist/{notification-ledger-5TQXBYY2.js → notification-ledger-KSCPGLQG.js} +16 -15
  263. package/dist/{notifications-LA3X57YT.js → notifications-YKHZPCXU.js} +15 -14
  264. package/dist/{orchestration-events-KFZMGU3D.js → orchestration-events-HAFDPTLV.js} +4 -3
  265. package/dist/{orchestrator-MOJEAZ3K.js → orchestrator-4MZEQULR.js} +17 -16
  266. package/dist/{pipeline-router-2V5NFQ2O.js → pipeline-router-RSRJPZNI.js} +4 -3
  267. package/dist/{plan-limits-2LHFEYOT.js → plan-limits-5QYYPIPT.js} +6 -5
  268. package/dist/{platform-procedures-G44IYUM2.js → platform-procedures-DZ6YABEK.js} +1 -1
  269. package/dist/{projection-worker-ZMHVILPW.js → projection-worker-SKAMSZJF.js} +2 -2
  270. package/dist/{prospective-memory-JEWS5GFU.js → prospective-memory-V7LFCPU4.js} +3 -2
  271. package/dist/{reranker-TBQV76K4.js → reranker-HXMJ7SKW.js} +1 -1
  272. package/dist/{retrieval-health-HYXDUNFE.js → retrieval-health-4NCBHUUS.js} +1 -1
  273. package/dist/{review-polling-OFGP5Q7M.js → review-polling-KQUALBEU.js} +16 -15
  274. package/dist/runtime/index.js +19 -18
  275. package/dist/{session-events-ABAI2KE3.js → session-events-3KL735DZ.js} +16 -15
  276. package/dist/{session-kill-telemetry-2MHLK4Z4.js → session-kill-telemetry-KVRGLYVI.js} +16 -15
  277. package/dist/{session-scope-MRIE7ZKS.js → session-scope-LBG6DT5O.js} +15 -14
  278. package/dist/{setup-wizard-UQ3B2E6D.js → setup-wizard-UL3AKI6E.js} +2 -2
  279. package/dist/{skill-refinement-46QDGAGE.js → skill-refinement-6HPISXQC.js} +4 -3
  280. package/dist/{stack-update-5BPENFJK.js → stack-update-WBDTJJEF.js} +7 -3
  281. package/dist/{steward-gate-GXINMHNV.js → steward-gate-CWPD4HEK.js} +4 -3
  282. package/dist/{support-inbox-TCOASPLK.js → support-inbox-HRIHHKPU.js} +3 -3
  283. package/dist/{task-enforcement-OJAG2BGJ.js → task-enforcement-OAOL7XFL.js} +16 -15
  284. package/dist/{task-scope-5GKJTQL2.js → task-scope-PSVAE3EM.js} +15 -14
  285. package/dist/{tasks-crud-ZWKPTGPU.js → tasks-crud-TLELWWUL.js} +17 -14
  286. package/dist/{tasks-notify-IUDI6SYJ.js → tasks-notify-7Q2XTDZ7.js} +16 -16
  287. package/dist/{tasks-review-INJKVN63.js → tasks-review-S6QB5KGS.js} +15 -14
  288. package/dist/{telemetry-upload-LIC7M7AY.js → telemetry-upload-LTL5SW24.js} +8 -7
  289. package/dist/{token-budget-PABF5ZBO.js → token-budget-SK32GKFZ.js} +4 -3
  290. package/dist/{tool-telemetry-PDHE36YD.js → tool-telemetry-QJGJAHOC.js} +1 -1
  291. package/dist/tui/App.js +24 -23
  292. package/dist/{tui-data-Y6X7A4U4.js → tui-data-3JSV56ME.js} +15 -14
  293. package/dist/{update-support-COJYGU2V.js → update-support-LMPGWJVG.js} +10 -9
  294. package/dist/{work-state-heartbeat-YV3MAIQY.js → work-state-heartbeat-MQQOCU54.js} +1 -1
  295. package/dist/{worker-gate-BLJENHMV.js → worker-gate-P2O64XMH.js} +1 -1
  296. package/dist/{workflow-engine-AAPPPMFS.js → workflow-engine-BLLQKA3O.js} +2 -2
  297. package/dist/{worktree-MGYTWKCA.js → worktree-FJZXHDCJ.js} +5 -4
  298. package/dist/{worktree-sweep-HNNHNAXN.js → worktree-sweep-SW4AG6JR.js} +6 -5
  299. package/package.json +1 -1
  300. package/release-notes.json +56 -104
  301. package/dist/chunk-GSIJL4YA.js +0 -58
  302. /package/dist/{chunk-GH5YKFE7.js → chunk-AQ6ECPUP.js} +0 -0
  303. /package/dist/{chunk-O3XAKSKI.js → chunk-DRHXISWL.js} +0 -0
  304. /package/dist/{chunk-A3MGVYSP.js → chunk-E42D2E5F.js} +0 -0
  305. /package/dist/{chunk-PDN25UJU.js → chunk-FXZRJT3H.js} +0 -0
  306. /package/dist/{chunk-CHDPANT4.js → chunk-GFIWADEH.js} +0 -0
  307. /package/dist/{chunk-W7JPRQM2.js → chunk-GPZQZTJB.js} +0 -0
  308. /package/dist/{chunk-WPQ5LWMW.js → chunk-H4JKOLXU.js} +0 -0
  309. /package/dist/{chunk-RYWVPACG.js → chunk-HTJKAAHD.js} +0 -0
  310. /package/dist/{chunk-PDWIUSQH.js → chunk-PIUDQ7P2.js} +0 -0
  311. /package/dist/{chunk-HIN6X5QB.js → chunk-QUOMJKVF.js} +0 -0
  312. /package/dist/{chunk-DY7WDHMC.js → chunk-XF2D4CDA.js} +0 -0
  313. /package/dist/{core-memory-TBLZ2YQQ.js → core-memory-Z7LPR3RX.js} +0 -0
  314. /package/dist/{oauth-server-IB7OWY4H.js → oauth-server-FSKABATB.js} +0 -0
  315. /package/dist/{project-boot-TI3PUQNN.js → project-boot-FVSC4VQC.js} +0 -0
  316. /package/dist/{wiki-acl-V5IRECJ3.js → wiki-acl-CW2UALTJ.js} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  DEFAULT_RUNTIME,
8
8
  RUNTIME_TABLE
9
- } from "./chunk-NGP6LSV2.js";
9
+ } from "./chunk-WNBZJSQT.js";
10
10
  import {
11
11
  EXE_AI_DIR
12
12
  } from "./chunk-BCZF3AGJ.js";
@@ -19,8 +19,10 @@ import {
19
19
  import { readFileSync, existsSync } from "fs";
20
20
  import path from "path";
21
21
  var AGENT_CONFIG_PATH = path.join(EXE_AI_DIR, "agent-config.json");
22
+ var CODEX_DEFAULT_MODEL = RUNTIME_TABLE.codex?.defaultModel ?? "gpt-5.5";
23
+ var CODEX_BASE_MODELS = ["gpt-5.4", "gpt-5.5", "gpt-5.3-codex-spark", "o3", "o4-mini"];
22
24
  var KNOWN_RUNTIMES = {
23
- claude: ["claude-opus-4.8", "claude-opus-4.8-1m", "claude-opus-4.6", "claude-sonnet-4.8", "claude-sonnet-4.6", "claude-haiku-4.5", "claude-fable-5"],
25
+ claude: ["claude-opus-4.8", "claude-opus-4.6", "claude-sonnet-4.8", "claude-sonnet-4.6", "claude-haiku-4.5", "claude-fable-5"],
24
26
  // Bug fbf99272: this list MUST contain RUNTIME_TABLE.codex.defaultModel — the
25
27
  // adapter's own default — or a default codex spawn boots an unlisted model that
26
28
  // 400s and idles (asserted by an agent-config-models test so they cannot drift).
@@ -29,7 +31,7 @@ var KNOWN_RUNTIMES = {
29
31
  // "gpt-5.6" here: VERIFIED 2026-07-10 to 400 ("not supported … with a ChatGPT
30
32
  // account"). "gpt-5.3-codex" (the Codex CLI's own default) is likewise NOT
31
33
  // whitelisted for the same reason — exe-start-codex pins a listed model instead.
32
- codex: ["gpt-5.4", "gpt-5.5", "gpt-5.3-codex-spark", "o3", "o4-mini"],
34
+ codex: Array.from(/* @__PURE__ */ new Set([CODEX_DEFAULT_MODEL, ...CODEX_BASE_MODELS])),
33
35
  opencode: ["anthropic/claude-opus-4-8", "anthropic/claude-sonnet-4-8", "anthropic/claude-sonnet-4-6", "openai/gpt-5.4", "google/gemini-2.5-pro", "deepseek/deepseek-r3", "minimax/minimax-m2.5", "opencode-go/kimi-k3", "xai/grok-4", "xai/grok-3", "xai/grok-2-latest", "xai/grok-2-1212", "xai/grok-beta"]
34
36
  };
35
37
  var RETIRED_MODELS = {
@@ -65,7 +67,7 @@ var DEFAULT_MODELS = {
65
67
  // default here, so any agent without an explicit config booted onto a dead
66
68
  // model and idled forever. Default now points at the live claude-sonnet-4.6.
67
69
  claude: "claude-sonnet-4.6",
68
- codex: RUNTIME_TABLE.codex?.defaultModel ?? "gpt-5.4",
70
+ codex: CODEX_DEFAULT_MODEL,
69
71
  opencode: RUNTIME_TABLE.opencode?.defaultModel ?? "anthropic/claude-sonnet-4-6"
70
72
  };
71
73
  function loadAgentConfig() {
@@ -132,10 +134,12 @@ function isClaudeModel(model) {
132
134
  }
133
135
  function resolveSpawnRuntimeConfig(agentId, runtimeOverride, modelOverride) {
134
136
  const base = getAgentRuntime(agentId);
137
+ const runtime = runtimeOverride ?? base.runtime;
138
+ const model = modelOverride ?? (runtimeOverride && runtimeOverride !== base.runtime && DEFAULT_MODELS[runtimeOverride] ? DEFAULT_MODELS[runtimeOverride] : base.model);
135
139
  return {
136
140
  ...base,
137
- ...runtimeOverride ? { runtime: runtimeOverride } : {},
138
- ...modelOverride ? { model: modelOverride } : {}
141
+ runtime,
142
+ model
139
143
  };
140
144
  }
141
145
  function assertRuntimeModelCompatible(runtime, model, opts) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-3QYE5U6D.js";
3
+ } from "./chunk-QNKR7WEL.js";
4
4
 
5
5
  // src/lib/skill-refinement.ts
6
6
  import crypto from "crypto";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  extractMemoryGraph
3
- } from "./chunk-OM2XM5HU.js";
3
+ } from "./chunk-KIMAQNSM.js";
4
4
  import {
5
5
  flushBatch,
6
6
  writeMemory
7
- } from "./chunk-GGHH54QD.js";
7
+ } from "./chunk-H5QNVWU4.js";
8
8
  import {
9
9
  extractKeywords
10
10
  } from "./chunk-CHCA3ZM2.js";
11
11
  import {
12
12
  getActiveAgent
13
- } from "./chunk-6LLDY7AL.js";
13
+ } from "./chunk-TF5E6O5Q.js";
14
14
 
15
15
  // src/mcp/tools/import-conversations.ts
16
16
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  processCRMEvent
3
- } from "./chunk-PDWIUSQH.js";
3
+ } from "./chunk-PIUDQ7P2.js";
4
4
 
5
5
  // src/gateway/adapters/crm-webhook.ts
6
6
  function parseTwentyWebhook(payload) {
@@ -1,35 +1,88 @@
1
- import {
2
- appendDispatchJournalEvent
3
- } from "./chunk-GSIJL4YA.js";
4
-
5
1
  // src/lib/dispatch-ack.ts
6
2
  import {
7
- existsSync,
8
- mkdirSync,
3
+ existsSync as existsSync2,
4
+ mkdirSync as mkdirSync2,
9
5
  readFileSync,
10
6
  writeFileSync,
11
- unlinkSync,
12
- readdirSync,
7
+ unlinkSync as unlinkSync2,
8
+ readdirSync as readdirSync2,
13
9
  rmSync
14
10
  } from "fs";
15
11
  import path from "path";
16
12
  import os from "os";
13
+
14
+ // src/lib/dispatch-journal.ts
15
+ import { appendFileSync, existsSync, mkdirSync, readdirSync, renameSync, statSync, unlinkSync } from "fs";
16
+ import { join } from "path";
17
+ import { homedir } from "os";
18
+ var MAX_JSONL_BYTES = Number(process.env.EXE_DISPATCH_JOURNAL_MAX_BYTES) || 1e6;
19
+ var MAX_ARCHIVES = Number(process.env.EXE_DISPATCH_JOURNAL_MAX_ARCHIVES) || 3;
20
+ function dispatchJournalDir() {
21
+ const base = process.env.EXE_OS_DIR || join(homedir(), ".exe-os");
22
+ return join(base, "dispatch-journal");
23
+ }
24
+ function journalPath() {
25
+ return join(dispatchJournalDir(), "events.jsonl");
26
+ }
27
+ function rotateIfNeeded(file) {
28
+ try {
29
+ if (!existsSync(file)) return;
30
+ if (statSync(file).size < MAX_JSONL_BYTES) return;
31
+ for (let i = MAX_ARCHIVES; i >= 1; i--) {
32
+ const src = `${file}.${i}`;
33
+ const dst = `${file}.${i + 1}`;
34
+ if (!existsSync(src)) continue;
35
+ if (i === MAX_ARCHIVES) unlinkSync(src);
36
+ else renameSync(src, dst);
37
+ }
38
+ renameSync(file, `${file}.1`);
39
+ } catch {
40
+ }
41
+ }
42
+ function appendDispatchJournalEvent(input) {
43
+ try {
44
+ const dir = dispatchJournalDir();
45
+ mkdirSync(dir, { recursive: true });
46
+ const file = journalPath();
47
+ rotateIfNeeded(file);
48
+ appendFileSync(
49
+ file,
50
+ JSON.stringify({
51
+ ts: (/* @__PURE__ */ new Date()).toISOString(),
52
+ ...input
53
+ }) + "\n",
54
+ "utf-8"
55
+ );
56
+ for (const entry of readdirSync(dir)) {
57
+ const match = entry.match(/^events\.jsonl\.(\d+)$/);
58
+ if (match && Number(match[1]) > MAX_ARCHIVES) {
59
+ try {
60
+ unlinkSync(join(dir, entry));
61
+ } catch {
62
+ }
63
+ }
64
+ }
65
+ } catch {
66
+ }
67
+ }
68
+
69
+ // src/lib/dispatch-ack.ts
17
70
  function ackDir() {
18
71
  return process.env.EXE_DISPATCH_ACK_DIR || path.join(os.homedir(), ".exe-os", "dispatch-acks");
19
72
  }
20
73
  var DISPATCH_DEDUP_WINDOW_MS = 90 * 1e3;
21
74
  function ensureAckDir() {
22
75
  const dir = ackDir();
23
- if (!existsSync(dir)) mkdirSync(dir, { recursive: true });
76
+ if (!existsSync2(dir)) mkdirSync2(dir, { recursive: true });
24
77
  }
25
78
  function writeDispatchPending(taskId, assignedTo, sessionName) {
26
79
  ensureAckDir();
27
80
  try {
28
- unlinkSync(path.join(ackDir(), `${taskId}.failed`));
81
+ unlinkSync2(path.join(ackDir(), `${taskId}.failed`));
29
82
  } catch {
30
83
  }
31
84
  try {
32
- unlinkSync(path.join(ackDir(), `${taskId}.ack`));
85
+ unlinkSync2(path.join(ackDir(), `${taskId}.ack`));
33
86
  } catch {
34
87
  }
35
88
  const signal = {
@@ -71,11 +124,11 @@ function tryAcquireDispatchClaim(taskId, assignedTo, sessionName, windowMs = DIS
71
124
  const curLock = path.join(dir, spawnLockName(taskId, bucket));
72
125
  const prevLock = path.join(dir, spawnLockName(taskId, bucket - 1));
73
126
  try {
74
- if (existsSync(prevLock) && ownerPidAlive(prevLock)) return false;
127
+ if (existsSync2(prevLock) && ownerPidAlive(prevLock)) return false;
75
128
  } catch {
76
129
  }
77
130
  try {
78
- mkdirSync(curLock);
131
+ mkdirSync2(curLock);
79
132
  } catch (err) {
80
133
  if (err?.code === "EEXIST") return false;
81
134
  return true;
@@ -105,7 +158,7 @@ function removeSpawnLockdirs(taskId) {
105
158
  const dir = ackDir();
106
159
  try {
107
160
  const prefix = `${taskId}.spawnlock.b`;
108
- for (const entry of readdirSync(dir)) {
161
+ for (const entry of readdirSync2(dir)) {
109
162
  if (entry.startsWith(prefix)) {
110
163
  try {
111
164
  rmSync(path.join(dir, entry), { recursive: true, force: true });
@@ -144,7 +197,7 @@ function writeDispatchAck(taskId, agentId) {
144
197
  signal.ackedAt = (/* @__PURE__ */ new Date()).toISOString();
145
198
  writeFileSync(ackPath, JSON.stringify(signal), "utf-8");
146
199
  try {
147
- unlinkSync(pendingPath);
200
+ unlinkSync2(pendingPath);
148
201
  } catch {
149
202
  }
150
203
  removeSpawnLockdirs(taskId);
@@ -170,7 +223,7 @@ function writeDispatchFailed(taskId, assignedTo, error, sessionName) {
170
223
  if (sessionName) signal.sessionName = sessionName;
171
224
  writeFileSync(path.join(ackDir(), `${taskId}.failed`), JSON.stringify(signal), "utf-8");
172
225
  try {
173
- unlinkSync(pendingPath);
226
+ unlinkSync2(pendingPath);
174
227
  } catch {
175
228
  }
176
229
  appendDispatchJournalEvent({
@@ -188,7 +241,7 @@ function checkDispatchStatus(taskId) {
188
241
  const ackPath = path.join(ackDir(), `${taskId}.ack`);
189
242
  const failedPath = path.join(ackDir(), `${taskId}.failed`);
190
243
  const pendingPath = path.join(ackDir(), `${taskId}.pending`);
191
- if (existsSync(ackPath)) {
244
+ if (existsSync2(ackPath)) {
192
245
  try {
193
246
  const signal = JSON.parse(readFileSync(ackPath, "utf-8"));
194
247
  return { status: "acked", signal };
@@ -196,7 +249,7 @@ function checkDispatchStatus(taskId) {
196
249
  return { status: "acked" };
197
250
  }
198
251
  }
199
- if (existsSync(failedPath)) {
252
+ if (existsSync2(failedPath)) {
200
253
  try {
201
254
  const signal = JSON.parse(readFileSync(failedPath, "utf-8"));
202
255
  return { status: "failed", signal };
@@ -204,7 +257,7 @@ function checkDispatchStatus(taskId) {
204
257
  return { status: "failed" };
205
258
  }
206
259
  }
207
- if (existsSync(pendingPath)) {
260
+ if (existsSync2(pendingPath)) {
208
261
  try {
209
262
  const signal = JSON.parse(readFileSync(pendingPath, "utf-8"));
210
263
  return { status: "pending", signal };
@@ -222,7 +275,7 @@ function terminalFailurePath(agentId, scope, baseDir) {
222
275
  }
223
276
  function writeTerminalLauncherFailure(rec, baseDir = TERMINAL_FAILURE_DIR) {
224
277
  try {
225
- if (!existsSync(baseDir)) mkdirSync(baseDir, { recursive: true });
278
+ if (!existsSync2(baseDir)) mkdirSync2(baseDir, { recursive: true });
226
279
  const payload = {
227
280
  reason: rec.reason,
228
281
  ...rec.detail ? { detail: rec.detail } : {},
@@ -239,7 +292,7 @@ function readTerminalLauncherFailure(agentId, scope, opts) {
239
292
  const now = opts?.now ?? Date.now();
240
293
  try {
241
294
  const p = terminalFailurePath(agentId, scope, baseDir);
242
- if (!existsSync(p)) return null;
295
+ if (!existsSync2(p)) return null;
243
296
  const rec = JSON.parse(readFileSync(p, "utf-8"));
244
297
  if (!rec || typeof rec.reason !== "string" || rec.reason.trim().length === 0) return null;
245
298
  if (typeof rec.ts !== "string") return null;
@@ -254,7 +307,7 @@ function readTerminalLauncherFailure(agentId, scope, opts) {
254
307
  }
255
308
  function clearTerminalLauncherFailure(agentId, scope, baseDir = TERMINAL_FAILURE_DIR) {
256
309
  try {
257
- unlinkSync(terminalFailurePath(agentId, scope, baseDir));
310
+ unlinkSync2(terminalFailurePath(agentId, scope, baseDir));
258
311
  } catch {
259
312
  }
260
313
  }
@@ -264,7 +317,7 @@ function cleanStaleDispatchAcks(maxAgeMs = 60 * 60 * 1e3) {
264
317
  let cleaned = 0;
265
318
  try {
266
319
  const dir = ackDir();
267
- for (const file of readdirSync(dir)) {
320
+ for (const file of readdirSync2(dir)) {
268
321
  const fullPath = path.join(dir, file);
269
322
  if (file.includes(".spawnlock.b")) {
270
323
  try {
@@ -287,12 +340,12 @@ function cleanStaleDispatchAcks(maxAgeMs = 60 * 60 * 1e3) {
287
340
  const signal = JSON.parse(readFileSync(fullPath, "utf-8"));
288
341
  const ts = signal.ackedAt ?? signal.dispatchedAt;
289
342
  if (now - new Date(ts).getTime() > maxAgeMs) {
290
- unlinkSync(fullPath);
343
+ unlinkSync2(fullPath);
291
344
  cleaned++;
292
345
  }
293
346
  } catch {
294
347
  try {
295
- unlinkSync(fullPath);
348
+ unlinkSync2(fullPath);
296
349
  cleaned++;
297
350
  } catch {
298
351
  }
@@ -304,6 +357,7 @@ function cleanStaleDispatchAcks(maxAgeMs = 60 * 60 * 1e3) {
304
357
  }
305
358
 
306
359
  export {
360
+ appendDispatchJournalEvent,
307
361
  DISPATCH_DEDUP_WINDOW_MS,
308
362
  writeDispatchPending,
309
363
  tryAcquireDispatchClaim,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-3QYE5U6D.js";
3
+ } from "./chunk-QNKR7WEL.js";
4
4
 
5
5
  // src/lib/orchestration-events.ts
6
6
  import crypto from "crypto";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  updateTask
3
- } from "./chunk-MWXXVXJL.js";
3
+ } from "./chunk-DJYJDK53.js";
4
4
  import {
5
5
  TASK_ALREADY_CLAIMED_PREFIX,
6
6
  TASK_CLAIM_NOT_HELD_PREFIX,
7
7
  TASK_SIDECHAIN_WRITE_BLOCKED_PREFIX
8
- } from "./chunk-PJOHJ7Q4.js";
8
+ } from "./chunk-ZXSFUR77.js";
9
9
  import {
10
10
  getAgentContext
11
11
  } from "./chunk-GJV3WDWM.js";
12
12
  import {
13
13
  isCoordinatorName
14
- } from "./chunk-3QYE5U6D.js";
14
+ } from "./chunk-QNKR7WEL.js";
15
15
 
16
16
  // src/mcp/tools/update-task.ts
17
17
  import { z } from "zod";
@@ -72,7 +72,7 @@ function registerUpdateTask(server) {
72
72
  let callerSession;
73
73
  let callerIsSidechain = false;
74
74
  try {
75
- const { getActiveAgent: getAgent } = await import("./active-agent-Y7B6SUEV.js");
75
+ const { getActiveAgent: getAgent } = await import("./active-agent-PX6KAEEQ.js");
76
76
  const active = getAgent();
77
77
  callerAgentId = active.agentId;
78
78
  callerSession = resolveCallerSessionForUpdate();
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PLATFORM_PROCEDURES,
3
3
  PLATFORM_PROCEDURE_TITLES
4
- } from "./chunk-CQN4IKRB.js";
4
+ } from "./chunk-MMXIE6HV.js";
5
5
  import {
6
6
  getClient
7
- } from "./chunk-3QYE5U6D.js";
7
+ } from "./chunk-QNKR7WEL.js";
8
8
 
9
9
  // src/lib/global-procedures.ts
10
10
  import { randomUUID } from "crypto";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  cleanupCardsForMemories,
3
3
  cleanupGraphLinksForMemories
4
- } from "./chunk-EYGMCOTV.js";
4
+ } from "./chunk-MVZLF27P.js";
5
5
  import {
6
6
  resolveAnthropicAuth
7
7
  } from "./chunk-VGMACSEV.js";
8
8
  import {
9
9
  buildSystemStateExclusionFilter,
10
10
  vectorToBlob
11
- } from "./chunk-GGHH54QD.js";
11
+ } from "./chunk-H5QNVWU4.js";
12
12
  import {
13
13
  extractKeywords,
14
14
  keywordsToString
15
15
  } from "./chunk-CHCA3ZM2.js";
16
16
  import {
17
17
  isCoordinatorName
18
- } from "./chunk-3QYE5U6D.js";
18
+ } from "./chunk-QNKR7WEL.js";
19
19
 
20
20
  // src/lib/consolidation.ts
21
21
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  routeTask
3
- } from "./chunk-HMVGXC4I.js";
3
+ } from "./chunk-NY6DU5RB.js";
4
4
  import {
5
5
  createTaskCore,
6
6
  employeeSessionName,
@@ -9,11 +9,11 @@ import {
9
9
  isEmployeeAlive,
10
10
  sessionScopeFilter,
11
11
  updateTaskStatus
12
- } from "./chunk-PJOHJ7Q4.js";
12
+ } from "./chunk-ZXSFUR77.js";
13
13
  import {
14
14
  DEFAULT_COORDINATOR_TEMPLATE_NAME,
15
15
  getCoordinatorName
16
- } from "./chunk-3QYE5U6D.js";
16
+ } from "./chunk-QNKR7WEL.js";
17
17
 
18
18
  // src/runtime/orchestrator.ts
19
19
  var STALE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
@@ -74,7 +74,7 @@ ${task.context}`,
74
74
  error: `Task creation failed: ${err instanceof Error ? err.message : String(err)}`
75
75
  };
76
76
  }
77
- const { tryAcquireDispatchClaim, releaseDispatchClaim } = await import("./dispatch-ack-VUGMAGNL.js");
77
+ const { tryAcquireDispatchClaim, releaseDispatchClaim } = await import("./dispatch-ack-AZL3WKCK.js");
78
78
  if (createdTaskId && !tryAcquireDispatchClaim(createdTaskId, targetEmployee.name, this.config.exeSession)) {
79
79
  return {
80
80
  employee: targetEmployee.name,
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-QWVXN224.js";
9
9
  import {
10
10
  RUNTIME_TABLE
11
- } from "./chunk-NGP6LSV2.js";
11
+ } from "./chunk-WNBZJSQT.js";
12
12
  import {
13
13
  EXE_AI_DIR,
14
14
  LEGACY_LANCE_PATH,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-PJOHJ7Q4.js";
3
+ } from "./chunk-ZXSFUR77.js";
4
4
 
5
5
  // src/lib/git-task-sweep.ts
6
6
  import { execSync } from "child_process";
@@ -238,7 +238,7 @@ async function sweepTasks(projectName, options = {}) {
238
238
  }
239
239
  if (!dryRun) {
240
240
  try {
241
- const { updateTaskStatus } = await import("./tasks-crud-ZWKPTGPU.js");
241
+ const { updateTaskStatus } = await import("./tasks-crud-TLELWWUL.js");
242
242
  await updateTaskStatus({
243
243
  taskId: task.id,
244
244
  status: "needs_review",
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  reserveVersions,
6
6
  vectorToBlob
7
- } from "./chunk-GGHH54QD.js";
7
+ } from "./chunk-H5QNVWU4.js";
8
8
  import {
9
9
  getClient
10
- } from "./chunk-3QYE5U6D.js";
10
+ } from "./chunk-QNKR7WEL.js";
11
11
 
12
12
  // src/lib/documents.ts
13
13
  import crypto from "crypto";
@@ -270,7 +270,7 @@ async function ingestDocument(input) {
270
270
  await client.batch([documentStmt, ...chunkStmts], "write");
271
271
  const embedded = vectors.filter((v) => v !== null).length;
272
272
  const originalTexts = input.chunks.map((c) => c.text);
273
- import("./doc-graph-extractor-E5SXO6NZ.js").then(
273
+ import("./doc-graph-extractor-DCJMATVZ.js").then(
274
274
  ({ extractAndStoreDocumentGraph }) => extractAndStoreDocumentGraph(documentId, originalTexts)
275
275
  ).catch((err) => {
276
276
  process.stderr.write(
@@ -2,7 +2,7 @@ import {
2
2
  getClient,
3
3
  isCoordinatorName,
4
4
  loadEmployeesSync
5
- } from "./chunk-3QYE5U6D.js";
5
+ } from "./chunk-QNKR7WEL.js";
6
6
 
7
7
  // src/lib/steward-gate.ts
8
8
  import crypto from "crypto";
@@ -2,7 +2,7 @@ import {
2
2
  dispatchTaskToEmployee,
3
3
  markTaskNotificationsRead,
4
4
  notifyTaskDone
5
- } from "./chunk-JNEVNS5R.js";
5
+ } from "./chunk-JW5XS35A.js";
6
6
  import {
7
7
  clearCurrentTask,
8
8
  writeCurrentTask
@@ -16,7 +16,7 @@ import {
16
16
  strictSessionScopeFilter,
17
17
  updateTaskStatus,
18
18
  writeNotification
19
- } from "./chunk-PJOHJ7Q4.js";
19
+ } from "./chunk-ZXSFUR77.js";
20
20
  import {
21
21
  getAgentContext
22
22
  } from "./chunk-GJV3WDWM.js";
@@ -27,7 +27,7 @@ import {
27
27
  getClient,
28
28
  getCoordinatorName,
29
29
  isCoordinatorName
30
- } from "./chunk-3QYE5U6D.js";
30
+ } from "./chunk-QNKR7WEL.js";
31
31
 
32
32
  // src/lib/tasks-chain.ts
33
33
  import path from "path";
@@ -62,7 +62,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
62
62
  }
63
63
  if (unblockedRows.rows.length > 0 && !process.env.VITEST) {
64
64
  try {
65
- const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-IUDI6SYJ.js");
65
+ const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-7Q2XTDZ7.js");
66
66
  const dispatched = /* @__PURE__ */ new Set();
67
67
  for (const ur of unblockedRows.rows) {
68
68
  const assignee = String(ur.assigned_to);
@@ -87,7 +87,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
87
87
  }
88
88
  } catch {
89
89
  try {
90
- const { queueIntercom } = await import("./intercom-queue-TAARE4O7.js");
90
+ const { queueIntercom } = await import("./intercom-queue-A52WQOCD.js");
91
91
  const dispatched = /* @__PURE__ */ new Set();
92
92
  for (const ur of unblockedRows.rows) {
93
93
  const assignee = String(ur.assigned_to);
@@ -285,7 +285,7 @@ async function updateTask(input) {
285
285
  try {
286
286
  process.stderr.write(`[tasks] EVENT: tmux delivery failed for reviewer="${reviewer}". Queueing for daemon delivery.
287
287
  `);
288
- const { queueIntercom } = await import("./intercom-queue-TAARE4O7.js");
288
+ const { queueIntercom } = await import("./intercom-queue-A52WQOCD.js");
289
289
  const { resolveExeSession } = await import("./lib/tmux-routing.js");
290
290
  const exeSession = row.session_scope ? String(row.session_scope) : resolveExeSession();
291
291
  if (exeSession) {
@@ -329,7 +329,7 @@ async function updateTask(input) {
329
329
  await markTaskNotificationsRead(taskFile);
330
330
  if (isCompletionReviewTransition && !isCoordinator && row.reviewer) {
331
331
  try {
332
- const { writeNotification: writeNotification2 } = await import("./notifications-LA3X57YT.js");
332
+ const { writeNotification: writeNotification2 } = await import("./notifications-YKHZPCXU.js");
333
333
  const reviewer = String(row.reviewer);
334
334
  await writeNotification2({
335
335
  agentId: reviewer,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildSystemStateMemoryTypeExclusion
3
- } from "./chunk-GGHH54QD.js";
3
+ } from "./chunk-H5QNVWU4.js";
4
4
  import {
5
5
  sessionScopeFilter
6
- } from "./chunk-PJOHJ7Q4.js";
6
+ } from "./chunk-ZXSFUR77.js";
7
7
  import {
8
8
  getClient,
9
9
  getIdentity
10
- } from "./chunk-3QYE5U6D.js";
10
+ } from "./chunk-QNKR7WEL.js";
11
11
  import {
12
12
  getEmotionalBaseline
13
13
  } from "./chunk-OMXJMOBD.js";
@@ -646,7 +646,7 @@ var DreamingEngine = class {
646
646
  }
647
647
  let overdueProspective = [];
648
648
  try {
649
- const { getOverdueProspective, completeProspective } = await import("./prospective-memory-JEWS5GFU.js");
649
+ const { getOverdueProspective, completeProspective } = await import("./prospective-memory-V7LFCPU4.js");
650
650
  const overdue = await getOverdueProspective(agentId);
651
651
  overdueProspective = overdue.map((o) => ({
652
652
  id: o.id,
@@ -9,10 +9,10 @@ import {
9
9
  import {
10
10
  buildClaudeHttpMcpEntry,
11
11
  buildClaudeStdioProxyMcpEntry
12
- } from "./chunk-4BQYN4IJ.js";
12
+ } from "./chunk-MH5HWMVH.js";
13
13
  import {
14
14
  ensureAllAgentSymlinks
15
- } from "./chunk-E6TLQG2T.js";
15
+ } from "./chunk-RBRGSOK5.js";
16
16
  import {
17
17
  MCP_LEGACY_KEY,
18
18
  MCP_PRIMARY_KEY
@@ -212,7 +212,7 @@ async function main(args) {
212
212
  console.log("[health-gate] Starting rollback...");
213
213
  restorePreDeployBackup();
214
214
  try {
215
- const { rollbackStackUpdate, defaultStackPaths } = await import("./stack-update-5BPENFJK.js");
215
+ const { rollbackStackUpdate, defaultStackPaths } = await import("./stack-update-WBDTJJEF.js");
216
216
  const paths = defaultStackPaths();
217
217
  await rollbackStackUpdate({
218
218
  manifestRef: paths.manifestRef,
@@ -1,3 +1,6 @@
1
+ import {
2
+ isPostgresBackendEnabled
3
+ } from "./chunk-YMUZWC33.js";
1
4
  import {
2
5
  EXE_AI_DIR
3
6
  } from "./chunk-BCZF3AGJ.js";
@@ -66,6 +69,7 @@ function resolveCheckpointWorkerPath(selfUrl, exists = existsSync) {
66
69
  }
67
70
  async function tryCheckpointWorker(checkpointMode) {
68
71
  if (process.env.EXE_IS_DAEMON !== "1") return false;
72
+ if (isPostgresBackendEnabled()) return true;
69
73
  if (!backupOffloadCreds) return false;
70
74
  const workerPath = resolveCheckpointWorkerPath(import.meta.url);
71
75
  if (!workerPath) {
@@ -244,7 +248,7 @@ async function createBackupAsync(reason = "manual", opts = {}) {
244
248
  }
245
249
  }
246
250
  try {
247
- const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-6UAZ5ETR.js");
251
+ const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-RGB3KKD4.js");
248
252
  if (manifestWriteEnabled()) {
249
253
  await writeBackupManifest(backupPath, dbName);
250
254
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  checkLicense,
3
3
  loadLicense
4
- } from "./chunk-BUDVHNV2.js";
4
+ } from "./chunk-MMOONM6D.js";
5
5
 
6
6
  // src/lib/license-gate.ts
7
7
  var _cachedLicense = null;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-WCGNCH3Q.js";
4
4
  import {
5
5
  registerAllTools
6
- } from "./chunk-HBJAMWHT.js";
6
+ } from "./chunk-7WQ3WHPW.js";
7
7
 
8
8
  // src/mcp/mcp-surface-hash.ts
9
9
  function computeMcpSurfaceHash() {