@askexenow/exe-os 0.9.203 → 0.9.205
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/init-db.sql +162 -0
- package/deploy/stack-manifests/v0.9.json +45 -1
- package/dist/{active-agent-EFWC3HGP.js → active-agent-4RUP4VYK.js} +2 -2
- package/dist/{active-agent-NXX5Z3LX.js → active-agent-VEML3XMS.js} +2 -2
- package/dist/{agentic-ontology-JS6DPKQB.js → agentic-ontology-FNJAKZF5.js} +1 -1
- package/dist/{backfill-metadata-PTACRLYK.js → backfill-metadata-BT4RLVMZ.js} +3 -3
- package/dist/{behaviors-WDIKLZA3.js → behaviors-LCPNHP5Q.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +4 -4
- package/dist/bin/agentic-reflection-backfill.js +5 -5
- package/dist/bin/agentic-semantic-label.js +4 -4
- package/dist/bin/backfill-conversations.js +3 -3
- package/dist/bin/backfill-responses.js +3 -3
- package/dist/bin/backfill-vectors.js +4 -4
- package/dist/bin/bulk-sync-postgres.js +5 -5
- package/dist/bin/cleanup-stale-review-tasks.js +8 -8
- package/dist/bin/cli.js +12 -12
- package/dist/bin/exe-agent-config.js +1 -1
- package/dist/bin/exe-agent.js +3 -3
- package/dist/bin/exe-assign.js +4 -4
- package/dist/bin/exe-boot.js +15 -15
- package/dist/bin/exe-call.js +3 -3
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +8 -8
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +6 -6
- package/dist/bin/exe-forget.js +5 -5
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +8 -8
- package/dist/bin/exe-kill.js +11 -11
- package/dist/bin/exe-launch-agent.js +9 -9
- package/dist/bin/exe-new-employee.js +5 -5
- package/dist/bin/exe-pending-messages.js +9 -9
- package/dist/bin/exe-pending-notifications.js +8 -8
- package/dist/bin/exe-pending-reviews.js +8 -8
- package/dist/bin/exe-rename.js +3 -3
- package/dist/bin/exe-review.js +10 -10
- package/dist/bin/exe-search.js +4 -4
- package/dist/bin/exe-session-cleanup.js +13 -13
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +10 -10
- package/dist/bin/exe-start-opencode.js +7 -7
- package/dist/bin/exe-status.js +9 -9
- package/dist/bin/exe-team.js +2 -2
- package/dist/bin/git-sweep.js +8 -8
- package/dist/bin/graph-backfill.js +3 -3
- package/dist/bin/graph-export.js +4 -4
- package/dist/bin/import-history.js +4 -4
- package/dist/bin/install.js +5 -5
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/orchestration-metrics.js +4 -3
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/scan-tasks.js +8 -8
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +3 -3
- package/dist/{capacity-monitor-TGSIL7W4.js → capacity-monitor-EPHJTSKF.js} +9 -9
- package/dist/{catchup-brief-ABL4NSAE.js → catchup-brief-HVITENL5.js} +10 -10
- package/dist/{chunk-25K6KNZ5.js → chunk-22GPB6FO.js} +58 -6
- package/dist/chunk-2THPPZF2.js +81 -0
- package/dist/{chunk-K3O4MWMS.js → chunk-3MHKTBHZ.js} +1 -0
- package/dist/{chunk-UY6RQK5F.js → chunk-3N4ZEPZI.js} +1 -1
- package/dist/{chunk-SN6Z3CBF.js → chunk-3PDZQICZ.js} +1 -1
- package/dist/{chunk-CGM6BIK3.js → chunk-3S3ERUUH.js} +1 -1
- package/dist/{chunk-5EW4GKGZ.js → chunk-434A3L6O.js} +1 -1
- package/dist/{chunk-BQ4U2SYC.js → chunk-4FNJPA5O.js} +1 -1
- package/dist/{chunk-O5RJH6GU.js → chunk-4RJD3GXL.js} +1 -1
- package/dist/{chunk-3K2BCD5Y.js → chunk-5HTEMMOJ.js} +21 -4
- package/dist/{chunk-SZDSQ3AW.js → chunk-6JORPKMR.js} +3 -3
- package/dist/{chunk-DAFEIA2M.js → chunk-6MOFCQFH.js} +124 -65
- package/dist/{chunk-K62M5FIM.js → chunk-6VVSXO3M.js} +4 -4
- package/dist/{chunk-SPMVTZ7Z.js → chunk-723DSUG3.js} +3 -3
- package/dist/{chunk-5POKNLFV.js → chunk-7DTEJAIC.js} +2 -2
- package/dist/{chunk-E66FQ7IN.js → chunk-7HIWJLXK.js} +1 -1
- package/dist/{chunk-IGRQE5Y5.js → chunk-BGLXECHT.js} +2 -2
- package/dist/{chunk-BYHFW5CT.js → chunk-COOX4FXM.js} +1 -1
- package/dist/{chunk-GZLGB72W.js → chunk-CXBLK3ZA.js} +1 -1
- package/dist/{chunk-MJNI3S5H.js → chunk-EDQ4GH2D.js} +2 -2
- package/dist/{chunk-GPK2WJXA.js → chunk-EF57I73W.js} +1 -1
- package/dist/{chunk-HXYL4QX6.js → chunk-EUMLEWXO.js} +2 -2
- package/dist/{chunk-RJCZY4BY.js → chunk-FMKD6N33.js} +86 -10
- package/dist/{chunk-RN6XYY7U.js → chunk-FYJCMGTD.js} +71 -0
- package/dist/{chunk-USQF2GGF.js → chunk-H7U7FPQF.js} +82 -6
- package/dist/{chunk-FMI7SCZJ.js → chunk-HLYNKMAG.js} +1 -1
- package/dist/{chunk-BGOQFJ2H.js → chunk-HMGIQNME.js} +3 -3
- package/dist/chunk-IR4L6K5L.js +147 -0
- package/dist/chunk-ITYWLFYC.js +609 -0
- package/dist/{chunk-FFECDA24.js → chunk-JUB74GFQ.js} +2 -2
- package/dist/{chunk-D4B6SVEC.js → chunk-MKOW4EXB.js} +1 -1
- package/dist/{chunk-XWM23YJO.js → chunk-MQX47XMP.js} +2 -2
- package/dist/{chunk-IXFE5R6T.js → chunk-MZ2BL3JP.js} +2 -2
- package/dist/{chunk-WGMHQVGX.js → chunk-O2JGR7EU.js} +83 -6
- package/dist/{chunk-BV3L2S54.js → chunk-P2ZIM765.js} +1 -1
- package/dist/{chunk-DEGQESR7.js → chunk-PHCK4KQW.js} +3 -3
- package/dist/{chunk-Y2W54BET.js → chunk-PXDR3UTB.js} +8 -8
- package/dist/{chunk-ETHQJXO3.js → chunk-PYLNOBNW.js} +1 -1
- package/dist/{chunk-HXNTQP4B.js → chunk-RN6DEMC7.js} +1 -1
- package/dist/{chunk-3WMXVABU.js → chunk-S4AXKNPT.js} +1 -1
- package/dist/{chunk-X2BTDYHZ.js → chunk-SEAFDIKF.js} +13 -1
- package/dist/{chunk-QLKRYO7O.js → chunk-TCBUBBTL.js} +8 -8
- package/dist/{chunk-ZQMOF6E7.js → chunk-THFFC43M.js} +1 -1
- package/dist/{chunk-XXHDXAZV.js → chunk-VG3VVFF5.js} +1 -1
- package/dist/{chunk-P4JQGT4Q.js → chunk-VH6WU3GK.js} +2 -2
- package/dist/{chunk-AH6MV6CC.js → chunk-W4BFBCZA.js} +3 -3
- package/dist/{chunk-PVVA5SY5.js → chunk-XSOKVFQ6.js} +14 -3
- package/dist/{chunk-JUTI2DXY.js → chunk-YCL4RHFY.js} +1 -1
- package/dist/{chunk-UXD5KOND.js → chunk-YGUWCJN2.js} +2 -2
- package/dist/{chunk-AUPGTF7I.js → chunk-YOXXZAOR.js} +2 -2
- package/dist/{chunk-GPNUPCTZ.js → chunk-YXHY5F34.js} +2 -2
- package/dist/{chunk-6FJ2TJYB.js → chunk-ZDK3M72Z.js} +1 -1
- package/dist/{chunk-6H6Q4MJC.js → chunk-ZIBSTUGU.js} +1 -1
- package/dist/{chunk-LIHR5DQF.js → chunk-ZXZJLVGD.js} +1 -1
- package/dist/{co-occurrence-A2SJL5AH.js → co-occurrence-TJRQ5V7W.js} +1 -1
- package/dist/{crdt-sync-SGAW6DJQ.js → crdt-sync-RI7XPXTI.js} +1 -1
- package/dist/{crm-webhook-FBENY6FW.js → crm-webhook-AVG4F2NB.js} +2 -2
- package/dist/{cto-delegation-gate-A53RLTJZ.js → cto-delegation-gate-ZTNJLSPO.js} +7 -7
- package/dist/{daemon-orchestration-3U3XXFG7.js → daemon-orchestration-AKICH7C5.js} +10 -10
- package/dist/{exe-drift-3OUOHWAI.js → exe-drift-BPVS4MOJ.js} +2 -2
- package/dist/{exe-export-AFXTJ63F.js → exe-export-LL4CXNLT.js} +4 -4
- package/dist/{exe-import-QRZBTBBG.js → exe-import-JNKAAJ5T.js} +4 -4
- package/dist/{exe-key-BXN7WPOX.js → exe-key-C5UQ77AT.js} +1 -1
- package/dist/{fast-db-init-YVJD4JT2.js → fast-db-init-UNK4BEEO.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-staleness-DBFCOX65.js → git-staleness-WTJFIPHH.js} +1 -1
- package/dist/{git-task-sweep-O5CH3MKA.js → git-task-sweep-PT3RIE6W.js} +8 -8
- package/dist/{global-procedures-SL2TTCED.js → global-procedures-ZPN7KZH5.js} +2 -2
- package/dist/{graph-auto-extract-JGNJ3BB7.js → graph-auto-extract-4M4J42NA.js} +1 -1
- package/dist/hooks/bug-report-worker.js +9 -9
- package/dist/hooks/codex-stop-task-finalizer.js +9 -9
- package/dist/hooks/commit-complete.js +10 -10
- package/dist/hooks/error-recall.js +5 -5
- package/dist/hooks/exe-heartbeat-hook.js +2 -2
- package/dist/hooks/ingest.js +5 -5
- package/dist/hooks/instructions-loaded.js +3 -3
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +3 -3
- package/dist/hooks/post-compact.js +9 -9
- package/dist/hooks/post-tool-combined.js +4 -4
- package/dist/hooks/pre-compact.js +10 -10
- package/dist/hooks/pre-tool-use.js +13 -13
- package/dist/hooks/prompt-submit.js +29 -18
- package/dist/hooks/session-end.js +13 -13
- package/dist/hooks/session-start.js +30 -7
- package/dist/hooks/stop.js +13 -13
- package/dist/hooks/subagent-stop.js +9 -9
- package/dist/hooks/summary-worker.js +13 -13
- package/dist/index.js +15 -15
- package/dist/{installer-TAPAEWRV.js → installer-3DE2IDUZ.js} +4 -4
- package/dist/{installer-5FI6CX62.js → installer-IYELX3KG.js} +4 -4
- package/dist/{installer-HNOVAUW6.js → installer-SCWIMZT7.js} +4 -4
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +4 -4
- package/dist/lib/database.js +1 -1
- package/dist/lib/db.js +1 -1
- package/dist/lib/employee-templates.js +3 -3
- package/dist/lib/employees.js +1 -1
- package/dist/lib/exe-daemon.js +102 -27
- package/dist/lib/hybrid-search.js +4 -4
- package/dist/lib/identity.js +1 -1
- package/dist/lib/messaging.js +8 -8
- package/dist/lib/reminders.js +2 -2
- package/dist/lib/schedules.js +4 -4
- package/dist/lib/session-registry.js +9 -1
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +3 -3
- package/dist/lib/task-router.js +2 -2
- package/dist/lib/tasks.js +8 -8
- package/dist/lib/tmux-routing.js +7 -7
- package/dist/lib/token-spend.js +2 -2
- package/dist/mcp/register-tools.js +46 -46
- package/dist/mcp/server.js +47 -47
- package/dist/mcp/tools/complete-reminder.js +3 -3
- package/dist/mcp/tools/create-reminder.js +3 -3
- package/dist/mcp/tools/create-task.js +10 -10
- package/dist/mcp/tools/deactivate-behavior.js +4 -4
- package/dist/mcp/tools/list-reminders.js +3 -3
- package/dist/mcp/tools/list-tasks.js +10 -10
- package/dist/mcp/tools/send-message.js +10 -10
- package/dist/mcp/tools/update-task.js +9 -9
- package/dist/{mcp-http-config-6UAI2FAV.js → mcp-http-config-EWIT2DEN.js} +2 -2
- package/dist/{memory-cards-PVPUQ7MX.js → memory-cards-W4VTTFYM.js} +1 -1
- package/dist/{memory-graph-extractor-RP7ZXDTE.js → memory-graph-extractor-A3HRDXY6.js} +2 -2
- package/dist/{memory-poisoning-defense-DDBUHHGB.js → memory-poisoning-defense-MH6QBXVT.js} +1 -1
- package/dist/{memory-reflection-HLR26FXG.js → memory-reflection-RUCTWMQ5.js} +1 -1
- package/dist/{notifications-GHNYYITD.js → notifications-6GRSVIP6.js} +7 -7
- package/dist/{orchestration-events-2SVPXMK2.js → orchestration-events-MSJVUR4T.js} +6 -2
- package/dist/{orchestrator-3BDZ6OUC.js → orchestrator-QQKU4VM2.js} +9 -9
- package/dist/{plan-limits-QBNFIU45.js → plan-limits-NKUSDF3I.js} +2 -2
- package/dist/{projection-worker-B7HHFYEG.js → projection-worker-UEG6I5DV.js} +1 -1
- package/dist/{reranker-B3BOGR3A.js → reranker-JTDM3MV2.js} +1 -1
- package/dist/{review-polling-RUXU45AK.js → review-polling-MWBVXHG3.js} +8 -8
- package/dist/runtime/index.js +10 -10
- package/dist/{session-events-ICZPUGJN.js → session-events-FRB3UYJG.js} +8 -8
- package/dist/{session-kill-telemetry-OGFLFTYX.js → session-kill-telemetry-GPZUHBCT.js} +2 -2
- package/dist/{session-scope-UJI35BLD.js → session-scope-7BZTNB2X.js} +7 -7
- package/dist/{setup-wizard-M6ZZ2VNM.js → setup-wizard-2INM4CSL.js} +1 -1
- package/dist/{skill-refinement-WZL35CMY.js → skill-refinement-7C7X42Z5.js} +1 -1
- package/dist/{task-enforcement-AYHKGR45.js → task-enforcement-VB5P45ZM.js} +7 -7
- package/dist/{task-scope-EYAOY6YX.js → task-scope-ULC62J6G.js} +7 -7
- package/dist/{tasks-crud-K3UGPCPT.js → tasks-crud-IBSTM6ID.js} +9 -7
- package/dist/{tasks-review-J6LTVVO5.js → tasks-review-P4MCKBDT.js} +7 -7
- package/dist/telemetry-upload-Y3CPHI7M.js +214 -0
- package/dist/{token-budget-XU2QZEWX.js → token-budget-CO74EBTY.js} +1 -1
- package/dist/{tool-telemetry-OE57ERK7.js → tool-telemetry-5PX7A6TX.js} +3 -1
- package/dist/tui/App.js +15 -15
- package/dist/{tui-data-32OEC3DH.js → tui-data-YAT6A36V.js} +7 -7
- package/dist/{worker-gate-UIGQCEUE.js → worker-gate-27O2WEYU.js} +1 -1
- package/dist/{workflow-engine-IY7KO7DU.js → workflow-engine-4T36KCTQ.js} +2 -2
- package/dist/{worktree-VIXR2Z4J.js → worktree-QTCOX6RV.js} +7 -1
- package/package.json +1 -1
- package/release-notes.json +95 -95
- package/dist/chunk-64WZEXXA.js +0 -64
- package/dist/chunk-L63IOJ5N.js +0 -69
- package/dist/chunk-ZGQH3V2F.js +0 -254
- /package/dist/{chunk-3GFR2TX6.js → chunk-AF7A5IQ5.js} +0 -0
- /package/dist/{chunk-7SY5JOLR.js → chunk-ATKMIQXP.js} +0 -0
- /package/dist/{chunk-KCWIOR55.js → chunk-GONOOIFL.js} +0 -0
- /package/dist/{chunk-QQN7MHQG.js → chunk-ONCFSN5C.js} +0 -0
- /package/dist/{chunk-Q3MRTJLA.js → chunk-WVNWAV36.js} +0 -0
- /package/dist/{chunk-RH5NYRQH.js → chunk-XJQASQPO.js} +0 -0
- /package/dist/{chunk-LJA6RQ3L.js → chunk-YKCH4T4T.js} +0 -0
- /package/dist/{core-memory-VZ4YJVMA.js → core-memory-3QGHBERR.js} +0 -0
- /package/dist/{wiki-acl-NUUPHYWC.js → wiki-acl-WCBKBLGQ.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkpointActiveTask,
|
|
3
3
|
writeContinuityCheckpoint
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GONOOIFL.js";
|
|
5
5
|
import "../chunk-FLLCEGSL.js";
|
|
6
6
|
import "../chunk-X4QO5DXP.js";
|
|
7
7
|
import "../chunk-EF4PA3TY.js";
|
|
@@ -9,29 +9,29 @@ import "../chunk-LMSRF47U.js";
|
|
|
9
9
|
import "../chunk-SH45SJQW.js";
|
|
10
10
|
import {
|
|
11
11
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-3N4ZEPZI.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-FMKD6N33.js";
|
|
16
|
+
import "../chunk-FYJCMGTD.js";
|
|
17
17
|
import "../chunk-QI4IXJN7.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-IR4L6K5L.js";
|
|
19
19
|
import "../chunk-5YDHBZCO.js";
|
|
20
20
|
import "../chunk-G4QFC45N.js";
|
|
21
21
|
import "../chunk-GZIAQYGI.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-ITYWLFYC.js";
|
|
23
23
|
import "../chunk-ZQX6UOP6.js";
|
|
24
24
|
import "../chunk-6RX2XEET.js";
|
|
25
25
|
import "../chunk-NGP6LSV2.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-3PDZQICZ.js";
|
|
27
27
|
import "../chunk-CVYC6DUW.js";
|
|
28
28
|
import "../chunk-OPU3NYOO.js";
|
|
29
29
|
import "../chunk-GJV3WDWM.js";
|
|
30
30
|
import "../chunk-MP2AFCGL.js";
|
|
31
31
|
import "../chunk-PWMMIGVQ.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-RN6DEMC7.js";
|
|
33
33
|
import "../chunk-HYZV25LY.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-3MHKTBHZ.js";
|
|
35
35
|
import "../chunk-HHECGHFW.js";
|
|
36
36
|
import "../chunk-FXU7JOXK.js";
|
|
37
37
|
import "../chunk-72DJ42IE.js";
|
|
@@ -61,7 +61,7 @@ process.stdin.on("end", async () => {
|
|
|
61
61
|
const agent = getActiveAgent();
|
|
62
62
|
const sections = [];
|
|
63
63
|
try {
|
|
64
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
64
|
+
const { fastDbInit } = await import("../fast-db-init-UNK4BEEO.js");
|
|
65
65
|
const client = await fastDbInit();
|
|
66
66
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
67
67
|
const pcScope = sessionScopeFilter();
|
|
@@ -2,33 +2,33 @@ import "../chunk-YSU7JB7H.js";
|
|
|
2
2
|
import "../chunk-SH45SJQW.js";
|
|
3
3
|
import {
|
|
4
4
|
getActiveAgent
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-3N4ZEPZI.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-FMKD6N33.js";
|
|
9
|
+
import "../chunk-FYJCMGTD.js";
|
|
10
10
|
import "../chunk-QI4IXJN7.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-IR4L6K5L.js";
|
|
12
12
|
import "../chunk-5YDHBZCO.js";
|
|
13
13
|
import "../chunk-G4QFC45N.js";
|
|
14
14
|
import "../chunk-GZIAQYGI.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-ITYWLFYC.js";
|
|
16
16
|
import "../chunk-ZQX6UOP6.js";
|
|
17
17
|
import "../chunk-6RX2XEET.js";
|
|
18
18
|
import "../chunk-NGP6LSV2.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-3PDZQICZ.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-RN6DEMC7.js";
|
|
27
27
|
import "../chunk-HYZV25LY.js";
|
|
28
28
|
import {
|
|
29
29
|
canCoordinate,
|
|
30
30
|
loadEmployeesSync
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-3MHKTBHZ.js";
|
|
32
32
|
import "../chunk-HHECGHFW.js";
|
|
33
33
|
import "../chunk-FXU7JOXK.js";
|
|
34
34
|
import "../chunk-72DJ42IE.js";
|
|
@@ -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-ZTNJLSPO.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-UNK4BEEO.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-ZTNJLSPO.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-UNK4BEEO.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-UNK4BEEO.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-PXDR3UTB.js";
|
|
5
5
|
import {
|
|
6
6
|
initStore
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-TCBUBBTL.js";
|
|
8
8
|
import "../chunk-CHCA3ZM2.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-XJQASQPO.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-3N4ZEPZI.js";
|
|
18
18
|
import {
|
|
19
19
|
isExeSession
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-FMKD6N33.js";
|
|
21
|
+
import "../chunk-FYJCMGTD.js";
|
|
22
22
|
import "../chunk-QI4IXJN7.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-IR4L6K5L.js";
|
|
24
24
|
import "../chunk-5YDHBZCO.js";
|
|
25
25
|
import "../chunk-G4QFC45N.js";
|
|
26
26
|
import "../chunk-GZIAQYGI.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-ITYWLFYC.js";
|
|
28
28
|
import "../chunk-ZQX6UOP6.js";
|
|
29
29
|
import "../chunk-6RX2XEET.js";
|
|
30
30
|
import "../chunk-NGP6LSV2.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-3PDZQICZ.js";
|
|
32
32
|
import {
|
|
33
33
|
getSessionKey
|
|
34
34
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -37,11 +37,11 @@ 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-RN6DEMC7.js";
|
|
41
41
|
import "../chunk-HYZV25LY.js";
|
|
42
42
|
import {
|
|
43
43
|
canCoordinate
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-3MHKTBHZ.js";
|
|
45
45
|
import "../chunk-HHECGHFW.js";
|
|
46
46
|
import "../chunk-FXU7JOXK.js";
|
|
47
47
|
import "../chunk-6D23UNXU.js";
|
|
@@ -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-LCPNHP5Q.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-LCPNHP5Q.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-P4MCKBDT.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-3QGHBERR.js");
|
|
424
424
|
const entries = await getCoreMemory(agent.agentId);
|
|
425
425
|
const block = formatCoreMemoryBlock(entries);
|
|
426
426
|
if (block) coreMemoryContext = block;
|
|
@@ -487,6 +487,17 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
487
487
|
unlinkSync(path.join(bestDir, bestFile));
|
|
488
488
|
} catch {
|
|
489
489
|
}
|
|
490
|
+
try {
|
|
491
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-MSJVUR4T.js");
|
|
492
|
+
recordOE({
|
|
493
|
+
eventType: "signal.consumed",
|
|
494
|
+
source: "prompt-submit.hook",
|
|
495
|
+
taskId: bestSignal.task_id,
|
|
496
|
+
agentId: agent.agentId,
|
|
497
|
+
payload: { priority: bestSignal.priority }
|
|
498
|
+
});
|
|
499
|
+
} catch {
|
|
500
|
+
}
|
|
490
501
|
}
|
|
491
502
|
} catch {
|
|
492
503
|
}
|
|
@@ -547,7 +558,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
547
558
|
let idleTaskContext = "";
|
|
548
559
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
549
560
|
try {
|
|
550
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
561
|
+
const { fastDbInit } = await import("../fast-db-init-UNK4BEEO.js");
|
|
551
562
|
const client = await fastDbInit();
|
|
552
563
|
let taskSessionScope = null;
|
|
553
564
|
if (inTmux) {
|
|
@@ -620,8 +631,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
620
631
|
return;
|
|
621
632
|
}
|
|
622
633
|
try {
|
|
623
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
624
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
634
|
+
const { fastDbInit } = await import("../fast-db-init-UNK4BEEO.js");
|
|
635
|
+
const { recordSessionEvent } = await import("../session-events-FRB3UYJG.js");
|
|
625
636
|
const client = await fastDbInit();
|
|
626
637
|
await recordSessionEvent(client, {
|
|
627
638
|
agentId: agent.agentId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GONOOIFL.js";
|
|
4
4
|
import "../chunk-FLLCEGSL.js";
|
|
5
5
|
import "../chunk-X4QO5DXP.js";
|
|
6
6
|
import "../chunk-EF4PA3TY.js";
|
|
@@ -13,21 +13,21 @@ import "../chunk-SH45SJQW.js";
|
|
|
13
13
|
import {
|
|
14
14
|
clearActiveAgent,
|
|
15
15
|
getActiveAgent
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-3N4ZEPZI.js";
|
|
17
17
|
import {
|
|
18
18
|
strictSessionScopeFilter
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-FMKD6N33.js";
|
|
20
|
+
import "../chunk-FYJCMGTD.js";
|
|
21
21
|
import "../chunk-QI4IXJN7.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-IR4L6K5L.js";
|
|
23
23
|
import "../chunk-5YDHBZCO.js";
|
|
24
24
|
import "../chunk-G4QFC45N.js";
|
|
25
25
|
import "../chunk-GZIAQYGI.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-ITYWLFYC.js";
|
|
27
27
|
import "../chunk-ZQX6UOP6.js";
|
|
28
28
|
import "../chunk-6RX2XEET.js";
|
|
29
29
|
import "../chunk-NGP6LSV2.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-3PDZQICZ.js";
|
|
31
31
|
import {
|
|
32
32
|
getSessionKey
|
|
33
33
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -35,11 +35,11 @@ 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-RN6DEMC7.js";
|
|
39
39
|
import "../chunk-HYZV25LY.js";
|
|
40
40
|
import {
|
|
41
41
|
canCoordinate
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-3MHKTBHZ.js";
|
|
43
43
|
import "../chunk-HHECGHFW.js";
|
|
44
44
|
import "../chunk-FXU7JOXK.js";
|
|
45
45
|
import "../chunk-72DJ42IE.js";
|
|
@@ -109,7 +109,7 @@ process.stdin.on("end", async () => {
|
|
|
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
111
|
try {
|
|
112
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
112
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-MSJVUR4T.js");
|
|
113
113
|
await recordOrchestrationEvent({
|
|
114
114
|
eventType: "session.exit",
|
|
115
115
|
source: "hooks.session-end",
|
|
@@ -126,7 +126,7 @@ process.stdin.on("end", async () => {
|
|
|
126
126
|
}
|
|
127
127
|
if (agent.agentId !== "default") {
|
|
128
128
|
try {
|
|
129
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
129
|
+
const { fastDbInit } = await import("../fast-db-init-UNK4BEEO.js");
|
|
130
130
|
const client = await fastDbInit();
|
|
131
131
|
const seScope = strictSessionScopeFilter();
|
|
132
132
|
const orphanResult = await client.execute({
|
|
@@ -218,7 +218,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
try {
|
|
221
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
221
|
+
const { clearSessionFileReads } = await import("../git-staleness-WTJFIPHH.js");
|
|
222
222
|
await clearSessionFileReads(data.session_id);
|
|
223
223
|
} catch {
|
|
224
224
|
}
|
|
@@ -247,7 +247,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
247
247
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
248
248
|
}
|
|
249
249
|
try {
|
|
250
|
-
const { writeNotification } = await import("../notifications-
|
|
250
|
+
const { writeNotification } = await import("../notifications-6GRSVIP6.js");
|
|
251
251
|
await writeNotification({
|
|
252
252
|
agentId: agent.agentId,
|
|
253
253
|
agentRole: agent.agentRole,
|
|
@@ -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-VEML3XMS.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-ULC62J6G.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);
|
|
@@ -49,6 +49,16 @@ process.stdin.on("end", async () => {
|
|
|
49
49
|
} catch {
|
|
50
50
|
daemonDegraded = true;
|
|
51
51
|
process.stderr.write("[session-start] WARNING: daemon/DB unavailable \u2014 booting in degraded mode (no memory context)\n");
|
|
52
|
+
try {
|
|
53
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-MSJVUR4T.js");
|
|
54
|
+
void recordOrchestrationEvent({
|
|
55
|
+
eventType: "mcp.unreachable",
|
|
56
|
+
source: "session-start.hook",
|
|
57
|
+
severity: "error",
|
|
58
|
+
payload: { phase: "session_start", reason: "daemon_unreachable" }
|
|
59
|
+
});
|
|
60
|
+
} catch {
|
|
61
|
+
}
|
|
52
62
|
}
|
|
53
63
|
if (source === "startup") {
|
|
54
64
|
try {
|
|
@@ -63,7 +73,7 @@ process.stdin.on("end", async () => {
|
|
|
63
73
|
}
|
|
64
74
|
if (!daemonDegraded) {
|
|
65
75
|
try {
|
|
66
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
76
|
+
const { fastDbInit } = await import("../fast-db-init-UNK4BEEO.js");
|
|
67
77
|
await fastDbInit();
|
|
68
78
|
} catch {
|
|
69
79
|
daemonDegraded = true;
|
|
@@ -106,12 +116,25 @@ process.stdin.on("end", async () => {
|
|
|
106
116
|
args: [sessionId, agentId, sessionName, projectName, (/* @__PURE__ */ new Date()).toISOString()]
|
|
107
117
|
});
|
|
108
118
|
}
|
|
119
|
+
try {
|
|
120
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-MSJVUR4T.js");
|
|
121
|
+
void recordOrchestrationEvent({
|
|
122
|
+
eventType: "session.born",
|
|
123
|
+
source: "session-start.hook",
|
|
124
|
+
agentId,
|
|
125
|
+
sessionScope: process.env.EXE_SESSION_NAME?.includes("-") ? process.env.EXE_SESSION_NAME.split("-").pop() : process.env.EXE_SESSION_NAME,
|
|
126
|
+
projectName,
|
|
127
|
+
tmuxSession: process.env.EXE_SESSION_NAME ?? "",
|
|
128
|
+
payload: { sessionId: data.session_id, degraded: daemonDegraded }
|
|
129
|
+
});
|
|
130
|
+
} catch {
|
|
131
|
+
}
|
|
109
132
|
} catch {
|
|
110
133
|
}
|
|
111
134
|
if (daemonDegraded) {
|
|
112
135
|
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
136
|
try {
|
|
114
|
-
const { getActiveAgent: getAgent } = await import("../active-agent-
|
|
137
|
+
const { getActiveAgent: getAgent } = await import("../active-agent-VEML3XMS.js");
|
|
115
138
|
const ag = getAgent();
|
|
116
139
|
if (ag.agentId !== "default") {
|
|
117
140
|
degradedContext = `## Your Identity
|
|
@@ -135,7 +158,7 @@ You are **${ag.agentId}** (${ag.agentRole}). Daemon is degraded \u2014 memory un
|
|
|
135
158
|
query = `last actions on ${projectName}`;
|
|
136
159
|
header = "## Resuming Session\nHere's where you left off:";
|
|
137
160
|
try {
|
|
138
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
161
|
+
const { buildCatchupBrief } = await import("../catchup-brief-HVITENL5.js");
|
|
139
162
|
const brief = await buildCatchupBrief(
|
|
140
163
|
agentId,
|
|
141
164
|
projectName,
|
|
@@ -147,7 +170,7 @@ You are **${ag.agentId}** (${ag.agentRole}). Daemon is degraded \u2014 memory un
|
|
|
147
170
|
} catch {
|
|
148
171
|
}
|
|
149
172
|
try {
|
|
150
|
-
const { detectStaleFiles } = await import("../git-staleness-
|
|
173
|
+
const { detectStaleFiles } = await import("../git-staleness-WTJFIPHH.js");
|
|
151
174
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
152
175
|
if (staleFiles.length > 0) {
|
|
153
176
|
extraContext += `${extraContext.length > 0 ? "\n\n" : ""}## \u26A0\uFE0F Stale File Warning
|
|
@@ -160,7 +183,7 @@ The following files have been modified since you last read them:
|
|
|
160
183
|
query = `recent work on ${projectName}`;
|
|
161
184
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
162
185
|
}
|
|
163
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
186
|
+
const { queryTaskRows } = await import("../tasks-crud-IBSTM6ID.js");
|
|
164
187
|
const [memories, taskResult] = await Promise.all([
|
|
165
188
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
166
189
|
queryTaskRows({
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-3N4ZEPZI.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-FMKD6N33.js";
|
|
8
|
+
import "../chunk-FYJCMGTD.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-IR4L6K5L.js";
|
|
11
11
|
import "../chunk-5YDHBZCO.js";
|
|
12
12
|
import "../chunk-G4QFC45N.js";
|
|
13
13
|
import "../chunk-GZIAQYGI.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-ITYWLFYC.js";
|
|
15
15
|
import "../chunk-ZQX6UOP6.js";
|
|
16
16
|
import "../chunk-6RX2XEET.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-3PDZQICZ.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-RN6DEMC7.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
25
|
import {
|
|
26
26
|
canCoordinate
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-3MHKTBHZ.js";
|
|
28
28
|
import "../chunk-HHECGHFW.js";
|
|
29
29
|
import "../chunk-FXU7JOXK.js";
|
|
30
30
|
import "../chunk-72DJ42IE.js";
|
|
@@ -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-UNK4BEEO.js");
|
|
123
|
+
const { recordSessionEvent } = await import("../session-events-FRB3UYJG.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-CO74EBTY.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-UNK4BEEO.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
|
|
@@ -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-UNK4BEEO.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
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-3N4ZEPZI.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-FMKD6N33.js";
|
|
8
|
+
import "../chunk-FYJCMGTD.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-IR4L6K5L.js";
|
|
11
11
|
import "../chunk-5YDHBZCO.js";
|
|
12
12
|
import "../chunk-G4QFC45N.js";
|
|
13
13
|
import "../chunk-GZIAQYGI.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-ITYWLFYC.js";
|
|
15
15
|
import "../chunk-ZQX6UOP6.js";
|
|
16
16
|
import "../chunk-6RX2XEET.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-3PDZQICZ.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-RN6DEMC7.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
25
|
import {
|
|
26
26
|
canCoordinate
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-3MHKTBHZ.js";
|
|
28
28
|
import "../chunk-HHECGHFW.js";
|
|
29
29
|
import "../chunk-FXU7JOXK.js";
|
|
30
30
|
import "../chunk-72DJ42IE.js";
|
|
@@ -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-UNK4BEEO.js");
|
|
60
60
|
const client = await fastDbInit();
|
|
61
61
|
const saScope = sessionScopeFilter();
|
|
62
62
|
const pendingResult = await client.execute({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GONOOIFL.js";
|
|
4
4
|
import "../chunk-FLLCEGSL.js";
|
|
5
5
|
import "../chunk-X4QO5DXP.js";
|
|
6
6
|
import "../chunk-EF4PA3TY.js";
|
|
@@ -8,35 +8,35 @@ import "../chunk-LMSRF47U.js";
|
|
|
8
8
|
import {
|
|
9
9
|
initStore,
|
|
10
10
|
vectorToBlob
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-TCBUBBTL.js";
|
|
12
12
|
import "../chunk-CHCA3ZM2.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-XJQASQPO.js";
|
|
14
14
|
import {
|
|
15
15
|
sessionScopeFilter,
|
|
16
16
|
writeNotification
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-
|
|
17
|
+
} from "../chunk-FMKD6N33.js";
|
|
18
|
+
import "../chunk-FYJCMGTD.js";
|
|
19
19
|
import "../chunk-QI4IXJN7.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-IR4L6K5L.js";
|
|
21
21
|
import "../chunk-5YDHBZCO.js";
|
|
22
22
|
import "../chunk-G4QFC45N.js";
|
|
23
23
|
import "../chunk-GZIAQYGI.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-ITYWLFYC.js";
|
|
25
25
|
import "../chunk-ZQX6UOP6.js";
|
|
26
26
|
import "../chunk-6RX2XEET.js";
|
|
27
27
|
import "../chunk-NGP6LSV2.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-3PDZQICZ.js";
|
|
29
29
|
import "../chunk-CVYC6DUW.js";
|
|
30
30
|
import "../chunk-OPU3NYOO.js";
|
|
31
31
|
import "../chunk-GJV3WDWM.js";
|
|
32
32
|
import "../chunk-MP2AFCGL.js";
|
|
33
33
|
import "../chunk-PWMMIGVQ.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-RN6DEMC7.js";
|
|
35
35
|
import "../chunk-HYZV25LY.js";
|
|
36
36
|
import {
|
|
37
37
|
canCoordinate,
|
|
38
38
|
getClient
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-3MHKTBHZ.js";
|
|
40
40
|
import "../chunk-HHECGHFW.js";
|
|
41
41
|
import "../chunk-FXU7JOXK.js";
|
|
42
42
|
import "../chunk-6D23UNXU.js";
|
|
@@ -112,7 +112,7 @@ async function main() {
|
|
|
112
112
|
let summaryText = "";
|
|
113
113
|
let limitReached = false;
|
|
114
114
|
try {
|
|
115
|
-
const { assertMemoryLimit } = await import("../plan-limits-
|
|
115
|
+
const { assertMemoryLimit } = await import("../plan-limits-NKUSDF3I.js");
|
|
116
116
|
await assertMemoryLimit();
|
|
117
117
|
} catch (err) {
|
|
118
118
|
const msg = err instanceof Error ? err.message : String(err);
|
|
@@ -182,7 +182,7 @@ async function main() {
|
|
|
182
182
|
const { EXE_AI_DIR } = await import("../lib/config.js");
|
|
183
183
|
const flagPath = path.join(EXE_AI_DIR, "session-cache", "needs-backfill");
|
|
184
184
|
if (existsSync(flagPath)) {
|
|
185
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-
|
|
185
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-27O2WEYU.js");
|
|
186
186
|
if (!tryAcquireWorkerSlot()) {
|
|
187
187
|
process.stderr.write("[summary-worker] Backfill needed but worker gate full \u2014 skipping\n");
|
|
188
188
|
} else {
|
|
@@ -289,7 +289,7 @@ main().catch((err) => {
|
|
|
289
289
|
process.stderr.write("[summary-worker] FATAL: " + (err instanceof Error ? err.message : String(err)) + "\n");
|
|
290
290
|
}).finally(async () => {
|
|
291
291
|
try {
|
|
292
|
-
const { cleanupWorkerPid } = await import("../worker-gate-
|
|
292
|
+
const { cleanupWorkerPid } = await import("../worker-gate-27O2WEYU.js");
|
|
293
293
|
cleanupWorkerPid();
|
|
294
294
|
} catch {
|
|
295
295
|
}
|