@askexenow/exe-os 0.9.229 → 0.9.232

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 (293) hide show
  1. package/dist/{active-agent-GJDG4CAW.js → active-agent-QFQKXG3F.js} +4 -4
  2. package/dist/{active-agent-WOP3ZHLN.js → active-agent-Z5MLNWDB.js} +4 -4
  3. package/dist/{agentic-ontology-ASORFII6.js → agentic-ontology-GBRFTYFS.js} +1 -1
  4. package/dist/{backfill-metadata-JRWUECUS.js → backfill-metadata-KT6XR5QQ.js} +6 -6
  5. package/dist/{background-jobs-VTOMOTNA.js → background-jobs-53U6HSUF.js} +2 -2
  6. package/dist/{behaviors-36T3O2DC.js → behaviors-KZZE732K.js} +4 -4
  7. package/dist/bin/age-ontology-load.js +2 -2
  8. package/dist/bin/agentic-ontology-backfill.js +8 -8
  9. package/dist/bin/agentic-reflection-backfill.js +9 -9
  10. package/dist/bin/agentic-semantic-label.js +8 -8
  11. package/dist/bin/backfill-conversations.js +8 -8
  12. package/dist/bin/backfill-responses.js +8 -8
  13. package/dist/bin/backfill-vectors.js +10 -10
  14. package/dist/bin/bulk-sync-postgres.js +9 -9
  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 +23 -20
  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 +10 -10
  21. package/dist/bin/exe-boot.js +20 -20
  22. package/dist/bin/exe-call.js +5 -5
  23. package/dist/bin/exe-cloud.js +8 -8
  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 +9 -9
  27. package/dist/bin/exe-forget.js +8 -8
  28. package/dist/bin/exe-gateway.js +8 -8
  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 +16 -16
  32. package/dist/bin/exe-launch-agent.js +20 -20
  33. package/dist/bin/exe-new-employee.js +9 -9
  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 +15 -15
  39. package/dist/bin/exe-search.js +7 -7
  40. package/dist/bin/exe-session-cleanup.js +18 -18
  41. package/dist/bin/exe-settings.js +7 -7
  42. package/dist/bin/exe-start-codex.js +13 -13
  43. package/dist/bin/exe-start-opencode.js +10 -10
  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 +7 -7
  49. package/dist/bin/graph-export.js +7 -7
  50. package/dist/bin/import-history.js +9 -9
  51. package/dist/bin/install.js +34 -21
  52. package/dist/bin/intercom-check.js +4 -4
  53. package/dist/bin/mcp-sessions.js +2 -2
  54. package/dist/bin/orchestration-metrics.js +5 -5
  55. package/dist/bin/postgres-agentic-reflection-backfill.js +4 -4
  56. package/dist/bin/postgres-agentic-semantic-backfill.js +3 -3
  57. package/dist/bin/scan-tasks.js +12 -12
  58. package/dist/bin/setup.js +3 -3
  59. package/dist/bin/shard-migrate.js +7 -7
  60. package/dist/bin/stack-update.js +3 -3
  61. package/dist/bin/update.js +3 -12
  62. package/dist/bin/vps-health-gate.js +1 -1
  63. package/dist/{branding-I2TDZFUH.js → branding-CLWTOGDU.js} +1 -1
  64. package/dist/{capacity-monitor-HZPAFQZH.js → capacity-monitor-GGTPFYQG.js} +13 -13
  65. package/dist/{catchup-brief-CDG4KD5Y.js → catchup-brief-5HRROAN7.js} +15 -15
  66. package/dist/{chunk-L24HYX62.js → chunk-2L6GV2VS.js} +2 -2
  67. package/dist/{chunk-CTFKTUYN.js → chunk-2OFB7NQW.js} +1 -1
  68. package/dist/{chunk-X3AVWFWW.js → chunk-3KIULH4N.js} +1 -1
  69. package/dist/{chunk-YCTCKUZE.js → chunk-3LTFCIMU.js} +1 -1
  70. package/dist/{chunk-V3QAAU2U.js → chunk-4E2XAON5.js} +3 -3
  71. package/dist/{chunk-JJNXFW7M.js → chunk-4GAN7BGG.js} +3 -3
  72. package/dist/{chunk-OHPRXEUA.js → chunk-4KYGTWQ2.js} +1 -1
  73. package/dist/{chunk-W6TC6A73.js → chunk-5B5DRXBQ.js} +2 -2
  74. package/dist/{chunk-Q5GUJUDW.js → chunk-63KZ3LV4.js} +1 -1
  75. package/dist/{chunk-JKGAJAM7.js → chunk-6SKF42BO.js} +2 -2
  76. package/dist/{chunk-YADYM2DE.js → chunk-72GRCS2I.js} +1 -1
  77. package/dist/{chunk-TOQZO2XX.js → chunk-7GCZAO22.js} +3 -3
  78. package/dist/{chunk-R2E4TV5V.js → chunk-7ZOFRNMG.js} +1 -1
  79. package/dist/{chunk-3DQ3IPPO.js → chunk-AKYXKCDN.js} +2 -2
  80. package/dist/{chunk-YZKJLGWL.js → chunk-ALSWBA34.js} +1 -1
  81. package/dist/{chunk-OSMMWGJ2.js → chunk-AQSGZ3DL.js} +4 -4
  82. package/dist/{chunk-JSH5MAMM.js → chunk-ASWHNMK5.js} +3 -3
  83. package/dist/{chunk-7BPKHR4O.js → chunk-AWHANCZN.js} +1 -1
  84. package/dist/{chunk-CHT3THVG.js → chunk-BYBACXPV.js} +1 -1
  85. package/dist/{chunk-ADJXHBEU.js → chunk-CYWD6JN3.js} +1 -1
  86. package/dist/{chunk-ZVSG2KKG.js → chunk-D6MAKN4A.js} +1 -1
  87. package/dist/{chunk-3A5BZETG.js → chunk-DHV2DGH2.js} +9 -9
  88. package/dist/{chunk-DLXTKVBO.js → chunk-DUBO7325.js} +2 -2
  89. package/dist/{chunk-GFCQJZTO.js → chunk-EDPL7RUE.js} +1 -1
  90. package/dist/{chunk-GVP5U4WL.js → chunk-EEAY2YNU.js} +1 -1
  91. package/dist/{chunk-RTXGUKY3.js → chunk-ERG2BYEY.js} +4 -4
  92. package/dist/{chunk-IQT43SDJ.js → chunk-ESQCAAOT.js} +2 -2
  93. package/dist/{chunk-FIPU4BDF.js → chunk-FZOXXQ34.js} +1 -1
  94. package/dist/{chunk-2VZ6SY2R.js → chunk-GBCZXOWU.js} +7 -3
  95. package/dist/{chunk-UJOSFVWG.js → chunk-IYHYMEEV.js} +8 -4
  96. package/dist/{chunk-ECQBG62Y.js → chunk-JO5H3IVP.js} +1 -1
  97. package/dist/{chunk-JBKA7F5V.js → chunk-JR6S6JD7.js} +470 -445
  98. package/dist/{chunk-NUVDSQNY.js → chunk-K4KJEH4Y.js} +2 -2
  99. package/dist/{chunk-7NNXBDOO.js → chunk-KDJRFJDL.js} +26 -16
  100. package/dist/{chunk-GKM7RYN3.js → chunk-KHEX4NY3.js} +6 -5
  101. package/dist/{chunk-UPSZ2VKV.js → chunk-KQBSNOJL.js} +2 -2
  102. package/dist/{chunk-IKTMX6N7.js → chunk-KXOX7SDE.js} +2 -2
  103. package/dist/{chunk-UV4ZHXUP.js → chunk-L55G65Q2.js} +1 -1
  104. package/dist/{chunk-HQMEOIUJ.js → chunk-LHY4ZRZV.js} +1 -1
  105. package/dist/{chunk-MJXEOKIW.js → chunk-LOLA7VLN.js} +1 -1
  106. package/dist/{chunk-WA67SFFZ.js → chunk-LZHNW2TW.js} +1 -1
  107. package/dist/{chunk-OE6SYHTC.js → chunk-M44DCO63.js} +1 -1
  108. package/dist/{chunk-UBMGUX6T.js → chunk-M6W3HYEK.js} +16 -16
  109. package/dist/{chunk-3MK3R5E6.js → chunk-MJYZJP7O.js} +4 -4
  110. package/dist/{chunk-Z3TT2SVJ.js → chunk-NV3WPNBM.js} +1 -1
  111. package/dist/{chunk-WZ2RVKRO.js → chunk-O7A2X7MH.js} +3 -3
  112. package/dist/{chunk-MSCB4ACU.js → chunk-OANEAQ7F.js} +26 -4
  113. package/dist/{chunk-OI6MVDSY.js → chunk-OE6XFO2J.js} +1 -1
  114. package/dist/{chunk-ETSREHYC.js → chunk-OVG7IQTZ.js} +2 -2
  115. package/dist/{chunk-D4IVTUNN.js → chunk-OZCZNEYI.js} +1 -1
  116. package/dist/{chunk-FF62UWIJ.js → chunk-P6Z6TTQZ.js} +1 -1
  117. package/dist/{chunk-26PUEPOY.js → chunk-PBFEGM26.js} +3 -3
  118. package/dist/{chunk-HTCBLSIB.js → chunk-PQV5FL3N.js} +18 -18
  119. package/dist/{chunk-QHIGMP2M.js → chunk-QDDPNZBG.js} +1 -1
  120. package/dist/{chunk-7DNX45WB.js → chunk-QHFTK5EF.js} +1 -1
  121. package/dist/{chunk-6MP5NOOR.js → chunk-QU3ULJBC.js} +1 -1
  122. package/dist/{chunk-G4LLKD4Z.js → chunk-QWRRM2BE.js} +1 -1
  123. package/dist/{chunk-F2GUJW5O.js → chunk-RMIJ5G7P.js} +2 -2
  124. package/dist/{chunk-Q7RGLXQO.js → chunk-RRSTE5AR.js} +1 -1
  125. package/dist/{chunk-NFB4N53K.js → chunk-RZQ4QPV5.js} +2 -2
  126. package/dist/{chunk-EHKIJPVX.js → chunk-S5K7OGFP.js} +1 -1
  127. package/dist/{chunk-I2CDSGQW.js → chunk-SBUSQBPP.js} +1 -1
  128. package/dist/{chunk-LHOIY5LQ.js → chunk-SOU6SIMY.js} +1 -1
  129. package/dist/{chunk-UWISNP4U.js → chunk-SU7NR5JA.js} +6 -6
  130. package/dist/{chunk-YKIPAQZG.js → chunk-TCUOOFBS.js} +1 -1
  131. package/dist/{chunk-CQDSTBKT.js → chunk-TPG4TR43.js} +10 -10
  132. package/dist/{chunk-M37HYGAG.js → chunk-UESS3A4X.js} +5 -5
  133. package/dist/{chunk-BZAQ4UG7.js → chunk-V5QHETEF.js} +9 -9
  134. package/dist/{chunk-Q7XA3SQ4.js → chunk-WCLWK2GI.js} +97 -91
  135. package/dist/{chunk-RMPAMMYW.js → chunk-WUHYKL36.js} +1 -1
  136. package/dist/{chunk-TNTFEWU5.js → chunk-XBXKLACW.js} +8 -1
  137. package/dist/{chunk-AZSCW64F.js → chunk-XIQZTFQQ.js} +1 -1
  138. package/dist/{chunk-HO5SBL4B.js → chunk-XM2B73ES.js} +2 -2
  139. package/dist/{chunk-DGOGCPYU.js → chunk-XQ6YKRLZ.js} +2 -2
  140. package/dist/{chunk-36DAY227.js → chunk-XUBNHBQE.js} +2 -2
  141. package/dist/{chunk-MKVFPQH2.js → chunk-XW57NQDY.js} +2 -2
  142. package/dist/{chunk-GGV3PFUW.js → chunk-YHPULREH.js} +1 -1
  143. package/dist/{chunk-HFJNYSTQ.js → chunk-YKR4AM5K.js} +24 -10
  144. package/dist/{chunk-NRFVWJHP.js → chunk-ZDO2PPFL.js} +2 -2
  145. package/dist/{chunk-PW2YH2ZR.js → chunk-ZPTGXNUS.js} +1 -1
  146. package/dist/{co-activation-AJZTQHI3.js → co-activation-LHVIX5DN.js} +3 -3
  147. package/dist/{co-occurrence-FGEJIMMV.js → co-occurrence-34TI6766.js} +3 -3
  148. package/dist/{code-context-index-KHUYATRB.js → code-context-index-TPJZBS6M.js} +4 -4
  149. package/dist/{conversation-wiki-populator-GNFRTS7X.js → conversation-wiki-populator-7ZQUMJTL.js} +1 -1
  150. package/dist/{crdt-sync-K25AKQAD.js → crdt-sync-UDQLFKQ4.js} +1 -1
  151. package/dist/{crm-webhook-3ODT32F7.js → crm-webhook-ALFLLQQZ.js} +2 -2
  152. package/dist/{cto-delegation-gate-4XDMTK6H.js → cto-delegation-gate-PDL77V7U.js} +11 -11
  153. package/dist/{daemon-auth-WFQMMNSD.js → daemon-auth-YJ7XBUR3.js} +2 -2
  154. package/dist/{daemon-orchestration-5I7RLXCP.js → daemon-orchestration-3QCHGFYF.js} +14 -14
  155. package/dist/{db-backup-MSQKO6M5.js → db-backup-3ZQQPS5G.js} +2 -2
  156. package/dist/{dreaming-UL7T5ZXA.js → dreaming-MNQ3UIMT.js} +4 -4
  157. package/dist/{exe-drift-2KHRPBUK.js → exe-drift-GHZD7CP6.js} +4 -4
  158. package/dist/{exe-export-UZN6EFOR.js → exe-export-CEC3JASW.js} +7 -7
  159. package/dist/{exe-import-OSM3U36A.js → exe-import-LJNVTJUJ.js} +7 -7
  160. package/dist/{exe-key-OG35WPBA.js → exe-key-4VYTLMXT.js} +4 -4
  161. package/dist/{exe-org-JRBBON5H.js → exe-org-2FN2JADE.js} +2 -2
  162. package/dist/{exe-snapshot-7TQIN7XI.js → exe-snapshot-MOU536LX.js} +8 -8
  163. package/dist/{fast-db-init-4VXDSFUY.js → fast-db-init-3ZWHPYUQ.js} +1 -1
  164. package/dist/{founder-context-3N6BMG7B.js → founder-context-ZNGQ5NGW.js} +2 -2
  165. package/dist/gateway/index.js +9 -9
  166. package/dist/{gateway-client-V7NH35Q2.js → gateway-client-TBA6RKLN.js} +1 -1
  167. package/dist/{git-staleness-JW57ZGEJ.js → git-staleness-3XLWI33K.js} +3 -3
  168. package/dist/{git-task-sweep-HYAPIM44.js → git-task-sweep-SNJG4T4E.js} +12 -12
  169. package/dist/{global-procedures-NY3W7L5Q.js → global-procedures-OC5C7BWJ.js} +4 -4
  170. package/dist/{graph-auto-extract-5GZ34NXS.js → graph-auto-extract-B4Z66POP.js} +3 -3
  171. package/dist/{hook-integrity-OKSYTGVP.js → hook-integrity-R7EIWBUF.js} +1 -1
  172. package/dist/hooks/bug-report-worker.js +13 -13
  173. package/dist/hooks/codex-stop-task-finalizer.js +13 -13
  174. package/dist/hooks/commit-complete.js +15 -15
  175. package/dist/hooks/error-recall.js +9 -9
  176. package/dist/hooks/exe-heartbeat-hook.js +5 -5
  177. package/dist/hooks/ingest-worker.js +5 -5
  178. package/dist/hooks/ingest.js +12 -12
  179. package/dist/hooks/instructions-loaded.js +6 -6
  180. package/dist/hooks/manifest.json +20 -20
  181. package/dist/hooks/notification.js +6 -6
  182. package/dist/hooks/post-compact.js +14 -14
  183. package/dist/hooks/post-tool-combined.js +6 -6
  184. package/dist/hooks/pre-compact.js +19 -19
  185. package/dist/hooks/pre-tool-use.js +18 -18
  186. package/dist/hooks/prompt-submit.js +26 -26
  187. package/dist/hooks/session-end.js +24 -24
  188. package/dist/hooks/session-start.js +13 -13
  189. package/dist/hooks/stop.js +21 -21
  190. package/dist/hooks/subagent-stop.js +14 -14
  191. package/dist/hooks/summary-worker.js +22 -22
  192. package/dist/index.js +20 -20
  193. package/dist/{installer-GMIVB2JS.js → installer-KAKAR5WI.js} +6 -6
  194. package/dist/{installer-OBYQ6O3C.js → installer-KK2CS2CK.js} +6 -6
  195. package/dist/{installer-UAMA6ZVH.js → installer-RV2QVZTK.js} +6 -6
  196. package/dist/{key-backup-status-TVFMMWTT.js → key-backup-status-DRZO77KR.js} +1 -1
  197. package/dist/lib/agent-config.js +2 -2
  198. package/dist/lib/cloud-sync.js +8 -6
  199. package/dist/lib/config.js +1 -1
  200. package/dist/lib/consolidation.js +7 -7
  201. package/dist/lib/database.js +3 -3
  202. package/dist/lib/db-daemon-client.js +3 -3
  203. package/dist/lib/db.js +3 -3
  204. package/dist/lib/device-registry.js +1 -1
  205. package/dist/lib/embedder.js +4 -4
  206. package/dist/lib/employee-templates.js +5 -5
  207. package/dist/lib/employees.js +3 -3
  208. package/dist/lib/exe-daemon-client.js +3 -3
  209. package/dist/lib/exe-daemon.js +97 -43
  210. package/dist/lib/hybrid-search.js +7 -7
  211. package/dist/lib/identity.js +3 -3
  212. package/dist/lib/keychain.js +1 -1
  213. package/dist/lib/license.js +2 -2
  214. package/dist/lib/messaging.js +12 -12
  215. package/dist/lib/reminders.js +4 -4
  216. package/dist/lib/schedules.js +7 -7
  217. package/dist/lib/session-registry.js +5 -5
  218. package/dist/lib/session-wrappers.js +1 -1
  219. package/dist/lib/skill-learning.js +5 -5
  220. package/dist/lib/store.js +6 -6
  221. package/dist/lib/task-router.js +4 -4
  222. package/dist/lib/tasks.js +12 -12
  223. package/dist/lib/tmux-routing.js +11 -11
  224. package/dist/lib/token-spend.js +4 -4
  225. package/dist/lib/ws-client.js +1 -1
  226. package/dist/{license-gate-7QVCYARF.js → license-gate-67W2K667.js} +3 -3
  227. package/dist/mcp/register-tools.js +64 -64
  228. package/dist/mcp/server.js +86 -65
  229. package/dist/mcp/tools/complete-reminder.js +5 -5
  230. package/dist/mcp/tools/create-reminder.js +5 -5
  231. package/dist/mcp/tools/create-task.js +14 -14
  232. package/dist/mcp/tools/deactivate-behavior.js +6 -6
  233. package/dist/mcp/tools/list-reminders.js +5 -5
  234. package/dist/mcp/tools/list-tasks.js +14 -14
  235. package/dist/mcp/tools/send-message.js +14 -14
  236. package/dist/mcp/tools/update-task.js +13 -13
  237. package/dist/{mcp-http-config-YPF4WGU5.js → mcp-http-config-ZKOV5TEB.js} +4 -4
  238. package/dist/{memory-cards-XHZEOX7Q.js → memory-cards-P4ELKIBQ.js} +3 -3
  239. package/dist/{memory-graph-extractor-J3K7B4GC.js → memory-graph-extractor-LTOZ7QRR.js} +4 -4
  240. package/dist/{memory-poisoning-defense-I76FGNHK.js → memory-poisoning-defense-RNLXBWNU.js} +3 -3
  241. package/dist/{memory-queue-WEVFXPZO.js → memory-queue-PQRE4A62.js} +2 -2
  242. package/dist/{memory-queue-client-5XBHYAQR.js → memory-queue-client-MGXFQ62G.js} +5 -5
  243. package/dist/{memory-reflection-YJGI6IDI.js → memory-reflection-RIGWBNZJ.js} +3 -3
  244. package/dist/{notifications-H4F77BYT.js → notifications-TNCGZ5W2.js} +11 -11
  245. package/dist/{orchestration-events-LXVPJL6S.js → orchestration-events-TMN37OEJ.js} +4 -4
  246. package/dist/{orchestration-phase-HXRKMZXM.js → orchestration-phase-7VYG3L7X.js} +2 -2
  247. package/dist/{orchestrator-HXUZ6LYM.js → orchestrator-3I2ZWCBE.js} +13 -13
  248. package/dist/{pipeline-router-QRJQWMFF.js → pipeline-router-IWKIZSDC.js} +4 -4
  249. package/dist/{plan-limits-NFQVRHS5.js → plan-limits-4EPTLSIU.js} +5 -5
  250. package/dist/{prediction-log-C2BD3AHR.js → prediction-log-2Z6XD4EZ.js} +1 -1
  251. package/dist/{project-boot-JIGOSGCN.js → project-boot-6KWZPQNQ.js} +1 -1
  252. package/dist/{projection-worker-JZQTL4NU.js → projection-worker-5CSBJILA.js} +3 -3
  253. package/dist/{push-notifications-3GNJ5SZS.js → push-notifications-WR6QLWR3.js} +2 -2
  254. package/dist/{reranker-U6DEAT4S.js → reranker-2IHJEYIB.js} +2 -2
  255. package/dist/{review-polling-W2S3XAAU.js → review-polling-L5P2KMBI.js} +12 -12
  256. package/dist/runtime/index.js +14 -14
  257. package/dist/{session-events-MNWHGZY5.js → session-events-5FHQPX6H.js} +12 -12
  258. package/dist/{session-kill-telemetry-JHSI7D3F.js → session-kill-telemetry-GKNTJ6BY.js} +4 -4
  259. package/dist/{session-scope-SMT225X3.js → session-scope-DWIP4IKM.js} +11 -11
  260. package/dist/{setup-wizard-RBUTEZB2.js → setup-wizard-UHXMO2FP.js} +3 -3
  261. package/dist/{shard-manager-ON2WWCRM.js → shard-manager-PWSOXHZ4.js} +2 -2
  262. package/dist/{skill-refinement-LKJHUW2U.js → skill-refinement-X2MCBDTB.js} +3 -3
  263. package/dist/{stack-update-ZIMV4OEQ.js → stack-update-WFO774SS.js} +3 -3
  264. package/dist/{steward-gate-6IKH335D.js → steward-gate-PR2N5XHY.js} +4 -4
  265. package/dist/{task-enforcement-UIEWTA6H.js → task-enforcement-AATKSKSX.js} +11 -11
  266. package/dist/{task-scope-DNQURKOQ.js → task-scope-C24XH5SU.js} +11 -11
  267. package/dist/{tasks-crud-CLAYZZ4O.js → tasks-crud-3FBWU6GS.js} +11 -11
  268. package/dist/{tasks-review-OHR2P4QE.js → tasks-review-PLWP7Y6K.js} +11 -11
  269. package/dist/{telemetry-upload-APVDPCEV.js → telemetry-upload-SQOU3PMH.js} +7 -7
  270. package/dist/{token-budget-6IQNYKLR.js → token-budget-GL3TMPSU.js} +3 -3
  271. package/dist/{tool-capability-index-UUNF7VPA.js → tool-capability-index-H3YVB4WH.js} +1 -1
  272. package/dist/{tool-telemetry-SJSIL5M5.js → tool-telemetry-25KPRGFS.js} +1 -1
  273. package/dist/tui/App.js +25 -25
  274. package/dist/{tui-data-L6XG4Z52.js → tui-data-Y4U6LD4V.js} +11 -11
  275. package/dist/{worker-gate-GFKXZ6V5.js → worker-gate-NFZWLPCT.js} +2 -2
  276. package/dist/{workflow-engine-6HTKI2ZE.js → workflow-engine-BGLW3NCF.js} +2 -2
  277. package/dist/{worktree-BO7QQ32T.js → worktree-DJB52IZE.js} +5 -5
  278. package/package.json +2 -2
  279. /package/dist/{chunk-DKRTWILB.js → chunk-5CDLCKFP.js} +0 -0
  280. /package/dist/{chunk-EGWPJQRQ.js → chunk-73AHWU3R.js} +0 -0
  281. /package/dist/{chunk-IW53DAYO.js → chunk-HBVVFXTS.js} +0 -0
  282. /package/dist/{chunk-Z3ZCLTP7.js → chunk-OAOBUDO3.js} +0 -0
  283. /package/dist/{chunk-WWPX2LLP.js → chunk-P6346JIK.js} +0 -0
  284. /package/dist/{chunk-EEAKFEEA.js → chunk-TPOWVHXP.js} +0 -0
  285. /package/dist/{chunk-7EZCYO76.js → chunk-V32QD5JJ.js} +0 -0
  286. /package/dist/{chunk-3JP3FY33.js → chunk-VITYTNHD.js} +0 -0
  287. /package/dist/{core-memory-R7QBLN4C.js → core-memory-GS3UTWJA.js} +0 -0
  288. /package/dist/{entity-boost-7MB2IYAE.js → entity-boost-BQEHHM3I.js} +0 -0
  289. /package/dist/{message-queue-client-FUKX43JD.js → message-queue-client-NPOYVISO.js} +0 -0
  290. /package/dist/{oauth-server-CCZPDTZJ.js → oauth-server-TVI5S5GG.js} +0 -0
  291. /package/dist/{webhook-pipe-4WPFGGFD.js → webhook-pipe-GB7YZIKE.js} +0 -0
  292. /package/dist/{wiki-acl-XCT6QQGP.js → wiki-acl-WZ4YRL3B.js} +0 -0
  293. /package/dist/{wiki-client-KE622HKY.js → wiki-client-WRO5PRMD.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  StewardGate
3
- } from "./chunk-CHT3THVG.js";
3
+ } from "./chunk-BYBACXPV.js";
4
4
  import {
5
5
  listRecentSessionEvents
6
- } from "./chunk-YCTCKUZE.js";
6
+ } from "./chunk-3LTFCIMU.js";
7
7
  import {
8
8
  isRerankerAvailable,
9
9
  rerankWithScores
10
- } from "./chunk-LHOIY5LQ.js";
10
+ } from "./chunk-SOU6SIMY.js";
11
11
  import {
12
12
  getEntityByName,
13
13
  getEntityNeighbors,
@@ -22,16 +22,16 @@ import {
22
22
  } from "./chunk-E6ORBQHP.js";
23
23
  import {
24
24
  AUTO_WAKE_MAX_RETRIES
25
- } from "./chunk-CQDSTBKT.js";
25
+ } from "./chunk-TPG4TR43.js";
26
26
  import {
27
27
  getCachedLicenseGate
28
- } from "./chunk-GGV3PFUW.js";
28
+ } from "./chunk-YHPULREH.js";
29
29
  import {
30
30
  getToolUsageStats
31
- } from "./chunk-7EZCYO76.js";
31
+ } from "./chunk-V32QD5JJ.js";
32
32
  import {
33
33
  getToolCapabilityIndex
34
- } from "./chunk-EGWPJQRQ.js";
34
+ } from "./chunk-73AHWU3R.js";
35
35
  import {
36
36
  analyzeBlastRadius,
37
37
  buildCodeContextIndex,
@@ -40,72 +40,72 @@ import {
40
40
  searchCodeContext,
41
41
  searchCodeContextSemantic,
42
42
  traceCodeSymbol
43
- } from "./chunk-NRFVWJHP.js";
43
+ } from "./chunk-ZDO2PPFL.js";
44
44
  import {
45
45
  DreamingEngine
46
- } from "./chunk-PW2YH2ZR.js";
46
+ } from "./chunk-ZPTGXNUS.js";
47
47
  import {
48
48
  exportOrchestration,
49
49
  importOrchestration,
50
50
  validatePackage
51
- } from "./chunk-ECQBG62Y.js";
51
+ } from "./chunk-JO5H3IVP.js";
52
52
  import {
53
53
  runDriftProbes
54
- } from "./chunk-Q5GUJUDW.js";
54
+ } from "./chunk-63KZ3LV4.js";
55
55
  import {
56
56
  loadOrchestrationPhase,
57
57
  setOrchestrationPhase
58
- } from "./chunk-ZVSG2KKG.js";
58
+ } from "./chunk-D6MAKN4A.js";
59
59
  import {
60
60
  createOrRefreshResumeTask
61
- } from "./chunk-M37HYGAG.js";
61
+ } from "./chunk-UESS3A4X.js";
62
62
  import {
63
63
  registerCreateReminder
64
- } from "./chunk-EHKIJPVX.js";
64
+ } from "./chunk-S5K7OGFP.js";
65
65
  import {
66
66
  registerListReminders
67
- } from "./chunk-UV4ZHXUP.js";
67
+ } from "./chunk-L55G65Q2.js";
68
68
  import {
69
69
  registerCompleteReminder
70
- } from "./chunk-OI6MVDSY.js";
70
+ } from "./chunk-OE6XFO2J.js";
71
71
  import {
72
72
  registerDeactivateBehavior
73
- } from "./chunk-3MK3R5E6.js";
73
+ } from "./chunk-MJYZJP7O.js";
74
74
  import {
75
75
  completeReminder,
76
76
  createReminder,
77
77
  listReminders
78
- } from "./chunk-R2E4TV5V.js";
78
+ } from "./chunk-7ZOFRNMG.js";
79
79
  import {
80
80
  registerImportConversations
81
- } from "./chunk-MSCB4ACU.js";
81
+ } from "./chunk-OANEAQ7F.js";
82
82
  import {
83
83
  registerSendMessage
84
- } from "./chunk-3DQ3IPPO.js";
84
+ } from "./chunk-AKYXKCDN.js";
85
85
  import {
86
86
  registerCreateTask
87
- } from "./chunk-3A5BZETG.js";
87
+ } from "./chunk-DHV2DGH2.js";
88
88
  import {
89
89
  registerListTasks
90
- } from "./chunk-W6TC6A73.js";
90
+ } from "./chunk-5B5DRXBQ.js";
91
91
  import {
92
92
  registerUpdateTask
93
- } from "./chunk-WZ2RVKRO.js";
93
+ } from "./chunk-O7A2X7MH.js";
94
94
  import {
95
95
  TOKENS_PER_IDLE_MINUTE,
96
96
  countKillsSince,
97
97
  sumTokensSavedSince
98
- } from "./chunk-FIPU4BDF.js";
98
+ } from "./chunk-FZOXXQ34.js";
99
99
  import {
100
100
  createSchedule,
101
101
  parseHumanCron
102
- } from "./chunk-UPSZ2VKV.js";
102
+ } from "./chunk-KQBSNOJL.js";
103
103
  import {
104
104
  status
105
- } from "./chunk-TOQZO2XX.js";
105
+ } from "./chunk-7GCZAO22.js";
106
106
  import {
107
107
  getAgentSpend
108
- } from "./chunk-WA67SFFZ.js";
108
+ } from "./chunk-LZHNW2TW.js";
109
109
  import {
110
110
  exportGraphHTML,
111
111
  generateGraphReport
@@ -121,23 +121,23 @@ import {
121
121
  fixShards,
122
122
  formatReport,
123
123
  runAudit
124
- } from "./chunk-UWISNP4U.js";
124
+ } from "./chunk-SU7NR5JA.js";
125
125
  import {
126
126
  runHealthCheck
127
- } from "./chunk-DGOGCPYU.js";
127
+ } from "./chunk-XQ6YKRLZ.js";
128
128
  import {
129
129
  hasFailures,
130
130
  runHealth,
131
131
  runTest
132
- } from "./chunk-IQT43SDJ.js";
132
+ } from "./chunk-ESQCAAOT.js";
133
133
  import {
134
134
  renderClientCOOTemplate
135
- } from "./chunk-ADJXHBEU.js";
135
+ } from "./chunk-CYWD6JN3.js";
136
136
  import {
137
137
  deactivateGlobalProcedure,
138
138
  loadGlobalProcedures,
139
139
  storeGlobalProcedure
140
- } from "./chunk-OHPRXEUA.js";
140
+ } from "./chunk-4KYGTWQ2.js";
141
141
  import {
142
142
  PLATFORM_PROCEDURES
143
143
  } from "./chunk-5NFBE376.js";
@@ -146,48 +146,48 @@ import {
146
146
  cloudSync,
147
147
  getCloudReuploadRequired,
148
148
  markCloudReuploadRequired
149
- } from "./chunk-JBKA7F5V.js";
149
+ } from "./chunk-JR6S6JD7.js";
150
150
  import {
151
151
  createARecord
152
152
  } from "./chunk-X2Z5GT3V.js";
153
153
  import {
154
154
  findSimilarTrajectories,
155
155
  hashSignature
156
- } from "./chunk-26PUEPOY.js";
156
+ } from "./chunk-PBFEGM26.js";
157
157
  import {
158
158
  deactivateBehavior,
159
159
  listBehaviorsByDomain,
160
160
  listSharedSkills,
161
161
  reactivateBehavior,
162
162
  storeBehavior
163
- } from "./chunk-7DNX45WB.js";
163
+ } from "./chunk-QHFTK5EF.js";
164
164
  import {
165
165
  countUnconsolidated,
166
166
  groupMemories,
167
167
  runConsolidation,
168
168
  selectUnconsolidated
169
- } from "./chunk-IKTMX6N7.js";
169
+ } from "./chunk-KXOX7SDE.js";
170
170
  import {
171
171
  embed
172
- } from "./chunk-HQMEOIUJ.js";
172
+ } from "./chunk-LHY4ZRZV.js";
173
173
  import {
174
174
  readMcpHttpEvents,
175
175
  summarizeMcpTransport,
176
176
  writeMcpTransportSummary
177
- } from "./chunk-YZKJLGWL.js";
177
+ } from "./chunk-ALSWBA34.js";
178
178
  import {
179
179
  updateTask
180
- } from "./chunk-BZAQ4UG7.js";
180
+ } from "./chunk-V5QHETEF.js";
181
181
  import {
182
182
  fastDbInit
183
- } from "./chunk-DKRTWILB.js";
183
+ } from "./chunk-5CDLCKFP.js";
184
184
  import {
185
185
  MAX_CONCURRENT_WORKERS
186
- } from "./chunk-NFB4N53K.js";
186
+ } from "./chunk-RZQ4QPV5.js";
187
187
  import {
188
188
  hybridSearch,
189
189
  recentRecords
190
- } from "./chunk-HFJNYSTQ.js";
190
+ } from "./chunk-YKR4AM5K.js";
191
191
  import {
192
192
  attachDocumentMetadata,
193
193
  flushBatch,
@@ -195,10 +195,10 @@ import {
195
195
  reserveVersions,
196
196
  vectorToBlob,
197
197
  writeMemory
198
- } from "./chunk-HTCBLSIB.js";
198
+ } from "./chunk-PQV5FL3N.js";
199
199
  import {
200
200
  getActiveAgent
201
- } from "./chunk-DLXTKVBO.js";
201
+ } from "./chunk-DUBO7325.js";
202
202
  import {
203
203
  getMySession,
204
204
  resolveExeSession,
@@ -206,13 +206,13 @@ import {
206
206
  sessionScopeFilter,
207
207
  updateTaskStatus,
208
208
  writeCheckpoint
209
- } from "./chunk-UBMGUX6T.js";
209
+ } from "./chunk-M6W3HYEK.js";
210
210
  import {
211
211
  listSessions
212
- } from "./chunk-G4LLKD4Z.js";
212
+ } from "./chunk-QWRRM2BE.js";
213
213
  import {
214
214
  recordOrchestrationEventBestEffort
215
- } from "./chunk-CTFKTUYN.js";
215
+ } from "./chunk-2OFB7NQW.js";
216
216
  import {
217
217
  DEFAULT_MODELS,
218
218
  KNOWN_RUNTIMES,
@@ -220,7 +220,7 @@ import {
220
220
  getAgentRuntime,
221
221
  loadAgentConfig,
222
222
  setAgentRuntime
223
- } from "./chunk-GVP5U4WL.js";
223
+ } from "./chunk-EEAY2YNU.js";
224
224
  import {
225
225
  DEFAULT_RUNTIME
226
226
  } from "./chunk-NGP6LSV2.js";
@@ -229,7 +229,7 @@ import {
229
229
  assertEmployeeLimit,
230
230
  assertFeature,
231
231
  assertMemoryLimit
232
- } from "./chunk-V3QAAU2U.js";
232
+ } from "./chunk-4E2XAON5.js";
233
233
  import {
234
234
  getProjectName
235
235
  } from "./chunk-OPU3NYOO.js";
@@ -242,7 +242,7 @@ import {
242
242
  isScheduledTrigger,
243
243
  loadTriggers,
244
244
  sanitizeParam
245
- } from "./chunk-Z3ZCLTP7.js";
245
+ } from "./chunk-OAOBUDO3.js";
246
246
  import {
247
247
  pushConversationToCRM
248
248
  } from "./chunk-ONKIWA3R.js";
@@ -262,10 +262,10 @@ import {
262
262
  loadEmployeesSync,
263
263
  saveEmployees,
264
264
  updateIdentity
265
- } from "./chunk-UJOSFVWG.js";
265
+ } from "./chunk-IYHYMEEV.js";
266
266
  import {
267
267
  getMasterKey
268
- } from "./chunk-7NNXBDOO.js";
268
+ } from "./chunk-KDJRFJDL.js";
269
269
  import {
270
270
  checkForUpdate
271
271
  } from "./chunk-MZIGUUDQ.js";
@@ -278,11 +278,11 @@ import {
278
278
  readCachedLicenseToken,
279
279
  saveLicense,
280
280
  validateLicense
281
- } from "./chunk-D4IVTUNN.js";
281
+ } from "./chunk-OZCZNEYI.js";
282
282
  import {
283
283
  EXE_AI_DIR,
284
284
  loadConfig
285
- } from "./chunk-TNTFEWU5.js";
285
+ } from "./chunk-XBXKLACW.js";
286
286
  import {
287
287
  __require
288
288
  } from "./chunk-R5U7XKVJ.js";
@@ -461,7 +461,7 @@ function registerRecallMyMemory(server) {
461
461
  let federatedCount = 0;
462
462
  if (!recent && query && results.length < FEDERATION_THRESHOLD) {
463
463
  try {
464
- const { searchCodeContextSemantic: searchCodeContextSemantic2 } = await import("./code-context-index-KHUYATRB.js");
464
+ const { searchCodeContextSemantic: searchCodeContextSemantic2 } = await import("./code-context-index-TPJZBS6M.js");
465
465
  const codeResults = await Promise.race([
466
466
  searchCodeContextSemantic2(query, { limit: 5 }),
467
467
  new Promise((_, rej) => setTimeout(() => rej(new Error("timeout")), 2e3))
@@ -904,7 +904,7 @@ async function searchConversations(query, limit) {
904
904
  }
905
905
  async function searchWiki(query, limit) {
906
906
  try {
907
- const { createWikiClient, chatInWorkspace, listWorkspaces } = await import("./wiki-client-KE622HKY.js");
907
+ const { createWikiClient, chatInWorkspace, listWorkspaces } = await import("./wiki-client-WRO5PRMD.js");
908
908
  const client = await createWikiClient();
909
909
  if (!client) return [];
910
910
  const workspaces = await listWorkspaces(client);
@@ -1451,7 +1451,7 @@ async function handleSupersede(input) {
1451
1451
  }
1452
1452
  try {
1453
1453
  const { getClient: getClient2 } = await import("./lib/database.js");
1454
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-GJDG4CAW.js");
1454
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-QFQKXG3F.js");
1455
1455
  const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
1456
1456
  const { randomUUID: randomUUID2 } = await import("crypto");
1457
1457
  const client = getClient2();
@@ -1561,7 +1561,7 @@ function registerMemory(server) {
1561
1561
  return handleSupersede(input);
1562
1562
  }
1563
1563
  if (action === "update_working_memory" || action === "get_working_memory") {
1564
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-GJDG4CAW.js");
1564
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-QFQKXG3F.js");
1565
1565
  const { agentId } = getActiveAgent2();
1566
1566
  const { readWorkingMemory, writeWorkingMemory, WORKING_MEMORY_MAX_BYTES } = await import("./working-memory-Z3EB3FW6.js");
1567
1567
  if (action === "get_working_memory") {
@@ -1578,9 +1578,9 @@ function registerMemory(server) {
1578
1578
  }
1579
1579
  }
1580
1580
  if (action === "core_get" || action === "core_set" || action === "core_delete") {
1581
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-GJDG4CAW.js");
1581
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-QFQKXG3F.js");
1582
1582
  const { agentId } = getActiveAgent2();
1583
- const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-R7QBLN4C.js");
1583
+ const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-GS3UTWJA.js");
1584
1584
  if (action === "core_get") {
1585
1585
  const entries = await getCoreMemory(agentId);
1586
1586
  const block = formatCoreMemoryBlock(entries);
@@ -1953,7 +1953,7 @@ function registerCloseTask(server) {
1953
1953
  async ({ task_id, result: result3, status: status2 }) => {
1954
1954
  const agent = getActiveAgent();
1955
1955
  try {
1956
- const { StewardGate: StewardGate2 } = await import("./steward-gate-6IKH335D.js");
1956
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-PR2N5XHY.js");
1957
1957
  const steward = new StewardGate2();
1958
1958
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "close_task", task_id);
1959
1959
  if (!gateDecision.allowed) {
@@ -2314,7 +2314,7 @@ function registerResumeEmployee(server) {
2314
2314
  };
2315
2315
  }
2316
2316
  try {
2317
- const { isTmuxSessionAlive } = await import("./tasks-crud-CLAYZZ4O.js");
2317
+ const { isTmuxSessionAlive } = await import("./tasks-crud-3FBWU6GS.js");
2318
2318
  const now = (/* @__PURE__ */ new Date()).toISOString();
2319
2319
  for (const row of openTasks.rows) {
2320
2320
  const status2 = String(row.status);
@@ -2342,7 +2342,7 @@ function registerResumeEmployee(server) {
2342
2342
  }
2343
2343
  let checkpointInfo = "";
2344
2344
  try {
2345
- const { readLatestCheckpoint } = await import("./tasks-crud-CLAYZZ4O.js");
2345
+ const { readLatestCheckpoint } = await import("./tasks-crud-3FBWU6GS.js");
2346
2346
  const checkpoint = await readLatestCheckpoint(agent_id);
2347
2347
  if (checkpoint) {
2348
2348
  const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none";
@@ -2702,7 +2702,7 @@ function registerTask(server) {
2702
2702
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
2703
2703
  if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
2704
2704
  try {
2705
- const { createTaskGroup } = await import("./tasks-crud-CLAYZZ4O.js");
2705
+ const { createTaskGroup } = await import("./tasks-crud-3FBWU6GS.js");
2706
2706
  const group = await createTaskGroup({
2707
2707
  title: args.title,
2708
2708
  coordinator: args.coordinator,
@@ -2721,7 +2721,7 @@ function registerTask(server) {
2721
2721
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
2722
2722
  if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
2723
2723
  try {
2724
- const { getGroupStatus } = await import("./tasks-crud-CLAYZZ4O.js");
2724
+ const { getGroupStatus } = await import("./tasks-crud-3FBWU6GS.js");
2725
2725
  const status2 = await getGroupStatus(args.group_id);
2726
2726
  return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
2727
2727
  } catch (err) {
@@ -2733,7 +2733,7 @@ function registerTask(server) {
2733
2733
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
2734
2734
  if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
2735
2735
  try {
2736
- const { getGroupResults } = await import("./tasks-crud-CLAYZZ4O.js");
2736
+ const { getGroupResults } = await import("./tasks-crud-3FBWU6GS.js");
2737
2737
  const results = await getGroupResults(args.group_id);
2738
2738
  return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
2739
2739
  } catch (err) {
@@ -2961,7 +2961,7 @@ function registerMessage(server) {
2961
2961
  if (msgType && msgPayload) {
2962
2962
  try {
2963
2963
  const { buildTypedMessage, serializeMessage } = await import("./typed-messages-53Q7L3LB.js");
2964
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-GJDG4CAW.js");
2964
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-QFQKXG3F.js");
2965
2965
  const { sendMessage } = await import("./lib/messaging.js");
2966
2966
  const { agentId } = getActiveAgent2();
2967
2967
  const envelope = buildTypedMessage({
@@ -3578,8 +3578,8 @@ function registerIngestDocument(server) {
3578
3578
  },
3579
3579
  async (input) => {
3580
3580
  try {
3581
- const { assertFeature: assertFeature2 } = await import("./plan-limits-NFQVRHS5.js");
3582
- const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-NFQVRHS5.js");
3581
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-4EPTLSIU.js");
3582
+ const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-4EPTLSIU.js");
3583
3583
  await assertFeature2("wiki");
3584
3584
  await assertMemoryLimit2();
3585
3585
  const result3 = await ingestDocument(input);
@@ -3650,8 +3650,8 @@ function registerPurgeDocument(server) {
3650
3650
  },
3651
3651
  async ({ document_id }) => {
3652
3652
  try {
3653
- const { StewardGate: StewardGate2 } = await import("./steward-gate-6IKH335D.js");
3654
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-GJDG4CAW.js");
3653
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-PR2N5XHY.js");
3654
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-QFQKXG3F.js");
3655
3655
  const steward = new StewardGate2();
3656
3656
  const agent = getActiveAgent2();
3657
3657
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "purge_document", document_id);
@@ -4896,8 +4896,8 @@ function registerMergeEntities(server) {
4896
4896
  },
4897
4897
  async ({ source_name, source_type, target_name, target_type }) => {
4898
4898
  try {
4899
- const { StewardGate: StewardGate2 } = await import("./steward-gate-6IKH335D.js");
4900
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-GJDG4CAW.js");
4899
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-PR2N5XHY.js");
4900
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-QFQKXG3F.js");
4901
4901
  const steward = new StewardGate2();
4902
4902
  const agent = getActiveAgent2();
4903
4903
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "merge_entities", `${source_name}\u2192${target_name}`);
@@ -5775,7 +5775,7 @@ async function getAgentSessionLoad() {
5775
5775
  return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
5776
5776
  }
5777
5777
  const { getClient: getClient2 } = await import("./lib/database.js");
5778
- const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-DNQURKOQ.js");
5778
+ const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-C24XH5SU.js");
5779
5779
  const client = getClient2();
5780
5780
  const scope = sessionScopeFilter2();
5781
5781
  for (const s of liveAgentSessions) {
@@ -5900,7 +5900,7 @@ ${mode} Applying repairs...
5900
5900
  `];
5901
5901
  if (!isDryRun) {
5902
5902
  try {
5903
- const { createBackup: createBackup2 } = await import("./db-backup-MSQKO6M5.js");
5903
+ const { createBackup: createBackup2 } = await import("./db-backup-3ZQQPS5G.js");
5904
5904
  const backupPath = createBackup2("pre-fix");
5905
5905
  if (backupPath) {
5906
5906
  fixLog.push(` Backup created: ${backupPath.split("/").pop()}`);
@@ -7425,7 +7425,7 @@ function registerCreateTrigger(server) {
7425
7425
  }
7426
7426
  },
7427
7427
  async ({ name, event, conditions, actions, project, enabled, schedule, query }) => {
7428
- const { assertFeature: assertFeature2 } = await import("./plan-limits-NFQVRHS5.js");
7428
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-4EPTLSIU.js");
7429
7429
  const gatedActions = {
7430
7430
  send_whatsapp: "external_agents",
7431
7431
  update_wiki: "wiki"
@@ -8334,7 +8334,7 @@ function registerConfig(server) {
8334
8334
  const existing = loadEmployeesSync2();
8335
8335
  if (existing.some((e) => e.name === employeeName)) return errorResult8(`Employee "${employeeName}" already exists.`);
8336
8336
  try {
8337
- const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-NFQVRHS5.js");
8337
+ const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-4EPTLSIU.js");
8338
8338
  await assertEmployeeLimit2();
8339
8339
  } catch (e) {
8340
8340
  return errorResult8(e instanceof Error ? e.message : "Employee limit reached.");
@@ -8375,7 +8375,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
8375
8375
  }
8376
8376
  try {
8377
8377
  const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
8378
- const { resolvePackageRoot } = await import("./installer-UAMA6ZVH.js");
8378
+ const { resolvePackageRoot } = await import("./installer-RV2QVZTK.js");
8379
8379
  generateSessionWrappers(resolvePackageRoot());
8380
8380
  } catch {
8381
8381
  }
@@ -8411,7 +8411,7 @@ function registerListWikiPages(server) {
8411
8411
  }
8412
8412
  },
8413
8413
  async ({ workspace, folder }) => {
8414
- const { assertFeature: assertFeature2 } = await import("./plan-limits-NFQVRHS5.js");
8414
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-4EPTLSIU.js");
8415
8415
  await assertFeature2("wiki");
8416
8416
  const apiUrl = process.env.EXE_WIKI_API_URL;
8417
8417
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -8511,7 +8511,7 @@ function registerGetWikiPage(server) {
8511
8511
  }
8512
8512
  },
8513
8513
  async ({ workspace, document_id, title }) => {
8514
- const { assertFeature: assertFeature2 } = await import("./plan-limits-NFQVRHS5.js");
8514
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-4EPTLSIU.js");
8515
8515
  await assertFeature2("wiki");
8516
8516
  const apiUrl = process.env.EXE_WIKI_API_URL;
8517
8517
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -8689,10 +8689,10 @@ async function handleWikiSearch(input) {
8689
8689
  const userId = input.user_id;
8690
8690
  if (!workspace) return errorResult9('wiki action "search" requires workspace');
8691
8691
  if (!query) return errorResult9('wiki action "search" requires query');
8692
- const { assertFeature: assertFeature2 } = await import("./plan-limits-NFQVRHS5.js");
8692
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-4EPTLSIU.js");
8693
8693
  await assertFeature2("wiki");
8694
8694
  if (userId) {
8695
- const { checkWikiAccess } = await import("./wiki-acl-XCT6QQGP.js");
8695
+ const { checkWikiAccess } = await import("./wiki-acl-WZ4YRL3B.js");
8696
8696
  const { allowed } = await checkWikiAccess(String(userId), String(workspace), "read");
8697
8697
  if (!allowed) {
8698
8698
  return errorResult9(`Access denied: user "${userId}" does not have read access to workspace "${workspace}"`);
@@ -8768,7 +8768,7 @@ function registerWiki(server) {
8768
8768
  if (!legacyToolName) return errorResult9(`Unknown wiki action: ${String(input.action)}`);
8769
8769
  const { action: _action, user_id, ...legacyArgs } = input;
8770
8770
  if (user_id && legacyArgs.workspace) {
8771
- const { checkWikiAccess } = await import("./wiki-acl-XCT6QQGP.js");
8771
+ const { checkWikiAccess } = await import("./wiki-acl-WZ4YRL3B.js");
8772
8772
  const { allowed } = await checkWikiAccess(
8773
8773
  String(user_id),
8774
8774
  String(legacyArgs.workspace),
@@ -9095,7 +9095,7 @@ Use /exe-forget to remove any that this supersedes.`;
9095
9095
  return { content: [{ type: "text", text: `Behavior not found: ${behavior_id}` }], isError: true };
9096
9096
  }
9097
9097
  const row2 = result4.rows[0];
9098
- const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-36T3O2DC.js");
9098
+ const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-KZZE732K.js");
9099
9099
  const wasReactivated = await reactivateBehavior2(behavior_id);
9100
9100
  if (!wasReactivated) {
9101
9101
  return { content: [{ type: "text", text: `Behavior ${behavior_id} is already active.` }] };
@@ -10034,7 +10034,7 @@ function registerWorkflowTool(server) {
10034
10034
  getWorkflowInstance,
10035
10035
  listWorkflowInstances,
10036
10036
  approveWorkflowStep
10037
- } = await import("./workflow-engine-6HTKI2ZE.js");
10037
+ } = await import("./workflow-engine-BGLW3NCF.js");
10038
10038
  try {
10039
10039
  switch (input.action) {
10040
10040
  case "create_workflow": {
@@ -10467,7 +10467,7 @@ function registerCreateBugReport(server) {
10467
10467
  const version = package_version ?? "unknown";
10468
10468
  let metricsSnapshot = "";
10469
10469
  try {
10470
- const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-LXVPJL6S.js");
10470
+ const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-TMN37OEJ.js");
10471
10471
  const sinceIso = new Date(Date.now() - 60 * 60 * 1e3).toISOString();
10472
10472
  const metrics = await getOrchestrationMetrics({ sinceIso });
10473
10473
  if (metrics.totalEvents > 0) {
@@ -11543,7 +11543,7 @@ function registerCodeContext(server) {
11543
11543
  const index = buildCodeContextIndex(opts);
11544
11544
  let graphExtract;
11545
11545
  try {
11546
- const { autoExtractGraphEntities } = await import("./graph-auto-extract-5GZ34NXS.js");
11546
+ const { autoExtractGraphEntities } = await import("./graph-auto-extract-B4Z66POP.js");
11547
11547
  graphExtract = await autoExtractGraphEntities(opts.projectRoot);
11548
11548
  } catch {
11549
11549
  }
@@ -12544,7 +12544,7 @@ async function handleTrigger(limit) {
12544
12544
  if (rows.rows.length === 0) {
12545
12545
  return text3("No conversations found to re-process.");
12546
12546
  }
12547
- const { ingest } = await import("./pipeline-router-QRJQWMFF.js");
12547
+ const { ingest } = await import("./pipeline-router-IWKIZSDC.js");
12548
12548
  const results = [];
12549
12549
  for (const row of rows.rows) {
12550
12550
  const r = row;
@@ -12651,7 +12651,7 @@ function registerResonance(server) {
12651
12651
  }
12652
12652
  }, async ({ action, entity_id, limit }) => {
12653
12653
  try {
12654
- const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-AJZTQHI3.js");
12654
+ const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-LHVIX5DN.js");
12655
12655
  if (action === "hot_pairs") {
12656
12656
  const pairs = await getHotPairs(limit ?? 20);
12657
12657
  if (pairs.length === 0) return text4("No co-activation data yet. Pairs are recorded as memories are accessed together in searches.");
@@ -12699,7 +12699,7 @@ function registerPrediction(server) {
12699
12699
  resolvePrediction,
12700
12700
  getPredictions,
12701
12701
  getCalibrationStats
12702
- } = await import("./prediction-log-C2BD3AHR.js");
12702
+ } = await import("./prediction-log-2Z6XD4EZ.js");
12703
12703
  const agentId = input.agent_id || process.env.AGENT_ID || "unknown";
12704
12704
  switch (input.action) {
12705
12705
  case "log": {
@@ -12830,6 +12830,13 @@ function registerAllTools(server, license, hasKey) {
12830
12830
  const originalRegisterTool = server.registerTool.bind(server);
12831
12831
  server.registerTool = (toolName, config, handler) => {
12832
12832
  if (!handler) {
12833
+ if (typeof config?.cb === "function") {
12834
+ const origCb = config.cb;
12835
+ config.cb = (args, extra) => {
12836
+ mcpRateLimiter.check(toolName, resolveAgentIdForRateLimit());
12837
+ return origCb(args, extra);
12838
+ };
12839
+ }
12833
12840
  return originalRegisterTool(toolName, config);
12834
12841
  }
12835
12842
  const wrappedHandler = (args, extra) => {
@@ -12926,7 +12933,6 @@ function registerAllTools(server, license, hasKey) {
12926
12933
  gate("registerPurgeDocument", registerPurgeDocument);
12927
12934
  gate("registerSetDocumentImportance", registerSetDocumentImportance);
12928
12935
  gate("registerRerankDocuments", registerRerankDocuments);
12929
- gate("registerImportConversations", registerImportConversations);
12930
12936
  }
12931
12937
  if (exposeLegacyMessages) {
12932
12938
  gate("registerAcknowledgeMessages", registerAcknowledgeMessages);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadEmployees
3
- } from "./chunk-UJOSFVWG.js";
3
+ } from "./chunk-IYHYMEEV.js";
4
4
 
5
5
  // src/lib/agent-symlinks.ts
6
6
  import os from "os";
@@ -41,12 +41,19 @@ function resolveDataDir() {
41
41
  try {
42
42
  const homeBase = "/home";
43
43
  if (existsSync(homeBase)) {
44
+ const candidates = [];
44
45
  for (const user of readdirSync(homeBase)) {
45
46
  const candidate = path.join(homeBase, user, ".exe-os");
46
47
  if (existsSync(path.join(candidate, "config.json")) || existsSync(path.join(candidate, "memories.db"))) {
47
- return candidate;
48
+ candidates.push(candidate);
48
49
  }
49
50
  }
51
+ if (candidates.length === 1) {
52
+ return candidates[0];
53
+ } else if (candidates.length > 1) {
54
+ process.stderr.write(`[exe-os] Multiple exe-os installs found in /home/. Set EXE_OS_DIR to specify which one.
55
+ `);
56
+ }
50
57
  }
51
58
  } catch {
52
59
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  EXE_AI_DIR
3
- } from "./chunk-TNTFEWU5.js";
3
+ } from "./chunk-XBXKLACW.js";
4
4
 
5
5
  // src/lib/memory-queue.ts
6
6
  import {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  listBehaviors
3
- } from "./chunk-7DNX45WB.js";
3
+ } from "./chunk-QHFTK5EF.js";
4
4
  import {
5
5
  loadConfigSync
6
- } from "./chunk-TNTFEWU5.js";
6
+ } from "./chunk-XBXKLACW.js";
7
7
 
8
8
  // src/lib/behaviors-export.ts
9
9
  import os from "os";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  readMcpHttpEvents,
3
3
  summarizeMcpTransport
4
- } from "./chunk-YZKJLGWL.js";
4
+ } from "./chunk-ALSWBA34.js";
5
5
  import {
6
6
  EXE_AI_DIR
7
- } from "./chunk-TNTFEWU5.js";
7
+ } from "./chunk-XBXKLACW.js";
8
8
  import {
9
9
  isMainModule
10
10
  } from "./chunk-6Y4B3QF6.js";