@askexenow/exe-os 0.9.357 → 0.9.358
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 +3 -3
- package/dist/{active-agent-LCRV3HVS.js → active-agent-OYZRH6D2.js} +6 -4
- package/dist/{active-agent-PYMOMGQ7.js → active-agent-QQJCFJG4.js} +6 -4
- package/dist/{agentic-ontology-TNKI4FOM.js → agentic-ontology-U5JHQDMG.js} +1 -1
- package/dist/{backfill-metadata-SFS4ARNR.js → backfill-metadata-D25I5HN2.js} +8 -6
- package/dist/{backup-verify-7NLKR4S6.js → backup-verify-ZLU3DBPH.js} +6 -1
- package/dist/{behavior-injection-OT7VX7M6.js → behavior-injection-GVCRBUYW.js} +10 -8
- package/dist/{behaviors-6GW5AFG4.js → behaviors-6B2FZ4KP.js} +9 -7
- package/dist/bin/agentic-ontology-backfill.js +9 -7
- package/dist/bin/agentic-reflection-backfill.js +10 -8
- package/dist/bin/agentic-semantic-label.js +9 -7
- package/dist/bin/backfill-conversations.js +8 -6
- package/dist/bin/backfill-responses.js +8 -6
- package/dist/bin/backfill-vectors.js +9 -7
- package/dist/bin/bulk-sync-postgres.js +14 -12
- package/dist/bin/cc-doctor.js +7 -5
- package/dist/bin/cleanup-stale-review-tasks.js +16 -14
- package/dist/bin/cli.js +19 -19
- package/dist/bin/deferred-daemon-restart.js +74 -72
- package/dist/bin/exe-agent-config.js +5 -3
- package/dist/bin/exe-agent.js +8 -6
- package/dist/bin/exe-assign.js +9 -7
- package/dist/bin/exe-boot.js +62 -28
- package/dist/bin/exe-call.js +8 -6
- package/dist/bin/exe-cloud.js +16 -14
- package/dist/bin/exe-config-dump.js +5 -3
- package/dist/bin/exe-dispatch.js +16 -14
- package/dist/bin/exe-doctor.js +9 -6
- package/dist/bin/exe-export-behaviors.js +11 -9
- package/dist/bin/exe-forget.js +10 -8
- package/dist/bin/exe-gateway.js +10 -8
- package/dist/bin/exe-healthcheck.js +7 -5
- package/dist/bin/exe-heartbeat.js +18 -16
- package/dist/bin/exe-kill.js +20 -18
- package/dist/bin/exe-launch-agent.js +27 -25
- package/dist/bin/exe-memory-reads.js +8 -6
- package/dist/bin/exe-new-employee.js +12 -10
- package/dist/bin/exe-os-mcp-proxy.js +6 -4
- package/dist/bin/exe-pending-messages.js +17 -15
- package/dist/bin/exe-pending-notifications.js +16 -14
- package/dist/bin/exe-pending-reviews.js +16 -14
- package/dist/bin/exe-rename.js +8 -6
- package/dist/bin/exe-review.js +19 -17
- package/dist/bin/exe-search.js +9 -7
- package/dist/bin/exe-session-cleanup.js +20 -18
- package/dist/bin/exe-settings.js +14 -12
- package/dist/bin/exe-start-codex.js +16 -14
- package/dist/bin/exe-start-opencode.js +12 -10
- package/dist/bin/exe-status.js +17 -15
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +6 -4
- package/dist/bin/exe-timers.js +2 -1
- package/dist/bin/git-sweep.js +17 -15
- package/dist/bin/graph-backfill.js +9 -7
- package/dist/bin/graph-export.js +9 -7
- package/dist/bin/import-history.js +12 -10
- package/dist/bin/install.js +76 -74
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +7 -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/scan-tasks.js +16 -14
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +9 -7
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-7ZI7JYGR.js → boot-generation-EA4UCCZN.js} +6 -4
- package/dist/{boot-review-sections-3MSXM6V7.js → boot-review-sections-BBOHRDM3.js} +15 -13
- package/dist/{capability-cards-4RD2SB2K.js → capability-cards-XELC77DF.js} +5 -3
- package/dist/{capacity-monitor-5XUR3JTN.js → capacity-monitor-6FD2LIDV.js} +17 -15
- package/dist/{catchup-brief-AYJWMQUZ.js → catchup-brief-I3YBJXL4.js} +20 -18
- package/dist/{chunk-QXAE6S3A.js → chunk-2NPK6FIV.js} +3 -3
- package/dist/{chunk-YNYISUMW.js → chunk-2X76NMT7.js} +1 -1
- package/dist/{chunk-AWB7M62V.js → chunk-2XYL3ZBJ.js} +4 -4
- package/dist/{chunk-VCKIV5WG.js → chunk-36PGDNMS.js} +2 -2
- package/dist/{chunk-2TL5RKMC.js → chunk-3BAGFZFN.js} +1 -1
- package/dist/{chunk-EWOMZLR6.js → chunk-3I7SENGU.js} +1 -1
- package/dist/{chunk-FWJFKWYA.js → chunk-3M6TUMXM.js} +2 -2
- package/dist/{chunk-IIHFSNL4.js → chunk-5A43OWIJ.js} +1 -1
- package/dist/{chunk-6H4ZEU7P.js → chunk-5SWYRYRO.js} +4 -4
- package/dist/{chunk-TAR5J7WI.js → chunk-5T3VZ2TX.js} +4 -4
- package/dist/{chunk-WJIGSNJM.js → chunk-5TMFK3NT.js} +12 -12
- package/dist/chunk-5YEUPUV4.js +53 -0
- package/dist/{chunk-4VU2VCEU.js → chunk-6VUMFHWB.js} +1 -1
- package/dist/{chunk-X4EDW3FH.js → chunk-6ZUHNYAB.js} +1 -1
- package/dist/{chunk-H4ZSOAP6.js → chunk-72HSYKEQ.js} +1 -1
- package/dist/{chunk-DF5K4JJL.js → chunk-76IW4LIS.js} +3 -3
- package/dist/{chunk-P2Y6S53G.js → chunk-7AWKMYWF.js} +1 -1
- package/dist/{chunk-LDRMNJJJ.js → chunk-7G35SOMT.js} +2 -2
- package/dist/{chunk-A5P2MMII.js → chunk-7GUHIYZ6.js} +2 -2
- package/dist/{chunk-2WWGTOVP.js → chunk-7HFUCBQO.js} +19 -1
- package/dist/{chunk-JZXHLDQN.js → chunk-7KPY52EO.js} +1 -1
- package/dist/{chunk-LLXYWNCH.js → chunk-AXAHRTST.js} +1 -1
- package/dist/{chunk-ZMVVKOOS.js → chunk-AXXGZSW5.js} +7 -7
- package/dist/{chunk-6SAQSXT2.js → chunk-BP5H6ZJA.js} +1 -1
- package/dist/{chunk-EHL4RCND.js → chunk-CYAFF5EP.js} +1 -1
- package/dist/{chunk-H4IZKSOY.js → chunk-E47WQHCT.js} +1 -1
- package/dist/{chunk-QGLAMWQJ.js → chunk-EBOKPLWI.js} +3 -3
- package/dist/{chunk-NT4GET5B.js → chunk-ELGZDMXM.js} +4 -4
- package/dist/{chunk-KT4RUFYO.js → chunk-F25FABZ6.js} +3 -3
- package/dist/{chunk-W3IXTUCL.js → chunk-GXMS5PZR.js} +6 -6
- package/dist/{chunk-4OMIENRX.js → chunk-H3C2LVUB.js} +1 -1
- package/dist/{chunk-JUE37LOD.js → chunk-IEHGR7XU.js} +4 -4
- package/dist/{chunk-UQCYG6EI.js → chunk-INY36ISH.js} +1 -1
- package/dist/{chunk-4GGP4Q5N.js → chunk-IOSM2N3Z.js} +2 -2
- package/dist/{chunk-YSUHXDQU.js → chunk-IR6CEBWC.js} +21 -19
- package/dist/{chunk-XPGUSSG7.js → chunk-J3I5OG4P.js} +1 -1
- package/dist/{chunk-P7EUKYSQ.js → chunk-J4DLB36O.js} +1 -1
- package/dist/{chunk-VPMAC5VB.js → chunk-JXQB7HHZ.js} +1 -1
- package/dist/{chunk-APRVAUOR.js → chunk-JY5GAZYC.js} +1 -0
- package/dist/{chunk-2LM5GO5R.js → chunk-KTM4TODC.js} +5 -5
- package/dist/{chunk-YG4LS7TI.js → chunk-L576MK4B.js} +7 -7
- package/dist/{chunk-XQAELSOQ.js → chunk-L73MPNIB.js} +2 -2
- package/dist/{chunk-RUBXKPOT.js → chunk-LFJPHWHH.js} +1 -1
- package/dist/{chunk-PM4TIRCR.js → chunk-MODZZ52R.js} +1 -1
- package/dist/{chunk-JO6TS75M.js → chunk-MYJJSKE6.js} +1 -1
- package/dist/{chunk-ES6PDSEK.js → chunk-MZ6ZB6SP.js} +8 -8
- package/dist/{chunk-PNTRRXAN.js → chunk-N6XPSEIA.js} +1 -1
- package/dist/{chunk-6CZXY5BD.js → chunk-N7YI2ZRJ.js} +5 -5
- package/dist/{chunk-IO5FR7BZ.js → chunk-NIXTDUOC.js} +3 -3
- package/dist/{chunk-6UTP7AIH.js → chunk-NLDKJJDM.js} +1 -1
- package/dist/{chunk-PUAA3P47.js → chunk-NXZ2RSEO.js} +4 -4
- package/dist/{chunk-W3REQ37P.js → chunk-OFXQO43S.js} +2 -2
- package/dist/{chunk-Z5DTZ464.js → chunk-OIS5VIAH.js} +6 -0
- package/dist/{chunk-Y4JA5V22.js → chunk-OP7M5N5R.js} +1 -1
- package/dist/{chunk-CI3YVCUY.js → chunk-ORPELDVP.js} +1 -1
- package/dist/{chunk-PUNCHUEX.js → chunk-PTOJPD26.js} +3 -3
- package/dist/{chunk-TQ4O5A4S.js → chunk-Q5AFCR57.js} +1 -1
- package/dist/{chunk-6WAJJN5W.js → chunk-QJCFUUSB.js} +3 -3
- package/dist/{chunk-YQ7IZPVC.js → chunk-QQQ4I5IZ.js} +1 -1
- package/dist/{chunk-JKOEOHOD.js → chunk-R7F6HKTH.js} +6 -21
- package/dist/{chunk-CQPFNVWY.js → chunk-RGKB272D.js} +3 -3
- package/dist/{chunk-HAOZB4W6.js → chunk-SCR5Q5PI.js} +1 -1
- package/dist/{chunk-ES4XE6AU.js → chunk-SKTGLMUJ.js} +4 -4
- package/dist/{chunk-AJGTBW3N.js → chunk-SU3GMJT5.js} +1 -1
- package/dist/{chunk-JLXJMDKG.js → chunk-T6V4XURD.js} +1 -1
- package/dist/{chunk-KP3PLOGC.js → chunk-U5KZQP7R.js} +2 -2
- package/dist/{chunk-M5DPPJLS.js → chunk-U7I4YINB.js} +39 -7
- package/dist/{chunk-RZSPCNLY.js → chunk-UBVYDXTU.js} +1 -1
- package/dist/chunk-V3W3SATA.js +135 -0
- package/dist/{chunk-IT4TFJTK.js → chunk-V6QMFX46.js} +3 -3
- package/dist/{chunk-EQQYCP6D.js → chunk-VI4LQLD2.js} +1 -1
- package/dist/{chunk-WHQYVFE2.js → chunk-VIIOEVAF.js} +22 -15
- package/dist/{chunk-WL3CT5KX.js → chunk-VJACZJD2.js} +2 -2
- package/dist/{chunk-X7CWCQ5S.js → chunk-VJRLBE2R.js} +1 -1
- package/dist/{chunk-VU2MZ7BP.js → chunk-VNK3MNZE.js} +40 -3
- package/dist/{chunk-MVYB76QG.js → chunk-VRTCVZND.js} +16 -20
- package/dist/{chunk-LVZZ7YS3.js → chunk-W64WE36F.js} +2 -2
- package/dist/{chunk-7FKC2TIB.js → chunk-WA3ZB6TK.js} +1 -1
- package/dist/{chunk-ZWXSO4FN.js → chunk-WIKYYOHP.js} +9 -9
- package/dist/{chunk-DZNXWCJN.js → chunk-WKHC54KH.js} +1 -1
- package/dist/{chunk-SFSB64NK.js → chunk-WTTCNZ6J.js} +1 -1
- package/dist/{chunk-72GUU6Z4.js → chunk-WXUTAQX2.js} +3 -3
- package/dist/{chunk-OBWTTM7E.js → chunk-YPZTTTFH.js} +2 -2
- package/dist/chunk-YQGMSXT5.js +33 -0
- package/dist/{chunk-5Q2J6P4T.js → chunk-YVCKSEF6.js} +3 -3
- package/dist/{chunk-34MIJGQS.js → chunk-YXWAPO6F.js} +1 -1
- package/dist/{chunk-4KCLB4TY.js → chunk-YXY5AEPG.js} +1 -1
- package/dist/{chunk-ABM3DZF3.js → chunk-ZANQKOBC.js} +1 -1
- package/dist/{chunk-AW3WT3TJ.js → chunk-ZJB26D36.js} +119 -119
- package/dist/{cleanup-graph-garbage-XUNHVCRR.js → cleanup-graph-garbage-5DFMJQTV.js} +10 -8
- package/dist/{cloud-sync-shutdown-JRAERBUO.js → cloud-sync-shutdown-H36HDBZQ.js} +5 -3
- package/dist/{co-activation-5AN2CF23.js → co-activation-GWRPFKYT.js} +5 -3
- package/dist/{co-occurrence-A7E774ZX.js → co-occurrence-TBDCT3EB.js} +8 -6
- package/dist/{conversation-entity-extractor-2XI2GC4N.js → conversation-entity-extractor-CAFZFIDB.js} +3 -3
- package/dist/{crdt-sync-2IUU6GZ6.js → crdt-sync-DE6P7FHB.js} +1 -1
- package/dist/{crm-webhook-BQCP77TI.js → crm-webhook-GXUJOMHX.js} +2 -2
- package/dist/{cto-delegation-gate-UHHNMWCL.js → cto-delegation-gate-EKA7LOY7.js} +15 -13
- package/dist/{daemon-orchestration-7WS3X5DQ.js → daemon-orchestration-WEHBZJW4.js} +20 -19
- package/dist/{daemon-ready-signal-TVCPSG7J.js → daemon-ready-signal-CKXPUMJ2.js} +3 -1
- package/dist/{daemon-restart-report-QDRGKLL6.js → daemon-restart-report-HZU5LWXN.js} +2 -1
- package/dist/{daemon-timer-report-NM44WQRH.js → daemon-timer-report-TNJH5SFY.js} +2 -1
- package/dist/{doc-graph-extractor-NFERAJNP.js → doc-graph-extractor-QCT4CCBN.js} +8 -6
- package/dist/{documents-SW2MJUXY.js → documents-NJRAJKAS.js} +9 -7
- package/dist/{dreaming-KSNJVNFH.js → dreaming-MRNOUJKA.js} +19 -17
- package/dist/{exe-drift-NBLYKQBQ.js → exe-drift-CSOXQU4J.js} +6 -4
- package/dist/{exe-export-44IWTJHL.js → exe-export-ER75RRLD.js} +11 -9
- package/dist/{exe-import-PPECH3KO.js → exe-import-TYTAQ6AY.js} +11 -9
- package/dist/{exe-key-ZCRJQYA7.js → exe-key-HM4FZRL2.js} +77 -72
- package/dist/{exe-snapshot-OVINJ6MC.js → exe-snapshot-NS6PVGJL.js} +20 -18
- package/dist/{fast-db-init-B5Q3SJQG.js → fast-db-init-LRC6RZ6U.js} +1 -1
- package/dist/{founder-context-5OFTZNDO.js → founder-context-K5NWGKX7.js} +2 -2
- package/dist/gateway/index.js +11 -9
- package/dist/{git-staleness-XQJTOSGZ.js → git-staleness-VLVOG2SH.js} +5 -3
- package/dist/{global-procedures-YCJ3JPAP.js → global-procedures-EMTNFAMU.js} +7 -5
- package/dist/{graph-auto-extract-XJN6PQH3.js → graph-auto-extract-56OOJLRB.js} +8 -6
- package/dist/{graph-rag-HCQCZ2W7.js → graph-rag-WUM5JUB7.js} +3 -3
- package/dist/{hook-prefetch-FKXDTCDS.js → hook-prefetch-WQBVWWSD.js} +16 -14
- package/dist/hooks/bug-report-worker.js +18 -16
- package/dist/hooks/codex-stop-task-finalizer.js +19 -17
- package/dist/hooks/commit-complete.js +18 -16
- package/dist/hooks/error-recall.js +10 -8
- package/dist/hooks/exe-heartbeat-hook.js +6 -4
- package/dist/hooks/ingest.js +11 -9
- package/dist/hooks/instructions-loaded.js +7 -5
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +7 -5
- package/dist/hooks/post-compact.js +17 -15
- package/dist/hooks/post-tool-combined.js +10 -10
- package/dist/hooks/pre-compact.js +18 -16
- package/dist/hooks/pre-tool-use.js +23 -21
- package/dist/hooks/prompt-submit.js +34 -33
- package/dist/hooks/session-end.js +22 -20
- package/dist/hooks/session-start.js +13 -13
- package/dist/hooks/stop.js +21 -19
- package/dist/hooks/subagent-stop.js +19 -17
- package/dist/hooks/summary-worker.js +22 -25
- package/dist/index.js +25 -23
- package/dist/{installer-YSCUE6MT.js → installer-KBOFELYW.js} +8 -6
- package/dist/{installer-YTT5OSRL.js → installer-UDRUKMVA.js} +8 -6
- package/dist/{installer-G3DVMNC6.js → installer-VZYXKVLO.js} +8 -6
- package/dist/{intercom-queue-5D52JF3Q.js → intercom-queue-QWUEMESK.js} +15 -13
- package/dist/lib/cloud-sync.js +14 -12
- package/dist/lib/consolidation.js +10 -8
- package/dist/lib/database.js +9 -3
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-checkpoint-worker.js +4 -0
- package/dist/lib/db-daemon-client.js +3 -1
- package/dist/lib/db-read-worker.js +4 -0
- package/dist/lib/db-write-worker.js +3 -3
- package/dist/lib/db.js +9 -3
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +8 -6
- package/dist/lib/employees.js +5 -3
- package/dist/lib/exe-daemon.js +202 -93
- package/dist/lib/hybrid-search.js +9 -7
- package/dist/lib/identity.js +5 -3
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +16 -14
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +6 -4
- package/dist/lib/schedules.js +9 -7
- package/dist/lib/session-registry.js +7 -5
- package/dist/lib/skill-learning.js +10 -8
- package/dist/lib/store.js +8 -6
- package/dist/lib/task-router.js +6 -4
- package/dist/lib/tasks.js +17 -15
- package/dist/lib/tmux-routing.js +15 -13
- package/dist/lib/token-spend.js +8 -4
- package/dist/{license-gate-DKYHCAMN.js → license-gate-4FBFBGOS.js} +3 -3
- package/dist/{license-sync-JVEXPDHN.js → license-sync-PES4GIXL.js} +2 -2
- package/dist/mcp/register-tools.js +73 -71
- package/dist/mcp/server.js +74 -72
- package/dist/mcp/tools/complete-reminder.js +7 -5
- package/dist/mcp/tools/create-reminder.js +7 -5
- package/dist/mcp/tools/create-task.js +19 -17
- package/dist/mcp/tools/deactivate-behavior.js +11 -9
- package/dist/mcp/tools/list-reminders.js +7 -5
- package/dist/mcp/tools/list-tasks.js +19 -17
- package/dist/mcp/tools/send-message.js +18 -16
- package/dist/mcp/tools/update-task.js +18 -16
- package/dist/{mcp-health-WDOB6XUB.js → mcp-health-HNVSWKFA.js} +6 -1
- package/dist/{mcp-http-config-L5RDDU6P.js → mcp-http-config-SL43BGFQ.js} +6 -4
- package/dist/{mcp-session-identity-S6UCHBER.js → mcp-session-identity-G2NSIUWR.js} +15 -13
- package/dist/{memory-cards-65RGFT5M.js → memory-cards-GOSSB6QK.js} +8 -6
- package/dist/{memory-graph-extractor-ZDZ5VQUX.js → memory-graph-extractor-5S6AVC5L.js} +9 -7
- package/dist/{memory-poisoning-defense-EQUQNXRE.js → memory-poisoning-defense-6KFJEDCT.js} +5 -3
- package/dist/{memory-pressure-watchdog-CC344JBH.js → memory-pressure-watchdog-7BOUNASS.js} +16 -14
- package/dist/{memory-reflection-Q4OT4V55.js → memory-reflection-LIILYJAS.js} +5 -3
- package/dist/{notification-ledger-GL3ZPZNR.js → notification-ledger-54CAO4AS.js} +16 -14
- package/dist/{notifications-FGYNO2FY.js → notifications-MCJFLBAO.js} +15 -13
- package/dist/{orchestration-events-N5FQ4SKU.js → orchestration-events-SHRMUOV7.js} +6 -4
- package/dist/{orchestrator-XUJDK4EW.js → orchestrator-RVUAGQV6.js} +17 -15
- package/dist/{pipeline-router-YQOZ4M62.js → pipeline-router-CWB6QZ5E.js} +6 -4
- package/dist/{plan-limits-VBHKYKSK.js → plan-limits-APRN2I6H.js} +8 -6
- package/dist/{platform-procedures-F3XB6WWM.js → platform-procedures-2VQGBJU7.js} +1 -1
- package/dist/{projection-worker-NJUNGEXE.js → projection-worker-ECMC4XKX.js} +2 -2
- package/dist/{prospective-memory-3MKUPDVI.js → prospective-memory-ZLMPXBGE.js} +5 -3
- package/dist/{reranker-LGSIL6TX.js → reranker-TLECHHQH.js} +1 -1
- package/dist/{retrieval-health-AEEQ5IO6.js → retrieval-health-K4EPRPJU.js} +1 -1
- package/dist/{review-polling-2RMEZ5QO.js → review-polling-6NYH7IO2.js} +16 -14
- package/dist/runtime/index.js +19 -17
- package/dist/{session-events-5XSYCV4I.js → session-events-RL7JNGJK.js} +16 -14
- package/dist/{session-kill-telemetry-QJUHG3IG.js → session-kill-telemetry-IV4BFLSS.js} +16 -14
- package/dist/{session-scope-LIJ746K2.js → session-scope-ISVYSAC2.js} +15 -13
- package/dist/{setup-wizard-RLUCGGA7.js → setup-wizard-OQB6FMJM.js} +1 -1
- package/dist/{shard-manager-3L2NMJVJ.js → shard-manager-DFLCDZT5.js} +2 -1
- package/dist/{skill-refinement-FMN3WFSG.js → skill-refinement-7SANCL3P.js} +6 -4
- package/dist/{stack-promote-BGDGAYKG.js → stack-promote-I7H727IS.js} +29 -4
- package/dist/{stack-release-SOIHMI3I.js → stack-release-6I7GGSC7.js} +4 -4
- package/dist/{stack-update-AXFHJRK5.js → stack-update-2ZV6MBXF.js} +3 -3
- package/dist/{steward-gate-R2XWABMV.js → steward-gate-SW4UYGIH.js} +6 -4
- package/dist/{support-inbox-IITW66TG.js → support-inbox-OX3VJ2OF.js} +3 -3
- package/dist/{task-enforcement-SFZGBY27.js → task-enforcement-VLGRGIKW.js} +16 -14
- package/dist/{task-scope-74ZIFQRH.js → task-scope-NTANJZPS.js} +15 -13
- package/dist/{tasks-crud-N54JZCXU.js → tasks-crud-FDCGFA72.js} +15 -13
- package/dist/{tasks-notify-62IJZW55.js → tasks-notify-GGN2HRFW.js} +16 -14
- package/dist/{tasks-review-3LHBE6ZJ.js → tasks-review-KFUKHWMF.js} +15 -13
- package/dist/{telemetry-upload-HR3QIWZV.js → telemetry-upload-GFEOMNUY.js} +10 -8
- package/dist/{token-budget-DBXHLCMN.js → token-budget-TJJV6ZCC.js} +6 -4
- package/dist/{tool-telemetry-UFUTCNE3.js → tool-telemetry-EH6SIQHX.js} +1 -1
- package/dist/tui/App.js +24 -22
- package/dist/{tui-data-BPXEJKRQ.js → tui-data-W4M3MMLG.js} +15 -13
- package/dist/{update-support-HLZ7KMVM.js → update-support-67ADNRYC.js} +12 -10
- package/dist/{work-state-heartbeat-IQI3LCHN.js → work-state-heartbeat-34V6UFHR.js} +1 -1
- package/dist/{worker-gate-5ABYGLC2.js → worker-gate-7EXQ46BV.js} +1 -1
- package/dist/{workflow-engine-XSUWZK6I.js → workflow-engine-IK6SIMT5.js} +2 -2
- package/dist/{worktree-EUYBBABA.js → worktree-HRX5BSXT.js} +7 -5
- package/dist/{worktree-sweep-LSKFA2PK.js → worktree-sweep-W24XZKQO.js} +8 -6
- package/package.json +2 -1
- package/release-notes.json +18 -20
- package/dist/chunk-7HLWBYH7.js +0 -60
- /package/dist/{chunk-AK77MITT.js → chunk-4QDO2KT4.js} +0 -0
- /package/dist/{chunk-HABPXFHZ.js → chunk-B2F5BZJA.js} +0 -0
- /package/dist/{chunk-A627QFOE.js → chunk-BH2X3N6S.js} +0 -0
- /package/dist/{chunk-2267TRAO.js → chunk-CCQ3VCK2.js} +0 -0
- /package/dist/{chunk-IHKRHGKT.js → chunk-F766HECM.js} +0 -0
- /package/dist/{chunk-7GOSAV25.js → chunk-L6GEKT6M.js} +0 -0
- /package/dist/{chunk-GVU3BW6N.js → chunk-MZXYP2YA.js} +0 -0
- /package/dist/{chunk-HMBMHZ3S.js → chunk-UURVJW2K.js} +0 -0
- /package/dist/{chunk-VML2UQK7.js → chunk-ZOFI53LD.js} +0 -0
- /package/dist/{chunk-G2MXTLOD.js → chunk-ZP3224K3.js} +0 -0
- /package/dist/{core-memory-KXE4QMOA.js → core-memory-P7YBDZGM.js} +0 -0
- /package/dist/{memory-isolation-VSKUKTN4.js → memory-isolation-A4CRGWRS.js} +0 -0
- /package/dist/{oauth-server-JELOVN5D.js → oauth-server-MM4VE2YN.js} +0 -0
- /package/dist/{project-boot-LQ4CF6BI.js → project-boot-PT5HJT7E.js} +0 -0
- /package/dist/{wiki-acl-VR4AFJ3T.js → wiki-acl-SD3DF4IP.js} +0 -0
|
@@ -8,24 +8,24 @@ import {
|
|
|
8
8
|
isAtCapacity,
|
|
9
9
|
isWithinRelaunchCooldown,
|
|
10
10
|
pollCapacityDead
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-N7YI2ZRJ.js";
|
|
12
|
+
import "./chunk-5T3VZ2TX.js";
|
|
13
|
+
import "./chunk-IR6CEBWC.js";
|
|
14
|
+
import "./chunk-VJRLBE2R.js";
|
|
15
|
+
import "./chunk-Q5AFCR57.js";
|
|
16
|
+
import "./chunk-J4DLB36O.js";
|
|
17
|
+
import "./chunk-EIKATSE4.js";
|
|
17
18
|
import "./chunk-E23LNUWJ.js";
|
|
18
19
|
import "./chunk-4JERP7NT.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-PM4TIRCR.js";
|
|
20
|
+
import "./chunk-MODZZ52R.js";
|
|
21
21
|
import "./chunk-UXLO7VHX.js";
|
|
22
22
|
import "./chunk-DSOQUQTV.js";
|
|
23
23
|
import "./chunk-SKGMF2SO.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-6ZUHNYAB.js";
|
|
25
25
|
import "./chunk-AJIXH5JF.js";
|
|
26
26
|
import "./chunk-VAY6IXWY.js";
|
|
27
27
|
import "./chunk-AM7S2TY6.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-IOSM2N3Z.js";
|
|
29
29
|
import "./chunk-OSKWCKUC.js";
|
|
30
30
|
import "./chunk-KI5PFRG6.js";
|
|
31
31
|
import "./chunk-CVYC6DUW.js";
|
|
@@ -39,17 +39,19 @@ import "./chunk-NLEW62VC.js";
|
|
|
39
39
|
import "./chunk-HYZV25LY.js";
|
|
40
40
|
import "./chunk-GJV3WDWM.js";
|
|
41
41
|
import "./chunk-MP2AFCGL.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-U7I4YINB.js";
|
|
43
43
|
import "./chunk-2I23RPSI.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-5YEUPUV4.js";
|
|
45
|
+
import "./chunk-AXAHRTST.js";
|
|
45
46
|
import "./chunk-OMXJMOBD.js";
|
|
46
|
-
import "./chunk-7HLWBYH7.js";
|
|
47
47
|
import "./chunk-BBMTVAE3.js";
|
|
48
48
|
import "./chunk-YMUZWC33.js";
|
|
49
|
+
import "./chunk-V3W3SATA.js";
|
|
50
|
+
import "./chunk-JY5GAZYC.js";
|
|
49
51
|
import "./chunk-FXU7JOXK.js";
|
|
50
52
|
import "./chunk-WNBZJSQT.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-6VUMFHWB.js";
|
|
54
|
+
import "./chunk-BH2X3N6S.js";
|
|
53
55
|
import "./chunk-BCZF3AGJ.js";
|
|
54
56
|
import "./chunk-HSGBZSCA.js";
|
|
55
57
|
import "./chunk-MLKGABMK.js";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lightweightSearch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WIKYYOHP.js";
|
|
4
4
|
import "./chunk-VMHZSZQJ.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-VIIOEVAF.js";
|
|
6
|
+
import "./chunk-F766HECM.js";
|
|
7
7
|
import "./chunk-CHCA3ZM2.js";
|
|
8
8
|
import "./chunk-OTVEIJUQ.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ZOFI53LD.js";
|
|
10
10
|
import "./chunk-5MOYSU5A.js";
|
|
11
11
|
import "./chunk-4QCFFW2H.js";
|
|
12
12
|
import "./chunk-76CJBM36.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionScopeFilter,
|
|
15
15
|
strictSessionScopeFilter
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-IR6CEBWC.js";
|
|
17
|
+
import "./chunk-VJRLBE2R.js";
|
|
18
|
+
import "./chunk-Q5AFCR57.js";
|
|
19
|
+
import "./chunk-J4DLB36O.js";
|
|
20
|
+
import "./chunk-EIKATSE4.js";
|
|
20
21
|
import "./chunk-E23LNUWJ.js";
|
|
21
22
|
import "./chunk-4JERP7NT.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-PM4TIRCR.js";
|
|
23
|
+
import "./chunk-MODZZ52R.js";
|
|
24
24
|
import "./chunk-UXLO7VHX.js";
|
|
25
25
|
import "./chunk-DSOQUQTV.js";
|
|
26
26
|
import "./chunk-SKGMF2SO.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-6ZUHNYAB.js";
|
|
28
28
|
import "./chunk-AJIXH5JF.js";
|
|
29
29
|
import "./chunk-VAY6IXWY.js";
|
|
30
30
|
import "./chunk-AM7S2TY6.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-IOSM2N3Z.js";
|
|
32
32
|
import "./chunk-OSKWCKUC.js";
|
|
33
33
|
import "./chunk-KI5PFRG6.js";
|
|
34
34
|
import "./chunk-CVYC6DUW.js";
|
|
@@ -44,18 +44,20 @@ import "./chunk-GJV3WDWM.js";
|
|
|
44
44
|
import "./chunk-MP2AFCGL.js";
|
|
45
45
|
import {
|
|
46
46
|
getClient
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-U7I4YINB.js";
|
|
48
48
|
import "./chunk-2I23RPSI.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-5YEUPUV4.js";
|
|
50
|
+
import "./chunk-AXAHRTST.js";
|
|
50
51
|
import "./chunk-OMXJMOBD.js";
|
|
51
|
-
import "./chunk-7HLWBYH7.js";
|
|
52
52
|
import "./chunk-BBMTVAE3.js";
|
|
53
53
|
import "./chunk-YMUZWC33.js";
|
|
54
|
+
import "./chunk-V3W3SATA.js";
|
|
55
|
+
import "./chunk-JY5GAZYC.js";
|
|
54
56
|
import "./chunk-FXU7JOXK.js";
|
|
55
57
|
import "./chunk-QWVXN224.js";
|
|
56
58
|
import "./chunk-WNBZJSQT.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-6VUMFHWB.js";
|
|
60
|
+
import "./chunk-BH2X3N6S.js";
|
|
59
61
|
import "./chunk-BCZF3AGJ.js";
|
|
60
62
|
import "./chunk-HSGBZSCA.js";
|
|
61
63
|
import "./chunk-MLKGABMK.js";
|
|
@@ -164,7 +166,7 @@ ${msgLines}`);
|
|
|
164
166
|
} catch {
|
|
165
167
|
}
|
|
166
168
|
try {
|
|
167
|
-
const { getPendingProspective, markSurfaced } = await import("./prospective-memory-
|
|
169
|
+
const { getPendingProspective, markSurfaced } = await import("./prospective-memory-ZLMPXBGE.js");
|
|
168
170
|
const due = await getPendingProspective(agentId, { projectName, limit: 5 });
|
|
169
171
|
if (due.length > 0) {
|
|
170
172
|
const now = Date.now();
|
|
@@ -71,7 +71,7 @@ async function fastDbInit(opts) {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
if (effectiveDaemonOnly) {
|
|
74
|
-
const { isDaemonReady } = await import("./daemon-ready-signal-
|
|
74
|
+
const { isDaemonReady } = await import("./daemon-ready-signal-CKXPUMJ2.js");
|
|
75
75
|
if (!isDaemonReady()) return makeNoopClient();
|
|
76
76
|
}
|
|
77
77
|
const forceDirect = process.env.EXE_DB_DIRECT === "1" || process.env.EXE_DB_READONLY === "1" || process.env.EXE_SKIP_DAEMON === "1";
|
|
@@ -151,7 +151,7 @@ async function fastDbInit(opts) {
|
|
|
151
151
|
if (client) return client;
|
|
152
152
|
let daemonLooksPresent = false;
|
|
153
153
|
try {
|
|
154
|
-
const { isDaemonReady } = await import("./daemon-ready-signal-
|
|
154
|
+
const { isDaemonReady } = await import("./daemon-ready-signal-CKXPUMJ2.js");
|
|
155
155
|
const { existsSync } = await import("fs");
|
|
156
156
|
const { join } = await import("path");
|
|
157
157
|
const { EXE_AI_DIR } = await import("./lib/config.js");
|
|
@@ -175,7 +175,7 @@ async function fastDbInit(opts) {
|
|
|
175
175
|
if (!forceDirect) {
|
|
176
176
|
let daemonOwnsDb = false;
|
|
177
177
|
try {
|
|
178
|
-
const { isDaemonReady } = await import("./daemon-ready-signal-
|
|
178
|
+
const { isDaemonReady } = await import("./daemon-ready-signal-CKXPUMJ2.js");
|
|
179
179
|
const { isDbLockHeldByLiveProcess } = await import("./lib/database.js");
|
|
180
180
|
daemonOwnsDb = isDaemonReady() || isDbLockHeldByLiveProcess();
|
|
181
181
|
} catch {
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
queryTaskRows,
|
|
7
7
|
resolveExeSession,
|
|
8
8
|
sendIntercom
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IR6CEBWC.js";
|
|
10
10
|
import {
|
|
11
11
|
getTransport
|
|
12
12
|
} from "./chunk-UXLO7VHX.js";
|
|
13
13
|
import {
|
|
14
14
|
recordOrchestrationEventBestEffort
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6ZUHNYAB.js";
|
|
16
16
|
import {
|
|
17
17
|
releaseDispatchClaim,
|
|
18
18
|
tryAcquireDispatchClaim
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
isCoordinatorName,
|
|
28
28
|
isMultiInstance,
|
|
29
29
|
shouldAutoInstance
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-U7I4YINB.js";
|
|
31
31
|
|
|
32
32
|
// src/lib/tasks-notify.ts
|
|
33
33
|
var VERIFY_DELAY_MS = 1e4;
|
|
@@ -89,7 +89,7 @@ async function dispatchTaskToEmployee(input) {
|
|
|
89
89
|
let crossProject = false;
|
|
90
90
|
if (input.projectName) {
|
|
91
91
|
try {
|
|
92
|
-
const { assertSessionScope } = await import("./session-scope-
|
|
92
|
+
const { assertSessionScope } = await import("./session-scope-ISVYSAC2.js");
|
|
93
93
|
const check = assertSessionScope("dispatch_task", input.projectName);
|
|
94
94
|
if (check.reason === "cross_session_denied") {
|
|
95
95
|
crossProject = true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IR6CEBWC.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/git-task-sweep.ts
|
|
6
6
|
import { execSync } from "child_process";
|
|
@@ -238,7 +238,7 @@ async function sweepTasks(projectName, options = {}) {
|
|
|
238
238
|
}
|
|
239
239
|
if (!dryRun) {
|
|
240
240
|
try {
|
|
241
|
-
const { updateTaskStatus } = await import("./tasks-crud-
|
|
241
|
+
const { updateTaskStatus } = await import("./tasks-crud-FDCGFA72.js");
|
|
242
242
|
await updateTaskStatus({
|
|
243
243
|
taskId: task.id,
|
|
244
244
|
status: "needs_review",
|
|
@@ -263,7 +263,7 @@ var PLATFORM_PROCEDURES = [
|
|
|
263
263
|
title: "Merge discipline \u2014 branches merge or close within 24h",
|
|
264
264
|
domain: "workflow",
|
|
265
265
|
priority: "p1",
|
|
266
|
-
content: "Merge or close every agent branch within 24h of its task going done
|
|
266
|
+
content: "Done = LANDED, not approved \u2014 merged to the default branch, tagged where releases apply, published where customers pull; the approving reviewer owns landing it. Merge or close every agent branch within 24h of its task going done; after merge, delete the worktree AND the remote branch. 9 features were lost unmerged; a reviewed fix once sat unmerged for weeks while production served the bug. Sweep stale branches at every review pull (git worktree list, git branch -a). A branch older than 24h is a pipeline stall."
|
|
267
267
|
},
|
|
268
268
|
{
|
|
269
269
|
title: "Desktop and TUI are the same product",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vectorToSqlLiteral
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VIIOEVAF.js";
|
|
4
4
|
import {
|
|
5
5
|
blobToVector
|
|
6
6
|
} from "./chunk-OTVEIJUQ.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-U7I4YINB.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/behaviors.ts
|
|
12
12
|
import crypto from "crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deactivateBehavior
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3M6TUMXM.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2X76NMT7.js";
|
|
7
7
|
import {
|
|
8
8
|
canCoordinate,
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U7I4YINB.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp/tools/deactivate-behavior.ts
|
|
13
13
|
import { z } from "zod";
|
|
@@ -24,7 +24,7 @@ function registerDeactivateBehavior(server) {
|
|
|
24
24
|
async ({ behavior_id }) => {
|
|
25
25
|
const caller = getActiveAgent();
|
|
26
26
|
try {
|
|
27
|
-
const { StewardGate } = await import("./steward-gate-
|
|
27
|
+
const { StewardGate } = await import("./steward-gate-SW4UYGIH.js");
|
|
28
28
|
const steward = new StewardGate();
|
|
29
29
|
const gateDecision = await steward.checkAuthority(caller.agentId || "unknown", "deactivate_behavior", behavior_id);
|
|
30
30
|
if (!gateDecision.allowed) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IR6CEBWC.js";
|
|
4
4
|
import {
|
|
5
5
|
recordOrchestrationEventBestEffort
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6ZUHNYAB.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isCoordinatorName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U7I4YINB.js";
|
|
11
11
|
import {
|
|
12
12
|
isDaemonAlive
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-V3W3SATA.js";
|
|
14
14
|
|
|
15
15
|
// src/lib/session-kill-telemetry.ts
|
|
16
16
|
import crypto from "crypto";
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isPaneBusy
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ELGZDMXM.js";
|
|
4
4
|
import {
|
|
5
5
|
recordSessionKill
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
eventLoopBlockedMarkerPath
|
|
9
|
-
} from "./chunk-APRVAUOR.js";
|
|
6
|
+
} from "./chunk-5T3VZ2TX.js";
|
|
10
7
|
import {
|
|
11
8
|
updateTask
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AXXGZSW5.js";
|
|
13
10
|
import {
|
|
14
11
|
countPendingReviews,
|
|
15
12
|
ensureEmployeeAsync,
|
|
@@ -25,14 +22,14 @@ import {
|
|
|
25
22
|
sessionScopeFilter,
|
|
26
23
|
strictSessionScopeFilter,
|
|
27
24
|
writeNotification
|
|
28
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IR6CEBWC.js";
|
|
29
26
|
import {
|
|
30
27
|
LEASE_MINUTES,
|
|
31
28
|
isLeaseExpired
|
|
32
29
|
} from "./chunk-E23LNUWJ.js";
|
|
33
30
|
import {
|
|
34
31
|
listSessions
|
|
35
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MODZZ52R.js";
|
|
36
33
|
import {
|
|
37
34
|
getTransport
|
|
38
35
|
} from "./chunk-UXLO7VHX.js";
|
|
@@ -44,7 +41,7 @@ import {
|
|
|
44
41
|
} from "./chunk-SKGMF2SO.js";
|
|
45
42
|
import {
|
|
46
43
|
recordOrchestrationEventBestEffort
|
|
47
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-6ZUHNYAB.js";
|
|
48
45
|
import {
|
|
49
46
|
checkDispatchStatus,
|
|
50
47
|
readTerminalLauncherFailure,
|
|
@@ -62,7 +59,10 @@ import {
|
|
|
62
59
|
getCoordinatorName,
|
|
63
60
|
isCoordinatorName,
|
|
64
61
|
shouldAutoInstance
|
|
65
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-U7I4YINB.js";
|
|
63
|
+
import {
|
|
64
|
+
eventLoopBlockedMarkerPath
|
|
65
|
+
} from "./chunk-JY5GAZYC.js";
|
|
66
66
|
import {
|
|
67
67
|
loadConfigSync
|
|
68
68
|
} from "./chunk-BCZF3AGJ.js";
|
|
@@ -3194,7 +3194,7 @@ async function reapOrphanedWorktrees(deps, nowMs = Date.now()) {
|
|
|
3194
3194
|
}
|
|
3195
3195
|
async function createWorktreeReaperRealDeps() {
|
|
3196
3196
|
const { getPaneCwdAsync } = await import("./lib/tmux-status.js");
|
|
3197
|
-
const { getGitRootAsync, isWorktreeDirtyAsync } = await import("./worktree-
|
|
3197
|
+
const { getGitRootAsync, isWorktreeDirtyAsync } = await import("./worktree-HRX5BSXT.js");
|
|
3198
3198
|
const { statSync: statSync3 } = await import("fs");
|
|
3199
3199
|
const { basename: basename2 } = await import("path");
|
|
3200
3200
|
const { promisify: promisify2 } = await import("util");
|
|
@@ -3425,7 +3425,7 @@ async function gcStaleCheckpoints() {
|
|
|
3425
3425
|
}
|
|
3426
3426
|
async function pollTaskGroupBarriers() {
|
|
3427
3427
|
try {
|
|
3428
|
-
const { checkAndFireBarriers } = await import("./tasks-crud-
|
|
3428
|
+
const { checkAndFireBarriers } = await import("./tasks-crud-FDCGFA72.js");
|
|
3429
3429
|
const firedGroupIds = await checkAndFireBarriers();
|
|
3430
3430
|
if (firedGroupIds.length === 0) return 0;
|
|
3431
3431
|
const { getClient } = await import("./lib/database.js");
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// src/lib/db-open-telemetry.ts
|
|
2
|
+
import { existsSync, mkdirSync, renameSync, statSync, writeFileSync } from "fs";
|
|
3
|
+
import { homedir } from "os";
|
|
4
|
+
import { basename, join } from "path";
|
|
5
|
+
var MAX_LOG_BYTES = 5 * 1024 * 1024;
|
|
6
|
+
function envFlag(name) {
|
|
7
|
+
return process.env[name] === "1";
|
|
8
|
+
}
|
|
9
|
+
function recordDbOpen(info) {
|
|
10
|
+
try {
|
|
11
|
+
const record = {
|
|
12
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
13
|
+
pid: process.pid,
|
|
14
|
+
argvBasename: basename(process.argv[1] ?? process.argv[0] ?? ""),
|
|
15
|
+
dbPath: info.dbPath,
|
|
16
|
+
source: info.source,
|
|
17
|
+
writeCapable: info.writeCapable,
|
|
18
|
+
checkpointTimer: info.checkpointTimer,
|
|
19
|
+
flags: {
|
|
20
|
+
EXE_IS_DAEMON: envFlag("EXE_IS_DAEMON"),
|
|
21
|
+
EXE_MCP_MODE: envFlag("EXE_MCP_MODE"),
|
|
22
|
+
EXE_DB_DIRECT: envFlag("EXE_DB_DIRECT"),
|
|
23
|
+
EXE_DB_READONLY: envFlag("EXE_DB_READONLY"),
|
|
24
|
+
EXE_BOOT_FAST: envFlag("EXE_BOOT_FAST")
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
const line = JSON.stringify(record);
|
|
28
|
+
try {
|
|
29
|
+
process.stderr.write(`[db-open] ${line}
|
|
30
|
+
`);
|
|
31
|
+
} catch {
|
|
32
|
+
}
|
|
33
|
+
try {
|
|
34
|
+
const logDir = join(process.env.HOME ?? homedir(), ".exe-os", "logs");
|
|
35
|
+
const logPath = join(logDir, "db-opens.jsonl");
|
|
36
|
+
mkdirSync(logDir, { recursive: true });
|
|
37
|
+
if (existsSync(logPath) && statSync(logPath).size > MAX_LOG_BYTES) {
|
|
38
|
+
try {
|
|
39
|
+
renameSync(logPath, `${logPath}.1`);
|
|
40
|
+
} catch {
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
writeFileSync(logPath, `${line}
|
|
44
|
+
`, { flag: "a" });
|
|
45
|
+
} catch {
|
|
46
|
+
}
|
|
47
|
+
} catch {
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export {
|
|
52
|
+
recordDbOpen
|
|
53
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OP7M5N5R.js";
|
|
4
4
|
import {
|
|
5
5
|
createTaskCore,
|
|
6
6
|
employeeSessionName,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
isEmployeeAlive,
|
|
10
10
|
sessionScopeFilter,
|
|
11
11
|
updateTaskStatus
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IR6CEBWC.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
15
15
|
getCoordinatorName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-U7I4YINB.js";
|
|
17
17
|
|
|
18
18
|
// src/runtime/orchestrator.ts
|
|
19
19
|
var STALE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-75H4R62K.js";
|
|
4
4
|
import {
|
|
5
5
|
initStore
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VIIOEVAF.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isInitialized
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U7I4YINB.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/schedules.ts
|
|
13
13
|
import crypto from "crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-U7I4YINB.js";
|
|
4
4
|
import {
|
|
5
5
|
loadConfigSync
|
|
6
6
|
} from "./chunk-BCZF3AGJ.js";
|
|
@@ -112,6 +112,23 @@ function evaluateGlobalSpendCap(totalCostUSD, period, config = getConfiguredGlob
|
|
|
112
112
|
source: config.source
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
+
var SPEND_CAP_LEVEL_RANK = {
|
|
116
|
+
ok: 0,
|
|
117
|
+
near_cap: 1,
|
|
118
|
+
over_cap: 2
|
|
119
|
+
};
|
|
120
|
+
function evaluateSpendCapAlert(previousLevel, status) {
|
|
121
|
+
if (status.status === "unconfigured" || status.status === "ok") {
|
|
122
|
+
return { shouldAlert: false, level: "ok", summary: null };
|
|
123
|
+
}
|
|
124
|
+
const currentLevel = status.status;
|
|
125
|
+
const prevRank = previousLevel ? SPEND_CAP_LEVEL_RANK[previousLevel] : 0;
|
|
126
|
+
const currentRank = SPEND_CAP_LEVEL_RANK[currentLevel];
|
|
127
|
+
if (currentRank > prevRank) {
|
|
128
|
+
return { shouldAlert: true, level: currentLevel, summary: status.message };
|
|
129
|
+
}
|
|
130
|
+
return { shouldAlert: false, level: currentLevel, summary: null };
|
|
131
|
+
}
|
|
115
132
|
var MODEL_PRICING = {
|
|
116
133
|
// Opus 4.5+ ($5/$25 — Anthropic price drop from original Opus 4)
|
|
117
134
|
"claude-opus-4-7": { input: 5 / 1e6, output: 25 / 1e6, cacheRead: 0.5 / 1e6, cacheWrite: 6.25 / 1e6 },
|
|
@@ -330,6 +347,7 @@ export {
|
|
|
330
347
|
resolveGlobalSpendCapConfig,
|
|
331
348
|
getConfiguredGlobalSpendCap,
|
|
332
349
|
evaluateGlobalSpendCap,
|
|
350
|
+
evaluateSpendCapAlert,
|
|
333
351
|
getPricing,
|
|
334
352
|
getAgentSpend
|
|
335
353
|
};
|
|
@@ -248,7 +248,7 @@ async function createBackupAsync(reason = "manual", opts = {}) {
|
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
try {
|
|
251
|
-
const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-
|
|
251
|
+
const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-ZLU3DBPH.js");
|
|
252
252
|
if (manifestWriteEnabled()) {
|
|
253
253
|
await writeBackupManifest(backupPath, dbName);
|
|
254
254
|
}
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
dispatchTaskToEmployee,
|
|
3
3
|
markTaskNotificationsRead,
|
|
4
4
|
notifyTaskDone
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2XYL3ZBJ.js";
|
|
6
6
|
import {
|
|
7
7
|
clearCurrentTask,
|
|
8
8
|
writeCurrentTask
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
strictSessionScopeFilter,
|
|
17
17
|
updateTaskStatus,
|
|
18
18
|
writeNotification
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IR6CEBWC.js";
|
|
20
20
|
import {
|
|
21
21
|
getAgentContext
|
|
22
22
|
} from "./chunk-GJV3WDWM.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
getClient,
|
|
28
28
|
getCoordinatorName,
|
|
29
29
|
isCoordinatorName
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-U7I4YINB.js";
|
|
31
31
|
|
|
32
32
|
// src/lib/tasks-chain.ts
|
|
33
33
|
import path from "path";
|
|
@@ -62,7 +62,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
62
62
|
}
|
|
63
63
|
if (unblockedRows.rows.length > 0 && !process.env.VITEST) {
|
|
64
64
|
try {
|
|
65
|
-
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-
|
|
65
|
+
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-GGN2HRFW.js");
|
|
66
66
|
const dispatched = /* @__PURE__ */ new Set();
|
|
67
67
|
for (const ur of unblockedRows.rows) {
|
|
68
68
|
const assignee = String(ur.assigned_to);
|
|
@@ -87,7 +87,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
87
87
|
}
|
|
88
88
|
} catch {
|
|
89
89
|
try {
|
|
90
|
-
const { queueIntercom } = await import("./intercom-queue-
|
|
90
|
+
const { queueIntercom } = await import("./intercom-queue-QWUEMESK.js");
|
|
91
91
|
const dispatched = /* @__PURE__ */ new Set();
|
|
92
92
|
for (const ur of unblockedRows.rows) {
|
|
93
93
|
const assignee = String(ur.assigned_to);
|
|
@@ -285,7 +285,7 @@ async function updateTask(input) {
|
|
|
285
285
|
try {
|
|
286
286
|
process.stderr.write(`[tasks] EVENT: tmux delivery failed for reviewer="${reviewer}". Queueing for daemon delivery.
|
|
287
287
|
`);
|
|
288
|
-
const { queueIntercom } = await import("./intercom-queue-
|
|
288
|
+
const { queueIntercom } = await import("./intercom-queue-QWUEMESK.js");
|
|
289
289
|
const { resolveExeSession } = await import("./lib/tmux-routing.js");
|
|
290
290
|
const exeSession = row.session_scope ? String(row.session_scope) : resolveExeSession();
|
|
291
291
|
if (exeSession) {
|
|
@@ -329,7 +329,7 @@ async function updateTask(input) {
|
|
|
329
329
|
await markTaskNotificationsRead(taskFile);
|
|
330
330
|
if (isCompletionReviewTransition && !isCoordinator && row.reviewer) {
|
|
331
331
|
try {
|
|
332
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
332
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-MCJFLBAO.js");
|
|
333
333
|
const reviewer = String(row.reviewer);
|
|
334
334
|
await writeNotification2({
|
|
335
335
|
agentId: reviewer,
|