@askexenow/exe-os 0.9.409 → 0.9.410
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deploy/stack-manifests/v0.9.json +408 -1
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-5AKPW2N7.js → active-agent-2ELFTYNT.js} +4 -4
- package/dist/{active-agent-2AMJC3SC.js → active-agent-SS4SRXYZ.js} +4 -4
- package/dist/agent-defs-generator-6S2BSYCP.js +32 -0
- package/dist/{agentic-ontology-6RS7A7KP.js → agentic-ontology-TJOAUAPD.js} +1 -1
- package/dist/{artifact-backup-6O4FNYPS.js → artifact-backup-STQQZDZ5.js} +3 -3
- package/dist/{backfill-metadata-6YX6LGPJ.js → backfill-metadata-I2FVENKJ.js} +7 -7
- package/dist/{backup-verify-QIAQ63VC.js → backup-verify-AOTKX5DA.js} +69 -4
- package/dist/{behavior-injection-NRXTNROW.js → behavior-injection-CTSIKHTH.js} +10 -10
- package/dist/{behavior-promotion-MW7OQ72V.js → behavior-promotion-NZMTTFHK.js} +9 -9
- package/dist/{behaviors-7AOK44QK.js → behaviors-RUNSC5WI.js} +8 -8
- package/dist/bin/agentic-ontology-backfill.js +8 -8
- package/dist/bin/agentic-reflection-backfill.js +9 -9
- package/dist/bin/agentic-semantic-label.js +8 -8
- package/dist/bin/backfill-conversations.js +7 -7
- package/dist/bin/backfill-responses.js +7 -7
- package/dist/bin/backfill-vectors.js +7 -7
- package/dist/bin/bulk-sync-postgres.js +16 -16
- package/dist/bin/cc-doctor.js +8 -8
- package/dist/bin/cleanup-stale-review-tasks.js +13 -16
- package/dist/bin/cli.js +24 -24
- package/dist/bin/deferred-daemon-restart.js +95 -95
- package/dist/bin/exe-agent-config.js +3 -3
- package/dist/bin/exe-agent.js +11 -11
- package/dist/bin/exe-assign.js +8 -8
- package/dist/bin/exe-boot.js +33 -36
- package/dist/bin/exe-call.js +8 -8
- package/dist/bin/exe-cloud.js +26 -22
- package/dist/bin/exe-config-dump.js +3 -3
- package/dist/bin/exe-dispatch.js +14 -17
- package/dist/bin/exe-doctor.js +5 -5
- package/dist/bin/exe-export-behaviors.js +12 -12
- package/dist/bin/exe-forget.js +12 -12
- package/dist/bin/exe-gateway.js +9 -9
- package/dist/bin/exe-grant.js +6 -6
- package/dist/bin/exe-healthcheck.js +8 -8
- package/dist/bin/exe-heartbeat.js +19 -22
- package/dist/bin/exe-kill.js +18 -21
- package/dist/bin/exe-launch-agent.js +215 -100
- package/dist/bin/exe-mcp.js +5 -5
- package/dist/bin/exe-memory-reads.js +7 -7
- package/dist/bin/exe-new-employee.js +10 -10
- package/dist/bin/exe-os-mcp-proxy.js +5 -5
- package/dist/bin/exe-pending-messages.js +14 -17
- package/dist/bin/exe-pending-notifications.js +13 -16
- package/dist/bin/exe-pending-reviews.js +14 -17
- package/dist/bin/exe-rename.js +6 -6
- package/dist/bin/exe-review.js +17 -20
- package/dist/bin/exe-search.js +11 -11
- package/dist/bin/exe-session-cleanup.js +18 -21
- package/dist/bin/exe-settings.js +16 -16
- package/dist/bin/exe-start-codex.js +18 -18
- package/dist/bin/exe-start-opencode.js +16 -16
- package/dist/bin/exe-status.js +15 -18
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +5 -5
- package/dist/bin/git-sweep.js +15 -17
- package/dist/bin/graph-backfill.js +8 -8
- package/dist/bin/graph-export.js +8 -8
- package/dist/bin/hooks-cli.js +1 -1
- package/dist/bin/import-history.js +11 -11
- package/dist/bin/install.js +97 -97
- package/dist/bin/intercom-check.js +5 -5
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +5 -5
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/repair-document-chunks.js +7 -7
- package/dist/bin/scan-tasks.js +14 -17
- package/dist/bin/setup.js +2 -2
- package/dist/bin/shard-migrate.js +8 -8
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-HG6LLZLY.js → boot-generation-4W4CDJSX.js} +4 -4
- package/dist/{boot-review-sections-STZ5EAIL.js → boot-review-sections-HJN25GMU.js} +12 -15
- package/dist/{bug-landed-reconciler-EO72HUI2.js → bug-landed-reconciler-GGQU6G2L.js} +6 -6
- package/dist/build-info.json +3 -3
- package/dist/build-manifest.json +989 -989
- package/dist/{capability-cards-C3SMHB2E.js → capability-cards-EV7VHL3W.js} +3 -3
- package/dist/{capacity-monitor-UI553HRL.js → capacity-monitor-YO3WRSRY.js} +14 -17
- package/dist/{catchup-brief-VE2X4HML.js → catchup-brief-4XFFW3H2.js} +21 -23
- package/dist/{chunk-R7QZXQPU.js → chunk-22XJWSWN.js} +216 -147
- package/dist/{chunk-XGPBHKU3.js → chunk-26CY4EAR.js} +2 -2
- package/dist/{chunk-E2Z3F26R.js → chunk-2A556FNI.js} +1 -1
- package/dist/{chunk-EIM7OGTD.js → chunk-2AXJRXA6.js} +2 -2
- package/dist/{chunk-DE2V7547.js → chunk-2CG3LHI6.js} +2 -2
- package/dist/{chunk-VLAENYCN.js → chunk-2K7IKLBL.js} +1 -1
- package/dist/{chunk-6JLVCMKH.js → chunk-2LJ2GZEE.js} +1 -1
- package/dist/{chunk-7I6KVKFF.js → chunk-2OIVIPU7.js} +3 -3
- package/dist/{chunk-6TB7UXCA.js → chunk-2Q2U3NB2.js} +1 -1
- package/dist/{chunk-QUK3UDZV.js → chunk-2WOHFX4Z.js} +1 -1
- package/dist/{chunk-23XUZHB7.js → chunk-2YK5HP2B.js} +245 -36
- package/dist/{chunk-LMF2YC5C.js → chunk-2YZZR2BW.js} +4 -4
- package/dist/{chunk-VMHZSZQJ.js → chunk-3ARSKDHC.js} +52 -0
- package/dist/{chunk-IZ24HRDC.js → chunk-3UEDFBDE.js} +3 -3
- package/dist/{chunk-TCV3WA5I.js → chunk-3WNDI5KT.js} +1 -1
- package/dist/{chunk-W5XAB2SW.js → chunk-47UBJKS3.js} +271 -167
- package/dist/{chunk-TBYWOHTE.js → chunk-4THJIDJE.js} +1 -1
- package/dist/{chunk-HRYWB4TO.js → chunk-4XY33GRO.js} +2 -2
- package/dist/{chunk-PCFYNK7V.js → chunk-53GNYXNR.js} +2 -2
- package/dist/{chunk-OFT5KSBM.js → chunk-54Q7M2AG.js} +1 -1
- package/dist/{chunk-GG73NHZD.js → chunk-575FWHQJ.js} +2 -2
- package/dist/{chunk-4W7Y67B5.js → chunk-5BWN6A5E.js} +1 -1
- package/dist/{chunk-KBHK2WNO.js → chunk-5F3E57TQ.js} +1 -1
- package/dist/{chunk-4S6H2NWS.js → chunk-5JHIAGZY.js} +1 -1
- package/dist/{chunk-IPANAGA3.js → chunk-5Q64Q5ZD.js} +1 -1
- package/dist/{chunk-LVEMYNYH.js → chunk-5WNZGNQL.js} +3 -3
- package/dist/{chunk-HYZV25LY.js → chunk-67IVG6CB.js} +1 -11
- package/dist/{chunk-5N34MMKS.js → chunk-6APOLYIZ.js} +43 -3
- package/dist/{chunk-HFXBL7XE.js → chunk-6T5RC3L4.js} +1 -1
- package/dist/{chunk-HUMNRJZE.js → chunk-6TOV7UVU.js} +4 -4
- package/dist/{chunk-HNGAM3U4.js → chunk-7QFRZT4H.js} +3 -3
- package/dist/{chunk-52Z435PH.js → chunk-7RVTQXST.js} +15 -10
- package/dist/{chunk-SY53PYLU.js → chunk-7WCYJXOF.js} +1 -1
- package/dist/{chunk-IURGBN5B.js → chunk-AEEAQZ3E.js} +4 -4
- package/dist/{chunk-HFSFWMID.js → chunk-AEOB4JCJ.js} +3 -3
- package/dist/{chunk-DM4VTXM6.js → chunk-AGXV5HLA.js} +4 -4
- package/dist/{chunk-NDCW4G55.js → chunk-AGY2KUQ6.js} +1 -1
- package/dist/{chunk-6RRPVE5O.js → chunk-APKEGWFB.js} +3 -3
- package/dist/{chunk-FJKUFMNF.js → chunk-ASA2UJDH.js} +1 -1
- package/dist/{chunk-GRAMRMWS.js → chunk-AWTLUJZL.js} +2 -2
- package/dist/{chunk-BHDDDNC6.js → chunk-B34RSIUP.js} +2 -2
- package/dist/{chunk-BPBEJD7U.js → chunk-B55U5BKF.js} +1 -1
- package/dist/{chunk-UXJAW4IQ.js → chunk-BBTNF72N.js} +2 -2
- package/dist/{chunk-IPBNHPTE.js → chunk-BIHPY7JW.js} +9 -9
- package/dist/{chunk-SYUJCVJG.js → chunk-BPXWWD7P.js} +1 -1
- package/dist/{chunk-G2M7WQ2M.js → chunk-CBC3JCIF.js} +1 -1
- package/dist/{chunk-GKPPLIMJ.js → chunk-CEHGXPMO.js} +4 -4
- package/dist/{chunk-L5CPS34O.js → chunk-CKRZBQ2K.js} +1 -1
- package/dist/{chunk-NHQWPKX7.js → chunk-CPC75PXE.js} +2 -2
- package/dist/{chunk-OEHZ46WQ.js → chunk-DLHE4PCM.js} +4 -4
- package/dist/{chunk-RZ23QQCI.js → chunk-DWK5HEKY.js} +4 -4
- package/dist/{chunk-YUAOQJVV.js → chunk-E2346GKI.js} +2 -2
- package/dist/{chunk-VYKXRSHU.js → chunk-E3ZO4EL3.js} +1 -1
- package/dist/{chunk-GTRB6DGI.js → chunk-FCX2XHIC.js} +2 -2
- package/dist/{chunk-K7DAE2HO.js → chunk-FOZSHNET.js} +19 -6
- package/dist/{chunk-7P2TDFZL.js → chunk-FRJICRED.js} +1 -1
- package/dist/{chunk-XCPD7NGP.js → chunk-FUEKSCTN.js} +1 -1
- package/dist/{chunk-B3ISLIKE.js → chunk-FYKEL2L6.js} +2 -2
- package/dist/{chunk-SFGFNJBR.js → chunk-FZT7CBXB.js} +1 -1
- package/dist/{chunk-NFNM64A7.js → chunk-GGT6Y5AN.js} +22 -18
- package/dist/{chunk-Q4GS5VW7.js → chunk-H5H2LGVE.js} +3 -3
- package/dist/{chunk-GEQQGN3J.js → chunk-HCBISGUU.js} +7 -7
- package/dist/{chunk-FZT4VQP7.js → chunk-HKAWEIB2.js} +1 -1
- package/dist/{chunk-QK3Z4TKQ.js → chunk-HLNRLXUS.js} +5 -5
- package/dist/{chunk-FBZ32BD4.js → chunk-HNJLAMD3.js} +1 -1
- package/dist/{chunk-6EY6OFBC.js → chunk-I35OMCL3.js} +2 -2
- package/dist/{chunk-OISOA6NX.js → chunk-IHBYJG7N.js} +1 -1
- package/dist/{chunk-KIJRAZWR.js → chunk-IQCC6WFI.js} +1 -1
- package/dist/{chunk-EHILXBVT.js → chunk-IUAW7FVX.js} +3 -3
- package/dist/{chunk-OE7TAEOG.js → chunk-IXRYS5X3.js} +1 -1
- package/dist/{chunk-4Q7H3TO7.js → chunk-J6RTX7XT.js} +1 -1
- package/dist/{chunk-BIV4IHED.js → chunk-JDZNGC4O.js} +15 -28
- package/dist/{chunk-JJYAETCO.js → chunk-JTXXLNYD.js} +4 -4
- package/dist/{chunk-YVS77JPW.js → chunk-JZ23D5YF.js} +3 -3
- package/dist/{chunk-QYIR64RR.js → chunk-K464YYT5.js} +1 -1
- package/dist/{chunk-BM467PZN.js → chunk-K6XWIJN7.js} +1 -1
- package/dist/{chunk-DIKLSAJE.js → chunk-KNEEOZWN.js} +1 -1
- package/dist/{chunk-3MDUKF3N.js → chunk-LBEBSXZA.js} +5 -4
- package/dist/{chunk-NK4JHJNP.js → chunk-LCXWQVOD.js} +4 -4
- package/dist/{chunk-3AL2LO3L.js → chunk-LZS2B2JT.js} +1 -1
- package/dist/{chunk-W2VDJKTB.js → chunk-MNWN3SQ3.js} +1 -1
- package/dist/{chunk-ZEHBSA25.js → chunk-MQD3JJCO.js} +1 -1
- package/dist/{chunk-KPLMY2GT.js → chunk-NUEDA2US.js} +4 -4
- package/dist/{chunk-F5ZRHLG5.js → chunk-NYV4A5IG.js} +2 -2
- package/dist/{chunk-M7774YLB.js → chunk-O5RKAXCG.js} +1 -1
- package/dist/{chunk-GPWXUU3L.js → chunk-OUUNFTS4.js} +1 -1
- package/dist/{chunk-G3ZYXXO7.js → chunk-PCF4QMJS.js} +10 -10
- package/dist/{chunk-HRKN3DQE.js → chunk-PONGX3YG.js} +7 -7
- package/dist/{chunk-JR3GTBV3.js → chunk-QH2V67NX.js} +1 -1
- package/dist/{chunk-4O7OUBEX.js → chunk-QKHQTHE6.js} +27 -15
- package/dist/{chunk-4M24XCTI.js → chunk-R2ZHPVF2.js} +53 -7
- package/dist/{chunk-HK7HIDXP.js → chunk-R3N5BCMM.js} +1 -1
- package/dist/{chunk-IUBCS6TA.js → chunk-RWM6TZH6.js} +3 -3
- package/dist/{chunk-N3JEYUDV.js → chunk-RXICR3D7.js} +1 -1
- package/dist/{chunk-QPMKVSHU.js → chunk-S2DTXCV6.js} +2 -2
- package/dist/{chunk-YLWKWEJJ.js → chunk-SLG3T26A.js} +3 -3
- package/dist/{chunk-7R7KDRKV.js → chunk-SUGAHHVR.js} +1 -1
- package/dist/{chunk-SGR4ZQAV.js → chunk-T7W75LII.js} +3 -3
- package/dist/{agent-defs-generator-QN3J6FVJ.js → chunk-TU5Y5ZNC.js} +4 -21
- package/dist/{chunk-LE3DIA25.js → chunk-UBTKHJCB.js} +6 -6
- package/dist/{chunk-ZYOIH5NY.js → chunk-UF5BDAF6.js} +6 -6
- package/dist/{chunk-4RQ62XXK.js → chunk-UG3YOQAC.js} +5 -5
- package/dist/{chunk-7LTAA55U.js → chunk-V7AID6MC.js} +1 -1
- package/dist/{chunk-SA66WRBT.js → chunk-WLV27PAO.js} +1 -1
- package/dist/{chunk-XAGIZVYI.js → chunk-WSYIQKZ6.js} +180 -1624
- package/dist/{chunk-KCRSJ3VU.js → chunk-WZPD4QSE.js} +2 -2
- package/dist/{chunk-APVU4Q5B.js → chunk-X2EBM5BQ.js} +16 -16
- package/dist/{chunk-XFGS22VE.js → chunk-XBCIRNNU.js} +1 -1
- package/dist/{chunk-M4N7I2H5.js → chunk-XC2KAJK4.js} +5 -5
- package/dist/{chunk-WYNIWJRN.js → chunk-XCKTCOK3.js} +5 -5
- package/dist/{chunk-PZDAPIQL.js → chunk-XJQGS4IM.js} +1 -1
- package/dist/{chunk-DACRR362.js → chunk-XMMWBLQK.js} +6 -6
- package/dist/{chunk-T2PAFWRK.js → chunk-YC6SZFVD.js} +5 -5
- package/dist/{chunk-6ZW6BRI4.js → chunk-YJ7MCZSY.js} +2 -2
- package/dist/{chunk-DMYJVGQM.js → chunk-YSDSQRE2.js} +1 -1
- package/dist/{chunk-R6CKQLEA.js → chunk-YWZGDFAL.js} +1 -1
- package/dist/{chunk-C426MZMD.js → chunk-ZBXZFOIF.js} +3 -3
- package/dist/{chunk-ME733Y2F.js → chunk-ZEDLED43.js} +37 -9
- package/dist/{cleanup-graph-garbage-NKAJSCWZ.js → cleanup-graph-garbage-N7FTWU6C.js} +8 -8
- package/dist/{cli-shutdown-F3DFDCB5.js → cli-shutdown-NCBQTN7G.js} +1 -1
- package/dist/{cloud-sync-command-3YBLSMAL.js → cloud-sync-command-UL7GNN3J.js} +2 -2
- package/dist/{cloud-sync-db-init-JWSPAFKY.js → cloud-sync-db-init-ASM7ZXBH.js} +1 -1
- package/dist/{cloud-sync-shutdown-4R6RIO67.js → cloud-sync-shutdown-HER4ISBU.js} +3 -3
- package/dist/{co-activation-2ZRANV3Q.js → co-activation-V5XXR327.js} +3 -3
- package/dist/{co-occurrence-6EELW2L2.js → co-occurrence-MKZ6YWSQ.js} +6 -6
- package/dist/{consent-passphrase-TDR263MC.js → consent-passphrase-YI3J4UEL.js} +2 -2
- package/dist/content-extractor-GWF2T7FK.js +13 -0
- package/dist/{conversation-entity-extractor-KUJN3MOH.js → conversation-entity-extractor-66G7ROQ3.js} +3 -3
- package/dist/{crdt-sync-IX43KVQ3.js → crdt-sync-Z62SWOKD.js} +4 -4
- package/dist/{crm-webhook-GSCIW6CE.js → crm-webhook-6GBACWJX.js} +2 -2
- package/dist/{cto-delegation-gate-ZWD4EFRR.js → cto-delegation-gate-FUKPBFCM.js} +12 -15
- package/dist/{daemon-orchestration-WL6V4QL4.js → daemon-orchestration-O3QPSJEP.js} +19 -21
- package/dist/{doc-graph-extractor-NJ7ZZC2C.js → doc-graph-extractor-BBPKLIVM.js} +6 -6
- package/dist/{documents-O7WYZFFE.js → documents-NILTWYSQ.js} +8 -8
- package/dist/{dreaming-TUESPDT3.js → dreaming-KMDGPIFY.js} +17 -20
- package/dist/{employee-boot-brief-UCP6QLN4.js → employee-boot-brief-KSH3MWIF.js} +23 -25
- package/dist/{entity-boost-TK43XT24.js → entity-boost-XETN7C2S.js} +2 -2
- package/dist/{exe-drift-QD6LUZT2.js → exe-drift-SFD7SHXC.js} +4 -4
- package/dist/{exe-export-QIUNHFSS.js → exe-export-NHWKEZL4.js} +9 -9
- package/dist/{exe-import-3UFOLHEW.js → exe-import-SPI5HJBU.js} +9 -9
- package/dist/{exe-key-D5NDKGHT.js → exe-key-TY5LFUEM.js} +95 -95
- package/dist/{exe-org-UWDJBOCV.js → exe-org-LVQLXA7C.js} +32 -32
- package/dist/{exe-snapshot-P6SFODEN.js → exe-snapshot-WH2DSRZW.js} +20 -23
- package/dist/{fast-db-init-SD7JZSEC.js → fast-db-init-UN225WS7.js} +1 -1
- package/dist/{founder-context-QIXDZIJX.js → founder-context-DVHSVBM5.js} +2 -2
- package/dist/{founder-monitor-envelope-TLOC4UYG.js → founder-monitor-envelope-HMPPUBUT.js} +4 -4
- package/dist/gateway/index.js +14 -14
- package/dist/{gateway-client-CQTSYJLP.js → gateway-client-TXHCHOVM.js} +1 -1
- package/dist/{git-staleness-JSQTHB4Z.js → git-staleness-CUVLXQOJ.js} +3 -3
- package/dist/{global-procedures-T3RKI4QX.js → global-procedures-T5W3S6OU.js} +5 -5
- package/dist/{graph-auto-extract-V75GSTNX.js → graph-auto-extract-S7OIZXYP.js} +6 -6
- package/dist/{graph-query-VAQN2RK3.js → graph-query-CRIH4DXF.js} +1 -1
- package/dist/{graph-rag-GBA5E3QC.js → graph-rag-LH34CEGC.js} +3 -3
- package/dist/{hook-integrity-II6QK6Y4.js → hook-integrity-TSJYZFZ6.js} +1 -1
- package/dist/{hook-prefetch-5EHPOYY3.js → hook-prefetch-SNW5DFCZ.js} +13 -16
- package/dist/hooks/bug-report-worker.js +17 -20
- package/dist/hooks/codex-stop-task-finalizer.js +19 -22
- package/dist/hooks/commit-complete.js +16 -19
- package/dist/hooks/error-recall.js +14 -14
- package/dist/hooks/exe-heartbeat-hook.js +5 -5
- package/dist/hooks/ingest-worker.js +18 -20
- package/dist/hooks/ingest.js +16 -16
- package/dist/hooks/instructions-loaded.js +7 -7
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +6 -6
- package/dist/hooks/post-compact.js +5 -5
- package/dist/hooks/post-tool-combined.js +13 -13
- package/dist/hooks/pre-compact.js +16 -19
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/hooks/prompt-submit.js +40 -39
- package/dist/hooks/session-end.js +21 -24
- package/dist/hooks/session-start.js +18 -18
- package/dist/hooks/stop.js +19 -22
- package/dist/hooks/subagent-stop.js +18 -21
- package/dist/hooks/summary-worker.js +20 -23
- package/dist/index.js +25 -28
- package/dist/{installer-XEEZSF3V.js → installer-4IVP2PTX.js} +7 -8
- package/dist/{installer-ILYC4LI5.js → installer-CJWNUASI.js} +7 -8
- package/dist/{installer-MPVQ5L22.js → installer-UFRZHMX5.js} +7 -8
- package/dist/{intercom-queue-QGHAW2KO.js → intercom-queue-II6RRK3J.js} +12 -15
- package/dist/lib/cloud-sync.js +16 -16
- package/dist/lib/consolidation.js +9 -9
- package/dist/lib/crypto.js +3 -3
- package/dist/lib/database.js +3 -3
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-write-worker.js +3 -3
- package/dist/lib/db.js +3 -3
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +6 -6
- package/dist/lib/employees.js +3 -3
- package/dist/lib/error-detector.js +2 -2
- package/dist/lib/exe-daemon.js +83 -86
- package/dist/lib/hybrid-search.js +11 -11
- package/dist/lib/identity.js +5 -3
- package/dist/lib/keychain.js +1 -1
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +13 -16
- package/dist/lib/post-tool-memory.js +16 -18
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +4 -4
- package/dist/lib/schedules.js +8 -8
- package/dist/lib/session-registry.js +5 -5
- package/dist/lib/skill-learning.js +9 -9
- package/dist/lib/store.js +7 -7
- package/dist/lib/task-router.js +4 -4
- package/dist/lib/tasks.js +14 -17
- package/dist/lib/tmux-routing.js +14 -41
- package/dist/lib/token-spend.js +4 -4
- package/dist/lib/ws-client.js +1 -1
- package/dist/{license-gate-CARN6AB6.js → license-gate-M7EDJLAA.js} +3 -3
- package/dist/{license-recheck-7Z3LS6YS.js → license-recheck-DLTOHAH2.js} +1 -1
- package/dist/{license-sync-PUQV3HSZ.js → license-sync-YTDCUN3S.js} +2 -2
- package/dist/mcp/register-tools.js +94 -94
- package/dist/mcp/server.js +97 -97
- package/dist/mcp/tools/complete-reminder.js +5 -5
- package/dist/mcp/tools/create-reminder.js +5 -5
- package/dist/mcp/tools/create-task.js +16 -19
- package/dist/mcp/tools/deactivate-behavior.js +10 -10
- package/dist/mcp/tools/list-reminders.js +5 -5
- package/dist/mcp/tools/list-tasks.js +16 -19
- package/dist/mcp/tools/send-message.js +15 -18
- package/dist/mcp/tools/update-task.js +15 -18
- package/dist/{mcp-http-config-RJKTZPHZ.js → mcp-http-config-652YK3CI.js} +5 -5
- package/dist/{mcp-session-identity-HN444A3G.js → mcp-session-identity-6QGXD52Y.js} +12 -15
- package/dist/{memory-cards-AT3QCCWU.js → memory-cards-FOPSLULE.js} +8 -8
- package/dist/{memory-graph-extractor-B43UWGV5.js → memory-graph-extractor-7G3CIGN7.js} +7 -7
- package/dist/{memory-maintenance-WDLL3ZX3.js → memory-maintenance-5XIGUPYL.js} +1 -1
- package/dist/{memory-poisoning-defense-TS4WNW4S.js → memory-poisoning-defense-MI7Y5XBP.js} +3 -3
- package/dist/{memory-pressure-watchdog-6YH7S6W7.js → memory-pressure-watchdog-SPIDPGU2.js} +13 -16
- package/dist/{memory-reflection-N6NSYW6S.js → memory-reflection-DVAT4QKS.js} +8 -8
- package/dist/{memory-write-repository-D35RDO62.js → memory-write-repository-YC7HJTV5.js} +1 -1
- package/dist/{monitor-grants-FH4PNYN5.js → monitor-grants-3A77O6XK.js} +3 -3
- package/dist/{monitor-identity-LK5ZCCND.js → monitor-identity-BTFFMFEX.js} +2 -2
- package/dist/{notification-ledger-3WJYJGGS.js → notification-ledger-AV5242RM.js} +13 -16
- package/dist/{notifications-T5C2CVB3.js → notifications-75FVPJLY.js} +12 -15
- package/dist/{orchestration-events-73VEJT7Q.js → orchestration-events-ARGZU6KS.js} +4 -4
- package/dist/{orchestrator-3O657734.js → orchestrator-TCXZMLSB.js} +14 -17
- package/dist/{org-brief-session-EGB35QLM.js → org-brief-session-B455POUI.js} +15 -15
- package/dist/{org-consent-policy-MSVSRI53.js → org-consent-policy-7K5H6FOB.js} +5 -5
- package/dist/{org-join-4BK2XJJI.js → org-join-ETR5KO27.js} +9 -9
- package/dist/{org-key-admin-EUSSGXQ3.js → org-key-admin-IRC6H3TL.js} +11 -11
- package/dist/{org-key-epoch-NMEWDT5L.js → org-key-epoch-EG4YQ47A.js} +5 -5
- package/dist/{org-key-pin-HUSXGINB.js → org-key-pin-GLQEU3P3.js} +3 -3
- package/dist/{org-membership-B74IWEM5.js → org-membership-JC5YVU6N.js} +4 -4
- package/dist/{org-partner-config-5FJTJABN.js → org-partner-config-QFSVGHEA.js} +8 -8
- package/dist/{org-partner-runtime-GN4GFWI2.js → org-partner-runtime-7AD7WY3Y.js} +15 -15
- package/dist/{org-row-visibility-PBZ2TSCR.js → org-row-visibility-AXZKVOA6.js} +1 -1
- package/dist/{pipeline-router-2IELBSVJ.js → pipeline-router-2KY4X6PO.js} +4 -4
- package/dist/{plan-limits-4GXK5PFT.js → plan-limits-PG6HG2DT.js} +6 -6
- package/dist/{pre-tool-use-impl-CY73PRJP.js → pre-tool-use-impl-45B4NFIF.js} +34 -32
- package/dist/{project-name-337ERIAX.js → project-name-LHYHR4VN.js} +4 -4
- package/dist/{projection-worker-W476IG6V.js → projection-worker-POT2AOR5.js} +2 -2
- package/dist/{prospective-memory-5INB7NUL.js → prospective-memory-ECXSAEAW.js} +3 -3
- package/dist/{push-notifications-YVOP4KGN.js → push-notifications-W3UNHDC5.js} +13 -16
- package/dist/{reproject-worktree-memories-OGBR3CMO.js → reproject-worktree-memories-PIXMJBHG.js} +12 -15
- package/dist/{reranker-W7WCJH6Y.js → reranker-ZBPYIRBB.js} +1 -1
- package/dist/{retrieval-health-R6MGXLTP.js → retrieval-health-42MFLOEP.js} +1 -1
- package/dist/{review-polling-TKAWVY6G.js → review-polling-V4CSK4TZ.js} +13 -16
- package/dist/runtime/index.js +16 -19
- package/dist/{session-events-HUCZ7TOR.js → session-events-C3NUY6MR.js} +13 -16
- package/dist/{session-kill-telemetry-RWRWOW4C.js → session-kill-telemetry-ZOSAIYU2.js} +13 -16
- package/dist/{session-scope-5CDRHV75.js → session-scope-BZALGKYZ.js} +12 -15
- package/dist/{setup-wizard-RBTJAZOP.js → setup-wizard-DNA2UT4J.js} +2 -2
- package/dist/{shard-manager-LRPAAQA4.js → shard-manager-NG4SXV7L.js} +2 -2
- package/dist/{skill-refinement-MDXKDCY6.js → skill-refinement-Y3M7XBRE.js} +4 -4
- package/dist/{skill-retrieval-OWY6MTCX.js → skill-retrieval-XDY352AS.js} +11 -11
- package/dist/{skill-usage-GNV737U5.js → skill-usage-QOLIJQJC.js} +4 -4
- package/dist/{stack-generate-manifest-S4SBLKBY.js → stack-generate-manifest-VFHCOLAD.js} +4 -4
- package/dist/{stack-promote-U4EZNLOV.js → stack-promote-24BY6AXF.js} +4 -4
- package/dist/{stack-release-4VBGOYGK.js → stack-release-AXH7ZIOR.js} +5 -5
- package/dist/{stack-update-C5YKHE7A.js → stack-update-7ET7S3ED.js} +3 -3
- package/dist/{steward-gate-QFPXQBUZ.js → steward-gate-2MUESY3V.js} +4 -4
- package/dist/{subagent-brief-injection-GDXO5WNS.js → subagent-brief-injection-6PM3WMMR.js} +25 -27
- package/dist/{support-bug-actions-4XEKXIIO.js → support-bug-actions-WWKDXT74.js} +3 -3
- package/dist/{support-inbox-Y7AFCOGM.js → support-inbox-AN44HIOG.js} +12 -12
- package/dist/{task-enforcement-CN3Q4PEH.js → task-enforcement-QO7RXYK2.js} +13 -16
- package/dist/{task-request-inbox-AY3C6DND.js → task-request-inbox-RXAT2QJF.js} +5 -5
- package/dist/{task-scope-AMR3Z3DJ.js → task-scope-4EKZBTTM.js} +12 -15
- package/dist/{tasks-crud-2GHKIZOM.js → tasks-crud-MB7WXGPW.js} +14 -15
- package/dist/{tasks-notify-Z53446KM.js → tasks-notify-BCWO7AP6.js} +13 -16
- package/dist/{tasks-review-APRNSHMQ.js → tasks-review-HXHYA76X.js} +12 -15
- package/dist/{telemetry-upload-5XR42SQN.js → telemetry-upload-Q7DLE5I3.js} +8 -8
- package/dist/{token-budget-TTNJXI7W.js → token-budget-EL6BEBDP.js} +4 -4
- package/dist/{tool-telemetry-36ST422N.js → tool-telemetry-SNWF4WDH.js} +1 -1
- package/dist/tui/App.js +22 -25
- package/dist/{tui-data-AP5TPUOQ.js → tui-data-ZMSBEPJT.js} +16 -19
- package/dist/{update-support-SFTI2PUD.js → update-support-QY7WALUZ.js} +11 -11
- package/dist/{whatsapp-5CXE3JHG.js → whatsapp-NCZ43BB3.js} +2 -2
- package/dist/{wiki-acl-N754BC2W.js → wiki-acl-3L7BRJUV.js} +1 -1
- package/dist/{work-claims-OAICQBWO.js → work-claims-XQXT2VWJ.js} +4 -4
- package/dist/{work-state-heartbeat-MTTUGMPU.js → work-state-heartbeat-GAIQ7M73.js} +1 -1
- package/dist/{workflow-engine-RID3QL2U.js → workflow-engine-FCOOI5M6.js} +2 -2
- package/dist/{worktree-XWVNDBRD.js → worktree-GS4ODQ4C.js} +5 -5
- package/dist/{worktree-sweep-6VEHGH7U.js → worktree-sweep-6LMC7H5Y.js} +6 -6
- package/package.json +1 -1
- package/release-notes.json +27 -9
- package/stack.release.json +3 -3
- package/dist/chunk-ESO5JDOT.js +0 -70
- package/dist/content-extractor-OVD7PTSN.js +0 -9
- /package/dist/{chunk-EZQ4W3WW.js → chunk-7ZP2PAW3.js} +0 -0
- /package/dist/{chunk-YBB43SXC.js → chunk-AC36VWNB.js} +0 -0
- /package/dist/{chunk-YG4DZZ6J.js → chunk-CS4SHHLY.js} +0 -0
- /package/dist/{chunk-33PG3KNY.js → chunk-FDQXQBBC.js} +0 -0
- /package/dist/{chunk-OLMLA377.js → chunk-IKJUZ3VO.js} +0 -0
- /package/dist/{chunk-FUZHMV7K.js → chunk-JXGOO53U.js} +0 -0
- /package/dist/{chunk-WIDOLS7T.js → chunk-LAWI42NC.js} +0 -0
- /package/dist/{chunk-PKM456D2.js → chunk-LK6OG47X.js} +0 -0
- /package/dist/{chunk-FLO24BNN.js → chunk-R6H2IRCF.js} +0 -0
- /package/dist/{chunk-64UAHPXA.js → chunk-UQKGV6SX.js} +0 -0
- /package/dist/{chunk-CLV7ALXV.js → chunk-XDWIJBTY.js} +0 -0
- /package/dist/{chunk-LDHJX4TZ.js → chunk-XJDSTA2C.js} +0 -0
- /package/dist/{chunk-OEEHLATI.js → chunk-ZQS4S4AX.js} +0 -0
- /package/dist/{core-memory-WR7I7DIP.js → core-memory-3TZV3ZDW.js} +0 -0
- /package/dist/{memory-isolation-4RQJ5RCK.js → memory-isolation-TE4AOMQX.js} +0 -0
- /package/dist/{oauth-server-VBDMZIEV.js → oauth-server-CWQ6EBGQ.js} +0 -0
- /package/dist/{project-boot-G7T5WHO6.js → project-boot-MX2FNKTJ.js} +0 -0
package/dist/lib/exe-daemon.js
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "../chunk-SVFNWBLF.js";
|
|
19
19
|
import {
|
|
20
20
|
pushNotifyAsync
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-FZT7CBXB.js";
|
|
22
22
|
import {
|
|
23
23
|
disposeDbWriteWorker,
|
|
24
24
|
isDbWriteWorkerReady,
|
|
@@ -64,15 +64,13 @@ import {
|
|
|
64
64
|
} from "../chunk-KWOAM7TA.js";
|
|
65
65
|
import {
|
|
66
66
|
governMemoryRecord
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-LK6OG47X.js";
|
|
68
68
|
import "../chunk-5MOYSU5A.js";
|
|
69
69
|
import "../chunk-BYP3DOUU.js";
|
|
70
70
|
import "../chunk-76CJBM36.js";
|
|
71
71
|
import {
|
|
72
72
|
BUSY_PATTERN
|
|
73
|
-
} from "../chunk-
|
|
74
|
-
import "../chunk-ESO5JDOT.js";
|
|
75
|
-
import "../chunk-VYKXRSHU.js";
|
|
73
|
+
} from "../chunk-WSYIQKZ6.js";
|
|
76
74
|
import {
|
|
77
75
|
currentPauseStartMs,
|
|
78
76
|
isTimerPausedNow,
|
|
@@ -81,7 +79,7 @@ import {
|
|
|
81
79
|
sweepPauseTotalMs,
|
|
82
80
|
timerPauseIntervalsSince
|
|
83
81
|
} from "../chunk-ZKGWHT56.js";
|
|
84
|
-
import "../chunk-
|
|
82
|
+
import "../chunk-5F3E57TQ.js";
|
|
85
83
|
import "../chunk-WT4RI36X.js";
|
|
86
84
|
import "../chunk-E23LNUWJ.js";
|
|
87
85
|
import "../chunk-TDF2XKLK.js";
|
|
@@ -89,16 +87,16 @@ import "../chunk-EIKATSE4.js";
|
|
|
89
87
|
import "../chunk-MJCSEIFI.js";
|
|
90
88
|
import "../chunk-QDMZ5DX2.js";
|
|
91
89
|
import "../chunk-HME6ITKV.js";
|
|
92
|
-
import "../chunk-
|
|
90
|
+
import "../chunk-6T5RC3L4.js";
|
|
93
91
|
import "../chunk-VI4ATC6I.js";
|
|
94
92
|
import "../chunk-A27Q27CT.js";
|
|
95
93
|
import "../chunk-6L4VIYLZ.js";
|
|
96
|
-
import "../chunk-
|
|
94
|
+
import "../chunk-WLV27PAO.js";
|
|
97
95
|
import "../chunk-T5SM4RXY.js";
|
|
98
|
-
import "../chunk-
|
|
96
|
+
import "../chunk-ASA2UJDH.js";
|
|
99
97
|
import "../chunk-IVXELUEQ.js";
|
|
100
98
|
import "../chunk-AM7S2TY6.js";
|
|
101
|
-
import "../chunk-
|
|
99
|
+
import "../chunk-2AXJRXA6.js";
|
|
102
100
|
import {
|
|
103
101
|
attributeSignalSource,
|
|
104
102
|
consumeRestartIntentDetail,
|
|
@@ -146,13 +144,12 @@ import {
|
|
|
146
144
|
killAttributionLogPath,
|
|
147
145
|
recordKillIntent
|
|
148
146
|
} from "../chunk-DRTJCG6B.js";
|
|
149
|
-
import "../chunk-
|
|
150
|
-
import "../chunk-HYZV25LY.js";
|
|
147
|
+
import "../chunk-J6RTX7XT.js";
|
|
151
148
|
import "../chunk-CVYC6DUW.js";
|
|
152
149
|
import "../chunk-GJV3WDWM.js";
|
|
153
150
|
import "../chunk-YRUZK2QA.js";
|
|
154
151
|
import "../chunk-MP2AFCGL.js";
|
|
155
|
-
import "../chunk-
|
|
152
|
+
import "../chunk-LBEBSXZA.js";
|
|
156
153
|
import {
|
|
157
154
|
logBoot,
|
|
158
155
|
logCrash,
|
|
@@ -161,8 +158,8 @@ import {
|
|
|
161
158
|
logShutdown
|
|
162
159
|
} from "../chunk-BBMTVAE3.js";
|
|
163
160
|
import "../chunk-TKDITWDN.js";
|
|
164
|
-
import "../chunk-
|
|
165
|
-
import "../chunk-
|
|
161
|
+
import "../chunk-E2346GKI.js";
|
|
162
|
+
import "../chunk-IXRYS5X3.js";
|
|
166
163
|
import "../chunk-7FE43JRU.js";
|
|
167
164
|
import "../chunk-5YEUPUV4.js";
|
|
168
165
|
import {
|
|
@@ -189,9 +186,9 @@ import {
|
|
|
189
186
|
EMBEDDING_DIM
|
|
190
187
|
} from "../chunk-C7GHNJPW.js";
|
|
191
188
|
import "../chunk-UWGQNJIE.js";
|
|
192
|
-
import "../chunk-
|
|
189
|
+
import "../chunk-KNEEOZWN.js";
|
|
193
190
|
import "../chunk-3R7UDPVR.js";
|
|
194
|
-
import "../chunk-
|
|
191
|
+
import "../chunk-XJDSTA2C.js";
|
|
195
192
|
import "../chunk-A7JYF4RG.js";
|
|
196
193
|
import "../chunk-ARX6TAGN.js";
|
|
197
194
|
import {
|
|
@@ -2686,7 +2683,7 @@ async function loadModel() {
|
|
|
2686
2683
|
void (async () => {
|
|
2687
2684
|
try {
|
|
2688
2685
|
if (_storeInitialized) {
|
|
2689
|
-
const { writeNotification } = await import("../notifications-
|
|
2686
|
+
const { writeNotification } = await import("../notifications-75FVPJLY.js");
|
|
2690
2687
|
await writeNotification({
|
|
2691
2688
|
agentId: "exe",
|
|
2692
2689
|
agentRole: "system",
|
|
@@ -2823,7 +2820,7 @@ function disableEmbeddingsForInferenceTimeouts() {
|
|
|
2823
2820
|
void (async () => {
|
|
2824
2821
|
try {
|
|
2825
2822
|
if (_storeInitialized) {
|
|
2826
|
-
const { writeNotification } = await import("../notifications-
|
|
2823
|
+
const { writeNotification } = await import("../notifications-75FVPJLY.js");
|
|
2827
2824
|
await writeNotification({
|
|
2828
2825
|
agentId: "exe",
|
|
2829
2826
|
agentRole: "system",
|
|
@@ -2990,7 +2987,7 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
|
|
|
2990
2987
|
_shuttingDown = true;
|
|
2991
2988
|
_drainingWrites = true;
|
|
2992
2989
|
try {
|
|
2993
|
-
const { stopOrgPartnerRuntime } = await import("../org-partner-runtime-
|
|
2990
|
+
const { stopOrgPartnerRuntime } = await import("../org-partner-runtime-7AD7WY3Y.js");
|
|
2994
2991
|
stopOrgPartnerRuntime();
|
|
2995
2992
|
} catch {
|
|
2996
2993
|
}
|
|
@@ -3078,7 +3075,7 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
|
|
|
3078
3075
|
dbBytes = dbPath ? statSync4(dbPath).size : 0;
|
|
3079
3076
|
} catch {
|
|
3080
3077
|
}
|
|
3081
|
-
const { getAvailableMemoryBytesSync } = await import("../memory-pressure-watchdog-
|
|
3078
|
+
const { getAvailableMemoryBytesSync } = await import("../memory-pressure-watchdog-SPIDPGU2.js");
|
|
3082
3079
|
const freeBytes = getAvailableMemoryBytesSync();
|
|
3083
3080
|
if (shouldSkipBackupUnderMemoryPressure(freeBytes, dbBytes)) {
|
|
3084
3081
|
memoryGateSkip = true;
|
|
@@ -3131,12 +3128,12 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
|
|
|
3131
3128
|
`);
|
|
3132
3129
|
}
|
|
3133
3130
|
try {
|
|
3134
|
-
const { stopProjectionWorker } = await import("../projection-worker-
|
|
3131
|
+
const { stopProjectionWorker } = await import("../projection-worker-POT2AOR5.js");
|
|
3135
3132
|
stopProjectionWorker();
|
|
3136
3133
|
} catch {
|
|
3137
3134
|
}
|
|
3138
3135
|
try {
|
|
3139
|
-
const { disposeShards } = await import("../shard-manager-
|
|
3136
|
+
const { disposeShards } = await import("../shard-manager-NG4SXV7L.js");
|
|
3140
3137
|
disposeShards();
|
|
3141
3138
|
} catch {
|
|
3142
3139
|
}
|
|
@@ -3199,7 +3196,7 @@ async function handleHealthCheck(socket, requestId) {
|
|
|
3199
3196
|
let pipelineStatus = "unknown";
|
|
3200
3197
|
if (dbConnected) {
|
|
3201
3198
|
try {
|
|
3202
|
-
await import("../pipeline-router-
|
|
3199
|
+
await import("../pipeline-router-2KY4X6PO.js");
|
|
3203
3200
|
pipelineStatus = "ok";
|
|
3204
3201
|
} catch {
|
|
3205
3202
|
pipelineStatus = "unavailable";
|
|
@@ -3591,7 +3588,7 @@ async function _writeMemoryRecordInner(entry, syncOnly = false) {
|
|
|
3591
3588
|
}
|
|
3592
3589
|
}
|
|
3593
3590
|
const { getClient } = await import("./database.js");
|
|
3594
|
-
const { buildMemoryInsert, readMemoryWriteOutcome } = await import("../memory-write-repository-
|
|
3591
|
+
const { buildMemoryInsert, readMemoryWriteOutcome } = await import("../memory-write-repository-YC7HJTV5.js");
|
|
3595
3592
|
const client = getClient();
|
|
3596
3593
|
const row = {
|
|
3597
3594
|
...record,
|
|
@@ -3612,7 +3609,7 @@ async function _writeMemoryRecordInner(entry, syncOnly = false) {
|
|
|
3612
3609
|
if (Number(inserted.rowsAffected) === 0) return outcome.id;
|
|
3613
3610
|
const version = outcome.version;
|
|
3614
3611
|
try {
|
|
3615
|
-
const { insertOntologyForMemory } = await import("../agentic-ontology-
|
|
3612
|
+
const { insertOntologyForMemory } = await import("../agentic-ontology-TJOAUAPD.js");
|
|
3616
3613
|
await insertOntologyForMemory({
|
|
3617
3614
|
id,
|
|
3618
3615
|
agent_id: record.agent_id,
|
|
@@ -4489,7 +4486,7 @@ async function startMcpHttpServer() {
|
|
|
4489
4486
|
setBootPhase("db_ready");
|
|
4490
4487
|
_storeInitialized = true;
|
|
4491
4488
|
markDbInitCompleted();
|
|
4492
|
-
const { initLicenseGate, getCachedLicenseGate } = await import("../license-gate-
|
|
4489
|
+
const { initLicenseGate, getCachedLicenseGate } = await import("../license-gate-M7EDJLAA.js");
|
|
4493
4490
|
const gateResult = await initLicenseGate();
|
|
4494
4491
|
if (!gateResult.hasKey) {
|
|
4495
4492
|
process.stderr.write(
|
|
@@ -4501,7 +4498,7 @@ async function startMcpHttpServer() {
|
|
|
4501
4498
|
`
|
|
4502
4499
|
);
|
|
4503
4500
|
}
|
|
4504
|
-
const { startLicenseRecheckTimer, LICENSE_RECHECK_INTERVAL_MS } = await import("../license-recheck-
|
|
4501
|
+
const { startLicenseRecheckTimer, LICENSE_RECHECK_INTERVAL_MS } = await import("../license-recheck-DLTOHAH2.js");
|
|
4505
4502
|
startLicenseRecheckTimer();
|
|
4506
4503
|
process.stderr.write(
|
|
4507
4504
|
`[exed] License re-check timer started (every ${LICENSE_RECHECK_INTERVAL_MS / 6e4}m, throttled by cache freshness)
|
|
@@ -4510,7 +4507,7 @@ async function startMcpHttpServer() {
|
|
|
4510
4507
|
let _cachedWrapTelemetry = null;
|
|
4511
4508
|
async function getWrapTelemetry() {
|
|
4512
4509
|
if (!_cachedWrapTelemetry) {
|
|
4513
|
-
const { wrapServerWithTelemetry } = await import("../tool-telemetry-
|
|
4510
|
+
const { wrapServerWithTelemetry } = await import("../tool-telemetry-SNWF4WDH.js");
|
|
4514
4511
|
_cachedWrapTelemetry = wrapServerWithTelemetry;
|
|
4515
4512
|
}
|
|
4516
4513
|
return _cachedWrapTelemetry;
|
|
@@ -4582,7 +4579,7 @@ async function startMcpHttpServer() {
|
|
|
4582
4579
|
const expectedBuf = Buffer.from(_daemonToken);
|
|
4583
4580
|
if (tokenBuf.length === expectedBuf.length && timingSafeEqual(tokenBuf, expectedBuf)) return true;
|
|
4584
4581
|
try {
|
|
4585
|
-
const { verifyAccessToken } = await import("../oauth-server-
|
|
4582
|
+
const { verifyAccessToken } = await import("../oauth-server-CWQ6EBGQ.js");
|
|
4586
4583
|
const result = verifyAccessToken(token);
|
|
4587
4584
|
return result.valid;
|
|
4588
4585
|
} catch {
|
|
@@ -4845,7 +4842,7 @@ async function startMcpHttpServer() {
|
|
|
4845
4842
|
return;
|
|
4846
4843
|
}
|
|
4847
4844
|
try {
|
|
4848
|
-
const { handleOAuthRoute } = await import("../oauth-server-
|
|
4845
|
+
const { handleOAuthRoute } = await import("../oauth-server-CWQ6EBGQ.js");
|
|
4849
4846
|
const handled = await handleOAuthRoute(req, res, url, MCP_HTTP_PORT, _daemonToken);
|
|
4850
4847
|
if (handled) return;
|
|
4851
4848
|
} catch (err) {
|
|
@@ -4973,7 +4970,7 @@ async function startMcpHttpServer() {
|
|
|
4973
4970
|
contextPct: body.context_pct
|
|
4974
4971
|
});
|
|
4975
4972
|
if (body.context_pct !== void 0 && body.context_pct > 70) {
|
|
4976
|
-
void import("../orchestration-events-
|
|
4973
|
+
void import("../orchestration-events-ARGZU6KS.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
4977
4974
|
recordOE({
|
|
4978
4975
|
eventType: "context.pressure",
|
|
4979
4976
|
source: "exe-daemon.heartbeat",
|
|
@@ -5069,7 +5066,7 @@ async function startMcpHttpServer() {
|
|
|
5069
5066
|
let sessionHint = req.headers["x-exe-session-name"] || req.headers["x-exe-session"] || "";
|
|
5070
5067
|
if (sessionHint) {
|
|
5071
5068
|
try {
|
|
5072
|
-
const { sanitizeSessionHintHeader, rejectForgedSessionHint } = await import("../mcp-session-identity-
|
|
5069
|
+
const { sanitizeSessionHintHeader, rejectForgedSessionHint } = await import("../mcp-session-identity-6QGXD52Y.js");
|
|
5073
5070
|
const rawHint = sessionHint;
|
|
5074
5071
|
sessionHint = sanitizeSessionHintHeader(sessionHint);
|
|
5075
5072
|
if (!sessionHint) {
|
|
@@ -5108,7 +5105,7 @@ async function startMcpHttpServer() {
|
|
|
5108
5105
|
try {
|
|
5109
5106
|
const liveSessions = await getTmuxSessionsAsync();
|
|
5110
5107
|
const paneCommands = await getPaneCommandsAsync();
|
|
5111
|
-
const { resolveMcpSessionHint } = await import("../mcp-session-identity-
|
|
5108
|
+
const { resolveMcpSessionHint } = await import("../mcp-session-identity-6QGXD52Y.js");
|
|
5112
5109
|
let registrySessions = [];
|
|
5113
5110
|
try {
|
|
5114
5111
|
const { listSessions: listRegistrySessions } = await import("./session-registry.js");
|
|
@@ -5245,7 +5242,7 @@ async function startMcpHttpServer() {
|
|
|
5245
5242
|
bindLive = await getTmuxSessionsAsync();
|
|
5246
5243
|
} catch {
|
|
5247
5244
|
}
|
|
5248
|
-
const { isLauncherCorroboratedIdentity } = await import("../mcp-session-identity-
|
|
5245
|
+
const { isLauncherCorroboratedIdentity } = await import("../mcp-session-identity-6QGXD52Y.js");
|
|
5249
5246
|
const corroborated = isLauncherCorroboratedIdentity({
|
|
5250
5247
|
agentId,
|
|
5251
5248
|
registrySessions: bindRegistry,
|
|
@@ -5487,7 +5484,7 @@ async function startMcpHttpServer() {
|
|
|
5487
5484
|
}
|
|
5488
5485
|
}
|
|
5489
5486
|
try {
|
|
5490
|
-
const { reconcileHintWithRegistryIdentity } = await import("../mcp-session-identity-
|
|
5487
|
+
const { reconcileHintWithRegistryIdentity } = await import("../mcp-session-identity-6QGXD52Y.js");
|
|
5491
5488
|
const { listSessions: listRegistrySessions } = await import("./session-registry.js");
|
|
5492
5489
|
const recon = reconcileHintWithRegistryIdentity({
|
|
5493
5490
|
agentId,
|
|
@@ -5747,9 +5744,9 @@ async function ensureStoreForPolling() {
|
|
|
5747
5744
|
await initDatabase({ dbPath: config.dbPath, encryptionKey: masterKey.toString("hex") });
|
|
5748
5745
|
await ensureSchema();
|
|
5749
5746
|
try {
|
|
5750
|
-
const { isLedgerEnabled } = await import("../notification-ledger-
|
|
5747
|
+
const { isLedgerEnabled } = await import("../notification-ledger-AV5242RM.js");
|
|
5751
5748
|
if (isLedgerEnabled()) {
|
|
5752
|
-
const { bumpBootGeneration } = await import("../boot-generation-
|
|
5749
|
+
const { bumpBootGeneration } = await import("../boot-generation-4W4CDJSX.js");
|
|
5753
5750
|
const { setDaemonReadyGeneration } = await import("../daemon-ready-signal-PNDMVKPJ.js");
|
|
5754
5751
|
const generation = await bumpBootGeneration();
|
|
5755
5752
|
setDaemonReadyGeneration(generation);
|
|
@@ -5790,13 +5787,13 @@ async function ensureStoreForPolling() {
|
|
|
5790
5787
|
}
|
|
5791
5788
|
}
|
|
5792
5789
|
async function startReviewPolling() {
|
|
5793
|
-
const polling = await import("../review-polling-
|
|
5790
|
+
const polling = await import("../review-polling-V4CSK4TZ.js");
|
|
5794
5791
|
const state = {
|
|
5795
5792
|
lastIntercomSent: /* @__PURE__ */ new Map(),
|
|
5796
5793
|
lastNudgeSent: /* @__PURE__ */ new Map(),
|
|
5797
5794
|
intervalMs: REVIEW_POLL_INTERVAL_MS
|
|
5798
5795
|
};
|
|
5799
|
-
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-
|
|
5796
|
+
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-O3QPSJEP.js");
|
|
5800
5797
|
const nudgeState = loadNudgeState();
|
|
5801
5798
|
const tick = async () => traceDaemonTimer("review_polling", async () => {
|
|
5802
5799
|
fired("review_polling");
|
|
@@ -5804,7 +5801,7 @@ async function startReviewPolling() {
|
|
|
5804
5801
|
try {
|
|
5805
5802
|
const { getClient } = await import("./database.js");
|
|
5806
5803
|
const deps = polling.createRealDeps(getClient);
|
|
5807
|
-
const { strictSessionScopeFilter } = await import("../task-scope-
|
|
5804
|
+
const { strictSessionScopeFilter } = await import("../task-scope-4EKZBTTM.js");
|
|
5808
5805
|
const { getCoordinatorName, DEFAULT_COORDINATOR_TEMPLATE_NAME } = await import("./employees.js");
|
|
5809
5806
|
deps.findOrphanedDoneTasks = async (sessionScope) => {
|
|
5810
5807
|
const coordinatorName = getCoordinatorName();
|
|
@@ -5824,7 +5821,7 @@ async function startReviewPolling() {
|
|
|
5824
5821
|
deps.findTieredReviewCandidates = async (sessionScope) => {
|
|
5825
5822
|
let project = null;
|
|
5826
5823
|
try {
|
|
5827
|
-
const { getProjectName } = await import("../project-name-
|
|
5824
|
+
const { getProjectName } = await import("../project-name-LHYHR4VN.js");
|
|
5828
5825
|
project = getProjectName() || null;
|
|
5829
5826
|
} catch {
|
|
5830
5827
|
project = null;
|
|
@@ -5883,7 +5880,7 @@ function startSessionTTL() {
|
|
|
5883
5880
|
if (!await ensureStoreForPolling()) return;
|
|
5884
5881
|
if (inPostRestartDestructiveGrace("session_ttl")) return;
|
|
5885
5882
|
const { getClient } = await import("./database.js");
|
|
5886
|
-
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-
|
|
5883
|
+
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-O3QPSJEP.js");
|
|
5887
5884
|
const deps = createSessionTTLRealDeps(getClient);
|
|
5888
5885
|
const killed = await checkSessionTTL(deps, _wedgeObservations);
|
|
5889
5886
|
if (killed.length > 0) acted("session_ttl");
|
|
@@ -5943,7 +5940,7 @@ function startIdleKill() {
|
|
|
5943
5940
|
const cfg = await getCachedConfig();
|
|
5944
5941
|
if (!cfg) return;
|
|
5945
5942
|
const { getClient } = await import("./database.js");
|
|
5946
|
-
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-
|
|
5943
|
+
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-O3QPSJEP.js");
|
|
5947
5944
|
const { sessions: liveSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
|
|
5948
5945
|
const realDeps = createIdleKillRealDeps(
|
|
5949
5946
|
getClient,
|
|
@@ -6379,7 +6376,7 @@ function startSkillRefinement() {
|
|
|
6379
6376
|
if (!shouldRunHeavyJob("skill_refinement")) return;
|
|
6380
6377
|
try {
|
|
6381
6378
|
if (!await ensureStoreForPolling()) return;
|
|
6382
|
-
const { runSkillRefinement } = await import("../skill-refinement-
|
|
6379
|
+
const { runSkillRefinement } = await import("../skill-refinement-Y3M7XBRE.js");
|
|
6383
6380
|
const result = await runSkillRefinement();
|
|
6384
6381
|
if (result.reviewed > 0) {
|
|
6385
6382
|
acted("skill_refinement");
|
|
@@ -6444,7 +6441,7 @@ function startStalledDispatchSweep() {
|
|
|
6444
6441
|
});
|
|
6445
6442
|
const { notifications, nextState } = decideStalledDispatchEscalations(intents, previousState);
|
|
6446
6443
|
if (notifications.length > 0 && _storeInitialized) {
|
|
6447
|
-
const { writeNotification } = await import("../notifications-
|
|
6444
|
+
const { writeNotification } = await import("../notifications-75FVPJLY.js");
|
|
6448
6445
|
for (const note of notifications) {
|
|
6449
6446
|
try {
|
|
6450
6447
|
await writeNotification({
|
|
@@ -6494,7 +6491,7 @@ function startStaleBranchSweep() {
|
|
|
6494
6491
|
fired("stale_branch_sweep");
|
|
6495
6492
|
if (sweepStarved("stale_branch_sweep")) return;
|
|
6496
6493
|
try {
|
|
6497
|
-
const { discoverRepoPathsAsync } = await import("../worktree-sweep-
|
|
6494
|
+
const { discoverRepoPathsAsync } = await import("../worktree-sweep-6LMC7H5Y.js");
|
|
6498
6495
|
const { scanUnmergedBranchesCached } = await import("../branch-hygiene-DDXXI6ZA.js");
|
|
6499
6496
|
const { runBudgetedSweep } = await import("../sweep-budget-YGLCNXZZ.js");
|
|
6500
6497
|
const today = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
@@ -6527,7 +6524,7 @@ function startStaleBranchSweep() {
|
|
|
6527
6524
|
if (!_storeInitialized) return;
|
|
6528
6525
|
const stale = scan.branches.filter((b) => b.ageHours >= STALE_BRANCH_HOURS).slice(0, 5).map((b) => `${b.name} (${b.aheadUnknown ? "+? commits" : `+${b.ahead} commits`}, ${(b.ageHours / 24).toFixed(1)}d)`).join("; ");
|
|
6529
6526
|
try {
|
|
6530
|
-
const { writeNotification } = await import("../notifications-
|
|
6527
|
+
const { writeNotification } = await import("../notifications-75FVPJLY.js");
|
|
6531
6528
|
await writeNotification({
|
|
6532
6529
|
agentId: "exe",
|
|
6533
6530
|
agentRole: "system",
|
|
@@ -6568,7 +6565,7 @@ function startBugLandedReconcile() {
|
|
|
6568
6565
|
fired("bug_landed_reconcile");
|
|
6569
6566
|
if (sweepStarved("bug_landed_reconcile")) return;
|
|
6570
6567
|
try {
|
|
6571
|
-
const { reconcileLandedBugs } = await import("../bug-landed-reconciler-
|
|
6568
|
+
const { reconcileLandedBugs } = await import("../bug-landed-reconciler-GGQU6G2L.js");
|
|
6572
6569
|
const result = await reconcileLandedBugs();
|
|
6573
6570
|
const { reposScanned, reposErrored, prsScanned, matched, reconciled, skipped, errored } = result.summary;
|
|
6574
6571
|
process.stderr.write(
|
|
@@ -6590,12 +6587,12 @@ function startBugLandedReconcile() {
|
|
|
6590
6587
|
}
|
|
6591
6588
|
async function maybeScheduleBugLandedReconcile() {
|
|
6592
6589
|
try {
|
|
6593
|
-
const { hasSupportAdminAccess } = await import("../support-bug-actions-
|
|
6590
|
+
const { hasSupportAdminAccess } = await import("../support-bug-actions-WWKDXT74.js");
|
|
6594
6591
|
if (!await hasSupportAdminAccess()) {
|
|
6595
6592
|
process.stderr.write("[exed] Bug-landed reconcile: no AskExe support admin token configured \u2014 skipping (customer install)\n");
|
|
6596
6593
|
return;
|
|
6597
6594
|
}
|
|
6598
|
-
const { isGhAvailableAndAuthenticated } = await import("../bug-landed-reconciler-
|
|
6595
|
+
const { isGhAvailableAndAuthenticated } = await import("../bug-landed-reconciler-GGQU6G2L.js");
|
|
6599
6596
|
if (!await isGhAvailableAndAuthenticated()) {
|
|
6600
6597
|
process.stderr.write("[exed] Bug-landed reconcile: gh CLI not available/authenticated \u2014 skipping\n");
|
|
6601
6598
|
return;
|
|
@@ -6634,7 +6631,7 @@ function startWorkStateHeartbeat() {
|
|
|
6634
6631
|
const { getClient } = await import("./database.js");
|
|
6635
6632
|
const { listSessions } = await import("./session-registry.js");
|
|
6636
6633
|
const { isCoordinatorName } = await import("./employees.js");
|
|
6637
|
-
const { runWorkStateTick } = await import("../work-state-heartbeat-
|
|
6634
|
+
const { runWorkStateTick } = await import("../work-state-heartbeat-GAIQ7M73.js");
|
|
6638
6635
|
let liveTmux = null;
|
|
6639
6636
|
const loadLiveTmux = async () => {
|
|
6640
6637
|
if (!liveTmux) liveTmux = await listTmuxSessionNamesAsync();
|
|
@@ -6700,7 +6697,7 @@ function startGraphExtraction() {
|
|
|
6700
6697
|
if (!await ensureStoreForPolling()) return;
|
|
6701
6698
|
const { getClient } = await import("./database.js");
|
|
6702
6699
|
const client = getClient();
|
|
6703
|
-
const { extractBatch } = await import("../graph-rag-
|
|
6700
|
+
const { extractBatch } = await import("../graph-rag-LH34CEGC.js");
|
|
6704
6701
|
const result = await extractBatch(client, 50, config.selfQueryModel);
|
|
6705
6702
|
if (result.processed > 0) {
|
|
6706
6703
|
acted("graph_extraction");
|
|
@@ -7021,7 +7018,7 @@ async function refreshAgentData() {
|
|
|
7021
7018
|
const decision = evaluateSpendCapAlert(_lastSpendCapLevel, capStatus);
|
|
7022
7019
|
_lastSpendCapLevel = decision.level;
|
|
7023
7020
|
if (decision.shouldAlert && decision.summary) {
|
|
7024
|
-
const { writeNotification } = await import("../notifications-
|
|
7021
|
+
const { writeNotification } = await import("../notifications-75FVPJLY.js");
|
|
7025
7022
|
await writeNotification({
|
|
7026
7023
|
agentId: "system",
|
|
7027
7024
|
agentRole: "system",
|
|
@@ -7143,7 +7140,7 @@ function startReflectionSweep() {
|
|
|
7143
7140
|
);
|
|
7144
7141
|
let runReflection;
|
|
7145
7142
|
try {
|
|
7146
|
-
({ runReflection } = await import("../memory-reflection-
|
|
7143
|
+
({ runReflection } = await import("../memory-reflection-DVAT4QKS.js"));
|
|
7147
7144
|
} catch (importErr) {
|
|
7148
7145
|
_reflectionImportFailed = true;
|
|
7149
7146
|
process.stderr.write(`[exed] Reflection module unavailable (stale chunk hash?) \u2014 disabled until daemon restart: ${importErr instanceof Error ? importErr.message : String(importErr)}
|
|
@@ -7184,7 +7181,7 @@ function startReflectionSweep() {
|
|
|
7184
7181
|
if (memories > 100 && cards < memories * 0.1) {
|
|
7185
7182
|
process.stderr.write(`[exed] Memory cards sparse (${cards} cards / ${memories} memories) \u2014 running backfill...
|
|
7186
7183
|
`);
|
|
7187
|
-
const { insertMemoryCardsForBatch } = await import("../memory-cards-
|
|
7184
|
+
const { insertMemoryCardsForBatch } = await import("../memory-cards-FOPSLULE.js");
|
|
7188
7185
|
const batchSize = 500;
|
|
7189
7186
|
let offset = 0;
|
|
7190
7187
|
let totalCards = 0;
|
|
@@ -7265,7 +7262,7 @@ function startDatabaseBackup() {
|
|
|
7265
7262
|
`
|
|
7266
7263
|
);
|
|
7267
7264
|
try {
|
|
7268
|
-
const { maybeVerifyDailyBackup } = await import("../backup-verify-
|
|
7265
|
+
const { maybeVerifyDailyBackup } = await import("../backup-verify-AOTKX5DA.js");
|
|
7269
7266
|
const verdict = await maybeVerifyDailyBackup(backupPath);
|
|
7270
7267
|
if (verdict && !verdict.ok) {
|
|
7271
7268
|
process.stderr.write(
|
|
@@ -7341,7 +7338,7 @@ function startSessionEventsRetention() {
|
|
|
7341
7338
|
fired("session_events_retention");
|
|
7342
7339
|
if (!await ensureStoreForPolling()) return;
|
|
7343
7340
|
try {
|
|
7344
|
-
const { DEFAULT_SESSION_EVENTS_RETENTION_DAYS, sessionEventsRetentionMode } = await import("../session-events-
|
|
7341
|
+
const { DEFAULT_SESSION_EVENTS_RETENTION_DAYS, sessionEventsRetentionMode } = await import("../session-events-C3NUY6MR.js");
|
|
7345
7342
|
const days = SESSION_EVENTS_RETENTION_DAYS ?? DEFAULT_SESSION_EVENTS_RETENTION_DAYS;
|
|
7346
7343
|
const decision = sessionEventsRetentionMode(isWriteWorkerEnabled(), isDbWriteWorkerReady());
|
|
7347
7344
|
if (decision.mode === "skip") {
|
|
@@ -7393,7 +7390,7 @@ function startConversationsRetention() {
|
|
|
7393
7390
|
if (!await ensureStoreForPolling()) return;
|
|
7394
7391
|
try {
|
|
7395
7392
|
const { DEFAULT_CONVERSATIONS_RETENTION_DAYS } = await import("../conversations-retention-XTBFJBUM.js");
|
|
7396
|
-
const { sessionEventsRetentionMode } = await import("../session-events-
|
|
7393
|
+
const { sessionEventsRetentionMode } = await import("../session-events-C3NUY6MR.js");
|
|
7397
7394
|
const days = CONVERSATIONS_RETENTION_DAYS ?? DEFAULT_CONVERSATIONS_RETENTION_DAYS;
|
|
7398
7395
|
const decision = sessionEventsRetentionMode(isWriteWorkerEnabled(), isDbWriteWorkerReady());
|
|
7399
7396
|
if (decision.mode === "skip") {
|
|
@@ -7442,7 +7439,7 @@ function startIntercomQueueDrain() {
|
|
|
7442
7439
|
const tick = async () => traceDaemonTimer("intercom_queue_drain", async () => {
|
|
7443
7440
|
fired("intercom_queue_drain");
|
|
7444
7441
|
try {
|
|
7445
|
-
const { drainQueueAsync, readQueue } = await import("../intercom-queue-
|
|
7442
|
+
const { drainQueueAsync, readQueue } = await import("../intercom-queue-II6RRK3J.js");
|
|
7446
7443
|
const {
|
|
7447
7444
|
sendIntercomAsync: centralSendIntercomAsync,
|
|
7448
7445
|
countScopedPendingReviews,
|
|
@@ -7574,7 +7571,7 @@ function startLedgerDrain() {
|
|
|
7574
7571
|
const tick = async () => traceDaemonTimer("ledger_drain", async () => {
|
|
7575
7572
|
fired("ledger_drain");
|
|
7576
7573
|
try {
|
|
7577
|
-
const { isLedgerEnabled, drainLedger } = await import("../notification-ledger-
|
|
7574
|
+
const { isLedgerEnabled, drainLedger } = await import("../notification-ledger-AV5242RM.js");
|
|
7578
7575
|
if (!isLedgerEnabled()) return;
|
|
7579
7576
|
const result = await drainLedger({
|
|
7580
7577
|
// Shadow "would-deliver": idle target = would-deliver, busy = retry.
|
|
@@ -7614,7 +7611,7 @@ function startOrphanReaper() {
|
|
|
7614
7611
|
fired("orphan_reaper");
|
|
7615
7612
|
if (sweepStarved("orphan_reaper")) return;
|
|
7616
7613
|
try {
|
|
7617
|
-
const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-
|
|
7614
|
+
const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-O3QPSJEP.js");
|
|
7618
7615
|
const deps = await createOrphanReaperRealDepsAsync();
|
|
7619
7616
|
const reaped = await reapOrphanedMcpProcesses(deps);
|
|
7620
7617
|
if (reaped.length > 0) acted("orphan_reaper");
|
|
@@ -7640,7 +7637,7 @@ function startZombieAgentReaper() {
|
|
|
7640
7637
|
fired("zombie_agent_reaper");
|
|
7641
7638
|
if (sweepStarved("zombie_agent_reaper")) return;
|
|
7642
7639
|
try {
|
|
7643
|
-
const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-
|
|
7640
|
+
const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-O3QPSJEP.js");
|
|
7644
7641
|
const deps = await createZombieAgentReaperRealDepsAsync();
|
|
7645
7642
|
const reaped = reapZombieAgentProcesses(deps);
|
|
7646
7643
|
if (reaped.length > 0) acted("zombie_agent_reaper");
|
|
@@ -7664,7 +7661,7 @@ async function startDaemonMemoryPressureWatchdog() {
|
|
|
7664
7661
|
try {
|
|
7665
7662
|
const cfg = await getCachedConfig();
|
|
7666
7663
|
if (!cfg) return;
|
|
7667
|
-
const { startMemoryPressureWatchdog: startWatchdog, MEMORY_PRESSURE_WATCHDOG_DEFAULTS } = await import("../memory-pressure-watchdog-
|
|
7664
|
+
const { startMemoryPressureWatchdog: startWatchdog, MEMORY_PRESSURE_WATCHDOG_DEFAULTS } = await import("../memory-pressure-watchdog-SPIDPGU2.js");
|
|
7668
7665
|
const watchdogCfg = {
|
|
7669
7666
|
...MEMORY_PRESSURE_WATCHDOG_DEFAULTS,
|
|
7670
7667
|
...cfg.memoryPressureWatchdog ?? {}
|
|
@@ -7696,7 +7693,7 @@ function startWorktreeReaper() {
|
|
|
7696
7693
|
fired("worktree_reaper");
|
|
7697
7694
|
if (sweepStarved("worktree_reaper")) return;
|
|
7698
7695
|
try {
|
|
7699
|
-
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-
|
|
7696
|
+
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-O3QPSJEP.js");
|
|
7700
7697
|
const deps = await createWorktreeReaperRealDeps();
|
|
7701
7698
|
const result = await reapOrphanedWorktrees(deps);
|
|
7702
7699
|
if (result.pruned.length > 0) {
|
|
@@ -7740,8 +7737,8 @@ function startWorktreeReaper() {
|
|
|
7740
7737
|
}
|
|
7741
7738
|
return;
|
|
7742
7739
|
}
|
|
7743
|
-
const { cleanupAgentWorktree } = await import("../worktree-sweep-
|
|
7744
|
-
const { getMainRepoRootAsync } = await import("../worktree-
|
|
7740
|
+
const { cleanupAgentWorktree } = await import("../worktree-sweep-6LMC7H5Y.js");
|
|
7741
|
+
const { getMainRepoRootAsync } = await import("../worktree-GS4ODQ4C.js");
|
|
7745
7742
|
const repoRoot = await getMainRepoRootAsync(signal.worktreePath);
|
|
7746
7743
|
if (repoRoot && signal.agentId) {
|
|
7747
7744
|
const notes = await cleanupAgentWorktree(repoRoot, signal.agentId);
|
|
@@ -7778,7 +7775,7 @@ function startAutoWake() {
|
|
|
7778
7775
|
if (!await ensureStoreForPolling()) return;
|
|
7779
7776
|
try {
|
|
7780
7777
|
const { getClient } = await import("./database.js");
|
|
7781
|
-
const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-
|
|
7778
|
+
const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-O3QPSJEP.js");
|
|
7782
7779
|
const deps = createAutoWakeRealDeps(getClient, process.cwd(), getTmuxSessionsAsync);
|
|
7783
7780
|
const woken = await pollOrphanedTasks(deps);
|
|
7784
7781
|
if (woken.length > 0) acted("auto_wake");
|
|
@@ -7853,7 +7850,7 @@ function startAutoWake() {
|
|
|
7853
7850
|
if (age > 60 * 60 * 1e3) {
|
|
7854
7851
|
try {
|
|
7855
7852
|
await unlink(signalPath);
|
|
7856
|
-
void import("../orchestration-events-
|
|
7853
|
+
void import("../orchestration-events-ARGZU6KS.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
7857
7854
|
recordOE({ eventType: "signal.stale", source: "exe-daemon.autoWake", severity: "warn", payload: { file, ageMinutes: Math.round(age / 6e4) } });
|
|
7858
7855
|
}).catch(() => {
|
|
7859
7856
|
});
|
|
@@ -8002,7 +7999,7 @@ function startStuckTaskRelease() {
|
|
|
8002
7999
|
createStaleClaimRealDeps,
|
|
8003
8000
|
escalateStuckBlockedTasks,
|
|
8004
8001
|
createStuckBlockedRealDeps
|
|
8005
|
-
} = await import("../daemon-orchestration-
|
|
8002
|
+
} = await import("../daemon-orchestration-O3QPSJEP.js");
|
|
8006
8003
|
const { runBudgetedSweep } = await import("../sweep-budget-YGLCNXZZ.js");
|
|
8007
8004
|
const steps = [
|
|
8008
8005
|
async () => {
|
|
@@ -8267,12 +8264,12 @@ function startTaskEnforcementScanner() {
|
|
|
8267
8264
|
const tick = async () => traceDaemonTimer("task_enforcement", async () => {
|
|
8268
8265
|
fired("task_enforcement");
|
|
8269
8266
|
try {
|
|
8270
|
-
const { runTaskEnforcementTick } = await import("../task-enforcement-
|
|
8267
|
+
const { runTaskEnforcementTick } = await import("../task-enforcement-QO7RXYK2.js");
|
|
8271
8268
|
const { getTransport } = await import("./transport.js");
|
|
8272
8269
|
const { loadAgentConfig } = await import("./agent-config.js");
|
|
8273
8270
|
const { getClient } = await import("./database.js");
|
|
8274
8271
|
const { loadEmployeesSync } = await import("./employees.js");
|
|
8275
|
-
const { sessionScopeFilter } = await import("../task-scope-
|
|
8272
|
+
const { sessionScopeFilter } = await import("../task-scope-4EKZBTTM.js");
|
|
8276
8273
|
const transport = getTransport();
|
|
8277
8274
|
const { sessions: allSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
|
|
8278
8275
|
await yieldToEventLoop();
|
|
@@ -8283,10 +8280,10 @@ function startTaskEnforcementScanner() {
|
|
|
8283
8280
|
sendKeysLiteral: transport.sendKeysLiteral?.bind(transport),
|
|
8284
8281
|
isAlive: (session) => aliveSessions.has(session)
|
|
8285
8282
|
};
|
|
8286
|
-
const { checkAutoWakeGates } = await import("../daemon-orchestration-
|
|
8283
|
+
const { checkAutoWakeGates } = await import("../daemon-orchestration-O3QPSJEP.js");
|
|
8287
8284
|
const { ensureEmployeeAsync, employeeSessionName, sendIntercomAsync } = await import("./tmux-routing.js");
|
|
8288
8285
|
const { shouldAutoInstance } = await import("./employees.js");
|
|
8289
|
-
const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-
|
|
8286
|
+
const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-ARGZU6KS.js");
|
|
8290
8287
|
const projectDir = process.cwd();
|
|
8291
8288
|
await runTaskEnforcementTick({
|
|
8292
8289
|
transport: enforcementTransport,
|
|
@@ -8616,7 +8613,7 @@ async function sweepExpiredTracesFromDaemonTimer() {
|
|
|
8616
8613
|
const memoryIds = idsResult.rows.map((r) => String(r.id)).filter(Boolean);
|
|
8617
8614
|
if (memoryIds.length === 0) return 0;
|
|
8618
8615
|
const { getClient } = await import("./database.js");
|
|
8619
|
-
const { cleanupGraphLinksForMemories, cleanupCardsForMemories } = await import("../graph-rag-
|
|
8616
|
+
const { cleanupGraphLinksForMemories, cleanupCardsForMemories } = await import("../graph-rag-LH34CEGC.js");
|
|
8620
8617
|
const client = getClient();
|
|
8621
8618
|
await cleanupGraphLinksForMemories(client, memoryIds);
|
|
8622
8619
|
await cleanupCardsForMemories(client, memoryIds);
|
|
@@ -8754,7 +8751,7 @@ function startHookRegistrationWatch() {
|
|
|
8754
8751
|
process.stderr.write(`[exed] [HOOKS DEAD] ${mod.formatHookLivenessFailure(report)}
|
|
8755
8752
|
`);
|
|
8756
8753
|
try {
|
|
8757
|
-
const { pushNotifyAsync: pushNotifyAsync2 } = await import("../push-notifications-
|
|
8754
|
+
const { pushNotifyAsync: pushNotifyAsync2 } = await import("../push-notifications-W3UNHDC5.js");
|
|
8758
8755
|
pushNotifyAsync2({
|
|
8759
8756
|
event: "hooks_dead",
|
|
8760
8757
|
title: `${report.broken.length} exe-os hook(s) cannot run`,
|
|
@@ -9428,7 +9425,7 @@ function startEventLoopLagDetector() {
|
|
|
9428
9425
|
setLastStallClass("blocked", lag);
|
|
9429
9426
|
process.stderr.write(msg + "\n");
|
|
9430
9427
|
logDaemonHealth({ event: "event_loop_blocked", pid: process.pid, message: msg, data: { lagMs: lag } });
|
|
9431
|
-
void import("../orchestration-events-
|
|
9428
|
+
void import("../orchestration-events-ARGZU6KS.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
9432
9429
|
recordOE({ eventType: "daemon.event_loop_blocked", source: "exe-daemon.lagDetector", severity: "error", durationMs: lag });
|
|
9433
9430
|
}).catch(() => {
|
|
9434
9431
|
});
|
|
@@ -9633,7 +9630,7 @@ function startTaskFileResync() {
|
|
|
9633
9630
|
});
|
|
9634
9631
|
if (Number(res.rowsAffected ?? 0) > 0) {
|
|
9635
9632
|
synced++;
|
|
9636
|
-
void import("../orchestration-events-
|
|
9633
|
+
void import("../orchestration-events-ARGZU6KS.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
9637
9634
|
recordOE({
|
|
9638
9635
|
eventType: "task_file.resynced",
|
|
9639
9636
|
source: "exe-daemon.taskFileResync",
|
|
@@ -9667,7 +9664,7 @@ function startTaskGroupBarriers() {
|
|
|
9667
9664
|
fired("task_group_barriers");
|
|
9668
9665
|
if (!await ensureStoreForPolling()) return;
|
|
9669
9666
|
try {
|
|
9670
|
-
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-
|
|
9667
|
+
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-O3QPSJEP.js");
|
|
9671
9668
|
const firedCount = await pollTaskGroupBarriers();
|
|
9672
9669
|
if (firedCount > 0) {
|
|
9673
9670
|
acted("task_group_barriers");
|
|
@@ -9689,7 +9686,7 @@ function startCheckpointGc() {
|
|
|
9689
9686
|
fired("checkpoint_gc");
|
|
9690
9687
|
if (!await ensureStoreForPolling()) return;
|
|
9691
9688
|
try {
|
|
9692
|
-
const { gcStaleCheckpoints } = await import("../daemon-orchestration-
|
|
9689
|
+
const { gcStaleCheckpoints } = await import("../daemon-orchestration-O3QPSJEP.js");
|
|
9693
9690
|
const cleared = await gcStaleCheckpoints();
|
|
9694
9691
|
if (cleared > 0) {
|
|
9695
9692
|
acted("checkpoint_gc");
|
|
@@ -9729,14 +9726,14 @@ function startDispatchAckCleanup() {
|
|
|
9729
9726
|
function startProjectionWorkerDeferred() {
|
|
9730
9727
|
setTimeout(async () => {
|
|
9731
9728
|
try {
|
|
9732
|
-
const { startProjectionWorker } = await import("../projection-worker-
|
|
9729
|
+
const { startProjectionWorker } = await import("../projection-worker-POT2AOR5.js");
|
|
9733
9730
|
startProjectionWorker();
|
|
9734
9731
|
} catch {
|
|
9735
9732
|
}
|
|
9736
9733
|
}, 2e4);
|
|
9737
9734
|
}
|
|
9738
9735
|
async function startToolTelemetry() {
|
|
9739
|
-
const { startToolTelemetryFlush } = await import("../tool-telemetry-
|
|
9736
|
+
const { startToolTelemetryFlush } = await import("../tool-telemetry-SNWF4WDH.js");
|
|
9740
9737
|
startToolTelemetryFlush();
|
|
9741
9738
|
process.stderr.write("[exed] Tool telemetry started (flush every 5m)\n");
|
|
9742
9739
|
}
|
|
@@ -9909,7 +9906,7 @@ function startLocalFirstTimers() {
|
|
|
9909
9906
|
fired("orphan_task_cleanup");
|
|
9910
9907
|
try {
|
|
9911
9908
|
if (!await ensureStoreForPolling()) return;
|
|
9912
|
-
const { cleanOrphanedTaskFiles } = await import("../tasks-crud-
|
|
9909
|
+
const { cleanOrphanedTaskFiles } = await import("../tasks-crud-MB7WXGPW.js");
|
|
9913
9910
|
const count = await cleanOrphanedTaskFiles();
|
|
9914
9911
|
if (count > 0) {
|
|
9915
9912
|
acted("orphan_task_cleanup");
|
|
@@ -9925,7 +9922,7 @@ function startLocalFirstTimers() {
|
|
|
9925
9922
|
fired("task_file_consistency");
|
|
9926
9923
|
try {
|
|
9927
9924
|
if (!await ensureStoreForPolling()) return;
|
|
9928
|
-
const { checkTaskFileConsistency } = await import("../tasks-crud-
|
|
9925
|
+
const { checkTaskFileConsistency } = await import("../tasks-crud-MB7WXGPW.js");
|
|
9929
9926
|
const mismatches = await checkTaskFileConsistency();
|
|
9930
9927
|
if (mismatches > 0) {
|
|
9931
9928
|
acted("task_file_consistency");
|
|
@@ -9944,7 +9941,7 @@ function startLocalFirstTimers() {
|
|
|
9944
9941
|
const TELEMETRY_DAILY_MS = 24 * 60 * 60 * 1e3;
|
|
9945
9942
|
const telemetryDaily = async () => {
|
|
9946
9943
|
try {
|
|
9947
|
-
const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-
|
|
9944
|
+
const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-Q7DLE5I3.js");
|
|
9948
9945
|
if (!isTelemetryEnabled()) return;
|
|
9949
9946
|
const { upstream } = await sendTelemetry(24);
|
|
9950
9947
|
if (upstream.startsWith("sent")) {
|
|
@@ -10187,7 +10184,7 @@ try {
|
|
|
10187
10184
|
});
|
|
10188
10185
|
}
|
|
10189
10186
|
try {
|
|
10190
|
-
const { initOrgPartnerRuntime } = await import("../org-partner-runtime-
|
|
10187
|
+
const { initOrgPartnerRuntime } = await import("../org-partner-runtime-7AD7WY3Y.js");
|
|
10191
10188
|
await initOrgPartnerRuntime();
|
|
10192
10189
|
} catch (err) {
|
|
10193
10190
|
process.stderr.write(
|