@askexenow/exe-os 0.9.347 → 0.9.349

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 +31 -15
  3. package/deploy/compose/erp-nginx/nginx.conf +17 -10
  4. package/deploy/compose/sso-edge/default.conf.template +26 -0
  5. package/deploy/stack-manifests/v0.9.30-apps.json +81 -0
  6. package/deploy/stack-manifests/v0.9.json +112 -3
  7. package/dist/{active-agent-CMY7WTJL.js → active-agent-PX6KAEEQ.js} +4 -3
  8. package/dist/{active-agent-US4KO4LV.js → active-agent-QVLZKWR2.js} +4 -3
  9. package/dist/{agentic-ontology-3Y37SQYR.js → agentic-ontology-6MEXY5L7.js} +1 -1
  10. package/dist/{backfill-metadata-GK66TYQE.js → backfill-metadata-TUUT3QII.js} +6 -5
  11. package/dist/{backup-verify-72XBKKHL.js → backup-verify-RGB3KKD4.js} +2 -1
  12. package/dist/{behaviors-G7TR6LBM.js → behaviors-3DQM4PSA.js} +7 -6
  13. package/dist/bin/agentic-ontology-backfill.js +7 -6
  14. package/dist/bin/agentic-reflection-backfill.js +8 -7
  15. package/dist/bin/agentic-semantic-label.js +7 -6
  16. package/dist/bin/backfill-conversations.js +6 -5
  17. package/dist/bin/backfill-responses.js +6 -5
  18. package/dist/bin/backfill-vectors.js +7 -6
  19. package/dist/bin/bulk-sync-postgres.js +11 -10
  20. package/dist/bin/cc-doctor.js +5 -4
  21. package/dist/bin/cleanup-stale-review-tasks.js +14 -13
  22. package/dist/bin/cli.js +18 -18
  23. package/dist/bin/deferred-daemon-restart.js +105 -91
  24. package/dist/bin/exe-agent-config.js +4 -3
  25. package/dist/bin/exe-agent.js +6 -5
  26. package/dist/bin/exe-assign.js +7 -6
  27. package/dist/bin/exe-boot.js +29 -28
  28. package/dist/bin/exe-call.js +6 -5
  29. package/dist/bin/exe-cloud.js +26 -15
  30. package/dist/bin/exe-config-dump.js +4 -3
  31. package/dist/bin/exe-dispatch.js +14 -13
  32. package/dist/bin/exe-doctor.js +5 -4
  33. package/dist/bin/exe-export-behaviors.js +9 -8
  34. package/dist/bin/exe-forget.js +8 -7
  35. package/dist/bin/exe-gateway.js +8 -7
  36. package/dist/bin/exe-healthcheck.js +5 -4
  37. package/dist/bin/exe-heartbeat.js +16 -15
  38. package/dist/bin/exe-kill.js +18 -17
  39. package/dist/bin/exe-launch-agent.js +24 -23
  40. package/dist/bin/exe-memory-reads.js +6 -5
  41. package/dist/bin/exe-new-employee.js +10 -9
  42. package/dist/bin/exe-os-mcp-proxy.js +4 -3
  43. package/dist/bin/exe-pending-messages.js +15 -14
  44. package/dist/bin/exe-pending-notifications.js +14 -13
  45. package/dist/bin/exe-pending-reviews.js +14 -13
  46. package/dist/bin/exe-rename.js +6 -5
  47. package/dist/bin/exe-review.js +17 -16
  48. package/dist/bin/exe-search.js +7 -6
  49. package/dist/bin/exe-session-cleanup.js +18 -17
  50. package/dist/bin/exe-settings.js +12 -11
  51. package/dist/bin/exe-start-codex.js +97 -15
  52. package/dist/bin/exe-start-opencode.js +10 -9
  53. package/dist/bin/exe-status.js +15 -14
  54. package/dist/bin/exe-support.js +3 -3
  55. package/dist/bin/exe-team.js +4 -3
  56. package/dist/bin/git-sweep.js +15 -14
  57. package/dist/bin/graph-backfill.js +7 -6
  58. package/dist/bin/graph-export.js +7 -6
  59. package/dist/bin/import-history.js +10 -9
  60. package/dist/bin/install.js +71 -70
  61. package/dist/bin/intercom-check.js +4 -4
  62. package/dist/bin/mcp-sessions.js +2 -2
  63. package/dist/bin/orchestration-metrics.js +5 -4
  64. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  65. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  66. package/dist/bin/pre-publish.js +1 -1
  67. package/dist/bin/reconcile-backlog.js +2 -2
  68. package/dist/bin/registry-proxy.js +1 -1
  69. package/dist/bin/scan-tasks.js +14 -13
  70. package/dist/bin/setup.js +1 -1
  71. package/dist/bin/shard-migrate.js +6 -5
  72. package/dist/bin/stack-update.js +7 -6
  73. package/dist/bin/vps-health-gate.js +1 -1
  74. package/dist/{boot-generation-KG43UYL4.js → boot-generation-FB2J53IG.js} +4 -3
  75. package/dist/{boot-review-sections-56BRURLM.js → boot-review-sections-UTOPAQQJ.js} +13 -12
  76. package/dist/{capability-cards-4MN3IVJO.js → capability-cards-YADEM2KN.js} +3 -2
  77. package/dist/{capacity-monitor-4NJTN5QQ.js → capacity-monitor-IO6JHLXV.js} +15 -14
  78. package/dist/{catchup-brief-AMBXLHXU.js → catchup-brief-QCKB32YC.js} +18 -17
  79. package/dist/{chunk-PYNWGP72.js → chunk-23O6LHII.js} +1 -1
  80. package/dist/{chunk-VDJUATQJ.js → chunk-27REQ7KR.js} +1 -1
  81. package/dist/{chunk-G4HOMQY7.js → chunk-2AD2GAPC.js} +1 -1
  82. package/dist/{chunk-K3ZHVW26.js → chunk-2N5MLJLM.js} +4 -4
  83. package/dist/{chunk-VALVWYAK.js → chunk-2T6NZLMO.js} +5 -5
  84. package/dist/{chunk-M3NSYVE3.js → chunk-3QLWBLS3.js} +5 -5
  85. package/dist/{chunk-FBSAXAXQ.js → chunk-453QJHGW.js} +3 -3
  86. package/dist/{chunk-QZA5NG6Z.js → chunk-4DZDXS5N.js} +1 -1
  87. package/dist/{chunk-OE6D2IJI.js → chunk-4FHBXWSA.js} +4 -4
  88. package/dist/{chunk-LJGHAZYU.js → chunk-4HMZQRQD.js} +7 -7
  89. package/dist/{chunk-WOKPKILI.js → chunk-5C46Y4AK.js} +1 -1
  90. package/dist/{chunk-DZJL775P.js → chunk-5TBGZK55.js} +1 -1
  91. package/dist/{chunk-I3XN3G3H.js → chunk-5YDNNUZ6.js} +113 -113
  92. package/dist/{chunk-VDKDW5IA.js → chunk-5YXC7GF5.js} +29 -9
  93. package/dist/{chunk-UMK7TNCF.js → chunk-6JQTSKDR.js} +157 -65
  94. package/dist/{chunk-PO64LWTM.js → chunk-6NRY3CFI.js} +9 -9
  95. package/dist/{chunk-3HGAAWNZ.js → chunk-7HO5VMDR.js} +2 -2
  96. package/dist/{chunk-JYFBQH5O.js → chunk-7OPIIYF2.js} +5 -5
  97. package/dist/{chunk-LUQ57SRM.js → chunk-7QRMFYOV.js} +23 -9
  98. package/dist/{chunk-3EMAJBBN.js → chunk-A3YHWWE6.js} +1 -1
  99. package/dist/{chunk-QFGUAJ6T.js → chunk-ADRZXHUB.js} +2 -2
  100. package/dist/{chunk-MT6YGWJ6.js → chunk-AMC2OPYP.js} +1 -1
  101. package/dist/{chunk-CQN4IKRB.js → chunk-BHDOPDPY.js} +8 -2
  102. package/dist/{chunk-F6NABQJ4.js → chunk-CIKFGNES.js} +2 -2
  103. package/dist/{chunk-IMHERTUL.js → chunk-D3DCRA3H.js} +2 -2
  104. package/dist/{chunk-YSTIPPZK.js → chunk-DAODOSH4.js} +1 -1
  105. package/dist/{chunk-IRMJHC23.js → chunk-E3BNUQHW.js} +2 -2
  106. package/dist/{chunk-EYWB6526.js → chunk-E76MXORZ.js} +3 -3
  107. package/dist/{chunk-CNIAEIWV.js → chunk-EFHGK6JP.js} +1 -1
  108. package/dist/{chunk-FM4ZI5ZP.js → chunk-FE6WBI2M.js} +5 -1
  109. package/dist/{chunk-DBDMZTU5.js → chunk-FENYNW52.js} +1 -1
  110. package/dist/{chunk-SUG5P42S.js → chunk-FXE56MAI.js} +4 -4
  111. package/dist/{chunk-2ESYTX6F.js → chunk-GKNWKQFY.js} +1 -1
  112. package/dist/{chunk-DNN27P35.js → chunk-GTZKETSS.js} +4 -4
  113. package/dist/{chunk-FDOURKUO.js → chunk-HYZE3MNS.js} +1 -1
  114. package/dist/{chunk-EWWCMMES.js → chunk-IFSKL5QW.js} +16 -16
  115. package/dist/{chunk-AHR3F7HW.js → chunk-IKYQ2HSH.js} +1 -1
  116. package/dist/{chunk-3T4BRBSH.js → chunk-JORPYG4O.js} +1 -1
  117. package/dist/{chunk-3LQMUO5D.js → chunk-KIMAQNSM.js} +3 -3
  118. package/dist/{chunk-UO56K55W.js → chunk-M7PBRIRH.js} +1 -1
  119. package/dist/{chunk-MESFJRIT.js → chunk-MH5HWMVH.js} +1 -1
  120. package/dist/{chunk-ZK53K7OR.js → chunk-MMOONM6D.js} +1 -1
  121. package/dist/{chunk-VA3ZUIWG.js → chunk-MOZY4IQO.js} +1 -1
  122. package/dist/{chunk-VTMSGELG.js → chunk-MVZLF27P.js} +2 -2
  123. package/dist/{chunk-KWRO4RMT.js → chunk-NAHDJLLB.js} +3 -3
  124. package/dist/{chunk-M722B4DA.js → chunk-NBTSUPTB.js} +1 -1
  125. package/dist/{chunk-2LZMDOC6.js → chunk-NUWAB2ZB.js} +5 -5
  126. package/dist/{chunk-H44V3Y6D.js → chunk-NY6DU5RB.js} +1 -1
  127. package/dist/{chunk-F4ZW76IX.js → chunk-O522M4YZ.js} +1 -1
  128. package/dist/{chunk-PRUZNNEF.js → chunk-O5RXPXDD.js} +3 -3
  129. package/dist/{chunk-7667KFAG.js → chunk-OBWIVRD6.js} +1 -1
  130. package/dist/{chunk-XRX7F7XW.js → chunk-OYEBUJ5W.js} +1 -1
  131. package/dist/{chunk-TQSAPNFW.js → chunk-P3JQDXY6.js} +18 -10
  132. package/dist/{chunk-D74XYSA3.js → chunk-QCQT5RXR.js} +5 -1
  133. package/dist/{chunk-ZY2ABBVR.js → chunk-QNKR7WEL.js} +20 -6
  134. package/dist/{chunk-FJPZ7KHN.js → chunk-R6POL63K.js} +1 -1
  135. package/dist/{chunk-XOVHWGPV.js → chunk-RBRGSOK5.js} +1 -1
  136. package/dist/{chunk-ZYNQXN73.js → chunk-RFKWETK3.js} +4 -4
  137. package/dist/{chunk-Y7637VDZ.js → chunk-RFRUDXOI.js} +2 -2
  138. package/dist/{chunk-4K2PLZKF.js → chunk-SQ4WACH4.js} +1 -1
  139. package/dist/{chunk-ILLBFFY6.js → chunk-SRK5AWVS.js} +2 -2
  140. package/dist/{chunk-VMTKHDFM.js → chunk-SUJFXYMQ.js} +3 -3
  141. package/dist/{chunk-HWK5GKE6.js → chunk-TF5E6O5Q.js} +1 -1
  142. package/dist/{chunk-YJK4JZ35.js → chunk-TIWFOWL6.js} +3 -3
  143. package/dist/{chunk-FAH7JUNS.js → chunk-TRIK7MXS.js} +10 -10
  144. package/dist/{chunk-XDVLCS64.js → chunk-UAKGNQWE.js} +1 -1
  145. package/dist/{chunk-G6IANQKD.js → chunk-UG2R4LHI.js} +1 -1
  146. package/dist/{chunk-4VLRGKNY.js → chunk-UPZQLFRJ.js} +2 -2
  147. package/dist/{chunk-T7ZLJZAO.js → chunk-UUJZAOF3.js} +2 -2
  148. package/dist/{chunk-W7HKGDJO.js → chunk-UXPMDQHP.js} +3 -3
  149. package/dist/{chunk-BRVDGE7N.js → chunk-VC2OE37S.js} +4 -4
  150. package/dist/{chunk-Z7DWUHDP.js → chunk-VRQTOLRH.js} +1 -1
  151. package/dist/{chunk-2BOEUPL6.js → chunk-W3T76WFH.js} +1 -1
  152. package/dist/{chunk-BMTUSSHV.js → chunk-WUMWXU6B.js} +1 -1
  153. package/dist/{chunk-7AD4GSRT.js → chunk-WUNXNNJL.js} +3 -3
  154. package/dist/{chunk-QIALRZZG.js → chunk-X6VEQ7MC.js} +1 -1
  155. package/dist/{chunk-PEVOVM3W.js → chunk-XF2G47JS.js} +3 -3
  156. package/dist/{chunk-W666YWFU.js → chunk-Y6IP4R5M.js} +3 -3
  157. package/dist/{chunk-53VXPGZ2.js → chunk-YF3B3NQF.js} +2 -2
  158. package/dist/chunk-YFLHS7GV.js +58 -0
  159. package/dist/chunk-YMUZWC33.js +8 -0
  160. package/dist/{chunk-7DAJHBFH.js → chunk-YTPCJLEL.js} +1 -1
  161. package/dist/{chunk-JLYQD2XF.js → chunk-ZFR4A5W4.js} +1 -1
  162. package/dist/{cleanup-graph-garbage-5HKGGUS3.js → cleanup-graph-garbage-ON45J7RR.js} +8 -7
  163. package/dist/{cloud-sync-shutdown-2JAEIAW6.js → cloud-sync-shutdown-A2QB74YM.js} +3 -2
  164. package/dist/{co-activation-SYSIFY66.js → co-activation-S2FVGMQP.js} +3 -2
  165. package/dist/{co-occurrence-QZFT5ORJ.js → co-occurrence-VQB6U5ME.js} +6 -5
  166. package/dist/{conversation-entity-extractor-YC3A2ODD.js → conversation-entity-extractor-YF3ZLTEJ.js} +3 -3
  167. package/dist/{crdt-sync-W45AKWCU.js → crdt-sync-2SGCDWC3.js} +1 -1
  168. package/dist/{crm-webhook-ZAGDYWB3.js → crm-webhook-OJFVII6G.js} +2 -2
  169. package/dist/{cto-delegation-gate-PLSICYEK.js → cto-delegation-gate-KNH5TRUS.js} +13 -12
  170. package/dist/{daemon-orchestration-QX3FS4L2.js → daemon-orchestration-VFM2FKGY.js} +18 -17
  171. package/dist/{doc-graph-extractor-NK6CP4LE.js → doc-graph-extractor-DCJMATVZ.js} +6 -5
  172. package/dist/{documents-FGXV6BDL.js → documents-253FGKPI.js} +7 -6
  173. package/dist/{dreaming-YIESEME7.js → dreaming-EFRFVQDZ.js} +17 -16
  174. package/dist/{exe-drift-TLY7MCXW.js → exe-drift-ED7FBS2C.js} +4 -3
  175. package/dist/{exe-export-32J4WPS6.js → exe-export-AVGUGDMJ.js} +9 -8
  176. package/dist/{exe-import-MDEWE325.js → exe-import-ALYVE4XT.js} +9 -8
  177. package/dist/{exe-key-NW42YUA3.js → exe-key-5MDOPRDS.js} +69 -68
  178. package/dist/{exe-snapshot-NNEEAGYI.js → exe-snapshot-ZN523QP6.js} +18 -17
  179. package/dist/{fast-db-init-O7AECNTB.js → fast-db-init-GJGO22F5.js} +1 -1
  180. package/dist/{founder-context-3WDZ6LIS.js → founder-context-JHHFM4GF.js} +2 -2
  181. package/dist/gateway/index.js +9 -8
  182. package/dist/{git-main-guard-UZP3KXYI.js → git-main-guard-TGK3RQY3.js} +1 -1
  183. package/dist/{git-staleness-GEJ7U4MW.js → git-staleness-YPHGWE3B.js} +3 -2
  184. package/dist/{global-procedures-HY3BJXY4.js → global-procedures-HZFQ3WJB.js} +5 -4
  185. package/dist/{graph-auto-extract-DBAIFNDK.js → graph-auto-extract-7OJYYV4G.js} +6 -5
  186. package/dist/{graph-rag-LWKKHY72.js → graph-rag-YFITUAVO.js} +3 -3
  187. package/dist/{hook-prefetch-KNHZNI4L.js → hook-prefetch-ITWBE3XZ.js} +14 -13
  188. package/dist/hooks/bug-report-worker.js +16 -15
  189. package/dist/hooks/codex-stop-task-finalizer.js +17 -16
  190. package/dist/hooks/commit-complete.js +16 -15
  191. package/dist/hooks/error-recall.js +8 -7
  192. package/dist/hooks/exe-heartbeat-hook.js +4 -3
  193. package/dist/hooks/ingest.js +7 -6
  194. package/dist/hooks/instructions-loaded.js +5 -4
  195. package/dist/hooks/manifest.json +19 -19
  196. package/dist/hooks/notification.js +5 -4
  197. package/dist/hooks/post-compact.js +15 -14
  198. package/dist/hooks/post-tool-combined.js +9 -9
  199. package/dist/hooks/pre-compact.js +16 -15
  200. package/dist/hooks/pre-tool-use.js +36 -38
  201. package/dist/hooks/prompt-submit.js +28 -27
  202. package/dist/hooks/session-end.js +20 -19
  203. package/dist/hooks/session-start.js +13 -13
  204. package/dist/hooks/stop.js +19 -18
  205. package/dist/hooks/subagent-stop.js +17 -16
  206. package/dist/hooks/summary-worker.js +20 -19
  207. package/dist/index.js +23 -22
  208. package/dist/{installer-R2S64Q6T.js → installer-3ONNP5JV.js} +6 -5
  209. package/dist/{installer-AWALPCAX.js → installer-CY5PN7TN.js} +6 -5
  210. package/dist/{installer-SQF5I6YS.js → installer-N4QXGINR.js} +6 -5
  211. package/dist/{intercom-queue-SJL4G3J5.js → intercom-queue-RLWMSZHB.js} +13 -12
  212. package/dist/lib/agent-config.js +1 -1
  213. package/dist/lib/cloud-sync.js +11 -10
  214. package/dist/lib/consolidation.js +8 -7
  215. package/dist/lib/database.js +5 -2
  216. package/dist/lib/db-backup.js +2 -1
  217. package/dist/lib/db-checkpoint-worker.js +9 -0
  218. package/dist/lib/db-read-worker-client.js +21 -8
  219. package/dist/lib/db-read-worker.js +15 -0
  220. package/dist/lib/db-write-worker-client.js +4 -1
  221. package/dist/lib/db-write-worker.js +21 -6
  222. package/dist/lib/db.js +5 -2
  223. package/dist/lib/device-registry.js +1 -1
  224. package/dist/lib/employee-templates.js +6 -5
  225. package/dist/lib/employees.js +3 -2
  226. package/dist/lib/exe-daemon.js +211 -71
  227. package/dist/lib/hybrid-search.js +7 -6
  228. package/dist/lib/identity.js +3 -2
  229. package/dist/lib/license.js +2 -2
  230. package/dist/lib/messaging.js +14 -13
  231. package/dist/lib/registry-proxy.js +1 -1
  232. package/dist/lib/reminders.js +4 -3
  233. package/dist/lib/schedules.js +7 -6
  234. package/dist/lib/session-registry.js +5 -4
  235. package/dist/lib/skill-learning.js +8 -7
  236. package/dist/lib/store.js +6 -5
  237. package/dist/lib/task-router.js +4 -3
  238. package/dist/lib/tasks.js +15 -14
  239. package/dist/lib/tmux-routing.js +13 -12
  240. package/dist/lib/token-spend.js +4 -3
  241. package/dist/{license-gate-ZYZQGPKW.js → license-gate-ZRORTAQ2.js} +3 -3
  242. package/dist/{license-sync-GU3L66JR.js → license-sync-CQHBDUQE.js} +2 -2
  243. package/dist/mcp/register-tools.js +68 -67
  244. package/dist/mcp/server.js +69 -68
  245. package/dist/mcp/tools/complete-reminder.js +5 -4
  246. package/dist/mcp/tools/create-reminder.js +5 -4
  247. package/dist/mcp/tools/create-task.js +17 -16
  248. package/dist/mcp/tools/deactivate-behavior.js +9 -8
  249. package/dist/mcp/tools/list-reminders.js +5 -4
  250. package/dist/mcp/tools/list-tasks.js +17 -16
  251. package/dist/mcp/tools/send-message.js +16 -15
  252. package/dist/mcp/tools/update-task.js +16 -15
  253. package/dist/{mcp-http-config-BV2GO7P4.js → mcp-http-config-2A6HKQP5.js} +4 -3
  254. package/dist/{mcp-session-identity-3QQPOGNI.js → mcp-session-identity-YTXFSOWN.js} +13 -12
  255. package/dist/{memory-cards-NISTO4EP.js → memory-cards-CJJJ2EP6.js} +6 -5
  256. package/dist/{memory-graph-extractor-CO3R5K7L.js → memory-graph-extractor-2Z72HN5P.js} +7 -6
  257. package/dist/{memory-poisoning-defense-QZCG3BMC.js → memory-poisoning-defense-WZJ52KXT.js} +3 -2
  258. package/dist/{memory-pressure-watchdog-VWQM3GXR.js → memory-pressure-watchdog-VNKYRODT.js} +14 -13
  259. package/dist/{memory-reflection-G32OQ3X3.js → memory-reflection-LTRHDGUL.js} +3 -2
  260. package/dist/{notification-ledger-C3J4HFMM.js → notification-ledger-OE4XNOAY.js} +14 -13
  261. package/dist/{notifications-JIARMDZ5.js → notifications-DU4WVNET.js} +13 -12
  262. package/dist/{orchestration-events-AL7AWHBX.js → orchestration-events-HAFDPTLV.js} +4 -3
  263. package/dist/{orchestrator-LWVALDUO.js → orchestrator-JRSVEKLB.js} +15 -14
  264. package/dist/{pipeline-router-HK5BI3LQ.js → pipeline-router-4RRX65W7.js} +4 -3
  265. package/dist/{plan-limits-4LMRHOUW.js → plan-limits-5QYYPIPT.js} +6 -5
  266. package/dist/{platform-procedures-G44IYUM2.js → platform-procedures-NBKHO33A.js} +1 -1
  267. package/dist/{projection-worker-Z5U6UWCE.js → projection-worker-PXJZEKFK.js} +2 -2
  268. package/dist/{prospective-memory-UDQWFP5Y.js → prospective-memory-V7LFCPU4.js} +3 -2
  269. package/dist/{reranker-FX4QOK2G.js → reranker-DWNE7KUB.js} +1 -1
  270. package/dist/{retrieval-health-2LIKKDMW.js → retrieval-health-4NCBHUUS.js} +1 -1
  271. package/dist/{review-polling-B2EP4KGE.js → review-polling-K2V34KEA.js} +14 -13
  272. package/dist/runtime/index.js +17 -16
  273. package/dist/{session-events-HVYX42HD.js → session-events-R3WL7J7D.js} +14 -13
  274. package/dist/{session-kill-telemetry-BHKUHSK2.js → session-kill-telemetry-BQSJZ2A7.js} +14 -13
  275. package/dist/{session-scope-TXCBVOSN.js → session-scope-SMYECIDA.js} +13 -12
  276. package/dist/{setup-wizard-QMKBAK6B.js → setup-wizard-BUFVAFWP.js} +1 -1
  277. package/dist/{skill-refinement-G6BPD6QK.js → skill-refinement-VG3UU7MU.js} +4 -3
  278. package/dist/{stack-promote-RSOWO6EY.js → stack-promote-RARBN276.js} +13 -3
  279. package/dist/{stack-release-HGFFFCGC.js → stack-release-OTVTLA6B.js} +464 -169
  280. package/dist/{stack-update-CBP5S5BG.js → stack-update-WBDTJJEF.js} +7 -3
  281. package/dist/{steward-gate-CGP6U7KC.js → steward-gate-CWPD4HEK.js} +4 -3
  282. package/dist/{support-inbox-3ATAP7KN.js → support-inbox-HRIHHKPU.js} +3 -3
  283. package/dist/{task-enforcement-YINAK3T6.js → task-enforcement-RNSASE3R.js} +14 -13
  284. package/dist/{task-scope-5OSP2MUP.js → task-scope-TW3BWFVJ.js} +13 -12
  285. package/dist/{tasks-crud-PTN36B5F.js → tasks-crud-VXCTTSB5.js} +13 -12
  286. package/dist/{tasks-notify-QCJXVZCJ.js → tasks-notify-ETPCCUXG.js} +14 -13
  287. package/dist/{tasks-review-ZY3S65OV.js → tasks-review-TY7OZBAT.js} +13 -12
  288. package/dist/{telemetry-upload-Z47OEELW.js → telemetry-upload-ABCUA2WS.js} +8 -7
  289. package/dist/{token-budget-B3OKOYDA.js → token-budget-SK32GKFZ.js} +4 -3
  290. package/dist/{tool-telemetry-KIHAHUPT.js → tool-telemetry-QJGJAHOC.js} +1 -1
  291. package/dist/tui/App.js +22 -21
  292. package/dist/{tui-data-YIFXHE2D.js → tui-data-XZX7VSG4.js} +13 -12
  293. package/dist/{update-support-IZUWVU2U.js → update-support-Q5HFD4IN.js} +10 -9
  294. package/dist/{work-state-heartbeat-WIURKX3N.js → work-state-heartbeat-MQQOCU54.js} +1 -1
  295. package/dist/{worker-gate-NZRA426F.js → worker-gate-RKHQLE4F.js} +1 -1
  296. package/dist/{workflow-engine-LAB6TGBZ.js → workflow-engine-CXUJIH3R.js} +2 -2
  297. package/dist/{worktree-TBUUZJHY.js → worktree-FJZXHDCJ.js} +5 -4
  298. package/dist/{worktree-sweep-LXDNIZPM.js → worktree-sweep-SW4AG6JR.js} +6 -5
  299. package/package.json +3 -2
  300. package/release-notes.json +46 -65
  301. /package/dist/{chunk-UVPLZ6AK.js → chunk-4N3NTBGJ.js} +0 -0
  302. /package/dist/{chunk-QPNXYGWG.js → chunk-A4X7SCDG.js} +0 -0
  303. /package/dist/{chunk-G4JZ22KK.js → chunk-E42D2E5F.js} +0 -0
  304. /package/dist/{chunk-OG2RT4IY.js → chunk-E77V5MTE.js} +0 -0
  305. /package/dist/{chunk-MDK7E653.js → chunk-ELJSXKYA.js} +0 -0
  306. /package/dist/{chunk-MA22RV3T.js → chunk-FXZRJT3H.js} +0 -0
  307. /package/dist/{chunk-D4UCBR4O.js → chunk-GFIWADEH.js} +0 -0
  308. /package/dist/{chunk-4P7NUL4D.js → chunk-GI3O5MGF.js} +0 -0
  309. /package/dist/{chunk-VBHLE3TR.js → chunk-GPZQZTJB.js} +0 -0
  310. /package/dist/{chunk-FFUEDKYK.js → chunk-H4JKOLXU.js} +0 -0
  311. /package/dist/{chunk-CYI2YR56.js → chunk-QUOMJKVF.js} +0 -0
  312. /package/dist/{chunk-SJLZ53ZR.js → chunk-XF2D4CDA.js} +0 -0
  313. /package/dist/{core-memory-FOW4BCPN.js → core-memory-PCKGCUZU.js} +0 -0
  314. /package/dist/{oauth-server-OR4RAQYM.js → oauth-server-FSKABATB.js} +0 -0
  315. /package/dist/{project-boot-WP54EOAG.js → project-boot-FVSC4VQC.js} +0 -0
  316. /package/dist/{wiki-acl-4DQQCP4V.js → wiki-acl-CW2UALTJ.js} +0 -0
@@ -1,3 +1,7 @@
1
+ import {
2
+ isPostgresBackendEnabled
3
+ } from "./chunk-YMUZWC33.js";
4
+
1
5
  // src/lib/db-write-worker-client.ts
2
6
  import { fork } from "child_process";
3
7
  import { existsSync } from "fs";
@@ -10,6 +14,18 @@ var _spawnAttempts = 0;
10
14
  var MAX_SPAWN_ATTEMPTS = 5;
11
15
  var WRITE_TIMEOUT_MS = 6e4;
12
16
  var _pending = /* @__PURE__ */ new Map();
17
+ function buildDbWriteWorkerEnv(dbPath, encryptionKey, source = process.env) {
18
+ const env = {
19
+ ...source,
20
+ EXE_IS_DAEMON: "",
21
+ EXE_DB_DIRECT: "1",
22
+ EXE_BOOT_FAST: "1",
23
+ EXE_DB_NO_CHECKPOINT_TIMER: "1"
24
+ };
25
+ if (dbPath) env.EXE_DB_WRITE_WORKER_PATH = dbPath;
26
+ if (encryptionKey) env.EXE_DB_WRITE_WORKER_KEY = encryptionKey;
27
+ return env;
28
+ }
13
29
  function rejectAllPending(reason) {
14
30
  for (const [id, cb] of _pending) {
15
31
  clearTimeout(cb.timer);
@@ -31,15 +47,12 @@ function spawnDbWriteWorker(dbPath, encryptionKey) {
31
47
  `);
32
48
  return;
33
49
  }
34
- const env = {
35
- ...process.env,
36
- EXE_DB_WRITE_WORKER_PATH: dbPath,
37
- EXE_IS_DAEMON: "",
38
- EXE_DB_DIRECT: "1",
39
- EXE_BOOT_FAST: "1",
40
- EXE_DB_NO_CHECKPOINT_TIMER: "1"
41
- };
42
- if (encryptionKey) env.EXE_DB_WRITE_WORKER_KEY = encryptionKey;
50
+ const env = buildDbWriteWorkerEnv(dbPath, encryptionKey);
51
+ if (!isPostgresBackendEnabled(env) && !env.EXE_DB_WRITE_WORKER_PATH) {
52
+ process.stderr.write("[db-write-worker-client] no SQLite db path for write worker - memory writes will run on the event loop.\n");
53
+ _spawnAttempts = Math.max(0, _spawnAttempts - 1);
54
+ return;
55
+ }
43
56
  try {
44
57
  _worker = fork(workerPath, [], { stdio: ["ignore", "ignore", "inherit", "ipc"], env });
45
58
  } catch (err) {
@@ -118,6 +131,7 @@ function disposeDbWriteWorker() {
118
131
  }
119
132
 
120
133
  export {
134
+ buildDbWriteWorkerEnv,
121
135
  isWriteWorkerEnabled,
122
136
  spawnDbWriteWorker,
123
137
  isDbWriteWorkerReady,
@@ -22,7 +22,7 @@ var AGENT_CONFIG_PATH = path.join(EXE_AI_DIR, "agent-config.json");
22
22
  var CODEX_DEFAULT_MODEL = RUNTIME_TABLE.codex?.defaultModel ?? "gpt-5.5";
23
23
  var CODEX_BASE_MODELS = ["gpt-5.4", "gpt-5.5", "gpt-5.3-codex-spark", "o3", "o4-mini"];
24
24
  var KNOWN_RUNTIMES = {
25
- 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"],
26
26
  // Bug fbf99272: this list MUST contain RUNTIME_TABLE.codex.defaultModel — the
27
27
  // adapter's own default — or a default codex spawn boots an unlisted model that
28
28
  // 400s and idles (asserted by an agent-config-models test so they cannot drift).
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  sendMessage
3
- } from "./chunk-YJK4JZ35.js";
3
+ } from "./chunk-TIWFOWL6.js";
4
4
  import {
5
5
  getActiveAgent
6
- } from "./chunk-HWK5GKE6.js";
6
+ } from "./chunk-TF5E6O5Q.js";
7
7
 
8
8
  // src/mcp/tools/send-message.ts
9
9
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-ZY2ABBVR.js";
3
+ } from "./chunk-QNKR7WEL.js";
4
4
 
5
5
  // src/lib/orchestration-events.ts
6
6
  import crypto from "crypto";
@@ -23,7 +23,7 @@ var PLATFORM_PROCEDURES = [
23
23
  title: "Runtime settings \u2014 COO can view and change tools per agent",
24
24
  domain: "workflow",
25
25
  priority: "p1",
26
- content: "exe-os supports three tools: Claude Code (Anthropic), Codex (OpenAI), OpenCode (open source, 75+ providers). Each agent can use a different tool and model. COO uses set_agent_config MCP tool to view/change settings. No args = show all agents. agent_id + runtime + model = change. Claude models: claude-sonnet-4.6, claude-opus-4.6, claude-sonnet-4.8, claude-opus-4.8, claude-opus-4.8-1m, fable (claude-fable-5). Interactive selection: `exe-os settings` from terminal."
26
+ content: "exe-os supports three tools: Claude Code (Anthropic), Codex (OpenAI), OpenCode (open source, 75+ providers). Each agent can use a different tool and model. COO uses set_agent_config MCP tool to view/change settings. No args = show all agents. agent_id + runtime + model = change. Claude models: claude-sonnet-4.6, claude-opus-4.6, claude-sonnet-4.8, claude-opus-4.8, fable (claude-fable-5). Interactive selection: `exe-os settings` from terminal."
27
27
  },
28
28
  // --- Reference pointer (boot-perf audit 2026-07-06 §P1) ---
29
29
  // The heavy reference sections (update lifecycle, first-install wizard, full
@@ -93,6 +93,12 @@ var PLATFORM_PROCEDURES = [
93
93
  priority: "p1",
94
94
  content: "Tokens are money \u2014 pick the model per task. Mechanical/bounded work (renames, config edits, boilerplate, well-specified fixes) -> cheaper model and/or lower reasoning effort. Adversarial verification, hard design, security review, debugging unknowns -> strong model; never verify a strong model's work with a weaker one. Set per agent via set_agent_config, per task via create_task spawn_model/spawn_runtime. Audit spend with config(action='agent_spend')."
95
95
  },
96
+ {
97
+ title: "Fetch and scope-check before dispatching fix work",
98
+ domain: "workflow",
99
+ priority: "p0",
100
+ content: "Before dispatching or scoping any fix work in a git repo: `git fetch origin` and check `git log origin/main` for the affected paths \u2014 a parallel session may already have landed part of it. Scope against origin/main, not your local checkout. Brief each dispatched agent to re-check origin/main for its files and build residuals on landed work, not duplicates. Claim hot files in memory before starting."
101
+ },
96
102
  // --- Session isolation (consolidated from 3 procedures) ---
97
103
  {
98
104
  title: "Session isolation \u2014 scoping, boundaries, and enforcement",
@@ -165,7 +171,7 @@ var PLATFORM_PROCEDURES = [
165
171
  title: "Never defer \u2014 fix it now or assign it now",
166
172
  domain: "operations",
167
173
  priority: "p0",
168
- content: "NEVER defer work. If something is broken or needed, fix it in this session. Do NOT say 'we can do this later', 'save for next sprint', 'when prioritized', or 'not urgent right now'. Every defer is a broken promise \u2014 the work was identified but not done, which is worse than not identifying it. Deferred items pile up, get forgotten, block other work, and erode trust. If you find a bug while working on something else: fix it immediately, then continue your original task. If it's outside your scope: create_task to assign it to someone who can fix it NOW, not 'later'. If it genuinely cannot be done right now (missing credentials, needs external human action, blocked by third-party API), say exactly what's blocking and who needs to act \u2014 but never defer something within our control. The only acceptable reason to not fix something is 'it is physically impossible right now' \u2014 not 'it's not urgent'."
174
+ content: "NEVER defer work \u2014 no 'later', 'next sprint', or 'not urgent'. Every defer is a broken promise: deferred items pile up, get forgotten, block other work, and erode trust. Find a bug mid-task: fix it now, then resume. Outside your scope: create_task so someone fixes it NOW. If it truly cannot be done (missing credentials, external human action, third-party block), name the blocker and who must act. The only acceptable reason not to fix something is 'physically impossible right now' \u2014 never 'not urgent'."
169
175
  },
170
176
  // --- Observability ---
171
177
  {
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-75H4R62K.js";
4
4
  import {
5
5
  initStore
6
- } from "./chunk-TQSAPNFW.js";
6
+ } from "./chunk-P3JQDXY6.js";
7
7
  import {
8
8
  getClient,
9
9
  isInitialized
10
- } from "./chunk-ZY2ABBVR.js";
10
+ } from "./chunk-QNKR7WEL.js";
11
11
 
12
12
  // src/lib/schedules.ts
13
13
  import crypto from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  storeBehavior
3
- } from "./chunk-4VLRGKNY.js";
3
+ } from "./chunk-UPZQLFRJ.js";
4
4
  import {
5
5
  getClient
6
- } from "./chunk-ZY2ABBVR.js";
6
+ } from "./chunk-QNKR7WEL.js";
7
7
  import {
8
8
  loadConfig
9
9
  } from "./chunk-BCZF3AGJ.js";
@@ -2,7 +2,7 @@ import {
2
2
  getClient,
3
3
  isCoordinatorName,
4
4
  loadEmployeesSync
5
- } from "./chunk-ZY2ABBVR.js";
5
+ } from "./chunk-QNKR7WEL.js";
6
6
 
7
7
  // src/lib/steward-gate.ts
8
8
  import crypto from "crypto";
@@ -9,10 +9,10 @@ import {
9
9
  import {
10
10
  buildClaudeHttpMcpEntry,
11
11
  buildClaudeStdioProxyMcpEntry
12
- } from "./chunk-MESFJRIT.js";
12
+ } from "./chunk-MH5HWMVH.js";
13
13
  import {
14
14
  ensureAllAgentSymlinks
15
- } from "./chunk-XOVHWGPV.js";
15
+ } from "./chunk-RBRGSOK5.js";
16
16
  import {
17
17
  MCP_LEGACY_KEY,
18
18
  MCP_PRIMARY_KEY
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  extractMemoryGraph
3
- } from "./chunk-3LQMUO5D.js";
3
+ } from "./chunk-KIMAQNSM.js";
4
4
  import {
5
5
  flushBatch,
6
6
  writeMemory
7
- } from "./chunk-TQSAPNFW.js";
7
+ } from "./chunk-P3JQDXY6.js";
8
8
  import {
9
9
  extractKeywords
10
10
  } from "./chunk-CHCA3ZM2.js";
11
11
  import {
12
12
  getActiveAgent
13
- } from "./chunk-HWK5GKE6.js";
13
+ } from "./chunk-TF5E6O5Q.js";
14
14
 
15
15
  // src/mcp/tools/import-conversations.ts
16
16
  import { z } from "zod";
@@ -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-CBP5S5BG.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-72XBKKHL.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-ZK53K7OR.js";
4
+ } from "./chunk-MMOONM6D.js";
5
5
 
6
6
  // src/lib/license-gate.ts
7
7
  var _cachedLicense = null;
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  updateTask
3
- } from "./chunk-LJGHAZYU.js";
3
+ } from "./chunk-4HMZQRQD.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-EWWCMMES.js";
8
+ } from "./chunk-IFSKL5QW.js";
9
9
  import {
10
10
  getAgentContext
11
11
  } from "./chunk-GJV3WDWM.js";
12
12
  import {
13
13
  isCoordinatorName
14
- } from "./chunk-ZY2ABBVR.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-CMY7WTJL.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,6 +1,6 @@
1
1
  import {
2
2
  completeReminder
3
- } from "./chunk-XDVLCS64.js";
3
+ } from "./chunk-UAKGNQWE.js";
4
4
 
5
5
  // src/mcp/tools/complete-reminder.ts
6
6
  import { z } from "zod";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  formatDegradations,
3
3
  getRetrievalHealth
4
- } from "./chunk-CYI2YR56.js";
4
+ } from "./chunk-QUOMJKVF.js";
5
5
  import {
6
6
  buildRestartReport,
7
7
  formatRestartReport
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-OTVEIJUQ.js";
21
21
  import {
22
22
  offloadReadIfMain
23
- } from "./chunk-ZY2ABBVR.js";
23
+ } from "./chunk-QNKR7WEL.js";
24
24
  import {
25
25
  isMainModule
26
26
  } from "./chunk-6Y4B3QF6.js";
@@ -1023,7 +1023,7 @@ function formatReport(report, flags) {
1023
1023
  return lines.join("\n");
1024
1024
  }
1025
1025
  async function fixNullVectors() {
1026
- const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-NZRA426F.js");
1026
+ const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-RKHQLE4F.js");
1027
1027
  if (!tryAcquireWorkerSlot()) {
1028
1028
  process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
1029
1029
  await new Promise((r) => setTimeout(r, 5e3));
@@ -1209,7 +1209,7 @@ async function main(argv = process.argv.slice(2)) {
1209
1209
  console.log(formatRestartReport(restartReport));
1210
1210
  return emptyAuditReport();
1211
1211
  }
1212
- const { fastDbInit } = await import("./fast-db-init-O7AECNTB.js");
1212
+ const { fastDbInit } = await import("./fast-db-init-GJGO22F5.js");
1213
1213
  const client = await fastDbInit();
1214
1214
  const report = await runAudit(client, flags);
1215
1215
  console.log(formatReport(report, flags));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  recordOrchestrationEventBestEffort
3
- } from "./chunk-MT6YGWJ6.js";
3
+ } from "./chunk-AMC2OPYP.js";
4
4
  import {
5
5
  atomicWriteJsonSync
6
6
  } from "./chunk-HSGBZSCA.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ensureAgentSymlink
3
- } from "./chunk-XOVHWGPV.js";
3
+ } from "./chunk-RBRGSOK5.js";
4
4
  import {
5
5
  ensureWorktree,
6
6
  ensureWorktreeAsync,
@@ -8,10 +8,10 @@ import {
8
8
  getMainRepoRoot,
9
9
  isInsideGitRepo,
10
10
  isWorktreeDirty
11
- } from "./chunk-7667KFAG.js";
11
+ } from "./chunk-OBWIVRD6.js";
12
12
  import {
13
13
  incrementSkillSuccess
14
- } from "./chunk-JLYQD2XF.js";
14
+ } from "./chunk-ZFR4A5W4.js";
15
15
  import {
16
16
  LEASE_MINUTES,
17
17
  isLeaseExpired,
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  listSessions,
30
30
  registerSession
31
- } from "./chunk-FDOURKUO.js";
31
+ } from "./chunk-HYZE3MNS.js";
32
32
  import {
33
33
  getTransport
34
34
  } from "./chunk-AD2VCHSS.js";
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-SKGMF2SO.js";
38
38
  import {
39
39
  recordOrchestrationEventBestEffort
40
- } from "./chunk-MT6YGWJ6.js";
40
+ } from "./chunk-AMC2OPYP.js";
41
41
  import {
42
42
  appendDispatchJournalEvent,
43
43
  releaseDispatchClaim,
@@ -49,11 +49,11 @@ import {
49
49
  getAgentRuntime,
50
50
  normalizeCcModelName,
51
51
  resolveSpawnRuntimeConfig
52
- } from "./chunk-3EMAJBBN.js";
52
+ } from "./chunk-A3YHWWE6.js";
53
53
  import {
54
54
  PlanLimitError,
55
55
  assertEmployeeLimitSync
56
- } from "./chunk-Y7637VDZ.js";
56
+ } from "./chunk-RFRUDXOI.js";
57
57
  import {
58
58
  BUSY_PATTERN
59
59
  } from "./chunk-OSKWCKUC.js";
@@ -89,13 +89,13 @@ import {
89
89
  loadEmployeesSync,
90
90
  offloadReadIfMain,
91
91
  offloadReadQuery
92
- } from "./chunk-ZY2ABBVR.js";
92
+ } from "./chunk-QNKR7WEL.js";
93
93
  import {
94
94
  RUNTIME_TABLE
95
95
  } from "./chunk-WNBZJSQT.js";
96
96
  import {
97
97
  loadDeviceId
98
- } from "./chunk-ZK53K7OR.js";
98
+ } from "./chunk-MMOONM6D.js";
99
99
  import {
100
100
  EXE_AI_DIR
101
101
  } from "./chunk-BCZF3AGJ.js";
@@ -1513,7 +1513,7 @@ async function createTaskCore(input) {
1513
1513
  if (isCoordinatorSession) {
1514
1514
  earlySessionScope = resolved;
1515
1515
  } else {
1516
- const { getSessionProject } = await import("./session-scope-TXCBVOSN.js");
1516
+ const { getSessionProject } = await import("./session-scope-SMYECIDA.js");
1517
1517
  const sessionProject = getSessionProject(resolved);
1518
1518
  if (sessionProject && sessionProject !== input.projectName) {
1519
1519
  scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
@@ -1810,7 +1810,7 @@ async function buildTaskRowsStatement(opts) {
1810
1810
  }
1811
1811
  if (opts.founderId !== null) {
1812
1812
  try {
1813
- const { founderScopeFilter } = await import("./founder-context-3WDZ6LIS.js");
1813
+ const { founderScopeFilter } = await import("./founder-context-JHHFM4GF.js");
1814
1814
  const founderFilter = founderScopeFilter(opts.founderId);
1815
1815
  const cleaned = founderFilter.sql.replace(/^\s*AND\s+/, "");
1816
1816
  conditions.push(cleaned);
@@ -5142,7 +5142,7 @@ async function verifyPaneAtCapacity(sessionName) {
5142
5142
  reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
5143
5143
  };
5144
5144
  }
5145
- const { isAtCapacity } = await import("./capacity-monitor-4NJTN5QQ.js");
5145
+ const { isAtCapacity } = await import("./capacity-monitor-IO6JHLXV.js");
5146
5146
  if (!isAtCapacity(pane)) {
5147
5147
  return {
5148
5148
  atCapacity: false,
@@ -5345,7 +5345,7 @@ async function countScopedPendingReviews(targetSession, reviewer) {
5345
5345
  }
5346
5346
  async function countScopedOpenTasks(targetSession, agentId) {
5347
5347
  try {
5348
- const { fastDbInit } = await import("./fast-db-init-O7AECNTB.js");
5348
+ const { fastDbInit } = await import("./fast-db-init-GJGO22F5.js");
5349
5349
  const client = await fastDbInit();
5350
5350
  const scope = extractRootExe(targetSession);
5351
5351
  if (!scope) return 0;
@@ -5400,7 +5400,7 @@ function buildScopedInProgressTaskQuery(targetSession) {
5400
5400
  async function findScopedInProgressTaskId(targetSession) {
5401
5401
  const q = buildScopedInProgressTaskQuery(targetSession);
5402
5402
  if (!q) return null;
5403
- const { fastDbInit } = await import("./fast-db-init-O7AECNTB.js");
5403
+ const { fastDbInit } = await import("./fast-db-init-GJGO22F5.js");
5404
5404
  const client = await fastDbInit();
5405
5405
  const result = await client.execute(q);
5406
5406
  const id = result.rows[0]?.id;
@@ -5520,7 +5520,7 @@ function sendIntercom(targetSession, opts) {
5520
5520
  }
5521
5521
  if ((process.env.EXE_NOTIFICATION_LEDGER ?? "").trim().toLowerCase() === "shadow") {
5522
5522
  const shadowScope = opts && "callerSessionScope" in opts ? opts.callerSessionScope : void 0;
5523
- void import("./notification-ledger-C3J4HFMM.js").then((m) => m.recordShadowNudge(targetSession, reason, shadowScope)).catch(() => {
5523
+ void import("./notification-ledger-OE4XNOAY.js").then((m) => m.recordShadowNudge(targetSession, reason, shadowScope)).catch(() => {
5524
5524
  });
5525
5525
  }
5526
5526
  if (!opts?.force && isDebounced(targetSession)) {
@@ -5641,7 +5641,7 @@ function scheduleDeferredSpawnNudge(input) {
5641
5641
  return;
5642
5642
  }
5643
5643
  queueIntercom(input.sessionName, `spawn nudge failed after ${attempt} attempts: ${msg}`, "signal");
5644
- void import("./notifications-JIARMDZ5.js").then(({ writeNotification: writeNotification2 }) => writeNotification2({
5644
+ void import("./notifications-DU4WVNET.js").then(({ writeNotification: writeNotification2 }) => writeNotification2({
5645
5645
  agentId: getCoordinatorName(),
5646
5646
  agentRole: "COO",
5647
5647
  event: "error_spike",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-EWWCMMES.js";
3
+ } from "./chunk-IFSKL5QW.js";
4
4
  import {
5
5
  leaseExpiryIso
6
6
  } from "./chunk-E23LNUWJ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-ZY2ABBVR.js";
3
+ } from "./chunk-QNKR7WEL.js";
4
4
  import {
5
5
  loadConfigSync
6
6
  } from "./chunk-BCZF3AGJ.js";
@@ -4,10 +4,10 @@ import {
4
4
  extractIdentifiers,
5
5
  isGarbageEntity,
6
6
  normalizeEntityName
7
- } from "./chunk-VTMSGELG.js";
7
+ } from "./chunk-MVZLF27P.js";
8
8
  import {
9
9
  getClient
10
- } from "./chunk-ZY2ABBVR.js";
10
+ } from "./chunk-QNKR7WEL.js";
11
11
 
12
12
  // src/lib/memory-graph-extractor.ts
13
13
  function relationshipId(sourceId, targetId, relType) {
@@ -404,7 +404,7 @@ async function upsertMemoryGraph(result, memoryId) {
404
404
  });
405
405
  }
406
406
  try {
407
- const { createCoOccurrenceEdges } = await import("./co-occurrence-QZFT5ORJ.js");
407
+ const { createCoOccurrenceEdges } = await import("./co-occurrence-VQB6U5ME.js");
408
408
  await createCoOccurrenceEdges(result.entities, memoryId);
409
409
  } catch {
410
410
  }
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  loadLicense,
16
16
  readCachedLicenseToken
17
- } from "./chunk-ZK53K7OR.js";
17
+ } from "./chunk-MMOONM6D.js";
18
18
 
19
19
  // src/mcp/tools/support-inbox.ts
20
20
  import { z } from "zod";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-B6TI3TZT.js";
4
4
  import {
5
5
  loadEmployeesSync
6
- } from "./chunk-ZY2ABBVR.js";
6
+ } from "./chunk-QNKR7WEL.js";
7
7
 
8
8
  // src/adapters/mcp-http-config.ts
9
9
  import { chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDeviceInfo
3
- } from "./chunk-SJLZ53ZR.js";
3
+ } from "./chunk-XF2D4CDA.js";
4
4
  import {
5
5
  EXE_AI_DIR
6
6
  } from "./chunk-BCZF3AGJ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createReminder
3
- } from "./chunk-XDVLCS64.js";
3
+ } from "./chunk-UAKGNQWE.js";
4
4
 
5
5
  // src/mcp/tools/create-reminder.ts
6
6
  import { z } from "zod";
@@ -7,10 +7,10 @@ import {
7
7
  } from "./chunk-GUMRIUI5.js";
8
8
  import {
9
9
  WORK_STATE_HEARTBEAT_TOOL
10
- } from "./chunk-FFUEDKYK.js";
10
+ } from "./chunk-H4JKOLXU.js";
11
11
  import {
12
12
  hashMemoryContent
13
- } from "./chunk-VBHLE3TR.js";
13
+ } from "./chunk-GPZQZTJB.js";
14
14
 
15
15
  // src/lib/graph-rag.ts
16
16
  import crypto from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  fastDbInit
3
- } from "./chunk-QPNXYGWG.js";
3
+ } from "./chunk-A4X7SCDG.js";
4
4
  import {
5
5
  sessionScopeFilter
6
- } from "./chunk-EWWCMMES.js";
6
+ } from "./chunk-IFSKL5QW.js";
7
7
  import {
8
8
  formatStatusAll,
9
9
  formatStatusDeep,
@@ -14,7 +14,7 @@ import {
14
14
  getClient,
15
15
  isCoordinatorRole,
16
16
  loadEmployees
17
- } from "./chunk-ZY2ABBVR.js";
17
+ } from "./chunk-QNKR7WEL.js";
18
18
  import {
19
19
  isMainModule
20
20
  } from "./chunk-6Y4B3QF6.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listBehaviors
3
- } from "./chunk-4VLRGKNY.js";
3
+ } from "./chunk-UPZQLFRJ.js";
4
4
  import {
5
5
  loadConfigSync
6
6
  } from "./chunk-BCZF3AGJ.js";
@@ -6,20 +6,20 @@ import {
6
6
  queryTaskRows,
7
7
  resolveExeSession,
8
8
  sendIntercom
9
- } from "./chunk-EWWCMMES.js";
9
+ } from "./chunk-IFSKL5QW.js";
10
10
  import {
11
11
  getTransport
12
12
  } from "./chunk-AD2VCHSS.js";
13
13
  import {
14
14
  recordOrchestrationEventBestEffort
15
- } from "./chunk-MT6YGWJ6.js";
15
+ } from "./chunk-AMC2OPYP.js";
16
16
  import {
17
17
  releaseDispatchClaim,
18
18
  tryAcquireDispatchClaim
19
19
  } from "./chunk-AJIXH5JF.js";
20
20
  import {
21
21
  getAgentRuntime
22
- } from "./chunk-3EMAJBBN.js";
22
+ } from "./chunk-A3YHWWE6.js";
23
23
  import {
24
24
  getSessionKey
25
25
  } from "./chunk-CVYC6DUW.js";
@@ -27,7 +27,7 @@ import {
27
27
  isCoordinatorName,
28
28
  isMultiInstance,
29
29
  shouldAutoInstance
30
- } from "./chunk-ZY2ABBVR.js";
30
+ } from "./chunk-QNKR7WEL.js";
31
31
 
32
32
  // src/lib/tasks-notify.ts
33
33
  var VERIFY_DELAY_MS = 1e4;
@@ -89,7 +89,7 @@ async function dispatchTaskToEmployee(input) {
89
89
  let crossProject = false;
90
90
  if (input.projectName) {
91
91
  try {
92
- const { assertSessionScope } = await import("./session-scope-TXCBVOSN.js");
92
+ const { assertSessionScope } = await import("./session-scope-SMYECIDA.js");
93
93
  const check = assertSessionScope("dispatch_task", input.projectName);
94
94
  if (check.reason === "cross_session_denied") {
95
95
  crossProject = true;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isCoordinatorRole
3
- } from "./chunk-ZY2ABBVR.js";
3
+ } from "./chunk-QNKR7WEL.js";
4
4
 
5
5
  // src/lib/task-router.ts
6
6
  import { randomUUID } from "crypto";
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  loadLicense,
10
10
  readCachedLicenseToken
11
- } from "./chunk-ZK53K7OR.js";
11
+ } from "./chunk-MMOONM6D.js";
12
12
  import {
13
13
  EXE_AI_DIR,
14
14
  loadConfig