@askexenow/exe-os 0.9.354 → 0.9.355

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 (303) hide show
  1. package/deploy/stack-manifests/v0.9.json +111 -1
  2. package/dist/{active-agent-UMTKUERG.js → active-agent-LCRV3HVS.js} +3 -3
  3. package/dist/{active-agent-B5NRAHU4.js → active-agent-PYMOMGQ7.js} +3 -3
  4. package/dist/{agentic-ontology-G34AXRPG.js → agentic-ontology-TNKI4FOM.js} +1 -1
  5. package/dist/{backfill-metadata-VCJOHOJQ.js → backfill-metadata-7ZMD4GK2.js} +5 -5
  6. package/dist/{backup-verify-QHL2YSEA.js → backup-verify-7NLKR4S6.js} +1 -1
  7. package/dist/{behavior-injection-7JZJT4X4.js → behavior-injection-5XKH24H2.js} +7 -7
  8. package/dist/{behaviors-O5NHB5N5.js → behaviors-N25SY742.js} +6 -6
  9. package/dist/bin/agentic-ontology-backfill.js +6 -6
  10. package/dist/bin/agentic-reflection-backfill.js +7 -7
  11. package/dist/bin/agentic-semantic-label.js +6 -6
  12. package/dist/bin/backfill-conversations.js +5 -5
  13. package/dist/bin/backfill-responses.js +5 -5
  14. package/dist/bin/backfill-vectors.js +6 -6
  15. package/dist/bin/bulk-sync-postgres.js +10 -10
  16. package/dist/bin/cc-doctor.js +4 -4
  17. package/dist/bin/cleanup-stale-review-tasks.js +12 -12
  18. package/dist/bin/cli.js +18 -18
  19. package/dist/bin/deferred-daemon-restart.js +67 -67
  20. package/dist/bin/exe-agent-config.js +2 -2
  21. package/dist/bin/exe-agent.js +4 -4
  22. package/dist/bin/exe-assign.js +6 -6
  23. package/dist/bin/exe-boot.js +24 -24
  24. package/dist/bin/exe-call.js +4 -4
  25. package/dist/bin/exe-cloud.js +10 -10
  26. package/dist/bin/exe-config-dump.js +2 -2
  27. package/dist/bin/exe-dispatch.js +12 -12
  28. package/dist/bin/exe-doctor.js +4 -4
  29. package/dist/bin/exe-export-behaviors.js +8 -8
  30. package/dist/bin/exe-forget.js +8 -8
  31. package/dist/bin/exe-gateway.js +7 -7
  32. package/dist/bin/exe-healthcheck.js +4 -4
  33. package/dist/bin/exe-heartbeat.js +14 -14
  34. package/dist/bin/exe-kill.js +16 -16
  35. package/dist/bin/exe-launch-agent.js +21 -21
  36. package/dist/bin/exe-memory-reads.js +5 -5
  37. package/dist/bin/exe-new-employee.js +8 -8
  38. package/dist/bin/exe-os-mcp-proxy.js +3 -3
  39. package/dist/bin/exe-pending-messages.js +13 -13
  40. package/dist/bin/exe-pending-notifications.js +12 -12
  41. package/dist/bin/exe-pending-reviews.js +12 -12
  42. package/dist/bin/exe-rename.js +4 -4
  43. package/dist/bin/exe-review.js +15 -15
  44. package/dist/bin/exe-search.js +7 -7
  45. package/dist/bin/exe-session-cleanup.js +16 -16
  46. package/dist/bin/exe-settings.js +10 -10
  47. package/dist/bin/exe-start-codex.js +13 -13
  48. package/dist/bin/exe-start-opencode.js +9 -9
  49. package/dist/bin/exe-status.js +13 -13
  50. package/dist/bin/exe-support.js +3 -3
  51. package/dist/bin/exe-team.js +3 -3
  52. package/dist/bin/git-sweep.js +13 -13
  53. package/dist/bin/graph-backfill.js +6 -6
  54. package/dist/bin/graph-export.js +6 -6
  55. package/dist/bin/import-history.js +9 -9
  56. package/dist/bin/install.js +69 -69
  57. package/dist/bin/intercom-check.js +4 -4
  58. package/dist/bin/mcp-sessions.js +2 -2
  59. package/dist/bin/orchestration-metrics.js +4 -4
  60. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  61. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  62. package/dist/bin/reconcile-backlog.js +2 -2
  63. package/dist/bin/registry-proxy.js +1 -1
  64. package/dist/bin/scan-tasks.js +12 -12
  65. package/dist/bin/setup.js +1 -1
  66. package/dist/bin/shard-migrate.js +5 -5
  67. package/dist/bin/stack-update.js +4 -4
  68. package/dist/bin/vps-health-gate.js +1 -1
  69. package/dist/{boot-generation-DIFHCR3O.js → boot-generation-7ZI7JYGR.js} +3 -3
  70. package/dist/{boot-review-sections-PFODN2NT.js → boot-review-sections-4CY2PBGZ.js} +11 -11
  71. package/dist/{capability-cards-B5FOK5AD.js → capability-cards-4RD2SB2K.js} +2 -2
  72. package/dist/{capacity-monitor-LOUTJNP7.js → capacity-monitor-IUZCER65.js} +13 -13
  73. package/dist/{catchup-brief-HJNOFCBW.js → catchup-brief-FGOY5FL2.js} +17 -17
  74. package/dist/{chunk-2O7ABKDY.js → chunk-2WWGTOVP.js} +1 -1
  75. package/dist/{chunk-VBSHSDNF.js → chunk-34MIJGQS.js} +1 -1
  76. package/dist/{chunk-3KTQG6IB.js → chunk-3MKQMGQK.js} +2 -2
  77. package/dist/{chunk-AZZUBNLM.js → chunk-3MVOYNVN.js} +4 -4
  78. package/dist/{chunk-E5U4MIWC.js → chunk-4GGP4Q5N.js} +2 -2
  79. package/dist/{chunk-SE6XCASK.js → chunk-4KCLB4TY.js} +1 -1
  80. package/dist/{chunk-I5RALLD2.js → chunk-4O4PXNWE.js} +4 -4
  81. package/dist/{chunk-YYAAFE2D.js → chunk-4VU2VCEU.js} +1 -1
  82. package/dist/{chunk-GQT4W7LA.js → chunk-54UPM32D.js} +3 -3
  83. package/dist/{chunk-SCRZYNLQ.js → chunk-5JB5E3LG.js} +2 -2
  84. package/dist/{chunk-YVNJVZG5.js → chunk-5Q2J6P4T.js} +3 -3
  85. package/dist/{chunk-SARGYCJM.js → chunk-67ILAYK4.js} +3 -3
  86. package/dist/{chunk-SJS6XZBG.js → chunk-6M7AU7QL.js} +3 -3
  87. package/dist/{chunk-MHVEE7FN.js → chunk-6UCUOVOB.js} +9 -9
  88. package/dist/{chunk-CUSYHBUW.js → chunk-6UTP7AIH.js} +1 -1
  89. package/dist/{chunk-FV3SYKT4.js → chunk-76JXWKJ6.js} +10 -10
  90. package/dist/{chunk-F7WTZO6C.js → chunk-7FKC2TIB.js} +1 -1
  91. package/dist/{chunk-E3MGFSHX.js → chunk-7OUNHOPN.js} +2 -2
  92. package/dist/{chunk-EYS3QWSH.js → chunk-7UBBTBBD.js} +2 -2
  93. package/dist/{chunk-JKEQWBPF.js → chunk-ABM3DZF3.js} +1 -1
  94. package/dist/{chunk-ZVDIWVKL.js → chunk-AIFUKWLY.js} +4 -4
  95. package/dist/{chunk-PP6TCRBA.js → chunk-AJGTBW3N.js} +1 -1
  96. package/dist/{chunk-VFUIGSMM.js → chunk-AV3YQKLI.js} +5 -5
  97. package/dist/{chunk-FTN3SPFD.js → chunk-AVHBWE2T.js} +8 -8
  98. package/dist/{chunk-F4XO4FMT.js → chunk-BGCXVFVS.js} +1 -1
  99. package/dist/{chunk-O2ZXDMMZ.js → chunk-BJFHXNBO.js} +3 -3
  100. package/dist/{chunk-5I2HYJ3V.js → chunk-BMK3RLV7.js} +1 -1
  101. package/dist/{chunk-JOGNKJYE.js → chunk-BWSZFT3E.js} +2 -2
  102. package/dist/{chunk-LQGOCLLI.js → chunk-CCCPGCOI.js} +1 -1
  103. package/dist/{chunk-PLXYRWPL.js → chunk-CIAMVLXK.js} +4 -4
  104. package/dist/{chunk-CVIVHTCN.js → chunk-CP32WIKZ.js} +1 -1
  105. package/dist/{chunk-24QNYQQ5.js → chunk-D4OMMYL4.js} +3 -3
  106. package/dist/{chunk-L5QZB2YY.js → chunk-EHL4RCND.js} +1 -1
  107. package/dist/{chunk-Y22JE2LU.js → chunk-EITFV752.js} +7 -7
  108. package/dist/{chunk-BDL6D5LQ.js → chunk-EJDKSAUB.js} +1 -1
  109. package/dist/{chunk-BM62YCAL.js → chunk-ENREZ76V.js} +4 -4
  110. package/dist/{chunk-DBQYO7QR.js → chunk-EWOMZLR6.js} +1 -1
  111. package/dist/{chunk-MJVNOOF5.js → chunk-F5YXWMMF.js} +1 -1
  112. package/dist/{chunk-TUP6OV7V.js → chunk-G4IOHYM3.js} +5 -5
  113. package/dist/{chunk-B5YGJKRM.js → chunk-H4IZKSOY.js} +1 -1
  114. package/dist/{chunk-EZAQCUWI.js → chunk-HAOZB4W6.js} +1 -1
  115. package/dist/{chunk-COFX64LR.js → chunk-JLXJMDKG.js} +1 -1
  116. package/dist/{chunk-TGJMB6DD.js → chunk-JO6TS75M.js} +1 -1
  117. package/dist/{chunk-JEZWLRGH.js → chunk-JZXHLDQN.js} +1 -1
  118. package/dist/{chunk-YRECUJPC.js → chunk-K6QZ5ATL.js} +5 -5
  119. package/dist/{chunk-3DOISTO5.js → chunk-KMTOHVCM.js} +45 -23
  120. package/dist/{chunk-2IB6M2ST.js → chunk-KP3PLOGC.js} +1 -1
  121. package/dist/{chunk-U2ZY37YM.js → chunk-LBA6V4L2.js} +2 -2
  122. package/dist/{chunk-N7GR3WNB.js → chunk-LBGUKC6J.js} +1 -1
  123. package/dist/{chunk-CUFN67G7.js → chunk-LLXYWNCH.js} +1 -1
  124. package/dist/{chunk-MR6EAVJ7.js → chunk-LTXJWL6R.js} +15 -15
  125. package/dist/{chunk-C4RZ6H2K.js → chunk-LVZZ7YS3.js} +2 -2
  126. package/dist/{chunk-4WPQC765.js → chunk-LY4JR2WL.js} +3 -3
  127. package/dist/{chunk-NKAE3TSO.js → chunk-M5DPPJLS.js} +3 -3
  128. package/dist/{chunk-5NOJ6YUJ.js → chunk-P2Y6S53G.js} +1 -1
  129. package/dist/{chunk-DW5STDCA.js → chunk-PM4TIRCR.js} +1 -1
  130. package/dist/{chunk-CYGVLWGO.js → chunk-PNTRRXAN.js} +1 -1
  131. package/dist/{chunk-JIUFFHPT.js → chunk-PXLYA2NX.js} +3 -3
  132. package/dist/{chunk-UHTKAYNE.js → chunk-QCICGIEH.js} +3 -3
  133. package/dist/{chunk-VKKXVQED.js → chunk-RDN2EAB2.js} +113 -113
  134. package/dist/{chunk-VGJGCOVX.js → chunk-RUBXKPOT.js} +1 -1
  135. package/dist/{chunk-6N37D4QT.js → chunk-RXJHJBRU.js} +1 -1
  136. package/dist/{chunk-4VA7TOIB.js → chunk-RZSPCNLY.js} +1 -1
  137. package/dist/{chunk-UUZDO3AJ.js → chunk-SQWYWL4W.js} +4 -4
  138. package/dist/{chunk-M4RJ7XLS.js → chunk-TQ4O5A4S.js} +1 -1
  139. package/dist/{chunk-RIBI42T5.js → chunk-TSSRP4XV.js} +3 -3
  140. package/dist/{chunk-4FKHNWNT.js → chunk-UQCYG6EI.js} +1 -1
  141. package/dist/chunk-VMHZSZQJ.js +190 -0
  142. package/dist/{chunk-BBY6XFZI.js → chunk-VPMAC5VB.js} +1 -1
  143. package/dist/{chunk-4CO7VCTT.js → chunk-WL3CT5KX.js} +2 -2
  144. package/dist/{chunk-7OQMDEMC.js → chunk-X4EDW3FH.js} +1 -1
  145. package/dist/{chunk-HRWGEBPN.js → chunk-X7CWCQ5S.js} +1 -1
  146. package/dist/{chunk-YTZIIGJM.js → chunk-XO2TGFOU.js} +2 -2
  147. package/dist/{chunk-ZOGGD4KD.js → chunk-XPDQBKER.js} +2 -2
  148. package/dist/{chunk-DJOEUBD6.js → chunk-Y4JA5V22.js} +1 -1
  149. package/dist/{chunk-3WVIGZDA.js → chunk-YCZO2FAZ.js} +4 -4
  150. package/dist/{chunk-HD22THYS.js → chunk-YNYISUMW.js} +1 -1
  151. package/dist/{chunk-LBOAWSYK.js → chunk-YQ7IZPVC.js} +1 -1
  152. package/dist/{chunk-NDERRIKH.js → chunk-ZMW64EV7.js} +1 -1
  153. package/dist/{cleanup-graph-garbage-Y6OIYF3D.js → cleanup-graph-garbage-M4HBIBDI.js} +7 -7
  154. package/dist/{cloud-sync-shutdown-FFWZAXXN.js → cloud-sync-shutdown-JRAERBUO.js} +2 -2
  155. package/dist/{co-activation-YECIJAY4.js → co-activation-5AN2CF23.js} +2 -2
  156. package/dist/{co-occurrence-E23DGP5X.js → co-occurrence-A7E774ZX.js} +5 -5
  157. package/dist/{conversation-entity-extractor-AA5GVXTJ.js → conversation-entity-extractor-2XI2GC4N.js} +3 -3
  158. package/dist/{crdt-sync-74BFXFXP.js → crdt-sync-2IUU6GZ6.js} +1 -1
  159. package/dist/{crm-webhook-Q36DOKE5.js → crm-webhook-WRVNGAQU.js} +2 -2
  160. package/dist/{cto-delegation-gate-L5PDVIZM.js → cto-delegation-gate-QXCOUNEL.js} +11 -11
  161. package/dist/{daemon-orchestration-5QK3UL6O.js → daemon-orchestration-XUWZIOPU.js} +16 -16
  162. package/dist/{doc-graph-extractor-SKGQB3IQ.js → doc-graph-extractor-NFERAJNP.js} +5 -5
  163. package/dist/{documents-2TXHQZXN.js → documents-XPHR2T4G.js} +6 -6
  164. package/dist/{dreaming-A5NC7KA4.js → dreaming-U634O7WB.js} +15 -15
  165. package/dist/{entity-boost-3IYDATSI.js → entity-boost-HLFG2CH3.js} +1 -1
  166. package/dist/{exe-drift-NE2QU5I3.js → exe-drift-NBLYKQBQ.js} +3 -3
  167. package/dist/{exe-export-MRZWZCMH.js → exe-export-GZ3FGKES.js} +7 -7
  168. package/dist/{exe-import-DVGM4YTT.js → exe-import-UE7SLARA.js} +7 -7
  169. package/dist/{exe-key-7KNEW6NE.js → exe-key-L6KPM4OV.js} +67 -67
  170. package/dist/{exe-snapshot-6JUWXYJD.js → exe-snapshot-5WEMYMK2.js} +16 -16
  171. package/dist/{fast-db-init-WQX6KZO2.js → fast-db-init-7ZZOVLQI.js} +1 -1
  172. package/dist/{founder-context-Z3R4VSTG.js → founder-context-5OFTZNDO.js} +2 -2
  173. package/dist/gateway/index.js +8 -8
  174. package/dist/{git-staleness-V4D4AKHZ.js → git-staleness-XQJTOSGZ.js} +2 -2
  175. package/dist/{global-procedures-A7ZUK6ET.js → global-procedures-YCJ3JPAP.js} +3 -3
  176. package/dist/{graph-auto-extract-PYZGV2RZ.js → graph-auto-extract-XJN6PQH3.js} +5 -5
  177. package/dist/{graph-rag-OQ5AQWZ6.js → graph-rag-HCQCZ2W7.js} +3 -3
  178. package/dist/{hook-prefetch-3VK4GT35.js → hook-prefetch-BH2BHOUC.js} +12 -12
  179. package/dist/hooks/bug-report-worker.js +14 -14
  180. package/dist/hooks/codex-stop-task-finalizer.js +15 -15
  181. package/dist/hooks/commit-complete.js +14 -14
  182. package/dist/hooks/error-recall.js +8 -8
  183. package/dist/hooks/exe-heartbeat-hook.js +3 -3
  184. package/dist/hooks/ingest.js +6 -6
  185. package/dist/hooks/instructions-loaded.js +4 -4
  186. package/dist/hooks/manifest.json +19 -19
  187. package/dist/hooks/notification.js +4 -4
  188. package/dist/hooks/post-compact.js +13 -13
  189. package/dist/hooks/post-tool-combined.js +9 -9
  190. package/dist/hooks/pre-compact.js +14 -14
  191. package/dist/hooks/pre-tool-use.js +19 -19
  192. package/dist/hooks/prompt-submit.js +28 -28
  193. package/dist/hooks/session-end.js +18 -18
  194. package/dist/hooks/session-start.js +13 -13
  195. package/dist/hooks/stop.js +17 -17
  196. package/dist/hooks/subagent-stop.js +15 -15
  197. package/dist/hooks/summary-worker.js +18 -18
  198. package/dist/index.js +21 -21
  199. package/dist/{installer-J4QCMBW3.js → installer-G3DVMNC6.js} +5 -5
  200. package/dist/{installer-5LP7KZHA.js → installer-YSCUE6MT.js} +5 -5
  201. package/dist/{installer-DWR4AAZ4.js → installer-YTT5OSRL.js} +5 -5
  202. package/dist/{intercom-queue-6AM6LKVK.js → intercom-queue-CTNJG7R5.js} +11 -11
  203. package/dist/lib/cloud-sync.js +10 -10
  204. package/dist/lib/consolidation.js +7 -7
  205. package/dist/lib/database.js +2 -2
  206. package/dist/lib/db-backup.js +1 -1
  207. package/dist/lib/db-write-worker.js +2 -2
  208. package/dist/lib/db.js +2 -2
  209. package/dist/lib/device-registry.js +1 -1
  210. package/dist/lib/employee-templates.js +4 -4
  211. package/dist/lib/employees.js +2 -2
  212. package/dist/lib/exe-daemon.js +57 -57
  213. package/dist/lib/hybrid-search.js +7 -7
  214. package/dist/lib/identity.js +2 -2
  215. package/dist/lib/license.js +2 -2
  216. package/dist/lib/messaging.js +12 -12
  217. package/dist/lib/registry-proxy.js +1 -1
  218. package/dist/lib/reminders.js +3 -3
  219. package/dist/lib/schedules.js +6 -6
  220. package/dist/lib/session-registry.js +4 -4
  221. package/dist/lib/skill-learning.js +7 -7
  222. package/dist/lib/store.js +5 -5
  223. package/dist/lib/task-router.js +3 -3
  224. package/dist/lib/tasks.js +13 -13
  225. package/dist/lib/tmux-routing.js +11 -11
  226. package/dist/lib/token-spend.js +3 -3
  227. package/dist/{license-gate-HG2ZD6OK.js → license-gate-DKYHCAMN.js} +3 -3
  228. package/dist/{license-sync-WW5Q22IP.js → license-sync-JVEXPDHN.js} +2 -2
  229. package/dist/mcp/register-tools.js +66 -66
  230. package/dist/mcp/server.js +67 -67
  231. package/dist/mcp/tools/complete-reminder.js +4 -4
  232. package/dist/mcp/tools/create-reminder.js +4 -4
  233. package/dist/mcp/tools/create-task.js +15 -15
  234. package/dist/mcp/tools/deactivate-behavior.js +8 -8
  235. package/dist/mcp/tools/list-reminders.js +4 -4
  236. package/dist/mcp/tools/list-tasks.js +15 -15
  237. package/dist/mcp/tools/send-message.js +14 -14
  238. package/dist/mcp/tools/update-task.js +14 -14
  239. package/dist/{mcp-http-config-HEB3SN2R.js → mcp-http-config-L5RDDU6P.js} +3 -3
  240. package/dist/{mcp-session-identity-ULE5UEFS.js → mcp-session-identity-FAJY6BIU.js} +11 -11
  241. package/dist/{memory-cards-ILWB7MMB.js → memory-cards-TJY4ZSHF.js} +6 -6
  242. package/dist/{memory-graph-extractor-QHVGFKVG.js → memory-graph-extractor-ZDZ5VQUX.js} +6 -6
  243. package/dist/{memory-poisoning-defense-QCFTRH6A.js → memory-poisoning-defense-EQUQNXRE.js} +2 -2
  244. package/dist/{memory-pressure-watchdog-NQM4LGAK.js → memory-pressure-watchdog-VZHFDEJQ.js} +12 -12
  245. package/dist/{memory-reflection-4INWXZ7N.js → memory-reflection-Q4OT4V55.js} +3 -3
  246. package/dist/{notification-ledger-JVSOHAVM.js → notification-ledger-ST7VOHTW.js} +12 -12
  247. package/dist/{notifications-42Q3H3VC.js → notifications-3NFVADNY.js} +11 -11
  248. package/dist/{orchestration-events-ZZWLYO67.js → orchestration-events-N5FQ4SKU.js} +3 -3
  249. package/dist/{orchestrator-RKOJ7NCH.js → orchestrator-XXCNZ7JX.js} +13 -13
  250. package/dist/{pipeline-router-M6OGSYM6.js → pipeline-router-LNYYGOSK.js} +3 -3
  251. package/dist/{plan-limits-QEKZSBNT.js → plan-limits-VBHKYKSK.js} +5 -5
  252. package/dist/{projection-worker-4AJDBNVS.js → projection-worker-LNYQIPTM.js} +2 -2
  253. package/dist/{prospective-memory-XWXQRQ3Q.js → prospective-memory-3MKUPDVI.js} +2 -2
  254. package/dist/{reranker-SWICYZ5I.js → reranker-334X6AJN.js} +1 -1
  255. package/dist/{retrieval-health-74FIEAAQ.js → retrieval-health-AEEQ5IO6.js} +1 -1
  256. package/dist/{review-polling-KXXWLAPK.js → review-polling-HPY4W5NC.js} +12 -12
  257. package/dist/runtime/index.js +15 -15
  258. package/dist/{session-events-WN56MLQU.js → session-events-F4PCO4D3.js} +12 -12
  259. package/dist/{session-kill-telemetry-UYNCHUHH.js → session-kill-telemetry-LFJLI3NS.js} +12 -12
  260. package/dist/{session-scope-2AQSQT2G.js → session-scope-OVHP3LJX.js} +11 -11
  261. package/dist/{setup-wizard-L7DQ3FWW.js → setup-wizard-TQITUMGJ.js} +1 -1
  262. package/dist/{skill-refinement-6E3OFWN6.js → skill-refinement-XYWEA5KI.js} +3 -3
  263. package/dist/{stack-promote-HO73CEWD.js → stack-promote-BGDGAYKG.js} +4 -4
  264. package/dist/{stack-release-ISVYAENS.js → stack-release-SOIHMI3I.js} +4 -4
  265. package/dist/{stack-update-7X2LZ66Y.js → stack-update-AXFHJRK5.js} +3 -3
  266. package/dist/{steward-gate-YT4P6DJZ.js → steward-gate-R2XWABMV.js} +3 -3
  267. package/dist/{support-inbox-4RZFNMKP.js → support-inbox-IITW66TG.js} +3 -3
  268. package/dist/{task-enforcement-KS56DIGL.js → task-enforcement-AYCGJ6GA.js} +12 -12
  269. package/dist/{task-scope-TFR5W52E.js → task-scope-EK4VS4NA.js} +11 -11
  270. package/dist/{tasks-crud-XGIGE5QE.js → tasks-crud-AM3FI7AN.js} +11 -11
  271. package/dist/{tasks-notify-BWRRTEOU.js → tasks-notify-CQ2DIHXY.js} +12 -12
  272. package/dist/{tasks-review-OB3LE3B5.js → tasks-review-W52QIL5I.js} +11 -11
  273. package/dist/{telemetry-upload-HQGZFGHT.js → telemetry-upload-TQDNSGO7.js} +7 -7
  274. package/dist/{token-budget-Z326CDP3.js → token-budget-DBXHLCMN.js} +3 -3
  275. package/dist/{tool-telemetry-UNHEA5AZ.js → tool-telemetry-UFUTCNE3.js} +1 -1
  276. package/dist/tui/App.js +19 -19
  277. package/dist/{tui-data-IOLP3QRN.js → tui-data-SPSBWVEY.js} +11 -11
  278. package/dist/{update-support-YXDFIVXO.js → update-support-BDPFKWXV.js} +9 -9
  279. package/dist/{work-state-heartbeat-CUGIQ4ME.js → work-state-heartbeat-IQI3LCHN.js} +1 -1
  280. package/dist/{worker-gate-UYBG3GQ7.js → worker-gate-7X3WOWU7.js} +1 -1
  281. package/dist/{workflow-engine-NNJQCR7C.js → workflow-engine-I3YGQOB5.js} +2 -2
  282. package/dist/{worktree-LIYWT45F.js → worktree-EUYBBABA.js} +4 -4
  283. package/dist/{worktree-sweep-MUGEIGQF.js → worktree-sweep-LSKFA2PK.js} +5 -5
  284. package/package.json +1 -1
  285. package/release-notes.json +16 -16
  286. package/dist/chunk-AB4PAQYK.js +0 -123
  287. /package/dist/{chunk-VRTQLHUV.js → chunk-6SAQSXT2.js} +0 -0
  288. /package/dist/{chunk-WN555JAG.js → chunk-A627QFOE.js} +0 -0
  289. /package/dist/{chunk-EF5E4VTG.js → chunk-D6MWP56U.js} +0 -0
  290. /package/dist/{chunk-LQ47R57X.js → chunk-G2MXTLOD.js} +0 -0
  291. /package/dist/{chunk-DDTMQXGQ.js → chunk-GNGVBO5E.js} +0 -0
  292. /package/dist/{chunk-4THX6YGB.js → chunk-HABPXFHZ.js} +0 -0
  293. /package/dist/{chunk-NZKDLBMW.js → chunk-HMBMHZ3S.js} +0 -0
  294. /package/dist/{chunk-SMN6EF66.js → chunk-IHKRHGKT.js} +0 -0
  295. /package/dist/{chunk-JG7PCQ2F.js → chunk-QA77JMBW.js} +0 -0
  296. /package/dist/{chunk-EV3IKPFN.js → chunk-RFVOCOIF.js} +0 -0
  297. /package/dist/{chunk-QUDC4567.js → chunk-VML2UQK7.js} +0 -0
  298. /package/dist/{chunk-G2NXLTED.js → chunk-YR2T2GBJ.js} +0 -0
  299. /package/dist/{core-memory-PCNPKQ3I.js → core-memory-RO3MHRQR.js} +0 -0
  300. /package/dist/{memory-isolation-RJJI3MDS.js → memory-isolation-KOQXJXZF.js} +0 -0
  301. /package/dist/{oauth-server-C3EVNZZH.js → oauth-server-JELOVN5D.js} +0 -0
  302. /package/dist/{project-boot-DP2VMAWA.js → project-boot-LQ4CF6BI.js} +0 -0
  303. /package/dist/{wiki-acl-RL64TBN4.js → wiki-acl-VR4AFJ3T.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  createTask
3
- } from "./chunk-Y22JE2LU.js";
3
+ } from "./chunk-EITFV752.js";
4
4
  import {
5
5
  getActiveAgent
6
- } from "./chunk-HD22THYS.js";
6
+ } from "./chunk-YNYISUMW.js";
7
7
  import {
8
8
  ensureEmployeeAsync,
9
9
  isValidSessionScope,
10
10
  logTaskDispatch,
11
11
  resolveExeSession
12
- } from "./chunk-MR6EAVJ7.js";
12
+ } from "./chunk-LTXJWL6R.js";
13
13
  import {
14
14
  recordOrchestrationEventBestEffort
15
- } from "./chunk-7OQMDEMC.js";
15
+ } from "./chunk-X4EDW3FH.js";
16
16
  import {
17
17
  releaseDispatchClaim,
18
18
  tryAcquireDispatchClaim,
@@ -25,13 +25,13 @@ import {
25
25
  } from "./chunk-VAY6IXWY.js";
26
26
  import {
27
27
  getLicenseSync
28
- } from "./chunk-E5U4MIWC.js";
28
+ } from "./chunk-4GGP4Q5N.js";
29
29
  import {
30
30
  getAgentContext
31
31
  } from "./chunk-GJV3WDWM.js";
32
32
  import {
33
33
  isCoordinatorName
34
- } from "./chunk-NKAE3TSO.js";
34
+ } from "./chunk-M5DPPJLS.js";
35
35
 
36
36
  // src/mcp/tools/create-task.ts
37
37
  import { z } from "zod";
@@ -718,7 +718,7 @@ function registerCreateTask(server) {
718
718
  session_scope: sessionScope,
719
719
  created_at: (/* @__PURE__ */ new Date()).toISOString()
720
720
  }), "utf-8");
721
- const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-ZZWLYO67.js");
721
+ const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-N5FQ4SKU.js");
722
722
  recordOE({
723
723
  eventType: "signal.created",
724
724
  source: "create-task.mcp",
@@ -750,7 +750,7 @@ function registerCreateTask(server) {
750
750
  let projectConflictOpts = {};
751
751
  try {
752
752
  const { getClient } = await import("./lib/database.js");
753
- const { sessionScopeFilter } = await import("./task-scope-TFR5W52E.js");
753
+ const { sessionScopeFilter } = await import("./task-scope-EK4VS4NA.js");
754
754
  const client = getClient();
755
755
  const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
756
756
  const existing = await client.execute({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listBehaviors
3
- } from "./chunk-U2ZY37YM.js";
3
+ } from "./chunk-LBA6V4L2.js";
4
4
  import {
5
5
  loadConfigSync
6
6
  } from "./chunk-BCZF3AGJ.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  getActiveAgent
3
- } from "./chunk-HD22THYS.js";
3
+ } from "./chunk-YNYISUMW.js";
4
4
  import {
5
5
  listTasks
6
- } from "./chunk-MR6EAVJ7.js";
6
+ } from "./chunk-LTXJWL6R.js";
7
7
  import {
8
8
  getAgentContext
9
9
  } from "./chunk-GJV3WDWM.js";
10
10
  import {
11
11
  isCoordinatorName
12
- } from "./chunk-NKAE3TSO.js";
12
+ } from "./chunk-M5DPPJLS.js";
13
13
 
14
14
  // src/mcp/tools/list-tasks.ts
15
15
  import { z } from "zod";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeAction,
3
3
  substituteTemplate
4
- } from "./chunk-EF5E4VTG.js";
4
+ } from "./chunk-D6MWP56U.js";
5
5
 
6
6
  // src/automation/workflow-engine.ts
7
7
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-MR6EAVJ7.js";
3
+ } from "./chunk-LTXJWL6R.js";
4
4
 
5
5
  // src/lib/git-task-sweep.ts
6
6
  import { execSync } from "child_process";
@@ -238,7 +238,7 @@ async function sweepTasks(projectName, options = {}) {
238
238
  }
239
239
  if (!dryRun) {
240
240
  try {
241
- const { updateTaskStatus } = await import("./tasks-crud-XGIGE5QE.js");
241
+ const { updateTaskStatus } = await import("./tasks-crud-AM3FI7AN.js");
242
242
  await updateTaskStatus({
243
243
  taskId: task.id,
244
244
  status: "needs_review",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-MR6EAVJ7.js";
3
+ } from "./chunk-LTXJWL6R.js";
4
4
  import {
5
5
  leaseExpiryIso
6
6
  } from "./chunk-E23LNUWJ.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  formatDegradations,
3
3
  getRetrievalHealth
4
- } from "./chunk-VRTQLHUV.js";
4
+ } from "./chunk-6SAQSXT2.js";
5
5
  import {
6
6
  buildRestartReport,
7
7
  formatRestartReport
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-OTVEIJUQ.js";
21
21
  import {
22
22
  offloadReadIfMain
23
- } from "./chunk-NKAE3TSO.js";
23
+ } from "./chunk-M5DPPJLS.js";
24
24
  import {
25
25
  isMainModule
26
26
  } from "./chunk-6Y4B3QF6.js";
@@ -1023,7 +1023,7 @@ function formatReport(report, flags) {
1023
1023
  return lines.join("\n");
1024
1024
  }
1025
1025
  async function fixNullVectors() {
1026
- const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-UYBG3GQ7.js");
1026
+ const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-7X3WOWU7.js");
1027
1027
  if (!tryAcquireWorkerSlot()) {
1028
1028
  process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
1029
1029
  await new Promise((r) => setTimeout(r, 5e3));
@@ -1209,7 +1209,7 @@ async function main(argv = process.argv.slice(2)) {
1209
1209
  console.log(formatRestartReport(restartReport));
1210
1210
  return emptyAuditReport();
1211
1211
  }
1212
- const { fastDbInit } = await import("./fast-db-init-WQX6KZO2.js");
1212
+ const { fastDbInit } = await import("./fast-db-init-7ZZOVLQI.js");
1213
1213
  const client = await fastDbInit();
1214
1214
  const report = await runAudit(client, flags);
1215
1215
  console.log(formatReport(report, flags));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-NKAE3TSO.js";
3
+ } from "./chunk-M5DPPJLS.js";
4
4
 
5
5
  // src/lib/skill-refinement.ts
6
6
  import crypto from "crypto";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  isExeSession
3
- } from "./chunk-MR6EAVJ7.js";
3
+ } from "./chunk-LTXJWL6R.js";
4
4
  import {
5
5
  recordOrchestrationEventBestEffort
6
- } from "./chunk-7OQMDEMC.js";
6
+ } from "./chunk-X4EDW3FH.js";
7
7
  import {
8
8
  getClient,
9
9
  isCoordinatorName
10
- } from "./chunk-NKAE3TSO.js";
10
+ } from "./chunk-M5DPPJLS.js";
11
11
  import {
12
12
  isDaemonAlive
13
13
  } from "./chunk-7HLWBYH7.js";
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  loadLicense,
10
10
  readCachedLicenseToken
11
- } from "./chunk-YYAAFE2D.js";
11
+ } from "./chunk-4VU2VCEU.js";
12
12
  import {
13
13
  EXE_AI_DIR,
14
14
  loadConfig
@@ -2,7 +2,7 @@ import {
2
2
  dispatchTaskToEmployee,
3
3
  markTaskNotificationsRead,
4
4
  notifyTaskDone
5
- } from "./chunk-ZVDIWVKL.js";
5
+ } from "./chunk-AIFUKWLY.js";
6
6
  import {
7
7
  clearCurrentTask,
8
8
  writeCurrentTask
@@ -16,7 +16,7 @@ import {
16
16
  strictSessionScopeFilter,
17
17
  updateTaskStatus,
18
18
  writeNotification
19
- } from "./chunk-MR6EAVJ7.js";
19
+ } from "./chunk-LTXJWL6R.js";
20
20
  import {
21
21
  getAgentContext
22
22
  } from "./chunk-GJV3WDWM.js";
@@ -27,7 +27,7 @@ import {
27
27
  getClient,
28
28
  getCoordinatorName,
29
29
  isCoordinatorName
30
- } from "./chunk-NKAE3TSO.js";
30
+ } from "./chunk-M5DPPJLS.js";
31
31
 
32
32
  // src/lib/tasks-chain.ts
33
33
  import path from "path";
@@ -62,7 +62,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
62
62
  }
63
63
  if (unblockedRows.rows.length > 0 && !process.env.VITEST) {
64
64
  try {
65
- const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-BWRRTEOU.js");
65
+ const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-CQ2DIHXY.js");
66
66
  const dispatched = /* @__PURE__ */ new Set();
67
67
  for (const ur of unblockedRows.rows) {
68
68
  const assignee = String(ur.assigned_to);
@@ -87,7 +87,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
87
87
  }
88
88
  } catch {
89
89
  try {
90
- const { queueIntercom } = await import("./intercom-queue-6AM6LKVK.js");
90
+ const { queueIntercom } = await import("./intercom-queue-CTNJG7R5.js");
91
91
  const dispatched = /* @__PURE__ */ new Set();
92
92
  for (const ur of unblockedRows.rows) {
93
93
  const assignee = String(ur.assigned_to);
@@ -285,7 +285,7 @@ async function updateTask(input) {
285
285
  try {
286
286
  process.stderr.write(`[tasks] EVENT: tmux delivery failed for reviewer="${reviewer}". Queueing for daemon delivery.
287
287
  `);
288
- const { queueIntercom } = await import("./intercom-queue-6AM6LKVK.js");
288
+ const { queueIntercom } = await import("./intercom-queue-CTNJG7R5.js");
289
289
  const { resolveExeSession } = await import("./lib/tmux-routing.js");
290
290
  const exeSession = row.session_scope ? String(row.session_scope) : resolveExeSession();
291
291
  if (exeSession) {
@@ -329,7 +329,7 @@ async function updateTask(input) {
329
329
  await markTaskNotificationsRead(taskFile);
330
330
  if (isCompletionReviewTransition && !isCoordinator && row.reviewer) {
331
331
  try {
332
- const { writeNotification: writeNotification2 } = await import("./notifications-42Q3H3VC.js");
332
+ const { writeNotification: writeNotification2 } = await import("./notifications-3NFVADNY.js");
333
333
  const reviewer = String(row.reviewer);
334
334
  await writeNotification2({
335
335
  agentId: reviewer,
@@ -119,7 +119,7 @@ function releaseBackfillLock() {
119
119
  }
120
120
  async function getTaskAwareCapacity() {
121
121
  const { getClient } = await import("./lib/database.js");
122
- const { sessionScopeFilter } = await import("./task-scope-TFR5W52E.js");
122
+ const { sessionScopeFilter } = await import("./task-scope-EK4VS4NA.js");
123
123
  const client = getClient();
124
124
  const scope = sessionScopeFilter();
125
125
  const result = await client.execute({
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  isExeSession,
3
3
  strictSessionScopeFilter
4
- } from "./chunk-MR6EAVJ7.js";
4
+ } from "./chunk-LTXJWL6R.js";
5
5
  import {
6
6
  recordOrchestrationEventBestEffort
7
- } from "./chunk-7OQMDEMC.js";
7
+ } from "./chunk-X4EDW3FH.js";
8
8
  import {
9
9
  getProjectName
10
10
  } from "./chunk-OPU3NYOO.js";
11
11
  import {
12
12
  DEFAULT_COORDINATOR_TEMPLATE_NAME,
13
13
  getCoordinatorName
14
- } from "./chunk-NKAE3TSO.js";
14
+ } from "./chunk-M5DPPJLS.js";
15
15
  import {
16
16
  loadConfigSync
17
17
  } from "./chunk-BCZF3AGJ.js";
@@ -260,7 +260,7 @@ function createRealDeps(getClient) {
260
260
  });
261
261
  },
262
262
  createReviewForOrphan: async (task) => {
263
- const { createReviewForCompletedTask } = await import("./tasks-review-OB3LE3B5.js");
263
+ const { createReviewForCompletedTask } = await import("./tasks-review-W52QIL5I.js");
264
264
  const cwd = process.cwd();
265
265
  await createReviewForCompletedTask(
266
266
  task,
@@ -2,7 +2,7 @@ import {
2
2
  getClient,
3
3
  isCoordinatorName,
4
4
  loadEmployeesSync
5
- } from "./chunk-NKAE3TSO.js";
5
+ } from "./chunk-M5DPPJLS.js";
6
6
 
7
7
  // src/lib/steward-gate.ts
8
8
  import crypto from "crypto";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  flushBatch,
6
6
  writeMemory
7
- } from "./chunk-FV3SYKT4.js";
7
+ } from "./chunk-76JXWKJ6.js";
8
8
  import {
9
9
  redactSecrets
10
10
  } from "./chunk-4QCFFW2H.js";
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk-UEXJYSJX.js";
7
7
  import {
8
8
  isCrdtSyncEnabled
9
- } from "./chunk-LQ47R57X.js";
9
+ } from "./chunk-G2MXTLOD.js";
10
10
  import {
11
11
  retryOnDaemonTransportError
12
12
  } from "./chunk-VU2MZ7BP.js";
13
13
  import {
14
14
  GHOST_BEHAVIOR_SQL,
15
15
  isGhostBehaviorRow
16
- } from "./chunk-U2ZY37YM.js";
16
+ } from "./chunk-LBA6V4L2.js";
17
17
  import {
18
18
  decryptSyncBlob,
19
19
  encryptSyncBlob,
@@ -26,10 +26,10 @@ import {
26
26
  loadEmployees,
27
27
  registerBinSymlinks,
28
28
  saveEmployees
29
- } from "./chunk-NKAE3TSO.js";
29
+ } from "./chunk-M5DPPJLS.js";
30
30
  import {
31
31
  loadDeviceId
32
- } from "./chunk-YYAAFE2D.js";
32
+ } from "./chunk-4VU2VCEU.js";
33
33
  import {
34
34
  EXE_AI_DIR
35
35
  } from "./chunk-BCZF3AGJ.js";
@@ -947,7 +947,7 @@ async function cloudSync(config, options) {
947
947
  pullResult = await cloudPull(lastPullVersion, config);
948
948
  if (pullResult.records.length > 0) {
949
949
  if (shouldUseCrdtMergeForCloudSync()) {
950
- const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-74BFXFXP.js");
950
+ const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-2IUU6GZ6.js");
951
951
  initCrdtDoc();
952
952
  importExistingMemories(
953
953
  pullResult.records.map((rec) => ({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-NKAE3TSO.js";
3
+ } from "./chunk-M5DPPJLS.js";
4
4
 
5
5
  // src/lib/token-budget.ts
6
6
  var WARN_THRESHOLD = 0.8;
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  loadLicense,
16
16
  readCachedLicenseToken
17
- } from "./chunk-YYAAFE2D.js";
17
+ } from "./chunk-4VU2VCEU.js";
18
18
 
19
19
  // src/mcp/tools/support-inbox.ts
20
20
  import { z } from "zod";
@@ -212,7 +212,7 @@ async function main(args) {
212
212
  console.log("[health-gate] Starting rollback...");
213
213
  restorePreDeployBackup();
214
214
  try {
215
- const { rollbackStackUpdate, defaultStackPaths } = await import("./stack-update-7X2LZ66Y.js");
215
+ const { rollbackStackUpdate, defaultStackPaths } = await import("./stack-update-AXFHJRK5.js");
216
216
  const paths = defaultStackPaths();
217
217
  await rollbackStackUpdate({
218
218
  manifestRef: paths.manifestRef,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listReminders
3
- } from "./chunk-BBY6XFZI.js";
3
+ } from "./chunk-VPMAC5VB.js";
4
4
 
5
5
  // src/mcp/tools/list-reminders.ts
6
6
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadLicense
3
- } from "./chunk-YYAAFE2D.js";
3
+ } from "./chunk-4VU2VCEU.js";
4
4
 
5
5
  // src/lib/stack-update.ts
6
6
  import { execFileSync, spawnSync } from "child_process";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  recordSessionKill
3
- } from "./chunk-24QNYQQ5.js";
3
+ } from "./chunk-D4OMMYL4.js";
4
4
  import {
5
5
  sessionScopeFilter,
6
6
  verifyPaneAtCapacity,
7
7
  writeNotification
8
- } from "./chunk-MR6EAVJ7.js";
8
+ } from "./chunk-LTXJWL6R.js";
9
9
  import {
10
10
  listSessions
11
- } from "./chunk-DW5STDCA.js";
11
+ } from "./chunk-PM4TIRCR.js";
12
12
  import {
13
13
  getTransport
14
14
  } from "./chunk-UXLO7VHX.js";
15
15
  import {
16
16
  recordOrchestrationEventBestEffort
17
- } from "./chunk-7OQMDEMC.js";
17
+ } from "./chunk-X4EDW3FH.js";
18
18
  import {
19
19
  getClient,
20
20
  isCoordinatorName
21
- } from "./chunk-NKAE3TSO.js";
21
+ } from "./chunk-M5DPPJLS.js";
22
22
 
23
23
  // src/lib/capacity-monitor.ts
24
24
  var CAPACITY_PATTERNS = [
@@ -1,7 +1,9 @@
1
1
  import {
2
2
  buildFtsMatch,
3
+ buildFtsMatchWithModifiers,
4
+ extractFtsModifiers,
3
5
  tokenizeForFts
4
- } from "./chunk-AB4PAQYK.js";
6
+ } from "./chunk-VMHZSZQJ.js";
5
7
  import {
6
8
  attachDocumentMetadata,
7
9
  buildRawVisibilityFilter,
@@ -9,7 +11,7 @@ import {
9
11
  buildSystemStateExclusionFilter,
10
12
  buildWikiScopeFilter,
11
13
  searchMemories
12
- } from "./chunk-FV3SYKT4.js";
14
+ } from "./chunk-76JXWKJ6.js";
13
15
  import {
14
16
  blobToVector
15
17
  } from "./chunk-OTVEIJUQ.js";
@@ -22,7 +24,7 @@ import {
22
24
  } from "./chunk-GJV3WDWM.js";
23
25
  import {
24
26
  getClient
25
- } from "./chunk-NKAE3TSO.js";
27
+ } from "./chunk-M5DPPJLS.js";
26
28
 
27
29
  // src/lib/memory-reads.ts
28
30
  import crypto from "crypto";
@@ -564,7 +566,7 @@ async function hybridSearch(queryText, agentId, options) {
564
566
  let rerankerAvailable = false;
565
567
  if (process.env.EXE_IS_DAEMON === "1") {
566
568
  try {
567
- const { isRerankerAvailable } = await import("./reranker-SWICYZ5I.js");
569
+ const { isRerankerAvailable } = await import("./reranker-334X6AJN.js");
568
570
  rerankerAvailable = isRerankerAvailable();
569
571
  } catch {
570
572
  }
@@ -633,7 +635,7 @@ async function hybridSearch(queryText, agentId, options) {
633
635
  ]).catch(() => []),
634
636
  includeStructuredCards ? (async () => {
635
637
  try {
636
- const { searchMemoryCards } = await import("./memory-cards-ILWB7MMB.js");
638
+ const { searchMemoryCards } = await import("./memory-cards-TJY4ZSHF.js");
637
639
  return await searchMemoryCards(effectiveQuery, agentId, fetchOptions);
638
640
  } catch {
639
641
  return [];
@@ -642,7 +644,7 @@ async function hybridSearch(queryText, agentId, options) {
642
644
  // Reflection insights: patterns, contradictions, summaries across sessions
643
645
  includeStructuredCards ? (async () => {
644
646
  try {
645
- const { searchReflections } = await import("./memory-reflection-4INWXZ7N.js");
647
+ const { searchReflections } = await import("./memory-reflection-Q4OT4V55.js");
646
648
  const insights = await searchReflections(effectiveQuery, agentId, 5, {
647
649
  includeArchived: options?.includeArchived
648
650
  });
@@ -743,7 +745,7 @@ async function hybridSearch(queryText, agentId, options) {
743
745
  let entityBoostRan = false;
744
746
  if (merged.length > 0) {
745
747
  try {
746
- const { applyEntityBoost } = await import("./entity-boost-3IYDATSI.js");
748
+ const { applyEntityBoost } = await import("./entity-boost-HLFG2CH3.js");
747
749
  const boosted = await applyEntityBoost(merged, effectiveQuery, getClient());
748
750
  merged = boosted.results;
749
751
  graphContextMap = boosted.graphContext;
@@ -767,7 +769,7 @@ async function hybridSearch(queryText, agentId, options) {
767
769
  try {
768
770
  let rerankedRecords;
769
771
  if (graphContextMap.size > 0) {
770
- const { rerankWithContext } = await import("./reranker-SWICYZ5I.js");
772
+ const { rerankWithContext } = await import("./reranker-334X6AJN.js");
771
773
  const candidates = merged.map((m) => ({
772
774
  text: m.raw_text,
773
775
  context: graphContextMap.get(m.id)
@@ -775,7 +777,7 @@ async function hybridSearch(queryText, agentId, options) {
775
777
  const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
776
778
  rerankedRecords = scored.map((s) => merged[s.index]);
777
779
  } else {
778
- const { rerank } = await import("./reranker-SWICYZ5I.js");
780
+ const { rerank } = await import("./reranker-334X6AJN.js");
779
781
  rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
780
782
  }
781
783
  if (rerankedRecords.length > 0) {
@@ -1126,10 +1128,13 @@ async function lightweightSearch(queryText, agentId, options) {
1126
1128
  nameTermsSet.add(word.toLowerCase());
1127
1129
  }
1128
1130
  }
1129
- const allTerms = tokenizeForFts(queryText, { maxTerms: 16 }).filter((t) => !FTS_STOP_WORDS.has(t));
1131
+ const { phrases: ftsPhrases, negatives: ftsNegatives, remainder: ftsRemainder } = extractFtsModifiers(queryText);
1132
+ const hasFtsModifiers = ftsPhrases.length > 0 || ftsNegatives.length > 0;
1133
+ const positiveSource = hasFtsModifiers ? ftsRemainder : queryText;
1134
+ const allTerms = tokenizeForFts(positiveSource, { maxTerms: 16 }).filter((t) => !FTS_STOP_WORDS.has(t));
1130
1135
  const contentTerms = allTerms.filter((t) => !nameTermsSet.has(t));
1131
1136
  const terms = daemonSafeFtsTerms(contentTerms.length > 0 ? contentTerms : allTerms);
1132
- if (terms.length === 0) {
1137
+ if (terms.length === 0 && ftsPhrases.length === 0) {
1133
1138
  return (await recentRecords(agentId, options, limit)).map((record) => ({
1134
1139
  ...record,
1135
1140
  _source: record._source ? `${record._source}+recent-fallback` : "recent-fallback"
@@ -1137,19 +1142,36 @@ async function lightweightSearch(queryText, agentId, options) {
1137
1142
  }
1138
1143
  const usePrefixTerms = shouldUseFtsPrefix(terms);
1139
1144
  const useAnd = terms.length >= 3;
1140
- const matchExpr = buildFtsMatch(terms, {
1141
- prefix: usePrefixTerms,
1142
- join: useAnd ? "AND" : "OR",
1143
- columns: ["raw_text", "keywords"]
1144
- });
1145
- const results = await ftsQuery(client, matchExpr, agentId, options, limit);
1146
- const broadOrFallbackIsSafe = !isDaemonProcess() || terms.length < DAEMON_SAFE_FTS_TERM_THRESHOLD;
1147
- if (useAnd && results.length < limit && broadOrFallbackIsSafe) {
1148
- const orExpr = buildFtsMatch(terms, {
1145
+ const buildMatch = (join) => {
1146
+ if (!hasFtsModifiers) {
1147
+ return buildFtsMatch(terms, {
1148
+ prefix: usePrefixTerms,
1149
+ join,
1150
+ columns: ["raw_text", "keywords"]
1151
+ });
1152
+ }
1153
+ try {
1154
+ const composed = buildFtsMatchWithModifiers(terms, {
1155
+ prefix: usePrefixTerms,
1156
+ join,
1157
+ columns: ["raw_text", "keywords"],
1158
+ phrases: ftsPhrases,
1159
+ negatives: ftsNegatives
1160
+ });
1161
+ if (composed) return composed;
1162
+ } catch {
1163
+ }
1164
+ return buildFtsMatch(terms, {
1149
1165
  prefix: usePrefixTerms,
1150
- join: "OR",
1166
+ join,
1151
1167
  columns: ["raw_text", "keywords"]
1152
1168
  });
1169
+ };
1170
+ const matchExpr = buildMatch(useAnd ? "AND" : "OR");
1171
+ const results = await ftsQuery(client, matchExpr, agentId, options, limit);
1172
+ const broadOrFallbackIsSafe = !isDaemonProcess() || terms.length < DAEMON_SAFE_FTS_TERM_THRESHOLD;
1173
+ if (useAnd && results.length < limit && broadOrFallbackIsSafe) {
1174
+ const orExpr = buildMatch("OR");
1153
1175
  const orResults = await ftsQuery(client, orExpr, agentId, options, limit);
1154
1176
  const seen = new Set(results.map((r) => r.id));
1155
1177
  for (const r of orResults) {
@@ -1169,7 +1191,7 @@ async function lightweightSearch(queryText, agentId, options) {
1169
1191
  }
1170
1192
  if (results.length >= 2) {
1171
1193
  try {
1172
- const { recordCoActivations } = await import("./co-activation-YECIJAY4.js");
1194
+ const { recordCoActivations } = await import("./co-activation-5AN2CF23.js");
1173
1195
  const ids = results.slice(0, 10).map((r) => r.id);
1174
1196
  void recordCoActivations(ids).catch((e) => {
1175
1197
  try {
@@ -1185,7 +1207,7 @@ async function lightweightSearch(queryText, agentId, options) {
1185
1207
  }
1186
1208
  if (options?.includeStructuredCards !== true) return results;
1187
1209
  try {
1188
- const { searchMemoryCards } = await import("./memory-cards-ILWB7MMB.js");
1210
+ const { searchMemoryCards } = await import("./memory-cards-TJY4ZSHF.js");
1189
1211
  const cardResults = await searchMemoryCards(queryText, agentId, options);
1190
1212
  if (cardResults.length > 0) {
1191
1213
  return rrfMergeMulti([results, cardResults], limit, RRF_K, [1, 0.85]);
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-2TL5RKMC.js";
5
5
  import {
6
6
  getClient
7
- } from "./chunk-NKAE3TSO.js";
7
+ } from "./chunk-M5DPPJLS.js";
8
8
 
9
9
  // src/lib/global-procedures.ts
10
10
  import { randomUUID } from "crypto";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  vectorToSqlLiteral
3
- } from "./chunk-FV3SYKT4.js";
3
+ } from "./chunk-76JXWKJ6.js";
4
4
  import {
5
5
  blobToVector
6
6
  } from "./chunk-OTVEIJUQ.js";
7
7
  import {
8
8
  getClient
9
- } from "./chunk-NKAE3TSO.js";
9
+ } from "./chunk-M5DPPJLS.js";
10
10
 
11
11
  // src/lib/behaviors.ts
12
12
  import crypto from "crypto";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-WCGNCH3Q.js";
4
4
  import {
5
5
  registerAllTools
6
- } from "./chunk-VKKXVQED.js";
6
+ } from "./chunk-RDN2EAB2.js";
7
7
 
8
8
  // src/mcp/mcp-surface-hash.ts
9
9
  function computeMcpSurfaceHash() {
@@ -248,7 +248,7 @@ async function createBackupAsync(reason = "manual", opts = {}) {
248
248
  }
249
249
  }
250
250
  try {
251
- const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-QHL2YSEA.js");
251
+ const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-7NLKR4S6.js");
252
252
  if (manifestWriteEnabled()) {
253
253
  await writeBackupManifest(backupPath, dbName);
254
254
  }