@askexenow/exe-os 0.9.362 → 0.9.365
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/deploy/compose/.env.customer.example +46 -2
- package/deploy/compose/.env.example +49 -2
- package/deploy/compose/cloudflared/config.yml.example +15 -8
- package/deploy/compose/docker-compose.yml +240 -34
- package/deploy/compose/generate-env.ts +88 -2
- package/deploy/compose/status.sh +30 -0
- package/deploy/compose/uptime-check.sh +39 -2
- package/deploy/compose/wiki-schema-guard.sh +302 -0
- package/deploy/stack-manifests/v0.9.json +232 -2
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-BPNEBKHI.js → active-agent-C6DPH43L.js} +10 -5
- package/dist/{active-agent-3FV5V7SS.js → active-agent-MGF7J3HB.js} +10 -5
- package/dist/agent-defs-generator-X7TVMPVB.js +240 -0
- package/dist/{agentic-ontology-RCVCJ6WB.js → agentic-ontology-CARDCG37.js} +1 -1
- package/dist/artifact-backup-767STHSW.js +209 -0
- package/dist/artifact-provenance-C7HQ267L.js +13 -0
- package/dist/{backfill-gate-LRX77SUD.js → backfill-gate-VX2RZTQV.js} +2 -2
- package/dist/{backfill-metadata-Y3DGVCK5.js → backfill-metadata-ANCJA6LA.js} +7 -7
- package/dist/{background-jobs-Z6KHCWES.js → background-jobs-LTPWCMA3.js} +2 -2
- package/dist/{backup-verify-TZPPUCLU.js → backup-verify-F7BHVEF7.js} +27 -14
- package/dist/{behavior-injection-JMGGWCWG.js → behavior-injection-XQ4B7DCF.js} +13 -12
- package/dist/{behaviors-TT6CMEKC.js → behaviors-R2IE3PEN.js} +12 -11
- package/dist/bin/age-ontology-load.js +2 -2
- package/dist/bin/agentic-ontology-backfill.js +9 -9
- package/dist/bin/agentic-reflection-backfill.js +10 -10
- package/dist/bin/agentic-semantic-label.js +9 -9
- package/dist/bin/backfill-conversations.js +10 -9
- package/dist/bin/backfill-responses.js +10 -9
- package/dist/bin/backfill-vectors.js +14 -13
- package/dist/bin/bulk-sync-postgres.js +23 -19
- package/dist/bin/cc-doctor.js +11 -8
- package/dist/bin/cleanup-stale-review-tasks.js +26 -24
- package/dist/bin/cli.js +29 -102
- package/dist/bin/customer-readiness.js +3 -1
- package/dist/bin/deferred-daemon-restart.js +115 -103
- package/dist/bin/exe-agent-config.js +5 -5
- package/dist/bin/exe-agent.js +14 -14
- package/dist/bin/exe-assign.js +12 -11
- package/dist/bin/exe-boot.js +60 -51
- package/dist/bin/exe-call.js +7 -7
- package/dist/bin/exe-cloud.js +26 -22
- package/dist/bin/exe-config-dump.js +5 -5
- package/dist/bin/exe-dispatch.js +30 -24
- package/dist/bin/exe-doctor.js +10 -9
- package/dist/bin/exe-export-behaviors.js +14 -13
- package/dist/bin/exe-forget.js +9 -9
- package/dist/bin/exe-gateway.js +9 -9
- package/dist/bin/exe-grant.js +5 -5
- package/dist/bin/exe-healthcheck.js +13 -8
- package/dist/bin/exe-heartbeat.js +36 -29
- package/dist/bin/exe-kill.js +30 -28
- package/dist/bin/exe-launch-agent.js +41 -37
- package/dist/bin/exe-mcp.js +5 -5
- package/dist/bin/exe-memory-reads.js +7 -7
- package/dist/bin/exe-new-employee.js +12 -11
- package/dist/bin/exe-os-mcp-proxy.js +5 -5
- package/dist/bin/exe-pending-messages.js +27 -25
- package/dist/bin/exe-pending-notifications.js +26 -24
- package/dist/bin/exe-pending-reviews.js +27 -25
- package/dist/bin/exe-rename.js +7 -7
- package/dist/bin/exe-review.js +29 -27
- package/dist/bin/exe-search.js +8 -8
- package/dist/bin/exe-session-cleanup.js +31 -29
- package/dist/bin/exe-settings.js +24 -20
- package/dist/bin/exe-start-codex.js +36 -21
- package/dist/bin/exe-start-opencode.js +15 -14
- package/dist/bin/exe-status.js +28 -25
- package/dist/bin/exe-support.js +5 -4
- package/dist/bin/exe-team.js +12 -6
- package/dist/bin/exe-verify-running-images.js +145 -0
- package/dist/bin/exe-watchdog.js +16 -6
- package/dist/bin/git-sweep.js +27 -25
- package/dist/bin/graph-backfill.js +10 -9
- package/dist/bin/graph-export.js +8 -8
- package/dist/bin/import-history.js +13 -11
- package/dist/bin/install.js +119 -107
- package/dist/bin/intercom-check.js +5 -5
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +6 -6
- package/dist/bin/postgres-agentic-reflection-backfill.js +4 -4
- package/dist/bin/postgres-agentic-semantic-backfill.js +3 -3
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +26 -24
- package/dist/bin/setup.js +4 -3
- package/dist/bin/shard-migrate.js +8 -8
- package/dist/bin/stack-update.js +87 -38
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-XABYKF5P.js → boot-generation-X45BSVZY.js} +5 -5
- package/dist/{boot-review-sections-2X5TFIGU.js → boot-review-sections-OBVRXXSF.js} +25 -23
- package/dist/{branch-hygiene-Z4IBWAOX.js → branch-hygiene-HFJ3HA62.js} +17 -10
- package/dist/{branding-7MZDHTKN.js → branding-GH43W3PU.js} +2 -2
- package/dist/build-manifest.json +1189 -1049
- package/dist/{capability-cards-O5UXDOOA.js → capability-cards-57FURUMR.js} +4 -4
- package/dist/{capacity-monitor-IPXM726A.js → capacity-monitor-QEL62JDO.js} +27 -25
- package/dist/{catchup-brief-EBIGDXOK.js → catchup-brief-PMXTCASA.js} +30 -28
- package/dist/{chunk-UO5QJ2RX.js → chunk-22YQBVMO.js} +4 -4
- package/dist/chunk-2ADYTOHQ.js +189 -0
- package/dist/{chunk-NO5KHKKB.js → chunk-2CWS374F.js} +1 -1
- package/dist/{chunk-NAHCSQWT.js → chunk-2ESB5SDP.js} +19 -7
- package/dist/{chunk-CY5NVDTH.js → chunk-2FYIMTQE.js} +9 -5
- package/dist/{chunk-SC6WDF3Q.js → chunk-2RQT7TED.js} +2 -2
- package/dist/{chunk-UWEFIIEG.js → chunk-3CIMDFXG.js} +1 -1
- package/dist/{chunk-E7PL3T2U.js → chunk-3JNVB5LG.js} +1 -1
- package/dist/{chunk-7SY2NOMQ.js → chunk-3THNS2T7.js} +1 -1
- package/dist/{chunk-XJIRUTGJ.js → chunk-45EQTS7B.js} +1 -1
- package/dist/{chunk-YZUHSV24.js → chunk-4LWBC7CM.js} +1 -1
- package/dist/{chunk-DKRDU2AX.js → chunk-4QKKLK3C.js} +14 -14
- package/dist/{chunk-WP2TGH5R.js → chunk-52TIQJEQ.js} +2 -2
- package/dist/{chunk-LG37UBBE.js → chunk-5CBGH6RA.js} +5 -5
- package/dist/{chunk-W3LKIQJ2.js → chunk-6GQYPJPG.js} +22 -16
- package/dist/{chunk-I3SF6QGV.js → chunk-6Q263OZE.js} +1 -1
- package/dist/{chunk-XSYQ5EPE.js → chunk-7C4FUNVO.js} +11 -11
- package/dist/{chunk-P7CV4SHQ.js → chunk-7Y6AQWVT.js} +21 -10
- package/dist/{chunk-NGDXBN3M.js → chunk-A6PDF4BO.js} +2 -2
- package/dist/chunk-A7XLR3K7.js +45 -0
- package/dist/{chunk-7H3AZNQ7.js → chunk-AGQAGOQN.js} +9 -9
- package/dist/{chunk-VDMFVUSY.js → chunk-ANPE3TT3.js} +3 -3
- package/dist/{chunk-NE4QI2GX.js → chunk-BATQKSLI.js} +2 -2
- package/dist/{chunk-AOMFYUPT.js → chunk-BEHLIRRJ.js} +2 -2
- package/dist/{chunk-6EM6USV7.js → chunk-BNHAZ65R.js} +42 -50
- package/dist/{chunk-HLU52KTO.js → chunk-BRLS5OLZ.js} +257 -36
- package/dist/{chunk-QCJT265O.js → chunk-BY7WWPRM.js} +1 -1
- package/dist/{chunk-Z67DIJKT.js → chunk-C3UAQ3JG.js} +1 -1
- package/dist/{chunk-MZYNW5OY.js → chunk-CDUB5Q6J.js} +1 -1
- package/dist/{chunk-5H3RHWRE.js → chunk-CKG6CVKI.js} +1 -1
- package/dist/{chunk-WH2VVEGD.js → chunk-CMBF5WCL.js} +56 -2
- package/dist/{chunk-JYKZVAS6.js → chunk-CPILYY2K.js} +1 -1
- package/dist/{chunk-XTGR3LMF.js → chunk-CW2UCKHS.js} +2 -2
- package/dist/{chunk-32FEF5BW.js → chunk-CWBFOAGM.js} +2 -2
- package/dist/{chunk-V5I5N7NC.js → chunk-DEFSN2FQ.js} +3 -3
- package/dist/{chunk-HAXCUCJC.js → chunk-DJK45U7B.js} +1 -1
- package/dist/{chunk-MZZN5GFC.js → chunk-DQ5KHWFD.js} +1 -1
- package/dist/{chunk-SLBOKYYQ.js → chunk-DWAQOEXL.js} +2 -2
- package/dist/{chunk-T2RZU7JA.js → chunk-DYWGIPVP.js} +7 -7
- package/dist/{chunk-6DTALXOA.js → chunk-E5HAY3DQ.js} +1 -1
- package/dist/{chunk-D5CY4E7I.js → chunk-EHHMNKOA.js} +1 -1
- package/dist/{chunk-54USDN5Q.js → chunk-EJ4522YM.js} +1 -1
- package/dist/{chunk-URNVIZXU.js → chunk-EKVTRI3N.js} +52 -6
- package/dist/{chunk-KID6T2A4.js → chunk-EMZHB767.js} +44 -35
- package/dist/{chunk-KBI4FVBZ.js → chunk-EPDNWY5P.js} +111 -22
- package/dist/{chunk-AQO3BT3I.js → chunk-EPNWEOOE.js} +13 -13
- package/dist/{chunk-5C6ZIJ7J.js → chunk-ESTR7QUP.js} +1 -1
- package/dist/{chunk-Q2VQNAPU.js → chunk-EVPBYX2Z.js} +2 -2
- package/dist/{chunk-CVYDJ2TW.js → chunk-EWCEUO65.js} +1 -1
- package/dist/{chunk-RNSAVQEU.js → chunk-EWZYFG5Q.js} +8 -3
- package/dist/{chunk-R7F6HKTH.js → chunk-EXDW3E2R.js} +3 -1
- package/dist/{chunk-TY4JLBFO.js → chunk-F2S3M5MB.js} +3 -3
- package/dist/{chunk-BT2PUK3S.js → chunk-FXPAUDCZ.js} +1 -1
- package/dist/{chunk-3C7NE4JE.js → chunk-G2EAYH4U.js} +1 -1
- package/dist/{chunk-WDA2KAV7.js → chunk-GSJLB6JI.js} +1 -1
- package/dist/{chunk-M67ARGXY.js → chunk-H37FSTF2.js} +1 -1
- package/dist/{chunk-ZR4CQBAP.js → chunk-H74466TM.js} +1 -1
- package/dist/{chunk-3BAGFZFN.js → chunk-HHGOCBVQ.js} +9 -9
- package/dist/{working-memory-BACVOAIV.js → chunk-HSFBNCNC.js} +3 -3
- package/dist/{chunk-PF7EQSE5.js → chunk-IIZITKBV.js} +6 -6
- package/dist/{chunk-2FA4PYYX.js → chunk-IM2I7OOS.js} +1 -1
- package/dist/{chunk-DSKEYEL2.js → chunk-IXEFO6HD.js} +3 -3
- package/dist/{chunk-TN2E6ZCM.js → chunk-J4U5Z7VX.js} +214 -58
- package/dist/{chunk-PU7UYQRC.js → chunk-J5EYOBFF.js} +1 -1
- package/dist/{chunk-RWKX2TK5.js → chunk-J6I7X272.js} +1 -1
- package/dist/{chunk-BDLRTLXY.js → chunk-JITNFE4W.js} +6 -2
- package/dist/{chunk-PUMH7JSB.js → chunk-JNVQGLPX.js} +3 -3
- package/dist/{chunk-VAOUB2TK.js → chunk-JTB5V6BV.js} +1 -1
- package/dist/{chunk-QYRI25IP.js → chunk-JUOZLXLH.js} +2 -2
- package/dist/{chunk-RYRNY6IF.js → chunk-JYFYIGYK.js} +2 -2
- package/dist/{chunk-2PRAXZWM.js → chunk-KOYGRP2L.js} +10 -5
- package/dist/{chunk-4AFD4R35.js → chunk-KRUYQFSH.js} +5 -5
- package/dist/chunk-L25OAFOU.js +93 -0
- package/dist/{chunk-FUQ2OSDV.js → chunk-L2VZBPJJ.js} +25 -8
- package/dist/{chunk-LCDW2HUL.js → chunk-LHOKWZKL.js} +1 -1
- package/dist/{chunk-BN26LSME.js → chunk-LKYGSJ2E.js} +13 -2
- package/dist/chunk-LNOS24GV.js +214 -0
- package/dist/{chunk-O32HTNRX.js → chunk-LZKYVMBY.js} +13 -4
- package/dist/{chunk-35FD67ZB.js → chunk-M7EES2KM.js} +3 -3
- package/dist/chunk-MBBFL2SP.js +45 -0
- package/dist/{chunk-4R2WD6T3.js → chunk-MPQXQ5IE.js} +2 -2
- package/dist/{chunk-QQMYD4M7.js → chunk-MXEIZUXG.js} +1 -1
- package/dist/{chunk-6QJXFLNN.js → chunk-MZJBUAC3.js} +5 -5
- package/dist/chunk-NEHOQ3P2.js +19 -0
- package/dist/{chunk-BRZR76TS.js → chunk-NJFJWQNN.js} +49 -14
- package/dist/{chunk-Q7J2SQJ6.js → chunk-NO3M2AFM.js} +100 -32
- package/dist/{gotrue-session-2IT7MDGW.js → chunk-NUTZJZKW.js} +7 -8
- package/dist/{chunk-6UZDGEGQ.js → chunk-NV6A5HDN.js} +71 -1
- package/dist/{chunk-ZI3HA3XW.js → chunk-O2MEBF23.js} +3 -3
- package/dist/{chunk-V6YLIDLK.js → chunk-ODBRU6BF.js} +577 -230
- package/dist/{chunk-6N3HUOV3.js → chunk-OFGFRT5J.js} +2 -2
- package/dist/{chunk-HKQ7UTSE.js → chunk-OPNROU5B.js} +1 -1
- package/dist/{chunk-SQM4ZTL2.js → chunk-ORNCMRIX.js} +60 -33
- package/dist/{chunk-RUUX2ZST.js → chunk-P47MPWNU.js} +1 -1
- package/dist/{org-key-admin-4W6LZ5KZ.js → chunk-P5XTVIEC.js} +62 -17
- package/dist/{chunk-OZNCAMS3.js → chunk-POPRJKAY.js} +122 -20
- package/dist/{chunk-SRFRUN66.js → chunk-PPGPCWRC.js} +5 -5
- package/dist/{chunk-B6PFGUYJ.js → chunk-PVEM537A.js} +46 -5
- package/dist/{chunk-QJBX3MBV.js → chunk-Q7BU5Q6I.js} +3 -3
- package/dist/{chunk-SXKIGBNF.js → chunk-QFIVK3G5.js} +1 -1
- package/dist/{chunk-BRIZ6OZ3.js → chunk-QMSEL5YS.js} +81 -23
- package/dist/{chunk-BJEQBKGH.js → chunk-QYJANQWC.js} +8 -8
- package/dist/{chunk-4U56FZ7B.js → chunk-R7RM766N.js} +3 -3
- package/dist/{chunk-QI25QRUP.js → chunk-RD4E5G3B.js} +2 -2
- package/dist/{chunk-QP53XLC5.js → chunk-RHX6MNWY.js} +1 -1
- package/dist/chunk-RIECV7SR.js +234 -0
- package/dist/{chunk-3YBJ36UX.js → chunk-RLDMUSRM.js} +2 -2
- package/dist/{chunk-CXQ724WH.js → chunk-RVWALVDT.js} +2 -2
- package/dist/{chunk-VWTUKKUF.js → chunk-RZIKSE6N.js} +10 -4
- package/dist/chunk-SBAU735L.js +328 -0
- package/dist/{chunk-XRCX6R5S.js → chunk-SBJV2PCU.js} +1 -1
- package/dist/chunk-SO7KTH3Q.js +27 -0
- package/dist/{chunk-327Q53AS.js → chunk-SP37DONS.js} +17 -6
- package/dist/{chunk-KA4WVDLX.js → chunk-T6S45OLV.js} +4 -4
- package/dist/chunk-TCTED52S.js +120 -0
- package/dist/{chunk-HLQ4MS42.js → chunk-TO6TB75E.js} +4 -4
- package/dist/{chunk-465RCKVI.js → chunk-U373MEF5.js} +6 -6
- package/dist/{chunk-AL4HXKDJ.js → chunk-VGE6IHZB.js} +10 -10
- package/dist/{chunk-WBG7XYVR.js → chunk-VHJVD3MZ.js} +8 -0
- package/dist/{chunk-ZZEKOI2M.js → chunk-VMJ2UH4S.js} +1 -1
- package/dist/{chunk-3ICF4IAZ.js → chunk-VS4LPG66.js} +1 -1
- package/dist/{chunk-E3YI6FVJ.js → chunk-VV5EZZNT.js} +1 -1
- package/dist/{chunk-OPU3NYOO.js → chunk-W2IRQJ6R.js} +12 -0
- package/dist/{chunk-PV5BIXT6.js → chunk-WR75WUEP.js} +1 -1
- package/dist/{chunk-XUB4GFPN.js → chunk-WYLFDSIE.js} +144 -99
- package/dist/{chunk-4L33OFU4.js → chunk-X2P43TB2.js} +6 -3
- package/dist/chunk-X2X3IGZU.js +215 -0
- package/dist/{chunk-KIKB6FY3.js → chunk-X6A2VWVJ.js} +2 -2
- package/dist/chunk-XMVSLLED.js +38 -0
- package/dist/{chunk-KDMVVHZH.js → chunk-XTWHNLGD.js} +95 -23
- package/dist/{chunk-QY3TM2T3.js → chunk-YMJOLEPE.js} +4 -4
- package/dist/{chunk-RFKRCVGW.js → chunk-YYA5LXCT.js} +1 -1
- package/dist/{chunk-HSKABJE6.js → chunk-ZDUO6QBH.js} +5 -10
- package/dist/{chunk-PDJWHL63.js → chunk-ZEKCHV43.js} +4 -4
- package/dist/{chunk-23KWUA7Z.js → chunk-ZNEBZCZR.js} +53 -2
- package/dist/chunk-ZNUJFX7L.js +135 -0
- package/dist/{chunk-TP7RXGMP.js → chunk-ZRKEUCUZ.js} +315 -67
- package/dist/{chunk-6Y3KUO7Q.js → chunk-ZSZPMUNX.js} +244 -21
- package/dist/{chunk-4P2BFNSB.js → chunk-ZVTKWWLV.js} +2 -2
- package/dist/{chunk-RCOIKTHM.js → chunk-ZZXMB5F2.js} +1 -1
- package/dist/{cleanup-graph-garbage-6F22Y5SD.js → cleanup-graph-garbage-CAA625RJ.js} +10 -9
- package/dist/cloud-sync-command-DBB7WRHL.js +96 -0
- package/dist/cloud-sync-db-init-V7IB23W5.js +46 -0
- package/dist/{cloud-sync-shutdown-FWERMZB5.js → cloud-sync-shutdown-2D3B73CJ.js} +10 -4
- package/dist/{cloud-sync-state-DJRZORFI.js → cloud-sync-state-5DFKLWNB.js} +1 -1
- package/dist/{co-activation-UEEDCM5U.js → co-activation-JVN7EBS6.js} +4 -4
- package/dist/{co-occurrence-W6OPFRSY.js → co-occurrence-526PTFGT.js} +8 -7
- package/dist/{code-context-index-DWR6HS35.js → code-context-index-XOP6TLPZ.js} +5 -4
- package/dist/{conversation-entity-extractor-LWUIH3UB.js → conversation-entity-extractor-JO56DB2E.js} +9 -4
- package/dist/{conversation-wiki-populator-5EGRW2UZ.js → conversation-wiki-populator-EBUZXYEU.js} +1 -1
- package/dist/{crdt-sync-NHJX3ZJD.js → crdt-sync-LIJLZKFE.js} +2 -2
- package/dist/{crm-webhook-OY467ATC.js → crm-webhook-55F7Y6D2.js} +2 -2
- package/dist/{cto-delegation-gate-XH4YSQVC.js → cto-delegation-gate-QIYV4KFO.js} +41 -24
- package/dist/daemon-auth-SSPY5ODS.js +46 -0
- package/dist/{daemon-orchestration-7425ZVNH.js → daemon-orchestration-Q3GJA2JJ.js} +46 -30
- package/dist/{daemon-ready-VGPSRI3Z.js → daemon-ready-MKBH4QWD.js} +1 -1
- package/dist/{daemon-restart-report-HZU5LWXN.js → daemon-restart-report-EIVD6WDJ.js} +1 -1
- package/dist/db-integrity-events-5DTASXJF.js +22 -0
- package/dist/{db-restore-events-TFCZ4CPM.js → db-restore-events-2FI4ZMKA.js} +1 -1
- package/dist/{doc-graph-extractor-RR2VSO4W.js → doc-graph-extractor-P46R4QME.js} +13 -8
- package/dist/{documents-TRZ4R2ZW.js → documents-7KFEREWO.js} +12 -11
- package/dist/{dreaming-MAMZAPYW.js → dreaming-JMUXBAPU.js} +29 -27
- package/dist/employee-boot-brief-HN63D2BY.js +71 -0
- package/dist/{exe-drift-VBWB5E6S.js → exe-drift-7J7GX7DP.js} +5 -5
- package/dist/{exe-export-XJJTVVT7.js → exe-export-KJ7B2OBU.js} +14 -13
- package/dist/{exe-import-G6O7JFNZ.js → exe-import-HPZDWKGE.js} +14 -13
- package/dist/{exe-key-A2WJLLTM.js → exe-key-2PREP464.js} +117 -105
- package/dist/{exe-org-HXF4XBB3.js → exe-org-VEIISATF.js} +88 -26
- package/dist/{exe-snapshot-TL3TLKLR.js → exe-snapshot-JXQFLUKA.js} +33 -40
- package/dist/{fast-db-init-SO2XUQ7T.js → fast-db-init-SCXJXOYX.js} +1 -1
- package/dist/{founder-context-IOCADC66.js → founder-context-U2SZPLYV.js} +4 -3
- package/dist/{founder-monitor-envelope-SMILO4BT.js → founder-monitor-envelope-5KTKNL5G.js} +4 -4
- package/dist/fts-integrity-LKAZEZJE.js +96 -0
- package/dist/gateway/index.js +19 -19
- package/dist/{git-staleness-I6WT7EXV.js → git-staleness-S4NDR7NX.js} +4 -4
- package/dist/{global-procedures-3RMO6C3C.js → global-procedures-ZOFTOXIR.js} +6 -6
- package/dist/gotrue-session-ODZ2ERJX.js +25 -0
- package/dist/{graph-auto-extract-NKTYPD2I.js → graph-auto-extract-CLVTSUSB.js} +8 -7
- package/dist/{graph-rag-EOGPZOYI.js → graph-rag-LSJLWGXV.js} +4 -3
- package/dist/{hook-integrity-RTBF2BL2.js → hook-integrity-SGTKBL6W.js} +1 -1
- package/dist/{hook-prefetch-V5KCGW2N.js → hook-prefetch-BDSLB6F4.js} +26 -24
- package/dist/hooks/bug-report-worker.js +30 -28
- package/dist/hooks/codex-stop-task-finalizer.js +32 -30
- package/dist/hooks/commit-complete.js +29 -27
- package/dist/hooks/error-recall.js +11 -10
- package/dist/hooks/exe-heartbeat-hook.js +7 -6
- package/dist/hooks/ingest-worker.js +10 -9
- package/dist/hooks/ingest.js +18 -16
- package/dist/hooks/instructions-loaded.js +12 -8
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +8 -7
- package/dist/hooks/post-compact.js +7 -6
- package/dist/hooks/post-tool-combined.js +33 -14
- package/dist/hooks/pre-compact.js +31 -28
- package/dist/hooks/pre-tool-use.js +61 -34
- package/dist/hooks/prompt-submit.js +45 -42
- package/dist/hooks/session-end.js +40 -35
- package/dist/hooks/session-start.js +29 -71
- package/dist/hooks/stop.js +42 -36
- package/dist/hooks/subagent-stop.js +49 -33
- package/dist/hooks/summary-worker.js +35 -33
- package/dist/index.js +40 -38
- package/dist/{installer-G67M3DME.js → installer-EA7T3PBD.js} +7 -7
- package/dist/{installer-L3ZKMOPU.js → installer-KCEM4RCG.js} +7 -7
- package/dist/{installer-QBWZSYDG.js → installer-RC2JCKSE.js} +9 -7
- package/dist/{intercom-queue-R5LSXD3V.js → intercom-queue-6DZPHHQ2.js} +25 -23
- package/dist/{key-backup-status-3RC6XTUX.js → key-backup-status-6L2ARCXW.js} +1 -1
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +25 -19
- package/dist/lib/config.js +1 -1
- package/dist/lib/consolidation.js +9 -9
- package/dist/lib/crypto.js +3 -1
- package/dist/lib/database.js +18 -4
- package/dist/lib/db-backup.js +4 -2
- package/dist/lib/db-daemon-client.js +5 -4
- package/dist/lib/db-write-worker.js +3 -3
- package/dist/lib/db.js +18 -4
- package/dist/lib/device-registry.js +2 -2
- package/dist/lib/embed-worker.js +1 -1
- package/dist/lib/embedder.js +5 -4
- package/dist/lib/employee-templates.js +7 -7
- package/dist/lib/employees.js +4 -4
- package/dist/lib/exe-daemon-client.js +4 -3
- package/dist/lib/exe-daemon.js +473 -206
- package/dist/lib/hybrid-search.js +8 -8
- package/dist/lib/identity-templates.js +1 -1
- package/dist/lib/identity.js +4 -4
- package/dist/lib/license.js +6 -4
- package/dist/lib/messaging.js +26 -24
- package/dist/lib/post-tool-memory.js +2 -2
- package/dist/lib/registry-proxy.js +3 -1
- package/dist/lib/reminders.js +5 -5
- package/dist/lib/schedules.js +8 -8
- package/dist/lib/session-registry.js +6 -6
- package/dist/lib/skill-learning.js +14 -12
- package/dist/lib/stack-invariants.js +21 -0
- package/dist/lib/status-brief.js +3 -3
- package/dist/lib/store.js +7 -7
- package/dist/lib/task-router.js +5 -5
- package/dist/lib/tasks.js +27 -25
- package/dist/lib/tmux-routing.js +25 -23
- package/dist/lib/token-spend.js +5 -5
- package/dist/{license-gate-6R3F3NQR.js → license-gate-HMSMUIAU.js} +5 -4
- package/dist/{license-sync-VBJCXBAP.js → license-sync-FBCMPC4J.js} +4 -3
- package/dist/{mailbox-inbox-CP2VRBXZ.js → mailbox-inbox-4MEUOL3J.js} +2 -2
- package/dist/{mailbox-outbox-HXI7DYNC.js → mailbox-outbox-J6WIF3UY.js} +1 -1
- package/dist/mcp/register-tools.js +114 -102
- package/dist/mcp/server.js +120 -108
- 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 +30 -27
- package/dist/mcp/tools/deactivate-behavior.js +15 -13
- package/dist/mcp/tools/list-reminders.js +6 -6
- package/dist/mcp/tools/list-tasks.js +30 -27
- package/dist/mcp/tools/send-message.js +29 -26
- package/dist/mcp/tools/update-task.js +28 -26
- package/dist/{mcp-http-config-BWX7AMAZ.js → mcp-http-config-YKJN52HG.js} +5 -5
- package/dist/{mcp-session-identity-GOBGICLI.js → mcp-session-identity-QLUVYWPR.js} +25 -23
- package/dist/{memory-cards-4EXX3BQS.js → memory-cards-K2OSX4AW.js} +7 -7
- package/dist/{memory-graph-extractor-OYVZIJ3R.js → memory-graph-extractor-YLTSKLSY.js} +9 -8
- package/dist/{memory-poisoning-defense-AHOD2EBX.js → memory-poisoning-defense-IPO4ADRL.js} +4 -4
- package/dist/{memory-pressure-watchdog-COJC3OYS.js → memory-pressure-watchdog-ZI3TH2OF.js} +26 -24
- package/dist/{memory-queue-4VN3DTOE.js → memory-queue-QJNWKWKG.js} +2 -2
- package/dist/{memory-queue-client-OI4LDT4W.js → memory-queue-client-HIHCA3W4.js} +6 -5
- package/dist/{memory-reflection-V2SNAUIB.js → memory-reflection-ZKVRU3NT.js} +4 -4
- package/dist/{monitor-grants-W3ISOLMC.js → monitor-grants-BW2WL4IU.js} +3 -3
- package/dist/{notification-ledger-J6Q2GAYU.js → notification-ledger-4REL6M3T.js} +27 -25
- package/dist/{notifications-56TP36IK.js → notifications-UXJUAP3C.js} +25 -23
- package/dist/{orchestration-events-CKQ756NA.js → orchestration-events-GMRGGBMN.js} +5 -5
- package/dist/{orchestration-phase-ZJ4XVNFO.js → orchestration-phase-UDS24CVQ.js} +2 -2
- package/dist/{orchestrator-ERSQ3KNT.js → orchestrator-5TV75HDJ.js} +27 -25
- package/dist/{org-brief-session-FSZ3QJDN.js → org-brief-session-7AZZEO3F.js} +13 -13
- package/dist/{org-consent-policy-BN7MKCZ2.js → org-consent-policy-XT6UZENB.js} +2 -2
- package/dist/{org-join-HTQ57JYH.js → org-join-BMBQDMVF.js} +10 -7
- package/dist/org-key-admin-SCCVVE2H.js +38 -0
- package/dist/{org-key-pin-OTOKAELD.js → org-key-pin-5WUSPGVN.js} +3 -3
- package/dist/{org-membership-SML6GCHP.js → org-membership-ESALTLLN.js} +4 -4
- package/dist/{org-partner-config-XQGOB7EJ.js → org-partner-config-YKHPDPZR.js} +6 -6
- package/dist/{org-partner-runtime-RNNUL5IN.js → org-partner-runtime-WLZAZJIY.js} +14 -14
- package/dist/{org-row-visibility-JZFJ3YRJ.js → org-row-visibility-A5XM4MVO.js} +1 -1
- package/dist/{pipeline-router-IUENNTAY.js → pipeline-router-UEVXDUHR.js} +5 -5
- package/dist/{plan-limits-ZUII366B.js → plan-limits-QEP32X4W.js} +8 -7
- package/dist/{platform-procedures-2VQGBJU7.js → platform-procedures-44NDFTB6.js} +1 -1
- package/dist/{postinstall-failure-A7WTAXD6.js → postinstall-failure-B2JHNFPM.js} +2 -2
- package/dist/{project-boot-3DFY5F35.js → project-boot-LEZSK3W7.js} +9 -1
- package/dist/project-name-ILJTETUE.js +14 -0
- package/dist/{projection-worker-MBWUPB5O.js → projection-worker-GMRC6SBH.js} +4 -4
- package/dist/{prospective-memory-GHE5ORN4.js → prospective-memory-QLHSAPSG.js} +4 -4
- package/dist/{push-notifications-PTQ5DHCD.js → push-notifications-GKRPXOGI.js} +26 -24
- package/dist/reproject-worktree-memories-IXYGHTGA.js +224 -0
- package/dist/{reranker-NUIGAPA3.js → reranker-GB4VEMUV.js} +2 -2
- package/dist/{retrieval-health-XHCERQPG.js → retrieval-health-QIBPBGN6.js} +5 -1
- package/dist/{review-polling-CYBCBHZA.js → review-polling-MU47NQ2N.js} +26 -24
- package/dist/runtime/index.js +37 -35
- package/dist/seat-benefit-VDQJYJOB.js +17 -0
- package/dist/{session-events-X33W4JNA.js → session-events-YMQ3VGBJ.js} +26 -24
- package/dist/{session-kill-telemetry-I2F5PUIW.js → session-kill-telemetry-VGPKE57M.js} +26 -24
- package/dist/{session-mcp-config-YKNXG5DW.js → session-mcp-config-F7KATWOF.js} +10 -1
- package/dist/{session-scope-WXP4F7OF.js → session-scope-P46KAHXQ.js} +26 -24
- package/dist/{setup-wizard-2CTVITIX.js → setup-wizard-BRNHSJ4U.js} +4 -3
- package/dist/{shard-manager-YEOHEOHL.js → shard-manager-UROHZE46.js} +2 -2
- package/dist/{skill-refinement-VDR5OT4V.js → skill-refinement-NLYDSFEH.js} +5 -5
- package/dist/{stack-promote-XVC7FRJW.js → stack-promote-NHFTNIM2.js} +7 -5
- package/dist/{stack-release-6PWAACRM.js → stack-release-AQVKZUS7.js} +7 -5
- package/dist/{stack-update-24VRBQ3U.js → stack-update-LLX5KT7G.js} +38 -6
- package/dist/{steward-gate-2ZNYDVFO.js → steward-gate-JKHYFAHA.js} +5 -5
- package/dist/subagent-brief-injection-VDVOHDOU.js +97 -0
- package/dist/subagent-spawn-ledger-USYZXU3M.js +22 -0
- package/dist/{support-inbox-ZHKLDETT.js → support-inbox-S6YO5YZU.js} +5 -4
- package/dist/{support-outbox-DSWU3IXH.js → support-outbox-HFJWG52M.js} +1 -1
- package/dist/{task-enforcement-GQDUTIFY.js → task-enforcement-LXW45H5Z.js} +26 -24
- package/dist/{task-request-inbox-BFXNUU44.js → task-request-inbox-UCSKDC3R.js} +2 -2
- package/dist/{task-scope-ERHPHLUM.js → task-scope-GDLFE26E.js} +25 -23
- package/dist/{tasks-crud-NVNF3NRA.js → tasks-crud-W7VGWRUV.js} +25 -23
- package/dist/{tasks-notify-DXLU5VCT.js → tasks-notify-CT7NWCS4.js} +26 -24
- package/dist/{tasks-review-BST6N34P.js → tasks-review-WCSKOUFW.js} +25 -23
- package/dist/{telemetry-upload-NY3EKOGY.js → telemetry-upload-FK5WKXVB.js} +10 -9
- package/dist/{token-budget-CLB3GUIX.js → token-budget-GBNGSIU3.js} +5 -5
- package/dist/{tool-capability-index-WZWVBI2R.js → tool-capability-index-BT2GGLLI.js} +1 -1
- package/dist/{tool-telemetry-PALAZUXT.js → tool-telemetry-VKMRS6MP.js} +1 -1
- package/dist/tui/App.js +39 -37
- package/dist/{tui-data-CNFSRZP7.js → tui-data-FTPV2XBQ.js} +25 -23
- package/dist/{update-support-ZVB3CNGY.js → update-support-J6UWPUOC.js} +18 -15
- package/dist/{work-state-heartbeat-O7UMB6SE.js → work-state-heartbeat-4LDF6DSM.js} +1 -1
- package/dist/{worker-gate-6DQQWDNB.js → worker-gate-35VZINZG.js} +2 -2
- package/dist/{workflow-engine-5ZULFH7O.js → workflow-engine-4DA6RSHI.js} +2 -2
- package/dist/working-memory-DPFRSKH3.js +18 -0
- package/dist/{worktree-ZWA35PKW.js → worktree-H3YFJ3NU.js} +6 -6
- package/dist/{worktree-sweep-5LCVT46V.js → worktree-sweep-4EDLLQ2E.js} +9 -7
- package/package.json +11 -5
- package/release-notes.json +86 -34
- package/src/commands/exe/call.md +6 -4
- package/src/commands/exe-reference.md +11 -7
- package/src/commands/exe.md +16 -20
- package/dist/chunk-HISFWAAK.js +0 -90
- package/dist/daemon-auth-OCHW2U6B.js +0 -20
- package/dist/project-name-EWG5KAZP.js +0 -10
- package/dist/session-summary-5EYI4XW4.js +0 -128
- /package/dist/{chunk-YAZ5ECEG.js → chunk-3NBWARKC.js} +0 -0
- /package/dist/{chunk-6C4UAKMS.js → chunk-6CAX7YH4.js} +0 -0
- /package/dist/{chunk-FIPUVCKC.js → chunk-7DMCAGSC.js} +0 -0
- /package/dist/{chunk-X7LY3IOB.js → chunk-JRPYLUXH.js} +0 -0
- /package/dist/{chunk-L4LPJMPV.js → chunk-QYECRPGD.js} +0 -0
- /package/dist/{chunk-UELGUVNL.js → chunk-UY6HRDB2.js} +0 -0
- /package/dist/{chunk-YWN3XMPU.js → chunk-YSDIJ3VI.js} +0 -0
- /package/dist/{core-memory-BZFPVS43.js → core-memory-CMPPHJN5.js} +0 -0
- /package/dist/{entity-boost-VXXED26D.js → entity-boost-CDFAXVYL.js} +0 -0
- /package/dist/{memory-isolation-3PIOWLYP.js → memory-isolation-ZB5S5HCO.js} +0 -0
- /package/dist/{message-queue-client-5XW7ZOK2.js → message-queue-client-PL2POQOV.js} +0 -0
- /package/dist/{oauth-server-KW5M437C.js → oauth-server-NP7KGF7N.js} +0 -0
- /package/dist/{webhook-pipe-QJRFZVKA.js → webhook-pipe-UQSEHFPO.js} +0 -0
- /package/dist/{wiki-acl-RXFV5OEU.js → wiki-acl-5DKOWOIH.js} +0 -0
- /package/dist/{wiki-client-57QWZIHQ.js → wiki-client-AXNM5FWY.js} +0 -0
|
@@ -3,38 +3,39 @@ import {
|
|
|
3
3
|
flushBatch,
|
|
4
4
|
initStore,
|
|
5
5
|
writeMemory
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-4QKKLK3C.js";
|
|
7
|
+
import "../chunk-QYECRPGD.js";
|
|
8
8
|
import "../chunk-CHCA3ZM2.js";
|
|
9
9
|
import "../chunk-OTVEIJUQ.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-7DMCAGSC.js";
|
|
11
11
|
import "../chunk-5MOYSU5A.js";
|
|
12
12
|
import "../chunk-4QCFFW2H.js";
|
|
13
13
|
import "../chunk-76CJBM36.js";
|
|
14
14
|
import {
|
|
15
15
|
connectEmbedDaemon,
|
|
16
16
|
embedViaClient
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-
|
|
17
|
+
} from "../chunk-BNHAZ65R.js";
|
|
18
|
+
import "../chunk-RIECV7SR.js";
|
|
19
|
+
import "../chunk-LNOS24GV.js";
|
|
19
20
|
import "../chunk-NLEW62VC.js";
|
|
20
21
|
import "../chunk-MP2AFCGL.js";
|
|
21
22
|
import {
|
|
22
23
|
getClient,
|
|
23
24
|
isCoordinatorName
|
|
24
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-BRLS5OLZ.js";
|
|
25
26
|
import "../chunk-TKDITWDN.js";
|
|
26
27
|
import "../chunk-BBMTVAE3.js";
|
|
27
28
|
import "../chunk-5YEUPUV4.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-NO3M2AFM.js";
|
|
29
30
|
import "../chunk-YYB5PMTK.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-NJFJWQNN.js";
|
|
31
32
|
import "../chunk-V3W3SATA.js";
|
|
32
33
|
import "../chunk-JY5GAZYC.js";
|
|
33
34
|
import "../chunk-FXU7JOXK.js";
|
|
34
35
|
import "../chunk-HPXFKUGU.js";
|
|
35
36
|
import "../chunk-QILQ5FCG.js";
|
|
36
37
|
import "../chunk-ARX6TAGN.js";
|
|
37
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-QMSEL5YS.js";
|
|
38
39
|
import "../chunk-HSGBZSCA.js";
|
|
39
40
|
import {
|
|
40
41
|
isMainModule
|
|
@@ -2,31 +2,31 @@
|
|
|
2
2
|
import {
|
|
3
3
|
politeBatchPause,
|
|
4
4
|
startManagedJob
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-H74466TM.js";
|
|
6
6
|
import {
|
|
7
7
|
NOT_PARKED_SQL,
|
|
8
8
|
PARKED_EMBEDDING_MODEL,
|
|
9
9
|
backfillKillSwitchEnabled
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-J5EYOBFF.js";
|
|
11
11
|
import {
|
|
12
12
|
prepareEmbeddingText
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-RLDMUSRM.js";
|
|
14
14
|
import {
|
|
15
15
|
initStore,
|
|
16
16
|
vectorToBlob
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-4QKKLK3C.js";
|
|
18
18
|
import {
|
|
19
19
|
WORK_STATE_HEARTBEAT_TOOL
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-QYECRPGD.js";
|
|
21
21
|
import "../chunk-CHCA3ZM2.js";
|
|
22
22
|
import "../chunk-OTVEIJUQ.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-7DMCAGSC.js";
|
|
24
24
|
import {
|
|
25
25
|
cleanupWorkerPid,
|
|
26
26
|
registerWorkerPid,
|
|
27
27
|
releaseBackfillLock,
|
|
28
28
|
tryAcquireBackfillLock
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-MPQXQ5IE.js";
|
|
30
30
|
import "../chunk-5MOYSU5A.js";
|
|
31
31
|
import "../chunk-4QCFFW2H.js";
|
|
32
32
|
import "../chunk-76CJBM36.js";
|
|
@@ -34,19 +34,20 @@ import {
|
|
|
34
34
|
connectEmbedDaemon,
|
|
35
35
|
embedBatchViaClient,
|
|
36
36
|
embedViaClient
|
|
37
|
-
} from "../chunk-
|
|
38
|
-
import "../chunk-
|
|
37
|
+
} from "../chunk-BNHAZ65R.js";
|
|
38
|
+
import "../chunk-RIECV7SR.js";
|
|
39
|
+
import "../chunk-LNOS24GV.js";
|
|
39
40
|
import "../chunk-NLEW62VC.js";
|
|
40
41
|
import "../chunk-MP2AFCGL.js";
|
|
41
42
|
import {
|
|
42
43
|
getClient
|
|
43
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-BRLS5OLZ.js";
|
|
44
45
|
import "../chunk-TKDITWDN.js";
|
|
45
46
|
import "../chunk-BBMTVAE3.js";
|
|
46
47
|
import "../chunk-5YEUPUV4.js";
|
|
47
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-NO3M2AFM.js";
|
|
48
49
|
import "../chunk-YYB5PMTK.js";
|
|
49
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-NJFJWQNN.js";
|
|
50
51
|
import "../chunk-V3W3SATA.js";
|
|
51
52
|
import "../chunk-JY5GAZYC.js";
|
|
52
53
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -56,7 +57,7 @@ import "../chunk-ARX6TAGN.js";
|
|
|
56
57
|
import {
|
|
57
58
|
EXE_AI_DIR,
|
|
58
59
|
loadConfig
|
|
59
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-QMSEL5YS.js";
|
|
60
61
|
import {
|
|
61
62
|
atomicWriteJsonSync
|
|
62
63
|
} from "../chunk-HSGBZSCA.js";
|
|
@@ -1,50 +1,54 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
pushToPostgres
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-WYLFDSIE.js";
|
|
5
|
+
import "../chunk-NEHOQ3P2.js";
|
|
6
|
+
import "../chunk-3THNS2T7.js";
|
|
7
|
+
import "../chunk-CW2UCKHS.js";
|
|
8
|
+
import "../chunk-VV5EZZNT.js";
|
|
9
|
+
import "../chunk-JTB5V6BV.js";
|
|
10
|
+
import "../chunk-NUTZJZKW.js";
|
|
11
|
+
import "../chunk-O2MEBF23.js";
|
|
12
|
+
import "../chunk-VMJ2UH4S.js";
|
|
11
13
|
import "../chunk-QGGH7LOU.js";
|
|
12
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-VHJVD3MZ.js";
|
|
13
15
|
import "../chunk-TWMWHDOY.js";
|
|
14
16
|
import "../chunk-EEZOBN6X.js";
|
|
15
17
|
import {
|
|
16
18
|
disposeStore,
|
|
17
19
|
initStore
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-4QKKLK3C.js";
|
|
21
|
+
import "../chunk-QYECRPGD.js";
|
|
20
22
|
import "../chunk-CHCA3ZM2.js";
|
|
21
23
|
import "../chunk-OTVEIJUQ.js";
|
|
22
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-7DMCAGSC.js";
|
|
23
25
|
import "../chunk-5MOYSU5A.js";
|
|
24
26
|
import "../chunk-4QCFFW2H.js";
|
|
25
27
|
import "../chunk-76CJBM36.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-BNHAZ65R.js";
|
|
29
|
+
import "../chunk-RIECV7SR.js";
|
|
30
|
+
import "../chunk-LNOS24GV.js";
|
|
28
31
|
import "../chunk-NLEW62VC.js";
|
|
29
32
|
import "../chunk-MP2AFCGL.js";
|
|
30
33
|
import {
|
|
31
34
|
getClient
|
|
32
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-BRLS5OLZ.js";
|
|
33
36
|
import "../chunk-TKDITWDN.js";
|
|
34
37
|
import "../chunk-BBMTVAE3.js";
|
|
35
38
|
import "../chunk-5YEUPUV4.js";
|
|
36
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-NO3M2AFM.js";
|
|
37
40
|
import "../chunk-YYB5PMTK.js";
|
|
38
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-NJFJWQNN.js";
|
|
39
42
|
import "../chunk-V3W3SATA.js";
|
|
40
43
|
import "../chunk-JY5GAZYC.js";
|
|
41
44
|
import "../chunk-FXU7JOXK.js";
|
|
42
45
|
import "../chunk-HPXFKUGU.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
46
|
+
import "../chunk-ZDUO6QBH.js";
|
|
47
|
+
import "../chunk-A7XLR3K7.js";
|
|
48
|
+
import "../chunk-VS4LPG66.js";
|
|
45
49
|
import "../chunk-QILQ5FCG.js";
|
|
46
50
|
import "../chunk-ARX6TAGN.js";
|
|
47
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-QMSEL5YS.js";
|
|
48
52
|
import "../chunk-HSGBZSCA.js";
|
|
49
53
|
import "../chunk-JKKZGDLP.js";
|
|
50
54
|
import "../chunk-MLKGABMK.js";
|
package/dist/bin/cc-doctor.js
CHANGED
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
checkClaudeCodeInstall
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-J4U5Z7VX.js";
|
|
5
5
|
import "../chunk-SSC7EKY2.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-E5HAY3DQ.js";
|
|
7
7
|
import "../chunk-75H4R62K.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-TCTED52S.js";
|
|
9
|
+
import "../chunk-YYA5LXCT.js";
|
|
10
|
+
import "../chunk-EWCEUO65.js";
|
|
10
11
|
import "../chunk-B6TI3TZT.js";
|
|
11
12
|
import "../chunk-4QCFFW2H.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-BRLS5OLZ.js";
|
|
13
14
|
import "../chunk-TKDITWDN.js";
|
|
14
15
|
import "../chunk-BBMTVAE3.js";
|
|
15
16
|
import "../chunk-5YEUPUV4.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-NO3M2AFM.js";
|
|
17
18
|
import "../chunk-YYB5PMTK.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-NJFJWQNN.js";
|
|
19
20
|
import "../chunk-V3W3SATA.js";
|
|
20
21
|
import "../chunk-JY5GAZYC.js";
|
|
21
22
|
import "../chunk-FXU7JOXK.js";
|
|
22
23
|
import "../chunk-HPXFKUGU.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-QILQ5FCG.js";
|
|
25
|
+
import "../chunk-ARX6TAGN.js";
|
|
26
|
+
import "../chunk-QMSEL5YS.js";
|
|
24
27
|
import "../chunk-HSGBZSCA.js";
|
|
25
28
|
import {
|
|
26
29
|
isMainModule
|
|
@@ -1,56 +1,58 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
fastDbInit
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LKYGSJ2E.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-KI5PFRG6.js";
|
|
7
|
+
} from "../chunk-ORNCMRIX.js";
|
|
8
|
+
import "../chunk-ESTR7QUP.js";
|
|
9
|
+
import "../chunk-FXPAUDCZ.js";
|
|
10
|
+
import "../chunk-QFIVK3G5.js";
|
|
12
11
|
import "../chunk-WT4RI36X.js";
|
|
13
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-C3UAQ3JG.js";
|
|
13
|
+
import "../chunk-KI5PFRG6.js";
|
|
14
|
+
import "../chunk-EIKATSE4.js";
|
|
14
15
|
import "../chunk-E23LNUWJ.js";
|
|
15
16
|
import "../chunk-QAEWWYHL.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-EHHMNKOA.js";
|
|
18
|
+
import "../chunk-GBNB4EWD.js";
|
|
18
19
|
import "../chunk-UXLO7VHX.js";
|
|
19
20
|
import "../chunk-DSOQUQTV.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-PV5BIXT6.js";
|
|
21
|
+
import "../chunk-WR75WUEP.js";
|
|
22
22
|
import "../chunk-AJIXH5JF.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-XTWHNLGD.js";
|
|
24
24
|
import "../chunk-AM7S2TY6.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-2FYIMTQE.js";
|
|
26
26
|
import "../chunk-CVYC6DUW.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-ZVTKWWLV.js";
|
|
28
|
+
import "../chunk-CDUB5Q6J.js";
|
|
29
|
+
import "../chunk-BNHAZ65R.js";
|
|
30
|
+
import "../chunk-RIECV7SR.js";
|
|
31
|
+
import "../chunk-LNOS24GV.js";
|
|
32
32
|
import "../chunk-NLEW62VC.js";
|
|
33
|
+
import "../chunk-W2IRQJ6R.js";
|
|
33
34
|
import "../chunk-HYZV25LY.js";
|
|
34
35
|
import "../chunk-GJV3WDWM.js";
|
|
35
36
|
import "../chunk-MP2AFCGL.js";
|
|
36
37
|
import {
|
|
37
38
|
getClient
|
|
38
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-BRLS5OLZ.js";
|
|
39
40
|
import "../chunk-TKDITWDN.js";
|
|
40
41
|
import "../chunk-BBMTVAE3.js";
|
|
41
42
|
import "../chunk-5YEUPUV4.js";
|
|
42
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-NO3M2AFM.js";
|
|
43
44
|
import "../chunk-YYB5PMTK.js";
|
|
44
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-NJFJWQNN.js";
|
|
45
46
|
import "../chunk-V3W3SATA.js";
|
|
46
47
|
import "../chunk-JY5GAZYC.js";
|
|
47
48
|
import "../chunk-FXU7JOXK.js";
|
|
48
49
|
import "../chunk-WNBZJSQT.js";
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-ZDUO6QBH.js";
|
|
51
|
+
import "../chunk-A7XLR3K7.js";
|
|
52
|
+
import "../chunk-VS4LPG66.js";
|
|
51
53
|
import "../chunk-QILQ5FCG.js";
|
|
52
54
|
import "../chunk-ARX6TAGN.js";
|
|
53
|
-
import "../chunk-
|
|
55
|
+
import "../chunk-QMSEL5YS.js";
|
|
54
56
|
import "../chunk-HSGBZSCA.js";
|
|
55
57
|
import {
|
|
56
58
|
isMainModule
|
package/dist/bin/cli.js
CHANGED
|
@@ -108,7 +108,7 @@ if (args.includes("--global")) {
|
|
|
108
108
|
);
|
|
109
109
|
await runClaudeInstall();
|
|
110
110
|
} else if (args.includes("--commands-only")) {
|
|
111
|
-
const { copySlashCommands, resolvePackageRoot } = await import("../installer-
|
|
111
|
+
const { copySlashCommands, resolvePackageRoot } = await import("../installer-RC2JCKSE.js");
|
|
112
112
|
try {
|
|
113
113
|
const packageRoot = resolvePackageRoot();
|
|
114
114
|
const result = await copySlashCommands(packageRoot);
|
|
@@ -171,7 +171,7 @@ if (args.includes("--global")) {
|
|
|
171
171
|
break;
|
|
172
172
|
}
|
|
173
173
|
} else if (args[0] === "org") {
|
|
174
|
-
const { main: runOrg } = await import("../exe-org-
|
|
174
|
+
const { main: runOrg } = await import("../exe-org-VEIISATF.js");
|
|
175
175
|
await runOrg(args.slice(1));
|
|
176
176
|
} else if (args[0] === "mcp") {
|
|
177
177
|
const { main: runMcp } = await import("./exe-mcp.js");
|
|
@@ -179,7 +179,7 @@ if (args.includes("--global")) {
|
|
|
179
179
|
} else if (args[0] === "code-context") {
|
|
180
180
|
await runCodeContext(args.slice(1));
|
|
181
181
|
} else if (args[0] === "jobs") {
|
|
182
|
-
const { cancelBackgroundJob, formatJobs, listBackgroundJobs } = await import("../background-jobs-
|
|
182
|
+
const { cancelBackgroundJob, formatJobs, listBackgroundJobs } = await import("../background-jobs-LTPWCMA3.js");
|
|
183
183
|
const sub = args[1] ?? "status";
|
|
184
184
|
if (sub === "status" || sub === "list") {
|
|
185
185
|
console.log(formatJobs(listBackgroundJobs()));
|
|
@@ -200,7 +200,7 @@ if (args.includes("--global")) {
|
|
|
200
200
|
process.exit(1);
|
|
201
201
|
}
|
|
202
202
|
} else if (args[0] === "key") {
|
|
203
|
-
const { main: runKey } = await import("../exe-key-
|
|
203
|
+
const { main: runKey } = await import("../exe-key-2PREP464.js");
|
|
204
204
|
await runKey(args.slice(1));
|
|
205
205
|
} else if (args[0] === "grant") {
|
|
206
206
|
const { main: runGrant } = await import("./exe-grant.js");
|
|
@@ -258,7 +258,7 @@ if (args.includes("--global")) {
|
|
|
258
258
|
process.exit(1);
|
|
259
259
|
}
|
|
260
260
|
} else if (args[0] === "backfill-metadata") {
|
|
261
|
-
const { backfillMetadata } = await import("../backfill-metadata-
|
|
261
|
+
const { backfillMetadata } = await import("../backfill-metadata-ANCJA6LA.js");
|
|
262
262
|
let batchSize = 50;
|
|
263
263
|
let limit = 0;
|
|
264
264
|
let dryRun = false;
|
|
@@ -289,10 +289,10 @@ if (args.includes("--global")) {
|
|
|
289
289
|
process.exit(1);
|
|
290
290
|
}
|
|
291
291
|
} else if (args[0] === "export") {
|
|
292
|
-
const { runExeExport } = await import("../exe-export-
|
|
292
|
+
const { runExeExport } = await import("../exe-export-KJ7B2OBU.js");
|
|
293
293
|
await runExeExport(args.slice(1));
|
|
294
294
|
} else if (args[0] === "import") {
|
|
295
|
-
const { runExeImport } = await import("../exe-import-
|
|
295
|
+
const { runExeImport } = await import("../exe-import-HPZDWKGE.js");
|
|
296
296
|
await runExeImport(args.slice(1));
|
|
297
297
|
} else if (args[0] === "import-history") {
|
|
298
298
|
const { runImportHistory } = await import("./import-history.js");
|
|
@@ -317,7 +317,7 @@ if (args.includes("--global")) {
|
|
|
317
317
|
const { initStore } = await import("../lib/store.js");
|
|
318
318
|
await initStore();
|
|
319
319
|
const { sendMessage } = await import("../lib/messaging.js");
|
|
320
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
320
|
+
const { getActiveAgent } = await import("../active-agent-C6DPH43L.js");
|
|
321
321
|
const { agentId } = getActiveAgent();
|
|
322
322
|
const result = await sendMessage({
|
|
323
323
|
fromAgent: agentId,
|
|
@@ -341,7 +341,7 @@ ID: ${result.id}`);
|
|
|
341
341
|
process.exit(code);
|
|
342
342
|
} else if (args[0] === "doctor") {
|
|
343
343
|
if (args.includes("--drift")) {
|
|
344
|
-
const { runDrift } = await import("../exe-drift-
|
|
344
|
+
const { runDrift } = await import("../exe-drift-7J7GX7DP.js");
|
|
345
345
|
await runDrift(args.slice(1));
|
|
346
346
|
} else {
|
|
347
347
|
const { runCcDoctor } = await import("./cc-doctor.js");
|
|
@@ -372,7 +372,7 @@ ID: ${result.id}`);
|
|
|
372
372
|
console.log(` self-heal restarts in window: ${String(storm.selfHealRestartsInWindow ?? "?")}`);
|
|
373
373
|
console.log(" inspect: exe-os doctor --restarts");
|
|
374
374
|
}
|
|
375
|
-
const { POSTINSTALL_ACTION_REQUIRED_PREFIX, readPostinstallFailureMarker } = await import("../postinstall-failure-
|
|
375
|
+
const { POSTINSTALL_ACTION_REQUIRED_PREFIX, readPostinstallFailureMarker } = await import("../postinstall-failure-B2JHNFPM.js");
|
|
376
376
|
const postinstallFailure = readPostinstallFailureMarker();
|
|
377
377
|
const postinstallFailed = postinstallFailure ? 1 : 0;
|
|
378
378
|
if (postinstallFailure) {
|
|
@@ -540,7 +540,7 @@ ${JSON.stringify(stormAlert, null, 2)}`);
|
|
|
540
540
|
const reason = args[2] || "manual";
|
|
541
541
|
let encryptionKey;
|
|
542
542
|
try {
|
|
543
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
543
|
+
const { fastDbInit } = await import("../fast-db-init-SCXJXOYX.js");
|
|
544
544
|
await fastDbInit({ caller: "cli" });
|
|
545
545
|
} catch {
|
|
546
546
|
}
|
|
@@ -581,7 +581,7 @@ ${JSON.stringify(stormAlert, null, 2)}`);
|
|
|
581
581
|
process.exit(1);
|
|
582
582
|
}
|
|
583
583
|
} else if (sub === "verify") {
|
|
584
|
-
const { verifyBackup } = await import("../backup-verify-
|
|
584
|
+
const { verifyBackup } = await import("../backup-verify-F7BHVEF7.js");
|
|
585
585
|
let target;
|
|
586
586
|
const pathIdx = args.indexOf("--path");
|
|
587
587
|
if (pathIdx >= 0 && args[pathIdx + 1]) {
|
|
@@ -611,7 +611,7 @@ ${JSON.stringify(stormAlert, null, 2)}`);
|
|
|
611
611
|
process.exit(1);
|
|
612
612
|
}
|
|
613
613
|
} else if (args[0] === "setup" || args[0] === "-setup" || args[0] === "--setup") {
|
|
614
|
-
const { runSetupWizard } = await import("../setup-wizard-
|
|
614
|
+
const { runSetupWizard } = await import("../setup-wizard-BRNHSJ4U.js");
|
|
615
615
|
await runSetupWizard({
|
|
616
616
|
skipModel: args.includes("--skip-model"),
|
|
617
617
|
nonInteractive: args.includes("--non-interactive") || args.includes("-y") || args.includes("--yes"),
|
|
@@ -631,11 +631,11 @@ ${JSON.stringify(stormAlert, null, 2)}`);
|
|
|
631
631
|
const { runStackUpdateCli } = await import("./stack-update.js");
|
|
632
632
|
await runStackUpdateCli(args.slice(1));
|
|
633
633
|
} else if (args[0] === "release") {
|
|
634
|
-
const { parseReleaseArgs, runStackRelease } = await import("../stack-release-
|
|
634
|
+
const { parseReleaseArgs, runStackRelease } = await import("../stack-release-AQVKZUS7.js");
|
|
635
635
|
const releaseFlags = parseReleaseArgs(args.slice(1));
|
|
636
636
|
await runStackRelease(releaseFlags);
|
|
637
637
|
} else if (args[0] === "stack-promote") {
|
|
638
|
-
const { runStackPromoteCli } = await import("../stack-promote-
|
|
638
|
+
const { runStackPromoteCli } = await import("../stack-promote-NHFTNIM2.js");
|
|
639
639
|
await runStackPromoteCli(args.slice(1));
|
|
640
640
|
} else if (args[0] === "preflight") {
|
|
641
641
|
const { runPreflightCli } = await import("./exe-preflight.js");
|
|
@@ -667,16 +667,16 @@ Post-deploy verification \u2014 8 runtime checks after stack-update.
|
|
|
667
667
|
`);
|
|
668
668
|
process.exit(report.failed > 0 ? 1 : 0);
|
|
669
669
|
} else if (args[0] === "snapshot") {
|
|
670
|
-
const { main: runSnapshot } = await import("../exe-snapshot-
|
|
670
|
+
const { main: runSnapshot } = await import("../exe-snapshot-JXQFLUKA.js");
|
|
671
671
|
await runSnapshot(args.slice(1));
|
|
672
672
|
} else if (args[0] === "boot") {
|
|
673
|
-
const { projectBoot, parseBootArgs } = await import("../project-boot-
|
|
673
|
+
const { projectBoot, parseBootArgs } = await import("../project-boot-LEZSK3W7.js");
|
|
674
674
|
const bootOpts = parseBootArgs(args.slice(1));
|
|
675
675
|
console.log(await projectBoot(bootOpts));
|
|
676
676
|
} else if (args[0] === "brand") {
|
|
677
677
|
const configIdx = args.indexOf("--config");
|
|
678
678
|
if (configIdx === -1 || !args[configIdx + 1]) {
|
|
679
|
-
const { loadBranding, BRANDING_PATH } = await import("../branding-
|
|
679
|
+
const { loadBranding, BRANDING_PATH } = await import("../branding-GH43W3PU.js");
|
|
680
680
|
const b = loadBranding();
|
|
681
681
|
console.log(`
|
|
682
682
|
Brand: ${b.name}`);
|
|
@@ -695,7 +695,7 @@ Post-deploy verification \u2014 8 runtime checks after stack-update.
|
|
|
695
695
|
}
|
|
696
696
|
try {
|
|
697
697
|
const raw = JSON.parse(rf(configPath, "utf-8"));
|
|
698
|
-
const { validateBranding, saveBranding } = await import("../branding-
|
|
698
|
+
const { validateBranding, saveBranding } = await import("../branding-GH43W3PU.js");
|
|
699
699
|
const result = validateBranding(raw);
|
|
700
700
|
if (!result.valid) {
|
|
701
701
|
console.error(`
|
|
@@ -784,7 +784,7 @@ cd into a project folder and run \x1B[1m${cooName}1\x1B[0m to boot your COO.
|
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
786
|
async function runCodeContext(ccArgs) {
|
|
787
|
-
const { buildCodeContextIndex, getCodeContextStats, searchCodeContext } = await import("../code-context-index-
|
|
787
|
+
const { buildCodeContextIndex, getCodeContextStats, searchCodeContext } = await import("../code-context-index-XOP6TLPZ.js");
|
|
788
788
|
const sub = ccArgs[0] ?? "status";
|
|
789
789
|
const projectRoot = valueAfter(ccArgs, "--project-root");
|
|
790
790
|
if (sub === "init" || sub === "index") {
|
|
@@ -865,7 +865,7 @@ function numberAfter(args2, flag) {
|
|
|
865
865
|
return Number.isFinite(parsed) ? parsed : void 0;
|
|
866
866
|
}
|
|
867
867
|
async function runClaudeInstall() {
|
|
868
|
-
const { runInstaller } = await import("../installer-
|
|
868
|
+
const { runInstaller } = await import("../installer-RC2JCKSE.js");
|
|
869
869
|
try {
|
|
870
870
|
await runInstaller();
|
|
871
871
|
} catch (err) {
|
|
@@ -877,7 +877,7 @@ async function runClaudeInstall() {
|
|
|
877
877
|
}
|
|
878
878
|
}
|
|
879
879
|
async function runOpenCodeInstall() {
|
|
880
|
-
const { runOpenCodeInstaller } = await import("../installer-
|
|
880
|
+
const { runOpenCodeInstaller } = await import("../installer-EA7T3PBD.js");
|
|
881
881
|
try {
|
|
882
882
|
await runOpenCodeInstaller();
|
|
883
883
|
} catch (err) {
|
|
@@ -889,7 +889,7 @@ async function runOpenCodeInstall() {
|
|
|
889
889
|
}
|
|
890
890
|
}
|
|
891
891
|
async function runCodexInstall() {
|
|
892
|
-
const { runCodexInstaller } = await import("../installer-
|
|
892
|
+
const { runCodexInstaller } = await import("../installer-KCEM4RCG.js");
|
|
893
893
|
try {
|
|
894
894
|
await runCodexInstaller();
|
|
895
895
|
} catch (err) {
|
|
@@ -901,7 +901,7 @@ async function runCodexInstall() {
|
|
|
901
901
|
}
|
|
902
902
|
}
|
|
903
903
|
async function runClaudeCheck() {
|
|
904
|
-
const { detectMcpNameCollisions } = await import("../installer-
|
|
904
|
+
const { detectMcpNameCollisions } = await import("../installer-RC2JCKSE.js");
|
|
905
905
|
const claudeDir = path.join(os.homedir(), ".claude");
|
|
906
906
|
const settingsPath = path.join(claudeDir, "settings.json");
|
|
907
907
|
const claudeJsonPath = path.join(os.homedir(), ".claude.json");
|
|
@@ -1396,84 +1396,11 @@ async function runLicense(subArgs) {
|
|
|
1396
1396
|
process.exit(1);
|
|
1397
1397
|
}
|
|
1398
1398
|
async function runCloudSync() {
|
|
1399
|
-
const {
|
|
1400
|
-
|
|
1401
|
-
if (!config.cloud?.apiKey) {
|
|
1402
|
-
console.error("Cloud sync is not configured. Run \x1B[36mexe-os cloud\x1B[0m to set up.");
|
|
1403
|
-
process.exit(1);
|
|
1404
|
-
}
|
|
1405
|
-
const { disposeStore } = await import("../lib/store.js");
|
|
1406
|
-
const { cloudSync } = await import("../lib/cloud-sync.js");
|
|
1407
|
-
const { getMasterKey } = await import("../lib/keychain.js");
|
|
1408
|
-
const { initSyncCrypto } = await import("../lib/crypto.js");
|
|
1409
|
-
const { assertCloudSyncReachable, withTimeout } = await import("./exe-cloud.js");
|
|
1410
|
-
const { runCloudSyncShutdown } = await import("../cloud-sync-shutdown-FWERMZB5.js");
|
|
1411
|
-
let shuttingDown = false;
|
|
1412
|
-
const handleShutdown = (signal) => {
|
|
1413
|
-
if (shuttingDown) return;
|
|
1414
|
-
shuttingDown = true;
|
|
1415
|
-
void runCloudSyncShutdown(signal, { disposeStore }).finally(() => process.exit(143));
|
|
1416
|
-
};
|
|
1417
|
-
process.on("SIGTERM", handleShutdown);
|
|
1418
|
-
process.on("SIGINT", handleShutdown);
|
|
1419
|
-
try {
|
|
1420
|
-
try {
|
|
1421
|
-
await assertCloudSyncReachable(config.cloud.endpoint);
|
|
1422
|
-
} catch (err) {
|
|
1423
|
-
console.error(`Cloud sync aborted: ${err instanceof Error ? err.message : String(err)}`);
|
|
1424
|
-
process.exit(1);
|
|
1425
|
-
}
|
|
1426
|
-
const { isPostgresBackendEnabled } = await import("../db-backend-ODVJ3Q3D.js");
|
|
1427
|
-
if (isPostgresBackendEnabled()) {
|
|
1428
|
-
const { initPostgresOnlyDatabase } = await import("../lib/database.js");
|
|
1429
|
-
await initPostgresOnlyDatabase();
|
|
1430
|
-
} else {
|
|
1431
|
-
const { fastDbInit } = await import("../fast-db-init-SO2XUQ7T.js");
|
|
1432
|
-
await fastDbInit();
|
|
1433
|
-
}
|
|
1434
|
-
const masterKey = await getMasterKey();
|
|
1435
|
-
if (masterKey) {
|
|
1436
|
-
initSyncCrypto(masterKey);
|
|
1437
|
-
} else {
|
|
1438
|
-
console.error("No encryption key found. Run \x1B[36mexe-os setup\x1B[0m first.");
|
|
1439
|
-
await disposeStore();
|
|
1440
|
-
process.exit(1);
|
|
1441
|
-
}
|
|
1442
|
-
console.log("Syncing with Exe Cloud now... (Normally this runs automatically in the background.)");
|
|
1443
|
-
try {
|
|
1444
|
-
const syncTimeoutMs = Number(process.env.EXE_CLOUD_SYNC_TIMEOUT_MS ?? 6e5);
|
|
1445
|
-
const result = await withTimeout(cloudSync(config.cloud), syncTimeoutMs, "Cloud sync");
|
|
1446
|
-
console.log("");
|
|
1447
|
-
console.log(` Active memories: ${result.totalMemories} (\u2191 ${result.pushed} syncable rows pushed, \u2193 ${result.pulled} pulled)`);
|
|
1448
|
-
console.log(` Behaviors: ${result.behaviors.pushed} total (\u2193 ${result.behaviors.pulled} pulled)`);
|
|
1449
|
-
console.log(` Roster: ${result.roster.employees} employees, ${result.roster.identities} identities`);
|
|
1450
|
-
console.log(` Tasks: ${result.tasks.pushed} total (\u2193 ${result.tasks.pulled} pulled)`);
|
|
1451
|
-
console.log(` Conversations: ${result.conversations.pushed} total (\u2193 ${result.conversations.pulled} pulled)`);
|
|
1452
|
-
console.log(` Documents: ${result.documents.pushed} total (\u2193 ${result.documents.pulled} pulled)`);
|
|
1453
|
-
console.log(` GraphRAG: ${result.graphrag.pushed} entities`);
|
|
1454
|
-
const elapsedDisplay = result.elapsedMs != null ? `${(result.elapsedMs / 1e3).toFixed(1)}s` : "n/a";
|
|
1455
|
-
console.log(`
|
|
1456
|
-
\x1B[32mSync complete.\x1B[0m (${elapsedDisplay})`);
|
|
1457
|
-
} catch (err) {
|
|
1458
|
-
const message = err instanceof Error ? err.message : String(err);
|
|
1459
|
-
if (message.includes("Cloud sync is blocked because this device rotated")) {
|
|
1460
|
-
console.error("\nCloud sync is blocked for safety.");
|
|
1461
|
-
console.error("This device changed its memory encryption key, so Exe Cloud must be re-uploaded with the new key first.");
|
|
1462
|
-
console.error("Run: exe-os cloud reupload");
|
|
1463
|
-
} else {
|
|
1464
|
-
console.error(`Sync failed: ${message}`);
|
|
1465
|
-
}
|
|
1466
|
-
process.exit(1);
|
|
1467
|
-
} finally {
|
|
1468
|
-
await disposeStore();
|
|
1469
|
-
}
|
|
1470
|
-
} finally {
|
|
1471
|
-
process.off("SIGTERM", handleShutdown);
|
|
1472
|
-
process.off("SIGINT", handleShutdown);
|
|
1473
|
-
}
|
|
1399
|
+
const { runCloudSyncCli } = await import("../cloud-sync-command-DBB7WRHL.js");
|
|
1400
|
+
await runCloudSyncCli();
|
|
1474
1401
|
}
|
|
1475
1402
|
async function runLogin(loginArgs) {
|
|
1476
|
-
const { login, storeToken, getSessionInfo } = await import("../gotrue-session-
|
|
1403
|
+
const { login, storeToken, getSessionInfo } = await import("../gotrue-session-ODZ2ERJX.js");
|
|
1477
1404
|
const tokenIdx = loginArgs.indexOf("--token");
|
|
1478
1405
|
if (tokenIdx >= 0) {
|
|
1479
1406
|
const jwt = loginArgs[tokenIdx + 1];
|
|
@@ -1557,7 +1484,7 @@ async function runLogin(loginArgs) {
|
|
|
1557
1484
|
`);
|
|
1558
1485
|
}
|
|
1559
1486
|
async function runLogout() {
|
|
1560
|
-
const { clearSession, getSession } = await import("../gotrue-session-
|
|
1487
|
+
const { clearSession, getSession } = await import("../gotrue-session-ODZ2ERJX.js");
|
|
1561
1488
|
const had = getSession() !== null;
|
|
1562
1489
|
clearSession();
|
|
1563
1490
|
if (had) {
|
|
@@ -1567,7 +1494,7 @@ async function runLogout() {
|
|
|
1567
1494
|
}
|
|
1568
1495
|
}
|
|
1569
1496
|
async function runWhoami() {
|
|
1570
|
-
const { getSessionInfo } = await import("../gotrue-session-
|
|
1497
|
+
const { getSessionInfo } = await import("../gotrue-session-ODZ2ERJX.js");
|
|
1571
1498
|
const info = getSessionInfo();
|
|
1572
1499
|
if (!info.authenticated) {
|
|
1573
1500
|
const configPath = path.join(os.homedir(), ".exe-os", "config.json");
|
|
@@ -277,10 +277,12 @@ test("Support intake \u2014 customer CLI smoke test is routed", () => {
|
|
|
277
277
|
test("Support intake \u2014 API health route and cloud-sync license fallback exist", () => {
|
|
278
278
|
const api = readSrc("api-router/src/index.ts");
|
|
279
279
|
const supportRoutes = readSrc("api-router/src/support-routes.ts");
|
|
280
|
+
const auth = readSrc("api-router/src/auth.ts");
|
|
280
281
|
const wrangler = readSrc("api-router/wrangler.toml");
|
|
281
282
|
if (!api.includes("/v1/support/health")) return "support health route missing";
|
|
282
283
|
if (!supportRoutes.includes("handleSupportHealth")) return "handleSupportHealth missing";
|
|
283
|
-
if (!supportRoutes.includes("
|
|
284
|
+
if (!supportRoutes.includes("validateSupportLicenseCredentials")) return "support intake not wired to shared license validation";
|
|
285
|
+
if (!auth.includes("env.CLOUD_SYNC.fetch")) return "cloud-sync service binding fallback missing";
|
|
284
286
|
if (!wrangler.includes('binding = "CLOUD_SYNC"')) return "CLOUD_SYNC service binding missing";
|
|
285
287
|
return true;
|
|
286
288
|
});
|