@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,6 +1,6 @@
1
1
  import {
2
2
  evaluateMainGuard
3
- } from "../chunk-D74XYSA3.js";
3
+ } from "../chunk-QCQT5RXR.js";
4
4
  import {
5
5
  resolveSidechainAgentIdentity
6
6
  } from "../chunk-6IWLAQ7O.js";
@@ -8,25 +8,25 @@ import "../chunk-YSU7JB7H.js";
8
8
  import "../chunk-SH45SJQW.js";
9
9
  import {
10
10
  getActiveAgent
11
- } from "../chunk-HWK5GKE6.js";
11
+ } from "../chunk-TF5E6O5Q.js";
12
12
  import {
13
13
  sessionScopeFilter
14
- } from "../chunk-EWWCMMES.js";
15
- import "../chunk-XOVHWGPV.js";
16
- import "../chunk-7667KFAG.js";
17
- import "../chunk-JLYQD2XF.js";
14
+ } from "../chunk-IFSKL5QW.js";
15
+ import "../chunk-RBRGSOK5.js";
16
+ import "../chunk-OBWIVRD6.js";
17
+ import "../chunk-ZFR4A5W4.js";
18
18
  import "../chunk-E23LNUWJ.js";
19
19
  import "../chunk-4JERP7NT.js";
20
20
  import "../chunk-EIKATSE4.js";
21
- import "../chunk-FDOURKUO.js";
21
+ import "../chunk-HYZE3MNS.js";
22
22
  import "../chunk-AD2VCHSS.js";
23
23
  import "../chunk-WOYADZF5.js";
24
24
  import "../chunk-SKGMF2SO.js";
25
- import "../chunk-MT6YGWJ6.js";
25
+ import "../chunk-AMC2OPYP.js";
26
26
  import "../chunk-AJIXH5JF.js";
27
- import "../chunk-3EMAJBBN.js";
27
+ import "../chunk-A3YHWWE6.js";
28
28
  import "../chunk-AM7S2TY6.js";
29
- import "../chunk-Y7637VDZ.js";
29
+ import "../chunk-RFRUDXOI.js";
30
30
  import "../chunk-OSKWCKUC.js";
31
31
  import "../chunk-KI5PFRG6.js";
32
32
  import {
@@ -45,16 +45,17 @@ import "../chunk-MP2AFCGL.js";
45
45
  import {
46
46
  canCoordinate,
47
47
  loadEmployeesSync
48
- } from "../chunk-ZY2ABBVR.js";
48
+ } from "../chunk-QNKR7WEL.js";
49
49
  import "../chunk-2I23RPSI.js";
50
- import "../chunk-FM4ZI5ZP.js";
50
+ import "../chunk-FE6WBI2M.js";
51
51
  import "../chunk-OMXJMOBD.js";
52
52
  import "../chunk-7HLWBYH7.js";
53
53
  import "../chunk-BBMTVAE3.js";
54
+ import "../chunk-YMUZWC33.js";
54
55
  import "../chunk-FXU7JOXK.js";
55
56
  import "../chunk-WNBZJSQT.js";
56
- import "../chunk-ZK53K7OR.js";
57
- import "../chunk-SJLZ53ZR.js";
57
+ import "../chunk-MMOONM6D.js";
58
+ import "../chunk-XF2D4CDA.js";
58
59
  import {
59
60
  EXE_AI_DIR
60
61
  } from "../chunk-BCZF3AGJ.js";
@@ -238,14 +239,7 @@ function pathContains(root, candidate) {
238
239
  const relative = path2.relative(path2.resolve(root), path2.resolve(candidate));
239
240
  return relative === "" || relative !== ".." && !relative.startsWith("../") && !path2.isAbsolute(relative);
240
241
  }
241
- function isMainRepoPath(filePath, ctx) {
242
- return pathContains(ctx.repoRoot, filePath) && !pathContains(ctx.worktreeRoot, filePath);
243
- }
244
- function rewriteToWorktree(filePath, ctx) {
245
- const relative = path2.relative(ctx.repoRoot, filePath);
246
- return path2.join(ctx.worktreeRoot, relative);
247
- }
248
- function nearestGitRoot(filePath) {
242
+ function gitRootOf(filePath) {
249
243
  let probe = path2.resolve(filePath);
250
244
  if (!existsSync(probe)) probe = path2.dirname(probe);
251
245
  while (true) {
@@ -255,13 +249,17 @@ function nearestGitRoot(filePath) {
255
249
  probe = parent;
256
250
  }
257
251
  }
252
+ function isMainRepoPath(filePath, ctx) {
253
+ if (!pathContains(ctx.repoRoot, filePath) || pathContains(ctx.worktreeRoot, filePath)) return false;
254
+ const targetGitRoot = gitRootOf(filePath);
255
+ return targetGitRoot === null || path2.resolve(targetGitRoot) === path2.resolve(ctx.repoRoot);
256
+ }
257
+ function rewriteToWorktree(filePath, ctx) {
258
+ const relative = path2.relative(ctx.repoRoot, filePath);
259
+ return path2.join(ctx.worktreeRoot, relative);
260
+ }
258
261
  function shouldApplyOuterWorktreeGuard(filePath, ctx) {
259
- if (!isMainRepoPath(filePath, ctx)) return false;
260
- const targetGitRoot = nearestGitRoot(filePath);
261
- if (targetGitRoot && path2.resolve(targetGitRoot) !== path2.resolve(ctx.repoRoot)) {
262
- return false;
263
- }
264
- return true;
262
+ return isMainRepoPath(filePath, ctx);
265
263
  }
266
264
  function shellPathCandidates(text) {
267
265
  const paths = [];
@@ -418,7 +416,7 @@ NEVER write to the main repo from a worktree. The main repo belongs to the coord
418
416
  const currentProject = process.cwd().split("/").pop();
419
417
  if (targetDir && currentProject && targetDir !== currentProject && !command.includes("worktree")) {
420
418
  const expandHome = (p) => p.startsWith("~/") ? path2.join(os.homedir(), p.slice(2)) : p;
421
- const gitRootOf = (dir) => {
419
+ const gitRootOf2 = (dir) => {
422
420
  try {
423
421
  return execFileSync("git", ["-C", dir, "rev-parse", "--show-toplevel"], {
424
422
  encoding: "utf8",
@@ -429,12 +427,12 @@ NEVER write to the main repo from a worktree. The main repo belongs to the coord
429
427
  return null;
430
428
  }
431
429
  };
432
- const currentRepoRoot = gitRootOf(process.cwd());
430
+ const currentRepoRoot = gitRootOf2(process.cwd());
433
431
  const absTarget = path2.resolve(process.cwd(), expandHome(cdTarget));
434
432
  let probe = absTarget;
435
433
  let targetRepoRoot = null;
436
434
  for (let depth = 0; depth < 12 && probe && probe !== "/"; depth++) {
437
- const root = gitRootOf(probe);
435
+ const root = gitRootOf2(probe);
438
436
  if (root) {
439
437
  targetRepoRoot = root;
440
438
  break;
@@ -551,7 +549,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
551
549
  process.exit(0);
552
550
  }
553
551
  }
554
- const { getGatedAgent } = await import("../cto-delegation-gate-PLSICYEK.js");
552
+ const { getGatedAgent } = await import("../cto-delegation-gate-KNH5TRUS.js");
555
553
  const gatedAgent = getGatedAgent();
556
554
  if (agent.agentId === gatedAgent) {
557
555
  const isStructured = /^(Write|Edit|MultiEdit|NotebookEdit)$/.test(data.tool_name);
@@ -563,7 +561,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
563
561
  evaluateDelegationGate,
564
562
  evaluateBashWriteGate,
565
563
  GATE_BLOCK_MESSAGE
566
- } = await import("../cto-delegation-gate-PLSICYEK.js");
564
+ } = await import("../cto-delegation-gate-KNH5TRUS.js");
567
565
  let decision = null;
568
566
  let surfaceLabel = data.tool_name;
569
567
  let targetLabel = "";
@@ -572,7 +570,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
572
570
  const filePath = data.tool_name === "NotebookEdit" ? ti.notebook_path ?? "" : ti.file_path ?? "";
573
571
  const content = data.tool_name === "MultiEdit" ? (ti.edits ?? []).map((e) => e.new_string ?? "").filter(Boolean) : data.tool_name === "NotebookEdit" ? ti.new_source : ti.content ?? ti.new_string;
574
572
  if (filePath) {
575
- const { fastDbInit } = await import("../fast-db-init-O7AECNTB.js");
573
+ const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
576
574
  await fastDbInit({ caller: "hook" });
577
575
  targetLabel = filePath;
578
576
  decision = await evaluateDelegationGate({
@@ -585,10 +583,10 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
585
583
  }
586
584
  } else {
587
585
  const command = data.tool_input?.command ?? "";
588
- const { detectBashSourceWrites } = await import("../cto-delegation-gate-PLSICYEK.js");
586
+ const { detectBashSourceWrites } = await import("../cto-delegation-gate-KNH5TRUS.js");
589
587
  const targets = detectBashSourceWrites(command, process.cwd());
590
588
  if (targets.length > 0) {
591
- const { fastDbInit } = await import("../fast-db-init-O7AECNTB.js");
589
+ const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
592
590
  await fastDbInit({ caller: "hook" });
593
591
  surfaceLabel = "Bash-write";
594
592
  targetLabel = targets.join(", ");
@@ -665,7 +663,7 @@ Reason: ${decision.reason ?? "engineer-delegatable edit"}`;
665
663
  const isUpdateTaskDone = (data.tool_name === "mcp__exe-os__update_task" || data.tool_name === "mcp__exe-mem__update_task") && toolInput.status === "done" && CTO_ROLES.includes(agent.agentRole);
666
664
  if (isUpdateTaskDone) {
667
665
  try {
668
- const { fastDbInit } = await import("../fast-db-init-O7AECNTB.js");
666
+ const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
669
667
  const client = await fastDbInit({ caller: "hook" });
670
668
  const taskId = String(toolInput.task_id ?? "");
671
669
  const ptScope = sessionScopeFilter();
@@ -723,7 +721,7 @@ Reason: ${decision.reason ?? "engineer-delegatable edit"}`;
723
721
  }
724
722
  if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
725
723
  try {
726
- const { fastDbInit } = await import("../fast-db-init-O7AECNTB.js");
724
+ const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
727
725
  const client = await fastDbInit({ caller: "hook" });
728
726
  const dlScope = sessionScopeFilter();
729
727
  const result = await client.execute({
@@ -20,16 +20,16 @@ import {
20
20
  import {
21
21
  hybridSearch,
22
22
  lightweightSearch
23
- } from "../chunk-PO64LWTM.js";
23
+ } from "../chunk-6NRY3CFI.js";
24
24
  import "../chunk-AB4PAQYK.js";
25
- import "../chunk-TQSAPNFW.js";
26
- import "../chunk-FFUEDKYK.js";
25
+ import "../chunk-P3JQDXY6.js";
26
+ import "../chunk-H4JKOLXU.js";
27
27
  import "../chunk-CHCA3ZM2.js";
28
28
  import "../chunk-OTVEIJUQ.js";
29
- import "../chunk-VBHLE3TR.js";
29
+ import "../chunk-GPZQZTJB.js";
30
30
  import {
31
31
  getActiveAgent
32
- } from "../chunk-HWK5GKE6.js";
32
+ } from "../chunk-TF5E6O5Q.js";
33
33
  import "../chunk-5MOYSU5A.js";
34
34
  import "../chunk-4QCFFW2H.js";
35
35
  import "../chunk-76CJBM36.js";
@@ -37,22 +37,22 @@ import {
37
37
  decideQueuedNudgeDrain,
38
38
  getSessionState,
39
39
  isExeSession
40
- } from "../chunk-EWWCMMES.js";
41
- import "../chunk-XOVHWGPV.js";
42
- import "../chunk-7667KFAG.js";
43
- import "../chunk-JLYQD2XF.js";
40
+ } from "../chunk-IFSKL5QW.js";
41
+ import "../chunk-RBRGSOK5.js";
42
+ import "../chunk-OBWIVRD6.js";
43
+ import "../chunk-ZFR4A5W4.js";
44
44
  import "../chunk-E23LNUWJ.js";
45
45
  import "../chunk-4JERP7NT.js";
46
46
  import "../chunk-EIKATSE4.js";
47
- import "../chunk-FDOURKUO.js";
47
+ import "../chunk-HYZE3MNS.js";
48
48
  import "../chunk-AD2VCHSS.js";
49
49
  import "../chunk-WOYADZF5.js";
50
50
  import "../chunk-SKGMF2SO.js";
51
- import "../chunk-MT6YGWJ6.js";
51
+ import "../chunk-AMC2OPYP.js";
52
52
  import "../chunk-AJIXH5JF.js";
53
- import "../chunk-3EMAJBBN.js";
53
+ import "../chunk-A3YHWWE6.js";
54
54
  import "../chunk-AM7S2TY6.js";
55
- import "../chunk-Y7637VDZ.js";
55
+ import "../chunk-RFRUDXOI.js";
56
56
  import "../chunk-OSKWCKUC.js";
57
57
  import "../chunk-KI5PFRG6.js";
58
58
  import {
@@ -72,17 +72,18 @@ import "../chunk-GJV3WDWM.js";
72
72
  import "../chunk-MP2AFCGL.js";
73
73
  import {
74
74
  canCoordinate
75
- } from "../chunk-ZY2ABBVR.js";
75
+ } from "../chunk-QNKR7WEL.js";
76
76
  import "../chunk-2I23RPSI.js";
77
- import "../chunk-FM4ZI5ZP.js";
77
+ import "../chunk-FE6WBI2M.js";
78
78
  import "../chunk-OMXJMOBD.js";
79
79
  import "../chunk-7HLWBYH7.js";
80
80
  import "../chunk-BBMTVAE3.js";
81
+ import "../chunk-YMUZWC33.js";
81
82
  import "../chunk-FXU7JOXK.js";
82
83
  import "../chunk-QWVXN224.js";
83
84
  import "../chunk-WNBZJSQT.js";
84
- import "../chunk-ZK53K7OR.js";
85
- import "../chunk-SJLZ53ZR.js";
85
+ import "../chunk-MMOONM6D.js";
86
+ import "../chunk-XF2D4CDA.js";
86
87
  import {
87
88
  EXE_AI_DIR,
88
89
  loadConfig,
@@ -239,7 +240,7 @@ function withBudget(promise, fallback) {
239
240
  var _hookDbPromise = null;
240
241
  function hookDb() {
241
242
  _hookDbPromise ??= (async () => {
242
- const { fastDbInit } = await import("../fast-db-init-O7AECNTB.js");
243
+ const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
243
244
  return fastDbInit({ daemonOnly: true });
244
245
  })();
245
246
  return _hookDbPromise;
@@ -470,7 +471,7 @@ process.stdin.on("end", async () => {
470
471
  let queuedForMe = [];
471
472
  if (currentSession && !suppressTaskLifecycleNudges) {
472
473
  try {
473
- const { readQueue } = await import("../intercom-queue-SJL4G3J5.js");
474
+ const { readQueue } = await import("../intercom-queue-RLWMSZHB.js");
474
475
  queuedForMe = readQueue().filter((q) => q.targetSession === currentSession);
475
476
  } catch {
476
477
  }
@@ -497,7 +498,7 @@ process.stdin.on("end", async () => {
497
498
  if (prefetchClient) {
498
499
  prefetch = await withHookTimeout(
499
500
  (async () => {
500
- const { prefetchPromptHookCounts } = await import("../hook-prefetch-KNHZNI4L.js");
501
+ const { prefetchPromptHookCounts } = await import("../hook-prefetch-ITWBE3XZ.js");
501
502
  return prefetchPromptHookCounts(prefetchClient, {
502
503
  agentIds: agentTaskIds(agent.agentId),
503
504
  agentId: agent.agentId,
@@ -521,7 +522,7 @@ process.stdin.on("end", async () => {
521
522
  }
522
523
  let drainedNudgeContext = "";
523
524
  if (currentSession && queuedForMe.length > 0 && !suppressTaskLifecycleNudges) try {
524
- const { drainForSession } = await import("../intercom-queue-SJL4G3J5.js");
525
+ const { drainForSession } = await import("../intercom-queue-RLWMSZHB.js");
525
526
  const { baseAgentName } = await import("../lib/employees.js");
526
527
  const MARKER_STALE_MS = 4 * 60 * 60 * 1e3;
527
528
  const hasInProgressTask = (agentName) => {
@@ -610,7 +611,7 @@ ${fresh.map(
610
611
  mkdirSync(CACHE_DIR, { recursive: true });
611
612
  atomicWriteSync(behaviorLastCheckPath, (/* @__PURE__ */ new Date()).toISOString());
612
613
  } else if (count % BEHAVIOR_REINJECT_INTERVAL === 0) {
613
- const { listBehaviors } = await import("../behaviors-G7TR6LBM.js");
614
+ const { listBehaviors } = await import("../behaviors-3DQM4PSA.js");
614
615
  const behaviors = await withBudget(listBehaviors(agent.agentId), []);
615
616
  const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
616
617
  if (active.length > 0) {
@@ -650,7 +651,7 @@ ${parts.join("\n\n")}`;
650
651
  if (!lastCheckedAt) {
651
652
  lastCheckedAt = "1970-01-01T00:00:00.000Z";
652
653
  }
653
- const { listBehaviorsSince } = await import("../behaviors-G7TR6LBM.js");
654
+ const { listBehaviorsSince } = await import("../behaviors-3DQM4PSA.js");
654
655
  const newBehaviors = await withBudget(listBehaviorsSince(agent.agentId, lastCheckedAt), []);
655
656
  if (newBehaviors.length > 0) {
656
657
  const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
@@ -718,7 +719,7 @@ ${body}`;
718
719
  let reviewContext = "";
719
720
  if (canCoordinate(agent.agentId, agent.agentRole)) {
720
721
  try {
721
- const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-ZY3S65OV.js");
722
+ const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-TY7OZBAT.js");
722
723
  const sessionKey = getSessionKey();
723
724
  const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
724
725
  let sessionScope;
@@ -775,7 +776,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
775
776
  let coreMemoryContext = "";
776
777
  if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
777
778
  try {
778
- const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-FOW4BCPN.js");
779
+ const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-PCKGCUZU.js");
779
780
  const entries = await withBudget(getCoreMemory(agent.agentId), []);
780
781
  const block = formatCoreMemoryBlock(entries);
781
782
  if (block) coreMemoryContext = block;
@@ -872,7 +873,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
872
873
  } catch {
873
874
  }
874
875
  try {
875
- const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-AL7AWHBX.js");
876
+ const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-HAFDPTLV.js");
876
877
  recordOE({
877
878
  eventType: "signal.consumed",
878
879
  source: "prompt-submit.hook",
@@ -1051,7 +1052,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
1051
1052
  return;
1052
1053
  }
1053
1054
  try {
1054
- const { recordSessionEvent } = await import("../session-events-HVYX42HD.js");
1055
+ const { recordSessionEvent } = await import("../session-events-R3WL7J7D.js");
1055
1056
  const client = await hookDb();
1056
1057
  await recordSessionEvent(client, {
1057
1058
  agentId: agent.agentId,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeContinuityCheckpoint
3
- } from "../chunk-4P7NUL4D.js";
3
+ } from "../chunk-GI3O5MGF.js";
4
4
  import {
5
5
  clearCacheState
6
6
  } from "../chunk-6A7P74QV.js";
@@ -9,25 +9,25 @@ import "../chunk-SH45SJQW.js";
9
9
  import {
10
10
  clearActiveAgent,
11
11
  getActiveAgent
12
- } from "../chunk-HWK5GKE6.js";
12
+ } from "../chunk-TF5E6O5Q.js";
13
13
  import {
14
14
  strictSessionScopeFilter
15
- } from "../chunk-EWWCMMES.js";
16
- import "../chunk-XOVHWGPV.js";
17
- import "../chunk-7667KFAG.js";
18
- import "../chunk-JLYQD2XF.js";
15
+ } from "../chunk-IFSKL5QW.js";
16
+ import "../chunk-RBRGSOK5.js";
17
+ import "../chunk-OBWIVRD6.js";
18
+ import "../chunk-ZFR4A5W4.js";
19
19
  import "../chunk-E23LNUWJ.js";
20
20
  import "../chunk-4JERP7NT.js";
21
21
  import "../chunk-EIKATSE4.js";
22
- import "../chunk-FDOURKUO.js";
22
+ import "../chunk-HYZE3MNS.js";
23
23
  import "../chunk-AD2VCHSS.js";
24
24
  import "../chunk-WOYADZF5.js";
25
25
  import "../chunk-SKGMF2SO.js";
26
- import "../chunk-MT6YGWJ6.js";
26
+ import "../chunk-AMC2OPYP.js";
27
27
  import "../chunk-AJIXH5JF.js";
28
- import "../chunk-3EMAJBBN.js";
28
+ import "../chunk-A3YHWWE6.js";
29
29
  import "../chunk-AM7S2TY6.js";
30
- import "../chunk-Y7637VDZ.js";
30
+ import "../chunk-RFRUDXOI.js";
31
31
  import "../chunk-OSKWCKUC.js";
32
32
  import "../chunk-KI5PFRG6.js";
33
33
  import {
@@ -45,16 +45,17 @@ import "../chunk-GJV3WDWM.js";
45
45
  import "../chunk-MP2AFCGL.js";
46
46
  import {
47
47
  canCoordinate
48
- } from "../chunk-ZY2ABBVR.js";
48
+ } from "../chunk-QNKR7WEL.js";
49
49
  import "../chunk-2I23RPSI.js";
50
- import "../chunk-FM4ZI5ZP.js";
50
+ import "../chunk-FE6WBI2M.js";
51
51
  import "../chunk-OMXJMOBD.js";
52
52
  import "../chunk-7HLWBYH7.js";
53
53
  import "../chunk-BBMTVAE3.js";
54
+ import "../chunk-YMUZWC33.js";
54
55
  import "../chunk-FXU7JOXK.js";
55
56
  import "../chunk-WNBZJSQT.js";
56
- import "../chunk-ZK53K7OR.js";
57
- import "../chunk-SJLZ53ZR.js";
57
+ import "../chunk-MMOONM6D.js";
58
+ import "../chunk-XF2D4CDA.js";
58
59
  import "../chunk-BCZF3AGJ.js";
59
60
  import "../chunk-HSGBZSCA.js";
60
61
  import "../chunk-MLKGABMK.js";
@@ -267,7 +268,7 @@ process.stdin.on("end", async () => {
267
268
  process.stderr.write(`[session-end] EXIT: ${agent.agentId} session=${Math.round((transcript.sessionDurationMs ?? 0) / 1e3)}s hook=${Math.round(hookUptimeMs / 1e3)}s \u2014 reason=${exitReason} daemon=${daemonAlive ? "alive" : "DEAD"}
268
269
  `);
269
270
  try {
270
- const { recordOrchestrationEvent } = await import("../orchestration-events-AL7AWHBX.js");
271
+ const { recordOrchestrationEvent } = await import("../orchestration-events-HAFDPTLV.js");
271
272
  await recordOrchestrationEvent({
272
273
  eventType: "session.exit",
273
274
  source: "hooks.session-end",
@@ -292,7 +293,7 @@ process.stdin.on("end", async () => {
292
293
  }
293
294
  if (agent.agentId) {
294
295
  try {
295
- const { fastDbInit } = await import("../fast-db-init-O7AECNTB.js");
296
+ const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
296
297
  const client = await fastDbInit({ caller: "hook" });
297
298
  const seScope = strictSessionScopeFilter();
298
299
  const orphanResult = await client.execute({
@@ -385,12 +386,12 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
385
386
  }
386
387
  }
387
388
  try {
388
- const { clearSessionFileReads } = await import("../git-staleness-GEJ7U4MW.js");
389
+ const { clearSessionFileReads } = await import("../git-staleness-YPHGWE3B.js");
389
390
  await clearSessionFileReads(data.session_id);
390
391
  } catch {
391
392
  }
392
393
  try {
393
- const { DreamingEngine } = await import("../dreaming-YIESEME7.js");
394
+ const { DreamingEngine } = await import("../dreaming-EFRFVQDZ.js");
394
395
  const engine = new DreamingEngine();
395
396
  const dreamResult = await engine.runDreamCycle(agent.agentId);
396
397
  let promoted = 0;
@@ -466,7 +467,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
466
467
  parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
467
468
  }
468
469
  try {
469
- const { writeNotification } = await import("../notifications-JIARMDZ5.js");
470
+ const { writeNotification } = await import("../notifications-DU4WVNET.js");
470
471
  await writeNotification({
471
472
  agentId: agent.agentId,
472
473
  agentRole: agent.agentRole,
@@ -55,9 +55,9 @@ process.stdin.on("data", (chunk) => {
55
55
  process.stdin.on("end", async () => {
56
56
  let failed = false;
57
57
  try {
58
- const { getActiveAgent } = await import("../active-agent-US4KO4LV.js");
58
+ const { getActiveAgent } = await import("../active-agent-QVLZKWR2.js");
59
59
  const { getProjectName } = await import("../project-name-EWG5KAZP.js");
60
- const { getCurrentSessionScope } = await import("../task-scope-5OSP2MUP.js");
60
+ const { getCurrentSessionScope } = await import("../task-scope-TW3BWFVJ.js");
61
61
  const { canCoordinate } = await import("../lib/employees.js");
62
62
  const data = JSON.parse(input);
63
63
  const projectName = getProjectName(data.cwd || void 0);
@@ -92,7 +92,7 @@ process.stdin.on("end", async () => {
92
92
  if (daemonDegraded) {
93
93
  process.stderr.write("[session-start] WARNING: daemon/DB unavailable after retries \u2014 booting in degraded mode (no memory context)\n");
94
94
  try {
95
- const { recordOrchestrationEvent } = await import("../orchestration-events-AL7AWHBX.js");
95
+ const { recordOrchestrationEvent } = await import("../orchestration-events-HAFDPTLV.js");
96
96
  void recordOrchestrationEvent({
97
97
  eventType: "mcp.unreachable",
98
98
  source: "session-start.hook",
@@ -116,12 +116,12 @@ process.stdin.on("end", async () => {
116
116
  }
117
117
  if (!daemonDegraded) {
118
118
  try {
119
- const { fastDbInit } = await import("../fast-db-init-O7AECNTB.js");
119
+ const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
120
120
  await fastDbInit({ caller: "hook" });
121
121
  } catch {
122
122
  try {
123
123
  await new Promise((resolve) => setTimeout(resolve, 750));
124
- const { fastDbInit } = await import("../fast-db-init-O7AECNTB.js");
124
+ const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
125
125
  await fastDbInit({ caller: "hook" });
126
126
  } catch {
127
127
  daemonDegraded = true;
@@ -166,7 +166,7 @@ process.stdin.on("end", async () => {
166
166
  });
167
167
  }
168
168
  try {
169
- const { recordOrchestrationEvent } = await import("../orchestration-events-AL7AWHBX.js");
169
+ const { recordOrchestrationEvent } = await import("../orchestration-events-HAFDPTLV.js");
170
170
  void recordOrchestrationEvent({
171
171
  eventType: "session.born",
172
172
  source: "session-start.hook",
@@ -183,7 +183,7 @@ process.stdin.on("end", async () => {
183
183
  if (daemonDegraded) {
184
184
  let degradedContext = "## \u26A0\uFE0F Degraded Boot\nThe daemon/MCP was unreachable **at boot time** (checked at " + (/* @__PURE__ */ new Date()).toISOString() + "). This is a point-in-time snapshot \u2014 the MCP server typically finishes connecting a few seconds later, so by the time you read this it is probably already live.\n\n**Before telling the user MCP is down or asking them to run `/mcp`, ALWAYS verify the current state by calling `mcp_ping` (or any exe-os MCP tool) first.** Only advise reconnecting if that call actually fails. This session simply started without memory context; if MCP tools fail later, retry once before reporting an issue.\n";
185
185
  try {
186
- const { getActiveAgent: getAgent } = await import("../active-agent-US4KO4LV.js");
186
+ const { getActiveAgent: getAgent } = await import("../active-agent-QVLZKWR2.js");
187
187
  const ag = getAgent();
188
188
  if (ag.agentId !== "default") {
189
189
  degradedContext = `## Your Identity
@@ -207,7 +207,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
207
207
  query = `last actions on ${projectName}`;
208
208
  header = "## Resuming Session\nHere's where you left off:";
209
209
  try {
210
- const { buildCatchupBrief } = await import("../catchup-brief-AMBXLHXU.js");
210
+ const { buildCatchupBrief } = await import("../catchup-brief-QCKB32YC.js");
211
211
  const brief = await buildCatchupBrief(
212
212
  agentId,
213
213
  projectName,
@@ -223,14 +223,14 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
223
223
  header = "## Memory Brief\nRecent memories from this project:";
224
224
  }
225
225
  try {
226
- const { detectStaleFiles, formatStaleFileWarning } = await import("../git-staleness-GEJ7U4MW.js");
226
+ const { detectStaleFiles, formatStaleFileWarning } = await import("../git-staleness-YPHGWE3B.js");
227
227
  const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
228
228
  const warning = formatStaleFileWarning(staleFiles);
229
229
  if (warning) extraContext += `${extraContext.length > 0 ? "\n\n" : ""}${warning}`;
230
230
  } catch {
231
231
  }
232
- const { queryTaskRows } = await import("../tasks-crud-PTN36B5F.js");
233
- const { buildReviewSections } = await import("../boot-review-sections-56BRURLM.js");
232
+ const { queryTaskRows } = await import("../tasks-crud-VXCTTSB5.js");
233
+ const { buildReviewSections } = await import("../boot-review-sections-UTOPAQQJ.js");
234
234
  const [memories, taskResult, reviewSections] = await Promise.all([
235
235
  lightweightSearch(query, agentId, { projectName, limit: 5 }),
236
236
  sessionScope ? queryTaskRows({
@@ -327,7 +327,7 @@ ${wmContent}
327
327
  `;
328
328
  if (agentId !== "default" && !daemonDegraded) {
329
329
  try {
330
- const { readLatestCheckpoint } = await import("../tasks-crud-PTN36B5F.js");
330
+ const { readLatestCheckpoint } = await import("../tasks-crud-VXCTTSB5.js");
331
331
  const checkpoint = await readLatestCheckpoint(agentId, {
332
332
  sessionScope: sessionScope ?? null,
333
333
  callerSession: process.env.EXE_SESSION_NAME ?? null,
@@ -414,7 +414,7 @@ ${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user
414
414
  }
415
415
  if (source !== "resume" && agentId !== "default") {
416
416
  try {
417
- const { getPendingProspective, markSurfaced } = await import("../prospective-memory-UDQWFP5Y.js");
417
+ const { getPendingProspective, markSurfaced } = await import("../prospective-memory-V7LFCPU4.js");
418
418
  const due = await getPendingProspective(agentId, { projectName, limit: 5 });
419
419
  if (due.length > 0) {
420
420
  const now = Date.now();
@@ -1,25 +1,25 @@
1
1
  import "../chunk-SH45SJQW.js";
2
2
  import {
3
3
  getActiveAgent
4
- } from "../chunk-HWK5GKE6.js";
4
+ } from "../chunk-TF5E6O5Q.js";
5
5
  import {
6
6
  sessionScopeFilter
7
- } from "../chunk-EWWCMMES.js";
8
- import "../chunk-XOVHWGPV.js";
9
- import "../chunk-7667KFAG.js";
10
- import "../chunk-JLYQD2XF.js";
7
+ } from "../chunk-IFSKL5QW.js";
8
+ import "../chunk-RBRGSOK5.js";
9
+ import "../chunk-OBWIVRD6.js";
10
+ import "../chunk-ZFR4A5W4.js";
11
11
  import "../chunk-E23LNUWJ.js";
12
12
  import "../chunk-4JERP7NT.js";
13
13
  import "../chunk-EIKATSE4.js";
14
- import "../chunk-FDOURKUO.js";
14
+ import "../chunk-HYZE3MNS.js";
15
15
  import "../chunk-AD2VCHSS.js";
16
16
  import "../chunk-WOYADZF5.js";
17
17
  import "../chunk-SKGMF2SO.js";
18
- import "../chunk-MT6YGWJ6.js";
18
+ import "../chunk-AMC2OPYP.js";
19
19
  import "../chunk-AJIXH5JF.js";
20
- import "../chunk-3EMAJBBN.js";
20
+ import "../chunk-A3YHWWE6.js";
21
21
  import "../chunk-AM7S2TY6.js";
22
- import "../chunk-Y7637VDZ.js";
22
+ import "../chunk-RFRUDXOI.js";
23
23
  import "../chunk-OSKWCKUC.js";
24
24
  import "../chunk-KI5PFRG6.js";
25
25
  import "../chunk-CVYC6DUW.js";
@@ -35,16 +35,17 @@ import "../chunk-GJV3WDWM.js";
35
35
  import "../chunk-MP2AFCGL.js";
36
36
  import {
37
37
  canCoordinate
38
- } from "../chunk-ZY2ABBVR.js";
38
+ } from "../chunk-QNKR7WEL.js";
39
39
  import "../chunk-2I23RPSI.js";
40
- import "../chunk-FM4ZI5ZP.js";
40
+ import "../chunk-FE6WBI2M.js";
41
41
  import "../chunk-OMXJMOBD.js";
42
42
  import "../chunk-7HLWBYH7.js";
43
43
  import "../chunk-BBMTVAE3.js";
44
+ import "../chunk-YMUZWC33.js";
44
45
  import "../chunk-FXU7JOXK.js";
45
46
  import "../chunk-WNBZJSQT.js";
46
- import "../chunk-ZK53K7OR.js";
47
- import "../chunk-SJLZ53ZR.js";
47
+ import "../chunk-MMOONM6D.js";
48
+ import "../chunk-XF2D4CDA.js";
48
49
  import {
49
50
  EXE_AI_DIR,
50
51
  loadConfigSync
@@ -157,8 +158,8 @@ process.stdin.on("end", async () => {
157
158
  process.exit(0);
158
159
  }
159
160
  try {
160
- const { fastDbInit } = await import("../fast-db-init-O7AECNTB.js");
161
- const { recordSessionEvent } = await import("../session-events-HVYX42HD.js");
161
+ const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
162
+ const { recordSessionEvent } = await import("../session-events-R3WL7J7D.js");
162
163
  const client = await fastDbInit({ daemonOnly: true });
163
164
  await recordSessionEvent(client, {
164
165
  agentId: agent.agentId,
@@ -176,7 +177,7 @@ process.stdin.on("end", async () => {
176
177
  if (existsSync(taskCachePath)) {
177
178
  const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
178
179
  if (cached.taskId) {
179
- const { createTokenBudgetMiddleware } = await import("../token-budget-B3OKOYDA.js");
180
+ const { createTokenBudgetMiddleware } = await import("../token-budget-SK32GKFZ.js");
180
181
  const middleware = createTokenBudgetMiddleware(cached.taskId);
181
182
  const estimatedOutputTokens = Math.ceil(message.length / 4);
182
183
  const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
@@ -194,7 +195,7 @@ process.stdin.on("end", async () => {
194
195
  }
195
196
  const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
196
197
  if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
197
- import("../fast-db-init-O7AECNTB.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
198
+ import("../fast-db-init-GJGO22F5.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
198
199
  const stScope = sessionScopeFilter();
199
200
  const tasks = await client.execute({
200
201
  sql: `SELECT title, status, task_file FROM tasks
@@ -336,7 +337,7 @@ ${msgs.slice(-15).join("\n")}`;
336
337
  } catch {
337
338
  }
338
339
  if (!canCoordinate(agent.agentId, agent.agentRole)) {
339
- import("../fast-db-init-O7AECNTB.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
340
+ import("../fast-db-init-GJGO22F5.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
340
341
  const orScope = sessionScopeFilter();
341
342
  return client.execute({
342
343
  sql: `SELECT title, status FROM tasks