@askexenow/exe-os 0.9.302 → 0.9.310

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 (311) hide show
  1. package/deploy/compose/.env.example +8 -2
  2. package/deploy/compose/README.md +7 -3
  3. package/deploy/compose/add-routes.sh +107 -0
  4. package/deploy/compose/docker-compose.yml +91 -18
  5. package/deploy/compose/gateway-watchdog.sh +223 -0
  6. package/deploy/compose/generate-env.ts +16 -4
  7. package/deploy/compose/setup.sh +7 -8
  8. package/deploy/stack-manifests/v0.9.json +125 -4
  9. package/dist/{active-agent-ODI6GGVD.js → active-agent-ORX47ZKW.js} +4 -3
  10. package/dist/{active-agent-GGQAP4QE.js → active-agent-S5T2YMOR.js} +4 -3
  11. package/dist/{agentic-ontology-M7T72M6V.js → agentic-ontology-6KBAXLSJ.js} +1 -1
  12. package/dist/{backfill-metadata-GSZP2BEW.js → backfill-metadata-FV7GX6AS.js} +5 -4
  13. package/dist/{behaviors-JM6KFSXL.js → behaviors-47CPEKJ7.js} +6 -5
  14. package/dist/bin/agentic-ontology-backfill.js +6 -5
  15. package/dist/bin/agentic-reflection-backfill.js +7 -6
  16. package/dist/bin/agentic-semantic-label.js +6 -5
  17. package/dist/bin/backfill-conversations.js +8 -7
  18. package/dist/bin/backfill-responses.js +8 -7
  19. package/dist/bin/backfill-vectors.js +10 -9
  20. package/dist/bin/bulk-sync-postgres.js +14 -13
  21. package/dist/bin/cc-doctor.js +5 -4
  22. package/dist/bin/cleanup-stale-review-tasks.js +13 -12
  23. package/dist/bin/cli.js +20 -17
  24. package/dist/bin/deferred-daemon-restart.js +4 -4
  25. package/dist/bin/exe-agent-config.js +3 -2
  26. package/dist/bin/exe-agent.js +12 -11
  27. package/dist/bin/exe-assign.js +10 -9
  28. package/dist/bin/exe-boot.js +21 -20
  29. package/dist/bin/exe-call.js +5 -4
  30. package/dist/bin/exe-cloud.js +14 -13
  31. package/dist/bin/exe-config-dump.js +525 -0
  32. package/dist/bin/exe-dispatch.js +13 -12
  33. package/dist/bin/exe-doctor.js +2 -2
  34. package/dist/bin/exe-export-behaviors.js +8 -7
  35. package/dist/bin/exe-forget.js +7 -6
  36. package/dist/bin/exe-gateway.js +22 -11
  37. package/dist/bin/exe-healthcheck.js +7 -4
  38. package/dist/bin/exe-heartbeat.js +13 -12
  39. package/dist/bin/exe-kill.js +16 -15
  40. package/dist/bin/exe-launch-agent.js +41 -25
  41. package/dist/bin/exe-new-employee.js +9 -8
  42. package/dist/bin/exe-pending-messages.js +14 -13
  43. package/dist/bin/exe-pending-notifications.js +13 -12
  44. package/dist/bin/exe-pending-reviews.js +13 -12
  45. package/dist/bin/exe-preflight.js +108 -0
  46. package/dist/bin/exe-rename.js +5 -4
  47. package/dist/bin/exe-review.js +15 -14
  48. package/dist/bin/exe-search-quality.js +282 -0
  49. package/dist/bin/exe-search.js +6 -5
  50. package/dist/bin/exe-session-cleanup.js +18 -17
  51. package/dist/bin/exe-settings.js +15 -14
  52. package/dist/bin/exe-start-codex.js +13 -12
  53. package/dist/bin/exe-start-opencode.js +9 -8
  54. package/dist/bin/exe-status.js +14 -13
  55. package/dist/bin/exe-support.js +4 -4
  56. package/dist/bin/exe-team.js +4 -3
  57. package/dist/bin/exe-timers.js +237 -0
  58. package/dist/bin/git-sweep.js +14 -13
  59. package/dist/bin/graph-backfill.js +7 -6
  60. package/dist/bin/graph-export.js +6 -5
  61. package/dist/bin/import-history.js +10 -9
  62. package/dist/bin/install-launchd.js +5 -2
  63. package/dist/bin/install.js +16 -15
  64. package/dist/bin/intercom-check.js +4 -4
  65. package/dist/bin/mcp-sessions.js +2 -2
  66. package/dist/bin/orchestration-metrics.js +5 -4
  67. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  68. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  69. package/dist/bin/prune-orphan-chunks.js +43 -10
  70. package/dist/bin/scan-tasks.js +13 -12
  71. package/dist/bin/setup.js +1 -1
  72. package/dist/bin/shard-migrate.js +5 -4
  73. package/dist/bin/stack-update.js +30 -5
  74. package/dist/bin/vps-health-gate.js +1 -1
  75. package/dist/{capability-cards-BCTFKT4G.js → capability-cards-WQVY7WSS.js} +3 -2
  76. package/dist/{capacity-monitor-B4S3XEDO.js → capacity-monitor-BUKYPSWR.js} +14 -13
  77. package/dist/{catchup-brief-I35KHK62.js → catchup-brief-X5IVQAOH.js} +16 -15
  78. package/dist/{chunk-74TUYU5A.js → chunk-255DIG4B.js} +1 -1
  79. package/dist/{chunk-CXKR5Z5F.js → chunk-2EJ636HI.js} +4 -0
  80. package/dist/{chunk-ST3X3YMZ.js → chunk-2NGPZCWX.js} +4 -4
  81. package/dist/{chunk-LD2JKEJT.js → chunk-2NVEKSSP.js} +7 -7
  82. package/dist/{chunk-V6P7TPPA.js → chunk-2UVN2NBN.js} +148 -2
  83. package/dist/{chunk-OZRO37JW.js → chunk-3KH6GXXX.js} +2 -2
  84. package/dist/{chunk-IMJNYREY.js → chunk-43R2GILO.js} +1 -1
  85. package/dist/{chunk-6X2YNVLB.js → chunk-4BANMHJ5.js} +3 -3
  86. package/dist/{chunk-QNJPDIWY.js → chunk-4L4R6AQJ.js} +1 -1
  87. package/dist/{chunk-QWLPAEG5.js → chunk-4Q5VNQTV.js} +3 -3
  88. package/dist/{chunk-VLSYKMCJ.js → chunk-4RJJ5FJ2.js} +14 -2
  89. package/dist/{chunk-4AN6KMVG.js → chunk-5DPE7B7K.js} +1 -1
  90. package/dist/{chunk-H7ZNSQ2E.js → chunk-62UZWGFX.js} +2 -2
  91. package/dist/{chunk-ZQ2QHGWE.js → chunk-66JPZELX.js} +20 -24
  92. package/dist/{chunk-BUGMW7YF.js → chunk-6LNSZADA.js} +11 -11
  93. package/dist/{chunk-PBCRUNIK.js → chunk-6OD2RVIA.js} +492 -157
  94. package/dist/chunk-7ODTYODO.js +350 -0
  95. package/dist/{chunk-5YL4Y27D.js → chunk-7WDIGRSO.js} +1 -1
  96. package/dist/{chunk-WIL6LXNG.js → chunk-AC6DKMVS.js} +1 -1
  97. package/dist/{chunk-HZEAAKCR.js → chunk-B2J3BBJC.js} +3 -3
  98. package/dist/{chunk-LE7CDIOA.js → chunk-BUOMSIXH.js} +1 -1
  99. package/dist/{chunk-XKGNKH6V.js → chunk-DFUCFLZH.js} +1 -1
  100. package/dist/{chunk-U724Z3S3.js → chunk-DKHBMIVE.js} +100 -37
  101. package/dist/{chunk-MY36XDUK.js → chunk-DNFU56ZS.js} +1 -1
  102. package/dist/{chunk-GSWGOGP5.js → chunk-EOS7VPVT.js} +5 -5
  103. package/dist/{chunk-P33JVGSP.js → chunk-FM7XZDZI.js} +1 -1
  104. package/dist/chunk-G6EJKYK3.js +33 -0
  105. package/dist/{chunk-OMCNFTSI.js → chunk-GMZMBLHT.js} +1 -1
  106. package/dist/{chunk-4LZ54YGA.js → chunk-GSY6HL3T.js} +5 -5
  107. package/dist/{chunk-OVKNFTCL.js → chunk-HED6D5KR.js} +132 -21
  108. package/dist/{chunk-ALH6QLYF.js → chunk-HQODUV3G.js} +2 -2
  109. package/dist/{chunk-US64UR5O.js → chunk-IIHE3FNC.js} +3 -3
  110. package/dist/{chunk-H2ISTRWU.js → chunk-IRIPGGGL.js} +1 -1
  111. package/dist/{chunk-Z3EXECOX.js → chunk-ISILDO7P.js} +1 -1
  112. package/dist/{chunk-6ERZFDBS.js → chunk-IZPO6IOZ.js} +1 -1
  113. package/dist/{chunk-W65Z4SJS.js → chunk-J3QZPDNH.js} +1 -1
  114. package/dist/{chunk-3IJCP6ZH.js → chunk-JDYO76PI.js} +1 -1
  115. package/dist/{chunk-ORNKGGFX.js → chunk-JNARUXDC.js} +1 -1
  116. package/dist/{chunk-VME3UH4D.js → chunk-JV225JBX.js} +1 -1
  117. package/dist/{chunk-EI7PBUIA.js → chunk-JZW5AOWI.js} +1 -1
  118. package/dist/{chunk-TLOILHSL.js → chunk-K7KBAJQL.js} +36 -18
  119. package/dist/{chunk-RHMWSUJB.js → chunk-KAVUTP5G.js} +2 -2
  120. package/dist/{chunk-7FNELLMX.js → chunk-KPVVTHPK.js} +8 -8
  121. package/dist/{chunk-35U72CD2.js → chunk-KSMITUGY.js} +3 -3
  122. package/dist/{chunk-D6UICP3C.js → chunk-LMX7UKGX.js} +81 -3
  123. package/dist/{chunk-7ZWC5HVG.js → chunk-MTIJ2NXY.js} +1 -1
  124. package/dist/{chunk-KVHPBQV4.js → chunk-NCC3F6GM.js} +1 -1
  125. package/dist/{chunk-AYMSIV7X.js → chunk-NIZQ3CIS.js} +1 -1
  126. package/dist/{chunk-LTI2DLHY.js → chunk-OBJXZII2.js} +2 -2
  127. package/dist/{chunk-WHOT5NZ7.js → chunk-OR3TAZL3.js} +14 -2
  128. package/dist/{chunk-RQUHAXMM.js → chunk-PHFPIUWU.js} +2 -0
  129. package/dist/{chunk-N76VTMMF.js → chunk-PMEOSD6S.js} +2 -2
  130. package/dist/{chunk-TCJEFW5V.js → chunk-PPXQE7AS.js} +4 -4
  131. package/dist/{chunk-KHZQVLNZ.js → chunk-QE7UVQDP.js} +46 -0
  132. package/dist/{chunk-SXJACGQ5.js → chunk-QEGXNJGR.js} +4 -4
  133. package/dist/{chunk-W3E4VEEJ.js → chunk-RPBTYQKJ.js} +1 -1
  134. package/dist/chunk-RQ7OVXUZ.js +81 -0
  135. package/dist/{chunk-7L2EV3XX.js → chunk-RVXWGPD3.js} +39 -6
  136. package/dist/{chunk-YNALY3SX.js → chunk-RZJ6DXVE.js} +1 -1
  137. package/dist/{chunk-P3SIFDES.js → chunk-SCYWCWKY.js} +16 -4
  138. package/dist/{chunk-7I43GVER.js → chunk-SOT23KWW.js} +3 -3
  139. package/dist/{chunk-T62GAN7I.js → chunk-SPOXL7HF.js} +7 -7
  140. package/dist/{chunk-3YJMI422.js → chunk-TN2YCFQE.js} +4 -4
  141. package/dist/{chunk-YMSWCERY.js → chunk-U63BZI2B.js} +3 -3
  142. package/dist/{chunk-KA5RK5HZ.js → chunk-V42BSVX6.js} +2 -2
  143. package/dist/{chunk-PJTRAFL4.js → chunk-V4BW5HFQ.js} +3 -3
  144. package/dist/{chunk-4FG6IX7U.js → chunk-VFSYVQX4.js} +1 -1
  145. package/dist/chunk-VQRTO7IS.js +290 -0
  146. package/dist/{chunk-OR7J7TIA.js → chunk-VT6P7FV4.js} +1 -1
  147. package/dist/{chunk-BEIYF4NS.js → chunk-W2J2RF5N.js} +3 -3
  148. package/dist/{chunk-Y5ASPRP7.js → chunk-WBJXJ2R4.js} +17 -13
  149. package/dist/chunk-WCGNCH3Q.js +72 -0
  150. package/dist/{chunk-2LJDLQNO.js → chunk-WJ2PZGRV.js} +1 -1
  151. package/dist/{chunk-AAPPSMPH.js → chunk-WZBUKC5N.js} +1 -1
  152. package/dist/{chunk-RO7EXVSJ.js → chunk-X4AFBL4N.js} +1 -1
  153. package/dist/{chunk-BR74NYEF.js → chunk-XV5HRIXG.js} +5 -5
  154. package/dist/chunk-XXJRZ75E.js +43 -0
  155. package/dist/{chunk-VDHUHXFF.js → chunk-XYG722JW.js} +2 -2
  156. package/dist/{chunk-MM7SWUQ4.js → chunk-YB7U4WTY.js} +4 -4
  157. package/dist/{chunk-RMRZXPUU.js → chunk-Z6H6Y4BS.js} +1 -1
  158. package/dist/{token-budget-UMHRRDBT.js → chunk-ZOVHXTGC.js} +2 -9
  159. package/dist/{chunk-HNLBHP6P.js → chunk-ZZXADKAP.js} +3 -3
  160. package/dist/{co-activation-OKAHEMPE.js → co-activation-WN25AJOC.js} +3 -2
  161. package/dist/{co-occurrence-IHSPB53O.js → co-occurrence-YP2Q3OEA.js} +5 -4
  162. package/dist/{code-context-index-KGY4LKCA.js → code-context-index-ZWONKBKX.js} +4 -4
  163. package/dist/{conversation-entity-extractor-KXJSHRGJ.js → conversation-entity-extractor-KYOBXNID.js} +2 -2
  164. package/dist/{crdt-sync-K2G3C6XY.js → crdt-sync-ZFIFL2QM.js} +1 -1
  165. package/dist/{crm-webhook-ERZSQ3CW.js → crm-webhook-DGPHULOO.js} +2 -2
  166. package/dist/{cto-delegation-gate-ZCJ53LBQ.js → cto-delegation-gate-OF2A3TSS.js} +12 -11
  167. package/dist/daemon-auth-N6P2MZAV.js +17 -0
  168. package/dist/{daemon-orchestration-V6HALVDS.js → daemon-orchestration-G4RRTPP7.js} +16 -15
  169. package/dist/daemon-ready-signal-3L2MJT7C.js +13 -0
  170. package/dist/{db-backup-VZHSFUVA.js → db-backup-EORG4LBO.js} +1 -1
  171. package/dist/{doc-graph-extractor-LQ2IFND2.js → doc-graph-extractor-APZS3DFD.js} +5 -4
  172. package/dist/{dreaming-QAKUASYV.js → dreaming-Q4E3WBGY.js} +13 -12
  173. package/dist/{exe-drift-H3UWNFFY.js → exe-drift-CI5R6GUT.js} +4 -3
  174. package/dist/{exe-export-MN5D4JMT.js → exe-export-HQIQASIT.js} +7 -6
  175. package/dist/{exe-import-IFFMEVD7.js → exe-import-ULZK56WC.js} +7 -6
  176. package/dist/{exe-key-RSZC72QK.js → exe-key-ILNSBGRN.js} +5 -4
  177. package/dist/{exe-snapshot-I622MPLS.js → exe-snapshot-RUZTWZOF.js} +16 -15
  178. package/dist/{factory-CTFAGZUA.js → factory-YHQZ6RZZ.js} +14 -6
  179. package/dist/{fast-db-init-QEFVT7Q3.js → fast-db-init-KNJRL7T3.js} +1 -1
  180. package/dist/{founder-context-3SOKEW76.js → founder-context-QCTMEK66.js} +2 -2
  181. package/dist/gateway/index.js +12 -11
  182. package/dist/{git-staleness-E7RPQA5U.js → git-staleness-KIA5YI4H.js} +3 -2
  183. package/dist/{git-task-sweep-D3A2C5BW.js → git-task-sweep-WH6QE7HL.js} +13 -12
  184. package/dist/{global-procedures-POG4V6IK.js → global-procedures-SYZZCGDS.js} +4 -3
  185. package/dist/{graph-auto-extract-E7KALNWA.js → graph-auto-extract-J2TIWZEE.js} +5 -4
  186. package/dist/{graph-rag-3RZN7JR3.js → graph-rag-HITZZ63L.js} +2 -2
  187. package/dist/hooks/bug-report-worker.js +15 -14
  188. package/dist/hooks/codex-stop-task-finalizer.js +15 -14
  189. package/dist/hooks/commit-complete.js +15 -14
  190. package/dist/hooks/error-recall.js +8 -7
  191. package/dist/hooks/exe-heartbeat-hook.js +4 -3
  192. package/dist/hooks/ingest-worker.js +4 -4
  193. package/dist/hooks/ingest.js +8 -7
  194. package/dist/hooks/instructions-loaded.js +5 -4
  195. package/dist/hooks/manifest.json +20 -20
  196. package/dist/hooks/notification.js +5 -4
  197. package/dist/hooks/post-compact.js +14 -13
  198. package/dist/hooks/post-tool-combined.js +7 -7
  199. package/dist/hooks/pre-compact.js +19 -18
  200. package/dist/hooks/pre-tool-use.js +18 -17
  201. package/dist/hooks/prompt-submit.js +28 -27
  202. package/dist/hooks/session-end.js +24 -23
  203. package/dist/hooks/session-start.js +46 -22
  204. package/dist/hooks/stop.js +22 -21
  205. package/dist/hooks/subagent-stop.js +14 -13
  206. package/dist/hooks/summary-worker.js +22 -21
  207. package/dist/index.js +25 -23
  208. package/dist/{installer-IXUX73JN.js → installer-3NB3IBHF.js} +10 -9
  209. package/dist/{installer-RCUPPZ7Y.js → installer-IIJFCTMH.js} +10 -9
  210. package/dist/{installer-HDD6OH5Z.js → installer-PSDYMGN7.js} +7 -6
  211. package/dist/lib/cloud-sync.js +14 -13
  212. package/dist/lib/consolidation.js +8 -7
  213. package/dist/lib/database.js +3 -2
  214. package/dist/lib/db-daemon-client.js +4 -4
  215. package/dist/lib/db.js +3 -2
  216. package/dist/lib/device-registry.js +3 -1
  217. package/dist/lib/embedder.js +4 -4
  218. package/dist/lib/employee-templates.js +5 -4
  219. package/dist/lib/employees.js +3 -2
  220. package/dist/lib/exe-daemon-client.js +3 -3
  221. package/dist/lib/exe-daemon.js +256 -406
  222. package/dist/lib/hybrid-search.js +6 -5
  223. package/dist/lib/identity.js +3 -2
  224. package/dist/lib/license.js +2 -2
  225. package/dist/lib/messaging.js +13 -12
  226. package/dist/lib/reminders.js +4 -3
  227. package/dist/lib/schedules.js +6 -5
  228. package/dist/lib/session-registry.js +5 -4
  229. package/dist/lib/skill-learning.js +7 -6
  230. package/dist/lib/store.js +7 -4
  231. package/dist/lib/task-router.js +4 -3
  232. package/dist/lib/tasks.js +14 -13
  233. package/dist/lib/tmux-routing.js +16 -11
  234. package/dist/lib/token-spend.js +4 -3
  235. package/dist/{license-gate-V2UCK4KJ.js → license-gate-7SDHCJUO.js} +3 -3
  236. package/dist/mcp/register-tools.js +74 -73
  237. package/dist/mcp/server.js +97 -79
  238. package/dist/mcp/tools/complete-reminder.js +5 -4
  239. package/dist/mcp/tools/create-reminder.js +5 -4
  240. package/dist/mcp/tools/create-task.js +16 -15
  241. package/dist/mcp/tools/deactivate-behavior.js +8 -7
  242. package/dist/mcp/tools/list-reminders.js +5 -4
  243. package/dist/mcp/tools/list-tasks.js +16 -15
  244. package/dist/mcp/tools/send-message.js +15 -14
  245. package/dist/mcp/tools/update-task.js +15 -14
  246. package/dist/{mcp-http-config-7LFFPNGV.js → mcp-http-config-QSOVFXHW.js} +4 -3
  247. package/dist/mcp-tool-surface-CSPFXL3F.js +15 -0
  248. package/dist/{memory-cards-BGI6MJRN.js → memory-cards-II67WFL2.js} +3 -2
  249. package/dist/{memory-graph-extractor-DTRRNWHZ.js → memory-graph-extractor-PM4Q2KJG.js} +6 -5
  250. package/dist/{memory-poisoning-defense-MOCWJK6S.js → memory-poisoning-defense-ECXSX7HK.js} +3 -2
  251. package/dist/{memory-queue-client-DD4E5SIZ.js → memory-queue-client-HLURQEV6.js} +4 -4
  252. package/dist/{memory-reflection-UKKTGZYR.js → memory-reflection-PXF6YFDU.js} +3 -2
  253. package/dist/{notifications-AMJ2K3MM.js → notifications-UP7WQGG4.js} +12 -11
  254. package/dist/{orchestration-events-MB4QVHTD.js → orchestration-events-PZLLPCKY.js} +4 -3
  255. package/dist/orchestration-health-read-EJWVUARG.js +191 -0
  256. package/dist/{orchestrator-M7DJH6TN.js → orchestrator-PUT45J4O.js} +14 -13
  257. package/dist/{pipeline-router-4LT5YG5P.js → pipeline-router-5CRWKESM.js} +4 -3
  258. package/dist/{plan-limits-ENS7OJWP.js → plan-limits-SH2NDFNX.js} +6 -5
  259. package/dist/{project-boot-6W5JPGSB.js → project-boot-2TCPDZ4S.js} +25 -1
  260. package/dist/{projection-worker-WWXZK7QD.js → projection-worker-HWY37MNC.js} +2 -2
  261. package/dist/{prospective-memory-VNGLPMS6.js → prospective-memory-FQSVMCGG.js} +3 -2
  262. package/dist/{reranker-6XBS55FA.js → reranker-AALRMGMM.js} +1 -1
  263. package/dist/{retrieval-health-ATX5TIQ2.js → retrieval-health-PNWJSJNG.js} +1 -1
  264. package/dist/{review-polling-E4ALHTQE.js → review-polling-65JZUE3T.js} +13 -12
  265. package/dist/runtime/index.js +24 -22
  266. package/dist/{session-events-3J6APMKN.js → session-events-EJ3OSAA6.js} +13 -12
  267. package/dist/session-kill-telemetry-3HGM7SNQ.js +63 -0
  268. package/dist/{session-scope-E54VIYTJ.js → session-scope-JGDYAMJO.js} +12 -11
  269. package/dist/{setup-wizard-XV736U5D.js → setup-wizard-44LMFM2C.js} +1 -1
  270. package/dist/shared-rate-limit-store-QZPQEVE2.js +80 -0
  271. package/dist/{skill-refinement-FTURVWFN.js → skill-refinement-DUOO6B7V.js} +3 -2
  272. package/dist/{stack-release-JZVTSBJJ.js → stack-release-XYMKU7NT.js} +53 -4
  273. package/dist/{stack-update-BIK2QHOE.js → stack-update-XHQJRJEP.js} +5 -3
  274. package/dist/{steward-gate-YGU4VXPP.js → steward-gate-6NWRDLX2.js} +4 -3
  275. package/dist/{task-enforcement-GY3VTY6L.js → task-enforcement-UOULTGFB.js} +12 -11
  276. package/dist/{task-scope-PYOK7OQ6.js → task-scope-P5STKYAC.js} +12 -11
  277. package/dist/{tasks-crud-HLJEJ2UU.js → tasks-crud-24HMTULR.js} +12 -11
  278. package/dist/{tasks-notify-NGS3DWUJ.js → tasks-notify-LAIU7UUI.js} +13 -12
  279. package/dist/{tasks-review-BP5V2X34.js → tasks-review-AFJAU2DY.js} +12 -11
  280. package/dist/{telemetry-upload-AXYPFAPS.js → telemetry-upload-DWFGC2XJ.js} +8 -7
  281. package/dist/token-budget-4RFZKWGH.js +16 -0
  282. package/dist/{tool-capability-index-RHPVMMDD.js → tool-capability-index-ZEXBWKUZ.js} +1 -1
  283. package/dist/{tool-telemetry-BLSVABFJ.js → tool-telemetry-BS5JXM5M.js} +1 -1
  284. package/dist/tui/App.js +21 -20
  285. package/dist/{tui-data-EYPOFYLS.js → tui-data-UNO5B7PU.js} +12 -11
  286. package/dist/{worker-gate-SMFOBMMX.js → worker-gate-C6CTTYMD.js} +1 -1
  287. package/dist/{workflow-engine-TDJZ3TXB.js → workflow-engine-4W2KYCDV.js} +2 -2
  288. package/dist/{worktree-XISIYRM4.js → worktree-2CXY6NEB.js} +5 -4
  289. package/dist/{worktree-sweep-AS6GAR6X.js → worktree-sweep-K3CJFSUL.js} +6 -5
  290. package/package.json +9 -4
  291. package/release-notes.json +17 -88
  292. package/stack.release.json +51 -4
  293. package/dist/chunk-PHOQAVTK.js +0 -42
  294. package/dist/daemon-auth-BK7ON5ZH.js +0 -13
  295. package/dist/session-kill-telemetry-KOAHLRBT.js +0 -31
  296. package/dist/{chunk-XDE5IGBX.js → chunk-2NS3QRMJ.js} +0 -0
  297. package/dist/{chunk-JTMKRUX6.js → chunk-A2YZG4AD.js} +0 -0
  298. package/dist/{chunk-UZATXREL.js → chunk-AE74NOE6.js} +0 -0
  299. package/dist/{chunk-LUGWK6QB.js → chunk-FF5DA4XP.js} +3 -3
  300. /package/dist/{chunk-BGOMFGSW.js → chunk-GWPICNSO.js} +0 -0
  301. /package/dist/{chunk-NLHUA3YB.js → chunk-I3DPCSDG.js} +0 -0
  302. /package/dist/{chunk-YM3367VC.js → chunk-J3SR5MGG.js} +0 -0
  303. /package/dist/{chunk-FKFVNV7X.js → chunk-K4BKJJ4F.js} +0 -0
  304. /package/dist/{chunk-PTDBHQX7.js → chunk-MQCTK6EF.js} +0 -0
  305. /package/dist/{chunk-GBV5PV5T.js → chunk-QNXM2HXW.js} +0 -0
  306. /package/dist/{chunk-GZSG2ZOX.js → chunk-YUBTHJVV.js} +0 -0
  307. /package/dist/{core-memory-4OM7LR77.js → core-memory-OC5ITKKV.js} +0 -0
  308. /package/dist/{entity-boost-SFHIRXT5.js → entity-boost-NF3LE6OJ.js} +0 -0
  309. /package/dist/{message-queue-client-QTC3VHJT.js → message-queue-client-4VDU6BZY.js} +0 -0
  310. /package/dist/{oauth-server-BPN55EJM.js → oauth-server-EWUL7DMD.js} +0 -0
  311. /package/dist/{wiki-acl-45SIGG4O.js → wiki-acl-CONNF6ES.js} +0 -0
@@ -0,0 +1,108 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ checkDependencyClosure,
4
+ checkDigestPinning,
5
+ checkEnvContract,
6
+ checkNoHardcodedHost,
7
+ checkNoHostNet,
8
+ checkNoLatest,
9
+ resolveDefaultManifest,
10
+ resolveStack,
11
+ runPreflight,
12
+ runPreflightOnManifest
13
+ } from "../chunk-7ODTYODO.js";
14
+ import {
15
+ isMainModule
16
+ } from "../chunk-6Y4B3QF6.js";
17
+ import "../chunk-MLKGABMK.js";
18
+
19
+ // src/bin/exe-preflight.ts
20
+ function printReport(report) {
21
+ const icons = { pass: "\u{1F7E2}", warn: "\u{1F7E0}", fail: "\u{1F534}" };
22
+ const verdictColor = { GREEN: "\x1B[32m", YELLOW: "\x1B[33m", RED: "\x1B[31m" };
23
+ console.log(`
24
+ \x1B[1mStack Preflight\x1B[0m \u2014 ${report.manifestPath} (stack ${report.stackVersion})
25
+ `);
26
+ for (const f of report.findings) {
27
+ console.log(` ${icons[f.status]} ${f.check} [guards ${f.bug}]`);
28
+ console.log(` ${f.message}`);
29
+ }
30
+ console.log(
31
+ `
32
+ ${verdictColor[report.verdict]}\x1B[1m${report.verdict}\x1B[0m (pass ${report.passed} / warn ${report.warned} / fail ${report.failed})
33
+ `
34
+ );
35
+ }
36
+ function printUsage() {
37
+ console.log(`
38
+ Usage: exe-os preflight [manifest-path] [options]
39
+
40
+ Static client-stack preflight \u2014 MUST be GREEN before publishing a manifest and
41
+ during stack-update. Maps every finding to the audit bug it guards.
42
+
43
+ Arguments:
44
+ manifest-path Stack manifest JSON (default: deploy/stack-manifests/v0.9.json)
45
+
46
+ Options:
47
+ --stack <version> Stack version key to check (default: manifest.latest)
48
+ --env <path> Customer .env example (default: deploy/compose/.env.example)
49
+ --compose <path> Customer docker-compose.yml (default: deploy/compose/docker-compose.yml)
50
+ --monitor-compose <p> Monitor/hub compose (default: deploy/monitor/docker-compose.hub.yml)
51
+ --json Emit the full report as JSON
52
+ --help Show this help
53
+
54
+ Checks (static): digest-pinning, no-latest, dependency-closure,
55
+ no-hardcoded-askexe-host, env-contract, no-host-net.
56
+ Exit: 0 GREEN/YELLOW, 1 RED.
57
+ `);
58
+ }
59
+ function runPreflightCli(argv) {
60
+ if (argv.includes("--help") || argv.includes("-h")) {
61
+ printUsage();
62
+ process.exit(0);
63
+ }
64
+ const json = argv.includes("--json");
65
+ const getFlag = (flag) => {
66
+ const i = argv.indexOf(flag);
67
+ return i >= 0 && argv[i + 1] ? argv[i + 1] : void 0;
68
+ };
69
+ const flagsTakingValue = /* @__PURE__ */ new Set(["--stack", "--env", "--compose", "--monitor-compose"]);
70
+ let positional;
71
+ for (let i = 0; i < argv.length; i++) {
72
+ const a = argv[i];
73
+ if (a.startsWith("--")) continue;
74
+ if (i > 0 && flagsTakingValue.has(argv[i - 1])) continue;
75
+ positional = a;
76
+ break;
77
+ }
78
+ const options = {
79
+ manifestPath: positional,
80
+ stackVersion: getFlag("--stack"),
81
+ envExamplePath: getFlag("--env"),
82
+ composePath: getFlag("--compose"),
83
+ monitorComposePath: getFlag("--monitor-compose")
84
+ };
85
+ const report = runPreflight(options);
86
+ if (json) {
87
+ console.log(JSON.stringify(report, null, 2));
88
+ } else {
89
+ printReport(report);
90
+ }
91
+ process.exit(report.verdict === "RED" ? 1 : 0);
92
+ }
93
+ if (isMainModule(import.meta.url) && process.argv[1]?.includes("exe-preflight")) {
94
+ runPreflightCli(process.argv.slice(2));
95
+ }
96
+ export {
97
+ checkDependencyClosure,
98
+ checkDigestPinning,
99
+ checkEnvContract,
100
+ checkNoHardcodedHost,
101
+ checkNoHostNet,
102
+ checkNoLatest,
103
+ resolveDefaultManifest,
104
+ resolveStack,
105
+ runPreflight,
106
+ runPreflightCli,
107
+ runPreflightOnManifest
108
+ };
@@ -1,18 +1,19 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  personalizePrompt
4
- } from "../chunk-6ERZFDBS.js";
5
- import "../chunk-Z3EXECOX.js";
4
+ } from "../chunk-IZPO6IOZ.js";
5
+ import "../chunk-ISILDO7P.js";
6
6
  import "../chunk-VUH67PT4.js";
7
7
  import {
8
8
  loadEmployees,
9
9
  registerBinSymlinks,
10
10
  saveEmployees,
11
11
  validateEmployeeName
12
- } from "../chunk-P3SIFDES.js";
12
+ } from "../chunk-SCYWCWKY.js";
13
13
  import "../chunk-2I23RPSI.js";
14
- import "../chunk-BGOMFGSW.js";
14
+ import "../chunk-GWPICNSO.js";
15
15
  import "../chunk-PNQDP3OA.js";
16
+ import "../chunk-VQRTO7IS.js";
16
17
  import "../chunk-7HLWBYH7.js";
17
18
  import "../chunk-FXU7JOXK.js";
18
19
  import "../chunk-DFIOOK5R.js";
@@ -1,51 +1,52 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  fastDbInit
4
- } from "../chunk-KHZQVLNZ.js";
4
+ } from "../chunk-QE7UVQDP.js";
5
5
  import {
6
6
  flushBatch,
7
7
  writeMemory
8
- } from "../chunk-Y5ASPRP7.js";
8
+ } from "../chunk-WBJXJ2R4.js";
9
9
  import "../chunk-CHCA3ZM2.js";
10
10
  import "../chunk-OTVEIJUQ.js";
11
- import "../chunk-PTDBHQX7.js";
11
+ import "../chunk-MQCTK6EF.js";
12
12
  import "../chunk-Y25OJWOQ.js";
13
13
  import {
14
14
  getCurrentSessionScope,
15
15
  strictSessionScopeFilter
16
- } from "../chunk-OVKNFTCL.js";
17
- import "../chunk-YNALY3SX.js";
16
+ } from "../chunk-HED6D5KR.js";
17
+ import "../chunk-RZJ6DXVE.js";
18
18
  import "../chunk-4JERP7NT.js";
19
19
  import "../chunk-4FVVJ7ME.js";
20
20
  import "../chunk-E23LNUWJ.js";
21
- import "../chunk-2LJDLQNO.js";
21
+ import "../chunk-WJ2PZGRV.js";
22
+ import "../chunk-SSTLTIF3.js";
22
23
  import "../chunk-KOO3J5PV.js";
23
24
  import "../chunk-22TVSRQQ.js";
24
- import "../chunk-SSTLTIF3.js";
25
- import "../chunk-WHOT5NZ7.js";
25
+ import "../chunk-OR3TAZL3.js";
26
26
  import "../chunk-QB5JOGPK.js";
27
27
  import "../chunk-NGP6LSV2.js";
28
- import "../chunk-VDHUHXFF.js";
28
+ import "../chunk-XYG722JW.js";
29
29
  import "../chunk-CVYC6DUW.js";
30
30
  import "../chunk-OPU3NYOO.js";
31
31
  import "../chunk-GJV3WDWM.js";
32
32
  import "../chunk-MP2AFCGL.js";
33
- import "../chunk-AYMSIV7X.js";
33
+ import "../chunk-NIZQ3CIS.js";
34
34
  import "../chunk-HYZV25LY.js";
35
35
  import {
36
36
  getClient,
37
37
  getCoordinatorName,
38
38
  getEmployee,
39
39
  loadEmployees
40
- } from "../chunk-P3SIFDES.js";
40
+ } from "../chunk-SCYWCWKY.js";
41
41
  import "../chunk-2I23RPSI.js";
42
- import "../chunk-BGOMFGSW.js";
42
+ import "../chunk-GWPICNSO.js";
43
43
  import "../chunk-PNQDP3OA.js";
44
+ import "../chunk-VQRTO7IS.js";
44
45
  import "../chunk-7HLWBYH7.js";
45
46
  import "../chunk-FXU7JOXK.js";
46
47
  import "../chunk-Z42MXYWW.js";
47
- import "../chunk-VME3UH4D.js";
48
- import "../chunk-CXKR5Z5F.js";
48
+ import "../chunk-JV225JBX.js";
49
+ import "../chunk-2EJ636HI.js";
49
50
  import "../chunk-DFIOOK5R.js";
50
51
  import "../chunk-65DBIEM2.js";
51
52
  import {
@@ -0,0 +1,282 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ isMainModule
4
+ } from "../chunk-6Y4B3QF6.js";
5
+ import "../chunk-MLKGABMK.js";
6
+
7
+ // src/lib/search-quality-read.ts
8
+ import { readFileSync, statSync } from "fs";
9
+ import { homedir } from "os";
10
+ import { join } from "path";
11
+ function resolveLogPath() {
12
+ return process.env.EXE_SEARCH_LOG_PATH ?? join(homedir(), ".exe-os", "search-quality.jsonl");
13
+ }
14
+ function percentile(sorted, p) {
15
+ if (sorted.length === 0) return 0;
16
+ const idx = Math.min(sorted.length - 1, Math.max(0, Math.ceil(p / 100 * sorted.length) - 1));
17
+ return sorted[idx] ?? 0;
18
+ }
19
+ function toPercentiles(values) {
20
+ if (values.length === 0) return null;
21
+ const sorted = [...values].sort((a, b) => a - b);
22
+ return {
23
+ p50: percentile(sorted, 50),
24
+ p95: percentile(sorted, 95),
25
+ p99: percentile(sorted, 99),
26
+ min: sorted[0] ?? 0,
27
+ max: sorted[sorted.length - 1] ?? 0
28
+ };
29
+ }
30
+ function parseSearchQualityLog(raw) {
31
+ const entries = [];
32
+ let malformed = 0;
33
+ for (const line of raw.split("\n")) {
34
+ const trimmed = line.trim();
35
+ if (trimmed === "") continue;
36
+ try {
37
+ const parsed = JSON.parse(trimmed);
38
+ if (parsed && typeof parsed.timestamp === "string" && parsed.signals) {
39
+ entries.push(parsed);
40
+ } else {
41
+ malformed++;
42
+ }
43
+ } catch {
44
+ malformed++;
45
+ }
46
+ }
47
+ return { entries, malformed };
48
+ }
49
+ function resultCount(e) {
50
+ if (Array.isArray(e.topResults)) return e.topResults.length;
51
+ const s = e.signals;
52
+ return s.fts + s.vector + s.graph + s.cards + s.reflections + s.grep;
53
+ }
54
+ function topScore(e) {
55
+ const first = e.topResults?.find((r) => typeof r.score === "number");
56
+ return first ? first.score : null;
57
+ }
58
+ function buildTrend(sorted, buckets) {
59
+ if (sorted.length === 0) return [];
60
+ const size = Math.max(1, Math.ceil(sorted.length / buckets));
61
+ const points = [];
62
+ for (let i = 0; i < sorted.length; i += size) {
63
+ const slice = sorted.slice(i, i + size);
64
+ if (slice.length === 0) continue;
65
+ const last = slice[slice.length - 1];
66
+ const lat = slice.map((e) => e.latencyMs).filter((n) => Number.isFinite(n));
67
+ const scores = slice.map(topScore).filter((n) => n !== null);
68
+ const lowConf = slice.filter((e) => e.signals.lowConfidence).length;
69
+ points.push({
70
+ until: last.timestamp,
71
+ count: slice.length,
72
+ latencyP50: toPercentiles(lat)?.p50 ?? 0,
73
+ lowConfidenceRate: slice.length ? lowConf / slice.length : 0,
74
+ meanTopScore: scores.length ? scores.reduce((a, b) => a + b, 0) / scores.length : null
75
+ });
76
+ }
77
+ return points;
78
+ }
79
+ function loadSearchQualityReport(opts) {
80
+ const logPath = opts?.path ?? resolveLogPath();
81
+ const trendBuckets = opts?.trendBuckets ?? 6;
82
+ let sizeBytes = 0;
83
+ let exists = false;
84
+ try {
85
+ sizeBytes = statSync(logPath).size;
86
+ exists = true;
87
+ } catch {
88
+ exists = false;
89
+ }
90
+ const empty = {
91
+ logPath,
92
+ exists,
93
+ sizeBytes,
94
+ totalQueries: 0,
95
+ malformedLines: 0,
96
+ firstTimestamp: null,
97
+ lastTimestamp: null,
98
+ latencyMs: null,
99
+ topScore: null,
100
+ lowConfidenceRate: 0,
101
+ zeroResultRate: 0,
102
+ meanResultCount: 0,
103
+ signalCoverage: {
104
+ fts: 0,
105
+ vector: 0,
106
+ graph: 0,
107
+ cards: 0,
108
+ reflections: 0,
109
+ grep: 0,
110
+ reranker: 0,
111
+ selfQueryRouter: 0,
112
+ entityBoost: 0
113
+ },
114
+ trend: []
115
+ };
116
+ if (!exists) return empty;
117
+ let raw;
118
+ try {
119
+ raw = readFileSync(logPath, "utf8");
120
+ } catch {
121
+ return empty;
122
+ }
123
+ const { entries, malformed } = parseSearchQualityLog(raw);
124
+ if (entries.length === 0) {
125
+ return { ...empty, malformedLines: malformed };
126
+ }
127
+ const sorted = [...entries].sort(
128
+ (a, b) => Date.parse(a.timestamp) - Date.parse(b.timestamp)
129
+ );
130
+ const n = sorted.length;
131
+ const latencies = sorted.map((e) => e.latencyMs).filter((v) => Number.isFinite(v));
132
+ const scores = sorted.map(topScore).filter((v) => v !== null);
133
+ const counts = sorted.map(resultCount);
134
+ const lowConf = sorted.filter((e) => e.signals.lowConfidence).length;
135
+ const zeroResult = counts.filter((c) => c === 0).length;
136
+ const cover = (pred) => sorted.filter(pred).length / n;
137
+ return {
138
+ logPath,
139
+ exists: true,
140
+ sizeBytes,
141
+ totalQueries: n,
142
+ malformedLines: malformed,
143
+ firstTimestamp: sorted[0]?.timestamp ?? null,
144
+ lastTimestamp: sorted[n - 1]?.timestamp ?? null,
145
+ latencyMs: toPercentiles(latencies),
146
+ topScore: toPercentiles(scores),
147
+ lowConfidenceRate: lowConf / n,
148
+ zeroResultRate: zeroResult / n,
149
+ meanResultCount: counts.reduce((a, b) => a + b, 0) / n,
150
+ signalCoverage: {
151
+ fts: cover((e) => e.signals.fts > 0),
152
+ vector: cover((e) => e.signals.vector > 0),
153
+ graph: cover((e) => e.signals.graph > 0),
154
+ cards: cover((e) => e.signals.cards > 0),
155
+ reflections: cover((e) => e.signals.reflections > 0),
156
+ grep: cover((e) => e.signals.grep > 0),
157
+ reranker: cover((e) => e.signals.reranker === true),
158
+ selfQueryRouter: cover((e) => e.signals.selfQueryRouter === true),
159
+ entityBoost: cover((e) => e.signals.entityBoost === true)
160
+ },
161
+ trend: buildTrend(sorted, trendBuckets)
162
+ };
163
+ }
164
+ function formatSearchQualityReport(r) {
165
+ const lines = [];
166
+ lines.push("Search Quality Telemetry");
167
+ lines.push("========================");
168
+ lines.push(`Log: ${r.logPath}`);
169
+ if (!r.exists) {
170
+ lines.push("");
171
+ lines.push("No data yet \u2014 search-quality.jsonl does not exist.");
172
+ lines.push("Run some searches (EXE_SEARCH_LOG != 0) to populate it.");
173
+ return lines.join("\n");
174
+ }
175
+ if (r.totalQueries === 0) {
176
+ lines.push(`Size: ${(r.sizeBytes / 1024).toFixed(1)} KB`);
177
+ lines.push("");
178
+ lines.push(
179
+ r.malformedLines > 0 ? `No parseable entries yet (${r.malformedLines} malformed line(s)).` : "No data yet \u2014 the log is empty."
180
+ );
181
+ return lines.join("\n");
182
+ }
183
+ lines.push(`Size: ${(r.sizeBytes / 1024).toFixed(1)} KB`);
184
+ lines.push(`Window: ${r.firstTimestamp} -> ${r.lastTimestamp}`);
185
+ lines.push("");
186
+ lines.push("Overview");
187
+ lines.push("--------");
188
+ const pct = (v) => `${(v * 100).toFixed(1)}%`;
189
+ const ov = [
190
+ ["Queries", String(r.totalQueries)],
191
+ ["Mean results/query", r.meanResultCount.toFixed(2)],
192
+ ["Zero-result rate", pct(r.zeroResultRate)],
193
+ ["Low-confidence rate", pct(r.lowConfidenceRate)]
194
+ ];
195
+ if (r.malformedLines > 0) ov.push(["Malformed lines", String(r.malformedLines)]);
196
+ for (const [k, v] of ov) lines.push(` ${k.padEnd(20)} ${v}`);
197
+ lines.push("");
198
+ lines.push("Latency (ms) p50 p95 p99 min max");
199
+ lines.push("------------");
200
+ if (r.latencyMs) {
201
+ const f = (n) => String(Math.round(n)).padStart(8);
202
+ lines.push(
203
+ ` end-to-end ${f(r.latencyMs.p50)} ${f(r.latencyMs.p95)} ${f(r.latencyMs.p99)} ${f(r.latencyMs.min)} ${f(r.latencyMs.max)}`
204
+ );
205
+ } else {
206
+ lines.push(" (no latency recorded)");
207
+ }
208
+ lines.push("");
209
+ lines.push("Top-1 distance (lower = better)");
210
+ lines.push("------------");
211
+ if (r.topScore) {
212
+ const f = (n) => n.toFixed(4).padStart(9);
213
+ lines.push(
214
+ ` p50 ${f(r.topScore.p50)} p95 ${f(r.topScore.p95)} p99 ${f(r.topScore.p99)} min ${f(r.topScore.min)} max ${f(r.topScore.max)}`
215
+ );
216
+ } else {
217
+ lines.push(" (no scored results \u2014 keyword/graph-only retrieval)");
218
+ }
219
+ lines.push("");
220
+ lines.push("Signal coverage (queries where source contributed >=1 result)");
221
+ lines.push("---------------");
222
+ const c = r.signalCoverage;
223
+ const sc = [
224
+ ["fts", c.fts],
225
+ ["vector", c.vector],
226
+ ["graph", c.graph],
227
+ ["cards", c.cards],
228
+ ["reflections", c.reflections],
229
+ ["grep", c.grep],
230
+ ["reranker", c.reranker],
231
+ ["selfQueryRouter", c.selfQueryRouter],
232
+ ["entityBoost", c.entityBoost]
233
+ ];
234
+ for (const [k, v] of sc) lines.push(` ${k.padEnd(18)} ${pct(v)}`);
235
+ lines.push("");
236
+ lines.push("Trend (oldest -> newest)");
237
+ lines.push("-----");
238
+ lines.push(" until n lat_p50 lowConf meanTop1");
239
+ for (const t of r.trend) {
240
+ const score = t.meanTopScore === null ? " - " : t.meanTopScore.toFixed(4).padStart(8);
241
+ lines.push(
242
+ ` ${t.until.padEnd(24)} ${String(t.count).padStart(3)} ${String(Math.round(t.latencyP50)).padStart(9)} ${pct(t.lowConfidenceRate).padStart(9)} ${score}`
243
+ );
244
+ }
245
+ return lines.join("\n");
246
+ }
247
+
248
+ // src/bin/exe-search-quality.ts
249
+ function parseArgs(argv) {
250
+ const json = argv.includes("--json");
251
+ let buckets;
252
+ let path;
253
+ const bi = argv.indexOf("--buckets");
254
+ if (bi !== -1 && argv[bi + 1]) {
255
+ const n = Number(argv[bi + 1]);
256
+ if (Number.isFinite(n) && n > 0) buckets = Math.floor(n);
257
+ }
258
+ const pi = argv.indexOf("--path");
259
+ if (pi !== -1 && argv[pi + 1]) path = argv[pi + 1];
260
+ return { json, buckets, path };
261
+ }
262
+ function main() {
263
+ const { json, buckets, path } = parseArgs(process.argv.slice(2));
264
+ const report = loadSearchQualityReport({ path, trendBuckets: buckets });
265
+ if (json) {
266
+ console.log(JSON.stringify(report, null, 2));
267
+ return;
268
+ }
269
+ console.log(formatSearchQualityReport(report));
270
+ }
271
+ if (isMainModule(import.meta.url) && process.argv[1]?.includes("exe-search-quality")) {
272
+ try {
273
+ main();
274
+ process.exit(0);
275
+ } catch (err) {
276
+ process.stderr.write(
277
+ `[exe-search-quality] FATAL: ${err instanceof Error ? err.message : String(err)}
278
+ `
279
+ );
280
+ process.exit(1);
281
+ }
282
+ }
@@ -2,20 +2,21 @@
2
2
  import {
3
3
  hybridSearch,
4
4
  lightweightSearch
5
- } from "../chunk-ZQ2QHGWE.js";
5
+ } from "../chunk-66JPZELX.js";
6
6
  import "../chunk-AB4PAQYK.js";
7
7
  import {
8
8
  initStore
9
- } from "../chunk-Y5ASPRP7.js";
9
+ } from "../chunk-WBJXJ2R4.js";
10
10
  import "../chunk-CHCA3ZM2.js";
11
11
  import "../chunk-OTVEIJUQ.js";
12
- import "../chunk-PTDBHQX7.js";
12
+ import "../chunk-MQCTK6EF.js";
13
13
  import "../chunk-Y25OJWOQ.js";
14
14
  import "../chunk-MP2AFCGL.js";
15
- import "../chunk-P3SIFDES.js";
15
+ import "../chunk-SCYWCWKY.js";
16
16
  import "../chunk-2I23RPSI.js";
17
- import "../chunk-BGOMFGSW.js";
17
+ import "../chunk-GWPICNSO.js";
18
18
  import "../chunk-PNQDP3OA.js";
19
+ import "../chunk-VQRTO7IS.js";
19
20
  import "../chunk-7HLWBYH7.js";
20
21
  import "../chunk-FXU7JOXK.js";
21
22
  import "../chunk-Z42MXYWW.js";
@@ -3,46 +3,47 @@ import {
3
3
  flushBatch,
4
4
  initStore,
5
5
  writeMemory
6
- } from "../chunk-Y5ASPRP7.js";
6
+ } from "../chunk-WBJXJ2R4.js";
7
7
  import "../chunk-CHCA3ZM2.js";
8
8
  import "../chunk-OTVEIJUQ.js";
9
- import "../chunk-PTDBHQX7.js";
9
+ import "../chunk-MQCTK6EF.js";
10
10
  import "../chunk-Y25OJWOQ.js";
11
11
  import {
12
12
  sessionScopeFilter,
13
13
  updateTaskStatus
14
- } from "../chunk-OVKNFTCL.js";
15
- import "../chunk-YNALY3SX.js";
14
+ } from "../chunk-HED6D5KR.js";
15
+ import "../chunk-RZJ6DXVE.js";
16
16
  import "../chunk-4JERP7NT.js";
17
17
  import "../chunk-4FVVJ7ME.js";
18
18
  import "../chunk-E23LNUWJ.js";
19
- import "../chunk-2LJDLQNO.js";
19
+ import "../chunk-WJ2PZGRV.js";
20
+ import "../chunk-SSTLTIF3.js";
20
21
  import "../chunk-KOO3J5PV.js";
21
22
  import "../chunk-22TVSRQQ.js";
22
- import "../chunk-SSTLTIF3.js";
23
- import "../chunk-WHOT5NZ7.js";
23
+ import "../chunk-OR3TAZL3.js";
24
24
  import "../chunk-QB5JOGPK.js";
25
25
  import "../chunk-NGP6LSV2.js";
26
- import "../chunk-VDHUHXFF.js";
26
+ import "../chunk-XYG722JW.js";
27
27
  import "../chunk-CVYC6DUW.js";
28
28
  import {
29
29
  getProjectName
30
30
  } from "../chunk-OPU3NYOO.js";
31
31
  import "../chunk-GJV3WDWM.js";
32
32
  import "../chunk-MP2AFCGL.js";
33
- import "../chunk-AYMSIV7X.js";
33
+ import "../chunk-NIZQ3CIS.js";
34
34
  import "../chunk-HYZV25LY.js";
35
35
  import {
36
36
  getClient
37
- } from "../chunk-P3SIFDES.js";
37
+ } from "../chunk-SCYWCWKY.js";
38
38
  import "../chunk-2I23RPSI.js";
39
- import "../chunk-BGOMFGSW.js";
39
+ import "../chunk-GWPICNSO.js";
40
40
  import "../chunk-PNQDP3OA.js";
41
+ import "../chunk-VQRTO7IS.js";
41
42
  import "../chunk-7HLWBYH7.js";
42
43
  import "../chunk-FXU7JOXK.js";
43
44
  import "../chunk-Z42MXYWW.js";
44
- import "../chunk-VME3UH4D.js";
45
- import "../chunk-CXKR5Z5F.js";
45
+ import "../chunk-JV225JBX.js";
46
+ import "../chunk-2EJ636HI.js";
46
47
  import "../chunk-DFIOOK5R.js";
47
48
  import "../chunk-65DBIEM2.js";
48
49
  import "../chunk-MLKGABMK.js";
@@ -147,7 +148,7 @@ try {
147
148
  `
148
149
  );
149
150
  try {
150
- const { createReviewForCompletedTask } = await import("../tasks-review-BP5V2X34.js");
151
+ const { createReviewForCompletedTask } = await import("../tasks-review-AFJAU2DY.js");
151
152
  await createReviewForCompletedTask(
152
153
  {
153
154
  id: String(dt.id),
@@ -218,7 +219,7 @@ try {
218
219
  if (result.rows.length === 0) process.exit(0);
219
220
  let commits = [];
220
221
  try {
221
- const { getRecentCommits } = await import("../git-task-sweep-D3A2C5BW.js");
222
+ const { getRecentCommits } = await import("../git-task-sweep-WH6QE7HL.js");
222
223
  commits = getRecentCommits(30);
223
224
  } catch {
224
225
  }
@@ -231,7 +232,7 @@ try {
231
232
  const context = row.context ? String(row.context) : void 0;
232
233
  if (commits.length > 0) {
233
234
  try {
234
- const { findBestMatch } = await import("../git-task-sweep-D3A2C5BW.js");
235
+ const { findBestMatch } = await import("../git-task-sweep-WH6QE7HL.js");
235
236
  const match = findBestMatch({ id: taskId, title, context }, commits);
236
237
  if (match) {
237
238
  try {
@@ -357,7 +358,7 @@ try {
357
358
  } catch {
358
359
  }
359
360
  try {
360
- const { cleanupWorktree } = await import("../worktree-XISIYRM4.js");
361
+ const { cleanupWorktree } = await import("../worktree-2CXY6NEB.js");
361
362
  const cleanup = cleanupWorktree(process.cwd(), agentName);
362
363
  if (cleanup.cleaned) {
363
364
  process.stderr.write(`[session-cleanup] worktree cleaned: ${cleanup.reason}
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  assertSecureEndpoint
3
- } from "../chunk-T62GAN7I.js";
4
- import "../chunk-FKFVNV7X.js";
5
- import "../chunk-N76VTMMF.js";
3
+ } from "../chunk-SPOXL7HF.js";
4
+ import "../chunk-K4BKJJ4F.js";
5
+ import "../chunk-PMEOSD6S.js";
6
6
  import "../chunk-LO6L5ADL.js";
7
- import "../chunk-MY36XDUK.js";
7
+ import "../chunk-DNFU56ZS.js";
8
8
  import "../chunk-QGGH7LOU.js";
9
- import "../chunk-TCJEFW5V.js";
10
- import "../chunk-PHOQAVTK.js";
11
- import "../chunk-Y5ASPRP7.js";
9
+ import "../chunk-PPXQE7AS.js";
10
+ import "../chunk-RQ7OVXUZ.js";
11
+ import "../chunk-WBJXJ2R4.js";
12
12
  import "../chunk-CHCA3ZM2.js";
13
13
  import "../chunk-OTVEIJUQ.js";
14
- import "../chunk-PTDBHQX7.js";
14
+ import "../chunk-MQCTK6EF.js";
15
15
  import "../chunk-Y25OJWOQ.js";
16
16
  import {
17
17
  DEFAULT_MODELS,
@@ -25,23 +25,24 @@ import {
25
25
  DEFAULT_RUNTIME
26
26
  } from "../chunk-NGP6LSV2.js";
27
27
  import "../chunk-MP2AFCGL.js";
28
+ import "../chunk-RVXWGPD3.js";
28
29
  import "../chunk-7XGDTKHX.js";
29
- import "../chunk-7L2EV3XX.js";
30
30
  import {
31
31
  resolveEmbeddingsEnabled,
32
32
  setEmbeddingsEnabled
33
- } from "../chunk-RQUHAXMM.js";
33
+ } from "../chunk-PHFPIUWU.js";
34
34
  import {
35
35
  loadEmployeesSync
36
- } from "../chunk-P3SIFDES.js";
36
+ } from "../chunk-SCYWCWKY.js";
37
37
  import "../chunk-2I23RPSI.js";
38
- import "../chunk-BGOMFGSW.js";
38
+ import "../chunk-GWPICNSO.js";
39
39
  import "../chunk-PNQDP3OA.js";
40
+ import "../chunk-VQRTO7IS.js";
40
41
  import "../chunk-7HLWBYH7.js";
41
42
  import "../chunk-FXU7JOXK.js";
42
43
  import "../chunk-Z42MXYWW.js";
43
- import "../chunk-VME3UH4D.js";
44
- import "../chunk-CXKR5Z5F.js";
44
+ import "../chunk-JV225JBX.js";
45
+ import "../chunk-2EJ636HI.js";
45
46
  import {
46
47
  loadConfig,
47
48
  saveConfig