@askexenow/exe-os 0.9.332 → 0.9.335
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-FDQVVGRQ.js → backfill-metadata-7JFKICS3.js} +1 -1
- package/dist/{behaviors-SAS6JALZ.js → behaviors-QTG3MHDO.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 +4 -4
- package/dist/bin/cli.js +6 -6
- package/dist/bin/deferred-daemon-restart.js +34 -34
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +8 -8
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +4 -4
- 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 +4 -4
- package/dist/bin/exe-kill.js +6 -6
- package/dist/bin/exe-launch-agent.js +7 -7
- package/dist/bin/exe-pending-messages.js +5 -5
- package/dist/bin/exe-pending-notifications.js +4 -4
- package/dist/bin/exe-pending-reviews.js +4 -4
- package/dist/bin/exe-review.js +5 -5
- package/dist/bin/exe-search.js +2 -2
- package/dist/bin/exe-session-cleanup.js +7 -7
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +4 -4
- package/dist/bin/exe-start-opencode.js +3 -3
- package/dist/bin/exe-status.js +5 -5
- package/dist/bin/exe-team.js +1 -1
- package/dist/bin/git-sweep.js +5 -5
- 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 +34 -34
- 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 +4 -4
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{capacity-monitor-I6TX3OZA.js → capacity-monitor-4U2Y7CSW.js} +5 -5
- package/dist/{catchup-brief-RAZTRECT.js → catchup-brief-LFSFSDBA.js} +5 -5
- package/dist/{chunk-BST5NSJC.js → chunk-2OZMCTYQ.js} +1 -1
- package/dist/{chunk-RGBABIFH.js → chunk-54X2PQBA.js} +3 -3
- package/dist/{chunk-MPUIO6GF.js → chunk-5ZG2JMZH.js} +1 -1
- package/dist/{chunk-OXZHAERM.js → chunk-6L4LI4VQ.js} +1 -1
- package/dist/{chunk-7YTO3LHB.js → chunk-6UJ4CX5L.js} +2 -2
- package/dist/{chunk-JRRNRSZC.js → chunk-75L2YCD4.js} +1 -1
- package/dist/{chunk-L6CLX2QF.js → chunk-AQGBOSA4.js} +1 -1
- package/dist/{chunk-LB5B4NJ6.js → chunk-D2527Q5Y.js} +1 -1
- package/dist/{chunk-YSU4JO3J.js → chunk-ESIZMMWY.js} +1 -1
- package/dist/chunk-FLNSJ2TC.js +23 -0
- package/dist/{chunk-CDVA67B2.js → chunk-GFWND35H.js} +21 -0
- package/dist/{chunk-TK7ZDWU3.js → chunk-H5C4PS64.js} +2 -2
- package/dist/{chunk-267TDVN7.js → chunk-I33GPQUB.js} +1 -1
- package/dist/{chunk-OIMQGA62.js → chunk-J6REQ7CV.js} +1 -1
- package/dist/{chunk-HRUI3Q42.js → chunk-JEDQHPPC.js} +2 -2
- package/dist/{chunk-QUZ4VK3R.js → chunk-JKSK4VFX.js} +1 -1
- package/dist/{chunk-QGVXUTHX.js → chunk-LK5RBBMQ.js} +1 -1
- package/dist/{chunk-JRTJKLON.js → chunk-QFNRI3PS.js} +2 -2
- package/dist/{chunk-EC4O5ITE.js → chunk-QLZ3HCNN.js} +1 -1
- package/dist/{chunk-HG7ZX2UT.js → chunk-QYTUXYAM.js} +51 -51
- package/dist/{chunk-2ES3ACCO.js → chunk-RGHT5J2L.js} +4 -4
- package/dist/{chunk-N2J6FWMQ.js → chunk-ROHUOHJI.js} +2 -2
- package/dist/{chunk-IVN7UUKK.js → chunk-SDZ654BU.js} +6 -6
- package/dist/{chunk-M6E76DMO.js → chunk-SRGBHZ3H.js} +1 -1
- package/dist/{chunk-6AY7VXSF.js → chunk-U6M5C3MB.js} +6 -6
- package/dist/{chunk-OEA44GCC.js → chunk-U7N2GEBI.js} +1 -1
- package/dist/{chunk-TQM7RGOB.js → chunk-UDX46CNG.js} +2 -2
- package/dist/{chunk-SNJEQPPA.js → chunk-UWT664G5.js} +1 -1
- package/dist/{chunk-KNLQAVLI.js → chunk-VAEYG5V5.js} +2 -2
- package/dist/{chunk-FZQBWOIB.js → chunk-VI7I6K4G.js} +2 -2
- package/dist/{chunk-YFYUNROP.js → chunk-VINX2BZI.js} +1 -1
- package/dist/{chunk-4X3VWI22.js → chunk-VST5V263.js} +1 -1
- package/dist/{chunk-5CZ2ZH6L.js → chunk-VXSORLMJ.js} +1 -1
- package/dist/{chunk-3PHTJIC3.js → chunk-WI3T3GTH.js} +1 -1
- package/dist/{chunk-3KAYKHVB.js → chunk-X3VIRILN.js} +10 -87
- package/dist/{chunk-ZJSH3L6R.js → chunk-X5EGTW2P.js} +1 -1
- package/dist/{chunk-YDUS2DFZ.js → chunk-XA753DUQ.js} +1 -1
- package/dist/{chunk-J53PHGGC.js → chunk-XMVEGUPC.js} +1 -1
- package/dist/{chunk-NUPU7TRA.js → chunk-ZA7NMOTA.js} +1 -1
- package/dist/{chunk-B3ZUS3UU.js → chunk-ZHKMRKH3.js} +1 -1
- package/dist/{chunk-T5JJBIUB.js → chunk-ZWIYJV2F.js} +5 -5
- package/dist/{cleanup-graph-garbage-6QGLERF2.js → cleanup-graph-garbage-OP7NAXDZ.js} +1 -1
- package/dist/{crm-webhook-DHFRIRLN.js → crm-webhook-REDANIV7.js} +2 -2
- package/dist/{cto-delegation-gate-Z7UVTVYO.js → cto-delegation-gate-HN3J76UI.js} +3 -3
- package/dist/{daemon-orchestration-XWDFUFJG.js → daemon-orchestration-KIAYDBWN.js} +7 -7
- package/dist/daemon-ready-5XI5BIJD.js +7 -0
- package/dist/{documents-OMKCMWR7.js → documents-J4MQBIYZ.js} +2 -2
- package/dist/{dreaming-SDFWY5FY.js → dreaming-RCAAKENX.js} +4 -4
- package/dist/{exe-export-BY6IFTEP.js → exe-export-Z626JBSJ.js} +3 -3
- package/dist/{exe-import-55UKB2X7.js → exe-import-47MHFJUB.js} +3 -3
- package/dist/{exe-key-F3BM5GEW.js → exe-key-RLMYYUTW.js} +34 -34
- package/dist/{exe-snapshot-RGIJJ2ZX.js → exe-snapshot-VHSZP5VK.js} +6 -6
- package/dist/{fast-db-init-OZDG42SZ.js → fast-db-init-KIS7XQO5.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/hooks/bug-report-worker.js +6 -6
- package/dist/hooks/codex-stop-task-finalizer.js +6 -6
- package/dist/hooks/commit-complete.js +6 -6
- 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 +4 -4
- package/dist/hooks/post-tool-combined.js +2 -2
- package/dist/hooks/pre-compact.js +5 -5
- package/dist/hooks/pre-tool-use.js +8 -8
- package/dist/hooks/prompt-submit.js +36 -39
- package/dist/hooks/session-end.js +7 -7
- package/dist/hooks/session-start.js +9 -28
- package/dist/hooks/stop.js +7 -7
- package/dist/hooks/subagent-stop.js +4 -4
- package/dist/hooks/summary-worker.js +7 -7
- package/dist/index.js +11 -11
- package/dist/{intercom-queue-JFBMDV6J.js → intercom-queue-XJ3RTJ2C.js} +3 -3
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/exe-daemon.js +31 -31
- package/dist/lib/hybrid-search.js +2 -2
- package/dist/lib/messaging.js +4 -4
- 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 +5 -5
- package/dist/lib/tmux-routing.js +3 -3
- package/dist/mcp/register-tools.js +33 -33
- package/dist/mcp/server.js +34 -34
- package/dist/mcp/tools/create-task.js +6 -6
- package/dist/mcp/tools/deactivate-behavior.js +3 -3
- package/dist/mcp/tools/list-tasks.js +6 -6
- package/dist/mcp/tools/send-message.js +5 -5
- package/dist/mcp/tools/update-task.js +6 -6
- package/dist/{memory-cards-7YIZUWSJ.js → memory-cards-E5O4IPYV.js} +1 -1
- package/dist/{memory-pressure-watchdog-MZWX4YIA.js → memory-pressure-watchdog-4RVYB2JC.js} +4 -4
- package/dist/{notifications-42Z4ZRNV.js → notifications-LDDVXMH7.js} +3 -3
- package/dist/{orchestrator-ALAA4P6M.js → orchestrator-UFYOUXGZ.js} +4 -4
- package/dist/{pipeline-router-F226AZRB.js → pipeline-router-PLYAEQN7.js} +1 -1
- package/dist/{projection-worker-UL2HHHPO.js → projection-worker-N4KVTVZE.js} +1 -1
- package/dist/{reranker-G24KWZKH.js → reranker-267LQRRT.js} +1 -1
- package/dist/{review-polling-REHBTRU6.js → review-polling-4IFCCPGQ.js} +4 -4
- package/dist/runtime/index.js +5 -5
- package/dist/{session-events-F3DPBY4P.js → session-events-CVNW7DBW.js} +4 -4
- package/dist/{session-kill-telemetry-USNB6ND7.js → session-kill-telemetry-56HNNXLH.js} +4 -4
- package/dist/{session-scope-CJQE4LVB.js → session-scope-RMKL6YLU.js} +3 -3
- package/dist/{setup-wizard-S6XYW2WH.js → setup-wizard-L6JMCB33.js} +1 -1
- package/dist/{skill-refinement-XXYCXA2U.js → skill-refinement-FA5DM3NA.js} +1 -1
- package/dist/{task-enforcement-ZKB2VZ6W.js → task-enforcement-XO6CYQVG.js} +4 -4
- package/dist/{task-scope-CATQQNVX.js → task-scope-7BWIG4G3.js} +3 -3
- package/dist/{tasks-crud-RDWLWYWV.js → tasks-crud-IW3ZBFHL.js} +3 -3
- package/dist/{tasks-notify-CKT5A6WK.js → tasks-notify-MOSUAR3U.js} +4 -4
- package/dist/{tasks-review-UXWXJ6H3.js → tasks-review-S2IYB6AA.js} +3 -3
- package/dist/{telemetry-upload-UUJULBSV.js → telemetry-upload-IG4AGZFK.js} +1 -1
- package/dist/tui/App.js +9 -9
- package/dist/{tui-data-7SQLIY2O.js → tui-data-KCMCI6Z5.js} +3 -3
- package/dist/{worker-gate-2O27EXUE.js → worker-gate-YY7OZOJH.js} +1 -1
- package/dist/{workflow-engine-QGSEQV2Z.js → workflow-engine-TZW4ZQV3.js} +2 -2
- package/dist/{worktree-3RKV6KQO.js → worktree-WF7X43XI.js} +1 -1
- package/dist/{worktree-sweep-PYREGLPP.js → worktree-sweep-QOAXY6CT.js} +2 -2
- package/package.json +3 -3
- package/release-notes.json +6 -3
- /package/dist/{chunk-BAXNI3A5.js → chunk-45AA4HOH.js} +0 -0
- /package/dist/{chunk-YWIOFMHL.js → chunk-6A5DGGRT.js} +0 -0
- /package/dist/{chunk-26GM62C3.js → chunk-FXS5YIK5.js} +0 -0
- /package/dist/{chunk-3HIYBZ62.js → chunk-NF2OBCEI.js} +0 -0
- /package/dist/{chunk-G3UK4TTT.js → chunk-OMJH4DQ7.js} +0 -0
- /package/dist/{chunk-VYLDGF4D.js → chunk-S4Y5YXPX.js} +0 -0
- /package/dist/{core-memory-KMBRE2HU.js → core-memory-HCJMR32C.js} +0 -0
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
waitForDaemonReady
|
|
3
|
+
} from "../chunk-FLNSJ2TC.js";
|
|
1
4
|
import {
|
|
2
5
|
loadConfigSync
|
|
3
6
|
} from "../chunk-7Y5UDEVM.js";
|
|
@@ -7,28 +10,6 @@ import "../chunk-MLKGABMK.js";
|
|
|
7
10
|
// src/adapters/claude/hooks/session-start.ts
|
|
8
11
|
import path from "path";
|
|
9
12
|
import { unlinkSync, existsSync, readFileSync } from "fs";
|
|
10
|
-
|
|
11
|
-
// src/lib/daemon-ready.ts
|
|
12
|
-
async function defaultPing() {
|
|
13
|
-
const { pingDaemon } = await import("../lib/exe-daemon-client.js");
|
|
14
|
-
return pingDaemon();
|
|
15
|
-
}
|
|
16
|
-
var sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
17
|
-
async function waitForDaemonReady(attempts = 3, delayMs = 600, ping = defaultPing) {
|
|
18
|
-
for (let i = 0; i < attempts; i++) {
|
|
19
|
-
try {
|
|
20
|
-
const health = await ping();
|
|
21
|
-
if (health) return true;
|
|
22
|
-
} catch {
|
|
23
|
-
}
|
|
24
|
-
if (i < attempts - 1) {
|
|
25
|
-
await sleep(delayMs);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return false;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// src/adapters/claude/hooks/session-start.ts
|
|
32
13
|
process.on("uncaughtException", (err) => {
|
|
33
14
|
console.error(`[exe-os:hook:session-start] FATAL: ${err instanceof Error ? err.stack ?? err.message : String(err)}`);
|
|
34
15
|
process.exit(1);
|
|
@@ -76,7 +57,7 @@ process.stdin.on("end", async () => {
|
|
|
76
57
|
try {
|
|
77
58
|
const { getActiveAgent } = await import("../active-agent-GXV65DNN.js");
|
|
78
59
|
const { getProjectName } = await import("../project-name-EWG5KAZP.js");
|
|
79
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
60
|
+
const { getCurrentSessionScope } = await import("../task-scope-7BWIG4G3.js");
|
|
80
61
|
const { canCoordinate, loadEmployeesSync } = await import("../lib/employees.js");
|
|
81
62
|
const data = JSON.parse(input);
|
|
82
63
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -135,12 +116,12 @@ process.stdin.on("end", async () => {
|
|
|
135
116
|
}
|
|
136
117
|
if (!daemonDegraded) {
|
|
137
118
|
try {
|
|
138
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
119
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
139
120
|
await fastDbInit();
|
|
140
121
|
} catch {
|
|
141
122
|
try {
|
|
142
123
|
await new Promise((resolve) => setTimeout(resolve, 750));
|
|
143
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
124
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
144
125
|
await fastDbInit();
|
|
145
126
|
} catch {
|
|
146
127
|
daemonDegraded = true;
|
|
@@ -226,7 +207,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
226
207
|
query = `last actions on ${projectName}`;
|
|
227
208
|
header = "## Resuming Session\nHere's where you left off:";
|
|
228
209
|
try {
|
|
229
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
210
|
+
const { buildCatchupBrief } = await import("../catchup-brief-LFSFSDBA.js");
|
|
230
211
|
const brief = await buildCatchupBrief(
|
|
231
212
|
agentId,
|
|
232
213
|
projectName,
|
|
@@ -251,7 +232,7 @@ The following files have been modified since you last read them:
|
|
|
251
232
|
query = `recent work on ${projectName}`;
|
|
252
233
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
253
234
|
}
|
|
254
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
235
|
+
const { queryTaskRows } = await import("../tasks-crud-IW3ZBFHL.js");
|
|
255
236
|
const [memories, taskResult] = await Promise.all([
|
|
256
237
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
257
238
|
queryTaskRows({
|
|
@@ -346,7 +327,7 @@ ${wmContent}
|
|
|
346
327
|
`;
|
|
347
328
|
if (agentId !== "default" && !daemonDegraded) {
|
|
348
329
|
try {
|
|
349
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
330
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-IW3ZBFHL.js");
|
|
350
331
|
const checkpoint = await readLatestCheckpoint(agentId);
|
|
351
332
|
if (checkpoint) {
|
|
352
333
|
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-X3VIRILN.js";
|
|
8
8
|
import "../chunk-YYKY45TM.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-UWT664G5.js";
|
|
10
|
+
import "../chunk-45AA4HOH.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-KIS7XQO5.js");
|
|
157
|
+
const { recordSessionEvent } = await import("../session-events-CVNW7DBW.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-KIS7XQO5.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-KIS7XQO5.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-X3VIRILN.js";
|
|
11
11
|
import "../chunk-YYKY45TM.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-UWT664G5.js";
|
|
13
|
+
import "../chunk-45AA4HOH.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-KIS7XQO5.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-6A5DGGRT.js";
|
|
4
4
|
import {
|
|
5
5
|
initStore,
|
|
6
6
|
vectorToBlob
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-J6REQ7CV.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-X3VIRILN.js";
|
|
17
17
|
import "../chunk-YYKY45TM.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-UWT664G5.js";
|
|
19
|
+
import "../chunk-45AA4HOH.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-YY7OZOJH.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-YY7OZOJH.js");
|
|
345
345
|
cleanupWorkerPid();
|
|
346
346
|
} catch {
|
|
347
347
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runtime_exports
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RGHT5J2L.js";
|
|
4
4
|
import "./chunk-FAVEOPZD.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-ZA7NMOTA.js";
|
|
6
6
|
import "./chunk-YZFZDJWZ.js";
|
|
7
7
|
import "./chunk-NGVOA6ZQ.js";
|
|
8
8
|
import "./chunk-CMCYL2JC.js";
|
|
@@ -14,23 +14,23 @@ import "./chunk-O377P7GM.js";
|
|
|
14
14
|
import "./chunk-RKBVTCPY.js";
|
|
15
15
|
import {
|
|
16
16
|
gateway_exports
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-UDX46CNG.js";
|
|
18
|
+
import "./chunk-SRGBHZ3H.js";
|
|
19
19
|
import "./chunk-ECSNSHZ7.js";
|
|
20
20
|
import "./chunk-RJT7H2KR.js";
|
|
21
21
|
import "./chunk-Q3V7K4ME.js";
|
|
22
22
|
import "./chunk-N5RRQOAC.js";
|
|
23
23
|
import "./chunk-ORCCI2VV.js";
|
|
24
24
|
import "./chunk-2SRG3B3D.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-VI7I6K4G.js";
|
|
26
|
+
import "./chunk-VXSORLMJ.js";
|
|
27
|
+
import "./chunk-FXS5YIK5.js";
|
|
28
28
|
import "./chunk-FWFFZGSC.js";
|
|
29
29
|
import "./chunk-ECGTESAP.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-X3VIRILN.js";
|
|
31
31
|
import "./chunk-YYKY45TM.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-UWT664G5.js";
|
|
33
|
+
import "./chunk-45AA4HOH.js";
|
|
34
34
|
import "./chunk-EIKATSE4.js";
|
|
35
35
|
import "./chunk-E23LNUWJ.js";
|
|
36
36
|
import "./chunk-4JERP7NT.js";
|
|
@@ -53,7 +53,7 @@ import "./chunk-NLEW62VC.js";
|
|
|
53
53
|
import "./chunk-HYZV25LY.js";
|
|
54
54
|
import "./chunk-GJV3WDWM.js";
|
|
55
55
|
import "./chunk-YGAAZN3E.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-S4Y5YXPX.js";
|
|
57
57
|
import "./chunk-ML4S5SHZ.js";
|
|
58
58
|
import "./chunk-MP2AFCGL.js";
|
|
59
59
|
import "./chunk-BIM763ML.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
drainQueue,
|
|
6
6
|
queueIntercom,
|
|
7
7
|
readQueue
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-X3VIRILN.js";
|
|
9
9
|
import "./chunk-YYKY45TM.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-UWT664G5.js";
|
|
11
|
+
import "./chunk-45AA4HOH.js";
|
|
12
12
|
import "./chunk-EIKATSE4.js";
|
|
13
13
|
import "./chunk-E23LNUWJ.js";
|
|
14
14
|
import "./chunk-4JERP7NT.js";
|
package/dist/lib/cloud-sync.js
CHANGED
|
@@ -51,13 +51,13 @@ import {
|
|
|
51
51
|
pushToPostgres,
|
|
52
52
|
recordRosterDeletion,
|
|
53
53
|
shouldUseCrdtMergeForCloudSync
|
|
54
|
-
} from "../chunk-
|
|
54
|
+
} from "../chunk-I33GPQUB.js";
|
|
55
55
|
import "../chunk-JMGYZLJX.js";
|
|
56
|
-
import "../chunk-
|
|
56
|
+
import "../chunk-JKSK4VFX.js";
|
|
57
57
|
import "../chunk-LO6L5ADL.js";
|
|
58
58
|
import "../chunk-UCQITDLM.js";
|
|
59
59
|
import "../chunk-QGGH7LOU.js";
|
|
60
|
-
import "../chunk-
|
|
60
|
+
import "../chunk-J6REQ7CV.js";
|
|
61
61
|
import "../chunk-CHCA3ZM2.js";
|
|
62
62
|
import "../chunk-OTVEIJUQ.js";
|
|
63
63
|
import "../chunk-66RCRDIF.js";
|
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
selectUnconsolidated,
|
|
12
12
|
storeConsolidation,
|
|
13
13
|
sweepExpiredTraces
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-QLZ3HCNN.js";
|
|
15
15
|
import "../chunk-7UMCQQWS.js";
|
|
16
16
|
import "../chunk-Z6BZQHP5.js";
|
|
17
17
|
import "../chunk-GUMRIUI5.js";
|
|
18
18
|
import "../chunk-VGMACSEV.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-J6REQ7CV.js";
|
|
20
20
|
import "../chunk-CHCA3ZM2.js";
|
|
21
21
|
import "../chunk-OTVEIJUQ.js";
|
|
22
22
|
import "../chunk-66RCRDIF.js";
|
package/dist/lib/exe-daemon.js
CHANGED
|
@@ -1319,7 +1319,7 @@ async function loadModel() {
|
|
|
1319
1319
|
void (async () => {
|
|
1320
1320
|
try {
|
|
1321
1321
|
if (_storeInitialized) {
|
|
1322
|
-
const { writeNotification } = await import("../notifications-
|
|
1322
|
+
const { writeNotification } = await import("../notifications-LDDVXMH7.js");
|
|
1323
1323
|
await writeNotification({
|
|
1324
1324
|
agentId: "exe",
|
|
1325
1325
|
agentRole: "system",
|
|
@@ -1435,7 +1435,7 @@ function disableEmbeddingsForInferenceTimeouts() {
|
|
|
1435
1435
|
void (async () => {
|
|
1436
1436
|
try {
|
|
1437
1437
|
if (_storeInitialized) {
|
|
1438
|
-
const { writeNotification } = await import("../notifications-
|
|
1438
|
+
const { writeNotification } = await import("../notifications-LDDVXMH7.js");
|
|
1439
1439
|
await writeNotification({
|
|
1440
1440
|
agentId: "exe",
|
|
1441
1441
|
agentRole: "system",
|
|
@@ -1677,7 +1677,7 @@ async function shutdown(exitCode = 0) {
|
|
|
1677
1677
|
`);
|
|
1678
1678
|
}
|
|
1679
1679
|
try {
|
|
1680
|
-
const { stopProjectionWorker } = await import("../projection-worker-
|
|
1680
|
+
const { stopProjectionWorker } = await import("../projection-worker-N4KVTVZE.js");
|
|
1681
1681
|
stopProjectionWorker();
|
|
1682
1682
|
} catch {
|
|
1683
1683
|
}
|
|
@@ -1743,7 +1743,7 @@ async function handleHealthCheck(socket, requestId) {
|
|
|
1743
1743
|
let pipelineStatus = "unknown";
|
|
1744
1744
|
if (dbConnected) {
|
|
1745
1745
|
try {
|
|
1746
|
-
await import("../pipeline-router-
|
|
1746
|
+
await import("../pipeline-router-PLYAEQN7.js");
|
|
1747
1747
|
pipelineStatus = "ok";
|
|
1748
1748
|
} catch {
|
|
1749
1749
|
pipelineStatus = "unavailable";
|
|
@@ -3946,13 +3946,13 @@ async function ensureStoreForPolling() {
|
|
|
3946
3946
|
}
|
|
3947
3947
|
}
|
|
3948
3948
|
async function startReviewPolling() {
|
|
3949
|
-
const polling = await import("../review-polling-
|
|
3949
|
+
const polling = await import("../review-polling-4IFCCPGQ.js");
|
|
3950
3950
|
const state = {
|
|
3951
3951
|
lastIntercomSent: /* @__PURE__ */ new Map(),
|
|
3952
3952
|
lastNudgeSent: /* @__PURE__ */ new Map(),
|
|
3953
3953
|
intervalMs: REVIEW_POLL_INTERVAL_MS
|
|
3954
3954
|
};
|
|
3955
|
-
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-
|
|
3955
|
+
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-KIAYDBWN.js");
|
|
3956
3956
|
const nudgeState = loadNudgeState();
|
|
3957
3957
|
const tick = async () => traceDaemonTimer("review_polling", async () => {
|
|
3958
3958
|
fired("review_polling");
|
|
@@ -3996,7 +3996,7 @@ function startSessionTTL() {
|
|
|
3996
3996
|
if (!await ensureStoreForPolling()) return;
|
|
3997
3997
|
try {
|
|
3998
3998
|
const { getClient } = await import("./database.js");
|
|
3999
|
-
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-
|
|
3999
|
+
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-KIAYDBWN.js");
|
|
4000
4000
|
const deps = createSessionTTLRealDeps(getClient);
|
|
4001
4001
|
const killed = await checkSessionTTL(deps);
|
|
4002
4002
|
if (killed.length > 0) acted("session_ttl");
|
|
@@ -4044,7 +4044,7 @@ function startIdleKill() {
|
|
|
4044
4044
|
const cfg = await getCachedConfig();
|
|
4045
4045
|
if (!cfg) return;
|
|
4046
4046
|
const { getClient } = await import("./database.js");
|
|
4047
|
-
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-
|
|
4047
|
+
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-KIAYDBWN.js");
|
|
4048
4048
|
const { sessions: liveSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
|
|
4049
4049
|
const realDeps = createIdleKillRealDeps(
|
|
4050
4050
|
getClient,
|
|
@@ -4350,7 +4350,7 @@ function startSkillRefinement() {
|
|
|
4350
4350
|
if (!shouldRunHeavyJob("skill_refinement")) return;
|
|
4351
4351
|
try {
|
|
4352
4352
|
if (!await ensureStoreForPolling()) return;
|
|
4353
|
-
const { runSkillRefinement } = await import("../skill-refinement-
|
|
4353
|
+
const { runSkillRefinement } = await import("../skill-refinement-FA5DM3NA.js");
|
|
4354
4354
|
const result = await runSkillRefinement();
|
|
4355
4355
|
if (result.reviewed > 0) {
|
|
4356
4356
|
acted("skill_refinement");
|
|
@@ -4376,7 +4376,7 @@ function startStaleBranchSweep() {
|
|
|
4376
4376
|
const tick = async () => {
|
|
4377
4377
|
fired("stale_branch_sweep");
|
|
4378
4378
|
try {
|
|
4379
|
-
const { discoverRepoPaths } = await import("../worktree-sweep-
|
|
4379
|
+
const { discoverRepoPaths } = await import("../worktree-sweep-QOAXY6CT.js");
|
|
4380
4380
|
const { scanUnmergedBranches } = await import("../branch-hygiene-55TKIWAZ.js");
|
|
4381
4381
|
const today = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
4382
4382
|
for (const k of _staleBranchAlertedToday) {
|
|
@@ -4403,7 +4403,7 @@ function startStaleBranchSweep() {
|
|
|
4403
4403
|
if (!_storeInitialized) continue;
|
|
4404
4404
|
const stale = scan.branches.filter((b) => b.ageHours >= STALE_BRANCH_HOURS).slice(0, 5).map((b) => `${b.name} (+${b.ahead} commits, ${(b.ageHours / 24).toFixed(1)}d)`).join("; ");
|
|
4405
4405
|
try {
|
|
4406
|
-
const { writeNotification } = await import("../notifications-
|
|
4406
|
+
const { writeNotification } = await import("../notifications-LDDVXMH7.js");
|
|
4407
4407
|
await writeNotification({
|
|
4408
4408
|
agentId: "exe",
|
|
4409
4409
|
agentRole: "system",
|
|
@@ -4901,7 +4901,7 @@ function startReflectionSweep() {
|
|
|
4901
4901
|
if (memories > 100 && cards < memories * 0.1) {
|
|
4902
4902
|
process.stderr.write(`[exed] Memory cards sparse (${cards} cards / ${memories} memories) \u2014 running backfill...
|
|
4903
4903
|
`);
|
|
4904
|
-
const { insertMemoryCardsForBatch } = await import("../memory-cards-
|
|
4904
|
+
const { insertMemoryCardsForBatch } = await import("../memory-cards-E5O4IPYV.js");
|
|
4905
4905
|
const batchSize = 500;
|
|
4906
4906
|
let offset = 0;
|
|
4907
4907
|
let totalCards = 0;
|
|
@@ -5015,7 +5015,7 @@ function startSessionEventsRetention() {
|
|
|
5015
5015
|
if (!await ensureStoreForPolling()) return;
|
|
5016
5016
|
try {
|
|
5017
5017
|
const { getClient } = await import("./database.js");
|
|
5018
|
-
const { sweepExpiredSessionEvents, DEFAULT_SESSION_EVENTS_RETENTION_DAYS } = await import("../session-events-
|
|
5018
|
+
const { sweepExpiredSessionEvents, DEFAULT_SESSION_EVENTS_RETENTION_DAYS } = await import("../session-events-CVNW7DBW.js");
|
|
5019
5019
|
const days = SESSION_EVENTS_RETENTION_DAYS ?? DEFAULT_SESSION_EVENTS_RETENTION_DAYS;
|
|
5020
5020
|
const count = await sweepExpiredSessionEvents(getClient(), days);
|
|
5021
5021
|
if (count > 0) {
|
|
@@ -5045,7 +5045,7 @@ function startIntercomQueueDrain() {
|
|
|
5045
5045
|
const tick = async () => traceDaemonTimer("intercom_queue_drain", async () => {
|
|
5046
5046
|
fired("intercom_queue_drain");
|
|
5047
5047
|
try {
|
|
5048
|
-
const { drainQueue, readQueue } = await import("../intercom-queue-
|
|
5048
|
+
const { drainQueue, readQueue } = await import("../intercom-queue-XJ3RTJ2C.js");
|
|
5049
5049
|
const {
|
|
5050
5050
|
isSessionBusy,
|
|
5051
5051
|
sendIntercom: centralSendIntercom,
|
|
@@ -5130,7 +5130,7 @@ function startOrphanReaper() {
|
|
|
5130
5130
|
const tick = async () => traceDaemonTimer("orphan_reaper", async () => {
|
|
5131
5131
|
fired("orphan_reaper");
|
|
5132
5132
|
try {
|
|
5133
|
-
const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-
|
|
5133
|
+
const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-KIAYDBWN.js");
|
|
5134
5134
|
const deps = await createOrphanReaperRealDepsAsync();
|
|
5135
5135
|
const reaped = await reapOrphanedMcpProcesses(deps);
|
|
5136
5136
|
if (reaped.length > 0) acted("orphan_reaper");
|
|
@@ -5155,7 +5155,7 @@ function startZombieAgentReaper() {
|
|
|
5155
5155
|
const tick = async () => traceDaemonTimer("zombie_agent_reaper", async () => {
|
|
5156
5156
|
fired("zombie_agent_reaper");
|
|
5157
5157
|
try {
|
|
5158
|
-
const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-
|
|
5158
|
+
const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-KIAYDBWN.js");
|
|
5159
5159
|
const deps = await createZombieAgentReaperRealDepsAsync();
|
|
5160
5160
|
const reaped = reapZombieAgentProcesses(deps);
|
|
5161
5161
|
if (reaped.length > 0) acted("zombie_agent_reaper");
|
|
@@ -5179,7 +5179,7 @@ async function startDaemonMemoryPressureWatchdog() {
|
|
|
5179
5179
|
try {
|
|
5180
5180
|
const cfg = await getCachedConfig();
|
|
5181
5181
|
if (!cfg) return;
|
|
5182
|
-
const { startMemoryPressureWatchdog: startWatchdog, MEMORY_PRESSURE_WATCHDOG_DEFAULTS } = await import("../memory-pressure-watchdog-
|
|
5182
|
+
const { startMemoryPressureWatchdog: startWatchdog, MEMORY_PRESSURE_WATCHDOG_DEFAULTS } = await import("../memory-pressure-watchdog-4RVYB2JC.js");
|
|
5183
5183
|
const watchdogCfg = {
|
|
5184
5184
|
...MEMORY_PRESSURE_WATCHDOG_DEFAULTS,
|
|
5185
5185
|
...cfg.memoryPressureWatchdog ?? {}
|
|
@@ -5210,7 +5210,7 @@ function startWorktreeReaper() {
|
|
|
5210
5210
|
const tick = async () => traceDaemonTimer("worktree_reaper", async () => {
|
|
5211
5211
|
fired("worktree_reaper");
|
|
5212
5212
|
try {
|
|
5213
|
-
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-
|
|
5213
|
+
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-KIAYDBWN.js");
|
|
5214
5214
|
const deps = await createWorktreeReaperRealDeps();
|
|
5215
5215
|
const result = await reapOrphanedWorktrees(deps);
|
|
5216
5216
|
if (result.pruned.length > 0) {
|
|
@@ -5250,8 +5250,8 @@ function startWorktreeReaper() {
|
|
|
5250
5250
|
}
|
|
5251
5251
|
continue;
|
|
5252
5252
|
}
|
|
5253
|
-
const { cleanupAgentWorktree } = await import("../worktree-sweep-
|
|
5254
|
-
const { getMainRepoRoot } = await import("../worktree-
|
|
5253
|
+
const { cleanupAgentWorktree } = await import("../worktree-sweep-QOAXY6CT.js");
|
|
5254
|
+
const { getMainRepoRoot } = await import("../worktree-WF7X43XI.js");
|
|
5255
5255
|
const repoRoot = getMainRepoRoot(signal.worktreePath);
|
|
5256
5256
|
if (repoRoot && signal.agentId) {
|
|
5257
5257
|
const notes = cleanupAgentWorktree(repoRoot, signal.agentId);
|
|
@@ -5284,7 +5284,7 @@ function startAutoWake() {
|
|
|
5284
5284
|
if (!await ensureStoreForPolling()) return;
|
|
5285
5285
|
try {
|
|
5286
5286
|
const { getClient } = await import("./database.js");
|
|
5287
|
-
const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-
|
|
5287
|
+
const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-KIAYDBWN.js");
|
|
5288
5288
|
const deps = createAutoWakeRealDeps(getClient, process.cwd());
|
|
5289
5289
|
const woken = await pollOrphanedTasks(deps);
|
|
5290
5290
|
if (woken.length > 0) acted("auto_wake");
|
|
@@ -5467,7 +5467,7 @@ function startStuckTaskRelease() {
|
|
|
5467
5467
|
if (!await ensureStoreForPolling()) return;
|
|
5468
5468
|
try {
|
|
5469
5469
|
const { getClient } = await import("./database.js");
|
|
5470
|
-
const { releaseStuckTasks, createStuckTaskRealDeps } = await import("../daemon-orchestration-
|
|
5470
|
+
const { releaseStuckTasks, createStuckTaskRealDeps } = await import("../daemon-orchestration-KIAYDBWN.js");
|
|
5471
5471
|
const deps = createStuckTaskRealDeps(getClient);
|
|
5472
5472
|
const released = await releaseStuckTasks(deps);
|
|
5473
5473
|
if (released.length > 0) {
|
|
@@ -5654,12 +5654,12 @@ function startTaskEnforcementScanner() {
|
|
|
5654
5654
|
const tick = async () => traceDaemonTimer("task_enforcement", async () => {
|
|
5655
5655
|
fired("task_enforcement");
|
|
5656
5656
|
try {
|
|
5657
|
-
const { runTaskEnforcementTick } = await import("../task-enforcement-
|
|
5657
|
+
const { runTaskEnforcementTick } = await import("../task-enforcement-XO6CYQVG.js");
|
|
5658
5658
|
const { getTransport } = await import("./transport.js");
|
|
5659
5659
|
const { loadAgentConfig } = await import("./agent-config.js");
|
|
5660
5660
|
const { getClient } = await import("./database.js");
|
|
5661
5661
|
const { loadEmployeesSync } = await import("./employees.js");
|
|
5662
|
-
const { sessionScopeFilter } = await import("../task-scope-
|
|
5662
|
+
const { sessionScopeFilter } = await import("../task-scope-7BWIG4G3.js");
|
|
5663
5663
|
const transport = getTransport();
|
|
5664
5664
|
const { sessions: allSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
|
|
5665
5665
|
await yieldToEventLoop();
|
|
@@ -5670,7 +5670,7 @@ function startTaskEnforcementScanner() {
|
|
|
5670
5670
|
sendKeysLiteral: transport.sendKeysLiteral?.bind(transport),
|
|
5671
5671
|
isAlive: (session) => aliveSessions.has(session)
|
|
5672
5672
|
};
|
|
5673
|
-
const { checkAutoWakeGates } = await import("../daemon-orchestration-
|
|
5673
|
+
const { checkAutoWakeGates } = await import("../daemon-orchestration-KIAYDBWN.js");
|
|
5674
5674
|
const { ensureEmployeeAsync, employeeSessionName } = await import("./tmux-routing.js");
|
|
5675
5675
|
const { shouldAutoInstance } = await import("./employees.js");
|
|
5676
5676
|
const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-2QYYCFSI.js");
|
|
@@ -6693,7 +6693,7 @@ function startTaskGroupBarriers() {
|
|
|
6693
6693
|
fired("task_group_barriers");
|
|
6694
6694
|
if (!await ensureStoreForPolling()) return;
|
|
6695
6695
|
try {
|
|
6696
|
-
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-
|
|
6696
|
+
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-KIAYDBWN.js");
|
|
6697
6697
|
const firedCount = await pollTaskGroupBarriers();
|
|
6698
6698
|
if (firedCount > 0) {
|
|
6699
6699
|
acted("task_group_barriers");
|
|
@@ -6715,7 +6715,7 @@ function startCheckpointGc() {
|
|
|
6715
6715
|
fired("checkpoint_gc");
|
|
6716
6716
|
if (!await ensureStoreForPolling()) return;
|
|
6717
6717
|
try {
|
|
6718
|
-
const { gcStaleCheckpoints } = await import("../daemon-orchestration-
|
|
6718
|
+
const { gcStaleCheckpoints } = await import("../daemon-orchestration-KIAYDBWN.js");
|
|
6719
6719
|
const cleared = await gcStaleCheckpoints();
|
|
6720
6720
|
if (cleared > 0) {
|
|
6721
6721
|
acted("checkpoint_gc");
|
|
@@ -6755,7 +6755,7 @@ function startDispatchAckCleanup() {
|
|
|
6755
6755
|
function startProjectionWorkerDeferred() {
|
|
6756
6756
|
setTimeout(async () => {
|
|
6757
6757
|
try {
|
|
6758
|
-
const { startProjectionWorker } = await import("../projection-worker-
|
|
6758
|
+
const { startProjectionWorker } = await import("../projection-worker-N4KVTVZE.js");
|
|
6759
6759
|
startProjectionWorker();
|
|
6760
6760
|
} catch {
|
|
6761
6761
|
}
|
|
@@ -6927,7 +6927,7 @@ function startLocalFirstTimers() {
|
|
|
6927
6927
|
fired("orphan_task_cleanup");
|
|
6928
6928
|
try {
|
|
6929
6929
|
if (!await ensureStoreForPolling()) return;
|
|
6930
|
-
const { cleanOrphanedTaskFiles } = await import("../tasks-crud-
|
|
6930
|
+
const { cleanOrphanedTaskFiles } = await import("../tasks-crud-IW3ZBFHL.js");
|
|
6931
6931
|
const count = await cleanOrphanedTaskFiles();
|
|
6932
6932
|
if (count > 0) {
|
|
6933
6933
|
acted("orphan_task_cleanup");
|
|
@@ -6943,7 +6943,7 @@ function startLocalFirstTimers() {
|
|
|
6943
6943
|
fired("task_file_consistency");
|
|
6944
6944
|
try {
|
|
6945
6945
|
if (!await ensureStoreForPolling()) return;
|
|
6946
|
-
const { checkTaskFileConsistency } = await import("../tasks-crud-
|
|
6946
|
+
const { checkTaskFileConsistency } = await import("../tasks-crud-IW3ZBFHL.js");
|
|
6947
6947
|
const mismatches = await checkTaskFileConsistency();
|
|
6948
6948
|
if (mismatches > 0) {
|
|
6949
6949
|
acted("task_file_consistency");
|
|
@@ -6962,7 +6962,7 @@ function startLocalFirstTimers() {
|
|
|
6962
6962
|
const TELEMETRY_DAILY_MS = 24 * 60 * 60 * 1e3;
|
|
6963
6963
|
const telemetryDaily = async () => {
|
|
6964
6964
|
try {
|
|
6965
|
-
const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-
|
|
6965
|
+
const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-IG4AGZFK.js");
|
|
6966
6966
|
if (!isTelemetryEnabled()) return;
|
|
6967
6967
|
const { upstream } = await sendTelemetry(24);
|
|
6968
6968
|
if (upstream.startsWith("sent")) {
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
recentRecords,
|
|
6
6
|
rrfMerge,
|
|
7
7
|
rrfMergeMulti
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-SDZ654BU.js";
|
|
9
9
|
import "../chunk-AB4PAQYK.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-J6REQ7CV.js";
|
|
11
11
|
import "../chunk-CHCA3ZM2.js";
|
|
12
12
|
import "../chunk-OTVEIJUQ.js";
|
|
13
13
|
import "../chunk-66RCRDIF.js";
|
package/dist/lib/messaging.js
CHANGED
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
sendMessage,
|
|
16
16
|
sendTypedMessage,
|
|
17
17
|
setWsClientSend
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-U7N2GEBI.js";
|
|
19
|
+
import "../chunk-X3VIRILN.js";
|
|
20
20
|
import "../chunk-YYKY45TM.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-UWT664G5.js";
|
|
22
|
+
import "../chunk-45AA4HOH.js";
|
|
23
23
|
import "../chunk-EIKATSE4.js";
|
|
24
24
|
import "../chunk-E23LNUWJ.js";
|
|
25
25
|
import "../chunk-4JERP7NT.js";
|
package/dist/lib/schedules.js
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
deleteSchedule,
|
|
5
5
|
listSchedules,
|
|
6
6
|
parseHumanCron
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-VST5V263.js";
|
|
8
8
|
import "../chunk-75H4R62K.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-J6REQ7CV.js";
|
|
10
10
|
import "../chunk-CHCA3ZM2.js";
|
|
11
11
|
import "../chunk-OTVEIJUQ.js";
|
|
12
12
|
import "../chunk-66RCRDIF.js";
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
hashSignature,
|
|
9
9
|
storeTrajectory,
|
|
10
10
|
sweepTrajectories
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-X5EGTW2P.js";
|
|
12
|
+
import "../chunk-JKSK4VFX.js";
|
|
13
|
+
import "../chunk-J6REQ7CV.js";
|
|
14
14
|
import "../chunk-CHCA3ZM2.js";
|
|
15
15
|
import "../chunk-OTVEIJUQ.js";
|
|
16
16
|
import "../chunk-66RCRDIF.js";
|
package/dist/lib/store.js
CHANGED
package/dist/lib/tasks.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
createTask,
|
|
3
3
|
deleteTask,
|
|
4
4
|
updateTask
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-U6M5C3MB.js";
|
|
6
|
+
import "../chunk-JEDQHPPC.js";
|
|
7
7
|
import {
|
|
8
8
|
cleanupOrphanedReviews,
|
|
9
9
|
countNewPendingReviewsSince,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
slugify,
|
|
21
21
|
updateTaskStatus,
|
|
22
22
|
writeCheckpoint
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-X3VIRILN.js";
|
|
24
24
|
import "../chunk-YYKY45TM.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-UWT664G5.js";
|
|
26
|
+
import "../chunk-45AA4HOH.js";
|
|
27
27
|
import "../chunk-EIKATSE4.js";
|
|
28
28
|
import "../chunk-E23LNUWJ.js";
|
|
29
29
|
import "../chunk-4JERP7NT.js";
|