@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,1068 @@
|
|
|
1
|
+
import {
|
|
2
|
+
loadPreferences
|
|
3
|
+
} from "./chunk-GNHN5HRQ.js";
|
|
4
|
+
import {
|
|
5
|
+
EXE_HOOKS,
|
|
6
|
+
isLegacyHomeDirHookCommand,
|
|
7
|
+
isLegacySplitPostToolCommand
|
|
8
|
+
} from "./chunk-L3TB7CC3.js";
|
|
9
|
+
import {
|
|
10
|
+
buildClaudeHttpMcpEntry
|
|
11
|
+
} from "./chunk-V75SLGIH.js";
|
|
12
|
+
import {
|
|
13
|
+
ensureAllAgentSymlinks
|
|
14
|
+
} from "./chunk-4H4HKOE4.js";
|
|
15
|
+
import {
|
|
16
|
+
MCP_LEGACY_KEY,
|
|
17
|
+
MCP_PRIMARY_KEY
|
|
18
|
+
} from "./chunk-HYZV25LY.js";
|
|
19
|
+
|
|
20
|
+
// src/adapters/claude/installer.ts
|
|
21
|
+
import { readFile, writeFile, mkdir, readdir, rm } from "fs/promises";
|
|
22
|
+
import { existsSync, readFileSync, writeFileSync, copyFileSync, mkdirSync } from "fs";
|
|
23
|
+
import { createHash } from "crypto";
|
|
24
|
+
import path from "path";
|
|
25
|
+
import os from "os";
|
|
26
|
+
import { execSync } from "child_process";
|
|
27
|
+
import { fileURLToPath } from "url";
|
|
28
|
+
function resolvePackageRoot() {
|
|
29
|
+
const thisFile = fileURLToPath(import.meta.url);
|
|
30
|
+
let dir = path.dirname(thisFile);
|
|
31
|
+
const root = path.parse(dir).root;
|
|
32
|
+
while (dir !== root) {
|
|
33
|
+
const pkgPath = path.join(dir, "package.json");
|
|
34
|
+
if (existsSync(pkgPath)) {
|
|
35
|
+
try {
|
|
36
|
+
const pkg = JSON.parse(readFileSync(pkgPath, "utf-8"));
|
|
37
|
+
if (pkg.name === "@askexenow/exe-os" || pkg.name === "exe-os") return dir;
|
|
38
|
+
} catch {
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
dir = path.dirname(dir);
|
|
42
|
+
}
|
|
43
|
+
return path.resolve(path.dirname(thisFile), "..", "..", "..");
|
|
44
|
+
}
|
|
45
|
+
async function copySlashCommands(packageRoot, homeDir = os.homedir()) {
|
|
46
|
+
let copied = 0;
|
|
47
|
+
let skipped = 0;
|
|
48
|
+
const skillsBase = path.join(homeDir, ".claude", "skills");
|
|
49
|
+
const deprecatedExeLink = path.join(skillsBase, "exe-link");
|
|
50
|
+
if (existsSync(deprecatedExeLink)) {
|
|
51
|
+
await rm(deprecatedExeLink, { recursive: true, force: true });
|
|
52
|
+
}
|
|
53
|
+
const exeDir = path.join(packageRoot, "src", "commands", "exe");
|
|
54
|
+
if (existsSync(exeDir)) {
|
|
55
|
+
const entries = await readdir(exeDir);
|
|
56
|
+
const mdFiles = entries.filter((f) => f.endsWith(".md"));
|
|
57
|
+
for (const file of mdFiles) {
|
|
58
|
+
const name = file.replace(".md", "");
|
|
59
|
+
const destDir = path.join(skillsBase, `exe-${name}`);
|
|
60
|
+
await mkdir(destDir, { recursive: true });
|
|
61
|
+
const srcPath = path.join(exeDir, file);
|
|
62
|
+
const destPath = path.join(destDir, "SKILL.md");
|
|
63
|
+
const result = await copyAsSkill(srcPath, destPath, `exe-${name}`);
|
|
64
|
+
if (result) copied++;
|
|
65
|
+
else skipped++;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
const topLevelSrc = path.join(packageRoot, "src", "commands", "exe.md");
|
|
69
|
+
if (existsSync(topLevelSrc)) {
|
|
70
|
+
const destDir = path.join(skillsBase, "exe");
|
|
71
|
+
await mkdir(destDir, { recursive: true });
|
|
72
|
+
const destPath = path.join(destDir, "SKILL.md");
|
|
73
|
+
const result = await copyAsSkill(topLevelSrc, destPath, "exe");
|
|
74
|
+
if (result) copied++;
|
|
75
|
+
else skipped++;
|
|
76
|
+
}
|
|
77
|
+
return { copied, skipped };
|
|
78
|
+
}
|
|
79
|
+
async function copyAsSkill(srcPath, destPath, skillName) {
|
|
80
|
+
let content = await readFile(srcPath, "utf-8");
|
|
81
|
+
const fmMatch = content.match(/^---\n([\s\S]*?)\n---/);
|
|
82
|
+
if (fmMatch?.[1]) {
|
|
83
|
+
const fm = fmMatch[1];
|
|
84
|
+
if (fm.includes("name:")) {
|
|
85
|
+
content = content.replace(
|
|
86
|
+
/^(---\n[\s\S]*?)name:\s*[^\n]+/,
|
|
87
|
+
`$1name: ${skillName}`
|
|
88
|
+
);
|
|
89
|
+
} else {
|
|
90
|
+
content = content.replace(/^---\n/, `---
|
|
91
|
+
name: ${skillName}
|
|
92
|
+
`);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
if (existsSync(destPath)) {
|
|
96
|
+
const existing = await readFile(destPath, "utf-8");
|
|
97
|
+
if (existing === content) return false;
|
|
98
|
+
}
|
|
99
|
+
await writeFile(destPath, content);
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
function readJsonFile(filePath) {
|
|
103
|
+
try {
|
|
104
|
+
return JSON.parse(readFileSync(filePath, "utf-8"));
|
|
105
|
+
} catch {
|
|
106
|
+
return null;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function findAncestorMcpJsons(startDir, homeDir) {
|
|
110
|
+
const files = [];
|
|
111
|
+
let dir = path.resolve(startDir);
|
|
112
|
+
const root = path.parse(dir).root;
|
|
113
|
+
const stop = path.resolve(homeDir);
|
|
114
|
+
while (dir !== root) {
|
|
115
|
+
const candidate = path.join(dir, ".mcp.json");
|
|
116
|
+
if (existsSync(candidate)) files.push(candidate);
|
|
117
|
+
if (dir === stop) break;
|
|
118
|
+
dir = path.dirname(dir);
|
|
119
|
+
}
|
|
120
|
+
return files;
|
|
121
|
+
}
|
|
122
|
+
function pathApplies(projectPath, cwd) {
|
|
123
|
+
const project = path.resolve(projectPath);
|
|
124
|
+
const current = path.resolve(cwd);
|
|
125
|
+
return current === project || current.startsWith(project + path.sep);
|
|
126
|
+
}
|
|
127
|
+
function detectMcpNameCollisions(homeDir = os.homedir(), cwd = process.cwd()) {
|
|
128
|
+
const claudeJsonPath = path.join(homeDir, ".claude.json");
|
|
129
|
+
if (!existsSync(claudeJsonPath)) return [];
|
|
130
|
+
const claudeJson = readJsonFile(claudeJsonPath);
|
|
131
|
+
if (!claudeJson?.projects) return [];
|
|
132
|
+
const collisions = [];
|
|
133
|
+
const mcpJsons = findAncestorMcpJsons(cwd, homeDir);
|
|
134
|
+
if (mcpJsons.length === 0) return [];
|
|
135
|
+
for (const [projectPath, projectConfig] of Object.entries(claudeJson.projects)) {
|
|
136
|
+
if (!pathApplies(projectPath, cwd)) continue;
|
|
137
|
+
const projectServerNames = new Set(Object.keys(projectConfig.mcpServers ?? {}));
|
|
138
|
+
if (projectServerNames.size === 0) continue;
|
|
139
|
+
const enabled = new Set(projectConfig.enabledMcpjsonServers ?? []);
|
|
140
|
+
for (const mcpJsonPath of mcpJsons) {
|
|
141
|
+
const mcpJson = readJsonFile(mcpJsonPath);
|
|
142
|
+
const mcpServerNames = Object.keys(mcpJson?.mcpServers ?? {});
|
|
143
|
+
for (const serverName of mcpServerNames) {
|
|
144
|
+
if (!projectServerNames.has(serverName)) continue;
|
|
145
|
+
collisions.push({
|
|
146
|
+
mcpJsonPath,
|
|
147
|
+
projectPath,
|
|
148
|
+
serverName,
|
|
149
|
+
disabledInMcpJson: !enabled.has(serverName)
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
return collisions;
|
|
155
|
+
}
|
|
156
|
+
function buildStdioMcpEntry(packageRoot) {
|
|
157
|
+
return {
|
|
158
|
+
type: "stdio",
|
|
159
|
+
command: "node",
|
|
160
|
+
args: [path.join(packageRoot, "dist", "mcp", "server.js")],
|
|
161
|
+
env: {}
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
function mcpTransportMode() {
|
|
165
|
+
const value = process.env.EXE_OS_MCP_TRANSPORT?.trim().toLowerCase();
|
|
166
|
+
if (value === "stdio") return "stdio";
|
|
167
|
+
if (value === "http") return "http";
|
|
168
|
+
const totalGB = os.totalmem() / (1024 * 1024 * 1024);
|
|
169
|
+
if (totalGB <= 8) return "stdio";
|
|
170
|
+
return "http";
|
|
171
|
+
}
|
|
172
|
+
async function registerMcpServer(packageRoot, homeDir = os.homedir()) {
|
|
173
|
+
const claudeJsonPath = path.join(homeDir, ".claude.json");
|
|
174
|
+
let claudeJson = {};
|
|
175
|
+
if (existsSync(claudeJsonPath)) {
|
|
176
|
+
try {
|
|
177
|
+
claudeJson = JSON.parse(await readFile(claudeJsonPath, "utf-8"));
|
|
178
|
+
} catch {
|
|
179
|
+
claudeJson = {};
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
if (!claudeJson.mcpServers) {
|
|
183
|
+
claudeJson.mcpServers = {};
|
|
184
|
+
}
|
|
185
|
+
const newEntry = mcpTransportMode() === "stdio" ? buildStdioMcpEntry(packageRoot) : buildClaudeHttpMcpEntry(homeDir);
|
|
186
|
+
if (newEntry && typeof newEntry === "object" && "headers" in newEntry) {
|
|
187
|
+
const headers = newEntry.headers;
|
|
188
|
+
if (headers["X-Exe-Session"]) {
|
|
189
|
+
delete headers["X-Exe-Session"];
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
for (const key of [MCP_PRIMARY_KEY, MCP_LEGACY_KEY]) {
|
|
193
|
+
const existing = claudeJson.mcpServers?.[key];
|
|
194
|
+
if (existing?.headers) {
|
|
195
|
+
const h = existing.headers;
|
|
196
|
+
if (h["X-Exe-Session"]) {
|
|
197
|
+
delete h["X-Exe-Session"];
|
|
198
|
+
process.stderr.write(`exe-os: stripped stale X-Exe-Session from global ${key} config
|
|
199
|
+
`);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
if (claudeJson.mcpServers[MCP_LEGACY_KEY]) {
|
|
204
|
+
delete claudeJson.mcpServers[MCP_LEGACY_KEY];
|
|
205
|
+
process.stderr.write("exe-os: migrated MCP server key exe-mem \u2192 exe-os\n");
|
|
206
|
+
}
|
|
207
|
+
if (claudeJson.projects) {
|
|
208
|
+
for (const [projectPath, projectConfig] of Object.entries(claudeJson.projects)) {
|
|
209
|
+
if (projectConfig.mcpServers?.[MCP_LEGACY_KEY]) {
|
|
210
|
+
delete projectConfig.mcpServers[MCP_LEGACY_KEY];
|
|
211
|
+
process.stderr.write(`exe-os: removed stale project-level exe-mem from ${projectPath}
|
|
212
|
+
`);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
const currentOs = claudeJson.mcpServers[MCP_PRIMARY_KEY];
|
|
217
|
+
const osMatches = currentOs && JSON.stringify(currentOs) === JSON.stringify(newEntry);
|
|
218
|
+
if (osMatches) {
|
|
219
|
+
await cleanSettingsJsonMcp(path.join(homeDir, ".claude", "settings.json"));
|
|
220
|
+
await migratePermissionsToExeOs(path.join(homeDir, ".claude", "settings.json"));
|
|
221
|
+
const collisions2 = detectMcpNameCollisions(homeDir, packageRoot).filter((c) => c.serverName === MCP_PRIMARY_KEY || c.serverName === MCP_LEGACY_KEY);
|
|
222
|
+
for (const c of collisions2) {
|
|
223
|
+
process.stderr.write(
|
|
224
|
+
`exe-os: WARNING Claude Code MCP name collision: ${c.serverName} exists in ${c.mcpJsonPath} and ~/.claude.json project ${c.projectPath}. Remove or rename the .mcp.json entry if tools do not surface.
|
|
225
|
+
`
|
|
226
|
+
);
|
|
227
|
+
}
|
|
228
|
+
await registerExeRustMcpConfig(packageRoot, homeDir);
|
|
229
|
+
return false;
|
|
230
|
+
}
|
|
231
|
+
claudeJson.mcpServers[MCP_PRIMARY_KEY] = newEntry;
|
|
232
|
+
await writeFile(claudeJsonPath, JSON.stringify(claudeJson, null, 2) + "\n");
|
|
233
|
+
await cleanSettingsJsonMcp(path.join(homeDir, ".claude", "settings.json"));
|
|
234
|
+
await migratePermissionsToExeOs(path.join(homeDir, ".claude", "settings.json"));
|
|
235
|
+
const collisions = detectMcpNameCollisions(homeDir, packageRoot).filter((c) => c.serverName === MCP_PRIMARY_KEY || c.serverName === MCP_LEGACY_KEY);
|
|
236
|
+
for (const c of collisions) {
|
|
237
|
+
process.stderr.write(
|
|
238
|
+
`exe-os: WARNING Claude Code MCP name collision: ${c.serverName} exists in ${c.mcpJsonPath} and ~/.claude.json project ${c.projectPath}. Remove or rename the .mcp.json entry if tools do not surface.
|
|
239
|
+
`
|
|
240
|
+
);
|
|
241
|
+
}
|
|
242
|
+
await registerExeRustMcpConfig(packageRoot, homeDir);
|
|
243
|
+
return true;
|
|
244
|
+
}
|
|
245
|
+
async function registerExeRustMcpConfig(packageRoot, homeDir) {
|
|
246
|
+
const exeDir = path.join(homeDir, ".exe");
|
|
247
|
+
const exeMcpPath = path.join(exeDir, "mcp.json");
|
|
248
|
+
await mkdir(exeDir, { recursive: true });
|
|
249
|
+
let config = { servers: {} };
|
|
250
|
+
if (existsSync(exeMcpPath)) {
|
|
251
|
+
try {
|
|
252
|
+
config = JSON.parse(await readFile(exeMcpPath, "utf-8"));
|
|
253
|
+
if (!config.servers) config.servers = {};
|
|
254
|
+
} catch {
|
|
255
|
+
config = { servers: {} };
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
const stdioEntry = {
|
|
259
|
+
command: "node",
|
|
260
|
+
args: [path.join(packageRoot, "dist", "mcp", "server.js")],
|
|
261
|
+
env: {},
|
|
262
|
+
shared: true
|
|
263
|
+
};
|
|
264
|
+
const existing = config.servers[MCP_PRIMARY_KEY];
|
|
265
|
+
if (existing && JSON.stringify(existing) === JSON.stringify(stdioEntry)) {
|
|
266
|
+
return;
|
|
267
|
+
}
|
|
268
|
+
if (config.servers[MCP_LEGACY_KEY]) {
|
|
269
|
+
delete config.servers[MCP_LEGACY_KEY];
|
|
270
|
+
}
|
|
271
|
+
config.servers[MCP_PRIMARY_KEY] = stdioEntry;
|
|
272
|
+
await writeFile(exeMcpPath, JSON.stringify(config, null, 2) + "\n");
|
|
273
|
+
process.stderr.write("exe-os: registered MCP server in ~/.exe/mcp.json (Rust runtime)\n");
|
|
274
|
+
}
|
|
275
|
+
async function cleanSettingsJsonMcp(settingsPath) {
|
|
276
|
+
if (!existsSync(settingsPath)) return;
|
|
277
|
+
try {
|
|
278
|
+
const settings = JSON.parse(await readFile(settingsPath, "utf-8"));
|
|
279
|
+
const servers = settings.mcpServers;
|
|
280
|
+
if (!servers) return;
|
|
281
|
+
let changed = false;
|
|
282
|
+
if (servers[MCP_PRIMARY_KEY]) {
|
|
283
|
+
delete servers[MCP_PRIMARY_KEY];
|
|
284
|
+
changed = true;
|
|
285
|
+
}
|
|
286
|
+
if (servers[MCP_LEGACY_KEY]) {
|
|
287
|
+
delete servers[MCP_LEGACY_KEY];
|
|
288
|
+
changed = true;
|
|
289
|
+
}
|
|
290
|
+
if (changed) {
|
|
291
|
+
await writeFile(settingsPath, JSON.stringify(settings, null, 2) + "\n");
|
|
292
|
+
}
|
|
293
|
+
} catch {
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
async function migratePermissionsToExeOs(settingsPath) {
|
|
297
|
+
if (!existsSync(settingsPath)) return;
|
|
298
|
+
try {
|
|
299
|
+
const settings = JSON.parse(await readFile(settingsPath, "utf-8"));
|
|
300
|
+
const permissions = settings.permissions;
|
|
301
|
+
if (!permissions || !Array.isArray(permissions.allow)) return;
|
|
302
|
+
const allow = permissions.allow;
|
|
303
|
+
let migrated = 0;
|
|
304
|
+
for (let i = 0; i < allow.length; i++) {
|
|
305
|
+
if (allow[i].startsWith("mcp__exe-mem__")) {
|
|
306
|
+
const newName = allow[i].replace("mcp__exe-mem__", "mcp__exe-os__");
|
|
307
|
+
if (!allow.includes(newName)) {
|
|
308
|
+
allow[i] = newName;
|
|
309
|
+
} else {
|
|
310
|
+
allow[i] = "__REMOVE__";
|
|
311
|
+
}
|
|
312
|
+
migrated++;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
if (migrated > 0) {
|
|
316
|
+
permissions.allow = allow.filter((e) => e !== "__REMOVE__");
|
|
317
|
+
permissions.allow = [...new Set(permissions.allow)];
|
|
318
|
+
await writeFile(settingsPath, JSON.stringify(settings, null, 2) + "\n");
|
|
319
|
+
process.stderr.write(`exe-os: migrated ${migrated} permission(s) from exe-mem \u2192 exe-os
|
|
320
|
+
`);
|
|
321
|
+
}
|
|
322
|
+
} catch {
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
async function mergeHooks(packageRoot, homeDir = os.homedir()) {
|
|
326
|
+
const settingsPath = path.join(homeDir, ".claude", "settings.json");
|
|
327
|
+
const logsDir = path.join(homeDir, ".exe-os", "logs");
|
|
328
|
+
const hookLogPath = path.join(logsDir, "hooks.log");
|
|
329
|
+
const logSuffix = ` 2>> "${hookLogPath}"`;
|
|
330
|
+
await mkdir(logsDir, { recursive: true });
|
|
331
|
+
let settings = {};
|
|
332
|
+
if (existsSync(settingsPath)) {
|
|
333
|
+
try {
|
|
334
|
+
settings = JSON.parse(await readFile(settingsPath, "utf-8"));
|
|
335
|
+
} catch {
|
|
336
|
+
settings = {};
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
if (!settings.hooks) {
|
|
340
|
+
settings.hooks = {};
|
|
341
|
+
}
|
|
342
|
+
if (settings.hooks && typeof settings.hooks !== "object") {
|
|
343
|
+
console.warn("[exe-os] Unexpected hooks schema in settings.json \u2014 skipping hook installation");
|
|
344
|
+
return { added: 0, skipped: 0 };
|
|
345
|
+
}
|
|
346
|
+
const hooksToRegister = [
|
|
347
|
+
{
|
|
348
|
+
event: "PostToolUse",
|
|
349
|
+
group: {
|
|
350
|
+
matcher: "Bash|Edit|Write|Read|Glob|Grep|Agent|mcp__.*",
|
|
351
|
+
hooks: [
|
|
352
|
+
{
|
|
353
|
+
type: "command",
|
|
354
|
+
command: `node "${path.join(packageRoot, "dist", "hooks", "post-tool-combined.js")}"${logSuffix}`
|
|
355
|
+
}
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
marker: EXE_HOOKS.postToolCombined
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
event: "SessionStart",
|
|
362
|
+
group: {
|
|
363
|
+
hooks: [
|
|
364
|
+
{
|
|
365
|
+
type: "command",
|
|
366
|
+
command: `node "${path.join(packageRoot, "dist", "hooks", "session-start.js")}"${logSuffix}`,
|
|
367
|
+
timeout: 1e4
|
|
368
|
+
}
|
|
369
|
+
]
|
|
370
|
+
},
|
|
371
|
+
marker: EXE_HOOKS.sessionStart
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
event: "UserPromptSubmit",
|
|
375
|
+
group: {
|
|
376
|
+
hooks: [
|
|
377
|
+
{
|
|
378
|
+
type: "command",
|
|
379
|
+
command: `node "${path.join(packageRoot, "dist", "hooks", "prompt-submit.js")}"${logSuffix}`
|
|
380
|
+
}
|
|
381
|
+
]
|
|
382
|
+
},
|
|
383
|
+
marker: EXE_HOOKS.promptSubmit
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
event: "UserPromptSubmit",
|
|
387
|
+
group: {
|
|
388
|
+
hooks: [
|
|
389
|
+
{
|
|
390
|
+
type: "command",
|
|
391
|
+
command: `node "${path.join(packageRoot, "dist", "hooks", "exe-heartbeat-hook.js")}"${logSuffix}`,
|
|
392
|
+
timeout: 5e3
|
|
393
|
+
}
|
|
394
|
+
]
|
|
395
|
+
},
|
|
396
|
+
marker: EXE_HOOKS.heartbeat
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
event: "Stop",
|
|
400
|
+
group: {
|
|
401
|
+
hooks: [
|
|
402
|
+
{
|
|
403
|
+
type: "command",
|
|
404
|
+
command: `node "${path.join(packageRoot, "dist", "hooks", "stop.js")}"${logSuffix}`
|
|
405
|
+
}
|
|
406
|
+
]
|
|
407
|
+
},
|
|
408
|
+
marker: EXE_HOOKS.stop
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
event: "PreToolUse",
|
|
412
|
+
group: {
|
|
413
|
+
matcher: "Write|Edit|Read|Bash",
|
|
414
|
+
hooks: [
|
|
415
|
+
{
|
|
416
|
+
type: "command",
|
|
417
|
+
command: `node "${path.join(packageRoot, "dist", "hooks", "pre-tool-use.js")}"${logSuffix}`
|
|
418
|
+
}
|
|
419
|
+
]
|
|
420
|
+
},
|
|
421
|
+
marker: EXE_HOOKS.preToolUse
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
event: "SubagentStop",
|
|
425
|
+
group: {
|
|
426
|
+
hooks: [
|
|
427
|
+
{
|
|
428
|
+
type: "command",
|
|
429
|
+
command: `node "${path.join(packageRoot, "dist", "hooks", "subagent-stop.js")}"${logSuffix}`
|
|
430
|
+
}
|
|
431
|
+
]
|
|
432
|
+
},
|
|
433
|
+
marker: EXE_HOOKS.subagentStop
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
event: "PreCompact",
|
|
437
|
+
group: {
|
|
438
|
+
hooks: [
|
|
439
|
+
{
|
|
440
|
+
type: "command",
|
|
441
|
+
command: `node "${path.join(packageRoot, "dist", "hooks", "pre-compact.js")}"${logSuffix}`,
|
|
442
|
+
timeout: 1e4
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
},
|
|
446
|
+
marker: EXE_HOOKS.preCompact
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
event: "SessionEnd",
|
|
450
|
+
group: {
|
|
451
|
+
hooks: [
|
|
452
|
+
{
|
|
453
|
+
type: "command",
|
|
454
|
+
command: `node "${path.join(packageRoot, "dist", "hooks", "session-end.js")}"${logSuffix}`
|
|
455
|
+
}
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
marker: EXE_HOOKS.sessionEnd
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
event: "Notification",
|
|
462
|
+
group: {
|
|
463
|
+
hooks: [
|
|
464
|
+
{
|
|
465
|
+
type: "command",
|
|
466
|
+
command: `node "${path.join(packageRoot, "dist", "hooks", "notification.js")}"${logSuffix}`
|
|
467
|
+
}
|
|
468
|
+
]
|
|
469
|
+
},
|
|
470
|
+
marker: EXE_HOOKS.notification
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
event: "PostCompact",
|
|
474
|
+
group: {
|
|
475
|
+
hooks: [
|
|
476
|
+
{
|
|
477
|
+
type: "command",
|
|
478
|
+
command: `node "${path.join(packageRoot, "dist", "hooks", "post-compact.js")}"${logSuffix}`,
|
|
479
|
+
timeout: 1e4
|
|
480
|
+
}
|
|
481
|
+
]
|
|
482
|
+
},
|
|
483
|
+
marker: EXE_HOOKS.postCompact
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
event: "InstructionsLoaded",
|
|
487
|
+
group: {
|
|
488
|
+
hooks: [
|
|
489
|
+
{
|
|
490
|
+
type: "command",
|
|
491
|
+
command: `node "${path.join(packageRoot, "dist", "hooks", "instructions-loaded.js")}"${logSuffix}`
|
|
492
|
+
}
|
|
493
|
+
]
|
|
494
|
+
},
|
|
495
|
+
marker: EXE_HOOKS.instructionsLoaded
|
|
496
|
+
}
|
|
497
|
+
];
|
|
498
|
+
let added = 0;
|
|
499
|
+
let skipped = 0;
|
|
500
|
+
for (const eventKey of Object.keys(settings.hooks)) {
|
|
501
|
+
const groups = settings.hooks[eventKey];
|
|
502
|
+
if (!Array.isArray(groups)) continue;
|
|
503
|
+
settings.hooks[eventKey] = groups.map((g) => ({
|
|
504
|
+
...g,
|
|
505
|
+
hooks: g.hooks.filter((h) => !isLegacyHomeDirHookCommand(h.command))
|
|
506
|
+
})).filter((g) => g.hooks.length > 0);
|
|
507
|
+
}
|
|
508
|
+
const postToolGroups = settings.hooks["PostToolUse"];
|
|
509
|
+
if (Array.isArray(postToolGroups)) {
|
|
510
|
+
settings.hooks["PostToolUse"] = postToolGroups.map((g) => ({
|
|
511
|
+
...g,
|
|
512
|
+
hooks: g.hooks.filter((h) => !isLegacySplitPostToolCommand(h.command))
|
|
513
|
+
})).filter((g) => g.hooks.length > 0);
|
|
514
|
+
}
|
|
515
|
+
for (const { event, group, marker } of hooksToRegister) {
|
|
516
|
+
if (!settings.hooks[event]) {
|
|
517
|
+
settings.hooks[event] = [];
|
|
518
|
+
}
|
|
519
|
+
if (!Array.isArray(settings.hooks[event])) {
|
|
520
|
+
console.warn(`[exe-os] Hook event "${event}" has unexpected structure \u2014 skipping`);
|
|
521
|
+
skipped++;
|
|
522
|
+
continue;
|
|
523
|
+
}
|
|
524
|
+
const existing = settings.hooks[event];
|
|
525
|
+
const correctCommand = group.hooks[0]?.command ?? "";
|
|
526
|
+
const alreadyCorrect = existing.some(
|
|
527
|
+
(g) => g.hooks.some((h) => h.command === correctCommand)
|
|
528
|
+
);
|
|
529
|
+
if (alreadyCorrect) {
|
|
530
|
+
skipped++;
|
|
531
|
+
} else {
|
|
532
|
+
settings.hooks[event] = existing.filter(
|
|
533
|
+
(g) => !g.hooks.some((h) => h.command.includes(marker))
|
|
534
|
+
);
|
|
535
|
+
settings.hooks[event].push(group);
|
|
536
|
+
added++;
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
const perms = settings.permissions;
|
|
540
|
+
if (!perms) {
|
|
541
|
+
settings.permissions = {};
|
|
542
|
+
}
|
|
543
|
+
const permissions = settings.permissions;
|
|
544
|
+
if (!Array.isArray(permissions.allow)) {
|
|
545
|
+
permissions.allow = [];
|
|
546
|
+
}
|
|
547
|
+
const toolNames = [
|
|
548
|
+
// Core memory
|
|
549
|
+
"store_memory",
|
|
550
|
+
"recall_my_memory",
|
|
551
|
+
"commit_to_long_term_memory",
|
|
552
|
+
"consolidate_memories",
|
|
553
|
+
"ask_team_memory",
|
|
554
|
+
"get_session_context",
|
|
555
|
+
// Tasks
|
|
556
|
+
"create_task",
|
|
557
|
+
"list_tasks",
|
|
558
|
+
"get_task",
|
|
559
|
+
"update_task",
|
|
560
|
+
"close_task",
|
|
561
|
+
"checkpoint_task",
|
|
562
|
+
// Behaviors
|
|
563
|
+
"store_behavior",
|
|
564
|
+
"deactivate_behavior",
|
|
565
|
+
"list_behaviors",
|
|
566
|
+
// Identity
|
|
567
|
+
"get_identity",
|
|
568
|
+
"update_identity",
|
|
569
|
+
// Messaging
|
|
570
|
+
"send_message",
|
|
571
|
+
"acknowledge_messages",
|
|
572
|
+
"send_whatsapp",
|
|
573
|
+
"query_conversations",
|
|
574
|
+
// Reminders + triggers
|
|
575
|
+
"create_reminder",
|
|
576
|
+
"complete_reminder",
|
|
577
|
+
"list_reminders",
|
|
578
|
+
"create_trigger",
|
|
579
|
+
"list_triggers",
|
|
580
|
+
// GraphRAG
|
|
581
|
+
"query_relationships",
|
|
582
|
+
"merge_entities",
|
|
583
|
+
// Documents + wiki
|
|
584
|
+
"ingest_document",
|
|
585
|
+
"list_documents",
|
|
586
|
+
"purge_document",
|
|
587
|
+
"rerank_documents",
|
|
588
|
+
"set_document_importance",
|
|
589
|
+
"get_wiki_page",
|
|
590
|
+
"list_wiki_pages",
|
|
591
|
+
// System
|
|
592
|
+
"load_skill",
|
|
593
|
+
"apply_starter_pack",
|
|
594
|
+
"resume_employee",
|
|
595
|
+
"deploy_client"
|
|
596
|
+
];
|
|
597
|
+
const allowList = permissions.allow;
|
|
598
|
+
for (const name of toolNames) {
|
|
599
|
+
const fullName = `mcp__${MCP_PRIMARY_KEY}__${name}`;
|
|
600
|
+
if (!allowList.includes(fullName)) {
|
|
601
|
+
allowList.push(fullName);
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
await mkdir(path.dirname(settingsPath), { recursive: true });
|
|
605
|
+
await writeFile(settingsPath, JSON.stringify(settings, null, 2) + "\n");
|
|
606
|
+
return { added, skipped };
|
|
607
|
+
}
|
|
608
|
+
async function cleanOldShellFunctions(homeDir = os.homedir()) {
|
|
609
|
+
const rosterPath = path.join(homeDir, ".exe-os", "exe-employees.json");
|
|
610
|
+
if (!existsSync(rosterPath)) return 0;
|
|
611
|
+
let employees;
|
|
612
|
+
try {
|
|
613
|
+
employees = JSON.parse(await readFile(rosterPath, "utf-8"));
|
|
614
|
+
} catch {
|
|
615
|
+
return 0;
|
|
616
|
+
}
|
|
617
|
+
if (employees.length === 0) return 0;
|
|
618
|
+
const names = employees.map((e) => e.name);
|
|
619
|
+
const funcPatterns = names.map((n) => {
|
|
620
|
+
const funcDef = new RegExp(`^\\s*(function\\s+)?${escapeRegExp(n)}\\d+\\s*\\(\\)`, "m");
|
|
621
|
+
const forLoop = new RegExp(`${escapeRegExp(n)}\\$\\{?[a-zA-Z_][a-zA-Z0-9_]*\\}?`, "m");
|
|
622
|
+
return { name: n, funcDef, forLoop };
|
|
623
|
+
});
|
|
624
|
+
const rcFiles = [
|
|
625
|
+
path.join(homeDir, ".zshrc"),
|
|
626
|
+
path.join(homeDir, ".bashrc")
|
|
627
|
+
];
|
|
628
|
+
const REMOVED_MARKER = "# Removed by exe-os \u2014 wrappers now at ~/.exe-os/bin/";
|
|
629
|
+
let totalRemoved = 0;
|
|
630
|
+
for (const rcPath of rcFiles) {
|
|
631
|
+
if (!existsSync(rcPath)) continue;
|
|
632
|
+
let content;
|
|
633
|
+
try {
|
|
634
|
+
content = await readFile(rcPath, "utf-8");
|
|
635
|
+
} catch {
|
|
636
|
+
continue;
|
|
637
|
+
}
|
|
638
|
+
if (content.includes(REMOVED_MARKER)) continue;
|
|
639
|
+
const lines = content.split("\n");
|
|
640
|
+
let changed = false;
|
|
641
|
+
let inForLoop = false;
|
|
642
|
+
let forLoopMatchesEmployee = false;
|
|
643
|
+
for (let i = 0; i < lines.length; i++) {
|
|
644
|
+
const line = lines[i];
|
|
645
|
+
const trimmed = line.trim();
|
|
646
|
+
if (trimmed.startsWith("#")) continue;
|
|
647
|
+
if (/^\s*for\s+/.test(trimmed)) {
|
|
648
|
+
inForLoop = true;
|
|
649
|
+
forLoopMatchesEmployee = false;
|
|
650
|
+
for (const { forLoop } of funcPatterns) {
|
|
651
|
+
if (forLoop.test(trimmed)) {
|
|
652
|
+
forLoopMatchesEmployee = true;
|
|
653
|
+
break;
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
if (forLoopMatchesEmployee) {
|
|
657
|
+
lines[i] = `${REMOVED_MARKER}
|
|
658
|
+
# ${line}`;
|
|
659
|
+
changed = true;
|
|
660
|
+
totalRemoved++;
|
|
661
|
+
continue;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
if (inForLoop) {
|
|
665
|
+
if (!forLoopMatchesEmployee) {
|
|
666
|
+
for (const { forLoop } of funcPatterns) {
|
|
667
|
+
if (forLoop.test(trimmed)) {
|
|
668
|
+
forLoopMatchesEmployee = true;
|
|
669
|
+
for (let j = i - 1; j >= 0; j--) {
|
|
670
|
+
if (/^\s*for\s+/.test(lines[j].replace(/^#\s*/, ""))) {
|
|
671
|
+
if (!lines[j].startsWith("#")) {
|
|
672
|
+
lines[j] = `${REMOVED_MARKER}
|
|
673
|
+
# ${lines[j]}`;
|
|
674
|
+
totalRemoved++;
|
|
675
|
+
}
|
|
676
|
+
break;
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
break;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
if (forLoopMatchesEmployee && !trimmed.startsWith("#")) {
|
|
684
|
+
lines[i] = `# ${line}`;
|
|
685
|
+
changed = true;
|
|
686
|
+
totalRemoved++;
|
|
687
|
+
}
|
|
688
|
+
if (trimmed === "done" || trimmed.startsWith("done;") || trimmed.startsWith("done ")) {
|
|
689
|
+
inForLoop = false;
|
|
690
|
+
forLoopMatchesEmployee = false;
|
|
691
|
+
}
|
|
692
|
+
continue;
|
|
693
|
+
}
|
|
694
|
+
for (const { funcDef } of funcPatterns) {
|
|
695
|
+
if (funcDef.test(trimmed)) {
|
|
696
|
+
lines[i] = `${REMOVED_MARKER}
|
|
697
|
+
# ${line}`;
|
|
698
|
+
changed = true;
|
|
699
|
+
totalRemoved++;
|
|
700
|
+
let braceDepth = 0;
|
|
701
|
+
const hasBrace = trimmed.includes("{");
|
|
702
|
+
if (hasBrace) braceDepth = 1;
|
|
703
|
+
for (let j = i + 1; j < lines.length; j++) {
|
|
704
|
+
const bodyLine = lines[j].trim();
|
|
705
|
+
if (!hasBrace && braceDepth === 0) {
|
|
706
|
+
if (bodyLine === "{") {
|
|
707
|
+
braceDepth = 1;
|
|
708
|
+
lines[j] = `# ${lines[j]}`;
|
|
709
|
+
totalRemoved++;
|
|
710
|
+
continue;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
if (braceDepth > 0) {
|
|
714
|
+
braceDepth += (bodyLine.match(/{/g) ?? []).length;
|
|
715
|
+
braceDepth -= (bodyLine.match(/}/g) ?? []).length;
|
|
716
|
+
lines[j] = `# ${lines[j]}`;
|
|
717
|
+
totalRemoved++;
|
|
718
|
+
if (braceDepth <= 0) break;
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
break;
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
if (changed) {
|
|
726
|
+
const backupPath = `${rcPath}.exe-os-backup-${(/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-")}`;
|
|
727
|
+
await writeFile(backupPath, content);
|
|
728
|
+
await writeFile(rcPath, lines.join("\n"));
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
return totalRemoved;
|
|
732
|
+
}
|
|
733
|
+
function escapeRegExp(s) {
|
|
734
|
+
return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
735
|
+
}
|
|
736
|
+
var EXE_SECTION_START = "<!-- exe-os:orchestration-start -->";
|
|
737
|
+
var EXE_SECTION_END = "<!-- exe-os:orchestration-end -->";
|
|
738
|
+
var ORCHESTRATION_RULES = `${EXE_SECTION_START}
|
|
739
|
+
## exe-os Multi-Agent Orchestration (auto-managed \u2014 do not edit)
|
|
740
|
+
|
|
741
|
+
These rules are injected by exe-os and override default behavior for multi-agent coordination.
|
|
742
|
+
|
|
743
|
+
- **Session routing is deterministic.** When working in a coordinator session, ALL employee sessions use that same coordinator-session suffix. NEVER reference, consider, or dispatch to employee sessions from other project sessions. This is not a choice \u2014 it is a hard constraint.
|
|
744
|
+
- **Always use create_task to assign work.** Never use messages, tmux send-keys, or ad-hoc instructions as a substitute for tasks.
|
|
745
|
+
- **Never modify another agent's in-progress task.** Create a new task instead. Modifying active tasks causes race conditions.
|
|
746
|
+
- **Chain of command:** founder -> coordinator/executive agent (internal routing slot may be "COO") -> managers -> specialists. The coordinator does not bypass managers for specialist work. Internal role labels are plumbing, not user-facing titles.
|
|
747
|
+
- **Verify dispatch.** After every create_task, confirm the employee received and started the task via tmux capture-pane.
|
|
748
|
+
${EXE_SECTION_END}`;
|
|
749
|
+
async function injectOrchestrationRules(homeDir) {
|
|
750
|
+
const claudeDir = path.join(homeDir, ".claude");
|
|
751
|
+
const claudeMdPath = path.join(claudeDir, "CLAUDE.md");
|
|
752
|
+
await mkdir(claudeDir, { recursive: true });
|
|
753
|
+
let existing = "";
|
|
754
|
+
try {
|
|
755
|
+
existing = await readFile(claudeMdPath, "utf-8");
|
|
756
|
+
} catch {
|
|
757
|
+
}
|
|
758
|
+
const startIdx = existing.indexOf(EXE_SECTION_START);
|
|
759
|
+
const endIdx = existing.indexOf(EXE_SECTION_END);
|
|
760
|
+
if (startIdx !== -1 && endIdx !== -1) {
|
|
761
|
+
const currentSection = existing.slice(startIdx, endIdx + EXE_SECTION_END.length);
|
|
762
|
+
if (currentSection === ORCHESTRATION_RULES) {
|
|
763
|
+
return "unchanged";
|
|
764
|
+
}
|
|
765
|
+
const updated = existing.slice(0, startIdx) + ORCHESTRATION_RULES + existing.slice(endIdx + EXE_SECTION_END.length);
|
|
766
|
+
await writeFile(claudeMdPath, updated, "utf-8");
|
|
767
|
+
return "updated";
|
|
768
|
+
}
|
|
769
|
+
const separator = existing.length > 0 && !existing.endsWith("\n\n") ? "\n\n" : "";
|
|
770
|
+
await writeFile(claudeMdPath, existing + separator + ORCHESTRATION_RULES + "\n", "utf-8");
|
|
771
|
+
return "injected";
|
|
772
|
+
}
|
|
773
|
+
async function installStatusLine(packageRoot, homeDir = os.homedir()) {
|
|
774
|
+
const prefs = loadPreferences(homeDir);
|
|
775
|
+
if (prefs.ccStatusLine === false) return "opted-out";
|
|
776
|
+
const claudeDir = path.join(homeDir, ".claude");
|
|
777
|
+
await mkdir(claudeDir, { recursive: true });
|
|
778
|
+
const assetPath = path.join(packageRoot, "dist", "assets", "statusline-command.sh");
|
|
779
|
+
if (!existsSync(assetPath)) return "asset-missing";
|
|
780
|
+
const destScript = path.join(claudeDir, "statusline-command.sh");
|
|
781
|
+
const assetContent = await readFile(assetPath, "utf-8");
|
|
782
|
+
await writeFile(destScript, assetContent, { mode: 493 });
|
|
783
|
+
const settingsPath = path.join(claudeDir, "settings.json");
|
|
784
|
+
let settings = {};
|
|
785
|
+
if (existsSync(settingsPath)) {
|
|
786
|
+
try {
|
|
787
|
+
settings = JSON.parse(await readFile(settingsPath, "utf-8"));
|
|
788
|
+
} catch {
|
|
789
|
+
settings = {};
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
if (settings.statusLine) return "already-configured";
|
|
793
|
+
settings.statusLine = {
|
|
794
|
+
type: "command",
|
|
795
|
+
command: `bash ${destScript}`
|
|
796
|
+
};
|
|
797
|
+
await writeFile(settingsPath, JSON.stringify(settings, null, 2) + "\n");
|
|
798
|
+
return "installed";
|
|
799
|
+
}
|
|
800
|
+
async function runInstaller(homeDir) {
|
|
801
|
+
const packageRoot = resolvePackageRoot();
|
|
802
|
+
process.stderr.write(`exe-os installer v1.3.0
|
|
803
|
+
`);
|
|
804
|
+
process.stderr.write(`Package root: ${packageRoot}
|
|
805
|
+
|
|
806
|
+
`);
|
|
807
|
+
const cmdResult = await copySlashCommands(packageRoot, homeDir);
|
|
808
|
+
process.stderr.write(
|
|
809
|
+
`Slash commands: ${cmdResult.copied} copied, ${cmdResult.skipped} unchanged
|
|
810
|
+
`
|
|
811
|
+
);
|
|
812
|
+
const mcpChanged = await registerMcpServer(packageRoot, homeDir);
|
|
813
|
+
process.stderr.write(
|
|
814
|
+
`MCP server: ${mcpChanged ? "registered" : "already registered"}
|
|
815
|
+
`
|
|
816
|
+
);
|
|
817
|
+
const hookResult = await mergeHooks(packageRoot, homeDir);
|
|
818
|
+
process.stderr.write(
|
|
819
|
+
`Hooks: ${hookResult.added} added, ${hookResult.skipped} unchanged
|
|
820
|
+
`
|
|
821
|
+
);
|
|
822
|
+
const resolvedHome = homeDir ?? os.homedir();
|
|
823
|
+
const exeWorkspace = path.join(resolvedHome, "exe");
|
|
824
|
+
if (!existsSync(exeWorkspace)) {
|
|
825
|
+
try {
|
|
826
|
+
await mkdir(path.join(exeWorkspace, "content"), { recursive: true });
|
|
827
|
+
await mkdir(path.join(exeWorkspace, "operations"), { recursive: true });
|
|
828
|
+
await mkdir(path.join(exeWorkspace, "output"), { recursive: true });
|
|
829
|
+
process.stderr.write(
|
|
830
|
+
`Created ~/exe/ \u2014 your automation workspace for non-code projects
|
|
831
|
+
`
|
|
832
|
+
);
|
|
833
|
+
} catch {
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
const claudeMdResult = await injectOrchestrationRules(resolvedHome);
|
|
837
|
+
process.stderr.write(
|
|
838
|
+
`CLAUDE.md orchestration: ${claudeMdResult}
|
|
839
|
+
`
|
|
840
|
+
);
|
|
841
|
+
const symlinkResults = await ensureAllAgentSymlinks(resolvedHome);
|
|
842
|
+
process.stderr.write(
|
|
843
|
+
`Agent symlinks: ${summarizeSymlinkResults(symlinkResults)}
|
|
844
|
+
`
|
|
845
|
+
);
|
|
846
|
+
const statusLineResult = await installStatusLine(packageRoot, resolvedHome);
|
|
847
|
+
process.stderr.write(
|
|
848
|
+
`Status line: ${statusLineResult}
|
|
849
|
+
`
|
|
850
|
+
);
|
|
851
|
+
const shellFuncsCleaned = await cleanOldShellFunctions(resolvedHome);
|
|
852
|
+
if (shellFuncsCleaned > 0) {
|
|
853
|
+
process.stderr.write(
|
|
854
|
+
`Shell cleanup: removed ${shellFuncsCleaned} old shell function(s) that were shadowing exe-os wrappers
|
|
855
|
+
`
|
|
856
|
+
);
|
|
857
|
+
}
|
|
858
|
+
process.stderr.write(`
|
|
859
|
+
exe-os installed successfully.
|
|
860
|
+
`);
|
|
861
|
+
}
|
|
862
|
+
function setupTmux(home) {
|
|
863
|
+
const homeDir = home ?? os.homedir();
|
|
864
|
+
const prefs = loadPreferences(homeDir);
|
|
865
|
+
if (prefs.tmux === false) {
|
|
866
|
+
process.stderr.write("exe-os: tmux config skipped (user preference)\n");
|
|
867
|
+
return;
|
|
868
|
+
}
|
|
869
|
+
const exeDir = path.join(homeDir, ".exe-os");
|
|
870
|
+
const exeTmuxConf = path.join(exeDir, "tmux.conf");
|
|
871
|
+
const userTmuxConf = path.join(homeDir, ".tmux.conf");
|
|
872
|
+
const sourceLine = "source-file ~/.exe-os/tmux.conf";
|
|
873
|
+
const shellQuote = (value) => `'${value.replace(/'/g, "'\\''")}'`;
|
|
874
|
+
const pkgRoot = resolvePackageRoot();
|
|
875
|
+
const assetPath = path.join(pkgRoot, "dist", "assets", "tmux.conf");
|
|
876
|
+
if (!existsSync(assetPath)) {
|
|
877
|
+
process.stderr.write(`exe-os: tmux.conf asset not found at ${assetPath} \u2014 skipping tmux setup
|
|
878
|
+
`);
|
|
879
|
+
return;
|
|
880
|
+
}
|
|
881
|
+
mkdirSync(exeDir, { recursive: true });
|
|
882
|
+
if (existsSync(exeTmuxConf)) {
|
|
883
|
+
const currentContent = readFileSync(exeTmuxConf, "utf8");
|
|
884
|
+
const newContent = readFileSync(assetPath, "utf8");
|
|
885
|
+
const currentHash = createHash("sha256").update(currentContent).digest("hex");
|
|
886
|
+
const newHash = createHash("sha256").update(newContent).digest("hex");
|
|
887
|
+
if (currentHash !== newHash) {
|
|
888
|
+
const shippedPath = path.join(exeDir, ".tmux.conf.shipped-hash");
|
|
889
|
+
const lastShippedHash = existsSync(shippedPath) ? readFileSync(shippedPath, "utf8").trim() : "";
|
|
890
|
+
if (lastShippedHash && currentHash !== lastShippedHash) {
|
|
891
|
+
process.stderr.write("exe-os: tmux config has user customizations \u2014 skipping overwrite\n");
|
|
892
|
+
} else {
|
|
893
|
+
copyFileSync(assetPath, exeTmuxConf);
|
|
894
|
+
process.stderr.write("exe-os: tmux config updated\n");
|
|
895
|
+
}
|
|
896
|
+
writeFileSync(shippedPath, newHash, "utf8");
|
|
897
|
+
} else {
|
|
898
|
+
process.stderr.write("exe-os: tmux config already up to date\n");
|
|
899
|
+
}
|
|
900
|
+
} else {
|
|
901
|
+
copyFileSync(assetPath, exeTmuxConf);
|
|
902
|
+
const newContent = readFileSync(assetPath, "utf8");
|
|
903
|
+
const newHash = createHash("sha256").update(newContent).digest("hex");
|
|
904
|
+
writeFileSync(path.join(exeDir, ".tmux.conf.shipped-hash"), newHash, "utf8");
|
|
905
|
+
}
|
|
906
|
+
if (existsSync(userTmuxConf)) {
|
|
907
|
+
const existing = readFileSync(userTmuxConf, "utf8");
|
|
908
|
+
if (!existing.includes(sourceLine)) {
|
|
909
|
+
const backupPath = path.join(homeDir, ".tmux.conf.backup");
|
|
910
|
+
if (!existsSync(backupPath)) {
|
|
911
|
+
copyFileSync(userTmuxConf, backupPath);
|
|
912
|
+
process.stderr.write(`exe-os: backed up existing tmux config to ${backupPath}
|
|
913
|
+
`);
|
|
914
|
+
}
|
|
915
|
+
writeFileSync(userTmuxConf, `${sourceLine}
|
|
916
|
+
${existing}`);
|
|
917
|
+
}
|
|
918
|
+
} else {
|
|
919
|
+
writeFileSync(userTmuxConf, `# Exe OS tmux defaults \u2014 remove this line to use your own config
|
|
920
|
+
${sourceLine}
|
|
921
|
+
`);
|
|
922
|
+
}
|
|
923
|
+
try {
|
|
924
|
+
execSync(`tmux source-file ${shellQuote(userTmuxConf)} 2>/dev/null`);
|
|
925
|
+
} catch {
|
|
926
|
+
}
|
|
927
|
+
process.stderr.write("exe-os: tmux config installed\n");
|
|
928
|
+
}
|
|
929
|
+
function setupGhostty(home) {
|
|
930
|
+
const homeDir = home ?? os.homedir();
|
|
931
|
+
const prefs = loadPreferences(homeDir);
|
|
932
|
+
if (prefs.ghostty === false) {
|
|
933
|
+
process.stderr.write("exe-os: Ghostty config skipped (user preference)\n");
|
|
934
|
+
return;
|
|
935
|
+
}
|
|
936
|
+
const xdgConfig = path.join(homeDir, ".config", "ghostty");
|
|
937
|
+
const macConfig = path.join(homeDir, "Library", "Application Support", "com.mitchellh.ghostty");
|
|
938
|
+
const ghosttyInstalled = existsSync(xdgConfig) || existsSync(macConfig) || (() => {
|
|
939
|
+
try {
|
|
940
|
+
execSync("which ghostty 2>/dev/null");
|
|
941
|
+
return true;
|
|
942
|
+
} catch {
|
|
943
|
+
return false;
|
|
944
|
+
}
|
|
945
|
+
})();
|
|
946
|
+
if (!ghosttyInstalled) {
|
|
947
|
+
return;
|
|
948
|
+
}
|
|
949
|
+
const pkgRoot = resolvePackageRoot();
|
|
950
|
+
const assetPath = path.join(pkgRoot, "dist", "assets", "ghostty.conf");
|
|
951
|
+
if (!existsSync(assetPath)) {
|
|
952
|
+
process.stderr.write("exe-os: ghostty.conf asset not found \u2014 skipping Ghostty setup\n");
|
|
953
|
+
return;
|
|
954
|
+
}
|
|
955
|
+
const configDir = xdgConfig;
|
|
956
|
+
const configPath = path.join(configDir, "config");
|
|
957
|
+
const backupPath = path.join(configDir, "config.backup");
|
|
958
|
+
mkdirSync(configDir, { recursive: true });
|
|
959
|
+
const START_MARKER = "# \u2500\u2500 exe-os:ghostty-start \u2500\u2500";
|
|
960
|
+
const END_MARKER = "# \u2500\u2500 exe-os:ghostty-end \u2500\u2500";
|
|
961
|
+
const assetContent = readFileSync(assetPath, "utf8").trim();
|
|
962
|
+
const markedSection = `${START_MARKER}
|
|
963
|
+
${assetContent}
|
|
964
|
+
${END_MARKER}`;
|
|
965
|
+
if (existsSync(configPath)) {
|
|
966
|
+
const existing = readFileSync(configPath, "utf8");
|
|
967
|
+
if (existing.includes(START_MARKER) && existing.includes(END_MARKER)) {
|
|
968
|
+
process.stderr.write("exe-os: Ghostty config already installed \u2014 preserving local settings\n");
|
|
969
|
+
return;
|
|
970
|
+
} else if (existing.includes("Exe OS")) {
|
|
971
|
+
if (!existsSync(backupPath)) {
|
|
972
|
+
copyFileSync(configPath, backupPath);
|
|
973
|
+
process.stderr.write(`exe-os: backed up existing Ghostty config to ${backupPath}
|
|
974
|
+
`);
|
|
975
|
+
}
|
|
976
|
+
writeFileSync(configPath, `${START_MARKER}
|
|
977
|
+
${existing.trim()}
|
|
978
|
+
${END_MARKER}
|
|
979
|
+
`);
|
|
980
|
+
} else {
|
|
981
|
+
if (!existsSync(backupPath)) {
|
|
982
|
+
copyFileSync(configPath, backupPath);
|
|
983
|
+
process.stderr.write(`exe-os: backed up existing Ghostty config to ${backupPath}
|
|
984
|
+
`);
|
|
985
|
+
}
|
|
986
|
+
writeFileSync(configPath, `${markedSection}
|
|
987
|
+
|
|
988
|
+
${existing}`);
|
|
989
|
+
}
|
|
990
|
+
} else {
|
|
991
|
+
writeFileSync(configPath, `${markedSection}
|
|
992
|
+
`);
|
|
993
|
+
}
|
|
994
|
+
process.stderr.write("exe-os: Ghostty config installed\n");
|
|
995
|
+
}
|
|
996
|
+
function setupWezterm(home) {
|
|
997
|
+
const homeDir = home ?? os.homedir();
|
|
998
|
+
const prefs = loadPreferences(homeDir);
|
|
999
|
+
if (prefs.wezterm === false) {
|
|
1000
|
+
process.stderr.write("exe-os: WezTerm config skipped (user preference)\n");
|
|
1001
|
+
return;
|
|
1002
|
+
}
|
|
1003
|
+
const weztermLua = path.join(homeDir, ".wezterm.lua");
|
|
1004
|
+
const weztermDir = path.join(homeDir, ".config", "wezterm");
|
|
1005
|
+
const weztermInstalled = existsSync(weztermLua) || existsSync(weztermDir) || (() => {
|
|
1006
|
+
try {
|
|
1007
|
+
execSync("which wezterm 2>/dev/null", { encoding: "utf8", timeout: 5e3 });
|
|
1008
|
+
return true;
|
|
1009
|
+
} catch {
|
|
1010
|
+
return false;
|
|
1011
|
+
}
|
|
1012
|
+
})();
|
|
1013
|
+
if (!weztermInstalled) {
|
|
1014
|
+
return;
|
|
1015
|
+
}
|
|
1016
|
+
const pkgRoot = resolvePackageRoot();
|
|
1017
|
+
const assetPath = path.join(pkgRoot, "dist", "assets", "wezterm.lua");
|
|
1018
|
+
if (!existsSync(assetPath)) {
|
|
1019
|
+
process.stderr.write("exe-os: wezterm.lua asset not found \u2014 skipping WezTerm setup\n");
|
|
1020
|
+
return;
|
|
1021
|
+
}
|
|
1022
|
+
const configPath = weztermLua;
|
|
1023
|
+
const START_MARKER = "-- \u2500\u2500 exe-os:wezterm-start \u2500\u2500";
|
|
1024
|
+
const END_MARKER = "-- \u2500\u2500 exe-os:wezterm-end \u2500\u2500";
|
|
1025
|
+
const assetContent = readFileSync(assetPath, "utf8").trim();
|
|
1026
|
+
if (existsSync(configPath)) {
|
|
1027
|
+
const existing = readFileSync(configPath, "utf8");
|
|
1028
|
+
if (existing.includes(START_MARKER) && existing.includes(END_MARKER)) {
|
|
1029
|
+
process.stderr.write("exe-os: WezTerm config already installed \u2014 preserving local settings\n");
|
|
1030
|
+
return;
|
|
1031
|
+
}
|
|
1032
|
+
process.stderr.write(
|
|
1033
|
+
"exe-os: existing WezTerm config found at ~/.wezterm.lua \u2014 skipping (manual integration needed)\nexe-os: see ~/.exe-os/assets/wezterm.lua for exe-os defaults you can merge\n"
|
|
1034
|
+
);
|
|
1035
|
+
const refDir = path.join(homeDir, ".exe-os", "assets");
|
|
1036
|
+
mkdirSync(refDir, { recursive: true });
|
|
1037
|
+
copyFileSync(assetPath, path.join(refDir, "wezterm.lua"));
|
|
1038
|
+
return;
|
|
1039
|
+
}
|
|
1040
|
+
writeFileSync(configPath, assetContent + "\n");
|
|
1041
|
+
process.stderr.write("exe-os: WezTerm config installed\n");
|
|
1042
|
+
}
|
|
1043
|
+
function summarizeSymlinkResults(results) {
|
|
1044
|
+
if (results.length === 0) return "no employees in roster";
|
|
1045
|
+
const created = results.filter((r) => r.action === "created").length;
|
|
1046
|
+
const already = results.filter((r) => r.action === "already_correct").length;
|
|
1047
|
+
const conflicts = results.filter((r) => r.action === "conflict");
|
|
1048
|
+
let summary = `${created} created, ${already} already linked`;
|
|
1049
|
+
if (conflicts.length > 0) {
|
|
1050
|
+
const details = conflicts.map((r) => `${r.agentId} (${r.conflict ?? "unknown"})`).join(", ");
|
|
1051
|
+
summary += `, ${conflicts.length} conflict(s): ${details}`;
|
|
1052
|
+
}
|
|
1053
|
+
return summary;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
export {
|
|
1057
|
+
resolvePackageRoot,
|
|
1058
|
+
copySlashCommands,
|
|
1059
|
+
detectMcpNameCollisions,
|
|
1060
|
+
registerMcpServer,
|
|
1061
|
+
mergeHooks,
|
|
1062
|
+
cleanOldShellFunctions,
|
|
1063
|
+
installStatusLine,
|
|
1064
|
+
runInstaller,
|
|
1065
|
+
setupTmux,
|
|
1066
|
+
setupGhostty,
|
|
1067
|
+
setupWezterm
|
|
1068
|
+
};
|