@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
|
@@ -2793,7 +2793,130 @@ function hasLiveCommandOrProcessSubstitution(text) {
|
|
|
2793
2793
|
}
|
|
2794
2794
|
return state !== "none";
|
|
2795
2795
|
}
|
|
2796
|
-
|
|
2796
|
+
var CODE_LOADING_BUILTIN = /(?<![\w./$-])(?:eval|source|trap|fc|sched|emulate|enable|disable|autoload|zmodload|setopt|unsetopt|shopt)(?![\w./-])/;
|
|
2797
|
+
var DOT_SOURCE_COMMAND = /(?:^|[\s;&|(){}!<>])\.(?=$|[\s;&|(){}<>])/;
|
|
2798
|
+
var NAME_RESOLUTION_VARIABLE = /(?<![\w$])(?:PATH|FPATH|BASH_ALIASES|BASH_CMDS|BASH_ENV|ENV|ZDOTDIR|BASH_LOADABLES_PATH|(?:LD|DYLD)_[A-Z0-9_]+|PYTHONPATH|PYTHONHOME|PYTHONSTARTUP|NODE_OPTIONS|NODE_PATH|PERL5OPT|PERL5LIB|RUBYOPT|RUBYLIB|RIPGREP_CONFIG_PATH|LESSOPEN|LESSCLOSE)(?!\w)|(?<![\w./$-])(?:path|fpath|module_path|aliases|galiases|saliases|functions|commands|dis_aliases|dis_galiases|dis_saliases|dis_functions|dis_builtins|dis_reswords)(?![\w./-])/;
|
|
2799
|
+
var STATE_CHANGING_EXPANSION = /\$\{(?:[\s|(~=^]|[^}]*=)/;
|
|
2800
|
+
var LITERAL_ARGUMENT_PROGRAMS = /* @__PURE__ */ new Set([
|
|
2801
|
+
...LEDGER_READ_ONLY_PROGRAMS,
|
|
2802
|
+
"cd",
|
|
2803
|
+
"pushd",
|
|
2804
|
+
"popd",
|
|
2805
|
+
"echo",
|
|
2806
|
+
"[",
|
|
2807
|
+
"test",
|
|
2808
|
+
"find",
|
|
2809
|
+
"xargs",
|
|
2810
|
+
"jq",
|
|
2811
|
+
"sed",
|
|
2812
|
+
"awk",
|
|
2813
|
+
"sort",
|
|
2814
|
+
"uniq",
|
|
2815
|
+
"cut",
|
|
2816
|
+
"tr",
|
|
2817
|
+
"git",
|
|
2818
|
+
"node",
|
|
2819
|
+
"python3"
|
|
2820
|
+
]);
|
|
2821
|
+
var COMMAND_PREFIX_RESERVED_WORDS = /* @__PURE__ */ new Set(["if", "then", "elif", "else", "do", "while", "until", "!", "time"]);
|
|
2822
|
+
function dequoteForNameScan(text) {
|
|
2823
|
+
return text.replace(/\\\r?\n/g, "").replace(/['"\\]/g, "");
|
|
2824
|
+
}
|
|
2825
|
+
function blankQuotedText(text) {
|
|
2826
|
+
let state = "none";
|
|
2827
|
+
let out = "";
|
|
2828
|
+
for (let i = 0; i < text.length; i++) {
|
|
2829
|
+
const ch = text[i];
|
|
2830
|
+
const next = text[i + 1];
|
|
2831
|
+
if (state === "single") {
|
|
2832
|
+
if (ch === "'") state = "none";
|
|
2833
|
+
out += " ";
|
|
2834
|
+
continue;
|
|
2835
|
+
}
|
|
2836
|
+
if (state === "ansiC") {
|
|
2837
|
+
if (ch === "\\" && next !== void 0) {
|
|
2838
|
+
out += " ";
|
|
2839
|
+
i++;
|
|
2840
|
+
continue;
|
|
2841
|
+
}
|
|
2842
|
+
if (ch === "'") state = "none";
|
|
2843
|
+
out += " ";
|
|
2844
|
+
continue;
|
|
2845
|
+
}
|
|
2846
|
+
if (state === "double") {
|
|
2847
|
+
if (ch === "\\" && (next === "$" || next === "`" || next === '"' || next === "\\" || next === "\n")) {
|
|
2848
|
+
out += " ";
|
|
2849
|
+
i++;
|
|
2850
|
+
continue;
|
|
2851
|
+
}
|
|
2852
|
+
if (ch === '"') state = "none";
|
|
2853
|
+
out += " ";
|
|
2854
|
+
continue;
|
|
2855
|
+
}
|
|
2856
|
+
if (ch === "\\" && next !== void 0) {
|
|
2857
|
+
out += " ";
|
|
2858
|
+
i++;
|
|
2859
|
+
continue;
|
|
2860
|
+
}
|
|
2861
|
+
if (ch === "'") {
|
|
2862
|
+
state = "single";
|
|
2863
|
+
out += " ";
|
|
2864
|
+
continue;
|
|
2865
|
+
}
|
|
2866
|
+
if (ch === "$" && next === "'") {
|
|
2867
|
+
state = "ansiC";
|
|
2868
|
+
out += " ";
|
|
2869
|
+
i++;
|
|
2870
|
+
continue;
|
|
2871
|
+
}
|
|
2872
|
+
if (ch === '"') {
|
|
2873
|
+
state = "double";
|
|
2874
|
+
out += " ";
|
|
2875
|
+
continue;
|
|
2876
|
+
}
|
|
2877
|
+
out += ch;
|
|
2878
|
+
}
|
|
2879
|
+
return state === "none" ? out : null;
|
|
2880
|
+
}
|
|
2881
|
+
var QUOTE_TRACKING_UNRELIABLE = /<<(?!<)|`|\$[([{]|\(\(|#/;
|
|
2882
|
+
function segmentMayRunDynamicCommandWord(segment, globs) {
|
|
2883
|
+
const text = segment.replace(/\\\r?\n/g, " ").trim();
|
|
2884
|
+
const unquoted = blankQuotedText(text);
|
|
2885
|
+
if (unquoted !== null && !/[()\n\r;&|]/.test(unquoted) && !/(?:^|\s)[{}](?=\s|$)/.test(unquoted)) {
|
|
2886
|
+
const words = text.split(/\s+/);
|
|
2887
|
+
let index = 0;
|
|
2888
|
+
while (index < words.length && COMMAND_PREFIX_RESERVED_WORDS.has(words[index])) index++;
|
|
2889
|
+
while (index < words.length && /^[A-Za-z_][A-Za-z0-9_]*=[^'"\\`$]*$/.test(words[index]) && isInertAssignment(words[index])) index++;
|
|
2890
|
+
const word = words[index];
|
|
2891
|
+
if (word !== void 0 && (word === "[" || /^[\w.+@/-]+$/.test(word)) && LITERAL_ARGUMENT_PROGRAMS.has(path2.basename(word))) return false;
|
|
2892
|
+
}
|
|
2893
|
+
if (/[$`]/.test(text)) return true;
|
|
2894
|
+
if (globs === "never") return false;
|
|
2895
|
+
const scanned = globs === "outside-quotes" && unquoted !== null ? unquoted : text;
|
|
2896
|
+
return /[*?[{^]|(?<=\S)#/.test(scanned.replaceAll("{}", ""));
|
|
2897
|
+
}
|
|
2898
|
+
function programNamesMayBeRedefined(command, quoteAwareSegments, naiveSegments) {
|
|
2899
|
+
const joined = command.replace(/\\\r?\n/g, "");
|
|
2900
|
+
const { masked, literals, commands } = maskSingleQuotedWords(joined);
|
|
2901
|
+
const nameScan = literals.length === 0 || QUOTE_TRACKING_UNRELIABLE.test(joined) ? joined : masked.replace(/\u0001(\d+)\u0001/g, (placeholder, n) => /^(?:grep|egrep|fgrep|python3)\s/.test((commands[Number(n)] ?? "").trimStart()) ? placeholder : `'${literals[Number(n)]}'`);
|
|
2902
|
+
const names = dequoteForNameScan(nameScan);
|
|
2903
|
+
if (/\(\s*\)/.test(nameScan)) return true;
|
|
2904
|
+
if (/(?<!\w)function(?!\w)/.test(nameScan)) return true;
|
|
2905
|
+
if (CODE_LOADING_BUILTIN.test(names) || DOT_SOURCE_COMMAND.test(names)) return true;
|
|
2906
|
+
for (const match of names.matchAll(/(?<![\w./$-])(?:alias|hash)(?![\w./-])([^;&|\n]*)/g)) {
|
|
2907
|
+
if (/\s(?:-|[^\s=]*=)/.test(match[1])) return true;
|
|
2908
|
+
}
|
|
2909
|
+
if (NAME_RESOLUTION_VARIABLE.test(names)) return true;
|
|
2910
|
+
if (STATE_CHANGING_EXPANSION.test(joined)) return true;
|
|
2911
|
+
if (/(?<![\w-])--pre(?![\w-])/.test(dequoteForNameScan(command))) return true;
|
|
2912
|
+
const naiveGlobs = QUOTE_TRACKING_UNRELIABLE.test(command) ? "everywhere" : "never";
|
|
2913
|
+
return quoteAwareSegments.some((segment) => segmentMayRunDynamicCommandWord(segment, "outside-quotes")) || naiveSegments.some((segment) => segmentMayRunDynamicCommandWord(segment, naiveGlobs));
|
|
2914
|
+
}
|
|
2915
|
+
function rgOptionsMayBeHidden(segment) {
|
|
2916
|
+
const { masked } = maskSingleQuotedWords(segment);
|
|
2917
|
+
return tokenizeShell(masked).tokens.some((token) => !QUOTED_LITERAL_PLACEHOLDER.test(token) && /[$`*?[{]/.test(token));
|
|
2918
|
+
}
|
|
2919
|
+
function commandMutatesLedger(command, ledgerPath, homeDir, cwd, env, depth = 0, namesRedefinedByCaller = false) {
|
|
2797
2920
|
if (depth > 8) return true;
|
|
2798
2921
|
const quoteAwareSegments = splitShellSegments(command).flatMap((segment) => {
|
|
2799
2922
|
const tokens = tokenizeShell(segment).tokens;
|
|
@@ -2803,7 +2926,8 @@ function commandMutatesLedger(command, ledgerPath, homeDir, cwd, env, depth = 0)
|
|
|
2803
2926
|
const tokens = tokenizeShell(segment).tokens;
|
|
2804
2927
|
return tokens.some((_token, index) => shellDashCScriptIndex(tokens, index) >= 0) ? [segment] : splitNaiveOutsideSingleQuotedWords(segment);
|
|
2805
2928
|
});
|
|
2806
|
-
|
|
2929
|
+
const namesMayBeRedefined = namesRedefinedByCaller || programNamesMayBeRedefined(command, quoteAwareSegments, naiveSegments);
|
|
2930
|
+
return commandMutatesLedgerForSegments(quoteAwareSegments, command, ledgerPath, homeDir, cwd, env, depth, namesMayBeRedefined) || commandMutatesLedgerForSegments(naiveSegments, command, ledgerPath, homeDir, cwd, env, depth, namesMayBeRedefined);
|
|
2807
2931
|
}
|
|
2808
2932
|
function splitNaiveOutsideSingleQuotedWords(segment) {
|
|
2809
2933
|
const { masked, literals } = maskSingleQuotedWords(segment);
|
|
@@ -2824,7 +2948,7 @@ function rejoinSplitFdDuplications(segments) {
|
|
|
2824
2948
|
}
|
|
2825
2949
|
return rejoined;
|
|
2826
2950
|
}
|
|
2827
|
-
function commandMutatesLedgerForSegments(rawSegments, command, ledgerPath, homeDir, cwd, env, depth) {
|
|
2951
|
+
function commandMutatesLedgerForSegments(rawSegments, command, ledgerPath, homeDir, cwd, env, depth, namesMayBeRedefined) {
|
|
2828
2952
|
const segments = rejoinSplitFdDuplications(rawSegments);
|
|
2829
2953
|
const rawLedgerPath = path2.resolve(ledgerPath);
|
|
2830
2954
|
const rawAuditDir = path2.dirname(rawLedgerPath);
|
|
@@ -2833,7 +2957,7 @@ function commandMutatesLedgerForSegments(rawSegments, command, ledgerPath, homeD
|
|
|
2833
2957
|
const npmRootGSubstitutionPolluted = npmRootGSubstitutionMayBePolluted(command, env);
|
|
2834
2958
|
const verdictOf = (text, directory = cwd) => segmentAuditVerdict(text, auditDir, ledgerFile, rawLedgerPath, rawAuditDir, homeDir, directory, env);
|
|
2835
2959
|
if (segments.length === 0) return verdictOf(command) !== "no";
|
|
2836
|
-
const feedsMutatingXargs = segments.some(xargsRunsMutatingCommand);
|
|
2960
|
+
const feedsMutatingXargs = segments.some((segment) => xargsRunsMutatingCommand(segment, namesMayBeRedefined));
|
|
2837
2961
|
let accountedFor = false;
|
|
2838
2962
|
const directories = /* @__PURE__ */ new Set([cwd]);
|
|
2839
2963
|
let unknownDirectory = false;
|
|
@@ -2842,9 +2966,9 @@ function commandMutatesLedgerForSegments(rawSegments, command, ledgerPath, homeD
|
|
|
2842
2966
|
for (let index = 0; index < tokens.length; index++) {
|
|
2843
2967
|
const scriptIndex = shellDashCScriptIndex(tokens, index);
|
|
2844
2968
|
if (scriptIndex < 0) continue;
|
|
2845
|
-
if (unknownDirectory || [...directories].some((directory) => commandMutatesLedger(tokens[scriptIndex], ledgerPath, homeDir, directory, env, depth + 1))) return true;
|
|
2969
|
+
if (unknownDirectory || [...directories].some((directory) => commandMutatesLedger(tokens[scriptIndex], ledgerPath, homeDir, directory, env, depth + 1, namesMayBeRedefined))) return true;
|
|
2846
2970
|
}
|
|
2847
|
-
const findRoots = destructiveFindRoots(seg, feedsMutatingXargs);
|
|
2971
|
+
const findRoots = destructiveFindRoots(seg, feedsMutatingXargs, namesMayBeRedefined);
|
|
2848
2972
|
if (findRoots !== null && (unknownDirectory || findRoots.some(({ root, cwdUnknown, followsSymlinks }) => [...directories].some((directory) => targetMayReachAudit(root, directory, auditDir, ledgerFile, homeDir, env, { cwdUnknown, followsSymlinks }))))) return true;
|
|
2849
2973
|
if (isTrustedNodeBootLine(seg, homeDir, env, npmRootGSubstitutionPolluted)) {
|
|
2850
2974
|
accountedFor = true;
|
|
@@ -2872,7 +2996,7 @@ function commandMutatesLedgerForSegments(rawSegments, command, ledgerPath, homeD
|
|
|
2872
2996
|
const verdict = verdicts.includes("yes") ? "yes" : unknownDirectory || verdicts.includes("unverified") ? "unverified" : "no";
|
|
2873
2997
|
if (verdict === "no") continue;
|
|
2874
2998
|
accountedFor = true;
|
|
2875
|
-
if (segmentHasOnlyAllowlistedRedirects(seg) && !hasLiveCommandOrProcessSubstitution(seg) && [...directories].every((directory) => LEDGER_READ_ONLY_PROGRAMS.has(segmentProgram(seg, directory)))) continue;
|
|
2999
|
+
if (!namesMayBeRedefined && segmentHasOnlyAllowlistedRedirects(seg) && !hasLiveCommandOrProcessSubstitution(seg) && [...directories].every((directory) => LEDGER_READ_ONLY_PROGRAMS.has(segmentProgram(seg, directory))) && !([...directories].some((directory) => segmentProgram(seg, directory) === "rg") && rgOptionsMayBeHidden(seg))) continue;
|
|
2876
3000
|
return true;
|
|
2877
3001
|
}
|
|
2878
3002
|
return !accountedFor && verdictOf(command) === "yes";
|
|
@@ -2880,30 +3004,30 @@ function commandMutatesLedgerForSegments(rawSegments, command, ledgerPath, homeD
|
|
|
2880
3004
|
var FIND_WRITING_ACTIONS = /* @__PURE__ */ new Set(["-delete", "-fprint", "-fprint0", "-fprintf", "-fls"]);
|
|
2881
3005
|
var FIND_EXEC_ACTIONS = /* @__PURE__ */ new Set(["-exec", "-execdir", "-ok", "-okdir"]);
|
|
2882
3006
|
var XARGS_OPTIONS_WITH_ARGUMENT = /* @__PURE__ */ new Set(["-I", "-L", "-n", "-P", "-s", "-d", "-E", "-a", "-J", "-R", "-S"]);
|
|
2883
|
-
function isMutatingProgram(word) {
|
|
2884
|
-
return word === void 0 || !LEDGER_READ_ONLY_PROGRAMS.has(path2.basename(word));
|
|
3007
|
+
function isMutatingProgram(word, namesMayBeRedefined = false) {
|
|
3008
|
+
return namesMayBeRedefined || word === void 0 || !LEDGER_READ_ONLY_PROGRAMS.has(path2.basename(word));
|
|
2885
3009
|
}
|
|
2886
|
-
function xargsRunsMutatingCommand(segment) {
|
|
2887
|
-
return unwrapCommand(commandWords(segment)).some((command) => !command.undetermined && xargsArgvRunsMutating(command.argv));
|
|
3010
|
+
function xargsRunsMutatingCommand(segment, namesMayBeRedefined = false) {
|
|
3011
|
+
return unwrapCommand(commandWords(segment)).some((command) => !command.undetermined && xargsArgvRunsMutating(command.argv, namesMayBeRedefined));
|
|
2888
3012
|
}
|
|
2889
|
-
function xargsArgvRunsMutating(tokens) {
|
|
3013
|
+
function xargsArgvRunsMutating(tokens, namesMayBeRedefined = false) {
|
|
2890
3014
|
if (tokens.length === 0 || path2.basename(tokens[0]) !== "xargs") return false;
|
|
2891
3015
|
let index = 1;
|
|
2892
3016
|
while (index < tokens.length && tokens[index].startsWith("-")) {
|
|
2893
3017
|
index += XARGS_OPTIONS_WITH_ARGUMENT.has(tokens[index]) ? 2 : 1;
|
|
2894
3018
|
}
|
|
2895
|
-
return index < tokens.length
|
|
3019
|
+
return index < tokens.length ? isMutatingProgram(tokens[index], namesMayBeRedefined) : namesMayBeRedefined;
|
|
2896
3020
|
}
|
|
2897
|
-
function destructiveFindRoots(segment, feedsMutatingXargs) {
|
|
3021
|
+
function destructiveFindRoots(segment, feedsMutatingXargs, namesMayBeRedefined = false) {
|
|
2898
3022
|
const found = [];
|
|
2899
3023
|
for (const command of unwrapCommand(commandWords(segment))) {
|
|
2900
3024
|
if (command.undetermined) return [{ root: UNKNOWN_TARGET, cwdUnknown: true, followsSymlinks: false }];
|
|
2901
|
-
const plan = destructiveFindPlan(command.argv, feedsMutatingXargs);
|
|
3025
|
+
const plan = destructiveFindPlan(command.argv, feedsMutatingXargs, namesMayBeRedefined);
|
|
2902
3026
|
if (plan) found.push(...plan.roots.map((root) => ({ root, cwdUnknown: command.cwdUnknown, followsSymlinks: plan.followsSymlinks })));
|
|
2903
3027
|
}
|
|
2904
3028
|
return found.length > 0 ? found : null;
|
|
2905
3029
|
}
|
|
2906
|
-
function destructiveFindPlan(tokens, feedsMutatingXargs) {
|
|
3030
|
+
function destructiveFindPlan(tokens, feedsMutatingXargs, namesMayBeRedefined = false) {
|
|
2907
3031
|
if (tokens.length === 0 || path2.basename(tokens[0]) !== "find") return null;
|
|
2908
3032
|
let index = 1;
|
|
2909
3033
|
const roots = [];
|
|
@@ -2929,7 +3053,7 @@ function destructiveFindPlan(tokens, feedsMutatingXargs) {
|
|
|
2929
3053
|
}
|
|
2930
3054
|
while (index < tokens.length && !/^[-(!),]/.test(tokens[index])) roots.push(tokens[index++]);
|
|
2931
3055
|
const expression = tokens.slice(index);
|
|
2932
|
-
const writes = feedsMutatingXargs || expression.some((token, i) => FIND_WRITING_ACTIONS.has(token) || FIND_EXEC_ACTIONS.has(token) && isMutatingProgram(expression[i + 1]));
|
|
3056
|
+
const writes = feedsMutatingXargs || expression.some((token, i) => FIND_WRITING_ACTIONS.has(token) || FIND_EXEC_ACTIONS.has(token) && isMutatingProgram(expression[i + 1], namesMayBeRedefined));
|
|
2933
3057
|
if (!writes) return null;
|
|
2934
3058
|
if (expression.includes("-follow")) followsSymlinks = true;
|
|
2935
3059
|
if (expression.includes("-files0-from")) return { roots: [UNKNOWN_TARGET], followsSymlinks };
|
|
@@ -140,7 +140,7 @@ async function assertManifestSignature(manifest, publicKeyPem) {
|
|
|
140
140
|
"manifest carries no `signature`. Fleets that enforce EXE_STACK_PUBLIC_KEY reject unsigned manifests, so publishing one would ship a release no host can install. Re-sign with the custodied key: node scripts/sign-stack-manifest.mjs deploy/stack-manifests/v0.9.json"
|
|
141
141
|
);
|
|
142
142
|
}
|
|
143
|
-
const { verifyStackManifestSignature } = await import("./stack-update-
|
|
143
|
+
const { verifyStackManifestSignature } = await import("./stack-update-QXABQSHS.js");
|
|
144
144
|
try {
|
|
145
145
|
verifyStackManifestSignature(manifest, publicKeyPem);
|
|
146
146
|
} catch (err) {
|
|
@@ -1008,7 +1008,7 @@ async function runRegistryProxy(options = registryProxyOptionsFromEnv()) {
|
|
|
1008
1008
|
await new Promise((resolve) => server.listen(options.port, options.host, resolve));
|
|
1009
1009
|
console.log(`exe-registry-proxy listening on ${options.host ?? "0.0.0.0"}:${options.port}`);
|
|
1010
1010
|
console.log(`proxying /v2/${options.allowedNamespace ?? "askexe"}/* -> ${options.upstream ?? "https://ghcr.io"}`);
|
|
1011
|
-
const { licenseSyncConfigFromEnv, startLicenseSyncScheduler } = await import("./license-sync-
|
|
1011
|
+
const { licenseSyncConfigFromEnv, startLicenseSyncScheduler } = await import("./license-sync-LV53TSOT.js");
|
|
1012
1012
|
const syncConfig = licenseSyncConfigFromEnv();
|
|
1013
1013
|
if (syncConfig) {
|
|
1014
1014
|
startLicenseSyncScheduler(syncConfig);
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-BTSWFMEH.js";
|
|
11
11
|
import {
|
|
12
12
|
getClient
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
14
14
|
|
|
15
15
|
// src/lib/work-claims.ts
|
|
16
16
|
var CLAIM_TTL_MINUTES = 90;
|
|
@@ -306,7 +306,7 @@ async function heartbeatClaims(holderSession, ttlMinutes = CLAIM_TTL_MINUTES) {
|
|
|
306
306
|
}
|
|
307
307
|
async function recordClaimEvent(eventType, sessionScope, agentId, payload, severity) {
|
|
308
308
|
try {
|
|
309
|
-
const { recordOrchestrationEventBestEffort } = await import("./orchestration-events-
|
|
309
|
+
const { recordOrchestrationEventBestEffort } = await import("./orchestration-events-U6DT373C.js");
|
|
310
310
|
recordOrchestrationEventBestEffort({
|
|
311
311
|
eventType,
|
|
312
312
|
source: "work-claims",
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
} from "./chunk-EVMOKRBC.js";
|
|
5
5
|
import {
|
|
6
6
|
registerDaemonScopedQueryChokepoint
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GYRAI7PP.js";
|
|
8
8
|
import {
|
|
9
9
|
orgPartnerModeActive,
|
|
10
10
|
requireOrgPartnerBinding,
|
|
11
11
|
resolveOrgPartnerBindings,
|
|
12
12
|
resolvePartnerIdentities,
|
|
13
13
|
rosterKeyLookupFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LXDNPWX7.js";
|
|
15
15
|
import {
|
|
16
16
|
createDerivedSeqStore,
|
|
17
17
|
createMailboxOpener,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
isConsentMacPrimed,
|
|
21
21
|
primeTaskOriginMarkerKey,
|
|
22
22
|
scopedQueryChokepointStatus
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AJTNEIFI.js";
|
|
24
24
|
import {
|
|
25
25
|
flushMailboxOutbox
|
|
26
26
|
} from "./chunk-3FGBBJYM.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withScopedReadWindow
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GYRAI7PP.js";
|
|
4
4
|
import {
|
|
5
5
|
requireOrgPartnerBinding,
|
|
6
6
|
resolvePartnerIdentities
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LXDNPWX7.js";
|
|
8
8
|
import {
|
|
9
9
|
allocateOutboundSeq,
|
|
10
10
|
approveBriefManually,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
sealMailboxEnvelope,
|
|
23
23
|
unrecordedText,
|
|
24
24
|
verifyManifest
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AJTNEIFI.js";
|
|
26
26
|
import {
|
|
27
27
|
queueMailboxDeposit
|
|
28
28
|
} from "./chunk-3FGBBJYM.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-CBPNZFSU.js";
|
|
4
4
|
import {
|
|
5
5
|
initStore
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZUE3ADBF.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isInitialized
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/schedules.ts
|
|
13
13
|
import crypto from "crypto";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
InviteError,
|
|
3
|
+
resolveAuth,
|
|
4
|
+
resolveEndpoint
|
|
5
|
+
} from "./chunk-M46ZFCQT.js";
|
|
1
6
|
import {
|
|
2
7
|
ORG_KEY_EPOCH_0,
|
|
3
8
|
OrgKeyEpochStaleError,
|
|
4
9
|
assertUsableEpoch,
|
|
5
10
|
deriveOrgKeyIdentities,
|
|
6
11
|
describeEpochRemedy
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
InviteError,
|
|
10
|
-
resolveAuth,
|
|
11
|
-
resolveEndpoint
|
|
12
|
-
} from "./chunk-HA6BIZ6L.js";
|
|
12
|
+
} from "./chunk-43J5Z6IO.js";
|
|
13
13
|
import {
|
|
14
14
|
asOrgBillablePlan
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3W6D3XED.js";
|
|
16
16
|
import {
|
|
17
17
|
orgKeyFingerprintDisplay
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JF36BVSK.js";
|
|
19
19
|
import {
|
|
20
20
|
ed25519PrivateKeyFromSeed
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PWJLLXGK.js";
|
|
22
22
|
|
|
23
23
|
// src/lib/org-key-admin.ts
|
|
24
24
|
import { sign } from "crypto";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
baseAgentName,
|
|
7
7
|
getEmployee,
|
|
8
8
|
loadEmployeesSync
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/project-name.ts
|
|
12
12
|
import { execSync } from "child_process";
|
|
@@ -14,6 +14,11 @@ import { readdirSync, readFileSync, realpathSync, statSync } from "fs";
|
|
|
14
14
|
import path from "path";
|
|
15
15
|
var _cached = null;
|
|
16
16
|
var _cachedCwd = null;
|
|
17
|
+
var DEFAULT_PROJECT_NAME_GIT_TIMEOUT_MS = 2e3;
|
|
18
|
+
var _projectNameGitTimeoutMs = DEFAULT_PROJECT_NAME_GIT_TIMEOUT_MS;
|
|
19
|
+
function _setProjectNameGitTimeoutMsForTest(ms) {
|
|
20
|
+
_projectNameGitTimeoutMs = ms;
|
|
21
|
+
}
|
|
17
22
|
function repoRootFromDisk(startDir) {
|
|
18
23
|
let dir;
|
|
19
24
|
try {
|
|
@@ -81,13 +86,14 @@ function getProjectName(cwd) {
|
|
|
81
86
|
return _cached;
|
|
82
87
|
}
|
|
83
88
|
let probeExpired = false;
|
|
89
|
+
const gitProbeTimeoutMs = _projectNameGitTimeoutMs;
|
|
84
90
|
try {
|
|
85
91
|
let repoRoot;
|
|
86
92
|
try {
|
|
87
93
|
const gitCommonDir = execSync("git rev-parse --path-format=absolute --git-common-dir", {
|
|
88
94
|
cwd: dir,
|
|
89
95
|
encoding: "utf8",
|
|
90
|
-
timeout:
|
|
96
|
+
timeout: gitProbeTimeoutMs,
|
|
91
97
|
stdio: ["pipe", "pipe", "pipe"]
|
|
92
98
|
}).trim();
|
|
93
99
|
repoRoot = path.dirname(gitCommonDir);
|
|
@@ -96,7 +102,7 @@ function getProjectName(cwd) {
|
|
|
96
102
|
repoRoot = execSync("git rev-parse --show-toplevel", {
|
|
97
103
|
cwd: dir,
|
|
98
104
|
encoding: "utf8",
|
|
99
|
-
timeout:
|
|
105
|
+
timeout: gitProbeTimeoutMs,
|
|
100
106
|
stdio: ["pipe", "pipe", "pipe"]
|
|
101
107
|
}).trim();
|
|
102
108
|
}
|
|
@@ -181,11 +187,16 @@ function _resetCache() {
|
|
|
181
187
|
_cachedCwd = null;
|
|
182
188
|
_realProjects = null;
|
|
183
189
|
}
|
|
190
|
+
function _resetProjectNameGitTimeoutMsForTest() {
|
|
191
|
+
_projectNameGitTimeoutMs = DEFAULT_PROJECT_NAME_GIT_TIMEOUT_MS;
|
|
192
|
+
}
|
|
184
193
|
|
|
185
194
|
export {
|
|
195
|
+
_setProjectNameGitTimeoutMsForTest,
|
|
186
196
|
getProjectName,
|
|
187
197
|
isPhantomSessionBucket,
|
|
188
198
|
isEphemeralWorktreeProject,
|
|
189
199
|
resolveProjectName,
|
|
190
|
-
_resetCache
|
|
200
|
+
_resetCache,
|
|
201
|
+
_resetProjectNameGitTimeoutMsForTest
|
|
191
202
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
orgMembershipsPath,
|
|
3
3
|
readActiveOrgMemberships
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HPB5Y6FZ.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveExeDataDir
|
|
7
7
|
} from "./chunk-NPXIS2RY.js";
|
|
@@ -270,7 +270,7 @@ async function departOrgToPersonalFreeTier(orgIdRaw, cause = "left") {
|
|
|
270
270
|
`could not determine whether standing consent policies exist for ${orgId} (permission or I/O error checking ${consentStatePath}). Treating this as NOT cleared \u2014 they may still be armed. Re-run the departure once the file is readable.`
|
|
271
271
|
);
|
|
272
272
|
} else try {
|
|
273
|
-
const { clearStandingPolicies } = await import("./org-consent-policy-
|
|
273
|
+
const { clearStandingPolicies } = await import("./org-consent-policy-NQ2KDQDG.js");
|
|
274
274
|
await clearStandingPolicies(orgId);
|
|
275
275
|
consentCleared = true;
|
|
276
276
|
} catch (err) {
|
|
@@ -289,7 +289,7 @@ async function departOrgToPersonalFreeTier(orgIdRaw, cause = "left") {
|
|
|
289
289
|
}
|
|
290
290
|
let pollerStopped = false;
|
|
291
291
|
try {
|
|
292
|
-
const { stopOrgPartnerPollerFor } = await import("./org-partner-runtime-
|
|
292
|
+
const { stopOrgPartnerPollerFor } = await import("./org-partner-runtime-PCGVG3M2.js");
|
|
293
293
|
pollerStopped = await stopOrgPartnerPollerFor(orgId);
|
|
294
294
|
} catch (err) {
|
|
295
295
|
failures.push(
|
|
@@ -298,7 +298,7 @@ async function departOrgToPersonalFreeTier(orgIdRaw, cause = "left") {
|
|
|
298
298
|
}
|
|
299
299
|
let seqFloor = 0;
|
|
300
300
|
try {
|
|
301
|
-
const { preserveOutboundSeqFloor } = await import("./task-request-inbox-
|
|
301
|
+
const { preserveOutboundSeqFloor } = await import("./task-request-inbox-ILFRNPZA.js");
|
|
302
302
|
seqFloor = preserveOutboundSeqFloor(orgId);
|
|
303
303
|
if (seqFloor > 0) {
|
|
304
304
|
notes.push(
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveAgent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-34GBZEGQ.js";
|
|
4
4
|
import {
|
|
5
5
|
listTasks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-H372DQD2.js";
|
|
7
7
|
import {
|
|
8
8
|
getAgentContext
|
|
9
9
|
} from "./chunk-GJV3WDWM.js";
|
|
10
10
|
import {
|
|
11
11
|
isCoordinatorName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp/tools/list-tasks.ts
|
|
15
15
|
import { z } from "zod";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertValidDbPath
|
|
3
3
|
} from "./chunk-TKDITWDN.js";
|
|
4
|
-
import {
|
|
5
|
-
ensureMemoryWriteIndex
|
|
6
|
-
} from "./chunk-6777GNWI.js";
|
|
7
4
|
import {
|
|
8
5
|
recordDbOpen
|
|
9
6
|
} from "./chunk-5YEUPUV4.js";
|
|
7
|
+
import {
|
|
8
|
+
ensureMemoryWriteIndex
|
|
9
|
+
} from "./chunk-OFC5SIIT.js";
|
|
10
10
|
import {
|
|
11
11
|
EXE_AI_DIR
|
|
12
12
|
} from "./chunk-MMS2HBRT.js";
|
|
@@ -59,7 +59,7 @@ function generateSessionWrappers(packageRoot, homeDir) {
|
|
|
59
59
|
const wrapperContent = `#!/bin/bash
|
|
60
60
|
exec "${exeStartDst}" "$0" "$@"
|
|
61
61
|
`;
|
|
62
|
-
const RUNTIME_SUFFIXES = ["", "-codex", "-opencode", "-glm"];
|
|
62
|
+
const RUNTIME_SUFFIXES = ["", "-codex", "-opencode", "-glm", "-muse"];
|
|
63
63
|
for (const emp of employees) {
|
|
64
64
|
for (let n = 1; n <= MAX_N; n++) {
|
|
65
65
|
for (const suffix of RUNTIME_SUFFIXES) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-4MK6LOD6.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-H372DQD2.js";
|
|
9
9
|
import {
|
|
10
10
|
isWithin
|
|
11
11
|
} from "./chunk-YRUZK2QA.js";
|
|
@@ -297,7 +297,7 @@ async function sweepTasks(projectName, options = {}) {
|
|
|
297
297
|
}
|
|
298
298
|
if (!dryRun) {
|
|
299
299
|
try {
|
|
300
|
-
const { updateTaskStatus } = await import("./tasks-crud-
|
|
300
|
+
const { updateTaskStatus } = await import("./tasks-crud-NWNW7RDH.js");
|
|
301
301
|
await updateTaskStatus({
|
|
302
302
|
taskId: task.id,
|
|
303
303
|
status: "needs_review",
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-4CN3EE6U.js";
|
|
4
4
|
import {
|
|
5
5
|
isGhostBehaviorRow
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HVTLHDGA.js";
|
|
7
7
|
import {
|
|
8
8
|
IdentityConflictError,
|
|
9
9
|
getClient,
|
|
10
10
|
getIdentity,
|
|
11
11
|
listIdentities,
|
|
12
12
|
updateIdentity
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
14
14
|
import {
|
|
15
15
|
atomicWriteJsonSync
|
|
16
16
|
} from "./chunk-HSGBZSCA.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sendMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IJRHWGOI.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-34GBZEGQ.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveExeSession
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-H372DQD2.js";
|
|
10
10
|
import {
|
|
11
11
|
getDispatcherSession
|
|
12
12
|
} from "./chunk-PCV52RYM.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
getCoordinatorName,
|
|
18
18
|
isCoordinatorName
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
20
20
|
|
|
21
21
|
// src/mcp/tools/send-message.ts
|
|
22
22
|
import { z } from "zod";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H372DQD2.js";
|
|
4
4
|
import {
|
|
5
5
|
recordOrchestrationEventBestEffort
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NFTTBVL2.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isCoordinatorName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7VQ2OCZG.js";
|
|
11
11
|
import {
|
|
12
12
|
isDaemonAlive
|
|
13
13
|
} from "./chunk-QH5ZQ5SJ.js";
|