@askexenow/exe-os 0.9.357 → 0.9.358

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 (321) hide show
  1. package/deploy/stack-manifests/v0.9.json +3 -3
  2. package/dist/{active-agent-LCRV3HVS.js → active-agent-OYZRH6D2.js} +6 -4
  3. package/dist/{active-agent-PYMOMGQ7.js → active-agent-QQJCFJG4.js} +6 -4
  4. package/dist/{agentic-ontology-TNKI4FOM.js → agentic-ontology-U5JHQDMG.js} +1 -1
  5. package/dist/{backfill-metadata-SFS4ARNR.js → backfill-metadata-D25I5HN2.js} +8 -6
  6. package/dist/{backup-verify-7NLKR4S6.js → backup-verify-ZLU3DBPH.js} +6 -1
  7. package/dist/{behavior-injection-OT7VX7M6.js → behavior-injection-GVCRBUYW.js} +10 -8
  8. package/dist/{behaviors-6GW5AFG4.js → behaviors-6B2FZ4KP.js} +9 -7
  9. package/dist/bin/agentic-ontology-backfill.js +9 -7
  10. package/dist/bin/agentic-reflection-backfill.js +10 -8
  11. package/dist/bin/agentic-semantic-label.js +9 -7
  12. package/dist/bin/backfill-conversations.js +8 -6
  13. package/dist/bin/backfill-responses.js +8 -6
  14. package/dist/bin/backfill-vectors.js +9 -7
  15. package/dist/bin/bulk-sync-postgres.js +14 -12
  16. package/dist/bin/cc-doctor.js +7 -5
  17. package/dist/bin/cleanup-stale-review-tasks.js +16 -14
  18. package/dist/bin/cli.js +19 -19
  19. package/dist/bin/deferred-daemon-restart.js +74 -72
  20. package/dist/bin/exe-agent-config.js +5 -3
  21. package/dist/bin/exe-agent.js +8 -6
  22. package/dist/bin/exe-assign.js +9 -7
  23. package/dist/bin/exe-boot.js +62 -28
  24. package/dist/bin/exe-call.js +8 -6
  25. package/dist/bin/exe-cloud.js +16 -14
  26. package/dist/bin/exe-config-dump.js +5 -3
  27. package/dist/bin/exe-dispatch.js +16 -14
  28. package/dist/bin/exe-doctor.js +9 -6
  29. package/dist/bin/exe-export-behaviors.js +11 -9
  30. package/dist/bin/exe-forget.js +10 -8
  31. package/dist/bin/exe-gateway.js +10 -8
  32. package/dist/bin/exe-healthcheck.js +7 -5
  33. package/dist/bin/exe-heartbeat.js +18 -16
  34. package/dist/bin/exe-kill.js +20 -18
  35. package/dist/bin/exe-launch-agent.js +27 -25
  36. package/dist/bin/exe-memory-reads.js +8 -6
  37. package/dist/bin/exe-new-employee.js +12 -10
  38. package/dist/bin/exe-os-mcp-proxy.js +6 -4
  39. package/dist/bin/exe-pending-messages.js +17 -15
  40. package/dist/bin/exe-pending-notifications.js +16 -14
  41. package/dist/bin/exe-pending-reviews.js +16 -14
  42. package/dist/bin/exe-rename.js +8 -6
  43. package/dist/bin/exe-review.js +19 -17
  44. package/dist/bin/exe-search.js +9 -7
  45. package/dist/bin/exe-session-cleanup.js +20 -18
  46. package/dist/bin/exe-settings.js +14 -12
  47. package/dist/bin/exe-start-codex.js +16 -14
  48. package/dist/bin/exe-start-opencode.js +12 -10
  49. package/dist/bin/exe-status.js +17 -15
  50. package/dist/bin/exe-support.js +3 -3
  51. package/dist/bin/exe-team.js +6 -4
  52. package/dist/bin/exe-timers.js +2 -1
  53. package/dist/bin/git-sweep.js +17 -15
  54. package/dist/bin/graph-backfill.js +9 -7
  55. package/dist/bin/graph-export.js +9 -7
  56. package/dist/bin/import-history.js +12 -10
  57. package/dist/bin/install.js +76 -74
  58. package/dist/bin/intercom-check.js +4 -4
  59. package/dist/bin/mcp-sessions.js +2 -2
  60. package/dist/bin/orchestration-metrics.js +7 -5
  61. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  62. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  63. package/dist/bin/pre-publish.js +1 -1
  64. package/dist/bin/reconcile-backlog.js +2 -2
  65. package/dist/bin/registry-proxy.js +1 -1
  66. package/dist/bin/scan-tasks.js +16 -14
  67. package/dist/bin/setup.js +1 -1
  68. package/dist/bin/shard-migrate.js +9 -7
  69. package/dist/bin/stack-update.js +4 -4
  70. package/dist/bin/vps-health-gate.js +1 -1
  71. package/dist/{boot-generation-7ZI7JYGR.js → boot-generation-EA4UCCZN.js} +6 -4
  72. package/dist/{boot-review-sections-3MSXM6V7.js → boot-review-sections-BBOHRDM3.js} +15 -13
  73. package/dist/{capability-cards-4RD2SB2K.js → capability-cards-XELC77DF.js} +5 -3
  74. package/dist/{capacity-monitor-5XUR3JTN.js → capacity-monitor-6FD2LIDV.js} +17 -15
  75. package/dist/{catchup-brief-AYJWMQUZ.js → catchup-brief-I3YBJXL4.js} +20 -18
  76. package/dist/{chunk-QXAE6S3A.js → chunk-2NPK6FIV.js} +3 -3
  77. package/dist/{chunk-YNYISUMW.js → chunk-2X76NMT7.js} +1 -1
  78. package/dist/{chunk-AWB7M62V.js → chunk-2XYL3ZBJ.js} +4 -4
  79. package/dist/{chunk-VCKIV5WG.js → chunk-36PGDNMS.js} +2 -2
  80. package/dist/{chunk-2TL5RKMC.js → chunk-3BAGFZFN.js} +1 -1
  81. package/dist/{chunk-EWOMZLR6.js → chunk-3I7SENGU.js} +1 -1
  82. package/dist/{chunk-FWJFKWYA.js → chunk-3M6TUMXM.js} +2 -2
  83. package/dist/{chunk-IIHFSNL4.js → chunk-5A43OWIJ.js} +1 -1
  84. package/dist/{chunk-6H4ZEU7P.js → chunk-5SWYRYRO.js} +4 -4
  85. package/dist/{chunk-TAR5J7WI.js → chunk-5T3VZ2TX.js} +4 -4
  86. package/dist/{chunk-WJIGSNJM.js → chunk-5TMFK3NT.js} +12 -12
  87. package/dist/chunk-5YEUPUV4.js +53 -0
  88. package/dist/{chunk-4VU2VCEU.js → chunk-6VUMFHWB.js} +1 -1
  89. package/dist/{chunk-X4EDW3FH.js → chunk-6ZUHNYAB.js} +1 -1
  90. package/dist/{chunk-H4ZSOAP6.js → chunk-72HSYKEQ.js} +1 -1
  91. package/dist/{chunk-DF5K4JJL.js → chunk-76IW4LIS.js} +3 -3
  92. package/dist/{chunk-P2Y6S53G.js → chunk-7AWKMYWF.js} +1 -1
  93. package/dist/{chunk-LDRMNJJJ.js → chunk-7G35SOMT.js} +2 -2
  94. package/dist/{chunk-A5P2MMII.js → chunk-7GUHIYZ6.js} +2 -2
  95. package/dist/{chunk-2WWGTOVP.js → chunk-7HFUCBQO.js} +19 -1
  96. package/dist/{chunk-JZXHLDQN.js → chunk-7KPY52EO.js} +1 -1
  97. package/dist/{chunk-LLXYWNCH.js → chunk-AXAHRTST.js} +1 -1
  98. package/dist/{chunk-ZMVVKOOS.js → chunk-AXXGZSW5.js} +7 -7
  99. package/dist/{chunk-6SAQSXT2.js → chunk-BP5H6ZJA.js} +1 -1
  100. package/dist/{chunk-EHL4RCND.js → chunk-CYAFF5EP.js} +1 -1
  101. package/dist/{chunk-H4IZKSOY.js → chunk-E47WQHCT.js} +1 -1
  102. package/dist/{chunk-QGLAMWQJ.js → chunk-EBOKPLWI.js} +3 -3
  103. package/dist/{chunk-NT4GET5B.js → chunk-ELGZDMXM.js} +4 -4
  104. package/dist/{chunk-KT4RUFYO.js → chunk-F25FABZ6.js} +3 -3
  105. package/dist/{chunk-W3IXTUCL.js → chunk-GXMS5PZR.js} +6 -6
  106. package/dist/{chunk-4OMIENRX.js → chunk-H3C2LVUB.js} +1 -1
  107. package/dist/{chunk-JUE37LOD.js → chunk-IEHGR7XU.js} +4 -4
  108. package/dist/{chunk-UQCYG6EI.js → chunk-INY36ISH.js} +1 -1
  109. package/dist/{chunk-4GGP4Q5N.js → chunk-IOSM2N3Z.js} +2 -2
  110. package/dist/{chunk-YSUHXDQU.js → chunk-IR6CEBWC.js} +21 -19
  111. package/dist/{chunk-XPGUSSG7.js → chunk-J3I5OG4P.js} +1 -1
  112. package/dist/{chunk-P7EUKYSQ.js → chunk-J4DLB36O.js} +1 -1
  113. package/dist/{chunk-VPMAC5VB.js → chunk-JXQB7HHZ.js} +1 -1
  114. package/dist/{chunk-APRVAUOR.js → chunk-JY5GAZYC.js} +1 -0
  115. package/dist/{chunk-2LM5GO5R.js → chunk-KTM4TODC.js} +5 -5
  116. package/dist/{chunk-YG4LS7TI.js → chunk-L576MK4B.js} +7 -7
  117. package/dist/{chunk-XQAELSOQ.js → chunk-L73MPNIB.js} +2 -2
  118. package/dist/{chunk-RUBXKPOT.js → chunk-LFJPHWHH.js} +1 -1
  119. package/dist/{chunk-PM4TIRCR.js → chunk-MODZZ52R.js} +1 -1
  120. package/dist/{chunk-JO6TS75M.js → chunk-MYJJSKE6.js} +1 -1
  121. package/dist/{chunk-ES6PDSEK.js → chunk-MZ6ZB6SP.js} +8 -8
  122. package/dist/{chunk-PNTRRXAN.js → chunk-N6XPSEIA.js} +1 -1
  123. package/dist/{chunk-6CZXY5BD.js → chunk-N7YI2ZRJ.js} +5 -5
  124. package/dist/{chunk-IO5FR7BZ.js → chunk-NIXTDUOC.js} +3 -3
  125. package/dist/{chunk-6UTP7AIH.js → chunk-NLDKJJDM.js} +1 -1
  126. package/dist/{chunk-PUAA3P47.js → chunk-NXZ2RSEO.js} +4 -4
  127. package/dist/{chunk-W3REQ37P.js → chunk-OFXQO43S.js} +2 -2
  128. package/dist/{chunk-Z5DTZ464.js → chunk-OIS5VIAH.js} +6 -0
  129. package/dist/{chunk-Y4JA5V22.js → chunk-OP7M5N5R.js} +1 -1
  130. package/dist/{chunk-CI3YVCUY.js → chunk-ORPELDVP.js} +1 -1
  131. package/dist/{chunk-PUNCHUEX.js → chunk-PTOJPD26.js} +3 -3
  132. package/dist/{chunk-TQ4O5A4S.js → chunk-Q5AFCR57.js} +1 -1
  133. package/dist/{chunk-6WAJJN5W.js → chunk-QJCFUUSB.js} +3 -3
  134. package/dist/{chunk-YQ7IZPVC.js → chunk-QQQ4I5IZ.js} +1 -1
  135. package/dist/{chunk-JKOEOHOD.js → chunk-R7F6HKTH.js} +6 -21
  136. package/dist/{chunk-CQPFNVWY.js → chunk-RGKB272D.js} +3 -3
  137. package/dist/{chunk-HAOZB4W6.js → chunk-SCR5Q5PI.js} +1 -1
  138. package/dist/{chunk-ES4XE6AU.js → chunk-SKTGLMUJ.js} +4 -4
  139. package/dist/{chunk-AJGTBW3N.js → chunk-SU3GMJT5.js} +1 -1
  140. package/dist/{chunk-JLXJMDKG.js → chunk-T6V4XURD.js} +1 -1
  141. package/dist/{chunk-KP3PLOGC.js → chunk-U5KZQP7R.js} +2 -2
  142. package/dist/{chunk-M5DPPJLS.js → chunk-U7I4YINB.js} +39 -7
  143. package/dist/{chunk-RZSPCNLY.js → chunk-UBVYDXTU.js} +1 -1
  144. package/dist/chunk-V3W3SATA.js +135 -0
  145. package/dist/{chunk-IT4TFJTK.js → chunk-V6QMFX46.js} +3 -3
  146. package/dist/{chunk-EQQYCP6D.js → chunk-VI4LQLD2.js} +1 -1
  147. package/dist/{chunk-WHQYVFE2.js → chunk-VIIOEVAF.js} +22 -15
  148. package/dist/{chunk-WL3CT5KX.js → chunk-VJACZJD2.js} +2 -2
  149. package/dist/{chunk-X7CWCQ5S.js → chunk-VJRLBE2R.js} +1 -1
  150. package/dist/{chunk-VU2MZ7BP.js → chunk-VNK3MNZE.js} +40 -3
  151. package/dist/{chunk-MVYB76QG.js → chunk-VRTCVZND.js} +16 -20
  152. package/dist/{chunk-LVZZ7YS3.js → chunk-W64WE36F.js} +2 -2
  153. package/dist/{chunk-7FKC2TIB.js → chunk-WA3ZB6TK.js} +1 -1
  154. package/dist/{chunk-ZWXSO4FN.js → chunk-WIKYYOHP.js} +9 -9
  155. package/dist/{chunk-DZNXWCJN.js → chunk-WKHC54KH.js} +1 -1
  156. package/dist/{chunk-SFSB64NK.js → chunk-WTTCNZ6J.js} +1 -1
  157. package/dist/{chunk-72GUU6Z4.js → chunk-WXUTAQX2.js} +3 -3
  158. package/dist/{chunk-OBWTTM7E.js → chunk-YPZTTTFH.js} +2 -2
  159. package/dist/chunk-YQGMSXT5.js +33 -0
  160. package/dist/{chunk-5Q2J6P4T.js → chunk-YVCKSEF6.js} +3 -3
  161. package/dist/{chunk-34MIJGQS.js → chunk-YXWAPO6F.js} +1 -1
  162. package/dist/{chunk-4KCLB4TY.js → chunk-YXY5AEPG.js} +1 -1
  163. package/dist/{chunk-ABM3DZF3.js → chunk-ZANQKOBC.js} +1 -1
  164. package/dist/{chunk-AW3WT3TJ.js → chunk-ZJB26D36.js} +119 -119
  165. package/dist/{cleanup-graph-garbage-XUNHVCRR.js → cleanup-graph-garbage-5DFMJQTV.js} +10 -8
  166. package/dist/{cloud-sync-shutdown-JRAERBUO.js → cloud-sync-shutdown-H36HDBZQ.js} +5 -3
  167. package/dist/{co-activation-5AN2CF23.js → co-activation-GWRPFKYT.js} +5 -3
  168. package/dist/{co-occurrence-A7E774ZX.js → co-occurrence-TBDCT3EB.js} +8 -6
  169. package/dist/{conversation-entity-extractor-2XI2GC4N.js → conversation-entity-extractor-CAFZFIDB.js} +3 -3
  170. package/dist/{crdt-sync-2IUU6GZ6.js → crdt-sync-DE6P7FHB.js} +1 -1
  171. package/dist/{crm-webhook-BQCP77TI.js → crm-webhook-GXUJOMHX.js} +2 -2
  172. package/dist/{cto-delegation-gate-UHHNMWCL.js → cto-delegation-gate-EKA7LOY7.js} +15 -13
  173. package/dist/{daemon-orchestration-7WS3X5DQ.js → daemon-orchestration-WEHBZJW4.js} +20 -19
  174. package/dist/{daemon-ready-signal-TVCPSG7J.js → daemon-ready-signal-CKXPUMJ2.js} +3 -1
  175. package/dist/{daemon-restart-report-QDRGKLL6.js → daemon-restart-report-HZU5LWXN.js} +2 -1
  176. package/dist/{daemon-timer-report-NM44WQRH.js → daemon-timer-report-TNJH5SFY.js} +2 -1
  177. package/dist/{doc-graph-extractor-NFERAJNP.js → doc-graph-extractor-QCT4CCBN.js} +8 -6
  178. package/dist/{documents-SW2MJUXY.js → documents-NJRAJKAS.js} +9 -7
  179. package/dist/{dreaming-KSNJVNFH.js → dreaming-MRNOUJKA.js} +19 -17
  180. package/dist/{exe-drift-NBLYKQBQ.js → exe-drift-CSOXQU4J.js} +6 -4
  181. package/dist/{exe-export-44IWTJHL.js → exe-export-ER75RRLD.js} +11 -9
  182. package/dist/{exe-import-PPECH3KO.js → exe-import-TYTAQ6AY.js} +11 -9
  183. package/dist/{exe-key-ZCRJQYA7.js → exe-key-HM4FZRL2.js} +77 -72
  184. package/dist/{exe-snapshot-OVINJ6MC.js → exe-snapshot-NS6PVGJL.js} +20 -18
  185. package/dist/{fast-db-init-B5Q3SJQG.js → fast-db-init-LRC6RZ6U.js} +1 -1
  186. package/dist/{founder-context-5OFTZNDO.js → founder-context-K5NWGKX7.js} +2 -2
  187. package/dist/gateway/index.js +11 -9
  188. package/dist/{git-staleness-XQJTOSGZ.js → git-staleness-VLVOG2SH.js} +5 -3
  189. package/dist/{global-procedures-YCJ3JPAP.js → global-procedures-EMTNFAMU.js} +7 -5
  190. package/dist/{graph-auto-extract-XJN6PQH3.js → graph-auto-extract-56OOJLRB.js} +8 -6
  191. package/dist/{graph-rag-HCQCZ2W7.js → graph-rag-WUM5JUB7.js} +3 -3
  192. package/dist/{hook-prefetch-FKXDTCDS.js → hook-prefetch-WQBVWWSD.js} +16 -14
  193. package/dist/hooks/bug-report-worker.js +18 -16
  194. package/dist/hooks/codex-stop-task-finalizer.js +19 -17
  195. package/dist/hooks/commit-complete.js +18 -16
  196. package/dist/hooks/error-recall.js +10 -8
  197. package/dist/hooks/exe-heartbeat-hook.js +6 -4
  198. package/dist/hooks/ingest.js +11 -9
  199. package/dist/hooks/instructions-loaded.js +7 -5
  200. package/dist/hooks/manifest.json +19 -19
  201. package/dist/hooks/notification.js +7 -5
  202. package/dist/hooks/post-compact.js +17 -15
  203. package/dist/hooks/post-tool-combined.js +10 -10
  204. package/dist/hooks/pre-compact.js +18 -16
  205. package/dist/hooks/pre-tool-use.js +23 -21
  206. package/dist/hooks/prompt-submit.js +34 -33
  207. package/dist/hooks/session-end.js +22 -20
  208. package/dist/hooks/session-start.js +13 -13
  209. package/dist/hooks/stop.js +21 -19
  210. package/dist/hooks/subagent-stop.js +19 -17
  211. package/dist/hooks/summary-worker.js +22 -25
  212. package/dist/index.js +25 -23
  213. package/dist/{installer-YSCUE6MT.js → installer-KBOFELYW.js} +8 -6
  214. package/dist/{installer-YTT5OSRL.js → installer-UDRUKMVA.js} +8 -6
  215. package/dist/{installer-G3DVMNC6.js → installer-VZYXKVLO.js} +8 -6
  216. package/dist/{intercom-queue-5D52JF3Q.js → intercom-queue-QWUEMESK.js} +15 -13
  217. package/dist/lib/cloud-sync.js +14 -12
  218. package/dist/lib/consolidation.js +10 -8
  219. package/dist/lib/database.js +9 -3
  220. package/dist/lib/db-backup.js +1 -1
  221. package/dist/lib/db-checkpoint-worker.js +4 -0
  222. package/dist/lib/db-daemon-client.js +3 -1
  223. package/dist/lib/db-read-worker.js +4 -0
  224. package/dist/lib/db-write-worker.js +3 -3
  225. package/dist/lib/db.js +9 -3
  226. package/dist/lib/device-registry.js +1 -1
  227. package/dist/lib/employee-templates.js +8 -6
  228. package/dist/lib/employees.js +5 -3
  229. package/dist/lib/exe-daemon.js +202 -93
  230. package/dist/lib/hybrid-search.js +9 -7
  231. package/dist/lib/identity.js +5 -3
  232. package/dist/lib/license.js +2 -2
  233. package/dist/lib/messaging.js +16 -14
  234. package/dist/lib/registry-proxy.js +1 -1
  235. package/dist/lib/reminders.js +6 -4
  236. package/dist/lib/schedules.js +9 -7
  237. package/dist/lib/session-registry.js +7 -5
  238. package/dist/lib/skill-learning.js +10 -8
  239. package/dist/lib/store.js +8 -6
  240. package/dist/lib/task-router.js +6 -4
  241. package/dist/lib/tasks.js +17 -15
  242. package/dist/lib/tmux-routing.js +15 -13
  243. package/dist/lib/token-spend.js +8 -4
  244. package/dist/{license-gate-DKYHCAMN.js → license-gate-4FBFBGOS.js} +3 -3
  245. package/dist/{license-sync-JVEXPDHN.js → license-sync-PES4GIXL.js} +2 -2
  246. package/dist/mcp/register-tools.js +73 -71
  247. package/dist/mcp/server.js +74 -72
  248. package/dist/mcp/tools/complete-reminder.js +7 -5
  249. package/dist/mcp/tools/create-reminder.js +7 -5
  250. package/dist/mcp/tools/create-task.js +19 -17
  251. package/dist/mcp/tools/deactivate-behavior.js +11 -9
  252. package/dist/mcp/tools/list-reminders.js +7 -5
  253. package/dist/mcp/tools/list-tasks.js +19 -17
  254. package/dist/mcp/tools/send-message.js +18 -16
  255. package/dist/mcp/tools/update-task.js +18 -16
  256. package/dist/{mcp-health-WDOB6XUB.js → mcp-health-HNVSWKFA.js} +6 -1
  257. package/dist/{mcp-http-config-L5RDDU6P.js → mcp-http-config-SL43BGFQ.js} +6 -4
  258. package/dist/{mcp-session-identity-S6UCHBER.js → mcp-session-identity-G2NSIUWR.js} +15 -13
  259. package/dist/{memory-cards-65RGFT5M.js → memory-cards-GOSSB6QK.js} +8 -6
  260. package/dist/{memory-graph-extractor-ZDZ5VQUX.js → memory-graph-extractor-5S6AVC5L.js} +9 -7
  261. package/dist/{memory-poisoning-defense-EQUQNXRE.js → memory-poisoning-defense-6KFJEDCT.js} +5 -3
  262. package/dist/{memory-pressure-watchdog-CC344JBH.js → memory-pressure-watchdog-7BOUNASS.js} +16 -14
  263. package/dist/{memory-reflection-Q4OT4V55.js → memory-reflection-LIILYJAS.js} +5 -3
  264. package/dist/{notification-ledger-GL3ZPZNR.js → notification-ledger-54CAO4AS.js} +16 -14
  265. package/dist/{notifications-FGYNO2FY.js → notifications-MCJFLBAO.js} +15 -13
  266. package/dist/{orchestration-events-N5FQ4SKU.js → orchestration-events-SHRMUOV7.js} +6 -4
  267. package/dist/{orchestrator-XUJDK4EW.js → orchestrator-RVUAGQV6.js} +17 -15
  268. package/dist/{pipeline-router-YQOZ4M62.js → pipeline-router-CWB6QZ5E.js} +6 -4
  269. package/dist/{plan-limits-VBHKYKSK.js → plan-limits-APRN2I6H.js} +8 -6
  270. package/dist/{platform-procedures-F3XB6WWM.js → platform-procedures-2VQGBJU7.js} +1 -1
  271. package/dist/{projection-worker-NJUNGEXE.js → projection-worker-ECMC4XKX.js} +2 -2
  272. package/dist/{prospective-memory-3MKUPDVI.js → prospective-memory-ZLMPXBGE.js} +5 -3
  273. package/dist/{reranker-LGSIL6TX.js → reranker-TLECHHQH.js} +1 -1
  274. package/dist/{retrieval-health-AEEQ5IO6.js → retrieval-health-K4EPRPJU.js} +1 -1
  275. package/dist/{review-polling-2RMEZ5QO.js → review-polling-6NYH7IO2.js} +16 -14
  276. package/dist/runtime/index.js +19 -17
  277. package/dist/{session-events-5XSYCV4I.js → session-events-RL7JNGJK.js} +16 -14
  278. package/dist/{session-kill-telemetry-QJUHG3IG.js → session-kill-telemetry-IV4BFLSS.js} +16 -14
  279. package/dist/{session-scope-LIJ746K2.js → session-scope-ISVYSAC2.js} +15 -13
  280. package/dist/{setup-wizard-RLUCGGA7.js → setup-wizard-OQB6FMJM.js} +1 -1
  281. package/dist/{shard-manager-3L2NMJVJ.js → shard-manager-DFLCDZT5.js} +2 -1
  282. package/dist/{skill-refinement-FMN3WFSG.js → skill-refinement-7SANCL3P.js} +6 -4
  283. package/dist/{stack-promote-BGDGAYKG.js → stack-promote-I7H727IS.js} +29 -4
  284. package/dist/{stack-release-SOIHMI3I.js → stack-release-6I7GGSC7.js} +4 -4
  285. package/dist/{stack-update-AXFHJRK5.js → stack-update-2ZV6MBXF.js} +3 -3
  286. package/dist/{steward-gate-R2XWABMV.js → steward-gate-SW4UYGIH.js} +6 -4
  287. package/dist/{support-inbox-IITW66TG.js → support-inbox-OX3VJ2OF.js} +3 -3
  288. package/dist/{task-enforcement-SFZGBY27.js → task-enforcement-VLGRGIKW.js} +16 -14
  289. package/dist/{task-scope-74ZIFQRH.js → task-scope-NTANJZPS.js} +15 -13
  290. package/dist/{tasks-crud-N54JZCXU.js → tasks-crud-FDCGFA72.js} +15 -13
  291. package/dist/{tasks-notify-62IJZW55.js → tasks-notify-GGN2HRFW.js} +16 -14
  292. package/dist/{tasks-review-3LHBE6ZJ.js → tasks-review-KFUKHWMF.js} +15 -13
  293. package/dist/{telemetry-upload-HR3QIWZV.js → telemetry-upload-GFEOMNUY.js} +10 -8
  294. package/dist/{token-budget-DBXHLCMN.js → token-budget-TJJV6ZCC.js} +6 -4
  295. package/dist/{tool-telemetry-UFUTCNE3.js → tool-telemetry-EH6SIQHX.js} +1 -1
  296. package/dist/tui/App.js +24 -22
  297. package/dist/{tui-data-BPXEJKRQ.js → tui-data-W4M3MMLG.js} +15 -13
  298. package/dist/{update-support-HLZ7KMVM.js → update-support-67ADNRYC.js} +12 -10
  299. package/dist/{work-state-heartbeat-IQI3LCHN.js → work-state-heartbeat-34V6UFHR.js} +1 -1
  300. package/dist/{worker-gate-5ABYGLC2.js → worker-gate-7EXQ46BV.js} +1 -1
  301. package/dist/{workflow-engine-XSUWZK6I.js → workflow-engine-IK6SIMT5.js} +2 -2
  302. package/dist/{worktree-EUYBBABA.js → worktree-HRX5BSXT.js} +7 -5
  303. package/dist/{worktree-sweep-LSKFA2PK.js → worktree-sweep-W24XZKQO.js} +8 -6
  304. package/package.json +2 -1
  305. package/release-notes.json +18 -20
  306. package/dist/chunk-7HLWBYH7.js +0 -60
  307. /package/dist/{chunk-AK77MITT.js → chunk-4QDO2KT4.js} +0 -0
  308. /package/dist/{chunk-HABPXFHZ.js → chunk-B2F5BZJA.js} +0 -0
  309. /package/dist/{chunk-A627QFOE.js → chunk-BH2X3N6S.js} +0 -0
  310. /package/dist/{chunk-2267TRAO.js → chunk-CCQ3VCK2.js} +0 -0
  311. /package/dist/{chunk-IHKRHGKT.js → chunk-F766HECM.js} +0 -0
  312. /package/dist/{chunk-7GOSAV25.js → chunk-L6GEKT6M.js} +0 -0
  313. /package/dist/{chunk-GVU3BW6N.js → chunk-MZXYP2YA.js} +0 -0
  314. /package/dist/{chunk-HMBMHZ3S.js → chunk-UURVJW2K.js} +0 -0
  315. /package/dist/{chunk-VML2UQK7.js → chunk-ZOFI53LD.js} +0 -0
  316. /package/dist/{chunk-G2MXTLOD.js → chunk-ZP3224K3.js} +0 -0
  317. /package/dist/{core-memory-KXE4QMOA.js → core-memory-P7YBDZGM.js} +0 -0
  318. /package/dist/{memory-isolation-VSKUKTN4.js → memory-isolation-A4CRGWRS.js} +0 -0
  319. /package/dist/{oauth-server-JELOVN5D.js → oauth-server-MM4VE2YN.js} +0 -0
  320. /package/dist/{project-boot-LQ4CF6BI.js → project-boot-PT5HJT7E.js} +0 -0
  321. /package/dist/{wiki-acl-VR4AFJ3T.js → wiki-acl-SD3DF4IP.js} +0 -0
@@ -8,24 +8,24 @@ import {
8
8
  isAtCapacity,
9
9
  isWithinRelaunchCooldown,
10
10
  pollCapacityDead
11
- } from "./chunk-6CZXY5BD.js";
12
- import "./chunk-TAR5J7WI.js";
13
- import "./chunk-YSUHXDQU.js";
14
- import "./chunk-X7CWCQ5S.js";
15
- import "./chunk-TQ4O5A4S.js";
16
- import "./chunk-P7EUKYSQ.js";
11
+ } from "./chunk-N7YI2ZRJ.js";
12
+ import "./chunk-5T3VZ2TX.js";
13
+ import "./chunk-IR6CEBWC.js";
14
+ import "./chunk-VJRLBE2R.js";
15
+ import "./chunk-Q5AFCR57.js";
16
+ import "./chunk-J4DLB36O.js";
17
+ import "./chunk-EIKATSE4.js";
17
18
  import "./chunk-E23LNUWJ.js";
18
19
  import "./chunk-4JERP7NT.js";
19
- import "./chunk-EIKATSE4.js";
20
- import "./chunk-PM4TIRCR.js";
20
+ import "./chunk-MODZZ52R.js";
21
21
  import "./chunk-UXLO7VHX.js";
22
22
  import "./chunk-DSOQUQTV.js";
23
23
  import "./chunk-SKGMF2SO.js";
24
- import "./chunk-X4EDW3FH.js";
24
+ import "./chunk-6ZUHNYAB.js";
25
25
  import "./chunk-AJIXH5JF.js";
26
26
  import "./chunk-VAY6IXWY.js";
27
27
  import "./chunk-AM7S2TY6.js";
28
- import "./chunk-4GGP4Q5N.js";
28
+ import "./chunk-IOSM2N3Z.js";
29
29
  import "./chunk-OSKWCKUC.js";
30
30
  import "./chunk-KI5PFRG6.js";
31
31
  import "./chunk-CVYC6DUW.js";
@@ -39,17 +39,19 @@ import "./chunk-NLEW62VC.js";
39
39
  import "./chunk-HYZV25LY.js";
40
40
  import "./chunk-GJV3WDWM.js";
41
41
  import "./chunk-MP2AFCGL.js";
42
- import "./chunk-M5DPPJLS.js";
42
+ import "./chunk-U7I4YINB.js";
43
43
  import "./chunk-2I23RPSI.js";
44
- import "./chunk-LLXYWNCH.js";
44
+ import "./chunk-5YEUPUV4.js";
45
+ import "./chunk-AXAHRTST.js";
45
46
  import "./chunk-OMXJMOBD.js";
46
- import "./chunk-7HLWBYH7.js";
47
47
  import "./chunk-BBMTVAE3.js";
48
48
  import "./chunk-YMUZWC33.js";
49
+ import "./chunk-V3W3SATA.js";
50
+ import "./chunk-JY5GAZYC.js";
49
51
  import "./chunk-FXU7JOXK.js";
50
52
  import "./chunk-WNBZJSQT.js";
51
- import "./chunk-4VU2VCEU.js";
52
- import "./chunk-A627QFOE.js";
53
+ import "./chunk-6VUMFHWB.js";
54
+ import "./chunk-BH2X3N6S.js";
53
55
  import "./chunk-BCZF3AGJ.js";
54
56
  import "./chunk-HSGBZSCA.js";
55
57
  import "./chunk-MLKGABMK.js";
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  lightweightSearch
3
- } from "./chunk-ZWXSO4FN.js";
3
+ } from "./chunk-WIKYYOHP.js";
4
4
  import "./chunk-VMHZSZQJ.js";
5
- import "./chunk-WHQYVFE2.js";
6
- import "./chunk-IHKRHGKT.js";
5
+ import "./chunk-VIIOEVAF.js";
6
+ import "./chunk-F766HECM.js";
7
7
  import "./chunk-CHCA3ZM2.js";
8
8
  import "./chunk-OTVEIJUQ.js";
9
- import "./chunk-VML2UQK7.js";
9
+ import "./chunk-ZOFI53LD.js";
10
10
  import "./chunk-5MOYSU5A.js";
11
11
  import "./chunk-4QCFFW2H.js";
12
12
  import "./chunk-76CJBM36.js";
13
13
  import {
14
14
  sessionScopeFilter,
15
15
  strictSessionScopeFilter
16
- } from "./chunk-YSUHXDQU.js";
17
- import "./chunk-X7CWCQ5S.js";
18
- import "./chunk-TQ4O5A4S.js";
19
- import "./chunk-P7EUKYSQ.js";
16
+ } from "./chunk-IR6CEBWC.js";
17
+ import "./chunk-VJRLBE2R.js";
18
+ import "./chunk-Q5AFCR57.js";
19
+ import "./chunk-J4DLB36O.js";
20
+ import "./chunk-EIKATSE4.js";
20
21
  import "./chunk-E23LNUWJ.js";
21
22
  import "./chunk-4JERP7NT.js";
22
- import "./chunk-EIKATSE4.js";
23
- import "./chunk-PM4TIRCR.js";
23
+ import "./chunk-MODZZ52R.js";
24
24
  import "./chunk-UXLO7VHX.js";
25
25
  import "./chunk-DSOQUQTV.js";
26
26
  import "./chunk-SKGMF2SO.js";
27
- import "./chunk-X4EDW3FH.js";
27
+ import "./chunk-6ZUHNYAB.js";
28
28
  import "./chunk-AJIXH5JF.js";
29
29
  import "./chunk-VAY6IXWY.js";
30
30
  import "./chunk-AM7S2TY6.js";
31
- import "./chunk-4GGP4Q5N.js";
31
+ import "./chunk-IOSM2N3Z.js";
32
32
  import "./chunk-OSKWCKUC.js";
33
33
  import "./chunk-KI5PFRG6.js";
34
34
  import "./chunk-CVYC6DUW.js";
@@ -44,18 +44,20 @@ import "./chunk-GJV3WDWM.js";
44
44
  import "./chunk-MP2AFCGL.js";
45
45
  import {
46
46
  getClient
47
- } from "./chunk-M5DPPJLS.js";
47
+ } from "./chunk-U7I4YINB.js";
48
48
  import "./chunk-2I23RPSI.js";
49
- import "./chunk-LLXYWNCH.js";
49
+ import "./chunk-5YEUPUV4.js";
50
+ import "./chunk-AXAHRTST.js";
50
51
  import "./chunk-OMXJMOBD.js";
51
- import "./chunk-7HLWBYH7.js";
52
52
  import "./chunk-BBMTVAE3.js";
53
53
  import "./chunk-YMUZWC33.js";
54
+ import "./chunk-V3W3SATA.js";
55
+ import "./chunk-JY5GAZYC.js";
54
56
  import "./chunk-FXU7JOXK.js";
55
57
  import "./chunk-QWVXN224.js";
56
58
  import "./chunk-WNBZJSQT.js";
57
- import "./chunk-4VU2VCEU.js";
58
- import "./chunk-A627QFOE.js";
59
+ import "./chunk-6VUMFHWB.js";
60
+ import "./chunk-BH2X3N6S.js";
59
61
  import "./chunk-BCZF3AGJ.js";
60
62
  import "./chunk-HSGBZSCA.js";
61
63
  import "./chunk-MLKGABMK.js";
@@ -164,7 +166,7 @@ ${msgLines}`);
164
166
  } catch {
165
167
  }
166
168
  try {
167
- const { getPendingProspective, markSurfaced } = await import("./prospective-memory-3MKUPDVI.js");
169
+ const { getPendingProspective, markSurfaced } = await import("./prospective-memory-ZLMPXBGE.js");
168
170
  const due = await getPendingProspective(agentId, { projectName, limit: 5 });
169
171
  if (due.length > 0) {
170
172
  const now = Date.now();
@@ -71,7 +71,7 @@ async function fastDbInit(opts) {
71
71
  }
72
72
  }
73
73
  if (effectiveDaemonOnly) {
74
- const { isDaemonReady } = await import("./daemon-ready-signal-TVCPSG7J.js");
74
+ const { isDaemonReady } = await import("./daemon-ready-signal-CKXPUMJ2.js");
75
75
  if (!isDaemonReady()) return makeNoopClient();
76
76
  }
77
77
  const forceDirect = process.env.EXE_DB_DIRECT === "1" || process.env.EXE_DB_READONLY === "1" || process.env.EXE_SKIP_DAEMON === "1";
@@ -151,7 +151,7 @@ async function fastDbInit(opts) {
151
151
  if (client) return client;
152
152
  let daemonLooksPresent = false;
153
153
  try {
154
- const { isDaemonReady } = await import("./daemon-ready-signal-TVCPSG7J.js");
154
+ const { isDaemonReady } = await import("./daemon-ready-signal-CKXPUMJ2.js");
155
155
  const { existsSync } = await import("fs");
156
156
  const { join } = await import("path");
157
157
  const { EXE_AI_DIR } = await import("./lib/config.js");
@@ -175,7 +175,7 @@ async function fastDbInit(opts) {
175
175
  if (!forceDirect) {
176
176
  let daemonOwnsDb = false;
177
177
  try {
178
- const { isDaemonReady } = await import("./daemon-ready-signal-TVCPSG7J.js");
178
+ const { isDaemonReady } = await import("./daemon-ready-signal-CKXPUMJ2.js");
179
179
  const { isDbLockHeldByLiveProcess } = await import("./lib/database.js");
180
180
  daemonOwnsDb = isDaemonReady() || isDbLockHeldByLiveProcess();
181
181
  } catch {
@@ -9,7 +9,7 @@ import {
9
9
  getCoordinatorEmployee,
10
10
  getEmployee,
11
11
  loadEmployeesSync
12
- } from "./chunk-M5DPPJLS.js";
12
+ } from "./chunk-U7I4YINB.js";
13
13
  import {
14
14
  EXE_AI_DIR
15
15
  } from "./chunk-BCZF3AGJ.js";
@@ -6,13 +6,13 @@ import {
6
6
  queryTaskRows,
7
7
  resolveExeSession,
8
8
  sendIntercom
9
- } from "./chunk-YSUHXDQU.js";
9
+ } from "./chunk-IR6CEBWC.js";
10
10
  import {
11
11
  getTransport
12
12
  } from "./chunk-UXLO7VHX.js";
13
13
  import {
14
14
  recordOrchestrationEventBestEffort
15
- } from "./chunk-X4EDW3FH.js";
15
+ } from "./chunk-6ZUHNYAB.js";
16
16
  import {
17
17
  releaseDispatchClaim,
18
18
  tryAcquireDispatchClaim
@@ -27,7 +27,7 @@ import {
27
27
  isCoordinatorName,
28
28
  isMultiInstance,
29
29
  shouldAutoInstance
30
- } from "./chunk-M5DPPJLS.js";
30
+ } from "./chunk-U7I4YINB.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-LIJ746K2.js");
92
+ const { assertSessionScope } = await import("./session-scope-ISVYSAC2.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
  sessionScopeFilter
3
- } from "./chunk-YSUHXDQU.js";
3
+ } from "./chunk-IR6CEBWC.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-N54JZCXU.js");
241
+ const { updateTaskStatus } = await import("./tasks-crud-FDCGFA72.js");
242
242
  await updateTaskStatus({
243
243
  taskId: task.id,
244
244
  status: "needs_review",
@@ -263,7 +263,7 @@ var PLATFORM_PROCEDURES = [
263
263
  title: "Merge discipline \u2014 branches merge or close within 24h",
264
264
  domain: "workflow",
265
265
  priority: "p1",
266
- content: "Merge or close every agent branch within 24h of its task going done. After merge, delete the worktree AND the remote branch \u2014 a merged branch left alive is debt. Never let branches diverge for days: 9 features were lost to merge conflicts on 2026-04-27. Subagent-first work multiplies worktrees; reviewers sweep branches at every review pull; COO audits stale worktrees/branches (git worktree list, git branch -a). A branch older than 24h is a pipeline stall \u2014 merge, rebase, or close it now."
266
+ content: "Done = LANDED, not approved \u2014 merged to the default branch, tagged where releases apply, published where customers pull; the approving reviewer owns landing it. Merge or close every agent branch within 24h of its task going done; after merge, delete the worktree AND the remote branch. 9 features were lost unmerged; a reviewed fix once sat unmerged for weeks while production served the bug. Sweep stale branches at every review pull (git worktree list, git branch -a). A branch older than 24h is a pipeline stall."
267
267
  },
268
268
  {
269
269
  title: "Desktop and TUI are the same product",
@@ -2,7 +2,7 @@ import {
2
2
  getClient,
3
3
  isCoordinatorName,
4
4
  loadEmployeesSync
5
- } from "./chunk-M5DPPJLS.js";
5
+ } from "./chunk-U7I4YINB.js";
6
6
 
7
7
  // src/lib/steward-gate.ts
8
8
  import crypto from "crypto";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  vectorToSqlLiteral
3
- } from "./chunk-WHQYVFE2.js";
3
+ } from "./chunk-VIIOEVAF.js";
4
4
  import {
5
5
  blobToVector
6
6
  } from "./chunk-OTVEIJUQ.js";
7
7
  import {
8
8
  getClient
9
- } from "./chunk-M5DPPJLS.js";
9
+ } from "./chunk-U7I4YINB.js";
10
10
 
11
11
  // src/lib/behaviors.ts
12
12
  import crypto from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  processCRMEvent
3
- } from "./chunk-GVU3BW6N.js";
3
+ } from "./chunk-MZXYP2YA.js";
4
4
 
5
5
  // src/gateway/adapters/crm-webhook.ts
6
6
  function parseTwentyWebhook(payload) {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  deactivateBehavior
3
- } from "./chunk-FWJFKWYA.js";
3
+ } from "./chunk-3M6TUMXM.js";
4
4
  import {
5
5
  getActiveAgent
6
- } from "./chunk-YNYISUMW.js";
6
+ } from "./chunk-2X76NMT7.js";
7
7
  import {
8
8
  canCoordinate,
9
9
  getClient
10
- } from "./chunk-M5DPPJLS.js";
10
+ } from "./chunk-U7I4YINB.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-R2XWABMV.js");
27
+ const { StewardGate } = await import("./steward-gate-SW4UYGIH.js");
28
28
  const steward = new StewardGate();
29
29
  const gateDecision = await steward.checkAuthority(caller.agentId || "unknown", "deactivate_behavior", behavior_id);
30
30
  if (!gateDecision.allowed) {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  isExeSession
3
- } from "./chunk-YSUHXDQU.js";
3
+ } from "./chunk-IR6CEBWC.js";
4
4
  import {
5
5
  recordOrchestrationEventBestEffort
6
- } from "./chunk-X4EDW3FH.js";
6
+ } from "./chunk-6ZUHNYAB.js";
7
7
  import {
8
8
  getClient,
9
9
  isCoordinatorName
10
- } from "./chunk-M5DPPJLS.js";
10
+ } from "./chunk-U7I4YINB.js";
11
11
  import {
12
12
  isDaemonAlive
13
- } from "./chunk-7HLWBYH7.js";
13
+ } from "./chunk-V3W3SATA.js";
14
14
 
15
15
  // src/lib/session-kill-telemetry.ts
16
16
  import crypto from "crypto";
@@ -1,15 +1,12 @@
1
1
  import {
2
2
  isPaneBusy
3
- } from "./chunk-NT4GET5B.js";
3
+ } from "./chunk-ELGZDMXM.js";
4
4
  import {
5
5
  recordSessionKill
6
- } from "./chunk-TAR5J7WI.js";
7
- import {
8
- eventLoopBlockedMarkerPath
9
- } from "./chunk-APRVAUOR.js";
6
+ } from "./chunk-5T3VZ2TX.js";
10
7
  import {
11
8
  updateTask
12
- } from "./chunk-ZMVVKOOS.js";
9
+ } from "./chunk-AXXGZSW5.js";
13
10
  import {
14
11
  countPendingReviews,
15
12
  ensureEmployeeAsync,
@@ -25,14 +22,14 @@ import {
25
22
  sessionScopeFilter,
26
23
  strictSessionScopeFilter,
27
24
  writeNotification
28
- } from "./chunk-YSUHXDQU.js";
25
+ } from "./chunk-IR6CEBWC.js";
29
26
  import {
30
27
  LEASE_MINUTES,
31
28
  isLeaseExpired
32
29
  } from "./chunk-E23LNUWJ.js";
33
30
  import {
34
31
  listSessions
35
- } from "./chunk-PM4TIRCR.js";
32
+ } from "./chunk-MODZZ52R.js";
36
33
  import {
37
34
  getTransport
38
35
  } from "./chunk-UXLO7VHX.js";
@@ -44,7 +41,7 @@ import {
44
41
  } from "./chunk-SKGMF2SO.js";
45
42
  import {
46
43
  recordOrchestrationEventBestEffort
47
- } from "./chunk-X4EDW3FH.js";
44
+ } from "./chunk-6ZUHNYAB.js";
48
45
  import {
49
46
  checkDispatchStatus,
50
47
  readTerminalLauncherFailure,
@@ -62,7 +59,10 @@ import {
62
59
  getCoordinatorName,
63
60
  isCoordinatorName,
64
61
  shouldAutoInstance
65
- } from "./chunk-M5DPPJLS.js";
62
+ } from "./chunk-U7I4YINB.js";
63
+ import {
64
+ eventLoopBlockedMarkerPath
65
+ } from "./chunk-JY5GAZYC.js";
66
66
  import {
67
67
  loadConfigSync
68
68
  } from "./chunk-BCZF3AGJ.js";
@@ -3194,7 +3194,7 @@ async function reapOrphanedWorktrees(deps, nowMs = Date.now()) {
3194
3194
  }
3195
3195
  async function createWorktreeReaperRealDeps() {
3196
3196
  const { getPaneCwdAsync } = await import("./lib/tmux-status.js");
3197
- const { getGitRootAsync, isWorktreeDirtyAsync } = await import("./worktree-EUYBBABA.js");
3197
+ const { getGitRootAsync, isWorktreeDirtyAsync } = await import("./worktree-HRX5BSXT.js");
3198
3198
  const { statSync: statSync3 } = await import("fs");
3199
3199
  const { basename: basename2 } = await import("path");
3200
3200
  const { promisify: promisify2 } = await import("util");
@@ -3425,7 +3425,7 @@ async function gcStaleCheckpoints() {
3425
3425
  }
3426
3426
  async function pollTaskGroupBarriers() {
3427
3427
  try {
3428
- const { checkAndFireBarriers } = await import("./tasks-crud-N54JZCXU.js");
3428
+ const { checkAndFireBarriers } = await import("./tasks-crud-FDCGFA72.js");
3429
3429
  const firedGroupIds = await checkAndFireBarriers();
3430
3430
  if (firedGroupIds.length === 0) return 0;
3431
3431
  const { getClient } = await import("./lib/database.js");
@@ -0,0 +1,53 @@
1
+ // src/lib/db-open-telemetry.ts
2
+ import { existsSync, mkdirSync, renameSync, statSync, writeFileSync } from "fs";
3
+ import { homedir } from "os";
4
+ import { basename, join } from "path";
5
+ var MAX_LOG_BYTES = 5 * 1024 * 1024;
6
+ function envFlag(name) {
7
+ return process.env[name] === "1";
8
+ }
9
+ function recordDbOpen(info) {
10
+ try {
11
+ const record = {
12
+ timestamp: (/* @__PURE__ */ new Date()).toISOString(),
13
+ pid: process.pid,
14
+ argvBasename: basename(process.argv[1] ?? process.argv[0] ?? ""),
15
+ dbPath: info.dbPath,
16
+ source: info.source,
17
+ writeCapable: info.writeCapable,
18
+ checkpointTimer: info.checkpointTimer,
19
+ flags: {
20
+ EXE_IS_DAEMON: envFlag("EXE_IS_DAEMON"),
21
+ EXE_MCP_MODE: envFlag("EXE_MCP_MODE"),
22
+ EXE_DB_DIRECT: envFlag("EXE_DB_DIRECT"),
23
+ EXE_DB_READONLY: envFlag("EXE_DB_READONLY"),
24
+ EXE_BOOT_FAST: envFlag("EXE_BOOT_FAST")
25
+ }
26
+ };
27
+ const line = JSON.stringify(record);
28
+ try {
29
+ process.stderr.write(`[db-open] ${line}
30
+ `);
31
+ } catch {
32
+ }
33
+ try {
34
+ const logDir = join(process.env.HOME ?? homedir(), ".exe-os", "logs");
35
+ const logPath = join(logDir, "db-opens.jsonl");
36
+ mkdirSync(logDir, { recursive: true });
37
+ if (existsSync(logPath) && statSync(logPath).size > MAX_LOG_BYTES) {
38
+ try {
39
+ renameSync(logPath, `${logPath}.1`);
40
+ } catch {
41
+ }
42
+ }
43
+ writeFileSync(logPath, `${line}
44
+ `, { flag: "a" });
45
+ } catch {
46
+ }
47
+ } catch {
48
+ }
49
+ }
50
+
51
+ export {
52
+ recordDbOpen
53
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDeviceInfo
3
- } from "./chunk-A627QFOE.js";
3
+ } from "./chunk-BH2X3N6S.js";
4
4
  import {
5
5
  EXE_AI_DIR
6
6
  } from "./chunk-BCZF3AGJ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-M5DPPJLS.js";
3
+ } from "./chunk-U7I4YINB.js";
4
4
 
5
5
  // src/lib/orchestration-events.ts
6
6
  import crypto from "crypto";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeAction,
3
3
  substituteTemplate
4
- } from "./chunk-GVU3BW6N.js";
4
+ } from "./chunk-MZXYP2YA.js";
5
5
 
6
6
  // src/automation/workflow-engine.ts
7
7
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  routeTask
3
- } from "./chunk-Y4JA5V22.js";
3
+ } from "./chunk-OP7M5N5R.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-YSUHXDQU.js";
12
+ } from "./chunk-IR6CEBWC.js";
13
13
  import {
14
14
  DEFAULT_COORDINATOR_TEMPLATE_NAME,
15
15
  getCoordinatorName
16
- } from "./chunk-M5DPPJLS.js";
16
+ } from "./chunk-U7I4YINB.js";
17
17
 
18
18
  // src/runtime/orchestrator.ts
19
19
  var STALE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getGlobalProceduresBlock
3
- } from "./chunk-KP3PLOGC.js";
3
+ } from "./chunk-U5KZQP7R.js";
4
4
 
5
5
  // src/lib/employee-templates.ts
6
6
  var BASE_OPERATING_PROCEDURES = `
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-75H4R62K.js";
4
4
  import {
5
5
  initStore
6
- } from "./chunk-WHQYVFE2.js";
6
+ } from "./chunk-VIIOEVAF.js";
7
7
  import {
8
8
  getClient,
9
9
  isInitialized
10
- } from "./chunk-M5DPPJLS.js";
10
+ } from "./chunk-U7I4YINB.js";
11
11
 
12
12
  // src/lib/schedules.ts
13
13
  import crypto from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  sendMessage
3
- } from "./chunk-PUNCHUEX.js";
3
+ } from "./chunk-PTOJPD26.js";
4
4
  import {
5
5
  getActiveAgent
6
- } from "./chunk-YNYISUMW.js";
6
+ } from "./chunk-2X76NMT7.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-M5DPPJLS.js";
3
+ } from "./chunk-U7I4YINB.js";
4
4
  import {
5
5
  loadConfigSync
6
6
  } from "./chunk-BCZF3AGJ.js";
@@ -112,6 +112,23 @@ function evaluateGlobalSpendCap(totalCostUSD, period, config = getConfiguredGlob
112
112
  source: config.source
113
113
  };
114
114
  }
115
+ var SPEND_CAP_LEVEL_RANK = {
116
+ ok: 0,
117
+ near_cap: 1,
118
+ over_cap: 2
119
+ };
120
+ function evaluateSpendCapAlert(previousLevel, status) {
121
+ if (status.status === "unconfigured" || status.status === "ok") {
122
+ return { shouldAlert: false, level: "ok", summary: null };
123
+ }
124
+ const currentLevel = status.status;
125
+ const prevRank = previousLevel ? SPEND_CAP_LEVEL_RANK[previousLevel] : 0;
126
+ const currentRank = SPEND_CAP_LEVEL_RANK[currentLevel];
127
+ if (currentRank > prevRank) {
128
+ return { shouldAlert: true, level: currentLevel, summary: status.message };
129
+ }
130
+ return { shouldAlert: false, level: currentLevel, summary: null };
131
+ }
115
132
  var MODEL_PRICING = {
116
133
  // Opus 4.5+ ($5/$25 — Anthropic price drop from original Opus 4)
117
134
  "claude-opus-4-7": { input: 5 / 1e6, output: 25 / 1e6, cacheRead: 0.5 / 1e6, cacheWrite: 6.25 / 1e6 },
@@ -330,6 +347,7 @@ export {
330
347
  resolveGlobalSpendCapConfig,
331
348
  getConfiguredGlobalSpendCap,
332
349
  evaluateGlobalSpendCap,
350
+ evaluateSpendCapAlert,
333
351
  getPricing,
334
352
  getAgentSpend
335
353
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadLicense
3
- } from "./chunk-4VU2VCEU.js";
3
+ } from "./chunk-6VUMFHWB.js";
4
4
 
5
5
  // src/lib/stack-update.ts
6
6
  import { execFileSync, spawnSync } from "child_process";
@@ -248,7 +248,7 @@ async function createBackupAsync(reason = "manual", opts = {}) {
248
248
  }
249
249
  }
250
250
  try {
251
- const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-7NLKR4S6.js");
251
+ const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-ZLU3DBPH.js");
252
252
  if (manifestWriteEnabled()) {
253
253
  await writeBackupManifest(backupPath, dbName);
254
254
  }
@@ -2,7 +2,7 @@ import {
2
2
  dispatchTaskToEmployee,
3
3
  markTaskNotificationsRead,
4
4
  notifyTaskDone
5
- } from "./chunk-AWB7M62V.js";
5
+ } from "./chunk-2XYL3ZBJ.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-YSUHXDQU.js";
19
+ } from "./chunk-IR6CEBWC.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-M5DPPJLS.js";
30
+ } from "./chunk-U7I4YINB.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-62IJZW55.js");
65
+ const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-GGN2HRFW.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-5D52JF3Q.js");
90
+ const { queueIntercom } = await import("./intercom-queue-QWUEMESK.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-5D52JF3Q.js");
288
+ const { queueIntercom } = await import("./intercom-queue-QWUEMESK.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-FGYNO2FY.js");
332
+ const { writeNotification: writeNotification2 } = await import("./notifications-MCJFLBAO.js");
333
333
  const reviewer = String(row.reviewer);
334
334
  await writeNotification2({
335
335
  agentId: reviewer,