@askexenow/exe-os 0.9.414 → 0.9.416
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 +1 -1
- package/deploy/compose/.env.default +1 -1
- package/deploy/compose/.env.example +1 -1
- package/deploy/compose/docker-compose.yml +1 -1
- package/deploy/stack-manifests/v0.9.json +399 -2
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-3YCLS7GB.js → active-agent-JWICRWAA.js} +7 -6
- package/dist/{active-agent-MHWQDMML.js → active-agent-RPMMKZIG.js} +7 -6
- package/dist/{agent-defs-generator-DNXMO34I.js → agent-defs-generator-2Y5YFAS2.js} +6 -5
- package/dist/{agentic-ontology-RA6CMND6.js → agentic-ontology-C7G2MB5M.js} +1 -1
- package/dist/{artifact-backup-EETHNFFP.js → artifact-backup-EQVE4ROK.js} +3 -3
- package/dist/{backfill-metadata-WYT257VG.js → backfill-metadata-RC2WERVZ.js} +9 -8
- package/dist/{backup-verify-AG54CYGR.js → backup-verify-LPCD7ETV.js} +3 -2
- package/dist/{behavior-injection-G7GAUHGO.js → behavior-injection-LXWODFAO.js} +12 -11
- package/dist/{behavior-promotion-I2DIUFUR.js → behavior-promotion-2NNDBZE7.js} +11 -10
- package/dist/{behaviors-SKVKPCRW.js → behaviors-Q7SJG54Y.js} +10 -9
- package/dist/bin/agentic-ontology-backfill.js +10 -9
- package/dist/bin/agentic-reflection-backfill.js +11 -10
- package/dist/bin/agentic-semantic-label.js +10 -9
- package/dist/bin/backfill-conversations.js +9 -8
- package/dist/bin/backfill-responses.js +9 -8
- package/dist/bin/backfill-vectors.js +9 -8
- package/dist/bin/bulk-sync-postgres.js +18 -17
- package/dist/bin/cc-doctor.js +11 -10
- package/dist/bin/cleanup-stale-review-tasks.js +18 -17
- package/dist/bin/cli.js +60 -36
- package/dist/bin/deferred-daemon-restart.js +106 -105
- package/dist/bin/exe-actions.js +1 -1
- package/dist/bin/exe-agent-config.js +5 -4
- package/dist/bin/exe-agent.js +17 -16
- package/dist/bin/exe-assign.js +10 -9
- package/dist/bin/exe-boot.js +39 -38
- package/dist/bin/exe-call.js +10 -9
- package/dist/bin/exe-cloud.js +19 -18
- package/dist/bin/exe-config-dump.js +5 -4
- package/dist/bin/exe-dispatch.js +19 -18
- package/dist/bin/exe-doctor.js +9 -8
- package/dist/bin/exe-export-behaviors.js +14 -13
- package/dist/bin/exe-forget.js +12 -11
- package/dist/bin/exe-gateway.js +11 -10
- package/dist/bin/exe-grant.js +6 -6
- package/dist/bin/exe-healthcheck.js +11 -10
- package/dist/bin/exe-heartbeat.js +24 -23
- package/dist/bin/exe-kill.js +23 -22
- package/dist/bin/exe-launch-agent.js +66 -33
- package/dist/bin/exe-mcp.js +8 -7
- package/dist/bin/exe-memory-reads.js +9 -8
- package/dist/bin/exe-new-employee.js +14 -13
- package/dist/bin/exe-os-mcp-proxy.js +8 -7
- package/dist/bin/exe-pending-messages.js +19 -18
- package/dist/bin/exe-pending-notifications.js +18 -17
- package/dist/bin/exe-pending-reviews.js +19 -18
- package/dist/bin/exe-rename.js +9 -8
- package/dist/bin/exe-review.js +22 -21
- package/dist/bin/exe-search.js +11 -10
- package/dist/bin/exe-session-cleanup.js +23 -22
- package/dist/bin/exe-settings.js +18 -17
- package/dist/bin/exe-start-codex.js +21 -20
- package/dist/bin/exe-start-opencode.js +19 -18
- package/dist/bin/exe-start.sh +10 -1
- package/dist/bin/exe-status.js +20 -19
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +7 -6
- package/dist/bin/exe-telemetry.js +88 -0
- package/dist/bin/exe-watchdog.js +62 -23
- package/dist/bin/git-sweep.js +20 -19
- package/dist/bin/graph-backfill.js +10 -9
- package/dist/bin/graph-export.js +10 -9
- package/dist/bin/hooks-cli.js +1 -1
- package/dist/bin/import-history.js +14 -13
- package/dist/bin/install.js +109 -108
- package/dist/bin/intercom-check.js +5 -5
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +7 -6
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/repair-document-chunks.js +9 -8
- package/dist/bin/scan-tasks.js +19 -18
- package/dist/bin/setup.js +4 -3
- package/dist/bin/shard-migrate.js +10 -9
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-RPJVFAQJ.js → boot-generation-TT4BOFXY.js} +6 -5
- package/dist/{boot-review-sections-FOPPZTJI.js → boot-review-sections-SSWOKMOO.js} +17 -16
- package/dist/{bug-landed-reconciler-FN5KPBRK.js → bug-landed-reconciler-NEL6KXHE.js} +8 -7
- package/dist/build-info.json +3 -3
- package/dist/build-manifest.json +1167 -1142
- package/dist/{capability-cards-YQWBEG7A.js → capability-cards-MKCOJ5S6.js} +5 -4
- package/dist/{capacity-monitor-7SMEJHYG.js → capacity-monitor-5KMDVKVR.js} +19 -18
- package/dist/{catchup-brief-IBQ26LEB.js → catchup-brief-POOPRVFD.js} +24 -23
- package/dist/{chunk-FPF2PJFK.js → chunk-2NGXGHPI.js} +3 -3
- package/dist/{chunk-O3BLL6MY.js → chunk-2WUBVHON.js} +1 -1
- package/dist/{chunk-GL5ZG72X.js → chunk-34GBZEGQ.js} +2 -2
- package/dist/{chunk-XC5OASHV.js → chunk-3IHWQZYF.js} +1 -1
- package/dist/{chunk-HDV2V25K.js → chunk-3NMNSVTE.js} +1 -1
- package/dist/{chunk-W4H2MZAS.js → chunk-3W6D3XED.js} +1 -1
- package/dist/{chunk-A5I2GYVQ.js → chunk-43J5Z6IO.js} +3 -3
- package/dist/{chunk-CRW63CDI.js → chunk-45JIJNHH.js} +1 -1
- package/dist/{chunk-SINIRUYZ.js → chunk-4LCZYKVK.js} +122 -40
- package/dist/{chunk-TS4LSNRI.js → chunk-4W7PBI5U.js} +1 -1
- package/dist/{chunk-X4FHT6ST.js → chunk-552CGKS7.js} +9 -9
- package/dist/{chunk-FSXMKIDO.js → chunk-56T2OSOE.js} +1 -1
- package/dist/{chunk-VAHQOIQY.js → chunk-62KEZOFN.js} +1 -1
- package/dist/{chunk-2BOLFLAU.js → chunk-6A74345E.js} +2 -2
- package/dist/{chunk-XEAZJXMZ.js → chunk-6CJYOPQW.js} +2 -2
- package/dist/{chunk-3N24FV22.js → chunk-6ZBOARHX.js} +1 -1
- package/dist/{chunk-6L4VIYLZ.js → chunk-7MCEYNWK.js} +15 -1
- package/dist/{chunk-4J77TCTX.js → chunk-7TWRCBEN.js} +1 -1
- package/dist/{chunk-L5JFVK5T.js → chunk-7VQ2OCZG.js} +68 -11
- package/dist/{chunk-VS7V5HNO.js → chunk-AH7TTPES.js} +1 -1
- package/dist/{chunk-XQ7BIVLI.js → chunk-AJTNEIFI.js} +9 -9
- package/dist/{chunk-7YX73K2R.js → chunk-ALA7WYZZ.js} +6 -1
- package/dist/{chunk-K2HIXAIF.js → chunk-ALTBD27V.js} +14 -14
- package/dist/{chunk-IHAXXDBH.js → chunk-AROCCYCK.js} +3 -3
- package/dist/{chunk-ZJQ56DZZ.js → chunk-B3W5R5OE.js} +18 -0
- package/dist/{chunk-5DLZJ3MY.js → chunk-B4YW6GSE.js} +1 -1
- package/dist/{chunk-FUDXITKX.js → chunk-BKCQR55G.js} +1 -1
- package/dist/{chunk-CWHTUNJX.js → chunk-BXLNHKVK.js} +2 -2
- package/dist/{chunk-7SHU5MOD.js → chunk-C5FURQRA.js} +1 -1
- package/dist/{chunk-RMC2A6EE.js → chunk-CBNU7ZIP.js} +1 -1
- package/dist/chunk-CCFWKW2D.js +92 -0
- package/dist/{chunk-NCNT2C2P.js → chunk-COJHDMQ4.js} +2 -2
- package/dist/{chunk-N7POJZJT.js → chunk-CRRZAIBC.js} +13 -13
- package/dist/{telemetry-upload-6DR6AL3V.js → chunk-D3IKDHK6.js} +53 -28
- package/dist/{chunk-Z3LGAFMG.js → chunk-DJCUZ65C.js} +1 -1
- package/dist/{chunk-JW5NUXPN.js → chunk-DQSLSKF7.js} +14 -14
- package/dist/{chunk-VBYSAQJD.js → chunk-E3NN4TGB.js} +1 -1
- package/dist/{chunk-DWRULKB3.js → chunk-EKZ5MGJK.js} +2 -2
- package/dist/{chunk-CFFSHBQF.js → chunk-EWKNMFS6.js} +1 -1
- package/dist/{chunk-ZJ6AMC4Y.js → chunk-FRNG2SFK.js} +7 -7
- package/dist/{chunk-HTFM7ZDD.js → chunk-G6E4NA6V.js} +2 -2
- package/dist/{chunk-5BWDUUMH.js → chunk-GRA3UHGQ.js} +3 -3
- package/dist/{chunk-KN5GAVCG.js → chunk-GYRAI7PP.js} +2 -2
- package/dist/{chunk-GM4UEZDE.js → chunk-H372DQD2.js} +43 -30
- package/dist/{chunk-ZZR2WRNW.js → chunk-HETFNI2L.js} +4 -4
- package/dist/{chunk-RIKFXHLE.js → chunk-HJLYDWEM.js} +1 -1
- package/dist/{chunk-LLZUL7M2.js → chunk-HPB5Y6FZ.js} +4 -2
- package/dist/{chunk-EOWJXCYC.js → chunk-HPCCYWDP.js} +1 -1
- package/dist/{chunk-3DXAJVXE.js → chunk-HPUTFKC6.js} +6 -6
- package/dist/{chunk-KEDZRQI3.js → chunk-HVTLHDGA.js} +2 -2
- package/dist/{chunk-Q6KUBP6R.js → chunk-I2T3ZOFM.js} +5 -5
- package/dist/{chunk-2EYVXUGA.js → chunk-IH6YW55P.js} +4 -4
- package/dist/{chunk-7KPZQ65I.js → chunk-IJRHWGOI.js} +3 -3
- package/dist/{chunk-2YFMBXUU.js → chunk-IT4AGRFX.js} +4 -4
- package/dist/{chunk-JTJP4JK7.js → chunk-IXWH4TKR.js} +3 -3
- package/dist/{chunk-GZVFHFO3.js → chunk-IZYGY3ZV.js} +10 -10
- package/dist/{chunk-GATAYYAF.js → chunk-J43YFUSQ.js} +3 -3
- package/dist/{chunk-IPUDXR67.js → chunk-JB5CIPO4.js} +12 -3
- package/dist/{chunk-6PXFF6IV.js → chunk-JF36BVSK.js} +1 -1
- package/dist/{chunk-SO7KTH3Q.js → chunk-JJYL2K7E.js} +1 -1
- package/dist/{chunk-353XF4LU.js → chunk-JTANX2NA.js} +2 -2
- package/dist/{chunk-QOFQY7BJ.js → chunk-JVFXB46L.js} +1 -1
- package/dist/{chunk-QV26G2BF.js → chunk-JYTB2RS4.js} +1 -1
- package/dist/{chunk-T3AM52YT.js → chunk-KDAUJDHM.js} +4 -4
- package/dist/{chunk-OHHZNNUD.js → chunk-KKABI3X6.js} +1 -1
- package/dist/{chunk-5ZMNFSHV.js → chunk-KPWQQVKA.js} +1 -1
- package/dist/{chunk-GHYHNHDL.js → chunk-KRGHRFGA.js} +1 -1
- package/dist/{chunk-BIPTWAEO.js → chunk-KXGAS45V.js} +1 -1
- package/dist/{chunk-PTF5TB6O.js → chunk-LHMBUQX2.js} +9 -9
- package/dist/chunk-LP5USONU.js +125 -0
- package/dist/{chunk-CJ6CS2IH.js → chunk-LXDNPWX7.js} +5 -5
- package/dist/{chunk-HA6BIZ6L.js → chunk-M46ZFCQT.js} +8 -8
- package/dist/{chunk-BE3UETW6.js → chunk-M4AS43GS.js} +3 -3
- package/dist/{chunk-M6SUJLNP.js → chunk-MHUPOTUV.js} +2 -2
- package/dist/{chunk-X2ZHCNNB.js → chunk-MIXW35ES.js} +5 -5
- package/dist/{chunk-PDQGR5LZ.js → chunk-MJOWO352.js} +1 -1
- package/dist/{chunk-JNULO6I5.js → chunk-MQEV5FL6.js} +3 -3
- package/dist/{chunk-VQQPYI4X.js → chunk-NAWW4EKM.js} +2 -2
- package/dist/{chunk-JGBYZTWH.js → chunk-NFTTBVL2.js} +1 -1
- package/dist/{chunk-W7VKGB42.js → chunk-NM4MWWA4.js} +1 -1
- package/dist/{chunk-657I6PUF.js → chunk-NSVBDUZK.js} +3 -3
- package/dist/{chunk-D6NZNUVH.js → chunk-NTKZ47FA.js} +1 -1
- package/dist/{chunk-6777GNWI.js → chunk-OFC5SIIT.js} +19 -8
- package/dist/{chunk-7PDZBPGW.js → chunk-OGWQMQOM.js} +1 -1
- package/dist/{chunk-LBSCOP25.js → chunk-OI4DPXBK.js} +1 -1
- package/dist/{chunk-RHHEYC6H.js → chunk-OVEID5F6.js} +3 -3
- package/dist/{chunk-HUHR5CKJ.js → chunk-OZ6E4FKM.js} +4 -4
- package/dist/{chunk-6HJF7IA3.js → chunk-PGVFGFK7.js} +227 -198
- package/dist/{chunk-RHJOTGEU.js → chunk-PKEZ3JG4.js} +1 -1
- package/dist/{chunk-MZNLQC6W.js → chunk-PWJLLXGK.js} +1 -1
- package/dist/{chunk-7HLAYQRG.js → chunk-PY2E5ZL6.js} +5 -5
- package/dist/{chunk-DHLJZDWI.js → chunk-QEJ2ZX2O.js} +6 -6
- package/dist/{chunk-IC2AONBH.js → chunk-QXKE7T3L.js} +9 -9
- package/dist/chunk-R3ZU4F7M.js +359 -0
- package/dist/{chunk-QSW5DHMZ.js → chunk-R6Q3MB2F.js} +1 -1
- package/dist/{chunk-47YGEM4N.js → chunk-RZUXD47X.js} +1 -1
- package/dist/{chunk-A75TAU2I.js → chunk-SL3T3LY3.js} +141 -17
- package/dist/{chunk-W3ABSZ6G.js → chunk-SW26QLZQ.js} +2 -2
- package/dist/{chunk-FYV2CTKP.js → chunk-TPYGTRYK.js} +1 -1
- package/dist/{chunk-BLTXAUP6.js → chunk-TXWIBXPR.js} +2 -2
- package/dist/{chunk-JAIZCE6W.js → chunk-U6BHVMOM.js} +3 -3
- package/dist/{chunk-O6KQAJCC.js → chunk-U74M7XSZ.js} +3 -3
- package/dist/{chunk-J6U4ZR77.js → chunk-UFZIURF6.js} +2 -2
- package/dist/{chunk-TCBWHLKH.js → chunk-UO5U5AOS.js} +9 -9
- package/dist/{chunk-XDOCXKHW.js → chunk-UXBGEKL6.js} +1 -1
- package/dist/{chunk-TVWYMOZ4.js → chunk-V3RGMCCP.js} +15 -4
- package/dist/{chunk-27NG2NTG.js → chunk-V3Y45JIY.js} +2 -2
- package/dist/{chunk-RYMXD2NT.js → chunk-W375ZRNM.js} +1 -1
- package/dist/{chunk-6DMURUBY.js → chunk-WTNIAVVK.js} +4 -4
- package/dist/{chunk-2YGBJHC2.js → chunk-WZNW66XJ.js} +3 -3
- package/dist/{chunk-6BD6JYR2.js → chunk-XDLC3NRR.js} +3 -3
- package/dist/{chunk-FS7XF7SE.js → chunk-XHJO7XFR.js} +1 -1
- package/dist/{chunk-LQGLGSBY.js → chunk-XJVKDVQN.js} +2 -2
- package/dist/{chunk-JJZZXEAN.js → chunk-XKTCQTDP.js} +2 -2
- package/dist/{chunk-RYYFFCJG.js → chunk-XL7OO7MD.js} +1 -1
- package/dist/{chunk-RJIH7JXM.js → chunk-XUX3EJ3U.js} +4 -4
- package/dist/{chunk-3GGMHSY2.js → chunk-XWDI6NVG.js} +3 -3
- package/dist/{chunk-6J2J3VJS.js → chunk-XZRCLK2N.js} +10 -10
- package/dist/{chunk-SXUABANK.js → chunk-Y5GPRRW2.js} +3 -3
- package/dist/{chunk-CYUUNIEL.js → chunk-Y6LOT7GS.js} +1 -1
- package/dist/{chunk-PYXXL7N7.js → chunk-YQT3JC27.js} +1 -1
- package/dist/{chunk-QJWLQXR7.js → chunk-YX7QSOBB.js} +1 -1
- package/dist/{chunk-M6AX64J2.js → chunk-Z7T7JMBU.js} +20 -8
- package/dist/{chunk-BG6RAOCJ.js → chunk-ZDPOCUBX.js} +3 -3
- package/dist/{chunk-HDQAVAV6.js → chunk-ZHT3SXBU.js} +2 -2
- package/dist/{chunk-EWDBWOCX.js → chunk-ZQSQJ53P.js} +1 -1
- package/dist/{chunk-LSHUX7P4.js → chunk-ZUE3ADBF.js} +16 -16
- package/dist/{cleanup-graph-garbage-SYGPMPUM.js → cleanup-graph-garbage-X4XP3E5O.js} +10 -9
- package/dist/{cli-shutdown-JI7CASE4.js → cli-shutdown-E2YG5CSE.js} +1 -1
- package/dist/{cloud-sync-command-ZV3P5FP6.js → cloud-sync-command-AKTDHKCI.js} +2 -2
- package/dist/{cloud-sync-db-init-RQIHWKV4.js → cloud-sync-db-init-U6IL6YAP.js} +1 -1
- package/dist/{cloud-sync-shutdown-V2N7VLD3.js → cloud-sync-shutdown-BCIU6U3A.js} +5 -4
- package/dist/{co-activation-SRE6DIRX.js → co-activation-HIOU7VAV.js} +5 -4
- package/dist/{co-occurrence-F5TMSEQZ.js → co-occurrence-GW6Z6WAJ.js} +8 -7
- package/dist/{consent-passphrase-MWZRHJRC.js → consent-passphrase-EARJEBUA.js} +2 -2
- package/dist/{conversation-entity-extractor-XMOUHGMT.js → conversation-entity-extractor-VPOH26FG.js} +3 -3
- package/dist/{conversations-retention-XTBFJBUM.js → conversations-retention-HFM2K6ND.js} +33 -12
- package/dist/{crdt-sync-FXEKABM7.js → crdt-sync-5ASUMUPX.js} +4 -4
- package/dist/{crm-webhook-D6IJOPRQ.js → crm-webhook-7PYD36EA.js} +2 -2
- package/dist/{cto-delegation-gate-BU3JRCYN.js → cto-delegation-gate-5RABUXBR.js} +18 -17
- package/dist/{daemon-orchestration-K4NKFYXO.js → daemon-orchestration-2SROQ2N4.js} +24 -23
- package/dist/{doc-graph-extractor-TVK2NGAR.js → doc-graph-extractor-XWLDPVO4.js} +8 -7
- package/dist/{documents-MDZ4VB5X.js → documents-SKJ6XYMW.js} +10 -9
- package/dist/{dreaming-L24PSS35.js → dreaming-7DTEPB4M.js} +22 -21
- package/dist/{employee-boot-brief-GQVL3FQC.js → employee-boot-brief-VJD3F4OB.js} +26 -25
- package/dist/{entity-boost-OMFA5QCG.js → entity-boost-4M7BE7C7.js} +1 -1
- package/dist/{exe-drift-JDDG3OPT.js → exe-drift-7A3GZEUE.js} +6 -5
- package/dist/{exe-export-EEGIE3JP.js → exe-export-3JVH5YIV.js} +11 -10
- package/dist/{exe-import-UJNC5Q2L.js → exe-import-DQ6UEYHN.js} +11 -10
- package/dist/{exe-key-TYEY4W4E.js → exe-key-G5V3HUTJ.js} +106 -105
- package/dist/{exe-org-B3ICTTEV.js → exe-org-NG3ZYJXK.js} +40 -40
- package/dist/{exe-snapshot-VBFBONYN.js → exe-snapshot-IKYR55CZ.js} +25 -24
- package/dist/{fast-db-init-TFRTK6EH.js → fast-db-init-QYF42NZP.js} +1 -1
- package/dist/{founder-context-3X4QUWKD.js → founder-context-XJ6O43OF.js} +2 -2
- package/dist/{founder-monitor-envelope-54UNZNY4.js → founder-monitor-envelope-XT6U5L6M.js} +4 -4
- package/dist/gateway/index.js +19 -18
- package/dist/{gateway-client-OUDO5GGV.js → gateway-client-ARBQBLRK.js} +1 -1
- package/dist/{git-staleness-73YZ5PGU.js → git-staleness-2C2XYDLJ.js} +5 -4
- package/dist/{global-procedures-PYNE2BQG.js → global-procedures-DI4KFCVA.js} +7 -6
- package/dist/{graph-auto-extract-PGUMEEQB.js → graph-auto-extract-F6OKIHQQ.js} +8 -7
- package/dist/{graph-query-7YA3YNKL.js → graph-query-IY7QR2UR.js} +1 -1
- package/dist/{graph-rag-UWOTK4AQ.js → graph-rag-HB5X6YAF.js} +3 -3
- package/dist/{hook-integrity-6MNEPT6W.js → hook-integrity-T3DIELFF.js} +1 -1
- package/dist/{hook-prefetch-JOF6YZSR.js → hook-prefetch-SNDJ2G7Q.js} +18 -17
- package/dist/{hook-tamper-log-HTWEP37U.js → hook-tamper-log-SWQVRDDV.js} +6 -1
- package/dist/hooks/bug-report-worker.js +22 -21
- package/dist/hooks/codex-stop-task-finalizer.js +24 -23
- package/dist/hooks/commit-complete.js +21 -20
- package/dist/hooks/error-recall.js +14 -13
- package/dist/hooks/exe-heartbeat-hook.js +8 -7
- package/dist/hooks/ingest-worker.js +20 -19
- package/dist/hooks/ingest.js +16 -15
- package/dist/hooks/instructions-loaded.js +10 -9
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +9 -8
- package/dist/hooks/post-compact.js +8 -7
- package/dist/hooks/post-tool-combined.js +13 -13
- package/dist/hooks/pre-compact.js +22 -21
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/hooks/prompt-submit.js +40 -39
- package/dist/hooks/session-end.js +27 -26
- package/dist/hooks/session-start.js +18 -18
- package/dist/hooks/stop.js +25 -24
- package/dist/hooks/subagent-stop.js +25 -24
- package/dist/hooks/summary-worker.js +25 -24
- package/dist/index.js +32 -31
- package/dist/{installer-7TN36Z7T.js → installer-7QUGM3RZ.js} +9 -8
- package/dist/{installer-356RMQ2K.js → installer-CCINS5Z7.js} +9 -8
- package/dist/{installer-34XZ7JMW.js → installer-Z7ZF2UZL.js} +9 -8
- package/dist/{intercom-queue-ZJ3MNULM.js → intercom-queue-A24ARSCV.js} +17 -16
- package/dist/lib/backup-verify-worker.js +3 -2
- package/dist/lib/cloud-sync.js +18 -17
- package/dist/lib/consolidation.js +11 -10
- package/dist/lib/crypto.js +3 -3
- package/dist/lib/database.js +9 -4
- package/dist/lib/db-backup.js +12 -1
- package/dist/lib/db-checkpoint-worker.js +25 -0
- package/dist/lib/db-read-worker-client.js +155 -26
- package/dist/lib/db-write-worker-client.js +5 -1
- package/dist/lib/db-write-worker.js +9 -8
- package/dist/lib/db.js +9 -4
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +8 -7
- package/dist/lib/employees.js +5 -4
- package/dist/lib/exe-daemon.js +162 -111
- package/dist/lib/file-grep.js +14 -1
- package/dist/lib/hybrid-search.js +11 -10
- package/dist/lib/identity.js +5 -4
- package/dist/lib/keychain.js +1 -1
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +18 -17
- package/dist/lib/post-tool-memory.js +18 -17
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +6 -5
- package/dist/lib/schedules.js +10 -9
- package/dist/lib/session-registry.js +7 -6
- package/dist/lib/session-wrappers.js +1 -1
- package/dist/lib/skill-learning.js +11 -10
- package/dist/lib/store.js +9 -8
- package/dist/lib/task-router.js +6 -5
- package/dist/lib/tasks.js +19 -18
- package/dist/lib/telemetry-consent.js +29 -0
- package/dist/lib/tmux-routing.js +17 -16
- package/dist/lib/tmux-status.js +5 -1
- package/dist/lib/token-spend.js +6 -5
- package/dist/lib/ws-client.js +1 -1
- package/dist/{license-gate-4BXUTHLB.js → license-gate-KGSD5NV5.js} +3 -3
- package/dist/{license-recheck-QFPUKISQ.js → license-recheck-M674BGZZ.js} +1 -1
- package/dist/{license-sync-FDEDT4AC.js → license-sync-LV53TSOT.js} +2 -2
- package/dist/{maintenance-worker-OY2E4BM5.js → maintenance-worker-R5N3A2KM.js} +3 -3
- package/dist/mcp/register-tools.js +105 -104
- package/dist/mcp/server.js +107 -106
- package/dist/mcp/tools/complete-reminder.js +7 -6
- package/dist/mcp/tools/create-reminder.js +7 -6
- package/dist/mcp/tools/create-task.js +22 -21
- package/dist/mcp/tools/deactivate-behavior.js +13 -12
- package/dist/mcp/tools/list-reminders.js +7 -6
- package/dist/mcp/tools/list-tasks.js +22 -21
- package/dist/mcp/tools/send-message.js +21 -20
- package/dist/mcp/tools/update-task.js +20 -19
- package/dist/{mcp-http-config-GKP5QGAO.js → mcp-http-config-NLKZQHV6.js} +8 -7
- package/dist/{mcp-session-identity-JHAGRB7B.js → mcp-session-identity-AEYKQELS.js} +17 -16
- package/dist/{memory-cards-O377ETAM.js → memory-cards-3ITTLHOY.js} +9 -8
- package/dist/{memory-graph-extractor-4KJCCUOP.js → memory-graph-extractor-FM7Q4VV6.js} +9 -8
- package/dist/{memory-maintenance-RR5UPRW3.js → memory-maintenance-OYSA36EJ.js} +1 -1
- package/dist/{memory-poisoning-defense-Y5TTKGOP.js → memory-poisoning-defense-7JFJUCKU.js} +5 -4
- package/dist/{memory-pressure-watchdog-NGXTI4HR.js → memory-pressure-watchdog-FROXPH3U.js} +18 -17
- package/dist/{memory-reflection-EXNHRZL7.js → memory-reflection-CTGRQAPC.js} +9 -8
- package/dist/{memory-write-repository-S4TX7WQB.js → memory-write-repository-D2WU2WFY.js} +5 -3
- package/dist/{monitor-grants-57Q4NL25.js → monitor-grants-TYGR4SSC.js} +3 -3
- package/dist/{monitor-identity-3FQ52SYU.js → monitor-identity-P54TAJBA.js} +2 -2
- package/dist/{notification-ledger-O6KQYYGK.js → notification-ledger-MIYYFMHL.js} +18 -17
- package/dist/{notifications-6FCQCJ4P.js → notifications-E7ZUVBUS.js} +17 -16
- package/dist/{orchestration-events-2Z2BMMA5.js → orchestration-events-U6DT373C.js} +6 -5
- package/dist/{orchestrator-AGOSKPHD.js → orchestrator-JUIMX24X.js} +19 -18
- package/dist/{org-brief-session-WJHZVXXJ.js → org-brief-session-YRIV2QSB.js} +17 -16
- package/dist/{org-consent-policy-X43UGTHI.js → org-consent-policy-NQ2KDQDG.js} +5 -5
- package/dist/{org-join-M3UTBMHC.js → org-join-II6F2VJH.js} +11 -11
- package/dist/{org-key-admin-AA2DRHB2.js → org-key-admin-JH6KJB4J.js} +13 -13
- package/dist/{org-key-epoch-Z5UIVUHT.js → org-key-epoch-G6XN6IJM.js} +5 -5
- package/dist/{org-key-pin-FE6YHEZ3.js → org-key-pin-WW5CHAQL.js} +3 -3
- package/dist/{org-membership-3J2MIGE4.js → org-membership-ROYVH7I7.js} +4 -4
- package/dist/{org-partner-config-5HATZYG4.js → org-partner-config-SQULMRXG.js} +8 -8
- package/dist/{org-partner-runtime-UI35IHUC.js → org-partner-runtime-PCGVG3M2.js} +17 -16
- package/dist/{org-row-visibility-TRJERVYP.js → org-row-visibility-USZO6GXN.js} +1 -1
- package/dist/{pipeline-router-EKQ6D7ZA.js → pipeline-router-2UJV527K.js} +6 -5
- package/dist/{plan-limits-3BGHIHX6.js → plan-limits-HBD2B77I.js} +8 -7
- package/dist/{pre-tool-use-impl-7BT5TJVM.js → pre-tool-use-impl-WEZ76RLG.js} +35 -34
- package/dist/{project-name-PGJGUEJY.js → project-name-O37JG2BV.js} +10 -5
- package/dist/{projection-worker-3GEVFPAI.js → projection-worker-HHEYDVMY.js} +2 -2
- package/dist/{prospective-memory-GEN7CN7H.js → prospective-memory-LNZTVL5G.js} +5 -4
- package/dist/{push-notifications-QW4BWRC7.js → push-notifications-QT2KL3GR.js} +18 -17
- package/dist/{reproject-worktree-memories-DIULBEBD.js → reproject-worktree-memories-CYQLKU2R.js} +17 -16
- package/dist/{reranker-LQ6OPJOI.js → reranker-MJUCNQ3B.js} +1 -1
- package/dist/{retrieval-health-XDFYFEOP.js → retrieval-health-MO36P7O3.js} +1 -1
- package/dist/{review-polling-ED33YLFT.js → review-polling-OU7JLEKI.js} +18 -17
- package/dist/runtime/index.js +25 -24
- package/dist/{seat-benefit-YEUQBNCS.js → seat-benefit-SBVGAMMY.js} +2 -2
- package/dist/{session-events-7IJGTBVH.js → session-events-KB7A2PIL.js} +26 -19
- package/dist/{session-kill-telemetry-RUTEARJ3.js → session-kill-telemetry-UNS3QI2G.js} +18 -17
- package/dist/{session-scope-SSYA64L3.js → session-scope-QOR7CVGI.js} +17 -16
- package/dist/{setup-wizard-XD7FZVLJ.js → setup-wizard-MMKIRDM5.js} +4 -3
- package/dist/{shard-manager-FH5JZRSE.js → shard-manager-UM3UYDLV.js} +3 -3
- package/dist/{skill-refinement-UHD4E6GV.js → skill-refinement-4ZND3EZF.js} +6 -5
- package/dist/{skill-retrieval-F6PAJ3I5.js → skill-retrieval-U5F2ZPL6.js} +13 -12
- package/dist/{skill-usage-2MBTF7Y4.js → skill-usage-ECYWEKQG.js} +6 -5
- package/dist/{stack-generate-manifest-MVJDTU4F.js → stack-generate-manifest-HL7QJ5XC.js} +4 -4
- package/dist/{stack-promote-BMGEY6SQ.js → stack-promote-CINVLY2J.js} +4 -4
- package/dist/{stack-release-64UJ6Y4W.js → stack-release-PNGTKMW6.js} +5 -5
- package/dist/{stack-update-EBATTQPP.js → stack-update-QXABQSHS.js} +3 -3
- package/dist/{steward-gate-EWG2BHYQ.js → steward-gate-VBZXP4HY.js} +6 -5
- package/dist/{subagent-brief-injection-YZGSWUEY.js → subagent-brief-injection-63LZHTT3.js} +29 -28
- package/dist/{subagent-spawn-ledger-PDICC43I.js → subagent-spawn-ledger-2XSOIL35.js} +3 -1
- package/dist/{support-bug-actions-RU6WZ3UV.js → support-bug-actions-IPFJ5WEZ.js} +3 -3
- package/dist/{support-inbox-A3S52SPS.js → support-inbox-TUMS347S.js} +15 -14
- package/dist/{task-enforcement-LVAS55AR.js → task-enforcement-ESAMX2ML.js} +18 -17
- package/dist/{task-request-inbox-2TN4ZUH2.js → task-request-inbox-ILFRNPZA.js} +5 -5
- package/dist/{task-scope-NLKUVCP5.js → task-scope-6LIHTVCC.js} +17 -16
- package/dist/{tasks-crud-NQDPLHNZ.js → tasks-crud-NWNW7RDH.js} +21 -16
- package/dist/{tasks-notify-BDM2NEHP.js → tasks-notify-H4CUL7RM.js} +18 -17
- package/dist/{tasks-review-3G7CAW2O.js → tasks-review-F4VW7NOI.js} +17 -16
- package/dist/telemetry-upload-MUIZKQDT.js +42 -0
- package/dist/{token-budget-KNC2WGR7.js → token-budget-H53P6O6O.js} +6 -5
- package/dist/{tool-telemetry-I3SEU5M5.js → tool-telemetry-A7NUFJI4.js} +1 -1
- package/dist/tui/App.js +27 -26
- package/dist/{tui-data-KJDWP4CB.js → tui-data-4TWYXEEA.js} +21 -20
- package/dist/{update-support-UYDYMHVR.js → update-support-4B7GQLUI.js} +14 -13
- package/dist/{whatsapp-5EMPZHF5.js → whatsapp-JHB2BHJE.js} +2 -2
- package/dist/{wiki-acl-M7BTQJBZ.js → wiki-acl-OFOKEUJS.js} +1 -1
- package/dist/{work-claims-5CFMZTML.js → work-claims-36IKRNK6.js} +6 -5
- package/dist/{work-state-heartbeat-7IA2DZ2E.js → work-state-heartbeat-RXQKS4GL.js} +1 -1
- package/dist/{workflow-engine-S5JOE2YR.js → workflow-engine-SJHROL46.js} +2 -2
- package/dist/{worktree-7V4ZMF3D.js → worktree-YIUDLMNS.js} +7 -6
- package/dist/{worktree-sweep-34MXJ7S6.js → worktree-sweep-2MZ7PKEG.js} +8 -7
- package/package.json +2 -1
- package/release-notes.json +25 -21
- package/stack.release.json +3 -3
- package/dist/chunk-PEYQ6MWO.js +0 -175
- /package/dist/{chunk-542FBM5U.js → chunk-2CKQEW4W.js} +0 -0
- /package/dist/{chunk-MOBZTIJQ.js → chunk-43WD6UKN.js} +0 -0
- /package/dist/{chunk-N45FAI6D.js → chunk-4ULAH65G.js} +0 -0
- /package/dist/{chunk-YVWXI2HM.js → chunk-5ZVDEGES.js} +0 -0
- /package/dist/{chunk-QDSNEGJE.js → chunk-ISNY2BGX.js} +0 -0
- /package/dist/{chunk-6D2O5SAH.js → chunk-KM3S64VS.js} +0 -0
- /package/dist/{chunk-J4B4M5PH.js → chunk-LGSXXCE2.js} +0 -0
- /package/dist/{chunk-J635FA7T.js → chunk-N4PRTLUX.js} +0 -0
- /package/dist/{chunk-EULAP6L6.js → chunk-QC3AU6NX.js} +0 -0
- /package/dist/{chunk-CFO47VW4.js → chunk-U6FWH2KA.js} +0 -0
- /package/dist/{chunk-SKSXROKP.js → chunk-UMIELGF2.js} +0 -0
- /package/dist/{chunk-FYSKQPTE.js → chunk-W7A44LSP.js} +0 -0
- /package/dist/{chunk-6NRZLVK3.js → chunk-WKXEOVSN.js} +0 -0
- /package/dist/{core-memory-PZEO3OWH.js → core-memory-EGE6W24K.js} +0 -0
- /package/dist/{memory-isolation-MFNT2ITE.js → memory-isolation-HX6XSKZM.js} +0 -0
- /package/dist/{oauth-server-CBGEWD6H.js → oauth-server-6TE2NW74.js} +0 -0
- /package/dist/{project-boot-VESAYDIH.js → project-boot-2GNHDNUH.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deactivateBehavior,
|
|
3
3
|
listBehaviors
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HVTLHDGA.js";
|
|
5
5
|
import {
|
|
6
6
|
IdentityConflictError,
|
|
7
7
|
IdentityLockError,
|
|
8
8
|
getIdentity,
|
|
9
9
|
mutateIdentity,
|
|
10
10
|
withIdentityLock
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
12
12
|
|
|
13
13
|
// src/lib/behavior-promotion.ts
|
|
14
14
|
var PROMOTED_SECTION_HEADING = "## Promoted lessons (permanent \u2014 promoted from behaviours)";
|
|
@@ -85,7 +85,7 @@ async function getRetrievalHealth() {
|
|
|
85
85
|
totalMemories = Number(totalRes.rows[0]?.cnt ?? 0);
|
|
86
86
|
memoriesWithVectors = Number(vectorRes.rows[0]?.cnt ?? 0);
|
|
87
87
|
try {
|
|
88
|
-
const { getGraphStats } = await import("./graph-query-
|
|
88
|
+
const { getGraphStats } = await import("./graph-query-IY7QR2UR.js");
|
|
89
89
|
const stats = await getGraphStats(client);
|
|
90
90
|
entities = stats.entities;
|
|
91
91
|
relationships = stats.relationships;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getLatestBackup,
|
|
3
|
-
reasonFromBackupName
|
|
4
|
-
} from "./chunk-SINIRUYZ.js";
|
|
5
1
|
import {
|
|
6
2
|
recordDbOpen
|
|
7
3
|
} from "./chunk-5YEUPUV4.js";
|
|
4
|
+
import {
|
|
5
|
+
getLatestBackup,
|
|
6
|
+
reasonFromBackupName
|
|
7
|
+
} from "./chunk-4LCZYKVK.js";
|
|
8
8
|
|
|
9
9
|
// src/lib/backup-verify.ts
|
|
10
10
|
import { createClient } from "@libsql/client";
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TelegramAdapter
|
|
3
|
+
} from "./chunk-Q3V7K4ME.js";
|
|
4
|
+
import {
|
|
5
|
+
DiscordAdapter
|
|
6
|
+
} from "./chunk-N5RRQOAC.js";
|
|
1
7
|
import {
|
|
2
8
|
SlackAdapter
|
|
3
9
|
} from "./chunk-ORCCI2VV.js";
|
|
@@ -7,19 +13,13 @@ import {
|
|
|
7
13
|
import {
|
|
8
14
|
createCRMWebhookHandler,
|
|
9
15
|
parseTwentyWebhook
|
|
10
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PKEZ3JG4.js";
|
|
11
17
|
import {
|
|
12
18
|
WhatsAppAdapter
|
|
13
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6ZBOARHX.js";
|
|
14
20
|
import {
|
|
15
21
|
SignalAdapter
|
|
16
22
|
} from "./chunk-RJT7H2KR.js";
|
|
17
|
-
import {
|
|
18
|
-
TelegramAdapter
|
|
19
|
-
} from "./chunk-Q3V7K4ME.js";
|
|
20
|
-
import {
|
|
21
|
-
DiscordAdapter
|
|
22
|
-
} from "./chunk-N5RRQOAC.js";
|
|
23
23
|
import {
|
|
24
24
|
BotRegistry,
|
|
25
25
|
BotRuntime,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
retryWithBackoff,
|
|
43
43
|
routeMessage,
|
|
44
44
|
validateGatewayConfig
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-6CJYOPQW.js";
|
|
46
46
|
import {
|
|
47
47
|
OllamaProvider
|
|
48
48
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import {
|
|
2
|
+
loadConfig,
|
|
3
|
+
loadConfigSync,
|
|
4
|
+
saveConfig
|
|
5
|
+
} from "./chunk-MMS2HBRT.js";
|
|
6
|
+
|
|
7
|
+
// src/lib/telemetry-consent.ts
|
|
8
|
+
var TELEMETRY_ENABLED_BY_DEFAULT = true;
|
|
9
|
+
var TELEMETRY_NOTICE = "Exe OS sends AskExe a once-a-day usage report (version, OS, hardware size, and aggregate counts and timings, tagged with your plan but never your email, memories, prompts or files) to find bugs and performance problems; turn it off any time with: exe-os telemetry off";
|
|
10
|
+
function resolveTelemetryState(telemetry, env = process.env) {
|
|
11
|
+
let enabled;
|
|
12
|
+
let source;
|
|
13
|
+
if (env.EXE_TELEMETRY === "0") {
|
|
14
|
+
enabled = false;
|
|
15
|
+
source = "env";
|
|
16
|
+
} else if (typeof telemetry?.enabled === "boolean") {
|
|
17
|
+
enabled = telemetry.enabled;
|
|
18
|
+
source = "config";
|
|
19
|
+
} else {
|
|
20
|
+
enabled = TELEMETRY_ENABLED_BY_DEFAULT;
|
|
21
|
+
source = "default";
|
|
22
|
+
}
|
|
23
|
+
const noticeShownAt = typeof telemetry?.noticeShownAt === "string" && telemetry.noticeShownAt.length > 0 ? telemetry.noticeShownAt : null;
|
|
24
|
+
return { enabled, source, noticeShownAt, canSend: enabled && noticeShownAt !== null };
|
|
25
|
+
}
|
|
26
|
+
function readTelemetryState(env = process.env) {
|
|
27
|
+
try {
|
|
28
|
+
return resolveTelemetryState(loadConfigSync().telemetry, env);
|
|
29
|
+
} catch {
|
|
30
|
+
return resolveTelemetryState(void 0, env);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
async function setTelemetryEnabled(enabled, by, now = /* @__PURE__ */ new Date()) {
|
|
34
|
+
const config = await loadConfig();
|
|
35
|
+
config.telemetry = {
|
|
36
|
+
...config.telemetry,
|
|
37
|
+
enabled,
|
|
38
|
+
enabledSetAt: now.toISOString(),
|
|
39
|
+
enabledSetBy: by
|
|
40
|
+
};
|
|
41
|
+
await saveConfig(config);
|
|
42
|
+
return resolveTelemetryState(config.telemetry);
|
|
43
|
+
}
|
|
44
|
+
async function showTelemetryNoticeOnce(write, via) {
|
|
45
|
+
try {
|
|
46
|
+
if (readTelemetryState().noticeShownAt) return false;
|
|
47
|
+
write(`
|
|
48
|
+
${TELEMETRY_NOTICE}
|
|
49
|
+
|
|
50
|
+
`);
|
|
51
|
+
await recordTelemetryNoticeShown(via);
|
|
52
|
+
return true;
|
|
53
|
+
} catch {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
var CLI_NOTICE_SELF_HANDLED = ["setup", "-setup", "--setup", "telemetry", "mcp"];
|
|
58
|
+
function cliFirstRunNoticeMode(args, opts) {
|
|
59
|
+
if (!opts.stdinTTY || !opts.stderrTTY) return "skip";
|
|
60
|
+
if (CLI_NOTICE_SELF_HANDLED.includes(args[0] ?? "")) return "skip";
|
|
61
|
+
if (args[0] === "tui" || args.includes("--tui") || args.includes("--demo")) return "tui";
|
|
62
|
+
if (args.length === 0 && !opts.hasClaudeCode()) return "tui";
|
|
63
|
+
return "print";
|
|
64
|
+
}
|
|
65
|
+
function waitForEnter(input = process.stdin) {
|
|
66
|
+
return new Promise((resolve) => {
|
|
67
|
+
const finish = (pressed) => {
|
|
68
|
+
input.removeListener("data", onData);
|
|
69
|
+
input.removeListener("end", onEnd);
|
|
70
|
+
input.removeListener("close", onEnd);
|
|
71
|
+
input.removeListener("error", onEnd);
|
|
72
|
+
input.pause();
|
|
73
|
+
resolve(pressed);
|
|
74
|
+
};
|
|
75
|
+
const onData = (chunk) => {
|
|
76
|
+
if (/[\r\n]/.test(typeof chunk === "string" ? chunk : chunk.toString("utf8"))) finish(true);
|
|
77
|
+
};
|
|
78
|
+
const onEnd = () => finish(false);
|
|
79
|
+
input.on("data", onData);
|
|
80
|
+
input.once("end", onEnd);
|
|
81
|
+
input.once("close", onEnd);
|
|
82
|
+
input.once("error", onEnd);
|
|
83
|
+
input.resume();
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
async function acknowledgeTelemetryNotice(write, waitForAck, via) {
|
|
87
|
+
try {
|
|
88
|
+
if (readTelemetryState().noticeShownAt) return "already";
|
|
89
|
+
write(`
|
|
90
|
+
${TELEMETRY_NOTICE}
|
|
91
|
+
|
|
92
|
+
Press Enter to continue.`);
|
|
93
|
+
const pressed = await waitForAck();
|
|
94
|
+
write("\n");
|
|
95
|
+
if (!pressed) return "not-acknowledged";
|
|
96
|
+
await recordTelemetryNoticeShown(via);
|
|
97
|
+
return "acknowledged";
|
|
98
|
+
} catch {
|
|
99
|
+
return "not-acknowledged";
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
async function recordTelemetryNoticeShown(via, now = /* @__PURE__ */ new Date()) {
|
|
103
|
+
const config = await loadConfig();
|
|
104
|
+
if (config.telemetry?.noticeShownAt) return false;
|
|
105
|
+
config.telemetry = {
|
|
106
|
+
...config.telemetry,
|
|
107
|
+
noticeShownAt: now.toISOString(),
|
|
108
|
+
noticeShownVia: via
|
|
109
|
+
};
|
|
110
|
+
await saveConfig(config);
|
|
111
|
+
return true;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export {
|
|
115
|
+
TELEMETRY_ENABLED_BY_DEFAULT,
|
|
116
|
+
TELEMETRY_NOTICE,
|
|
117
|
+
resolveTelemetryState,
|
|
118
|
+
readTelemetryState,
|
|
119
|
+
setTelemetryEnabled,
|
|
120
|
+
showTelemetryNoticeOnce,
|
|
121
|
+
cliFirstRunNoticeMode,
|
|
122
|
+
waitForEnter,
|
|
123
|
+
acknowledgeTelemetryNotice,
|
|
124
|
+
recordTelemetryNoticeShown
|
|
125
|
+
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
derivePartnerSealIdentity
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BXLNHKVK.js";
|
|
4
4
|
import {
|
|
5
5
|
pinMismatchReason,
|
|
6
6
|
pinnedOrgKeyEpochs,
|
|
7
7
|
readOrgKeyPin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JF36BVSK.js";
|
|
9
9
|
import {
|
|
10
10
|
derivePartnerSignIdentity,
|
|
11
11
|
displayFingerprint,
|
|
12
12
|
signKeyFingerprint
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PWJLLXGK.js";
|
|
14
14
|
import {
|
|
15
15
|
orgMembershipPresent,
|
|
16
16
|
readActiveOrgMemberships
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HPB5Y6FZ.js";
|
|
18
18
|
import {
|
|
19
19
|
isValidX25519Recipient
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-C5FURQRA.js";
|
|
21
21
|
|
|
22
22
|
// src/lib/org-partner-config.ts
|
|
23
23
|
function pickString(rec, ...keys) {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
asOrgBillablePlan
|
|
3
|
-
} from "./chunk-W4H2MZAS.js";
|
|
4
1
|
import {
|
|
5
2
|
resolvePartnerIdentities
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LXDNPWX7.js";
|
|
4
|
+
import {
|
|
5
|
+
asOrgBillablePlan
|
|
6
|
+
} from "./chunk-3W6D3XED.js";
|
|
7
7
|
import {
|
|
8
8
|
OrgKeyPinConflictError,
|
|
9
9
|
orgKeyPinConfirmation,
|
|
10
10
|
pinOrgKey,
|
|
11
11
|
readOrgKeyPin
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JF36BVSK.js";
|
|
13
13
|
import {
|
|
14
14
|
displayFingerprint,
|
|
15
15
|
ed25519PrivateKeyFromSeed,
|
|
16
16
|
signKeyFingerprint
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PWJLLXGK.js";
|
|
18
18
|
import {
|
|
19
19
|
establishOrgMode,
|
|
20
20
|
upsertOrgMembership
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HPB5Y6FZ.js";
|
|
22
22
|
import {
|
|
23
23
|
isValidX25519Recipient
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-C5FURQRA.js";
|
|
25
25
|
|
|
26
26
|
// src/lib/org-join.ts
|
|
27
27
|
import { createHash, sign } from "crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NM4MWWA4.js";
|
|
4
4
|
import {
|
|
5
5
|
createTaskCore,
|
|
6
6
|
employeeSessionName,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
isEmployeeAlive,
|
|
10
10
|
sessionScopeFilter,
|
|
11
11
|
updateTaskStatus
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-H372DQD2.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
15
15
|
getCoordinatorName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
17
17
|
|
|
18
18
|
// src/runtime/orchestrator.ts
|
|
19
19
|
var STALE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./chunk-BYP3DOUU.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveExeSession
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-H372DQD2.js";
|
|
18
18
|
import {
|
|
19
19
|
getProjectName
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-V3RGMCCP.js";
|
|
21
21
|
|
|
22
22
|
// src/lib/post-tool-memory.ts
|
|
23
23
|
var NON_INGESTIBLE_TOOLS = /* @__PURE__ */ new Set([
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession,
|
|
3
3
|
strictSessionScopeFilter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-H372DQD2.js";
|
|
5
5
|
import {
|
|
6
6
|
recordOrchestrationEventBestEffort
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NFTTBVL2.js";
|
|
8
8
|
import {
|
|
9
9
|
getProjectName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-V3RGMCCP.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
13
13
|
getCoordinatorName
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
15
15
|
import {
|
|
16
16
|
loadConfigSync
|
|
17
17
|
} from "./chunk-MMS2HBRT.js";
|
|
@@ -260,7 +260,7 @@ function createRealDeps(getClient) {
|
|
|
260
260
|
});
|
|
261
261
|
},
|
|
262
262
|
createReviewForOrphan: async (task) => {
|
|
263
|
-
const { createReviewForCompletedTask } = await import("./tasks-review-
|
|
263
|
+
const { createReviewForCompletedTask } = await import("./tasks-review-F4VW7NOI.js");
|
|
264
264
|
const cwd = process.cwd();
|
|
265
265
|
await createReviewForCompletedTask(
|
|
266
266
|
task,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAuth,
|
|
3
3
|
resolveEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M46ZFCQT.js";
|
|
5
5
|
import {
|
|
6
6
|
resolvePartnerIdentities
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LXDNPWX7.js";
|
|
8
8
|
import {
|
|
9
9
|
displayFingerprint,
|
|
10
10
|
ed25519PrivateKeyFromSeed
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PWJLLXGK.js";
|
|
12
12
|
|
|
13
13
|
// src/lib/org-member-key.ts
|
|
14
14
|
import { createHash, sign } from "crypto";
|
|
@@ -120,7 +120,7 @@ async function verifyOrBlock(hookPath) {
|
|
|
120
120
|
}
|
|
121
121
|
let isFirstSighting = true;
|
|
122
122
|
try {
|
|
123
|
-
const { recordTamperEvent } = await import("./hook-tamper-log-
|
|
123
|
+
const { recordTamperEvent } = await import("./hook-tamper-log-SWQVRDDV.js");
|
|
124
124
|
isFirstSighting = await recordTamperEvent(
|
|
125
125
|
filename,
|
|
126
126
|
result.actualHash ?? "unknown",
|
|
@@ -132,7 +132,7 @@ async function verifyOrBlock(hookPath) {
|
|
|
132
132
|
process.stderr.write(`[SECURITY] Hook tamper detected: ${filename} \u2014 ${result.reason}
|
|
133
133
|
`);
|
|
134
134
|
try {
|
|
135
|
-
const { pushNotifyAsync } = await import("./push-notifications-
|
|
135
|
+
const { pushNotifyAsync } = await import("./push-notifications-QT2KL3GR.js");
|
|
136
136
|
pushNotifyAsync({
|
|
137
137
|
event: "security_alert",
|
|
138
138
|
title: "Hook tamper detected",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractMemoryGraph
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OVEID5F6.js";
|
|
4
4
|
import {
|
|
5
5
|
flushBatch,
|
|
6
6
|
writeMemory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZUE3ADBF.js";
|
|
8
8
|
import {
|
|
9
9
|
extractKeywords
|
|
10
10
|
} from "./chunk-CHCA3ZM2.js";
|
|
11
11
|
import {
|
|
12
12
|
getActiveAgent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-34GBZEGQ.js";
|
|
14
14
|
|
|
15
15
|
// src/mcp/tools/import-conversations.ts
|
|
16
16
|
import { z } from "zod";
|
|
@@ -153,18 +153,28 @@ function buildMemoryInsert(row, replica = false) {
|
|
|
153
153
|
function receiptStatement(row) {
|
|
154
154
|
const scope = memoryScopePredicate(memoryWriteScope(row));
|
|
155
155
|
const payload = memoryPayloadPredicateSql("", { nullSafeContentHash: true });
|
|
156
|
+
const hash = row.content_hash ?? "";
|
|
157
|
+
const hashProbe = hash !== "" ? "content_hash = ? AND " : "";
|
|
158
|
+
const payloadScope = scope.sql.replace("agent_id = ?", "(agent_id || '') = ?").replace("project_name = ?", "(project_name || '') = ?");
|
|
159
|
+
const cols = "id, version, content_hash, memory_type, supersedes_id, draft, quarantined";
|
|
156
160
|
return {
|
|
157
|
-
sql: `SELECT
|
|
158
|
-
|
|
159
|
-
|
|
161
|
+
sql: `SELECT ${cols} FROM (
|
|
162
|
+
SELECT 0 AS receipt_rank, ${cols}, timestamp FROM memories
|
|
163
|
+
WHERE id = ? AND ${scope.sql}
|
|
164
|
+
UNION ALL
|
|
165
|
+
SELECT 1 AS receipt_rank, ${cols}, timestamp FROM memories
|
|
166
|
+
WHERE ${hashProbe}${payloadScope} AND ${payload} AND ${memoryCommittedPredicateSql()}
|
|
167
|
+
) AS receipt
|
|
168
|
+
ORDER BY receipt_rank, timestamp DESC, id DESC LIMIT 1`,
|
|
160
169
|
args: [
|
|
161
|
-
...scope.args,
|
|
162
170
|
row.id,
|
|
163
|
-
|
|
171
|
+
...scope.args,
|
|
172
|
+
...hash !== "" ? [hash] : [],
|
|
173
|
+
...scope.args,
|
|
174
|
+
hash,
|
|
164
175
|
row.memory_type ?? "raw",
|
|
165
176
|
row.supersedes_id ?? "",
|
|
166
|
-
row.draft ? 1 : 0
|
|
167
|
-
row.id
|
|
177
|
+
row.draft ? 1 : 0
|
|
168
178
|
]
|
|
169
179
|
};
|
|
170
180
|
}
|
|
@@ -265,7 +275,7 @@ async function persistMemoryBatch(client, rows) {
|
|
|
265
275
|
}
|
|
266
276
|
const hygieneIds = inserted.filter((row) => row.supersedes_id).map((row) => row.id);
|
|
267
277
|
if (hygieneIds.length > 0) {
|
|
268
|
-
const { scheduleSupersessionHygiene } = await import("./memory-maintenance-
|
|
278
|
+
const { scheduleSupersessionHygiene } = await import("./memory-maintenance-OYSA36EJ.js");
|
|
269
279
|
scheduleSupersessionHygiene(hygieneIds);
|
|
270
280
|
}
|
|
271
281
|
return { outcomes, inserted };
|
|
@@ -278,6 +288,7 @@ export {
|
|
|
278
288
|
PROJECTION_CHECKPOINT_TABLE_SQL,
|
|
279
289
|
ensureMemoryWriteIndex,
|
|
280
290
|
buildMemoryInsert,
|
|
291
|
+
receiptStatement,
|
|
281
292
|
readMemoryWriteOutcome,
|
|
282
293
|
persistMemoryBatch
|
|
283
294
|
};
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
extractIdentifiers,
|
|
5
5
|
isGarbageEntity,
|
|
6
6
|
normalizeEntityName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-G6E4NA6V.js";
|
|
8
8
|
import {
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/memory-graph-extractor.ts
|
|
13
13
|
function relationshipId(sourceId, targetId, relType) {
|
|
@@ -432,7 +432,7 @@ async function upsertMemoryGraph(result, memoryId, opts) {
|
|
|
432
432
|
});
|
|
433
433
|
}
|
|
434
434
|
try {
|
|
435
|
-
const { createCoOccurrenceEdges } = await import("./co-occurrence-
|
|
435
|
+
const { createCoOccurrenceEdges } = await import("./co-occurrence-GW6Z6WAJ.js");
|
|
436
436
|
await createCoOccurrenceEdges(result.entities, memoryId, { linkOnly });
|
|
437
437
|
} catch {
|
|
438
438
|
}
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
BUSY_PATTERN,
|
|
3
3
|
sendIntercom,
|
|
4
4
|
updateTaskStatus
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-H372DQD2.js";
|
|
6
6
|
import {
|
|
7
7
|
recordOrchestrationEventBestEffort
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NFTTBVL2.js";
|
|
9
9
|
import {
|
|
10
10
|
hasPassed
|
|
11
11
|
} from "./chunk-YRUZK2QA.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
baseAgentName,
|
|
14
14
|
getCoordinatorName,
|
|
15
15
|
isCoordinatorName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
17
17
|
import {
|
|
18
18
|
isAutonomousTmuxSpawnEnabled
|
|
19
19
|
} from "./chunk-MMS2HBRT.js";
|
|
@@ -338,7 +338,7 @@ async function surfaceStaleDispatchPendingSignals(scopeList, now, thresholdMs =
|
|
|
338
338
|
const sessionScope = signalScope ?? (scopeList.length === 1 ? scopeList[0] : null);
|
|
339
339
|
if (allowedScopes.size > 0 && sessionScope && !allowedScopes.has(sessionScope)) continue;
|
|
340
340
|
try {
|
|
341
|
-
const { writeNotification } = await import("./notifications-
|
|
341
|
+
const { writeNotification } = await import("./notifications-E7ZUVBUS.js");
|
|
342
342
|
await writeNotification({
|
|
343
343
|
agentId: getCoordinatorName(),
|
|
344
344
|
agentRole: "COO",
|