@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,21 +1,21 @@
1
1
  import {
2
2
  cleanupCardsForMemories,
3
3
  cleanupGraphLinksForMemories
4
- } from "./chunk-VTMSGELG.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-TQSAPNFW.js";
11
+ } from "./chunk-P3JQDXY6.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-ZY2ABBVR.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
  recordOrchestrationEventBestEffort
3
- } from "./chunk-MT6YGWJ6.js";
3
+ } from "./chunk-AMC2OPYP.js";
4
4
 
5
5
  // src/lib/worktree.ts
6
6
  import { execFile, execFileSync, execSync } from "child_process";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getCurrentSessionScope,
3
3
  strictSessionScopeFilter
4
- } from "./chunk-EWWCMMES.js";
4
+ } from "./chunk-IFSKL5QW.js";
5
5
  import {
6
6
  getProjectName
7
7
  } from "./chunk-OPU3NYOO.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  WORK_STATE_HEARTBEAT_TOOL
3
- } from "./chunk-FFUEDKYK.js";
3
+ } from "./chunk-H4JKOLXU.js";
4
4
  import {
5
5
  extractKeywords,
6
6
  keywordsToString
@@ -12,7 +12,7 @@ import {
12
12
  findScopedDuplicate,
13
13
  governMemoryRecord,
14
14
  schedulePostWriteMemoryHygiene
15
- } from "./chunk-VBHLE3TR.js";
15
+ } from "./chunk-GPZQZTJB.js";
16
16
  import {
17
17
  orgBus
18
18
  } from "./chunk-MP2AFCGL.js";
@@ -20,8 +20,12 @@ import {
20
20
  disposeTurso,
21
21
  ensureSchema,
22
22
  getClient,
23
+ initPostgresOnlyDatabase,
23
24
  initTurso
24
- } from "./chunk-ZY2ABBVR.js";
25
+ } from "./chunk-QNKR7WEL.js";
26
+ import {
27
+ isPostgresBackendEnabled
28
+ } from "./chunk-YMUZWC33.js";
25
29
  import {
26
30
  EMBEDDING_DIM
27
31
  } from "./chunk-FXU7JOXK.js";
@@ -74,7 +78,7 @@ function recordShardFailure(project, error) {
74
78
  `[store] Shard circuit OPEN for "${project}" after ${state.failures} consecutive failures. Will retry in ${SHARD_CB_COOLDOWN_MS / 6e4}min. Last error: ${error}
75
79
  `
76
80
  );
77
- void import("./orchestration-events-AL7AWHBX.js").then(({ recordOrchestrationEventBestEffort }) => {
81
+ void import("./orchestration-events-HAFDPTLV.js").then(({ recordOrchestrationEventBestEffort }) => {
78
82
  recordOrchestrationEventBestEffort({
79
83
  eventType: "shard.circuit_open",
80
84
  source: "store.recordShardFailure",
@@ -138,6 +142,10 @@ async function initStore(options) {
138
142
  if (!masterKey) {
139
143
  masterKey = await getMasterKey();
140
144
  if (!masterKey) {
145
+ if (isPostgresBackendEnabled()) {
146
+ await initPostgresOnlyDatabase();
147
+ return;
148
+ }
141
149
  throw new Error(
142
150
  "No encryption key found. Run /exe-setup to generate one."
143
151
  );
@@ -171,7 +179,7 @@ async function initStore(options) {
171
179
  );
172
180
  _nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
173
181
  try {
174
- const { loadGlobalProcedures } = await import("./global-procedures-HY3BJXY4.js");
182
+ const { loadGlobalProcedures } = await import("./global-procedures-HZFQ3WJB.js");
175
183
  await loadGlobalProcedures();
176
184
  } catch (e) {
177
185
  logStoreWarn("catch", e);
@@ -299,7 +307,7 @@ async function writeMemory(record) {
299
307
  founder_id: record.founder_id ?? null
300
308
  };
301
309
  try {
302
- const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-QZCG3BMC.js");
310
+ const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-WZJ52KXT.js");
303
311
  const poisonResult = await checkMemoryPoisoning({
304
312
  memoryId: dbRow.id,
305
313
  vector: Array.isArray(dbRow.vector) ? dbRow.vector : void 0,
@@ -498,19 +506,19 @@ async function flushBatch() {
498
506
  _nextVersion = baseVersion;
499
507
  if (insertedBatch.length > 0) {
500
508
  try {
501
- const { insertMemoryCardsForBatch } = await import("./memory-cards-NISTO4EP.js");
509
+ const { insertMemoryCardsForBatch } = await import("./memory-cards-CJJJ2EP6.js");
502
510
  await insertMemoryCardsForBatch(insertedBatch);
503
511
  } catch (e) {
504
512
  logStoreWarn("catch", e);
505
513
  }
506
514
  try {
507
- const { insertOntologyForBatch } = await import("./agentic-ontology-3Y37SQYR.js");
515
+ const { insertOntologyForBatch } = await import("./agentic-ontology-6MEXY5L7.js");
508
516
  await insertOntologyForBatch(insertedBatch);
509
517
  } catch (e) {
510
518
  logStoreWarn("catch", e);
511
519
  }
512
520
  try {
513
- const { extractGraphForBatch } = await import("./memory-graph-extractor-CO3R5K7L.js");
521
+ const { extractGraphForBatch } = await import("./memory-graph-extractor-2Z72HN5P.js");
514
522
  await extractGraphForBatch(insertedBatch);
515
523
  } catch (e) {
516
524
  logStoreWarn("catch", e);
@@ -650,7 +658,7 @@ async function searchMemories(queryVector, agentId, options) {
650
658
  args.push(activeEmbeddingModel);
651
659
  }
652
660
  try {
653
- const { founderScopeFilter } = await import("./founder-context-3WDZ6LIS.js");
661
+ const { founderScopeFilter } = await import("./founder-context-JHHFM4GF.js");
654
662
  const founderFilter = founderScopeFilter(options?.founderId);
655
663
  sql += founderFilter.sql;
656
664
  args.push(...founderFilter.args.filter((a) => a !== null));
@@ -186,7 +186,11 @@ function hasDestructiveVerbTokens(tokens) {
186
186
  if (has("branch") && tokensFromVerb(tokens, "branch").some(
187
187
  (t) => t === "-f" || t === "--force" || t === "-D" || t === "-M" || t === "--move" || t === "--copy" || t === "--delete" || t === "-C" || t === "-m" || t === "-c" || t === "-d"
188
188
  )) return true;
189
- if (has("worktree") && has("add") && tokens.some((t) => /^-B/.test(t))) return true;
189
+ if (has("worktree") && has("add")) {
190
+ const worktreeArgs = tokensFromVerb(tokens, "worktree");
191
+ const addIdx = worktreeArgs.indexOf("add");
192
+ if (addIdx !== -1 && worktreeArgs.slice(addIdx + 1).some((t) => /^-B/.test(t))) return true;
193
+ }
190
194
  if (has("update-ref")) return true;
191
195
  if (has("rebase")) return true;
192
196
  if (has("filter-branch") || has("filter-repo")) return true;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2I23RPSI.js";
4
4
  import {
5
5
  listBackups
6
- } from "./chunk-FM4ZI5ZP.js";
6
+ } from "./chunk-FE6WBI2M.js";
7
7
  import {
8
8
  getEmotionalBaseline,
9
9
  renderEmotionalBaselineSection
@@ -14,6 +14,9 @@ import {
14
14
  import {
15
15
  logDaemonHealth
16
16
  } from "./chunk-BBMTVAE3.js";
17
+ import {
18
+ isPostgresBackendEnabled
19
+ } from "./chunk-YMUZWC33.js";
17
20
  import {
18
21
  EMBEDDING_DIM
19
22
  } from "./chunk-FXU7JOXK.js";
@@ -771,6 +774,9 @@ function rewriteSql(sql) {
771
774
  let out = sql;
772
775
  out = out.replace(/\bdatetime\(\s*['"]now['"]\s*\)/giu, "CURRENT_TIMESTAMP");
773
776
  out = out.replace(/\bvector32\s*\(\s*\?\s*\)/giu, "?");
777
+ out = out.replace(/\+\s*agent_id\b/giu, "agent_id");
778
+ out = out.replace(/\bMAX\s*\(\s*COALESCE\(([^()]+),\s*([^)]+)\)\s*,\s*([^)]+)\)/giu, "GREATEST(COALESCE($1, $2), $3)");
779
+ out = out.replace(/\bMAX\s*\(\s*([A-Za-z_][A-Za-z0-9_.]*)\s*,\s*([^)]+)\)/giu, "GREATEST($1, $2)");
774
780
  out = rewriteBooleanLiterals(out);
775
781
  out = rewriteInsertOrReplace(out);
776
782
  out = rewriteInsertOrIgnore(out);
@@ -1323,7 +1329,7 @@ async function migrateReflectionDedup(client) {
1323
1329
  "ALTER TABLE memory_reflections ADD COLUMN dedup_key TEXT",
1324
1330
  "migration add memory_reflections.dedup_key"
1325
1331
  );
1326
- const { reflectionDedupKey } = await import("./memory-reflection-G32OQ3X3.js");
1332
+ const { reflectionDedupKey } = await import("./memory-reflection-LTRHDGUL.js");
1327
1333
  const keyForRow = (row) => {
1328
1334
  let sources = [];
1329
1335
  try {
@@ -2036,7 +2042,7 @@ async function initDatabase(config) {
2036
2042
  } else {
2037
2043
  _walCheckpointTimer = null;
2038
2044
  }
2039
- if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
2045
+ if (isPostgresBackendEnabled()) {
2040
2046
  _adapterClient = await createPrismaDbAdapter(_resilientClient);
2041
2047
  }
2042
2048
  try {
@@ -2061,6 +2067,13 @@ function isInitialized() {
2061
2067
  function setExternalClient(client) {
2062
2068
  _adapterClient = client;
2063
2069
  }
2070
+ async function initPostgresOnlyDatabase() {
2071
+ if (!isPostgresBackendEnabled()) {
2072
+ throw new Error("PostgreSQL backend is not enabled. Set DATABASE_URL and EXE_USE_POSTGRES=1.");
2073
+ }
2074
+ if (_adapterClient) return;
2075
+ _adapterClient = await createPrismaDbAdapter(null);
2076
+ }
2064
2077
  async function offloadReadQuery(sql, args = []) {
2065
2078
  if (process.env.EXE_IS_DAEMON === "1") {
2066
2079
  try {
@@ -2096,7 +2109,7 @@ async function sweepExpiredSoftDeletedMemories(client, options = {}) {
2096
2109
  const purgeArchived = archDays !== void 0;
2097
2110
  const BATCH_SIZE = 2e3;
2098
2111
  const MAX_BATCHES = 500;
2099
- const { cleanupCardsForMemories, cleanupGraphLinksForMemories } = await import("./graph-rag-LWKKHY72.js");
2112
+ const { cleanupCardsForMemories, cleanupGraphLinksForMemories } = await import("./graph-rag-YFITUAVO.js");
2100
2113
  const softCutoff = `-${softDays} days`;
2101
2114
  const selectArgsBase = [softCutoff];
2102
2115
  let predicate = `status = 'deleted' AND COALESCE(deleted_at, timestamp) < datetime('now', ?)`;
@@ -2143,7 +2156,7 @@ function getClient() {
2143
2156
  if (!_adapterClient) {
2144
2157
  throw new Error("Database client not initialized. Call initDatabase() first.");
2145
2158
  }
2146
- if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
2159
+ if (isPostgresBackendEnabled()) {
2147
2160
  return _adapterClient;
2148
2161
  }
2149
2162
  if (process.env.EXE_IS_DAEMON === "1") {
@@ -2195,7 +2208,7 @@ function getCurrentDatabaseConfig() {
2195
2208
  return _currentConfig ? { ..._currentConfig } : null;
2196
2209
  }
2197
2210
  async function initDaemonClient() {
2198
- if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") return;
2211
+ if (isPostgresBackendEnabled()) return;
2199
2212
  if (process.env.EXE_IS_DAEMON === "1") return;
2200
2213
  if (process.env.EXE_DB_READONLY === "1" || process.env.EXE_DB_DIRECT === "1" || process.env.EXE_SKIP_DAEMON === "1") return;
2201
2214
  if (process.env.VITEST) return;
@@ -4248,6 +4261,7 @@ export {
4248
4261
  initDatabase,
4249
4262
  isInitialized,
4250
4263
  setExternalClient,
4264
+ initPostgresOnlyDatabase,
4251
4265
  offloadReadQuery,
4252
4266
  offloadReadIfMain,
4253
4267
  SOFT_DELETE_RETENTION_DAYS,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-WCGNCH3Q.js";
4
4
  import {
5
5
  registerAllTools
6
- } from "./chunk-I3XN3G3H.js";
6
+ } from "./chunk-5YDNNUZ6.js";
7
7
 
8
8
  // src/mcp/mcp-surface-hash.ts
9
9
  function computeMcpSurfaceHash() {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadEmployees
3
- } from "./chunk-ZY2ABBVR.js";
3
+ } from "./chunk-QNKR7WEL.js";
4
4
 
5
5
  // src/lib/agent-symlinks.ts
6
6
  import os from "os";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  deactivateBehavior
3
- } from "./chunk-4VLRGKNY.js";
3
+ } from "./chunk-UPZQLFRJ.js";
4
4
  import {
5
5
  getActiveAgent
6
- } from "./chunk-HWK5GKE6.js";
6
+ } from "./chunk-TF5E6O5Q.js";
7
7
  import {
8
8
  canCoordinate,
9
9
  getClient
10
- } from "./chunk-ZY2ABBVR.js";
10
+ } from "./chunk-QNKR7WEL.js";
11
11
 
12
12
  // src/mcp/tools/deactivate-behavior.ts
13
13
  import { z } from "zod";
@@ -24,7 +24,7 @@ function registerDeactivateBehavior(server) {
24
24
  async ({ behavior_id }) => {
25
25
  const caller = getActiveAgent();
26
26
  try {
27
- const { StewardGate } = await import("./steward-gate-CGP6U7KC.js");
27
+ const { StewardGate } = await import("./steward-gate-CWPD4HEK.js");
28
28
  const steward = new StewardGate();
29
29
  const gateDecision = await steward.checkAuthority(caller.agentId || "unknown", "deactivate_behavior", behavior_id);
30
30
  if (!gateDecision.allowed) {
@@ -3,12 +3,12 @@ import {
3
3
  getClient,
4
4
  isInitialized,
5
5
  loadEmployees
6
- } from "./chunk-ZY2ABBVR.js";
6
+ } from "./chunk-QNKR7WEL.js";
7
7
  import {
8
8
  PLAN_LIMITS,
9
9
  checkLicense,
10
10
  isFeatureAllowed
11
- } from "./chunk-ZK53K7OR.js";
11
+ } from "./chunk-MMOONM6D.js";
12
12
  import {
13
13
  EXE_AI_DIR
14
14
  } from "./chunk-BCZF3AGJ.js";
@@ -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/boot-generation.ts
6
6
  var SYNC_META_KEY = "daemon_boot_generation";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-EWWCMMES.js";
3
+ } from "./chunk-IFSKL5QW.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-PTN36B5F.js");
241
+ const { updateTaskStatus } = await import("./tasks-crud-VXCTTSB5.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-TQSAPNFW.js";
7
+ } from "./chunk-P3JQDXY6.js";
8
8
  import {
9
9
  getClient
10
- } from "./chunk-ZY2ABBVR.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-NK6CP4LE.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(
@@ -9,7 +9,7 @@ import {
9
9
  getCoordinatorEmployee,
10
10
  getEmployee,
11
11
  loadEmployeesSync
12
- } from "./chunk-ZY2ABBVR.js";
12
+ } from "./chunk-QNKR7WEL.js";
13
13
  import {
14
14
  EXE_AI_DIR
15
15
  } from "./chunk-BCZF3AGJ.js";
@@ -4,17 +4,17 @@ import {
4
4
  resolveExeSession,
5
5
  sendIntercom,
6
6
  strictSessionScopeFilter
7
- } from "./chunk-EWWCMMES.js";
7
+ } from "./chunk-IFSKL5QW.js";
8
8
  import {
9
9
  parseMessage,
10
10
  serializeMessage
11
11
  } from "./chunk-4JERP7NT.js";
12
12
  import {
13
13
  recordOrchestrationEventBestEffort
14
- } from "./chunk-MT6YGWJ6.js";
14
+ } from "./chunk-AMC2OPYP.js";
15
15
  import {
16
16
  getClient
17
- } from "./chunk-ZY2ABBVR.js";
17
+ } from "./chunk-QNKR7WEL.js";
18
18
 
19
19
  // src/lib/messaging.ts
20
20
  import crypto from "crypto";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  isPaneBusy
3
- } from "./chunk-OE6D2IJI.js";
3
+ } from "./chunk-4FHBXWSA.js";
4
4
  import {
5
5
  recordSessionKill
6
- } from "./chunk-W666YWFU.js";
6
+ } from "./chunk-Y6IP4R5M.js";
7
7
  import {
8
8
  eventLoopBlockedMarkerPath
9
9
  } from "./chunk-APRVAUOR.js";
10
10
  import {
11
11
  updateTask
12
- } from "./chunk-LJGHAZYU.js";
12
+ } from "./chunk-4HMZQRQD.js";
13
13
  import {
14
14
  countPendingReviews,
15
15
  ensureEmployeeAsync,
@@ -25,14 +25,14 @@ import {
25
25
  sessionScopeFilter,
26
26
  strictSessionScopeFilter,
27
27
  writeNotification
28
- } from "./chunk-EWWCMMES.js";
28
+ } from "./chunk-IFSKL5QW.js";
29
29
  import {
30
30
  LEASE_MINUTES,
31
31
  isLeaseExpired
32
32
  } from "./chunk-E23LNUWJ.js";
33
33
  import {
34
34
  listSessions
35
- } from "./chunk-FDOURKUO.js";
35
+ } from "./chunk-HYZE3MNS.js";
36
36
  import {
37
37
  getTransport
38
38
  } from "./chunk-AD2VCHSS.js";
@@ -44,7 +44,7 @@ import {
44
44
  } from "./chunk-SKGMF2SO.js";
45
45
  import {
46
46
  recordOrchestrationEventBestEffort
47
- } from "./chunk-MT6YGWJ6.js";
47
+ } from "./chunk-AMC2OPYP.js";
48
48
  import {
49
49
  checkDispatchStatus,
50
50
  readTerminalLauncherFailure,
@@ -53,7 +53,7 @@ import {
53
53
  } from "./chunk-AJIXH5JF.js";
54
54
  import {
55
55
  getAgentRuntime
56
- } from "./chunk-3EMAJBBN.js";
56
+ } from "./chunk-A3YHWWE6.js";
57
57
  import {
58
58
  BUSY_PATTERN
59
59
  } from "./chunk-OSKWCKUC.js";
@@ -62,7 +62,7 @@ import {
62
62
  getCoordinatorName,
63
63
  isCoordinatorName,
64
64
  shouldAutoInstance
65
- } from "./chunk-ZY2ABBVR.js";
65
+ } from "./chunk-QNKR7WEL.js";
66
66
  import {
67
67
  loadConfigSync
68
68
  } from "./chunk-BCZF3AGJ.js";
@@ -3066,7 +3066,7 @@ async function reapOrphanedWorktrees(deps, nowMs = Date.now()) {
3066
3066
  }
3067
3067
  async function createWorktreeReaperRealDeps() {
3068
3068
  const { getPaneCwdAsync } = await import("./lib/tmux-status.js");
3069
- const { getGitRootAsync, isWorktreeDirtyAsync } = await import("./worktree-TBUUZJHY.js");
3069
+ const { getGitRootAsync, isWorktreeDirtyAsync } = await import("./worktree-FJZXHDCJ.js");
3070
3070
  const { statSync: statSync3 } = await import("fs");
3071
3071
  const { basename: basename2 } = await import("path");
3072
3072
  const { promisify: promisify2 } = await import("util");
@@ -3297,7 +3297,7 @@ async function gcStaleCheckpoints() {
3297
3297
  }
3298
3298
  async function pollTaskGroupBarriers() {
3299
3299
  try {
3300
- const { checkAndFireBarriers } = await import("./tasks-crud-PTN36B5F.js");
3300
+ const { checkAndFireBarriers } = await import("./tasks-crud-VXCTTSB5.js");
3301
3301
  const firedGroupIds = await checkAndFireBarriers();
3302
3302
  if (firedGroupIds.length === 0) return 0;
3303
3303
  const { getClient } = await import("./lib/database.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
  loadConfig
6
6
  } from "./chunk-BCZF3AGJ.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeAction,
3
3
  substituteTemplate
4
- } from "./chunk-MDK7E653.js";
4
+ } from "./chunk-ELJSXKYA.js";
5
5
 
6
6
  // src/automation/workflow-engine.ts
7
7
  import { randomUUID } from "crypto";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  vectorToSqlLiteral
3
- } from "./chunk-TQSAPNFW.js";
3
+ } from "./chunk-P3JQDXY6.js";
4
4
  import {
5
5
  blobToVector
6
6
  } from "./chunk-OTVEIJUQ.js";
7
7
  import {
8
8
  getClient
9
- } from "./chunk-ZY2ABBVR.js";
9
+ } from "./chunk-QNKR7WEL.js";
10
10
 
11
11
  // src/lib/behaviors.ts
12
12
  import crypto from "crypto";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PLATFORM_PROCEDURES,
3
3
  PLATFORM_PROCEDURE_TITLES
4
- } from "./chunk-CQN4IKRB.js";
4
+ } from "./chunk-BHDOPDPY.js";
5
5
  import {
6
6
  getClient
7
- } from "./chunk-ZY2ABBVR.js";
7
+ } from "./chunk-QNKR7WEL.js";
8
8
 
9
9
  // src/lib/global-procedures.ts
10
10
  import { randomUUID } from "crypto";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  getActiveAgent
3
- } from "./chunk-HWK5GKE6.js";
3
+ } from "./chunk-TF5E6O5Q.js";
4
4
  import {
5
5
  listTasks
6
- } from "./chunk-EWWCMMES.js";
6
+ } from "./chunk-IFSKL5QW.js";
7
7
  import {
8
8
  getAgentContext
9
9
  } from "./chunk-GJV3WDWM.js";
10
10
  import {
11
11
  isCoordinatorName
12
- } from "./chunk-ZY2ABBVR.js";
12
+ } from "./chunk-QNKR7WEL.js";
13
13
 
14
14
  // src/mcp/tools/list-tasks.ts
15
15
  import { z } from "zod";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  isExeSession,
3
3
  strictSessionScopeFilter
4
- } from "./chunk-EWWCMMES.js";
4
+ } from "./chunk-IFSKL5QW.js";
5
5
  import {
6
6
  recordOrchestrationEventBestEffort
7
- } from "./chunk-MT6YGWJ6.js";
7
+ } from "./chunk-AMC2OPYP.js";
8
8
  import {
9
9
  getProjectName
10
10
  } from "./chunk-OPU3NYOO.js";
11
11
  import {
12
12
  DEFAULT_COORDINATOR_TEMPLATE_NAME,
13
13
  getCoordinatorName
14
- } from "./chunk-ZY2ABBVR.js";
14
+ } from "./chunk-QNKR7WEL.js";
15
15
  import {
16
16
  loadConfigSync
17
17
  } from "./chunk-BCZF3AGJ.js";
@@ -260,7 +260,7 @@ function createRealDeps(getClient) {
260
260
  });
261
261
  },
262
262
  createReviewForOrphan: async (task) => {
263
- const { createReviewForCompletedTask } = await import("./tasks-review-ZY3S65OV.js");
263
+ const { createReviewForCompletedTask } = await import("./tasks-review-TY7OZBAT.js");
264
264
  const cwd = process.cwd();
265
265
  await createReviewForCompletedTask(
266
266
  task,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  processCRMEvent
3
- } from "./chunk-MDK7E653.js";
3
+ } from "./chunk-ELJSXKYA.js";
4
4
 
5
5
  // src/gateway/adapters/crm-webhook.ts
6
6
  function parseTwentyWebhook(payload) {
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  flushBatch,
6
6
  writeMemory
7
- } from "./chunk-TQSAPNFW.js";
7
+ } from "./chunk-P3JQDXY6.js";
8
8
  import {
9
9
  redactSecrets
10
10
  } from "./chunk-4QCFFW2H.js";
@@ -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/token-budget.ts
6
6
  var WARN_THRESHOLD = 0.8;
@@ -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/pipeline-router.ts
6
6
  import crypto from "crypto";
@@ -140,8 +140,8 @@ Agent response: ${agentResponse}` : ""
140
140
  }
141
141
  async function sinkEntityExtraction(msg, agentResponse, agentName) {
142
142
  try {
143
- const { extractFromConversation } = await import("./conversation-entity-extractor-YC3A2ODD.js");
144
- const { storeExtraction } = await import("./graph-rag-LWKKHY72.js");
143
+ const { extractFromConversation } = await import("./conversation-entity-extractor-YF3ZLTEJ.js");
144
+ const { storeExtraction } = await import("./graph-rag-YFITUAVO.js");
145
145
  if ((msg.text?.length ?? 0) < 20) return false;
146
146
  if (msg.isHistorical) return false;
147
147
  const extraction = await extractFromConversation(msg, agentResponse, agentName);
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-ITRKRKS7.js";
16
16
  import {
17
17
  mcpHttpPort
18
- } from "./chunk-MESFJRIT.js";
18
+ } from "./chunk-MH5HWMVH.js";
19
19
  import {
20
20
  EXE_AI_DIR
21
21
  } from "./chunk-BCZF3AGJ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  routeTask
3
- } from "./chunk-H44V3Y6D.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-EWWCMMES.js";
12
+ } from "./chunk-IFSKL5QW.js";
13
13
  import {
14
14
  DEFAULT_COORDINATOR_TEMPLATE_NAME,
15
15
  getCoordinatorName
16
- } from "./chunk-ZY2ABBVR.js";
16
+ } from "./chunk-QNKR7WEL.js";
17
17
 
18
18
  // src/runtime/orchestrator.ts
19
19
  var STALE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;