@askexenow/exe-os 0.9.410 → 0.9.412
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/delivery/catalog.json +29 -38
- package/deploy/compose/.env.customer.example +5 -5
- package/deploy/compose/.env.default +4 -4
- package/deploy/compose/.env.example +5 -5
- package/deploy/compose/docker-compose.yml +1 -1
- package/deploy/stack-manifests/v0.9.json +263 -2
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-2ELFTYNT.js → active-agent-3YCLS7GB.js} +4 -4
- package/dist/{active-agent-SS4SRXYZ.js → active-agent-MHWQDMML.js} +4 -4
- package/dist/{agent-defs-generator-6S2BSYCP.js → agent-defs-generator-DNXMO34I.js} +4 -4
- package/dist/{agentic-ontology-TJOAUAPD.js → agentic-ontology-RA6CMND6.js} +1 -1
- package/dist/{artifact-backup-STQQZDZ5.js → artifact-backup-EETHNFFP.js} +3 -3
- package/dist/{backfill-metadata-I2FVENKJ.js → backfill-metadata-WYT257VG.js} +7 -7
- package/dist/backup-verify-AG54CYGR.js +62 -0
- package/dist/{behavior-injection-CTSIKHTH.js → behavior-injection-G7GAUHGO.js} +10 -10
- package/dist/{behavior-promotion-NZMTTFHK.js → behavior-promotion-I2DIUFUR.js} +9 -9
- package/dist/{behaviors-RUNSC5WI.js → behaviors-SKVKPCRW.js} +8 -8
- package/dist/bin/agentic-ontology-backfill.js +8 -8
- package/dist/bin/agentic-reflection-backfill.js +9 -9
- package/dist/bin/agentic-semantic-label.js +8 -8
- package/dist/bin/backfill-conversations.js +7 -7
- package/dist/bin/backfill-responses.js +7 -7
- package/dist/bin/backfill-vectors.js +7 -7
- package/dist/bin/bulk-sync-postgres.js +16 -16
- package/dist/bin/cc-doctor.js +8 -8
- package/dist/bin/cleanup-stale-review-tasks.js +13 -13
- package/dist/bin/cli.js +24 -24
- package/dist/bin/deferred-daemon-restart.js +95 -95
- package/dist/bin/exe-actions.js +1 -1
- package/dist/bin/exe-agent-config.js +3 -3
- package/dist/bin/exe-agent.js +15 -15
- package/dist/bin/exe-assign.js +8 -8
- package/dist/bin/exe-boot.js +35 -35
- package/dist/bin/exe-call.js +9 -9
- package/dist/bin/exe-cloud.js +17 -17
- package/dist/bin/exe-config-dump.js +3 -3
- package/dist/bin/exe-dispatch.js +14 -14
- package/dist/bin/exe-doctor.js +5 -5
- package/dist/bin/exe-export-behaviors.js +12 -12
- package/dist/bin/exe-forget.js +10 -10
- package/dist/bin/exe-gateway.js +9 -9
- package/dist/bin/exe-grant.js +6 -6
- package/dist/bin/exe-healthcheck.js +8 -8
- package/dist/bin/exe-heartbeat.js +19 -19
- package/dist/bin/exe-kill.js +18 -18
- package/dist/bin/exe-launch-agent.js +75 -36
- package/dist/bin/exe-mcp.js +5 -5
- package/dist/bin/exe-memory-reads.js +7 -7
- package/dist/bin/exe-new-employee.js +11 -11
- package/dist/bin/exe-os-mcp-proxy.js +5 -5
- package/dist/bin/exe-pending-messages.js +14 -14
- package/dist/bin/exe-pending-notifications.js +13 -13
- package/dist/bin/exe-pending-reviews.js +14 -14
- package/dist/bin/exe-rename.js +7 -7
- package/dist/bin/exe-review.js +17 -17
- package/dist/bin/exe-search.js +9 -9
- package/dist/bin/exe-session-cleanup.js +18 -18
- package/dist/bin/exe-settings.js +16 -16
- package/dist/bin/exe-start-codex.js +37 -19
- package/dist/bin/exe-start-opencode.js +35 -17
- package/dist/bin/exe-status.js +15 -15
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +5 -5
- package/dist/bin/git-sweep.js +15 -15
- package/dist/bin/graph-backfill.js +8 -8
- package/dist/bin/graph-export.js +8 -8
- package/dist/bin/hooks-cli.js +1 -1
- package/dist/bin/import-history.js +11 -11
- package/dist/bin/install.js +97 -97
- package/dist/bin/intercom-check.js +5 -5
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +5 -5
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/repair-document-chunks.js +7 -7
- package/dist/bin/scan-tasks.js +14 -14
- package/dist/bin/setup.js +2 -2
- package/dist/bin/shard-migrate.js +8 -8
- package/dist/bin/stack-update.js +41 -16
- package/dist/bin/verify-stack.js +1 -1
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-4W4CDJSX.js → boot-generation-RPJVFAQJ.js} +4 -4
- package/dist/{boot-review-sections-HJN25GMU.js → boot-review-sections-FOPPZTJI.js} +12 -12
- package/dist/{bug-landed-reconciler-GGQU6G2L.js → bug-landed-reconciler-FN5KPBRK.js} +6 -6
- package/dist/build-info.json +3 -3
- package/dist/build-manifest.json +936 -926
- package/dist/{capability-cards-EV7VHL3W.js → capability-cards-YQWBEG7A.js} +3 -3
- package/dist/{capacity-monitor-YO3WRSRY.js → capacity-monitor-7SMEJHYG.js} +14 -14
- package/dist/{catchup-brief-4XFFW3H2.js → catchup-brief-IBQ26LEB.js} +19 -19
- package/dist/{chunk-YJ7MCZSY.js → chunk-27NG2NTG.js} +2 -2
- package/dist/{chunk-2AXJRXA6.js → chunk-2BOLFLAU.js} +4 -2
- package/dist/{chunk-AGXV5HLA.js → chunk-2EYVXUGA.js} +4 -4
- package/dist/{chunk-2YZZR2BW.js → chunk-2YFMBXUU.js} +4 -4
- package/dist/{chunk-ZBXZFOIF.js → chunk-2YGBJHC2.js} +3 -3
- package/dist/{chunk-I35OMCL3.js → chunk-353XF4LU.js} +2 -2
- package/dist/{chunk-UF5BDAF6.js → chunk-3DXAJVXE.js} +6 -6
- package/dist/{chunk-AEOB4JCJ.js → chunk-3GGMHSY2.js} +3 -3
- package/dist/{chunk-K6XWIJN7.js → chunk-3N24FV22.js} +1 -1
- package/dist/{chunk-7WCYJXOF.js → chunk-47YGEM4N.js} +1 -1
- package/dist/{chunk-NVM3SKJ4.js → chunk-4CN3EE6U.js} +27 -21
- package/dist/{chunk-IQCC6WFI.js → chunk-4J77TCTX.js} +1 -1
- package/dist/{chunk-H5H2LGVE.js → chunk-5BWDUUMH.js} +3 -3
- package/dist/{chunk-O5RKAXCG.js → chunk-5DLZJ3MY.js} +1 -1
- package/dist/{chunk-E3ZO4EL3.js → chunk-5ZMNFSHV.js} +1 -1
- package/dist/{chunk-7QFRZT4H.js → chunk-657I6PUF.js} +3 -3
- package/dist/{chunk-IXRYS5X3.js → chunk-6777GNWI.js} +1 -1
- package/dist/{chunk-4THJIDJE.js → chunk-6BD6JYR2.js} +1 -1
- package/dist/{chunk-JTXXLNYD.js → chunk-6DMURUBY.js} +4 -4
- package/dist/{chunk-47UBJKS3.js → chunk-6HJF7IA3.js} +168 -205
- package/dist/{chunk-PONGX3YG.js → chunk-6J2J3VJS.js} +10 -10
- package/dist/{chunk-XBCIRNNU.js → chunk-6PXFF6IV.js} +1 -1
- package/dist/{chunk-DWK5HEKY.js → chunk-7HLAYQRG.js} +4 -4
- package/dist/{chunk-RWM6TZH6.js → chunk-7KPZQ65I.js} +3 -3
- package/dist/{chunk-BPXWWD7P.js → chunk-7PDZBPGW.js} +1 -1
- package/dist/{chunk-2K7IKLBL.js → chunk-7SHU5MOD.js} +1 -1
- package/dist/{chunk-APKEGWFB.js → chunk-A5I2GYVQ.js} +3 -3
- package/dist/{chunk-X4V5ZLNX.js → chunk-A75TAU2I.js} +628 -4
- package/dist/{chunk-T7W75LII.js → chunk-BE3UETW6.js} +3 -3
- package/dist/{chunk-575FWHQJ.js → chunk-BG6RAOCJ.js} +63 -9
- package/dist/{chunk-YSDSQRE2.js → chunk-BIPTWAEO.js} +1 -1
- package/dist/{chunk-FYKEL2L6.js → chunk-BLTXAUP6.js} +2 -2
- package/dist/{chunk-ASA2UJDH.js → chunk-CFFSHBQF.js} +1 -1
- package/dist/{chunk-XCKTCOK3.js → chunk-CJ6CS2IH.js} +5 -5
- package/dist/{chunk-V7AID6MC.js → chunk-CRW63CDI.js} +1 -1
- package/dist/{chunk-B34RSIUP.js → chunk-CWHTUNJX.js} +2 -2
- package/dist/{chunk-HKAWEIB2.js → chunk-D6NZNUVH.js} +1 -1
- package/dist/{chunk-CEHGXPMO.js → chunk-DHLJZDWI.js} +4 -4
- package/dist/{chunk-FCX2XHIC.js → chunk-DWRULKB3.js} +2 -2
- package/dist/{chunk-KNEEOZWN.js → chunk-EOWJXCYC.js} +25 -7
- package/dist/{chunk-5BWN6A5E.js → chunk-EWDBWOCX.js} +1 -1
- package/dist/{chunk-IUAW7FVX.js → chunk-FPF2PJFK.js} +3 -3
- package/dist/{chunk-B55U5BKF.js → chunk-FSXMKIDO.js} +1 -1
- package/dist/{chunk-2A556FNI.js → chunk-FUDXITKX.js} +1 -1
- package/dist/{chunk-FZT7CBXB.js → chunk-FYV2CTKP.js} +1 -1
- package/dist/{chunk-R2ZHPVF2.js → chunk-GATAYYAF.js} +3 -3
- package/dist/{chunk-CKRZBQ2K.js → chunk-GHYHNHDL.js} +1 -1
- package/dist/{chunk-IHBYJG7N.js → chunk-GL5ZG72X.js} +1 -1
- package/dist/{chunk-WSYIQKZ6.js → chunk-GM4UEZDE.js} +20 -20
- package/dist/{chunk-QKHQTHE6.js → chunk-GZVFHFO3.js} +10 -135
- package/dist/{chunk-XC2KAJK4.js → chunk-HA6BIZ6L.js} +5 -5
- package/dist/chunk-HDQAVAV6.js +248 -0
- package/dist/{chunk-5Q64Q5ZD.js → chunk-HDV2V25K.js} +1 -1
- package/dist/{chunk-26CY4EAR.js → chunk-HTFM7ZDD.js} +2 -2
- package/dist/{chunk-NUEDA2US.js → chunk-HUHR5CKJ.js} +4 -4
- package/dist/{chunk-BIHPY7JW.js → chunk-IC2AONBH.js} +9 -9
- package/dist/{chunk-2YK5HP2B.js → chunk-IHAXXDBH.js} +3 -3
- package/dist/{chunk-5JHIAGZY.js → chunk-IPUDXR67.js} +1 -1
- package/dist/{chunk-BBTNF72N.js → chunk-J6U4ZR77.js} +2 -2
- package/dist/{chunk-2OIVIPU7.js → chunk-JAIZCE6W.js} +3 -3
- package/dist/{chunk-WLV27PAO.js → chunk-JGBYZTWH.js} +1 -1
- package/dist/{chunk-4XY33GRO.js → chunk-JJZZXEAN.js} +3 -3
- package/dist/{chunk-3UEDFBDE.js → chunk-JNULO6I5.js} +3 -3
- package/dist/{chunk-JZ23D5YF.js → chunk-JTJP4JK7.js} +3 -3
- package/dist/{chunk-JDZNGC4O.js → chunk-JW5NUXPN.js} +11 -11
- package/dist/{chunk-GGT6Y5AN.js → chunk-K2HIXAIF.js} +12 -12
- package/dist/{chunk-NYV4A5IG.js → chunk-KEDZRQI3.js} +2 -2
- package/dist/{chunk-S2DTXCV6.js → chunk-KN5GAVCG.js} +2 -2
- package/dist/{chunk-LBEBSXZA.js → chunk-L5JFVK5T.js} +4 -4
- package/dist/{chunk-HNJLAMD3.js → chunk-LBSCOP25.js} +1 -1
- package/dist/{chunk-FOZSHNET.js → chunk-LLZUL7M2.js} +1 -1
- package/dist/{chunk-53GNYXNR.js → chunk-LQGLGSBY.js} +2 -2
- package/dist/{chunk-X2EBM5BQ.js → chunk-LSHUX7P4.js} +16 -16
- package/dist/{chunk-AWTLUJZL.js → chunk-M6AX64J2.js} +2 -2
- package/dist/{chunk-7RVTQXST.js → chunk-M6SUJLNP.js} +2 -2
- package/dist/{chunk-OUUNFTS4.js → chunk-MZNLQC6W.js} +1 -1
- package/dist/{chunk-PCF4QMJS.js → chunk-N7POJZJT.js} +10 -10
- package/dist/{chunk-2CG3LHI6.js → chunk-NCNT2C2P.js} +2 -2
- package/dist/{chunk-R3N5BCMM.js → chunk-O3BLL6MY.js} +1 -1
- package/dist/{chunk-SLG3T26A.js → chunk-O6KQAJCC.js} +3 -3
- package/dist/{chunk-2WOHFX4Z.js → chunk-OHHZNNUD.js} +1 -1
- package/dist/{chunk-HWP3WCLC.js → chunk-OPG237ZQ.js} +154 -50
- package/dist/{chunk-2LJ2GZEE.js → chunk-PDQGR5LZ.js} +1 -1
- package/dist/{chunk-UBTKHJCB.js → chunk-PTF5TB6O.js} +6 -6
- package/dist/{chunk-5F3E57TQ.js → chunk-PYXXL7N7.js} +1 -1
- package/dist/{chunk-HLNRLXUS.js → chunk-Q6KUBP6R.js} +5 -5
- package/dist/{chunk-AGY2KUQ6.js → chunk-QJWLQXR7.js} +1 -1
- package/dist/{chunk-ZEDLED43.js → chunk-QOFQY7BJ.js} +1 -1
- package/dist/{chunk-6T5RC3L4.js → chunk-QSW5DHMZ.js} +1 -1
- package/dist/{chunk-54Q7M2AG.js → chunk-QV26G2BF.js} +1 -1
- package/dist/{chunk-5WNZGNQL.js → chunk-RHHEYC6H.js} +3 -3
- package/dist/{chunk-K464YYT5.js → chunk-RHJOTGEU.js} +1 -1
- package/dist/{chunk-LZS2B2JT.js → chunk-RIKFXHLE.js} +247 -31
- package/dist/{chunk-6TOV7UVU.js → chunk-RJIH7JXM.js} +4 -4
- package/dist/{chunk-2Q2U3NB2.js → chunk-RMC2A6EE.js} +1 -1
- package/dist/{chunk-FUEKSCTN.js → chunk-RYMXD2NT.js} +1 -1
- package/dist/{chunk-MNWN3SQ3.js → chunk-RYYFFCJG.js} +1 -1
- package/dist/{chunk-E2346GKI.js → chunk-SINIRUYZ.js} +101 -9
- package/dist/{chunk-22XJWSWN.js → chunk-SXUABANK.js} +3 -3
- package/dist/{backup-verify-AOTKX5DA.js → chunk-T3AM52YT.js} +345 -89
- package/dist/{chunk-LCXWQVOD.js → chunk-TCBWHLKH.js} +4 -4
- package/dist/{chunk-YWZGDFAL.js → chunk-TS4LSNRI.js} +2 -2
- package/dist/{chunk-J6RTX7XT.js → chunk-TVWYMOZ4.js} +1 -1
- package/dist/{chunk-3WNDI5KT.js → chunk-VAHQOIQY.js} +1 -1
- package/dist/{chunk-QH2V67NX.js → chunk-VBYSAQJD.js} +1 -1
- package/dist/{chunk-MQD3JJCO.js → chunk-VQQPYI4X.js} +1 -1
- package/dist/{chunk-XJQGS4IM.js → chunk-VS7V5HNO.js} +1 -1
- package/dist/{chunk-CPC75PXE.js → chunk-W3ABSZ6G.js} +2 -2
- package/dist/{chunk-SUGAHHVR.js → chunk-W7VKGB42.js} +1 -1
- package/dist/{chunk-UG3YOQAC.js → chunk-X2ZHCNNB.js} +5 -5
- package/dist/{chunk-YC6SZFVD.js → chunk-X4FHT6ST.js} +5 -5
- package/dist/{chunk-RXICR3D7.js → chunk-XC5OASHV.js} +1 -1
- package/dist/{chunk-TU5Y5ZNC.js → chunk-XDOCXKHW.js} +58 -1
- package/dist/{chunk-DLHE4PCM.js → chunk-XEAZJXMZ.js} +4 -4
- package/dist/{chunk-XMMWBLQK.js → chunk-XQ7BIVLI.js} +6 -6
- package/dist/{chunk-FRJICRED.js → chunk-Z3LGAFMG.js} +1 -1
- package/dist/{chunk-HCBISGUU.js → chunk-ZJ6AMC4Y.js} +7 -7
- package/dist/{chunk-AEEAQZ3E.js → chunk-ZZR2WRNW.js} +4 -4
- package/dist/{cleanup-graph-garbage-N7FTWU6C.js → cleanup-graph-garbage-SYGPMPUM.js} +8 -8
- package/dist/{cli-shutdown-NCBQTN7G.js → cli-shutdown-JI7CASE4.js} +1 -1
- package/dist/{cloud-sync-command-UL7GNN3J.js → cloud-sync-command-ZV3P5FP6.js} +2 -2
- package/dist/{cloud-sync-db-init-ASM7ZXBH.js → cloud-sync-db-init-RQIHWKV4.js} +1 -1
- package/dist/{cloud-sync-shutdown-HER4ISBU.js → cloud-sync-shutdown-V2N7VLD3.js} +3 -3
- package/dist/{co-activation-V5XXR327.js → co-activation-SRE6DIRX.js} +3 -3
- package/dist/{co-occurrence-MKZ6YWSQ.js → co-occurrence-F5TMSEQZ.js} +6 -6
- package/dist/{consent-passphrase-YI3J4UEL.js → consent-passphrase-MWZRHJRC.js} +2 -2
- package/dist/{conversation-entity-extractor-66G7ROQ3.js → conversation-entity-extractor-XMOUHGMT.js} +3 -3
- package/dist/{crdt-sync-Z62SWOKD.js → crdt-sync-FXEKABM7.js} +4 -4
- package/dist/{crm-webhook-6GBACWJX.js → crm-webhook-D6IJOPRQ.js} +2 -2
- package/dist/{cto-delegation-gate-FUKPBFCM.js → cto-delegation-gate-BU3JRCYN.js} +12 -12
- package/dist/{daemon-orchestration-O3QPSJEP.js → daemon-orchestration-K4NKFYXO.js} +19 -19
- package/dist/{destructive-data-guard-JDUJ2ULM.js → destructive-data-guard-3TGAAE7K.js} +77 -23
- package/dist/{doc-graph-extractor-BBPKLIVM.js → doc-graph-extractor-TVK2NGAR.js} +6 -6
- package/dist/{documents-NILTWYSQ.js → documents-MDZ4VB5X.js} +8 -8
- package/dist/{dreaming-KMDGPIFY.js → dreaming-L24PSS35.js} +17 -17
- package/dist/{employee-boot-brief-KSH3MWIF.js → employee-boot-brief-GQVL3FQC.js} +21 -21
- package/dist/{entity-boost-XETN7C2S.js → entity-boost-OMFA5QCG.js} +1 -1
- package/dist/{exe-drift-SFD7SHXC.js → exe-drift-JDDG3OPT.js} +4 -4
- package/dist/{exe-export-NHWKEZL4.js → exe-export-EEGIE3JP.js} +10 -10
- package/dist/{exe-import-SPI5HJBU.js → exe-import-UJNC5Q2L.js} +10 -10
- package/dist/{exe-key-TY5LFUEM.js → exe-key-TYEY4W4E.js} +95 -95
- package/dist/{exe-org-LVQLXA7C.js → exe-org-B3ICTTEV.js} +32 -32
- package/dist/{exe-snapshot-WH2DSRZW.js → exe-snapshot-VBFBONYN.js} +20 -20
- package/dist/{fast-db-init-UN225WS7.js → fast-db-init-TFRTK6EH.js} +1 -1
- package/dist/{founder-context-DVHSVBM5.js → founder-context-3X4QUWKD.js} +2 -2
- package/dist/{founder-monitor-envelope-HMPPUBUT.js → founder-monitor-envelope-54UNZNY4.js} +4 -4
- package/dist/gateway/index.js +14 -14
- package/dist/{gateway-client-TXHCHOVM.js → gateway-client-OUDO5GGV.js} +1 -1
- package/dist/{git-staleness-CUVLXQOJ.js → git-staleness-73YZ5PGU.js} +3 -3
- package/dist/{global-procedures-T5W3S6OU.js → global-procedures-PYNE2BQG.js} +20 -6
- package/dist/{graph-auto-extract-S7OIZXYP.js → graph-auto-extract-PGUMEEQB.js} +6 -6
- package/dist/{graph-query-CRIH4DXF.js → graph-query-7YA3YNKL.js} +1 -1
- package/dist/{graph-rag-LH34CEGC.js → graph-rag-UWOTK4AQ.js} +3 -3
- package/dist/{hook-integrity-TSJYZFZ6.js → hook-integrity-6MNEPT6W.js} +1 -1
- package/dist/{hook-prefetch-SNW5DFCZ.js → hook-prefetch-JOF6YZSR.js} +13 -13
- package/dist/hooks/bug-report-worker.js +17 -17
- package/dist/hooks/codex-stop-task-finalizer.js +19 -19
- package/dist/hooks/commit-complete.js +16 -16
- package/dist/hooks/error-recall.js +11 -11
- package/dist/hooks/exe-heartbeat-hook.js +5 -5
- package/dist/hooks/ingest-worker.js +15 -15
- package/dist/hooks/ingest.js +13 -13
- package/dist/hooks/instructions-loaded.js +7 -7
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +6 -6
- package/dist/hooks/post-compact.js +5 -5
- package/dist/hooks/post-tool-combined.js +13 -13
- package/dist/hooks/pre-compact.js +16 -16
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/hooks/prompt-submit.js +34 -34
- package/dist/hooks/session-end.js +21 -21
- package/dist/hooks/session-start.js +18 -18
- package/dist/hooks/stop.js +19 -19
- package/dist/hooks/subagent-stop.js +18 -18
- package/dist/hooks/summary-worker.js +20 -20
- package/dist/index.js +26 -26
- package/dist/{installer-4IVP2PTX.js → installer-34XZ7JMW.js} +6 -6
- package/dist/{installer-UFRZHMX5.js → installer-356RMQ2K.js} +6 -6
- package/dist/{installer-CJWNUASI.js → installer-7TN36Z7T.js} +112 -28
- package/dist/{intercom-queue-II6RRK3J.js → intercom-queue-ZJ3MNULM.js} +12 -12
- package/dist/lib/backup-verify-worker.js +157 -0
- package/dist/lib/cloud-sync.js +16 -20
- package/dist/lib/consolidation.js +9 -9
- package/dist/lib/crypto.js +3 -3
- package/dist/lib/database.js +3 -3
- package/dist/lib/db-backup.js +7 -3
- package/dist/lib/db-write-worker.js +3 -3
- package/dist/lib/db.js +3 -3
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +7 -7
- package/dist/lib/employees.js +3 -3
- package/dist/lib/exe-daemon.js +89 -84
- package/dist/lib/hybrid-search.js +9 -9
- package/dist/lib/identity.js +3 -3
- package/dist/lib/keychain.js +1 -1
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +13 -13
- package/dist/lib/post-tool-memory.js +13 -13
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +4 -4
- package/dist/lib/schedules.js +8 -8
- package/dist/lib/session-registry.js +5 -5
- package/dist/lib/skill-learning.js +9 -9
- package/dist/lib/store.js +7 -7
- package/dist/lib/task-router.js +4 -4
- package/dist/lib/tasks.js +14 -14
- package/dist/lib/tmux-routing.js +12 -12
- package/dist/lib/token-spend.js +4 -4
- package/dist/lib/ws-client.js +1 -1
- package/dist/{license-gate-M7EDJLAA.js → license-gate-4BXUTHLB.js} +3 -3
- package/dist/{license-recheck-DLTOHAH2.js → license-recheck-QFPUKISQ.js} +1 -1
- package/dist/{license-sync-YTDCUN3S.js → license-sync-FDEDT4AC.js} +2 -2
- package/dist/mcp/register-tools.js +94 -94
- package/dist/mcp/server.js +97 -97
- package/dist/mcp/tools/complete-reminder.js +5 -5
- package/dist/mcp/tools/create-reminder.js +5 -5
- package/dist/mcp/tools/create-task.js +16 -16
- package/dist/mcp/tools/deactivate-behavior.js +10 -10
- package/dist/mcp/tools/list-reminders.js +5 -5
- package/dist/mcp/tools/list-tasks.js +16 -16
- package/dist/mcp/tools/send-message.js +15 -15
- package/dist/mcp/tools/update-task.js +15 -15
- package/dist/{mcp-http-config-652YK3CI.js → mcp-http-config-GKP5QGAO.js} +5 -5
- package/dist/{mcp-session-identity-6QGXD52Y.js → mcp-session-identity-JHAGRB7B.js} +12 -12
- package/dist/{memory-cards-FOPSLULE.js → memory-cards-O377ETAM.js} +7 -7
- package/dist/{memory-graph-extractor-7G3CIGN7.js → memory-graph-extractor-4KJCCUOP.js} +7 -7
- package/dist/{memory-maintenance-5XIGUPYL.js → memory-maintenance-RR5UPRW3.js} +1 -1
- package/dist/{memory-poisoning-defense-MI7Y5XBP.js → memory-poisoning-defense-Y5TTKGOP.js} +3 -3
- package/dist/{memory-pressure-watchdog-SPIDPGU2.js → memory-pressure-watchdog-NGXTI4HR.js} +13 -13
- package/dist/{memory-reflection-DVAT4QKS.js → memory-reflection-EXNHRZL7.js} +7 -7
- package/dist/{memory-write-repository-YC7HJTV5.js → memory-write-repository-S4TX7WQB.js} +1 -1
- package/dist/{monitor-grants-3A77O6XK.js → monitor-grants-57Q4NL25.js} +3 -3
- package/dist/{monitor-identity-BTFFMFEX.js → monitor-identity-3FQ52SYU.js} +2 -2
- package/dist/{notification-ledger-AV5242RM.js → notification-ledger-O6KQYYGK.js} +13 -13
- package/dist/{notifications-75FVPJLY.js → notifications-6FCQCJ4P.js} +12 -12
- package/dist/{orchestration-events-ARGZU6KS.js → orchestration-events-2Z2BMMA5.js} +4 -4
- package/dist/{orchestrator-TCXZMLSB.js → orchestrator-AGOSKPHD.js} +14 -14
- package/dist/{org-brief-session-B455POUI.js → org-brief-session-WJHZVXXJ.js} +15 -15
- package/dist/{org-consent-policy-7K5H6FOB.js → org-consent-policy-X43UGTHI.js} +5 -5
- package/dist/{org-join-ETR5KO27.js → org-join-M3UTBMHC.js} +9 -9
- package/dist/{org-key-admin-IRC6H3TL.js → org-key-admin-AA2DRHB2.js} +11 -11
- package/dist/{org-key-epoch-EG4YQ47A.js → org-key-epoch-Z5UIVUHT.js} +5 -5
- package/dist/{org-key-pin-GLQEU3P3.js → org-key-pin-FE6YHEZ3.js} +3 -3
- package/dist/{org-membership-JC5YVU6N.js → org-membership-3J2MIGE4.js} +4 -4
- package/dist/{org-partner-config-QFSVGHEA.js → org-partner-config-5HATZYG4.js} +8 -8
- package/dist/{org-partner-runtime-7AD7WY3Y.js → org-partner-runtime-UI35IHUC.js} +15 -15
- package/dist/{org-row-visibility-AXZKVOA6.js → org-row-visibility-TRJERVYP.js} +1 -1
- package/dist/{pipeline-router-2KY4X6PO.js → pipeline-router-EKQ6D7ZA.js} +4 -4
- package/dist/{plan-limits-PG6HG2DT.js → plan-limits-3BGHIHX6.js} +6 -6
- package/dist/{platform-procedures-QP3W2NLH.js → platform-procedures-RXW46WNY.js} +1 -1
- package/dist/{pre-tool-use-impl-45B4NFIF.js → pre-tool-use-impl-7BT5TJVM.js} +28 -28
- package/dist/{project-name-LHYHR4VN.js → project-name-PGJGUEJY.js} +4 -4
- package/dist/{projection-worker-POT2AOR5.js → projection-worker-3GEVFPAI.js} +2 -2
- package/dist/{prospective-memory-ECXSAEAW.js → prospective-memory-GEN7CN7H.js} +3 -3
- package/dist/{push-notifications-W3UNHDC5.js → push-notifications-QW4BWRC7.js} +13 -13
- package/dist/{reproject-worktree-memories-PIXMJBHG.js → reproject-worktree-memories-DIULBEBD.js} +12 -12
- package/dist/{reranker-ZBPYIRBB.js → reranker-LQ6OPJOI.js} +1 -1
- package/dist/{retrieval-health-42MFLOEP.js → retrieval-health-XDFYFEOP.js} +1 -1
- package/dist/{review-polling-V4CSK4TZ.js → review-polling-ED33YLFT.js} +13 -13
- package/dist/runtime/index.js +20 -20
- package/dist/{session-events-C3NUY6MR.js → session-events-7IJGTBVH.js} +13 -13
- package/dist/{session-kill-telemetry-ZOSAIYU2.js → session-kill-telemetry-RUTEARJ3.js} +13 -13
- package/dist/{session-scope-BZALGKYZ.js → session-scope-SSYA64L3.js} +12 -12
- package/dist/{setup-wizard-DNA2UT4J.js → setup-wizard-XD7FZVLJ.js} +2 -2
- package/dist/{shard-manager-NG4SXV7L.js → shard-manager-FH5JZRSE.js} +2 -2
- package/dist/{skill-refinement-Y3M7XBRE.js → skill-refinement-UHD4E6GV.js} +4 -4
- package/dist/{skill-retrieval-XDY352AS.js → skill-retrieval-F6PAJ3I5.js} +11 -11
- package/dist/{skill-usage-QOLIJQJC.js → skill-usage-2MBTF7Y4.js} +4 -4
- package/dist/{stack-generate-manifest-VFHCOLAD.js → stack-generate-manifest-MVJDTU4F.js} +13 -37
- package/dist/{stack-promote-24BY6AXF.js → stack-promote-BMGEY6SQ.js} +4 -4
- package/dist/{stack-release-AXH7ZIOR.js → stack-release-64UJ6Y4W.js} +17 -34
- package/dist/{stack-update-7ET7S3ED.js → stack-update-EBATTQPP.js} +5 -3
- package/dist/{steward-gate-2MUESY3V.js → steward-gate-EWG2BHYQ.js} +4 -4
- package/dist/{subagent-brief-injection-6PM3WMMR.js → subagent-brief-injection-YZGSWUEY.js} +23 -23
- package/dist/{support-bug-actions-WWKDXT74.js → support-bug-actions-RU6WZ3UV.js} +3 -3
- package/dist/{support-inbox-AN44HIOG.js → support-inbox-A3S52SPS.js} +12 -12
- package/dist/{task-enforcement-QO7RXYK2.js → task-enforcement-LVAS55AR.js} +13 -13
- package/dist/{task-request-inbox-RXAT2QJF.js → task-request-inbox-2TN4ZUH2.js} +5 -5
- package/dist/{task-scope-4EKZBTTM.js → task-scope-NLKUVCP5.js} +12 -12
- package/dist/{tasks-crud-MB7WXGPW.js → tasks-crud-NQDPLHNZ.js} +12 -12
- package/dist/{tasks-notify-BCWO7AP6.js → tasks-notify-BDM2NEHP.js} +13 -13
- package/dist/{tasks-review-HXHYA76X.js → tasks-review-3G7CAW2O.js} +12 -12
- package/dist/{telemetry-upload-Q7DLE5I3.js → telemetry-upload-6DR6AL3V.js} +8 -8
- package/dist/{token-budget-EL6BEBDP.js → token-budget-KNC2WGR7.js} +4 -4
- package/dist/{tool-telemetry-SNWF4WDH.js → tool-telemetry-I3SEU5M5.js} +1 -1
- package/dist/tui/App.js +23 -23
- package/dist/{tui-data-ZMSBEPJT.js → tui-data-KJDWP4CB.js} +16 -16
- package/dist/{update-support-QY7WALUZ.js → update-support-UYDYMHVR.js} +11 -11
- package/dist/{whatsapp-NCZ43BB3.js → whatsapp-5EMPZHF5.js} +2 -2
- package/dist/{wiki-acl-3L7BRJUV.js → wiki-acl-M7BTQJBZ.js} +1 -1
- package/dist/{work-claims-XQXT2VWJ.js → work-claims-5CFMZTML.js} +4 -4
- package/dist/{work-state-heartbeat-GAIQ7M73.js → work-state-heartbeat-7IA2DZ2E.js} +1 -1
- package/dist/{workflow-engine-FCOOI5M6.js → workflow-engine-S5JOE2YR.js} +2 -2
- package/dist/{worktree-GS4ODQ4C.js → worktree-7V4ZMF3D.js} +5 -5
- package/dist/{worktree-sweep-6LMC7H5Y.js → worktree-sweep-34MXJ7S6.js} +6 -6
- package/package.json +2 -1
- package/release-notes.json +21 -25
- package/stack.release.json +5 -5
- package/dist/chunk-WZPD4QSE.js +0 -113
- /package/dist/{chunk-IKJUZ3VO.js → chunk-542FBM5U.js} +0 -0
- /package/dist/{chunk-XJDSTA2C.js → chunk-6D2O5SAH.js} +0 -0
- /package/dist/{chunk-FDQXQBBC.js → chunk-6NRZLVK3.js} +0 -0
- /package/dist/{chunk-XDWIJBTY.js → chunk-CFO47VW4.js} +0 -0
- /package/dist/{chunk-R6H2IRCF.js → chunk-EULAP6L6.js} +0 -0
- /package/dist/{chunk-LK6OG47X.js → chunk-FYSKQPTE.js} +0 -0
- /package/dist/{chunk-LAWI42NC.js → chunk-J4B4M5PH.js} +0 -0
- /package/dist/{chunk-AC36VWNB.js → chunk-J635FA7T.js} +0 -0
- /package/dist/{chunk-UQKGV6SX.js → chunk-MOBZTIJQ.js} +0 -0
- /package/dist/{chunk-7ZP2PAW3.js → chunk-N45FAI6D.js} +0 -0
- /package/dist/{chunk-ZQS4S4AX.js → chunk-QDSNEGJE.js} +0 -0
- /package/dist/{chunk-CS4SHHLY.js → chunk-SKSXROKP.js} +0 -0
- /package/dist/{chunk-JXGOO53U.js → chunk-YVWXI2HM.js} +0 -0
- /package/dist/{core-memory-3TZV3ZDW.js → core-memory-PZEO3OWH.js} +0 -0
- /package/dist/{memory-isolation-TE4AOMQX.js → memory-isolation-MFNT2ITE.js} +0 -0
- /package/dist/{oauth-server-CWQ6EBGQ.js → oauth-server-CBGEWD6H.js} +0 -0
- /package/dist/{project-boot-MX2FNKTJ.js → project-boot-VESAYDIH.js} +0 -0
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-FYV2CTKP.js";
|
|
22
22
|
import {
|
|
23
23
|
disposeDbWriteWorker,
|
|
24
24
|
isDbWriteWorkerReady,
|
|
@@ -64,13 +64,14 @@ import {
|
|
|
64
64
|
} from "../chunk-KWOAM7TA.js";
|
|
65
65
|
import {
|
|
66
66
|
governMemoryRecord
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-FYSKQPTE.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-
|
|
73
|
+
} from "../chunk-GM4UEZDE.js";
|
|
74
|
+
import "../chunk-PYXXL7N7.js";
|
|
74
75
|
import {
|
|
75
76
|
currentPauseStartMs,
|
|
76
77
|
isTimerPausedNow,
|
|
@@ -79,7 +80,6 @@ import {
|
|
|
79
80
|
sweepPauseTotalMs,
|
|
80
81
|
timerPauseIntervalsSince
|
|
81
82
|
} from "../chunk-ZKGWHT56.js";
|
|
82
|
-
import "../chunk-5F3E57TQ.js";
|
|
83
83
|
import "../chunk-WT4RI36X.js";
|
|
84
84
|
import "../chunk-E23LNUWJ.js";
|
|
85
85
|
import "../chunk-TDF2XKLK.js";
|
|
@@ -87,16 +87,16 @@ import "../chunk-EIKATSE4.js";
|
|
|
87
87
|
import "../chunk-MJCSEIFI.js";
|
|
88
88
|
import "../chunk-QDMZ5DX2.js";
|
|
89
89
|
import "../chunk-HME6ITKV.js";
|
|
90
|
-
import "../chunk-
|
|
90
|
+
import "../chunk-QSW5DHMZ.js";
|
|
91
91
|
import "../chunk-VI4ATC6I.js";
|
|
92
92
|
import "../chunk-A27Q27CT.js";
|
|
93
93
|
import "../chunk-6L4VIYLZ.js";
|
|
94
|
-
import "../chunk-
|
|
94
|
+
import "../chunk-JGBYZTWH.js";
|
|
95
95
|
import "../chunk-T5SM4RXY.js";
|
|
96
|
-
import "../chunk-
|
|
96
|
+
import "../chunk-CFFSHBQF.js";
|
|
97
97
|
import "../chunk-IVXELUEQ.js";
|
|
98
98
|
import "../chunk-AM7S2TY6.js";
|
|
99
|
-
import "../chunk-
|
|
99
|
+
import "../chunk-2BOLFLAU.js";
|
|
100
100
|
import {
|
|
101
101
|
attributeSignalSource,
|
|
102
102
|
consumeRestartIntentDetail,
|
|
@@ -144,12 +144,12 @@ import {
|
|
|
144
144
|
killAttributionLogPath,
|
|
145
145
|
recordKillIntent
|
|
146
146
|
} from "../chunk-DRTJCG6B.js";
|
|
147
|
-
import "../chunk-
|
|
147
|
+
import "../chunk-TVWYMOZ4.js";
|
|
148
148
|
import "../chunk-CVYC6DUW.js";
|
|
149
149
|
import "../chunk-GJV3WDWM.js";
|
|
150
150
|
import "../chunk-YRUZK2QA.js";
|
|
151
151
|
import "../chunk-MP2AFCGL.js";
|
|
152
|
-
import "../chunk-
|
|
152
|
+
import "../chunk-L5JFVK5T.js";
|
|
153
153
|
import {
|
|
154
154
|
logBoot,
|
|
155
155
|
logCrash,
|
|
@@ -158,8 +158,8 @@ import {
|
|
|
158
158
|
logShutdown
|
|
159
159
|
} from "../chunk-BBMTVAE3.js";
|
|
160
160
|
import "../chunk-TKDITWDN.js";
|
|
161
|
-
import "../chunk-
|
|
162
|
-
import "../chunk-
|
|
161
|
+
import "../chunk-SINIRUYZ.js";
|
|
162
|
+
import "../chunk-6777GNWI.js";
|
|
163
163
|
import "../chunk-7FE43JRU.js";
|
|
164
164
|
import "../chunk-5YEUPUV4.js";
|
|
165
165
|
import {
|
|
@@ -186,9 +186,9 @@ import {
|
|
|
186
186
|
EMBEDDING_DIM
|
|
187
187
|
} from "../chunk-C7GHNJPW.js";
|
|
188
188
|
import "../chunk-UWGQNJIE.js";
|
|
189
|
-
import "../chunk-
|
|
189
|
+
import "../chunk-EOWJXCYC.js";
|
|
190
190
|
import "../chunk-3R7UDPVR.js";
|
|
191
|
-
import "../chunk-
|
|
191
|
+
import "../chunk-6D2O5SAH.js";
|
|
192
192
|
import "../chunk-A7JYF4RG.js";
|
|
193
193
|
import "../chunk-ARX6TAGN.js";
|
|
194
194
|
import {
|
|
@@ -2683,7 +2683,7 @@ async function loadModel() {
|
|
|
2683
2683
|
void (async () => {
|
|
2684
2684
|
try {
|
|
2685
2685
|
if (_storeInitialized) {
|
|
2686
|
-
const { writeNotification } = await import("../notifications-
|
|
2686
|
+
const { writeNotification } = await import("../notifications-6FCQCJ4P.js");
|
|
2687
2687
|
await writeNotification({
|
|
2688
2688
|
agentId: "exe",
|
|
2689
2689
|
agentRole: "system",
|
|
@@ -2820,7 +2820,7 @@ function disableEmbeddingsForInferenceTimeouts() {
|
|
|
2820
2820
|
void (async () => {
|
|
2821
2821
|
try {
|
|
2822
2822
|
if (_storeInitialized) {
|
|
2823
|
-
const { writeNotification } = await import("../notifications-
|
|
2823
|
+
const { writeNotification } = await import("../notifications-6FCQCJ4P.js");
|
|
2824
2824
|
await writeNotification({
|
|
2825
2825
|
agentId: "exe",
|
|
2826
2826
|
agentRole: "system",
|
|
@@ -2987,7 +2987,7 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
|
|
|
2987
2987
|
_shuttingDown = true;
|
|
2988
2988
|
_drainingWrites = true;
|
|
2989
2989
|
try {
|
|
2990
|
-
const { stopOrgPartnerRuntime } = await import("../org-partner-runtime-
|
|
2990
|
+
const { stopOrgPartnerRuntime } = await import("../org-partner-runtime-UI35IHUC.js");
|
|
2991
2991
|
stopOrgPartnerRuntime();
|
|
2992
2992
|
} catch {
|
|
2993
2993
|
}
|
|
@@ -3075,7 +3075,7 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
|
|
|
3075
3075
|
dbBytes = dbPath ? statSync4(dbPath).size : 0;
|
|
3076
3076
|
} catch {
|
|
3077
3077
|
}
|
|
3078
|
-
const { getAvailableMemoryBytesSync } = await import("../memory-pressure-watchdog-
|
|
3078
|
+
const { getAvailableMemoryBytesSync } = await import("../memory-pressure-watchdog-NGXTI4HR.js");
|
|
3079
3079
|
const freeBytes = getAvailableMemoryBytesSync();
|
|
3080
3080
|
if (shouldSkipBackupUnderMemoryPressure(freeBytes, dbBytes)) {
|
|
3081
3081
|
memoryGateSkip = true;
|
|
@@ -3128,12 +3128,12 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
|
|
|
3128
3128
|
`);
|
|
3129
3129
|
}
|
|
3130
3130
|
try {
|
|
3131
|
-
const { stopProjectionWorker } = await import("../projection-worker-
|
|
3131
|
+
const { stopProjectionWorker } = await import("../projection-worker-3GEVFPAI.js");
|
|
3132
3132
|
stopProjectionWorker();
|
|
3133
3133
|
} catch {
|
|
3134
3134
|
}
|
|
3135
3135
|
try {
|
|
3136
|
-
const { disposeShards } = await import("../shard-manager-
|
|
3136
|
+
const { disposeShards } = await import("../shard-manager-FH5JZRSE.js");
|
|
3137
3137
|
disposeShards();
|
|
3138
3138
|
} catch {
|
|
3139
3139
|
}
|
|
@@ -3196,7 +3196,7 @@ async function handleHealthCheck(socket, requestId) {
|
|
|
3196
3196
|
let pipelineStatus = "unknown";
|
|
3197
3197
|
if (dbConnected) {
|
|
3198
3198
|
try {
|
|
3199
|
-
await import("../pipeline-router-
|
|
3199
|
+
await import("../pipeline-router-EKQ6D7ZA.js");
|
|
3200
3200
|
pipelineStatus = "ok";
|
|
3201
3201
|
} catch {
|
|
3202
3202
|
pipelineStatus = "unavailable";
|
|
@@ -3588,7 +3588,7 @@ async function _writeMemoryRecordInner(entry, syncOnly = false) {
|
|
|
3588
3588
|
}
|
|
3589
3589
|
}
|
|
3590
3590
|
const { getClient } = await import("./database.js");
|
|
3591
|
-
const { buildMemoryInsert, readMemoryWriteOutcome } = await import("../memory-write-repository-
|
|
3591
|
+
const { buildMemoryInsert, readMemoryWriteOutcome } = await import("../memory-write-repository-S4TX7WQB.js");
|
|
3592
3592
|
const client = getClient();
|
|
3593
3593
|
const row = {
|
|
3594
3594
|
...record,
|
|
@@ -3609,7 +3609,7 @@ async function _writeMemoryRecordInner(entry, syncOnly = false) {
|
|
|
3609
3609
|
if (Number(inserted.rowsAffected) === 0) return outcome.id;
|
|
3610
3610
|
const version = outcome.version;
|
|
3611
3611
|
try {
|
|
3612
|
-
const { insertOntologyForMemory } = await import("../agentic-ontology-
|
|
3612
|
+
const { insertOntologyForMemory } = await import("../agentic-ontology-RA6CMND6.js");
|
|
3613
3613
|
await insertOntologyForMemory({
|
|
3614
3614
|
id,
|
|
3615
3615
|
agent_id: record.agent_id,
|
|
@@ -4486,7 +4486,7 @@ async function startMcpHttpServer() {
|
|
|
4486
4486
|
setBootPhase("db_ready");
|
|
4487
4487
|
_storeInitialized = true;
|
|
4488
4488
|
markDbInitCompleted();
|
|
4489
|
-
const { initLicenseGate, getCachedLicenseGate } = await import("../license-gate-
|
|
4489
|
+
const { initLicenseGate, getCachedLicenseGate } = await import("../license-gate-4BXUTHLB.js");
|
|
4490
4490
|
const gateResult = await initLicenseGate();
|
|
4491
4491
|
if (!gateResult.hasKey) {
|
|
4492
4492
|
process.stderr.write(
|
|
@@ -4498,7 +4498,7 @@ async function startMcpHttpServer() {
|
|
|
4498
4498
|
`
|
|
4499
4499
|
);
|
|
4500
4500
|
}
|
|
4501
|
-
const { startLicenseRecheckTimer, LICENSE_RECHECK_INTERVAL_MS } = await import("../license-recheck-
|
|
4501
|
+
const { startLicenseRecheckTimer, LICENSE_RECHECK_INTERVAL_MS } = await import("../license-recheck-QFPUKISQ.js");
|
|
4502
4502
|
startLicenseRecheckTimer();
|
|
4503
4503
|
process.stderr.write(
|
|
4504
4504
|
`[exed] License re-check timer started (every ${LICENSE_RECHECK_INTERVAL_MS / 6e4}m, throttled by cache freshness)
|
|
@@ -4507,7 +4507,7 @@ async function startMcpHttpServer() {
|
|
|
4507
4507
|
let _cachedWrapTelemetry = null;
|
|
4508
4508
|
async function getWrapTelemetry() {
|
|
4509
4509
|
if (!_cachedWrapTelemetry) {
|
|
4510
|
-
const { wrapServerWithTelemetry } = await import("../tool-telemetry-
|
|
4510
|
+
const { wrapServerWithTelemetry } = await import("../tool-telemetry-I3SEU5M5.js");
|
|
4511
4511
|
_cachedWrapTelemetry = wrapServerWithTelemetry;
|
|
4512
4512
|
}
|
|
4513
4513
|
return _cachedWrapTelemetry;
|
|
@@ -4579,7 +4579,7 @@ async function startMcpHttpServer() {
|
|
|
4579
4579
|
const expectedBuf = Buffer.from(_daemonToken);
|
|
4580
4580
|
if (tokenBuf.length === expectedBuf.length && timingSafeEqual(tokenBuf, expectedBuf)) return true;
|
|
4581
4581
|
try {
|
|
4582
|
-
const { verifyAccessToken } = await import("../oauth-server-
|
|
4582
|
+
const { verifyAccessToken } = await import("../oauth-server-CBGEWD6H.js");
|
|
4583
4583
|
const result = verifyAccessToken(token);
|
|
4584
4584
|
return result.valid;
|
|
4585
4585
|
} catch {
|
|
@@ -4842,7 +4842,7 @@ async function startMcpHttpServer() {
|
|
|
4842
4842
|
return;
|
|
4843
4843
|
}
|
|
4844
4844
|
try {
|
|
4845
|
-
const { handleOAuthRoute } = await import("../oauth-server-
|
|
4845
|
+
const { handleOAuthRoute } = await import("../oauth-server-CBGEWD6H.js");
|
|
4846
4846
|
const handled = await handleOAuthRoute(req, res, url, MCP_HTTP_PORT, _daemonToken);
|
|
4847
4847
|
if (handled) return;
|
|
4848
4848
|
} catch (err) {
|
|
@@ -4970,7 +4970,7 @@ async function startMcpHttpServer() {
|
|
|
4970
4970
|
contextPct: body.context_pct
|
|
4971
4971
|
});
|
|
4972
4972
|
if (body.context_pct !== void 0 && body.context_pct > 70) {
|
|
4973
|
-
void import("../orchestration-events-
|
|
4973
|
+
void import("../orchestration-events-2Z2BMMA5.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
4974
4974
|
recordOE({
|
|
4975
4975
|
eventType: "context.pressure",
|
|
4976
4976
|
source: "exe-daemon.heartbeat",
|
|
@@ -5066,7 +5066,7 @@ async function startMcpHttpServer() {
|
|
|
5066
5066
|
let sessionHint = req.headers["x-exe-session-name"] || req.headers["x-exe-session"] || "";
|
|
5067
5067
|
if (sessionHint) {
|
|
5068
5068
|
try {
|
|
5069
|
-
const { sanitizeSessionHintHeader, rejectForgedSessionHint } = await import("../mcp-session-identity-
|
|
5069
|
+
const { sanitizeSessionHintHeader, rejectForgedSessionHint } = await import("../mcp-session-identity-JHAGRB7B.js");
|
|
5070
5070
|
const rawHint = sessionHint;
|
|
5071
5071
|
sessionHint = sanitizeSessionHintHeader(sessionHint);
|
|
5072
5072
|
if (!sessionHint) {
|
|
@@ -5105,7 +5105,7 @@ async function startMcpHttpServer() {
|
|
|
5105
5105
|
try {
|
|
5106
5106
|
const liveSessions = await getTmuxSessionsAsync();
|
|
5107
5107
|
const paneCommands = await getPaneCommandsAsync();
|
|
5108
|
-
const { resolveMcpSessionHint } = await import("../mcp-session-identity-
|
|
5108
|
+
const { resolveMcpSessionHint } = await import("../mcp-session-identity-JHAGRB7B.js");
|
|
5109
5109
|
let registrySessions = [];
|
|
5110
5110
|
try {
|
|
5111
5111
|
const { listSessions: listRegistrySessions } = await import("./session-registry.js");
|
|
@@ -5242,7 +5242,7 @@ async function startMcpHttpServer() {
|
|
|
5242
5242
|
bindLive = await getTmuxSessionsAsync();
|
|
5243
5243
|
} catch {
|
|
5244
5244
|
}
|
|
5245
|
-
const { isLauncherCorroboratedIdentity } = await import("../mcp-session-identity-
|
|
5245
|
+
const { isLauncherCorroboratedIdentity } = await import("../mcp-session-identity-JHAGRB7B.js");
|
|
5246
5246
|
const corroborated = isLauncherCorroboratedIdentity({
|
|
5247
5247
|
agentId,
|
|
5248
5248
|
registrySessions: bindRegistry,
|
|
@@ -5484,7 +5484,7 @@ async function startMcpHttpServer() {
|
|
|
5484
5484
|
}
|
|
5485
5485
|
}
|
|
5486
5486
|
try {
|
|
5487
|
-
const { reconcileHintWithRegistryIdentity } = await import("../mcp-session-identity-
|
|
5487
|
+
const { reconcileHintWithRegistryIdentity } = await import("../mcp-session-identity-JHAGRB7B.js");
|
|
5488
5488
|
const { listSessions: listRegistrySessions } = await import("./session-registry.js");
|
|
5489
5489
|
const recon = reconcileHintWithRegistryIdentity({
|
|
5490
5490
|
agentId,
|
|
@@ -5744,9 +5744,9 @@ async function ensureStoreForPolling() {
|
|
|
5744
5744
|
await initDatabase({ dbPath: config.dbPath, encryptionKey: masterKey.toString("hex") });
|
|
5745
5745
|
await ensureSchema();
|
|
5746
5746
|
try {
|
|
5747
|
-
const { isLedgerEnabled } = await import("../notification-ledger-
|
|
5747
|
+
const { isLedgerEnabled } = await import("../notification-ledger-O6KQYYGK.js");
|
|
5748
5748
|
if (isLedgerEnabled()) {
|
|
5749
|
-
const { bumpBootGeneration } = await import("../boot-generation-
|
|
5749
|
+
const { bumpBootGeneration } = await import("../boot-generation-RPJVFAQJ.js");
|
|
5750
5750
|
const { setDaemonReadyGeneration } = await import("../daemon-ready-signal-PNDMVKPJ.js");
|
|
5751
5751
|
const generation = await bumpBootGeneration();
|
|
5752
5752
|
setDaemonReadyGeneration(generation);
|
|
@@ -5760,10 +5760,15 @@ async function ensureStoreForPolling() {
|
|
|
5760
5760
|
try {
|
|
5761
5761
|
const { spawnDbReadWorker } = await import("./db-read-worker-client.js");
|
|
5762
5762
|
spawnDbReadWorker(config.dbPath, masterKey.toString("hex"));
|
|
5763
|
+
} catch (e) {
|
|
5764
|
+
process.stderr.write(`[exed] DB read worker spawn failed (non-fatal): ${e instanceof Error ? e.message : String(e)}
|
|
5765
|
+
`);
|
|
5766
|
+
}
|
|
5767
|
+
try {
|
|
5763
5768
|
const { registerBackupOffload } = await import("./db-backup.js");
|
|
5764
5769
|
registerBackupOffload({ dbPath: config.dbPath, encryptionKeyHex: masterKey.toString("hex") });
|
|
5765
5770
|
} catch (e) {
|
|
5766
|
-
process.stderr.write(`[exed]
|
|
5771
|
+
process.stderr.write(`[exed] backup verify offload registration FAILED \u2014 backup source checks will run on the main thread: ${e instanceof Error ? e.message : String(e)}
|
|
5767
5772
|
`);
|
|
5768
5773
|
}
|
|
5769
5774
|
try {
|
|
@@ -5787,13 +5792,13 @@ async function ensureStoreForPolling() {
|
|
|
5787
5792
|
}
|
|
5788
5793
|
}
|
|
5789
5794
|
async function startReviewPolling() {
|
|
5790
|
-
const polling = await import("../review-polling-
|
|
5795
|
+
const polling = await import("../review-polling-ED33YLFT.js");
|
|
5791
5796
|
const state = {
|
|
5792
5797
|
lastIntercomSent: /* @__PURE__ */ new Map(),
|
|
5793
5798
|
lastNudgeSent: /* @__PURE__ */ new Map(),
|
|
5794
5799
|
intervalMs: REVIEW_POLL_INTERVAL_MS
|
|
5795
5800
|
};
|
|
5796
|
-
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-
|
|
5801
|
+
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
5797
5802
|
const nudgeState = loadNudgeState();
|
|
5798
5803
|
const tick = async () => traceDaemonTimer("review_polling", async () => {
|
|
5799
5804
|
fired("review_polling");
|
|
@@ -5801,7 +5806,7 @@ async function startReviewPolling() {
|
|
|
5801
5806
|
try {
|
|
5802
5807
|
const { getClient } = await import("./database.js");
|
|
5803
5808
|
const deps = polling.createRealDeps(getClient);
|
|
5804
|
-
const { strictSessionScopeFilter } = await import("../task-scope-
|
|
5809
|
+
const { strictSessionScopeFilter } = await import("../task-scope-NLKUVCP5.js");
|
|
5805
5810
|
const { getCoordinatorName, DEFAULT_COORDINATOR_TEMPLATE_NAME } = await import("./employees.js");
|
|
5806
5811
|
deps.findOrphanedDoneTasks = async (sessionScope) => {
|
|
5807
5812
|
const coordinatorName = getCoordinatorName();
|
|
@@ -5821,7 +5826,7 @@ async function startReviewPolling() {
|
|
|
5821
5826
|
deps.findTieredReviewCandidates = async (sessionScope) => {
|
|
5822
5827
|
let project = null;
|
|
5823
5828
|
try {
|
|
5824
|
-
const { getProjectName } = await import("../project-name-
|
|
5829
|
+
const { getProjectName } = await import("../project-name-PGJGUEJY.js");
|
|
5825
5830
|
project = getProjectName() || null;
|
|
5826
5831
|
} catch {
|
|
5827
5832
|
project = null;
|
|
@@ -5880,7 +5885,7 @@ function startSessionTTL() {
|
|
|
5880
5885
|
if (!await ensureStoreForPolling()) return;
|
|
5881
5886
|
if (inPostRestartDestructiveGrace("session_ttl")) return;
|
|
5882
5887
|
const { getClient } = await import("./database.js");
|
|
5883
|
-
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-
|
|
5888
|
+
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
5884
5889
|
const deps = createSessionTTLRealDeps(getClient);
|
|
5885
5890
|
const killed = await checkSessionTTL(deps, _wedgeObservations);
|
|
5886
5891
|
if (killed.length > 0) acted("session_ttl");
|
|
@@ -5940,7 +5945,7 @@ function startIdleKill() {
|
|
|
5940
5945
|
const cfg = await getCachedConfig();
|
|
5941
5946
|
if (!cfg) return;
|
|
5942
5947
|
const { getClient } = await import("./database.js");
|
|
5943
|
-
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-
|
|
5948
|
+
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
5944
5949
|
const { sessions: liveSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
|
|
5945
5950
|
const realDeps = createIdleKillRealDeps(
|
|
5946
5951
|
getClient,
|
|
@@ -6376,7 +6381,7 @@ function startSkillRefinement() {
|
|
|
6376
6381
|
if (!shouldRunHeavyJob("skill_refinement")) return;
|
|
6377
6382
|
try {
|
|
6378
6383
|
if (!await ensureStoreForPolling()) return;
|
|
6379
|
-
const { runSkillRefinement } = await import("../skill-refinement-
|
|
6384
|
+
const { runSkillRefinement } = await import("../skill-refinement-UHD4E6GV.js");
|
|
6380
6385
|
const result = await runSkillRefinement();
|
|
6381
6386
|
if (result.reviewed > 0) {
|
|
6382
6387
|
acted("skill_refinement");
|
|
@@ -6441,7 +6446,7 @@ function startStalledDispatchSweep() {
|
|
|
6441
6446
|
});
|
|
6442
6447
|
const { notifications, nextState } = decideStalledDispatchEscalations(intents, previousState);
|
|
6443
6448
|
if (notifications.length > 0 && _storeInitialized) {
|
|
6444
|
-
const { writeNotification } = await import("../notifications-
|
|
6449
|
+
const { writeNotification } = await import("../notifications-6FCQCJ4P.js");
|
|
6445
6450
|
for (const note of notifications) {
|
|
6446
6451
|
try {
|
|
6447
6452
|
await writeNotification({
|
|
@@ -6491,7 +6496,7 @@ function startStaleBranchSweep() {
|
|
|
6491
6496
|
fired("stale_branch_sweep");
|
|
6492
6497
|
if (sweepStarved("stale_branch_sweep")) return;
|
|
6493
6498
|
try {
|
|
6494
|
-
const { discoverRepoPathsAsync } = await import("../worktree-sweep-
|
|
6499
|
+
const { discoverRepoPathsAsync } = await import("../worktree-sweep-34MXJ7S6.js");
|
|
6495
6500
|
const { scanUnmergedBranchesCached } = await import("../branch-hygiene-DDXXI6ZA.js");
|
|
6496
6501
|
const { runBudgetedSweep } = await import("../sweep-budget-YGLCNXZZ.js");
|
|
6497
6502
|
const today = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
@@ -6524,7 +6529,7 @@ function startStaleBranchSweep() {
|
|
|
6524
6529
|
if (!_storeInitialized) return;
|
|
6525
6530
|
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("; ");
|
|
6526
6531
|
try {
|
|
6527
|
-
const { writeNotification } = await import("../notifications-
|
|
6532
|
+
const { writeNotification } = await import("../notifications-6FCQCJ4P.js");
|
|
6528
6533
|
await writeNotification({
|
|
6529
6534
|
agentId: "exe",
|
|
6530
6535
|
agentRole: "system",
|
|
@@ -6565,7 +6570,7 @@ function startBugLandedReconcile() {
|
|
|
6565
6570
|
fired("bug_landed_reconcile");
|
|
6566
6571
|
if (sweepStarved("bug_landed_reconcile")) return;
|
|
6567
6572
|
try {
|
|
6568
|
-
const { reconcileLandedBugs } = await import("../bug-landed-reconciler-
|
|
6573
|
+
const { reconcileLandedBugs } = await import("../bug-landed-reconciler-FN5KPBRK.js");
|
|
6569
6574
|
const result = await reconcileLandedBugs();
|
|
6570
6575
|
const { reposScanned, reposErrored, prsScanned, matched, reconciled, skipped, errored } = result.summary;
|
|
6571
6576
|
process.stderr.write(
|
|
@@ -6587,12 +6592,12 @@ function startBugLandedReconcile() {
|
|
|
6587
6592
|
}
|
|
6588
6593
|
async function maybeScheduleBugLandedReconcile() {
|
|
6589
6594
|
try {
|
|
6590
|
-
const { hasSupportAdminAccess } = await import("../support-bug-actions-
|
|
6595
|
+
const { hasSupportAdminAccess } = await import("../support-bug-actions-RU6WZ3UV.js");
|
|
6591
6596
|
if (!await hasSupportAdminAccess()) {
|
|
6592
6597
|
process.stderr.write("[exed] Bug-landed reconcile: no AskExe support admin token configured \u2014 skipping (customer install)\n");
|
|
6593
6598
|
return;
|
|
6594
6599
|
}
|
|
6595
|
-
const { isGhAvailableAndAuthenticated } = await import("../bug-landed-reconciler-
|
|
6600
|
+
const { isGhAvailableAndAuthenticated } = await import("../bug-landed-reconciler-FN5KPBRK.js");
|
|
6596
6601
|
if (!await isGhAvailableAndAuthenticated()) {
|
|
6597
6602
|
process.stderr.write("[exed] Bug-landed reconcile: gh CLI not available/authenticated \u2014 skipping\n");
|
|
6598
6603
|
return;
|
|
@@ -6631,7 +6636,7 @@ function startWorkStateHeartbeat() {
|
|
|
6631
6636
|
const { getClient } = await import("./database.js");
|
|
6632
6637
|
const { listSessions } = await import("./session-registry.js");
|
|
6633
6638
|
const { isCoordinatorName } = await import("./employees.js");
|
|
6634
|
-
const { runWorkStateTick } = await import("../work-state-heartbeat-
|
|
6639
|
+
const { runWorkStateTick } = await import("../work-state-heartbeat-7IA2DZ2E.js");
|
|
6635
6640
|
let liveTmux = null;
|
|
6636
6641
|
const loadLiveTmux = async () => {
|
|
6637
6642
|
if (!liveTmux) liveTmux = await listTmuxSessionNamesAsync();
|
|
@@ -6697,7 +6702,7 @@ function startGraphExtraction() {
|
|
|
6697
6702
|
if (!await ensureStoreForPolling()) return;
|
|
6698
6703
|
const { getClient } = await import("./database.js");
|
|
6699
6704
|
const client = getClient();
|
|
6700
|
-
const { extractBatch } = await import("../graph-rag-
|
|
6705
|
+
const { extractBatch } = await import("../graph-rag-UWOTK4AQ.js");
|
|
6701
6706
|
const result = await extractBatch(client, 50, config.selfQueryModel);
|
|
6702
6707
|
if (result.processed > 0) {
|
|
6703
6708
|
acted("graph_extraction");
|
|
@@ -7018,7 +7023,7 @@ async function refreshAgentData() {
|
|
|
7018
7023
|
const decision = evaluateSpendCapAlert(_lastSpendCapLevel, capStatus);
|
|
7019
7024
|
_lastSpendCapLevel = decision.level;
|
|
7020
7025
|
if (decision.shouldAlert && decision.summary) {
|
|
7021
|
-
const { writeNotification } = await import("../notifications-
|
|
7026
|
+
const { writeNotification } = await import("../notifications-6FCQCJ4P.js");
|
|
7022
7027
|
await writeNotification({
|
|
7023
7028
|
agentId: "system",
|
|
7024
7029
|
agentRole: "system",
|
|
@@ -7140,7 +7145,7 @@ function startReflectionSweep() {
|
|
|
7140
7145
|
);
|
|
7141
7146
|
let runReflection;
|
|
7142
7147
|
try {
|
|
7143
|
-
({ runReflection } = await import("../memory-reflection-
|
|
7148
|
+
({ runReflection } = await import("../memory-reflection-EXNHRZL7.js"));
|
|
7144
7149
|
} catch (importErr) {
|
|
7145
7150
|
_reflectionImportFailed = true;
|
|
7146
7151
|
process.stderr.write(`[exed] Reflection module unavailable (stale chunk hash?) \u2014 disabled until daemon restart: ${importErr instanceof Error ? importErr.message : String(importErr)}
|
|
@@ -7181,7 +7186,7 @@ function startReflectionSweep() {
|
|
|
7181
7186
|
if (memories > 100 && cards < memories * 0.1) {
|
|
7182
7187
|
process.stderr.write(`[exed] Memory cards sparse (${cards} cards / ${memories} memories) \u2014 running backfill...
|
|
7183
7188
|
`);
|
|
7184
|
-
const { insertMemoryCardsForBatch } = await import("../memory-cards-
|
|
7189
|
+
const { insertMemoryCardsForBatch } = await import("../memory-cards-O377ETAM.js");
|
|
7185
7190
|
const batchSize = 500;
|
|
7186
7191
|
let offset = 0;
|
|
7187
7192
|
let totalCards = 0;
|
|
@@ -7262,7 +7267,7 @@ function startDatabaseBackup() {
|
|
|
7262
7267
|
`
|
|
7263
7268
|
);
|
|
7264
7269
|
try {
|
|
7265
|
-
const { maybeVerifyDailyBackup } = await import("../backup-verify-
|
|
7270
|
+
const { maybeVerifyDailyBackup } = await import("../backup-verify-AG54CYGR.js");
|
|
7266
7271
|
const verdict = await maybeVerifyDailyBackup(backupPath);
|
|
7267
7272
|
if (verdict && !verdict.ok) {
|
|
7268
7273
|
process.stderr.write(
|
|
@@ -7338,7 +7343,7 @@ function startSessionEventsRetention() {
|
|
|
7338
7343
|
fired("session_events_retention");
|
|
7339
7344
|
if (!await ensureStoreForPolling()) return;
|
|
7340
7345
|
try {
|
|
7341
|
-
const { DEFAULT_SESSION_EVENTS_RETENTION_DAYS, sessionEventsRetentionMode } = await import("../session-events-
|
|
7346
|
+
const { DEFAULT_SESSION_EVENTS_RETENTION_DAYS, sessionEventsRetentionMode } = await import("../session-events-7IJGTBVH.js");
|
|
7342
7347
|
const days = SESSION_EVENTS_RETENTION_DAYS ?? DEFAULT_SESSION_EVENTS_RETENTION_DAYS;
|
|
7343
7348
|
const decision = sessionEventsRetentionMode(isWriteWorkerEnabled(), isDbWriteWorkerReady());
|
|
7344
7349
|
if (decision.mode === "skip") {
|
|
@@ -7390,7 +7395,7 @@ function startConversationsRetention() {
|
|
|
7390
7395
|
if (!await ensureStoreForPolling()) return;
|
|
7391
7396
|
try {
|
|
7392
7397
|
const { DEFAULT_CONVERSATIONS_RETENTION_DAYS } = await import("../conversations-retention-XTBFJBUM.js");
|
|
7393
|
-
const { sessionEventsRetentionMode } = await import("../session-events-
|
|
7398
|
+
const { sessionEventsRetentionMode } = await import("../session-events-7IJGTBVH.js");
|
|
7394
7399
|
const days = CONVERSATIONS_RETENTION_DAYS ?? DEFAULT_CONVERSATIONS_RETENTION_DAYS;
|
|
7395
7400
|
const decision = sessionEventsRetentionMode(isWriteWorkerEnabled(), isDbWriteWorkerReady());
|
|
7396
7401
|
if (decision.mode === "skip") {
|
|
@@ -7439,7 +7444,7 @@ function startIntercomQueueDrain() {
|
|
|
7439
7444
|
const tick = async () => traceDaemonTimer("intercom_queue_drain", async () => {
|
|
7440
7445
|
fired("intercom_queue_drain");
|
|
7441
7446
|
try {
|
|
7442
|
-
const { drainQueueAsync, readQueue } = await import("../intercom-queue-
|
|
7447
|
+
const { drainQueueAsync, readQueue } = await import("../intercom-queue-ZJ3MNULM.js");
|
|
7443
7448
|
const {
|
|
7444
7449
|
sendIntercomAsync: centralSendIntercomAsync,
|
|
7445
7450
|
countScopedPendingReviews,
|
|
@@ -7571,7 +7576,7 @@ function startLedgerDrain() {
|
|
|
7571
7576
|
const tick = async () => traceDaemonTimer("ledger_drain", async () => {
|
|
7572
7577
|
fired("ledger_drain");
|
|
7573
7578
|
try {
|
|
7574
|
-
const { isLedgerEnabled, drainLedger } = await import("../notification-ledger-
|
|
7579
|
+
const { isLedgerEnabled, drainLedger } = await import("../notification-ledger-O6KQYYGK.js");
|
|
7575
7580
|
if (!isLedgerEnabled()) return;
|
|
7576
7581
|
const result = await drainLedger({
|
|
7577
7582
|
// Shadow "would-deliver": idle target = would-deliver, busy = retry.
|
|
@@ -7611,7 +7616,7 @@ function startOrphanReaper() {
|
|
|
7611
7616
|
fired("orphan_reaper");
|
|
7612
7617
|
if (sweepStarved("orphan_reaper")) return;
|
|
7613
7618
|
try {
|
|
7614
|
-
const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-
|
|
7619
|
+
const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
7615
7620
|
const deps = await createOrphanReaperRealDepsAsync();
|
|
7616
7621
|
const reaped = await reapOrphanedMcpProcesses(deps);
|
|
7617
7622
|
if (reaped.length > 0) acted("orphan_reaper");
|
|
@@ -7637,7 +7642,7 @@ function startZombieAgentReaper() {
|
|
|
7637
7642
|
fired("zombie_agent_reaper");
|
|
7638
7643
|
if (sweepStarved("zombie_agent_reaper")) return;
|
|
7639
7644
|
try {
|
|
7640
|
-
const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-
|
|
7645
|
+
const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
7641
7646
|
const deps = await createZombieAgentReaperRealDepsAsync();
|
|
7642
7647
|
const reaped = reapZombieAgentProcesses(deps);
|
|
7643
7648
|
if (reaped.length > 0) acted("zombie_agent_reaper");
|
|
@@ -7661,7 +7666,7 @@ async function startDaemonMemoryPressureWatchdog() {
|
|
|
7661
7666
|
try {
|
|
7662
7667
|
const cfg = await getCachedConfig();
|
|
7663
7668
|
if (!cfg) return;
|
|
7664
|
-
const { startMemoryPressureWatchdog: startWatchdog, MEMORY_PRESSURE_WATCHDOG_DEFAULTS } = await import("../memory-pressure-watchdog-
|
|
7669
|
+
const { startMemoryPressureWatchdog: startWatchdog, MEMORY_PRESSURE_WATCHDOG_DEFAULTS } = await import("../memory-pressure-watchdog-NGXTI4HR.js");
|
|
7665
7670
|
const watchdogCfg = {
|
|
7666
7671
|
...MEMORY_PRESSURE_WATCHDOG_DEFAULTS,
|
|
7667
7672
|
...cfg.memoryPressureWatchdog ?? {}
|
|
@@ -7693,7 +7698,7 @@ function startWorktreeReaper() {
|
|
|
7693
7698
|
fired("worktree_reaper");
|
|
7694
7699
|
if (sweepStarved("worktree_reaper")) return;
|
|
7695
7700
|
try {
|
|
7696
|
-
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-
|
|
7701
|
+
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
7697
7702
|
const deps = await createWorktreeReaperRealDeps();
|
|
7698
7703
|
const result = await reapOrphanedWorktrees(deps);
|
|
7699
7704
|
if (result.pruned.length > 0) {
|
|
@@ -7737,8 +7742,8 @@ function startWorktreeReaper() {
|
|
|
7737
7742
|
}
|
|
7738
7743
|
return;
|
|
7739
7744
|
}
|
|
7740
|
-
const { cleanupAgentWorktree } = await import("../worktree-sweep-
|
|
7741
|
-
const { getMainRepoRootAsync } = await import("../worktree-
|
|
7745
|
+
const { cleanupAgentWorktree } = await import("../worktree-sweep-34MXJ7S6.js");
|
|
7746
|
+
const { getMainRepoRootAsync } = await import("../worktree-7V4ZMF3D.js");
|
|
7742
7747
|
const repoRoot = await getMainRepoRootAsync(signal.worktreePath);
|
|
7743
7748
|
if (repoRoot && signal.agentId) {
|
|
7744
7749
|
const notes = await cleanupAgentWorktree(repoRoot, signal.agentId);
|
|
@@ -7775,7 +7780,7 @@ function startAutoWake() {
|
|
|
7775
7780
|
if (!await ensureStoreForPolling()) return;
|
|
7776
7781
|
try {
|
|
7777
7782
|
const { getClient } = await import("./database.js");
|
|
7778
|
-
const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-
|
|
7783
|
+
const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
7779
7784
|
const deps = createAutoWakeRealDeps(getClient, process.cwd(), getTmuxSessionsAsync);
|
|
7780
7785
|
const woken = await pollOrphanedTasks(deps);
|
|
7781
7786
|
if (woken.length > 0) acted("auto_wake");
|
|
@@ -7850,7 +7855,7 @@ function startAutoWake() {
|
|
|
7850
7855
|
if (age > 60 * 60 * 1e3) {
|
|
7851
7856
|
try {
|
|
7852
7857
|
await unlink(signalPath);
|
|
7853
|
-
void import("../orchestration-events-
|
|
7858
|
+
void import("../orchestration-events-2Z2BMMA5.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
7854
7859
|
recordOE({ eventType: "signal.stale", source: "exe-daemon.autoWake", severity: "warn", payload: { file, ageMinutes: Math.round(age / 6e4) } });
|
|
7855
7860
|
}).catch(() => {
|
|
7856
7861
|
});
|
|
@@ -7999,7 +8004,7 @@ function startStuckTaskRelease() {
|
|
|
7999
8004
|
createStaleClaimRealDeps,
|
|
8000
8005
|
escalateStuckBlockedTasks,
|
|
8001
8006
|
createStuckBlockedRealDeps
|
|
8002
|
-
} = await import("../daemon-orchestration-
|
|
8007
|
+
} = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
8003
8008
|
const { runBudgetedSweep } = await import("../sweep-budget-YGLCNXZZ.js");
|
|
8004
8009
|
const steps = [
|
|
8005
8010
|
async () => {
|
|
@@ -8264,12 +8269,12 @@ function startTaskEnforcementScanner() {
|
|
|
8264
8269
|
const tick = async () => traceDaemonTimer("task_enforcement", async () => {
|
|
8265
8270
|
fired("task_enforcement");
|
|
8266
8271
|
try {
|
|
8267
|
-
const { runTaskEnforcementTick } = await import("../task-enforcement-
|
|
8272
|
+
const { runTaskEnforcementTick } = await import("../task-enforcement-LVAS55AR.js");
|
|
8268
8273
|
const { getTransport } = await import("./transport.js");
|
|
8269
8274
|
const { loadAgentConfig } = await import("./agent-config.js");
|
|
8270
8275
|
const { getClient } = await import("./database.js");
|
|
8271
8276
|
const { loadEmployeesSync } = await import("./employees.js");
|
|
8272
|
-
const { sessionScopeFilter } = await import("../task-scope-
|
|
8277
|
+
const { sessionScopeFilter } = await import("../task-scope-NLKUVCP5.js");
|
|
8273
8278
|
const transport = getTransport();
|
|
8274
8279
|
const { sessions: allSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
|
|
8275
8280
|
await yieldToEventLoop();
|
|
@@ -8280,10 +8285,10 @@ function startTaskEnforcementScanner() {
|
|
|
8280
8285
|
sendKeysLiteral: transport.sendKeysLiteral?.bind(transport),
|
|
8281
8286
|
isAlive: (session) => aliveSessions.has(session)
|
|
8282
8287
|
};
|
|
8283
|
-
const { checkAutoWakeGates } = await import("../daemon-orchestration-
|
|
8288
|
+
const { checkAutoWakeGates } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
8284
8289
|
const { ensureEmployeeAsync, employeeSessionName, sendIntercomAsync } = await import("./tmux-routing.js");
|
|
8285
8290
|
const { shouldAutoInstance } = await import("./employees.js");
|
|
8286
|
-
const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-
|
|
8291
|
+
const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-2Z2BMMA5.js");
|
|
8287
8292
|
const projectDir = process.cwd();
|
|
8288
8293
|
await runTaskEnforcementTick({
|
|
8289
8294
|
transport: enforcementTransport,
|
|
@@ -8613,7 +8618,7 @@ async function sweepExpiredTracesFromDaemonTimer() {
|
|
|
8613
8618
|
const memoryIds = idsResult.rows.map((r) => String(r.id)).filter(Boolean);
|
|
8614
8619
|
if (memoryIds.length === 0) return 0;
|
|
8615
8620
|
const { getClient } = await import("./database.js");
|
|
8616
|
-
const { cleanupGraphLinksForMemories, cleanupCardsForMemories } = await import("../graph-rag-
|
|
8621
|
+
const { cleanupGraphLinksForMemories, cleanupCardsForMemories } = await import("../graph-rag-UWOTK4AQ.js");
|
|
8617
8622
|
const client = getClient();
|
|
8618
8623
|
await cleanupGraphLinksForMemories(client, memoryIds);
|
|
8619
8624
|
await cleanupCardsForMemories(client, memoryIds);
|
|
@@ -8751,7 +8756,7 @@ function startHookRegistrationWatch() {
|
|
|
8751
8756
|
process.stderr.write(`[exed] [HOOKS DEAD] ${mod.formatHookLivenessFailure(report)}
|
|
8752
8757
|
`);
|
|
8753
8758
|
try {
|
|
8754
|
-
const { pushNotifyAsync: pushNotifyAsync2 } = await import("../push-notifications-
|
|
8759
|
+
const { pushNotifyAsync: pushNotifyAsync2 } = await import("../push-notifications-QW4BWRC7.js");
|
|
8755
8760
|
pushNotifyAsync2({
|
|
8756
8761
|
event: "hooks_dead",
|
|
8757
8762
|
title: `${report.broken.length} exe-os hook(s) cannot run`,
|
|
@@ -9425,7 +9430,7 @@ function startEventLoopLagDetector() {
|
|
|
9425
9430
|
setLastStallClass("blocked", lag);
|
|
9426
9431
|
process.stderr.write(msg + "\n");
|
|
9427
9432
|
logDaemonHealth({ event: "event_loop_blocked", pid: process.pid, message: msg, data: { lagMs: lag } });
|
|
9428
|
-
void import("../orchestration-events-
|
|
9433
|
+
void import("../orchestration-events-2Z2BMMA5.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
9429
9434
|
recordOE({ eventType: "daemon.event_loop_blocked", source: "exe-daemon.lagDetector", severity: "error", durationMs: lag });
|
|
9430
9435
|
}).catch(() => {
|
|
9431
9436
|
});
|
|
@@ -9630,7 +9635,7 @@ function startTaskFileResync() {
|
|
|
9630
9635
|
});
|
|
9631
9636
|
if (Number(res.rowsAffected ?? 0) > 0) {
|
|
9632
9637
|
synced++;
|
|
9633
|
-
void import("../orchestration-events-
|
|
9638
|
+
void import("../orchestration-events-2Z2BMMA5.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
9634
9639
|
recordOE({
|
|
9635
9640
|
eventType: "task_file.resynced",
|
|
9636
9641
|
source: "exe-daemon.taskFileResync",
|
|
@@ -9664,7 +9669,7 @@ function startTaskGroupBarriers() {
|
|
|
9664
9669
|
fired("task_group_barriers");
|
|
9665
9670
|
if (!await ensureStoreForPolling()) return;
|
|
9666
9671
|
try {
|
|
9667
|
-
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-
|
|
9672
|
+
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
9668
9673
|
const firedCount = await pollTaskGroupBarriers();
|
|
9669
9674
|
if (firedCount > 0) {
|
|
9670
9675
|
acted("task_group_barriers");
|
|
@@ -9686,7 +9691,7 @@ function startCheckpointGc() {
|
|
|
9686
9691
|
fired("checkpoint_gc");
|
|
9687
9692
|
if (!await ensureStoreForPolling()) return;
|
|
9688
9693
|
try {
|
|
9689
|
-
const { gcStaleCheckpoints } = await import("../daemon-orchestration-
|
|
9694
|
+
const { gcStaleCheckpoints } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
9690
9695
|
const cleared = await gcStaleCheckpoints();
|
|
9691
9696
|
if (cleared > 0) {
|
|
9692
9697
|
acted("checkpoint_gc");
|
|
@@ -9726,14 +9731,14 @@ function startDispatchAckCleanup() {
|
|
|
9726
9731
|
function startProjectionWorkerDeferred() {
|
|
9727
9732
|
setTimeout(async () => {
|
|
9728
9733
|
try {
|
|
9729
|
-
const { startProjectionWorker } = await import("../projection-worker-
|
|
9734
|
+
const { startProjectionWorker } = await import("../projection-worker-3GEVFPAI.js");
|
|
9730
9735
|
startProjectionWorker();
|
|
9731
9736
|
} catch {
|
|
9732
9737
|
}
|
|
9733
9738
|
}, 2e4);
|
|
9734
9739
|
}
|
|
9735
9740
|
async function startToolTelemetry() {
|
|
9736
|
-
const { startToolTelemetryFlush } = await import("../tool-telemetry-
|
|
9741
|
+
const { startToolTelemetryFlush } = await import("../tool-telemetry-I3SEU5M5.js");
|
|
9737
9742
|
startToolTelemetryFlush();
|
|
9738
9743
|
process.stderr.write("[exed] Tool telemetry started (flush every 5m)\n");
|
|
9739
9744
|
}
|
|
@@ -9906,7 +9911,7 @@ function startLocalFirstTimers() {
|
|
|
9906
9911
|
fired("orphan_task_cleanup");
|
|
9907
9912
|
try {
|
|
9908
9913
|
if (!await ensureStoreForPolling()) return;
|
|
9909
|
-
const { cleanOrphanedTaskFiles } = await import("../tasks-crud-
|
|
9914
|
+
const { cleanOrphanedTaskFiles } = await import("../tasks-crud-NQDPLHNZ.js");
|
|
9910
9915
|
const count = await cleanOrphanedTaskFiles();
|
|
9911
9916
|
if (count > 0) {
|
|
9912
9917
|
acted("orphan_task_cleanup");
|
|
@@ -9922,7 +9927,7 @@ function startLocalFirstTimers() {
|
|
|
9922
9927
|
fired("task_file_consistency");
|
|
9923
9928
|
try {
|
|
9924
9929
|
if (!await ensureStoreForPolling()) return;
|
|
9925
|
-
const { checkTaskFileConsistency } = await import("../tasks-crud-
|
|
9930
|
+
const { checkTaskFileConsistency } = await import("../tasks-crud-NQDPLHNZ.js");
|
|
9926
9931
|
const mismatches = await checkTaskFileConsistency();
|
|
9927
9932
|
if (mismatches > 0) {
|
|
9928
9933
|
acted("task_file_consistency");
|
|
@@ -9941,7 +9946,7 @@ function startLocalFirstTimers() {
|
|
|
9941
9946
|
const TELEMETRY_DAILY_MS = 24 * 60 * 60 * 1e3;
|
|
9942
9947
|
const telemetryDaily = async () => {
|
|
9943
9948
|
try {
|
|
9944
|
-
const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-
|
|
9949
|
+
const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-6DR6AL3V.js");
|
|
9945
9950
|
if (!isTelemetryEnabled()) return;
|
|
9946
9951
|
const { upstream } = await sendTelemetry(24);
|
|
9947
9952
|
if (upstream.startsWith("sent")) {
|
|
@@ -10184,7 +10189,7 @@ try {
|
|
|
10184
10189
|
});
|
|
10185
10190
|
}
|
|
10186
10191
|
try {
|
|
10187
|
-
const { initOrgPartnerRuntime } = await import("../org-partner-runtime-
|
|
10192
|
+
const { initOrgPartnerRuntime } = await import("../org-partner-runtime-UI35IHUC.js");
|
|
10188
10193
|
await initOrgPartnerRuntime();
|
|
10189
10194
|
} catch (err) {
|
|
10190
10195
|
process.stderr.write(
|