@askexenow/exe-os 0.9.409 → 0.9.410
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/stack-manifests/v0.9.json +408 -1
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-5AKPW2N7.js → active-agent-2ELFTYNT.js} +4 -4
- package/dist/{active-agent-2AMJC3SC.js → active-agent-SS4SRXYZ.js} +4 -4
- package/dist/agent-defs-generator-6S2BSYCP.js +32 -0
- package/dist/{agentic-ontology-6RS7A7KP.js → agentic-ontology-TJOAUAPD.js} +1 -1
- package/dist/{artifact-backup-6O4FNYPS.js → artifact-backup-STQQZDZ5.js} +3 -3
- package/dist/{backfill-metadata-6YX6LGPJ.js → backfill-metadata-I2FVENKJ.js} +7 -7
- package/dist/{backup-verify-QIAQ63VC.js → backup-verify-AOTKX5DA.js} +69 -4
- package/dist/{behavior-injection-NRXTNROW.js → behavior-injection-CTSIKHTH.js} +10 -10
- package/dist/{behavior-promotion-MW7OQ72V.js → behavior-promotion-NZMTTFHK.js} +9 -9
- package/dist/{behaviors-7AOK44QK.js → behaviors-RUNSC5WI.js} +8 -8
- package/dist/bin/agentic-ontology-backfill.js +8 -8
- package/dist/bin/agentic-reflection-backfill.js +9 -9
- package/dist/bin/agentic-semantic-label.js +8 -8
- package/dist/bin/backfill-conversations.js +7 -7
- package/dist/bin/backfill-responses.js +7 -7
- package/dist/bin/backfill-vectors.js +7 -7
- package/dist/bin/bulk-sync-postgres.js +16 -16
- package/dist/bin/cc-doctor.js +8 -8
- package/dist/bin/cleanup-stale-review-tasks.js +13 -16
- package/dist/bin/cli.js +24 -24
- package/dist/bin/deferred-daemon-restart.js +95 -95
- package/dist/bin/exe-agent-config.js +3 -3
- package/dist/bin/exe-agent.js +11 -11
- package/dist/bin/exe-assign.js +8 -8
- package/dist/bin/exe-boot.js +33 -36
- package/dist/bin/exe-call.js +8 -8
- package/dist/bin/exe-cloud.js +26 -22
- package/dist/bin/exe-config-dump.js +3 -3
- package/dist/bin/exe-dispatch.js +14 -17
- package/dist/bin/exe-doctor.js +5 -5
- package/dist/bin/exe-export-behaviors.js +12 -12
- package/dist/bin/exe-forget.js +12 -12
- package/dist/bin/exe-gateway.js +9 -9
- package/dist/bin/exe-grant.js +6 -6
- package/dist/bin/exe-healthcheck.js +8 -8
- package/dist/bin/exe-heartbeat.js +19 -22
- package/dist/bin/exe-kill.js +18 -21
- package/dist/bin/exe-launch-agent.js +215 -100
- package/dist/bin/exe-mcp.js +5 -5
- package/dist/bin/exe-memory-reads.js +7 -7
- package/dist/bin/exe-new-employee.js +10 -10
- package/dist/bin/exe-os-mcp-proxy.js +5 -5
- package/dist/bin/exe-pending-messages.js +14 -17
- package/dist/bin/exe-pending-notifications.js +13 -16
- package/dist/bin/exe-pending-reviews.js +14 -17
- package/dist/bin/exe-rename.js +6 -6
- package/dist/bin/exe-review.js +17 -20
- package/dist/bin/exe-search.js +11 -11
- package/dist/bin/exe-session-cleanup.js +18 -21
- package/dist/bin/exe-settings.js +16 -16
- package/dist/bin/exe-start-codex.js +18 -18
- package/dist/bin/exe-start-opencode.js +16 -16
- package/dist/bin/exe-status.js +15 -18
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +5 -5
- package/dist/bin/git-sweep.js +15 -17
- package/dist/bin/graph-backfill.js +8 -8
- package/dist/bin/graph-export.js +8 -8
- package/dist/bin/hooks-cli.js +1 -1
- package/dist/bin/import-history.js +11 -11
- package/dist/bin/install.js +97 -97
- package/dist/bin/intercom-check.js +5 -5
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +5 -5
- 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 +7 -7
- package/dist/bin/scan-tasks.js +14 -17
- package/dist/bin/setup.js +2 -2
- package/dist/bin/shard-migrate.js +8 -8
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-HG6LLZLY.js → boot-generation-4W4CDJSX.js} +4 -4
- package/dist/{boot-review-sections-STZ5EAIL.js → boot-review-sections-HJN25GMU.js} +12 -15
- package/dist/{bug-landed-reconciler-EO72HUI2.js → bug-landed-reconciler-GGQU6G2L.js} +6 -6
- package/dist/build-info.json +3 -3
- package/dist/build-manifest.json +989 -989
- package/dist/{capability-cards-C3SMHB2E.js → capability-cards-EV7VHL3W.js} +3 -3
- package/dist/{capacity-monitor-UI553HRL.js → capacity-monitor-YO3WRSRY.js} +14 -17
- package/dist/{catchup-brief-VE2X4HML.js → catchup-brief-4XFFW3H2.js} +21 -23
- package/dist/{chunk-R7QZXQPU.js → chunk-22XJWSWN.js} +216 -147
- package/dist/{chunk-XGPBHKU3.js → chunk-26CY4EAR.js} +2 -2
- package/dist/{chunk-E2Z3F26R.js → chunk-2A556FNI.js} +1 -1
- package/dist/{chunk-EIM7OGTD.js → chunk-2AXJRXA6.js} +2 -2
- package/dist/{chunk-DE2V7547.js → chunk-2CG3LHI6.js} +2 -2
- package/dist/{chunk-VLAENYCN.js → chunk-2K7IKLBL.js} +1 -1
- package/dist/{chunk-6JLVCMKH.js → chunk-2LJ2GZEE.js} +1 -1
- package/dist/{chunk-7I6KVKFF.js → chunk-2OIVIPU7.js} +3 -3
- package/dist/{chunk-6TB7UXCA.js → chunk-2Q2U3NB2.js} +1 -1
- package/dist/{chunk-QUK3UDZV.js → chunk-2WOHFX4Z.js} +1 -1
- package/dist/{chunk-23XUZHB7.js → chunk-2YK5HP2B.js} +245 -36
- package/dist/{chunk-LMF2YC5C.js → chunk-2YZZR2BW.js} +4 -4
- package/dist/{chunk-VMHZSZQJ.js → chunk-3ARSKDHC.js} +52 -0
- package/dist/{chunk-IZ24HRDC.js → chunk-3UEDFBDE.js} +3 -3
- package/dist/{chunk-TCV3WA5I.js → chunk-3WNDI5KT.js} +1 -1
- package/dist/{chunk-W5XAB2SW.js → chunk-47UBJKS3.js} +271 -167
- package/dist/{chunk-TBYWOHTE.js → chunk-4THJIDJE.js} +1 -1
- package/dist/{chunk-HRYWB4TO.js → chunk-4XY33GRO.js} +2 -2
- package/dist/{chunk-PCFYNK7V.js → chunk-53GNYXNR.js} +2 -2
- package/dist/{chunk-OFT5KSBM.js → chunk-54Q7M2AG.js} +1 -1
- package/dist/{chunk-GG73NHZD.js → chunk-575FWHQJ.js} +2 -2
- package/dist/{chunk-4W7Y67B5.js → chunk-5BWN6A5E.js} +1 -1
- package/dist/{chunk-KBHK2WNO.js → chunk-5F3E57TQ.js} +1 -1
- package/dist/{chunk-4S6H2NWS.js → chunk-5JHIAGZY.js} +1 -1
- package/dist/{chunk-IPANAGA3.js → chunk-5Q64Q5ZD.js} +1 -1
- package/dist/{chunk-LVEMYNYH.js → chunk-5WNZGNQL.js} +3 -3
- package/dist/{chunk-HYZV25LY.js → chunk-67IVG6CB.js} +1 -11
- package/dist/{chunk-5N34MMKS.js → chunk-6APOLYIZ.js} +43 -3
- package/dist/{chunk-HFXBL7XE.js → chunk-6T5RC3L4.js} +1 -1
- package/dist/{chunk-HUMNRJZE.js → chunk-6TOV7UVU.js} +4 -4
- package/dist/{chunk-HNGAM3U4.js → chunk-7QFRZT4H.js} +3 -3
- package/dist/{chunk-52Z435PH.js → chunk-7RVTQXST.js} +15 -10
- package/dist/{chunk-SY53PYLU.js → chunk-7WCYJXOF.js} +1 -1
- package/dist/{chunk-IURGBN5B.js → chunk-AEEAQZ3E.js} +4 -4
- package/dist/{chunk-HFSFWMID.js → chunk-AEOB4JCJ.js} +3 -3
- package/dist/{chunk-DM4VTXM6.js → chunk-AGXV5HLA.js} +4 -4
- package/dist/{chunk-NDCW4G55.js → chunk-AGY2KUQ6.js} +1 -1
- package/dist/{chunk-6RRPVE5O.js → chunk-APKEGWFB.js} +3 -3
- package/dist/{chunk-FJKUFMNF.js → chunk-ASA2UJDH.js} +1 -1
- package/dist/{chunk-GRAMRMWS.js → chunk-AWTLUJZL.js} +2 -2
- package/dist/{chunk-BHDDDNC6.js → chunk-B34RSIUP.js} +2 -2
- package/dist/{chunk-BPBEJD7U.js → chunk-B55U5BKF.js} +1 -1
- package/dist/{chunk-UXJAW4IQ.js → chunk-BBTNF72N.js} +2 -2
- package/dist/{chunk-IPBNHPTE.js → chunk-BIHPY7JW.js} +9 -9
- package/dist/{chunk-SYUJCVJG.js → chunk-BPXWWD7P.js} +1 -1
- package/dist/{chunk-G2M7WQ2M.js → chunk-CBC3JCIF.js} +1 -1
- package/dist/{chunk-GKPPLIMJ.js → chunk-CEHGXPMO.js} +4 -4
- package/dist/{chunk-L5CPS34O.js → chunk-CKRZBQ2K.js} +1 -1
- package/dist/{chunk-NHQWPKX7.js → chunk-CPC75PXE.js} +2 -2
- package/dist/{chunk-OEHZ46WQ.js → chunk-DLHE4PCM.js} +4 -4
- package/dist/{chunk-RZ23QQCI.js → chunk-DWK5HEKY.js} +4 -4
- package/dist/{chunk-YUAOQJVV.js → chunk-E2346GKI.js} +2 -2
- package/dist/{chunk-VYKXRSHU.js → chunk-E3ZO4EL3.js} +1 -1
- package/dist/{chunk-GTRB6DGI.js → chunk-FCX2XHIC.js} +2 -2
- package/dist/{chunk-K7DAE2HO.js → chunk-FOZSHNET.js} +19 -6
- package/dist/{chunk-7P2TDFZL.js → chunk-FRJICRED.js} +1 -1
- package/dist/{chunk-XCPD7NGP.js → chunk-FUEKSCTN.js} +1 -1
- package/dist/{chunk-B3ISLIKE.js → chunk-FYKEL2L6.js} +2 -2
- package/dist/{chunk-SFGFNJBR.js → chunk-FZT7CBXB.js} +1 -1
- package/dist/{chunk-NFNM64A7.js → chunk-GGT6Y5AN.js} +22 -18
- package/dist/{chunk-Q4GS5VW7.js → chunk-H5H2LGVE.js} +3 -3
- package/dist/{chunk-GEQQGN3J.js → chunk-HCBISGUU.js} +7 -7
- package/dist/{chunk-FZT4VQP7.js → chunk-HKAWEIB2.js} +1 -1
- package/dist/{chunk-QK3Z4TKQ.js → chunk-HLNRLXUS.js} +5 -5
- package/dist/{chunk-FBZ32BD4.js → chunk-HNJLAMD3.js} +1 -1
- package/dist/{chunk-6EY6OFBC.js → chunk-I35OMCL3.js} +2 -2
- package/dist/{chunk-OISOA6NX.js → chunk-IHBYJG7N.js} +1 -1
- package/dist/{chunk-KIJRAZWR.js → chunk-IQCC6WFI.js} +1 -1
- package/dist/{chunk-EHILXBVT.js → chunk-IUAW7FVX.js} +3 -3
- package/dist/{chunk-OE7TAEOG.js → chunk-IXRYS5X3.js} +1 -1
- package/dist/{chunk-4Q7H3TO7.js → chunk-J6RTX7XT.js} +1 -1
- package/dist/{chunk-BIV4IHED.js → chunk-JDZNGC4O.js} +15 -28
- package/dist/{chunk-JJYAETCO.js → chunk-JTXXLNYD.js} +4 -4
- package/dist/{chunk-YVS77JPW.js → chunk-JZ23D5YF.js} +3 -3
- package/dist/{chunk-QYIR64RR.js → chunk-K464YYT5.js} +1 -1
- package/dist/{chunk-BM467PZN.js → chunk-K6XWIJN7.js} +1 -1
- package/dist/{chunk-DIKLSAJE.js → chunk-KNEEOZWN.js} +1 -1
- package/dist/{chunk-3MDUKF3N.js → chunk-LBEBSXZA.js} +5 -4
- package/dist/{chunk-NK4JHJNP.js → chunk-LCXWQVOD.js} +4 -4
- package/dist/{chunk-3AL2LO3L.js → chunk-LZS2B2JT.js} +1 -1
- package/dist/{chunk-W2VDJKTB.js → chunk-MNWN3SQ3.js} +1 -1
- package/dist/{chunk-ZEHBSA25.js → chunk-MQD3JJCO.js} +1 -1
- package/dist/{chunk-KPLMY2GT.js → chunk-NUEDA2US.js} +4 -4
- package/dist/{chunk-F5ZRHLG5.js → chunk-NYV4A5IG.js} +2 -2
- package/dist/{chunk-M7774YLB.js → chunk-O5RKAXCG.js} +1 -1
- package/dist/{chunk-GPWXUU3L.js → chunk-OUUNFTS4.js} +1 -1
- package/dist/{chunk-G3ZYXXO7.js → chunk-PCF4QMJS.js} +10 -10
- package/dist/{chunk-HRKN3DQE.js → chunk-PONGX3YG.js} +7 -7
- package/dist/{chunk-JR3GTBV3.js → chunk-QH2V67NX.js} +1 -1
- package/dist/{chunk-4O7OUBEX.js → chunk-QKHQTHE6.js} +27 -15
- package/dist/{chunk-4M24XCTI.js → chunk-R2ZHPVF2.js} +53 -7
- package/dist/{chunk-HK7HIDXP.js → chunk-R3N5BCMM.js} +1 -1
- package/dist/{chunk-IUBCS6TA.js → chunk-RWM6TZH6.js} +3 -3
- package/dist/{chunk-N3JEYUDV.js → chunk-RXICR3D7.js} +1 -1
- package/dist/{chunk-QPMKVSHU.js → chunk-S2DTXCV6.js} +2 -2
- package/dist/{chunk-YLWKWEJJ.js → chunk-SLG3T26A.js} +3 -3
- package/dist/{chunk-7R7KDRKV.js → chunk-SUGAHHVR.js} +1 -1
- package/dist/{chunk-SGR4ZQAV.js → chunk-T7W75LII.js} +3 -3
- package/dist/{agent-defs-generator-QN3J6FVJ.js → chunk-TU5Y5ZNC.js} +4 -21
- package/dist/{chunk-LE3DIA25.js → chunk-UBTKHJCB.js} +6 -6
- package/dist/{chunk-ZYOIH5NY.js → chunk-UF5BDAF6.js} +6 -6
- package/dist/{chunk-4RQ62XXK.js → chunk-UG3YOQAC.js} +5 -5
- package/dist/{chunk-7LTAA55U.js → chunk-V7AID6MC.js} +1 -1
- package/dist/{chunk-SA66WRBT.js → chunk-WLV27PAO.js} +1 -1
- package/dist/{chunk-XAGIZVYI.js → chunk-WSYIQKZ6.js} +180 -1624
- package/dist/{chunk-KCRSJ3VU.js → chunk-WZPD4QSE.js} +2 -2
- package/dist/{chunk-APVU4Q5B.js → chunk-X2EBM5BQ.js} +16 -16
- package/dist/{chunk-XFGS22VE.js → chunk-XBCIRNNU.js} +1 -1
- package/dist/{chunk-M4N7I2H5.js → chunk-XC2KAJK4.js} +5 -5
- package/dist/{chunk-WYNIWJRN.js → chunk-XCKTCOK3.js} +5 -5
- package/dist/{chunk-PZDAPIQL.js → chunk-XJQGS4IM.js} +1 -1
- package/dist/{chunk-DACRR362.js → chunk-XMMWBLQK.js} +6 -6
- package/dist/{chunk-T2PAFWRK.js → chunk-YC6SZFVD.js} +5 -5
- package/dist/{chunk-6ZW6BRI4.js → chunk-YJ7MCZSY.js} +2 -2
- package/dist/{chunk-DMYJVGQM.js → chunk-YSDSQRE2.js} +1 -1
- package/dist/{chunk-R6CKQLEA.js → chunk-YWZGDFAL.js} +1 -1
- package/dist/{chunk-C426MZMD.js → chunk-ZBXZFOIF.js} +3 -3
- package/dist/{chunk-ME733Y2F.js → chunk-ZEDLED43.js} +37 -9
- package/dist/{cleanup-graph-garbage-NKAJSCWZ.js → cleanup-graph-garbage-N7FTWU6C.js} +8 -8
- package/dist/{cli-shutdown-F3DFDCB5.js → cli-shutdown-NCBQTN7G.js} +1 -1
- package/dist/{cloud-sync-command-3YBLSMAL.js → cloud-sync-command-UL7GNN3J.js} +2 -2
- package/dist/{cloud-sync-db-init-JWSPAFKY.js → cloud-sync-db-init-ASM7ZXBH.js} +1 -1
- package/dist/{cloud-sync-shutdown-4R6RIO67.js → cloud-sync-shutdown-HER4ISBU.js} +3 -3
- package/dist/{co-activation-2ZRANV3Q.js → co-activation-V5XXR327.js} +3 -3
- package/dist/{co-occurrence-6EELW2L2.js → co-occurrence-MKZ6YWSQ.js} +6 -6
- package/dist/{consent-passphrase-TDR263MC.js → consent-passphrase-YI3J4UEL.js} +2 -2
- package/dist/content-extractor-GWF2T7FK.js +13 -0
- package/dist/{conversation-entity-extractor-KUJN3MOH.js → conversation-entity-extractor-66G7ROQ3.js} +3 -3
- package/dist/{crdt-sync-IX43KVQ3.js → crdt-sync-Z62SWOKD.js} +4 -4
- package/dist/{crm-webhook-GSCIW6CE.js → crm-webhook-6GBACWJX.js} +2 -2
- package/dist/{cto-delegation-gate-ZWD4EFRR.js → cto-delegation-gate-FUKPBFCM.js} +12 -15
- package/dist/{daemon-orchestration-WL6V4QL4.js → daemon-orchestration-O3QPSJEP.js} +19 -21
- package/dist/{doc-graph-extractor-NJ7ZZC2C.js → doc-graph-extractor-BBPKLIVM.js} +6 -6
- package/dist/{documents-O7WYZFFE.js → documents-NILTWYSQ.js} +8 -8
- package/dist/{dreaming-TUESPDT3.js → dreaming-KMDGPIFY.js} +17 -20
- package/dist/{employee-boot-brief-UCP6QLN4.js → employee-boot-brief-KSH3MWIF.js} +23 -25
- package/dist/{entity-boost-TK43XT24.js → entity-boost-XETN7C2S.js} +2 -2
- package/dist/{exe-drift-QD6LUZT2.js → exe-drift-SFD7SHXC.js} +4 -4
- package/dist/{exe-export-QIUNHFSS.js → exe-export-NHWKEZL4.js} +9 -9
- package/dist/{exe-import-3UFOLHEW.js → exe-import-SPI5HJBU.js} +9 -9
- package/dist/{exe-key-D5NDKGHT.js → exe-key-TY5LFUEM.js} +95 -95
- package/dist/{exe-org-UWDJBOCV.js → exe-org-LVQLXA7C.js} +32 -32
- package/dist/{exe-snapshot-P6SFODEN.js → exe-snapshot-WH2DSRZW.js} +20 -23
- package/dist/{fast-db-init-SD7JZSEC.js → fast-db-init-UN225WS7.js} +1 -1
- package/dist/{founder-context-QIXDZIJX.js → founder-context-DVHSVBM5.js} +2 -2
- package/dist/{founder-monitor-envelope-TLOC4UYG.js → founder-monitor-envelope-HMPPUBUT.js} +4 -4
- package/dist/gateway/index.js +14 -14
- package/dist/{gateway-client-CQTSYJLP.js → gateway-client-TXHCHOVM.js} +1 -1
- package/dist/{git-staleness-JSQTHB4Z.js → git-staleness-CUVLXQOJ.js} +3 -3
- package/dist/{global-procedures-T3RKI4QX.js → global-procedures-T5W3S6OU.js} +5 -5
- package/dist/{graph-auto-extract-V75GSTNX.js → graph-auto-extract-S7OIZXYP.js} +6 -6
- package/dist/{graph-query-VAQN2RK3.js → graph-query-CRIH4DXF.js} +1 -1
- package/dist/{graph-rag-GBA5E3QC.js → graph-rag-LH34CEGC.js} +3 -3
- package/dist/{hook-integrity-II6QK6Y4.js → hook-integrity-TSJYZFZ6.js} +1 -1
- package/dist/{hook-prefetch-5EHPOYY3.js → hook-prefetch-SNW5DFCZ.js} +13 -16
- package/dist/hooks/bug-report-worker.js +17 -20
- package/dist/hooks/codex-stop-task-finalizer.js +19 -22
- package/dist/hooks/commit-complete.js +16 -19
- package/dist/hooks/error-recall.js +14 -14
- package/dist/hooks/exe-heartbeat-hook.js +5 -5
- package/dist/hooks/ingest-worker.js +18 -20
- package/dist/hooks/ingest.js +16 -16
- package/dist/hooks/instructions-loaded.js +7 -7
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +6 -6
- package/dist/hooks/post-compact.js +5 -5
- package/dist/hooks/post-tool-combined.js +13 -13
- package/dist/hooks/pre-compact.js +16 -19
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/hooks/prompt-submit.js +40 -39
- package/dist/hooks/session-end.js +21 -24
- package/dist/hooks/session-start.js +18 -18
- package/dist/hooks/stop.js +19 -22
- package/dist/hooks/subagent-stop.js +18 -21
- package/dist/hooks/summary-worker.js +20 -23
- package/dist/index.js +25 -28
- package/dist/{installer-XEEZSF3V.js → installer-4IVP2PTX.js} +7 -8
- package/dist/{installer-ILYC4LI5.js → installer-CJWNUASI.js} +7 -8
- package/dist/{installer-MPVQ5L22.js → installer-UFRZHMX5.js} +7 -8
- package/dist/{intercom-queue-QGHAW2KO.js → intercom-queue-II6RRK3J.js} +12 -15
- package/dist/lib/cloud-sync.js +16 -16
- package/dist/lib/consolidation.js +9 -9
- package/dist/lib/crypto.js +3 -3
- package/dist/lib/database.js +3 -3
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-write-worker.js +3 -3
- package/dist/lib/db.js +3 -3
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +6 -6
- package/dist/lib/employees.js +3 -3
- package/dist/lib/error-detector.js +2 -2
- package/dist/lib/exe-daemon.js +83 -86
- package/dist/lib/hybrid-search.js +11 -11
- package/dist/lib/identity.js +5 -3
- package/dist/lib/keychain.js +1 -1
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +13 -16
- package/dist/lib/post-tool-memory.js +16 -18
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +4 -4
- package/dist/lib/schedules.js +8 -8
- package/dist/lib/session-registry.js +5 -5
- package/dist/lib/skill-learning.js +9 -9
- package/dist/lib/store.js +7 -7
- package/dist/lib/task-router.js +4 -4
- package/dist/lib/tasks.js +14 -17
- package/dist/lib/tmux-routing.js +14 -41
- package/dist/lib/token-spend.js +4 -4
- package/dist/lib/ws-client.js +1 -1
- package/dist/{license-gate-CARN6AB6.js → license-gate-M7EDJLAA.js} +3 -3
- package/dist/{license-recheck-7Z3LS6YS.js → license-recheck-DLTOHAH2.js} +1 -1
- package/dist/{license-sync-PUQV3HSZ.js → license-sync-YTDCUN3S.js} +2 -2
- package/dist/mcp/register-tools.js +94 -94
- package/dist/mcp/server.js +97 -97
- package/dist/mcp/tools/complete-reminder.js +5 -5
- package/dist/mcp/tools/create-reminder.js +5 -5
- package/dist/mcp/tools/create-task.js +16 -19
- package/dist/mcp/tools/deactivate-behavior.js +10 -10
- package/dist/mcp/tools/list-reminders.js +5 -5
- package/dist/mcp/tools/list-tasks.js +16 -19
- package/dist/mcp/tools/send-message.js +15 -18
- package/dist/mcp/tools/update-task.js +15 -18
- package/dist/{mcp-http-config-RJKTZPHZ.js → mcp-http-config-652YK3CI.js} +5 -5
- package/dist/{mcp-session-identity-HN444A3G.js → mcp-session-identity-6QGXD52Y.js} +12 -15
- package/dist/{memory-cards-AT3QCCWU.js → memory-cards-FOPSLULE.js} +8 -8
- package/dist/{memory-graph-extractor-B43UWGV5.js → memory-graph-extractor-7G3CIGN7.js} +7 -7
- package/dist/{memory-maintenance-WDLL3ZX3.js → memory-maintenance-5XIGUPYL.js} +1 -1
- package/dist/{memory-poisoning-defense-TS4WNW4S.js → memory-poisoning-defense-MI7Y5XBP.js} +3 -3
- package/dist/{memory-pressure-watchdog-6YH7S6W7.js → memory-pressure-watchdog-SPIDPGU2.js} +13 -16
- package/dist/{memory-reflection-N6NSYW6S.js → memory-reflection-DVAT4QKS.js} +8 -8
- package/dist/{memory-write-repository-D35RDO62.js → memory-write-repository-YC7HJTV5.js} +1 -1
- package/dist/{monitor-grants-FH4PNYN5.js → monitor-grants-3A77O6XK.js} +3 -3
- package/dist/{monitor-identity-LK5ZCCND.js → monitor-identity-BTFFMFEX.js} +2 -2
- package/dist/{notification-ledger-3WJYJGGS.js → notification-ledger-AV5242RM.js} +13 -16
- package/dist/{notifications-T5C2CVB3.js → notifications-75FVPJLY.js} +12 -15
- package/dist/{orchestration-events-73VEJT7Q.js → orchestration-events-ARGZU6KS.js} +4 -4
- package/dist/{orchestrator-3O657734.js → orchestrator-TCXZMLSB.js} +14 -17
- package/dist/{org-brief-session-EGB35QLM.js → org-brief-session-B455POUI.js} +15 -15
- package/dist/{org-consent-policy-MSVSRI53.js → org-consent-policy-7K5H6FOB.js} +5 -5
- package/dist/{org-join-4BK2XJJI.js → org-join-ETR5KO27.js} +9 -9
- package/dist/{org-key-admin-EUSSGXQ3.js → org-key-admin-IRC6H3TL.js} +11 -11
- package/dist/{org-key-epoch-NMEWDT5L.js → org-key-epoch-EG4YQ47A.js} +5 -5
- package/dist/{org-key-pin-HUSXGINB.js → org-key-pin-GLQEU3P3.js} +3 -3
- package/dist/{org-membership-B74IWEM5.js → org-membership-JC5YVU6N.js} +4 -4
- package/dist/{org-partner-config-5FJTJABN.js → org-partner-config-QFSVGHEA.js} +8 -8
- package/dist/{org-partner-runtime-GN4GFWI2.js → org-partner-runtime-7AD7WY3Y.js} +15 -15
- package/dist/{org-row-visibility-PBZ2TSCR.js → org-row-visibility-AXZKVOA6.js} +1 -1
- package/dist/{pipeline-router-2IELBSVJ.js → pipeline-router-2KY4X6PO.js} +4 -4
- package/dist/{plan-limits-4GXK5PFT.js → plan-limits-PG6HG2DT.js} +6 -6
- package/dist/{pre-tool-use-impl-CY73PRJP.js → pre-tool-use-impl-45B4NFIF.js} +34 -32
- package/dist/{project-name-337ERIAX.js → project-name-LHYHR4VN.js} +4 -4
- package/dist/{projection-worker-W476IG6V.js → projection-worker-POT2AOR5.js} +2 -2
- package/dist/{prospective-memory-5INB7NUL.js → prospective-memory-ECXSAEAW.js} +3 -3
- package/dist/{push-notifications-YVOP4KGN.js → push-notifications-W3UNHDC5.js} +13 -16
- package/dist/{reproject-worktree-memories-OGBR3CMO.js → reproject-worktree-memories-PIXMJBHG.js} +12 -15
- package/dist/{reranker-W7WCJH6Y.js → reranker-ZBPYIRBB.js} +1 -1
- package/dist/{retrieval-health-R6MGXLTP.js → retrieval-health-42MFLOEP.js} +1 -1
- package/dist/{review-polling-TKAWVY6G.js → review-polling-V4CSK4TZ.js} +13 -16
- package/dist/runtime/index.js +16 -19
- package/dist/{session-events-HUCZ7TOR.js → session-events-C3NUY6MR.js} +13 -16
- package/dist/{session-kill-telemetry-RWRWOW4C.js → session-kill-telemetry-ZOSAIYU2.js} +13 -16
- package/dist/{session-scope-5CDRHV75.js → session-scope-BZALGKYZ.js} +12 -15
- package/dist/{setup-wizard-RBTJAZOP.js → setup-wizard-DNA2UT4J.js} +2 -2
- package/dist/{shard-manager-LRPAAQA4.js → shard-manager-NG4SXV7L.js} +2 -2
- package/dist/{skill-refinement-MDXKDCY6.js → skill-refinement-Y3M7XBRE.js} +4 -4
- package/dist/{skill-retrieval-OWY6MTCX.js → skill-retrieval-XDY352AS.js} +11 -11
- package/dist/{skill-usage-GNV737U5.js → skill-usage-QOLIJQJC.js} +4 -4
- package/dist/{stack-generate-manifest-S4SBLKBY.js → stack-generate-manifest-VFHCOLAD.js} +4 -4
- package/dist/{stack-promote-U4EZNLOV.js → stack-promote-24BY6AXF.js} +4 -4
- package/dist/{stack-release-4VBGOYGK.js → stack-release-AXH7ZIOR.js} +5 -5
- package/dist/{stack-update-C5YKHE7A.js → stack-update-7ET7S3ED.js} +3 -3
- package/dist/{steward-gate-QFPXQBUZ.js → steward-gate-2MUESY3V.js} +4 -4
- package/dist/{subagent-brief-injection-GDXO5WNS.js → subagent-brief-injection-6PM3WMMR.js} +25 -27
- package/dist/{support-bug-actions-4XEKXIIO.js → support-bug-actions-WWKDXT74.js} +3 -3
- package/dist/{support-inbox-Y7AFCOGM.js → support-inbox-AN44HIOG.js} +12 -12
- package/dist/{task-enforcement-CN3Q4PEH.js → task-enforcement-QO7RXYK2.js} +13 -16
- package/dist/{task-request-inbox-AY3C6DND.js → task-request-inbox-RXAT2QJF.js} +5 -5
- package/dist/{task-scope-AMR3Z3DJ.js → task-scope-4EKZBTTM.js} +12 -15
- package/dist/{tasks-crud-2GHKIZOM.js → tasks-crud-MB7WXGPW.js} +14 -15
- package/dist/{tasks-notify-Z53446KM.js → tasks-notify-BCWO7AP6.js} +13 -16
- package/dist/{tasks-review-APRNSHMQ.js → tasks-review-HXHYA76X.js} +12 -15
- package/dist/{telemetry-upload-5XR42SQN.js → telemetry-upload-Q7DLE5I3.js} +8 -8
- package/dist/{token-budget-TTNJXI7W.js → token-budget-EL6BEBDP.js} +4 -4
- package/dist/{tool-telemetry-36ST422N.js → tool-telemetry-SNWF4WDH.js} +1 -1
- package/dist/tui/App.js +22 -25
- package/dist/{tui-data-AP5TPUOQ.js → tui-data-ZMSBEPJT.js} +16 -19
- package/dist/{update-support-SFTI2PUD.js → update-support-QY7WALUZ.js} +11 -11
- package/dist/{whatsapp-5CXE3JHG.js → whatsapp-NCZ43BB3.js} +2 -2
- package/dist/{wiki-acl-N754BC2W.js → wiki-acl-3L7BRJUV.js} +1 -1
- package/dist/{work-claims-OAICQBWO.js → work-claims-XQXT2VWJ.js} +4 -4
- package/dist/{work-state-heartbeat-MTTUGMPU.js → work-state-heartbeat-GAIQ7M73.js} +1 -1
- package/dist/{workflow-engine-RID3QL2U.js → workflow-engine-FCOOI5M6.js} +2 -2
- package/dist/{worktree-XWVNDBRD.js → worktree-GS4ODQ4C.js} +5 -5
- package/dist/{worktree-sweep-6VEHGH7U.js → worktree-sweep-6LMC7H5Y.js} +6 -6
- package/package.json +1 -1
- package/release-notes.json +27 -9
- package/stack.release.json +3 -3
- package/dist/chunk-ESO5JDOT.js +0 -70
- package/dist/content-extractor-OVD7PTSN.js +0 -9
- /package/dist/{chunk-EZQ4W3WW.js → chunk-7ZP2PAW3.js} +0 -0
- /package/dist/{chunk-YBB43SXC.js → chunk-AC36VWNB.js} +0 -0
- /package/dist/{chunk-YG4DZZ6J.js → chunk-CS4SHHLY.js} +0 -0
- /package/dist/{chunk-33PG3KNY.js → chunk-FDQXQBBC.js} +0 -0
- /package/dist/{chunk-OLMLA377.js → chunk-IKJUZ3VO.js} +0 -0
- /package/dist/{chunk-FUZHMV7K.js → chunk-JXGOO53U.js} +0 -0
- /package/dist/{chunk-WIDOLS7T.js → chunk-LAWI42NC.js} +0 -0
- /package/dist/{chunk-PKM456D2.js → chunk-LK6OG47X.js} +0 -0
- /package/dist/{chunk-FLO24BNN.js → chunk-R6H2IRCF.js} +0 -0
- /package/dist/{chunk-64UAHPXA.js → chunk-UQKGV6SX.js} +0 -0
- /package/dist/{chunk-CLV7ALXV.js → chunk-XDWIJBTY.js} +0 -0
- /package/dist/{chunk-LDHJX4TZ.js → chunk-XJDSTA2C.js} +0 -0
- /package/dist/{chunk-OEEHLATI.js → chunk-ZQS4S4AX.js} +0 -0
- /package/dist/{core-memory-WR7I7DIP.js → core-memory-3TZV3ZDW.js} +0 -0
- /package/dist/{memory-isolation-4RQJ5RCK.js → memory-isolation-TE4AOMQX.js} +0 -0
- /package/dist/{oauth-server-VBDMZIEV.js → oauth-server-CWQ6EBGQ.js} +0 -0
- /package/dist/{project-boot-G7T5WHO6.js → project-boot-MX2FNKTJ.js} +0 -0
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-NVM3SKJ4.js";
|
|
4
4
|
import {
|
|
5
5
|
isGhostBehaviorRow
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NYV4A5IG.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-LBEBSXZA.js";
|
|
14
14
|
import {
|
|
15
15
|
atomicWriteJsonSync
|
|
16
16
|
} from "./chunk-HSGBZSCA.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-4MK6LOD6.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WSYIQKZ6.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-MB7WXGPW.js");
|
|
301
301
|
await updateTaskStatus({
|
|
302
302
|
taskId: task.id,
|
|
303
303
|
status: "needs_review",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
behaviorTruncationNotice
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JZ23D5YF.js";
|
|
4
4
|
import {
|
|
5
5
|
countActiveBehaviors,
|
|
6
6
|
listBehaviors
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NYV4A5IG.js";
|
|
8
8
|
import {
|
|
9
9
|
loadConfigSync
|
|
10
10
|
} from "./chunk-MMS2HBRT.js";
|
|
@@ -22,7 +22,7 @@ var OrgOriginProvenanceError = class extends Error {
|
|
|
22
22
|
async function mintOrgOriginStamp(input) {
|
|
23
23
|
if (!input.orgId) throw new OrgOriginProvenanceError("An org-origin stamp requires a non-empty org_id (\xA71.5)");
|
|
24
24
|
if (!input.requestId) throw new OrgOriginProvenanceError("An org-origin stamp requires a request id");
|
|
25
|
-
const { getTaskRequest } = await import("./task-request-inbox-
|
|
25
|
+
const { getTaskRequest } = await import("./task-request-inbox-RXAT2QJF.js");
|
|
26
26
|
const req = getTaskRequest(input.orgId, input.requestId);
|
|
27
27
|
if (!req) {
|
|
28
28
|
throw new OrgOriginProvenanceError(
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
extractIdentifiers,
|
|
5
5
|
isGarbageEntity,
|
|
6
6
|
normalizeEntityName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-26CY4EAR.js";
|
|
8
8
|
import {
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LBEBSXZA.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/memory-graph-extractor.ts
|
|
13
13
|
function relationshipId(sourceId, targetId, relType) {
|
|
@@ -432,7 +432,7 @@ async function upsertMemoryGraph(result, memoryId, opts) {
|
|
|
432
432
|
});
|
|
433
433
|
}
|
|
434
434
|
try {
|
|
435
|
-
const { createCoOccurrenceEdges } = await import("./co-occurrence-
|
|
435
|
+
const { createCoOccurrenceEdges } = await import("./co-occurrence-MKZ6YWSQ.js");
|
|
436
436
|
await createCoOccurrenceEdges(result.entities, memoryId, { linkOnly });
|
|
437
437
|
} catch {
|
|
438
438
|
}
|
|
@@ -15,20 +15,10 @@ function stripExeMcpPrefix(toolName) {
|
|
|
15
15
|
}
|
|
16
16
|
return toolName;
|
|
17
17
|
}
|
|
18
|
-
function expandDualPrefixTools(shortNames) {
|
|
19
|
-
const out = [];
|
|
20
|
-
for (const name of shortNames) {
|
|
21
|
-
for (const prefix of MCP_TOOL_PREFIXES) {
|
|
22
|
-
out.push(prefix + name);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return out;
|
|
26
|
-
}
|
|
27
18
|
|
|
28
19
|
export {
|
|
29
20
|
MCP_PRIMARY_KEY,
|
|
30
21
|
MCP_LEGACY_KEY,
|
|
31
22
|
isExeMcpTool,
|
|
32
|
-
stripExeMcpPrefix
|
|
33
|
-
expandDualPrefixTools
|
|
23
|
+
stripExeMcpPrefix
|
|
34
24
|
};
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
isExeMcpTool,
|
|
6
6
|
stripExeMcpPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-67IVG6CB.js";
|
|
8
8
|
|
|
9
9
|
// src/lib/content-extractor.ts
|
|
10
10
|
import { readFileSync } from "fs";
|
|
@@ -40,9 +40,47 @@ function extractSemanticText(toolName, toolInput, toolResponse) {
|
|
|
40
40
|
extracted = extractDefault(toolName, toolInput, toolResponse);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
const sanitized = redactSecrets(extracted).text;
|
|
43
|
+
const sanitized = redactSecrets(redactCommandLineSecrets(extracted).text).text;
|
|
44
44
|
return sanitized.replace(/[\uD800-\uDBFF](?![\uDC00-\uDFFF])/g, "\uFFFD").replace(/(?<![\uD800-\uDBFF])[\uDC00-\uDFFF]/g, "\uFFFD");
|
|
45
45
|
}
|
|
46
|
+
var SEGMENT = String.raw`(?:[^"'\\\s;|&<>()]|\\[\s\S]|"(?:[^"\\]|\\[\s\S])*"|'(?:[^'\\]|\\[\s\S])*')`;
|
|
47
|
+
var QUOTED_OR_BARE_VALUE = String.raw`(?:(?:\\)?(?<q>["'])(?!\[REDACTED:)(?<val>(?:[^"'\\]|\\[\s\S]|(?!\k<q>)["'])*)(?:\\)?\k<q>` + SEGMENT + String.raw`*|(?!\[REDACTED:)(?<bare>[^\s"'\\;|&<>()]` + SEGMENT + String.raw`*))`;
|
|
48
|
+
var KEYCHAIN_CONTEXT_RE = /\bsecurity\b[^;|&\n]*\badd-(?:generic|internet)-password\b/i;
|
|
49
|
+
var KEYCHAIN_FLAG_VALUE_RE = new RegExp(
|
|
50
|
+
String.raw`(?<lead>^|[\s;|&])(?<flag>-[wp])(?<sep>\s+|=)` + QUOTED_OR_BARE_VALUE,
|
|
51
|
+
"gi"
|
|
52
|
+
);
|
|
53
|
+
var SECRET_FLAG_RE = new RegExp(
|
|
54
|
+
String.raw`(?<lead>^|[\s"\\])(?<flag>--(?:[a-z0-9][a-z0-9_-]{0,48})?(?:key|token|secret|passwd|password|pwd))(?<sep>=|\s+)` + QUOTED_OR_BARE_VALUE,
|
|
55
|
+
"gi"
|
|
56
|
+
);
|
|
57
|
+
var AUTH_HEADER_RE = /(?<lead>^|[\s"\\])(?<head>authorization\s*:\s*)(?<scheme>(?:bearer|basic|digest|token)\s+)?(?:\\)?["']?(?!\[REDACTED:)[^\s"'\\]{4,}/gi;
|
|
58
|
+
function redactCommandLineSecrets(input) {
|
|
59
|
+
let text = input;
|
|
60
|
+
let redactedCount = 0;
|
|
61
|
+
const apply = (re, marker) => {
|
|
62
|
+
text = text.replace(re, (...args) => {
|
|
63
|
+
const groups = args.find(
|
|
64
|
+
(a) => typeof a === "object" && a !== null
|
|
65
|
+
);
|
|
66
|
+
redactedCount++;
|
|
67
|
+
const lead = groups?.lead ?? "";
|
|
68
|
+
if (groups?.head !== void 0) {
|
|
69
|
+
return `${lead}${groups.head}${groups.scheme ?? ""}[REDACTED:${marker}]`;
|
|
70
|
+
}
|
|
71
|
+
const flagPrefix = `${lead}${groups?.flag ?? ""}${groups?.sep ?? ""}`;
|
|
72
|
+
if (groups?.q) return `${flagPrefix}${groups.q}[REDACTED:${marker}]${groups.q}`;
|
|
73
|
+
return `${flagPrefix}[REDACTED:${marker}]`;
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
if (KEYCHAIN_CONTEXT_RE.test(text)) apply(KEYCHAIN_FLAG_VALUE_RE, "keychain_secret");
|
|
77
|
+
apply(SECRET_FLAG_RE, "flag_secret");
|
|
78
|
+
apply(AUTH_HEADER_RE, "authorization_header");
|
|
79
|
+
return { text, redactedCount };
|
|
80
|
+
}
|
|
81
|
+
function isSecretRedactedCapture(text) {
|
|
82
|
+
return typeof text === "string" && text.includes("[REDACTED:");
|
|
83
|
+
}
|
|
46
84
|
function findContainingChunk(filePath, snippet) {
|
|
47
85
|
try {
|
|
48
86
|
const ext = filePath.split(".").pop()?.toLowerCase();
|
|
@@ -201,5 +239,7 @@ function extractResponseText(response) {
|
|
|
201
239
|
}
|
|
202
240
|
|
|
203
241
|
export {
|
|
204
|
-
extractSemanticText
|
|
242
|
+
extractSemanticText,
|
|
243
|
+
redactCommandLineSecrets,
|
|
244
|
+
isSecretRedactedCapture
|
|
205
245
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sendMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RWM6TZH6.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IHBYJG7N.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveExeSession
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WSYIQKZ6.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-LBEBSXZA.js";
|
|
20
20
|
|
|
21
21
|
// src/mcp/tools/send-message.ts
|
|
22
22
|
import { z } from "zod";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractMemoryGraph
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5WNZGNQL.js";
|
|
4
4
|
import {
|
|
5
5
|
flushBatch,
|
|
6
6
|
writeMemory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-X2EBM5BQ.js";
|
|
8
8
|
import {
|
|
9
9
|
extractKeywords
|
|
10
10
|
} from "./chunk-CHCA3ZM2.js";
|
|
11
11
|
import {
|
|
12
12
|
getActiveAgent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IHBYJG7N.js";
|
|
14
14
|
|
|
15
15
|
// src/mcp/tools/import-conversations.ts
|
|
16
16
|
import { z } from "zod";
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
extractSemanticText
|
|
3
|
-
|
|
2
|
+
extractSemanticText,
|
|
3
|
+
isSecretRedactedCapture,
|
|
4
|
+
redactCommandLineSecrets
|
|
5
|
+
} from "./chunk-6APOLYIZ.js";
|
|
4
6
|
import {
|
|
5
7
|
detectError
|
|
6
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CBC3JCIF.js";
|
|
7
9
|
import {
|
|
8
10
|
contextualizeCapture
|
|
9
11
|
} from "./chunk-5MOYSU5A.js";
|
|
@@ -12,10 +14,10 @@ import {
|
|
|
12
14
|
} from "./chunk-BYP3DOUU.js";
|
|
13
15
|
import {
|
|
14
16
|
resolveExeSession
|
|
15
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WSYIQKZ6.js";
|
|
16
18
|
import {
|
|
17
19
|
getProjectName
|
|
18
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-J6RTX7XT.js";
|
|
19
21
|
|
|
20
22
|
// src/lib/post-tool-memory.ts
|
|
21
23
|
var NON_INGESTIBLE_TOOLS = /* @__PURE__ */ new Set([
|
|
@@ -44,16 +46,16 @@ function buildPostToolMemoryEntry(data, agent, meta) {
|
|
|
44
46
|
if (!shouldIngestToolResult(data)) return null;
|
|
45
47
|
let rawText = extractSemanticText(data.tool_name, data.tool_input, data.tool_response);
|
|
46
48
|
if (rawText.trim().length < 10) {
|
|
47
|
-
const inputPreview = redactSecrets(JSON.stringify(data.tool_input ?? "").slice(0, 500)
|
|
48
|
-
const outputPreview = redactSecrets(JSON.stringify(data.tool_response ?? "").slice(0, 500)
|
|
49
|
+
const inputPreview = redactSecrets(redactCommandLineSecrets(JSON.stringify(data.tool_input ?? "")).text).text.slice(0, 500);
|
|
50
|
+
const outputPreview = redactSecrets(redactCommandLineSecrets(JSON.stringify(data.tool_response ?? "")).text).text.slice(0, 500);
|
|
49
51
|
rawText = `Tool call: ${data.tool_name}
|
|
50
52
|
Input: ${inputPreview}
|
|
51
53
|
Output: ${outputPreview}`;
|
|
52
54
|
}
|
|
53
55
|
if (rawText.trim().length < 10) return null;
|
|
54
56
|
const hasError = detectError(data);
|
|
55
|
-
const toolInputStr = redactSecrets(JSON.stringify(data.tool_input ?? "").slice(0, 200)
|
|
56
|
-
const toolOutputStr = redactSecrets(JSON.stringify(data.tool_response ?? "").slice(0, 200)
|
|
57
|
+
const toolInputStr = redactSecrets(redactCommandLineSecrets(JSON.stringify(data.tool_input ?? "")).text).text.slice(0, 200);
|
|
58
|
+
const toolOutputStr = redactSecrets(redactCommandLineSecrets(JSON.stringify(data.tool_response ?? "")).text).text.slice(0, 200);
|
|
57
59
|
const projectName = getProjectName(data.cwd ?? process.cwd());
|
|
58
60
|
const timestamp = (/* @__PURE__ */ new Date()).toISOString();
|
|
59
61
|
const contextualizedRawText = contextualizeCapture(rawText, {
|
|
@@ -63,6 +65,7 @@ Output: ${outputPreview}`;
|
|
|
63
65
|
toolName: data.tool_name
|
|
64
66
|
});
|
|
65
67
|
const sessionScope = resolveExeSession() ?? void 0;
|
|
68
|
+
const secretRedactionApplied = isSecretRedactedCapture(contextualizedRawText) || isSecretRedactedCapture(toolInputStr) || isSecretRedactedCapture(toolOutputStr);
|
|
66
69
|
return {
|
|
67
70
|
raw_text: contextualizedRawText,
|
|
68
71
|
agent_id: agent.agentId,
|
|
@@ -74,13 +77,15 @@ Output: ${outputPreview}`;
|
|
|
74
77
|
timestamp,
|
|
75
78
|
...sessionScope ? { session_scope: sessionScope } : {},
|
|
76
79
|
...meta?.subagentAgentType ? { subagent_agent_type: meta.subagentAgentType } : {},
|
|
80
|
+
...secretRedactionApplied ? { secret_redaction_applied: true } : {},
|
|
77
81
|
trajectory: JSON.stringify({
|
|
78
82
|
input: toolInputStr,
|
|
79
83
|
tool: data.tool_name,
|
|
80
84
|
output: toolOutputStr,
|
|
81
85
|
result_type: hasError ? "error" : "success",
|
|
82
86
|
// Untrusted subagent name (metadata only — never the owner).
|
|
83
|
-
...meta?.subagentAgentType ? { subagent_agent_type: meta.subagentAgentType } : {}
|
|
87
|
+
...meta?.subagentAgentType ? { subagent_agent_type: meta.subagentAgentType } : {},
|
|
88
|
+
...secretRedactionApplied ? { secret_redaction_applied: true } : {}
|
|
84
89
|
})
|
|
85
90
|
};
|
|
86
91
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deactivateBehavior
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NYV4A5IG.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IHBYJG7N.js";
|
|
7
7
|
import {
|
|
8
8
|
canCoordinate,
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LBEBSXZA.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp/tools/deactivate-behavior.ts
|
|
13
13
|
import { z } from "zod";
|
|
@@ -24,7 +24,7 @@ function registerDeactivateBehavior(server) {
|
|
|
24
24
|
async ({ behavior_id }) => {
|
|
25
25
|
const caller = getActiveAgent();
|
|
26
26
|
try {
|
|
27
|
-
const { StewardGate } = await import("./steward-gate-
|
|
27
|
+
const { StewardGate } = await import("./steward-gate-2MUESY3V.js");
|
|
28
28
|
const steward = new StewardGate();
|
|
29
29
|
const gateDecision = await steward.checkAuthority(caller.agentId || "unknown", "deactivate_behavior", behavior_id);
|
|
30
30
|
if (!gateDecision.allowed) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WSYIQKZ6.js";
|
|
4
4
|
import {
|
|
5
5
|
recordOrchestrationEventBestEffort
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WLV27PAO.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isCoordinatorName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LBEBSXZA.js";
|
|
11
11
|
import {
|
|
12
12
|
isDaemonAlive
|
|
13
13
|
} from "./chunk-QH5ZQ5SJ.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BIHPY7JW.js";
|
|
4
4
|
import {
|
|
5
5
|
TASK_ALREADY_CLAIMED_PREFIX,
|
|
6
6
|
TASK_CLAIM_NOT_HELD_PREFIX,
|
|
7
7
|
TASK_PR_TRACEABILITY_REQUIRED_PREFIX,
|
|
8
8
|
TASK_SIDECHAIN_WRITE_BLOCKED_PREFIX
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WSYIQKZ6.js";
|
|
10
10
|
import {
|
|
11
11
|
getAgentContext
|
|
12
12
|
} from "./chunk-GJV3WDWM.js";
|
|
13
13
|
import {
|
|
14
14
|
isCoordinatorName
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LBEBSXZA.js";
|
|
16
16
|
|
|
17
17
|
// src/mcp/tools/update-task.ts
|
|
18
18
|
import { z } from "zod";
|
|
@@ -75,7 +75,7 @@ function registerUpdateTask(server) {
|
|
|
75
75
|
let callerSession;
|
|
76
76
|
let callerIsSidechain = false;
|
|
77
77
|
try {
|
|
78
|
-
const { getActiveAgent: getAgent } = await import("./active-agent-
|
|
78
|
+
const { getActiveAgent: getAgent } = await import("./active-agent-2ELFTYNT.js");
|
|
79
79
|
const active = getAgent();
|
|
80
80
|
callerAgentId = active.agentId;
|
|
81
81
|
callerSession = resolveCallerSessionForUpdate();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
derivePartnerSealIdentityFromMaster
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B34RSIUP.js";
|
|
4
4
|
import {
|
|
5
5
|
derivePartnerSignIdentityFromMaster,
|
|
6
6
|
displayFingerprint,
|
|
7
7
|
ed25519PrivateKeyFromSeed,
|
|
8
8
|
ed25519PublicKeyFromRaw
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OUUNFTS4.js";
|
|
10
10
|
import {
|
|
11
11
|
getMasterKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IQCC6WFI.js";
|
|
13
13
|
|
|
14
14
|
// src/lib/org-key-epoch.ts
|
|
15
15
|
import crypto, { sign as edSign, verify as edVerify } from "crypto";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getCurrentSessionScope,
|
|
3
3
|
strictSessionScopeFilter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WSYIQKZ6.js";
|
|
5
5
|
import {
|
|
6
6
|
getProjectName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J6RTX7XT.js";
|
|
8
8
|
|
|
9
9
|
// src/lib/session-events.ts
|
|
10
10
|
import { randomUUID } from "crypto";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exportRawPublicKey,
|
|
3
3
|
privateKeyFromScalar
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2K7IKLBL.js";
|
|
5
5
|
import {
|
|
6
6
|
getMasterKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IQCC6WFI.js";
|
|
8
8
|
|
|
9
9
|
// src/lib/partner-seal-identity.ts
|
|
10
10
|
import crypto from "crypto";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-CBPNZFSU.js";
|
|
4
4
|
import {
|
|
5
5
|
initStore
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X2EBM5BQ.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isInitialized
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LBEBSXZA.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/schedules.ts
|
|
13
13
|
import crypto from "crypto";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
dispatchTaskToEmployee,
|
|
3
3
|
markTaskNotificationsRead,
|
|
4
4
|
notifyTaskDone
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CEHGXPMO.js";
|
|
6
6
|
import {
|
|
7
7
|
clearCurrentTask,
|
|
8
8
|
writeCurrentTask
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
strictSessionScopeFilter,
|
|
20
20
|
updateTaskStatus,
|
|
21
21
|
writeNotification
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WSYIQKZ6.js";
|
|
23
23
|
import {
|
|
24
24
|
getAgentContext
|
|
25
25
|
} from "./chunk-GJV3WDWM.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
getClient,
|
|
31
31
|
getCoordinatorName,
|
|
32
32
|
isCoordinatorName
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LBEBSXZA.js";
|
|
34
34
|
import {
|
|
35
35
|
isAutonomousTmuxSpawnEnabled
|
|
36
36
|
} from "./chunk-MMS2HBRT.js";
|
|
@@ -85,7 +85,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
85
85
|
if (unblockedRows.rows.length > 0 && !process.env.VITEST) {
|
|
86
86
|
const autonomousSpawnAllowed = isAutonomousTmuxSpawnEnabled();
|
|
87
87
|
try {
|
|
88
|
-
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-
|
|
88
|
+
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-BCWO7AP6.js");
|
|
89
89
|
const dispatched = /* @__PURE__ */ new Set();
|
|
90
90
|
for (const ur of unblockedRows.rows) {
|
|
91
91
|
if (!unblockedRowMayAutoDispatch(ur, autonomousSpawnAllowed)) continue;
|
|
@@ -97,7 +97,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
97
97
|
}
|
|
98
98
|
} catch {
|
|
99
99
|
try {
|
|
100
|
-
const { queueIntercom } = await import("./intercom-queue-
|
|
100
|
+
const { queueIntercom } = await import("./intercom-queue-II6RRK3J.js");
|
|
101
101
|
const dispatched = /* @__PURE__ */ new Set();
|
|
102
102
|
for (const ur of unblockedRows.rows) {
|
|
103
103
|
if (!unblockedRowIsDurableTmux(ur)) continue;
|
|
@@ -313,7 +313,7 @@ async function updateTask(input, deps = {}) {
|
|
|
313
313
|
try {
|
|
314
314
|
process.stderr.write(`[tasks] EVENT: tmux delivery failed for reviewer="${reviewer}". Queueing for daemon delivery.
|
|
315
315
|
`);
|
|
316
|
-
const { queueIntercom } = await import("./intercom-queue-
|
|
316
|
+
const { queueIntercom } = await import("./intercom-queue-II6RRK3J.js");
|
|
317
317
|
const { resolveExeSession } = await import("./lib/tmux-routing.js");
|
|
318
318
|
const exeSession = row.session_scope ? String(row.session_scope) : resolveExeSession();
|
|
319
319
|
if (exeSession) {
|
|
@@ -330,7 +330,7 @@ async function updateTask(input, deps = {}) {
|
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
try {
|
|
333
|
-
const { pushNotifyAsync } = await import("./push-notifications-
|
|
333
|
+
const { pushNotifyAsync } = await import("./push-notifications-W3UNHDC5.js");
|
|
334
334
|
pushNotifyAsync({
|
|
335
335
|
event: "review_ready",
|
|
336
336
|
title: `Review ready: ${taskTitle.slice(0, 50)}`,
|
|
@@ -342,7 +342,7 @@ async function updateTask(input, deps = {}) {
|
|
|
342
342
|
}
|
|
343
343
|
if (isLegacyExecution && !isCoordinator && isCompletionReviewTransition) {
|
|
344
344
|
try {
|
|
345
|
-
const { pushNotifyAsync } = await import("./push-notifications-
|
|
345
|
+
const { pushNotifyAsync } = await import("./push-notifications-W3UNHDC5.js");
|
|
346
346
|
const event = input.status === "needs_review" ? "review_ready" : "task_complete";
|
|
347
347
|
pushNotifyAsync({
|
|
348
348
|
event,
|
|
@@ -357,7 +357,7 @@ async function updateTask(input, deps = {}) {
|
|
|
357
357
|
await markTaskNotificationsRead(taskFile);
|
|
358
358
|
if (isLegacyExecution && isCompletionReviewTransition && !isCoordinator && row.reviewer) {
|
|
359
359
|
try {
|
|
360
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
360
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-75FVPJLY.js");
|
|
361
361
|
const reviewer = String(row.reviewer);
|
|
362
362
|
await writeNotification2({
|
|
363
363
|
agentId: reviewer,
|