@askexenow/exe-os 0.9.201 → 0.9.203
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/dist/{active-agent-MTJPQ57G.js → active-agent-EFWC3HGP.js} +4 -4
- package/dist/{active-agent-3MLX4YOU.js → active-agent-NXX5Z3LX.js} +4 -4
- package/dist/{agentic-ontology-HPFKQFA2.js → agentic-ontology-JS6DPKQB.js} +1 -1
- package/dist/{backfill-metadata-5INYRXJX.js → backfill-metadata-PTACRLYK.js} +5 -5
- package/dist/{background-jobs-XYVQT4HN.js → background-jobs-Q4S27FCN.js} +2 -2
- package/dist/{behaviors-TIOFWD4T.js → behaviors-WDIKLZA3.js} +4 -4
- package/dist/bin/age-ontology-load.js +2 -2
- package/dist/bin/agentic-ontology-backfill.js +7 -7
- package/dist/bin/agentic-reflection-backfill.js +8 -8
- package/dist/bin/agentic-semantic-label.js +7 -7
- package/dist/bin/backfill-conversations.js +7 -7
- package/dist/bin/backfill-responses.js +7 -7
- package/dist/bin/backfill-vectors.js +9 -9
- package/dist/bin/bulk-sync-postgres.js +8 -8
- package/dist/bin/cc-doctor.js +3 -3
- package/dist/bin/cleanup-stale-review-tasks.js +12 -12
- package/dist/bin/cli.js +18 -18
- package/dist/bin/exe-agent-config.js +4 -4
- package/dist/bin/exe-agent.js +5 -5
- package/dist/bin/exe-assign.js +9 -9
- package/dist/bin/exe-boot.js +19 -19
- package/dist/bin/exe-call.js +5 -5
- package/dist/bin/exe-cloud.js +7 -7
- package/dist/bin/exe-dispatch.js +12 -12
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +8 -8
- package/dist/bin/exe-forget.js +7 -7
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +3 -3
- package/dist/bin/exe-heartbeat.js +12 -12
- package/dist/bin/exe-kill.js +15 -15
- package/dist/bin/exe-launch-agent.js +12 -12
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-pending-messages.js +13 -13
- package/dist/bin/exe-pending-notifications.js +12 -12
- package/dist/bin/exe-pending-reviews.js +12 -12
- package/dist/bin/exe-rename.js +5 -5
- package/dist/bin/exe-review.js +14 -14
- package/dist/bin/exe-search.js +6 -6
- package/dist/bin/exe-session-cleanup.js +16 -16
- package/dist/bin/exe-settings.js +7 -7
- package/dist/bin/exe-start-codex.js +12 -12
- package/dist/bin/exe-start-opencode.js +9 -9
- package/dist/bin/exe-status.js +13 -13
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +4 -4
- package/dist/bin/git-sweep.js +12 -12
- package/dist/bin/graph-backfill.js +6 -6
- package/dist/bin/graph-export.js +6 -6
- package/dist/bin/import-history.js +6 -6
- package/dist/bin/install.js +7 -7
- package/dist/bin/intercom-check.js +5 -7
- package/dist/bin/orchestration-metrics.js +24 -11
- package/dist/bin/postgres-agentic-reflection-backfill.js +4 -4
- package/dist/bin/postgres-agentic-semantic-backfill.js +3 -3
- package/dist/bin/scan-tasks.js +12 -12
- package/dist/bin/setup.js +2 -2
- package/dist/bin/shard-migrate.js +6 -6
- package/dist/bin/stack-update.js +3 -3
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{branding-YUEILP4B.js → branding-23ZRRPCE.js} +1 -1
- package/dist/{capacity-monitor-4VPGKKQH.js → capacity-monitor-TGSIL7W4.js} +13 -13
- package/dist/{catchup-brief-K2A2NCMS.js → catchup-brief-ABL4NSAE.js} +14 -14
- package/dist/{chunk-OOTPPSOX.js → chunk-25K6KNZ5.js} +7 -7
- package/dist/{chunk-XZCSY5ID.js → chunk-3GFR2TX6.js} +1 -1
- package/dist/{chunk-B5N4DMXM.js → chunk-3K2BCD5Y.js} +4 -4
- package/dist/{chunk-UCDMLKE5.js → chunk-3WMXVABU.js} +1 -1
- package/dist/{chunk-CTOQYEKJ.js → chunk-54GARVEX.js} +1 -1
- package/dist/{chunk-AVHQPIJS.js → chunk-5EW4GKGZ.js} +1 -1
- package/dist/{chunk-AIOJFN5D.js → chunk-5POKNLFV.js} +2 -2
- package/dist/{chunk-TXWQPL2U.js → chunk-5YDHBZCO.js} +1 -1
- package/dist/{chunk-MBFVJSSH.js → chunk-6FJ2TJYB.js} +2 -2
- package/dist/{chunk-A4NG62X6.js → chunk-6H6Q4MJC.js} +1 -1
- package/dist/{chunk-H2CFBUGF.js → chunk-6RX2XEET.js} +1 -1
- package/dist/{chunk-MVMMULOJ.js → chunk-72DJ42IE.js} +1 -1
- package/dist/{chunk-YLBBPZO3.js → chunk-7SY5JOLR.js} +4 -4
- package/dist/{chunk-66LJM3KL.js → chunk-AH6MV6CC.js} +3 -3
- package/dist/{chunk-HF7Y4UZO.js → chunk-AUPGTF7I.js} +2 -2
- package/dist/{chunk-MYVI6V7L.js → chunk-BGOQFJ2H.js} +3 -3
- package/dist/{chunk-XASY3SCH.js → chunk-BQ4U2SYC.js} +1 -1
- package/dist/{chunk-B4K4EJH7.js → chunk-BV3L2S54.js} +1 -1
- package/dist/{chunk-NC3NOZHH.js → chunk-BYHFW5CT.js} +1 -1
- package/dist/{chunk-7BNZUXFJ.js → chunk-CAHJ72CQ.js} +1 -1
- package/dist/{chunk-LT26OOIB.js → chunk-CGM6BIK3.js} +1 -1
- package/dist/{chunk-DXFNVS44.js → chunk-D4B6SVEC.js} +1 -1
- package/dist/{chunk-EDFYSZ4U.js → chunk-DAFEIA2M.js} +72 -72
- package/dist/{chunk-3V7D5SCM.js → chunk-DEGQESR7.js} +3 -3
- package/dist/{chunk-T4EQ5SKI.js → chunk-E66FQ7IN.js} +1 -1
- package/dist/{chunk-Y35YW6EL.js → chunk-EF4PA3TY.js} +2 -2
- package/dist/{chunk-C2YR6BZY.js → chunk-ETHQJXO3.js} +1 -1
- package/dist/{chunk-I5IWVRZY.js → chunk-FFECDA24.js} +2 -2
- package/dist/{chunk-D42R5MZU.js → chunk-FLLCEGSL.js} +2 -2
- package/dist/{chunk-TRQJQYG5.js → chunk-FMI7SCZJ.js} +1 -1
- package/dist/{chunk-CSTJQDOE.js → chunk-G4QFC45N.js} +1 -1
- package/dist/{chunk-PLNYW6PA.js → chunk-GCMXBQ7Y.js} +1 -1
- package/dist/{chunk-T5YT64SZ.js → chunk-GD4VXNXO.js} +1 -1
- package/dist/{chunk-POS4PUM7.js → chunk-GPK2WJXA.js} +1 -1
- package/dist/{chunk-SXTHSDJQ.js → chunk-GPNUPCTZ.js} +6 -6
- package/dist/{chunk-LPPCJZVI.js → chunk-GQYIMXUW.js} +2 -2
- package/dist/{chunk-GKKMANTG.js → chunk-GZLGB72W.js} +2 -2
- package/dist/{chunk-RVSGXGWG.js → chunk-HHECGHFW.js} +1 -1
- package/dist/{chunk-MLQFGVFJ.js → chunk-HXNTQP4B.js} +1 -1
- package/dist/{chunk-WI6BQ4T3.js → chunk-HXYL4QX6.js} +2 -2
- package/dist/{chunk-VBKEAVEU.js → chunk-IGRQE5Y5.js} +2 -2
- package/dist/{chunk-MSUJ3UBS.js → chunk-IXFE5R6T.js} +5 -5
- package/dist/{chunk-QR7CQJVJ.js → chunk-JUTI2DXY.js} +1 -1
- package/dist/{chunk-YCEJCFU5.js → chunk-K3O4MWMS.js} +26 -2
- package/dist/{chunk-GSV24ZVZ.js → chunk-K62M5FIM.js} +4 -4
- package/dist/{chunk-KGSFR6V3.js → chunk-KCWIOR55.js} +1 -1
- package/dist/{chunk-BCTU72UR.js → chunk-LIHR5DQF.js} +1 -1
- package/dist/{chunk-CMFLJNP6.js → chunk-LMSRF47U.js} +1 -1
- package/dist/{chunk-ZE36U2GK.js → chunk-MJNI3S5H.js} +2 -2
- package/dist/{chunk-6NLHVC6U.js → chunk-O5RJH6GU.js} +1 -1
- package/dist/{chunk-CBAW3YFB.js → chunk-OUHHUKPC.js} +1 -1
- package/dist/{chunk-IAPOGI6M.js → chunk-P4JQGT4Q.js} +2 -2
- package/dist/{chunk-RC35BWOO.js → chunk-PVVA5SY5.js} +12 -2
- package/dist/{chunk-MXLB2M2O.js → chunk-QLKRYO7O.js} +21 -11
- package/dist/{chunk-J73N5EJ6.js → chunk-RAV23DU2.js} +2 -2
- package/dist/{chunk-J2TSYNVM.js → chunk-RJCZY4BY.js} +86 -21
- package/dist/{chunk-CCYOB56Q.js → chunk-SN6Z3CBF.js} +3 -3
- package/dist/{chunk-P7QVZZBS.js → chunk-SPMVTZ7Z.js} +3 -3
- package/dist/{chunk-DFQY6G4L.js → chunk-SZDSQ3AW.js} +6 -6
- package/dist/{chunk-4WQIB264.js → chunk-USQF2GGF.js} +8 -7
- package/dist/{chunk-7VU6CZCK.js → chunk-UXD5KOND.js} +3 -3
- package/dist/{chunk-Q3FTA4GX.js → chunk-UY6RQK5F.js} +2 -2
- package/dist/{chunk-J6CSL7AY.js → chunk-WGMHQVGX.js} +35 -8
- package/dist/{chunk-K7XLE7UI.js → chunk-WILNSHND.js} +82 -7
- package/dist/{chunk-46Q3LLXC.js → chunk-WSZS2KVV.js} +2 -2
- package/dist/{chunk-4GXRETYL.js → chunk-WXW3XGWX.js} +4 -0
- package/dist/{chunk-GUCKE3GK.js → chunk-X4QO5DXP.js} +1 -1
- package/dist/{chunk-DH65L4XI.js → chunk-XHTOAJYD.js} +1 -1
- package/dist/{chunk-M6S7HVFP.js → chunk-XWM23YJO.js} +5 -5
- package/dist/{chunk-AJN3W6XB.js → chunk-XXHDXAZV.js} +1 -1
- package/dist/{chunk-7LC5HGA3.js → chunk-Y2W54BET.js} +9 -9
- package/dist/{chunk-7ZIRLFIF.js → chunk-ZGQH3V2F.js} +39 -6
- package/dist/{chunk-F7ITFLVR.js → chunk-ZGUSJ6BG.js} +1 -1
- package/dist/{chunk-EJM2YUF4.js → chunk-ZQMOF6E7.js} +1 -1
- package/dist/{co-occurrence-J5WOOCWD.js → co-occurrence-A2SJL5AH.js} +3 -3
- package/dist/{code-context-index-JPQDRTTX.js → code-context-index-DOKQN2Q5.js} +4 -4
- package/dist/{conversation-wiki-populator-YMNIDI4F.js → conversation-wiki-populator-LW3EF62R.js} +1 -1
- package/dist/{crdt-sync-NGSP5WQE.js → crdt-sync-SGAW6DJQ.js} +1 -1
- package/dist/{crm-webhook-ZQUDBLHY.js → crm-webhook-FBENY6FW.js} +2 -2
- package/dist/{cto-delegation-gate-A77BCIAB.js → cto-delegation-gate-A53RLTJZ.js} +11 -11
- package/dist/{daemon-auth-H4EJ7KAQ.js → daemon-auth-PQFXH3J2.js} +2 -2
- package/dist/{daemon-orchestration-AVB5PPC5.js → daemon-orchestration-3U3XXFG7.js} +14 -14
- package/dist/{db-backup-7UOCAPHO.js → db-backup-6IUVHX7Y.js} +2 -2
- package/dist/{exe-drift-BUVZV7DK.js → exe-drift-3OUOHWAI.js} +4 -4
- package/dist/{exe-export-QJEIYCKB.js → exe-export-AFXTJ63F.js} +6 -6
- package/dist/{exe-import-SGSX3QML.js → exe-import-QRZBTBBG.js} +6 -6
- package/dist/{exe-key-Y7DAEMSK.js → exe-key-BXN7WPOX.js} +3 -3
- package/dist/{exe-org-FEX66BTG.js → exe-org-G7IUSBCY.js} +2 -2
- package/dist/{fast-db-init-UTA7SHEE.js → fast-db-init-YVJD4JT2.js} +1 -1
- package/dist/gateway/index.js +11 -11
- package/dist/{git-staleness-WTDE4H4D.js → git-staleness-DBFCOX65.js} +3 -3
- package/dist/{git-task-sweep-SHTK3F7G.js → git-task-sweep-O5CH3MKA.js} +12 -12
- package/dist/{global-procedures-K3B3GTHA.js → global-procedures-SL2TTCED.js} +4 -4
- package/dist/{graph-auto-extract-ZCVUFK6M.js → graph-auto-extract-JGNJ3BB7.js} +3 -3
- package/dist/{hook-integrity-P3Z3HKMR.js → hook-integrity-MCY73ZZL.js} +1 -1
- package/dist/hooks/bug-report-worker.js +13 -13
- package/dist/hooks/codex-stop-task-finalizer.js +13 -13
- package/dist/hooks/commit-complete.js +14 -14
- package/dist/hooks/error-recall.js +7 -7
- package/dist/hooks/exe-heartbeat-hook.js +4 -4
- package/dist/hooks/ingest-worker.js +5 -5
- package/dist/hooks/ingest.js +12 -12
- package/dist/hooks/instructions-loaded.js +5 -5
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +5 -5
- package/dist/hooks/post-compact.js +13 -13
- package/dist/hooks/post-tool-combined.js +5 -5
- package/dist/hooks/pre-compact.js +18 -18
- package/dist/hooks/pre-tool-use.js +17 -17
- package/dist/hooks/prompt-submit.js +23 -23
- package/dist/hooks/session-end.js +35 -21
- package/dist/hooks/session-start.js +9 -9
- package/dist/hooks/stop.js +20 -20
- package/dist/hooks/subagent-stop.js +13 -13
- package/dist/hooks/summary-worker.js +21 -21
- package/dist/index.js +20 -20
- package/dist/{installer-D47RNEJB.js → installer-5FI6CX62.js} +6 -6
- package/dist/{installer-WVQDUS7O.js → installer-HNOVAUW6.js} +6 -6
- package/dist/{installer-YBYJZLUT.js → installer-TAPAEWRV.js} +6 -6
- package/dist/{key-backup-status-KQUGSNVJ.js → key-backup-status-JTPVS5K2.js} +1 -1
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +6 -6
- package/dist/lib/config.js +3 -1
- package/dist/lib/consolidation.js +6 -6
- package/dist/lib/database.js +3 -3
- package/dist/lib/db-daemon-client.js +3 -3
- package/dist/lib/db.js +3 -3
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/embedder.js +4 -4
- package/dist/lib/employee-templates.js +5 -5
- package/dist/lib/employees.js +3 -3
- package/dist/lib/exe-daemon-client.js +3 -3
- package/dist/lib/exe-daemon.js +55 -39
- package/dist/lib/hybrid-search.js +6 -6
- package/dist/lib/identity.js +3 -3
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +12 -12
- package/dist/lib/reminders.js +4 -4
- package/dist/lib/schedules.js +6 -6
- package/dist/lib/skill-learning.js +5 -5
- package/dist/lib/store.js +5 -5
- package/dist/lib/task-router.js +4 -4
- package/dist/lib/tasks.js +12 -12
- package/dist/lib/tmux-routing.js +11 -11
- package/dist/lib/tmux-transport.js +1 -1
- package/dist/lib/token-spend.js +4 -4
- package/dist/lib/transport.js +2 -2
- package/dist/{license-gate-R5IDWABY.js → license-gate-GJYKYTFK.js} +3 -3
- package/dist/mcp/register-tools.js +60 -60
- package/dist/mcp/server.js +62 -62
- 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 +14 -14
- package/dist/mcp/tools/deactivate-behavior.js +6 -6
- package/dist/mcp/tools/list-reminders.js +5 -5
- package/dist/mcp/tools/list-tasks.js +14 -14
- package/dist/mcp/tools/send-message.js +14 -14
- package/dist/mcp/tools/update-task.js +13 -13
- package/dist/{mcp-http-config-DWN2POKM.js → mcp-http-config-6UAI2FAV.js} +4 -4
- package/dist/{memory-cards-VIKEUPGO.js → memory-cards-PVPUQ7MX.js} +3 -3
- package/dist/{memory-graph-extractor-OP2BSF43.js → memory-graph-extractor-RP7ZXDTE.js} +4 -4
- package/dist/{memory-poisoning-defense-EKMAAXMH.js → memory-poisoning-defense-DDBUHHGB.js} +3 -3
- package/dist/{memory-queue-2SHTE6GU.js → memory-queue-WM4BXLSR.js} +2 -2
- package/dist/{memory-queue-client-XCBQIT3T.js → memory-queue-client-BKEAVZHZ.js} +5 -5
- package/dist/{memory-reflection-AAST2U2M.js → memory-reflection-HLR26FXG.js} +3 -3
- package/dist/{notifications-SWILJ3AV.js → notifications-GHNYYITD.js} +11 -11
- package/dist/orchestration-events-2SVPXMK2.js +20 -0
- package/dist/{orchestration-phase-D3PNCSUY.js → orchestration-phase-VFGBKPDJ.js} +2 -2
- package/dist/{orchestrator-L6OFTLK5.js → orchestrator-3BDZ6OUC.js} +13 -13
- package/dist/{plan-limits-J2BJEBN6.js → plan-limits-QBNFIU45.js} +5 -5
- package/dist/{projection-worker-QPE2JIKS.js → projection-worker-B7HHFYEG.js} +3 -3
- package/dist/{push-notifications-VJZFCUFZ.js → push-notifications-ONUX3NPQ.js} +2 -2
- package/dist/{reranker-342RISOC.js → reranker-B3BOGR3A.js} +2 -2
- package/dist/{review-polling-TKQXLTIA.js → review-polling-RUXU45AK.js} +12 -12
- package/dist/runtime/index.js +14 -14
- package/dist/{session-events-OPOXDEPH.js → session-events-ICZPUGJN.js} +12 -12
- package/dist/{session-kill-telemetry-GBNUQABY.js → session-kill-telemetry-OGFLFTYX.js} +4 -4
- package/dist/{session-scope-J2ODEL37.js → session-scope-UJI35BLD.js} +11 -11
- package/dist/{setup-wizard-FQBIZQWP.js → setup-wizard-M6ZZ2VNM.js} +2 -2
- package/dist/{shard-manager-GWMFNY2I.js → shard-manager-4MU4SQ2F.js} +2 -2
- package/dist/{skill-refinement-GYK7FZCH.js → skill-refinement-WZL35CMY.js} +3 -3
- package/dist/{stack-update-Q2WQOJTS.js → stack-update-JASS27LK.js} +3 -3
- package/dist/{task-enforcement-IPXSAJA5.js → task-enforcement-AYHKGR45.js} +11 -11
- package/dist/{task-scope-JREB33TH.js → task-scope-EYAOY6YX.js} +11 -11
- package/dist/{tasks-crud-V3IQ5GLV.js → tasks-crud-K3UGPCPT.js} +11 -11
- package/dist/{tasks-review-PEEMO6RY.js → tasks-review-J6LTVVO5.js} +11 -11
- package/dist/{token-budget-ES3IEZPJ.js → token-budget-XU2QZEWX.js} +3 -3
- package/dist/{tool-capability-index-6ICPKH5O.js → tool-capability-index-YRJJEBIK.js} +1 -1
- package/dist/{tool-telemetry-JVQX5FJV.js → tool-telemetry-OE57ERK7.js} +1 -1
- package/dist/tui/App.js +24 -24
- package/dist/{tui-data-NJUK2RNW.js → tui-data-32OEC3DH.js} +11 -11
- package/dist/{worker-gate-4KF5ZRWT.js → worker-gate-UIGQCEUE.js} +2 -2
- package/dist/{workflow-engine-DHMTGUAO.js → workflow-engine-IY7KO7DU.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +77 -77
- /package/dist/{chunk-XJTHRKML.js → chunk-IENYOYZ6.js} +0 -0
- /package/dist/{chunk-ZOX6DPP3.js → chunk-L63IOJ5N.js} +0 -0
- /package/dist/{chunk-5QVJ5TBF.js → chunk-LJA6RQ3L.js} +0 -0
- /package/dist/{chunk-TFV7MDCX.js → chunk-Q3MRTJLA.js} +0 -0
- /package/dist/{chunk-MYESASW3.js → chunk-QQN7MHQG.js} +0 -0
- /package/dist/{chunk-HGU4YCR3.js → chunk-RH5NYRQH.js} +0 -0
- /package/dist/{chunk-HIECEYMN.js → chunk-X2BTDYHZ.js} +0 -0
- /package/dist/{core-memory-B7VPSYUP.js → core-memory-VZ4YJVMA.js} +0 -0
- /package/dist/{entity-boost-QXR3LCYV.js → entity-boost-TM7ETI64.js} +0 -0
- /package/dist/{message-queue-client-CUCAQME6.js → message-queue-client-TFMDQXJ7.js} +0 -0
- /package/dist/{oauth-server-4A37UP5W.js → oauth-server-ZD2RNARD.js} +0 -0
- /package/dist/{webhook-pipe-VSLEA26V.js → webhook-pipe-TSOX5K7U.js} +0 -0
- /package/dist/{wiki-acl-UOSBRX3O.js → wiki-acl-NUUPHYWC.js} +0 -0
- /package/dist/{wiki-client-S6JKY7GG.js → wiki-client-2JLYCEWY.js} +0 -0
|
@@ -2,39 +2,39 @@ import "../chunk-YSU7JB7H.js";
|
|
|
2
2
|
import "../chunk-SH45SJQW.js";
|
|
3
3
|
import {
|
|
4
4
|
getActiveAgent
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-UY6RQK5F.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-RJCZY4BY.js";
|
|
9
9
|
import "../chunk-RN6XYY7U.js";
|
|
10
10
|
import "../chunk-QI4IXJN7.js";
|
|
11
11
|
import "../chunk-64WZEXXA.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-5YDHBZCO.js";
|
|
13
|
+
import "../chunk-G4QFC45N.js";
|
|
14
14
|
import "../chunk-GZIAQYGI.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-ZGQH3V2F.js";
|
|
16
16
|
import "../chunk-ZQX6UOP6.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-6RX2XEET.js";
|
|
18
18
|
import "../chunk-NGP6LSV2.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-SN6Z3CBF.js";
|
|
20
20
|
import {
|
|
21
21
|
getSessionKey
|
|
22
22
|
} from "../chunk-CVYC6DUW.js";
|
|
23
23
|
import "../chunk-OPU3NYOO.js";
|
|
24
24
|
import "../chunk-GJV3WDWM.js";
|
|
25
25
|
import "../chunk-MP2AFCGL.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-HXNTQP4B.js";
|
|
27
27
|
import "../chunk-HYZV25LY.js";
|
|
28
28
|
import {
|
|
29
29
|
canCoordinate,
|
|
30
30
|
loadEmployeesSync
|
|
31
|
-
} from "../chunk-
|
|
32
|
-
import "../chunk-
|
|
31
|
+
} from "../chunk-K3O4MWMS.js";
|
|
32
|
+
import "../chunk-HHECGHFW.js";
|
|
33
33
|
import "../chunk-FXU7JOXK.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-72DJ42IE.js";
|
|
35
35
|
import {
|
|
36
36
|
EXE_AI_DIR
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-WXW3XGWX.js";
|
|
38
38
|
import "../chunk-LYH5HE24.js";
|
|
39
39
|
import "../chunk-MLKGABMK.js";
|
|
40
40
|
|
|
@@ -314,15 +314,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
314
314
|
process.exit(0);
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
317
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-A53RLTJZ.js");
|
|
318
318
|
const gatedAgent = getGatedAgent();
|
|
319
319
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
320
320
|
const filePath = data.tool_input?.file_path ?? "";
|
|
321
321
|
if (filePath) {
|
|
322
322
|
try {
|
|
323
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
323
|
+
const { fastDbInit } = await import("../fast-db-init-YVJD4JT2.js");
|
|
324
324
|
await fastDbInit();
|
|
325
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
325
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-A53RLTJZ.js");
|
|
326
326
|
const decision = await evaluateDelegationGate({
|
|
327
327
|
agentId: agent.agentId,
|
|
328
328
|
toolName: data.tool_name,
|
|
@@ -367,7 +367,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
367
367
|
const isUpdateTaskDone = (data.tool_name === "mcp__exe-os__update_task" || data.tool_name === "mcp__exe-mem__update_task") && toolInput.status === "done" && CTO_ROLES.includes(agent.agentRole);
|
|
368
368
|
if (isUpdateTaskDone) {
|
|
369
369
|
try {
|
|
370
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
370
|
+
const { fastDbInit } = await import("../fast-db-init-YVJD4JT2.js");
|
|
371
371
|
const client = await fastDbInit();
|
|
372
372
|
const taskId = String(toolInput.task_id ?? "");
|
|
373
373
|
const ptScope = sessionScopeFilter();
|
|
@@ -425,7 +425,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
425
425
|
}
|
|
426
426
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
427
427
|
try {
|
|
428
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
428
|
+
const { fastDbInit } = await import("../fast-db-init-YVJD4JT2.js");
|
|
429
429
|
const client = await fastDbInit();
|
|
430
430
|
const dlScope = sessionScopeFilter();
|
|
431
431
|
const result = await client.execute({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hybridSearch,
|
|
3
3
|
lightweightSearch
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-Y2W54BET.js";
|
|
5
5
|
import {
|
|
6
6
|
initStore
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-QLKRYO7O.js";
|
|
8
8
|
import "../chunk-CHCA3ZM2.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-RH5NYRQH.js";
|
|
10
10
|
import {
|
|
11
11
|
isCacheCold
|
|
12
12
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -14,21 +14,21 @@ import "../chunk-YSU7JB7H.js";
|
|
|
14
14
|
import "../chunk-SH45SJQW.js";
|
|
15
15
|
import {
|
|
16
16
|
getActiveAgent
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-UY6RQK5F.js";
|
|
18
18
|
import {
|
|
19
19
|
isExeSession
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-RJCZY4BY.js";
|
|
21
21
|
import "../chunk-RN6XYY7U.js";
|
|
22
22
|
import "../chunk-QI4IXJN7.js";
|
|
23
23
|
import "../chunk-64WZEXXA.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-5YDHBZCO.js";
|
|
25
|
+
import "../chunk-G4QFC45N.js";
|
|
26
26
|
import "../chunk-GZIAQYGI.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-ZGQH3V2F.js";
|
|
28
28
|
import "../chunk-ZQX6UOP6.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-6RX2XEET.js";
|
|
30
30
|
import "../chunk-NGP6LSV2.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-SN6Z3CBF.js";
|
|
32
32
|
import {
|
|
33
33
|
getSessionKey
|
|
34
34
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -37,20 +37,20 @@ import {
|
|
|
37
37
|
} from "../chunk-OPU3NYOO.js";
|
|
38
38
|
import "../chunk-GJV3WDWM.js";
|
|
39
39
|
import "../chunk-MP2AFCGL.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-HXNTQP4B.js";
|
|
41
41
|
import "../chunk-HYZV25LY.js";
|
|
42
42
|
import {
|
|
43
43
|
canCoordinate
|
|
44
|
-
} from "../chunk-
|
|
45
|
-
import "../chunk-
|
|
44
|
+
} from "../chunk-K3O4MWMS.js";
|
|
45
|
+
import "../chunk-HHECGHFW.js";
|
|
46
46
|
import "../chunk-FXU7JOXK.js";
|
|
47
47
|
import "../chunk-6D23UNXU.js";
|
|
48
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-72DJ42IE.js";
|
|
49
49
|
import {
|
|
50
50
|
EXE_AI_DIR,
|
|
51
51
|
loadConfig,
|
|
52
52
|
loadConfigSync
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-WXW3XGWX.js";
|
|
54
54
|
import {
|
|
55
55
|
atomicWriteJsonSync,
|
|
56
56
|
atomicWriteSync
|
|
@@ -285,7 +285,7 @@ ${fresh.map(
|
|
|
285
285
|
atomicWriteSync(counterPath, String(count));
|
|
286
286
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
287
287
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
288
|
-
const { listBehaviors } = await import("../behaviors-
|
|
288
|
+
const { listBehaviors } = await import("../behaviors-WDIKLZA3.js");
|
|
289
289
|
const behaviors = await listBehaviors(agent.agentId);
|
|
290
290
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
291
291
|
if (active.length > 0) {
|
|
@@ -310,7 +310,7 @@ ${lines.join("\n")}`;
|
|
|
310
310
|
if (!lastCheckedAt) {
|
|
311
311
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
312
312
|
}
|
|
313
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
313
|
+
const { listBehaviorsSince } = await import("../behaviors-WDIKLZA3.js");
|
|
314
314
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
315
315
|
if (newBehaviors.length > 0) {
|
|
316
316
|
const lines = newBehaviors.map(
|
|
@@ -363,7 +363,7 @@ ${body}`;
|
|
|
363
363
|
let reviewContext = "";
|
|
364
364
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
365
365
|
try {
|
|
366
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
366
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-J6LTVVO5.js");
|
|
367
367
|
const sessionKey = getSessionKey();
|
|
368
368
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
369
369
|
let sessionScope;
|
|
@@ -420,7 +420,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
420
420
|
let coreMemoryContext = "";
|
|
421
421
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
422
422
|
try {
|
|
423
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
423
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-VZ4YJVMA.js");
|
|
424
424
|
const entries = await getCoreMemory(agent.agentId);
|
|
425
425
|
const block = formatCoreMemoryBlock(entries);
|
|
426
426
|
if (block) coreMemoryContext = block;
|
|
@@ -547,7 +547,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
547
547
|
let idleTaskContext = "";
|
|
548
548
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
549
549
|
try {
|
|
550
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
550
|
+
const { fastDbInit } = await import("../fast-db-init-YVJD4JT2.js");
|
|
551
551
|
const client = await fastDbInit();
|
|
552
552
|
let taskSessionScope = null;
|
|
553
553
|
if (inTmux) {
|
|
@@ -620,8 +620,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
620
620
|
return;
|
|
621
621
|
}
|
|
622
622
|
try {
|
|
623
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
624
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
623
|
+
const { fastDbInit } = await import("../fast-db-init-YVJD4JT2.js");
|
|
624
|
+
const { recordSessionEvent } = await import("../session-events-ICZPUGJN.js");
|
|
625
625
|
const client = await fastDbInit();
|
|
626
626
|
await recordSessionEvent(client, {
|
|
627
627
|
agentId: agent.agentId,
|
|
@@ -636,7 +636,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
636
636
|
}
|
|
637
637
|
if (!loadConfigSync().autoIngestion) return;
|
|
638
638
|
try {
|
|
639
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
639
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-BKEAVZHZ.js");
|
|
640
640
|
const trimmed = prompt.trim();
|
|
641
641
|
const isSlashCommand = trimmed.startsWith("/");
|
|
642
642
|
const isDirective = /\b(from now on|never|always|rule:|decision:|policy:)\b/i.test(trimmed);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-KCWIOR55.js";
|
|
4
|
+
import "../chunk-FLLCEGSL.js";
|
|
5
|
+
import "../chunk-X4QO5DXP.js";
|
|
6
|
+
import "../chunk-EF4PA3TY.js";
|
|
7
|
+
import "../chunk-LMSRF47U.js";
|
|
8
8
|
import {
|
|
9
9
|
clearCacheState
|
|
10
10
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -13,21 +13,21 @@ import "../chunk-SH45SJQW.js";
|
|
|
13
13
|
import {
|
|
14
14
|
clearActiveAgent,
|
|
15
15
|
getActiveAgent
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-UY6RQK5F.js";
|
|
17
17
|
import {
|
|
18
18
|
strictSessionScopeFilter
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-RJCZY4BY.js";
|
|
20
20
|
import "../chunk-RN6XYY7U.js";
|
|
21
21
|
import "../chunk-QI4IXJN7.js";
|
|
22
22
|
import "../chunk-64WZEXXA.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-5YDHBZCO.js";
|
|
24
|
+
import "../chunk-G4QFC45N.js";
|
|
25
25
|
import "../chunk-GZIAQYGI.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-ZGQH3V2F.js";
|
|
27
27
|
import "../chunk-ZQX6UOP6.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-6RX2XEET.js";
|
|
29
29
|
import "../chunk-NGP6LSV2.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-SN6Z3CBF.js";
|
|
31
31
|
import {
|
|
32
32
|
getSessionKey
|
|
33
33
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -35,15 +35,15 @@ import "../chunk-OPU3NYOO.js";
|
|
|
35
35
|
import "../chunk-GJV3WDWM.js";
|
|
36
36
|
import "../chunk-MP2AFCGL.js";
|
|
37
37
|
import "../chunk-PWMMIGVQ.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-HXNTQP4B.js";
|
|
39
39
|
import "../chunk-HYZV25LY.js";
|
|
40
40
|
import {
|
|
41
41
|
canCoordinate
|
|
42
|
-
} from "../chunk-
|
|
43
|
-
import "../chunk-
|
|
42
|
+
} from "../chunk-K3O4MWMS.js";
|
|
43
|
+
import "../chunk-HHECGHFW.js";
|
|
44
44
|
import "../chunk-FXU7JOXK.js";
|
|
45
|
-
import "../chunk-
|
|
46
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-72DJ42IE.js";
|
|
46
|
+
import "../chunk-WXW3XGWX.js";
|
|
47
47
|
import "../chunk-LYH5HE24.js";
|
|
48
48
|
import "../chunk-MLKGABMK.js";
|
|
49
49
|
|
|
@@ -108,11 +108,25 @@ process.stdin.on("end", async () => {
|
|
|
108
108
|
appendFileSync(deathLog, entry + "\n");
|
|
109
109
|
process.stderr.write(`[session-end] EXIT: ${agent.agentId} after ${Math.round(uptimeMs / 1e3)}s \u2014 reason=${exitReason} daemon=${daemonAlive ? "alive" : "DEAD"}
|
|
110
110
|
`);
|
|
111
|
+
try {
|
|
112
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-2SVPXMK2.js");
|
|
113
|
+
await recordOrchestrationEvent({
|
|
114
|
+
eventType: "session.exit",
|
|
115
|
+
source: "hooks.session-end",
|
|
116
|
+
agentId: agent.agentId,
|
|
117
|
+
tmuxSession: process.env.EXE_SESSION ?? process.env.TMUX_PANE ?? "unknown",
|
|
118
|
+
sessionScope: process.env.EXE_SESSION_NAME?.includes("-") ? process.env.EXE_SESSION_NAME.split("-").pop() : process.env.EXE_SESSION_NAME,
|
|
119
|
+
result: exitReason,
|
|
120
|
+
durationMs: uptimeMs,
|
|
121
|
+
payload: { daemonAlive, memoryRssMB: Math.round(process.memoryUsage.rss() / 1024 / 1024) }
|
|
122
|
+
});
|
|
123
|
+
} catch {
|
|
124
|
+
}
|
|
111
125
|
} catch {
|
|
112
126
|
}
|
|
113
127
|
if (agent.agentId !== "default") {
|
|
114
128
|
try {
|
|
115
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
129
|
+
const { fastDbInit } = await import("../fast-db-init-YVJD4JT2.js");
|
|
116
130
|
const client = await fastDbInit();
|
|
117
131
|
const seScope = strictSessionScopeFilter();
|
|
118
132
|
const orphanResult = await client.execute({
|
|
@@ -188,7 +202,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
188
202
|
});
|
|
189
203
|
if (conversationSummary.length > 100) {
|
|
190
204
|
try {
|
|
191
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
205
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-BKEAVZHZ.js");
|
|
192
206
|
await writeMemoryViaDaemon({
|
|
193
207
|
raw_text: conversationSummary.slice(0, 8e3),
|
|
194
208
|
agent_id: agent.agentId,
|
|
@@ -204,7 +218,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
204
218
|
}
|
|
205
219
|
}
|
|
206
220
|
try {
|
|
207
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
221
|
+
const { clearSessionFileReads } = await import("../git-staleness-DBFCOX65.js");
|
|
208
222
|
await clearSessionFileReads(data.session_id);
|
|
209
223
|
} catch {
|
|
210
224
|
}
|
|
@@ -233,7 +247,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
233
247
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
234
248
|
}
|
|
235
249
|
try {
|
|
236
|
-
const { writeNotification } = await import("../notifications-
|
|
250
|
+
const { writeNotification } = await import("../notifications-GHNYYITD.js");
|
|
237
251
|
await writeNotification({
|
|
238
252
|
agentId: agent.agentId,
|
|
239
253
|
agentRole: agent.agentRole,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadConfigSync
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-WXW3XGWX.js";
|
|
4
4
|
import "../chunk-LYH5HE24.js";
|
|
5
5
|
import "../chunk-MLKGABMK.js";
|
|
6
6
|
|
|
@@ -29,9 +29,9 @@ process.stdin.on("data", (chunk) => {
|
|
|
29
29
|
});
|
|
30
30
|
process.stdin.on("end", async () => {
|
|
31
31
|
try {
|
|
32
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
32
|
+
const { getActiveAgent } = await import("../active-agent-NXX5Z3LX.js");
|
|
33
33
|
const { getProjectName } = await import("../project-name-EWG5KAZP.js");
|
|
34
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
34
|
+
const { getCurrentSessionScope } = await import("../task-scope-EYAOY6YX.js");
|
|
35
35
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
36
36
|
const data = JSON.parse(input);
|
|
37
37
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -63,7 +63,7 @@ process.stdin.on("end", async () => {
|
|
|
63
63
|
}
|
|
64
64
|
if (!daemonDegraded) {
|
|
65
65
|
try {
|
|
66
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
66
|
+
const { fastDbInit } = await import("../fast-db-init-YVJD4JT2.js");
|
|
67
67
|
await fastDbInit();
|
|
68
68
|
} catch {
|
|
69
69
|
daemonDegraded = true;
|
|
@@ -111,7 +111,7 @@ process.stdin.on("end", async () => {
|
|
|
111
111
|
if (daemonDegraded) {
|
|
112
112
|
let degradedContext = "## \u26A0\uFE0F Degraded Boot\nDaemon/MCP is temporarily unavailable. This session started without memory context. MCP tools may fail \u2014 retry in 30s if they do.\n";
|
|
113
113
|
try {
|
|
114
|
-
const { getActiveAgent: getAgent } = await import("../active-agent-
|
|
114
|
+
const { getActiveAgent: getAgent } = await import("../active-agent-NXX5Z3LX.js");
|
|
115
115
|
const ag = getAgent();
|
|
116
116
|
if (ag.agentId !== "default") {
|
|
117
117
|
degradedContext = `## Your Identity
|
|
@@ -135,7 +135,7 @@ You are **${ag.agentId}** (${ag.agentRole}). Daemon is degraded \u2014 memory un
|
|
|
135
135
|
query = `last actions on ${projectName}`;
|
|
136
136
|
header = "## Resuming Session\nHere's where you left off:";
|
|
137
137
|
try {
|
|
138
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
138
|
+
const { buildCatchupBrief } = await import("../catchup-brief-ABL4NSAE.js");
|
|
139
139
|
const brief = await buildCatchupBrief(
|
|
140
140
|
agentId,
|
|
141
141
|
projectName,
|
|
@@ -147,7 +147,7 @@ You are **${ag.agentId}** (${ag.agentRole}). Daemon is degraded \u2014 memory un
|
|
|
147
147
|
} catch {
|
|
148
148
|
}
|
|
149
149
|
try {
|
|
150
|
-
const { detectStaleFiles } = await import("../git-staleness-
|
|
150
|
+
const { detectStaleFiles } = await import("../git-staleness-DBFCOX65.js");
|
|
151
151
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
152
152
|
if (staleFiles.length > 0) {
|
|
153
153
|
extraContext += `${extraContext.length > 0 ? "\n\n" : ""}## \u26A0\uFE0F Stale File Warning
|
|
@@ -160,7 +160,7 @@ The following files have been modified since you last read them:
|
|
|
160
160
|
query = `recent work on ${projectName}`;
|
|
161
161
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
162
162
|
}
|
|
163
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
163
|
+
const { queryTaskRows } = await import("../tasks-crud-K3UGPCPT.js");
|
|
164
164
|
const [memories, taskResult] = await Promise.all([
|
|
165
165
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
166
166
|
queryTaskRows({
|
|
@@ -226,7 +226,7 @@ You are **${title}**${role ? ` (${role})` : ""}. ${firstLine}
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
try {
|
|
229
|
-
const { loadOrchestrationPhase } = await import("../orchestration-phase-
|
|
229
|
+
const { loadOrchestrationPhase } = await import("../orchestration-phase-VFGBKPDJ.js");
|
|
230
230
|
const phase = await loadOrchestrationPhase();
|
|
231
231
|
additionalContext += `## Orchestration Phase
|
|
232
232
|
${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user can switch phases anytime. ${phase.nextSuggestion}
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UY6RQK5F.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-RJCZY4BY.js";
|
|
8
8
|
import "../chunk-RN6XYY7U.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-5YDHBZCO.js";
|
|
12
|
+
import "../chunk-G4QFC45N.js";
|
|
13
13
|
import "../chunk-GZIAQYGI.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-ZGQH3V2F.js";
|
|
15
15
|
import "../chunk-ZQX6UOP6.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-6RX2XEET.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-SN6Z3CBF.js";
|
|
19
19
|
import "../chunk-CVYC6DUW.js";
|
|
20
20
|
import "../chunk-OPU3NYOO.js";
|
|
21
21
|
import "../chunk-GJV3WDWM.js";
|
|
22
22
|
import "../chunk-MP2AFCGL.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-HXNTQP4B.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
25
|
import {
|
|
26
26
|
canCoordinate
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-K3O4MWMS.js";
|
|
28
|
+
import "../chunk-HHECGHFW.js";
|
|
29
29
|
import "../chunk-FXU7JOXK.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-72DJ42IE.js";
|
|
31
31
|
import {
|
|
32
32
|
EXE_AI_DIR,
|
|
33
33
|
loadConfigSync
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-WXW3XGWX.js";
|
|
35
35
|
import "../chunk-LYH5HE24.js";
|
|
36
36
|
import "../chunk-MLKGABMK.js";
|
|
37
37
|
|
|
@@ -119,8 +119,8 @@ process.stdin.on("end", async () => {
|
|
|
119
119
|
process.exit(0);
|
|
120
120
|
}
|
|
121
121
|
try {
|
|
122
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
123
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
122
|
+
const { fastDbInit } = await import("../fast-db-init-YVJD4JT2.js");
|
|
123
|
+
const { recordSessionEvent } = await import("../session-events-ICZPUGJN.js");
|
|
124
124
|
const client = await fastDbInit();
|
|
125
125
|
await recordSessionEvent(client, {
|
|
126
126
|
agentId: agent.agentId,
|
|
@@ -138,7 +138,7 @@ process.stdin.on("end", async () => {
|
|
|
138
138
|
if (existsSync(taskCachePath)) {
|
|
139
139
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
140
140
|
if (cached.taskId) {
|
|
141
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
141
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-XU2QZEWX.js");
|
|
142
142
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
143
143
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
144
144
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -156,7 +156,7 @@ process.stdin.on("end", async () => {
|
|
|
156
156
|
}
|
|
157
157
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
158
158
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
159
|
-
import("../fast-db-init-
|
|
159
|
+
import("../fast-db-init-YVJD4JT2.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
160
160
|
const stScope = sessionScopeFilter();
|
|
161
161
|
const tasks = await client.execute({
|
|
162
162
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -174,7 +174,7 @@ process.stdin.on("end", async () => {
|
|
|
174
174
|
"",
|
|
175
175
|
`Last response fragment: ${message.slice(0, 500)}`
|
|
176
176
|
].join("\n");
|
|
177
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
177
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-BKEAVZHZ.js");
|
|
178
178
|
await writeMemoryViaDaemon({
|
|
179
179
|
raw_text: checkpoint,
|
|
180
180
|
agent_id: agent.agentId,
|
|
@@ -227,7 +227,7 @@ Session: ${data.session_id}
|
|
|
227
227
|
|
|
228
228
|
## Recent Thread
|
|
229
229
|
${msgs.slice(-15).join("\n")}`;
|
|
230
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
230
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-BKEAVZHZ.js");
|
|
231
231
|
await writeMemoryViaDaemon({
|
|
232
232
|
raw_text: summary,
|
|
233
233
|
agent_id: agent.agentId,
|
|
@@ -249,7 +249,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
249
249
|
} catch {
|
|
250
250
|
}
|
|
251
251
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
252
|
-
import("../fast-db-init-
|
|
252
|
+
import("../fast-db-init-YVJD4JT2.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
253
253
|
const orScope = sessionScopeFilter();
|
|
254
254
|
return client.execute({
|
|
255
255
|
sql: `SELECT title, status FROM tasks
|
|
@@ -269,7 +269,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
if (AUTO_INGESTION_ENABLED) {
|
|
272
|
-
import("../memory-queue-client-
|
|
272
|
+
import("../memory-queue-client-BKEAVZHZ.js").then(
|
|
273
273
|
({ writeMemoryViaDaemon }) => writeMemoryViaDaemon({
|
|
274
274
|
raw_text: message.slice(0, 5e3),
|
|
275
275
|
agent_id: agent.agentId,
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UY6RQK5F.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-RJCZY4BY.js";
|
|
8
8
|
import "../chunk-RN6XYY7U.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-5YDHBZCO.js";
|
|
12
|
+
import "../chunk-G4QFC45N.js";
|
|
13
13
|
import "../chunk-GZIAQYGI.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-ZGQH3V2F.js";
|
|
15
15
|
import "../chunk-ZQX6UOP6.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-6RX2XEET.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-SN6Z3CBF.js";
|
|
19
19
|
import "../chunk-CVYC6DUW.js";
|
|
20
20
|
import "../chunk-OPU3NYOO.js";
|
|
21
21
|
import "../chunk-GJV3WDWM.js";
|
|
22
22
|
import "../chunk-MP2AFCGL.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-HXNTQP4B.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
25
|
import {
|
|
26
26
|
canCoordinate
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-K3O4MWMS.js";
|
|
28
|
+
import "../chunk-HHECGHFW.js";
|
|
29
29
|
import "../chunk-FXU7JOXK.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-72DJ42IE.js";
|
|
31
|
+
import "../chunk-WXW3XGWX.js";
|
|
32
32
|
import "../chunk-LYH5HE24.js";
|
|
33
33
|
import "../chunk-MLKGABMK.js";
|
|
34
34
|
|
|
@@ -56,7 +56,7 @@ process.stdin.on("end", async () => {
|
|
|
56
56
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
57
57
|
process.exit(0);
|
|
58
58
|
}
|
|
59
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
59
|
+
const { fastDbInit } = await import("../fast-db-init-YVJD4JT2.js");
|
|
60
60
|
const client = await fastDbInit();
|
|
61
61
|
const saScope = sessionScopeFilter();
|
|
62
62
|
const pendingResult = await client.execute({
|