@askexenow/exe-os 0.9.410 → 0.9.412
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/delivery/catalog.json +29 -38
- package/deploy/compose/.env.customer.example +5 -5
- package/deploy/compose/.env.default +4 -4
- package/deploy/compose/.env.example +5 -5
- package/deploy/compose/docker-compose.yml +1 -1
- package/deploy/stack-manifests/v0.9.json +263 -2
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-2ELFTYNT.js → active-agent-3YCLS7GB.js} +4 -4
- package/dist/{active-agent-SS4SRXYZ.js → active-agent-MHWQDMML.js} +4 -4
- package/dist/{agent-defs-generator-6S2BSYCP.js → agent-defs-generator-DNXMO34I.js} +4 -4
- package/dist/{agentic-ontology-TJOAUAPD.js → agentic-ontology-RA6CMND6.js} +1 -1
- package/dist/{artifact-backup-STQQZDZ5.js → artifact-backup-EETHNFFP.js} +3 -3
- package/dist/{backfill-metadata-I2FVENKJ.js → backfill-metadata-WYT257VG.js} +7 -7
- package/dist/backup-verify-AG54CYGR.js +62 -0
- package/dist/{behavior-injection-CTSIKHTH.js → behavior-injection-G7GAUHGO.js} +10 -10
- package/dist/{behavior-promotion-NZMTTFHK.js → behavior-promotion-I2DIUFUR.js} +9 -9
- package/dist/{behaviors-RUNSC5WI.js → behaviors-SKVKPCRW.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 -13
- package/dist/bin/cli.js +24 -24
- package/dist/bin/deferred-daemon-restart.js +95 -95
- package/dist/bin/exe-actions.js +1 -1
- package/dist/bin/exe-agent-config.js +3 -3
- package/dist/bin/exe-agent.js +15 -15
- package/dist/bin/exe-assign.js +8 -8
- package/dist/bin/exe-boot.js +35 -35
- package/dist/bin/exe-call.js +9 -9
- package/dist/bin/exe-cloud.js +17 -17
- package/dist/bin/exe-config-dump.js +3 -3
- package/dist/bin/exe-dispatch.js +14 -14
- package/dist/bin/exe-doctor.js +5 -5
- package/dist/bin/exe-export-behaviors.js +12 -12
- package/dist/bin/exe-forget.js +10 -10
- 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 -19
- package/dist/bin/exe-kill.js +18 -18
- package/dist/bin/exe-launch-agent.js +75 -36
- package/dist/bin/exe-mcp.js +5 -5
- package/dist/bin/exe-memory-reads.js +7 -7
- package/dist/bin/exe-new-employee.js +11 -11
- package/dist/bin/exe-os-mcp-proxy.js +5 -5
- package/dist/bin/exe-pending-messages.js +14 -14
- package/dist/bin/exe-pending-notifications.js +13 -13
- package/dist/bin/exe-pending-reviews.js +14 -14
- package/dist/bin/exe-rename.js +7 -7
- package/dist/bin/exe-review.js +17 -17
- package/dist/bin/exe-search.js +9 -9
- package/dist/bin/exe-session-cleanup.js +18 -18
- package/dist/bin/exe-settings.js +16 -16
- package/dist/bin/exe-start-codex.js +37 -19
- package/dist/bin/exe-start-opencode.js +35 -17
- package/dist/bin/exe-status.js +15 -15
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +5 -5
- package/dist/bin/git-sweep.js +15 -15
- 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/pre-publish.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 -14
- package/dist/bin/setup.js +2 -2
- package/dist/bin/shard-migrate.js +8 -8
- package/dist/bin/stack-update.js +41 -16
- package/dist/bin/verify-stack.js +1 -1
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-4W4CDJSX.js → boot-generation-RPJVFAQJ.js} +4 -4
- package/dist/{boot-review-sections-HJN25GMU.js → boot-review-sections-FOPPZTJI.js} +12 -12
- package/dist/{bug-landed-reconciler-GGQU6G2L.js → bug-landed-reconciler-FN5KPBRK.js} +6 -6
- package/dist/build-info.json +3 -3
- package/dist/build-manifest.json +936 -926
- package/dist/{capability-cards-EV7VHL3W.js → capability-cards-YQWBEG7A.js} +3 -3
- package/dist/{capacity-monitor-YO3WRSRY.js → capacity-monitor-7SMEJHYG.js} +14 -14
- package/dist/{catchup-brief-4XFFW3H2.js → catchup-brief-IBQ26LEB.js} +19 -19
- package/dist/{chunk-YJ7MCZSY.js → chunk-27NG2NTG.js} +2 -2
- package/dist/{chunk-2AXJRXA6.js → chunk-2BOLFLAU.js} +4 -2
- package/dist/{chunk-AGXV5HLA.js → chunk-2EYVXUGA.js} +4 -4
- package/dist/{chunk-2YZZR2BW.js → chunk-2YFMBXUU.js} +4 -4
- package/dist/{chunk-ZBXZFOIF.js → chunk-2YGBJHC2.js} +3 -3
- package/dist/{chunk-I35OMCL3.js → chunk-353XF4LU.js} +2 -2
- package/dist/{chunk-UF5BDAF6.js → chunk-3DXAJVXE.js} +6 -6
- package/dist/{chunk-AEOB4JCJ.js → chunk-3GGMHSY2.js} +3 -3
- package/dist/{chunk-K6XWIJN7.js → chunk-3N24FV22.js} +1 -1
- package/dist/{chunk-7WCYJXOF.js → chunk-47YGEM4N.js} +1 -1
- package/dist/{chunk-NVM3SKJ4.js → chunk-4CN3EE6U.js} +27 -21
- package/dist/{chunk-IQCC6WFI.js → chunk-4J77TCTX.js} +1 -1
- package/dist/{chunk-H5H2LGVE.js → chunk-5BWDUUMH.js} +3 -3
- package/dist/{chunk-O5RKAXCG.js → chunk-5DLZJ3MY.js} +1 -1
- package/dist/{chunk-E3ZO4EL3.js → chunk-5ZMNFSHV.js} +1 -1
- package/dist/{chunk-7QFRZT4H.js → chunk-657I6PUF.js} +3 -3
- package/dist/{chunk-IXRYS5X3.js → chunk-6777GNWI.js} +1 -1
- package/dist/{chunk-4THJIDJE.js → chunk-6BD6JYR2.js} +1 -1
- package/dist/{chunk-JTXXLNYD.js → chunk-6DMURUBY.js} +4 -4
- package/dist/{chunk-47UBJKS3.js → chunk-6HJF7IA3.js} +168 -205
- package/dist/{chunk-PONGX3YG.js → chunk-6J2J3VJS.js} +10 -10
- package/dist/{chunk-XBCIRNNU.js → chunk-6PXFF6IV.js} +1 -1
- package/dist/{chunk-DWK5HEKY.js → chunk-7HLAYQRG.js} +4 -4
- package/dist/{chunk-RWM6TZH6.js → chunk-7KPZQ65I.js} +3 -3
- package/dist/{chunk-BPXWWD7P.js → chunk-7PDZBPGW.js} +1 -1
- package/dist/{chunk-2K7IKLBL.js → chunk-7SHU5MOD.js} +1 -1
- package/dist/{chunk-APKEGWFB.js → chunk-A5I2GYVQ.js} +3 -3
- package/dist/{chunk-X4V5ZLNX.js → chunk-A75TAU2I.js} +628 -4
- package/dist/{chunk-T7W75LII.js → chunk-BE3UETW6.js} +3 -3
- package/dist/{chunk-575FWHQJ.js → chunk-BG6RAOCJ.js} +63 -9
- package/dist/{chunk-YSDSQRE2.js → chunk-BIPTWAEO.js} +1 -1
- package/dist/{chunk-FYKEL2L6.js → chunk-BLTXAUP6.js} +2 -2
- package/dist/{chunk-ASA2UJDH.js → chunk-CFFSHBQF.js} +1 -1
- package/dist/{chunk-XCKTCOK3.js → chunk-CJ6CS2IH.js} +5 -5
- package/dist/{chunk-V7AID6MC.js → chunk-CRW63CDI.js} +1 -1
- package/dist/{chunk-B34RSIUP.js → chunk-CWHTUNJX.js} +2 -2
- package/dist/{chunk-HKAWEIB2.js → chunk-D6NZNUVH.js} +1 -1
- package/dist/{chunk-CEHGXPMO.js → chunk-DHLJZDWI.js} +4 -4
- package/dist/{chunk-FCX2XHIC.js → chunk-DWRULKB3.js} +2 -2
- package/dist/{chunk-KNEEOZWN.js → chunk-EOWJXCYC.js} +25 -7
- package/dist/{chunk-5BWN6A5E.js → chunk-EWDBWOCX.js} +1 -1
- package/dist/{chunk-IUAW7FVX.js → chunk-FPF2PJFK.js} +3 -3
- package/dist/{chunk-B55U5BKF.js → chunk-FSXMKIDO.js} +1 -1
- package/dist/{chunk-2A556FNI.js → chunk-FUDXITKX.js} +1 -1
- package/dist/{chunk-FZT7CBXB.js → chunk-FYV2CTKP.js} +1 -1
- package/dist/{chunk-R2ZHPVF2.js → chunk-GATAYYAF.js} +3 -3
- package/dist/{chunk-CKRZBQ2K.js → chunk-GHYHNHDL.js} +1 -1
- package/dist/{chunk-IHBYJG7N.js → chunk-GL5ZG72X.js} +1 -1
- package/dist/{chunk-WSYIQKZ6.js → chunk-GM4UEZDE.js} +20 -20
- package/dist/{chunk-QKHQTHE6.js → chunk-GZVFHFO3.js} +10 -135
- package/dist/{chunk-XC2KAJK4.js → chunk-HA6BIZ6L.js} +5 -5
- package/dist/chunk-HDQAVAV6.js +248 -0
- package/dist/{chunk-5Q64Q5ZD.js → chunk-HDV2V25K.js} +1 -1
- package/dist/{chunk-26CY4EAR.js → chunk-HTFM7ZDD.js} +2 -2
- package/dist/{chunk-NUEDA2US.js → chunk-HUHR5CKJ.js} +4 -4
- package/dist/{chunk-BIHPY7JW.js → chunk-IC2AONBH.js} +9 -9
- package/dist/{chunk-2YK5HP2B.js → chunk-IHAXXDBH.js} +3 -3
- package/dist/{chunk-5JHIAGZY.js → chunk-IPUDXR67.js} +1 -1
- package/dist/{chunk-BBTNF72N.js → chunk-J6U4ZR77.js} +2 -2
- package/dist/{chunk-2OIVIPU7.js → chunk-JAIZCE6W.js} +3 -3
- package/dist/{chunk-WLV27PAO.js → chunk-JGBYZTWH.js} +1 -1
- package/dist/{chunk-4XY33GRO.js → chunk-JJZZXEAN.js} +3 -3
- package/dist/{chunk-3UEDFBDE.js → chunk-JNULO6I5.js} +3 -3
- package/dist/{chunk-JZ23D5YF.js → chunk-JTJP4JK7.js} +3 -3
- package/dist/{chunk-JDZNGC4O.js → chunk-JW5NUXPN.js} +11 -11
- package/dist/{chunk-GGT6Y5AN.js → chunk-K2HIXAIF.js} +12 -12
- package/dist/{chunk-NYV4A5IG.js → chunk-KEDZRQI3.js} +2 -2
- package/dist/{chunk-S2DTXCV6.js → chunk-KN5GAVCG.js} +2 -2
- package/dist/{chunk-LBEBSXZA.js → chunk-L5JFVK5T.js} +4 -4
- package/dist/{chunk-HNJLAMD3.js → chunk-LBSCOP25.js} +1 -1
- package/dist/{chunk-FOZSHNET.js → chunk-LLZUL7M2.js} +1 -1
- package/dist/{chunk-53GNYXNR.js → chunk-LQGLGSBY.js} +2 -2
- package/dist/{chunk-X2EBM5BQ.js → chunk-LSHUX7P4.js} +16 -16
- package/dist/{chunk-AWTLUJZL.js → chunk-M6AX64J2.js} +2 -2
- package/dist/{chunk-7RVTQXST.js → chunk-M6SUJLNP.js} +2 -2
- package/dist/{chunk-OUUNFTS4.js → chunk-MZNLQC6W.js} +1 -1
- package/dist/{chunk-PCF4QMJS.js → chunk-N7POJZJT.js} +10 -10
- package/dist/{chunk-2CG3LHI6.js → chunk-NCNT2C2P.js} +2 -2
- package/dist/{chunk-R3N5BCMM.js → chunk-O3BLL6MY.js} +1 -1
- package/dist/{chunk-SLG3T26A.js → chunk-O6KQAJCC.js} +3 -3
- package/dist/{chunk-2WOHFX4Z.js → chunk-OHHZNNUD.js} +1 -1
- package/dist/{chunk-HWP3WCLC.js → chunk-OPG237ZQ.js} +154 -50
- package/dist/{chunk-2LJ2GZEE.js → chunk-PDQGR5LZ.js} +1 -1
- package/dist/{chunk-UBTKHJCB.js → chunk-PTF5TB6O.js} +6 -6
- package/dist/{chunk-5F3E57TQ.js → chunk-PYXXL7N7.js} +1 -1
- package/dist/{chunk-HLNRLXUS.js → chunk-Q6KUBP6R.js} +5 -5
- package/dist/{chunk-AGY2KUQ6.js → chunk-QJWLQXR7.js} +1 -1
- package/dist/{chunk-ZEDLED43.js → chunk-QOFQY7BJ.js} +1 -1
- package/dist/{chunk-6T5RC3L4.js → chunk-QSW5DHMZ.js} +1 -1
- package/dist/{chunk-54Q7M2AG.js → chunk-QV26G2BF.js} +1 -1
- package/dist/{chunk-5WNZGNQL.js → chunk-RHHEYC6H.js} +3 -3
- package/dist/{chunk-K464YYT5.js → chunk-RHJOTGEU.js} +1 -1
- package/dist/{chunk-LZS2B2JT.js → chunk-RIKFXHLE.js} +247 -31
- package/dist/{chunk-6TOV7UVU.js → chunk-RJIH7JXM.js} +4 -4
- package/dist/{chunk-2Q2U3NB2.js → chunk-RMC2A6EE.js} +1 -1
- package/dist/{chunk-FUEKSCTN.js → chunk-RYMXD2NT.js} +1 -1
- package/dist/{chunk-MNWN3SQ3.js → chunk-RYYFFCJG.js} +1 -1
- package/dist/{chunk-E2346GKI.js → chunk-SINIRUYZ.js} +101 -9
- package/dist/{chunk-22XJWSWN.js → chunk-SXUABANK.js} +3 -3
- package/dist/{backup-verify-AOTKX5DA.js → chunk-T3AM52YT.js} +345 -89
- package/dist/{chunk-LCXWQVOD.js → chunk-TCBWHLKH.js} +4 -4
- package/dist/{chunk-YWZGDFAL.js → chunk-TS4LSNRI.js} +2 -2
- package/dist/{chunk-J6RTX7XT.js → chunk-TVWYMOZ4.js} +1 -1
- package/dist/{chunk-3WNDI5KT.js → chunk-VAHQOIQY.js} +1 -1
- package/dist/{chunk-QH2V67NX.js → chunk-VBYSAQJD.js} +1 -1
- package/dist/{chunk-MQD3JJCO.js → chunk-VQQPYI4X.js} +1 -1
- package/dist/{chunk-XJQGS4IM.js → chunk-VS7V5HNO.js} +1 -1
- package/dist/{chunk-CPC75PXE.js → chunk-W3ABSZ6G.js} +2 -2
- package/dist/{chunk-SUGAHHVR.js → chunk-W7VKGB42.js} +1 -1
- package/dist/{chunk-UG3YOQAC.js → chunk-X2ZHCNNB.js} +5 -5
- package/dist/{chunk-YC6SZFVD.js → chunk-X4FHT6ST.js} +5 -5
- package/dist/{chunk-RXICR3D7.js → chunk-XC5OASHV.js} +1 -1
- package/dist/{chunk-TU5Y5ZNC.js → chunk-XDOCXKHW.js} +58 -1
- package/dist/{chunk-DLHE4PCM.js → chunk-XEAZJXMZ.js} +4 -4
- package/dist/{chunk-XMMWBLQK.js → chunk-XQ7BIVLI.js} +6 -6
- package/dist/{chunk-FRJICRED.js → chunk-Z3LGAFMG.js} +1 -1
- package/dist/{chunk-HCBISGUU.js → chunk-ZJ6AMC4Y.js} +7 -7
- package/dist/{chunk-AEEAQZ3E.js → chunk-ZZR2WRNW.js} +4 -4
- package/dist/{cleanup-graph-garbage-N7FTWU6C.js → cleanup-graph-garbage-SYGPMPUM.js} +8 -8
- package/dist/{cli-shutdown-NCBQTN7G.js → cli-shutdown-JI7CASE4.js} +1 -1
- package/dist/{cloud-sync-command-UL7GNN3J.js → cloud-sync-command-ZV3P5FP6.js} +2 -2
- package/dist/{cloud-sync-db-init-ASM7ZXBH.js → cloud-sync-db-init-RQIHWKV4.js} +1 -1
- package/dist/{cloud-sync-shutdown-HER4ISBU.js → cloud-sync-shutdown-V2N7VLD3.js} +3 -3
- package/dist/{co-activation-V5XXR327.js → co-activation-SRE6DIRX.js} +3 -3
- package/dist/{co-occurrence-MKZ6YWSQ.js → co-occurrence-F5TMSEQZ.js} +6 -6
- package/dist/{consent-passphrase-YI3J4UEL.js → consent-passphrase-MWZRHJRC.js} +2 -2
- package/dist/{conversation-entity-extractor-66G7ROQ3.js → conversation-entity-extractor-XMOUHGMT.js} +3 -3
- package/dist/{crdt-sync-Z62SWOKD.js → crdt-sync-FXEKABM7.js} +4 -4
- package/dist/{crm-webhook-6GBACWJX.js → crm-webhook-D6IJOPRQ.js} +2 -2
- package/dist/{cto-delegation-gate-FUKPBFCM.js → cto-delegation-gate-BU3JRCYN.js} +12 -12
- package/dist/{daemon-orchestration-O3QPSJEP.js → daemon-orchestration-K4NKFYXO.js} +19 -19
- package/dist/{destructive-data-guard-JDUJ2ULM.js → destructive-data-guard-3TGAAE7K.js} +77 -23
- package/dist/{doc-graph-extractor-BBPKLIVM.js → doc-graph-extractor-TVK2NGAR.js} +6 -6
- package/dist/{documents-NILTWYSQ.js → documents-MDZ4VB5X.js} +8 -8
- package/dist/{dreaming-KMDGPIFY.js → dreaming-L24PSS35.js} +17 -17
- package/dist/{employee-boot-brief-KSH3MWIF.js → employee-boot-brief-GQVL3FQC.js} +21 -21
- package/dist/{entity-boost-XETN7C2S.js → entity-boost-OMFA5QCG.js} +1 -1
- package/dist/{exe-drift-SFD7SHXC.js → exe-drift-JDDG3OPT.js} +4 -4
- package/dist/{exe-export-NHWKEZL4.js → exe-export-EEGIE3JP.js} +10 -10
- package/dist/{exe-import-SPI5HJBU.js → exe-import-UJNC5Q2L.js} +10 -10
- package/dist/{exe-key-TY5LFUEM.js → exe-key-TYEY4W4E.js} +95 -95
- package/dist/{exe-org-LVQLXA7C.js → exe-org-B3ICTTEV.js} +32 -32
- package/dist/{exe-snapshot-WH2DSRZW.js → exe-snapshot-VBFBONYN.js} +20 -20
- package/dist/{fast-db-init-UN225WS7.js → fast-db-init-TFRTK6EH.js} +1 -1
- package/dist/{founder-context-DVHSVBM5.js → founder-context-3X4QUWKD.js} +2 -2
- package/dist/{founder-monitor-envelope-HMPPUBUT.js → founder-monitor-envelope-54UNZNY4.js} +4 -4
- package/dist/gateway/index.js +14 -14
- package/dist/{gateway-client-TXHCHOVM.js → gateway-client-OUDO5GGV.js} +1 -1
- package/dist/{git-staleness-CUVLXQOJ.js → git-staleness-73YZ5PGU.js} +3 -3
- package/dist/{global-procedures-T5W3S6OU.js → global-procedures-PYNE2BQG.js} +20 -6
- package/dist/{graph-auto-extract-S7OIZXYP.js → graph-auto-extract-PGUMEEQB.js} +6 -6
- package/dist/{graph-query-CRIH4DXF.js → graph-query-7YA3YNKL.js} +1 -1
- package/dist/{graph-rag-LH34CEGC.js → graph-rag-UWOTK4AQ.js} +3 -3
- package/dist/{hook-integrity-TSJYZFZ6.js → hook-integrity-6MNEPT6W.js} +1 -1
- package/dist/{hook-prefetch-SNW5DFCZ.js → hook-prefetch-JOF6YZSR.js} +13 -13
- package/dist/hooks/bug-report-worker.js +17 -17
- package/dist/hooks/codex-stop-task-finalizer.js +19 -19
- package/dist/hooks/commit-complete.js +16 -16
- package/dist/hooks/error-recall.js +11 -11
- package/dist/hooks/exe-heartbeat-hook.js +5 -5
- package/dist/hooks/ingest-worker.js +15 -15
- package/dist/hooks/ingest.js +13 -13
- 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 -16
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/hooks/prompt-submit.js +34 -34
- package/dist/hooks/session-end.js +21 -21
- package/dist/hooks/session-start.js +18 -18
- package/dist/hooks/stop.js +19 -19
- package/dist/hooks/subagent-stop.js +18 -18
- package/dist/hooks/summary-worker.js +20 -20
- package/dist/index.js +26 -26
- package/dist/{installer-4IVP2PTX.js → installer-34XZ7JMW.js} +6 -6
- package/dist/{installer-UFRZHMX5.js → installer-356RMQ2K.js} +6 -6
- package/dist/{installer-CJWNUASI.js → installer-7TN36Z7T.js} +112 -28
- package/dist/{intercom-queue-II6RRK3J.js → intercom-queue-ZJ3MNULM.js} +12 -12
- package/dist/lib/backup-verify-worker.js +157 -0
- package/dist/lib/cloud-sync.js +16 -20
- 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 +7 -3
- 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 +7 -7
- package/dist/lib/employees.js +3 -3
- package/dist/lib/exe-daemon.js +89 -84
- package/dist/lib/hybrid-search.js +9 -9
- package/dist/lib/identity.js +3 -3
- package/dist/lib/keychain.js +1 -1
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +13 -13
- package/dist/lib/post-tool-memory.js +13 -13
- 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 -14
- package/dist/lib/tmux-routing.js +12 -12
- package/dist/lib/token-spend.js +4 -4
- package/dist/lib/ws-client.js +1 -1
- package/dist/{license-gate-M7EDJLAA.js → license-gate-4BXUTHLB.js} +3 -3
- package/dist/{license-recheck-DLTOHAH2.js → license-recheck-QFPUKISQ.js} +1 -1
- package/dist/{license-sync-YTDCUN3S.js → license-sync-FDEDT4AC.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 -16
- 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 -16
- package/dist/mcp/tools/send-message.js +15 -15
- package/dist/mcp/tools/update-task.js +15 -15
- package/dist/{mcp-http-config-652YK3CI.js → mcp-http-config-GKP5QGAO.js} +5 -5
- package/dist/{mcp-session-identity-6QGXD52Y.js → mcp-session-identity-JHAGRB7B.js} +12 -12
- package/dist/{memory-cards-FOPSLULE.js → memory-cards-O377ETAM.js} +7 -7
- package/dist/{memory-graph-extractor-7G3CIGN7.js → memory-graph-extractor-4KJCCUOP.js} +7 -7
- package/dist/{memory-maintenance-5XIGUPYL.js → memory-maintenance-RR5UPRW3.js} +1 -1
- package/dist/{memory-poisoning-defense-MI7Y5XBP.js → memory-poisoning-defense-Y5TTKGOP.js} +3 -3
- package/dist/{memory-pressure-watchdog-SPIDPGU2.js → memory-pressure-watchdog-NGXTI4HR.js} +13 -13
- package/dist/{memory-reflection-DVAT4QKS.js → memory-reflection-EXNHRZL7.js} +7 -7
- package/dist/{memory-write-repository-YC7HJTV5.js → memory-write-repository-S4TX7WQB.js} +1 -1
- package/dist/{monitor-grants-3A77O6XK.js → monitor-grants-57Q4NL25.js} +3 -3
- package/dist/{monitor-identity-BTFFMFEX.js → monitor-identity-3FQ52SYU.js} +2 -2
- package/dist/{notification-ledger-AV5242RM.js → notification-ledger-O6KQYYGK.js} +13 -13
- package/dist/{notifications-75FVPJLY.js → notifications-6FCQCJ4P.js} +12 -12
- package/dist/{orchestration-events-ARGZU6KS.js → orchestration-events-2Z2BMMA5.js} +4 -4
- package/dist/{orchestrator-TCXZMLSB.js → orchestrator-AGOSKPHD.js} +14 -14
- package/dist/{org-brief-session-B455POUI.js → org-brief-session-WJHZVXXJ.js} +15 -15
- package/dist/{org-consent-policy-7K5H6FOB.js → org-consent-policy-X43UGTHI.js} +5 -5
- package/dist/{org-join-ETR5KO27.js → org-join-M3UTBMHC.js} +9 -9
- package/dist/{org-key-admin-IRC6H3TL.js → org-key-admin-AA2DRHB2.js} +11 -11
- package/dist/{org-key-epoch-EG4YQ47A.js → org-key-epoch-Z5UIVUHT.js} +5 -5
- package/dist/{org-key-pin-GLQEU3P3.js → org-key-pin-FE6YHEZ3.js} +3 -3
- package/dist/{org-membership-JC5YVU6N.js → org-membership-3J2MIGE4.js} +4 -4
- package/dist/{org-partner-config-QFSVGHEA.js → org-partner-config-5HATZYG4.js} +8 -8
- package/dist/{org-partner-runtime-7AD7WY3Y.js → org-partner-runtime-UI35IHUC.js} +15 -15
- package/dist/{org-row-visibility-AXZKVOA6.js → org-row-visibility-TRJERVYP.js} +1 -1
- package/dist/{pipeline-router-2KY4X6PO.js → pipeline-router-EKQ6D7ZA.js} +4 -4
- package/dist/{plan-limits-PG6HG2DT.js → plan-limits-3BGHIHX6.js} +6 -6
- package/dist/{platform-procedures-QP3W2NLH.js → platform-procedures-RXW46WNY.js} +1 -1
- package/dist/{pre-tool-use-impl-45B4NFIF.js → pre-tool-use-impl-7BT5TJVM.js} +28 -28
- package/dist/{project-name-LHYHR4VN.js → project-name-PGJGUEJY.js} +4 -4
- package/dist/{projection-worker-POT2AOR5.js → projection-worker-3GEVFPAI.js} +2 -2
- package/dist/{prospective-memory-ECXSAEAW.js → prospective-memory-GEN7CN7H.js} +3 -3
- package/dist/{push-notifications-W3UNHDC5.js → push-notifications-QW4BWRC7.js} +13 -13
- package/dist/{reproject-worktree-memories-PIXMJBHG.js → reproject-worktree-memories-DIULBEBD.js} +12 -12
- package/dist/{reranker-ZBPYIRBB.js → reranker-LQ6OPJOI.js} +1 -1
- package/dist/{retrieval-health-42MFLOEP.js → retrieval-health-XDFYFEOP.js} +1 -1
- package/dist/{review-polling-V4CSK4TZ.js → review-polling-ED33YLFT.js} +13 -13
- package/dist/runtime/index.js +20 -20
- package/dist/{session-events-C3NUY6MR.js → session-events-7IJGTBVH.js} +13 -13
- package/dist/{session-kill-telemetry-ZOSAIYU2.js → session-kill-telemetry-RUTEARJ3.js} +13 -13
- package/dist/{session-scope-BZALGKYZ.js → session-scope-SSYA64L3.js} +12 -12
- package/dist/{setup-wizard-DNA2UT4J.js → setup-wizard-XD7FZVLJ.js} +2 -2
- package/dist/{shard-manager-NG4SXV7L.js → shard-manager-FH5JZRSE.js} +2 -2
- package/dist/{skill-refinement-Y3M7XBRE.js → skill-refinement-UHD4E6GV.js} +4 -4
- package/dist/{skill-retrieval-XDY352AS.js → skill-retrieval-F6PAJ3I5.js} +11 -11
- package/dist/{skill-usage-QOLIJQJC.js → skill-usage-2MBTF7Y4.js} +4 -4
- package/dist/{stack-generate-manifest-VFHCOLAD.js → stack-generate-manifest-MVJDTU4F.js} +13 -37
- package/dist/{stack-promote-24BY6AXF.js → stack-promote-BMGEY6SQ.js} +4 -4
- package/dist/{stack-release-AXH7ZIOR.js → stack-release-64UJ6Y4W.js} +17 -34
- package/dist/{stack-update-7ET7S3ED.js → stack-update-EBATTQPP.js} +5 -3
- package/dist/{steward-gate-2MUESY3V.js → steward-gate-EWG2BHYQ.js} +4 -4
- package/dist/{subagent-brief-injection-6PM3WMMR.js → subagent-brief-injection-YZGSWUEY.js} +23 -23
- package/dist/{support-bug-actions-WWKDXT74.js → support-bug-actions-RU6WZ3UV.js} +3 -3
- package/dist/{support-inbox-AN44HIOG.js → support-inbox-A3S52SPS.js} +12 -12
- package/dist/{task-enforcement-QO7RXYK2.js → task-enforcement-LVAS55AR.js} +13 -13
- package/dist/{task-request-inbox-RXAT2QJF.js → task-request-inbox-2TN4ZUH2.js} +5 -5
- package/dist/{task-scope-4EKZBTTM.js → task-scope-NLKUVCP5.js} +12 -12
- package/dist/{tasks-crud-MB7WXGPW.js → tasks-crud-NQDPLHNZ.js} +12 -12
- package/dist/{tasks-notify-BCWO7AP6.js → tasks-notify-BDM2NEHP.js} +13 -13
- package/dist/{tasks-review-HXHYA76X.js → tasks-review-3G7CAW2O.js} +12 -12
- package/dist/{telemetry-upload-Q7DLE5I3.js → telemetry-upload-6DR6AL3V.js} +8 -8
- package/dist/{token-budget-EL6BEBDP.js → token-budget-KNC2WGR7.js} +4 -4
- package/dist/{tool-telemetry-SNWF4WDH.js → tool-telemetry-I3SEU5M5.js} +1 -1
- package/dist/tui/App.js +23 -23
- package/dist/{tui-data-ZMSBEPJT.js → tui-data-KJDWP4CB.js} +16 -16
- package/dist/{update-support-QY7WALUZ.js → update-support-UYDYMHVR.js} +11 -11
- package/dist/{whatsapp-NCZ43BB3.js → whatsapp-5EMPZHF5.js} +2 -2
- package/dist/{wiki-acl-3L7BRJUV.js → wiki-acl-M7BTQJBZ.js} +1 -1
- package/dist/{work-claims-XQXT2VWJ.js → work-claims-5CFMZTML.js} +4 -4
- package/dist/{work-state-heartbeat-GAIQ7M73.js → work-state-heartbeat-7IA2DZ2E.js} +1 -1
- package/dist/{workflow-engine-FCOOI5M6.js → workflow-engine-S5JOE2YR.js} +2 -2
- package/dist/{worktree-GS4ODQ4C.js → worktree-7V4ZMF3D.js} +5 -5
- package/dist/{worktree-sweep-6LMC7H5Y.js → worktree-sweep-34MXJ7S6.js} +6 -6
- package/package.json +2 -1
- package/release-notes.json +21 -25
- package/stack.release.json +5 -5
- package/dist/chunk-WZPD4QSE.js +0 -113
- /package/dist/{chunk-IKJUZ3VO.js → chunk-542FBM5U.js} +0 -0
- /package/dist/{chunk-XJDSTA2C.js → chunk-6D2O5SAH.js} +0 -0
- /package/dist/{chunk-FDQXQBBC.js → chunk-6NRZLVK3.js} +0 -0
- /package/dist/{chunk-XDWIJBTY.js → chunk-CFO47VW4.js} +0 -0
- /package/dist/{chunk-R6H2IRCF.js → chunk-EULAP6L6.js} +0 -0
- /package/dist/{chunk-LK6OG47X.js → chunk-FYSKQPTE.js} +0 -0
- /package/dist/{chunk-LAWI42NC.js → chunk-J4B4M5PH.js} +0 -0
- /package/dist/{chunk-AC36VWNB.js → chunk-J635FA7T.js} +0 -0
- /package/dist/{chunk-UQKGV6SX.js → chunk-MOBZTIJQ.js} +0 -0
- /package/dist/{chunk-7ZP2PAW3.js → chunk-N45FAI6D.js} +0 -0
- /package/dist/{chunk-ZQS4S4AX.js → chunk-QDSNEGJE.js} +0 -0
- /package/dist/{chunk-CS4SHHLY.js → chunk-SKSXROKP.js} +0 -0
- /package/dist/{chunk-JXGOO53U.js → chunk-YVWXI2HM.js} +0 -0
- /package/dist/{core-memory-3TZV3ZDW.js → core-memory-PZEO3OWH.js} +0 -0
- /package/dist/{memory-isolation-TE4AOMQX.js → memory-isolation-MFNT2ITE.js} +0 -0
- /package/dist/{oauth-server-CWQ6EBGQ.js → oauth-server-CBGEWD6H.js} +0 -0
- /package/dist/{project-boot-MX2FNKTJ.js → project-boot-VESAYDIH.js} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-4EI5AHHR.js";
|
|
5
5
|
import {
|
|
6
6
|
isSidechainTranscript
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-BIPTWAEO.js";
|
|
8
8
|
import {
|
|
9
9
|
isSecretRedactedCapture
|
|
10
10
|
} from "../chunk-6APOLYIZ.js";
|
|
@@ -19,21 +19,21 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
hybridSearch,
|
|
21
21
|
lightweightSearch
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-K2HIXAIF.js";
|
|
23
23
|
import "../chunk-3ARSKDHC.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-6NRZLVK3.js";
|
|
25
|
+
import "../chunk-LSHUX7P4.js";
|
|
26
|
+
import "../chunk-MOBZTIJQ.js";
|
|
27
27
|
import "../chunk-CHCA3ZM2.js";
|
|
28
28
|
import "../chunk-OTVEIJUQ.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-FYSKQPTE.js";
|
|
30
30
|
import "../chunk-5MOYSU5A.js";
|
|
31
31
|
import "../chunk-BYP3DOUU.js";
|
|
32
32
|
import "../chunk-76CJBM36.js";
|
|
33
33
|
import "../chunk-67IVG6CB.js";
|
|
34
34
|
import {
|
|
35
35
|
getActiveAgent
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-GL5ZG72X.js";
|
|
37
37
|
import "../chunk-7YX73K2R.js";
|
|
38
38
|
import "../chunk-5WA4DG2A.js";
|
|
39
39
|
import {
|
|
@@ -41,9 +41,9 @@ import {
|
|
|
41
41
|
getMySession,
|
|
42
42
|
getSessionState,
|
|
43
43
|
isExeSession
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-GM4UEZDE.js";
|
|
45
|
+
import "../chunk-PYXXL7N7.js";
|
|
45
46
|
import "../chunk-ZKGWHT56.js";
|
|
46
|
-
import "../chunk-5F3E57TQ.js";
|
|
47
47
|
import "../chunk-WT4RI36X.js";
|
|
48
48
|
import "../chunk-E23LNUWJ.js";
|
|
49
49
|
import "../chunk-TDF2XKLK.js";
|
|
@@ -51,16 +51,16 @@ import "../chunk-EIKATSE4.js";
|
|
|
51
51
|
import "../chunk-MJCSEIFI.js";
|
|
52
52
|
import "../chunk-QDMZ5DX2.js";
|
|
53
53
|
import "../chunk-HME6ITKV.js";
|
|
54
|
-
import "../chunk-
|
|
54
|
+
import "../chunk-QSW5DHMZ.js";
|
|
55
55
|
import "../chunk-VI4ATC6I.js";
|
|
56
56
|
import "../chunk-A27Q27CT.js";
|
|
57
57
|
import "../chunk-6L4VIYLZ.js";
|
|
58
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-JGBYZTWH.js";
|
|
59
59
|
import "../chunk-T5SM4RXY.js";
|
|
60
|
-
import "../chunk-
|
|
60
|
+
import "../chunk-CFFSHBQF.js";
|
|
61
61
|
import "../chunk-IVXELUEQ.js";
|
|
62
62
|
import "../chunk-AM7S2TY6.js";
|
|
63
|
-
import "../chunk-
|
|
63
|
+
import "../chunk-2BOLFLAU.js";
|
|
64
64
|
import "../chunk-WJWRQQMS.js";
|
|
65
65
|
import "../chunk-PCV52RYM.js";
|
|
66
66
|
import "../chunk-BTSWFMEH.js";
|
|
@@ -71,7 +71,7 @@ import "../chunk-3DAEZILW.js";
|
|
|
71
71
|
import "../chunk-DRTJCG6B.js";
|
|
72
72
|
import {
|
|
73
73
|
getProjectName
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-TVWYMOZ4.js";
|
|
75
75
|
import {
|
|
76
76
|
getSessionKey
|
|
77
77
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -80,11 +80,11 @@ import "../chunk-YRUZK2QA.js";
|
|
|
80
80
|
import "../chunk-MP2AFCGL.js";
|
|
81
81
|
import {
|
|
82
82
|
canCoordinate
|
|
83
|
-
} from "../chunk-
|
|
83
|
+
} from "../chunk-L5JFVK5T.js";
|
|
84
84
|
import "../chunk-BBMTVAE3.js";
|
|
85
85
|
import "../chunk-TKDITWDN.js";
|
|
86
|
-
import "../chunk-
|
|
87
|
-
import "../chunk-
|
|
86
|
+
import "../chunk-SINIRUYZ.js";
|
|
87
|
+
import "../chunk-6777GNWI.js";
|
|
88
88
|
import "../chunk-7FE43JRU.js";
|
|
89
89
|
import "../chunk-5YEUPUV4.js";
|
|
90
90
|
import "../chunk-YYB5PMTK.js";
|
|
@@ -96,10 +96,10 @@ import {
|
|
|
96
96
|
} from "../chunk-ZQEJ4IX2.js";
|
|
97
97
|
import "../chunk-C7GHNJPW.js";
|
|
98
98
|
import "../chunk-UWGQNJIE.js";
|
|
99
|
-
import "../chunk-
|
|
100
|
-
import "../chunk-
|
|
99
|
+
import "../chunk-4J77TCTX.js";
|
|
100
|
+
import "../chunk-EOWJXCYC.js";
|
|
101
101
|
import "../chunk-3R7UDPVR.js";
|
|
102
|
-
import "../chunk-
|
|
102
|
+
import "../chunk-6D2O5SAH.js";
|
|
103
103
|
import "../chunk-A7JYF4RG.js";
|
|
104
104
|
import "../chunk-ARX6TAGN.js";
|
|
105
105
|
import {
|
|
@@ -205,7 +205,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
205
205
|
});
|
|
206
206
|
process.env.EXE_HOOK_FAIL_OPEN = "1";
|
|
207
207
|
try {
|
|
208
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
208
|
+
const { verifyOrBlock } = await import("../hook-integrity-6MNEPT6W.js");
|
|
209
209
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
210
210
|
} catch (err) {
|
|
211
211
|
const code = err?.code;
|
|
@@ -266,7 +266,7 @@ function withBudget(promise, fallback) {
|
|
|
266
266
|
var _hookDbPromise = null;
|
|
267
267
|
function hookDb() {
|
|
268
268
|
_hookDbPromise ??= (async () => {
|
|
269
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
269
|
+
const { fastDbInit } = await import("../fast-db-init-TFRTK6EH.js");
|
|
270
270
|
return fastDbInit({ daemonOnly: true });
|
|
271
271
|
})();
|
|
272
272
|
return _hookDbPromise;
|
|
@@ -514,7 +514,7 @@ process.stdin.on("end", async () => {
|
|
|
514
514
|
let queuedForMe = [];
|
|
515
515
|
if (currentSession && !suppressTaskLifecycleNudges) {
|
|
516
516
|
try {
|
|
517
|
-
const { readQueue } = await import("../intercom-queue-
|
|
517
|
+
const { readQueue } = await import("../intercom-queue-ZJ3MNULM.js");
|
|
518
518
|
queuedForMe = readQueue().filter((q) => q.targetSession === currentSession);
|
|
519
519
|
} catch {
|
|
520
520
|
}
|
|
@@ -541,7 +541,7 @@ process.stdin.on("end", async () => {
|
|
|
541
541
|
if (prefetchClient) {
|
|
542
542
|
prefetch = await withHookTimeout(
|
|
543
543
|
(async () => {
|
|
544
|
-
const { prefetchPromptHookCounts } = await import("../hook-prefetch-
|
|
544
|
+
const { prefetchPromptHookCounts } = await import("../hook-prefetch-JOF6YZSR.js");
|
|
545
545
|
return prefetchPromptHookCounts(prefetchClient, {
|
|
546
546
|
agentIds: agentTaskIds(agent.agentId),
|
|
547
547
|
agentId: agent.agentId,
|
|
@@ -565,7 +565,7 @@ process.stdin.on("end", async () => {
|
|
|
565
565
|
}
|
|
566
566
|
let drainedNudgeContext = "";
|
|
567
567
|
if (currentSession && queuedForMe.length > 0 && !suppressTaskLifecycleNudges) try {
|
|
568
|
-
const { drainForSession } = await import("../intercom-queue-
|
|
568
|
+
const { drainForSession } = await import("../intercom-queue-ZJ3MNULM.js");
|
|
569
569
|
const { baseAgentName } = await import("../lib/employees.js");
|
|
570
570
|
const MARKER_STALE_MS = 4 * 60 * 60 * 1e3;
|
|
571
571
|
const hasInProgressTask = (agentName) => {
|
|
@@ -654,8 +654,8 @@ ${fresh.map(
|
|
|
654
654
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
655
655
|
atomicWriteSync(behaviorLastCheckPath, (/* @__PURE__ */ new Date()).toISOString());
|
|
656
656
|
} else if (count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
657
|
-
const { listBehaviors, countActiveBehaviors } = await import("../behaviors-
|
|
658
|
-
const { BEHAVIOR_INJECTION_CAP, behaviorTruncationNotice, fetchInjectableBehaviors, selectInjectedBehaviors } = await import("../behavior-injection-
|
|
657
|
+
const { listBehaviors, countActiveBehaviors } = await import("../behaviors-SKVKPCRW.js");
|
|
658
|
+
const { BEHAVIOR_INJECTION_CAP, behaviorTruncationNotice, fetchInjectableBehaviors, selectInjectedBehaviors } = await import("../behavior-injection-G7GAUHGO.js");
|
|
659
659
|
const behaviors = await withBudget(fetchInjectableBehaviors(agent.agentId, void 0, listBehaviors), []);
|
|
660
660
|
const counts = await withBudget(
|
|
661
661
|
countActiveBehaviors(agent.agentId),
|
|
@@ -692,7 +692,7 @@ ${parts.join("\n\n")}`;
|
|
|
692
692
|
if (overflow) behaviorContext += `
|
|
693
693
|
|
|
694
694
|
${overflow}`;
|
|
695
|
-
const { recordBehaviorsConsulted } = await import("../skill-usage-
|
|
695
|
+
const { recordBehaviorsConsulted } = await import("../skill-usage-2MBTF7Y4.js");
|
|
696
696
|
void recordBehaviorsConsulted(active.map((b) => b.id));
|
|
697
697
|
}
|
|
698
698
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
@@ -706,7 +706,7 @@ ${overflow}`;
|
|
|
706
706
|
if (!lastCheckedAt) {
|
|
707
707
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
708
708
|
}
|
|
709
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
709
|
+
const { listBehaviorsSince } = await import("../behaviors-SKVKPCRW.js");
|
|
710
710
|
const newBehaviors = await withBudget(listBehaviorsSince(agent.agentId, lastCheckedAt), []);
|
|
711
711
|
if (newBehaviors.length > 0) {
|
|
712
712
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -732,7 +732,7 @@ ${reflexLines.join("\n")}`);
|
|
|
732
732
|
These behaviors were added/modified since your session started. Apply them immediately.
|
|
733
733
|
|
|
734
734
|
${parts.join("\n\n")}`;
|
|
735
|
-
const { recordBehaviorsConsulted } = await import("../skill-usage-
|
|
735
|
+
const { recordBehaviorsConsulted } = await import("../skill-usage-2MBTF7Y4.js");
|
|
736
736
|
void recordBehaviorsConsulted(newBehaviors.map((b) => b.id));
|
|
737
737
|
}
|
|
738
738
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
@@ -776,7 +776,7 @@ ${body}`;
|
|
|
776
776
|
let reviewContext = "";
|
|
777
777
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
778
778
|
try {
|
|
779
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
779
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-3G7CAW2O.js");
|
|
780
780
|
const sessionKey = getSessionKey();
|
|
781
781
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
782
782
|
let sessionScope;
|
|
@@ -833,7 +833,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
833
833
|
let coreMemoryContext = "";
|
|
834
834
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
835
835
|
try {
|
|
836
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
836
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-PZEO3OWH.js");
|
|
837
837
|
const entries = await withBudget(getCoreMemory(agent.agentId), []);
|
|
838
838
|
const block = formatCoreMemoryBlock(entries);
|
|
839
839
|
if (block) coreMemoryContext = block;
|
|
@@ -930,7 +930,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
930
930
|
} catch {
|
|
931
931
|
}
|
|
932
932
|
try {
|
|
933
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-
|
|
933
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-2Z2BMMA5.js");
|
|
934
934
|
recordOE({
|
|
935
935
|
eventType: "signal.consumed",
|
|
936
936
|
source: "prompt-submit.hook",
|
|
@@ -1104,7 +1104,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
1104
1104
|
return;
|
|
1105
1105
|
}
|
|
1106
1106
|
try {
|
|
1107
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
1107
|
+
const { recordSessionEvent } = await import("../session-events-7IJGTBVH.js");
|
|
1108
1108
|
const client = await hookDb();
|
|
1109
1109
|
await recordSessionEvent(client, {
|
|
1110
1110
|
agentId: agent.agentId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-J4B4M5PH.js";
|
|
4
4
|
import {
|
|
5
5
|
clearCacheState
|
|
6
6
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -9,14 +9,14 @@ import "../chunk-SH45SJQW.js";
|
|
|
9
9
|
import {
|
|
10
10
|
clearActiveAgent,
|
|
11
11
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-GL5ZG72X.js";
|
|
13
13
|
import "../chunk-7YX73K2R.js";
|
|
14
14
|
import "../chunk-5WA4DG2A.js";
|
|
15
15
|
import {
|
|
16
16
|
strictSessionScopeFilter
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-GM4UEZDE.js";
|
|
18
|
+
import "../chunk-PYXXL7N7.js";
|
|
18
19
|
import "../chunk-ZKGWHT56.js";
|
|
19
|
-
import "../chunk-5F3E57TQ.js";
|
|
20
20
|
import "../chunk-WT4RI36X.js";
|
|
21
21
|
import "../chunk-E23LNUWJ.js";
|
|
22
22
|
import "../chunk-TDF2XKLK.js";
|
|
@@ -24,16 +24,16 @@ import "../chunk-EIKATSE4.js";
|
|
|
24
24
|
import "../chunk-MJCSEIFI.js";
|
|
25
25
|
import "../chunk-QDMZ5DX2.js";
|
|
26
26
|
import "../chunk-HME6ITKV.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-QSW5DHMZ.js";
|
|
28
28
|
import "../chunk-VI4ATC6I.js";
|
|
29
29
|
import "../chunk-A27Q27CT.js";
|
|
30
30
|
import "../chunk-6L4VIYLZ.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-JGBYZTWH.js";
|
|
32
32
|
import "../chunk-T5SM4RXY.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-CFFSHBQF.js";
|
|
34
34
|
import "../chunk-IVXELUEQ.js";
|
|
35
35
|
import "../chunk-AM7S2TY6.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-2BOLFLAU.js";
|
|
37
37
|
import "../chunk-WJWRQQMS.js";
|
|
38
38
|
import "../chunk-PCV52RYM.js";
|
|
39
39
|
import "../chunk-BTSWFMEH.js";
|
|
@@ -44,7 +44,7 @@ import "../chunk-3DAEZILW.js";
|
|
|
44
44
|
import "../chunk-DRTJCG6B.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveProjectName
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-TVWYMOZ4.js";
|
|
48
48
|
import {
|
|
49
49
|
getSessionKey
|
|
50
50
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -53,11 +53,11 @@ import "../chunk-YRUZK2QA.js";
|
|
|
53
53
|
import "../chunk-MP2AFCGL.js";
|
|
54
54
|
import {
|
|
55
55
|
canCoordinate
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-L5JFVK5T.js";
|
|
57
57
|
import "../chunk-BBMTVAE3.js";
|
|
58
58
|
import "../chunk-TKDITWDN.js";
|
|
59
|
-
import "../chunk-
|
|
60
|
-
import "../chunk-
|
|
59
|
+
import "../chunk-SINIRUYZ.js";
|
|
60
|
+
import "../chunk-6777GNWI.js";
|
|
61
61
|
import "../chunk-7FE43JRU.js";
|
|
62
62
|
import "../chunk-5YEUPUV4.js";
|
|
63
63
|
import "../chunk-YYB5PMTK.js";
|
|
@@ -66,9 +66,9 @@ import "../chunk-QH5ZQ5SJ.js";
|
|
|
66
66
|
import "../chunk-ZQEJ4IX2.js";
|
|
67
67
|
import "../chunk-C7GHNJPW.js";
|
|
68
68
|
import "../chunk-UWGQNJIE.js";
|
|
69
|
-
import "../chunk-
|
|
69
|
+
import "../chunk-EOWJXCYC.js";
|
|
70
70
|
import "../chunk-3R7UDPVR.js";
|
|
71
|
-
import "../chunk-
|
|
71
|
+
import "../chunk-6D2O5SAH.js";
|
|
72
72
|
import "../chunk-A7JYF4RG.js";
|
|
73
73
|
import "../chunk-ARX6TAGN.js";
|
|
74
74
|
import "../chunk-MMS2HBRT.js";
|
|
@@ -88,7 +88,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
88
88
|
process.exit(1);
|
|
89
89
|
});
|
|
90
90
|
try {
|
|
91
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
91
|
+
const { verifyOrBlock } = await import("../hook-integrity-6MNEPT6W.js");
|
|
92
92
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
93
93
|
} catch (err) {
|
|
94
94
|
const code = err?.code;
|
|
@@ -288,7 +288,7 @@ process.stdin.on("end", async () => {
|
|
|
288
288
|
process.stderr.write(`[session-end] EXIT: ${agent.agentId} session=${Math.round((transcript.sessionDurationMs ?? 0) / 1e3)}s hook=${Math.round(hookUptimeMs / 1e3)}s \u2014 reason=${exitReason} daemon=${daemonAlive ? "alive" : "DEAD"}
|
|
289
289
|
`);
|
|
290
290
|
try {
|
|
291
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
291
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-2Z2BMMA5.js");
|
|
292
292
|
await recordOrchestrationEvent({
|
|
293
293
|
eventType: "session.exit",
|
|
294
294
|
source: "hooks.session-end",
|
|
@@ -314,7 +314,7 @@ process.stdin.on("end", async () => {
|
|
|
314
314
|
}
|
|
315
315
|
if (agent.agentId) {
|
|
316
316
|
try {
|
|
317
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
317
|
+
const { fastDbInit } = await import("../fast-db-init-TFRTK6EH.js");
|
|
318
318
|
const client = await fastDbInit({ caller: "hook" });
|
|
319
319
|
const seScope = strictSessionScopeFilter();
|
|
320
320
|
const orphanResult = await client.execute({
|
|
@@ -414,17 +414,17 @@ Orphaned tasks at session end: ${openTaskList}` : "";
|
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
try {
|
|
417
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
417
|
+
const { clearSessionFileReads } = await import("../git-staleness-73YZ5PGU.js");
|
|
418
418
|
await clearSessionFileReads(data.session_id);
|
|
419
419
|
} catch {
|
|
420
420
|
}
|
|
421
421
|
try {
|
|
422
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
422
|
+
const { DreamingEngine } = await import("../dreaming-L24PSS35.js");
|
|
423
423
|
const engine = new DreamingEngine();
|
|
424
424
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
425
425
|
let promoted = 0;
|
|
426
426
|
if (dreamResult.proposals.length > 0) {
|
|
427
|
-
const { storeBehavior } = await import("../behaviors-
|
|
427
|
+
const { storeBehavior } = await import("../behaviors-SKVKPCRW.js");
|
|
428
428
|
for (const proposal of dreamResult.proposals) {
|
|
429
429
|
if (!proposal.text || proposal.text.trim().length === 0) continue;
|
|
430
430
|
if (!agent.agentId || agent.agentId.trim().length === 0) continue;
|
|
@@ -489,7 +489,7 @@ Orphaned tasks at session end: ${openTaskList}` : "";
|
|
|
489
489
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
490
490
|
}
|
|
491
491
|
try {
|
|
492
|
-
const { writeNotification } = await import("../notifications-
|
|
492
|
+
const { writeNotification } = await import("../notifications-6FCQCJ4P.js");
|
|
493
493
|
await writeNotification({
|
|
494
494
|
agentId: agent.agentId,
|
|
495
495
|
agentRole: agent.agentRole,
|
|
@@ -24,7 +24,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
24
24
|
process.exit(1);
|
|
25
25
|
});
|
|
26
26
|
try {
|
|
27
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
27
|
+
const { verifyOrBlock } = await import("../hook-integrity-6MNEPT6W.js");
|
|
28
28
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
29
29
|
} catch (err) {
|
|
30
30
|
const code = err?.code;
|
|
@@ -60,15 +60,15 @@ process.stdin.on("data", (chunk) => {
|
|
|
60
60
|
process.stdin.on("end", async () => {
|
|
61
61
|
let failed = false;
|
|
62
62
|
try {
|
|
63
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
64
|
-
const { getProjectName } = await import("../project-name-
|
|
65
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
63
|
+
const { getActiveAgent } = await import("../active-agent-MHWQDMML.js");
|
|
64
|
+
const { getProjectName } = await import("../project-name-PGJGUEJY.js");
|
|
65
|
+
const { getCurrentSessionScope } = await import("../task-scope-NLKUVCP5.js");
|
|
66
66
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
67
67
|
const data = JSON.parse(input);
|
|
68
68
|
const projectName = getProjectName(data.cwd || void 0);
|
|
69
69
|
const source = data.source ?? "startup";
|
|
70
70
|
if (!process.env.EXE_SESSION_NAME && (process.env.TMUX || process.env.TMUX_PANE)) {
|
|
71
|
-
const { noteSessionScopeProbeFailed } = await import("../task-scope-
|
|
71
|
+
const { noteSessionScopeProbeFailed } = await import("../task-scope-NLKUVCP5.js");
|
|
72
72
|
try {
|
|
73
73
|
const { execFileSync } = await import("child_process");
|
|
74
74
|
const tmuxName = execFileSync("tmux", ["display-message", "-p", "#{session_name}"], {
|
|
@@ -102,7 +102,7 @@ process.stdin.on("end", async () => {
|
|
|
102
102
|
if (daemonDegraded) {
|
|
103
103
|
process.stderr.write("[session-start] WARNING: daemon/DB unavailable after retries \u2014 booting in degraded mode (no memory context)\n");
|
|
104
104
|
try {
|
|
105
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
105
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-2Z2BMMA5.js");
|
|
106
106
|
void recordOrchestrationEvent({
|
|
107
107
|
eventType: "mcp.unreachable",
|
|
108
108
|
source: "session-start.hook",
|
|
@@ -126,12 +126,12 @@ process.stdin.on("end", async () => {
|
|
|
126
126
|
}
|
|
127
127
|
if (!daemonDegraded) {
|
|
128
128
|
try {
|
|
129
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
129
|
+
const { fastDbInit } = await import("../fast-db-init-TFRTK6EH.js");
|
|
130
130
|
await fastDbInit({ caller: "hook" });
|
|
131
131
|
} catch {
|
|
132
132
|
try {
|
|
133
133
|
await new Promise((resolve) => setTimeout(resolve, 750));
|
|
134
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
134
|
+
const { fastDbInit } = await import("../fast-db-init-TFRTK6EH.js");
|
|
135
135
|
await fastDbInit({ caller: "hook" });
|
|
136
136
|
} catch {
|
|
137
137
|
daemonDegraded = true;
|
|
@@ -189,7 +189,7 @@ process.stdin.on("end", async () => {
|
|
|
189
189
|
`
|
|
190
190
|
);
|
|
191
191
|
try {
|
|
192
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
192
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-2Z2BMMA5.js");
|
|
193
193
|
void recordOrchestrationEvent({
|
|
194
194
|
eventType: "session.identity_rebind_refused",
|
|
195
195
|
source: "session-start.hook",
|
|
@@ -219,7 +219,7 @@ process.stdin.on("end", async () => {
|
|
|
219
219
|
});
|
|
220
220
|
}
|
|
221
221
|
try {
|
|
222
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
222
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-2Z2BMMA5.js");
|
|
223
223
|
void recordOrchestrationEvent({
|
|
224
224
|
eventType: "session.born",
|
|
225
225
|
source: "session-start.hook",
|
|
@@ -236,7 +236,7 @@ process.stdin.on("end", async () => {
|
|
|
236
236
|
if (daemonDegraded) {
|
|
237
237
|
let degradedContext = "## \u26A0\uFE0F Degraded Boot\nThe daemon/MCP was unreachable **at boot time** (checked at " + (/* @__PURE__ */ new Date()).toISOString() + "). This is a point-in-time snapshot \u2014 the MCP server typically finishes connecting a few seconds later, so by the time you read this it is probably already live.\n\n**Before telling the user MCP is down or asking them to run `/mcp`, ALWAYS verify the current state by calling `mcp_ping` (or any exe-os MCP tool) first.** Only advise reconnecting if that call actually fails. This session simply started without memory context; if MCP tools fail later, retry once before reporting an issue.\n";
|
|
238
238
|
try {
|
|
239
|
-
const { getActiveAgent: getAgent } = await import("../active-agent-
|
|
239
|
+
const { getActiveAgent: getAgent } = await import("../active-agent-MHWQDMML.js");
|
|
240
240
|
const ag = getAgent();
|
|
241
241
|
if (ag.agentId !== "default") {
|
|
242
242
|
degradedContext = `## Your Identity
|
|
@@ -258,7 +258,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
258
258
|
if (source === "resume") {
|
|
259
259
|
header = "## Resuming Session\nHere's where you left off:";
|
|
260
260
|
try {
|
|
261
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
261
|
+
const { buildCatchupBrief } = await import("../catchup-brief-IBQ26LEB.js");
|
|
262
262
|
const brief = await buildCatchupBrief(
|
|
263
263
|
agentId,
|
|
264
264
|
projectName,
|
|
@@ -273,14 +273,14 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
273
273
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
274
274
|
}
|
|
275
275
|
try {
|
|
276
|
-
const { detectStaleFiles, formatStaleFileWarning } = await import("../git-staleness-
|
|
276
|
+
const { detectStaleFiles, formatStaleFileWarning } = await import("../git-staleness-73YZ5PGU.js");
|
|
277
277
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
278
278
|
const warning = formatStaleFileWarning(staleFiles);
|
|
279
279
|
if (warning) extraContext += `${extraContext.length > 0 ? "\n\n" : ""}${warning}`;
|
|
280
280
|
} catch {
|
|
281
281
|
}
|
|
282
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
283
|
-
const { buildReviewSections } = await import("../boot-review-sections-
|
|
282
|
+
const { queryTaskRows } = await import("../tasks-crud-NQDPLHNZ.js");
|
|
283
|
+
const { buildReviewSections } = await import("../boot-review-sections-FOPPZTJI.js");
|
|
284
284
|
const [taskResult, reviewSections] = await Promise.all([
|
|
285
285
|
sessionScope ? queryTaskRows({
|
|
286
286
|
assignedTo: agentId,
|
|
@@ -327,7 +327,7 @@ flow, so bug fixes are fast.`;
|
|
|
327
327
|
`;
|
|
328
328
|
if (agentId !== "default" && !daemonDegraded) {
|
|
329
329
|
try {
|
|
330
|
-
const { buildEmployeeBootBrief } = await import("../employee-boot-brief-
|
|
330
|
+
const { buildEmployeeBootBrief } = await import("../employee-boot-brief-GQVL3FQC.js");
|
|
331
331
|
const memoryBrief = await buildEmployeeBootBrief({
|
|
332
332
|
agentId,
|
|
333
333
|
cwd: data.cwd || process.cwd(),
|
|
@@ -350,7 +350,7 @@ flow, so bug fixes are fast.`;
|
|
|
350
350
|
`;
|
|
351
351
|
if (agentId !== "default" && !daemonDegraded) {
|
|
352
352
|
try {
|
|
353
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
353
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-NQDPLHNZ.js");
|
|
354
354
|
const checkpoint = await readLatestCheckpoint(agentId, {
|
|
355
355
|
sessionScope: sessionScope ?? null,
|
|
356
356
|
callerSession: process.env.EXE_SESSION_NAME ?? null,
|
|
@@ -437,7 +437,7 @@ ${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user
|
|
|
437
437
|
}
|
|
438
438
|
if (source !== "resume" && agentId !== "default") {
|
|
439
439
|
try {
|
|
440
|
-
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-
|
|
440
|
+
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-GEN7CN7H.js");
|
|
441
441
|
const due = await getPendingProspective(agentId, { projectName, limit: 5 });
|
|
442
442
|
if (due.length > 0) {
|
|
443
443
|
const now = Date.now();
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GL5ZG72X.js";
|
|
5
5
|
import "../chunk-7YX73K2R.js";
|
|
6
6
|
import "../chunk-5WA4DG2A.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionScopeFilter
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-GM4UEZDE.js";
|
|
10
|
+
import "../chunk-PYXXL7N7.js";
|
|
10
11
|
import "../chunk-ZKGWHT56.js";
|
|
11
|
-
import "../chunk-5F3E57TQ.js";
|
|
12
12
|
import "../chunk-WT4RI36X.js";
|
|
13
13
|
import "../chunk-E23LNUWJ.js";
|
|
14
14
|
import "../chunk-TDF2XKLK.js";
|
|
@@ -16,16 +16,16 @@ import "../chunk-EIKATSE4.js";
|
|
|
16
16
|
import "../chunk-MJCSEIFI.js";
|
|
17
17
|
import "../chunk-QDMZ5DX2.js";
|
|
18
18
|
import "../chunk-HME6ITKV.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-QSW5DHMZ.js";
|
|
20
20
|
import "../chunk-VI4ATC6I.js";
|
|
21
21
|
import "../chunk-A27Q27CT.js";
|
|
22
22
|
import "../chunk-6L4VIYLZ.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-JGBYZTWH.js";
|
|
24
24
|
import "../chunk-T5SM4RXY.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-CFFSHBQF.js";
|
|
26
26
|
import "../chunk-IVXELUEQ.js";
|
|
27
27
|
import "../chunk-AM7S2TY6.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-2BOLFLAU.js";
|
|
29
29
|
import "../chunk-WJWRQQMS.js";
|
|
30
30
|
import "../chunk-PCV52RYM.js";
|
|
31
31
|
import "../chunk-BTSWFMEH.js";
|
|
@@ -36,18 +36,18 @@ import "../chunk-3DAEZILW.js";
|
|
|
36
36
|
import "../chunk-DRTJCG6B.js";
|
|
37
37
|
import {
|
|
38
38
|
resolveProjectName
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-TVWYMOZ4.js";
|
|
40
40
|
import "../chunk-CVYC6DUW.js";
|
|
41
41
|
import "../chunk-GJV3WDWM.js";
|
|
42
42
|
import "../chunk-YRUZK2QA.js";
|
|
43
43
|
import "../chunk-MP2AFCGL.js";
|
|
44
44
|
import {
|
|
45
45
|
canCoordinate
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-L5JFVK5T.js";
|
|
47
47
|
import "../chunk-BBMTVAE3.js";
|
|
48
48
|
import "../chunk-TKDITWDN.js";
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
49
|
+
import "../chunk-SINIRUYZ.js";
|
|
50
|
+
import "../chunk-6777GNWI.js";
|
|
51
51
|
import "../chunk-7FE43JRU.js";
|
|
52
52
|
import "../chunk-5YEUPUV4.js";
|
|
53
53
|
import "../chunk-YYB5PMTK.js";
|
|
@@ -56,9 +56,9 @@ import "../chunk-QH5ZQ5SJ.js";
|
|
|
56
56
|
import "../chunk-ZQEJ4IX2.js";
|
|
57
57
|
import "../chunk-C7GHNJPW.js";
|
|
58
58
|
import "../chunk-UWGQNJIE.js";
|
|
59
|
-
import "../chunk-
|
|
59
|
+
import "../chunk-EOWJXCYC.js";
|
|
60
60
|
import "../chunk-3R7UDPVR.js";
|
|
61
|
-
import "../chunk-
|
|
61
|
+
import "../chunk-6D2O5SAH.js";
|
|
62
62
|
import "../chunk-A7JYF4RG.js";
|
|
63
63
|
import "../chunk-ARX6TAGN.js";
|
|
64
64
|
import {
|
|
@@ -84,7 +84,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
84
84
|
process.exit(1);
|
|
85
85
|
});
|
|
86
86
|
try {
|
|
87
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
87
|
+
const { verifyOrBlock } = await import("../hook-integrity-6MNEPT6W.js");
|
|
88
88
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
89
89
|
} catch (err) {
|
|
90
90
|
const code = err?.code;
|
|
@@ -238,8 +238,8 @@ process.stdin.on("end", async () => {
|
|
|
238
238
|
process.exit(0);
|
|
239
239
|
}
|
|
240
240
|
try {
|
|
241
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
242
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
241
|
+
const { fastDbInit } = await import("../fast-db-init-TFRTK6EH.js");
|
|
242
|
+
const { recordSessionEvent } = await import("../session-events-7IJGTBVH.js");
|
|
243
243
|
const client = await fastDbInit({ daemonOnly: true });
|
|
244
244
|
await recordSessionEvent(client, {
|
|
245
245
|
agentId: agent.agentId,
|
|
@@ -258,7 +258,7 @@ process.stdin.on("end", async () => {
|
|
|
258
258
|
if (existsSync(taskCachePath)) {
|
|
259
259
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
260
260
|
if (cached.taskId) {
|
|
261
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
261
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-KNC2WGR7.js");
|
|
262
262
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
263
263
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
264
264
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -276,7 +276,7 @@ process.stdin.on("end", async () => {
|
|
|
276
276
|
}
|
|
277
277
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
278
278
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
279
|
-
import("../fast-db-init-
|
|
279
|
+
import("../fast-db-init-TFRTK6EH.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
280
280
|
const stScope = sessionScopeFilter();
|
|
281
281
|
const tasks = await client.execute({
|
|
282
282
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -418,7 +418,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
418
418
|
} catch {
|
|
419
419
|
}
|
|
420
420
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
421
|
-
import("../fast-db-init-
|
|
421
|
+
import("../fast-db-init-TFRTK6EH.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
422
422
|
const orScope = sessionScopeFilter();
|
|
423
423
|
return client.execute({
|
|
424
424
|
sql: `SELECT title, status FROM tasks
|