@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,8 +3,8 @@ import {
|
|
|
3
3
|
getOrchestrationPhaseInfo,
|
|
4
4
|
loadOrchestrationPhase,
|
|
5
5
|
setOrchestrationPhase
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-ZZXMB5F2.js";
|
|
7
|
+
import "./chunk-QMSEL5YS.js";
|
|
8
8
|
import "./chunk-HSGBZSCA.js";
|
|
9
9
|
import "./chunk-JKKZGDLP.js";
|
|
10
10
|
import "./chunk-MLKGABMK.js";
|
|
@@ -36,6 +36,11 @@ AI Partner \u2014 joining an org (the member side):
|
|
|
36
36
|
Discard a pinned Org Key (a key rotation is a security event)
|
|
37
37
|
|
|
38
38
|
AI Partner \u2014 running an org (the admin side; do these in order):
|
|
39
|
+
exe-os org create <org-id> Create the org and become its first admin. THE FIRST
|
|
40
|
+
STEP \u2014 every other admin command needs an org that
|
|
41
|
+
already exists and an admin who can act on it, and
|
|
42
|
+
this is the only thing that produces either.
|
|
43
|
+
An org id is 1-128 chars of [a-z0-9._:-].
|
|
39
44
|
exe-os org publish-key --org <id> --mailbox <mailbox-id>
|
|
40
45
|
Publish this org's Org Key. REQUIRED ONCE before any
|
|
41
46
|
invite can be issued \u2014 until it exists, "org invite"
|
|
@@ -119,18 +124,18 @@ async function promptSecret(prompt) {
|
|
|
119
124
|
});
|
|
120
125
|
}
|
|
121
126
|
async function printOrgSection() {
|
|
122
|
-
const { resolveOrgPartnerBindings, resolvePartnerIdentities } = await import("./org-partner-config-
|
|
127
|
+
const { resolveOrgPartnerBindings, resolvePartnerIdentities } = await import("./org-partner-config-YKHPDPZR.js");
|
|
123
128
|
const bindings = resolveOrgPartnerBindings();
|
|
124
129
|
if (!bindings.orgMode) {
|
|
125
130
|
console.log("Org membership: none \u2014 this is a personal install. The AI Partner org surface is inactive.");
|
|
126
131
|
console.log("");
|
|
127
132
|
return;
|
|
128
133
|
}
|
|
129
|
-
const { orgPartnerRuntimeStatus } = await import("./org-partner-runtime-
|
|
130
|
-
const { getStandingPolicies } = await import("./org-consent-policy-
|
|
131
|
-
const { listTaskRequests } = await import("./task-request-inbox-
|
|
132
|
-
const { getMailboxOutboxStatus, listFailureNotices } = await import("./mailbox-outbox-
|
|
133
|
-
const { getMailboxInboxState } = await import("./mailbox-inbox-
|
|
134
|
+
const { orgPartnerRuntimeStatus } = await import("./org-partner-runtime-WLZAZJIY.js");
|
|
135
|
+
const { getStandingPolicies } = await import("./org-consent-policy-XT6UZENB.js");
|
|
136
|
+
const { listTaskRequests } = await import("./task-request-inbox-UCSKDC3R.js");
|
|
137
|
+
const { getMailboxOutboxStatus, listFailureNotices } = await import("./mailbox-outbox-J6WIF3UY.js");
|
|
138
|
+
const { getMailboxInboxState } = await import("./mailbox-inbox-4MEUOL3J.js");
|
|
134
139
|
const runtime = orgPartnerRuntimeStatus();
|
|
135
140
|
console.log("Org membership: ACTIVE (org mode is latched on this machine)");
|
|
136
141
|
if (bindings.readError) {
|
|
@@ -180,9 +185,9 @@ async function printOrgSection() {
|
|
|
180
185
|
if (runtime.defects.length > 0) console.log("");
|
|
181
186
|
}
|
|
182
187
|
async function runReport(argv) {
|
|
183
|
-
const { assertOrgPartnerRuntimeReady } = await import("./org-partner-runtime-
|
|
184
|
-
const { draftOrgUpBrief, sendOpenDraft } = await import("./org-brief-session-
|
|
185
|
-
const { resolveOrgPartnerBindings } = await import("./org-partner-config-
|
|
188
|
+
const { assertOrgPartnerRuntimeReady } = await import("./org-partner-runtime-WLZAZJIY.js");
|
|
189
|
+
const { draftOrgUpBrief, sendOpenDraft } = await import("./org-brief-session-7AZZEO3F.js");
|
|
190
|
+
const { resolveOrgPartnerBindings } = await import("./org-partner-config-YKHPDPZR.js");
|
|
186
191
|
assertOrgPartnerRuntimeReady();
|
|
187
192
|
let orgId = flag(argv, "org");
|
|
188
193
|
if (!orgId) {
|
|
@@ -257,10 +262,10 @@ async function runReport(argv) {
|
|
|
257
262
|
return 0;
|
|
258
263
|
}
|
|
259
264
|
async function runRequests(argv) {
|
|
260
|
-
const { assertOrgPartnerRuntimeReady } = await import("./org-partner-runtime-
|
|
261
|
-
const { requireOrgPartnerBinding, resolveOrgPartnerBindings, resolvePartnerIdentities } = await import("./org-partner-config-
|
|
262
|
-
const { listTaskRequests, getTaskRequest, acceptTaskRequest, declineTaskRequest } = await import("./task-request-inbox-
|
|
263
|
-
const { decideRequestManually } = await import("./org-consent-policy-
|
|
265
|
+
const { assertOrgPartnerRuntimeReady } = await import("./org-partner-runtime-WLZAZJIY.js");
|
|
266
|
+
const { requireOrgPartnerBinding, resolveOrgPartnerBindings, resolvePartnerIdentities } = await import("./org-partner-config-YKHPDPZR.js");
|
|
267
|
+
const { listTaskRequests, getTaskRequest, acceptTaskRequest, declineTaskRequest } = await import("./task-request-inbox-UCSKDC3R.js");
|
|
268
|
+
const { decideRequestManually } = await import("./org-consent-policy-XT6UZENB.js");
|
|
264
269
|
assertOrgPartnerRuntimeReady();
|
|
265
270
|
let orgId = flag(argv, "org");
|
|
266
271
|
if (!orgId) {
|
|
@@ -339,7 +344,7 @@ async function runRequests(argv) {
|
|
|
339
344
|
return 0;
|
|
340
345
|
}
|
|
341
346
|
async function runConsent(argv) {
|
|
342
|
-
const { resolveOrgPartnerBindings } = await import("./org-partner-config-
|
|
347
|
+
const { resolveOrgPartnerBindings } = await import("./org-partner-config-YKHPDPZR.js");
|
|
343
348
|
const { setConsentPassphrase, clearConsentPassphrase, consentPassphraseIsSet, MIN_CONSENT_PASSPHRASE_LENGTH } = await import("./consent-passphrase-Z64GFJXK.js");
|
|
344
349
|
const sub = argv[0];
|
|
345
350
|
let orgId = flag(argv, "org");
|
|
@@ -395,9 +400,9 @@ async function runJoin(argv) {
|
|
|
395
400
|
console.error('exe-os org join <invite-code> [--confirm "<phrase>"]');
|
|
396
401
|
return 1;
|
|
397
402
|
}
|
|
398
|
-
const { fetchInviteOffer, completeOrgJoin, orgKeyPinConfirmation } = await import("./org-join-
|
|
399
|
-
const { readOrgKeyPin, orgKeyUnpinConfirmation } = await import("./org-key-pin-
|
|
400
|
-
const { resolvePartnerIdentities } = await import("./org-partner-config-
|
|
403
|
+
const { fetchInviteOffer, completeOrgJoin, orgKeyPinConfirmation } = await import("./org-join-BMBQDMVF.js");
|
|
404
|
+
const { readOrgKeyPin, orgKeyUnpinConfirmation } = await import("./org-key-pin-5WUSPGVN.js");
|
|
405
|
+
const { resolvePartnerIdentities } = await import("./org-partner-config-YKHPDPZR.js");
|
|
401
406
|
const offer = await fetchInviteOffer(code, {
|
|
402
407
|
...flag(argv, "endpoint") ? { endpoint: flag(argv, "endpoint") } : {}
|
|
403
408
|
});
|
|
@@ -421,6 +426,10 @@ async function runJoin(argv) {
|
|
|
421
426
|
console.log(` my Partner sign fp (unavailable: ${err instanceof Error ? err.message : String(err)})`);
|
|
422
427
|
}
|
|
423
428
|
console.log("");
|
|
429
|
+
console.log("Pinning this Org Key does not share your memories, backup, or private scope.");
|
|
430
|
+
console.log("They stay private by default and encrypted end-to-end under your key unless you");
|
|
431
|
+
console.log("explicitly approve and send a brief or grant a scoped memory slice.");
|
|
432
|
+
console.log("");
|
|
424
433
|
const existing = readOrgKeyPin(offer.orgId);
|
|
425
434
|
if (existing && existing.org_key_sign_fp !== offer.orgKeySignFp) {
|
|
426
435
|
console.error(`This install already pinned ${existing.org_key_sign_fp.slice(0, 16)} for ${offer.orgId}.`);
|
|
@@ -452,9 +461,53 @@ async function runJoin(argv) {
|
|
|
452
461
|
result.pinCreated ? `Pinned ${result.pin.org_key_sign_fp.slice(0, 16)} as the Org Key for ${result.offer.orgId}.` : `That identity was already pinned for ${result.offer.orgId} \u2014 re-joined, nothing re-pinned.`
|
|
453
462
|
);
|
|
454
463
|
console.log(`Joined ${result.offer.orgId} as ${result.offer.status}. Your Partner fp is ${result.partnerSignFpDisplay}.`);
|
|
464
|
+
console.log("");
|
|
465
|
+
const { memberJoinBenefitText } = await import("./seat-benefit-VDQJYJOB.js");
|
|
466
|
+
console.log(memberJoinBenefitText({
|
|
467
|
+
orgId: result.offer.orgId,
|
|
468
|
+
personalPlan: "free",
|
|
469
|
+
orgPlan: result.offer.orgPlan
|
|
470
|
+
}));
|
|
471
|
+
console.log("");
|
|
455
472
|
console.log("Run `exe-os org status` to see the mailbox and policy state.");
|
|
456
473
|
return 0;
|
|
457
474
|
}
|
|
475
|
+
async function runCreate(argv) {
|
|
476
|
+
const orgId = argv[0];
|
|
477
|
+
if (!orgId || orgId.startsWith("--")) {
|
|
478
|
+
console.error("exe-os org create <org-id>");
|
|
479
|
+
console.error("");
|
|
480
|
+
console.error("<org-id> is 1-128 characters of [a-z0-9._:-] \u2014 a handle, not a company name.");
|
|
481
|
+
console.error("It is lowercase by constraint, not by convention: `Acme` and `acme` must never be");
|
|
482
|
+
console.error("two organizations that look identical in a roster, so a capitalized id is folded");
|
|
483
|
+
console.error("before it is sent and refused by the database if it ever arrives uncanonical.");
|
|
484
|
+
return 1;
|
|
485
|
+
}
|
|
486
|
+
const { createOrg } = await import("./org-key-admin-SCCVVE2H.js");
|
|
487
|
+
const created = await createOrg({
|
|
488
|
+
orgId,
|
|
489
|
+
...flag(argv, "endpoint") ? { endpoint: flag(argv, "endpoint") } : {}
|
|
490
|
+
});
|
|
491
|
+
console.log(`Created ${created.orgId}. You are its first admin.`);
|
|
492
|
+
console.log("");
|
|
493
|
+
console.log(` org id ${created.orgId}`);
|
|
494
|
+
console.log(` created at ${created.createdAt}`);
|
|
495
|
+
console.log(` first admin ${created.adminUserId} (this account)`);
|
|
496
|
+
console.log("");
|
|
497
|
+
console.log("The org exists and nothing else about it does. It has no Org Key, so it can issue no");
|
|
498
|
+
console.log("invites yet \u2014 that is fail-closed by design, not a missing step you have to discover");
|
|
499
|
+
console.log("from a 404.");
|
|
500
|
+
console.log("");
|
|
501
|
+
console.log("Next, in order:");
|
|
502
|
+
console.log(` 1. exe-os org publish-key --org ${created.orgId} --mailbox <mailbox-id>`);
|
|
503
|
+
console.log(` 2. exe-os org invite <seat-ref> --org ${created.orgId}`);
|
|
504
|
+
console.log("");
|
|
505
|
+
console.log("Creating the org did NOT bind this machine's Partner to it \u2014 you hold the admin bit,");
|
|
506
|
+
console.log("not a seat. Issue yourself an invite in step 2 and redeem it like anyone else; that is");
|
|
507
|
+
console.log("what runs the fingerprint attestation, and the founder should not be the one person");
|
|
508
|
+
console.log("who never performed it.");
|
|
509
|
+
return 0;
|
|
510
|
+
}
|
|
458
511
|
async function runPublishKey(argv) {
|
|
459
512
|
const orgId = flag(argv, "org");
|
|
460
513
|
const mailboxId = flag(argv, "mailbox");
|
|
@@ -466,10 +519,10 @@ async function runPublishKey(argv) {
|
|
|
466
519
|
console.error("without publishing again.");
|
|
467
520
|
return 1;
|
|
468
521
|
}
|
|
469
|
-
const { publishOrgKey, readMyPinnedOrgKey, describeRotation } = await import("./org-key-admin-
|
|
522
|
+
const { publishOrgKey, readMyPinnedOrgKey, describeRotation } = await import("./org-key-admin-SCCVVE2H.js");
|
|
470
523
|
const transport = flag(argv, "endpoint") ? { endpoint: flag(argv, "endpoint") } : {};
|
|
471
524
|
const existing = await readMyPinnedOrgKey({ orgId, ...transport });
|
|
472
|
-
const { resolvePartnerIdentities } = await import("./org-partner-config-
|
|
525
|
+
const { resolvePartnerIdentities } = await import("./org-partner-config-YKHPDPZR.js");
|
|
473
526
|
const mine = await resolvePartnerIdentities(orgId);
|
|
474
527
|
const myFp = mine.sign.fingerprint.toString("hex").slice(0, 16);
|
|
475
528
|
if (existing && existing.fingerprint !== myFp && !has(argv, "rotate")) {
|
|
@@ -522,13 +575,22 @@ async function runInvite(argv) {
|
|
|
522
575
|
console.error("directory entry. Try `engineer.03` or `support.lead`.");
|
|
523
576
|
return 1;
|
|
524
577
|
}
|
|
525
|
-
const { issueSeatInvite } = await import("./org-key-admin-
|
|
578
|
+
const { issueSeatInvite } = await import("./org-key-admin-SCCVVE2H.js");
|
|
526
579
|
const invite = await issueSeatInvite({
|
|
527
580
|
orgId,
|
|
528
581
|
seatRef,
|
|
529
582
|
...has(argv, "admin") ? { isAdmin: true } : {},
|
|
530
583
|
...flag(argv, "endpoint") ? { endpoint: flag(argv, "endpoint") } : {}
|
|
531
584
|
});
|
|
585
|
+
const { adminInviteDisclosureText } = await import("./seat-benefit-VDQJYJOB.js");
|
|
586
|
+
console.log(adminInviteDisclosureText({
|
|
587
|
+
orgId: invite.orgId,
|
|
588
|
+
seatRef: invite.seatRef,
|
|
589
|
+
orgPlan: invite.orgPlan ?? null,
|
|
590
|
+
...typeof invite.seatsConsumed === "number" ? { seatsConsumed: invite.seatsConsumed } : {},
|
|
591
|
+
...typeof invite.seatsPurchased === "number" ? { seatsPurchased: invite.seatsPurchased } : {}
|
|
592
|
+
}));
|
|
593
|
+
console.log("");
|
|
532
594
|
console.log(`Invite for seat "${invite.seatRef}" in ${invite.orgId}${invite.isAdmin ? " (ORG ADMIN)" : ""}.`);
|
|
533
595
|
console.log("");
|
|
534
596
|
console.log(" \u2500\u2500 SHOWN ONCE. Only its hash is stored; this is the only copy. \u2500\u2500");
|
|
@@ -559,7 +621,7 @@ async function runUnpin(argv) {
|
|
|
559
621
|
console.error('exe-os org unpin <org-id> --confirm "<phrase>"');
|
|
560
622
|
return 1;
|
|
561
623
|
}
|
|
562
|
-
const { readOrgKeyPin, unpinOrgKey, orgKeyUnpinConfirmation } = await import("./org-key-pin-
|
|
624
|
+
const { readOrgKeyPin, unpinOrgKey, orgKeyUnpinConfirmation } = await import("./org-key-pin-5WUSPGVN.js");
|
|
563
625
|
const pin = readOrgKeyPin(orgId);
|
|
564
626
|
if (!pin) {
|
|
565
627
|
console.error(`No pinned Org Key for org "${orgId}".`);
|
|
@@ -583,7 +645,7 @@ async function runUnpin(argv) {
|
|
|
583
645
|
return 0;
|
|
584
646
|
}
|
|
585
647
|
async function runLeave(argv) {
|
|
586
|
-
const { clearOrgModeSticky, ORG_MODE_CLEAR_CONFIRMATION, orgMembershipPresent } = await import("./org-membership-
|
|
648
|
+
const { clearOrgModeSticky, ORG_MODE_CLEAR_CONFIRMATION, orgMembershipPresent } = await import("./org-membership-ESALTLLN.js");
|
|
587
649
|
if (!orgMembershipPresent()) {
|
|
588
650
|
console.log("This install is not an org member \u2014 nothing to leave.");
|
|
589
651
|
return 0;
|
|
@@ -627,8 +689,8 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
627
689
|
}
|
|
628
690
|
return;
|
|
629
691
|
}
|
|
630
|
-
if (cmd === "report" || cmd === "requests" || cmd === "leave" || cmd === "join" || cmd === "unpin" || cmd === "publish-key" || cmd === "invite") {
|
|
631
|
-
const run = cmd === "report" ? runReport : cmd === "requests" ? runRequests : cmd === "join" ? runJoin : cmd === "unpin" ? runUnpin : cmd === "publish-key" ? runPublishKey : cmd === "invite" ? runInvite : runLeave;
|
|
692
|
+
if (cmd === "report" || cmd === "requests" || cmd === "leave" || cmd === "join" || cmd === "unpin" || cmd === "create" || cmd === "publish-key" || cmd === "invite") {
|
|
693
|
+
const run = cmd === "report" ? runReport : cmd === "requests" ? runRequests : cmd === "join" ? runJoin : cmd === "unpin" ? runUnpin : cmd === "create" ? runCreate : cmd === "publish-key" ? runPublishKey : cmd === "invite" ? runInvite : runLeave;
|
|
632
694
|
try {
|
|
633
695
|
process.exitCode = await run(argv.slice(1));
|
|
634
696
|
} catch (err) {
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
DreamingEngine
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PPGPCWRC.js";
|
|
5
5
|
import {
|
|
6
6
|
storeBehavior
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-O2MEBF23.js";
|
|
8
|
+
import "./chunk-VMJ2UH4S.js";
|
|
9
9
|
import "./chunk-QGGH7LOU.js";
|
|
10
10
|
import {
|
|
11
11
|
disposeStore,
|
|
12
12
|
flushBatch,
|
|
13
13
|
initStore,
|
|
14
14
|
writeMemory
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-4QKKLK3C.js";
|
|
16
|
+
import "./chunk-QYECRPGD.js";
|
|
17
17
|
import {
|
|
18
18
|
extractKeywords,
|
|
19
19
|
keywordsToString
|
|
20
20
|
} from "./chunk-CHCA3ZM2.js";
|
|
21
21
|
import "./chunk-OTVEIJUQ.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-7DMCAGSC.js";
|
|
23
23
|
import "./chunk-5MOYSU5A.js";
|
|
24
24
|
import "./chunk-4QCFFW2H.js";
|
|
25
25
|
import "./chunk-76CJBM36.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-KI5PFRG6.js";
|
|
26
|
+
import "./chunk-ORNCMRIX.js";
|
|
27
|
+
import "./chunk-ESTR7QUP.js";
|
|
28
|
+
import "./chunk-FXPAUDCZ.js";
|
|
29
|
+
import "./chunk-QFIVK3G5.js";
|
|
31
30
|
import "./chunk-WT4RI36X.js";
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-C3UAQ3JG.js";
|
|
32
|
+
import "./chunk-KI5PFRG6.js";
|
|
33
|
+
import "./chunk-EIKATSE4.js";
|
|
33
34
|
import "./chunk-E23LNUWJ.js";
|
|
34
35
|
import "./chunk-QAEWWYHL.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-EHHMNKOA.js";
|
|
37
|
+
import "./chunk-GBNB4EWD.js";
|
|
37
38
|
import "./chunk-UXLO7VHX.js";
|
|
38
39
|
import "./chunk-DSOQUQTV.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-PV5BIXT6.js";
|
|
40
|
+
import "./chunk-WR75WUEP.js";
|
|
41
41
|
import "./chunk-AJIXH5JF.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-XTWHNLGD.js";
|
|
43
43
|
import "./chunk-AM7S2TY6.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-2FYIMTQE.js";
|
|
45
45
|
import "./chunk-CVYC6DUW.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-ZVTKWWLV.js";
|
|
47
|
+
import "./chunk-CDUB5Q6J.js";
|
|
48
|
+
import "./chunk-BNHAZ65R.js";
|
|
49
|
+
import "./chunk-RIECV7SR.js";
|
|
50
|
+
import "./chunk-LNOS24GV.js";
|
|
51
51
|
import "./chunk-NLEW62VC.js";
|
|
52
|
+
import "./chunk-W2IRQJ6R.js";
|
|
52
53
|
import "./chunk-HYZV25LY.js";
|
|
53
54
|
import "./chunk-GJV3WDWM.js";
|
|
54
55
|
import "./chunk-MP2AFCGL.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-BRLS5OLZ.js";
|
|
56
57
|
import "./chunk-TKDITWDN.js";
|
|
57
58
|
import "./chunk-BBMTVAE3.js";
|
|
58
59
|
import "./chunk-5YEUPUV4.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-NO3M2AFM.js";
|
|
60
61
|
import "./chunk-YYB5PMTK.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-NJFJWQNN.js";
|
|
62
63
|
import "./chunk-V3W3SATA.js";
|
|
63
64
|
import "./chunk-JY5GAZYC.js";
|
|
64
65
|
import "./chunk-FXU7JOXK.js";
|
|
65
66
|
import "./chunk-HPXFKUGU.js";
|
|
66
67
|
import "./chunk-WNBZJSQT.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-ZDUO6QBH.js";
|
|
69
|
+
import "./chunk-A7XLR3K7.js";
|
|
70
|
+
import "./chunk-VS4LPG66.js";
|
|
69
71
|
import "./chunk-QILQ5FCG.js";
|
|
70
72
|
import "./chunk-ARX6TAGN.js";
|
|
71
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-QMSEL5YS.js";
|
|
72
74
|
import "./chunk-HSGBZSCA.js";
|
|
73
75
|
import "./chunk-JKKZGDLP.js";
|
|
74
76
|
import "./chunk-MLKGABMK.js";
|
|
75
77
|
|
|
76
78
|
// src/bin/exe-snapshot.ts
|
|
77
79
|
import crypto from "crypto";
|
|
78
|
-
import path from "path";
|
|
79
|
-
import { execSync } from "child_process";
|
|
80
80
|
|
|
81
81
|
// src/lib/session-snapshot.ts
|
|
82
82
|
var FILE_RE = /(?:[\w@.-]+\/)+[\w@.-]+\.(?:ts|tsx|js|jsx|json|md|yml|yaml|sql|py|go|rs|sh|css|html|toml)/g;
|
|
@@ -268,15 +268,8 @@ async function main(_args = []) {
|
|
|
268
268
|
const agentId = process.env.AGENT_ID || "default";
|
|
269
269
|
let projectName = process.env.EXE_PROJECT;
|
|
270
270
|
if (!projectName) {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
encoding: "utf8",
|
|
274
|
-
stdio: ["pipe", "pipe", "pipe"]
|
|
275
|
-
}).trim();
|
|
276
|
-
projectName = path.basename(gitRoot);
|
|
277
|
-
} catch {
|
|
278
|
-
projectName = "unknown";
|
|
279
|
-
}
|
|
271
|
+
const { resolveProjectName } = await import("./project-name-ILJTETUE.js");
|
|
272
|
+
projectName = resolveProjectName();
|
|
280
273
|
}
|
|
281
274
|
try {
|
|
282
275
|
await initStore();
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkLicense
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ZDUO6QBH.js";
|
|
4
|
+
import "./chunk-A7XLR3K7.js";
|
|
5
|
+
import "./chunk-VS4LPG66.js";
|
|
5
6
|
import {
|
|
6
7
|
loadConfigSync
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QMSEL5YS.js";
|
|
8
9
|
import "./chunk-HSGBZSCA.js";
|
|
9
10
|
import "./chunk-JKKZGDLP.js";
|
|
10
11
|
import "./chunk-MLKGABMK.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
orgModeActive
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-CW2UCKHS.js";
|
|
4
|
+
import "./chunk-VV5EZZNT.js";
|
|
5
|
+
import "./chunk-JTB5V6BV.js";
|
|
6
6
|
import {
|
|
7
7
|
ALGORITHM,
|
|
8
8
|
CURRENT_KEY_ID,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
pubKeyHash
|
|
21
21
|
} from "./chunk-EEZOBN6X.js";
|
|
22
22
|
import "./chunk-HPXFKUGU.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-QMSEL5YS.js";
|
|
24
24
|
import "./chunk-HSGBZSCA.js";
|
|
25
25
|
import "./chunk-JKKZGDLP.js";
|
|
26
26
|
import "./chunk-MLKGABMK.js";
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import {
|
|
2
|
+
recordDbIntegrityEvent
|
|
3
|
+
} from "./chunk-ZNUJFX7L.js";
|
|
4
|
+
import "./chunk-QMSEL5YS.js";
|
|
5
|
+
import "./chunk-HSGBZSCA.js";
|
|
6
|
+
import "./chunk-JKKZGDLP.js";
|
|
7
|
+
import "./chunk-MLKGABMK.js";
|
|
8
|
+
|
|
9
|
+
// src/lib/fts-integrity.ts
|
|
10
|
+
async function canTrustIntegrityVerdict(client) {
|
|
11
|
+
try {
|
|
12
|
+
const res = await client.execute("PRAGMA query_only");
|
|
13
|
+
const raw = res.rows[0]?.query_only ?? res.rows[0]?.[0];
|
|
14
|
+
if (raw === void 0 || raw === null) return true;
|
|
15
|
+
return Number(raw) === 0;
|
|
16
|
+
} catch {
|
|
17
|
+
return true;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function isMalformedFtsMessage(message) {
|
|
21
|
+
return /malformed inverted index/i.test(message);
|
|
22
|
+
}
|
|
23
|
+
function isReadOnlyRefusal(message) {
|
|
24
|
+
return /SQLITE_READONLY|attempt to write a readonly database|query_only/i.test(message);
|
|
25
|
+
}
|
|
26
|
+
async function checkFtsIntegrity(client, table = "memories_fts") {
|
|
27
|
+
if (!await canTrustIntegrityVerdict(client)) {
|
|
28
|
+
return {
|
|
29
|
+
verdict: "unverified",
|
|
30
|
+
detail: `connection is query_only; FTS5 integrity-check cannot run (would falsely report "malformed inverted index")`
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
try {
|
|
34
|
+
await client.execute(`INSERT INTO ${table}(${table}, rank) VALUES('integrity-check', 0)`);
|
|
35
|
+
return { verdict: "ok" };
|
|
36
|
+
} catch (err) {
|
|
37
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
38
|
+
if (isReadOnlyRefusal(msg)) {
|
|
39
|
+
return { verdict: "unverified", detail: `read-only connection refused the check: ${msg}` };
|
|
40
|
+
}
|
|
41
|
+
if (isMalformedFtsMessage(msg) || /SQLITE_CORRUPT/i.test(msg)) {
|
|
42
|
+
return { verdict: "malformed", detail: msg };
|
|
43
|
+
}
|
|
44
|
+
return { verdict: "unverified", detail: msg };
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
async function checkAndRepairFtsIndex(client, table = "memories_fts") {
|
|
48
|
+
return runCheckAndRepair(client, table);
|
|
49
|
+
}
|
|
50
|
+
var checkedTables = /* @__PURE__ */ new Set();
|
|
51
|
+
function resetFtsIntegrityLatch() {
|
|
52
|
+
checkedTables.clear();
|
|
53
|
+
}
|
|
54
|
+
async function checkAndRepairFtsIndexOnce(client, table = "memories_fts") {
|
|
55
|
+
if (checkedTables.has(table)) {
|
|
56
|
+
return { verdict: "unverified", rebuilt: false, rebuildFailed: false, detail: "already checked this process" };
|
|
57
|
+
}
|
|
58
|
+
checkedTables.add(table);
|
|
59
|
+
return runCheckAndRepair(client, table);
|
|
60
|
+
}
|
|
61
|
+
async function runCheckAndRepair(client, table) {
|
|
62
|
+
const { verdict, detail } = await checkFtsIntegrity(client, table);
|
|
63
|
+
if (verdict === "ok") {
|
|
64
|
+
return { verdict, rebuilt: false, rebuildFailed: false };
|
|
65
|
+
}
|
|
66
|
+
if (verdict === "unverified") {
|
|
67
|
+
return { verdict, rebuilt: false, rebuildFailed: false, detail };
|
|
68
|
+
}
|
|
69
|
+
recordDbIntegrityEvent({ kind: "fts-malformed", detail, route: "main" });
|
|
70
|
+
process.stderr.write(
|
|
71
|
+
`[fts-integrity] CONFIRMED malformed FTS index on ${table} (${detail ?? "no detail"}) \u2014 rebuilding from base table.
|
|
72
|
+
`
|
|
73
|
+
);
|
|
74
|
+
try {
|
|
75
|
+
await client.execute(`INSERT INTO ${table}(${table}) VALUES('rebuild')`);
|
|
76
|
+
recordDbIntegrityEvent({ kind: "fts-rebuilt", detail: table });
|
|
77
|
+
process.stderr.write(`[fts-integrity] ${table} rebuilt successfully.
|
|
78
|
+
`);
|
|
79
|
+
return { verdict, rebuilt: true, rebuildFailed: false, detail };
|
|
80
|
+
} catch (err) {
|
|
81
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
82
|
+
recordDbIntegrityEvent({ kind: "fts-rebuild-failed", detail: msg });
|
|
83
|
+
process.stderr.write(`[fts-integrity] ERROR: ${table} rebuild FAILED: ${msg}
|
|
84
|
+
`);
|
|
85
|
+
return { verdict, rebuilt: false, rebuildFailed: true, detail: msg };
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export {
|
|
89
|
+
canTrustIntegrityVerdict,
|
|
90
|
+
checkAndRepairFtsIndex,
|
|
91
|
+
checkAndRepairFtsIndexOnce,
|
|
92
|
+
checkFtsIntegrity,
|
|
93
|
+
isMalformedFtsMessage,
|
|
94
|
+
isReadOnlyRefusal,
|
|
95
|
+
resetFtsIntegrityLatch
|
|
96
|
+
};
|
package/dist/gateway/index.js
CHANGED
|
@@ -11,16 +11,7 @@ import {
|
|
|
11
11
|
createSignupBot,
|
|
12
12
|
ensureCRMContact,
|
|
13
13
|
formatAlert
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import {
|
|
16
|
-
WhatsAppAdapter
|
|
17
|
-
} from "../chunk-WSOA3WMC.js";
|
|
18
|
-
import {
|
|
19
|
-
SignalAdapter
|
|
20
|
-
} from "../chunk-RJT7H2KR.js";
|
|
21
|
-
import {
|
|
22
|
-
TelegramAdapter
|
|
23
|
-
} from "../chunk-Q3V7K4ME.js";
|
|
14
|
+
} from "../chunk-7C4FUNVO.js";
|
|
24
15
|
import {
|
|
25
16
|
DiscordAdapter
|
|
26
17
|
} from "../chunk-N5RRQOAC.js";
|
|
@@ -33,7 +24,16 @@ import {
|
|
|
33
24
|
import {
|
|
34
25
|
createCRMWebhookHandler,
|
|
35
26
|
parseTwentyWebhook
|
|
36
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-DQ5KHWFD.js";
|
|
28
|
+
import {
|
|
29
|
+
WhatsAppAdapter
|
|
30
|
+
} from "../chunk-WSOA3WMC.js";
|
|
31
|
+
import {
|
|
32
|
+
SignalAdapter
|
|
33
|
+
} from "../chunk-RJT7H2KR.js";
|
|
34
|
+
import {
|
|
35
|
+
TelegramAdapter
|
|
36
|
+
} from "../chunk-Q3V7K4ME.js";
|
|
37
37
|
import {
|
|
38
38
|
BotRegistry,
|
|
39
39
|
BotRuntime,
|
|
@@ -56,9 +56,9 @@ import {
|
|
|
56
56
|
retryWithBackoff,
|
|
57
57
|
routeMessage,
|
|
58
58
|
validateGatewayConfig
|
|
59
|
-
} from "../chunk-
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
59
|
+
} from "../chunk-BATQKSLI.js";
|
|
60
|
+
import "../chunk-U373MEF5.js";
|
|
61
|
+
import "../chunk-P47MPWNU.js";
|
|
62
62
|
import {
|
|
63
63
|
OllamaProvider
|
|
64
64
|
} from "../chunk-FWFFZGSC.js";
|
|
@@ -72,6 +72,7 @@ import {
|
|
|
72
72
|
getDefaultAccount,
|
|
73
73
|
loadAccounts
|
|
74
74
|
} from "../chunk-GL57PO3K.js";
|
|
75
|
+
import "../chunk-UY6HRDB2.js";
|
|
75
76
|
import {
|
|
76
77
|
createPerson,
|
|
77
78
|
findPersonByContact,
|
|
@@ -81,19 +82,18 @@ import {
|
|
|
81
82
|
pushGatewayEventToCRM,
|
|
82
83
|
pushInboundMessageToCRM
|
|
83
84
|
} from "../chunk-ML4S5SHZ.js";
|
|
84
|
-
import "../chunk-UELGUVNL.js";
|
|
85
85
|
import "../chunk-MP2AFCGL.js";
|
|
86
|
-
import "../chunk-
|
|
86
|
+
import "../chunk-BRLS5OLZ.js";
|
|
87
87
|
import "../chunk-TKDITWDN.js";
|
|
88
88
|
import "../chunk-BBMTVAE3.js";
|
|
89
89
|
import "../chunk-5YEUPUV4.js";
|
|
90
|
-
import "../chunk-
|
|
90
|
+
import "../chunk-NO3M2AFM.js";
|
|
91
91
|
import "../chunk-YYB5PMTK.js";
|
|
92
|
-
import "../chunk-
|
|
92
|
+
import "../chunk-NJFJWQNN.js";
|
|
93
93
|
import "../chunk-V3W3SATA.js";
|
|
94
94
|
import "../chunk-JY5GAZYC.js";
|
|
95
95
|
import "../chunk-FXU7JOXK.js";
|
|
96
|
-
import "../chunk-
|
|
96
|
+
import "../chunk-QMSEL5YS.js";
|
|
97
97
|
import "../chunk-HSGBZSCA.js";
|
|
98
98
|
import "../chunk-JKKZGDLP.js";
|
|
99
99
|
import "../chunk-MLKGABMK.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BRLS5OLZ.js";
|
|
4
4
|
import "./chunk-TKDITWDN.js";
|
|
5
5
|
import "./chunk-BBMTVAE3.js";
|
|
6
6
|
import "./chunk-5YEUPUV4.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-NO3M2AFM.js";
|
|
8
8
|
import "./chunk-YYB5PMTK.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-NJFJWQNN.js";
|
|
10
10
|
import "./chunk-V3W3SATA.js";
|
|
11
11
|
import "./chunk-JY5GAZYC.js";
|
|
12
12
|
import "./chunk-FXU7JOXK.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-QMSEL5YS.js";
|
|
14
14
|
import "./chunk-HSGBZSCA.js";
|
|
15
15
|
import "./chunk-JKKZGDLP.js";
|
|
16
16
|
import "./chunk-MLKGABMK.js";
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
getGlobalProceduresBlock,
|
|
4
4
|
loadGlobalProcedures,
|
|
5
5
|
storeGlobalProcedure
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-52TIQJEQ.js";
|
|
7
|
+
import "./chunk-HHGOCBVQ.js";
|
|
8
|
+
import "./chunk-BRLS5OLZ.js";
|
|
9
9
|
import "./chunk-TKDITWDN.js";
|
|
10
10
|
import "./chunk-BBMTVAE3.js";
|
|
11
11
|
import "./chunk-5YEUPUV4.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-NO3M2AFM.js";
|
|
13
13
|
import "./chunk-YYB5PMTK.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-NJFJWQNN.js";
|
|
15
15
|
import "./chunk-V3W3SATA.js";
|
|
16
16
|
import "./chunk-JY5GAZYC.js";
|
|
17
17
|
import "./chunk-FXU7JOXK.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-QMSEL5YS.js";
|
|
19
19
|
import "./chunk-HSGBZSCA.js";
|
|
20
20
|
import "./chunk-JKKZGDLP.js";
|
|
21
21
|
import "./chunk-MLKGABMK.js";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clearSession,
|
|
3
|
+
decodeJwt,
|
|
4
|
+
getAuthHeader,
|
|
5
|
+
getSession,
|
|
6
|
+
getSessionInfo,
|
|
7
|
+
isExpired,
|
|
8
|
+
login,
|
|
9
|
+
refreshSession,
|
|
10
|
+
saveSession,
|
|
11
|
+
storeToken
|
|
12
|
+
} from "./chunk-NUTZJZKW.js";
|
|
13
|
+
import "./chunk-MLKGABMK.js";
|
|
14
|
+
export {
|
|
15
|
+
clearSession,
|
|
16
|
+
decodeJwt,
|
|
17
|
+
getAuthHeader,
|
|
18
|
+
getSession,
|
|
19
|
+
getSessionInfo,
|
|
20
|
+
isExpired,
|
|
21
|
+
login,
|
|
22
|
+
refreshSession,
|
|
23
|
+
saveSession,
|
|
24
|
+
storeToken
|
|
25
|
+
};
|