@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,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getIdentity,
|
|
3
3
|
loadEmployeesSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
5
5
|
import "./chunk-BBMTVAE3.js";
|
|
6
6
|
import "./chunk-TKDITWDN.js";
|
|
7
|
-
import "./chunk-SINIRUYZ.js";
|
|
8
|
-
import "./chunk-6777GNWI.js";
|
|
9
|
-
import "./chunk-7FE43JRU.js";
|
|
10
7
|
import "./chunk-5YEUPUV4.js";
|
|
8
|
+
import "./chunk-4LCZYKVK.js";
|
|
9
|
+
import "./chunk-CCFWKW2D.js";
|
|
10
|
+
import "./chunk-OFC5SIIT.js";
|
|
11
|
+
import "./chunk-7FE43JRU.js";
|
|
11
12
|
import "./chunk-YYB5PMTK.js";
|
|
12
13
|
import {
|
|
13
14
|
getRoleCapabilities
|
|
@@ -8,28 +8,28 @@ import {
|
|
|
8
8
|
isAtCapacity,
|
|
9
9
|
isWithinRelaunchCooldown,
|
|
10
10
|
pollCapacityDead
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-I2T3ZOFM.js";
|
|
12
|
+
import "./chunk-XWDI6NVG.js";
|
|
13
|
+
import "./chunk-H372DQD2.js";
|
|
14
|
+
import "./chunk-YQT3JC27.js";
|
|
15
|
+
import "./chunk-EIKATSE4.js";
|
|
15
16
|
import "./chunk-ZKGWHT56.js";
|
|
16
17
|
import "./chunk-WT4RI36X.js";
|
|
18
|
+
import "./chunk-MJCSEIFI.js";
|
|
17
19
|
import "./chunk-E23LNUWJ.js";
|
|
18
20
|
import "./chunk-TDF2XKLK.js";
|
|
19
|
-
import "./chunk-EIKATSE4.js";
|
|
20
|
-
import "./chunk-MJCSEIFI.js";
|
|
21
21
|
import "./chunk-QDMZ5DX2.js";
|
|
22
22
|
import "./chunk-HME6ITKV.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-R6Q3MB2F.js";
|
|
24
24
|
import "./chunk-VI4ATC6I.js";
|
|
25
25
|
import "./chunk-A27Q27CT.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-JGBYZTWH.js";
|
|
26
|
+
import "./chunk-7MCEYNWK.js";
|
|
28
27
|
import "./chunk-T5SM4RXY.js";
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-EWKNMFS6.js";
|
|
30
29
|
import "./chunk-IVXELUEQ.js";
|
|
31
30
|
import "./chunk-AM7S2TY6.js";
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-NFTTBVL2.js";
|
|
32
|
+
import "./chunk-6A74345E.js";
|
|
33
33
|
import "./chunk-WJWRQQMS.js";
|
|
34
34
|
import "./chunk-PCV52RYM.js";
|
|
35
35
|
import "./chunk-BTSWFMEH.js";
|
|
@@ -38,27 +38,28 @@ import "./chunk-IMYGYIAI.js";
|
|
|
38
38
|
import "./chunk-NLEW62VC.js";
|
|
39
39
|
import "./chunk-3DAEZILW.js";
|
|
40
40
|
import "./chunk-DRTJCG6B.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-V3RGMCCP.js";
|
|
42
42
|
import "./chunk-CVYC6DUW.js";
|
|
43
43
|
import "./chunk-GJV3WDWM.js";
|
|
44
44
|
import "./chunk-YRUZK2QA.js";
|
|
45
45
|
import "./chunk-MP2AFCGL.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-7VQ2OCZG.js";
|
|
47
47
|
import "./chunk-BBMTVAE3.js";
|
|
48
48
|
import "./chunk-TKDITWDN.js";
|
|
49
|
-
import "./chunk-SINIRUYZ.js";
|
|
50
|
-
import "./chunk-6777GNWI.js";
|
|
51
|
-
import "./chunk-7FE43JRU.js";
|
|
52
49
|
import "./chunk-5YEUPUV4.js";
|
|
50
|
+
import "./chunk-4LCZYKVK.js";
|
|
51
|
+
import "./chunk-CCFWKW2D.js";
|
|
52
|
+
import "./chunk-OFC5SIIT.js";
|
|
53
|
+
import "./chunk-7FE43JRU.js";
|
|
53
54
|
import "./chunk-YYB5PMTK.js";
|
|
54
55
|
import "./chunk-WAAGVFFN.js";
|
|
55
56
|
import "./chunk-QH5ZQ5SJ.js";
|
|
56
57
|
import "./chunk-ZQEJ4IX2.js";
|
|
57
58
|
import "./chunk-C7GHNJPW.js";
|
|
58
59
|
import "./chunk-UWGQNJIE.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-HPCCYWDP.js";
|
|
60
61
|
import "./chunk-3R7UDPVR.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-KM3S64VS.js";
|
|
62
63
|
import "./chunk-A7JYF4RG.js";
|
|
63
64
|
import "./chunk-ARX6TAGN.js";
|
|
64
65
|
import "./chunk-MMS2HBRT.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lightweightSearch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ALTBD27V.js";
|
|
4
|
+
import "./chunk-WKXEOVSN.js";
|
|
4
5
|
import "./chunk-3ARSKDHC.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-MOBZTIJQ.js";
|
|
6
|
+
import "./chunk-ZUE3ADBF.js";
|
|
7
|
+
import "./chunk-43WD6UKN.js";
|
|
8
8
|
import "./chunk-CHCA3ZM2.js";
|
|
9
9
|
import "./chunk-OTVEIJUQ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-W7A44LSP.js";
|
|
11
11
|
import "./chunk-5MOYSU5A.js";
|
|
12
12
|
import "./chunk-BYP3DOUU.js";
|
|
13
13
|
import "./chunk-76CJBM36.js";
|
|
@@ -15,26 +15,26 @@ import "./chunk-67IVG6CB.js";
|
|
|
15
15
|
import {
|
|
16
16
|
sessionScopeFilter,
|
|
17
17
|
strictSessionScopeFilter
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-H372DQD2.js";
|
|
19
|
+
import "./chunk-YQT3JC27.js";
|
|
20
|
+
import "./chunk-EIKATSE4.js";
|
|
20
21
|
import "./chunk-ZKGWHT56.js";
|
|
21
22
|
import "./chunk-WT4RI36X.js";
|
|
23
|
+
import "./chunk-MJCSEIFI.js";
|
|
22
24
|
import "./chunk-E23LNUWJ.js";
|
|
23
25
|
import "./chunk-TDF2XKLK.js";
|
|
24
|
-
import "./chunk-EIKATSE4.js";
|
|
25
|
-
import "./chunk-MJCSEIFI.js";
|
|
26
26
|
import "./chunk-QDMZ5DX2.js";
|
|
27
27
|
import "./chunk-HME6ITKV.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-R6Q3MB2F.js";
|
|
29
29
|
import "./chunk-VI4ATC6I.js";
|
|
30
30
|
import "./chunk-A27Q27CT.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-JGBYZTWH.js";
|
|
31
|
+
import "./chunk-7MCEYNWK.js";
|
|
33
32
|
import "./chunk-T5SM4RXY.js";
|
|
34
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-EWKNMFS6.js";
|
|
35
34
|
import "./chunk-IVXELUEQ.js";
|
|
36
35
|
import "./chunk-AM7S2TY6.js";
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-NFTTBVL2.js";
|
|
37
|
+
import "./chunk-6A74345E.js";
|
|
38
38
|
import "./chunk-WJWRQQMS.js";
|
|
39
39
|
import "./chunk-PCV52RYM.js";
|
|
40
40
|
import "./chunk-BTSWFMEH.js";
|
|
@@ -43,7 +43,7 @@ import "./chunk-IMYGYIAI.js";
|
|
|
43
43
|
import "./chunk-NLEW62VC.js";
|
|
44
44
|
import "./chunk-3DAEZILW.js";
|
|
45
45
|
import "./chunk-DRTJCG6B.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-V3RGMCCP.js";
|
|
47
47
|
import "./chunk-CVYC6DUW.js";
|
|
48
48
|
import "./chunk-GJV3WDWM.js";
|
|
49
49
|
import {
|
|
@@ -52,23 +52,24 @@ import {
|
|
|
52
52
|
import "./chunk-MP2AFCGL.js";
|
|
53
53
|
import {
|
|
54
54
|
getClient
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
56
56
|
import "./chunk-BBMTVAE3.js";
|
|
57
57
|
import "./chunk-TKDITWDN.js";
|
|
58
|
-
import "./chunk-SINIRUYZ.js";
|
|
59
|
-
import "./chunk-6777GNWI.js";
|
|
60
|
-
import "./chunk-7FE43JRU.js";
|
|
61
58
|
import "./chunk-5YEUPUV4.js";
|
|
59
|
+
import "./chunk-4LCZYKVK.js";
|
|
60
|
+
import "./chunk-CCFWKW2D.js";
|
|
61
|
+
import "./chunk-OFC5SIIT.js";
|
|
62
|
+
import "./chunk-7FE43JRU.js";
|
|
62
63
|
import "./chunk-YYB5PMTK.js";
|
|
63
64
|
import "./chunk-WAAGVFFN.js";
|
|
64
65
|
import "./chunk-QH5ZQ5SJ.js";
|
|
65
66
|
import "./chunk-ZQEJ4IX2.js";
|
|
66
67
|
import "./chunk-C7GHNJPW.js";
|
|
67
68
|
import "./chunk-UWGQNJIE.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-7TWRCBEN.js";
|
|
70
|
+
import "./chunk-HPCCYWDP.js";
|
|
70
71
|
import "./chunk-3R7UDPVR.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-KM3S64VS.js";
|
|
72
73
|
import "./chunk-A7JYF4RG.js";
|
|
73
74
|
import "./chunk-ARX6TAGN.js";
|
|
74
75
|
import "./chunk-MMS2HBRT.js";
|
|
@@ -181,7 +182,7 @@ ${msgLines}`);
|
|
|
181
182
|
} catch {
|
|
182
183
|
}
|
|
183
184
|
try {
|
|
184
|
-
const { getPendingProspective, markSurfaced } = await import("./prospective-memory-
|
|
185
|
+
const { getPendingProspective, markSurfaced } = await import("./prospective-memory-LNZTVL5G.js");
|
|
185
186
|
const due = await getPendingProspective(agentId, { projectName, limit: 5 });
|
|
186
187
|
if (due.length > 0) {
|
|
187
188
|
const now = Date.now();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/pipeline-router.ts
|
|
6
6
|
import crypto from "crypto";
|
|
@@ -140,8 +140,8 @@ Agent response: ${agentResponse}` : ""
|
|
|
140
140
|
}
|
|
141
141
|
async function sinkEntityExtraction(msg, agentResponse, agentName) {
|
|
142
142
|
try {
|
|
143
|
-
const { extractFromConversation } = await import("./conversation-entity-extractor-
|
|
144
|
-
const { storeExtraction } = await import("./graph-rag-
|
|
143
|
+
const { extractFromConversation } = await import("./conversation-entity-extractor-VPOH26FG.js");
|
|
144
|
+
const { storeExtraction } = await import("./graph-rag-HB5X6YAF.js");
|
|
145
145
|
if ((msg.text?.length ?? 0) < 20) return false;
|
|
146
146
|
if (msg.isHistorical) return false;
|
|
147
147
|
const extraction = await extractFromConversation(msg, agentResponse, agentName);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hasLiveSubagentSpawn,
|
|
3
3
|
projectScopedDefShadows
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ALA7WYZZ.js";
|
|
5
5
|
import {
|
|
6
6
|
getSessionKey
|
|
7
7
|
} from "./chunk-CVYC6DUW.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getEmployee,
|
|
15
15
|
isCoordinatorRole,
|
|
16
16
|
loadEmployeesSync
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
18
18
|
import {
|
|
19
19
|
EXE_AI_DIR
|
|
20
20
|
} from "./chunk-MMS2HBRT.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
derivePartnerSealIdentityFromMaster
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BXLNHKVK.js";
|
|
4
4
|
import {
|
|
5
5
|
derivePartnerSignIdentityFromMaster,
|
|
6
6
|
displayFingerprint,
|
|
7
7
|
ed25519PrivateKeyFromSeed,
|
|
8
8
|
ed25519PublicKeyFromRaw
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PWJLLXGK.js";
|
|
10
10
|
import {
|
|
11
11
|
getMasterKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7TWRCBEN.js";
|
|
13
13
|
|
|
14
14
|
// src/lib/org-key-epoch.ts
|
|
15
15
|
import crypto, { sign as edSign, verify as edVerify } from "crypto";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
copyDbUnderReadSnapshot
|
|
3
|
+
} from "./chunk-CCFWKW2D.js";
|
|
1
4
|
import {
|
|
2
5
|
isPostgresBackendEnabled
|
|
3
6
|
} from "./chunk-YYB5PMTK.js";
|
|
@@ -230,7 +233,7 @@ async function preBackupCheckpoint(dbPath, checkpointMode) {
|
|
|
230
233
|
}
|
|
231
234
|
async function offloadedSourceQuickCheck(dbPath) {
|
|
232
235
|
try {
|
|
233
|
-
const { backupVerifyOffloadEnabled, runInBackupVerifyWorker, reportBackupVerifyWorkerMissing } = await import("./backup-verify-
|
|
236
|
+
const { backupVerifyOffloadEnabled, runInBackupVerifyWorker, reportBackupVerifyWorkerMissing } = await import("./backup-verify-LPCD7ETV.js");
|
|
234
237
|
if (!backupVerifyOffloadEnabled()) return null;
|
|
235
238
|
if (!backupOffloadCreds || path.resolve(backupOffloadCreds.dbPath) !== path.resolve(dbPath)) {
|
|
236
239
|
process.stderr.write(
|
|
@@ -257,10 +260,10 @@ async function offloadedSourceQuickCheck(dbPath) {
|
|
|
257
260
|
return null;
|
|
258
261
|
}
|
|
259
262
|
process.stderr.write(
|
|
260
|
-
`[db-backup] off-loop source quick_check did not complete (${run.ok ? "unexpected reply" : run.reason});
|
|
263
|
+
`[db-backup] off-loop source quick_check did not complete (${run.ok ? "unexpected reply" : run.reason}); NOT re-running it on the daemon event loop.
|
|
261
264
|
`
|
|
262
265
|
);
|
|
263
|
-
return
|
|
266
|
+
return "incomplete";
|
|
264
267
|
} catch (err) {
|
|
265
268
|
process.stderr.write(
|
|
266
269
|
`[db-backup] off-loop source quick_check failed (${err instanceof Error ? err.message : String(err)}); falling back to the main-thread check.
|
|
@@ -302,6 +305,9 @@ async function quickCheckBackupSourceAfterCopy(reason, backupPath, dbPath) {
|
|
|
302
305
|
return markUnverified("connection is query_only; an FTS5 verdict from it is not trustworthy");
|
|
303
306
|
}
|
|
304
307
|
const offloaded = await offloadedSourceQuickCheck(dbPath);
|
|
308
|
+
if (offloaded === "incomplete") {
|
|
309
|
+
return markUnverified("off-loop source quick_check did not complete; refusing to re-run a full-DB scan on the daemon event loop");
|
|
310
|
+
}
|
|
305
311
|
let result;
|
|
306
312
|
if (offloaded === "ok") {
|
|
307
313
|
result = "ok";
|
|
@@ -410,42 +416,65 @@ async function promoteTmpBackup(tmpBackupPath, backupPath, includeSidecars) {
|
|
|
410
416
|
if (existsSync(tmpSidecar)) await rename(tmpSidecar, backupPath + suffix);
|
|
411
417
|
}
|
|
412
418
|
}
|
|
413
|
-
|
|
419
|
+
var SNAPSHOT_COPY_WORKER_TIMEOUT_MS = Number(process.env.EXE_BACKUP_SNAPSHOT_COPY_TIMEOUT_MS) || 2 * 60 * 60 * 1e3;
|
|
420
|
+
var SNAPSHOT_COPY_EXIT_WITH_WAL = 3;
|
|
421
|
+
async function trySnapshotCopyWorker(dbPath, tmpBackupPath, encryptionKey) {
|
|
422
|
+
if (process.env.EXE_IS_DAEMON !== "1") return null;
|
|
423
|
+
if (!backupOffloadCreds || path.resolve(backupOffloadCreds.dbPath) !== path.resolve(dbPath)) return null;
|
|
424
|
+
const workerPath = process.env.EXE_DB_CHECKPOINT_WORKER_BIN || resolveCheckpointWorkerPath(import.meta.url);
|
|
425
|
+
if (!workerPath) {
|
|
426
|
+
process.stderr.write(
|
|
427
|
+
"[db-backup] WARNING: db-checkpoint-worker.js not found \u2014 the encrypted backup snapshot copy will run IN-PROCESS on the daemon event loop (check tsup entries).\n"
|
|
428
|
+
);
|
|
429
|
+
return null;
|
|
430
|
+
}
|
|
431
|
+
const { fork } = await import("child_process");
|
|
432
|
+
const env = {
|
|
433
|
+
...process.env,
|
|
434
|
+
EXE_DB_CHECKPOINT_PATH: dbPath,
|
|
435
|
+
EXE_DB_CHECKPOINT_MODE: "TRUNCATE",
|
|
436
|
+
EXE_DB_CHECKPOINT_BUSY_TIMEOUT_MS: String(PRE_BACKUP_CHECKPOINT_BUSY_TIMEOUT_MS),
|
|
437
|
+
EXE_DB_CHECKPOINT_KEY: encryptionKey,
|
|
438
|
+
EXE_DB_SNAPSHOT_COPY_DEST: tmpBackupPath,
|
|
439
|
+
EXE_IS_DAEMON: ""
|
|
440
|
+
};
|
|
441
|
+
const child = fork(workerPath, [], { stdio: ["ignore", "ignore", "inherit", "ipc"], env });
|
|
414
442
|
try {
|
|
415
|
-
|
|
443
|
+
child.disconnect();
|
|
416
444
|
} catch {
|
|
417
445
|
}
|
|
418
|
-
const
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
446
|
+
const exitCode = await new Promise((resolve, reject) => {
|
|
447
|
+
const timer = setTimeout(() => {
|
|
448
|
+
try {
|
|
449
|
+
child.kill("SIGKILL");
|
|
450
|
+
} catch {
|
|
451
|
+
}
|
|
452
|
+
reject(new Error(`snapshot copy worker timed out after ${SNAPSHOT_COPY_WORKER_TIMEOUT_MS}ms`));
|
|
453
|
+
}, SNAPSHOT_COPY_WORKER_TIMEOUT_MS);
|
|
454
|
+
timer.unref?.();
|
|
455
|
+
child.once("error", (err) => {
|
|
456
|
+
clearTimeout(timer);
|
|
457
|
+
reject(err);
|
|
458
|
+
});
|
|
459
|
+
child.once("exit", (code) => {
|
|
460
|
+
clearTimeout(timer);
|
|
461
|
+
resolve(code);
|
|
462
|
+
});
|
|
463
|
+
});
|
|
464
|
+
if (exitCode === 0) return "standalone";
|
|
465
|
+
if (exitCode === SNAPSHOT_COPY_EXIT_WITH_WAL) return "with-wal";
|
|
466
|
+
throw new Error(`snapshot copy worker exited with code ${exitCode}`);
|
|
429
467
|
}
|
|
430
468
|
async function createEncryptedByteBackup(dbPath, tmpBackupPath, encryptionKey) {
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
try {
|
|
441
|
-
walBytes = existsSync(dbPath + "-wal") ? statSync(dbPath + "-wal").size : 0;
|
|
442
|
-
} catch {
|
|
443
|
-
}
|
|
444
|
-
if (drained || walBytes === 0) {
|
|
445
|
-
await copyFile(dbPath, tmpBackupPath);
|
|
446
|
-
return false;
|
|
447
|
-
}
|
|
448
|
-
return copyBytePreservingSnapshot(dbPath, tmpBackupPath);
|
|
469
|
+
const offloaded = await trySnapshotCopyWorker(dbPath, tmpBackupPath, encryptionKey);
|
|
470
|
+
if (offloaded) return offloaded === "with-wal";
|
|
471
|
+
const mode = await copyDbUnderReadSnapshot({
|
|
472
|
+
dbPath,
|
|
473
|
+
destPath: tmpBackupPath,
|
|
474
|
+
encryptionKey,
|
|
475
|
+
busyTimeoutMs: PRE_BACKUP_CHECKPOINT_BUSY_TIMEOUT_MS
|
|
476
|
+
});
|
|
477
|
+
return mode === "with-wal";
|
|
449
478
|
}
|
|
450
479
|
async function resolveBackupEncryptionKey(dbPath, explicit) {
|
|
451
480
|
if (explicit) return explicit;
|
|
@@ -495,6 +524,10 @@ async function createBackupAsync(reason = "manual", opts = {}) {
|
|
|
495
524
|
enforceKeepOneRetention();
|
|
496
525
|
} catch {
|
|
497
526
|
}
|
|
527
|
+
try {
|
|
528
|
+
cleanupStaleTmp();
|
|
529
|
+
} catch {
|
|
530
|
+
}
|
|
498
531
|
}
|
|
499
532
|
let lowDisk = null;
|
|
500
533
|
try {
|
|
@@ -549,17 +582,30 @@ async function createBackupAsync(reason = "manual", opts = {}) {
|
|
|
549
582
|
await createOnlineBackup(dbPath, tmpBackupPath);
|
|
550
583
|
}
|
|
551
584
|
} catch (err) {
|
|
552
|
-
if (!preserveForRestore)
|
|
585
|
+
if (!preserveForRestore) {
|
|
586
|
+
recordFailedBackupAttempt(reason, `copy failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
587
|
+
for (const p of [tmpBackupPath, `${tmpBackupPath}-wal`]) {
|
|
588
|
+
try {
|
|
589
|
+
unlinkSync(p);
|
|
590
|
+
} catch {
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
throw err;
|
|
594
|
+
}
|
|
553
595
|
bytePreservingSidecars = await copyBytePreservingSnapshot(dbPath, tmpBackupPath);
|
|
554
596
|
}
|
|
555
597
|
markBackupInFlight(backupPath);
|
|
556
598
|
try {
|
|
557
599
|
await promoteTmpBackup(tmpBackupPath, backupPath, bytePreservingSidecars);
|
|
558
600
|
const sourceStatus = preserveForRestore ? null : await quickCheckBackupSourceAfterCopy(reason, backupPath, dbPath);
|
|
559
|
-
if (sourceStatus === "failed")
|
|
601
|
+
if (sourceStatus === "failed") {
|
|
602
|
+
recordFailedBackupAttempt(reason, "backup source failed quick_check; copy quarantined");
|
|
603
|
+
return null;
|
|
604
|
+
}
|
|
560
605
|
if (sourceStatus === "repaired") {
|
|
561
606
|
if (opts._retriedAfterFtsRepair) {
|
|
562
607
|
process.stderr.write("[db-backup] ERROR: backup source still failed after FTS repair retry; refusing to keep backup.\n");
|
|
608
|
+
recordFailedBackupAttempt(reason, "backup source still failed quick_check after FTS repair retry");
|
|
563
609
|
return null;
|
|
564
610
|
}
|
|
565
611
|
return createBackupAsync(reason, { ...opts, _retriedAfterFtsRepair: true });
|
|
@@ -576,7 +622,7 @@ async function createBackupAsync(reason = "manual", opts = {}) {
|
|
|
576
622
|
let artifactState = "not-checked";
|
|
577
623
|
let artifactDetail = "artifact read-back did not run";
|
|
578
624
|
try {
|
|
579
|
-
const { manifestWriteEnabled, readBackBackupArtifact, manifestPathFor } = await import("./backup-verify-
|
|
625
|
+
const { manifestWriteEnabled, readBackBackupArtifact, manifestPathFor } = await import("./backup-verify-LPCD7ETV.js");
|
|
580
626
|
if (manifestWriteEnabled()) {
|
|
581
627
|
const readback = await readBackBackupArtifact(backupPath, dbName, { keyHex: encryptionKey });
|
|
582
628
|
artifactState = readback.artifact;
|
|
@@ -605,6 +651,7 @@ async function createBackupAsync(reason = "manual", opts = {}) {
|
|
|
605
651
|
`[db-backup] ERROR: backup (${reason}) produced an UNREADABLE artifact \u2014 ${artifactDetail}. The live source passed its own check; the COPY did not. ` + (quarantined ? `Quarantined as ${path.basename(quarantined)}.` : `Quarantine rename FAILED \u2014 remove ${backupBase} manually.`) + ` This file is NOT a valid backup.
|
|
606
652
|
`
|
|
607
653
|
);
|
|
654
|
+
recordFailedBackupAttempt(reason, `artifact unreadable: ${artifactDetail}`);
|
|
608
655
|
return null;
|
|
609
656
|
}
|
|
610
657
|
if (artifactState === "readable") {
|
|
@@ -649,10 +696,14 @@ async function createBackupAsync(reason = "manual", opts = {}) {
|
|
|
649
696
|
`[db-backup] ERROR: backup (${reason}) left a ${walBytes}-byte WAL with no manifest \u2014 unverifiable image. ` + (quarantined ? `Quarantined as ${path.basename(quarantined)}.` : `Quarantine rename FAILED \u2014 remove ${path.basename(backupPath)} manually.`) + ` This file is NOT a valid backup.
|
|
650
697
|
`
|
|
651
698
|
);
|
|
652
|
-
if (reason !== "pre-restore")
|
|
699
|
+
if (reason !== "pre-restore") {
|
|
700
|
+
recordFailedBackupAttempt(reason, `dirty-WAL image without manifest (wal=${walBytes} bytes)`);
|
|
701
|
+
return null;
|
|
702
|
+
}
|
|
653
703
|
}
|
|
654
704
|
}
|
|
655
705
|
clearBackupInFlight(backupPath);
|
|
706
|
+
if (reason !== "pre-restore") clearFailedBackupAttempt(reason);
|
|
656
707
|
if (!opts.skipRetention) {
|
|
657
708
|
try {
|
|
658
709
|
enforceRetention(reason);
|
|
@@ -747,7 +798,7 @@ function cleanupStaleTmp(maxAgeMs = STALE_TMP_MAX_AGE_MS) {
|
|
|
747
798
|
try {
|
|
748
799
|
const candidates = [];
|
|
749
800
|
for (const file of readdirSync(BACKUP_DIR)) {
|
|
750
|
-
if (
|
|
801
|
+
if (!/\.tmp(?:-wal|-shm)?$/.test(file)) continue;
|
|
751
802
|
const filePath = path.join(BACKUP_DIR, file);
|
|
752
803
|
try {
|
|
753
804
|
candidates.push({ path: filePath, mtimeMs: statSync(filePath).mtimeMs });
|
|
@@ -816,7 +867,7 @@ function recordMissedBackup(entry) {
|
|
|
816
867
|
function alertMissedBackup(message, skipped) {
|
|
817
868
|
void (async () => {
|
|
818
869
|
try {
|
|
819
|
-
const { pushNotifyAsync } = await import("./push-notifications-
|
|
870
|
+
const { pushNotifyAsync } = await import("./push-notifications-QT2KL3GR.js");
|
|
820
871
|
pushNotifyAsync({
|
|
821
872
|
event: "backup_failed",
|
|
822
873
|
title: skipped ? "Backup SKIPPED \u2014 disk full" : "Backup FAILED \u2014 disk full",
|
|
@@ -1272,6 +1323,32 @@ function hasRecentBackup(reason, withinMs, deps = REAL_RECENT_BACKUP_DEPS) {
|
|
|
1272
1323
|
}
|
|
1273
1324
|
return false;
|
|
1274
1325
|
}
|
|
1326
|
+
function failedBackupAttemptMarkerPath(reason, backupDir = BACKUP_DIR) {
|
|
1327
|
+
return path.join(backupDir, `.last-failed-attempt-${reason.replace(/[^A-Za-z0-9_-]/g, "_")}.json`);
|
|
1328
|
+
}
|
|
1329
|
+
function recordFailedBackupAttempt(reason, detail, backupDir = BACKUP_DIR) {
|
|
1330
|
+
try {
|
|
1331
|
+
writeFileSync(
|
|
1332
|
+
failedBackupAttemptMarkerPath(reason, backupDir),
|
|
1333
|
+
JSON.stringify({ reason, at: (/* @__PURE__ */ new Date()).toISOString(), detail: detail.slice(0, 500) }) + "\n"
|
|
1334
|
+
);
|
|
1335
|
+
} catch {
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
function clearFailedBackupAttempt(reason, backupDir = BACKUP_DIR) {
|
|
1339
|
+
try {
|
|
1340
|
+
unlinkSync(failedBackupAttemptMarkerPath(reason, backupDir));
|
|
1341
|
+
} catch {
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
function hasRecentFailedBackupAttempt(reason, withinMs, deps = REAL_RECENT_BACKUP_DEPS) {
|
|
1345
|
+
try {
|
|
1346
|
+
const mtime = deps.statMtimeMs(failedBackupAttemptMarkerPath(reason, deps.backupDir));
|
|
1347
|
+
return deps.now() - mtime <= withinMs;
|
|
1348
|
+
} catch {
|
|
1349
|
+
return false;
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1275
1352
|
function shouldMakePreRestartBackup(existingBackupMtimesMs, now, windowMs = preRestartDedupWindowMs()) {
|
|
1276
1353
|
return !existingBackupMtimesMs.some((mtime) => now - mtime <= windowMs);
|
|
1277
1354
|
}
|
|
@@ -1356,6 +1433,7 @@ export {
|
|
|
1356
1433
|
resolveQuickCheckRoute,
|
|
1357
1434
|
resolveCheckpointWorkerPath,
|
|
1358
1435
|
preBackupCheckpoint,
|
|
1436
|
+
SNAPSHOT_COPY_EXIT_WITH_WAL,
|
|
1359
1437
|
shouldQuarantineDirtyWalBackup,
|
|
1360
1438
|
quarantineDirtyWalBackup,
|
|
1361
1439
|
createBackup,
|
|
@@ -1396,6 +1474,10 @@ export {
|
|
|
1396
1474
|
DEFAULT_PRE_RESTART_DEDUP_MS,
|
|
1397
1475
|
preRestartDedupWindowMs,
|
|
1398
1476
|
hasRecentBackup,
|
|
1477
|
+
failedBackupAttemptMarkerPath,
|
|
1478
|
+
recordFailedBackupAttempt,
|
|
1479
|
+
clearFailedBackupAttempt,
|
|
1480
|
+
hasRecentFailedBackupAttempt,
|
|
1399
1481
|
shouldMakePreRestartBackup,
|
|
1400
1482
|
isUnverifiableDirtyWalBackup,
|
|
1401
1483
|
getLatestBackup,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
readPostinstallFailureMarker
|
|
3
|
+
} from "./chunk-SNHYZYGZ.js";
|
|
1
4
|
import {
|
|
2
5
|
buildRestartReport,
|
|
3
6
|
formatRestartReport
|
|
4
7
|
} from "./chunk-VPHJ2LUI.js";
|
|
5
|
-
import {
|
|
6
|
-
readPostinstallFailureMarker
|
|
7
|
-
} from "./chunk-SNHYZYGZ.js";
|
|
8
8
|
import {
|
|
9
9
|
EXE_HOOK_MANIFEST,
|
|
10
10
|
LEGACY_SPLIT_POST_TOOL_HOOK_MARKERS,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
formatDegradations,
|
|
23
23
|
getRetrievalHealth
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JVFXB46L.js";
|
|
25
25
|
import {
|
|
26
26
|
cleanupLocalSecretResidue,
|
|
27
27
|
inventoryLocalSecretResidue,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
offloadReadIfMain,
|
|
41
41
|
repairFtsTable
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
43
43
|
|
|
44
44
|
// src/bin/exe-doctor.ts
|
|
45
45
|
import os from "os";
|
|
@@ -688,7 +688,7 @@ function auditHookOwnership() {
|
|
|
688
688
|
}
|
|
689
689
|
async function auditShards() {
|
|
690
690
|
try {
|
|
691
|
-
const { auditShardHealth } = await import("./shard-manager-
|
|
691
|
+
const { auditShardHealth } = await import("./shard-manager-UM3UYDLV.js");
|
|
692
692
|
const report = await auditShardHealth();
|
|
693
693
|
return {
|
|
694
694
|
total: report.total,
|
|
@@ -815,7 +815,7 @@ async function auditManagedShims(opts) {
|
|
|
815
815
|
const binDir = path.join(homeDir, ".local", "bin");
|
|
816
816
|
const packageRoot = opts?.packageRoot !== void 0 ? opts.packageRoot : findExeOsPackageRoot(moduleFile, { existsFn: exists });
|
|
817
817
|
const expected = packageRoot ? readBinEntries(packageRoot).map((e) => e.name) : [];
|
|
818
|
-
const loginPath = await resolveLoginPath(env);
|
|
818
|
+
const loginPath = await resolveLoginPath(env, opts?.loginPathTimeoutMs);
|
|
819
819
|
const onLoginPath = loginPath.unknown || !loginPath.path ? "unknown" : isDirOnPath(binDir, loginPath.path) ? "yes" : "no";
|
|
820
820
|
const checks = expected.map((name) => inspectManagedShim(binDir, name, exists));
|
|
821
821
|
const missing = checks.filter((c) => !c.present).map((c) => c.name);
|
|
@@ -1373,7 +1373,7 @@ function shouldFixShards(shards) {
|
|
|
1373
1373
|
return shards.unreadable > 0 || shards.schemaMismatches > 0;
|
|
1374
1374
|
}
|
|
1375
1375
|
async function fixShards(dryRun) {
|
|
1376
|
-
const { auditShardHealth } = await import("./shard-manager-
|
|
1376
|
+
const { auditShardHealth } = await import("./shard-manager-UM3UYDLV.js");
|
|
1377
1377
|
const report = await auditShardHealth({ repair: true, dryRun });
|
|
1378
1378
|
return {
|
|
1379
1379
|
total: report.total,
|
|
@@ -1450,7 +1450,7 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
1450
1450
|
console.log(formatRestartReport(restartReport));
|
|
1451
1451
|
return emptyAuditReport();
|
|
1452
1452
|
}
|
|
1453
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
1453
|
+
const { fastDbInit } = await import("./fast-db-init-QYF42NZP.js");
|
|
1454
1454
|
const client = await fastDbInit();
|
|
1455
1455
|
const report = await runAudit(client, flags);
|
|
1456
1456
|
console.log(formatReport(report, flags));
|