@askexenow/exe-os 0.9.407 → 0.9.409
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/compose/erp-nginx/nginx.conf +8 -2
- package/deploy/compose/sso-edge/default.conf.template +55 -0
- package/deploy/hosted/public-demo-compose.yml +52 -0
- package/deploy/stack-manifests/v0.9.json +1339 -1
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-U6JYIXZD.js → active-agent-2AMJC3SC.js} +6 -5
- package/dist/{active-agent-2OMOWJXI.js → active-agent-5AKPW2N7.js} +6 -5
- package/dist/{agent-defs-generator-TZC3QFTT.js → agent-defs-generator-QN3J6FVJ.js} +5 -5
- package/dist/{agent-loop-OQUZUGQU.js → agent-loop-FMOA2MG2.js} +1 -1
- package/dist/{agentic-ontology-GJI54CFX.js → agentic-ontology-6RS7A7KP.js} +1 -1
- package/dist/{artifact-backup-4GCKVN3V.js → artifact-backup-6O4FNYPS.js} +3 -3
- package/dist/{backfill-metadata-EVJEKCY3.js → backfill-metadata-6YX6LGPJ.js} +8 -8
- package/dist/{backup-verify-PIH5GXLV.js → backup-verify-QIAQ63VC.js} +1 -1
- package/dist/{behavior-injection-TKQETCCW.js → behavior-injection-NRXTNROW.js} +11 -11
- package/dist/{behavior-promotion-TB53MVMQ.js → behavior-promotion-MW7OQ72V.js} +10 -10
- package/dist/{behaviors-2XKHIDUD.js → behaviors-7AOK44QK.js} +9 -9
- package/dist/bin/agentic-ontology-backfill.js +9 -9
- package/dist/bin/agentic-reflection-backfill.js +10 -10
- package/dist/bin/agentic-semantic-label.js +9 -9
- package/dist/bin/backfill-conversations.js +8 -8
- package/dist/bin/backfill-responses.js +8 -8
- package/dist/bin/backfill-vectors.js +8 -8
- package/dist/bin/bulk-sync-postgres.js +17 -17
- package/dist/bin/cc-doctor.js +12 -11
- package/dist/bin/cleanup-stale-review-tasks.js +19 -19
- package/dist/bin/cli.js +24 -24
- package/dist/bin/deferred-daemon-restart.js +104 -103
- package/dist/bin/exe-agent-config.js +5 -5
- package/dist/bin/exe-agent.js +10 -10
- package/dist/bin/exe-assign.js +9 -9
- package/dist/bin/exe-boot.js +44 -43
- package/dist/bin/exe-call.js +9 -9
- package/dist/bin/exe-cloud.js +18 -18
- package/dist/bin/exe-config-dump.js +5 -5
- package/dist/bin/exe-dispatch.js +20 -20
- package/dist/bin/exe-doctor.js +7 -7
- package/dist/bin/exe-export-behaviors.js +13 -13
- package/dist/bin/exe-forget.js +11 -11
- package/dist/bin/exe-gateway.js +9 -9
- package/dist/bin/exe-grant.js +6 -6
- package/dist/bin/exe-healthcheck.js +12 -11
- package/dist/bin/exe-heartbeat.js +25 -25
- package/dist/bin/exe-kill.js +25 -25
- package/dist/bin/exe-launch-agent.js +34 -34
- package/dist/bin/exe-mcp.js +7 -6
- package/dist/bin/exe-memory-reads.js +8 -8
- package/dist/bin/exe-new-employee.js +11 -11
- package/dist/bin/exe-os-mcp-proxy.js +7 -6
- package/dist/bin/exe-pending-messages.js +20 -20
- package/dist/bin/exe-pending-notifications.js +19 -19
- package/dist/bin/exe-pending-reviews.js +20 -20
- package/dist/bin/exe-rename.js +7 -7
- package/dist/bin/exe-review.js +24 -24
- package/dist/bin/exe-search.js +10 -10
- package/dist/bin/exe-session-cleanup.js +26 -26
- package/dist/bin/exe-settings.js +19 -19
- package/dist/bin/exe-start-codex.js +20 -20
- package/dist/bin/exe-start-opencode.js +18 -18
- package/dist/bin/exe-status.js +21 -21
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +5 -5
- package/dist/bin/git-sweep.js +21 -21
- package/dist/bin/graph-backfill.js +9 -9
- package/dist/bin/graph-export.js +9 -9
- package/dist/bin/hooks-cli.js +4 -4
- package/dist/bin/import-history.js +14 -13
- package/dist/bin/install.js +106 -105
- 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 +8 -8
- package/dist/bin/scan-tasks.js +20 -20
- package/dist/bin/setup.js +3 -3
- package/dist/bin/shard-migrate.js +9 -9
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-34GD265Q.js → boot-generation-HG6LLZLY.js} +4 -4
- package/dist/{boot-review-sections-JYDDUJH5.js → boot-review-sections-STZ5EAIL.js} +18 -18
- package/dist/{bug-landed-reconciler-ORYLGRQI.js → bug-landed-reconciler-EO72HUI2.js} +7 -7
- package/dist/build-info.json +3 -3
- package/dist/build-manifest.json +970 -970
- package/dist/{capability-cards-IOFJOGID.js → capability-cards-C3SMHB2E.js} +3 -3
- package/dist/{capacity-monitor-CJSDRDLR.js → capacity-monitor-UI553HRL.js} +20 -20
- package/dist/{catchup-brief-ELSYIYVL.js → catchup-brief-VE2X4HML.js} +26 -26
- package/dist/{chunk-HBOSSJWS.js → chunk-23XUZHB7.js} +5 -5
- package/dist/{chunk-BG52IECQ.js → chunk-3AL2LO3L.js} +1 -1
- package/dist/{chunk-HPDR3EL7.js → chunk-3MDUKF3N.js} +4 -4
- package/dist/{chunk-BHKCSRJG.js → chunk-4M24XCTI.js} +663 -68
- package/dist/{chunk-RGPEUXOE.js → chunk-4MK6LOD6.js} +27 -3
- package/dist/{chunk-ZB34E2OV.js → chunk-4O7OUBEX.js} +10 -10
- package/dist/{chunk-Z5ERWCOL.js → chunk-4Q7H3TO7.js} +1 -1
- package/dist/{chunk-YTP6L76N.js → chunk-4RQ62XXK.js} +5 -5
- package/dist/{chunk-VDSAXP3N.js → chunk-4S6H2NWS.js} +4 -4
- package/dist/{chunk-DXZRXNIC.js → chunk-4W7Y67B5.js} +1 -1
- package/dist/{chunk-SS3FTK77.js → chunk-52Z435PH.js} +8 -3
- package/dist/{chunk-77EIMVAX.js → chunk-5N34MMKS.js} +1 -1
- package/dist/{chunk-UMLDPQ24.js → chunk-6EY6OFBC.js} +2 -2
- package/dist/{chunk-IMI5ZAOA.js → chunk-6JLVCMKH.js} +1 -1
- package/dist/{chunk-ZGRLIQLE.js → chunk-6RRPVE5O.js} +3 -3
- package/dist/{chunk-6SJ4SKWZ.js → chunk-6TB7UXCA.js} +1 -1
- package/dist/{chunk-342ZBEDI.js → chunk-6ZW6BRI4.js} +2 -2
- package/dist/{chunk-5QJEJA5H.js → chunk-7I6KVKFF.js} +3 -3
- package/dist/{chunk-4SLKFUA7.js → chunk-7LTAA55U.js} +5 -1
- package/dist/{chunk-FKANX6A7.js → chunk-7P2TDFZL.js} +1 -1
- package/dist/{chunk-SLJDYBLE.js → chunk-7R7KDRKV.js} +1 -1
- package/dist/{chunk-NRLJOV7M.js → chunk-7YX73K2R.js} +97 -58
- package/dist/{chunk-R5YD5DIP.js → chunk-APVU4Q5B.js} +16 -16
- package/dist/{chunk-7OX2AACL.js → chunk-B3ISLIKE.js} +2 -2
- package/dist/{chunk-CP6XE35Z.js → chunk-BHDDDNC6.js} +2 -2
- package/dist/{chunk-TEHJ5TOU.js → chunk-BIV4IHED.js} +12 -12
- package/dist/{chunk-5GYA4ERO.js → chunk-BM467PZN.js} +1 -1
- package/dist/{chunk-BER2YLZT.js → chunk-BPBEJD7U.js} +1 -1
- package/dist/{chunk-T4IDLAZM.js → chunk-BYP3DOUU.js} +13 -0
- package/dist/{chunk-U7A2EACP.js → chunk-C426MZMD.js} +3 -3
- package/dist/{chunk-TRZXFWRO.js → chunk-DACRR362.js} +6 -6
- package/dist/{chunk-232YVOFB.js → chunk-DE2V7547.js} +2 -2
- package/dist/{chunk-QHQW3VHV.js → chunk-DIKLSAJE.js} +1 -1
- package/dist/{chunk-XC6EXJBA.js → chunk-DM4VTXM6.js} +4 -4
- package/dist/{chunk-EEY77PKF.js → chunk-DMYJVGQM.js} +1 -1
- package/dist/{chunk-ZSZVJ2FR.js → chunk-E2Z3F26R.js} +1 -1
- package/dist/{chunk-GRIGIKC4.js → chunk-EHILXBVT.js} +3 -3
- package/dist/{chunk-AIDYWH4D.js → chunk-EIM7OGTD.js} +2 -2
- package/dist/{chunk-7E4KZIX7.js → chunk-ESO5JDOT.js} +1 -1
- package/dist/{chunk-SPHPROWZ.js → chunk-F5ZRHLG5.js} +2 -2
- package/dist/{chunk-BIBBNDM3.js → chunk-FBZ32BD4.js} +1 -1
- package/dist/{chunk-FBB2YMKB.js → chunk-FJKUFMNF.js} +1 -1
- package/dist/{chunk-MNEVSKUY.js → chunk-FZT4VQP7.js} +1 -1
- package/dist/{chunk-ZLMVXK4O.js → chunk-G3ZYXXO7.js} +11 -11
- package/dist/{chunk-6RWTLW75.js → chunk-GEQQGN3J.js} +7 -7
- package/dist/{chunk-7NR6LMGH.js → chunk-GG73NHZD.js} +2 -2
- package/dist/{chunk-VGP4T2L6.js → chunk-GKPPLIMJ.js} +5 -5
- package/dist/{chunk-ERIXGUSV.js → chunk-GPWXUU3L.js} +1 -1
- package/dist/{chunk-OAP66FCX.js → chunk-GRAMRMWS.js} +2 -2
- package/dist/{chunk-IVX4CW6I.js → chunk-GTRB6DGI.js} +2 -2
- package/dist/{chunk-WQ7YIU4M.js → chunk-HFSFWMID.js} +3 -3
- package/dist/{chunk-5FOJ6N3V.js → chunk-HFXBL7XE.js} +1 -1
- package/dist/{chunk-36QUBTID.js → chunk-HK7HIDXP.js} +2 -2
- package/dist/{chunk-323DU3UM.js → chunk-HNGAM3U4.js} +3 -3
- package/dist/{chunk-XIJIFRPA.js → chunk-HRKN3DQE.js} +8 -8
- package/dist/{chunk-AO2HCOE6.js → chunk-HRYWB4TO.js} +3 -3
- package/dist/{chunk-Q2RTUZXB.js → chunk-HUMNRJZE.js} +4 -4
- package/dist/{chunk-KAKURNNS.js → chunk-IPANAGA3.js} +1 -1
- package/dist/{chunk-RZTSXHWF.js → chunk-IPBNHPTE.js} +9 -9
- package/dist/{chunk-SDJ3TONY.js → chunk-IUBCS6TA.js} +3 -3
- package/dist/{chunk-C7SKFVXQ.js → chunk-IURGBN5B.js} +4 -4
- package/dist/{chunk-GWAN2BDB.js → chunk-IVXELUEQ.js} +25 -12
- package/dist/{chunk-DG3DWHYJ.js → chunk-IZ24HRDC.js} +3 -3
- package/dist/{chunk-G3ABALZ7.js → chunk-JJYAETCO.js} +4 -4
- package/dist/{chunk-6XJYUC7K.js → chunk-JR3GTBV3.js} +1 -1
- package/dist/{chunk-MLIRYXZ2.js → chunk-K7DAE2HO.js} +1 -1
- package/dist/{chunk-ZGNMI2WJ.js → chunk-KBHK2WNO.js} +1 -1
- package/dist/{chunk-MAY4VWEG.js → chunk-KCRSJ3VU.js} +3 -3
- package/dist/{chunk-NF7JS7XW.js → chunk-KIJRAZWR.js} +1 -1
- package/dist/{chunk-35PGCSNN.js → chunk-KPLMY2GT.js} +4 -4
- package/dist/{chunk-USZHUBHT.js → chunk-L4ISXVC5.js} +1 -1
- package/dist/{chunk-UNNOYMQI.js → chunk-L5CPS34O.js} +1 -1
- package/dist/{chunk-SJTFU3YJ.js → chunk-LE3DIA25.js} +3 -3
- package/dist/{chunk-DEBKL7WW.js → chunk-LMF2YC5C.js} +4 -4
- package/dist/{chunk-LDYQPD5H.js → chunk-LVEMYNYH.js} +3 -3
- package/dist/{chunk-G4MVORCE.js → chunk-M4N7I2H5.js} +5 -5
- package/dist/{chunk-5F74HGSQ.js → chunk-M7774YLB.js} +1 -1
- package/dist/{chunk-3AOPBH5S.js → chunk-ME733Y2F.js} +1 -1
- package/dist/{chunk-CCY37D3C.js → chunk-N3JEYUDV.js} +2 -2
- package/dist/{chunk-3X733RHO.js → chunk-NDCW4G55.js} +1 -1
- package/dist/{chunk-Y73MI7UH.js → chunk-NFNM64A7.js} +12 -12
- package/dist/{chunk-3AC6WJNP.js → chunk-NHQWPKX7.js} +2 -2
- package/dist/{chunk-YB5IW32Y.js → chunk-NK4JHJNP.js} +4 -4
- package/dist/{chunk-IZWMWJZT.js → chunk-NVM3SKJ4.js} +1 -1
- package/dist/{chunk-VSJ3Y26C.js → chunk-OE7TAEOG.js} +1 -1
- package/dist/{chunk-D6PNMFPF.js → chunk-OEHZ46WQ.js} +2 -2
- package/dist/{chunk-4MQDDFRN.js → chunk-OFT5KSBM.js} +1 -1
- package/dist/{chunk-FEJK36FV.js → chunk-OISOA6NX.js} +2 -2
- package/dist/{chunk-L23CONP7.js → chunk-PCFYNK7V.js} +3 -3
- package/dist/{chunk-OMMQNLFE.js → chunk-PKM456D2.js} +1 -1
- package/dist/{chunk-G66AOAYN.js → chunk-PZDAPIQL.js} +1 -1
- package/dist/{chunk-QZJY4RMF.js → chunk-Q4GS5VW7.js} +3 -3
- package/dist/{chunk-DOO6M2XM.js → chunk-QK3Z4TKQ.js} +5 -5
- package/dist/{chunk-KZSBPAEJ.js → chunk-QPMKVSHU.js} +2 -2
- package/dist/{chunk-ZL3D7XTR.js → chunk-QUK3UDZV.js} +3 -3
- package/dist/{chunk-4U2TAOW7.js → chunk-QYIR64RR.js} +1 -1
- package/dist/{chunk-QWXBLCVK.js → chunk-R6CKQLEA.js} +2 -2
- package/dist/{chunk-X6HOIDIR.js → chunk-R7QZXQPU.js} +3 -3
- package/dist/{chunk-G6D6U2EY.js → chunk-RZ23QQCI.js} +4 -4
- package/dist/{chunk-PYS43F2X.js → chunk-RZBSVTOL.js} +1 -1
- package/dist/{chunk-RHEIOXVL.js → chunk-SA66WRBT.js} +1 -1
- package/dist/{chunk-KVPCFVAH.js → chunk-SFGFNJBR.js} +1 -1
- package/dist/{chunk-S5OI42DL.js → chunk-SGR4ZQAV.js} +3 -3
- package/dist/{chunk-IQI5LAEK.js → chunk-SY53PYLU.js} +1 -1
- package/dist/{chunk-7DG3WBGN.js → chunk-SYUJCVJG.js} +1 -1
- package/dist/{chunk-HJ2DJJIK.js → chunk-T2PAFWRK.js} +8 -8
- package/dist/{chunk-AWNX33WP.js → chunk-TBYWOHTE.js} +1 -1
- package/dist/{chunk-DDAOY3DL.js → chunk-TCV3WA5I.js} +1 -1
- package/dist/{chunk-3VW5ZP2F.js → chunk-UWGQNJIE.js} +1 -1
- package/dist/{chunk-3DIP37BT.js → chunk-UXJAW4IQ.js} +2 -2
- package/dist/{chunk-QJTG3DN7.js → chunk-VLAENYCN.js} +1 -1
- package/dist/{chunk-TLELTVAN.js → chunk-VYKXRSHU.js} +1 -1
- package/dist/{chunk-VFUMCL6H.js → chunk-W2VDJKTB.js} +1 -1
- package/dist/{chunk-PCLIU4BP.js → chunk-W5XAB2SW.js} +154 -152
- package/dist/{chunk-6GBGKSNQ.js → chunk-WYNIWJRN.js} +5 -5
- package/dist/{chunk-7VSPHUIB.js → chunk-XAGIZVYI.js} +26 -26
- package/dist/{chunk-XT7ZZJVD.js → chunk-XCPD7NGP.js} +1 -1
- package/dist/{chunk-52JOFQOK.js → chunk-XFGS22VE.js} +1 -1
- package/dist/{chunk-YV5JIEYI.js → chunk-XGPBHKU3.js} +2 -2
- package/dist/{chunk-WJ53NNEV.js → chunk-Y5LJYDX4.js} +1 -0
- package/dist/{chunk-GVVWEBTD.js → chunk-YLWKWEJJ.js} +3 -3
- package/dist/{chunk-6Y7TK4EA.js → chunk-YUAOQJVV.js} +2 -2
- package/dist/{chunk-KP3J52RW.js → chunk-YVS77JPW.js} +3 -3
- package/dist/{chunk-XA5FPMYR.js → chunk-ZEHBSA25.js} +2 -2
- package/dist/{chunk-6ENEX5UH.js → chunk-ZYOIH5NY.js} +6 -6
- package/dist/{cleanup-graph-garbage-M5OYEPRR.js → cleanup-graph-garbage-NKAJSCWZ.js} +9 -9
- package/dist/{cli-shutdown-AY2FMXD6.js → cli-shutdown-F3DFDCB5.js} +1 -1
- package/dist/{cloud-sync-command-PRC4GV62.js → cloud-sync-command-3YBLSMAL.js} +2 -2
- package/dist/{cloud-sync-db-init-IYXPCNSJ.js → cloud-sync-db-init-JWSPAFKY.js} +1 -1
- package/dist/{cloud-sync-shutdown-3F6XASFF.js → cloud-sync-shutdown-4R6RIO67.js} +3 -3
- package/dist/{co-activation-LB56BYW2.js → co-activation-2ZRANV3Q.js} +3 -3
- package/dist/{co-occurrence-TKPZB3IR.js → co-occurrence-6EELW2L2.js} +7 -7
- package/dist/{consent-passphrase-YQLAAPPC.js → consent-passphrase-TDR263MC.js} +2 -2
- package/dist/{content-extractor-XCS6QGM4.js → content-extractor-OVD7PTSN.js} +2 -2
- package/dist/{conversation-entity-extractor-J2UZGFG3.js → conversation-entity-extractor-KUJN3MOH.js} +4 -4
- package/dist/{crdt-sync-GE6DVV2F.js → crdt-sync-IX43KVQ3.js} +4 -4
- package/dist/{crm-webhook-6HXNLEQV.js → crm-webhook-GSCIW6CE.js} +2 -2
- package/dist/{cto-delegation-gate-QSWDPH67.js → cto-delegation-gate-ZWD4EFRR.js} +20 -19
- package/dist/{daemon-orchestration-YJ4GMHVM.js → daemon-orchestration-WL6V4QL4.js} +24 -24
- package/dist/{doc-graph-extractor-XLAUARWE.js → doc-graph-extractor-NJ7ZZC2C.js} +7 -7
- package/dist/{documents-SZ76YQ3Q.js → documents-O7WYZFFE.js} +9 -9
- package/dist/{dreaming-ZQGMOZ2E.js → dreaming-TUESPDT3.js} +24 -24
- package/dist/{employee-boot-brief-SV5JHCJL.js → employee-boot-brief-UCP6QLN4.js} +28 -28
- package/dist/{entity-boost-KTADWOGJ.js → entity-boost-TK43XT24.js} +1 -1
- package/dist/{exe-drift-CT36U5DX.js → exe-drift-QD6LUZT2.js} +4 -4
- package/dist/{exe-export-EJ4B74OU.js → exe-export-QIUNHFSS.js} +11 -11
- package/dist/{exe-import-UA6OIZ4C.js → exe-import-3UFOLHEW.js} +11 -11
- package/dist/{exe-key-SKOOVJCT.js → exe-key-D5NDKGHT.js} +104 -103
- package/dist/{exe-org-WQARAD3U.js → exe-org-UWDJBOCV.js} +32 -32
- package/dist/{exe-snapshot-2OXDANU3.js → exe-snapshot-P6SFODEN.js} +27 -27
- package/dist/{fast-db-init-YFUMI4NH.js → fast-db-init-SD7JZSEC.js} +1 -1
- package/dist/{founder-context-DMWIIDJ2.js → founder-context-QIXDZIJX.js} +2 -2
- package/dist/{founder-monitor-envelope-JYFWXZQ4.js → founder-monitor-envelope-TLOC4UYG.js} +4 -4
- package/dist/gateway/index.js +11 -11
- package/dist/{gateway-client-ELHI2DWX.js → gateway-client-CQTSYJLP.js} +1 -1
- package/dist/{git-staleness-K7HHMBWI.js → git-staleness-JSQTHB4Z.js} +3 -3
- package/dist/{global-procedures-ERZJFJUA.js → global-procedures-T3RKI4QX.js} +6 -6
- package/dist/{graph-auto-extract-LUQ6QZ4P.js → graph-auto-extract-V75GSTNX.js} +7 -7
- package/dist/{graph-query-KRNMWF77.js → graph-query-VAQN2RK3.js} +1 -1
- package/dist/{graph-rag-2W26GEGZ.js → graph-rag-GBA5E3QC.js} +4 -4
- package/dist/{hook-integrity-QFBZE5FK.js → hook-integrity-II6QK6Y4.js} +1 -1
- package/dist/{hook-prefetch-WP3PEE4H.js → hook-prefetch-5EHPOYY3.js} +19 -19
- package/dist/hooks/bug-report-worker.js +23 -23
- package/dist/hooks/codex-stop-task-finalizer.js +25 -25
- package/dist/hooks/commit-complete.js +23 -23
- package/dist/hooks/error-recall.js +14 -13
- package/dist/hooks/exe-heartbeat-hook.js +7 -6
- package/dist/hooks/ingest-worker.js +35 -9
- package/dist/hooks/ingest.js +16 -15
- package/dist/hooks/instructions-loaded.js +9 -8
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +8 -7
- package/dist/hooks/post-compact.js +7 -6
- package/dist/hooks/post-tool-combined.js +13 -13
- package/dist/hooks/pre-compact.js +24 -23
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/hooks/prompt-submit.js +43 -42
- package/dist/hooks/session-end.js +29 -28
- package/dist/hooks/session-start.js +18 -18
- package/dist/hooks/stop.js +27 -26
- package/dist/hooks/subagent-stop.js +28 -27
- package/dist/hooks/summary-worker.js +27 -27
- package/dist/index.js +31 -31
- package/dist/{installer-ADGJLDVY.js → installer-ILYC4LI5.js} +9 -8
- package/dist/{installer-HCFVVQ6F.js → installer-MPVQ5L22.js} +9 -8
- package/dist/{installer-ZNP4S32U.js → installer-XEEZSF3V.js} +9 -8
- package/dist/{intercom-queue-NRECOZFL.js → intercom-queue-QGHAW2KO.js} +18 -18
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +17 -17
- package/dist/lib/consolidation.js +10 -10
- package/dist/lib/crypto.js +3 -3
- package/dist/lib/database.js +3 -3
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-write-worker.js +3 -3
- package/dist/lib/db.js +3 -3
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +7 -7
- package/dist/lib/employees.js +3 -3
- package/dist/lib/exe-daemon.js +90 -90
- package/dist/lib/hybrid-search.js +10 -10
- 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 +19 -19
- package/dist/lib/post-tool-memory.js +46 -7
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +4 -4
- package/dist/lib/runtime-table.js +1 -1
- package/dist/lib/schedules.js +9 -9
- package/dist/lib/session-registry.js +5 -5
- package/dist/lib/skill-learning.js +10 -10
- package/dist/lib/store.js +8 -8
- package/dist/lib/task-router.js +4 -4
- package/dist/lib/tasks.js +20 -20
- package/dist/lib/tmux-routing.js +18 -18
- package/dist/lib/token-spend.js +4 -4
- package/dist/lib/ws-client.js +1 -1
- package/dist/{license-gate-CB2OCT2G.js → license-gate-CARN6AB6.js} +3 -3
- package/dist/{license-recheck-ZAEPWMY7.js → license-recheck-7Z3LS6YS.js} +1 -1
- package/dist/{license-sync-UW4UH7F5.js → license-sync-PUQV3HSZ.js} +2 -2
- package/dist/{local-secret-inventory-2DVUEFKD.js → local-secret-inventory-5J7P24ZR.js} +2 -2
- package/dist/mcp/register-tools.js +103 -102
- package/dist/mcp/server.js +103 -102
- 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 +24 -23
- package/dist/mcp/tools/deactivate-behavior.js +13 -12
- package/dist/mcp/tools/list-reminders.js +5 -5
- package/dist/mcp/tools/list-tasks.js +24 -23
- package/dist/mcp/tools/send-message.js +23 -22
- package/dist/mcp/tools/update-task.js +21 -21
- package/dist/{mcp-http-config-IPXCT6Y5.js → mcp-http-config-RJKTZPHZ.js} +7 -6
- package/dist/{mcp-session-identity-GRKQ6X6M.js → mcp-session-identity-HN444A3G.js} +18 -18
- package/dist/{memory-cards-JN32U2KA.js → memory-cards-AT3QCCWU.js} +8 -8
- package/dist/{memory-graph-extractor-3LN2GSMZ.js → memory-graph-extractor-B43UWGV5.js} +8 -8
- package/dist/{memory-maintenance-YTNSNHD5.js → memory-maintenance-WDLL3ZX3.js} +2 -2
- package/dist/{memory-poisoning-defense-ISKHR76K.js → memory-poisoning-defense-TS4WNW4S.js} +3 -3
- package/dist/{memory-pressure-watchdog-P4QHXE3Z.js → memory-pressure-watchdog-6YH7S6W7.js} +19 -19
- package/dist/{memory-reflection-R6TAIUOR.js → memory-reflection-N6NSYW6S.js} +8 -8
- package/dist/{memory-write-repository-JTJE3AG4.js → memory-write-repository-D35RDO62.js} +1 -1
- package/dist/{monitor-grants-KX5J6AQ7.js → monitor-grants-FH4PNYN5.js} +3 -3
- package/dist/{monitor-identity-WXIGBLYH.js → monitor-identity-LK5ZCCND.js} +2 -2
- package/dist/{notification-ledger-DKHZKGZX.js → notification-ledger-3WJYJGGS.js} +19 -19
- package/dist/{notifications-ZQVBRXG5.js → notifications-T5C2CVB3.js} +18 -18
- package/dist/{orchestration-events-B3OHNBR4.js → orchestration-events-73VEJT7Q.js} +4 -4
- package/dist/{orchestrator-OG6BEUHS.js → orchestrator-3O657734.js} +20 -20
- package/dist/{org-brief-session-MHDLBUO4.js → org-brief-session-EGB35QLM.js} +15 -15
- package/dist/{org-consent-policy-OP5L627O.js → org-consent-policy-MSVSRI53.js} +5 -5
- package/dist/{org-join-H3PBH7US.js → org-join-4BK2XJJI.js} +9 -9
- package/dist/{org-key-admin-UEDWV3F4.js → org-key-admin-EUSSGXQ3.js} +11 -11
- package/dist/{org-key-epoch-BW72L7RI.js → org-key-epoch-NMEWDT5L.js} +5 -5
- package/dist/{org-key-pin-XBLJOF4A.js → org-key-pin-HUSXGINB.js} +3 -3
- package/dist/{org-membership-UHVIK3UH.js → org-membership-B74IWEM5.js} +4 -4
- package/dist/{org-partner-config-G3BGVBQT.js → org-partner-config-5FJTJABN.js} +8 -8
- package/dist/{org-partner-runtime-H6MROHM7.js → org-partner-runtime-GN4GFWI2.js} +15 -15
- package/dist/{org-row-visibility-JK5REXVH.js → org-row-visibility-PBZ2TSCR.js} +1 -1
- package/dist/{pipeline-router-7L7AV55A.js → pipeline-router-2IELBSVJ.js} +4 -4
- package/dist/{plan-limits-RKGJXYKE.js → plan-limits-4GXK5PFT.js} +6 -6
- package/dist/{platform-procedures-RTD5E3BD.js → platform-procedures-QP3W2NLH.js} +1 -1
- package/dist/{pre-tool-use-impl-Q3JG5RNT.js → pre-tool-use-impl-CY73PRJP.js} +42 -42
- package/dist/{project-name-KQUBSY5O.js → project-name-337ERIAX.js} +4 -4
- package/dist/{projection-worker-LGELT4E6.js → projection-worker-W476IG6V.js} +2 -2
- package/dist/{prospective-memory-ZESC2I6H.js → prospective-memory-5INB7NUL.js} +3 -3
- package/dist/{push-notifications-YL2DRTGQ.js → push-notifications-YVOP4KGN.js} +19 -19
- package/dist/{reproject-worktree-memories-VPZRYPQM.js → reproject-worktree-memories-OGBR3CMO.js} +18 -18
- package/dist/{reranker-XC2LXYD3.js → reranker-W7WCJH6Y.js} +1 -1
- package/dist/{retrieval-health-H4QJN3UZ.js → retrieval-health-R6MGXLTP.js} +1 -1
- package/dist/{review-polling-67WTTJHH.js → review-polling-TKAWVY6G.js} +19 -19
- package/dist/runtime/index.js +23 -23
- package/dist/{session-events-7XFO27M5.js → session-events-HUCZ7TOR.js} +19 -19
- package/dist/{session-kill-telemetry-2F5INRA6.js → session-kill-telemetry-RWRWOW4C.js} +19 -19
- package/dist/{session-scope-GEXQAEYT.js → session-scope-5CDRHV75.js} +18 -18
- package/dist/{setup-wizard-NQI6GC2N.js → setup-wizard-RBTJAZOP.js} +3 -3
- package/dist/{shard-manager-TJ323N7P.js → shard-manager-LRPAAQA4.js} +2 -2
- package/dist/{skill-refinement-EQ3YVAGM.js → skill-refinement-MDXKDCY6.js} +4 -4
- package/dist/{skill-retrieval-LABSBPVT.js → skill-retrieval-OWY6MTCX.js} +12 -12
- package/dist/{skill-usage-WNCOURZY.js → skill-usage-GNV737U5.js} +4 -4
- package/dist/{stack-generate-manifest-RKQBTLEY.js → stack-generate-manifest-S4SBLKBY.js} +4 -4
- package/dist/{stack-promote-ZVOIMFRF.js → stack-promote-U4EZNLOV.js} +4 -4
- package/dist/{stack-release-ZCHLWJXF.js → stack-release-4VBGOYGK.js} +5 -5
- package/dist/{stack-update-AP6OC7LU.js → stack-update-C5YKHE7A.js} +3 -3
- package/dist/{steward-gate-BNI4K3GP.js → steward-gate-QFPXQBUZ.js} +4 -4
- package/dist/{subagent-brief-injection-ZXKMB5TZ.js → subagent-brief-injection-GDXO5WNS.js} +33 -32
- package/dist/{subagent-spawn-ledger-OI23OT4I.js → subagent-spawn-ledger-PDICC43I.js} +2 -1
- package/dist/{support-bug-actions-OYM3K4RU.js → support-bug-actions-4XEKXIIO.js} +4 -4
- package/dist/{support-inbox-2JOCSJUT.js → support-inbox-Y7AFCOGM.js} +17 -16
- package/dist/{support-outbox-6AE2NQTA.js → support-outbox-2WYS3HWR.js} +2 -2
- package/dist/{task-enforcement-LUXQXSE6.js → task-enforcement-CN3Q4PEH.js} +19 -19
- package/dist/{task-request-inbox-4TOOJ6IR.js → task-request-inbox-AY3C6DND.js} +5 -5
- package/dist/{task-scope-OEA6KUTX.js → task-scope-AMR3Z3DJ.js} +18 -18
- package/dist/{tasks-crud-GBNROE5E.js → tasks-crud-2GHKIZOM.js} +18 -18
- package/dist/{tasks-notify-FMSTX6Q5.js → tasks-notify-Z53446KM.js} +19 -19
- package/dist/{tasks-review-EAOT3SKK.js → tasks-review-APRNSHMQ.js} +18 -18
- package/dist/{telemetry-upload-OFNKPITF.js → telemetry-upload-5XR42SQN.js} +8 -8
- package/dist/{token-budget-7K5PMPP2.js → token-budget-TTNJXI7W.js} +4 -4
- package/dist/{tool-telemetry-HC7NHNWD.js → tool-telemetry-36ST422N.js} +1 -1
- package/dist/tui/App.js +30 -30
- package/dist/{tui-data-C6STFM4Z.js → tui-data-AP5TPUOQ.js} +22 -22
- package/dist/{update-support-KOJIIKHY.js → update-support-SFTI2PUD.js} +15 -14
- package/dist/{whatsapp-JDAZGYPN.js → whatsapp-5CXE3JHG.js} +2 -2
- package/dist/{wiki-acl-7JCCDS7U.js → wiki-acl-N754BC2W.js} +1 -1
- package/dist/{work-claims-MDJ3JEUD.js → work-claims-OAICQBWO.js} +4 -4
- package/dist/{work-state-heartbeat-GFPR5OVW.js → work-state-heartbeat-MTTUGMPU.js} +1 -1
- package/dist/{workflow-engine-YYR2DNFP.js → workflow-engine-RID3QL2U.js} +2 -2
- package/dist/{worktree-XJITSSNN.js → worktree-XWVNDBRD.js} +5 -5
- package/dist/{worktree-sweep-3FJSAGNK.js → worktree-sweep-6VEHGH7U.js} +6 -6
- package/package.json +6 -5
- package/release-notes.json +9 -10
- package/stack.release.json +3 -3
- package/dist/{chunk-ZWQWLUZA.js → chunk-33PG3KNY.js} +0 -0
- package/dist/{chunk-MY6P4E5J.js → chunk-64UAHPXA.js} +0 -0
- package/dist/{chunk-7GCPTNHK.js → chunk-CLV7ALXV.js} +0 -0
- package/dist/{chunk-7QIEF6OZ.js → chunk-EZQ4W3WW.js} +0 -0
- package/dist/{chunk-DHRIW7RJ.js → chunk-FLO24BNN.js} +0 -0
- package/dist/{chunk-USDMXIPZ.js → chunk-FUZHMV7K.js} +0 -0
- package/dist/{chunk-E5RCYOLD.js → chunk-LDHJX4TZ.js} +0 -0
- package/dist/{chunk-3NHFXUWK.js → chunk-OEEHLATI.js} +0 -0
- package/dist/{chunk-HEEKYE6D.js → chunk-OLMLA377.js} +0 -0
- package/dist/{chunk-QYCRJ76J.js → chunk-WIDOLS7T.js} +0 -0
- package/dist/{chunk-FLC2S4BD.js → chunk-YBB43SXC.js} +0 -0
- package/dist/{chunk-GVTIDG37.js → chunk-YG4DZZ6J.js} +0 -0
- package/dist/{core-memory-DQ5A24DD.js → core-memory-WR7I7DIP.js} +0 -0
- package/dist/{hook-tamper-log-ARGWCXKJ.js → hook-tamper-log-HTWEP37U.js} +3 -3
- /package/dist/{memory-isolation-2M3GFNWG.js → memory-isolation-4RQJ5RCK.js} +0 -0
- /package/dist/{oauth-server-NWVJ26NL.js → oauth-server-VBDMZIEV.js} +0 -0
- /package/dist/{project-boot-JAGN65MZ.js → project-boot-G7T5WHO6.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-SFGFNJBR.js";
|
|
22
22
|
import {
|
|
23
23
|
disposeDbWriteWorker,
|
|
24
24
|
isDbWriteWorkerReady,
|
|
@@ -64,15 +64,15 @@ import {
|
|
|
64
64
|
} from "../chunk-KWOAM7TA.js";
|
|
65
65
|
import {
|
|
66
66
|
governMemoryRecord
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-PKM456D2.js";
|
|
68
68
|
import "../chunk-5MOYSU5A.js";
|
|
69
|
-
import "../chunk-
|
|
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-
|
|
73
|
+
} from "../chunk-XAGIZVYI.js";
|
|
74
|
+
import "../chunk-ESO5JDOT.js";
|
|
75
|
+
import "../chunk-VYKXRSHU.js";
|
|
76
76
|
import {
|
|
77
77
|
currentPauseStartMs,
|
|
78
78
|
isTimerPausedNow,
|
|
@@ -81,24 +81,24 @@ import {
|
|
|
81
81
|
sweepPauseTotalMs,
|
|
82
82
|
timerPauseIntervalsSince
|
|
83
83
|
} from "../chunk-ZKGWHT56.js";
|
|
84
|
-
import "../chunk-
|
|
84
|
+
import "../chunk-KBHK2WNO.js";
|
|
85
85
|
import "../chunk-WT4RI36X.js";
|
|
86
86
|
import "../chunk-E23LNUWJ.js";
|
|
87
87
|
import "../chunk-TDF2XKLK.js";
|
|
88
88
|
import "../chunk-EIKATSE4.js";
|
|
89
89
|
import "../chunk-MJCSEIFI.js";
|
|
90
|
-
import "../chunk-
|
|
90
|
+
import "../chunk-QDMZ5DX2.js";
|
|
91
|
+
import "../chunk-HME6ITKV.js";
|
|
92
|
+
import "../chunk-HFXBL7XE.js";
|
|
91
93
|
import "../chunk-VI4ATC6I.js";
|
|
92
94
|
import "../chunk-A27Q27CT.js";
|
|
93
95
|
import "../chunk-6L4VIYLZ.js";
|
|
94
|
-
import "../chunk-
|
|
96
|
+
import "../chunk-SA66WRBT.js";
|
|
95
97
|
import "../chunk-T5SM4RXY.js";
|
|
96
|
-
import "../chunk-
|
|
97
|
-
import "../chunk-
|
|
98
|
+
import "../chunk-FJKUFMNF.js";
|
|
99
|
+
import "../chunk-IVXELUEQ.js";
|
|
98
100
|
import "../chunk-AM7S2TY6.js";
|
|
99
|
-
import "../chunk-
|
|
100
|
-
import "../chunk-QDMZ5DX2.js";
|
|
101
|
-
import "../chunk-HME6ITKV.js";
|
|
101
|
+
import "../chunk-EIM7OGTD.js";
|
|
102
102
|
import {
|
|
103
103
|
attributeSignalSource,
|
|
104
104
|
consumeRestartIntentDetail,
|
|
@@ -146,13 +146,13 @@ import {
|
|
|
146
146
|
killAttributionLogPath,
|
|
147
147
|
recordKillIntent
|
|
148
148
|
} from "../chunk-DRTJCG6B.js";
|
|
149
|
-
import "../chunk-
|
|
149
|
+
import "../chunk-4Q7H3TO7.js";
|
|
150
150
|
import "../chunk-HYZV25LY.js";
|
|
151
151
|
import "../chunk-CVYC6DUW.js";
|
|
152
152
|
import "../chunk-GJV3WDWM.js";
|
|
153
153
|
import "../chunk-YRUZK2QA.js";
|
|
154
154
|
import "../chunk-MP2AFCGL.js";
|
|
155
|
-
import "../chunk-
|
|
155
|
+
import "../chunk-3MDUKF3N.js";
|
|
156
156
|
import {
|
|
157
157
|
logBoot,
|
|
158
158
|
logCrash,
|
|
@@ -161,8 +161,8 @@ import {
|
|
|
161
161
|
logShutdown
|
|
162
162
|
} from "../chunk-BBMTVAE3.js";
|
|
163
163
|
import "../chunk-TKDITWDN.js";
|
|
164
|
-
import "../chunk-
|
|
165
|
-
import "../chunk-
|
|
164
|
+
import "../chunk-YUAOQJVV.js";
|
|
165
|
+
import "../chunk-OE7TAEOG.js";
|
|
166
166
|
import "../chunk-7FE43JRU.js";
|
|
167
167
|
import "../chunk-5YEUPUV4.js";
|
|
168
168
|
import {
|
|
@@ -188,10 +188,10 @@ import {
|
|
|
188
188
|
import {
|
|
189
189
|
EMBEDDING_DIM
|
|
190
190
|
} from "../chunk-C7GHNJPW.js";
|
|
191
|
-
import "../chunk-
|
|
192
|
-
import "../chunk-
|
|
191
|
+
import "../chunk-UWGQNJIE.js";
|
|
192
|
+
import "../chunk-DIKLSAJE.js";
|
|
193
193
|
import "../chunk-3R7UDPVR.js";
|
|
194
|
-
import "../chunk-
|
|
194
|
+
import "../chunk-LDHJX4TZ.js";
|
|
195
195
|
import "../chunk-A7JYF4RG.js";
|
|
196
196
|
import "../chunk-ARX6TAGN.js";
|
|
197
197
|
import {
|
|
@@ -2686,7 +2686,7 @@ async function loadModel() {
|
|
|
2686
2686
|
void (async () => {
|
|
2687
2687
|
try {
|
|
2688
2688
|
if (_storeInitialized) {
|
|
2689
|
-
const { writeNotification } = await import("../notifications-
|
|
2689
|
+
const { writeNotification } = await import("../notifications-T5C2CVB3.js");
|
|
2690
2690
|
await writeNotification({
|
|
2691
2691
|
agentId: "exe",
|
|
2692
2692
|
agentRole: "system",
|
|
@@ -2823,7 +2823,7 @@ function disableEmbeddingsForInferenceTimeouts() {
|
|
|
2823
2823
|
void (async () => {
|
|
2824
2824
|
try {
|
|
2825
2825
|
if (_storeInitialized) {
|
|
2826
|
-
const { writeNotification } = await import("../notifications-
|
|
2826
|
+
const { writeNotification } = await import("../notifications-T5C2CVB3.js");
|
|
2827
2827
|
await writeNotification({
|
|
2828
2828
|
agentId: "exe",
|
|
2829
2829
|
agentRole: "system",
|
|
@@ -2990,7 +2990,7 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
|
|
|
2990
2990
|
_shuttingDown = true;
|
|
2991
2991
|
_drainingWrites = true;
|
|
2992
2992
|
try {
|
|
2993
|
-
const { stopOrgPartnerRuntime } = await import("../org-partner-runtime-
|
|
2993
|
+
const { stopOrgPartnerRuntime } = await import("../org-partner-runtime-GN4GFWI2.js");
|
|
2994
2994
|
stopOrgPartnerRuntime();
|
|
2995
2995
|
} catch {
|
|
2996
2996
|
}
|
|
@@ -3078,7 +3078,7 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
|
|
|
3078
3078
|
dbBytes = dbPath ? statSync4(dbPath).size : 0;
|
|
3079
3079
|
} catch {
|
|
3080
3080
|
}
|
|
3081
|
-
const { getAvailableMemoryBytesSync } = await import("../memory-pressure-watchdog-
|
|
3081
|
+
const { getAvailableMemoryBytesSync } = await import("../memory-pressure-watchdog-6YH7S6W7.js");
|
|
3082
3082
|
const freeBytes = getAvailableMemoryBytesSync();
|
|
3083
3083
|
if (shouldSkipBackupUnderMemoryPressure(freeBytes, dbBytes)) {
|
|
3084
3084
|
memoryGateSkip = true;
|
|
@@ -3131,12 +3131,12 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
|
|
|
3131
3131
|
`);
|
|
3132
3132
|
}
|
|
3133
3133
|
try {
|
|
3134
|
-
const { stopProjectionWorker } = await import("../projection-worker-
|
|
3134
|
+
const { stopProjectionWorker } = await import("../projection-worker-W476IG6V.js");
|
|
3135
3135
|
stopProjectionWorker();
|
|
3136
3136
|
} catch {
|
|
3137
3137
|
}
|
|
3138
3138
|
try {
|
|
3139
|
-
const { disposeShards } = await import("../shard-manager-
|
|
3139
|
+
const { disposeShards } = await import("../shard-manager-LRPAAQA4.js");
|
|
3140
3140
|
disposeShards();
|
|
3141
3141
|
} catch {
|
|
3142
3142
|
}
|
|
@@ -3199,7 +3199,7 @@ async function handleHealthCheck(socket, requestId) {
|
|
|
3199
3199
|
let pipelineStatus = "unknown";
|
|
3200
3200
|
if (dbConnected) {
|
|
3201
3201
|
try {
|
|
3202
|
-
await import("../pipeline-router-
|
|
3202
|
+
await import("../pipeline-router-2IELBSVJ.js");
|
|
3203
3203
|
pipelineStatus = "ok";
|
|
3204
3204
|
} catch {
|
|
3205
3205
|
pipelineStatus = "unavailable";
|
|
@@ -3591,7 +3591,7 @@ async function _writeMemoryRecordInner(entry, syncOnly = false) {
|
|
|
3591
3591
|
}
|
|
3592
3592
|
}
|
|
3593
3593
|
const { getClient } = await import("./database.js");
|
|
3594
|
-
const { buildMemoryInsert, readMemoryWriteOutcome } = await import("../memory-write-repository-
|
|
3594
|
+
const { buildMemoryInsert, readMemoryWriteOutcome } = await import("../memory-write-repository-D35RDO62.js");
|
|
3595
3595
|
const client = getClient();
|
|
3596
3596
|
const row = {
|
|
3597
3597
|
...record,
|
|
@@ -3612,7 +3612,7 @@ async function _writeMemoryRecordInner(entry, syncOnly = false) {
|
|
|
3612
3612
|
if (Number(inserted.rowsAffected) === 0) return outcome.id;
|
|
3613
3613
|
const version = outcome.version;
|
|
3614
3614
|
try {
|
|
3615
|
-
const { insertOntologyForMemory } = await import("../agentic-ontology-
|
|
3615
|
+
const { insertOntologyForMemory } = await import("../agentic-ontology-6RS7A7KP.js");
|
|
3616
3616
|
await insertOntologyForMemory({
|
|
3617
3617
|
id,
|
|
3618
3618
|
agent_id: record.agent_id,
|
|
@@ -4489,7 +4489,7 @@ async function startMcpHttpServer() {
|
|
|
4489
4489
|
setBootPhase("db_ready");
|
|
4490
4490
|
_storeInitialized = true;
|
|
4491
4491
|
markDbInitCompleted();
|
|
4492
|
-
const { initLicenseGate, getCachedLicenseGate } = await import("../license-gate-
|
|
4492
|
+
const { initLicenseGate, getCachedLicenseGate } = await import("../license-gate-CARN6AB6.js");
|
|
4493
4493
|
const gateResult = await initLicenseGate();
|
|
4494
4494
|
if (!gateResult.hasKey) {
|
|
4495
4495
|
process.stderr.write(
|
|
@@ -4501,7 +4501,7 @@ async function startMcpHttpServer() {
|
|
|
4501
4501
|
`
|
|
4502
4502
|
);
|
|
4503
4503
|
}
|
|
4504
|
-
const { startLicenseRecheckTimer, LICENSE_RECHECK_INTERVAL_MS } = await import("../license-recheck-
|
|
4504
|
+
const { startLicenseRecheckTimer, LICENSE_RECHECK_INTERVAL_MS } = await import("../license-recheck-7Z3LS6YS.js");
|
|
4505
4505
|
startLicenseRecheckTimer();
|
|
4506
4506
|
process.stderr.write(
|
|
4507
4507
|
`[exed] License re-check timer started (every ${LICENSE_RECHECK_INTERVAL_MS / 6e4}m, throttled by cache freshness)
|
|
@@ -4510,7 +4510,7 @@ async function startMcpHttpServer() {
|
|
|
4510
4510
|
let _cachedWrapTelemetry = null;
|
|
4511
4511
|
async function getWrapTelemetry() {
|
|
4512
4512
|
if (!_cachedWrapTelemetry) {
|
|
4513
|
-
const { wrapServerWithTelemetry } = await import("../tool-telemetry-
|
|
4513
|
+
const { wrapServerWithTelemetry } = await import("../tool-telemetry-36ST422N.js");
|
|
4514
4514
|
_cachedWrapTelemetry = wrapServerWithTelemetry;
|
|
4515
4515
|
}
|
|
4516
4516
|
return _cachedWrapTelemetry;
|
|
@@ -4582,7 +4582,7 @@ async function startMcpHttpServer() {
|
|
|
4582
4582
|
const expectedBuf = Buffer.from(_daemonToken);
|
|
4583
4583
|
if (tokenBuf.length === expectedBuf.length && timingSafeEqual(tokenBuf, expectedBuf)) return true;
|
|
4584
4584
|
try {
|
|
4585
|
-
const { verifyAccessToken } = await import("../oauth-server-
|
|
4585
|
+
const { verifyAccessToken } = await import("../oauth-server-VBDMZIEV.js");
|
|
4586
4586
|
const result = verifyAccessToken(token);
|
|
4587
4587
|
return result.valid;
|
|
4588
4588
|
} catch {
|
|
@@ -4845,7 +4845,7 @@ async function startMcpHttpServer() {
|
|
|
4845
4845
|
return;
|
|
4846
4846
|
}
|
|
4847
4847
|
try {
|
|
4848
|
-
const { handleOAuthRoute } = await import("../oauth-server-
|
|
4848
|
+
const { handleOAuthRoute } = await import("../oauth-server-VBDMZIEV.js");
|
|
4849
4849
|
const handled = await handleOAuthRoute(req, res, url, MCP_HTTP_PORT, _daemonToken);
|
|
4850
4850
|
if (handled) return;
|
|
4851
4851
|
} catch (err) {
|
|
@@ -4973,7 +4973,7 @@ async function startMcpHttpServer() {
|
|
|
4973
4973
|
contextPct: body.context_pct
|
|
4974
4974
|
});
|
|
4975
4975
|
if (body.context_pct !== void 0 && body.context_pct > 70) {
|
|
4976
|
-
void import("../orchestration-events-
|
|
4976
|
+
void import("../orchestration-events-73VEJT7Q.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
4977
4977
|
recordOE({
|
|
4978
4978
|
eventType: "context.pressure",
|
|
4979
4979
|
source: "exe-daemon.heartbeat",
|
|
@@ -5069,7 +5069,7 @@ async function startMcpHttpServer() {
|
|
|
5069
5069
|
let sessionHint = req.headers["x-exe-session-name"] || req.headers["x-exe-session"] || "";
|
|
5070
5070
|
if (sessionHint) {
|
|
5071
5071
|
try {
|
|
5072
|
-
const { sanitizeSessionHintHeader, rejectForgedSessionHint } = await import("../mcp-session-identity-
|
|
5072
|
+
const { sanitizeSessionHintHeader, rejectForgedSessionHint } = await import("../mcp-session-identity-HN444A3G.js");
|
|
5073
5073
|
const rawHint = sessionHint;
|
|
5074
5074
|
sessionHint = sanitizeSessionHintHeader(sessionHint);
|
|
5075
5075
|
if (!sessionHint) {
|
|
@@ -5108,7 +5108,7 @@ async function startMcpHttpServer() {
|
|
|
5108
5108
|
try {
|
|
5109
5109
|
const liveSessions = await getTmuxSessionsAsync();
|
|
5110
5110
|
const paneCommands = await getPaneCommandsAsync();
|
|
5111
|
-
const { resolveMcpSessionHint } = await import("../mcp-session-identity-
|
|
5111
|
+
const { resolveMcpSessionHint } = await import("../mcp-session-identity-HN444A3G.js");
|
|
5112
5112
|
let registrySessions = [];
|
|
5113
5113
|
try {
|
|
5114
5114
|
const { listSessions: listRegistrySessions } = await import("./session-registry.js");
|
|
@@ -5245,7 +5245,7 @@ async function startMcpHttpServer() {
|
|
|
5245
5245
|
bindLive = await getTmuxSessionsAsync();
|
|
5246
5246
|
} catch {
|
|
5247
5247
|
}
|
|
5248
|
-
const { isLauncherCorroboratedIdentity } = await import("../mcp-session-identity-
|
|
5248
|
+
const { isLauncherCorroboratedIdentity } = await import("../mcp-session-identity-HN444A3G.js");
|
|
5249
5249
|
const corroborated = isLauncherCorroboratedIdentity({
|
|
5250
5250
|
agentId,
|
|
5251
5251
|
registrySessions: bindRegistry,
|
|
@@ -5487,7 +5487,7 @@ async function startMcpHttpServer() {
|
|
|
5487
5487
|
}
|
|
5488
5488
|
}
|
|
5489
5489
|
try {
|
|
5490
|
-
const { reconcileHintWithRegistryIdentity } = await import("../mcp-session-identity-
|
|
5490
|
+
const { reconcileHintWithRegistryIdentity } = await import("../mcp-session-identity-HN444A3G.js");
|
|
5491
5491
|
const { listSessions: listRegistrySessions } = await import("./session-registry.js");
|
|
5492
5492
|
const recon = reconcileHintWithRegistryIdentity({
|
|
5493
5493
|
agentId,
|
|
@@ -5747,9 +5747,9 @@ async function ensureStoreForPolling() {
|
|
|
5747
5747
|
await initDatabase({ dbPath: config.dbPath, encryptionKey: masterKey.toString("hex") });
|
|
5748
5748
|
await ensureSchema();
|
|
5749
5749
|
try {
|
|
5750
|
-
const { isLedgerEnabled } = await import("../notification-ledger-
|
|
5750
|
+
const { isLedgerEnabled } = await import("../notification-ledger-3WJYJGGS.js");
|
|
5751
5751
|
if (isLedgerEnabled()) {
|
|
5752
|
-
const { bumpBootGeneration } = await import("../boot-generation-
|
|
5752
|
+
const { bumpBootGeneration } = await import("../boot-generation-HG6LLZLY.js");
|
|
5753
5753
|
const { setDaemonReadyGeneration } = await import("../daemon-ready-signal-PNDMVKPJ.js");
|
|
5754
5754
|
const generation = await bumpBootGeneration();
|
|
5755
5755
|
setDaemonReadyGeneration(generation);
|
|
@@ -5790,13 +5790,13 @@ async function ensureStoreForPolling() {
|
|
|
5790
5790
|
}
|
|
5791
5791
|
}
|
|
5792
5792
|
async function startReviewPolling() {
|
|
5793
|
-
const polling = await import("../review-polling-
|
|
5793
|
+
const polling = await import("../review-polling-TKAWVY6G.js");
|
|
5794
5794
|
const state = {
|
|
5795
5795
|
lastIntercomSent: /* @__PURE__ */ new Map(),
|
|
5796
5796
|
lastNudgeSent: /* @__PURE__ */ new Map(),
|
|
5797
5797
|
intervalMs: REVIEW_POLL_INTERVAL_MS
|
|
5798
5798
|
};
|
|
5799
|
-
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-
|
|
5799
|
+
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-WL6V4QL4.js");
|
|
5800
5800
|
const nudgeState = loadNudgeState();
|
|
5801
5801
|
const tick = async () => traceDaemonTimer("review_polling", async () => {
|
|
5802
5802
|
fired("review_polling");
|
|
@@ -5804,7 +5804,7 @@ async function startReviewPolling() {
|
|
|
5804
5804
|
try {
|
|
5805
5805
|
const { getClient } = await import("./database.js");
|
|
5806
5806
|
const deps = polling.createRealDeps(getClient);
|
|
5807
|
-
const { strictSessionScopeFilter } = await import("../task-scope-
|
|
5807
|
+
const { strictSessionScopeFilter } = await import("../task-scope-AMR3Z3DJ.js");
|
|
5808
5808
|
const { getCoordinatorName, DEFAULT_COORDINATOR_TEMPLATE_NAME } = await import("./employees.js");
|
|
5809
5809
|
deps.findOrphanedDoneTasks = async (sessionScope) => {
|
|
5810
5810
|
const coordinatorName = getCoordinatorName();
|
|
@@ -5824,7 +5824,7 @@ async function startReviewPolling() {
|
|
|
5824
5824
|
deps.findTieredReviewCandidates = async (sessionScope) => {
|
|
5825
5825
|
let project = null;
|
|
5826
5826
|
try {
|
|
5827
|
-
const { getProjectName } = await import("../project-name-
|
|
5827
|
+
const { getProjectName } = await import("../project-name-337ERIAX.js");
|
|
5828
5828
|
project = getProjectName() || null;
|
|
5829
5829
|
} catch {
|
|
5830
5830
|
project = null;
|
|
@@ -5883,7 +5883,7 @@ function startSessionTTL() {
|
|
|
5883
5883
|
if (!await ensureStoreForPolling()) return;
|
|
5884
5884
|
if (inPostRestartDestructiveGrace("session_ttl")) return;
|
|
5885
5885
|
const { getClient } = await import("./database.js");
|
|
5886
|
-
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-
|
|
5886
|
+
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-WL6V4QL4.js");
|
|
5887
5887
|
const deps = createSessionTTLRealDeps(getClient);
|
|
5888
5888
|
const killed = await checkSessionTTL(deps, _wedgeObservations);
|
|
5889
5889
|
if (killed.length > 0) acted("session_ttl");
|
|
@@ -5943,7 +5943,7 @@ function startIdleKill() {
|
|
|
5943
5943
|
const cfg = await getCachedConfig();
|
|
5944
5944
|
if (!cfg) return;
|
|
5945
5945
|
const { getClient } = await import("./database.js");
|
|
5946
|
-
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-
|
|
5946
|
+
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-WL6V4QL4.js");
|
|
5947
5947
|
const { sessions: liveSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
|
|
5948
5948
|
const realDeps = createIdleKillRealDeps(
|
|
5949
5949
|
getClient,
|
|
@@ -6379,7 +6379,7 @@ function startSkillRefinement() {
|
|
|
6379
6379
|
if (!shouldRunHeavyJob("skill_refinement")) return;
|
|
6380
6380
|
try {
|
|
6381
6381
|
if (!await ensureStoreForPolling()) return;
|
|
6382
|
-
const { runSkillRefinement } = await import("../skill-refinement-
|
|
6382
|
+
const { runSkillRefinement } = await import("../skill-refinement-MDXKDCY6.js");
|
|
6383
6383
|
const result = await runSkillRefinement();
|
|
6384
6384
|
if (result.reviewed > 0) {
|
|
6385
6385
|
acted("skill_refinement");
|
|
@@ -6444,7 +6444,7 @@ function startStalledDispatchSweep() {
|
|
|
6444
6444
|
});
|
|
6445
6445
|
const { notifications, nextState } = decideStalledDispatchEscalations(intents, previousState);
|
|
6446
6446
|
if (notifications.length > 0 && _storeInitialized) {
|
|
6447
|
-
const { writeNotification } = await import("../notifications-
|
|
6447
|
+
const { writeNotification } = await import("../notifications-T5C2CVB3.js");
|
|
6448
6448
|
for (const note of notifications) {
|
|
6449
6449
|
try {
|
|
6450
6450
|
await writeNotification({
|
|
@@ -6494,7 +6494,7 @@ function startStaleBranchSweep() {
|
|
|
6494
6494
|
fired("stale_branch_sweep");
|
|
6495
6495
|
if (sweepStarved("stale_branch_sweep")) return;
|
|
6496
6496
|
try {
|
|
6497
|
-
const { discoverRepoPathsAsync } = await import("../worktree-sweep-
|
|
6497
|
+
const { discoverRepoPathsAsync } = await import("../worktree-sweep-6VEHGH7U.js");
|
|
6498
6498
|
const { scanUnmergedBranchesCached } = await import("../branch-hygiene-DDXXI6ZA.js");
|
|
6499
6499
|
const { runBudgetedSweep } = await import("../sweep-budget-YGLCNXZZ.js");
|
|
6500
6500
|
const today = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
@@ -6527,7 +6527,7 @@ function startStaleBranchSweep() {
|
|
|
6527
6527
|
if (!_storeInitialized) return;
|
|
6528
6528
|
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
6529
|
try {
|
|
6530
|
-
const { writeNotification } = await import("../notifications-
|
|
6530
|
+
const { writeNotification } = await import("../notifications-T5C2CVB3.js");
|
|
6531
6531
|
await writeNotification({
|
|
6532
6532
|
agentId: "exe",
|
|
6533
6533
|
agentRole: "system",
|
|
@@ -6568,7 +6568,7 @@ function startBugLandedReconcile() {
|
|
|
6568
6568
|
fired("bug_landed_reconcile");
|
|
6569
6569
|
if (sweepStarved("bug_landed_reconcile")) return;
|
|
6570
6570
|
try {
|
|
6571
|
-
const { reconcileLandedBugs } = await import("../bug-landed-reconciler-
|
|
6571
|
+
const { reconcileLandedBugs } = await import("../bug-landed-reconciler-EO72HUI2.js");
|
|
6572
6572
|
const result = await reconcileLandedBugs();
|
|
6573
6573
|
const { reposScanned, reposErrored, prsScanned, matched, reconciled, skipped, errored } = result.summary;
|
|
6574
6574
|
process.stderr.write(
|
|
@@ -6590,12 +6590,12 @@ function startBugLandedReconcile() {
|
|
|
6590
6590
|
}
|
|
6591
6591
|
async function maybeScheduleBugLandedReconcile() {
|
|
6592
6592
|
try {
|
|
6593
|
-
const { hasSupportAdminAccess } = await import("../support-bug-actions-
|
|
6593
|
+
const { hasSupportAdminAccess } = await import("../support-bug-actions-4XEKXIIO.js");
|
|
6594
6594
|
if (!await hasSupportAdminAccess()) {
|
|
6595
6595
|
process.stderr.write("[exed] Bug-landed reconcile: no AskExe support admin token configured \u2014 skipping (customer install)\n");
|
|
6596
6596
|
return;
|
|
6597
6597
|
}
|
|
6598
|
-
const { isGhAvailableAndAuthenticated } = await import("../bug-landed-reconciler-
|
|
6598
|
+
const { isGhAvailableAndAuthenticated } = await import("../bug-landed-reconciler-EO72HUI2.js");
|
|
6599
6599
|
if (!await isGhAvailableAndAuthenticated()) {
|
|
6600
6600
|
process.stderr.write("[exed] Bug-landed reconcile: gh CLI not available/authenticated \u2014 skipping\n");
|
|
6601
6601
|
return;
|
|
@@ -6634,7 +6634,7 @@ function startWorkStateHeartbeat() {
|
|
|
6634
6634
|
const { getClient } = await import("./database.js");
|
|
6635
6635
|
const { listSessions } = await import("./session-registry.js");
|
|
6636
6636
|
const { isCoordinatorName } = await import("./employees.js");
|
|
6637
|
-
const { runWorkStateTick } = await import("../work-state-heartbeat-
|
|
6637
|
+
const { runWorkStateTick } = await import("../work-state-heartbeat-MTTUGMPU.js");
|
|
6638
6638
|
let liveTmux = null;
|
|
6639
6639
|
const loadLiveTmux = async () => {
|
|
6640
6640
|
if (!liveTmux) liveTmux = await listTmuxSessionNamesAsync();
|
|
@@ -6700,7 +6700,7 @@ function startGraphExtraction() {
|
|
|
6700
6700
|
if (!await ensureStoreForPolling()) return;
|
|
6701
6701
|
const { getClient } = await import("./database.js");
|
|
6702
6702
|
const client = getClient();
|
|
6703
|
-
const { extractBatch } = await import("../graph-rag-
|
|
6703
|
+
const { extractBatch } = await import("../graph-rag-GBA5E3QC.js");
|
|
6704
6704
|
const result = await extractBatch(client, 50, config.selfQueryModel);
|
|
6705
6705
|
if (result.processed > 0) {
|
|
6706
6706
|
acted("graph_extraction");
|
|
@@ -7021,7 +7021,7 @@ async function refreshAgentData() {
|
|
|
7021
7021
|
const decision = evaluateSpendCapAlert(_lastSpendCapLevel, capStatus);
|
|
7022
7022
|
_lastSpendCapLevel = decision.level;
|
|
7023
7023
|
if (decision.shouldAlert && decision.summary) {
|
|
7024
|
-
const { writeNotification } = await import("../notifications-
|
|
7024
|
+
const { writeNotification } = await import("../notifications-T5C2CVB3.js");
|
|
7025
7025
|
await writeNotification({
|
|
7026
7026
|
agentId: "system",
|
|
7027
7027
|
agentRole: "system",
|
|
@@ -7143,7 +7143,7 @@ function startReflectionSweep() {
|
|
|
7143
7143
|
);
|
|
7144
7144
|
let runReflection;
|
|
7145
7145
|
try {
|
|
7146
|
-
({ runReflection } = await import("../memory-reflection-
|
|
7146
|
+
({ runReflection } = await import("../memory-reflection-N6NSYW6S.js"));
|
|
7147
7147
|
} catch (importErr) {
|
|
7148
7148
|
_reflectionImportFailed = true;
|
|
7149
7149
|
process.stderr.write(`[exed] Reflection module unavailable (stale chunk hash?) \u2014 disabled until daemon restart: ${importErr instanceof Error ? importErr.message : String(importErr)}
|
|
@@ -7184,7 +7184,7 @@ function startReflectionSweep() {
|
|
|
7184
7184
|
if (memories > 100 && cards < memories * 0.1) {
|
|
7185
7185
|
process.stderr.write(`[exed] Memory cards sparse (${cards} cards / ${memories} memories) \u2014 running backfill...
|
|
7186
7186
|
`);
|
|
7187
|
-
const { insertMemoryCardsForBatch } = await import("../memory-cards-
|
|
7187
|
+
const { insertMemoryCardsForBatch } = await import("../memory-cards-AT3QCCWU.js");
|
|
7188
7188
|
const batchSize = 500;
|
|
7189
7189
|
let offset = 0;
|
|
7190
7190
|
let totalCards = 0;
|
|
@@ -7265,7 +7265,7 @@ function startDatabaseBackup() {
|
|
|
7265
7265
|
`
|
|
7266
7266
|
);
|
|
7267
7267
|
try {
|
|
7268
|
-
const { maybeVerifyDailyBackup } = await import("../backup-verify-
|
|
7268
|
+
const { maybeVerifyDailyBackup } = await import("../backup-verify-QIAQ63VC.js");
|
|
7269
7269
|
const verdict = await maybeVerifyDailyBackup(backupPath);
|
|
7270
7270
|
if (verdict && !verdict.ok) {
|
|
7271
7271
|
process.stderr.write(
|
|
@@ -7341,7 +7341,7 @@ function startSessionEventsRetention() {
|
|
|
7341
7341
|
fired("session_events_retention");
|
|
7342
7342
|
if (!await ensureStoreForPolling()) return;
|
|
7343
7343
|
try {
|
|
7344
|
-
const { DEFAULT_SESSION_EVENTS_RETENTION_DAYS, sessionEventsRetentionMode } = await import("../session-events-
|
|
7344
|
+
const { DEFAULT_SESSION_EVENTS_RETENTION_DAYS, sessionEventsRetentionMode } = await import("../session-events-HUCZ7TOR.js");
|
|
7345
7345
|
const days = SESSION_EVENTS_RETENTION_DAYS ?? DEFAULT_SESSION_EVENTS_RETENTION_DAYS;
|
|
7346
7346
|
const decision = sessionEventsRetentionMode(isWriteWorkerEnabled(), isDbWriteWorkerReady());
|
|
7347
7347
|
if (decision.mode === "skip") {
|
|
@@ -7393,7 +7393,7 @@ function startConversationsRetention() {
|
|
|
7393
7393
|
if (!await ensureStoreForPolling()) return;
|
|
7394
7394
|
try {
|
|
7395
7395
|
const { DEFAULT_CONVERSATIONS_RETENTION_DAYS } = await import("../conversations-retention-XTBFJBUM.js");
|
|
7396
|
-
const { sessionEventsRetentionMode } = await import("../session-events-
|
|
7396
|
+
const { sessionEventsRetentionMode } = await import("../session-events-HUCZ7TOR.js");
|
|
7397
7397
|
const days = CONVERSATIONS_RETENTION_DAYS ?? DEFAULT_CONVERSATIONS_RETENTION_DAYS;
|
|
7398
7398
|
const decision = sessionEventsRetentionMode(isWriteWorkerEnabled(), isDbWriteWorkerReady());
|
|
7399
7399
|
if (decision.mode === "skip") {
|
|
@@ -7442,7 +7442,7 @@ function startIntercomQueueDrain() {
|
|
|
7442
7442
|
const tick = async () => traceDaemonTimer("intercom_queue_drain", async () => {
|
|
7443
7443
|
fired("intercom_queue_drain");
|
|
7444
7444
|
try {
|
|
7445
|
-
const { drainQueueAsync, readQueue } = await import("../intercom-queue-
|
|
7445
|
+
const { drainQueueAsync, readQueue } = await import("../intercom-queue-QGHAW2KO.js");
|
|
7446
7446
|
const {
|
|
7447
7447
|
sendIntercomAsync: centralSendIntercomAsync,
|
|
7448
7448
|
countScopedPendingReviews,
|
|
@@ -7574,7 +7574,7 @@ function startLedgerDrain() {
|
|
|
7574
7574
|
const tick = async () => traceDaemonTimer("ledger_drain", async () => {
|
|
7575
7575
|
fired("ledger_drain");
|
|
7576
7576
|
try {
|
|
7577
|
-
const { isLedgerEnabled, drainLedger } = await import("../notification-ledger-
|
|
7577
|
+
const { isLedgerEnabled, drainLedger } = await import("../notification-ledger-3WJYJGGS.js");
|
|
7578
7578
|
if (!isLedgerEnabled()) return;
|
|
7579
7579
|
const result = await drainLedger({
|
|
7580
7580
|
// Shadow "would-deliver": idle target = would-deliver, busy = retry.
|
|
@@ -7614,7 +7614,7 @@ function startOrphanReaper() {
|
|
|
7614
7614
|
fired("orphan_reaper");
|
|
7615
7615
|
if (sweepStarved("orphan_reaper")) return;
|
|
7616
7616
|
try {
|
|
7617
|
-
const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-
|
|
7617
|
+
const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-WL6V4QL4.js");
|
|
7618
7618
|
const deps = await createOrphanReaperRealDepsAsync();
|
|
7619
7619
|
const reaped = await reapOrphanedMcpProcesses(deps);
|
|
7620
7620
|
if (reaped.length > 0) acted("orphan_reaper");
|
|
@@ -7640,7 +7640,7 @@ function startZombieAgentReaper() {
|
|
|
7640
7640
|
fired("zombie_agent_reaper");
|
|
7641
7641
|
if (sweepStarved("zombie_agent_reaper")) return;
|
|
7642
7642
|
try {
|
|
7643
|
-
const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-
|
|
7643
|
+
const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-WL6V4QL4.js");
|
|
7644
7644
|
const deps = await createZombieAgentReaperRealDepsAsync();
|
|
7645
7645
|
const reaped = reapZombieAgentProcesses(deps);
|
|
7646
7646
|
if (reaped.length > 0) acted("zombie_agent_reaper");
|
|
@@ -7664,7 +7664,7 @@ async function startDaemonMemoryPressureWatchdog() {
|
|
|
7664
7664
|
try {
|
|
7665
7665
|
const cfg = await getCachedConfig();
|
|
7666
7666
|
if (!cfg) return;
|
|
7667
|
-
const { startMemoryPressureWatchdog: startWatchdog, MEMORY_PRESSURE_WATCHDOG_DEFAULTS } = await import("../memory-pressure-watchdog-
|
|
7667
|
+
const { startMemoryPressureWatchdog: startWatchdog, MEMORY_PRESSURE_WATCHDOG_DEFAULTS } = await import("../memory-pressure-watchdog-6YH7S6W7.js");
|
|
7668
7668
|
const watchdogCfg = {
|
|
7669
7669
|
...MEMORY_PRESSURE_WATCHDOG_DEFAULTS,
|
|
7670
7670
|
...cfg.memoryPressureWatchdog ?? {}
|
|
@@ -7696,7 +7696,7 @@ function startWorktreeReaper() {
|
|
|
7696
7696
|
fired("worktree_reaper");
|
|
7697
7697
|
if (sweepStarved("worktree_reaper")) return;
|
|
7698
7698
|
try {
|
|
7699
|
-
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-
|
|
7699
|
+
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-WL6V4QL4.js");
|
|
7700
7700
|
const deps = await createWorktreeReaperRealDeps();
|
|
7701
7701
|
const result = await reapOrphanedWorktrees(deps);
|
|
7702
7702
|
if (result.pruned.length > 0) {
|
|
@@ -7740,8 +7740,8 @@ function startWorktreeReaper() {
|
|
|
7740
7740
|
}
|
|
7741
7741
|
return;
|
|
7742
7742
|
}
|
|
7743
|
-
const { cleanupAgentWorktree } = await import("../worktree-sweep-
|
|
7744
|
-
const { getMainRepoRootAsync } = await import("../worktree-
|
|
7743
|
+
const { cleanupAgentWorktree } = await import("../worktree-sweep-6VEHGH7U.js");
|
|
7744
|
+
const { getMainRepoRootAsync } = await import("../worktree-XWVNDBRD.js");
|
|
7745
7745
|
const repoRoot = await getMainRepoRootAsync(signal.worktreePath);
|
|
7746
7746
|
if (repoRoot && signal.agentId) {
|
|
7747
7747
|
const notes = await cleanupAgentWorktree(repoRoot, signal.agentId);
|
|
@@ -7778,7 +7778,7 @@ function startAutoWake() {
|
|
|
7778
7778
|
if (!await ensureStoreForPolling()) return;
|
|
7779
7779
|
try {
|
|
7780
7780
|
const { getClient } = await import("./database.js");
|
|
7781
|
-
const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-
|
|
7781
|
+
const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-WL6V4QL4.js");
|
|
7782
7782
|
const deps = createAutoWakeRealDeps(getClient, process.cwd(), getTmuxSessionsAsync);
|
|
7783
7783
|
const woken = await pollOrphanedTasks(deps);
|
|
7784
7784
|
if (woken.length > 0) acted("auto_wake");
|
|
@@ -7853,7 +7853,7 @@ function startAutoWake() {
|
|
|
7853
7853
|
if (age > 60 * 60 * 1e3) {
|
|
7854
7854
|
try {
|
|
7855
7855
|
await unlink(signalPath);
|
|
7856
|
-
void import("../orchestration-events-
|
|
7856
|
+
void import("../orchestration-events-73VEJT7Q.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
7857
7857
|
recordOE({ eventType: "signal.stale", source: "exe-daemon.autoWake", severity: "warn", payload: { file, ageMinutes: Math.round(age / 6e4) } });
|
|
7858
7858
|
}).catch(() => {
|
|
7859
7859
|
});
|
|
@@ -8002,7 +8002,7 @@ function startStuckTaskRelease() {
|
|
|
8002
8002
|
createStaleClaimRealDeps,
|
|
8003
8003
|
escalateStuckBlockedTasks,
|
|
8004
8004
|
createStuckBlockedRealDeps
|
|
8005
|
-
} = await import("../daemon-orchestration-
|
|
8005
|
+
} = await import("../daemon-orchestration-WL6V4QL4.js");
|
|
8006
8006
|
const { runBudgetedSweep } = await import("../sweep-budget-YGLCNXZZ.js");
|
|
8007
8007
|
const steps = [
|
|
8008
8008
|
async () => {
|
|
@@ -8267,12 +8267,12 @@ function startTaskEnforcementScanner() {
|
|
|
8267
8267
|
const tick = async () => traceDaemonTimer("task_enforcement", async () => {
|
|
8268
8268
|
fired("task_enforcement");
|
|
8269
8269
|
try {
|
|
8270
|
-
const { runTaskEnforcementTick } = await import("../task-enforcement-
|
|
8270
|
+
const { runTaskEnforcementTick } = await import("../task-enforcement-CN3Q4PEH.js");
|
|
8271
8271
|
const { getTransport } = await import("./transport.js");
|
|
8272
8272
|
const { loadAgentConfig } = await import("./agent-config.js");
|
|
8273
8273
|
const { getClient } = await import("./database.js");
|
|
8274
8274
|
const { loadEmployeesSync } = await import("./employees.js");
|
|
8275
|
-
const { sessionScopeFilter } = await import("../task-scope-
|
|
8275
|
+
const { sessionScopeFilter } = await import("../task-scope-AMR3Z3DJ.js");
|
|
8276
8276
|
const transport = getTransport();
|
|
8277
8277
|
const { sessions: allSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
|
|
8278
8278
|
await yieldToEventLoop();
|
|
@@ -8283,10 +8283,10 @@ function startTaskEnforcementScanner() {
|
|
|
8283
8283
|
sendKeysLiteral: transport.sendKeysLiteral?.bind(transport),
|
|
8284
8284
|
isAlive: (session) => aliveSessions.has(session)
|
|
8285
8285
|
};
|
|
8286
|
-
const { checkAutoWakeGates } = await import("../daemon-orchestration-
|
|
8286
|
+
const { checkAutoWakeGates } = await import("../daemon-orchestration-WL6V4QL4.js");
|
|
8287
8287
|
const { ensureEmployeeAsync, employeeSessionName, sendIntercomAsync } = await import("./tmux-routing.js");
|
|
8288
8288
|
const { shouldAutoInstance } = await import("./employees.js");
|
|
8289
|
-
const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-
|
|
8289
|
+
const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-73VEJT7Q.js");
|
|
8290
8290
|
const projectDir = process.cwd();
|
|
8291
8291
|
await runTaskEnforcementTick({
|
|
8292
8292
|
transport: enforcementTransport,
|
|
@@ -8616,7 +8616,7 @@ async function sweepExpiredTracesFromDaemonTimer() {
|
|
|
8616
8616
|
const memoryIds = idsResult.rows.map((r) => String(r.id)).filter(Boolean);
|
|
8617
8617
|
if (memoryIds.length === 0) return 0;
|
|
8618
8618
|
const { getClient } = await import("./database.js");
|
|
8619
|
-
const { cleanupGraphLinksForMemories, cleanupCardsForMemories } = await import("../graph-rag-
|
|
8619
|
+
const { cleanupGraphLinksForMemories, cleanupCardsForMemories } = await import("../graph-rag-GBA5E3QC.js");
|
|
8620
8620
|
const client = getClient();
|
|
8621
8621
|
await cleanupGraphLinksForMemories(client, memoryIds);
|
|
8622
8622
|
await cleanupCardsForMemories(client, memoryIds);
|
|
@@ -8754,7 +8754,7 @@ function startHookRegistrationWatch() {
|
|
|
8754
8754
|
process.stderr.write(`[exed] [HOOKS DEAD] ${mod.formatHookLivenessFailure(report)}
|
|
8755
8755
|
`);
|
|
8756
8756
|
try {
|
|
8757
|
-
const { pushNotifyAsync: pushNotifyAsync2 } = await import("../push-notifications-
|
|
8757
|
+
const { pushNotifyAsync: pushNotifyAsync2 } = await import("../push-notifications-YVOP4KGN.js");
|
|
8758
8758
|
pushNotifyAsync2({
|
|
8759
8759
|
event: "hooks_dead",
|
|
8760
8760
|
title: `${report.broken.length} exe-os hook(s) cannot run`,
|
|
@@ -9428,7 +9428,7 @@ function startEventLoopLagDetector() {
|
|
|
9428
9428
|
setLastStallClass("blocked", lag);
|
|
9429
9429
|
process.stderr.write(msg + "\n");
|
|
9430
9430
|
logDaemonHealth({ event: "event_loop_blocked", pid: process.pid, message: msg, data: { lagMs: lag } });
|
|
9431
|
-
void import("../orchestration-events-
|
|
9431
|
+
void import("../orchestration-events-73VEJT7Q.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
9432
9432
|
recordOE({ eventType: "daemon.event_loop_blocked", source: "exe-daemon.lagDetector", severity: "error", durationMs: lag });
|
|
9433
9433
|
}).catch(() => {
|
|
9434
9434
|
});
|
|
@@ -9633,7 +9633,7 @@ function startTaskFileResync() {
|
|
|
9633
9633
|
});
|
|
9634
9634
|
if (Number(res.rowsAffected ?? 0) > 0) {
|
|
9635
9635
|
synced++;
|
|
9636
|
-
void import("../orchestration-events-
|
|
9636
|
+
void import("../orchestration-events-73VEJT7Q.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
9637
9637
|
recordOE({
|
|
9638
9638
|
eventType: "task_file.resynced",
|
|
9639
9639
|
source: "exe-daemon.taskFileResync",
|
|
@@ -9667,7 +9667,7 @@ function startTaskGroupBarriers() {
|
|
|
9667
9667
|
fired("task_group_barriers");
|
|
9668
9668
|
if (!await ensureStoreForPolling()) return;
|
|
9669
9669
|
try {
|
|
9670
|
-
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-
|
|
9670
|
+
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-WL6V4QL4.js");
|
|
9671
9671
|
const firedCount = await pollTaskGroupBarriers();
|
|
9672
9672
|
if (firedCount > 0) {
|
|
9673
9673
|
acted("task_group_barriers");
|
|
@@ -9689,7 +9689,7 @@ function startCheckpointGc() {
|
|
|
9689
9689
|
fired("checkpoint_gc");
|
|
9690
9690
|
if (!await ensureStoreForPolling()) return;
|
|
9691
9691
|
try {
|
|
9692
|
-
const { gcStaleCheckpoints } = await import("../daemon-orchestration-
|
|
9692
|
+
const { gcStaleCheckpoints } = await import("../daemon-orchestration-WL6V4QL4.js");
|
|
9693
9693
|
const cleared = await gcStaleCheckpoints();
|
|
9694
9694
|
if (cleared > 0) {
|
|
9695
9695
|
acted("checkpoint_gc");
|
|
@@ -9729,14 +9729,14 @@ function startDispatchAckCleanup() {
|
|
|
9729
9729
|
function startProjectionWorkerDeferred() {
|
|
9730
9730
|
setTimeout(async () => {
|
|
9731
9731
|
try {
|
|
9732
|
-
const { startProjectionWorker } = await import("../projection-worker-
|
|
9732
|
+
const { startProjectionWorker } = await import("../projection-worker-W476IG6V.js");
|
|
9733
9733
|
startProjectionWorker();
|
|
9734
9734
|
} catch {
|
|
9735
9735
|
}
|
|
9736
9736
|
}, 2e4);
|
|
9737
9737
|
}
|
|
9738
9738
|
async function startToolTelemetry() {
|
|
9739
|
-
const { startToolTelemetryFlush } = await import("../tool-telemetry-
|
|
9739
|
+
const { startToolTelemetryFlush } = await import("../tool-telemetry-36ST422N.js");
|
|
9740
9740
|
startToolTelemetryFlush();
|
|
9741
9741
|
process.stderr.write("[exed] Tool telemetry started (flush every 5m)\n");
|
|
9742
9742
|
}
|
|
@@ -9909,7 +9909,7 @@ function startLocalFirstTimers() {
|
|
|
9909
9909
|
fired("orphan_task_cleanup");
|
|
9910
9910
|
try {
|
|
9911
9911
|
if (!await ensureStoreForPolling()) return;
|
|
9912
|
-
const { cleanOrphanedTaskFiles } = await import("../tasks-crud-
|
|
9912
|
+
const { cleanOrphanedTaskFiles } = await import("../tasks-crud-2GHKIZOM.js");
|
|
9913
9913
|
const count = await cleanOrphanedTaskFiles();
|
|
9914
9914
|
if (count > 0) {
|
|
9915
9915
|
acted("orphan_task_cleanup");
|
|
@@ -9925,7 +9925,7 @@ function startLocalFirstTimers() {
|
|
|
9925
9925
|
fired("task_file_consistency");
|
|
9926
9926
|
try {
|
|
9927
9927
|
if (!await ensureStoreForPolling()) return;
|
|
9928
|
-
const { checkTaskFileConsistency } = await import("../tasks-crud-
|
|
9928
|
+
const { checkTaskFileConsistency } = await import("../tasks-crud-2GHKIZOM.js");
|
|
9929
9929
|
const mismatches = await checkTaskFileConsistency();
|
|
9930
9930
|
if (mismatches > 0) {
|
|
9931
9931
|
acted("task_file_consistency");
|
|
@@ -9944,7 +9944,7 @@ function startLocalFirstTimers() {
|
|
|
9944
9944
|
const TELEMETRY_DAILY_MS = 24 * 60 * 60 * 1e3;
|
|
9945
9945
|
const telemetryDaily = async () => {
|
|
9946
9946
|
try {
|
|
9947
|
-
const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-
|
|
9947
|
+
const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-5XR42SQN.js");
|
|
9948
9948
|
if (!isTelemetryEnabled()) return;
|
|
9949
9949
|
const { upstream } = await sendTelemetry(24);
|
|
9950
9950
|
if (upstream.startsWith("sent")) {
|
|
@@ -10187,7 +10187,7 @@ try {
|
|
|
10187
10187
|
});
|
|
10188
10188
|
}
|
|
10189
10189
|
try {
|
|
10190
|
-
const { initOrgPartnerRuntime } = await import("../org-partner-runtime-
|
|
10190
|
+
const { initOrgPartnerRuntime } = await import("../org-partner-runtime-GN4GFWI2.js");
|
|
10191
10191
|
await initOrgPartnerRuntime();
|
|
10192
10192
|
} catch (err) {
|
|
10193
10193
|
process.stderr.write(
|