@askexenow/exe-os 0.9.409 → 0.9.411
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deploy/stack-manifests/v0.9.json +408 -1
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-5AKPW2N7.js → active-agent-3YCLS7GB.js} +4 -4
- package/dist/{active-agent-2AMJC3SC.js → active-agent-MHWQDMML.js} +4 -4
- package/dist/agent-defs-generator-DNXMO34I.js +32 -0
- package/dist/{agentic-ontology-6RS7A7KP.js → agentic-ontology-RA6CMND6.js} +1 -1
- package/dist/{artifact-backup-6O4FNYPS.js → artifact-backup-EETHNFFP.js} +3 -3
- package/dist/{backfill-metadata-6YX6LGPJ.js → backfill-metadata-WYT257VG.js} +7 -7
- package/dist/backup-verify-AG54CYGR.js +62 -0
- package/dist/{behavior-injection-NRXTNROW.js → behavior-injection-G7GAUHGO.js} +10 -10
- package/dist/{behavior-promotion-MW7OQ72V.js → behavior-promotion-I2DIUFUR.js} +9 -9
- package/dist/{behaviors-7AOK44QK.js → behaviors-SKVKPCRW.js} +8 -8
- package/dist/bin/agentic-ontology-backfill.js +8 -8
- package/dist/bin/agentic-reflection-backfill.js +9 -9
- package/dist/bin/agentic-semantic-label.js +8 -8
- package/dist/bin/backfill-conversations.js +7 -7
- package/dist/bin/backfill-responses.js +7 -7
- package/dist/bin/backfill-vectors.js +7 -7
- package/dist/bin/bulk-sync-postgres.js +16 -16
- package/dist/bin/cc-doctor.js +8 -8
- package/dist/bin/cleanup-stale-review-tasks.js +13 -16
- package/dist/bin/cli.js +24 -24
- package/dist/bin/deferred-daemon-restart.js +97 -97
- package/dist/bin/exe-actions.js +1 -1
- package/dist/bin/exe-agent-config.js +3 -3
- package/dist/bin/exe-agent.js +12 -12
- package/dist/bin/exe-assign.js +8 -8
- package/dist/bin/exe-boot.js +35 -38
- package/dist/bin/exe-call.js +9 -9
- package/dist/bin/exe-cloud.js +26 -22
- package/dist/bin/exe-config-dump.js +3 -3
- package/dist/bin/exe-dispatch.js +14 -17
- package/dist/bin/exe-doctor.js +5 -5
- package/dist/bin/exe-export-behaviors.js +12 -12
- package/dist/bin/exe-forget.js +12 -12
- package/dist/bin/exe-gateway.js +9 -9
- package/dist/bin/exe-grant.js +6 -6
- package/dist/bin/exe-healthcheck.js +8 -8
- package/dist/bin/exe-heartbeat.js +19 -22
- package/dist/bin/exe-kill.js +18 -21
- package/dist/bin/exe-launch-agent.js +264 -110
- package/dist/bin/exe-mcp.js +5 -5
- package/dist/bin/exe-memory-reads.js +7 -7
- package/dist/bin/exe-new-employee.js +11 -11
- package/dist/bin/exe-os-mcp-proxy.js +5 -5
- package/dist/bin/exe-pending-messages.js +14 -17
- package/dist/bin/exe-pending-notifications.js +13 -16
- package/dist/bin/exe-pending-reviews.js +14 -17
- package/dist/bin/exe-rename.js +7 -7
- package/dist/bin/exe-review.js +17 -20
- package/dist/bin/exe-search.js +11 -11
- package/dist/bin/exe-session-cleanup.js +18 -21
- package/dist/bin/exe-settings.js +16 -16
- package/dist/bin/exe-start-codex.js +37 -19
- package/dist/bin/exe-start-opencode.js +35 -17
- package/dist/bin/exe-status.js +15 -18
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +5 -5
- package/dist/bin/git-sweep.js +15 -17
- package/dist/bin/graph-backfill.js +8 -8
- package/dist/bin/graph-export.js +8 -8
- package/dist/bin/hooks-cli.js +1 -1
- package/dist/bin/import-history.js +11 -11
- package/dist/bin/install.js +99 -99
- package/dist/bin/intercom-check.js +5 -5
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +5 -5
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/repair-document-chunks.js +7 -7
- package/dist/bin/scan-tasks.js +14 -17
- package/dist/bin/setup.js +2 -2
- package/dist/bin/shard-migrate.js +8 -8
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-HG6LLZLY.js → boot-generation-RPJVFAQJ.js} +4 -4
- package/dist/{boot-review-sections-STZ5EAIL.js → boot-review-sections-FOPPZTJI.js} +12 -15
- package/dist/{bug-landed-reconciler-EO72HUI2.js → bug-landed-reconciler-FN5KPBRK.js} +6 -6
- package/dist/build-info.json +3 -3
- package/dist/build-manifest.json +997 -987
- package/dist/{capability-cards-C3SMHB2E.js → capability-cards-YQWBEG7A.js} +3 -3
- package/dist/{capacity-monitor-UI553HRL.js → capacity-monitor-7SMEJHYG.js} +14 -17
- package/dist/{catchup-brief-VE2X4HML.js → catchup-brief-IBQ26LEB.js} +21 -23
- package/dist/{chunk-6ZW6BRI4.js → chunk-27NG2NTG.js} +2 -2
- package/dist/{chunk-EIM7OGTD.js → chunk-2BOLFLAU.js} +4 -2
- package/dist/{chunk-DM4VTXM6.js → chunk-2EYVXUGA.js} +4 -4
- package/dist/{chunk-LMF2YC5C.js → chunk-2YFMBXUU.js} +4 -4
- package/dist/{chunk-C426MZMD.js → chunk-2YGBJHC2.js} +3 -3
- package/dist/{chunk-6EY6OFBC.js → chunk-353XF4LU.js} +2 -2
- package/dist/{chunk-VMHZSZQJ.js → chunk-3ARSKDHC.js} +52 -0
- package/dist/{chunk-ZYOIH5NY.js → chunk-3DXAJVXE.js} +6 -6
- package/dist/{chunk-HFSFWMID.js → chunk-3GGMHSY2.js} +3 -3
- package/dist/{chunk-BM467PZN.js → chunk-3N24FV22.js} +1 -1
- package/dist/{chunk-SY53PYLU.js → chunk-47YGEM4N.js} +1 -1
- package/dist/{chunk-NVM3SKJ4.js → chunk-4CN3EE6U.js} +27 -21
- package/dist/{chunk-KIJRAZWR.js → chunk-4J77TCTX.js} +1 -1
- package/dist/{chunk-NHQWPKX7.js → chunk-54STF27U.js} +2 -2
- package/dist/{chunk-Q4GS5VW7.js → chunk-5BWDUUMH.js} +3 -3
- package/dist/{chunk-VYKXRSHU.js → chunk-5ZMNFSHV.js} +1 -1
- package/dist/{chunk-HNGAM3U4.js → chunk-657I6PUF.js} +3 -3
- package/dist/{chunk-OE7TAEOG.js → chunk-6777GNWI.js} +1 -1
- package/dist/{chunk-HYZV25LY.js → chunk-67IVG6CB.js} +1 -11
- package/dist/{chunk-5N34MMKS.js → chunk-6APOLYIZ.js} +43 -3
- package/dist/{chunk-TBYWOHTE.js → chunk-6BD6JYR2.js} +1 -1
- package/dist/{chunk-JJYAETCO.js → chunk-6DMURUBY.js} +4 -4
- package/dist/{chunk-W5XAB2SW.js → chunk-6HJF7IA3.js} +273 -206
- package/dist/{chunk-HRKN3DQE.js → chunk-6J2J3VJS.js} +11 -11
- package/dist/{chunk-XFGS22VE.js → chunk-6PXFF6IV.js} +1 -1
- package/dist/{chunk-RZ23QQCI.js → chunk-7HLAYQRG.js} +4 -4
- package/dist/{chunk-IUBCS6TA.js → chunk-7KPZQ65I.js} +3 -3
- package/dist/{chunk-SYUJCVJG.js → chunk-7PDZBPGW.js} +1 -1
- package/dist/{chunk-VLAENYCN.js → chunk-7SHU5MOD.js} +1 -1
- package/dist/{chunk-6RRPVE5O.js → chunk-A5I2GYVQ.js} +3 -3
- package/dist/{chunk-X4V5ZLNX.js → chunk-A75TAU2I.js} +628 -4
- package/dist/{chunk-SGR4ZQAV.js → chunk-BE3UETW6.js} +3 -3
- package/dist/{chunk-GG73NHZD.js → chunk-BG6RAOCJ.js} +63 -9
- package/dist/{chunk-DMYJVGQM.js → chunk-BIPTWAEO.js} +1 -1
- package/dist/{chunk-B3ISLIKE.js → chunk-BLTXAUP6.js} +2 -2
- package/dist/{chunk-G2M7WQ2M.js → chunk-CBC3JCIF.js} +1 -1
- package/dist/{chunk-FJKUFMNF.js → chunk-CFFSHBQF.js} +1 -1
- package/dist/{chunk-WYNIWJRN.js → chunk-CJ6CS2IH.js} +5 -5
- package/dist/{chunk-7LTAA55U.js → chunk-CRW63CDI.js} +1 -1
- package/dist/{chunk-BHDDDNC6.js → chunk-CWHTUNJX.js} +2 -2
- package/dist/{chunk-FZT4VQP7.js → chunk-D6NZNUVH.js} +1 -1
- package/dist/{chunk-GKPPLIMJ.js → chunk-DHLJZDWI.js} +4 -4
- package/dist/{chunk-JR3GTBV3.js → chunk-DRHTRVDT.js} +1 -1
- package/dist/{chunk-GTRB6DGI.js → chunk-DWRULKB3.js} +2 -2
- package/dist/{chunk-DIKLSAJE.js → chunk-EOWJXCYC.js} +25 -7
- package/dist/{chunk-4W7Y67B5.js → chunk-EWDBWOCX.js} +1 -1
- package/dist/{chunk-EHILXBVT.js → chunk-FPF2PJFK.js} +3 -3
- package/dist/{chunk-BPBEJD7U.js → chunk-FSXMKIDO.js} +1 -1
- package/dist/{chunk-E2Z3F26R.js → chunk-FUDXITKX.js} +1 -1
- package/dist/{chunk-SFGFNJBR.js → chunk-FYV2CTKP.js} +1 -1
- package/dist/{chunk-4M24XCTI.js → chunk-GATAYYAF.js} +53 -7
- package/dist/{chunk-L5CPS34O.js → chunk-GHYHNHDL.js} +1 -1
- package/dist/{chunk-OISOA6NX.js → chunk-GL5ZG72X.js} +1 -1
- package/dist/{chunk-XAGIZVYI.js → chunk-GM4UEZDE.js} +181 -1625
- package/dist/{chunk-4O7OUBEX.js → chunk-GZVFHFO3.js} +27 -140
- package/dist/{chunk-M4N7I2H5.js → chunk-HA6BIZ6L.js} +5 -5
- package/dist/chunk-HDQAVAV6.js +248 -0
- package/dist/{chunk-IPANAGA3.js → chunk-HDV2V25K.js} +1 -1
- package/dist/{chunk-XGPBHKU3.js → chunk-HTFM7ZDD.js} +2 -2
- package/dist/{chunk-KPLMY2GT.js → chunk-HUHR5CKJ.js} +4 -4
- package/dist/{chunk-IPBNHPTE.js → chunk-IC2AONBH.js} +9 -9
- package/dist/{chunk-23XUZHB7.js → chunk-IHAXXDBH.js} +245 -36
- package/dist/{chunk-4S6H2NWS.js → chunk-IPUDXR67.js} +1 -1
- package/dist/{chunk-UXJAW4IQ.js → chunk-J6U4ZR77.js} +2 -2
- package/dist/{chunk-7I6KVKFF.js → chunk-JAIZCE6W.js} +3 -3
- package/dist/{chunk-SA66WRBT.js → chunk-JGBYZTWH.js} +1 -1
- package/dist/{chunk-HRYWB4TO.js → chunk-JJZZXEAN.js} +3 -3
- package/dist/{chunk-IZ24HRDC.js → chunk-JNULO6I5.js} +3 -3
- package/dist/{chunk-YVS77JPW.js → chunk-JTJP4JK7.js} +3 -3
- package/dist/{chunk-BIV4IHED.js → chunk-JW5NUXPN.js} +15 -28
- package/dist/{chunk-NFNM64A7.js → chunk-K2HIXAIF.js} +22 -18
- package/dist/{chunk-F5ZRHLG5.js → chunk-KEDZRQI3.js} +2 -2
- package/dist/{chunk-QPMKVSHU.js → chunk-KN5GAVCG.js} +2 -2
- package/dist/{chunk-3MDUKF3N.js → chunk-L5JFVK5T.js} +5 -4
- package/dist/{chunk-FBZ32BD4.js → chunk-LBSCOP25.js} +1 -1
- package/dist/{chunk-K7DAE2HO.js → chunk-LLZUL7M2.js} +19 -6
- package/dist/{chunk-PCFYNK7V.js → chunk-LQGLGSBY.js} +2 -2
- package/dist/{chunk-APVU4Q5B.js → chunk-LSHUX7P4.js} +16 -16
- package/dist/{chunk-GRAMRMWS.js → chunk-M6AX64J2.js} +2 -2
- package/dist/{chunk-52Z435PH.js → chunk-M6SUJLNP.js} +15 -10
- package/dist/{chunk-GPWXUU3L.js → chunk-MZNLQC6W.js} +1 -1
- package/dist/{chunk-G3ZYXXO7.js → chunk-N7POJZJT.js} +10 -10
- package/dist/{chunk-DE2V7547.js → chunk-NCNT2C2P.js} +2 -2
- package/dist/{chunk-HK7HIDXP.js → chunk-O3BLL6MY.js} +1 -1
- package/dist/{chunk-YLWKWEJJ.js → chunk-O6KQAJCC.js} +3 -3
- package/dist/{chunk-QUK3UDZV.js → chunk-OHHZNNUD.js} +1 -1
- package/dist/{chunk-6JLVCMKH.js → chunk-PDQGR5LZ.js} +1 -1
- package/dist/{chunk-LE3DIA25.js → chunk-PTF5TB6O.js} +3 -3
- package/dist/{chunk-KBHK2WNO.js → chunk-PYXXL7N7.js} +1 -1
- package/dist/{chunk-QK3Z4TKQ.js → chunk-Q6KUBP6R.js} +5 -5
- package/dist/{chunk-NDCW4G55.js → chunk-QJWLQXR7.js} +1 -1
- package/dist/{chunk-ME733Y2F.js → chunk-QOFQY7BJ.js} +37 -9
- package/dist/{chunk-HFXBL7XE.js → chunk-QSW5DHMZ.js} +1 -1
- package/dist/{chunk-OFT5KSBM.js → chunk-QV26G2BF.js} +1 -1
- package/dist/{chunk-LVEMYNYH.js → chunk-RHHEYC6H.js} +3 -3
- package/dist/{chunk-QYIR64RR.js → chunk-RHJOTGEU.js} +1 -1
- package/dist/{chunk-HUMNRJZE.js → chunk-RJIH7JXM.js} +4 -4
- package/dist/{chunk-6TB7UXCA.js → chunk-RMC2A6EE.js} +1 -1
- package/dist/{chunk-XCPD7NGP.js → chunk-RYMXD2NT.js} +1 -1
- package/dist/{chunk-W2VDJKTB.js → chunk-RYYFFCJG.js} +1 -1
- package/dist/{chunk-YUAOQJVV.js → chunk-SINIRUYZ.js} +101 -9
- package/dist/{chunk-R7QZXQPU.js → chunk-SXUABANK.js} +216 -147
- package/dist/{backup-verify-QIAQ63VC.js → chunk-T3AM52YT.js} +411 -90
- package/dist/{chunk-NK4JHJNP.js → chunk-TCBWHLKH.js} +4 -4
- package/dist/{chunk-R6CKQLEA.js → chunk-TS4LSNRI.js} +2 -2
- package/dist/{chunk-4Q7H3TO7.js → chunk-TVWYMOZ4.js} +1 -1
- package/dist/{chunk-TCV3WA5I.js → chunk-VAHQOIQY.js} +1 -1
- package/dist/{chunk-ZEHBSA25.js → chunk-VQQPYI4X.js} +1 -1
- package/dist/{chunk-PZDAPIQL.js → chunk-VS7V5HNO.js} +1 -1
- package/dist/{chunk-7R7KDRKV.js → chunk-W7VKGB42.js} +1 -1
- package/dist/{chunk-M7774YLB.js → chunk-WC44PNZU.js} +1 -1
- package/dist/{chunk-3AL2LO3L.js → chunk-WHUQ44F2.js} +1 -1
- package/dist/{chunk-4RQ62XXK.js → chunk-X2ZHCNNB.js} +5 -5
- package/dist/{chunk-T2PAFWRK.js → chunk-X4FHT6ST.js} +5 -5
- package/dist/{chunk-N3JEYUDV.js → chunk-XC5OASHV.js} +1 -1
- package/dist/{agent-defs-generator-QN3J6FVJ.js → chunk-XDOCXKHW.js} +61 -21
- package/dist/{chunk-OEHZ46WQ.js → chunk-XEAZJXMZ.js} +2 -2
- package/dist/{chunk-DACRR362.js → chunk-XQ7BIVLI.js} +6 -6
- package/dist/{chunk-7P2TDFZL.js → chunk-Z3LGAFMG.js} +1 -1
- package/dist/{chunk-GEQQGN3J.js → chunk-ZJ6AMC4Y.js} +7 -7
- package/dist/{chunk-IURGBN5B.js → chunk-ZZR2WRNW.js} +4 -4
- package/dist/{cleanup-graph-garbage-NKAJSCWZ.js → cleanup-graph-garbage-SYGPMPUM.js} +8 -8
- package/dist/{cli-shutdown-F3DFDCB5.js → cli-shutdown-JI7CASE4.js} +1 -1
- package/dist/{cloud-sync-command-3YBLSMAL.js → cloud-sync-command-ZV3P5FP6.js} +2 -2
- package/dist/{cloud-sync-db-init-JWSPAFKY.js → cloud-sync-db-init-RQIHWKV4.js} +1 -1
- package/dist/{cloud-sync-shutdown-4R6RIO67.js → cloud-sync-shutdown-V2N7VLD3.js} +3 -3
- package/dist/{co-activation-2ZRANV3Q.js → co-activation-SRE6DIRX.js} +3 -3
- package/dist/{co-occurrence-6EELW2L2.js → co-occurrence-F5TMSEQZ.js} +6 -6
- package/dist/{consent-passphrase-TDR263MC.js → consent-passphrase-MWZRHJRC.js} +2 -2
- package/dist/content-extractor-GWF2T7FK.js +13 -0
- package/dist/{conversation-entity-extractor-KUJN3MOH.js → conversation-entity-extractor-XMOUHGMT.js} +3 -3
- package/dist/{crdt-sync-IX43KVQ3.js → crdt-sync-FXEKABM7.js} +4 -4
- package/dist/{crm-webhook-GSCIW6CE.js → crm-webhook-D6IJOPRQ.js} +2 -2
- package/dist/{cto-delegation-gate-ZWD4EFRR.js → cto-delegation-gate-BU3JRCYN.js} +12 -15
- package/dist/{daemon-orchestration-WL6V4QL4.js → daemon-orchestration-K4NKFYXO.js} +19 -21
- package/dist/{destructive-data-guard-JDUJ2ULM.js → destructive-data-guard-3TGAAE7K.js} +77 -23
- package/dist/{doc-graph-extractor-NJ7ZZC2C.js → doc-graph-extractor-TVK2NGAR.js} +6 -6
- package/dist/{documents-O7WYZFFE.js → documents-MDZ4VB5X.js} +8 -8
- package/dist/{dreaming-TUESPDT3.js → dreaming-L24PSS35.js} +17 -20
- package/dist/{employee-boot-brief-UCP6QLN4.js → employee-boot-brief-GQVL3FQC.js} +23 -25
- package/dist/{entity-boost-TK43XT24.js → entity-boost-OMFA5QCG.js} +2 -2
- package/dist/{exe-drift-QD6LUZT2.js → exe-drift-JDDG3OPT.js} +4 -4
- package/dist/{exe-export-QIUNHFSS.js → exe-export-EEGIE3JP.js} +10 -10
- package/dist/{exe-import-3UFOLHEW.js → exe-import-UJNC5Q2L.js} +10 -10
- package/dist/{exe-key-D5NDKGHT.js → exe-key-TYEY4W4E.js} +97 -97
- package/dist/{exe-org-UWDJBOCV.js → exe-org-B3ICTTEV.js} +32 -32
- package/dist/{exe-snapshot-P6SFODEN.js → exe-snapshot-VBFBONYN.js} +20 -23
- package/dist/{fast-db-init-SD7JZSEC.js → fast-db-init-TFRTK6EH.js} +1 -1
- package/dist/{founder-context-QIXDZIJX.js → founder-context-3X4QUWKD.js} +2 -2
- package/dist/{founder-monitor-envelope-TLOC4UYG.js → founder-monitor-envelope-54UNZNY4.js} +4 -4
- package/dist/gateway/index.js +11 -11
- package/dist/{gateway-client-CQTSYJLP.js → gateway-client-OUDO5GGV.js} +1 -1
- package/dist/{git-staleness-JSQTHB4Z.js → git-staleness-73YZ5PGU.js} +3 -3
- package/dist/{global-procedures-T3RKI4QX.js → global-procedures-PYNE2BQG.js} +20 -6
- package/dist/{graph-auto-extract-V75GSTNX.js → graph-auto-extract-PGUMEEQB.js} +6 -6
- package/dist/{graph-query-VAQN2RK3.js → graph-query-7YA3YNKL.js} +1 -1
- package/dist/{graph-rag-GBA5E3QC.js → graph-rag-UWOTK4AQ.js} +3 -3
- package/dist/{hook-integrity-II6QK6Y4.js → hook-integrity-6MNEPT6W.js} +1 -1
- package/dist/{hook-prefetch-5EHPOYY3.js → hook-prefetch-JOF6YZSR.js} +13 -16
- package/dist/hooks/bug-report-worker.js +17 -20
- package/dist/hooks/codex-stop-task-finalizer.js +19 -22
- package/dist/hooks/commit-complete.js +16 -19
- package/dist/hooks/error-recall.js +14 -14
- package/dist/hooks/exe-heartbeat-hook.js +5 -5
- package/dist/hooks/ingest-worker.js +18 -20
- package/dist/hooks/ingest.js +16 -16
- package/dist/hooks/instructions-loaded.js +7 -7
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +6 -6
- package/dist/hooks/post-compact.js +5 -5
- package/dist/hooks/post-tool-combined.js +13 -13
- package/dist/hooks/pre-compact.js +16 -19
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/hooks/prompt-submit.js +40 -39
- package/dist/hooks/session-end.js +21 -24
- package/dist/hooks/session-start.js +18 -18
- package/dist/hooks/stop.js +19 -22
- package/dist/hooks/subagent-stop.js +18 -21
- package/dist/hooks/summary-worker.js +20 -23
- package/dist/index.js +25 -28
- package/dist/{installer-XEEZSF3V.js → installer-34XZ7JMW.js} +7 -8
- package/dist/{installer-MPVQ5L22.js → installer-356RMQ2K.js} +7 -8
- package/dist/{installer-ILYC4LI5.js → installer-7TN36Z7T.js} +113 -30
- package/dist/{intercom-queue-QGHAW2KO.js → intercom-queue-ZJ3MNULM.js} +12 -15
- package/dist/lib/backup-verify-worker.js +157 -0
- package/dist/lib/cloud-sync.js +16 -20
- package/dist/lib/consolidation.js +9 -9
- package/dist/lib/crypto.js +3 -3
- package/dist/lib/database.js +3 -3
- package/dist/lib/db-backup.js +7 -3
- package/dist/lib/db-write-worker.js +3 -3
- package/dist/lib/db.js +3 -3
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +7 -7
- package/dist/lib/employees.js +3 -3
- package/dist/lib/error-detector.js +2 -2
- package/dist/lib/exe-daemon.js +89 -87
- package/dist/lib/hybrid-search.js +11 -11
- package/dist/lib/identity.js +5 -3
- package/dist/lib/keychain.js +1 -1
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +13 -16
- package/dist/lib/post-tool-memory.js +16 -18
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +4 -4
- package/dist/lib/schedules.js +8 -8
- package/dist/lib/session-registry.js +5 -5
- package/dist/lib/skill-learning.js +9 -9
- package/dist/lib/store.js +7 -7
- package/dist/lib/task-router.js +4 -4
- package/dist/lib/tasks.js +14 -17
- package/dist/lib/tmux-routing.js +14 -41
- package/dist/lib/token-spend.js +4 -4
- package/dist/lib/ws-client.js +1 -1
- package/dist/{license-gate-CARN6AB6.js → license-gate-4BXUTHLB.js} +3 -3
- package/dist/{license-recheck-7Z3LS6YS.js → license-recheck-QFPUKISQ.js} +1 -1
- package/dist/{license-sync-PUQV3HSZ.js → license-sync-FDEDT4AC.js} +2 -2
- package/dist/mcp/register-tools.js +96 -96
- package/dist/mcp/server.js +96 -96
- package/dist/mcp/tools/complete-reminder.js +5 -5
- package/dist/mcp/tools/create-reminder.js +5 -5
- package/dist/mcp/tools/create-task.js +16 -19
- package/dist/mcp/tools/deactivate-behavior.js +10 -10
- package/dist/mcp/tools/list-reminders.js +5 -5
- package/dist/mcp/tools/list-tasks.js +16 -19
- package/dist/mcp/tools/send-message.js +15 -18
- package/dist/mcp/tools/update-task.js +15 -18
- package/dist/{mcp-http-config-RJKTZPHZ.js → mcp-http-config-GKP5QGAO.js} +5 -5
- package/dist/{mcp-session-identity-HN444A3G.js → mcp-session-identity-JHAGRB7B.js} +12 -15
- package/dist/{memory-cards-AT3QCCWU.js → memory-cards-O377ETAM.js} +8 -8
- package/dist/{memory-graph-extractor-B43UWGV5.js → memory-graph-extractor-4KJCCUOP.js} +7 -7
- package/dist/{memory-maintenance-WDLL3ZX3.js → memory-maintenance-RR5UPRW3.js} +1 -1
- package/dist/{memory-poisoning-defense-TS4WNW4S.js → memory-poisoning-defense-Y5TTKGOP.js} +3 -3
- package/dist/{memory-pressure-watchdog-6YH7S6W7.js → memory-pressure-watchdog-NGXTI4HR.js} +13 -16
- package/dist/{memory-reflection-N6NSYW6S.js → memory-reflection-EXNHRZL7.js} +8 -8
- package/dist/{memory-write-repository-D35RDO62.js → memory-write-repository-S4TX7WQB.js} +1 -1
- package/dist/{monitor-grants-FH4PNYN5.js → monitor-grants-57Q4NL25.js} +3 -3
- package/dist/{monitor-identity-LK5ZCCND.js → monitor-identity-3FQ52SYU.js} +2 -2
- package/dist/{notification-ledger-3WJYJGGS.js → notification-ledger-O6KQYYGK.js} +13 -16
- package/dist/{notifications-T5C2CVB3.js → notifications-6FCQCJ4P.js} +12 -15
- package/dist/{orchestration-events-73VEJT7Q.js → orchestration-events-2Z2BMMA5.js} +4 -4
- package/dist/{orchestrator-3O657734.js → orchestrator-AGOSKPHD.js} +14 -17
- package/dist/{org-brief-session-EGB35QLM.js → org-brief-session-WJHZVXXJ.js} +15 -15
- package/dist/{org-consent-policy-MSVSRI53.js → org-consent-policy-X43UGTHI.js} +5 -5
- package/dist/{org-join-4BK2XJJI.js → org-join-M3UTBMHC.js} +9 -9
- package/dist/{org-key-admin-EUSSGXQ3.js → org-key-admin-AA2DRHB2.js} +11 -11
- package/dist/{org-key-epoch-NMEWDT5L.js → org-key-epoch-Z5UIVUHT.js} +5 -5
- package/dist/{org-key-pin-HUSXGINB.js → org-key-pin-FE6YHEZ3.js} +3 -3
- package/dist/{org-membership-B74IWEM5.js → org-membership-3J2MIGE4.js} +4 -4
- package/dist/{org-partner-config-5FJTJABN.js → org-partner-config-5HATZYG4.js} +8 -8
- package/dist/{org-partner-runtime-GN4GFWI2.js → org-partner-runtime-UI35IHUC.js} +15 -15
- package/dist/{org-row-visibility-PBZ2TSCR.js → org-row-visibility-TRJERVYP.js} +1 -1
- package/dist/{pipeline-router-2IELBSVJ.js → pipeline-router-EKQ6D7ZA.js} +4 -4
- package/dist/{plan-limits-4GXK5PFT.js → plan-limits-3BGHIHX6.js} +6 -6
- package/dist/{platform-procedures-QP3W2NLH.js → platform-procedures-RXW46WNY.js} +1 -1
- package/dist/{pre-tool-use-impl-CY73PRJP.js → pre-tool-use-impl-7BT5TJVM.js} +35 -33
- package/dist/{project-name-337ERIAX.js → project-name-PGJGUEJY.js} +4 -4
- package/dist/{projection-worker-W476IG6V.js → projection-worker-3GEVFPAI.js} +2 -2
- package/dist/{prospective-memory-5INB7NUL.js → prospective-memory-GEN7CN7H.js} +3 -3
- package/dist/{push-notifications-YVOP4KGN.js → push-notifications-QW4BWRC7.js} +13 -16
- package/dist/{reproject-worktree-memories-OGBR3CMO.js → reproject-worktree-memories-DIULBEBD.js} +12 -15
- package/dist/{reranker-W7WCJH6Y.js → reranker-LQ6OPJOI.js} +1 -1
- package/dist/{retrieval-health-R6MGXLTP.js → retrieval-health-XDFYFEOP.js} +1 -1
- package/dist/{review-polling-TKAWVY6G.js → review-polling-ED33YLFT.js} +13 -16
- package/dist/runtime/index.js +20 -23
- package/dist/{session-events-HUCZ7TOR.js → session-events-7IJGTBVH.js} +13 -16
- package/dist/{session-kill-telemetry-RWRWOW4C.js → session-kill-telemetry-RUTEARJ3.js} +13 -16
- package/dist/{session-scope-5CDRHV75.js → session-scope-SSYA64L3.js} +12 -15
- package/dist/{setup-wizard-RBTJAZOP.js → setup-wizard-XD7FZVLJ.js} +2 -2
- package/dist/{shard-manager-LRPAAQA4.js → shard-manager-FH5JZRSE.js} +2 -2
- package/dist/{skill-refinement-MDXKDCY6.js → skill-refinement-UHD4E6GV.js} +4 -4
- package/dist/{skill-retrieval-OWY6MTCX.js → skill-retrieval-F6PAJ3I5.js} +11 -11
- package/dist/{skill-usage-GNV737U5.js → skill-usage-2MBTF7Y4.js} +4 -4
- package/dist/{stack-generate-manifest-S4SBLKBY.js → stack-generate-manifest-SU6OFFY7.js} +4 -4
- package/dist/{stack-promote-U4EZNLOV.js → stack-promote-MJF436JD.js} +4 -4
- package/dist/{stack-release-4VBGOYGK.js → stack-release-S37R57XC.js} +5 -5
- package/dist/{stack-update-C5YKHE7A.js → stack-update-XXDRKGGR.js} +3 -3
- package/dist/{steward-gate-QFPXQBUZ.js → steward-gate-EWG2BHYQ.js} +4 -4
- package/dist/{subagent-brief-injection-GDXO5WNS.js → subagent-brief-injection-YZGSWUEY.js} +25 -27
- package/dist/{support-bug-actions-4XEKXIIO.js → support-bug-actions-RU6WZ3UV.js} +3 -3
- package/dist/{support-inbox-Y7AFCOGM.js → support-inbox-A3S52SPS.js} +12 -12
- package/dist/{task-enforcement-CN3Q4PEH.js → task-enforcement-LVAS55AR.js} +13 -16
- package/dist/{task-request-inbox-AY3C6DND.js → task-request-inbox-2TN4ZUH2.js} +5 -5
- package/dist/{task-scope-AMR3Z3DJ.js → task-scope-NLKUVCP5.js} +12 -15
- package/dist/{tasks-crud-2GHKIZOM.js → tasks-crud-NQDPLHNZ.js} +14 -15
- package/dist/{tasks-notify-Z53446KM.js → tasks-notify-BDM2NEHP.js} +13 -16
- package/dist/{tasks-review-APRNSHMQ.js → tasks-review-3G7CAW2O.js} +12 -15
- package/dist/{telemetry-upload-5XR42SQN.js → telemetry-upload-6DR6AL3V.js} +8 -8
- package/dist/{token-budget-TTNJXI7W.js → token-budget-KNC2WGR7.js} +4 -4
- package/dist/{tool-telemetry-36ST422N.js → tool-telemetry-I3SEU5M5.js} +1 -1
- package/dist/tui/App.js +23 -26
- package/dist/{tui-data-AP5TPUOQ.js → tui-data-KJDWP4CB.js} +16 -19
- package/dist/{update-support-SFTI2PUD.js → update-support-UYDYMHVR.js} +11 -11
- package/dist/{whatsapp-5CXE3JHG.js → whatsapp-5EMPZHF5.js} +2 -2
- package/dist/{wiki-acl-N754BC2W.js → wiki-acl-M7BTQJBZ.js} +1 -1
- package/dist/{work-claims-OAICQBWO.js → work-claims-5CFMZTML.js} +4 -4
- package/dist/{work-state-heartbeat-MTTUGMPU.js → work-state-heartbeat-7IA2DZ2E.js} +1 -1
- package/dist/{workflow-engine-RID3QL2U.js → workflow-engine-S5JOE2YR.js} +2 -2
- package/dist/{worktree-XWVNDBRD.js → worktree-7V4ZMF3D.js} +5 -5
- package/dist/{worktree-sweep-6VEHGH7U.js → worktree-sweep-34MXJ7S6.js} +6 -6
- package/package.json +2 -1
- package/release-notes.json +25 -7
- package/stack.release.json +3 -3
- package/dist/chunk-ESO5JDOT.js +0 -70
- package/dist/chunk-KCRSJ3VU.js +0 -113
- package/dist/content-extractor-OVD7PTSN.js +0 -9
- /package/dist/{chunk-OLMLA377.js → chunk-542FBM5U.js} +0 -0
- /package/dist/{chunk-LDHJX4TZ.js → chunk-6D2O5SAH.js} +0 -0
- /package/dist/{chunk-33PG3KNY.js → chunk-6NRZLVK3.js} +0 -0
- /package/dist/{chunk-CLV7ALXV.js → chunk-CFO47VW4.js} +0 -0
- /package/dist/{chunk-FLO24BNN.js → chunk-EULAP6L6.js} +0 -0
- /package/dist/{chunk-PKM456D2.js → chunk-FYSKQPTE.js} +0 -0
- /package/dist/{chunk-WIDOLS7T.js → chunk-J4B4M5PH.js} +0 -0
- /package/dist/{chunk-YBB43SXC.js → chunk-J635FA7T.js} +0 -0
- /package/dist/{chunk-64UAHPXA.js → chunk-MOBZTIJQ.js} +0 -0
- /package/dist/{chunk-EZQ4W3WW.js → chunk-N45FAI6D.js} +0 -0
- /package/dist/{chunk-OEEHLATI.js → chunk-QDSNEGJE.js} +0 -0
- /package/dist/{chunk-YG4DZZ6J.js → chunk-SKSXROKP.js} +0 -0
- /package/dist/{chunk-FUZHMV7K.js → chunk-YVWXI2HM.js} +0 -0
- /package/dist/{core-memory-WR7I7DIP.js → core-memory-PZEO3OWH.js} +0 -0
- /package/dist/{memory-isolation-4RQJ5RCK.js → memory-isolation-MFNT2ITE.js} +0 -0
- /package/dist/{oauth-server-VBDMZIEV.js → oauth-server-CBGEWD6H.js} +0 -0
- /package/dist/{project-boot-G7T5WHO6.js → project-boot-VESAYDIH.js} +0 -0
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,15 +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-
|
|
74
|
-
import "../chunk-
|
|
75
|
-
import "../chunk-VYKXRSHU.js";
|
|
73
|
+
} from "../chunk-GM4UEZDE.js";
|
|
74
|
+
import "../chunk-PYXXL7N7.js";
|
|
76
75
|
import {
|
|
77
76
|
currentPauseStartMs,
|
|
78
77
|
isTimerPausedNow,
|
|
@@ -81,7 +80,6 @@ import {
|
|
|
81
80
|
sweepPauseTotalMs,
|
|
82
81
|
timerPauseIntervalsSince
|
|
83
82
|
} from "../chunk-ZKGWHT56.js";
|
|
84
|
-
import "../chunk-KBHK2WNO.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-QSW5DHMZ.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-JGBYZTWH.js";
|
|
97
95
|
import "../chunk-T5SM4RXY.js";
|
|
98
|
-
import "../chunk-
|
|
96
|
+
import "../chunk-CFFSHBQF.js";
|
|
99
97
|
import "../chunk-IVXELUEQ.js";
|
|
100
98
|
import "../chunk-AM7S2TY6.js";
|
|
101
|
-
import "../chunk-
|
|
99
|
+
import "../chunk-2BOLFLAU.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-TVWYMOZ4.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-L5JFVK5T.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-SINIRUYZ.js";
|
|
162
|
+
import "../chunk-6777GNWI.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-EOWJXCYC.js";
|
|
193
190
|
import "../chunk-3R7UDPVR.js";
|
|
194
|
-
import "../chunk-
|
|
191
|
+
import "../chunk-6D2O5SAH.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-6FCQCJ4P.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-6FCQCJ4P.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-UI35IHUC.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-NGXTI4HR.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-3GEVFPAI.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-FH5JZRSE.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-EKQ6D7ZA.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-S4TX7WQB.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-RA6CMND6.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-4BXUTHLB.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-QFPUKISQ.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-I3SEU5M5.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-CBGEWD6H.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-CBGEWD6H.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-2Z2BMMA5.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-JHAGRB7B.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-JHAGRB7B.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-JHAGRB7B.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-JHAGRB7B.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-O6KQYYGK.js");
|
|
5751
5748
|
if (isLedgerEnabled()) {
|
|
5752
|
-
const { bumpBootGeneration } = await import("../boot-generation-
|
|
5749
|
+
const { bumpBootGeneration } = await import("../boot-generation-RPJVFAQJ.js");
|
|
5753
5750
|
const { setDaemonReadyGeneration } = await import("../daemon-ready-signal-PNDMVKPJ.js");
|
|
5754
5751
|
const generation = await bumpBootGeneration();
|
|
5755
5752
|
setDaemonReadyGeneration(generation);
|
|
@@ -5763,10 +5760,15 @@ async function ensureStoreForPolling() {
|
|
|
5763
5760
|
try {
|
|
5764
5761
|
const { spawnDbReadWorker } = await import("./db-read-worker-client.js");
|
|
5765
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 {
|
|
5766
5768
|
const { registerBackupOffload } = await import("./db-backup.js");
|
|
5767
5769
|
registerBackupOffload({ dbPath: config.dbPath, encryptionKeyHex: masterKey.toString("hex") });
|
|
5768
5770
|
} catch (e) {
|
|
5769
|
-
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)}
|
|
5770
5772
|
`);
|
|
5771
5773
|
}
|
|
5772
5774
|
try {
|
|
@@ -5790,13 +5792,13 @@ async function ensureStoreForPolling() {
|
|
|
5790
5792
|
}
|
|
5791
5793
|
}
|
|
5792
5794
|
async function startReviewPolling() {
|
|
5793
|
-
const polling = await import("../review-polling-
|
|
5795
|
+
const polling = await import("../review-polling-ED33YLFT.js");
|
|
5794
5796
|
const state = {
|
|
5795
5797
|
lastIntercomSent: /* @__PURE__ */ new Map(),
|
|
5796
5798
|
lastNudgeSent: /* @__PURE__ */ new Map(),
|
|
5797
5799
|
intervalMs: REVIEW_POLL_INTERVAL_MS
|
|
5798
5800
|
};
|
|
5799
|
-
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-
|
|
5801
|
+
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
5800
5802
|
const nudgeState = loadNudgeState();
|
|
5801
5803
|
const tick = async () => traceDaemonTimer("review_polling", async () => {
|
|
5802
5804
|
fired("review_polling");
|
|
@@ -5804,7 +5806,7 @@ async function startReviewPolling() {
|
|
|
5804
5806
|
try {
|
|
5805
5807
|
const { getClient } = await import("./database.js");
|
|
5806
5808
|
const deps = polling.createRealDeps(getClient);
|
|
5807
|
-
const { strictSessionScopeFilter } = await import("../task-scope-
|
|
5809
|
+
const { strictSessionScopeFilter } = await import("../task-scope-NLKUVCP5.js");
|
|
5808
5810
|
const { getCoordinatorName, DEFAULT_COORDINATOR_TEMPLATE_NAME } = await import("./employees.js");
|
|
5809
5811
|
deps.findOrphanedDoneTasks = async (sessionScope) => {
|
|
5810
5812
|
const coordinatorName = getCoordinatorName();
|
|
@@ -5824,7 +5826,7 @@ async function startReviewPolling() {
|
|
|
5824
5826
|
deps.findTieredReviewCandidates = async (sessionScope) => {
|
|
5825
5827
|
let project = null;
|
|
5826
5828
|
try {
|
|
5827
|
-
const { getProjectName } = await import("../project-name-
|
|
5829
|
+
const { getProjectName } = await import("../project-name-PGJGUEJY.js");
|
|
5828
5830
|
project = getProjectName() || null;
|
|
5829
5831
|
} catch {
|
|
5830
5832
|
project = null;
|
|
@@ -5883,7 +5885,7 @@ function startSessionTTL() {
|
|
|
5883
5885
|
if (!await ensureStoreForPolling()) return;
|
|
5884
5886
|
if (inPostRestartDestructiveGrace("session_ttl")) return;
|
|
5885
5887
|
const { getClient } = await import("./database.js");
|
|
5886
|
-
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-
|
|
5888
|
+
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
5887
5889
|
const deps = createSessionTTLRealDeps(getClient);
|
|
5888
5890
|
const killed = await checkSessionTTL(deps, _wedgeObservations);
|
|
5889
5891
|
if (killed.length > 0) acted("session_ttl");
|
|
@@ -5943,7 +5945,7 @@ function startIdleKill() {
|
|
|
5943
5945
|
const cfg = await getCachedConfig();
|
|
5944
5946
|
if (!cfg) return;
|
|
5945
5947
|
const { getClient } = await import("./database.js");
|
|
5946
|
-
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-
|
|
5948
|
+
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
5947
5949
|
const { sessions: liveSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
|
|
5948
5950
|
const realDeps = createIdleKillRealDeps(
|
|
5949
5951
|
getClient,
|
|
@@ -6379,7 +6381,7 @@ function startSkillRefinement() {
|
|
|
6379
6381
|
if (!shouldRunHeavyJob("skill_refinement")) return;
|
|
6380
6382
|
try {
|
|
6381
6383
|
if (!await ensureStoreForPolling()) return;
|
|
6382
|
-
const { runSkillRefinement } = await import("../skill-refinement-
|
|
6384
|
+
const { runSkillRefinement } = await import("../skill-refinement-UHD4E6GV.js");
|
|
6383
6385
|
const result = await runSkillRefinement();
|
|
6384
6386
|
if (result.reviewed > 0) {
|
|
6385
6387
|
acted("skill_refinement");
|
|
@@ -6444,7 +6446,7 @@ function startStalledDispatchSweep() {
|
|
|
6444
6446
|
});
|
|
6445
6447
|
const { notifications, nextState } = decideStalledDispatchEscalations(intents, previousState);
|
|
6446
6448
|
if (notifications.length > 0 && _storeInitialized) {
|
|
6447
|
-
const { writeNotification } = await import("../notifications-
|
|
6449
|
+
const { writeNotification } = await import("../notifications-6FCQCJ4P.js");
|
|
6448
6450
|
for (const note of notifications) {
|
|
6449
6451
|
try {
|
|
6450
6452
|
await writeNotification({
|
|
@@ -6494,7 +6496,7 @@ function startStaleBranchSweep() {
|
|
|
6494
6496
|
fired("stale_branch_sweep");
|
|
6495
6497
|
if (sweepStarved("stale_branch_sweep")) return;
|
|
6496
6498
|
try {
|
|
6497
|
-
const { discoverRepoPathsAsync } = await import("../worktree-sweep-
|
|
6499
|
+
const { discoverRepoPathsAsync } = await import("../worktree-sweep-34MXJ7S6.js");
|
|
6498
6500
|
const { scanUnmergedBranchesCached } = await import("../branch-hygiene-DDXXI6ZA.js");
|
|
6499
6501
|
const { runBudgetedSweep } = await import("../sweep-budget-YGLCNXZZ.js");
|
|
6500
6502
|
const today = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
@@ -6527,7 +6529,7 @@ function startStaleBranchSweep() {
|
|
|
6527
6529
|
if (!_storeInitialized) return;
|
|
6528
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("; ");
|
|
6529
6531
|
try {
|
|
6530
|
-
const { writeNotification } = await import("../notifications-
|
|
6532
|
+
const { writeNotification } = await import("../notifications-6FCQCJ4P.js");
|
|
6531
6533
|
await writeNotification({
|
|
6532
6534
|
agentId: "exe",
|
|
6533
6535
|
agentRole: "system",
|
|
@@ -6568,7 +6570,7 @@ function startBugLandedReconcile() {
|
|
|
6568
6570
|
fired("bug_landed_reconcile");
|
|
6569
6571
|
if (sweepStarved("bug_landed_reconcile")) return;
|
|
6570
6572
|
try {
|
|
6571
|
-
const { reconcileLandedBugs } = await import("../bug-landed-reconciler-
|
|
6573
|
+
const { reconcileLandedBugs } = await import("../bug-landed-reconciler-FN5KPBRK.js");
|
|
6572
6574
|
const result = await reconcileLandedBugs();
|
|
6573
6575
|
const { reposScanned, reposErrored, prsScanned, matched, reconciled, skipped, errored } = result.summary;
|
|
6574
6576
|
process.stderr.write(
|
|
@@ -6590,12 +6592,12 @@ function startBugLandedReconcile() {
|
|
|
6590
6592
|
}
|
|
6591
6593
|
async function maybeScheduleBugLandedReconcile() {
|
|
6592
6594
|
try {
|
|
6593
|
-
const { hasSupportAdminAccess } = await import("../support-bug-actions-
|
|
6595
|
+
const { hasSupportAdminAccess } = await import("../support-bug-actions-RU6WZ3UV.js");
|
|
6594
6596
|
if (!await hasSupportAdminAccess()) {
|
|
6595
6597
|
process.stderr.write("[exed] Bug-landed reconcile: no AskExe support admin token configured \u2014 skipping (customer install)\n");
|
|
6596
6598
|
return;
|
|
6597
6599
|
}
|
|
6598
|
-
const { isGhAvailableAndAuthenticated } = await import("../bug-landed-reconciler-
|
|
6600
|
+
const { isGhAvailableAndAuthenticated } = await import("../bug-landed-reconciler-FN5KPBRK.js");
|
|
6599
6601
|
if (!await isGhAvailableAndAuthenticated()) {
|
|
6600
6602
|
process.stderr.write("[exed] Bug-landed reconcile: gh CLI not available/authenticated \u2014 skipping\n");
|
|
6601
6603
|
return;
|
|
@@ -6634,7 +6636,7 @@ function startWorkStateHeartbeat() {
|
|
|
6634
6636
|
const { getClient } = await import("./database.js");
|
|
6635
6637
|
const { listSessions } = await import("./session-registry.js");
|
|
6636
6638
|
const { isCoordinatorName } = await import("./employees.js");
|
|
6637
|
-
const { runWorkStateTick } = await import("../work-state-heartbeat-
|
|
6639
|
+
const { runWorkStateTick } = await import("../work-state-heartbeat-7IA2DZ2E.js");
|
|
6638
6640
|
let liveTmux = null;
|
|
6639
6641
|
const loadLiveTmux = async () => {
|
|
6640
6642
|
if (!liveTmux) liveTmux = await listTmuxSessionNamesAsync();
|
|
@@ -6700,7 +6702,7 @@ function startGraphExtraction() {
|
|
|
6700
6702
|
if (!await ensureStoreForPolling()) return;
|
|
6701
6703
|
const { getClient } = await import("./database.js");
|
|
6702
6704
|
const client = getClient();
|
|
6703
|
-
const { extractBatch } = await import("../graph-rag-
|
|
6705
|
+
const { extractBatch } = await import("../graph-rag-UWOTK4AQ.js");
|
|
6704
6706
|
const result = await extractBatch(client, 50, config.selfQueryModel);
|
|
6705
6707
|
if (result.processed > 0) {
|
|
6706
6708
|
acted("graph_extraction");
|
|
@@ -7021,7 +7023,7 @@ async function refreshAgentData() {
|
|
|
7021
7023
|
const decision = evaluateSpendCapAlert(_lastSpendCapLevel, capStatus);
|
|
7022
7024
|
_lastSpendCapLevel = decision.level;
|
|
7023
7025
|
if (decision.shouldAlert && decision.summary) {
|
|
7024
|
-
const { writeNotification } = await import("../notifications-
|
|
7026
|
+
const { writeNotification } = await import("../notifications-6FCQCJ4P.js");
|
|
7025
7027
|
await writeNotification({
|
|
7026
7028
|
agentId: "system",
|
|
7027
7029
|
agentRole: "system",
|
|
@@ -7143,7 +7145,7 @@ function startReflectionSweep() {
|
|
|
7143
7145
|
);
|
|
7144
7146
|
let runReflection;
|
|
7145
7147
|
try {
|
|
7146
|
-
({ runReflection } = await import("../memory-reflection-
|
|
7148
|
+
({ runReflection } = await import("../memory-reflection-EXNHRZL7.js"));
|
|
7147
7149
|
} catch (importErr) {
|
|
7148
7150
|
_reflectionImportFailed = true;
|
|
7149
7151
|
process.stderr.write(`[exed] Reflection module unavailable (stale chunk hash?) \u2014 disabled until daemon restart: ${importErr instanceof Error ? importErr.message : String(importErr)}
|
|
@@ -7184,7 +7186,7 @@ function startReflectionSweep() {
|
|
|
7184
7186
|
if (memories > 100 && cards < memories * 0.1) {
|
|
7185
7187
|
process.stderr.write(`[exed] Memory cards sparse (${cards} cards / ${memories} memories) \u2014 running backfill...
|
|
7186
7188
|
`);
|
|
7187
|
-
const { insertMemoryCardsForBatch } = await import("../memory-cards-
|
|
7189
|
+
const { insertMemoryCardsForBatch } = await import("../memory-cards-O377ETAM.js");
|
|
7188
7190
|
const batchSize = 500;
|
|
7189
7191
|
let offset = 0;
|
|
7190
7192
|
let totalCards = 0;
|
|
@@ -7265,7 +7267,7 @@ function startDatabaseBackup() {
|
|
|
7265
7267
|
`
|
|
7266
7268
|
);
|
|
7267
7269
|
try {
|
|
7268
|
-
const { maybeVerifyDailyBackup } = await import("../backup-verify-
|
|
7270
|
+
const { maybeVerifyDailyBackup } = await import("../backup-verify-AG54CYGR.js");
|
|
7269
7271
|
const verdict = await maybeVerifyDailyBackup(backupPath);
|
|
7270
7272
|
if (verdict && !verdict.ok) {
|
|
7271
7273
|
process.stderr.write(
|
|
@@ -7341,7 +7343,7 @@ function startSessionEventsRetention() {
|
|
|
7341
7343
|
fired("session_events_retention");
|
|
7342
7344
|
if (!await ensureStoreForPolling()) return;
|
|
7343
7345
|
try {
|
|
7344
|
-
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");
|
|
7345
7347
|
const days = SESSION_EVENTS_RETENTION_DAYS ?? DEFAULT_SESSION_EVENTS_RETENTION_DAYS;
|
|
7346
7348
|
const decision = sessionEventsRetentionMode(isWriteWorkerEnabled(), isDbWriteWorkerReady());
|
|
7347
7349
|
if (decision.mode === "skip") {
|
|
@@ -7393,7 +7395,7 @@ function startConversationsRetention() {
|
|
|
7393
7395
|
if (!await ensureStoreForPolling()) return;
|
|
7394
7396
|
try {
|
|
7395
7397
|
const { DEFAULT_CONVERSATIONS_RETENTION_DAYS } = await import("../conversations-retention-XTBFJBUM.js");
|
|
7396
|
-
const { sessionEventsRetentionMode } = await import("../session-events-
|
|
7398
|
+
const { sessionEventsRetentionMode } = await import("../session-events-7IJGTBVH.js");
|
|
7397
7399
|
const days = CONVERSATIONS_RETENTION_DAYS ?? DEFAULT_CONVERSATIONS_RETENTION_DAYS;
|
|
7398
7400
|
const decision = sessionEventsRetentionMode(isWriteWorkerEnabled(), isDbWriteWorkerReady());
|
|
7399
7401
|
if (decision.mode === "skip") {
|
|
@@ -7442,7 +7444,7 @@ function startIntercomQueueDrain() {
|
|
|
7442
7444
|
const tick = async () => traceDaemonTimer("intercom_queue_drain", async () => {
|
|
7443
7445
|
fired("intercom_queue_drain");
|
|
7444
7446
|
try {
|
|
7445
|
-
const { drainQueueAsync, readQueue } = await import("../intercom-queue-
|
|
7447
|
+
const { drainQueueAsync, readQueue } = await import("../intercom-queue-ZJ3MNULM.js");
|
|
7446
7448
|
const {
|
|
7447
7449
|
sendIntercomAsync: centralSendIntercomAsync,
|
|
7448
7450
|
countScopedPendingReviews,
|
|
@@ -7574,7 +7576,7 @@ function startLedgerDrain() {
|
|
|
7574
7576
|
const tick = async () => traceDaemonTimer("ledger_drain", async () => {
|
|
7575
7577
|
fired("ledger_drain");
|
|
7576
7578
|
try {
|
|
7577
|
-
const { isLedgerEnabled, drainLedger } = await import("../notification-ledger-
|
|
7579
|
+
const { isLedgerEnabled, drainLedger } = await import("../notification-ledger-O6KQYYGK.js");
|
|
7578
7580
|
if (!isLedgerEnabled()) return;
|
|
7579
7581
|
const result = await drainLedger({
|
|
7580
7582
|
// Shadow "would-deliver": idle target = would-deliver, busy = retry.
|
|
@@ -7614,7 +7616,7 @@ function startOrphanReaper() {
|
|
|
7614
7616
|
fired("orphan_reaper");
|
|
7615
7617
|
if (sweepStarved("orphan_reaper")) return;
|
|
7616
7618
|
try {
|
|
7617
|
-
const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-
|
|
7619
|
+
const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
7618
7620
|
const deps = await createOrphanReaperRealDepsAsync();
|
|
7619
7621
|
const reaped = await reapOrphanedMcpProcesses(deps);
|
|
7620
7622
|
if (reaped.length > 0) acted("orphan_reaper");
|
|
@@ -7640,7 +7642,7 @@ function startZombieAgentReaper() {
|
|
|
7640
7642
|
fired("zombie_agent_reaper");
|
|
7641
7643
|
if (sweepStarved("zombie_agent_reaper")) return;
|
|
7642
7644
|
try {
|
|
7643
|
-
const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-
|
|
7645
|
+
const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
7644
7646
|
const deps = await createZombieAgentReaperRealDepsAsync();
|
|
7645
7647
|
const reaped = reapZombieAgentProcesses(deps);
|
|
7646
7648
|
if (reaped.length > 0) acted("zombie_agent_reaper");
|
|
@@ -7664,7 +7666,7 @@ async function startDaemonMemoryPressureWatchdog() {
|
|
|
7664
7666
|
try {
|
|
7665
7667
|
const cfg = await getCachedConfig();
|
|
7666
7668
|
if (!cfg) return;
|
|
7667
|
-
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");
|
|
7668
7670
|
const watchdogCfg = {
|
|
7669
7671
|
...MEMORY_PRESSURE_WATCHDOG_DEFAULTS,
|
|
7670
7672
|
...cfg.memoryPressureWatchdog ?? {}
|
|
@@ -7696,7 +7698,7 @@ function startWorktreeReaper() {
|
|
|
7696
7698
|
fired("worktree_reaper");
|
|
7697
7699
|
if (sweepStarved("worktree_reaper")) return;
|
|
7698
7700
|
try {
|
|
7699
|
-
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-
|
|
7701
|
+
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
7700
7702
|
const deps = await createWorktreeReaperRealDeps();
|
|
7701
7703
|
const result = await reapOrphanedWorktrees(deps);
|
|
7702
7704
|
if (result.pruned.length > 0) {
|
|
@@ -7740,8 +7742,8 @@ function startWorktreeReaper() {
|
|
|
7740
7742
|
}
|
|
7741
7743
|
return;
|
|
7742
7744
|
}
|
|
7743
|
-
const { cleanupAgentWorktree } = await import("../worktree-sweep-
|
|
7744
|
-
const { getMainRepoRootAsync } = await import("../worktree-
|
|
7745
|
+
const { cleanupAgentWorktree } = await import("../worktree-sweep-34MXJ7S6.js");
|
|
7746
|
+
const { getMainRepoRootAsync } = await import("../worktree-7V4ZMF3D.js");
|
|
7745
7747
|
const repoRoot = await getMainRepoRootAsync(signal.worktreePath);
|
|
7746
7748
|
if (repoRoot && signal.agentId) {
|
|
7747
7749
|
const notes = await cleanupAgentWorktree(repoRoot, signal.agentId);
|
|
@@ -7778,7 +7780,7 @@ function startAutoWake() {
|
|
|
7778
7780
|
if (!await ensureStoreForPolling()) return;
|
|
7779
7781
|
try {
|
|
7780
7782
|
const { getClient } = await import("./database.js");
|
|
7781
|
-
const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-
|
|
7783
|
+
const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
7782
7784
|
const deps = createAutoWakeRealDeps(getClient, process.cwd(), getTmuxSessionsAsync);
|
|
7783
7785
|
const woken = await pollOrphanedTasks(deps);
|
|
7784
7786
|
if (woken.length > 0) acted("auto_wake");
|
|
@@ -7853,7 +7855,7 @@ function startAutoWake() {
|
|
|
7853
7855
|
if (age > 60 * 60 * 1e3) {
|
|
7854
7856
|
try {
|
|
7855
7857
|
await unlink(signalPath);
|
|
7856
|
-
void import("../orchestration-events-
|
|
7858
|
+
void import("../orchestration-events-2Z2BMMA5.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
7857
7859
|
recordOE({ eventType: "signal.stale", source: "exe-daemon.autoWake", severity: "warn", payload: { file, ageMinutes: Math.round(age / 6e4) } });
|
|
7858
7860
|
}).catch(() => {
|
|
7859
7861
|
});
|
|
@@ -8002,7 +8004,7 @@ function startStuckTaskRelease() {
|
|
|
8002
8004
|
createStaleClaimRealDeps,
|
|
8003
8005
|
escalateStuckBlockedTasks,
|
|
8004
8006
|
createStuckBlockedRealDeps
|
|
8005
|
-
} = await import("../daemon-orchestration-
|
|
8007
|
+
} = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
8006
8008
|
const { runBudgetedSweep } = await import("../sweep-budget-YGLCNXZZ.js");
|
|
8007
8009
|
const steps = [
|
|
8008
8010
|
async () => {
|
|
@@ -8267,12 +8269,12 @@ function startTaskEnforcementScanner() {
|
|
|
8267
8269
|
const tick = async () => traceDaemonTimer("task_enforcement", async () => {
|
|
8268
8270
|
fired("task_enforcement");
|
|
8269
8271
|
try {
|
|
8270
|
-
const { runTaskEnforcementTick } = await import("../task-enforcement-
|
|
8272
|
+
const { runTaskEnforcementTick } = await import("../task-enforcement-LVAS55AR.js");
|
|
8271
8273
|
const { getTransport } = await import("./transport.js");
|
|
8272
8274
|
const { loadAgentConfig } = await import("./agent-config.js");
|
|
8273
8275
|
const { getClient } = await import("./database.js");
|
|
8274
8276
|
const { loadEmployeesSync } = await import("./employees.js");
|
|
8275
|
-
const { sessionScopeFilter } = await import("../task-scope-
|
|
8277
|
+
const { sessionScopeFilter } = await import("../task-scope-NLKUVCP5.js");
|
|
8276
8278
|
const transport = getTransport();
|
|
8277
8279
|
const { sessions: allSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
|
|
8278
8280
|
await yieldToEventLoop();
|
|
@@ -8283,10 +8285,10 @@ function startTaskEnforcementScanner() {
|
|
|
8283
8285
|
sendKeysLiteral: transport.sendKeysLiteral?.bind(transport),
|
|
8284
8286
|
isAlive: (session) => aliveSessions.has(session)
|
|
8285
8287
|
};
|
|
8286
|
-
const { checkAutoWakeGates } = await import("../daemon-orchestration-
|
|
8288
|
+
const { checkAutoWakeGates } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
8287
8289
|
const { ensureEmployeeAsync, employeeSessionName, sendIntercomAsync } = await import("./tmux-routing.js");
|
|
8288
8290
|
const { shouldAutoInstance } = await import("./employees.js");
|
|
8289
|
-
const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-
|
|
8291
|
+
const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-2Z2BMMA5.js");
|
|
8290
8292
|
const projectDir = process.cwd();
|
|
8291
8293
|
await runTaskEnforcementTick({
|
|
8292
8294
|
transport: enforcementTransport,
|
|
@@ -8616,7 +8618,7 @@ async function sweepExpiredTracesFromDaemonTimer() {
|
|
|
8616
8618
|
const memoryIds = idsResult.rows.map((r) => String(r.id)).filter(Boolean);
|
|
8617
8619
|
if (memoryIds.length === 0) return 0;
|
|
8618
8620
|
const { getClient } = await import("./database.js");
|
|
8619
|
-
const { cleanupGraphLinksForMemories, cleanupCardsForMemories } = await import("../graph-rag-
|
|
8621
|
+
const { cleanupGraphLinksForMemories, cleanupCardsForMemories } = await import("../graph-rag-UWOTK4AQ.js");
|
|
8620
8622
|
const client = getClient();
|
|
8621
8623
|
await cleanupGraphLinksForMemories(client, memoryIds);
|
|
8622
8624
|
await cleanupCardsForMemories(client, memoryIds);
|
|
@@ -8754,7 +8756,7 @@ function startHookRegistrationWatch() {
|
|
|
8754
8756
|
process.stderr.write(`[exed] [HOOKS DEAD] ${mod.formatHookLivenessFailure(report)}
|
|
8755
8757
|
`);
|
|
8756
8758
|
try {
|
|
8757
|
-
const { pushNotifyAsync: pushNotifyAsync2 } = await import("../push-notifications-
|
|
8759
|
+
const { pushNotifyAsync: pushNotifyAsync2 } = await import("../push-notifications-QW4BWRC7.js");
|
|
8758
8760
|
pushNotifyAsync2({
|
|
8759
8761
|
event: "hooks_dead",
|
|
8760
8762
|
title: `${report.broken.length} exe-os hook(s) cannot run`,
|
|
@@ -9428,7 +9430,7 @@ function startEventLoopLagDetector() {
|
|
|
9428
9430
|
setLastStallClass("blocked", lag);
|
|
9429
9431
|
process.stderr.write(msg + "\n");
|
|
9430
9432
|
logDaemonHealth({ event: "event_loop_blocked", pid: process.pid, message: msg, data: { lagMs: lag } });
|
|
9431
|
-
void import("../orchestration-events-
|
|
9433
|
+
void import("../orchestration-events-2Z2BMMA5.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
9432
9434
|
recordOE({ eventType: "daemon.event_loop_blocked", source: "exe-daemon.lagDetector", severity: "error", durationMs: lag });
|
|
9433
9435
|
}).catch(() => {
|
|
9434
9436
|
});
|
|
@@ -9633,7 +9635,7 @@ function startTaskFileResync() {
|
|
|
9633
9635
|
});
|
|
9634
9636
|
if (Number(res.rowsAffected ?? 0) > 0) {
|
|
9635
9637
|
synced++;
|
|
9636
|
-
void import("../orchestration-events-
|
|
9638
|
+
void import("../orchestration-events-2Z2BMMA5.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
9637
9639
|
recordOE({
|
|
9638
9640
|
eventType: "task_file.resynced",
|
|
9639
9641
|
source: "exe-daemon.taskFileResync",
|
|
@@ -9667,7 +9669,7 @@ function startTaskGroupBarriers() {
|
|
|
9667
9669
|
fired("task_group_barriers");
|
|
9668
9670
|
if (!await ensureStoreForPolling()) return;
|
|
9669
9671
|
try {
|
|
9670
|
-
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-
|
|
9672
|
+
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
9671
9673
|
const firedCount = await pollTaskGroupBarriers();
|
|
9672
9674
|
if (firedCount > 0) {
|
|
9673
9675
|
acted("task_group_barriers");
|
|
@@ -9689,7 +9691,7 @@ function startCheckpointGc() {
|
|
|
9689
9691
|
fired("checkpoint_gc");
|
|
9690
9692
|
if (!await ensureStoreForPolling()) return;
|
|
9691
9693
|
try {
|
|
9692
|
-
const { gcStaleCheckpoints } = await import("../daemon-orchestration-
|
|
9694
|
+
const { gcStaleCheckpoints } = await import("../daemon-orchestration-K4NKFYXO.js");
|
|
9693
9695
|
const cleared = await gcStaleCheckpoints();
|
|
9694
9696
|
if (cleared > 0) {
|
|
9695
9697
|
acted("checkpoint_gc");
|
|
@@ -9729,14 +9731,14 @@ function startDispatchAckCleanup() {
|
|
|
9729
9731
|
function startProjectionWorkerDeferred() {
|
|
9730
9732
|
setTimeout(async () => {
|
|
9731
9733
|
try {
|
|
9732
|
-
const { startProjectionWorker } = await import("../projection-worker-
|
|
9734
|
+
const { startProjectionWorker } = await import("../projection-worker-3GEVFPAI.js");
|
|
9733
9735
|
startProjectionWorker();
|
|
9734
9736
|
} catch {
|
|
9735
9737
|
}
|
|
9736
9738
|
}, 2e4);
|
|
9737
9739
|
}
|
|
9738
9740
|
async function startToolTelemetry() {
|
|
9739
|
-
const { startToolTelemetryFlush } = await import("../tool-telemetry-
|
|
9741
|
+
const { startToolTelemetryFlush } = await import("../tool-telemetry-I3SEU5M5.js");
|
|
9740
9742
|
startToolTelemetryFlush();
|
|
9741
9743
|
process.stderr.write("[exed] Tool telemetry started (flush every 5m)\n");
|
|
9742
9744
|
}
|
|
@@ -9909,7 +9911,7 @@ function startLocalFirstTimers() {
|
|
|
9909
9911
|
fired("orphan_task_cleanup");
|
|
9910
9912
|
try {
|
|
9911
9913
|
if (!await ensureStoreForPolling()) return;
|
|
9912
|
-
const { cleanOrphanedTaskFiles } = await import("../tasks-crud-
|
|
9914
|
+
const { cleanOrphanedTaskFiles } = await import("../tasks-crud-NQDPLHNZ.js");
|
|
9913
9915
|
const count = await cleanOrphanedTaskFiles();
|
|
9914
9916
|
if (count > 0) {
|
|
9915
9917
|
acted("orphan_task_cleanup");
|
|
@@ -9925,7 +9927,7 @@ function startLocalFirstTimers() {
|
|
|
9925
9927
|
fired("task_file_consistency");
|
|
9926
9928
|
try {
|
|
9927
9929
|
if (!await ensureStoreForPolling()) return;
|
|
9928
|
-
const { checkTaskFileConsistency } = await import("../tasks-crud-
|
|
9930
|
+
const { checkTaskFileConsistency } = await import("../tasks-crud-NQDPLHNZ.js");
|
|
9929
9931
|
const mismatches = await checkTaskFileConsistency();
|
|
9930
9932
|
if (mismatches > 0) {
|
|
9931
9933
|
acted("task_file_consistency");
|
|
@@ -9944,7 +9946,7 @@ function startLocalFirstTimers() {
|
|
|
9944
9946
|
const TELEMETRY_DAILY_MS = 24 * 60 * 60 * 1e3;
|
|
9945
9947
|
const telemetryDaily = async () => {
|
|
9946
9948
|
try {
|
|
9947
|
-
const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-
|
|
9949
|
+
const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-6DR6AL3V.js");
|
|
9948
9950
|
if (!isTelemetryEnabled()) return;
|
|
9949
9951
|
const { upstream } = await sendTelemetry(24);
|
|
9950
9952
|
if (upstream.startsWith("sent")) {
|
|
@@ -10187,7 +10189,7 @@ try {
|
|
|
10187
10189
|
});
|
|
10188
10190
|
}
|
|
10189
10191
|
try {
|
|
10190
|
-
const { initOrgPartnerRuntime } = await import("../org-partner-runtime-
|
|
10192
|
+
const { initOrgPartnerRuntime } = await import("../org-partner-runtime-UI35IHUC.js");
|
|
10191
10193
|
await initOrgPartnerRuntime();
|
|
10192
10194
|
} catch (err) {
|
|
10193
10195
|
process.stderr.write(
|