@askexenow/exe-os 0.9.201 → 0.9.203

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 (272) hide show
  1. package/dist/{active-agent-MTJPQ57G.js → active-agent-EFWC3HGP.js} +4 -4
  2. package/dist/{active-agent-3MLX4YOU.js → active-agent-NXX5Z3LX.js} +4 -4
  3. package/dist/{agentic-ontology-HPFKQFA2.js → agentic-ontology-JS6DPKQB.js} +1 -1
  4. package/dist/{backfill-metadata-5INYRXJX.js → backfill-metadata-PTACRLYK.js} +5 -5
  5. package/dist/{background-jobs-XYVQT4HN.js → background-jobs-Q4S27FCN.js} +2 -2
  6. package/dist/{behaviors-TIOFWD4T.js → behaviors-WDIKLZA3.js} +4 -4
  7. package/dist/bin/age-ontology-load.js +2 -2
  8. package/dist/bin/agentic-ontology-backfill.js +7 -7
  9. package/dist/bin/agentic-reflection-backfill.js +8 -8
  10. package/dist/bin/agentic-semantic-label.js +7 -7
  11. package/dist/bin/backfill-conversations.js +7 -7
  12. package/dist/bin/backfill-responses.js +7 -7
  13. package/dist/bin/backfill-vectors.js +9 -9
  14. package/dist/bin/bulk-sync-postgres.js +8 -8
  15. package/dist/bin/cc-doctor.js +3 -3
  16. package/dist/bin/cleanup-stale-review-tasks.js +12 -12
  17. package/dist/bin/cli.js +18 -18
  18. package/dist/bin/exe-agent-config.js +4 -4
  19. package/dist/bin/exe-agent.js +5 -5
  20. package/dist/bin/exe-assign.js +9 -9
  21. package/dist/bin/exe-boot.js +19 -19
  22. package/dist/bin/exe-call.js +5 -5
  23. package/dist/bin/exe-cloud.js +7 -7
  24. package/dist/bin/exe-dispatch.js +12 -12
  25. package/dist/bin/exe-doctor.js +1 -1
  26. package/dist/bin/exe-export-behaviors.js +8 -8
  27. package/dist/bin/exe-forget.js +7 -7
  28. package/dist/bin/exe-gateway.js +7 -7
  29. package/dist/bin/exe-healthcheck.js +3 -3
  30. package/dist/bin/exe-heartbeat.js +12 -12
  31. package/dist/bin/exe-kill.js +15 -15
  32. package/dist/bin/exe-launch-agent.js +12 -12
  33. package/dist/bin/exe-new-employee.js +8 -8
  34. package/dist/bin/exe-pending-messages.js +13 -13
  35. package/dist/bin/exe-pending-notifications.js +12 -12
  36. package/dist/bin/exe-pending-reviews.js +12 -12
  37. package/dist/bin/exe-rename.js +5 -5
  38. package/dist/bin/exe-review.js +14 -14
  39. package/dist/bin/exe-search.js +6 -6
  40. package/dist/bin/exe-session-cleanup.js +16 -16
  41. package/dist/bin/exe-settings.js +7 -7
  42. package/dist/bin/exe-start-codex.js +12 -12
  43. package/dist/bin/exe-start-opencode.js +9 -9
  44. package/dist/bin/exe-status.js +13 -13
  45. package/dist/bin/exe-support.js +3 -3
  46. package/dist/bin/exe-team.js +4 -4
  47. package/dist/bin/git-sweep.js +12 -12
  48. package/dist/bin/graph-backfill.js +6 -6
  49. package/dist/bin/graph-export.js +6 -6
  50. package/dist/bin/import-history.js +6 -6
  51. package/dist/bin/install.js +7 -7
  52. package/dist/bin/intercom-check.js +5 -7
  53. package/dist/bin/orchestration-metrics.js +24 -11
  54. package/dist/bin/postgres-agentic-reflection-backfill.js +4 -4
  55. package/dist/bin/postgres-agentic-semantic-backfill.js +3 -3
  56. package/dist/bin/scan-tasks.js +12 -12
  57. package/dist/bin/setup.js +2 -2
  58. package/dist/bin/shard-migrate.js +6 -6
  59. package/dist/bin/stack-update.js +3 -3
  60. package/dist/bin/vps-health-gate.js +1 -1
  61. package/dist/{branding-YUEILP4B.js → branding-23ZRRPCE.js} +1 -1
  62. package/dist/{capacity-monitor-4VPGKKQH.js → capacity-monitor-TGSIL7W4.js} +13 -13
  63. package/dist/{catchup-brief-K2A2NCMS.js → catchup-brief-ABL4NSAE.js} +14 -14
  64. package/dist/{chunk-OOTPPSOX.js → chunk-25K6KNZ5.js} +7 -7
  65. package/dist/{chunk-XZCSY5ID.js → chunk-3GFR2TX6.js} +1 -1
  66. package/dist/{chunk-B5N4DMXM.js → chunk-3K2BCD5Y.js} +4 -4
  67. package/dist/{chunk-UCDMLKE5.js → chunk-3WMXVABU.js} +1 -1
  68. package/dist/{chunk-CTOQYEKJ.js → chunk-54GARVEX.js} +1 -1
  69. package/dist/{chunk-AVHQPIJS.js → chunk-5EW4GKGZ.js} +1 -1
  70. package/dist/{chunk-AIOJFN5D.js → chunk-5POKNLFV.js} +2 -2
  71. package/dist/{chunk-TXWQPL2U.js → chunk-5YDHBZCO.js} +1 -1
  72. package/dist/{chunk-MBFVJSSH.js → chunk-6FJ2TJYB.js} +2 -2
  73. package/dist/{chunk-A4NG62X6.js → chunk-6H6Q4MJC.js} +1 -1
  74. package/dist/{chunk-H2CFBUGF.js → chunk-6RX2XEET.js} +1 -1
  75. package/dist/{chunk-MVMMULOJ.js → chunk-72DJ42IE.js} +1 -1
  76. package/dist/{chunk-YLBBPZO3.js → chunk-7SY5JOLR.js} +4 -4
  77. package/dist/{chunk-66LJM3KL.js → chunk-AH6MV6CC.js} +3 -3
  78. package/dist/{chunk-HF7Y4UZO.js → chunk-AUPGTF7I.js} +2 -2
  79. package/dist/{chunk-MYVI6V7L.js → chunk-BGOQFJ2H.js} +3 -3
  80. package/dist/{chunk-XASY3SCH.js → chunk-BQ4U2SYC.js} +1 -1
  81. package/dist/{chunk-B4K4EJH7.js → chunk-BV3L2S54.js} +1 -1
  82. package/dist/{chunk-NC3NOZHH.js → chunk-BYHFW5CT.js} +1 -1
  83. package/dist/{chunk-7BNZUXFJ.js → chunk-CAHJ72CQ.js} +1 -1
  84. package/dist/{chunk-LT26OOIB.js → chunk-CGM6BIK3.js} +1 -1
  85. package/dist/{chunk-DXFNVS44.js → chunk-D4B6SVEC.js} +1 -1
  86. package/dist/{chunk-EDFYSZ4U.js → chunk-DAFEIA2M.js} +72 -72
  87. package/dist/{chunk-3V7D5SCM.js → chunk-DEGQESR7.js} +3 -3
  88. package/dist/{chunk-T4EQ5SKI.js → chunk-E66FQ7IN.js} +1 -1
  89. package/dist/{chunk-Y35YW6EL.js → chunk-EF4PA3TY.js} +2 -2
  90. package/dist/{chunk-C2YR6BZY.js → chunk-ETHQJXO3.js} +1 -1
  91. package/dist/{chunk-I5IWVRZY.js → chunk-FFECDA24.js} +2 -2
  92. package/dist/{chunk-D42R5MZU.js → chunk-FLLCEGSL.js} +2 -2
  93. package/dist/{chunk-TRQJQYG5.js → chunk-FMI7SCZJ.js} +1 -1
  94. package/dist/{chunk-CSTJQDOE.js → chunk-G4QFC45N.js} +1 -1
  95. package/dist/{chunk-PLNYW6PA.js → chunk-GCMXBQ7Y.js} +1 -1
  96. package/dist/{chunk-T5YT64SZ.js → chunk-GD4VXNXO.js} +1 -1
  97. package/dist/{chunk-POS4PUM7.js → chunk-GPK2WJXA.js} +1 -1
  98. package/dist/{chunk-SXTHSDJQ.js → chunk-GPNUPCTZ.js} +6 -6
  99. package/dist/{chunk-LPPCJZVI.js → chunk-GQYIMXUW.js} +2 -2
  100. package/dist/{chunk-GKKMANTG.js → chunk-GZLGB72W.js} +2 -2
  101. package/dist/{chunk-RVSGXGWG.js → chunk-HHECGHFW.js} +1 -1
  102. package/dist/{chunk-MLQFGVFJ.js → chunk-HXNTQP4B.js} +1 -1
  103. package/dist/{chunk-WI6BQ4T3.js → chunk-HXYL4QX6.js} +2 -2
  104. package/dist/{chunk-VBKEAVEU.js → chunk-IGRQE5Y5.js} +2 -2
  105. package/dist/{chunk-MSUJ3UBS.js → chunk-IXFE5R6T.js} +5 -5
  106. package/dist/{chunk-QR7CQJVJ.js → chunk-JUTI2DXY.js} +1 -1
  107. package/dist/{chunk-YCEJCFU5.js → chunk-K3O4MWMS.js} +26 -2
  108. package/dist/{chunk-GSV24ZVZ.js → chunk-K62M5FIM.js} +4 -4
  109. package/dist/{chunk-KGSFR6V3.js → chunk-KCWIOR55.js} +1 -1
  110. package/dist/{chunk-BCTU72UR.js → chunk-LIHR5DQF.js} +1 -1
  111. package/dist/{chunk-CMFLJNP6.js → chunk-LMSRF47U.js} +1 -1
  112. package/dist/{chunk-ZE36U2GK.js → chunk-MJNI3S5H.js} +2 -2
  113. package/dist/{chunk-6NLHVC6U.js → chunk-O5RJH6GU.js} +1 -1
  114. package/dist/{chunk-CBAW3YFB.js → chunk-OUHHUKPC.js} +1 -1
  115. package/dist/{chunk-IAPOGI6M.js → chunk-P4JQGT4Q.js} +2 -2
  116. package/dist/{chunk-RC35BWOO.js → chunk-PVVA5SY5.js} +12 -2
  117. package/dist/{chunk-MXLB2M2O.js → chunk-QLKRYO7O.js} +21 -11
  118. package/dist/{chunk-J73N5EJ6.js → chunk-RAV23DU2.js} +2 -2
  119. package/dist/{chunk-J2TSYNVM.js → chunk-RJCZY4BY.js} +86 -21
  120. package/dist/{chunk-CCYOB56Q.js → chunk-SN6Z3CBF.js} +3 -3
  121. package/dist/{chunk-P7QVZZBS.js → chunk-SPMVTZ7Z.js} +3 -3
  122. package/dist/{chunk-DFQY6G4L.js → chunk-SZDSQ3AW.js} +6 -6
  123. package/dist/{chunk-4WQIB264.js → chunk-USQF2GGF.js} +8 -7
  124. package/dist/{chunk-7VU6CZCK.js → chunk-UXD5KOND.js} +3 -3
  125. package/dist/{chunk-Q3FTA4GX.js → chunk-UY6RQK5F.js} +2 -2
  126. package/dist/{chunk-J6CSL7AY.js → chunk-WGMHQVGX.js} +35 -8
  127. package/dist/{chunk-K7XLE7UI.js → chunk-WILNSHND.js} +82 -7
  128. package/dist/{chunk-46Q3LLXC.js → chunk-WSZS2KVV.js} +2 -2
  129. package/dist/{chunk-4GXRETYL.js → chunk-WXW3XGWX.js} +4 -0
  130. package/dist/{chunk-GUCKE3GK.js → chunk-X4QO5DXP.js} +1 -1
  131. package/dist/{chunk-DH65L4XI.js → chunk-XHTOAJYD.js} +1 -1
  132. package/dist/{chunk-M6S7HVFP.js → chunk-XWM23YJO.js} +5 -5
  133. package/dist/{chunk-AJN3W6XB.js → chunk-XXHDXAZV.js} +1 -1
  134. package/dist/{chunk-7LC5HGA3.js → chunk-Y2W54BET.js} +9 -9
  135. package/dist/{chunk-7ZIRLFIF.js → chunk-ZGQH3V2F.js} +39 -6
  136. package/dist/{chunk-F7ITFLVR.js → chunk-ZGUSJ6BG.js} +1 -1
  137. package/dist/{chunk-EJM2YUF4.js → chunk-ZQMOF6E7.js} +1 -1
  138. package/dist/{co-occurrence-J5WOOCWD.js → co-occurrence-A2SJL5AH.js} +3 -3
  139. package/dist/{code-context-index-JPQDRTTX.js → code-context-index-DOKQN2Q5.js} +4 -4
  140. package/dist/{conversation-wiki-populator-YMNIDI4F.js → conversation-wiki-populator-LW3EF62R.js} +1 -1
  141. package/dist/{crdt-sync-NGSP5WQE.js → crdt-sync-SGAW6DJQ.js} +1 -1
  142. package/dist/{crm-webhook-ZQUDBLHY.js → crm-webhook-FBENY6FW.js} +2 -2
  143. package/dist/{cto-delegation-gate-A77BCIAB.js → cto-delegation-gate-A53RLTJZ.js} +11 -11
  144. package/dist/{daemon-auth-H4EJ7KAQ.js → daemon-auth-PQFXH3J2.js} +2 -2
  145. package/dist/{daemon-orchestration-AVB5PPC5.js → daemon-orchestration-3U3XXFG7.js} +14 -14
  146. package/dist/{db-backup-7UOCAPHO.js → db-backup-6IUVHX7Y.js} +2 -2
  147. package/dist/{exe-drift-BUVZV7DK.js → exe-drift-3OUOHWAI.js} +4 -4
  148. package/dist/{exe-export-QJEIYCKB.js → exe-export-AFXTJ63F.js} +6 -6
  149. package/dist/{exe-import-SGSX3QML.js → exe-import-QRZBTBBG.js} +6 -6
  150. package/dist/{exe-key-Y7DAEMSK.js → exe-key-BXN7WPOX.js} +3 -3
  151. package/dist/{exe-org-FEX66BTG.js → exe-org-G7IUSBCY.js} +2 -2
  152. package/dist/{fast-db-init-UTA7SHEE.js → fast-db-init-YVJD4JT2.js} +1 -1
  153. package/dist/gateway/index.js +11 -11
  154. package/dist/{git-staleness-WTDE4H4D.js → git-staleness-DBFCOX65.js} +3 -3
  155. package/dist/{git-task-sweep-SHTK3F7G.js → git-task-sweep-O5CH3MKA.js} +12 -12
  156. package/dist/{global-procedures-K3B3GTHA.js → global-procedures-SL2TTCED.js} +4 -4
  157. package/dist/{graph-auto-extract-ZCVUFK6M.js → graph-auto-extract-JGNJ3BB7.js} +3 -3
  158. package/dist/{hook-integrity-P3Z3HKMR.js → hook-integrity-MCY73ZZL.js} +1 -1
  159. package/dist/hooks/bug-report-worker.js +13 -13
  160. package/dist/hooks/codex-stop-task-finalizer.js +13 -13
  161. package/dist/hooks/commit-complete.js +14 -14
  162. package/dist/hooks/error-recall.js +7 -7
  163. package/dist/hooks/exe-heartbeat-hook.js +4 -4
  164. package/dist/hooks/ingest-worker.js +5 -5
  165. package/dist/hooks/ingest.js +12 -12
  166. package/dist/hooks/instructions-loaded.js +5 -5
  167. package/dist/hooks/manifest.json +20 -20
  168. package/dist/hooks/notification.js +5 -5
  169. package/dist/hooks/post-compact.js +13 -13
  170. package/dist/hooks/post-tool-combined.js +5 -5
  171. package/dist/hooks/pre-compact.js +18 -18
  172. package/dist/hooks/pre-tool-use.js +17 -17
  173. package/dist/hooks/prompt-submit.js +23 -23
  174. package/dist/hooks/session-end.js +35 -21
  175. package/dist/hooks/session-start.js +9 -9
  176. package/dist/hooks/stop.js +20 -20
  177. package/dist/hooks/subagent-stop.js +13 -13
  178. package/dist/hooks/summary-worker.js +21 -21
  179. package/dist/index.js +20 -20
  180. package/dist/{installer-D47RNEJB.js → installer-5FI6CX62.js} +6 -6
  181. package/dist/{installer-WVQDUS7O.js → installer-HNOVAUW6.js} +6 -6
  182. package/dist/{installer-YBYJZLUT.js → installer-TAPAEWRV.js} +6 -6
  183. package/dist/{key-backup-status-KQUGSNVJ.js → key-backup-status-JTPVS5K2.js} +1 -1
  184. package/dist/lib/agent-config.js +2 -2
  185. package/dist/lib/cloud-sync.js +6 -6
  186. package/dist/lib/config.js +3 -1
  187. package/dist/lib/consolidation.js +6 -6
  188. package/dist/lib/database.js +3 -3
  189. package/dist/lib/db-daemon-client.js +3 -3
  190. package/dist/lib/db.js +3 -3
  191. package/dist/lib/device-registry.js +1 -1
  192. package/dist/lib/embedder.js +4 -4
  193. package/dist/lib/employee-templates.js +5 -5
  194. package/dist/lib/employees.js +3 -3
  195. package/dist/lib/exe-daemon-client.js +3 -3
  196. package/dist/lib/exe-daemon.js +55 -39
  197. package/dist/lib/hybrid-search.js +6 -6
  198. package/dist/lib/identity.js +3 -3
  199. package/dist/lib/license.js +2 -2
  200. package/dist/lib/messaging.js +12 -12
  201. package/dist/lib/reminders.js +4 -4
  202. package/dist/lib/schedules.js +6 -6
  203. package/dist/lib/skill-learning.js +5 -5
  204. package/dist/lib/store.js +5 -5
  205. package/dist/lib/task-router.js +4 -4
  206. package/dist/lib/tasks.js +12 -12
  207. package/dist/lib/tmux-routing.js +11 -11
  208. package/dist/lib/tmux-transport.js +1 -1
  209. package/dist/lib/token-spend.js +4 -4
  210. package/dist/lib/transport.js +2 -2
  211. package/dist/{license-gate-R5IDWABY.js → license-gate-GJYKYTFK.js} +3 -3
  212. package/dist/mcp/register-tools.js +60 -60
  213. package/dist/mcp/server.js +62 -62
  214. package/dist/mcp/tools/complete-reminder.js +5 -5
  215. package/dist/mcp/tools/create-reminder.js +5 -5
  216. package/dist/mcp/tools/create-task.js +14 -14
  217. package/dist/mcp/tools/deactivate-behavior.js +6 -6
  218. package/dist/mcp/tools/list-reminders.js +5 -5
  219. package/dist/mcp/tools/list-tasks.js +14 -14
  220. package/dist/mcp/tools/send-message.js +14 -14
  221. package/dist/mcp/tools/update-task.js +13 -13
  222. package/dist/{mcp-http-config-DWN2POKM.js → mcp-http-config-6UAI2FAV.js} +4 -4
  223. package/dist/{memory-cards-VIKEUPGO.js → memory-cards-PVPUQ7MX.js} +3 -3
  224. package/dist/{memory-graph-extractor-OP2BSF43.js → memory-graph-extractor-RP7ZXDTE.js} +4 -4
  225. package/dist/{memory-poisoning-defense-EKMAAXMH.js → memory-poisoning-defense-DDBUHHGB.js} +3 -3
  226. package/dist/{memory-queue-2SHTE6GU.js → memory-queue-WM4BXLSR.js} +2 -2
  227. package/dist/{memory-queue-client-XCBQIT3T.js → memory-queue-client-BKEAVZHZ.js} +5 -5
  228. package/dist/{memory-reflection-AAST2U2M.js → memory-reflection-HLR26FXG.js} +3 -3
  229. package/dist/{notifications-SWILJ3AV.js → notifications-GHNYYITD.js} +11 -11
  230. package/dist/orchestration-events-2SVPXMK2.js +20 -0
  231. package/dist/{orchestration-phase-D3PNCSUY.js → orchestration-phase-VFGBKPDJ.js} +2 -2
  232. package/dist/{orchestrator-L6OFTLK5.js → orchestrator-3BDZ6OUC.js} +13 -13
  233. package/dist/{plan-limits-J2BJEBN6.js → plan-limits-QBNFIU45.js} +5 -5
  234. package/dist/{projection-worker-QPE2JIKS.js → projection-worker-B7HHFYEG.js} +3 -3
  235. package/dist/{push-notifications-VJZFCUFZ.js → push-notifications-ONUX3NPQ.js} +2 -2
  236. package/dist/{reranker-342RISOC.js → reranker-B3BOGR3A.js} +2 -2
  237. package/dist/{review-polling-TKQXLTIA.js → review-polling-RUXU45AK.js} +12 -12
  238. package/dist/runtime/index.js +14 -14
  239. package/dist/{session-events-OPOXDEPH.js → session-events-ICZPUGJN.js} +12 -12
  240. package/dist/{session-kill-telemetry-GBNUQABY.js → session-kill-telemetry-OGFLFTYX.js} +4 -4
  241. package/dist/{session-scope-J2ODEL37.js → session-scope-UJI35BLD.js} +11 -11
  242. package/dist/{setup-wizard-FQBIZQWP.js → setup-wizard-M6ZZ2VNM.js} +2 -2
  243. package/dist/{shard-manager-GWMFNY2I.js → shard-manager-4MU4SQ2F.js} +2 -2
  244. package/dist/{skill-refinement-GYK7FZCH.js → skill-refinement-WZL35CMY.js} +3 -3
  245. package/dist/{stack-update-Q2WQOJTS.js → stack-update-JASS27LK.js} +3 -3
  246. package/dist/{task-enforcement-IPXSAJA5.js → task-enforcement-AYHKGR45.js} +11 -11
  247. package/dist/{task-scope-JREB33TH.js → task-scope-EYAOY6YX.js} +11 -11
  248. package/dist/{tasks-crud-V3IQ5GLV.js → tasks-crud-K3UGPCPT.js} +11 -11
  249. package/dist/{tasks-review-PEEMO6RY.js → tasks-review-J6LTVVO5.js} +11 -11
  250. package/dist/{token-budget-ES3IEZPJ.js → token-budget-XU2QZEWX.js} +3 -3
  251. package/dist/{tool-capability-index-6ICPKH5O.js → tool-capability-index-YRJJEBIK.js} +1 -1
  252. package/dist/{tool-telemetry-JVQX5FJV.js → tool-telemetry-OE57ERK7.js} +1 -1
  253. package/dist/tui/App.js +24 -24
  254. package/dist/{tui-data-NJUK2RNW.js → tui-data-32OEC3DH.js} +11 -11
  255. package/dist/{worker-gate-4KF5ZRWT.js → worker-gate-UIGQCEUE.js} +2 -2
  256. package/dist/{workflow-engine-DHMTGUAO.js → workflow-engine-IY7KO7DU.js} +2 -2
  257. package/package.json +1 -1
  258. package/release-notes.json +77 -77
  259. /package/dist/{chunk-XJTHRKML.js → chunk-IENYOYZ6.js} +0 -0
  260. /package/dist/{chunk-ZOX6DPP3.js → chunk-L63IOJ5N.js} +0 -0
  261. /package/dist/{chunk-5QVJ5TBF.js → chunk-LJA6RQ3L.js} +0 -0
  262. /package/dist/{chunk-TFV7MDCX.js → chunk-Q3MRTJLA.js} +0 -0
  263. /package/dist/{chunk-MYESASW3.js → chunk-QQN7MHQG.js} +0 -0
  264. /package/dist/{chunk-HGU4YCR3.js → chunk-RH5NYRQH.js} +0 -0
  265. /package/dist/{chunk-HIECEYMN.js → chunk-X2BTDYHZ.js} +0 -0
  266. /package/dist/{core-memory-B7VPSYUP.js → core-memory-VZ4YJVMA.js} +0 -0
  267. /package/dist/{entity-boost-QXR3LCYV.js → entity-boost-TM7ETI64.js} +0 -0
  268. /package/dist/{message-queue-client-CUCAQME6.js → message-queue-client-TFMDQXJ7.js} +0 -0
  269. /package/dist/{oauth-server-4A37UP5W.js → oauth-server-ZD2RNARD.js} +0 -0
  270. /package/dist/{webhook-pipe-VSLEA26V.js → webhook-pipe-TSOX5K7U.js} +0 -0
  271. /package/dist/{wiki-acl-UOSBRX3O.js → wiki-acl-NUUPHYWC.js} +0 -0
  272. /package/dist/{wiki-client-S6JKY7GG.js → wiki-client-2JLYCEWY.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clean,
3
3
  stableId
4
- } from "./chunk-TFV7MDCX.js";
4
+ } from "./chunk-Q3MRTJLA.js";
5
5
 
6
6
  // src/lib/reflection-checkpoints.ts
7
7
  function parsePayload(payload) {
@@ -589,7 +589,7 @@ function auditHookOwnership() {
589
589
  }
590
590
  async function auditShards() {
591
591
  try {
592
- const { auditShardHealth } = await import("./shard-manager-GWMFNY2I.js");
592
+ const { auditShardHealth } = await import("./shard-manager-4MU4SQ2F.js");
593
593
  const report = await auditShardHealth();
594
594
  return {
595
595
  total: report.total,
@@ -605,7 +605,7 @@ async function auditShards() {
605
605
  async function auditKeyHealth() {
606
606
  try {
607
607
  const { getMasterKey } = await import("./lib/keychain.js");
608
- const { getKeyBackupStatus } = await import("./key-backup-status-KQUGSNVJ.js");
608
+ const { getKeyBackupStatus } = await import("./key-backup-status-JTPVS5K2.js");
609
609
  const key = await getMasterKey();
610
610
  const backup = getKeyBackupStatus();
611
611
  return {
@@ -849,7 +849,7 @@ function formatReport(report, flags) {
849
849
  return lines.join("\n");
850
850
  }
851
851
  async function fixNullVectors() {
852
- const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-4KF5ZRWT.js");
852
+ const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-UIGQCEUE.js");
853
853
  if (!tryAcquireWorkerSlot()) {
854
854
  process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
855
855
  await new Promise((r) => setTimeout(r, 5e3));
@@ -933,7 +933,7 @@ async function fixBloated(client, bloated, dryRun) {
933
933
  return chunksCreated;
934
934
  }
935
935
  async function fixShards(dryRun) {
936
- const { auditShardHealth } = await import("./shard-manager-GWMFNY2I.js");
936
+ const { auditShardHealth } = await import("./shard-manager-4MU4SQ2F.js");
937
937
  const report = await auditShardHealth({ repair: true, dryRun });
938
938
  return {
939
939
  total: report.total,
@@ -970,7 +970,7 @@ function splitAtSentences(text, maxChunkSize) {
970
970
  }
971
971
  async function main(argv = process.argv.slice(2)) {
972
972
  const flags = parseFlags(argv);
973
- const { fastDbInit } = await import("./fast-db-init-UTA7SHEE.js");
973
+ const { fastDbInit } = await import("./fast-db-init-YVJD4JT2.js");
974
974
  const client = await fastDbInit();
975
975
  const report = await runAudit(client, flags);
976
976
  console.log(formatReport(report, flags));
@@ -981,7 +981,7 @@ ${mode} Applying repairs...
981
981
  `);
982
982
  if (!flags.dryRun) {
983
983
  try {
984
- const { createBackup } = await import("./db-backup-7UOCAPHO.js");
984
+ const { createBackup } = await import("./db-backup-6IUVHX7Y.js");
985
985
  const backupPath = createBackup("pre-fix");
986
986
  if (backupPath) {
987
987
  console.log(` Backup created: ${backupPath.split("/").pop()}`);
@@ -7,10 +7,10 @@ import {
7
7
  import {
8
8
  connectEmbedDaemon,
9
9
  embedBatchViaClient
10
- } from "./chunk-Y35YW6EL.js";
10
+ } from "./chunk-EF4PA3TY.js";
11
11
  import {
12
12
  EXE_AI_DIR
13
- } from "./chunk-4GXRETYL.js";
13
+ } from "./chunk-WXW3XGWX.js";
14
14
 
15
15
  // src/lib/code-context-index.ts
16
16
  import crypto from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  listBehaviors
3
- } from "./chunk-BCTU72UR.js";
3
+ } from "./chunk-LIHR5DQF.js";
4
4
  import {
5
5
  loadConfigSync
6
- } from "./chunk-4GXRETYL.js";
6
+ } from "./chunk-WXW3XGWX.js";
7
7
 
8
8
  // src/lib/behaviors-export.ts
9
9
  import os from "os";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  EXE_AI_DIR
3
- } from "./chunk-4GXRETYL.js";
3
+ } from "./chunk-WXW3XGWX.js";
4
4
 
5
5
  // src/lib/db-backup.ts
6
6
  import { copyFileSync, existsSync, mkdirSync, readdirSync, unlinkSync, statSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadEmployees
3
- } from "./chunk-YCEJCFU5.js";
3
+ } from "./chunk-K3O4MWMS.js";
4
4
 
5
5
  // src/lib/agent-symlinks.ts
6
6
  import os from "os";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  vectorToBlob
3
- } from "./chunk-MXLB2M2O.js";
3
+ } from "./chunk-QLKRYO7O.js";
4
4
  import {
5
5
  extractKeywords,
6
6
  keywordsToString
7
7
  } from "./chunk-CHCA3ZM2.js";
8
8
  import {
9
9
  isCoordinatorName
10
- } from "./chunk-YCEJCFU5.js";
10
+ } from "./chunk-K3O4MWMS.js";
11
11
 
12
12
  // src/lib/consolidation.ts
13
13
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-YCEJCFU5.js";
3
+ } from "./chunk-K3O4MWMS.js";
4
4
 
5
5
  // src/lib/memory-graph-extractor.ts
6
6
  function entityId(type, name) {
@@ -179,7 +179,7 @@ async function upsertMemoryGraph(result, memoryId) {
179
179
  });
180
180
  }
181
181
  try {
182
- const { createCoOccurrenceEdges } = await import("./co-occurrence-J5WOOCWD.js");
182
+ const { createCoOccurrenceEdges } = await import("./co-occurrence-A2SJL5AH.js");
183
183
  await createCoOccurrenceEdges(result.entities, memoryId);
184
184
  } catch {
185
185
  }
@@ -2,7 +2,7 @@ import {
2
2
  listWorkflowDefinitions,
3
3
  runWorkflow,
4
4
  startWorkflow
5
- } from "./chunk-AJN3W6XB.js";
5
+ } from "./chunk-XXHDXAZV.js";
6
6
  import {
7
7
  initCRMBridge
8
8
  } from "./chunk-ONKIWA3R.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-MP2AFCGL.js";
12
12
  import {
13
13
  getClient
14
- } from "./chunk-YCEJCFU5.js";
14
+ } from "./chunk-K3O4MWMS.js";
15
15
 
16
16
  // src/gateway/router.ts
17
17
  function matchesPlatform(msgPlatform, matchPlatform) {
@@ -494,12 +494,12 @@ async function sinkCRM(msg, agentResponse, agentName) {
494
494
  }
495
495
  async function sinkWiki(msg, agentResponse) {
496
496
  try {
497
- const { createWikiClient } = await import("./wiki-client-S6JKY7GG.js");
497
+ const { createWikiClient } = await import("./wiki-client-2JLYCEWY.js");
498
498
  const client = await createWikiClient();
499
499
  if (!client) return false;
500
500
  const content = msg.text ?? "";
501
501
  if (content.length < 50) return false;
502
- const { chatInWorkspace } = await import("./wiki-client-S6JKY7GG.js");
502
+ const { chatInWorkspace } = await import("./wiki-client-2JLYCEWY.js");
503
503
  const ingestText = [
504
504
  `[${msg.platform}] Message from ${msg.senderName ?? msg.senderId} (${msg.timestamp}):`,
505
505
  content,
@@ -527,7 +527,7 @@ async function sinkEntityExtraction(msg, agentResponse, agentName) {
527
527
  const client = getClient();
528
528
  const memoryId = `conv:${msg.messageId}`;
529
529
  await storeExtraction(client, extraction, memoryId, msg.timestamp);
530
- import("./conversation-wiki-populator-YMNIDI4F.js").then(
530
+ import("./conversation-wiki-populator-LW3EF62R.js").then(
531
531
  ({ populateWikiFromExtraction }) => populateWikiFromExtraction(extraction, msg, agentResponse, agentName)
532
532
  ).catch((err) => {
533
533
  process.stderr.write(
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listReminders
3
- } from "./chunk-DXFNVS44.js";
3
+ } from "./chunk-D4B6SVEC.js";
4
4
 
5
5
  // src/mcp/tools/list-reminders.ts
6
6
  import { z } from "zod";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  listBackups
3
- } from "./chunk-RVSGXGWG.js";
3
+ } from "./chunk-HHECGHFW.js";
4
4
  import {
5
5
  EMBEDDING_DIM
6
6
  } from "./chunk-FXU7JOXK.js";
7
7
  import {
8
8
  EXE_AI_DIR,
9
9
  loadConfigSync
10
- } from "./chunk-4GXRETYL.js";
10
+ } from "./chunk-WXW3XGWX.js";
11
11
  import {
12
12
  atomicWriteJson
13
13
  } from "./chunk-LYH5HE24.js";
@@ -2772,6 +2772,30 @@ async function ensureSchema() {
2772
2772
  } catch (e) {
2773
2773
  logCatchDebug("migration", e);
2774
2774
  }
2775
+ for (const col of [
2776
+ "ALTER TABLE tasks ADD COLUMN claimed_by TEXT",
2777
+ "ALTER TABLE tasks ADD COLUMN claimed_at TEXT",
2778
+ "ALTER TABLE tasks ADD COLUMN last_heartbeat_at TEXT",
2779
+ "ALTER TABLE tasks ADD COLUMN lease_expires_at TEXT",
2780
+ "ALTER TABLE tasks ADD COLUMN claim_count INTEGER NOT NULL DEFAULT 0"
2781
+ ]) {
2782
+ try {
2783
+ await client.execute({ sql: col, args: [] });
2784
+ } catch (e) {
2785
+ logCatchDebug("migration", e);
2786
+ }
2787
+ }
2788
+ for (const idx of [
2789
+ "CREATE INDEX IF NOT EXISTS idx_tasks_heartbeat_stale ON tasks(status, last_heartbeat_at) WHERE status = 'in_progress'",
2790
+ "CREATE INDEX IF NOT EXISTS idx_tasks_lease_expiry ON tasks(status, lease_expires_at) WHERE status = 'in_progress'",
2791
+ "CREATE INDEX IF NOT EXISTS idx_tasks_claimed_by ON tasks(claimed_by) WHERE claimed_by IS NOT NULL"
2792
+ ]) {
2793
+ try {
2794
+ await client.execute(idx);
2795
+ } catch (e) {
2796
+ logCatchDebug("migration", e);
2797
+ }
2798
+ }
2775
2799
  await client.executeMultiple(`
2776
2800
  CREATE TABLE IF NOT EXISTS core_memory (
2777
2801
  agent_id TEXT NOT NULL,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MultiAgentOrchestrator
3
- } from "./chunk-66LJM3KL.js";
3
+ } from "./chunk-AH6MV6CC.js";
4
4
  import {
5
5
  createQuietRenderer,
6
6
  createTerminalRenderer,
@@ -206,7 +206,7 @@ function createExeOSHooks(config) {
206
206
  );
207
207
  }
208
208
  try {
209
- const { listBehaviors } = await import("./behaviors-TIOFWD4T.js");
209
+ const { listBehaviors } = await import("./behaviors-WDIKLZA3.js");
210
210
  const behaviors = await listBehaviors(config.agentId, config.projectName, 12);
211
211
  if (behaviors.length > 0) {
212
212
  process.stderr.write(
@@ -327,7 +327,7 @@ function createExeOSHooks(config) {
327
327
  async onSubagentStop(_reason) {
328
328
  try {
329
329
  const { getClient } = await import("./lib/database.js");
330
- const { sessionScopeFilter } = await import("./task-scope-JREB33TH.js");
330
+ const { sessionScopeFilter } = await import("./task-scope-EYAOY6YX.js");
331
331
  const client = getClient();
332
332
  const ehScope = sessionScopeFilter();
333
333
  const tasks = await client.execute({
@@ -419,7 +419,7 @@ function createExeOSHooks(config) {
419
419
  try {
420
420
  const { writeMemory, flushBatch } = await import("./lib/store.js");
421
421
  const { getClient } = await import("./lib/database.js");
422
- const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-JREB33TH.js");
422
+ const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-EYAOY6YX.js");
423
423
  const client = getClient();
424
424
  const cpScope = cpScopeFilter();
425
425
  const tasks = await client.execute({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeMemoryViaDaemon
3
- } from "./chunk-D42R5MZU.js";
3
+ } from "./chunk-FLLCEGSL.js";
4
4
 
5
5
  // src/lib/auto-checkpoint.ts
6
6
  var FILE_RE = /(?:^|\s)([\w./-]+\.(?:ts|tsx|js|jsx|json|md|yml|yaml|sql|go|py|css|scss|html|sh))(?:\b|$)/g;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-YCEJCFU5.js";
3
+ } from "./chunk-K3O4MWMS.js";
4
4
 
5
5
  // src/lib/behaviors.ts
6
6
  import crypto from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  EXE_AI_DIR
3
- } from "./chunk-4GXRETYL.js";
3
+ } from "./chunk-WXW3XGWX.js";
4
4
  import {
5
5
  enforcePrivateFileSync,
6
6
  ensurePrivateDirSync
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GNHN5HRQ.js";
4
4
  import {
5
5
  buildClaudeHttpMcpEntry
6
- } from "./chunk-UCDMLKE5.js";
6
+ } from "./chunk-3WMXVABU.js";
7
7
  import {
8
8
  EXE_HOOKS,
9
9
  isLegacyHomeDirHookCommand,
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-L3TB7CC3.js";
12
12
  import {
13
13
  ensureAllAgentSymlinks
14
- } from "./chunk-MLQFGVFJ.js";
14
+ } from "./chunk-HXNTQP4B.js";
15
15
  import {
16
16
  MCP_LEGACY_KEY,
17
17
  MCP_PRIMARY_KEY
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createReminder
3
- } from "./chunk-DXFNVS44.js";
3
+ } from "./chunk-D4B6SVEC.js";
4
4
 
5
5
  // src/mcp/tools/create-reminder.ts
6
6
  import { z } from "zod";
@@ -2,7 +2,7 @@ import {
2
2
  connectEmbedDaemon,
3
3
  disconnectClient,
4
4
  embedViaClient
5
- } from "./chunk-Y35YW6EL.js";
5
+ } from "./chunk-EF4PA3TY.js";
6
6
  import {
7
7
  EMBEDDING_DIM
8
8
  } from "./chunk-FXU7JOXK.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  initStore
3
- } from "./chunk-MXLB2M2O.js";
3
+ } from "./chunk-QLKRYO7O.js";
4
4
  import {
5
5
  getClient,
6
6
  isInitialized
7
- } from "./chunk-YCEJCFU5.js";
7
+ } from "./chunk-K3O4MWMS.js";
8
8
 
9
9
  // src/lib/schedules.ts
10
10
  import crypto from "crypto";
@@ -4,10 +4,13 @@ import {
4
4
  resolveExeSession,
5
5
  sendIntercom,
6
6
  strictSessionScopeFilter
7
- } from "./chunk-J2TSYNVM.js";
7
+ } from "./chunk-RJCZY4BY.js";
8
+ import {
9
+ recordOrchestrationEventBestEffort
10
+ } from "./chunk-ZGQH3V2F.js";
8
11
  import {
9
12
  getClient
10
- } from "./chunk-YCEJCFU5.js";
13
+ } from "./chunk-K3O4MWMS.js";
11
14
 
12
15
  // src/lib/messaging.ts
13
16
  import crypto from "crypto";
@@ -59,6 +62,13 @@ async function sendMessage(input) {
59
62
  now
60
63
  ]
61
64
  });
65
+ recordOrchestrationEventBestEffort({
66
+ eventType: "message.sent",
67
+ source: "messaging.sendMessage",
68
+ agentId: input.fromAgent,
69
+ payload: { targetAgent: input.targetAgent, priority: input.priority ?? "normal", targetDevice },
70
+ sessionScope: sessionScope ?? null
71
+ });
62
72
  try {
63
73
  if (targetDevice !== "local") {
64
74
  await deliverCrossMachineMessage(id, targetDevice);
@@ -6,7 +6,7 @@ import {
6
6
  findScopedDuplicate,
7
7
  governMemoryRecord,
8
8
  schedulePostWriteMemoryHygiene
9
- } from "./chunk-HGU4YCR3.js";
9
+ } from "./chunk-RH5NYRQH.js";
10
10
  import {
11
11
  orgBus
12
12
  } from "./chunk-MP2AFCGL.js";
@@ -15,7 +15,7 @@ import {
15
15
  ensureSchema,
16
16
  getClient,
17
17
  initTurso
18
- } from "./chunk-YCEJCFU5.js";
18
+ } from "./chunk-K3O4MWMS.js";
19
19
  import {
20
20
  EMBEDDING_DIM
21
21
  } from "./chunk-FXU7JOXK.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-6D23UNXU.js";
25
25
  import {
26
26
  loadConfig
27
- } from "./chunk-4GXRETYL.js";
27
+ } from "./chunk-WXW3XGWX.js";
28
28
 
29
29
  // src/lib/store.ts
30
30
  var _debugStore = process.env.EXE_DEBUG === "1";
@@ -65,6 +65,16 @@ function recordShardFailure(project, error) {
65
65
  `[store] Shard circuit OPEN for "${project}" after ${state.failures} consecutive failures. Will retry in ${SHARD_CB_COOLDOWN_MS / 6e4}min. Last error: ${error}
66
66
  `
67
67
  );
68
+ void import("./orchestration-events-2SVPXMK2.js").then(({ recordOrchestrationEventBestEffort }) => {
69
+ recordOrchestrationEventBestEffort({
70
+ eventType: "shard.circuit_open",
71
+ source: "store.recordShardFailure",
72
+ severity: "error",
73
+ projectName: project,
74
+ payload: { failures: state.failures, lastError: error.slice(0, 200) }
75
+ });
76
+ }).catch(() => {
77
+ });
68
78
  }
69
79
  _shardCircuits.set(project, state);
70
80
  }
@@ -139,7 +149,7 @@ async function initStore(options) {
139
149
  if (!options?.lightweight) {
140
150
  try {
141
151
  if (process.env.EXE_DISABLE_SHARDING !== "1") {
142
- const { initShardManager } = await import("./shard-manager-GWMFNY2I.js");
152
+ const { initShardManager } = await import("./shard-manager-4MU4SQ2F.js");
143
153
  initShardManager(hexKey);
144
154
  }
145
155
  } catch (e) {
@@ -152,7 +162,7 @@ async function initStore(options) {
152
162
  );
153
163
  _nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
154
164
  try {
155
- const { loadGlobalProcedures } = await import("./global-procedures-K3B3GTHA.js");
165
+ const { loadGlobalProcedures } = await import("./global-procedures-SL2TTCED.js");
156
166
  await loadGlobalProcedures();
157
167
  } catch (e) {
158
168
  logStoreWarn("catch", e);
@@ -279,7 +289,7 @@ async function writeMemory(record) {
279
289
  keywords: record.keywords ?? keywordsToString(extractKeywords(record.raw_text))
280
290
  };
281
291
  try {
282
- const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-EKMAAXMH.js");
292
+ const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-DDBUHHGB.js");
283
293
  const poisonResult = await checkMemoryPoisoning({
284
294
  memoryId: dbRow.id,
285
295
  vector: Array.isArray(dbRow.vector) ? dbRow.vector : void 0,
@@ -465,19 +475,19 @@ async function flushBatch() {
465
475
  }
466
476
  _nextVersion = baseVersion;
467
477
  try {
468
- const { insertMemoryCardsForBatch } = await import("./memory-cards-VIKEUPGO.js");
478
+ const { insertMemoryCardsForBatch } = await import("./memory-cards-PVPUQ7MX.js");
469
479
  await insertMemoryCardsForBatch(batch);
470
480
  } catch (e) {
471
481
  logStoreWarn("catch", e);
472
482
  }
473
483
  try {
474
- const { insertOntologyForBatch } = await import("./agentic-ontology-HPFKQFA2.js");
484
+ const { insertOntologyForBatch } = await import("./agentic-ontology-JS6DPKQB.js");
475
485
  await insertOntologyForBatch(batch);
476
486
  } catch (e) {
477
487
  logStoreWarn("catch", e);
478
488
  }
479
489
  try {
480
- const { extractGraphForBatch } = await import("./memory-graph-extractor-OP2BSF43.js");
490
+ const { extractGraphForBatch } = await import("./memory-graph-extractor-RP7ZXDTE.js");
481
491
  await extractGraphForBatch(batch);
482
492
  } catch (e) {
483
493
  logStoreWarn("catch", e);
@@ -485,7 +495,7 @@ async function flushBatch() {
485
495
  schedulePostWriteMemoryHygiene(batch.map((row) => row.id));
486
496
  _pendingRecords.splice(0, batch.length);
487
497
  try {
488
- const { isShardingEnabled, getReadyShardClient } = await import("./shard-manager-GWMFNY2I.js");
498
+ const { isShardingEnabled, getReadyShardClient } = await import("./shard-manager-4MU4SQ2F.js");
489
499
  if (process.env.EXE_DISABLE_SHARDING !== "1" && isShardingEnabled()) {
490
500
  const byProject = /* @__PURE__ */ new Map();
491
501
  let skippedUnknown = 0;
@@ -562,7 +572,7 @@ function buildRawVisibilityFilter(options, columnPrefix) {
562
572
  async function searchMemories(queryVector, agentId, options) {
563
573
  let client;
564
574
  try {
565
- const { isShardingEnabled, shardExists, getReadyShardClient } = await import("./shard-manager-GWMFNY2I.js");
575
+ const { isShardingEnabled, shardExists, getReadyShardClient } = await import("./shard-manager-4MU4SQ2F.js");
566
576
  if (isShardingEnabled() && options?.projectName && shardExists(options.projectName)) {
567
577
  client = await getReadyShardClient(options.projectName);
568
578
  } else {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  readMcpHttpEvents,
3
3
  summarizeMcpTransport
4
- } from "./chunk-T5YT64SZ.js";
4
+ } from "./chunk-GD4VXNXO.js";
5
5
  import {
6
6
  EXE_AI_DIR
7
- } from "./chunk-4GXRETYL.js";
7
+ } from "./chunk-WXW3XGWX.js";
8
8
  import {
9
9
  isMainModule
10
10
  } from "./chunk-6Y4B3QF6.js";