@askexenow/exe-os 0.9.409 → 0.9.411
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-3YCLS7GB.js} +4 -4
- package/dist/{active-agent-2AMJC3SC.js → active-agent-MHWQDMML.js} +4 -4
- package/dist/agent-defs-generator-DNXMO34I.js +32 -0
- package/dist/{agentic-ontology-6RS7A7KP.js → agentic-ontology-RA6CMND6.js} +1 -1
- package/dist/{artifact-backup-6O4FNYPS.js → artifact-backup-EETHNFFP.js} +3 -3
- package/dist/{backfill-metadata-6YX6LGPJ.js → backfill-metadata-WYT257VG.js} +7 -7
- package/dist/backup-verify-AG54CYGR.js +62 -0
- package/dist/{behavior-injection-NRXTNROW.js → behavior-injection-G7GAUHGO.js} +10 -10
- package/dist/{behavior-promotion-MW7OQ72V.js → behavior-promotion-I2DIUFUR.js} +9 -9
- package/dist/{behaviors-7AOK44QK.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 -16
- package/dist/bin/cli.js +24 -24
- package/dist/bin/deferred-daemon-restart.js +97 -97
- package/dist/bin/exe-actions.js +1 -1
- package/dist/bin/exe-agent-config.js +3 -3
- package/dist/bin/exe-agent.js +12 -12
- package/dist/bin/exe-assign.js +8 -8
- package/dist/bin/exe-boot.js +35 -38
- package/dist/bin/exe-call.js +9 -9
- 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 +264 -110
- 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 -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 +7 -7
- 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 +37 -19
- package/dist/bin/exe-start-opencode.js +35 -17
- 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 +99 -99
- 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 -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-RPJVFAQJ.js} +4 -4
- package/dist/{boot-review-sections-STZ5EAIL.js → boot-review-sections-FOPPZTJI.js} +12 -15
- package/dist/{bug-landed-reconciler-EO72HUI2.js → bug-landed-reconciler-FN5KPBRK.js} +6 -6
- package/dist/build-info.json +3 -3
- package/dist/build-manifest.json +997 -987
- package/dist/{capability-cards-C3SMHB2E.js → capability-cards-YQWBEG7A.js} +3 -3
- package/dist/{capacity-monitor-UI553HRL.js → capacity-monitor-7SMEJHYG.js} +14 -17
- package/dist/{catchup-brief-VE2X4HML.js → catchup-brief-IBQ26LEB.js} +21 -23
- package/dist/{chunk-6ZW6BRI4.js → chunk-27NG2NTG.js} +2 -2
- package/dist/{chunk-EIM7OGTD.js → chunk-2BOLFLAU.js} +4 -2
- package/dist/{chunk-DM4VTXM6.js → chunk-2EYVXUGA.js} +4 -4
- package/dist/{chunk-LMF2YC5C.js → chunk-2YFMBXUU.js} +4 -4
- package/dist/{chunk-C426MZMD.js → chunk-2YGBJHC2.js} +3 -3
- package/dist/{chunk-6EY6OFBC.js → chunk-353XF4LU.js} +2 -2
- package/dist/{chunk-VMHZSZQJ.js → chunk-3ARSKDHC.js} +52 -0
- package/dist/{chunk-ZYOIH5NY.js → chunk-3DXAJVXE.js} +6 -6
- package/dist/{chunk-HFSFWMID.js → chunk-3GGMHSY2.js} +3 -3
- package/dist/{chunk-BM467PZN.js → chunk-3N24FV22.js} +1 -1
- package/dist/{chunk-SY53PYLU.js → chunk-47YGEM4N.js} +1 -1
- package/dist/{chunk-NVM3SKJ4.js → chunk-4CN3EE6U.js} +27 -21
- package/dist/{chunk-KIJRAZWR.js → chunk-4J77TCTX.js} +1 -1
- package/dist/{chunk-NHQWPKX7.js → chunk-54STF27U.js} +2 -2
- package/dist/{chunk-Q4GS5VW7.js → chunk-5BWDUUMH.js} +3 -3
- package/dist/{chunk-VYKXRSHU.js → chunk-5ZMNFSHV.js} +1 -1
- package/dist/{chunk-HNGAM3U4.js → chunk-657I6PUF.js} +3 -3
- package/dist/{chunk-OE7TAEOG.js → chunk-6777GNWI.js} +1 -1
- package/dist/{chunk-HYZV25LY.js → chunk-67IVG6CB.js} +1 -11
- package/dist/{chunk-5N34MMKS.js → chunk-6APOLYIZ.js} +43 -3
- package/dist/{chunk-TBYWOHTE.js → chunk-6BD6JYR2.js} +1 -1
- package/dist/{chunk-JJYAETCO.js → chunk-6DMURUBY.js} +4 -4
- package/dist/{chunk-W5XAB2SW.js → chunk-6HJF7IA3.js} +273 -206
- package/dist/{chunk-HRKN3DQE.js → chunk-6J2J3VJS.js} +11 -11
- package/dist/{chunk-XFGS22VE.js → chunk-6PXFF6IV.js} +1 -1
- package/dist/{chunk-RZ23QQCI.js → chunk-7HLAYQRG.js} +4 -4
- package/dist/{chunk-IUBCS6TA.js → chunk-7KPZQ65I.js} +3 -3
- package/dist/{chunk-SYUJCVJG.js → chunk-7PDZBPGW.js} +1 -1
- package/dist/{chunk-VLAENYCN.js → chunk-7SHU5MOD.js} +1 -1
- package/dist/{chunk-6RRPVE5O.js → chunk-A5I2GYVQ.js} +3 -3
- package/dist/{chunk-X4V5ZLNX.js → chunk-A75TAU2I.js} +628 -4
- package/dist/{chunk-SGR4ZQAV.js → chunk-BE3UETW6.js} +3 -3
- package/dist/{chunk-GG73NHZD.js → chunk-BG6RAOCJ.js} +63 -9
- package/dist/{chunk-DMYJVGQM.js → chunk-BIPTWAEO.js} +1 -1
- package/dist/{chunk-B3ISLIKE.js → chunk-BLTXAUP6.js} +2 -2
- package/dist/{chunk-G2M7WQ2M.js → chunk-CBC3JCIF.js} +1 -1
- package/dist/{chunk-FJKUFMNF.js → chunk-CFFSHBQF.js} +1 -1
- package/dist/{chunk-WYNIWJRN.js → chunk-CJ6CS2IH.js} +5 -5
- package/dist/{chunk-7LTAA55U.js → chunk-CRW63CDI.js} +1 -1
- package/dist/{chunk-BHDDDNC6.js → chunk-CWHTUNJX.js} +2 -2
- package/dist/{chunk-FZT4VQP7.js → chunk-D6NZNUVH.js} +1 -1
- package/dist/{chunk-GKPPLIMJ.js → chunk-DHLJZDWI.js} +4 -4
- package/dist/{chunk-JR3GTBV3.js → chunk-DRHTRVDT.js} +1 -1
- package/dist/{chunk-GTRB6DGI.js → chunk-DWRULKB3.js} +2 -2
- package/dist/{chunk-DIKLSAJE.js → chunk-EOWJXCYC.js} +25 -7
- package/dist/{chunk-4W7Y67B5.js → chunk-EWDBWOCX.js} +1 -1
- package/dist/{chunk-EHILXBVT.js → chunk-FPF2PJFK.js} +3 -3
- package/dist/{chunk-BPBEJD7U.js → chunk-FSXMKIDO.js} +1 -1
- package/dist/{chunk-E2Z3F26R.js → chunk-FUDXITKX.js} +1 -1
- package/dist/{chunk-SFGFNJBR.js → chunk-FYV2CTKP.js} +1 -1
- package/dist/{chunk-4M24XCTI.js → chunk-GATAYYAF.js} +53 -7
- package/dist/{chunk-L5CPS34O.js → chunk-GHYHNHDL.js} +1 -1
- package/dist/{chunk-OISOA6NX.js → chunk-GL5ZG72X.js} +1 -1
- package/dist/{chunk-XAGIZVYI.js → chunk-GM4UEZDE.js} +181 -1625
- package/dist/{chunk-4O7OUBEX.js → chunk-GZVFHFO3.js} +27 -140
- package/dist/{chunk-M4N7I2H5.js → chunk-HA6BIZ6L.js} +5 -5
- package/dist/chunk-HDQAVAV6.js +248 -0
- package/dist/{chunk-IPANAGA3.js → chunk-HDV2V25K.js} +1 -1
- package/dist/{chunk-XGPBHKU3.js → chunk-HTFM7ZDD.js} +2 -2
- package/dist/{chunk-KPLMY2GT.js → chunk-HUHR5CKJ.js} +4 -4
- package/dist/{chunk-IPBNHPTE.js → chunk-IC2AONBH.js} +9 -9
- package/dist/{chunk-23XUZHB7.js → chunk-IHAXXDBH.js} +245 -36
- package/dist/{chunk-4S6H2NWS.js → chunk-IPUDXR67.js} +1 -1
- package/dist/{chunk-UXJAW4IQ.js → chunk-J6U4ZR77.js} +2 -2
- package/dist/{chunk-7I6KVKFF.js → chunk-JAIZCE6W.js} +3 -3
- package/dist/{chunk-SA66WRBT.js → chunk-JGBYZTWH.js} +1 -1
- package/dist/{chunk-HRYWB4TO.js → chunk-JJZZXEAN.js} +3 -3
- package/dist/{chunk-IZ24HRDC.js → chunk-JNULO6I5.js} +3 -3
- package/dist/{chunk-YVS77JPW.js → chunk-JTJP4JK7.js} +3 -3
- package/dist/{chunk-BIV4IHED.js → chunk-JW5NUXPN.js} +15 -28
- package/dist/{chunk-NFNM64A7.js → chunk-K2HIXAIF.js} +22 -18
- package/dist/{chunk-F5ZRHLG5.js → chunk-KEDZRQI3.js} +2 -2
- package/dist/{chunk-QPMKVSHU.js → chunk-KN5GAVCG.js} +2 -2
- package/dist/{chunk-3MDUKF3N.js → chunk-L5JFVK5T.js} +5 -4
- package/dist/{chunk-FBZ32BD4.js → chunk-LBSCOP25.js} +1 -1
- package/dist/{chunk-K7DAE2HO.js → chunk-LLZUL7M2.js} +19 -6
- package/dist/{chunk-PCFYNK7V.js → chunk-LQGLGSBY.js} +2 -2
- package/dist/{chunk-APVU4Q5B.js → chunk-LSHUX7P4.js} +16 -16
- package/dist/{chunk-GRAMRMWS.js → chunk-M6AX64J2.js} +2 -2
- package/dist/{chunk-52Z435PH.js → chunk-M6SUJLNP.js} +15 -10
- package/dist/{chunk-GPWXUU3L.js → chunk-MZNLQC6W.js} +1 -1
- package/dist/{chunk-G3ZYXXO7.js → chunk-N7POJZJT.js} +10 -10
- package/dist/{chunk-DE2V7547.js → chunk-NCNT2C2P.js} +2 -2
- package/dist/{chunk-HK7HIDXP.js → chunk-O3BLL6MY.js} +1 -1
- package/dist/{chunk-YLWKWEJJ.js → chunk-O6KQAJCC.js} +3 -3
- package/dist/{chunk-QUK3UDZV.js → chunk-OHHZNNUD.js} +1 -1
- package/dist/{chunk-6JLVCMKH.js → chunk-PDQGR5LZ.js} +1 -1
- package/dist/{chunk-LE3DIA25.js → chunk-PTF5TB6O.js} +3 -3
- package/dist/{chunk-KBHK2WNO.js → chunk-PYXXL7N7.js} +1 -1
- package/dist/{chunk-QK3Z4TKQ.js → chunk-Q6KUBP6R.js} +5 -5
- package/dist/{chunk-NDCW4G55.js → chunk-QJWLQXR7.js} +1 -1
- package/dist/{chunk-ME733Y2F.js → chunk-QOFQY7BJ.js} +37 -9
- package/dist/{chunk-HFXBL7XE.js → chunk-QSW5DHMZ.js} +1 -1
- package/dist/{chunk-OFT5KSBM.js → chunk-QV26G2BF.js} +1 -1
- package/dist/{chunk-LVEMYNYH.js → chunk-RHHEYC6H.js} +3 -3
- package/dist/{chunk-QYIR64RR.js → chunk-RHJOTGEU.js} +1 -1
- package/dist/{chunk-HUMNRJZE.js → chunk-RJIH7JXM.js} +4 -4
- package/dist/{chunk-6TB7UXCA.js → chunk-RMC2A6EE.js} +1 -1
- package/dist/{chunk-XCPD7NGP.js → chunk-RYMXD2NT.js} +1 -1
- package/dist/{chunk-W2VDJKTB.js → chunk-RYYFFCJG.js} +1 -1
- package/dist/{chunk-YUAOQJVV.js → chunk-SINIRUYZ.js} +101 -9
- package/dist/{chunk-R7QZXQPU.js → chunk-SXUABANK.js} +216 -147
- package/dist/{backup-verify-QIAQ63VC.js → chunk-T3AM52YT.js} +411 -90
- package/dist/{chunk-NK4JHJNP.js → chunk-TCBWHLKH.js} +4 -4
- package/dist/{chunk-R6CKQLEA.js → chunk-TS4LSNRI.js} +2 -2
- package/dist/{chunk-4Q7H3TO7.js → chunk-TVWYMOZ4.js} +1 -1
- package/dist/{chunk-TCV3WA5I.js → chunk-VAHQOIQY.js} +1 -1
- package/dist/{chunk-ZEHBSA25.js → chunk-VQQPYI4X.js} +1 -1
- package/dist/{chunk-PZDAPIQL.js → chunk-VS7V5HNO.js} +1 -1
- package/dist/{chunk-7R7KDRKV.js → chunk-W7VKGB42.js} +1 -1
- package/dist/{chunk-M7774YLB.js → chunk-WC44PNZU.js} +1 -1
- package/dist/{chunk-3AL2LO3L.js → chunk-WHUQ44F2.js} +1 -1
- package/dist/{chunk-4RQ62XXK.js → chunk-X2ZHCNNB.js} +5 -5
- package/dist/{chunk-T2PAFWRK.js → chunk-X4FHT6ST.js} +5 -5
- package/dist/{chunk-N3JEYUDV.js → chunk-XC5OASHV.js} +1 -1
- package/dist/{agent-defs-generator-QN3J6FVJ.js → chunk-XDOCXKHW.js} +61 -21
- package/dist/{chunk-OEHZ46WQ.js → chunk-XEAZJXMZ.js} +2 -2
- package/dist/{chunk-DACRR362.js → chunk-XQ7BIVLI.js} +6 -6
- package/dist/{chunk-7P2TDFZL.js → chunk-Z3LGAFMG.js} +1 -1
- package/dist/{chunk-GEQQGN3J.js → chunk-ZJ6AMC4Y.js} +7 -7
- package/dist/{chunk-IURGBN5B.js → chunk-ZZR2WRNW.js} +4 -4
- package/dist/{cleanup-graph-garbage-NKAJSCWZ.js → cleanup-graph-garbage-SYGPMPUM.js} +8 -8
- package/dist/{cli-shutdown-F3DFDCB5.js → cli-shutdown-JI7CASE4.js} +1 -1
- package/dist/{cloud-sync-command-3YBLSMAL.js → cloud-sync-command-ZV3P5FP6.js} +2 -2
- package/dist/{cloud-sync-db-init-JWSPAFKY.js → cloud-sync-db-init-RQIHWKV4.js} +1 -1
- package/dist/{cloud-sync-shutdown-4R6RIO67.js → cloud-sync-shutdown-V2N7VLD3.js} +3 -3
- package/dist/{co-activation-2ZRANV3Q.js → co-activation-SRE6DIRX.js} +3 -3
- package/dist/{co-occurrence-6EELW2L2.js → co-occurrence-F5TMSEQZ.js} +6 -6
- package/dist/{consent-passphrase-TDR263MC.js → consent-passphrase-MWZRHJRC.js} +2 -2
- package/dist/content-extractor-GWF2T7FK.js +13 -0
- package/dist/{conversation-entity-extractor-KUJN3MOH.js → conversation-entity-extractor-XMOUHGMT.js} +3 -3
- package/dist/{crdt-sync-IX43KVQ3.js → crdt-sync-FXEKABM7.js} +4 -4
- package/dist/{crm-webhook-GSCIW6CE.js → crm-webhook-D6IJOPRQ.js} +2 -2
- package/dist/{cto-delegation-gate-ZWD4EFRR.js → cto-delegation-gate-BU3JRCYN.js} +12 -15
- package/dist/{daemon-orchestration-WL6V4QL4.js → daemon-orchestration-K4NKFYXO.js} +19 -21
- package/dist/{destructive-data-guard-JDUJ2ULM.js → destructive-data-guard-3TGAAE7K.js} +77 -23
- package/dist/{doc-graph-extractor-NJ7ZZC2C.js → doc-graph-extractor-TVK2NGAR.js} +6 -6
- package/dist/{documents-O7WYZFFE.js → documents-MDZ4VB5X.js} +8 -8
- package/dist/{dreaming-TUESPDT3.js → dreaming-L24PSS35.js} +17 -20
- package/dist/{employee-boot-brief-UCP6QLN4.js → employee-boot-brief-GQVL3FQC.js} +23 -25
- package/dist/{entity-boost-TK43XT24.js → entity-boost-OMFA5QCG.js} +2 -2
- package/dist/{exe-drift-QD6LUZT2.js → exe-drift-JDDG3OPT.js} +4 -4
- package/dist/{exe-export-QIUNHFSS.js → exe-export-EEGIE3JP.js} +10 -10
- package/dist/{exe-import-3UFOLHEW.js → exe-import-UJNC5Q2L.js} +10 -10
- package/dist/{exe-key-D5NDKGHT.js → exe-key-TYEY4W4E.js} +97 -97
- package/dist/{exe-org-UWDJBOCV.js → exe-org-B3ICTTEV.js} +32 -32
- package/dist/{exe-snapshot-P6SFODEN.js → exe-snapshot-VBFBONYN.js} +20 -23
- package/dist/{fast-db-init-SD7JZSEC.js → fast-db-init-TFRTK6EH.js} +1 -1
- package/dist/{founder-context-QIXDZIJX.js → founder-context-3X4QUWKD.js} +2 -2
- package/dist/{founder-monitor-envelope-TLOC4UYG.js → founder-monitor-envelope-54UNZNY4.js} +4 -4
- package/dist/gateway/index.js +11 -11
- package/dist/{gateway-client-CQTSYJLP.js → gateway-client-OUDO5GGV.js} +1 -1
- package/dist/{git-staleness-JSQTHB4Z.js → git-staleness-73YZ5PGU.js} +3 -3
- package/dist/{global-procedures-T3RKI4QX.js → global-procedures-PYNE2BQG.js} +20 -6
- package/dist/{graph-auto-extract-V75GSTNX.js → graph-auto-extract-PGUMEEQB.js} +6 -6
- package/dist/{graph-query-VAQN2RK3.js → graph-query-7YA3YNKL.js} +1 -1
- package/dist/{graph-rag-GBA5E3QC.js → graph-rag-UWOTK4AQ.js} +3 -3
- package/dist/{hook-integrity-II6QK6Y4.js → hook-integrity-6MNEPT6W.js} +1 -1
- package/dist/{hook-prefetch-5EHPOYY3.js → hook-prefetch-JOF6YZSR.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-34XZ7JMW.js} +7 -8
- package/dist/{installer-MPVQ5L22.js → installer-356RMQ2K.js} +7 -8
- package/dist/{installer-ILYC4LI5.js → installer-7TN36Z7T.js} +113 -30
- package/dist/{intercom-queue-QGHAW2KO.js → intercom-queue-ZJ3MNULM.js} +12 -15
- 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/error-detector.js +2 -2
- package/dist/lib/exe-daemon.js +89 -87
- 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-4BXUTHLB.js} +3 -3
- package/dist/{license-recheck-7Z3LS6YS.js → license-recheck-QFPUKISQ.js} +1 -1
- package/dist/{license-sync-PUQV3HSZ.js → license-sync-FDEDT4AC.js} +2 -2
- package/dist/mcp/register-tools.js +96 -96
- package/dist/mcp/server.js +96 -96
- 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-GKP5QGAO.js} +5 -5
- package/dist/{mcp-session-identity-HN444A3G.js → mcp-session-identity-JHAGRB7B.js} +12 -15
- package/dist/{memory-cards-AT3QCCWU.js → memory-cards-O377ETAM.js} +8 -8
- package/dist/{memory-graph-extractor-B43UWGV5.js → memory-graph-extractor-4KJCCUOP.js} +7 -7
- package/dist/{memory-maintenance-WDLL3ZX3.js → memory-maintenance-RR5UPRW3.js} +1 -1
- package/dist/{memory-poisoning-defense-TS4WNW4S.js → memory-poisoning-defense-Y5TTKGOP.js} +3 -3
- package/dist/{memory-pressure-watchdog-6YH7S6W7.js → memory-pressure-watchdog-NGXTI4HR.js} +13 -16
- package/dist/{memory-reflection-N6NSYW6S.js → memory-reflection-EXNHRZL7.js} +8 -8
- package/dist/{memory-write-repository-D35RDO62.js → memory-write-repository-S4TX7WQB.js} +1 -1
- package/dist/{monitor-grants-FH4PNYN5.js → monitor-grants-57Q4NL25.js} +3 -3
- package/dist/{monitor-identity-LK5ZCCND.js → monitor-identity-3FQ52SYU.js} +2 -2
- package/dist/{notification-ledger-3WJYJGGS.js → notification-ledger-O6KQYYGK.js} +13 -16
- package/dist/{notifications-T5C2CVB3.js → notifications-6FCQCJ4P.js} +12 -15
- package/dist/{orchestration-events-73VEJT7Q.js → orchestration-events-2Z2BMMA5.js} +4 -4
- package/dist/{orchestrator-3O657734.js → orchestrator-AGOSKPHD.js} +14 -17
- package/dist/{org-brief-session-EGB35QLM.js → org-brief-session-WJHZVXXJ.js} +15 -15
- package/dist/{org-consent-policy-MSVSRI53.js → org-consent-policy-X43UGTHI.js} +5 -5
- package/dist/{org-join-4BK2XJJI.js → org-join-M3UTBMHC.js} +9 -9
- package/dist/{org-key-admin-EUSSGXQ3.js → org-key-admin-AA2DRHB2.js} +11 -11
- package/dist/{org-key-epoch-NMEWDT5L.js → org-key-epoch-Z5UIVUHT.js} +5 -5
- package/dist/{org-key-pin-HUSXGINB.js → org-key-pin-FE6YHEZ3.js} +3 -3
- package/dist/{org-membership-B74IWEM5.js → org-membership-3J2MIGE4.js} +4 -4
- package/dist/{org-partner-config-5FJTJABN.js → org-partner-config-5HATZYG4.js} +8 -8
- package/dist/{org-partner-runtime-GN4GFWI2.js → org-partner-runtime-UI35IHUC.js} +15 -15
- package/dist/{org-row-visibility-PBZ2TSCR.js → org-row-visibility-TRJERVYP.js} +1 -1
- package/dist/{pipeline-router-2IELBSVJ.js → pipeline-router-EKQ6D7ZA.js} +4 -4
- package/dist/{plan-limits-4GXK5PFT.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-CY73PRJP.js → pre-tool-use-impl-7BT5TJVM.js} +35 -33
- package/dist/{project-name-337ERIAX.js → project-name-PGJGUEJY.js} +4 -4
- package/dist/{projection-worker-W476IG6V.js → projection-worker-3GEVFPAI.js} +2 -2
- package/dist/{prospective-memory-5INB7NUL.js → prospective-memory-GEN7CN7H.js} +3 -3
- package/dist/{push-notifications-YVOP4KGN.js → push-notifications-QW4BWRC7.js} +13 -16
- package/dist/{reproject-worktree-memories-OGBR3CMO.js → reproject-worktree-memories-DIULBEBD.js} +12 -15
- package/dist/{reranker-W7WCJH6Y.js → reranker-LQ6OPJOI.js} +1 -1
- package/dist/{retrieval-health-R6MGXLTP.js → retrieval-health-XDFYFEOP.js} +1 -1
- package/dist/{review-polling-TKAWVY6G.js → review-polling-ED33YLFT.js} +13 -16
- package/dist/runtime/index.js +20 -23
- package/dist/{session-events-HUCZ7TOR.js → session-events-7IJGTBVH.js} +13 -16
- package/dist/{session-kill-telemetry-RWRWOW4C.js → session-kill-telemetry-RUTEARJ3.js} +13 -16
- package/dist/{session-scope-5CDRHV75.js → session-scope-SSYA64L3.js} +12 -15
- package/dist/{setup-wizard-RBTJAZOP.js → setup-wizard-XD7FZVLJ.js} +2 -2
- package/dist/{shard-manager-LRPAAQA4.js → shard-manager-FH5JZRSE.js} +2 -2
- package/dist/{skill-refinement-MDXKDCY6.js → skill-refinement-UHD4E6GV.js} +4 -4
- package/dist/{skill-retrieval-OWY6MTCX.js → skill-retrieval-F6PAJ3I5.js} +11 -11
- package/dist/{skill-usage-GNV737U5.js → skill-usage-2MBTF7Y4.js} +4 -4
- package/dist/{stack-generate-manifest-S4SBLKBY.js → stack-generate-manifest-SU6OFFY7.js} +4 -4
- package/dist/{stack-promote-U4EZNLOV.js → stack-promote-MJF436JD.js} +4 -4
- package/dist/{stack-release-4VBGOYGK.js → stack-release-S37R57XC.js} +5 -5
- package/dist/{stack-update-C5YKHE7A.js → stack-update-XXDRKGGR.js} +3 -3
- package/dist/{steward-gate-QFPXQBUZ.js → steward-gate-EWG2BHYQ.js} +4 -4
- package/dist/{subagent-brief-injection-GDXO5WNS.js → subagent-brief-injection-YZGSWUEY.js} +25 -27
- package/dist/{support-bug-actions-4XEKXIIO.js → support-bug-actions-RU6WZ3UV.js} +3 -3
- package/dist/{support-inbox-Y7AFCOGM.js → support-inbox-A3S52SPS.js} +12 -12
- package/dist/{task-enforcement-CN3Q4PEH.js → task-enforcement-LVAS55AR.js} +13 -16
- package/dist/{task-request-inbox-AY3C6DND.js → task-request-inbox-2TN4ZUH2.js} +5 -5
- package/dist/{task-scope-AMR3Z3DJ.js → task-scope-NLKUVCP5.js} +12 -15
- package/dist/{tasks-crud-2GHKIZOM.js → tasks-crud-NQDPLHNZ.js} +14 -15
- package/dist/{tasks-notify-Z53446KM.js → tasks-notify-BDM2NEHP.js} +13 -16
- package/dist/{tasks-review-APRNSHMQ.js → tasks-review-3G7CAW2O.js} +12 -15
- package/dist/{telemetry-upload-5XR42SQN.js → telemetry-upload-6DR6AL3V.js} +8 -8
- package/dist/{token-budget-TTNJXI7W.js → token-budget-KNC2WGR7.js} +4 -4
- package/dist/{tool-telemetry-36ST422N.js → tool-telemetry-I3SEU5M5.js} +1 -1
- package/dist/tui/App.js +23 -26
- package/dist/{tui-data-AP5TPUOQ.js → tui-data-KJDWP4CB.js} +16 -19
- package/dist/{update-support-SFTI2PUD.js → update-support-UYDYMHVR.js} +11 -11
- package/dist/{whatsapp-5CXE3JHG.js → whatsapp-5EMPZHF5.js} +2 -2
- package/dist/{wiki-acl-N754BC2W.js → wiki-acl-M7BTQJBZ.js} +1 -1
- package/dist/{work-claims-OAICQBWO.js → work-claims-5CFMZTML.js} +4 -4
- package/dist/{work-state-heartbeat-MTTUGMPU.js → work-state-heartbeat-7IA2DZ2E.js} +1 -1
- package/dist/{workflow-engine-RID3QL2U.js → workflow-engine-S5JOE2YR.js} +2 -2
- package/dist/{worktree-XWVNDBRD.js → worktree-7V4ZMF3D.js} +5 -5
- package/dist/{worktree-sweep-6VEHGH7U.js → worktree-sweep-34MXJ7S6.js} +6 -6
- package/package.json +2 -1
- package/release-notes.json +25 -7
- package/stack.release.json +3 -3
- package/dist/chunk-ESO5JDOT.js +0 -70
- package/dist/chunk-KCRSJ3VU.js +0 -113
- package/dist/content-extractor-OVD7PTSN.js +0 -9
- /package/dist/{chunk-OLMLA377.js → chunk-542FBM5U.js} +0 -0
- /package/dist/{chunk-LDHJX4TZ.js → chunk-6D2O5SAH.js} +0 -0
- /package/dist/{chunk-33PG3KNY.js → chunk-6NRZLVK3.js} +0 -0
- /package/dist/{chunk-CLV7ALXV.js → chunk-CFO47VW4.js} +0 -0
- /package/dist/{chunk-FLO24BNN.js → chunk-EULAP6L6.js} +0 -0
- /package/dist/{chunk-PKM456D2.js → chunk-FYSKQPTE.js} +0 -0
- /package/dist/{chunk-WIDOLS7T.js → chunk-J4B4M5PH.js} +0 -0
- /package/dist/{chunk-YBB43SXC.js → chunk-J635FA7T.js} +0 -0
- /package/dist/{chunk-64UAHPXA.js → chunk-MOBZTIJQ.js} +0 -0
- /package/dist/{chunk-EZQ4W3WW.js → chunk-N45FAI6D.js} +0 -0
- /package/dist/{chunk-OEEHLATI.js → chunk-QDSNEGJE.js} +0 -0
- /package/dist/{chunk-YG4DZZ6J.js → chunk-SKSXROKP.js} +0 -0
- /package/dist/{chunk-FUZHMV7K.js → chunk-YVWXI2HM.js} +0 -0
- /package/dist/{core-memory-WR7I7DIP.js → core-memory-PZEO3OWH.js} +0 -0
- /package/dist/{memory-isolation-4RQJ5RCK.js → memory-isolation-MFNT2ITE.js} +0 -0
- /package/dist/{oauth-server-VBDMZIEV.js → oauth-server-CBGEWD6H.js} +0 -0
- /package/dist/{project-boot-G7T5WHO6.js → project-boot-VESAYDIH.js} +0 -0
|
@@ -4,7 +4,10 @@ import {
|
|
|
4
4
|
} from "../chunk-4EI5AHHR.js";
|
|
5
5
|
import {
|
|
6
6
|
isSidechainTranscript
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-BIPTWAEO.js";
|
|
8
|
+
import {
|
|
9
|
+
isSecretRedactedCapture
|
|
10
|
+
} from "../chunk-6APOLYIZ.js";
|
|
8
11
|
import {
|
|
9
12
|
isCacheCold
|
|
10
13
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -16,20 +19,21 @@ import {
|
|
|
16
19
|
import {
|
|
17
20
|
hybridSearch,
|
|
18
21
|
lightweightSearch
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
} from "../chunk-K2HIXAIF.js";
|
|
23
|
+
import "../chunk-3ARSKDHC.js";
|
|
24
|
+
import "../chunk-6NRZLVK3.js";
|
|
25
|
+
import "../chunk-LSHUX7P4.js";
|
|
26
|
+
import "../chunk-MOBZTIJQ.js";
|
|
24
27
|
import "../chunk-CHCA3ZM2.js";
|
|
25
28
|
import "../chunk-OTVEIJUQ.js";
|
|
26
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-FYSKQPTE.js";
|
|
27
30
|
import "../chunk-5MOYSU5A.js";
|
|
28
31
|
import "../chunk-BYP3DOUU.js";
|
|
29
32
|
import "../chunk-76CJBM36.js";
|
|
33
|
+
import "../chunk-67IVG6CB.js";
|
|
30
34
|
import {
|
|
31
35
|
getActiveAgent
|
|
32
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-GL5ZG72X.js";
|
|
33
37
|
import "../chunk-7YX73K2R.js";
|
|
34
38
|
import "../chunk-5WA4DG2A.js";
|
|
35
39
|
import {
|
|
@@ -37,11 +41,9 @@ import {
|
|
|
37
41
|
getMySession,
|
|
38
42
|
getSessionState,
|
|
39
43
|
isExeSession
|
|
40
|
-
} from "../chunk-
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-VYKXRSHU.js";
|
|
44
|
+
} from "../chunk-GM4UEZDE.js";
|
|
45
|
+
import "../chunk-PYXXL7N7.js";
|
|
43
46
|
import "../chunk-ZKGWHT56.js";
|
|
44
|
-
import "../chunk-KBHK2WNO.js";
|
|
45
47
|
import "../chunk-WT4RI36X.js";
|
|
46
48
|
import "../chunk-E23LNUWJ.js";
|
|
47
49
|
import "../chunk-TDF2XKLK.js";
|
|
@@ -49,16 +51,16 @@ import "../chunk-EIKATSE4.js";
|
|
|
49
51
|
import "../chunk-MJCSEIFI.js";
|
|
50
52
|
import "../chunk-QDMZ5DX2.js";
|
|
51
53
|
import "../chunk-HME6ITKV.js";
|
|
52
|
-
import "../chunk-
|
|
54
|
+
import "../chunk-QSW5DHMZ.js";
|
|
53
55
|
import "../chunk-VI4ATC6I.js";
|
|
54
56
|
import "../chunk-A27Q27CT.js";
|
|
55
57
|
import "../chunk-6L4VIYLZ.js";
|
|
56
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-JGBYZTWH.js";
|
|
57
59
|
import "../chunk-T5SM4RXY.js";
|
|
58
|
-
import "../chunk-
|
|
60
|
+
import "../chunk-CFFSHBQF.js";
|
|
59
61
|
import "../chunk-IVXELUEQ.js";
|
|
60
62
|
import "../chunk-AM7S2TY6.js";
|
|
61
|
-
import "../chunk-
|
|
63
|
+
import "../chunk-2BOLFLAU.js";
|
|
62
64
|
import "../chunk-WJWRQQMS.js";
|
|
63
65
|
import "../chunk-PCV52RYM.js";
|
|
64
66
|
import "../chunk-BTSWFMEH.js";
|
|
@@ -69,8 +71,7 @@ import "../chunk-3DAEZILW.js";
|
|
|
69
71
|
import "../chunk-DRTJCG6B.js";
|
|
70
72
|
import {
|
|
71
73
|
getProjectName
|
|
72
|
-
} from "../chunk-
|
|
73
|
-
import "../chunk-HYZV25LY.js";
|
|
74
|
+
} from "../chunk-TVWYMOZ4.js";
|
|
74
75
|
import {
|
|
75
76
|
getSessionKey
|
|
76
77
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -79,11 +80,11 @@ import "../chunk-YRUZK2QA.js";
|
|
|
79
80
|
import "../chunk-MP2AFCGL.js";
|
|
80
81
|
import {
|
|
81
82
|
canCoordinate
|
|
82
|
-
} from "../chunk-
|
|
83
|
+
} from "../chunk-L5JFVK5T.js";
|
|
83
84
|
import "../chunk-BBMTVAE3.js";
|
|
84
85
|
import "../chunk-TKDITWDN.js";
|
|
85
|
-
import "../chunk-
|
|
86
|
-
import "../chunk-
|
|
86
|
+
import "../chunk-SINIRUYZ.js";
|
|
87
|
+
import "../chunk-6777GNWI.js";
|
|
87
88
|
import "../chunk-7FE43JRU.js";
|
|
88
89
|
import "../chunk-5YEUPUV4.js";
|
|
89
90
|
import "../chunk-YYB5PMTK.js";
|
|
@@ -95,10 +96,10 @@ import {
|
|
|
95
96
|
} from "../chunk-ZQEJ4IX2.js";
|
|
96
97
|
import "../chunk-C7GHNJPW.js";
|
|
97
98
|
import "../chunk-UWGQNJIE.js";
|
|
98
|
-
import "../chunk-
|
|
99
|
-
import "../chunk-
|
|
99
|
+
import "../chunk-4J77TCTX.js";
|
|
100
|
+
import "../chunk-EOWJXCYC.js";
|
|
100
101
|
import "../chunk-3R7UDPVR.js";
|
|
101
|
-
import "../chunk-
|
|
102
|
+
import "../chunk-6D2O5SAH.js";
|
|
102
103
|
import "../chunk-A7JYF4RG.js";
|
|
103
104
|
import "../chunk-ARX6TAGN.js";
|
|
104
105
|
import {
|
|
@@ -204,7 +205,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
204
205
|
});
|
|
205
206
|
process.env.EXE_HOOK_FAIL_OPEN = "1";
|
|
206
207
|
try {
|
|
207
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
208
|
+
const { verifyOrBlock } = await import("../hook-integrity-6MNEPT6W.js");
|
|
208
209
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
209
210
|
} catch (err) {
|
|
210
211
|
const code = err?.code;
|
|
@@ -265,7 +266,7 @@ function withBudget(promise, fallback) {
|
|
|
265
266
|
var _hookDbPromise = null;
|
|
266
267
|
function hookDb() {
|
|
267
268
|
_hookDbPromise ??= (async () => {
|
|
268
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
269
|
+
const { fastDbInit } = await import("../fast-db-init-TFRTK6EH.js");
|
|
269
270
|
return fastDbInit({ daemonOnly: true });
|
|
270
271
|
})();
|
|
271
272
|
return _hookDbPromise;
|
|
@@ -513,7 +514,7 @@ process.stdin.on("end", async () => {
|
|
|
513
514
|
let queuedForMe = [];
|
|
514
515
|
if (currentSession && !suppressTaskLifecycleNudges) {
|
|
515
516
|
try {
|
|
516
|
-
const { readQueue } = await import("../intercom-queue-
|
|
517
|
+
const { readQueue } = await import("../intercom-queue-ZJ3MNULM.js");
|
|
517
518
|
queuedForMe = readQueue().filter((q) => q.targetSession === currentSession);
|
|
518
519
|
} catch {
|
|
519
520
|
}
|
|
@@ -540,7 +541,7 @@ process.stdin.on("end", async () => {
|
|
|
540
541
|
if (prefetchClient) {
|
|
541
542
|
prefetch = await withHookTimeout(
|
|
542
543
|
(async () => {
|
|
543
|
-
const { prefetchPromptHookCounts } = await import("../hook-prefetch-
|
|
544
|
+
const { prefetchPromptHookCounts } = await import("../hook-prefetch-JOF6YZSR.js");
|
|
544
545
|
return prefetchPromptHookCounts(prefetchClient, {
|
|
545
546
|
agentIds: agentTaskIds(agent.agentId),
|
|
546
547
|
agentId: agent.agentId,
|
|
@@ -564,7 +565,7 @@ process.stdin.on("end", async () => {
|
|
|
564
565
|
}
|
|
565
566
|
let drainedNudgeContext = "";
|
|
566
567
|
if (currentSession && queuedForMe.length > 0 && !suppressTaskLifecycleNudges) try {
|
|
567
|
-
const { drainForSession } = await import("../intercom-queue-
|
|
568
|
+
const { drainForSession } = await import("../intercom-queue-ZJ3MNULM.js");
|
|
568
569
|
const { baseAgentName } = await import("../lib/employees.js");
|
|
569
570
|
const MARKER_STALE_MS = 4 * 60 * 60 * 1e3;
|
|
570
571
|
const hasInProgressTask = (agentName) => {
|
|
@@ -626,7 +627,7 @@ process.stdin.on("end", async () => {
|
|
|
626
627
|
);
|
|
627
628
|
if (memories.length > 0) {
|
|
628
629
|
const injected = loadInjectedIds(data.session_id);
|
|
629
|
-
const fresh = memories.filter((m) => !injected.has(m.id));
|
|
630
|
+
const fresh = memories.filter((m) => !injected.has(m.id) && !isSecretRedactedCapture(m.raw_text));
|
|
630
631
|
if (fresh.length > 0) {
|
|
631
632
|
for (const m of fresh) injected.add(m.id);
|
|
632
633
|
saveInjectedIds(data.session_id, injected);
|
|
@@ -653,8 +654,8 @@ ${fresh.map(
|
|
|
653
654
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
654
655
|
atomicWriteSync(behaviorLastCheckPath, (/* @__PURE__ */ new Date()).toISOString());
|
|
655
656
|
} else if (count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
656
|
-
const { listBehaviors, countActiveBehaviors } = await import("../behaviors-
|
|
657
|
-
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");
|
|
658
659
|
const behaviors = await withBudget(fetchInjectableBehaviors(agent.agentId, void 0, listBehaviors), []);
|
|
659
660
|
const counts = await withBudget(
|
|
660
661
|
countActiveBehaviors(agent.agentId),
|
|
@@ -691,7 +692,7 @@ ${parts.join("\n\n")}`;
|
|
|
691
692
|
if (overflow) behaviorContext += `
|
|
692
693
|
|
|
693
694
|
${overflow}`;
|
|
694
|
-
const { recordBehaviorsConsulted } = await import("../skill-usage-
|
|
695
|
+
const { recordBehaviorsConsulted } = await import("../skill-usage-2MBTF7Y4.js");
|
|
695
696
|
void recordBehaviorsConsulted(active.map((b) => b.id));
|
|
696
697
|
}
|
|
697
698
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
@@ -705,7 +706,7 @@ ${overflow}`;
|
|
|
705
706
|
if (!lastCheckedAt) {
|
|
706
707
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
707
708
|
}
|
|
708
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
709
|
+
const { listBehaviorsSince } = await import("../behaviors-SKVKPCRW.js");
|
|
709
710
|
const newBehaviors = await withBudget(listBehaviorsSince(agent.agentId, lastCheckedAt), []);
|
|
710
711
|
if (newBehaviors.length > 0) {
|
|
711
712
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -731,7 +732,7 @@ ${reflexLines.join("\n")}`);
|
|
|
731
732
|
These behaviors were added/modified since your session started. Apply them immediately.
|
|
732
733
|
|
|
733
734
|
${parts.join("\n\n")}`;
|
|
734
|
-
const { recordBehaviorsConsulted } = await import("../skill-usage-
|
|
735
|
+
const { recordBehaviorsConsulted } = await import("../skill-usage-2MBTF7Y4.js");
|
|
735
736
|
void recordBehaviorsConsulted(newBehaviors.map((b) => b.id));
|
|
736
737
|
}
|
|
737
738
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
@@ -775,7 +776,7 @@ ${body}`;
|
|
|
775
776
|
let reviewContext = "";
|
|
776
777
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
777
778
|
try {
|
|
778
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
779
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-3G7CAW2O.js");
|
|
779
780
|
const sessionKey = getSessionKey();
|
|
780
781
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
781
782
|
let sessionScope;
|
|
@@ -832,7 +833,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
832
833
|
let coreMemoryContext = "";
|
|
833
834
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
834
835
|
try {
|
|
835
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
836
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-PZEO3OWH.js");
|
|
836
837
|
const entries = await withBudget(getCoreMemory(agent.agentId), []);
|
|
837
838
|
const block = formatCoreMemoryBlock(entries);
|
|
838
839
|
if (block) coreMemoryContext = block;
|
|
@@ -929,7 +930,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
929
930
|
} catch {
|
|
930
931
|
}
|
|
931
932
|
try {
|
|
932
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-
|
|
933
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-2Z2BMMA5.js");
|
|
933
934
|
recordOE({
|
|
934
935
|
eventType: "signal.consumed",
|
|
935
936
|
source: "prompt-submit.hook",
|
|
@@ -1103,7 +1104,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
1103
1104
|
return;
|
|
1104
1105
|
}
|
|
1105
1106
|
try {
|
|
1106
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
1107
|
+
const { recordSessionEvent } = await import("../session-events-7IJGTBVH.js");
|
|
1107
1108
|
const client = await hookDb();
|
|
1108
1109
|
await recordSessionEvent(client, {
|
|
1109
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,16 +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-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-VYKXRSHU.js";
|
|
17
|
+
} from "../chunk-GM4UEZDE.js";
|
|
18
|
+
import "../chunk-PYXXL7N7.js";
|
|
20
19
|
import "../chunk-ZKGWHT56.js";
|
|
21
|
-
import "../chunk-KBHK2WNO.js";
|
|
22
20
|
import "../chunk-WT4RI36X.js";
|
|
23
21
|
import "../chunk-E23LNUWJ.js";
|
|
24
22
|
import "../chunk-TDF2XKLK.js";
|
|
@@ -26,16 +24,16 @@ import "../chunk-EIKATSE4.js";
|
|
|
26
24
|
import "../chunk-MJCSEIFI.js";
|
|
27
25
|
import "../chunk-QDMZ5DX2.js";
|
|
28
26
|
import "../chunk-HME6ITKV.js";
|
|
29
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-QSW5DHMZ.js";
|
|
30
28
|
import "../chunk-VI4ATC6I.js";
|
|
31
29
|
import "../chunk-A27Q27CT.js";
|
|
32
30
|
import "../chunk-6L4VIYLZ.js";
|
|
33
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-JGBYZTWH.js";
|
|
34
32
|
import "../chunk-T5SM4RXY.js";
|
|
35
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-CFFSHBQF.js";
|
|
36
34
|
import "../chunk-IVXELUEQ.js";
|
|
37
35
|
import "../chunk-AM7S2TY6.js";
|
|
38
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-2BOLFLAU.js";
|
|
39
37
|
import "../chunk-WJWRQQMS.js";
|
|
40
38
|
import "../chunk-PCV52RYM.js";
|
|
41
39
|
import "../chunk-BTSWFMEH.js";
|
|
@@ -46,8 +44,7 @@ import "../chunk-3DAEZILW.js";
|
|
|
46
44
|
import "../chunk-DRTJCG6B.js";
|
|
47
45
|
import {
|
|
48
46
|
resolveProjectName
|
|
49
|
-
} from "../chunk-
|
|
50
|
-
import "../chunk-HYZV25LY.js";
|
|
47
|
+
} from "../chunk-TVWYMOZ4.js";
|
|
51
48
|
import {
|
|
52
49
|
getSessionKey
|
|
53
50
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -56,11 +53,11 @@ import "../chunk-YRUZK2QA.js";
|
|
|
56
53
|
import "../chunk-MP2AFCGL.js";
|
|
57
54
|
import {
|
|
58
55
|
canCoordinate
|
|
59
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-L5JFVK5T.js";
|
|
60
57
|
import "../chunk-BBMTVAE3.js";
|
|
61
58
|
import "../chunk-TKDITWDN.js";
|
|
62
|
-
import "../chunk-
|
|
63
|
-
import "../chunk-
|
|
59
|
+
import "../chunk-SINIRUYZ.js";
|
|
60
|
+
import "../chunk-6777GNWI.js";
|
|
64
61
|
import "../chunk-7FE43JRU.js";
|
|
65
62
|
import "../chunk-5YEUPUV4.js";
|
|
66
63
|
import "../chunk-YYB5PMTK.js";
|
|
@@ -69,9 +66,9 @@ import "../chunk-QH5ZQ5SJ.js";
|
|
|
69
66
|
import "../chunk-ZQEJ4IX2.js";
|
|
70
67
|
import "../chunk-C7GHNJPW.js";
|
|
71
68
|
import "../chunk-UWGQNJIE.js";
|
|
72
|
-
import "../chunk-
|
|
69
|
+
import "../chunk-EOWJXCYC.js";
|
|
73
70
|
import "../chunk-3R7UDPVR.js";
|
|
74
|
-
import "../chunk-
|
|
71
|
+
import "../chunk-6D2O5SAH.js";
|
|
75
72
|
import "../chunk-A7JYF4RG.js";
|
|
76
73
|
import "../chunk-ARX6TAGN.js";
|
|
77
74
|
import "../chunk-MMS2HBRT.js";
|
|
@@ -91,7 +88,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
91
88
|
process.exit(1);
|
|
92
89
|
});
|
|
93
90
|
try {
|
|
94
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
91
|
+
const { verifyOrBlock } = await import("../hook-integrity-6MNEPT6W.js");
|
|
95
92
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
96
93
|
} catch (err) {
|
|
97
94
|
const code = err?.code;
|
|
@@ -291,7 +288,7 @@ process.stdin.on("end", async () => {
|
|
|
291
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"}
|
|
292
289
|
`);
|
|
293
290
|
try {
|
|
294
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
291
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-2Z2BMMA5.js");
|
|
295
292
|
await recordOrchestrationEvent({
|
|
296
293
|
eventType: "session.exit",
|
|
297
294
|
source: "hooks.session-end",
|
|
@@ -317,7 +314,7 @@ process.stdin.on("end", async () => {
|
|
|
317
314
|
}
|
|
318
315
|
if (agent.agentId) {
|
|
319
316
|
try {
|
|
320
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
317
|
+
const { fastDbInit } = await import("../fast-db-init-TFRTK6EH.js");
|
|
321
318
|
const client = await fastDbInit({ caller: "hook" });
|
|
322
319
|
const seScope = strictSessionScopeFilter();
|
|
323
320
|
const orphanResult = await client.execute({
|
|
@@ -417,17 +414,17 @@ Orphaned tasks at session end: ${openTaskList}` : "";
|
|
|
417
414
|
}
|
|
418
415
|
}
|
|
419
416
|
try {
|
|
420
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
417
|
+
const { clearSessionFileReads } = await import("../git-staleness-73YZ5PGU.js");
|
|
421
418
|
await clearSessionFileReads(data.session_id);
|
|
422
419
|
} catch {
|
|
423
420
|
}
|
|
424
421
|
try {
|
|
425
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
422
|
+
const { DreamingEngine } = await import("../dreaming-L24PSS35.js");
|
|
426
423
|
const engine = new DreamingEngine();
|
|
427
424
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
428
425
|
let promoted = 0;
|
|
429
426
|
if (dreamResult.proposals.length > 0) {
|
|
430
|
-
const { storeBehavior } = await import("../behaviors-
|
|
427
|
+
const { storeBehavior } = await import("../behaviors-SKVKPCRW.js");
|
|
431
428
|
for (const proposal of dreamResult.proposals) {
|
|
432
429
|
if (!proposal.text || proposal.text.trim().length === 0) continue;
|
|
433
430
|
if (!agent.agentId || agent.agentId.trim().length === 0) continue;
|
|
@@ -492,7 +489,7 @@ Orphaned tasks at session end: ${openTaskList}` : "";
|
|
|
492
489
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
493
490
|
}
|
|
494
491
|
try {
|
|
495
|
-
const { writeNotification } = await import("../notifications-
|
|
492
|
+
const { writeNotification } = await import("../notifications-6FCQCJ4P.js");
|
|
496
493
|
await writeNotification({
|
|
497
494
|
agentId: agent.agentId,
|
|
498
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,16 +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-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-VYKXRSHU.js";
|
|
9
|
+
} from "../chunk-GM4UEZDE.js";
|
|
10
|
+
import "../chunk-PYXXL7N7.js";
|
|
12
11
|
import "../chunk-ZKGWHT56.js";
|
|
13
|
-
import "../chunk-KBHK2WNO.js";
|
|
14
12
|
import "../chunk-WT4RI36X.js";
|
|
15
13
|
import "../chunk-E23LNUWJ.js";
|
|
16
14
|
import "../chunk-TDF2XKLK.js";
|
|
@@ -18,16 +16,16 @@ import "../chunk-EIKATSE4.js";
|
|
|
18
16
|
import "../chunk-MJCSEIFI.js";
|
|
19
17
|
import "../chunk-QDMZ5DX2.js";
|
|
20
18
|
import "../chunk-HME6ITKV.js";
|
|
21
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-QSW5DHMZ.js";
|
|
22
20
|
import "../chunk-VI4ATC6I.js";
|
|
23
21
|
import "../chunk-A27Q27CT.js";
|
|
24
22
|
import "../chunk-6L4VIYLZ.js";
|
|
25
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-JGBYZTWH.js";
|
|
26
24
|
import "../chunk-T5SM4RXY.js";
|
|
27
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-CFFSHBQF.js";
|
|
28
26
|
import "../chunk-IVXELUEQ.js";
|
|
29
27
|
import "../chunk-AM7S2TY6.js";
|
|
30
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-2BOLFLAU.js";
|
|
31
29
|
import "../chunk-WJWRQQMS.js";
|
|
32
30
|
import "../chunk-PCV52RYM.js";
|
|
33
31
|
import "../chunk-BTSWFMEH.js";
|
|
@@ -38,19 +36,18 @@ import "../chunk-3DAEZILW.js";
|
|
|
38
36
|
import "../chunk-DRTJCG6B.js";
|
|
39
37
|
import {
|
|
40
38
|
resolveProjectName
|
|
41
|
-
} from "../chunk-
|
|
42
|
-
import "../chunk-HYZV25LY.js";
|
|
39
|
+
} from "../chunk-TVWYMOZ4.js";
|
|
43
40
|
import "../chunk-CVYC6DUW.js";
|
|
44
41
|
import "../chunk-GJV3WDWM.js";
|
|
45
42
|
import "../chunk-YRUZK2QA.js";
|
|
46
43
|
import "../chunk-MP2AFCGL.js";
|
|
47
44
|
import {
|
|
48
45
|
canCoordinate
|
|
49
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-L5JFVK5T.js";
|
|
50
47
|
import "../chunk-BBMTVAE3.js";
|
|
51
48
|
import "../chunk-TKDITWDN.js";
|
|
52
|
-
import "../chunk-
|
|
53
|
-
import "../chunk-
|
|
49
|
+
import "../chunk-SINIRUYZ.js";
|
|
50
|
+
import "../chunk-6777GNWI.js";
|
|
54
51
|
import "../chunk-7FE43JRU.js";
|
|
55
52
|
import "../chunk-5YEUPUV4.js";
|
|
56
53
|
import "../chunk-YYB5PMTK.js";
|
|
@@ -59,9 +56,9 @@ import "../chunk-QH5ZQ5SJ.js";
|
|
|
59
56
|
import "../chunk-ZQEJ4IX2.js";
|
|
60
57
|
import "../chunk-C7GHNJPW.js";
|
|
61
58
|
import "../chunk-UWGQNJIE.js";
|
|
62
|
-
import "../chunk-
|
|
59
|
+
import "../chunk-EOWJXCYC.js";
|
|
63
60
|
import "../chunk-3R7UDPVR.js";
|
|
64
|
-
import "../chunk-
|
|
61
|
+
import "../chunk-6D2O5SAH.js";
|
|
65
62
|
import "../chunk-A7JYF4RG.js";
|
|
66
63
|
import "../chunk-ARX6TAGN.js";
|
|
67
64
|
import {
|
|
@@ -87,7 +84,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
87
84
|
process.exit(1);
|
|
88
85
|
});
|
|
89
86
|
try {
|
|
90
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
87
|
+
const { verifyOrBlock } = await import("../hook-integrity-6MNEPT6W.js");
|
|
91
88
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
92
89
|
} catch (err) {
|
|
93
90
|
const code = err?.code;
|
|
@@ -241,8 +238,8 @@ process.stdin.on("end", async () => {
|
|
|
241
238
|
process.exit(0);
|
|
242
239
|
}
|
|
243
240
|
try {
|
|
244
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
245
|
-
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");
|
|
246
243
|
const client = await fastDbInit({ daemonOnly: true });
|
|
247
244
|
await recordSessionEvent(client, {
|
|
248
245
|
agentId: agent.agentId,
|
|
@@ -261,7 +258,7 @@ process.stdin.on("end", async () => {
|
|
|
261
258
|
if (existsSync(taskCachePath)) {
|
|
262
259
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
263
260
|
if (cached.taskId) {
|
|
264
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
261
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-KNC2WGR7.js");
|
|
265
262
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
266
263
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
267
264
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -279,7 +276,7 @@ process.stdin.on("end", async () => {
|
|
|
279
276
|
}
|
|
280
277
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
281
278
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
282
|
-
import("../fast-db-init-
|
|
279
|
+
import("../fast-db-init-TFRTK6EH.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
283
280
|
const stScope = sessionScopeFilter();
|
|
284
281
|
const tasks = await client.execute({
|
|
285
282
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -421,7 +418,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
421
418
|
} catch {
|
|
422
419
|
}
|
|
423
420
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
424
|
-
import("../fast-db-init-
|
|
421
|
+
import("../fast-db-init-TFRTK6EH.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
425
422
|
const orScope = sessionScopeFilter();
|
|
426
423
|
return client.execute({
|
|
427
424
|
sql: `SELECT title, status FROM tasks
|