@askexenow/exe-os 0.9.276 → 0.9.277
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.
- package/README.md +16 -21
- package/dist/active-agent-66LEIPUR.js +25 -0
- package/dist/active-agent-JCTHHJ2W.js +25 -0
- package/dist/active-agent-JH7BC6KY.js +26 -0
- package/dist/active-agent-LPJYRSTG.js +26 -0
- package/dist/active-agent-NCGJ3QXU.js +25 -0
- package/dist/active-agent-VEQ5SGTO.js +25 -0
- package/dist/active-agent-WJ7QDM72.js +26 -0
- package/dist/active-agent-ZZS2GYB6.js +26 -0
- package/dist/agent-context-3ZUEEDQK.js +9 -0
- package/dist/agent-heartbeat-5GCGY5HX.js +60 -0
- package/dist/agent-loop-4DFCSLOQ.js +10 -0
- package/dist/agent-loop-JUEI3YUS.js +10 -0
- package/dist/agentic-ontology-3OVJM6FA.js +25 -0
- package/dist/agentic-ontology-7KHZKT7S.js +25 -0
- package/dist/agentic-ontology-DBZK5FW7.js +25 -0
- package/dist/agentic-ontology-LNOFKQPG.js +25 -0
- package/dist/asana-NDUKYBVA.js +129 -0
- package/dist/assets/tmux.conf +7 -10
- package/dist/backfill-metadata-DO64RGBD.js +598 -0
- package/dist/backfill-metadata-GO7E4CCU.js +598 -0
- package/dist/backfill-metadata-M6EWLU7C.js +597 -0
- package/dist/backfill-metadata-OTDZ6XCE.js +598 -0
- package/dist/backfill-metadata-PVMQW5QG.js +598 -0
- package/dist/backfill-metadata-QYDB7UWL.js +598 -0
- package/dist/backfill-metadata-R7BNDZ3Y.js +598 -0
- package/dist/backfill-metadata-SKD6ZSDJ.js +598 -0
- package/dist/backfill-metadata-V3JRRFAU.js +597 -0
- package/dist/background-jobs-JL47DHDJ.js +25 -0
- package/dist/bash-M5BS35LM.js +8 -0
- package/dist/behavior-effectiveness-WT3ZATDP.js +344 -0
- package/dist/behaviors-4JYN6S3T.js +32 -0
- package/dist/behaviors-4SW3PTUF.js +32 -0
- package/dist/behaviors-ARYBWFNF.js +32 -0
- package/dist/behaviors-EVFSZMOC.js +32 -0
- package/dist/behaviors-GP45B7ZN.js +32 -0
- package/dist/behaviors-J2PUJFKO.js +32 -0
- package/dist/behaviors-NYUG7FGS.js +25 -0
- package/dist/behaviors-PX3XO42O.js +32 -0
- package/dist/bin/age-ontology-load.js +3 -3
- package/dist/bin/agentic-ontology-backfill.js +10 -9
- package/dist/bin/agentic-reflection-backfill.js +11 -10
- package/dist/bin/agentic-semantic-label.js +10 -9
- package/dist/bin/backfill-conversations.js +11 -10
- package/dist/bin/backfill-responses.js +11 -10
- package/dist/bin/backfill-vectors.js +61 -20
- package/dist/bin/bulk-sync-postgres.js +12 -11
- package/dist/bin/cc-doctor.js +7 -7
- package/dist/bin/cleanup-stale-review-tasks.js +15 -15
- package/dist/bin/cli.js +55 -28
- package/dist/bin/customer-readiness.js +29 -5
- package/dist/bin/deferred-daemon-restart.js +55 -8
- package/dist/bin/exe-agent-config.js +5 -5
- package/dist/bin/exe-agent.js +18 -18
- package/dist/bin/exe-assign.js +18 -13
- package/dist/bin/exe-boot.js +55 -29
- package/dist/bin/exe-call.js +7 -7
- package/dist/bin/exe-cloud.js +14 -12
- package/dist/bin/exe-dispatch.js +15 -15
- package/dist/bin/exe-doctor.js +3 -2
- package/dist/bin/exe-export-behaviors.js +11 -10
- package/dist/bin/exe-forget.js +11 -9
- package/dist/bin/exe-gateway.js +18 -18
- package/dist/bin/exe-healthcheck.js +7 -7
- package/dist/bin/exe-heartbeat.js +16 -16
- package/dist/bin/exe-kill.js +26 -26
- package/dist/bin/exe-launch-agent.js +33 -30
- package/dist/bin/exe-new-employee.js +10 -10
- package/dist/bin/exe-pending-messages.js +16 -16
- package/dist/bin/exe-pending-notifications.js +15 -15
- package/dist/bin/exe-pending-reviews.js +16 -16
- package/dist/bin/exe-rename.js +7 -7
- package/dist/bin/exe-review.js +19 -18
- package/dist/bin/exe-search.js +10 -8
- package/dist/bin/exe-session-cleanup.js +56 -21
- package/dist/bin/exe-settings.js +9 -9
- package/dist/bin/exe-start-codex.js +16 -15
- package/dist/bin/exe-start-opencode.js +12 -11
- package/dist/bin/exe-start.sh +7 -4
- package/dist/bin/exe-status.js +16 -16
- package/dist/bin/exe-support.js +4 -4
- package/dist/bin/exe-team.js +5 -5
- package/dist/bin/git-sweep.js +16 -16
- package/dist/bin/graph-backfill.js +10 -9
- package/dist/bin/graph-export.js +10 -9
- package/dist/bin/graph-layer-benchmark.js +1 -1
- package/dist/bin/import-history.js +14 -10
- package/dist/bin/install.js +149 -42
- package/dist/bin/intercom-check.js +6 -6
- package/dist/bin/list-providers.js +3 -2
- package/dist/bin/mcp-sessions.js +3 -3
- package/dist/bin/orchestration-metrics.js +6 -6
- package/dist/bin/postgres-agentic-reflection-backfill.js +5 -5
- package/dist/bin/postgres-agentic-semantic-backfill.js +4 -4
- package/dist/bin/pre-publish.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +15 -15
- package/dist/bin/setup.js +12 -5
- package/dist/bin/shard-migrate.js +9 -8
- package/dist/bin/stack-update.js +78 -10
- package/dist/bin/update.js +7 -2
- package/dist/bin/verify-stack.js +1 -1
- package/dist/bin/vps-backup.js +1 -1
- package/dist/bin/vps-health-gate.js +2 -2
- package/dist/branding-XF7QRMD4.js +97 -0
- package/dist/browser-sanitizer-VO6G6ZDX.js +229 -0
- package/dist/browser-session-store-AJ5ZYA3O.js +232 -0
- package/dist/capacity-monitor-ATOO7UFK.js +49 -0
- package/dist/capacity-monitor-CBHTNC2K.js +49 -0
- package/dist/capacity-monitor-D3YOKO3Z.js +49 -0
- package/dist/capacity-monitor-E3ORGBTU.js +49 -0
- package/dist/capacity-monitor-KJXWXPO6.js +49 -0
- package/dist/capacity-monitor-M257G26T.js +49 -0
- package/dist/capacity-monitor-P7JOBTQJ.js +49 -0
- package/dist/capacity-monitor-QTNQCKX5.js +49 -0
- package/dist/capacity-monitor-YMVZCELL.js +49 -0
- package/dist/catchup-brief-54VNGPOA.js +153 -0
- package/dist/catchup-brief-C2USUIQH.js +153 -0
- package/dist/catchup-brief-C54K2W5O.js +151 -0
- package/dist/catchup-brief-CET2O432.js +153 -0
- package/dist/catchup-brief-DJHGJRDQ.js +153 -0
- package/dist/catchup-brief-DOG5JJOC.js +153 -0
- package/dist/catchup-brief-DOVP34XL.js +153 -0
- package/dist/catchup-brief-EOSOUDYI.js +153 -0
- package/dist/catchup-brief-NE7Q6DFN.js +153 -0
- package/dist/catchup-brief-PLQ5REJZ.js +151 -0
- package/dist/catchup-brief-QSVMK7HU.js +153 -0
- package/dist/catchup-brief-QZM646YU.js +151 -0
- package/dist/catchup-brief-Z47HRQWE.js +153 -0
- package/dist/chunk-24FBBDZW.js +402 -0
- package/dist/chunk-27KKZKTM.js +363 -0
- package/dist/chunk-2AER4X7O.js +33 -0
- package/dist/chunk-2FR6GC4V.js +81 -0
- package/dist/chunk-2GPNL63V.js +85 -0
- package/dist/chunk-2I4F2LWU.js +347 -0
- package/dist/chunk-2IG3SN4Z.js +836 -0
- package/dist/chunk-2IS5BVJR.js +731 -0
- package/dist/chunk-2LBFTTH7.js +30 -0
- package/dist/chunk-2NWWIE6Q.js +382 -0
- package/dist/chunk-2O2UKMUE.js +92 -0
- package/dist/chunk-2OVYGAE4.js +1068 -0
- package/dist/chunk-2QHA7RAI.js +1597 -0
- package/dist/chunk-2R6XJB2M.js +58 -0
- package/dist/chunk-2RGCBSJO.js +1119 -0
- package/dist/chunk-2S2ZHH72.js +621 -0
- package/dist/chunk-2VL6O6HL.js +204 -0
- package/dist/chunk-2Y3LJCDA.js +668 -0
- package/dist/chunk-34ZL5QNL.js +1179 -0
- package/dist/chunk-3AV2S733.js +284 -0
- package/dist/chunk-3BNGOMKF.js +123 -0
- package/dist/chunk-3BWASDGT.js +81 -0
- package/dist/chunk-3DJBLYSC.js +204 -0
- package/dist/chunk-3DZUAHXH.js +333 -0
- package/dist/chunk-3IR6XFGW.js +630 -0
- package/dist/chunk-3JPIMD3G.js +510 -0
- package/dist/chunk-3KNTAZFW.js +818 -0
- package/dist/chunk-3LDYBHED.js +363 -0
- package/dist/chunk-3OEVDGIY.js +216 -0
- package/dist/chunk-3SNGPBS7.js +551 -0
- package/dist/chunk-3ZQEWJJV.js +290 -0
- package/dist/chunk-427QHA3M.js +668 -0
- package/dist/chunk-42BIRS4S.js +197 -0
- package/dist/chunk-43VQYRJU.js +127 -0
- package/dist/chunk-44OCBNLO.js +539 -0
- package/dist/chunk-4CCAWG37.js +167 -0
- package/dist/chunk-4DPMBKRN.js +58 -0
- package/dist/chunk-4FEDR4MZ.js +204 -0
- package/dist/chunk-4FVVJ7ME.js +193 -0
- package/dist/chunk-4H4HKOE4.js +70 -0
- package/dist/chunk-4HEIWBCQ.js +159 -0
- package/dist/chunk-4KMCIJQO.js +1090 -0
- package/dist/chunk-4LWY2DRY.js +377 -0
- package/dist/chunk-4MIYQQLW.js +157 -0
- package/dist/chunk-4SAWY5QP.js +1090 -0
- package/dist/chunk-4YO2VLHT.js +333 -0
- package/dist/chunk-52X5BQGG.js +56 -0
- package/dist/chunk-56KFNBZQ.js +50 -0
- package/dist/chunk-57AQDEHL.js +562 -0
- package/dist/chunk-57HLPPUR.js +230 -0
- package/dist/chunk-5C7N5MQY.js +731 -0
- package/dist/chunk-5CRUW5P3.js +13745 -0
- package/dist/chunk-5D2REL72.js +85 -0
- package/dist/chunk-5FDE527X.js +128 -0
- package/dist/chunk-5GBOON4R.js +231 -0
- package/dist/chunk-5JAY363D.js +58 -0
- package/dist/chunk-5KTHICDO.js +333 -0
- package/dist/chunk-5MFISAXY.js +376 -0
- package/dist/chunk-5OVQD3I6.js +448 -0
- package/dist/chunk-5PPRX6YB.js +1073 -0
- package/dist/chunk-5QMEXKGM.js +150 -0
- package/dist/chunk-5QWEU2U3.js +230 -0
- package/dist/chunk-5SE35WF5.js +731 -0
- package/dist/chunk-5ZNLPL6I.js +377 -0
- package/dist/chunk-64DSU376.js +50 -0
- package/dist/chunk-64WLXGS5.js +197 -0
- package/dist/chunk-66DGLO3J.js +171 -0
- package/dist/chunk-67TIKMU2.js +123 -0
- package/dist/chunk-6AIR7TG7.js +362 -0
- package/dist/chunk-6DGFLHST.js +456 -0
- package/dist/chunk-6ETC5MNQ.js +2078 -0
- package/dist/chunk-6NFIEJ3D.js +127 -0
- package/dist/chunk-6NJPSDF6.js +214 -0
- package/dist/chunk-6NQA6PTP.js +82 -0
- package/dist/chunk-6OQVLESX.js +4190 -0
- package/dist/chunk-6S7Q6HJK.js +1094 -0
- package/dist/chunk-6SP45XNB.js +363 -0
- package/dist/chunk-6TEPSJS6.js +551 -0
- package/dist/chunk-6V3NJX62.js +377 -0
- package/dist/chunk-6WETKYZQ.js +56 -0
- package/dist/chunk-6XF43GBI.js +197 -0
- package/dist/chunk-6Y7NS6JX.js +30 -0
- package/dist/chunk-6YD3SMHS.js +135 -0
- package/dist/chunk-6ZA2VY6T.js +13884 -0
- package/dist/chunk-73GFIGHE.js +394 -0
- package/dist/chunk-73ULNDS2.js +13745 -0
- package/dist/chunk-73VDNK2K.js +55 -0
- package/dist/chunk-75BXWOOS.js +345 -0
- package/dist/chunk-7AKPANCF.js +127 -0
- package/dist/chunk-7CC4ZR2B.js +244 -0
- package/dist/chunk-7GNB2VRR.js +151 -0
- package/dist/chunk-7GTM6ZIZ.js +227 -0
- package/dist/chunk-7HHODNWF.js +54 -0
- package/dist/chunk-7I2WJIFX.js +345 -0
- package/dist/chunk-7ID5M72W.js +171 -0
- package/dist/chunk-7M546F3F.js +333 -0
- package/dist/chunk-7NMR22YZ.js +89 -0
- package/dist/chunk-7O5LXSG5.js +345 -0
- package/dist/chunk-7QIV6DW7.js +197 -0
- package/dist/chunk-7R6VVC73.js +58 -0
- package/dist/chunk-7UZDDE3A.js +76 -0
- package/dist/chunk-7V2DVUH7.js +210 -0
- package/dist/chunk-7V5H4RED.js +403 -0
- package/dist/chunk-7VTDWARA.js +214 -0
- package/dist/chunk-7W4QORKL.js +244 -0
- package/dist/chunk-7XLUQT2M.js +1148 -0
- package/dist/chunk-7XXK6KGH.js +244 -0
- package/dist/chunk-7Y33Z5AF.js +13907 -0
- package/dist/chunk-7Y72AX73.js +97 -0
- package/dist/chunk-7YOMZG42.js +123 -0
- package/dist/chunk-A3D4LUJ7.js +97 -0
- package/dist/chunk-A54XDOZL.js +299 -0
- package/dist/chunk-A7OAENAP.js +551 -0
- package/dist/chunk-AB4PAQYK.js +123 -0
- package/dist/chunk-ADCNXWYD.js +50 -0
- package/dist/chunk-AEP5ZASD.js +260 -0
- package/dist/chunk-AG2SUE5I.js +76 -0
- package/dist/chunk-AGZTDNKL.js +262 -0
- package/dist/chunk-AHLCBUSE.js +2096 -0
- package/dist/chunk-AKHGOOHE.js +41 -0
- package/dist/chunk-AKNDMCYO.js +227 -0
- package/dist/chunk-AODLTRUV.js +81 -0
- package/dist/chunk-AQVA65YS.js +1090 -0
- package/dist/chunk-ATKV7X6L.js +630 -0
- package/dist/chunk-AYKESCX4.js +97 -0
- package/dist/chunk-AZ2ZTB4X.js +1073 -0
- package/dist/chunk-B2IBUKZE.js +1076 -0
- package/dist/chunk-B54EOLFG.js +1090 -0
- package/dist/chunk-B7OKCHWY.js +128 -0
- package/dist/chunk-B7STYXSM.js +75 -0
- package/dist/chunk-BA4DSSDL.js +290 -0
- package/dist/chunk-BDIW2SWC.js +1090 -0
- package/dist/chunk-BDZGY6NE.js +214 -0
- package/dist/chunk-BGRK66QV.js +89 -0
- package/dist/chunk-BLKJC7ZP.js +13884 -0
- package/dist/chunk-BNF3HAX7.js +85 -0
- package/dist/chunk-BNFJPW74.js +76 -0
- package/dist/chunk-BRLNOQ5X.js +363 -0
- package/dist/chunk-BT4SXS3L.js +387 -0
- package/dist/chunk-BWRQCODJ.js +363 -0
- package/dist/chunk-BZ47KTJP.js +668 -0
- package/dist/chunk-BZFAQXGO.js +185 -0
- package/dist/chunk-C3IND52T.js +3948 -0
- package/dist/chunk-C4ERV6GK.js +42 -0
- package/dist/chunk-CACT44QP.js +197 -0
- package/dist/chunk-CBJIFXLQ.js +97 -0
- package/dist/chunk-CBZGOB6K.js +89 -0
- package/dist/chunk-CC26AUFB.js +2078 -0
- package/dist/chunk-CDJZKLOF.js +394 -0
- package/dist/chunk-CGDPG3RS.js +171 -0
- package/dist/chunk-CI7FZMWH.js +1076 -0
- package/dist/chunk-CIVHLHHX.js +127 -0
- package/dist/chunk-CJNNVL4S.js +204 -0
- package/dist/chunk-CKXJKYYC.js +75 -0
- package/dist/chunk-CMCYL2JC.js +155 -0
- package/dist/chunk-CMWFSVLS.js +244 -0
- package/dist/chunk-COES3XSI.js +204 -0
- package/dist/chunk-CQ7OSDAZ.js +2078 -0
- package/dist/chunk-CRRGDN35.js +50 -0
- package/dist/chunk-CTH7YFD5.js +197 -0
- package/dist/chunk-CUH43MQI.js +377 -0
- package/dist/chunk-CXGYHSTJ.js +290 -0
- package/dist/chunk-CXQ2O4OZ.js +448 -0
- package/dist/chunk-D27752SB.js +333 -0
- package/dist/chunk-D3ERCF5Z.js +250 -0
- package/dist/chunk-D3IQYDC7.js +348 -0
- package/dist/chunk-D5HQ2CGU.js +1090 -0
- package/dist/chunk-D7TEMDOB.js +75 -0
- package/dist/chunk-DAQOBQ6G.js +30 -0
- package/dist/chunk-DBHUKYR2.js +58 -0
- package/dist/chunk-DBWXKSYA.js +85 -0
- package/dist/chunk-DCPBWU2H.js +127 -0
- package/dist/chunk-DDVFZEYS.js +448 -0
- package/dist/chunk-DI56MTUR.js +362 -0
- package/dist/chunk-DINRWRSR.js +159 -0
- package/dist/chunk-DLJOBAAP.js +818 -0
- package/dist/chunk-DPHQOCY2.js +403 -0
- package/dist/chunk-DS32WI6J.js +299 -0
- package/dist/chunk-DTOJYY3L.js +1345 -0
- package/dist/chunk-DWBMFE5O.js +1148 -0
- package/dist/chunk-E3F3KHQR.js +297 -0
- package/dist/chunk-E3S2VIEL.js +203 -0
- package/dist/chunk-E56TY3JN.js +1597 -0
- package/dist/chunk-E5G35PKU.js +1021 -0
- package/dist/chunk-E7H7O5U4.js +668 -0
- package/dist/chunk-E7TM3FL3.js +50 -0
- package/dist/chunk-EBCU3UYM.js +377 -0
- package/dist/chunk-ECIWBL3W.js +403 -0
- package/dist/chunk-EDPCNLYH.js +551 -0
- package/dist/chunk-EFDBASIU.js +214 -0
- package/dist/chunk-EFWH3LPO.js +731 -0
- package/dist/chunk-EGEE5267.js +157 -0
- package/dist/chunk-EKPSVC43.js +1068 -0
- package/dist/chunk-ES6MHO3D.js +510 -0
- package/dist/chunk-ESHIRCE7.js +128 -0
- package/dist/chunk-EXQGB4LT.js +290 -0
- package/dist/chunk-EYPTDVVX.js +54 -0
- package/dist/chunk-EZ7AXTA4.js +210 -0
- package/dist/chunk-EZYHMANJ.js +13759 -0
- package/dist/chunk-F4TYLQ2Z.js +262 -0
- package/dist/chunk-F546DZKW.js +2078 -0
- package/dist/chunk-F64DEXED.js +1076 -0
- package/dist/chunk-FAJ35OYH.js +97 -0
- package/dist/chunk-FBEITXWH.js +284 -0
- package/dist/chunk-FF3FDIUX.js +345 -0
- package/dist/chunk-FJ7AOQOJ.js +510 -0
- package/dist/chunk-FKALTHDJ.js +1173 -0
- package/dist/chunk-FL3B5TWW.js +244 -0
- package/dist/chunk-FLGD6PBG.js +539 -0
- package/dist/chunk-FN3BXCBC.js +297 -0
- package/dist/chunk-FPRQ5FFJ.js +510 -0
- package/dist/chunk-FTSXRVDR.js +262 -0
- package/dist/chunk-FUM7MMNF.js +75 -0
- package/dist/chunk-FWRWK3BW.js +167 -0
- package/dist/chunk-FWXQ37AC.js +1179 -0
- package/dist/chunk-FY4KF32G.js +1940 -0
- package/dist/chunk-FYP7C7U5.js +81 -0
- package/dist/chunk-FZ4IWPMH.js +227 -0
- package/dist/chunk-FZD2J4CZ.js +630 -0
- package/dist/chunk-GC7SNA6V.js +280 -0
- package/dist/chunk-GCIRX4XD.js +157 -0
- package/dist/chunk-GCLMPF4V.js +376 -0
- package/dist/chunk-GD6CJMKZ.js +2091 -0
- package/dist/chunk-GHBKLQY5.js +197 -0
- package/dist/chunk-GIFUVNEV.js +836 -0
- package/dist/chunk-GM6MCBIG.js +129 -0
- package/dist/chunk-GORJPWF7.js +333 -0
- package/dist/chunk-GQNJK444.js +128 -0
- package/dist/chunk-GRF6MG44.js +204 -0
- package/dist/chunk-GT5ZNXLO.js +185 -0
- package/dist/chunk-GTO6JPSH.js +1345 -0
- package/dist/chunk-GWONWNR5.js +377 -0
- package/dist/chunk-H3BJ7TYY.js +731 -0
- package/dist/chunk-H3GZ6Q23.js +345 -0
- package/dist/chunk-H6BUEZE7.js +731 -0
- package/dist/chunk-H6T7FQR5.js +1345 -0
- package/dist/chunk-HBUSGLCZ.js +2096 -0
- package/dist/chunk-HC57YON2.js +284 -0
- package/dist/chunk-HINWHX63.js +382 -0
- package/dist/chunk-HIUUSF3Z.js +284 -0
- package/dist/chunk-HIW2F33I.js +333 -0
- package/dist/chunk-HKMCZIKY.js +1119 -0
- package/dist/chunk-HKUDN7ZE.js +128 -0
- package/dist/chunk-HKXZ7CMP.js +81 -0
- package/dist/chunk-HMBELYNC.js +89 -0
- package/dist/chunk-HPX6N22J.js +76 -0
- package/dist/chunk-HSMBXYS5.js +159 -0
- package/dist/chunk-I2HPT3Z6.js +127 -0
- package/dist/chunk-I5IRWQEZ.js +204 -0
- package/dist/chunk-I7ZQVKQB.js +230 -0
- package/dist/chunk-IATEXT4R.js +3556 -0
- package/dist/chunk-IBQPDEPS.js +1119 -0
- package/dist/chunk-IDR7OARV.js +2113 -0
- package/dist/chunk-IENTMIBK.js +171 -0
- package/dist/chunk-IFOAFOVG.js +150 -0
- package/dist/chunk-IGNKHNAX.js +128 -0
- package/dist/chunk-IH6FJKII.js +362 -0
- package/dist/chunk-IHCMWFOI.js +348 -0
- package/dist/chunk-IIDD7OKH.js +54 -0
- package/dist/chunk-IIEJU2UJ.js +58 -0
- package/dist/chunk-IJYGU3RL.js +1076 -0
- package/dist/chunk-IKBOMF3W.js +448 -0
- package/dist/chunk-IKT4KQXB.js +128 -0
- package/dist/chunk-IQG6M2IV.js +128 -0
- package/dist/chunk-IRA45GFY.js +76 -0
- package/dist/chunk-IS46HZ6Z.js +33 -0
- package/dist/chunk-IULPSI5N.js +362 -0
- package/dist/chunk-IYCNQ776.js +4190 -0
- package/dist/chunk-J2EOGI66.js +250 -0
- package/dist/chunk-J3G7CG5U.js +1352 -0
- package/dist/chunk-J5BSWHFW.js +573 -0
- package/dist/chunk-J5XVJP2K.js +1119 -0
- package/dist/chunk-J6AGQTYF.js +1300 -0
- package/dist/chunk-J7F5GX7V.js +250 -0
- package/dist/chunk-JCZTUQRL.js +526 -0
- package/dist/chunk-JEP4T2SE.js +346 -0
- package/dist/chunk-JF2QOP4Y.js +363 -0
- package/dist/chunk-JHEWULYC.js +369 -0
- package/dist/chunk-JI3JDOO7.js +244 -0
- package/dist/chunk-JJO34C2H.js +377 -0
- package/dist/chunk-JLNXT57O.js +3200 -0
- package/dist/chunk-JM3W7VQF.js +106 -0
- package/dist/chunk-JNPJIC2C.js +510 -0
- package/dist/chunk-JPNZKEA7.js +240 -0
- package/dist/chunk-JRLNE3T2.js +133 -0
- package/dist/chunk-JSTW345C.js +1345 -0
- package/dist/chunk-JUSURN5O.js +13810 -0
- package/dist/chunk-JXA7BQYK.js +562 -0
- package/dist/chunk-JYW6VBNW.js +38 -0
- package/dist/chunk-K3FO5GIC.js +33 -0
- package/dist/chunk-K44R6TE7.js +1179 -0
- package/dist/chunk-K6ZDION2.js +13759 -0
- package/dist/chunk-K6ZU7HDE.js +128 -0
- package/dist/chunk-KBNMVPDE.js +690 -0
- package/dist/chunk-KCBH2GDF.js +214 -0
- package/dist/chunk-KDNFFRML.js +221 -0
- package/dist/chunk-KFVD6XWS.js +129 -0
- package/dist/chunk-KNC7CJEW.js +214 -0
- package/dist/chunk-KTNOLBA3.js +58 -0
- package/dist/chunk-L7FIWWCQ.js +76 -0
- package/dist/chunk-L7T4JRTJ.js +3200 -0
- package/dist/chunk-LA4VDGY2.js +81 -0
- package/dist/chunk-LAAB5EOU.js +380 -0
- package/dist/chunk-LCAOU6FP.js +290 -0
- package/dist/chunk-LDFMTAUB.js +362 -0
- package/dist/chunk-LE4B4G7E.js +1704 -0
- package/dist/chunk-LEVB4MS5.js +128 -0
- package/dist/chunk-LGEJHEI4.js +76 -0
- package/dist/chunk-LJ4X65MY.js +171 -0
- package/dist/chunk-LJOSW65B.js +221 -0
- package/dist/chunk-LKHVY5T3.js +1921 -0
- package/dist/chunk-LMHSLS7E.js +54 -0
- package/dist/chunk-LO6L5ADL.js +76 -0
- package/dist/chunk-LPM6BFCI.js +668 -0
- package/dist/chunk-LVK63ORA.js +81 -0
- package/dist/chunk-LWXF5ZH7.js +159 -0
- package/dist/chunk-M2C2Y5XK.js +1148 -0
- package/dist/chunk-M2SJ47QU.js +75 -0
- package/dist/chunk-M56AH6RW.js +448 -0
- package/dist/chunk-MDZUD5XS.js +157 -0
- package/dist/chunk-MFKRSCKB.js +128 -0
- package/dist/chunk-MJGJPQQK.js +54 -0
- package/dist/chunk-MJM4LWIL.js +348 -0
- package/dist/chunk-MO2SQPXM.js +402 -0
- package/dist/chunk-MOM6Y4G7.js +85 -0
- package/dist/chunk-MPTJ3VZ5.js +1090 -0
- package/dist/chunk-MUEKW5VE.js +214 -0
- package/dist/chunk-MVLTH55Y.js +668 -0
- package/dist/chunk-MX7DHYSC.js +133 -0
- package/dist/chunk-MYCA7ZJK.js +97 -0
- package/dist/chunk-MYP3IJC2.js +363 -0
- package/dist/chunk-N3IFYZLZ.js +210 -0
- package/dist/chunk-N3ULIVDL.js +363 -0
- package/dist/chunk-N4GTC3LL.js +382 -0
- package/dist/chunk-N4SNGJBN.js +1173 -0
- package/dist/chunk-N7BYUAHY.js +244 -0
- package/dist/chunk-NBGJVFQQ.js +382 -0
- package/dist/chunk-NC3RMVFZ.js +1051 -0
- package/dist/chunk-NGQL5CIL.js +1119 -0
- package/dist/chunk-NGSDGMKJ.js +70 -0
- package/dist/chunk-NJYRZZPW.js +836 -0
- package/dist/chunk-NLL3KI4Q.js +290 -0
- package/dist/chunk-NMSRDICL.js +510 -0
- package/dist/chunk-NOYW4CG2.js +58 -0
- package/dist/chunk-NRX6QNZW.js +230 -0
- package/dist/chunk-NWA4N36I.js +1921 -0
- package/dist/chunk-NWQEQVE4.js +97 -0
- package/dist/chunk-NZBZICLM.js +30 -0
- package/dist/chunk-O4DZIRYO.js +13907 -0
- package/dist/chunk-O7CSLCCS.js +128 -0
- package/dist/chunk-O7NHFUQA.js +13900 -0
- package/dist/chunk-ODGR4AYQ.js +214 -0
- package/dist/chunk-OE7D2FHD.js +210 -0
- package/dist/chunk-OF22ERHW.js +58 -0
- package/dist/chunk-OHHLHFSE.js +290 -0
- package/dist/chunk-OIDMCK47.js +250 -0
- package/dist/chunk-OKQ6GTJG.js +284 -0
- package/dist/chunk-OR4JAGFA.js +97 -0
- package/dist/chunk-OTVEIJUQ.js +22 -0
- package/dist/chunk-OTXKMOJ7.js +258 -0
- package/dist/chunk-OVXYP4PC.js +731 -0
- package/dist/chunk-OZ6ECOGL.js +13745 -0
- package/dist/chunk-P36R3JCT.js +731 -0
- package/dist/chunk-P55FPLOG.js +348 -0
- package/dist/chunk-P73F2MXS.js +128 -0
- package/dist/chunk-PAPQOO4S.js +70 -0
- package/dist/chunk-PARMEBCG.js +1076 -0
- package/dist/chunk-PCHTYFMF.js +1119 -0
- package/dist/chunk-PEHOG4T4.js +377 -0
- package/dist/chunk-PHMBHJJT.js +262 -0
- package/dist/chunk-PLTTSDSS.js +89 -0
- package/dist/chunk-PLYFTPOM.js +551 -0
- package/dist/chunk-PM6U6XPX.js +551 -0
- package/dist/chunk-PPLG2EIO.js +4190 -0
- package/dist/chunk-PR4XTDPM.js +3961 -0
- package/dist/chunk-PSKLMMM4.js +97 -0
- package/dist/chunk-PTGNAG64.js +668 -0
- package/dist/chunk-Q42QJRXM.js +668 -0
- package/dist/chunk-Q4CXVSMO.js +495 -0
- package/dist/chunk-Q4DSFR7Z.js +89 -0
- package/dist/chunk-Q55ZVW3T.js +85 -0
- package/dist/chunk-QAFPHTZX.js +1090 -0
- package/dist/chunk-QC2P5DML.js +836 -0
- package/dist/chunk-QCAOFKS3.js +97 -0
- package/dist/chunk-QCDTLQ47.js +75 -0
- package/dist/chunk-QDVGNYPS.js +240 -0
- package/dist/chunk-QFKQVTGA.js +38 -0
- package/dist/chunk-QJS6KKPB.js +54 -0
- package/dist/chunk-QMRHVWVG.js +539 -0
- package/dist/chunk-QNXEOU4N.js +1345 -0
- package/dist/chunk-QOK2QDW4.js +89 -0
- package/dist/chunk-QOWVOLWP.js +1345 -0
- package/dist/chunk-QPP6RTSO.js +129 -0
- package/dist/chunk-QRYYBFXG.js +70 -0
- package/dist/chunk-QXKDVF4N.js +836 -0
- package/dist/chunk-QYH2YHCH.js +284 -0
- package/dist/chunk-QZGVVTAN.js +250 -0
- package/dist/chunk-RDG733SE.js +85 -0
- package/dist/chunk-REGLESOJ.js +190 -0
- package/dist/chunk-RGYOSJQU.js +127 -0
- package/dist/chunk-RJWWFCS2.js +284 -0
- package/dist/chunk-RKTH342D.js +231 -0
- package/dist/chunk-RLOLC5OP.js +1090 -0
- package/dist/chunk-RM4TC5N5.js +1076 -0
- package/dist/chunk-RMNDZZG4.js +56 -0
- package/dist/chunk-RNPRULSY.js +402 -0
- package/dist/chunk-ROXPI6LI.js +290 -0
- package/dist/chunk-RRMXAR5E.js +377 -0
- package/dist/chunk-RSTJTQAR.js +123 -0
- package/dist/chunk-RTRL3H6R.js +394 -0
- package/dist/chunk-RV3BP7XM.js +167 -0
- package/dist/chunk-RV6DRGN7.js +13907 -0
- package/dist/chunk-RV7F4DAF.js +171 -0
- package/dist/chunk-RVGSVTE4.js +244 -0
- package/dist/chunk-RVHEST6Y.js +81 -0
- package/dist/chunk-RVQZUJC2.js +33 -0
- package/dist/chunk-RXSL6VMA.js +244 -0
- package/dist/chunk-SEJZKEQ2.js +382 -0
- package/dist/chunk-SFETK2K4.js +539 -0
- package/dist/chunk-SIAA4J6H.js +21 -0
- package/dist/chunk-SIR6JZV2.js +227 -0
- package/dist/chunk-SMTJ6XC6.js +56 -0
- package/dist/chunk-SOJDYRAV.js +97 -0
- package/dist/chunk-SSTLTIF3.js +282 -0
- package/dist/chunk-SWPM3OVT.js +185 -0
- package/dist/chunk-SY75INUL.js +69 -0
- package/dist/chunk-SYBHCD5Y.js +1352 -0
- package/dist/chunk-T363PS4E.js +13884 -0
- package/dist/chunk-T3DB2L7D.js +447 -0
- package/dist/chunk-T3NGHPYQ.js +551 -0
- package/dist/chunk-TC4DSSCG.js +54 -0
- package/dist/chunk-TFJMUHHT.js +240 -0
- package/dist/chunk-THJ7W7P5.js +604 -0
- package/dist/chunk-TKH3Z6MX.js +284 -0
- package/dist/chunk-TPSLW46F.js +1068 -0
- package/dist/chunk-TQDARPML.js +85 -0
- package/dist/chunk-TQGGGR3B.js +526 -0
- package/dist/chunk-TRN6Z263.js +448 -0
- package/dist/chunk-TSZUGTI3.js +171 -0
- package/dist/chunk-TVPOVHHB.js +382 -0
- package/dist/chunk-TWC34C2C.js +38 -0
- package/dist/chunk-TWUJBFIK.js +345 -0
- package/dist/chunk-TXLFZLCX.js +171 -0
- package/dist/chunk-TYIQK2ZV.js +284 -0
- package/dist/chunk-TZQP4KJ3.js +403 -0
- package/dist/chunk-U2Y7CBLR.js +89 -0
- package/dist/chunk-U66BRNNK.js +731 -0
- package/dist/chunk-U6LNXXQX.js +58 -0
- package/dist/chunk-UAMWGUBX.js +574 -0
- package/dist/chunk-UCCZF5N4.js +167 -0
- package/dist/chunk-UFJJJ3EB.js +55 -0
- package/dist/chunk-UIGKU2K4.js +50 -0
- package/dist/chunk-UPSID2HN.js +346 -0
- package/dist/chunk-USSO53YP.js +54 -0
- package/dist/chunk-UUCYTPXF.js +214 -0
- package/dist/chunk-UVWTI4VC.js +1352 -0
- package/dist/chunk-UXAPHDSV.js +240 -0
- package/dist/chunk-UXUCMX46.js +89 -0
- package/dist/chunk-UYN5XHQ5.js +510 -0
- package/dist/chunk-UYOMJVYP.js +50 -0
- package/dist/chunk-UZWSZ3C5.js +280 -0
- package/dist/chunk-V2KBVGTN.js +2097 -0
- package/dist/chunk-V44SEJIE.js +76 -0
- package/dist/chunk-V4NLMOYM.js +382 -0
- package/dist/chunk-V6IH2YVS.js +4190 -0
- package/dist/chunk-V6RTI73O.js +1179 -0
- package/dist/chunk-V75SLGIH.js +97 -0
- package/dist/chunk-V7VGYOCD.js +197 -0
- package/dist/chunk-VA2WDTBP.js +1345 -0
- package/dist/chunk-VHTBAKZH.js +371 -0
- package/dist/chunk-VIWJFFDF.js +346 -0
- package/dist/chunk-VJNCFZ2T.js +382 -0
- package/dist/chunk-VKVEBQLJ.js +836 -0
- package/dist/chunk-VLW5CNTP.js +1119 -0
- package/dist/chunk-VMPAJQUP.js +363 -0
- package/dist/chunk-VNRNAACY.js +4190 -0
- package/dist/chunk-VR4SVGCY.js +345 -0
- package/dist/chunk-VRU3ZI43.js +2078 -0
- package/dist/chunk-VYMK5VCO.js +539 -0
- package/dist/chunk-VZXJOTE5.js +4190 -0
- package/dist/chunk-W22KMCH3.js +1940 -0
- package/dist/chunk-W3MQYGPX.js +38 -0
- package/dist/chunk-W4WIRN5R.js +448 -0
- package/dist/chunk-WH7HLB4Z.js +76 -0
- package/dist/chunk-WI57OYT2.js +1345 -0
- package/dist/chunk-WJMFNT4M.js +357 -0
- package/dist/chunk-WOQD775A.js +50 -0
- package/dist/chunk-WPIETWVX.js +2078 -0
- package/dist/chunk-WR26WBWT.js +1076 -0
- package/dist/chunk-WTA6FCAA.js +1345 -0
- package/dist/chunk-WVWJB7BT.js +630 -0
- package/dist/chunk-WX55RQRU.js +58 -0
- package/dist/chunk-WYID6P6Y.js +333 -0
- package/dist/chunk-X4HA7IYX.js +129 -0
- package/dist/chunk-X4OY7C7R.js +382 -0
- package/dist/chunk-XB6YDG2A.js +167 -0
- package/dist/chunk-XBDHMCR5.js +1119 -0
- package/dist/chunk-XEFJKWV2.js +163 -0
- package/dist/chunk-XFPFACZX.js +13884 -0
- package/dist/chunk-XFYH5GKP.js +171 -0
- package/dist/chunk-XFYZ77DP.js +280 -0
- package/dist/chunk-XMAXDYFK.js +604 -0
- package/dist/chunk-XNQOJZNS.js +250 -0
- package/dist/chunk-XPWFBDHN.js +250 -0
- package/dist/chunk-XRNU6CD7.js +58 -0
- package/dist/chunk-XSC4BBLH.js +159 -0
- package/dist/chunk-XW43IEC3.js +4190 -0
- package/dist/chunk-XWI4AN5N.js +408 -0
- package/dist/chunk-XWM5HD4J.js +127 -0
- package/dist/chunk-Y3JP4PL5.js +54 -0
- package/dist/chunk-Y4QRUAVJ.js +81 -0
- package/dist/chunk-Y5OT5BAV.js +221 -0
- package/dist/chunk-Y6JIZWT3.js +551 -0
- package/dist/chunk-Y6RZRLZD.js +197 -0
- package/dist/chunk-Y75VXMBN.js +244 -0
- package/dist/chunk-YBDREOVN.js +3200 -0
- package/dist/chunk-YDJRLXXF.js +150 -0
- package/dist/chunk-YEN5ACVR.js +448 -0
- package/dist/chunk-YFPZUT6G.js +132 -0
- package/dist/chunk-YGJ6XKPE.js +346 -0
- package/dist/chunk-YHVZVCGR.js +280 -0
- package/dist/chunk-YIE4E647.js +185 -0
- package/dist/chunk-YIEQRBNO.js +221 -0
- package/dist/chunk-YPS5PE25.js +495 -0
- package/dist/chunk-YR5OIJRL.js +231 -0
- package/dist/chunk-YTBUMO6Z.js +448 -0
- package/dist/chunk-YUHYQPXY.js +345 -0
- package/dist/chunk-YWPTPTQW.js +75 -0
- package/dist/chunk-YXT3YCKS.js +551 -0
- package/dist/chunk-YYM3TCUP.js +345 -0
- package/dist/chunk-YYVL727V.js +50 -0
- package/dist/chunk-YZEI2XOK.js +333 -0
- package/dist/chunk-Z3A6VUYT.js +1702 -0
- package/dist/chunk-Z5BNE3L3.js +75 -0
- package/dist/chunk-Z5LVHAY4.js +159 -0
- package/dist/chunk-Z6ESQXFI.js +204 -0
- package/dist/chunk-Z6FOV4NA.js +204 -0
- package/dist/chunk-ZBCBANWK.js +836 -0
- package/dist/chunk-ZBLNGKO5.js +85 -0
- package/dist/chunk-ZDNYW3AR.js +299 -0
- package/dist/chunk-ZF7JKTLP.js +127 -0
- package/dist/chunk-ZGWAADSD.js +630 -0
- package/dist/chunk-ZLI3TUML.js +394 -0
- package/dist/chunk-ZPN5S7BE.js +526 -0
- package/dist/chunk-ZUNQIQWO.js +526 -0
- package/dist/co-activation-65ZWECEW.js +72 -0
- package/dist/co-activation-7H4LJXPH.js +72 -0
- package/dist/co-activation-D6VDOLPE.js +72 -0
- package/dist/co-activation-WVKDWUYB.js +72 -0
- package/dist/co-occurrence-L3QDWLFB.js +74 -0
- package/dist/co-occurrence-NQ6QYRI3.js +93 -0
- package/dist/co-occurrence-UHIY3TSP.js +93 -0
- package/dist/co-occurrence-VMDXY6XD.js +93 -0
- package/dist/code-context-index-RJCLTXID.js +30 -0
- package/dist/code-context-index-T4R26DRZ.js +30 -0
- package/dist/content-extractor-GRE72OF4.js +9 -0
- package/dist/conversation-entity-extractor-3NCBEVXR.js +114 -0
- package/dist/conversation-wiki-populator-LPL23GZR.js +105 -0
- package/dist/core-memory-2TPPHQWV.js +110 -0
- package/dist/core-memory-CVF72QJS.js +110 -0
- package/dist/core-memory-EZGDNOZW.js +110 -0
- package/dist/core-memory-LDYXGLHK.js +110 -0
- package/dist/core-memory-LOAMRQHE.js +110 -0
- package/dist/core-memory-LSDBJSWJ.js +110 -0
- package/dist/core-memory-Q5VQNVIQ.js +110 -0
- package/dist/core-memory-QNW5SLBJ.js +110 -0
- package/dist/core-memory-WX3WUT4S.js +110 -0
- package/dist/crdt-sync-4NMOGP44.js +33 -0
- package/dist/crdt-sync-6MTPAECL.js +33 -0
- package/dist/crdt-sync-ESTCLT7K.js +33 -0
- package/dist/crdt-sync-HSRDIGAM.js +33 -0
- package/dist/crm-bridge-4THGLPM2.js +19 -0
- package/dist/crm-webhook-BDZ6BHKO.js +10 -0
- package/dist/crm-webhook-H5O3DLQO.js +10 -0
- package/dist/crm-webhook-HQMYV6LS.js +10 -0
- package/dist/crm-webhook-ITS2M6UB.js +10 -0
- package/dist/crm-webhook-NEXXNFD3.js +10 -0
- package/dist/crm-webhook-NVLRAYZX.js +10 -0
- package/dist/crm-webhook-QWQF343F.js +10 -0
- package/dist/crm-webhook-SCVMSNA2.js +10 -0
- package/dist/crm-webhook-WN3STFME.js +10 -0
- package/dist/cto-delegation-gate-5I5NJKNG.js +206 -0
- package/dist/cto-delegation-gate-CZRM46V3.js +206 -0
- package/dist/cto-delegation-gate-GVXGK5PB.js +278 -0
- package/dist/cto-delegation-gate-JOQMH5SV.js +278 -0
- package/dist/cto-delegation-gate-NHYDWUQT.js +278 -0
- package/dist/cto-delegation-gate-NRSNMJIS.js +278 -0
- package/dist/cto-delegation-gate-SAQCC5DR.js +278 -0
- package/dist/cto-delegation-gate-ST4HUNJ2.js +278 -0
- package/dist/cto-delegation-gate-YIRKI4RC.js +206 -0
- package/dist/cto-delegation-gate-YU77OJRO.js +206 -0
- package/dist/daemon-auth-TAWO7TQX.js +13 -0
- package/dist/daemon-orchestration-CNANYOLN.js +135 -0
- package/dist/daemon-orchestration-D5UEPJ3I.js +137 -0
- package/dist/daemon-orchestration-JHYADASA.js +135 -0
- package/dist/daemon-orchestration-JMQQUF77.js +137 -0
- package/dist/daemon-orchestration-NL5TQ5VD.js +135 -0
- package/dist/daemon-orchestration-OFX5QOBD.js +137 -0
- package/dist/daemon-orchestration-OXH6YRRL.js +137 -0
- package/dist/daemon-orchestration-Q5FEEHYE.js +135 -0
- package/dist/daemon-orchestration-SCMTDRLW.js +137 -0
- package/dist/daemon-orchestration-TMT7VKKG.js +137 -0
- package/dist/daemon-protocol-MDSKFBVV.js +17 -0
- package/dist/db-backup-CMP5QJDL.js +33 -0
- package/dist/db-backup-H7FHQZAA.js +33 -0
- package/dist/db-backup-MDBTOF6H.js +33 -0
- package/dist/db-backup-RELPNM6R.js +33 -0
- package/dist/devtools-BZGOQHB2.js +8 -0
- package/dist/discord-E66EWJYC.js +7 -0
- package/dist/dispatch-ack-RP7773BV.js +13 -0
- package/dist/dreaming-7BLPR2BS.js +32 -0
- package/dist/dreaming-B2NPY73R.js +32 -0
- package/dist/dreaming-BULADGXO.js +32 -0
- package/dist/dreaming-F4UTV3AM.js +32 -0
- package/dist/dreaming-IDBV4AO2.js +32 -0
- package/dist/dreaming-LFR3245Y.js +32 -0
- package/dist/dreaming-LMYCFKQG.js +32 -0
- package/dist/dreaming-MI23NXDC.js +32 -0
- package/dist/dreaming-PK3J5HAI.js +32 -0
- package/dist/email-U7B2CV3A.js +137 -0
- package/dist/entity-boost-6OCDP2H2.js +356 -0
- package/dist/entity-boost-LI4H3PAZ.js +375 -0
- package/dist/exe-drift-EFXZRVIL.js +68 -0
- package/dist/exe-drift-GS3TTJGS.js +68 -0
- package/dist/exe-drift-NLUOUSJN.js +68 -0
- package/dist/exe-drift-SLH5IVNI.js +68 -0
- package/dist/exe-export-2XVHO2JL.js +73 -0
- package/dist/exe-export-3Q52HX6P.js +74 -0
- package/dist/exe-export-4JCIWNYJ.js +74 -0
- package/dist/exe-export-5NUDAPFN.js +74 -0
- package/dist/exe-export-DWDM4RGB.js +73 -0
- package/dist/exe-export-ELZNLM7I.js +74 -0
- package/dist/exe-export-OCNGBHIK.js +74 -0
- package/dist/exe-export-T4SJ4JZT.js +74 -0
- package/dist/exe-export-WBIVDGBJ.js +74 -0
- package/dist/exe-import-CEHEUVDV.js +77 -0
- package/dist/exe-import-J3IGSQGE.js +77 -0
- package/dist/exe-import-LBLVAZ2B.js +77 -0
- package/dist/exe-import-LWEXVW36.js +77 -0
- package/dist/exe-import-OMLYIICS.js +77 -0
- package/dist/exe-import-PPRIPBC4.js +77 -0
- package/dist/exe-import-R7A44HWI.js +76 -0
- package/dist/exe-import-SZ73K6VH.js +76 -0
- package/dist/exe-import-XKYDCRON.js +77 -0
- package/dist/exe-key-24SHOIG4.js +579 -0
- package/dist/exe-key-6OS5MFI5.js +579 -0
- package/dist/exe-key-A3LWIWG7.js +579 -0
- package/dist/exe-key-CG4J45GK.js +579 -0
- package/dist/exe-key-FASOWAOU.js +579 -0
- package/dist/exe-key-FGRYTEWE.js +579 -0
- package/dist/exe-key-MLVVZSM6.js +579 -0
- package/dist/exe-key-TSF4OCQ7.js +579 -0
- package/dist/exe-key-TZWHAO2M.js +579 -0
- package/dist/exe-key-ZP67KGXT.js +579 -0
- package/dist/exe-org-EVFQGM3D.js +73 -0
- package/dist/exe-snapshot-27S4ORVV.js +336 -0
- package/dist/exe-snapshot-3NFQ5T2E.js +336 -0
- package/dist/exe-snapshot-6FYTQIO3.js +164 -0
- package/dist/exe-snapshot-ESUNS5PK.js +336 -0
- package/dist/exe-snapshot-GOPSY6ET.js +335 -0
- package/dist/exe-snapshot-HE675GJX.js +336 -0
- package/dist/exe-snapshot-KXHQQ6IQ.js +336 -0
- package/dist/exe-snapshot-QELQK7UN.js +336 -0
- package/dist/exe-snapshot-WXMHCHMI.js +336 -0
- package/dist/factory-Q5ECXJAT.js +67 -0
- package/dist/fast-db-init-6HHMQQ7T.js +7 -0
- package/dist/fast-db-init-7UJZZKOC.js +7 -0
- package/dist/fast-db-init-BYTJ2LOT.js +7 -0
- package/dist/fast-db-init-CV6PSAHE.js +7 -0
- package/dist/fast-db-init-F7BYQ6ZK.js +7 -0
- package/dist/fast-db-init-IAV27AGE.js +7 -0
- package/dist/fast-db-init-KJFD5PBA.js +7 -0
- package/dist/fast-db-init-LJIR3OJC.js +7 -0
- package/dist/fast-db-init-NI2MIAC7.js +7 -0
- package/dist/file-edit-EYDPRZYY.js +8 -0
- package/dist/file-read-RJ7IL4DO.js +8 -0
- package/dist/file-write-4KTSU55Y.js +8 -0
- package/dist/founder-context-3NVGBMKF.js +96 -0
- package/dist/gateway/index.js +10 -10
- package/dist/gateway-client-AD4HMMSR.js +11 -0
- package/dist/git-staleness-3AF5334G.js +110 -0
- package/dist/git-staleness-KNUBMEZK.js +110 -0
- package/dist/git-staleness-MMMURDDO.js +110 -0
- package/dist/git-staleness-O3WY3BWN.js +110 -0
- package/dist/git-task-sweep-D5ZTKCB7.js +40 -0
- package/dist/git-task-sweep-G446367V.js +40 -0
- package/dist/git-task-sweep-KWQDOFSU.js +40 -0
- package/dist/git-task-sweep-Q2L5WVGV.js +40 -0
- package/dist/git-task-sweep-SFV4OB47.js +40 -0
- package/dist/git-task-sweep-TNKHC466.js +40 -0
- package/dist/git-task-sweep-XMTW4CVT.js +40 -0
- package/dist/git-task-sweep-YQ5IZCPG.js +40 -0
- package/dist/git-task-sweep-Z7WQMUKD.js +40 -0
- package/dist/glob-JF4RPRT3.js +7 -0
- package/dist/global-procedures-2XOKKLIE.js +20 -0
- package/dist/global-procedures-BXAXVIBL.js +20 -0
- package/dist/global-procedures-C7NNG4AX.js +20 -0
- package/dist/global-procedures-GXA5KWKW.js +20 -0
- package/dist/global-procedures-K3EC5AYI.js +20 -0
- package/dist/global-procedures-K6MCYCUP.js +20 -0
- package/dist/global-procedures-M4TTT7MV.js +20 -0
- package/dist/global-procedures-OWBRYXNN.js +20 -0
- package/dist/graph-auto-extract-IR672UEY.js +181 -0
- package/dist/graph-auto-extract-MBMDTX7B.js +181 -0
- package/dist/graph-auto-extract-NFXVT2IY.js +162 -0
- package/dist/graph-auto-extract-P4SYRJO7.js +181 -0
- package/dist/graph-query-UG4DAI33.js +26 -0
- package/dist/graph-rag-NK6J45SP.js +31 -0
- package/dist/grep-P6JSAZGP.js +7 -0
- package/dist/hook-integrity-TFBQQA2V.js +89 -0
- package/dist/hooks/bug-report-worker.js +17 -17
- package/dist/hooks/codex-stop-task-finalizer.js +18 -18
- package/dist/hooks/commit-complete.js +18 -18
- package/dist/hooks/error-recall.js +12 -10
- package/dist/hooks/exe-heartbeat-hook.js +6 -6
- package/dist/hooks/ingest-worker.js +7 -7
- package/dist/hooks/ingest.js +15 -15
- package/dist/hooks/instructions-loaded.js +7 -7
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +7 -7
- package/dist/hooks/post-compact.js +17 -17
- package/dist/hooks/post-tool-combined.js +9 -9
- package/dist/hooks/pre-compact.js +23 -23
- package/dist/hooks/pre-tool-use.js +22 -22
- package/dist/hooks/prompt-submit.js +35 -33
- package/dist/hooks/session-end.js +31 -31
- package/dist/hooks/session-start.js +18 -18
- package/dist/hooks/stop.js +24 -24
- package/dist/hooks/subagent-stop.js +17 -17
- package/dist/hooks/summary-worker.js +27 -26
- package/dist/hooks-ZGIUOVME.js +9 -0
- package/dist/imessage-ADODNZ44.js +7 -0
- package/dist/index.js +27 -27
- package/dist/installer-5ZCXVNKB.js +296 -0
- package/dist/installer-AT44REVO.js +38 -0
- package/dist/installer-D3SXDGWZ.js +38 -0
- package/dist/installer-EAGOJPWX.js +296 -0
- package/dist/installer-EPGQ4IZE.js +38 -0
- package/dist/installer-GCYGD7CD.js +38 -0
- package/dist/installer-I2CDOPH6.js +342 -0
- package/dist/installer-IFZKAVSA.js +296 -0
- package/dist/installer-KRS7PPFP.js +342 -0
- package/dist/installer-O3SU36CP.js +296 -0
- package/dist/installer-QRRDZJ5Q.js +342 -0
- package/dist/installer-VCKFYCTU.js +342 -0
- package/dist/intercom-queue-JCOWNDJ7.js +17 -0
- package/dist/investigation-tracker-AOCYNJAW.js +410 -0
- package/dist/key-backup-status-RCKYSYPV.js +39 -0
- package/dist/keyword-extractor-T5N4ISGM.js +11 -0
- package/dist/lib/agent-config.js +3 -3
- package/dist/lib/cloud-sync.js +8 -8
- package/dist/lib/cloudflare-dns.js +1 -1
- package/dist/lib/config.js +2 -2
- package/dist/lib/consolidation.js +12 -8
- package/dist/lib/crypto.js +2 -2
- package/dist/lib/database.js +8 -4
- package/dist/lib/db-daemon-client.js +27 -8
- package/dist/lib/db.js +8 -4
- package/dist/lib/device-registry.js +2 -2
- package/dist/lib/embed-worker.js +47 -25
- package/dist/lib/embedder.js +10 -8
- package/dist/lib/employee-templates.js +7 -7
- package/dist/lib/employees.js +8 -4
- package/dist/lib/error-detector.js +1 -1
- package/dist/lib/exe-daemon-client.js +5 -5
- package/dist/lib/exe-daemon.js +663 -199
- package/dist/lib/file-grep.js +1 -1
- package/dist/lib/hybrid-search.js +10 -8
- package/dist/lib/identity-templates.js +1 -1
- package/dist/lib/identity.js +4 -4
- package/dist/lib/keychain.js +2 -2
- package/dist/lib/license.js +5 -3
- package/dist/lib/messaging.js +15 -15
- package/dist/lib/post-tool-memory.js +1 -1
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +5 -5
- package/dist/lib/runtime-table.js +1 -1
- package/dist/lib/schedules.js +9 -8
- package/dist/lib/session-registry.js +6 -6
- package/dist/lib/session-wrappers.js +1 -1
- package/dist/lib/skill-learning.js +13 -6
- package/dist/lib/status-brief.js +2 -2
- package/dist/lib/store.js +10 -7
- package/dist/lib/task-router.js +5 -5
- package/dist/lib/tasks.js +16 -16
- package/dist/lib/tmux-routing.js +18 -14
- package/dist/lib/tmux-status.js +2 -2
- package/dist/lib/tmux-transport.js +1 -1
- package/dist/lib/token-spend.js +5 -5
- package/dist/lib/transport.js +1 -1
- package/dist/lib/ws-auth.js +1 -1
- package/dist/lib/ws-client.js +2 -2
- package/dist/license-gate-ZDWPYKVZ.js +14 -0
- package/dist/mcp/register-tools.js +79 -77
- package/dist/mcp/server.js +82 -80
- package/dist/mcp/tools/complete-reminder.js +6 -6
- package/dist/mcp/tools/create-reminder.js +6 -6
- package/dist/mcp/tools/create-task.js +18 -18
- package/dist/mcp/tools/deactivate-behavior.js +14 -7
- package/dist/mcp/tools/list-reminders.js +6 -6
- package/dist/mcp/tools/list-tasks.js +18 -18
- package/dist/mcp/tools/send-message.js +17 -17
- package/dist/mcp/tools/update-task.js +17 -17
- package/dist/mcp-diagnostics-RG7US2O3.js +200 -0
- package/dist/mcp-disconnect-tracker-FLC6WSON.js +79 -0
- package/dist/mcp-http-config-AETKVUCB.js +27 -0
- package/dist/mcp-http-config-HFFEJ7HE.js +27 -0
- package/dist/mcp-http-config-NOAYEXSD.js +27 -0
- package/dist/mcp-http-config-WEQLOERH.js +27 -0
- package/dist/memory-cards-ALMQQN2U.js +178 -0
- package/dist/memory-cards-HJ2VDTT3.js +174 -0
- package/dist/memory-cards-OAGVTZMZ.js +178 -0
- package/dist/memory-cards-S7PJ5TOQ.js +178 -0
- package/dist/memory-graph-extractor-5XXL4C7K.js +20 -0
- package/dist/memory-graph-extractor-ATUI7ZQG.js +17 -0
- package/dist/memory-graph-extractor-BE5SOGWH.js +17 -0
- package/dist/memory-graph-extractor-EG7BRRHD.js +20 -0
- package/dist/memory-graph-extractor-XYJ34VQC.js +20 -0
- package/dist/memory-poisoning-defense-AJREUW5D.js +222 -0
- package/dist/memory-poisoning-defense-CXV4TXSS.js +222 -0
- package/dist/memory-poisoning-defense-L43CRNBG.js +222 -0
- package/dist/memory-poisoning-defense-XDYHR6VO.js +225 -0
- package/dist/memory-queue-2B2BXIG4.js +19 -0
- package/dist/memory-queue-client-H4BM3XBQ.js +16 -0
- package/dist/memory-queue-client-MXVZQP7A.js +16 -0
- package/dist/memory-reflection-3J5RS2QO.js +238 -0
- package/dist/memory-reflection-I45L64MR.js +242 -0
- package/dist/memory-reflection-O3SGKM5N.js +242 -0
- package/dist/memory-reflection-SYRJRRKY.js +242 -0
- package/dist/message-queue-client-EKZ7EV3E.js +92 -0
- package/dist/message-queue-client-FWZVGHU7.js +92 -0
- package/dist/notifications-3NU4SUPR.js +45 -0
- package/dist/notifications-5GV32CG3.js +45 -0
- package/dist/notifications-7AQOX6ST.js +45 -0
- package/dist/notifications-CNV3NH6R.js +45 -0
- package/dist/notifications-M4Z2MS2T.js +45 -0
- package/dist/notifications-NYBLWVOU.js +45 -0
- package/dist/notifications-P7PDFFSJ.js +45 -0
- package/dist/notifications-UYS75Z6Y.js +45 -0
- package/dist/notifications-VEQQL4XQ.js +45 -0
- package/dist/oauth-server-MOITGCVQ.js +437 -0
- package/dist/orchestration-events-2AO73O5H.js +25 -0
- package/dist/orchestration-events-HKYXRQBG.js +25 -0
- package/dist/orchestration-events-JG2T7LQE.js +25 -0
- package/dist/orchestration-events-T53LWRWQ.js +25 -0
- package/dist/orchestration-phase-TE42UKHS.js +23 -0
- package/dist/orchestrator-266KJPKS.js +33 -0
- package/dist/orchestrator-2KUQEZWW.js +33 -0
- package/dist/orchestrator-F5B2I7RK.js +33 -0
- package/dist/orchestrator-MK6ZFPQB.js +33 -0
- package/dist/orchestrator-NGZITWOO.js +33 -0
- package/dist/orchestrator-SQCZ35QB.js +33 -0
- package/dist/orchestrator-UYHI7AHC.js +33 -0
- package/dist/orchestrator-YOOD52MI.js +33 -0
- package/dist/orchestrator-ZEKK4CU7.js +33 -0
- package/dist/permission-presets-3XIPJRD7.js +25 -0
- package/dist/permissions-I4S4VR3M.js +14 -0
- package/dist/pg-ssl-SBP4MZSN.js +7 -0
- package/dist/pipeline-router-4BV46AVP.js +13 -0
- package/dist/pipeline-router-6P6DEZWG.js +13 -0
- package/dist/pipeline-router-DSMEDREP.js +13 -0
- package/dist/pipeline-router-IM5MUH7T.js +13 -0
- package/dist/pipeline-router-LQXFGZAV.js +13 -0
- package/dist/pipeline-router-LZW4AB5L.js +13 -0
- package/dist/pipeline-router-Q7BK52OL.js +13 -0
- package/dist/pipeline-router-R5AN2GGH.js +13 -0
- package/dist/pipeline-router-XCYY3OV2.js +13 -0
- package/dist/plan-limits-6HZ72EAG.js +26 -0
- package/dist/plan-limits-KPTD6RMK.js +26 -0
- package/dist/plan-limits-VZBVPNFE.js +26 -0
- package/dist/plan-limits-ZCI3WNA7.js +26 -0
- package/dist/preferences-TKVPKQ3L.js +10 -0
- package/dist/project-boot-BQAB2UPB.js +299 -0
- package/dist/project-boot-FQLP3BKD.js +299 -0
- package/dist/project-boot-OBR4B6QL.js +299 -0
- package/dist/project-boot-SYUEI3UJ.js +299 -0
- package/dist/project-name-TMASZAKE.js +10 -0
- package/dist/projection-worker-AIWKWEUM.js +964 -0
- package/dist/projection-worker-UYJGMGNY.js +964 -0
- package/dist/projection-worker-XB4YADGF.js +964 -0
- package/dist/projection-worker-Z7QCJMN5.js +964 -0
- package/dist/push-notifications-Y2LMBOK7.js +15 -0
- package/dist/reranker-4JLM7T7U.js +19 -0
- package/dist/reranker-4LNQJ4KI.js +19 -0
- package/dist/reranker-7AWMZF4N.js +19 -0
- package/dist/reranker-FZCTTOFA.js +19 -0
- package/dist/reranker-GAMUI2WN.js +19 -0
- package/dist/reranker-KWBDYDPF.js +19 -0
- package/dist/reranker-NASCH4QP.js +19 -0
- package/dist/reranker-P4K77EHY.js +19 -0
- package/dist/reranker-UIHPCFBD.js +19 -0
- package/dist/reranker-VJ24SH2A.js +19 -0
- package/dist/reranker-VOPVN6MG.js +19 -0
- package/dist/reranker-VSGIRDI6.js +19 -0
- package/dist/review-gate-5PVXY47U.js +120 -0
- package/dist/review-polling-4KKF4QGY.js +124 -0
- package/dist/review-polling-7RYCO3LB.js +124 -0
- package/dist/review-polling-BJZZ6VN5.js +124 -0
- package/dist/review-polling-C2L7OUYZ.js +124 -0
- package/dist/review-polling-KXCRJGMP.js +124 -0
- package/dist/review-polling-LYMFSZZZ.js +124 -0
- package/dist/review-polling-MCJ5QR6R.js +124 -0
- package/dist/review-polling-QMTLNUHR.js +124 -0
- package/dist/review-polling-SAKMZEZM.js +124 -0
- package/dist/runtime/index.js +21 -21
- package/dist/self-query-router-7OKQJSTT.js +188 -0
- package/dist/session-events-75PGQHCQ.js +36 -0
- package/dist/session-events-7JWY6AJM.js +36 -0
- package/dist/session-events-CZXJFZKY.js +36 -0
- package/dist/session-events-HLUA7UQM.js +36 -0
- package/dist/session-events-KGOA2W3V.js +36 -0
- package/dist/session-events-NR22TNSK.js +36 -0
- package/dist/session-events-OE6S6EMW.js +36 -0
- package/dist/session-events-T6RCZ5PO.js +36 -0
- package/dist/session-events-U537QM65.js +36 -0
- package/dist/session-kill-telemetry-RRQ2FDZU.js +29 -0
- package/dist/session-kill-telemetry-UL56A72F.js +29 -0
- package/dist/session-kill-telemetry-USIEQKM3.js +29 -0
- package/dist/session-kill-telemetry-XQ4FIV6G.js +29 -0
- package/dist/session-scope-5UTK6ID3.js +86 -0
- package/dist/session-scope-6URIZ6JG.js +86 -0
- package/dist/session-scope-DTDZDLJM.js +86 -0
- package/dist/session-scope-G7MFBQDJ.js +86 -0
- package/dist/session-scope-IDUBL4CA.js +86 -0
- package/dist/session-scope-KPVPLK3F.js +86 -0
- package/dist/session-scope-L7PN4EUN.js +86 -0
- package/dist/session-scope-UI7ZDVOB.js +86 -0
- package/dist/session-scope-XN3YM2Q5.js +86 -0
- package/dist/setup-wizard-D2G54X2Y.js +12 -0
- package/dist/setup-wizard-FY3U54VV.js +12 -0
- package/dist/setup-wizard-I7SIIJKF.js +12 -0
- package/dist/setup-wizard-NCBDIDUZ.js +12 -0
- package/dist/setup-wizard-NOWL5GX4.js +12 -0
- package/dist/setup-wizard-POFPTSXA.js +12 -0
- package/dist/setup-wizard-SCXS6F2F.js +12 -0
- package/dist/setup-wizard-YBLGQDBS.js +12 -0
- package/dist/setup-wizard-ZELVKEK3.js +12 -0
- package/dist/shard-manager-PRRCZNBV.js +30 -0
- package/dist/signal-PWVUZ5A6.js +7 -0
- package/dist/signal-paths-AMTV6ANR.js +19 -0
- package/dist/skill-refinement-ACMMMAOK.js +157 -0
- package/dist/skill-refinement-EPGHRXJG.js +157 -0
- package/dist/skill-refinement-KYM27SD3.js +157 -0
- package/dist/skill-refinement-MZ3TJIDD.js +157 -0
- package/dist/skill-refinement-R7K5M542.js +157 -0
- package/dist/skill-refinement-TFHUECXP.js +157 -0
- package/dist/skill-refinement-VB6JYRWF.js +157 -0
- package/dist/skill-refinement-VTP44BW3.js +157 -0
- package/dist/skill-refinement-XAHLEDQM.js +157 -0
- package/dist/slack-NNKFYH7T.js +7 -0
- package/dist/stack-release-WZ2S5E4L.js +731 -0
- package/dist/stack-update-BH3VVEF7.js +54 -0
- package/dist/stack-update-K3RGO6EJ.js +56 -0
- package/dist/stack-update-KXUNY3FP.js +54 -0
- package/dist/stack-update-SW2KRYB5.js +56 -0
- package/dist/steward-gate-BKMRY6YO.js +13 -0
- package/dist/steward-gate-P7ZNTNUJ.js +13 -0
- package/dist/steward-gate-QFPCXV2S.js +13 -0
- package/dist/steward-gate-XZ6ODTZX.js +13 -0
- package/dist/support-outbox-6EIEBOIV.js +490 -0
- package/dist/task-enforcement-2XFGCOOA.js +438 -0
- package/dist/task-enforcement-DEJG4YUU.js +423 -0
- package/dist/task-enforcement-DRGNWQPQ.js +438 -0
- package/dist/task-enforcement-FJY25DT2.js +438 -0
- package/dist/task-enforcement-LLSY7IVX.js +438 -0
- package/dist/task-enforcement-OG6QMY3K.js +423 -0
- package/dist/task-enforcement-QE7ZND7P.js +391 -0
- package/dist/task-enforcement-THPJEUXE.js +438 -0
- package/dist/task-enforcement-WHPYHJSR.js +423 -0
- package/dist/task-scanner-B6DRXPJZ.js +11 -0
- package/dist/task-scope-3OJ3HXJH.js +35 -0
- package/dist/task-scope-4DYVYHRH.js +35 -0
- package/dist/task-scope-5ZHVJSQV.js +35 -0
- package/dist/task-scope-6LAMIT56.js +35 -0
- package/dist/task-scope-CGPDNA2R.js +35 -0
- package/dist/task-scope-CSW2JGVT.js +35 -0
- package/dist/task-scope-JXZSWIVH.js +35 -0
- package/dist/task-scope-M4QGLYOA.js +35 -0
- package/dist/task-scope-VPQCW7XQ.js +35 -0
- package/dist/tasks-crud-3ASFAGTY.js +77 -0
- package/dist/tasks-crud-4GBOUTEN.js +77 -0
- package/dist/tasks-crud-4IMD7XNA.js +77 -0
- package/dist/tasks-crud-5S6X2FBF.js +77 -0
- package/dist/tasks-crud-6X5G6NQW.js +77 -0
- package/dist/tasks-crud-JJQ3LMFL.js +77 -0
- package/dist/tasks-crud-KL37U3NC.js +77 -0
- package/dist/tasks-crud-SSNMCJIX.js +77 -0
- package/dist/tasks-crud-WXIN6F3N.js +77 -0
- package/dist/tasks-notify-2FP5XJD6.js +38 -0
- package/dist/tasks-notify-3DRL6XCO.js +38 -0
- package/dist/tasks-notify-5VZJ7SZP.js +38 -0
- package/dist/tasks-notify-7N3VZBGS.js +38 -0
- package/dist/tasks-notify-DQYASACT.js +38 -0
- package/dist/tasks-notify-FBJU2FBD.js +38 -0
- package/dist/tasks-notify-KDARFEOQ.js +38 -0
- package/dist/tasks-notify-R5LPF2Q5.js +38 -0
- package/dist/tasks-notify-VSRXPEVB.js +38 -0
- package/dist/tasks-review-4FLX3KDM.js +47 -0
- package/dist/tasks-review-62VRGXWB.js +47 -0
- package/dist/tasks-review-ARS7I6TW.js +47 -0
- package/dist/tasks-review-I5LRYM6F.js +47 -0
- package/dist/tasks-review-K7CQFARA.js +47 -0
- package/dist/tasks-review-L67U3SF5.js +47 -0
- package/dist/tasks-review-OVWBSWKY.js +47 -0
- package/dist/tasks-review-YK6JDFMD.js +47 -0
- package/dist/tasks-review-YL56BTFI.js +47 -0
- package/dist/telegram-CGHB3TEI.js +7 -0
- package/dist/telemetry-OPR3R6OA.js +9 -0
- package/dist/telemetry-upload-5ELNFLSF.js +739 -0
- package/dist/telemetry-upload-7R2ZXNJJ.js +739 -0
- package/dist/telemetry-upload-AIGZFQ3U.js +739 -0
- package/dist/telemetry-upload-D5VBUCNY.js +739 -0
- package/dist/telemetry-upload-JGPZKOAF.js +739 -0
- package/dist/telemetry-upload-RDXJTYTE.js +739 -0
- package/dist/telemetry-upload-UY36UB2D.js +739 -0
- package/dist/telemetry-upload-VRHQOFCN.js +739 -0
- package/dist/telemetry-upload-XLQKR75S.js +739 -0
- package/dist/token-budget-KEL5DNWK.js +84 -0
- package/dist/token-budget-QMAGSEP6.js +84 -0
- package/dist/token-budget-WXZIXSXO.js +84 -0
- package/dist/token-budget-XDWZ3WFD.js +84 -0
- package/dist/tool-capability-index-WAJWVJIG.js +10 -0
- package/dist/tool-capability-index-ZICRKTNB.js +10 -0
- package/dist/tool-gates-AB3437EY.js +13 -0
- package/dist/tool-gates-YX7VO3HE.js +14 -0
- package/dist/tool-registry-KD2EJJAU.js +11 -0
- package/dist/tool-telemetry-FJZD2JIA.js +17 -0
- package/dist/tool-telemetry-SWOUWOUD.js +17 -0
- package/dist/tool-telemetry-VVJO6LRY.js +17 -0
- package/dist/tool-telemetry-YS5TO42H.js +17 -0
- package/dist/tui/App.js +56 -54
- package/dist/tui-data-27GVVJOU.js +258 -0
- package/dist/tui-data-37TJ54VI.js +258 -0
- package/dist/tui-data-5HI2DOD7.js +258 -0
- package/dist/tui-data-AC3UKRRY.js +258 -0
- package/dist/tui-data-F77RGHDV.js +258 -0
- package/dist/tui-data-KSG6DSIF.js +258 -0
- package/dist/tui-data-Q4AK2VA4.js +258 -0
- package/dist/tui-data-VGRAJ53D.js +258 -0
- package/dist/tui-data-VM6RABX2.js +258 -0
- package/dist/typed-messages-XK4EOVO3.js +17 -0
- package/dist/undici-ECX23NOZ.js +18337 -0
- package/dist/update-check-SE6UHHYE.js +11 -0
- package/dist/webhook-67M5Z7XA.js +96 -0
- package/dist/webhook-pipe-MRIWVULE.js +114 -0
- package/dist/whatsapp-V5JVEKWU.js +9 -0
- package/dist/whatsapp-accounts-FZLU4U2I.js +15 -0
- package/dist/whatsapp-config-HDO6NWHL.js +132 -0
- package/dist/wiki-acl-ANADZMHB.js +111 -0
- package/dist/wiki-acl-COU5EHBI.js +111 -0
- package/dist/wiki-acl-J222LNOF.js +111 -0
- package/dist/wiki-acl-LBKYC4VX.js +111 -0
- package/dist/wiki-client-CMQVLPMK.js +157 -0
- package/dist/worker-gate-36DBI7NE.js +21 -0
- package/dist/worker-gate-56JYUFA7.js +21 -0
- package/dist/worker-gate-7QHUBCAG.js +21 -0
- package/dist/worker-gate-E7LMIOJL.js +21 -0
- package/dist/worker-gate-EI3XNEJL.js +21 -0
- package/dist/worker-gate-FVF4NWZU.js +21 -0
- package/dist/worker-gate-G7JJHKEB.js +21 -0
- package/dist/worker-gate-XF4YGPYK.js +21 -0
- package/dist/worker-gate-YMCYCTRZ.js +21 -0
- package/dist/workflow-engine-3S5TPIKU.js +28 -0
- package/dist/workflow-engine-7YIVAYB3.js +28 -0
- package/dist/workflow-engine-D6USONUH.js +28 -0
- package/dist/workflow-engine-GNOKDKPG.js +28 -0
- package/dist/workflow-engine-IFKN6EDI.js +28 -0
- package/dist/workflow-engine-JNI3WD3I.js +28 -0
- package/dist/workflow-engine-K73ZJREJ.js +28 -0
- package/dist/workflow-engine-KAIO4Q5U.js +28 -0
- package/dist/workflow-engine-S52UFIUW.js +28 -0
- package/dist/working-memory-HT4E77P5.js +77 -0
- package/dist/worktree-KQ7ZDA53.js +26 -0
- package/dist/worktree-SETZ7IEC.js +26 -0
- package/dist/worktree-UOCMI6D7.js +26 -0
- package/dist/worktree-ZRQ7Y6BK.js +26 -0
- package/dist/worktree-sweep-6R3C2VRP.js +19 -0
- package/dist/worktree-sweep-V34JKHD5.js +19 -0
- package/dist/worktree-sweep-VSXKUQBT.js +19 -0
- package/dist/worktree-sweep-YLO4Y2DH.js +19 -0
- package/package.json +4 -11
- package/release-notes.json +84 -37
- package/src/commands/exe/build-adv.md +1 -1
- package/src/commands/exe/heartbeat.md +24 -21
- package/src/commands/exe/setup.md +18 -14
- package/src/commands/exe.md +2 -1
|
@@ -0,0 +1,1073 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EXE_HOOK_MANIFEST,
|
|
3
|
+
LEGACY_SPLIT_POST_TOOL_HOOK_MARKERS,
|
|
4
|
+
manifestEntryForCommand
|
|
5
|
+
} from "./chunk-L3TB7CC3.js";
|
|
6
|
+
import {
|
|
7
|
+
isMainModule
|
|
8
|
+
} from "./chunk-6Y4B3QF6.js";
|
|
9
|
+
|
|
10
|
+
// src/bin/exe-doctor.ts
|
|
11
|
+
import os from "os";
|
|
12
|
+
import { existsSync, readFileSync } from "fs";
|
|
13
|
+
import { spawn } from "child_process";
|
|
14
|
+
import path from "path";
|
|
15
|
+
import { randomUUID } from "crypto";
|
|
16
|
+
|
|
17
|
+
// src/lib/conflict-detector.ts
|
|
18
|
+
var DEFAULT_MAX_PAIRS = 100;
|
|
19
|
+
var SIM_LOW = 0.85;
|
|
20
|
+
var SIM_HIGH = 0.95;
|
|
21
|
+
var LLM_BATCH_SIZE = 15;
|
|
22
|
+
function cosineSimilarity(a, b) {
|
|
23
|
+
let dot = 0, normA = 0, normB = 0;
|
|
24
|
+
for (let i = 0; i < a.length; i++) {
|
|
25
|
+
dot += a[i] * b[i];
|
|
26
|
+
normA += a[i] * a[i];
|
|
27
|
+
normB += b[i] * b[i];
|
|
28
|
+
}
|
|
29
|
+
const denom = Math.sqrt(normA) * Math.sqrt(normB);
|
|
30
|
+
return denom === 0 ? 0 : dot / denom;
|
|
31
|
+
}
|
|
32
|
+
async function fetchMemoriesWithVectors(client, projectFilter, agentFilter2) {
|
|
33
|
+
let hasStatusCol = false;
|
|
34
|
+
try {
|
|
35
|
+
const info = await client.execute("PRAGMA table_info(memories)");
|
|
36
|
+
hasStatusCol = info.rows.some((r) => r.name === "status");
|
|
37
|
+
} catch {
|
|
38
|
+
}
|
|
39
|
+
const clauses = ["vector IS NOT NULL"];
|
|
40
|
+
if (hasStatusCol) clauses.push("status = 'active'");
|
|
41
|
+
const args = [];
|
|
42
|
+
if (projectFilter) {
|
|
43
|
+
clauses.push("project_name = ?");
|
|
44
|
+
args.push(projectFilter);
|
|
45
|
+
}
|
|
46
|
+
if (agentFilter2) {
|
|
47
|
+
clauses.push("agent_id = ?");
|
|
48
|
+
args.push(agentFilter2);
|
|
49
|
+
}
|
|
50
|
+
const where = " WHERE " + clauses.join(" AND ");
|
|
51
|
+
const result = await client.execute({
|
|
52
|
+
sql: `SELECT id, agent_id, raw_text, timestamp, project_name, vector
|
|
53
|
+
FROM memories${where}
|
|
54
|
+
ORDER BY project_name, timestamp DESC`,
|
|
55
|
+
args
|
|
56
|
+
});
|
|
57
|
+
const byProject = /* @__PURE__ */ new Map();
|
|
58
|
+
for (const row of result.rows) {
|
|
59
|
+
const project = row.project_name;
|
|
60
|
+
const vec = row.vector == null ? null : Array.isArray(row.vector) ? row.vector : Array.from(row.vector);
|
|
61
|
+
if (!vec || vec.length === 0) continue;
|
|
62
|
+
const mem = {
|
|
63
|
+
id: row.id,
|
|
64
|
+
agent_id: row.agent_id,
|
|
65
|
+
raw_text: row.raw_text,
|
|
66
|
+
timestamp: row.timestamp,
|
|
67
|
+
vector: vec
|
|
68
|
+
};
|
|
69
|
+
const list = byProject.get(project);
|
|
70
|
+
if (list) list.push(mem);
|
|
71
|
+
else byProject.set(project, [mem]);
|
|
72
|
+
}
|
|
73
|
+
return byProject;
|
|
74
|
+
}
|
|
75
|
+
function findCandidatePairs(memories, maxPairs) {
|
|
76
|
+
const pairs = [];
|
|
77
|
+
for (let i = 0; i < memories.length && pairs.length < maxPairs; i++) {
|
|
78
|
+
for (let j = i + 1; j < memories.length && pairs.length < maxPairs; j++) {
|
|
79
|
+
const sim = cosineSimilarity(memories[i].vector, memories[j].vector);
|
|
80
|
+
if (sim >= SIM_LOW && sim <= SIM_HIGH) {
|
|
81
|
+
pairs.push({ a: memories[i], b: memories[j], similarity: sim });
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
pairs.sort((x, y) => y.similarity - x.similarity);
|
|
86
|
+
return pairs;
|
|
87
|
+
}
|
|
88
|
+
async function classifyPairsBatch(pairs) {
|
|
89
|
+
const Anthropic = (await import("@anthropic-ai/sdk")).default;
|
|
90
|
+
const client = new Anthropic();
|
|
91
|
+
const pairDescriptions = pairs.map(
|
|
92
|
+
(p, i) => `Pair ${i + 1}:
|
|
93
|
+
Memory A (${p.a.agent_id}, ${p.a.timestamp}): "${p.a.raw_text.slice(0, 300)}"
|
|
94
|
+
Memory B (${p.b.agent_id}, ${p.b.timestamp}): "${p.b.raw_text.slice(0, 300)}"`
|
|
95
|
+
).join("\n\n");
|
|
96
|
+
const prompt = `You are classifying pairs of memory records for contradictions.
|
|
97
|
+
|
|
98
|
+
For each pair, classify as:
|
|
99
|
+
- AGREE: Both memories say the same thing (no action needed).
|
|
100
|
+
- CONFLICT: The memories contradict each other (one must be wrong).
|
|
101
|
+
- SUPERSEDED: One memory replaces/updates the other (the older one is outdated).
|
|
102
|
+
|
|
103
|
+
Respond with a JSON array. Each element: {"pair": <1-indexed>, "classification": "AGREE"|"CONFLICT"|"SUPERSEDED", "explanation": "<brief reason>"}
|
|
104
|
+
|
|
105
|
+
${pairDescriptions}
|
|
106
|
+
|
|
107
|
+
Respond ONLY with the JSON array, no markdown fences.`;
|
|
108
|
+
const response = await client.messages.create({
|
|
109
|
+
model: "claude-haiku-4-5-20251001",
|
|
110
|
+
max_tokens: 1024,
|
|
111
|
+
messages: [{ role: "user", content: prompt }]
|
|
112
|
+
});
|
|
113
|
+
const text = response.content[0]?.type === "text" ? response.content[0].text : "";
|
|
114
|
+
try {
|
|
115
|
+
const parsed = JSON.parse(text);
|
|
116
|
+
return parsed.map((r) => ({
|
|
117
|
+
classification: ["AGREE", "CONFLICT", "SUPERSEDED"].includes(
|
|
118
|
+
r.classification
|
|
119
|
+
) ? r.classification : "AGREE",
|
|
120
|
+
explanation: r.explanation ?? ""
|
|
121
|
+
}));
|
|
122
|
+
} catch {
|
|
123
|
+
return pairs.map(() => ({
|
|
124
|
+
classification: "AGREE",
|
|
125
|
+
explanation: "LLM response parse error"
|
|
126
|
+
}));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
function recommend(classification) {
|
|
130
|
+
switch (classification) {
|
|
131
|
+
case "CONFLICT":
|
|
132
|
+
return "manual_review";
|
|
133
|
+
case "SUPERSEDED":
|
|
134
|
+
return "deactivate_older";
|
|
135
|
+
case "AGREE":
|
|
136
|
+
return "merge";
|
|
137
|
+
case "UNCLASSIFIED":
|
|
138
|
+
return "none";
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
async function detectConflicts(client, projectFilter, agentFilter2) {
|
|
142
|
+
const maxPairs = parseInt(
|
|
143
|
+
process.env.CONFLICT_MAX_PAIRS ?? String(DEFAULT_MAX_PAIRS),
|
|
144
|
+
10
|
|
145
|
+
);
|
|
146
|
+
const byProject = await fetchMemoriesWithVectors(
|
|
147
|
+
client,
|
|
148
|
+
projectFilter,
|
|
149
|
+
agentFilter2
|
|
150
|
+
);
|
|
151
|
+
const allCandidates = [];
|
|
152
|
+
for (const [, memories] of byProject) {
|
|
153
|
+
if (memories.length < 2) continue;
|
|
154
|
+
const candidates2 = findCandidatePairs(
|
|
155
|
+
memories,
|
|
156
|
+
maxPairs - allCandidates.length
|
|
157
|
+
);
|
|
158
|
+
allCandidates.push(...candidates2);
|
|
159
|
+
if (allCandidates.length >= maxPairs) break;
|
|
160
|
+
}
|
|
161
|
+
if (allCandidates.length === 0) {
|
|
162
|
+
return {
|
|
163
|
+
candidateCount: 0,
|
|
164
|
+
classified: 0,
|
|
165
|
+
conflicts: 0,
|
|
166
|
+
superseded: 0,
|
|
167
|
+
agree: 0,
|
|
168
|
+
unclassified: 0,
|
|
169
|
+
pairs: [],
|
|
170
|
+
skipped: false
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
const truncated = allCandidates.length > maxPairs;
|
|
174
|
+
const candidates = allCandidates.slice(0, maxPairs);
|
|
175
|
+
const hasApiKey = !!process.env.ANTHROPIC_API_KEY;
|
|
176
|
+
const pairs = [];
|
|
177
|
+
if (hasApiKey) {
|
|
178
|
+
for (let i = 0; i < candidates.length; i += LLM_BATCH_SIZE) {
|
|
179
|
+
const batch = candidates.slice(i, i + LLM_BATCH_SIZE);
|
|
180
|
+
try {
|
|
181
|
+
const results = await classifyPairsBatch(batch);
|
|
182
|
+
for (let j = 0; j < batch.length; j++) {
|
|
183
|
+
const c = batch[j];
|
|
184
|
+
const r = results[j] ?? {
|
|
185
|
+
classification: "AGREE",
|
|
186
|
+
explanation: "No result"
|
|
187
|
+
};
|
|
188
|
+
pairs.push({
|
|
189
|
+
memoryA: {
|
|
190
|
+
id: c.a.id,
|
|
191
|
+
agentId: c.a.agent_id,
|
|
192
|
+
text: c.a.raw_text,
|
|
193
|
+
timestamp: c.a.timestamp
|
|
194
|
+
},
|
|
195
|
+
memoryB: {
|
|
196
|
+
id: c.b.id,
|
|
197
|
+
agentId: c.b.agent_id,
|
|
198
|
+
text: c.b.raw_text,
|
|
199
|
+
timestamp: c.b.timestamp
|
|
200
|
+
},
|
|
201
|
+
similarity: c.similarity,
|
|
202
|
+
classification: r.classification,
|
|
203
|
+
explanation: r.explanation,
|
|
204
|
+
recommendation: recommend(r.classification)
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
} catch (err) {
|
|
208
|
+
for (const c of batch) {
|
|
209
|
+
pairs.push({
|
|
210
|
+
memoryA: {
|
|
211
|
+
id: c.a.id,
|
|
212
|
+
agentId: c.a.agent_id,
|
|
213
|
+
text: c.a.raw_text,
|
|
214
|
+
timestamp: c.a.timestamp
|
|
215
|
+
},
|
|
216
|
+
memoryB: {
|
|
217
|
+
id: c.b.id,
|
|
218
|
+
agentId: c.b.agent_id,
|
|
219
|
+
text: c.b.raw_text,
|
|
220
|
+
timestamp: c.b.timestamp
|
|
221
|
+
},
|
|
222
|
+
similarity: c.similarity,
|
|
223
|
+
classification: "UNCLASSIFIED",
|
|
224
|
+
explanation: `LLM error: ${err instanceof Error ? err.message : String(err)}`,
|
|
225
|
+
recommendation: "none"
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
} else {
|
|
231
|
+
for (const c of candidates) {
|
|
232
|
+
pairs.push({
|
|
233
|
+
memoryA: {
|
|
234
|
+
id: c.a.id,
|
|
235
|
+
agentId: c.a.agent_id,
|
|
236
|
+
text: c.a.raw_text,
|
|
237
|
+
timestamp: c.a.timestamp
|
|
238
|
+
},
|
|
239
|
+
memoryB: {
|
|
240
|
+
id: c.b.id,
|
|
241
|
+
agentId: c.b.agent_id,
|
|
242
|
+
text: c.b.raw_text,
|
|
243
|
+
timestamp: c.b.timestamp
|
|
244
|
+
},
|
|
245
|
+
similarity: c.similarity,
|
|
246
|
+
classification: "UNCLASSIFIED",
|
|
247
|
+
explanation: "ANTHROPIC_API_KEY not set \u2014 skipped LLM classification",
|
|
248
|
+
recommendation: "none"
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
const severityOrder = { CONFLICT: 0, SUPERSEDED: 1, UNCLASSIFIED: 2, AGREE: 3 };
|
|
253
|
+
pairs.sort(
|
|
254
|
+
(a, b) => severityOrder[a.classification] - severityOrder[b.classification]
|
|
255
|
+
);
|
|
256
|
+
const conflicts = pairs.filter((p) => p.classification === "CONFLICT").length;
|
|
257
|
+
const superseded = pairs.filter(
|
|
258
|
+
(p) => p.classification === "SUPERSEDED"
|
|
259
|
+
).length;
|
|
260
|
+
const agree = pairs.filter((p) => p.classification === "AGREE").length;
|
|
261
|
+
const unclassified = pairs.filter(
|
|
262
|
+
(p) => p.classification === "UNCLASSIFIED"
|
|
263
|
+
).length;
|
|
264
|
+
return {
|
|
265
|
+
candidateCount: candidates.length,
|
|
266
|
+
classified: conflicts + superseded + agree,
|
|
267
|
+
conflicts,
|
|
268
|
+
superseded,
|
|
269
|
+
agree,
|
|
270
|
+
unclassified,
|
|
271
|
+
pairs,
|
|
272
|
+
skipped: truncated,
|
|
273
|
+
skipReason: truncated ? `Exceeded max ${maxPairs} pairs \u2014 increase CONFLICT_MAX_PAIRS to analyze more` : void 0
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// src/bin/exe-doctor.ts
|
|
278
|
+
function parseFlags(argv) {
|
|
279
|
+
const flags = { fix: false, dryRun: false, verbose: false, conflicts: false };
|
|
280
|
+
for (let i = 0; i < argv.length; i++) {
|
|
281
|
+
const arg = argv[i];
|
|
282
|
+
if (arg === "--fix") flags.fix = true;
|
|
283
|
+
else if (arg === "--dry-run") flags.dryRun = true;
|
|
284
|
+
else if (arg === "--verbose") flags.verbose = true;
|
|
285
|
+
else if (arg === "--conflicts") flags.conflicts = true;
|
|
286
|
+
else if (arg === "--agent" && argv[i + 1]) flags.agent = argv[++i];
|
|
287
|
+
else if (arg === "--project" && argv[i + 1]) flags.project = argv[++i];
|
|
288
|
+
}
|
|
289
|
+
return flags;
|
|
290
|
+
}
|
|
291
|
+
function agentFilter(flags) {
|
|
292
|
+
const clauses = [];
|
|
293
|
+
const args = [];
|
|
294
|
+
if (flags.agent) {
|
|
295
|
+
clauses.push("agent_id = ?");
|
|
296
|
+
args.push(flags.agent);
|
|
297
|
+
}
|
|
298
|
+
if (flags.project) {
|
|
299
|
+
clauses.push("project_name = ?");
|
|
300
|
+
args.push(flags.project);
|
|
301
|
+
}
|
|
302
|
+
const clause = clauses.length > 0 ? " WHERE " + clauses.join(" AND ") : "";
|
|
303
|
+
return { clause, args };
|
|
304
|
+
}
|
|
305
|
+
async function auditStats(client, flags) {
|
|
306
|
+
const { clause, args } = agentFilter(flags);
|
|
307
|
+
const summary = await client.execute({
|
|
308
|
+
sql: `SELECT COUNT(*) as total,
|
|
309
|
+
COUNT(DISTINCT agent_id) as agents,
|
|
310
|
+
COUNT(DISTINCT project_name) as projects,
|
|
311
|
+
MIN(timestamp) as oldest,
|
|
312
|
+
MAX(timestamp) as newest
|
|
313
|
+
FROM memories${clause}`,
|
|
314
|
+
args
|
|
315
|
+
});
|
|
316
|
+
const row = summary.rows[0];
|
|
317
|
+
const perAgent = await client.execute({
|
|
318
|
+
sql: `SELECT agent_id, COUNT(*) as count,
|
|
319
|
+
SUM(CASE WHEN vector IS NULL THEN 1 ELSE 0 END) as null_vectors
|
|
320
|
+
FROM memories${clause}
|
|
321
|
+
GROUP BY agent_id
|
|
322
|
+
ORDER BY count DESC`,
|
|
323
|
+
args
|
|
324
|
+
});
|
|
325
|
+
return {
|
|
326
|
+
total: Number(row.total),
|
|
327
|
+
agents: Number(row.agents),
|
|
328
|
+
projects: Number(row.projects),
|
|
329
|
+
oldest: row.oldest ?? null,
|
|
330
|
+
newest: row.newest ?? null,
|
|
331
|
+
perAgent: perAgent.rows.map((r) => ({
|
|
332
|
+
agent_id: r.agent_id,
|
|
333
|
+
count: Number(r.count),
|
|
334
|
+
null_vectors: Number(r.null_vectors)
|
|
335
|
+
}))
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
async function auditNullVectors(client, flags) {
|
|
339
|
+
const { clause, args } = agentFilter(flags);
|
|
340
|
+
const where = clause ? clause + " AND vector IS NULL" : " WHERE vector IS NULL";
|
|
341
|
+
const result = await client.execute({
|
|
342
|
+
sql: `SELECT COUNT(*) as cnt FROM memories${where}`,
|
|
343
|
+
args
|
|
344
|
+
});
|
|
345
|
+
return Number(result.rows[0].cnt);
|
|
346
|
+
}
|
|
347
|
+
async function auditDuplicates(client, flags) {
|
|
348
|
+
const { clause, args } = agentFilter(flags);
|
|
349
|
+
const backfillExclude = clause ? " AND tool_name != 'ConversationBackfill'" : " WHERE tool_name != 'ConversationBackfill'";
|
|
350
|
+
const groups = await client.execute({
|
|
351
|
+
sql: `SELECT SUBSTR(raw_text, 1, 200) as text_head, LENGTH(raw_text) as text_len, COUNT(*) as cnt
|
|
352
|
+
FROM memories${clause}${backfillExclude}
|
|
353
|
+
GROUP BY text_head, text_len
|
|
354
|
+
HAVING cnt > 1
|
|
355
|
+
ORDER BY cnt DESC
|
|
356
|
+
LIMIT 500`,
|
|
357
|
+
args
|
|
358
|
+
});
|
|
359
|
+
const duplicates = [];
|
|
360
|
+
for (const g of groups.rows) {
|
|
361
|
+
const textHead = g.text_head;
|
|
362
|
+
const textLen = Number(g.text_len);
|
|
363
|
+
const filterArgs = [textHead, textLen, ...args];
|
|
364
|
+
let filterClause = " WHERE SUBSTR(raw_text, 1, 200) = ? AND LENGTH(raw_text) = ?";
|
|
365
|
+
if (flags.agent) filterClause += " AND agent_id = ?";
|
|
366
|
+
if (flags.project) filterClause += " AND project_name = ?";
|
|
367
|
+
const ids = await client.execute({
|
|
368
|
+
sql: `SELECT id, raw_text FROM memories${filterClause} ORDER BY timestamp DESC LIMIT 10000`,
|
|
369
|
+
args: filterArgs
|
|
370
|
+
});
|
|
371
|
+
const byText = /* @__PURE__ */ new Map();
|
|
372
|
+
for (const r of ids.rows) {
|
|
373
|
+
const text = r.raw_text;
|
|
374
|
+
const id = r.id;
|
|
375
|
+
const existing = byText.get(text);
|
|
376
|
+
if (existing) existing.push(id);
|
|
377
|
+
else byText.set(text, [id]);
|
|
378
|
+
}
|
|
379
|
+
for (const [text, allIds] of byText) {
|
|
380
|
+
if (allIds.length <= 1) continue;
|
|
381
|
+
duplicates.push({
|
|
382
|
+
raw_text: text.length > 100 ? text.slice(0, 100) + "..." : text,
|
|
383
|
+
count: allIds.length,
|
|
384
|
+
keep_id: allIds[0],
|
|
385
|
+
delete_ids: allIds.slice(1)
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
return duplicates;
|
|
390
|
+
}
|
|
391
|
+
async function auditBloated(client, flags) {
|
|
392
|
+
const { clause, args } = agentFilter(flags);
|
|
393
|
+
const where = clause ? clause + " AND LENGTH(raw_text) > 5120 AND tool_name != 'ConversationBackfill'" : " WHERE LENGTH(raw_text) > 5120 AND tool_name != 'ConversationBackfill'";
|
|
394
|
+
const result = await client.execute({
|
|
395
|
+
sql: `SELECT id, agent_id, LENGTH(raw_text) as size, tool_name
|
|
396
|
+
FROM memories${where}
|
|
397
|
+
ORDER BY size DESC
|
|
398
|
+
LIMIT 100`,
|
|
399
|
+
args
|
|
400
|
+
});
|
|
401
|
+
return result.rows.map((r) => ({
|
|
402
|
+
id: r.id,
|
|
403
|
+
agent_id: r.agent_id,
|
|
404
|
+
size: Number(r.size),
|
|
405
|
+
tool_name: r.tool_name
|
|
406
|
+
}));
|
|
407
|
+
}
|
|
408
|
+
async function auditFts(client) {
|
|
409
|
+
const memCount = await client.execute("SELECT COUNT(*) as cnt FROM memories");
|
|
410
|
+
const ftsCount = await client.execute("SELECT COUNT(*) as cnt FROM memories_fts");
|
|
411
|
+
const mc = Number(memCount.rows[0].cnt);
|
|
412
|
+
const fc = Number(ftsCount.rows[0].cnt);
|
|
413
|
+
return { memoryCount: mc, ftsCount: fc, inSync: mc === fc };
|
|
414
|
+
}
|
|
415
|
+
async function auditOrphanedProjects(client) {
|
|
416
|
+
const result = await client.execute(
|
|
417
|
+
`SELECT project_name, COUNT(*) as cnt
|
|
418
|
+
FROM memories
|
|
419
|
+
WHERE tool_name != 'ConversationBackfill'
|
|
420
|
+
GROUP BY project_name
|
|
421
|
+
ORDER BY cnt DESC`
|
|
422
|
+
);
|
|
423
|
+
const orphans = [];
|
|
424
|
+
const home = process.env.HOME ?? process.env.USERPROFILE ?? "";
|
|
425
|
+
for (const row of result.rows) {
|
|
426
|
+
const name = row.project_name;
|
|
427
|
+
const count = Number(row.cnt);
|
|
428
|
+
const exists = existsSync(path.join(home, name)) || existsSync(path.join(home, "..", name)) || existsSync(path.join(process.cwd(), "..", name));
|
|
429
|
+
if (!exists) {
|
|
430
|
+
orphans.push({ project_name: name, count });
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
return orphans;
|
|
434
|
+
}
|
|
435
|
+
function auditHookHealth() {
|
|
436
|
+
const logPath = path.join(
|
|
437
|
+
process.env.HOME ?? process.env.USERPROFILE ?? "",
|
|
438
|
+
".exe-os",
|
|
439
|
+
"logs",
|
|
440
|
+
"hooks.log"
|
|
441
|
+
);
|
|
442
|
+
if (!existsSync(logPath)) {
|
|
443
|
+
return { logExists: false, totalLines: 0, errorsLastHour: 0, topPatterns: [] };
|
|
444
|
+
}
|
|
445
|
+
let content;
|
|
446
|
+
try {
|
|
447
|
+
content = readFileSync(logPath, "utf-8");
|
|
448
|
+
} catch {
|
|
449
|
+
return { logExists: false, totalLines: 0, errorsLastHour: 0, topPatterns: [] };
|
|
450
|
+
}
|
|
451
|
+
const lines = content.split("\n").filter(Boolean);
|
|
452
|
+
const totalLines = lines.length;
|
|
453
|
+
const recent = lines.slice(-200);
|
|
454
|
+
const oneHourAgo = new Date(Date.now() - 36e5).toISOString();
|
|
455
|
+
let errorsLastHour = 0;
|
|
456
|
+
const patternCounts = /* @__PURE__ */ new Map();
|
|
457
|
+
for (const line of recent) {
|
|
458
|
+
const isError = /error|Error|ERR|FAIL|throw|exception|TypeError|ReferenceError|SyntaxError/i.test(line);
|
|
459
|
+
if (!isError) continue;
|
|
460
|
+
const tsMatch = line.match(/(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2})/);
|
|
461
|
+
if (tsMatch && tsMatch[1] >= oneHourAgo) {
|
|
462
|
+
errorsLastHour++;
|
|
463
|
+
} else if (!tsMatch) {
|
|
464
|
+
errorsLastHour++;
|
|
465
|
+
}
|
|
466
|
+
const patternMatch = line.match(/((?:TypeError|ReferenceError|SyntaxError|Error):[^\n]{0,80})/);
|
|
467
|
+
if (patternMatch) {
|
|
468
|
+
const p = patternMatch[1];
|
|
469
|
+
patternCounts.set(p, (patternCounts.get(p) ?? 0) + 1);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
const topPatterns = [...patternCounts.entries()].sort((a, b) => b[1] - a[1]).slice(0, 5).map(([pattern, count]) => ({ pattern, count }));
|
|
473
|
+
return { logExists: true, totalLines, errorsLastHour, topPatterns };
|
|
474
|
+
}
|
|
475
|
+
function safeReadJson(filePath) {
|
|
476
|
+
if (!existsSync(filePath)) return null;
|
|
477
|
+
try {
|
|
478
|
+
return JSON.parse(readFileSync(filePath, "utf-8"));
|
|
479
|
+
} catch {
|
|
480
|
+
return null;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
function collectHookCommandsFromClaudeSettings(settings) {
|
|
484
|
+
const hooks = settings?.hooks;
|
|
485
|
+
if (!hooks || typeof hooks !== "object") return [];
|
|
486
|
+
const commands = [];
|
|
487
|
+
for (const [event, groups] of Object.entries(hooks)) {
|
|
488
|
+
if (!Array.isArray(groups)) continue;
|
|
489
|
+
for (const group of groups) {
|
|
490
|
+
const hooksForGroup = group?.hooks;
|
|
491
|
+
if (!Array.isArray(hooksForGroup)) continue;
|
|
492
|
+
for (const hook of hooksForGroup) {
|
|
493
|
+
const command = hook?.command;
|
|
494
|
+
if (typeof command === "string") commands.push({ event, command });
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
return commands;
|
|
499
|
+
}
|
|
500
|
+
function collectHookCommandsFromCodexHooks(config) {
|
|
501
|
+
const commands = [];
|
|
502
|
+
if (!config || typeof config !== "object") return commands;
|
|
503
|
+
const root = config;
|
|
504
|
+
for (const [event, value] of Object.entries(root)) {
|
|
505
|
+
const entries = Array.isArray(value) ? value : value && typeof value === "object" ? Object.values(value) : [];
|
|
506
|
+
for (const entry of entries) {
|
|
507
|
+
if (typeof entry === "string") commands.push({ event, command: entry });
|
|
508
|
+
const command = entry?.command;
|
|
509
|
+
if (typeof command === "string") commands.push({ event, command });
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
return commands;
|
|
513
|
+
}
|
|
514
|
+
function buildHookOwnershipIssues(runtime, commands) {
|
|
515
|
+
const issues = [];
|
|
516
|
+
for (const marker of LEGACY_SPLIT_POST_TOOL_HOOK_MARKERS) {
|
|
517
|
+
const count = commands.filter((cmd) => cmd.command.includes(marker)).length;
|
|
518
|
+
if (count > 0) {
|
|
519
|
+
issues.push({
|
|
520
|
+
runtime,
|
|
521
|
+
event: "PostToolUse",
|
|
522
|
+
marker,
|
|
523
|
+
count,
|
|
524
|
+
message: `Legacy split PostToolUse hook still installed: ${marker}`
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
for (const entry of EXE_HOOK_MANIFEST.filter((hook) => hook.runtimes.includes(runtime))) {
|
|
529
|
+
const matching = commands.filter((cmd) => cmd.command.includes(entry.commandMarker));
|
|
530
|
+
if (matching.length > 1) {
|
|
531
|
+
issues.push({
|
|
532
|
+
runtime,
|
|
533
|
+
event: entry.event,
|
|
534
|
+
marker: entry.commandMarker,
|
|
535
|
+
count: matching.length,
|
|
536
|
+
message: `Duplicate exe-os hook owner for ${entry.event}: ${entry.commandMarker}`
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
for (const cmd of matching) {
|
|
540
|
+
if (cmd.event !== entry.event) {
|
|
541
|
+
issues.push({
|
|
542
|
+
runtime,
|
|
543
|
+
event: cmd.event,
|
|
544
|
+
marker: entry.commandMarker,
|
|
545
|
+
count: 1,
|
|
546
|
+
message: `exe-os hook ${entry.commandMarker} is registered under ${cmd.event}, expected ${entry.event}`
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
for (const cmd of commands) {
|
|
552
|
+
if (!cmd.command.includes("dist/hooks/")) continue;
|
|
553
|
+
if (!cmd.command.includes("exe-os")) continue;
|
|
554
|
+
const entry = manifestEntryForCommand(cmd.command);
|
|
555
|
+
const isLegacy = LEGACY_SPLIT_POST_TOOL_HOOK_MARKERS.some((marker) => cmd.command.includes(marker));
|
|
556
|
+
if (!entry && !isLegacy) {
|
|
557
|
+
issues.push({
|
|
558
|
+
runtime,
|
|
559
|
+
event: cmd.event,
|
|
560
|
+
marker: "dist/hooks/",
|
|
561
|
+
count: 1,
|
|
562
|
+
message: `Unknown exe-os hook command not present in ownership manifest: ${cmd.command.slice(0, 160)}`
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
return issues;
|
|
567
|
+
}
|
|
568
|
+
function auditHookOwnership() {
|
|
569
|
+
const home = process.env.HOME ?? process.env.USERPROFILE ?? "";
|
|
570
|
+
const checkedFiles = [];
|
|
571
|
+
const issues = [];
|
|
572
|
+
const claudeSettingsPath = path.join(home, ".claude", "settings.json");
|
|
573
|
+
const claudeSettings = safeReadJson(claudeSettingsPath);
|
|
574
|
+
if (claudeSettings) {
|
|
575
|
+
checkedFiles.push(claudeSettingsPath);
|
|
576
|
+
issues.push(...buildHookOwnershipIssues("claude", collectHookCommandsFromClaudeSettings(claudeSettings)));
|
|
577
|
+
}
|
|
578
|
+
const codexHooksPath = path.join(home, ".codex", "hooks.json");
|
|
579
|
+
const codexHooks = safeReadJson(codexHooksPath);
|
|
580
|
+
if (codexHooks) {
|
|
581
|
+
checkedFiles.push(codexHooksPath);
|
|
582
|
+
issues.push(...buildHookOwnershipIssues("codex", collectHookCommandsFromCodexHooks(codexHooks)));
|
|
583
|
+
}
|
|
584
|
+
return {
|
|
585
|
+
checkedFiles,
|
|
586
|
+
issues,
|
|
587
|
+
staleLegacyHooks: issues.filter((issue) => issue.message.includes("Legacy split"))
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
async function auditShards() {
|
|
591
|
+
try {
|
|
592
|
+
const { auditShardHealth } = await import("./shard-manager-43E5PUK7.js");
|
|
593
|
+
const report = await auditShardHealth();
|
|
594
|
+
return {
|
|
595
|
+
total: report.total,
|
|
596
|
+
ok: report.ok,
|
|
597
|
+
unreadable: report.unreadable,
|
|
598
|
+
schemaMismatches: report.schemaMismatches,
|
|
599
|
+
archived: report.archived,
|
|
600
|
+
unreadableNames: report.shards.filter((s) => s.unreadable).map((s) => s.name),
|
|
601
|
+
schemaIssueNames: report.shards.filter((s) => s.schemaIssues.length > 0).map((s) => `${s.name}: ${s.schemaIssues.join(", ")}`)
|
|
602
|
+
};
|
|
603
|
+
} catch {
|
|
604
|
+
return { total: 0, ok: 0, unreadable: 0, schemaMismatches: 0, archived: 0, unreadableNames: [], schemaIssueNames: [] };
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
async function auditKeyHealth() {
|
|
608
|
+
try {
|
|
609
|
+
const { getMasterKey } = await import("./lib/keychain.js");
|
|
610
|
+
const { getKeyBackupStatus } = await import("./key-backup-status-RNRP2PMU.js");
|
|
611
|
+
const key = await getMasterKey();
|
|
612
|
+
const backup = getKeyBackupStatus();
|
|
613
|
+
return {
|
|
614
|
+
masterKeyPresent: Boolean(key),
|
|
615
|
+
recoveryBackupMarked: backup.exists,
|
|
616
|
+
recoveryBackupConfirmedAt: backup.confirmedAt,
|
|
617
|
+
recoveryBackupSource: backup.source
|
|
618
|
+
};
|
|
619
|
+
} catch {
|
|
620
|
+
return { masterKeyPresent: false, recoveryBackupMarked: false };
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
async function auditOutbox() {
|
|
624
|
+
try {
|
|
625
|
+
const { getOutboxStatus } = await import("./support-outbox-SO73Q5H2.js");
|
|
626
|
+
return await getOutboxStatus();
|
|
627
|
+
} catch {
|
|
628
|
+
return {
|
|
629
|
+
bugReports: { total: 0, unsent: 0 },
|
|
630
|
+
featureRequests: { total: 0, unsent: 0 }
|
|
631
|
+
};
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
async function runAudit(client, flags) {
|
|
635
|
+
const runConflicts = flags.conflicts || process.env.EXE_AUDIT_CONFLICTS === "1";
|
|
636
|
+
const [stats, nullVectors, duplicates, bloated, fts, orphanedProjects, shards, keyHealth, outbox] = await Promise.all([
|
|
637
|
+
auditStats(client, flags),
|
|
638
|
+
auditNullVectors(client, flags),
|
|
639
|
+
auditDuplicates(client, flags),
|
|
640
|
+
auditBloated(client, flags),
|
|
641
|
+
auditFts(client),
|
|
642
|
+
auditOrphanedProjects(client),
|
|
643
|
+
auditShards(),
|
|
644
|
+
auditKeyHealth(),
|
|
645
|
+
auditOutbox()
|
|
646
|
+
]);
|
|
647
|
+
let conflicts;
|
|
648
|
+
if (runConflicts) {
|
|
649
|
+
conflicts = await detectConflicts(client, flags.project, flags.agent);
|
|
650
|
+
} else {
|
|
651
|
+
conflicts = {
|
|
652
|
+
candidateCount: 0,
|
|
653
|
+
classified: 0,
|
|
654
|
+
conflicts: 0,
|
|
655
|
+
superseded: 0,
|
|
656
|
+
agree: 0,
|
|
657
|
+
unclassified: 0,
|
|
658
|
+
pairs: [],
|
|
659
|
+
skipped: true,
|
|
660
|
+
skipReason: "Conflict detection skipped (O(n\xB2) on 97K memories). Use --conflicts flag to enable."
|
|
661
|
+
};
|
|
662
|
+
}
|
|
663
|
+
const duplicateCount = duplicates.reduce((sum, d) => sum + d.delete_ids.length, 0);
|
|
664
|
+
const hookHealth = auditHookHealth();
|
|
665
|
+
const hookOwnership = auditHookOwnership();
|
|
666
|
+
return { stats, nullVectors, duplicates, duplicateCount, bloated, fts, orphanedProjects, conflicts, hookHealth, hookOwnership, shards, keyHealth, outbox };
|
|
667
|
+
}
|
|
668
|
+
function indicator(value, warn) {
|
|
669
|
+
if (value === 0) return "\u{1F7E2}";
|
|
670
|
+
if (value <= warn) return "\u{1F7E0}";
|
|
671
|
+
return "\u{1F534}";
|
|
672
|
+
}
|
|
673
|
+
function pct(count, total) {
|
|
674
|
+
if (total === 0) return "0.0%";
|
|
675
|
+
return (count / total * 100).toFixed(1) + "%";
|
|
676
|
+
}
|
|
677
|
+
function fmtNum(n) {
|
|
678
|
+
return n.toLocaleString("en-US");
|
|
679
|
+
}
|
|
680
|
+
function formatReport(report, flags) {
|
|
681
|
+
const lines = [];
|
|
682
|
+
const s = report.stats;
|
|
683
|
+
lines.push("");
|
|
684
|
+
lines.push("\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557");
|
|
685
|
+
lines.push("\u2551 Memory Health Report \u2551");
|
|
686
|
+
lines.push("\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D");
|
|
687
|
+
lines.push("");
|
|
688
|
+
lines.push(`Total: ${fmtNum(s.total)} memories across ${s.agents} agents, ${s.projects} projects`);
|
|
689
|
+
if (s.oldest && s.newest) {
|
|
690
|
+
lines.push(`Date range: ${s.oldest.slice(0, 10)} \u2192 ${s.newest.slice(0, 10)}`);
|
|
691
|
+
}
|
|
692
|
+
lines.push("");
|
|
693
|
+
if (s.perAgent.length > 0) {
|
|
694
|
+
lines.push("By agent:");
|
|
695
|
+
for (const a of s.perAgent) {
|
|
696
|
+
const nullNote = a.null_vectors > 0 ? ` (${fmtNum(a.null_vectors)} null vectors)` : "";
|
|
697
|
+
lines.push(` ${a.agent_id.padEnd(12)} ${fmtNum(a.count).padStart(8)}${nullNote}`);
|
|
698
|
+
}
|
|
699
|
+
lines.push("");
|
|
700
|
+
}
|
|
701
|
+
const totalMemGB = os.totalmem() / (1024 * 1024 * 1024);
|
|
702
|
+
const isLowMemSystem = totalMemGB <= 8;
|
|
703
|
+
if (isLowMemSystem && report.nullVectors > 0) {
|
|
704
|
+
lines.push(`\u{1F7E2} Null vectors: ${fmtNum(report.nullVectors)} / ${fmtNum(s.total)} (expected \u2014 8GB system, keyword search mode)`);
|
|
705
|
+
} else {
|
|
706
|
+
lines.push(`${indicator(report.nullVectors, 50)} Null vectors: ${fmtNum(report.nullVectors)} / ${fmtNum(s.total)} (${pct(report.nullVectors, s.total)})`);
|
|
707
|
+
}
|
|
708
|
+
const dupPct = s.total > 0 ? report.duplicateCount / s.total * 100 : 0;
|
|
709
|
+
const dupIndicator = dupPct === 0 ? "\u{1F7E2}" : dupPct <= 5 ? "\u{1F7E0}" : "\u{1F534}";
|
|
710
|
+
lines.push(`${dupIndicator} Duplicates: ${fmtNum(report.duplicateCount)} / ${fmtNum(s.total)} (${pct(report.duplicateCount, s.total)})`);
|
|
711
|
+
lines.push(`${indicator(report.bloated.length, 20)} Bloated (>5KB): ${fmtNum(report.bloated.length)} / ${fmtNum(s.total)} (${pct(report.bloated.length, s.total)})`);
|
|
712
|
+
const ftsIndicator = report.fts.inSync ? "\u{1F7E2}" : "\u{1F534}";
|
|
713
|
+
lines.push(`${ftsIndicator} FTS index: ${report.fts.inSync ? "in sync" : "OUT OF SYNC"} (${fmtNum(report.fts.memoryCount)} / ${fmtNum(report.fts.ftsCount)})`);
|
|
714
|
+
const kh = report.keyHealth;
|
|
715
|
+
if (!kh.masterKeyPresent) {
|
|
716
|
+
lines.push("\u{1F534} Recovery key: master key missing \u2014 import phrase or run setup before syncing");
|
|
717
|
+
} else if (!kh.recoveryBackupMarked) {
|
|
718
|
+
lines.push("\u{1F534} Recovery backup: not confirmed \u2014 run `exe-os cloud link --show-full` in your local Terminal and save the 24-word phrase");
|
|
719
|
+
} else {
|
|
720
|
+
const suffix = kh.recoveryBackupConfirmedAt ? ` (${kh.recoveryBackupConfirmedAt.slice(0, 10)}${kh.recoveryBackupSource ? ` via ${kh.recoveryBackupSource}` : ""})` : "";
|
|
721
|
+
lines.push(`\u{1F7E2} Recovery backup: confirmed${suffix}`);
|
|
722
|
+
}
|
|
723
|
+
if (report.orphanedProjects.length > 0) {
|
|
724
|
+
const orphanList = report.orphanedProjects.map((o) => `${o.project_name} \u2014 ${o.count} memories`).join(", ");
|
|
725
|
+
lines.push(`\u2139\uFE0F Orphaned projects: ${report.orphanedProjects.length} (${orphanList})`);
|
|
726
|
+
}
|
|
727
|
+
const cr = report.conflicts;
|
|
728
|
+
if (cr.candidateCount > 0) {
|
|
729
|
+
const conflictIndicator = cr.conflicts > 0 ? "\u{1F534}" : cr.superseded > 0 ? "\u{1F7E0}" : "\u{1F7E2}";
|
|
730
|
+
lines.push(`${conflictIndicator} Conflicts: ${fmtNum(cr.candidateCount)} candidate pairs`);
|
|
731
|
+
if (cr.classified > 0) {
|
|
732
|
+
lines.push(` CONFLICT: ${cr.conflicts}, SUPERSEDED: ${cr.superseded}, AGREE: ${cr.agree}`);
|
|
733
|
+
}
|
|
734
|
+
if (cr.unclassified > 0) {
|
|
735
|
+
lines.push(` Unclassified: ${cr.unclassified}`);
|
|
736
|
+
}
|
|
737
|
+
if (cr.skipped) {
|
|
738
|
+
lines.push(` \u26A0\uFE0F ${cr.skipReason}`);
|
|
739
|
+
}
|
|
740
|
+
} else {
|
|
741
|
+
lines.push("\u{1F7E2} Conflicts: none detected");
|
|
742
|
+
}
|
|
743
|
+
const hh = report.hookHealth;
|
|
744
|
+
if (!hh.logExists) {
|
|
745
|
+
lines.push("\u{1F7E0} Hook logs: no log file (run installer to enable stderr capture)");
|
|
746
|
+
} else if (hh.errorsLastHour === 0) {
|
|
747
|
+
lines.push(`\u{1F7E2} Hook logs: ${fmtNum(hh.totalLines)} lines, 0 errors in last hour`);
|
|
748
|
+
} else {
|
|
749
|
+
lines.push(`\u{1F534} Hook logs: ${fmtNum(hh.errorsLastHour)} errors in last hour (${fmtNum(hh.totalLines)} total lines)`);
|
|
750
|
+
for (const p of hh.topPatterns) {
|
|
751
|
+
lines.push(` ${p.count}x: ${p.pattern}`);
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
const ho = report.hookOwnership;
|
|
755
|
+
if (ho.issues.length === 0) {
|
|
756
|
+
lines.push(`\u{1F7E2} Hook ownership: ${ho.checkedFiles.length > 0 ? "manifest clean" : "no local hook config found"}`);
|
|
757
|
+
} else {
|
|
758
|
+
lines.push(`\u{1F534} Hook ownership: ${fmtNum(ho.issues.length)} issue(s)`);
|
|
759
|
+
for (const issue of ho.issues.slice(0, 5)) {
|
|
760
|
+
lines.push(` [${issue.runtime}/${issue.event}] ${issue.message}`);
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
const sh = report.shards;
|
|
764
|
+
if (sh.total > 0) {
|
|
765
|
+
if (sh.unreadable === 0 && sh.schemaMismatches === 0) {
|
|
766
|
+
lines.push(`\u{1F7E2} Shards: ${fmtNum(sh.ok)} / ${fmtNum(sh.total)} readable`);
|
|
767
|
+
} else {
|
|
768
|
+
const unreadable = sh.unreadableNames.slice(0, 5).join(", ");
|
|
769
|
+
const schema = sh.schemaIssueNames.slice(0, 3).join("; ");
|
|
770
|
+
const parts = [
|
|
771
|
+
sh.unreadable > 0 ? `${fmtNum(sh.unreadable)} unreadable (${unreadable}${sh.unreadableNames.length > 5 ? ", ..." : ""})` : null,
|
|
772
|
+
sh.schemaMismatches > 0 ? `${fmtNum(sh.schemaMismatches)} schema mismatch (${schema}${sh.schemaIssueNames.length > 3 ? "; ..." : ""})` : null
|
|
773
|
+
].filter(Boolean);
|
|
774
|
+
lines.push(`\u{1F534} Shards: ${parts.join("; ")}`);
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
const ob = report.outbox;
|
|
778
|
+
const unsentTotal = ob.bugReports.unsent + ob.featureRequests.unsent;
|
|
779
|
+
if (unsentTotal === 0) {
|
|
780
|
+
lines.push("\u{1F7E2} Support outbox: all items sent");
|
|
781
|
+
} else {
|
|
782
|
+
lines.push(`\u{1F7E0} Support outbox: ${fmtNum(unsentTotal)} unsent (${ob.bugReports.unsent} bugs, ${ob.featureRequests.unsent} features)`);
|
|
783
|
+
}
|
|
784
|
+
lines.push("");
|
|
785
|
+
if (flags.verbose) {
|
|
786
|
+
if (report.duplicates.length > 0) {
|
|
787
|
+
lines.push("Duplicate groups (top 10):");
|
|
788
|
+
for (const d of report.duplicates.slice(0, 10)) {
|
|
789
|
+
lines.push(` ${d.count}x: ${d.raw_text}`);
|
|
790
|
+
}
|
|
791
|
+
lines.push("");
|
|
792
|
+
}
|
|
793
|
+
if (report.bloated.length > 0) {
|
|
794
|
+
lines.push("Bloated records:");
|
|
795
|
+
for (const b of report.bloated.slice(0, 20)) {
|
|
796
|
+
lines.push(` ${b.id.slice(0, 8)}... ${b.agent_id} ${b.tool_name} (${fmtNum(b.size)} bytes)`);
|
|
797
|
+
}
|
|
798
|
+
lines.push("");
|
|
799
|
+
}
|
|
800
|
+
const actionable = report.conflicts.pairs.filter(
|
|
801
|
+
(p) => p.classification === "CONFLICT" || p.classification === "SUPERSEDED"
|
|
802
|
+
);
|
|
803
|
+
if (actionable.length > 0) {
|
|
804
|
+
lines.push("Conflict Detection");
|
|
805
|
+
lines.push("==================");
|
|
806
|
+
for (const p of actionable.slice(0, 10)) {
|
|
807
|
+
const aShort = p.memoryA.text.length > 60 ? p.memoryA.text.slice(0, 60) + "..." : p.memoryA.text;
|
|
808
|
+
const bShort = p.memoryB.text.length > 60 ? p.memoryB.text.slice(0, 60) + "..." : p.memoryB.text;
|
|
809
|
+
lines.push(
|
|
810
|
+
` [${p.classification}] ${p.memoryA.id.slice(0, 8)} (${p.memoryA.agentId}, ${p.memoryA.timestamp.slice(0, 10)}) vs ${p.memoryB.id.slice(0, 8)} (${p.memoryB.agentId}, ${p.memoryB.timestamp.slice(0, 10)})`
|
|
811
|
+
);
|
|
812
|
+
lines.push(` "${aShort}" vs "${bShort}"`);
|
|
813
|
+
lines.push(` ${p.explanation} \u2192 Recommendation: ${p.recommendation}`);
|
|
814
|
+
}
|
|
815
|
+
lines.push("");
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
const recs = [];
|
|
819
|
+
if (report.nullVectors > 0 && !isLowMemSystem) {
|
|
820
|
+
recs.push(`Run --fix to backfill ${fmtNum(report.nullVectors)} null vectors`);
|
|
821
|
+
}
|
|
822
|
+
if (report.duplicateCount > 0) {
|
|
823
|
+
recs.push(`Run --fix to remove ${fmtNum(report.duplicateCount)} duplicates`);
|
|
824
|
+
}
|
|
825
|
+
if (report.bloated.length > 0) {
|
|
826
|
+
recs.push(`${fmtNum(report.bloated.length)} bloated records will be split into ~2KB chunks`);
|
|
827
|
+
}
|
|
828
|
+
if (!report.fts.inSync) {
|
|
829
|
+
recs.push("Run --fix to rebuild FTS index");
|
|
830
|
+
}
|
|
831
|
+
if (report.shards.unreadable > 0) {
|
|
832
|
+
recs.push(`Run --fix to archive ${fmtNum(report.shards.unreadable)} unreadable shard(s); global DB remains authoritative`);
|
|
833
|
+
}
|
|
834
|
+
if (report.shards.schemaMismatches > 0) {
|
|
835
|
+
recs.push(`Run --fix to migrate ${fmtNum(report.shards.schemaMismatches)} shard schema mismatch(es) in place`);
|
|
836
|
+
}
|
|
837
|
+
if (report.orphanedProjects.length > 0) {
|
|
838
|
+
const names = report.orphanedProjects.map((o) => `"${o.project_name}"`).join(", ");
|
|
839
|
+
recs.push(`Consider /exe-forget for orphaned project${report.orphanedProjects.length > 1 ? "s" : ""} ${names}`);
|
|
840
|
+
}
|
|
841
|
+
if (report.conflicts.conflicts > 0) {
|
|
842
|
+
recs.push(`${fmtNum(report.conflicts.conflicts)} conflicting memory pairs need manual review`);
|
|
843
|
+
}
|
|
844
|
+
if (report.conflicts.superseded > 0) {
|
|
845
|
+
recs.push(`${fmtNum(report.conflicts.superseded)} superseded memories can be deactivated`);
|
|
846
|
+
}
|
|
847
|
+
if (report.hookOwnership.issues.length > 0) {
|
|
848
|
+
recs.push(`Run exe-os install to refresh hook config; remove stale exe-os hook commands if they remain`);
|
|
849
|
+
}
|
|
850
|
+
if (recs.length > 0) {
|
|
851
|
+
lines.push("Recommendations:");
|
|
852
|
+
for (const r of recs) {
|
|
853
|
+
lines.push(` \u2022 ${r}`);
|
|
854
|
+
}
|
|
855
|
+
} else {
|
|
856
|
+
lines.push("All clear \u2014 memory database is healthy.");
|
|
857
|
+
}
|
|
858
|
+
lines.push("");
|
|
859
|
+
return lines.join("\n");
|
|
860
|
+
}
|
|
861
|
+
async function fixNullVectors() {
|
|
862
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-56JYUFA7.js");
|
|
863
|
+
if (!tryAcquireWorkerSlot()) {
|
|
864
|
+
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
865
|
+
await new Promise((r) => setTimeout(r, 5e3));
|
|
866
|
+
if (!tryAcquireWorkerSlot()) {
|
|
867
|
+
throw new Error("Worker gate still full after 5s \u2014 try again later or kill stale workers");
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
const npmRoot = (await import("child_process")).execSync("npm root -g", { encoding: "utf8" }).trim();
|
|
871
|
+
const backfillPath = path.join(npmRoot, "exe-os", "dist", "bin", "backfill-vectors.js");
|
|
872
|
+
return new Promise((resolve, reject) => {
|
|
873
|
+
const child = spawn("node", [backfillPath], { stdio: "inherit" });
|
|
874
|
+
if (child.pid) registerWorkerPid(child.pid);
|
|
875
|
+
child.on("close", (code) => {
|
|
876
|
+
if (code === 0) resolve();
|
|
877
|
+
else reject(new Error(`backfill-vectors exited with code ${code}`));
|
|
878
|
+
});
|
|
879
|
+
child.on("error", reject);
|
|
880
|
+
});
|
|
881
|
+
}
|
|
882
|
+
async function fixDuplicates(client, duplicates, dryRun) {
|
|
883
|
+
let deleted = 0;
|
|
884
|
+
for (const dup of duplicates) {
|
|
885
|
+
if (dup.delete_ids.length === 0) continue;
|
|
886
|
+
if (dryRun) {
|
|
887
|
+
console.log(` [dry-run] Would delete ${dup.delete_ids.length} duplicates: ${dup.raw_text}`);
|
|
888
|
+
deleted += dup.delete_ids.length;
|
|
889
|
+
continue;
|
|
890
|
+
}
|
|
891
|
+
const placeholders = dup.delete_ids.map(() => "?").join(",");
|
|
892
|
+
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
893
|
+
await client.execute({
|
|
894
|
+
sql: `UPDATE memories SET status = 'deleted', deleted_at = ? WHERE id IN (${placeholders})`,
|
|
895
|
+
args: [now, ...dup.delete_ids]
|
|
896
|
+
});
|
|
897
|
+
deleted += dup.delete_ids.length;
|
|
898
|
+
}
|
|
899
|
+
return deleted;
|
|
900
|
+
}
|
|
901
|
+
async function fixBloated(client, bloated, dryRun) {
|
|
902
|
+
let chunksCreated = 0;
|
|
903
|
+
const CHUNK_SIZE = 2048;
|
|
904
|
+
for (const b of bloated) {
|
|
905
|
+
const result = await client.execute({
|
|
906
|
+
sql: `SELECT * FROM memories WHERE id = ?`,
|
|
907
|
+
args: [b.id]
|
|
908
|
+
});
|
|
909
|
+
if (result.rows.length === 0) continue;
|
|
910
|
+
const row = result.rows[0];
|
|
911
|
+
const text = row.raw_text;
|
|
912
|
+
const chunks = splitAtSentences(text, CHUNK_SIZE);
|
|
913
|
+
if (chunks.length <= 1) continue;
|
|
914
|
+
if (dryRun) {
|
|
915
|
+
console.log(` [dry-run] Would split ${b.id.slice(0, 8)}... (${fmtNum(b.size)} bytes) into ${chunks.length} chunks`);
|
|
916
|
+
chunksCreated += chunks.length;
|
|
917
|
+
continue;
|
|
918
|
+
}
|
|
919
|
+
const stmts = chunks.map((chunk, i) => ({
|
|
920
|
+
sql: `INSERT INTO memories
|
|
921
|
+
(id, agent_id, agent_role, session_id, timestamp,
|
|
922
|
+
tool_name, project_name, has_error, raw_text, vector, version, consolidated)
|
|
923
|
+
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, NULL, 0, 0)`,
|
|
924
|
+
args: [
|
|
925
|
+
randomUUID(),
|
|
926
|
+
row.agent_id,
|
|
927
|
+
row.agent_role,
|
|
928
|
+
row.session_id,
|
|
929
|
+
row.timestamp,
|
|
930
|
+
row.tool_name,
|
|
931
|
+
row.project_name,
|
|
932
|
+
row.has_error,
|
|
933
|
+
`[chunk ${i + 1}/${chunks.length} of ${b.id}] ${chunk}`
|
|
934
|
+
]
|
|
935
|
+
}));
|
|
936
|
+
stmts.push({
|
|
937
|
+
sql: `UPDATE memories SET consolidated = 1 WHERE id = ?`,
|
|
938
|
+
args: [b.id]
|
|
939
|
+
});
|
|
940
|
+
await client.batch(stmts, "write");
|
|
941
|
+
chunksCreated += chunks.length;
|
|
942
|
+
}
|
|
943
|
+
return chunksCreated;
|
|
944
|
+
}
|
|
945
|
+
async function fixShards(dryRun) {
|
|
946
|
+
const { auditShardHealth } = await import("./shard-manager-43E5PUK7.js");
|
|
947
|
+
const report = await auditShardHealth({ repair: true, dryRun });
|
|
948
|
+
return {
|
|
949
|
+
total: report.total,
|
|
950
|
+
ok: report.ok,
|
|
951
|
+
unreadable: report.unreadable,
|
|
952
|
+
schemaMismatches: report.schemaMismatches,
|
|
953
|
+
archived: report.archived,
|
|
954
|
+
unreadableNames: report.shards.filter((s) => s.unreadable).map((s) => s.name),
|
|
955
|
+
schemaIssueNames: report.shards.filter((s) => s.schemaIssues.length > 0).map((s) => `${s.name}: ${s.schemaIssues.join(", ")}`)
|
|
956
|
+
};
|
|
957
|
+
}
|
|
958
|
+
function splitAtSentences(text, maxChunkSize) {
|
|
959
|
+
if (text.length <= maxChunkSize) return [text];
|
|
960
|
+
const chunks = [];
|
|
961
|
+
let remaining = text;
|
|
962
|
+
while (remaining.length > 0) {
|
|
963
|
+
if (remaining.length <= maxChunkSize) {
|
|
964
|
+
chunks.push(remaining);
|
|
965
|
+
break;
|
|
966
|
+
}
|
|
967
|
+
const window = remaining.slice(0, maxChunkSize);
|
|
968
|
+
let splitIdx = -1;
|
|
969
|
+
for (const sep of [". ", ".\n", "! ", "!\n", "? ", "?\n"]) {
|
|
970
|
+
const idx = window.lastIndexOf(sep);
|
|
971
|
+
if (idx > splitIdx) splitIdx = idx + sep.length;
|
|
972
|
+
}
|
|
973
|
+
if (splitIdx <= 0) {
|
|
974
|
+
const nlIdx = window.lastIndexOf("\n");
|
|
975
|
+
if (nlIdx > 0) splitIdx = nlIdx + 1;
|
|
976
|
+
}
|
|
977
|
+
if (splitIdx <= 0) splitIdx = maxChunkSize;
|
|
978
|
+
chunks.push(remaining.slice(0, splitIdx).trimEnd());
|
|
979
|
+
remaining = remaining.slice(splitIdx).trimStart();
|
|
980
|
+
}
|
|
981
|
+
return chunks;
|
|
982
|
+
}
|
|
983
|
+
async function main(argv = process.argv.slice(2)) {
|
|
984
|
+
const flags = parseFlags(argv);
|
|
985
|
+
const { fastDbInit } = await import("./fast-db-init-KJFD5PBA.js");
|
|
986
|
+
const client = await fastDbInit();
|
|
987
|
+
const report = await runAudit(client, flags);
|
|
988
|
+
console.log(formatReport(report, flags));
|
|
989
|
+
if (flags.fix || flags.dryRun) {
|
|
990
|
+
const mode = flags.dryRun ? "[dry-run]" : "[fix]";
|
|
991
|
+
console.log(`
|
|
992
|
+
${mode} Applying repairs...
|
|
993
|
+
`);
|
|
994
|
+
if (!flags.dryRun) {
|
|
995
|
+
try {
|
|
996
|
+
const { createBackup } = await import("./db-backup-RELPNM6R.js");
|
|
997
|
+
const backupPath = await createBackup("pre-fix");
|
|
998
|
+
if (backupPath) {
|
|
999
|
+
console.log(` Backup created: ${backupPath.split("/").pop()}`);
|
|
1000
|
+
}
|
|
1001
|
+
} catch {
|
|
1002
|
+
console.log(" Warning: backup failed \u2014 proceeding with fix anyway");
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
if (report.nullVectors > 0) {
|
|
1006
|
+
console.log(`${mode} Backfilling ${fmtNum(report.nullVectors)} null vectors...`);
|
|
1007
|
+
if (!flags.dryRun) {
|
|
1008
|
+
try {
|
|
1009
|
+
await fixNullVectors();
|
|
1010
|
+
console.log(" Done.");
|
|
1011
|
+
} catch (err) {
|
|
1012
|
+
console.error(` Failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
if (report.duplicateCount > 0) {
|
|
1017
|
+
console.log(`${mode} Removing ${fmtNum(report.duplicateCount)} duplicates...`);
|
|
1018
|
+
const deleted = await fixDuplicates(client, report.duplicates, flags.dryRun);
|
|
1019
|
+
console.log(` ${flags.dryRun ? "Would remove" : "Removed"} ${fmtNum(deleted)} records.`);
|
|
1020
|
+
}
|
|
1021
|
+
if (report.bloated.length > 0) {
|
|
1022
|
+
console.log(`${mode} Splitting ${fmtNum(report.bloated.length)} bloated records...`);
|
|
1023
|
+
const chunks = await fixBloated(client, report.bloated, flags.dryRun);
|
|
1024
|
+
console.log(` ${flags.dryRun ? "Would create" : "Created"} ${fmtNum(chunks)} chunks.`);
|
|
1025
|
+
}
|
|
1026
|
+
if (!report.fts.inSync) {
|
|
1027
|
+
console.log(`${mode} Rebuilding FTS index...`);
|
|
1028
|
+
if (!flags.dryRun) {
|
|
1029
|
+
await client.execute("INSERT INTO memories_fts(memories_fts) VALUES('rebuild')");
|
|
1030
|
+
console.log(" Done.");
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
if (report.shards.unreadable > 0 || report.shards.schemaMismatches > 0) {
|
|
1034
|
+
console.log(`${mode} Repairing ${fmtNum(report.shards.unreadable)} unreadable shard(s) and ${fmtNum(report.shards.schemaMismatches)} schema mismatch(es)...`);
|
|
1035
|
+
const fixed = await fixShards(flags.dryRun);
|
|
1036
|
+
console.log(
|
|
1037
|
+
` ${flags.dryRun ? "Would archive" : "Archived"} ${fmtNum(flags.dryRun ? fixed.unreadable : fixed.archived)} unreadable shard(s); ${flags.dryRun ? "would migrate" : "migrated"} ${fmtNum(flags.dryRun ? fixed.schemaMismatches : report.shards.schemaMismatches - fixed.schemaMismatches)} schema mismatch(es).`
|
|
1038
|
+
);
|
|
1039
|
+
}
|
|
1040
|
+
console.log(`
|
|
1041
|
+
${mode} Complete.`);
|
|
1042
|
+
}
|
|
1043
|
+
return report;
|
|
1044
|
+
}
|
|
1045
|
+
if (isMainModule(import.meta.url) && (process.argv[1] ?? "").includes("exe-doctor")) {
|
|
1046
|
+
main().catch((err) => {
|
|
1047
|
+
console.error(err instanceof Error ? err.message : String(err));
|
|
1048
|
+
process.exit(1);
|
|
1049
|
+
});
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
export {
|
|
1053
|
+
parseFlags,
|
|
1054
|
+
auditStats,
|
|
1055
|
+
auditNullVectors,
|
|
1056
|
+
auditDuplicates,
|
|
1057
|
+
auditBloated,
|
|
1058
|
+
auditFts,
|
|
1059
|
+
auditOrphanedProjects,
|
|
1060
|
+
auditHookHealth,
|
|
1061
|
+
auditHookOwnership,
|
|
1062
|
+
auditShards,
|
|
1063
|
+
auditKeyHealth,
|
|
1064
|
+
auditOutbox,
|
|
1065
|
+
runAudit,
|
|
1066
|
+
formatReport,
|
|
1067
|
+
fixNullVectors,
|
|
1068
|
+
fixDuplicates,
|
|
1069
|
+
fixBloated,
|
|
1070
|
+
fixShards,
|
|
1071
|
+
splitAtSentences,
|
|
1072
|
+
main
|
|
1073
|
+
};
|