@askexenow/exe-os 0.9.331 → 0.9.332
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/{backfill-metadata-AVWHS332.js → backfill-metadata-FDQVVGRQ.js} +1 -1
- package/dist/{behaviors-ZV6HNI2M.js → behaviors-SAS6JALZ.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +1 -1
- package/dist/bin/agentic-reflection-backfill.js +1 -1
- package/dist/bin/agentic-semantic-label.js +1 -1
- package/dist/bin/backfill-conversations.js +1 -1
- package/dist/bin/backfill-responses.js +1 -1
- package/dist/bin/backfill-vectors.js +2 -2
- package/dist/bin/bulk-sync-postgres.js +3 -3
- package/dist/bin/cleanup-stale-review-tasks.js +3 -3
- package/dist/bin/cli.js +6 -6
- package/dist/bin/deferred-daemon-restart.js +33 -33
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +7 -7
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +3 -3
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +4 -4
- package/dist/bin/exe-forget.js +3 -3
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +3 -3
- package/dist/bin/exe-kill.js +5 -5
- package/dist/bin/exe-launch-agent.js +6 -6
- package/dist/bin/exe-pending-messages.js +4 -4
- package/dist/bin/exe-pending-notifications.js +3 -3
- package/dist/bin/exe-pending-reviews.js +3 -3
- package/dist/bin/exe-review.js +4 -4
- package/dist/bin/exe-search.js +2 -2
- package/dist/bin/exe-session-cleanup.js +5 -5
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +3 -3
- package/dist/bin/exe-start-opencode.js +3 -3
- package/dist/bin/exe-status.js +4 -4
- package/dist/bin/exe-team.js +1 -1
- package/dist/bin/git-sweep.js +3 -3
- package/dist/bin/graph-backfill.js +1 -1
- package/dist/bin/graph-export.js +2 -2
- package/dist/bin/import-history.js +2 -2
- package/dist/bin/install.js +33 -33
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +1 -1
- package/dist/bin/scan-tasks.js +3 -3
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{capacity-monitor-VNAUNTTH.js → capacity-monitor-I6TX3OZA.js} +4 -4
- package/dist/{catchup-brief-5ELWS6IF.js → catchup-brief-RAZTRECT.js} +4 -4
- package/dist/{chunk-LKB2VIIV.js → chunk-267TDVN7.js} +1 -1
- package/dist/{chunk-7RDZDCWY.js → chunk-2ES3ACCO.js} +4 -4
- package/dist/{chunk-ZSMF37M6.js → chunk-3KAYKHVB.js} +64 -4
- package/dist/{chunk-UJRZD77V.js → chunk-3PHTJIC3.js} +1 -1
- package/dist/{chunk-QAYGX7KA.js → chunk-4X3VWI22.js} +1 -1
- package/dist/{chunk-GTCJU2RF.js → chunk-5CZ2ZH6L.js} +1 -1
- package/dist/{chunk-5JILQMRS.js → chunk-6AY7VXSF.js} +6 -6
- package/dist/{chunk-UX5YA6ZY.js → chunk-7YTO3LHB.js} +2 -2
- package/dist/{chunk-RY7UV6CU.js → chunk-B3ZUS3UU.js} +1 -1
- package/dist/{chunk-CPXFQBBN.js → chunk-BST5NSJC.js} +1 -1
- package/dist/{chunk-CERY66PJ.js → chunk-EC4O5ITE.js} +1 -1
- package/dist/{chunk-DSL5D3TH.js → chunk-FZQBWOIB.js} +2 -2
- package/dist/{chunk-W7F3ZBHH.js → chunk-HG7ZX2UT.js} +47 -47
- package/dist/{chunk-YL5S6I3R.js → chunk-HRUI3Q42.js} +2 -2
- package/dist/{chunk-CASOKILE.js → chunk-IVN7UUKK.js} +6 -6
- package/dist/{chunk-JCBQQIUV.js → chunk-J53PHGGC.js} +1 -1
- package/dist/{chunk-BGCJZQGQ.js → chunk-JRRNRSZC.js} +1 -1
- package/dist/{chunk-GSFGVYCG.js → chunk-JRTJKLON.js} +2 -2
- package/dist/{chunk-D5SZ3U5L.js → chunk-KNLQAVLI.js} +37 -6
- package/dist/{chunk-MTX3FQRR.js → chunk-L6CLX2QF.js} +1 -1
- package/dist/{chunk-MNLSPTWM.js → chunk-LB5B4NJ6.js} +1 -1
- package/dist/{chunk-4NGPNH3F.js → chunk-M6E76DMO.js} +1 -1
- package/dist/{chunk-O6RMSGXQ.js → chunk-MPUIO6GF.js} +1 -1
- package/dist/{chunk-IJYBKQDJ.js → chunk-N2J6FWMQ.js} +2 -2
- package/dist/{chunk-XDJEPGMF.js → chunk-NUPU7TRA.js} +1 -1
- package/dist/{chunk-N5ACQ7C2.js → chunk-OEA44GCC.js} +1 -1
- package/dist/{chunk-KKZPF6YI.js → chunk-OIMQGA62.js} +1 -1
- package/dist/{chunk-QXXG2MCZ.js → chunk-OXZHAERM.js} +29 -3
- package/dist/{chunk-OV7OFYIR.js → chunk-QGVXUTHX.js} +1 -1
- package/dist/{chunk-KCHIJUYX.js → chunk-QUZ4VK3R.js} +1 -1
- package/dist/{chunk-OLQYIAOQ.js → chunk-RGBABIFH.js} +3 -3
- package/dist/{chunk-MTHQR76V.js → chunk-T5JJBIUB.js} +4 -4
- package/dist/{chunk-DDA7IAWM.js → chunk-TK7ZDWU3.js} +2 -2
- package/dist/{chunk-QOMCLPQI.js → chunk-TQM7RGOB.js} +2 -2
- package/dist/{chunk-MZ2MBZ3E.js → chunk-YDUS2DFZ.js} +1 -1
- package/dist/{chunk-ZWWHEX3Y.js → chunk-YFYUNROP.js} +1 -1
- package/dist/{chunk-EQCYEYCJ.js → chunk-ZJSH3L6R.js} +1 -1
- package/dist/{cleanup-graph-garbage-FD34BPLR.js → cleanup-graph-garbage-6QGLERF2.js} +1 -1
- package/dist/{crm-webhook-6YDLPLVH.js → crm-webhook-DHFRIRLN.js} +2 -2
- package/dist/{cto-delegation-gate-JMO6VVTO.js → cto-delegation-gate-Z7UVTVYO.js} +2 -2
- package/dist/{daemon-orchestration-U5HW7YT5.js → daemon-orchestration-XWDFUFJG.js} +6 -6
- package/dist/{documents-TXMACEEP.js → documents-OMKCMWR7.js} +2 -2
- package/dist/{dreaming-KJ4P52EC.js → dreaming-SDFWY5FY.js} +3 -3
- package/dist/{exe-export-PH23G3F7.js → exe-export-BY6IFTEP.js} +3 -3
- package/dist/{exe-import-QCAFH4AM.js → exe-import-55UKB2X7.js} +3 -3
- package/dist/{exe-key-MGEOBRCI.js → exe-key-F3BM5GEW.js} +33 -33
- package/dist/{exe-snapshot-DDSSZ377.js → exe-snapshot-RGIJJ2ZX.js} +5 -5
- package/dist/{fast-db-init-6KBEZK66.js → fast-db-init-OZDG42SZ.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/hooks/bug-report-worker.js +5 -5
- package/dist/hooks/codex-stop-task-finalizer.js +5 -5
- package/dist/hooks/commit-complete.js +5 -5
- package/dist/hooks/error-recall.js +7 -4
- package/dist/hooks/ingest.js +2 -2
- package/dist/hooks/instructions-loaded.js +1 -1
- package/dist/hooks/manifest.json +18 -18
- package/dist/hooks/notification.js +1 -1
- package/dist/hooks/post-compact.js +3 -3
- package/dist/hooks/post-tool-combined.js +2 -2
- package/dist/hooks/pre-compact.js +4 -4
- package/dist/hooks/pre-tool-use.js +7 -7
- package/dist/hooks/prompt-submit.js +16 -16
- package/dist/hooks/session-end.js +6 -6
- package/dist/hooks/session-start.js +6 -6
- package/dist/hooks/stop.js +6 -6
- package/dist/hooks/subagent-stop.js +3 -3
- package/dist/hooks/summary-worker.js +6 -6
- package/dist/index.js +10 -10
- package/dist/{intercom-queue-4A7XH72M.js → intercom-queue-JFBMDV6J.js} +2 -2
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/exe-daemon.js +28 -28
- package/dist/lib/hybrid-search.js +2 -2
- package/dist/lib/messaging.js +3 -3
- package/dist/lib/schedules.js +2 -2
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +1 -1
- package/dist/lib/tasks.js +4 -4
- package/dist/lib/tmux-routing.js +2 -2
- package/dist/mcp/register-tools.js +32 -32
- package/dist/mcp/server.js +33 -33
- package/dist/mcp/tools/create-task.js +5 -5
- package/dist/mcp/tools/deactivate-behavior.js +3 -3
- package/dist/mcp/tools/list-tasks.js +5 -5
- package/dist/mcp/tools/send-message.js +4 -4
- package/dist/mcp/tools/update-task.js +5 -5
- package/dist/{memory-cards-7Z66A6AF.js → memory-cards-7YIZUWSJ.js} +1 -1
- package/dist/{memory-pressure-watchdog-Z25XTMNY.js → memory-pressure-watchdog-MZWX4YIA.js} +3 -3
- package/dist/{notifications-3MIUQXX6.js → notifications-42Z4ZRNV.js} +2 -2
- package/dist/{orchestrator-IKRGCGWD.js → orchestrator-ALAA4P6M.js} +3 -3
- package/dist/{pipeline-router-BNKNM454.js → pipeline-router-F226AZRB.js} +1 -1
- package/dist/{projection-worker-RIOEZPKQ.js → projection-worker-UL2HHHPO.js} +1 -1
- package/dist/{reranker-WHMDMYZP.js → reranker-G24KWZKH.js} +1 -1
- package/dist/{review-polling-FDHBFWSY.js → review-polling-REHBTRU6.js} +3 -3
- package/dist/runtime/index.js +4 -4
- package/dist/{session-events-GM2OUFON.js → session-events-F3DPBY4P.js} +3 -3
- package/dist/{session-kill-telemetry-XN6LYPWA.js → session-kill-telemetry-USNB6ND7.js} +3 -3
- package/dist/{session-scope-3OGEPOW7.js → session-scope-CJQE4LVB.js} +2 -2
- package/dist/{setup-wizard-ISCAH4EV.js → setup-wizard-S6XYW2WH.js} +1 -1
- package/dist/{skill-refinement-X4HZANPI.js → skill-refinement-XXYCXA2U.js} +1 -1
- package/dist/{task-enforcement-7GXGH6DB.js → task-enforcement-ZKB2VZ6W.js} +3 -3
- package/dist/{task-scope-J3OMPV5A.js → task-scope-CATQQNVX.js} +2 -2
- package/dist/{tasks-crud-NGMRLJH5.js → tasks-crud-RDWLWYWV.js} +2 -2
- package/dist/{tasks-notify-4OZXON6S.js → tasks-notify-CKT5A6WK.js} +3 -3
- package/dist/{tasks-review-U5QEKLNP.js → tasks-review-UXWXJ6H3.js} +2 -2
- package/dist/{telemetry-upload-QCM44FAE.js → telemetry-upload-UUJULBSV.js} +1 -1
- package/dist/tui/App.js +19 -19
- package/dist/{tui-data-YPS2SMWF.js → tui-data-7SQLIY2O.js} +2 -2
- package/dist/{worker-gate-M6OGQF7H.js → worker-gate-2O27EXUE.js} +1 -1
- package/dist/{workflow-engine-OVVJRMD2.js → workflow-engine-QGSEQV2Z.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +4 -3
- /package/dist/{chunk-ME3WDWL6.js → chunk-26GM62C3.js} +0 -0
- /package/dist/{chunk-TOEQZTYB.js → chunk-3HIYBZ62.js} +0 -0
- /package/dist/{chunk-BPH6YPHA.js → chunk-BAXNI3A5.js} +0 -0
- /package/dist/{chunk-VV422PGC.js → chunk-CDVA67B2.js} +0 -0
- /package/dist/{chunk-NPAGBSEN.js → chunk-G3UK4TTT.js} +0 -0
- /package/dist/{chunk-N4G4M6LE.js → chunk-VYLDGF4D.js} +0 -0
- /package/dist/{chunk-YOOK5NOZ.js → chunk-YWIOFMHL.js} +0 -0
- /package/dist/{core-memory-YHACNEAS.js → core-memory-KMBRE2HU.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractKeywords,
|
|
3
3
|
matchScore
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-JRTJKLON.js";
|
|
5
|
+
import "../chunk-3KAYKHVB.js";
|
|
6
6
|
import "../chunk-YYKY45TM.js";
|
|
7
7
|
import "../chunk-SNJEQPPA.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-BAXNI3A5.js";
|
|
9
9
|
import "../chunk-EIKATSE4.js";
|
|
10
10
|
import "../chunk-E23LNUWJ.js";
|
|
11
11
|
import "../chunk-4JERP7NT.js";
|
|
@@ -109,13 +109,13 @@ async function main() {
|
|
|
109
109
|
const changedFiles = getChangedFiles(commitHash);
|
|
110
110
|
let client;
|
|
111
111
|
try {
|
|
112
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
112
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
113
113
|
client = await fastDbInit();
|
|
114
114
|
} catch {
|
|
115
115
|
process.stderr.write("[commit-complete] DB init failed \u2014 skipping\n");
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
|
-
const { listTasks, updateTaskStatus } = await import("../tasks-crud-
|
|
118
|
+
const { listTasks, updateTaskStatus } = await import("../tasks-crud-RDWLWYWV.js");
|
|
119
119
|
const tasks = await listTasks({
|
|
120
120
|
assignedTo: agentId,
|
|
121
121
|
status: "in_progress",
|
|
@@ -5,14 +5,14 @@ import "../chunk-SH45SJQW.js";
|
|
|
5
5
|
import {
|
|
6
6
|
hybridSearch,
|
|
7
7
|
lightweightSearch
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-IVN7UUKK.js";
|
|
9
9
|
import "../chunk-AB4PAQYK.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveHookSearchEnabled
|
|
12
12
|
} from "../chunk-KWOAM7TA.js";
|
|
13
13
|
import {
|
|
14
14
|
initStore
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-OIMQGA62.js";
|
|
16
16
|
import "../chunk-CHCA3ZM2.js";
|
|
17
17
|
import "../chunk-OTVEIJUQ.js";
|
|
18
18
|
import "../chunk-66RCRDIF.js";
|
|
@@ -72,6 +72,9 @@ if (!process.env.AGENT_ID) {
|
|
|
72
72
|
if (!loadConfigSync().autoRetrieval) {
|
|
73
73
|
process.exit(0);
|
|
74
74
|
}
|
|
75
|
+
function sanitizeRecallSnippet(text, maxLength) {
|
|
76
|
+
return text.replace(/(?:[~/]?[A-Za-z0-9._/-]+)?(?:\.worktrees|worktrees)\/[A-Za-z0-9._/-]+/g, "[redacted-worktree]").replace(/\/(?:Users|home|tmp|private\/tmp)\/[^\s"'`]+/g, "[redacted-path]").slice(0, maxLength);
|
|
77
|
+
}
|
|
75
78
|
var timeout = setTimeout(() => {
|
|
76
79
|
process.exit(0);
|
|
77
80
|
}, 5e3);
|
|
@@ -120,7 +123,7 @@ process.stdin.on("end", async () => {
|
|
|
120
123
|
const parts = [];
|
|
121
124
|
for (const m of memories) {
|
|
122
125
|
parts.push(
|
|
123
|
-
`**Error:** [${m.timestamp}] ${m.tool_name} (${m.project_name}): ${m.raw_text
|
|
126
|
+
`**Error:** [${m.timestamp}] ${m.tool_name} (${m.project_name}): ${sanitizeRecallSnippet(m.raw_text, 400)}`
|
|
124
127
|
);
|
|
125
128
|
try {
|
|
126
129
|
const fixResult = await client.execute({
|
|
@@ -132,7 +135,7 @@ process.stdin.on("end", async () => {
|
|
|
132
135
|
});
|
|
133
136
|
if (fixResult.rows.length > 0) {
|
|
134
137
|
const fixes = fixResult.rows.map(
|
|
135
|
-
(r) => ` Fix: [${r.timestamp}] ${r.tool_name}: ${r.raw_text
|
|
138
|
+
(r) => ` Fix: [${r.timestamp}] ${r.tool_name}: ${sanitizeRecallSnippet(r.raw_text, 300)}`
|
|
136
139
|
).join("\n");
|
|
137
140
|
parts.push(fixes);
|
|
138
141
|
}
|
package/dist/hooks/ingest.js
CHANGED
|
@@ -12,7 +12,7 @@ import "../chunk-SH45SJQW.js";
|
|
|
12
12
|
import {
|
|
13
13
|
registerWorkerPid,
|
|
14
14
|
tryAcquireWorkerSlot
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-YDUS2DFZ.js";
|
|
16
16
|
import {
|
|
17
17
|
getActiveAgent
|
|
18
18
|
} from "../chunk-EOYVD5U3.js";
|
|
@@ -377,7 +377,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
377
377
|
if (cpDaemonReady()) {
|
|
378
378
|
const { initStore: cpInit } = await import("../lib/store.js");
|
|
379
379
|
await cpInit();
|
|
380
|
-
const { writeCheckpoint } = await import("../tasks-crud-
|
|
380
|
+
const { writeCheckpoint } = await import("../tasks-crud-RDWLWYWV.js");
|
|
381
381
|
await writeCheckpoint({
|
|
382
382
|
taskId: taskData.taskId,
|
|
383
383
|
step: `auto_checkpoint_${counter.total}`,
|
|
@@ -74,7 +74,7 @@ process.stdin.on("end", async () => {
|
|
|
74
74
|
pass = false;
|
|
75
75
|
}
|
|
76
76
|
try {
|
|
77
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
77
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
78
78
|
await fastDbInit();
|
|
79
79
|
const { getClient } = await import("../lib/database.js");
|
|
80
80
|
const client = getClient();
|
package/dist/hooks/manifest.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-04T12:04:29.025Z",
|
|
4
4
|
"hashes": {
|
|
5
|
-
"bug-report-worker.js": "
|
|
6
|
-
"codex-stop-task-finalizer.js": "
|
|
7
|
-
"commit-complete.js": "
|
|
8
|
-
"error-recall.js": "
|
|
5
|
+
"bug-report-worker.js": "dca863bc569833d9656d5f558b72d32b92ba9c2d4fd727a574392660e79c46d4",
|
|
6
|
+
"codex-stop-task-finalizer.js": "b95ac03f094acd9b01a30cfdb70066034539bbb032dfff2d18f010306ebf450a",
|
|
7
|
+
"commit-complete.js": "678c244e61cf2a91646500041338ace8aed3077ea137dd699d5ab11d895adfb2",
|
|
8
|
+
"error-recall.js": "a5a1e448ccc0aee2243ad23afb6c3bcfc2d65b9e707499a7a47ef45d64e79baf",
|
|
9
9
|
"exe-heartbeat-hook.js": "82642ced69749061da2cdf51ad1bd09ec856de8f4b11329a61901ab1295d7037",
|
|
10
10
|
"ingest-worker.js": "fb42110931002e4078cd2b85ce604ae9205e5c1511601e87ab38bfef6e6ed284",
|
|
11
|
-
"ingest.js": "
|
|
12
|
-
"instructions-loaded.js": "
|
|
13
|
-
"notification.js": "
|
|
14
|
-
"post-compact.js": "
|
|
15
|
-
"post-tool-combined.js": "
|
|
16
|
-
"pre-compact.js": "
|
|
17
|
-
"pre-tool-use.js": "
|
|
18
|
-
"prompt-submit.js": "
|
|
19
|
-
"session-end.js": "
|
|
20
|
-
"session-start.js": "
|
|
21
|
-
"stop.js": "
|
|
22
|
-
"subagent-stop.js": "
|
|
23
|
-
"summary-worker.js": "
|
|
11
|
+
"ingest.js": "149cc3803025023e77f119809fa1e836e74acd8165cf2a3292f225a1ca24ddca",
|
|
12
|
+
"instructions-loaded.js": "8db1cb01cebb907c79b57124a1b25c85a8f7ca38f82b0bf0e10ebec4476490e8",
|
|
13
|
+
"notification.js": "6adf7a28344caffb49e745a9d4c0771dde8681e78aa1db90078ed10c9c398f34",
|
|
14
|
+
"post-compact.js": "78ada6540f0ff9c636f818e317b3fda9dcbc3aec4991e63d140b0d6610cc3d46",
|
|
15
|
+
"post-tool-combined.js": "b57705c05f393db54e5fcf543b1378a8600d4e0d558816ed4bdd4c1eb7831ae2",
|
|
16
|
+
"pre-compact.js": "5f53c322e98c785ef3e40c25b7a65b0ff4d17be9583f7ecd9febd9e06b4c2d34",
|
|
17
|
+
"pre-tool-use.js": "da624db3d57be5ceb03eb21f2c9c878ad62f1d87fa96f22ef2505a72173f4408",
|
|
18
|
+
"prompt-submit.js": "4d10ffc8d23fa7836ada6acc19890fa4c74f463c9c08291db140758b73a72f0c",
|
|
19
|
+
"session-end.js": "292c446a5ac701837774dca607fd46552d405b93ce9ac3a276172d0e503fba82",
|
|
20
|
+
"session-start.js": "8a6958c24a7e423aa305ec6a8d26bcb258086f973b446ab3846efaed1e1cdd6b",
|
|
21
|
+
"stop.js": "25565228b25abe2389b1733ec07ff0858d18cb91f159328fef66f434653e3d5a",
|
|
22
|
+
"subagent-stop.js": "e2ead4c2066c52a41369e92b9cb815e09804502b45deb7fb367f50de6ad65b15",
|
|
23
|
+
"summary-worker.js": "e184f1e75bf1a574648a11b92269afd57cafc5062cef3fea7d6664356b001309"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -61,7 +61,7 @@ process.stdin.on("end", async () => {
|
|
|
61
61
|
process.exit(0);
|
|
62
62
|
}
|
|
63
63
|
try {
|
|
64
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
64
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
65
65
|
await fastDbInit();
|
|
66
66
|
const { getClient } = await import("../lib/database.js");
|
|
67
67
|
const { randomUUID } = await import("crypto");
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "../chunk-EOYVD5U3.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-3KAYKHVB.js";
|
|
8
8
|
import "../chunk-YYKY45TM.js";
|
|
9
9
|
import "../chunk-SNJEQPPA.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-BAXNI3A5.js";
|
|
11
11
|
import "../chunk-EIKATSE4.js";
|
|
12
12
|
import "../chunk-E23LNUWJ.js";
|
|
13
13
|
import "../chunk-4JERP7NT.js";
|
|
@@ -102,7 +102,7 @@ ${identity}`);
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
try {
|
|
105
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
105
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
106
106
|
await fastDbInit({ socketOnly: true });
|
|
107
107
|
const { getClient } = await import("../lib/database.js");
|
|
108
108
|
const client = getClient();
|
|
@@ -201,8 +201,8 @@ Your task token budget has been reached (${budgetResult.percentUsed}% used). Wra
|
|
|
201
201
|
const { detectError } = await import("../lib/error-detector.js");
|
|
202
202
|
const agent = getActiveAgent();
|
|
203
203
|
try {
|
|
204
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
205
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
204
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
205
|
+
const { recordSessionEvent } = await import("../session-events-F3DPBY4P.js");
|
|
206
206
|
const client = await fastDbInit({ daemonOnly: true });
|
|
207
207
|
const toolName = String(data.tool_name ?? "unknown");
|
|
208
208
|
const toolInput = JSON.stringify(data.tool_input ?? {});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkpointActiveTask,
|
|
3
3
|
writeContinuityCheckpoint
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-YWIOFMHL.js";
|
|
5
5
|
import "../chunk-SH45SJQW.js";
|
|
6
6
|
import {
|
|
7
7
|
getActiveAgent
|
|
8
8
|
} from "../chunk-EOYVD5U3.js";
|
|
9
9
|
import {
|
|
10
10
|
sessionScopeFilter
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-3KAYKHVB.js";
|
|
12
12
|
import "../chunk-YYKY45TM.js";
|
|
13
13
|
import "../chunk-SNJEQPPA.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-BAXNI3A5.js";
|
|
15
15
|
import "../chunk-EIKATSE4.js";
|
|
16
16
|
import "../chunk-E23LNUWJ.js";
|
|
17
17
|
import "../chunk-4JERP7NT.js";
|
|
@@ -90,7 +90,7 @@ process.stdin.on("end", async () => {
|
|
|
90
90
|
const agent = getActiveAgent();
|
|
91
91
|
const sections = [];
|
|
92
92
|
try {
|
|
93
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
93
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
94
94
|
const client = await fastDbInit({ socketOnly: true });
|
|
95
95
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
96
96
|
const pcScope = sessionScopeFilter();
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
} from "../chunk-EOYVD5U3.js";
|
|
9
9
|
import {
|
|
10
10
|
sessionScopeFilter
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-3KAYKHVB.js";
|
|
12
12
|
import "../chunk-YYKY45TM.js";
|
|
13
13
|
import "../chunk-SNJEQPPA.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-BAXNI3A5.js";
|
|
15
15
|
import "../chunk-EIKATSE4.js";
|
|
16
16
|
import "../chunk-E23LNUWJ.js";
|
|
17
17
|
import "../chunk-4JERP7NT.js";
|
|
@@ -430,15 +430,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
430
430
|
process.exit(0);
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
433
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-Z7UVTVYO.js");
|
|
434
434
|
const gatedAgent = getGatedAgent();
|
|
435
435
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
436
436
|
const filePath = data.tool_input?.file_path ?? "";
|
|
437
437
|
if (filePath) {
|
|
438
438
|
try {
|
|
439
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
439
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
440
440
|
await fastDbInit();
|
|
441
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
441
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-Z7UVTVYO.js");
|
|
442
442
|
const decision = await evaluateDelegationGate({
|
|
443
443
|
agentId: agent.agentId,
|
|
444
444
|
toolName: data.tool_name,
|
|
@@ -491,7 +491,7 @@ Reason: ${decision.reason ?? "engineer-delegatable edit"}`;
|
|
|
491
491
|
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);
|
|
492
492
|
if (isUpdateTaskDone) {
|
|
493
493
|
try {
|
|
494
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
494
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
495
495
|
const client = await fastDbInit();
|
|
496
496
|
const taskId = String(toolInput.task_id ?? "");
|
|
497
497
|
const ptScope = sessionScopeFilter();
|
|
@@ -549,7 +549,7 @@ Reason: ${decision.reason ?? "engineer-delegatable edit"}`;
|
|
|
549
549
|
}
|
|
550
550
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
551
551
|
try {
|
|
552
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
552
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
553
553
|
const client = await fastDbInit();
|
|
554
554
|
const dlScope = sessionScopeFilter();
|
|
555
555
|
const result = await client.execute({
|
|
@@ -6,12 +6,12 @@ import "../chunk-SH45SJQW.js";
|
|
|
6
6
|
import {
|
|
7
7
|
hybridSearch,
|
|
8
8
|
lightweightSearch
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-IVN7UUKK.js";
|
|
10
10
|
import "../chunk-AB4PAQYK.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveHookSearchEnabled
|
|
13
13
|
} from "../chunk-KWOAM7TA.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-OIMQGA62.js";
|
|
15
15
|
import "../chunk-CHCA3ZM2.js";
|
|
16
16
|
import "../chunk-OTVEIJUQ.js";
|
|
17
17
|
import "../chunk-66RCRDIF.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
countScopedPendingReviews,
|
|
24
24
|
decideQueuedNudgeDrain,
|
|
25
25
|
isExeSession
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-3KAYKHVB.js";
|
|
27
27
|
import "../chunk-YYKY45TM.js";
|
|
28
28
|
import "../chunk-SNJEQPPA.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-BAXNI3A5.js";
|
|
30
30
|
import "../chunk-EIKATSE4.js";
|
|
31
31
|
import "../chunk-E23LNUWJ.js";
|
|
32
32
|
import "../chunk-4JERP7NT.js";
|
|
@@ -242,7 +242,7 @@ process.stdin.on("end", async () => {
|
|
|
242
242
|
process.exit(0);
|
|
243
243
|
}
|
|
244
244
|
try {
|
|
245
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
245
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
246
246
|
await withHookTimeout(fastDbInit(), HOOK_DAEMON_INIT_TIMEOUT_MS, null);
|
|
247
247
|
} catch {
|
|
248
248
|
}
|
|
@@ -260,7 +260,7 @@ process.stdin.on("end", async () => {
|
|
|
260
260
|
if (inTmux) try {
|
|
261
261
|
const currentSession = getTmuxSession();
|
|
262
262
|
if (currentSession) {
|
|
263
|
-
const { drainForSession, readQueue } = await import("../intercom-queue-
|
|
263
|
+
const { drainForSession, readQueue } = await import("../intercom-queue-JFBMDV6J.js");
|
|
264
264
|
const { baseAgentName } = await import("../lib/employees.js");
|
|
265
265
|
const queuedForMe = readQueue().filter((q) => q.targetSession === currentSession);
|
|
266
266
|
if (queuedForMe.length > 0) {
|
|
@@ -298,7 +298,7 @@ process.stdin.on("end", async () => {
|
|
|
298
298
|
let openTaskCount = null;
|
|
299
299
|
if (queuedForMe.some((q) => q.intercomReason === "nudge" || q.intercomReason === "signal" || !q.intercomReason)) {
|
|
300
300
|
try {
|
|
301
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
301
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
302
302
|
const client = await fastDbInit();
|
|
303
303
|
const sessionScope = currentSession.includes("-") ? currentSession.split("-").pop() ?? "" : currentSession;
|
|
304
304
|
openTaskCount = await countOpenTasksForPromptHook(client, agent.agentId, sessionScope || null, getProjectName());
|
|
@@ -465,7 +465,7 @@ ${fresh.map(
|
|
|
465
465
|
atomicWriteSync(counterPath, String(count));
|
|
466
466
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
467
467
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
468
|
-
const { listBehaviors } = await import("../behaviors-
|
|
468
|
+
const { listBehaviors } = await import("../behaviors-SAS6JALZ.js");
|
|
469
469
|
const behaviors = await listBehaviors(agent.agentId);
|
|
470
470
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
471
471
|
if (active.length > 0) {
|
|
@@ -505,7 +505,7 @@ ${parts.join("\n\n")}`;
|
|
|
505
505
|
if (!lastCheckedAt) {
|
|
506
506
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
507
507
|
}
|
|
508
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
508
|
+
const { listBehaviorsSince } = await import("../behaviors-SAS6JALZ.js");
|
|
509
509
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
510
510
|
if (newBehaviors.length > 0) {
|
|
511
511
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -573,7 +573,7 @@ ${body}`;
|
|
|
573
573
|
let reviewContext = "";
|
|
574
574
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
575
575
|
try {
|
|
576
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
576
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-UXWXJ6H3.js");
|
|
577
577
|
const sessionKey = getSessionKey();
|
|
578
578
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
579
579
|
let sessionScope;
|
|
@@ -630,7 +630,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
630
630
|
let coreMemoryContext = "";
|
|
631
631
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
632
632
|
try {
|
|
633
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
633
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-KMBRE2HU.js");
|
|
634
634
|
const entries = await getCoreMemory(agent.agentId);
|
|
635
635
|
const block = formatCoreMemoryBlock(entries);
|
|
636
636
|
if (block) coreMemoryContext = block;
|
|
@@ -661,7 +661,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
661
661
|
const signalProjectName = getProjectName();
|
|
662
662
|
let signalDbClient = null;
|
|
663
663
|
try {
|
|
664
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
664
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
665
665
|
signalDbClient = await fastDbInit();
|
|
666
666
|
} catch {
|
|
667
667
|
signalDbClient = null;
|
|
@@ -799,7 +799,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
799
799
|
let idleTaskContext = "";
|
|
800
800
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
801
801
|
try {
|
|
802
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
802
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
803
803
|
const client = await fastDbInit();
|
|
804
804
|
let taskSessionScope = null;
|
|
805
805
|
if (inTmux) {
|
|
@@ -867,7 +867,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
867
867
|
}
|
|
868
868
|
if (hints.length === 0) {
|
|
869
869
|
try {
|
|
870
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
870
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
871
871
|
const client = await fastDbInit();
|
|
872
872
|
const reminderResult = await client.execute({
|
|
873
873
|
sql: `SELECT COUNT(*) as cnt FROM reminders WHERE completed_at IS NULL AND due_date IS NOT NULL AND due_date <= date('now', '+1 day')`,
|
|
@@ -946,8 +946,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
946
946
|
return;
|
|
947
947
|
}
|
|
948
948
|
try {
|
|
949
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
950
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
949
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
950
|
+
const { recordSessionEvent } = await import("../session-events-F3DPBY4P.js");
|
|
951
951
|
const client = await fastDbInit();
|
|
952
952
|
await recordSessionEvent(client, {
|
|
953
953
|
agentId: agent.agentId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-YWIOFMHL.js";
|
|
4
4
|
import {
|
|
5
5
|
clearCacheState
|
|
6
6
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "../chunk-EOYVD5U3.js";
|
|
13
13
|
import {
|
|
14
14
|
strictSessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-3KAYKHVB.js";
|
|
16
16
|
import "../chunk-YYKY45TM.js";
|
|
17
17
|
import "../chunk-SNJEQPPA.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-BAXNI3A5.js";
|
|
19
19
|
import "../chunk-EIKATSE4.js";
|
|
20
20
|
import "../chunk-E23LNUWJ.js";
|
|
21
21
|
import "../chunk-4JERP7NT.js";
|
|
@@ -288,7 +288,7 @@ process.stdin.on("end", async () => {
|
|
|
288
288
|
}
|
|
289
289
|
if (agent.agentId) {
|
|
290
290
|
try {
|
|
291
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
291
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
292
292
|
const client = await fastDbInit();
|
|
293
293
|
const seScope = strictSessionScopeFilter();
|
|
294
294
|
const orphanResult = await client.execute({
|
|
@@ -385,7 +385,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
385
385
|
} catch {
|
|
386
386
|
}
|
|
387
387
|
try {
|
|
388
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
388
|
+
const { DreamingEngine } = await import("../dreaming-SDFWY5FY.js");
|
|
389
389
|
const engine = new DreamingEngine();
|
|
390
390
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
391
391
|
let promoted = 0;
|
|
@@ -461,7 +461,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
461
461
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
462
462
|
}
|
|
463
463
|
try {
|
|
464
|
-
const { writeNotification } = await import("../notifications-
|
|
464
|
+
const { writeNotification } = await import("../notifications-42Z4ZRNV.js");
|
|
465
465
|
await writeNotification({
|
|
466
466
|
agentId: agent.agentId,
|
|
467
467
|
agentRole: agent.agentRole,
|
|
@@ -76,7 +76,7 @@ process.stdin.on("end", async () => {
|
|
|
76
76
|
try {
|
|
77
77
|
const { getActiveAgent } = await import("../active-agent-GXV65DNN.js");
|
|
78
78
|
const { getProjectName } = await import("../project-name-EWG5KAZP.js");
|
|
79
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
79
|
+
const { getCurrentSessionScope } = await import("../task-scope-CATQQNVX.js");
|
|
80
80
|
const { canCoordinate, loadEmployeesSync } = await import("../lib/employees.js");
|
|
81
81
|
const data = JSON.parse(input);
|
|
82
82
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -135,12 +135,12 @@ process.stdin.on("end", async () => {
|
|
|
135
135
|
}
|
|
136
136
|
if (!daemonDegraded) {
|
|
137
137
|
try {
|
|
138
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
138
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
139
139
|
await fastDbInit();
|
|
140
140
|
} catch {
|
|
141
141
|
try {
|
|
142
142
|
await new Promise((resolve) => setTimeout(resolve, 750));
|
|
143
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
143
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
144
144
|
await fastDbInit();
|
|
145
145
|
} catch {
|
|
146
146
|
daemonDegraded = true;
|
|
@@ -226,7 +226,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
226
226
|
query = `last actions on ${projectName}`;
|
|
227
227
|
header = "## Resuming Session\nHere's where you left off:";
|
|
228
228
|
try {
|
|
229
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
229
|
+
const { buildCatchupBrief } = await import("../catchup-brief-RAZTRECT.js");
|
|
230
230
|
const brief = await buildCatchupBrief(
|
|
231
231
|
agentId,
|
|
232
232
|
projectName,
|
|
@@ -251,7 +251,7 @@ The following files have been modified since you last read them:
|
|
|
251
251
|
query = `recent work on ${projectName}`;
|
|
252
252
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
253
253
|
}
|
|
254
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
254
|
+
const { queryTaskRows } = await import("../tasks-crud-RDWLWYWV.js");
|
|
255
255
|
const [memories, taskResult] = await Promise.all([
|
|
256
256
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
257
257
|
queryTaskRows({
|
|
@@ -346,7 +346,7 @@ ${wmContent}
|
|
|
346
346
|
`;
|
|
347
347
|
if (agentId !== "default" && !daemonDegraded) {
|
|
348
348
|
try {
|
|
349
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
349
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-RDWLWYWV.js");
|
|
350
350
|
const checkpoint = await readLatestCheckpoint(agentId);
|
|
351
351
|
if (checkpoint) {
|
|
352
352
|
const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none recorded";
|
package/dist/hooks/stop.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "../chunk-EOYVD5U3.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-3KAYKHVB.js";
|
|
8
8
|
import "../chunk-YYKY45TM.js";
|
|
9
9
|
import "../chunk-SNJEQPPA.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-BAXNI3A5.js";
|
|
11
11
|
import "../chunk-EIKATSE4.js";
|
|
12
12
|
import "../chunk-E23LNUWJ.js";
|
|
13
13
|
import "../chunk-4JERP7NT.js";
|
|
@@ -153,8 +153,8 @@ process.stdin.on("end", async () => {
|
|
|
153
153
|
process.exit(0);
|
|
154
154
|
}
|
|
155
155
|
try {
|
|
156
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
157
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
156
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
157
|
+
const { recordSessionEvent } = await import("../session-events-F3DPBY4P.js");
|
|
158
158
|
const client = await fastDbInit({ daemonOnly: true });
|
|
159
159
|
await recordSessionEvent(client, {
|
|
160
160
|
agentId: agent.agentId,
|
|
@@ -190,7 +190,7 @@ process.stdin.on("end", async () => {
|
|
|
190
190
|
}
|
|
191
191
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
192
192
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
193
|
-
import("../fast-db-init-
|
|
193
|
+
import("../fast-db-init-OZDG42SZ.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
194
194
|
const stScope = sessionScopeFilter();
|
|
195
195
|
const tasks = await client.execute({
|
|
196
196
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -332,7 +332,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
332
332
|
} catch {
|
|
333
333
|
}
|
|
334
334
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
335
|
-
import("../fast-db-init-
|
|
335
|
+
import("../fast-db-init-OZDG42SZ.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
336
336
|
const orScope = sessionScopeFilter();
|
|
337
337
|
return client.execute({
|
|
338
338
|
sql: `SELECT title, status FROM tasks
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "../chunk-EOYVD5U3.js";
|
|
8
8
|
import {
|
|
9
9
|
sessionScopeFilter
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-3KAYKHVB.js";
|
|
11
11
|
import "../chunk-YYKY45TM.js";
|
|
12
12
|
import "../chunk-SNJEQPPA.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-BAXNI3A5.js";
|
|
14
14
|
import "../chunk-EIKATSE4.js";
|
|
15
15
|
import "../chunk-E23LNUWJ.js";
|
|
16
16
|
import "../chunk-4JERP7NT.js";
|
|
@@ -121,7 +121,7 @@ process.stdin.on("end", async () => {
|
|
|
121
121
|
if (!failClosedOnTimeout) {
|
|
122
122
|
process.exit(0);
|
|
123
123
|
}
|
|
124
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
124
|
+
const { fastDbInit } = await import("../fast-db-init-OZDG42SZ.js");
|
|
125
125
|
const client = await fastDbInit();
|
|
126
126
|
const saScope = sessionScopeFilter();
|
|
127
127
|
const pendingResult = await client.execute({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-YWIOFMHL.js";
|
|
4
4
|
import {
|
|
5
5
|
initStore,
|
|
6
6
|
vectorToBlob
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-OIMQGA62.js";
|
|
8
8
|
import "../chunk-CHCA3ZM2.js";
|
|
9
9
|
import "../chunk-OTVEIJUQ.js";
|
|
10
10
|
import "../chunk-66RCRDIF.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
getCurrentSessionScope,
|
|
14
14
|
sessionScopeFilter,
|
|
15
15
|
writeNotification
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-3KAYKHVB.js";
|
|
17
17
|
import "../chunk-YYKY45TM.js";
|
|
18
18
|
import "../chunk-SNJEQPPA.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-BAXNI3A5.js";
|
|
20
20
|
import "../chunk-EIKATSE4.js";
|
|
21
21
|
import "../chunk-E23LNUWJ.js";
|
|
22
22
|
import "../chunk-4JERP7NT.js";
|
|
@@ -233,7 +233,7 @@ async function main() {
|
|
|
233
233
|
const { backfillKillSwitchEnabled } = await import("../backfill-gate-J7UXFNXU.js");
|
|
234
234
|
const flagPath = path.join(EXE_AI_DIR, "session-cache", "needs-backfill");
|
|
235
235
|
if (existsSync(flagPath) && !backfillKillSwitchEnabled()) {
|
|
236
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-
|
|
236
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-2O27EXUE.js");
|
|
237
237
|
if (!tryAcquireWorkerSlot()) {
|
|
238
238
|
process.stderr.write("[summary-worker] Backfill needed but worker gate full \u2014 skipping\n");
|
|
239
239
|
} else {
|
|
@@ -341,7 +341,7 @@ main().catch((err) => {
|
|
|
341
341
|
process.stderr.write("[summary-worker] FATAL: " + (err instanceof Error ? err.message : String(err)) + "\n");
|
|
342
342
|
}).finally(async () => {
|
|
343
343
|
try {
|
|
344
|
-
const { cleanupWorkerPid } = await import("../worker-gate-
|
|
344
|
+
const { cleanupWorkerPid } = await import("../worker-gate-2O27EXUE.js");
|
|
345
345
|
cleanupWorkerPid();
|
|
346
346
|
} catch {
|
|
347
347
|
}
|