@askexenow/exe-os 0.9.220 → 0.9.221
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-WFASPP6Y.js → backfill-metadata-AGHTEOOS.js} +1 -1
- 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 +1 -1
- package/dist/bin/cleanup-stale-review-tasks.js +2 -2
- package/dist/bin/cli.js +5 -5
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +3 -3
- package/dist/bin/exe-dispatch.js +2 -2
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +2 -2
- package/dist/bin/exe-forget.js +3 -3
- package/dist/bin/exe-gateway.js +4 -4
- package/dist/bin/exe-heartbeat.js +2 -2
- package/dist/bin/exe-kill.js +3 -3
- package/dist/bin/exe-launch-agent.js +3 -3
- package/dist/bin/exe-pending-messages.js +3 -3
- package/dist/bin/exe-pending-notifications.js +2 -2
- package/dist/bin/exe-pending-reviews.js +2 -2
- package/dist/bin/exe-review.js +3 -3
- package/dist/bin/exe-search.js +2 -2
- package/dist/bin/exe-session-cleanup.js +5 -5
- package/dist/bin/exe-start-codex.js +1 -1
- package/dist/bin/exe-start-opencode.js +1 -1
- package/dist/bin/exe-status.js +3 -3
- package/dist/bin/exe-team.js +1 -1
- package/dist/bin/git-sweep.js +2 -2
- package/dist/bin/graph-backfill.js +1 -1
- package/dist/bin/graph-export.js +2 -2
- package/dist/bin/import-history.js +1 -1
- package/dist/bin/intercom-check.js +3 -3
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +1 -1
- package/dist/bin/scan-tasks.js +2 -2
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{capacity-monitor-HBSR35IL.js → capacity-monitor-BOAVNFBX.js} +2 -2
- package/dist/{catchup-brief-JSUYYPQ3.js → catchup-brief-H6GBODF6.js} +3 -3
- package/dist/{chunk-4SKD6TQ7.js → chunk-2H2XQJ62.js} +1 -1
- package/dist/{chunk-NO6PSA2A.js → chunk-3GUGE4K2.js} +1 -1
- package/dist/{chunk-NWNWETME.js → chunk-3YVPPYKT.js} +29 -29
- package/dist/{chunk-47AYA4NC.js → chunk-BRGUJ76G.js} +1 -1
- package/dist/{chunk-NU3NSUDL.js → chunk-DANQ4YE4.js} +1 -1
- package/dist/{chunk-LNRYYEGG.js → chunk-DBZI5HYX.js} +1 -1
- package/dist/{chunk-3IBL2IIP.js → chunk-EM7QXDC2.js} +4 -4
- package/dist/{chunk-TEF5NCBV.js → chunk-F65CKSBB.js} +1 -1
- package/dist/{chunk-Y7HLJSYI.js → chunk-FSIPRNGL.js} +1 -1
- package/dist/{chunk-GLSU6RYP.js → chunk-G3RJSRAS.js} +1 -1
- package/dist/{chunk-AVJGBAJR.js → chunk-GM2SXBIN.js} +3 -3
- package/dist/{chunk-ANNJ4GH5.js → chunk-GUY5C7LF.js} +1 -1
- package/dist/{chunk-BMWBBDHF.js → chunk-ILAG5VBR.js} +3 -3
- package/dist/{chunk-U3AATEDZ.js → chunk-LVAFZMP3.js} +2 -2
- package/dist/{chunk-R3HP5EZQ.js → chunk-NIXZDSJF.js} +1 -1
- package/dist/{chunk-ORYGKBVB.js → chunk-P5IPATUA.js} +89 -24
- package/dist/{chunk-6LDJZ6YC.js → chunk-QIWMGZOK.js} +2 -2
- package/dist/{chunk-LIOPFUTM.js → chunk-QJ2MGXFX.js} +2 -2
- package/dist/{chunk-LMLSZFPH.js → chunk-RA3NCLXH.js} +2 -2
- package/dist/{chunk-O4JHGHLZ.js → chunk-SQBRX5GZ.js} +3 -3
- package/dist/{chunk-OC2JSGTJ.js → chunk-SVBCHRGC.js} +1 -1
- package/dist/{chunk-FYK4QDZ6.js → chunk-X4L6SQU5.js} +1 -1
- package/dist/{chunk-6XWI25AO.js → chunk-X6UJ4CLH.js} +2 -2
- package/dist/{chunk-BXJCPGN3.js → chunk-XISG35R2.js} +1 -1
- package/dist/{chunk-SEV5S5AQ.js → chunk-YUHKC2X2.js} +17 -9
- package/dist/{crm-webhook-GD2UTF2H.js → crm-webhook-YQULRX7T.js} +2 -2
- package/dist/{cto-delegation-gate-5DEH7LAZ.js → cto-delegation-gate-YQ443YVD.js} +1 -1
- package/dist/{daemon-orchestration-FPHCMQX5.js → daemon-orchestration-KCIQTAGO.js} +3 -3
- package/dist/{exe-export-MFVCOY5E.js → exe-export-Q357HALA.js} +1 -1
- package/dist/{exe-import-XXOTZX6Y.js → exe-import-2BPJMJ6Z.js} +1 -1
- package/dist/{fast-db-init-MS7MJ2B2.js → fast-db-init-WF6BDZ46.js} +1 -1
- package/dist/gateway/index.js +5 -5
- package/dist/{git-task-sweep-QU4Y5RHC.js → git-task-sweep-FUOVATSV.js} +2 -2
- package/dist/hooks/bug-report-worker.js +3 -3
- package/dist/hooks/codex-stop-task-finalizer.js +3 -3
- package/dist/hooks/commit-complete.js +4 -4
- package/dist/hooks/error-recall.js +2 -2
- 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 +2 -2
- package/dist/hooks/post-tool-combined.js +2 -2
- package/dist/hooks/pre-compact.js +3 -3
- package/dist/hooks/pre-tool-use.js +28 -21
- package/dist/hooks/prompt-submit.js +8 -8
- package/dist/hooks/session-end.js +4 -4
- package/dist/hooks/session-start.js +5 -5
- package/dist/hooks/stop.js +5 -5
- package/dist/hooks/subagent-stop.js +2 -2
- package/dist/hooks/summary-worker.js +5 -5
- package/dist/{import-conversations-K7HNDJN7.js → import-conversations-O3BGXQQH.js} +2 -2
- package/dist/index.js +8 -8
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/exe-daemon.js +14 -14
- package/dist/lib/hybrid-search.js +2 -2
- package/dist/lib/messaging.js +2 -2
- package/dist/lib/schedules.js +2 -2
- package/dist/lib/store.js +1 -1
- package/dist/lib/tasks.js +2 -2
- package/dist/lib/tmux-routing.js +1 -1
- package/dist/mcp/register-tools.js +22 -22
- package/dist/mcp/server.js +23 -23
- package/dist/mcp/tools/create-task.js +3 -3
- package/dist/mcp/tools/list-tasks.js +3 -3
- package/dist/mcp/tools/send-message.js +3 -3
- package/dist/mcp/tools/update-task.js +3 -3
- package/dist/{notifications-2RAIJMID.js → notifications-WDAAZ6FP.js} +1 -1
- package/dist/{orchestrator-BOSGXSGR.js → orchestrator-CZYRJJDL.js} +2 -2
- package/dist/{reranker-HN6E3YET.js → reranker-EZRCPPL4.js} +1 -1
- package/dist/{review-polling-6ALBGRQM.js → review-polling-W32O7SNH.js} +2 -2
- package/dist/runtime/index.js +3 -3
- package/dist/{session-events-7RWZYWPX.js → session-events-AKRECMTQ.js} +2 -2
- package/dist/{session-scope-2TPIWVAK.js → session-scope-QCZEPEZ7.js} +1 -1
- package/dist/{task-enforcement-2QFS3YYE.js → task-enforcement-PYP4NBI2.js} +1 -1
- package/dist/{task-scope-HHNLGA7M.js → task-scope-IAIAQNYB.js} +1 -1
- package/dist/{tasks-crud-T4HZTUEJ.js → tasks-crud-M7YVS5F3.js} +1 -1
- package/dist/{tasks-review-YHRQHOI3.js → tasks-review-HNNUT3QB.js} +1 -1
- package/dist/tui/App.js +7 -7
- package/dist/{tui-data-NEJQFARB.js → tui-data-UCFTP4HZ.js} +1 -1
- package/dist/{worker-gate-FWMGWC6D.js → worker-gate-WES7AMDA.js} +1 -1
- package/dist/{workflow-engine-YI2GCCWL.js → workflow-engine-ZHWSK4BG.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +64 -64
- /package/dist/{chunk-TEFFJZGT.js → chunk-6MMKWEGK.js} +0 -0
- /package/dist/{chunk-YDE4RYQF.js → chunk-HR4WG32E.js} +0 -0
- /package/dist/{chunk-S6OEMZ76.js → chunk-NJR54FIF.js} +0 -0
- /package/dist/{chunk-MOM2Z2QO.js → chunk-QBPEJKJ2.js} +0 -0
- /package/dist/{chunk-3L2RG3ZB.js → chunk-UHMLXFZC.js} +0 -0
- /package/dist/{core-memory-ZML3QGOE.js → core-memory-XQKOWOID.js} +0 -0
- /package/dist/{exe-key-MGIZ2LCZ.js → exe-key-DVU3FQ3N.js} +0 -0
- /package/dist/{skill-refinement-JH3EF5GK.js → skill-refinement-OIPE7QNX.js} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "../chunk-EFDIUJWC.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-YUHKC2X2.js";
|
|
9
9
|
import "../chunk-X3ZMMUTS.js";
|
|
10
10
|
import "../chunk-QI4IXJN7.js";
|
|
11
11
|
import "../chunk-GKEEC3P7.js";
|
|
@@ -127,7 +127,7 @@ process.stdin.on("end", async () => {
|
|
|
127
127
|
const command = data.tool_input?.command ?? "";
|
|
128
128
|
if (/tmux\s+send-keys/i.test(command)) {
|
|
129
129
|
const output = JSON.stringify({
|
|
130
|
-
hookSpecificOutput: { permissionDecision: "deny" },
|
|
130
|
+
hookSpecificOutput: { hookEventName: "PreToolUse", permissionDecision: "deny" },
|
|
131
131
|
systemMessage: `\u274C BLOCKED: tmux send-keys is not allowed for ANY agent (including COO).
|
|
132
132
|
Use MCP tools to communicate:
|
|
133
133
|
- create_task to assign work (auto-spawns + sends intercom)
|
|
@@ -150,9 +150,12 @@ If MCP is down, tell the user: "MCP disconnected. Run /mcp to reconnect."`
|
|
|
150
150
|
);
|
|
151
151
|
const output = JSON.stringify({
|
|
152
152
|
hookSpecificOutput: {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
}
|
|
153
|
+
hookEventName: "PreToolUse",
|
|
154
|
+
permissionDecision: "deny"
|
|
155
|
+
},
|
|
156
|
+
systemMessage: `ACTION BLOCKED: tmux capture-pane must include a timeout to avoid freezing the agent.
|
|
157
|
+
Rerun with:
|
|
158
|
+
${safeCmd}`
|
|
156
159
|
});
|
|
157
160
|
process.stdout.write(output);
|
|
158
161
|
process.exit(0);
|
|
@@ -210,7 +213,7 @@ If MCP is down, tell the user: "MCP disconnected. Run /mcp to reconnect."`
|
|
|
210
213
|
const hasMainRepoWrite = writePatterns.some((p) => p.test(command)) && !command.includes(wtPrefix);
|
|
211
214
|
if (hasMainRepoWrite) {
|
|
212
215
|
const output = JSON.stringify({
|
|
213
|
-
hookSpecificOutput: { permissionDecision: "deny" },
|
|
216
|
+
hookSpecificOutput: { hookEventName: "PreToolUse", permissionDecision: "deny" },
|
|
214
217
|
systemMessage: `ACTION BLOCKED: You are in worktree "${wtCtxBash.worktreeName}" but your Bash command writes to the main repo root.
|
|
215
218
|
DENIED command contains write to: ${mainPrefix}
|
|
216
219
|
Your worktree root is: ${wtCtxBash.worktreeRoot}/
|
|
@@ -254,10 +257,11 @@ NEVER write to the main repo from a worktree. The main repo belongs to the coord
|
|
|
254
257
|
);
|
|
255
258
|
const output = JSON.stringify({
|
|
256
259
|
hookSpecificOutput: {
|
|
257
|
-
|
|
258
|
-
|
|
260
|
+
hookEventName: "PreToolUse",
|
|
261
|
+
permissionDecision: "deny"
|
|
259
262
|
},
|
|
260
|
-
systemMessage:
|
|
263
|
+
systemMessage: `ACTION BLOCKED: You are in worktree "${wtCtx.worktreeName}" but tried to read from the main repo root.
|
|
264
|
+
Rerun Read with this worktree path instead: ${rewritten}`
|
|
261
265
|
});
|
|
262
266
|
process.stdout.write(output);
|
|
263
267
|
process.exit(0);
|
|
@@ -274,10 +278,11 @@ NEVER write to the main repo from a worktree. The main repo belongs to the coord
|
|
|
274
278
|
);
|
|
275
279
|
const output = JSON.stringify({
|
|
276
280
|
hookSpecificOutput: {
|
|
277
|
-
|
|
278
|
-
|
|
281
|
+
hookEventName: "PreToolUse",
|
|
282
|
+
permissionDecision: "deny"
|
|
279
283
|
},
|
|
280
|
-
systemMessage:
|
|
284
|
+
systemMessage: `ACTION BLOCKED: You are in worktree "${wtCtx.worktreeName}" but tried to ${data.tool_name} from the main repo root.
|
|
285
|
+
Rerun ${data.tool_name} with this worktree path instead: ${rewritten}`
|
|
281
286
|
});
|
|
282
287
|
process.stdout.write(output);
|
|
283
288
|
process.exit(0);
|
|
@@ -289,7 +294,7 @@ NEVER write to the main repo from a worktree. The main repo belongs to the coord
|
|
|
289
294
|
if (wtCtx.isWorktree && filePath && isMainRepoPath(filePath, wtCtx)) {
|
|
290
295
|
const suggested = rewriteToWorktree(filePath, wtCtx);
|
|
291
296
|
const output = JSON.stringify({
|
|
292
|
-
hookSpecificOutput: { permissionDecision: "deny" },
|
|
297
|
+
hookSpecificOutput: { hookEventName: "PreToolUse", permissionDecision: "deny" },
|
|
293
298
|
systemMessage: `ACTION BLOCKED: You are in worktree "${wtCtx.worktreeName}" but tried to edit a file in the main repo root.
|
|
294
299
|
DENIED path: ${filePath}
|
|
295
300
|
Your worktree root is: ${wtCtx.worktreeRoot}/
|
|
@@ -307,6 +312,7 @@ NEVER edit files outside your worktree. The main repo belongs to the coordinator
|
|
|
307
312
|
const target = exeMatch[1];
|
|
308
313
|
const output = JSON.stringify({
|
|
309
314
|
hookSpecificOutput: {
|
|
315
|
+
hookEventName: "PreToolUse",
|
|
310
316
|
permissionDecision: "deny"
|
|
311
317
|
},
|
|
312
318
|
systemMessage: `ACTION BLOCKED: Your Write/Edit to exe/${target}/ was DENIED \u2014 it did NOT execute.
|
|
@@ -318,15 +324,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
318
324
|
process.exit(0);
|
|
319
325
|
}
|
|
320
326
|
}
|
|
321
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
327
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-YQ443YVD.js");
|
|
322
328
|
const gatedAgent = getGatedAgent();
|
|
323
329
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
324
330
|
const filePath = data.tool_input?.file_path ?? "";
|
|
325
331
|
if (filePath) {
|
|
326
332
|
try {
|
|
327
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
333
|
+
const { fastDbInit } = await import("../fast-db-init-WF6BDZ46.js");
|
|
328
334
|
await fastDbInit();
|
|
329
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
335
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-YQ443YVD.js");
|
|
330
336
|
const decision = await evaluateDelegationGate({
|
|
331
337
|
agentId: agent.agentId,
|
|
332
338
|
toolName: data.tool_name,
|
|
@@ -339,7 +345,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
339
345
|
`
|
|
340
346
|
);
|
|
341
347
|
const output = JSON.stringify({
|
|
342
|
-
hookSpecificOutput: { permissionDecision: "deny" },
|
|
348
|
+
hookSpecificOutput: { hookEventName: "PreToolUse", permissionDecision: "deny" },
|
|
343
349
|
systemMessage: GATE_BLOCK_MESSAGE
|
|
344
350
|
});
|
|
345
351
|
process.stdout.write(output);
|
|
@@ -359,6 +365,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
359
365
|
if (sensitivePatterns.test(filePath) && !canCoordinate(agent.agentId, agent.agentRole)) {
|
|
360
366
|
const output = JSON.stringify({
|
|
361
367
|
hookSpecificOutput: {
|
|
368
|
+
hookEventName: "PreToolUse",
|
|
362
369
|
permissionDecision: "ask"
|
|
363
370
|
},
|
|
364
371
|
systemMessage: `Sensitive file access detected: ${filePath}. Requesting user confirmation.`
|
|
@@ -371,7 +378,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
371
378
|
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);
|
|
372
379
|
if (isUpdateTaskDone) {
|
|
373
380
|
try {
|
|
374
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
381
|
+
const { fastDbInit } = await import("../fast-db-init-WF6BDZ46.js");
|
|
375
382
|
const client = await fastDbInit();
|
|
376
383
|
const taskId = String(toolInput.task_id ?? "");
|
|
377
384
|
const ptScope = sessionScopeFilter();
|
|
@@ -400,7 +407,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
400
407
|
process.stderr.write(`[pre-tool-use] Review gate BLOCKED update_task(done) for task ${task.id}
|
|
401
408
|
`);
|
|
402
409
|
const output2 = JSON.stringify({
|
|
403
|
-
hookSpecificOutput: { permissionDecision: "deny" },
|
|
410
|
+
hookSpecificOutput: { hookEventName: "PreToolUse", permissionDecision: "deny" },
|
|
404
411
|
systemMessage: errorMsg
|
|
405
412
|
});
|
|
406
413
|
process.stdout.write(output2);
|
|
@@ -429,7 +436,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
429
436
|
}
|
|
430
437
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
431
438
|
try {
|
|
432
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
439
|
+
const { fastDbInit } = await import("../fast-db-init-WF6BDZ46.js");
|
|
433
440
|
const client = await fastDbInit();
|
|
434
441
|
const dlScope = sessionScopeFilter();
|
|
435
442
|
const result = await client.execute({
|
|
@@ -485,7 +492,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
485
492
|
`
|
|
486
493
|
);
|
|
487
494
|
const output = JSON.stringify({
|
|
488
|
-
hookSpecificOutput: { permissionDecision: "deny" },
|
|
495
|
+
hookSpecificOutput: { hookEventName: "PreToolUse", permissionDecision: "deny" },
|
|
489
496
|
systemMessage: `BLOCKED: ${reason}.
|
|
490
497
|
The exe-os database is encrypted and must ONLY be accessed through MCP tools.
|
|
491
498
|
If MCP is disconnected, tell the user: "MCP server is disconnected. Please run /mcp to reconnect."
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hybridSearch,
|
|
3
3
|
lightweightSearch
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-EM7QXDC2.js";
|
|
5
5
|
import {
|
|
6
6
|
initStore
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-NJR54FIF.js";
|
|
8
8
|
import "../chunk-CHCA3ZM2.js";
|
|
9
9
|
import "../chunk-MLCYKSTC.js";
|
|
10
10
|
import {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import "../chunk-F7LU65PQ.js";
|
|
19
19
|
import {
|
|
20
20
|
isExeSession
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-YUHKC2X2.js";
|
|
22
22
|
import "../chunk-X3ZMMUTS.js";
|
|
23
23
|
import "../chunk-QI4IXJN7.js";
|
|
24
24
|
import "../chunk-GKEEC3P7.js";
|
|
@@ -368,7 +368,7 @@ ${body}`;
|
|
|
368
368
|
let reviewContext = "";
|
|
369
369
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
370
370
|
try {
|
|
371
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
371
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-HNNUT3QB.js");
|
|
372
372
|
const sessionKey = getSessionKey();
|
|
373
373
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
374
374
|
let sessionScope;
|
|
@@ -425,7 +425,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
425
425
|
let coreMemoryContext = "";
|
|
426
426
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
427
427
|
try {
|
|
428
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
428
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-XQKOWOID.js");
|
|
429
429
|
const entries = await getCoreMemory(agent.agentId);
|
|
430
430
|
const block = formatCoreMemoryBlock(entries);
|
|
431
431
|
if (block) coreMemoryContext = block;
|
|
@@ -563,7 +563,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
563
563
|
let idleTaskContext = "";
|
|
564
564
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
565
565
|
try {
|
|
566
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
566
|
+
const { fastDbInit } = await import("../fast-db-init-WF6BDZ46.js");
|
|
567
567
|
const client = await fastDbInit();
|
|
568
568
|
let taskSessionScope = null;
|
|
569
569
|
if (inTmux) {
|
|
@@ -636,8 +636,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
636
636
|
return;
|
|
637
637
|
}
|
|
638
638
|
try {
|
|
639
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
640
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
639
|
+
const { fastDbInit } = await import("../fast-db-init-WF6BDZ46.js");
|
|
640
|
+
const { recordSessionEvent } = await import("../session-events-AKRECMTQ.js");
|
|
641
641
|
const client = await fastDbInit();
|
|
642
642
|
await recordSessionEvent(client, {
|
|
643
643
|
agentId: agent.agentId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-QBPEJKJ2.js";
|
|
4
4
|
import "../chunk-FLLCEGSL.js";
|
|
5
5
|
import "../chunk-X4QO5DXP.js";
|
|
6
6
|
import "../chunk-EF4PA3TY.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "../chunk-EFDIUJWC.js";
|
|
17
17
|
import {
|
|
18
18
|
strictSessionScopeFilter
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-YUHKC2X2.js";
|
|
20
20
|
import "../chunk-X3ZMMUTS.js";
|
|
21
21
|
import "../chunk-QI4IXJN7.js";
|
|
22
22
|
import "../chunk-GKEEC3P7.js";
|
|
@@ -262,7 +262,7 @@ process.stdin.on("end", async () => {
|
|
|
262
262
|
}
|
|
263
263
|
if (agent.agentId !== "default") {
|
|
264
264
|
try {
|
|
265
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
265
|
+
const { fastDbInit } = await import("../fast-db-init-WF6BDZ46.js");
|
|
266
266
|
const client = await fastDbInit();
|
|
267
267
|
const seScope = strictSessionScopeFilter();
|
|
268
268
|
const orphanResult = await client.execute({
|
|
@@ -383,7 +383,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
383
383
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
384
384
|
}
|
|
385
385
|
try {
|
|
386
|
-
const { writeNotification } = await import("../notifications-
|
|
386
|
+
const { writeNotification } = await import("../notifications-WDAAZ6FP.js");
|
|
387
387
|
await writeNotification({
|
|
388
388
|
agentId: agent.agentId,
|
|
389
389
|
agentRole: agent.agentRole,
|
|
@@ -36,7 +36,7 @@ process.stdin.on("end", async () => {
|
|
|
36
36
|
try {
|
|
37
37
|
const { getActiveAgent } = await import("../active-agent-JYQI3DAH.js");
|
|
38
38
|
const { getProjectName } = await import("../project-name-EWG5KAZP.js");
|
|
39
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
39
|
+
const { getCurrentSessionScope } = await import("../task-scope-IAIAQNYB.js");
|
|
40
40
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
41
41
|
const data = JSON.parse(input);
|
|
42
42
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -78,7 +78,7 @@ process.stdin.on("end", async () => {
|
|
|
78
78
|
}
|
|
79
79
|
if (!daemonDegraded) {
|
|
80
80
|
try {
|
|
81
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
81
|
+
const { fastDbInit } = await import("../fast-db-init-WF6BDZ46.js");
|
|
82
82
|
await fastDbInit();
|
|
83
83
|
} catch {
|
|
84
84
|
daemonDegraded = true;
|
|
@@ -163,7 +163,7 @@ You are **${ag.agentId}** (${ag.agentRole}). Daemon is degraded \u2014 memory un
|
|
|
163
163
|
query = `last actions on ${projectName}`;
|
|
164
164
|
header = "## Resuming Session\nHere's where you left off:";
|
|
165
165
|
try {
|
|
166
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
166
|
+
const { buildCatchupBrief } = await import("../catchup-brief-H6GBODF6.js");
|
|
167
167
|
const brief = await buildCatchupBrief(
|
|
168
168
|
agentId,
|
|
169
169
|
projectName,
|
|
@@ -188,7 +188,7 @@ The following files have been modified since you last read them:
|
|
|
188
188
|
query = `recent work on ${projectName}`;
|
|
189
189
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
190
190
|
}
|
|
191
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
191
|
+
const { queryTaskRows } = await import("../tasks-crud-M7YVS5F3.js");
|
|
192
192
|
const [memories, taskResult] = await Promise.all([
|
|
193
193
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
194
194
|
queryTaskRows({
|
|
@@ -252,7 +252,7 @@ ${wmContent}
|
|
|
252
252
|
}
|
|
253
253
|
if (agentId !== "default" && !daemonDegraded) {
|
|
254
254
|
try {
|
|
255
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
255
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-M7YVS5F3.js");
|
|
256
256
|
const checkpoint = await readLatestCheckpoint(agentId);
|
|
257
257
|
if (checkpoint) {
|
|
258
258
|
const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none recorded";
|
package/dist/hooks/stop.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-EFDIUJWC.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-YUHKC2X2.js";
|
|
8
8
|
import "../chunk-X3ZMMUTS.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-GKEEC3P7.js";
|
|
@@ -123,8 +123,8 @@ process.stdin.on("end", async () => {
|
|
|
123
123
|
process.exit(0);
|
|
124
124
|
}
|
|
125
125
|
try {
|
|
126
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
127
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
126
|
+
const { fastDbInit } = await import("../fast-db-init-WF6BDZ46.js");
|
|
127
|
+
const { recordSessionEvent } = await import("../session-events-AKRECMTQ.js");
|
|
128
128
|
const client = await fastDbInit();
|
|
129
129
|
await recordSessionEvent(client, {
|
|
130
130
|
agentId: agent.agentId,
|
|
@@ -160,7 +160,7 @@ process.stdin.on("end", async () => {
|
|
|
160
160
|
}
|
|
161
161
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
162
162
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
163
|
-
import("../fast-db-init-
|
|
163
|
+
import("../fast-db-init-WF6BDZ46.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
164
164
|
const stScope = sessionScopeFilter();
|
|
165
165
|
const tasks = await client.execute({
|
|
166
166
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -253,7 +253,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
253
253
|
} catch {
|
|
254
254
|
}
|
|
255
255
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
256
|
-
import("../fast-db-init-
|
|
256
|
+
import("../fast-db-init-WF6BDZ46.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
257
257
|
const orScope = sessionScopeFilter();
|
|
258
258
|
return client.execute({
|
|
259
259
|
sql: `SELECT title, status FROM tasks
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-EFDIUJWC.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-YUHKC2X2.js";
|
|
8
8
|
import "../chunk-X3ZMMUTS.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-GKEEC3P7.js";
|
|
@@ -60,7 +60,7 @@ process.stdin.on("end", async () => {
|
|
|
60
60
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
61
61
|
process.exit(0);
|
|
62
62
|
}
|
|
63
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
63
|
+
const { fastDbInit } = await import("../fast-db-init-WF6BDZ46.js");
|
|
64
64
|
const client = await fastDbInit();
|
|
65
65
|
const saScope = sessionScopeFilter();
|
|
66
66
|
const pendingResult = await client.execute({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-QBPEJKJ2.js";
|
|
4
4
|
import "../chunk-FLLCEGSL.js";
|
|
5
5
|
import "../chunk-X4QO5DXP.js";
|
|
6
6
|
import "../chunk-EF4PA3TY.js";
|
|
@@ -8,14 +8,14 @@ import "../chunk-LMSRF47U.js";
|
|
|
8
8
|
import {
|
|
9
9
|
initStore,
|
|
10
10
|
vectorToBlob
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-NJR54FIF.js";
|
|
12
12
|
import "../chunk-CHCA3ZM2.js";
|
|
13
13
|
import "../chunk-MLCYKSTC.js";
|
|
14
14
|
import "../chunk-F7LU65PQ.js";
|
|
15
15
|
import {
|
|
16
16
|
sessionScopeFilter,
|
|
17
17
|
writeNotification
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-YUHKC2X2.js";
|
|
19
19
|
import "../chunk-X3ZMMUTS.js";
|
|
20
20
|
import "../chunk-QI4IXJN7.js";
|
|
21
21
|
import "../chunk-GKEEC3P7.js";
|
|
@@ -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-WES7AMDA.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-WES7AMDA.js");
|
|
293
293
|
cleanupWorkerPid();
|
|
294
294
|
} catch {
|
|
295
295
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerImportConversations
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SVBCHRGC.js";
|
|
4
4
|
import "./chunk-Q2G5C3HV.js";
|
|
5
5
|
import "./chunk-5Y5I65H6.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-NJR54FIF.js";
|
|
7
7
|
import "./chunk-CHCA3ZM2.js";
|
|
8
8
|
import "./chunk-MLCYKSTC.js";
|
|
9
9
|
import "./chunk-EFDIUJWC.js";
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runtime_exports
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SQBRX5GZ.js";
|
|
4
|
+
import "./chunk-DBZI5HYX.js";
|
|
5
5
|
import "./chunk-YZFZDJWZ.js";
|
|
6
6
|
import "./chunk-AVE2B4DQ.js";
|
|
7
7
|
import "./chunk-NGVOA6ZQ.js";
|
|
@@ -11,7 +11,7 @@ import "./chunk-PRKVT4KN.js";
|
|
|
11
11
|
import "./chunk-HF25XPZE.js";
|
|
12
12
|
import "./chunk-O377P7GM.js";
|
|
13
13
|
import "./chunk-NERANZPH.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-YUHKC2X2.js";
|
|
15
15
|
import "./chunk-X3ZMMUTS.js";
|
|
16
16
|
import "./chunk-QI4IXJN7.js";
|
|
17
17
|
import "./chunk-GKEEC3P7.js";
|
|
@@ -27,20 +27,20 @@ import "./chunk-OPU3NYOO.js";
|
|
|
27
27
|
import "./chunk-GJV3WDWM.js";
|
|
28
28
|
import {
|
|
29
29
|
gateway_exports
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-RA3NCLXH.js";
|
|
31
31
|
import "./chunk-Q3V7K4ME.js";
|
|
32
32
|
import "./chunk-N5RRQOAC.js";
|
|
33
33
|
import "./chunk-ORCCI2VV.js";
|
|
34
34
|
import "./chunk-FLSASUV3.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-NIXZDSJF.js";
|
|
36
36
|
import "./chunk-ECSNSHZ7.js";
|
|
37
37
|
import "./chunk-RJT7H2KR.js";
|
|
38
38
|
import "./chunk-FWFFZGSC.js";
|
|
39
39
|
import "./chunk-ECGTESAP.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-G3RJSRAS.js";
|
|
41
|
+
import "./chunk-FSIPRNGL.js";
|
|
42
42
|
import "./chunk-YGAAZN3E.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-6MMKWEGK.js";
|
|
44
44
|
import "./chunk-ONKIWA3R.js";
|
|
45
45
|
import "./chunk-MP2AFCGL.js";
|
|
46
46
|
import "./chunk-MSSB6VBT.js";
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
selectUnconsolidated,
|
|
11
11
|
storeConsolidation,
|
|
12
12
|
sweepExpiredTraces
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-3GUGE4K2.js";
|
|
14
|
+
import "../chunk-NJR54FIF.js";
|
|
15
15
|
import "../chunk-CHCA3ZM2.js";
|
|
16
16
|
import "../chunk-MLCYKSTC.js";
|
|
17
17
|
import "../chunk-F7LU65PQ.js";
|
package/dist/lib/exe-daemon.js
CHANGED
|
@@ -2493,13 +2493,13 @@ async function ensureStoreForPolling() {
|
|
|
2493
2493
|
}
|
|
2494
2494
|
}
|
|
2495
2495
|
async function startReviewPolling() {
|
|
2496
|
-
const polling = await import("../review-polling-
|
|
2496
|
+
const polling = await import("../review-polling-W32O7SNH.js");
|
|
2497
2497
|
const state = {
|
|
2498
2498
|
lastIntercomSent: /* @__PURE__ */ new Map(),
|
|
2499
2499
|
lastNudgeSent: /* @__PURE__ */ new Map(),
|
|
2500
2500
|
intervalMs: REVIEW_POLL_INTERVAL_MS
|
|
2501
2501
|
};
|
|
2502
|
-
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-
|
|
2502
|
+
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-KCIQTAGO.js");
|
|
2503
2503
|
const nudgeState = loadNudgeState();
|
|
2504
2504
|
const tick = async () => traceDaemonTimer("review_polling", async () => {
|
|
2505
2505
|
fired("review_polling");
|
|
@@ -2541,7 +2541,7 @@ function startSessionTTL() {
|
|
|
2541
2541
|
if (!await ensureStoreForPolling()) return;
|
|
2542
2542
|
try {
|
|
2543
2543
|
const { getClient } = await import("./database.js");
|
|
2544
|
-
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-
|
|
2544
|
+
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-KCIQTAGO.js");
|
|
2545
2545
|
const deps = createSessionTTLRealDeps(getClient);
|
|
2546
2546
|
const killed = await checkSessionTTL(deps);
|
|
2547
2547
|
if (killed.length > 0) acted("session_ttl");
|
|
@@ -2590,7 +2590,7 @@ function startIdleKill() {
|
|
|
2590
2590
|
const cfg = await getCachedConfig();
|
|
2591
2591
|
if (!cfg) return;
|
|
2592
2592
|
const { getClient } = await import("./database.js");
|
|
2593
|
-
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-
|
|
2593
|
+
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-KCIQTAGO.js");
|
|
2594
2594
|
const liveSessions = (await getTmuxSessionsAsync()).filter((s) => s.includes("-"));
|
|
2595
2595
|
const [paneCache, aliveSessions] = await Promise.all([
|
|
2596
2596
|
batchCapturePanes(liveSessions, 5),
|
|
@@ -2817,7 +2817,7 @@ function startSkillRefinement() {
|
|
|
2817
2817
|
fired("skill_refinement");
|
|
2818
2818
|
try {
|
|
2819
2819
|
if (!await ensureStoreForPolling()) return;
|
|
2820
|
-
const { runSkillRefinement } = await import("../skill-refinement-
|
|
2820
|
+
const { runSkillRefinement } = await import("../skill-refinement-OIPE7QNX.js");
|
|
2821
2821
|
const result = await runSkillRefinement();
|
|
2822
2822
|
if (result.reviewed > 0) {
|
|
2823
2823
|
acted("skill_refinement");
|
|
@@ -3205,7 +3205,7 @@ function startOrphanReaper() {
|
|
|
3205
3205
|
const tick = async () => traceDaemonTimer("orphan_reaper", async () => {
|
|
3206
3206
|
fired("orphan_reaper");
|
|
3207
3207
|
try {
|
|
3208
|
-
const { reapOrphanedMcpProcesses, createOrphanReaperRealDeps } = await import("../daemon-orchestration-
|
|
3208
|
+
const { reapOrphanedMcpProcesses, createOrphanReaperRealDeps } = await import("../daemon-orchestration-KCIQTAGO.js");
|
|
3209
3209
|
const deps = createOrphanReaperRealDeps();
|
|
3210
3210
|
const reaped = await reapOrphanedMcpProcesses(deps);
|
|
3211
3211
|
if (reaped.length > 0) acted("orphan_reaper");
|
|
@@ -3229,7 +3229,7 @@ function startZombieAgentReaper() {
|
|
|
3229
3229
|
const tick = async () => traceDaemonTimer("zombie_agent_reaper", async () => {
|
|
3230
3230
|
fired("zombie_agent_reaper");
|
|
3231
3231
|
try {
|
|
3232
|
-
const { reapZombieAgentProcesses, createZombieAgentReaperRealDeps } = await import("../daemon-orchestration-
|
|
3232
|
+
const { reapZombieAgentProcesses, createZombieAgentReaperRealDeps } = await import("../daemon-orchestration-KCIQTAGO.js");
|
|
3233
3233
|
const deps = createZombieAgentReaperRealDeps();
|
|
3234
3234
|
const reaped = reapZombieAgentProcesses(deps);
|
|
3235
3235
|
if (reaped.length > 0) acted("zombie_agent_reaper");
|
|
@@ -3252,7 +3252,7 @@ function startWorktreeReaper() {
|
|
|
3252
3252
|
const tick = async () => traceDaemonTimer("worktree_reaper", async () => {
|
|
3253
3253
|
fired("worktree_reaper");
|
|
3254
3254
|
try {
|
|
3255
|
-
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-
|
|
3255
|
+
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-KCIQTAGO.js");
|
|
3256
3256
|
const deps = await createWorktreeReaperRealDeps();
|
|
3257
3257
|
const result = await reapOrphanedWorktrees(deps);
|
|
3258
3258
|
if (result.pruned.length > 0) {
|
|
@@ -3307,7 +3307,7 @@ function startStuckTaskRelease() {
|
|
|
3307
3307
|
if (!await ensureStoreForPolling()) return;
|
|
3308
3308
|
try {
|
|
3309
3309
|
const { getClient } = await import("./database.js");
|
|
3310
|
-
const { releaseStuckTasks, createStuckTaskRealDeps } = await import("../daemon-orchestration-
|
|
3310
|
+
const { releaseStuckTasks, createStuckTaskRealDeps } = await import("../daemon-orchestration-KCIQTAGO.js");
|
|
3311
3311
|
const deps = createStuckTaskRealDeps(getClient);
|
|
3312
3312
|
const released = await releaseStuckTasks(deps);
|
|
3313
3313
|
if (released.length > 0) {
|
|
@@ -3411,12 +3411,12 @@ function startTaskEnforcementScanner() {
|
|
|
3411
3411
|
const tick = async () => traceDaemonTimer("task_enforcement", async () => {
|
|
3412
3412
|
fired("task_enforcement");
|
|
3413
3413
|
try {
|
|
3414
|
-
const { runTaskEnforcementTick } = await import("../task-enforcement-
|
|
3414
|
+
const { runTaskEnforcementTick } = await import("../task-enforcement-PYP4NBI2.js");
|
|
3415
3415
|
const { getTransport } = await import("./transport.js");
|
|
3416
3416
|
const { loadAgentConfig } = await import("./agent-config.js");
|
|
3417
3417
|
const { getClient } = await import("./database.js");
|
|
3418
3418
|
const { loadEmployeesSync } = await import("./employees.js");
|
|
3419
|
-
const { sessionScopeFilter } = await import("../task-scope-
|
|
3419
|
+
const { sessionScopeFilter } = await import("../task-scope-IAIAQNYB.js");
|
|
3420
3420
|
const transport = getTransport();
|
|
3421
3421
|
const allSessions = (await getTmuxSessionsAsync()).filter((s) => s.includes("-"));
|
|
3422
3422
|
const [paneCache, aliveSessions] = await Promise.all([
|
|
@@ -4095,7 +4095,7 @@ try {
|
|
|
4095
4095
|
fired("task_group_barriers");
|
|
4096
4096
|
if (!await ensureStoreForPolling()) return;
|
|
4097
4097
|
try {
|
|
4098
|
-
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-
|
|
4098
|
+
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-KCIQTAGO.js");
|
|
4099
4099
|
const firedCount = await pollTaskGroupBarriers();
|
|
4100
4100
|
if (firedCount > 0) {
|
|
4101
4101
|
acted("task_group_barriers");
|
|
@@ -4117,7 +4117,7 @@ try {
|
|
|
4117
4117
|
fired("checkpoint_gc");
|
|
4118
4118
|
if (!await ensureStoreForPolling()) return;
|
|
4119
4119
|
try {
|
|
4120
|
-
const { gcStaleCheckpoints } = await import("../daemon-orchestration-
|
|
4120
|
+
const { gcStaleCheckpoints } = await import("../daemon-orchestration-KCIQTAGO.js");
|
|
4121
4121
|
const cleared = await gcStaleCheckpoints();
|
|
4122
4122
|
if (cleared > 0) {
|
|
4123
4123
|
acted("checkpoint_gc");
|
|
@@ -4201,7 +4201,7 @@ try {
|
|
|
4201
4201
|
fired("orphan_task_cleanup");
|
|
4202
4202
|
try {
|
|
4203
4203
|
if (!await ensureStoreForPolling()) return;
|
|
4204
|
-
const { cleanOrphanedTaskFiles, checkTaskFileConsistency } = await import("../tasks-crud-
|
|
4204
|
+
const { cleanOrphanedTaskFiles, checkTaskFileConsistency } = await import("../tasks-crud-M7YVS5F3.js");
|
|
4205
4205
|
const count = await cleanOrphanedTaskFiles();
|
|
4206
4206
|
if (count > 0) {
|
|
4207
4207
|
acted("orphan_task_cleanup");
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
recentRecords,
|
|
6
6
|
rrfMerge,
|
|
7
7
|
rrfMergeMulti
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-EM7QXDC2.js";
|
|
9
|
+
import "../chunk-NJR54FIF.js";
|
|
10
10
|
import "../chunk-CHCA3ZM2.js";
|
|
11
11
|
import "../chunk-MLCYKSTC.js";
|
|
12
12
|
import "../chunk-F7LU65PQ.js";
|
package/dist/lib/messaging.js
CHANGED
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
retryPendingMessages,
|
|
13
13
|
sendMessage,
|
|
14
14
|
setWsClientSend
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-F65CKSBB.js";
|
|
16
|
+
import "../chunk-YUHKC2X2.js";
|
|
17
17
|
import "../chunk-X3ZMMUTS.js";
|
|
18
18
|
import "../chunk-QI4IXJN7.js";
|
|
19
19
|
import "../chunk-GKEEC3P7.js";
|
package/dist/lib/schedules.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
deleteSchedule,
|
|
4
4
|
listSchedules,
|
|
5
5
|
parseHumanCron
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-XISG35R2.js";
|
|
7
|
+
import "../chunk-NJR54FIF.js";
|
|
8
8
|
import "../chunk-CHCA3ZM2.js";
|
|
9
9
|
import "../chunk-MLCYKSTC.js";
|
|
10
10
|
import "../chunk-F7LU65PQ.js";
|
package/dist/lib/store.js
CHANGED
package/dist/lib/tasks.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createTask,
|
|
3
3
|
deleteTask,
|
|
4
4
|
updateTask
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-ILAG5VBR.js";
|
|
6
6
|
import {
|
|
7
7
|
cleanupOrphanedReviews,
|
|
8
8
|
countNewPendingReviewsSince,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
slugify,
|
|
20
20
|
updateTaskStatus,
|
|
21
21
|
writeCheckpoint
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-YUHKC2X2.js";
|
|
23
23
|
import "../chunk-X3ZMMUTS.js";
|
|
24
24
|
import "../chunk-QI4IXJN7.js";
|
|
25
25
|
import "../chunk-GKEEC3P7.js";
|