@askexenow/exe-os 0.9.205 → 0.9.206
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-BT4RLVMZ.js → backfill-metadata-4N22ZA6N.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 +3 -3
- package/dist/bin/cli.js +4 -4
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +4 -4
- package/dist/bin/exe-dispatch.js +3 -3
- 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 +3 -3
- package/dist/bin/exe-kill.js +4 -4
- package/dist/bin/exe-launch-agent.js +2 -2
- 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 +6 -6
- package/dist/bin/exe-start-codex.js +1 -1
- package/dist/bin/exe-start-opencode.js +1 -1
- 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 +1 -1
- package/dist/bin/intercom-check.js +3 -3
- package/dist/bin/orchestration-metrics.js +1 -1
- package/dist/bin/scan-tasks.js +3 -3
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{capacity-monitor-EPHJTSKF.js → capacity-monitor-EHXIFEE2.js} +3 -3
- package/dist/{catchup-brief-HVITENL5.js → catchup-brief-RSE5BJZN.js} +4 -4
- package/dist/{chunk-MZ2BL3JP.js → chunk-3BV34EJB.js} +1 -1
- package/dist/{chunk-VG3VVFF5.js → chunk-3M2CCVXM.js} +1 -1
- package/dist/{chunk-XSOKVFQ6.js → chunk-4EKVVGVV.js} +1 -1
- package/dist/{chunk-FMKD6N33.js → chunk-4EOXPKWA.js} +5 -5
- package/dist/{chunk-PXDR3UTB.js → chunk-745HXTTK.js} +4 -4
- package/dist/{chunk-O2JGR7EU.js → chunk-7VDMUMHM.js} +3 -3
- package/dist/{chunk-7DTEJAIC.js → chunk-BS6YQM5R.js} +1 -1
- package/dist/{chunk-GZIAQYGI.js → chunk-CX6GL3ZJ.js} +12 -0
- package/dist/{chunk-YOXXZAOR.js → chunk-DBSMRM52.js} +2 -2
- package/dist/{chunk-THFFC43M.js → chunk-EAHUS6WU.js} +1 -1
- package/dist/{chunk-ZDK3M72Z.js → chunk-FLCWUX6G.js} +1 -1
- package/dist/{chunk-HLYNKMAG.js → chunk-MB7PRC5E.js} +1 -1
- package/dist/{chunk-W4BFBCZA.js → chunk-MGPVDQIM.js} +1 -1
- package/dist/{chunk-EUMLEWXO.js → chunk-MMLE3M4J.js} +1 -1
- package/dist/{chunk-HMGIQNME.js → chunk-OBVXTLRM.js} +3 -3
- package/dist/{chunk-YXHY5F34.js → chunk-PNQ74YDS.js} +2 -2
- package/dist/{chunk-22GPB6FO.js → chunk-PYTUXXP4.js} +16 -6
- package/dist/{chunk-VH6WU3GK.js → chunk-QOTQZAAE.js} +1 -1
- package/dist/{chunk-H7U7FPQF.js → chunk-RRMPIH6C.js} +3 -3
- package/dist/{chunk-JUB74GFQ.js → chunk-RS5JCKEP.js} +1 -1
- package/dist/{chunk-MQX47XMP.js → chunk-SQK3Q6VY.js} +2 -2
- package/dist/{chunk-6VVSXO3M.js → chunk-TV7ZTQ7L.js} +3 -3
- package/dist/{chunk-5HTEMMOJ.js → chunk-WGOVSJNR.js} +1 -1
- package/dist/{chunk-6MOFCQFH.js → chunk-XSEXQDU5.js} +23 -23
- package/dist/{chunk-PHCK4KQW.js → chunk-YQKFNXGL.js} +2 -2
- package/dist/{crm-webhook-AVG4F2NB.js → crm-webhook-VSPYINPL.js} +2 -2
- package/dist/{cto-delegation-gate-ZTNJLSPO.js → cto-delegation-gate-W7ESM5IQ.js} +2 -2
- package/dist/{daemon-orchestration-AKICH7C5.js → daemon-orchestration-ZCJ3XPBE.js} +4 -4
- package/dist/{exe-export-LL4CXNLT.js → exe-export-6NC4TNCZ.js} +1 -1
- package/dist/{exe-import-JNKAAJ5T.js → exe-import-GQRGZKW3.js} +1 -1
- package/dist/{fast-db-init-UNK4BEEO.js → fast-db-init-4ETTWASA.js} +1 -1
- package/dist/gateway/index.js +5 -5
- package/dist/{git-task-sweep-PT3RIE6W.js → git-task-sweep-HMSTHZ6X.js} +3 -3
- package/dist/hooks/bug-report-worker.js +4 -4
- package/dist/hooks/codex-stop-task-finalizer.js +4 -4
- package/dist/hooks/commit-complete.js +5 -5
- 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 +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 +9 -9
- package/dist/hooks/session-end.js +5 -5
- package/dist/hooks/session-start.js +4 -4
- 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 +9 -9
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/exe-daemon.js +12 -12
- 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/store.js +1 -1
- package/dist/lib/tasks.js +3 -3
- package/dist/lib/tmux-routing.js +2 -2
- package/dist/lib/tmux-status.js +3 -1
- package/dist/mcp/register-tools.js +22 -22
- package/dist/mcp/server.js +23 -23
- package/dist/mcp/tools/create-task.js +4 -4
- package/dist/mcp/tools/list-tasks.js +4 -4
- package/dist/mcp/tools/send-message.js +4 -4
- package/dist/mcp/tools/update-task.js +4 -4
- package/dist/{notifications-6GRSVIP6.js → notifications-25FGAXTC.js} +2 -2
- package/dist/{orchestrator-QQKU4VM2.js → orchestrator-ZWPDXMW4.js} +3 -3
- package/dist/{reranker-JTDM3MV2.js → reranker-S5MJWW7Q.js} +1 -1
- package/dist/{review-polling-MWBVXHG3.js → review-polling-QQMFB3Q4.js} +3 -3
- package/dist/runtime/index.js +4 -4
- package/dist/{session-events-FRB3UYJG.js → session-events-OWSPMDJV.js} +3 -3
- package/dist/{session-scope-7BZTNB2X.js → session-scope-PKBCQOLO.js} +2 -2
- package/dist/{task-enforcement-VB5P45ZM.js → task-enforcement-M2NU3OVK.js} +2 -2
- package/dist/{task-scope-ULC62J6G.js → task-scope-LQRP3MQ2.js} +2 -2
- package/dist/{tasks-crud-IBSTM6ID.js → tasks-crud-TMYB245Z.js} +2 -2
- package/dist/{tasks-review-P4MCKBDT.js → tasks-review-GJWB2BPT.js} +2 -2
- package/dist/tui/App.js +8 -8
- package/dist/{tui-data-YAT6A36V.js → tui-data-ZVRIZAIF.js} +2 -2
- package/dist/{worker-gate-27O2WEYU.js → worker-gate-VZLM2AU3.js} +1 -1
- package/dist/{workflow-engine-4T36KCTQ.js → workflow-engine-ESXHBY55.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +59 -59
- /package/dist/{chunk-ONCFSN5C.js → chunk-5YFC6HQX.js} +0 -0
- /package/dist/{chunk-AF7A5IQ5.js → chunk-E7HAATCK.js} +0 -0
- /package/dist/{chunk-TCBUBBTL.js → chunk-KJVFW5C7.js} +0 -0
- /package/dist/{chunk-2THPPZF2.js → chunk-MTR5SMNA.js} +0 -0
- /package/dist/{chunk-GONOOIFL.js → chunk-SEPXWHA3.js} +0 -0
- /package/dist/{core-memory-3QGHBERR.js → core-memory-6JX6V4QR.js} +0 -0
- /package/dist/{exe-key-C5UQ77AT.js → exe-key-K7FHMOVL.js} +0 -0
- /package/dist/{skill-refinement-7C7X42Z5.js → skill-refinement-KL2INB5E.js} +0 -0
package/dist/bin/scan-tasks.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
queryTaskRows
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-4EOXPKWA.js";
|
|
5
5
|
import "../chunk-FYJCMGTD.js";
|
|
6
6
|
import "../chunk-QI4IXJN7.js";
|
|
7
7
|
import "../chunk-IR4L6K5L.js";
|
|
8
8
|
import "../chunk-5YDHBZCO.js";
|
|
9
9
|
import "../chunk-G4QFC45N.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-CX6GL3ZJ.js";
|
|
11
11
|
import "../chunk-ITYWLFYC.js";
|
|
12
12
|
import "../chunk-ZQX6UOP6.js";
|
|
13
13
|
import "../chunk-6RX2XEET.js";
|
|
@@ -73,7 +73,7 @@ function checkMcpHealth() {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
async function scanFromDb(agentId, tmuxSession, projectName) {
|
|
76
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
76
|
+
const { fastDbInit } = await import("../fast-db-init-4ETTWASA.js");
|
|
77
77
|
try {
|
|
78
78
|
await fastDbInit();
|
|
79
79
|
} catch (err) {
|
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
isAtCapacity,
|
|
9
9
|
isWithinRelaunchCooldown,
|
|
10
10
|
pollCapacityDead
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WGOVSJNR.js";
|
|
12
12
|
import "./chunk-3S3ERUUH.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-4EOXPKWA.js";
|
|
14
14
|
import "./chunk-FYJCMGTD.js";
|
|
15
15
|
import "./chunk-QI4IXJN7.js";
|
|
16
16
|
import "./chunk-IR4L6K5L.js";
|
|
17
17
|
import "./chunk-5YDHBZCO.js";
|
|
18
18
|
import "./chunk-G4QFC45N.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-CX6GL3ZJ.js";
|
|
20
20
|
import "./chunk-ITYWLFYC.js";
|
|
21
21
|
import "./chunk-ZQX6UOP6.js";
|
|
22
22
|
import "./chunk-6RX2XEET.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lightweightSearch
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-745HXTTK.js";
|
|
4
|
+
import "./chunk-KJVFW5C7.js";
|
|
5
5
|
import "./chunk-CHCA3ZM2.js";
|
|
6
6
|
import "./chunk-XJQASQPO.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionScopeFilter,
|
|
9
9
|
strictSessionScopeFilter
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4EOXPKWA.js";
|
|
11
11
|
import "./chunk-FYJCMGTD.js";
|
|
12
12
|
import "./chunk-QI4IXJN7.js";
|
|
13
13
|
import "./chunk-IR4L6K5L.js";
|
|
14
14
|
import "./chunk-5YDHBZCO.js";
|
|
15
15
|
import "./chunk-G4QFC45N.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-CX6GL3ZJ.js";
|
|
17
17
|
import "./chunk-ITYWLFYC.js";
|
|
18
18
|
import "./chunk-ZQX6UOP6.js";
|
|
19
19
|
import "./chunk-6RX2XEET.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-5YDHBZCO.js";
|
|
13
13
|
import {
|
|
14
14
|
listTmuxSessions
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CX6GL3ZJ.js";
|
|
16
16
|
import {
|
|
17
17
|
recordOrchestrationEventBestEffort
|
|
18
18
|
} from "./chunk-ITYWLFYC.js";
|
|
@@ -374,7 +374,7 @@ async function createTaskCore(input) {
|
|
|
374
374
|
if (isCoordinatorSession) {
|
|
375
375
|
earlySessionScope = resolved;
|
|
376
376
|
} else {
|
|
377
|
-
const { getSessionProject } = await import("./session-scope-
|
|
377
|
+
const { getSessionProject } = await import("./session-scope-PKBCQOLO.js");
|
|
378
378
|
const sessionProject = getSessionProject(resolved);
|
|
379
379
|
if (sessionProject && sessionProject !== input.projectName) {
|
|
380
380
|
scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
|
|
@@ -823,7 +823,7 @@ async function updateTaskStatus(input) {
|
|
|
823
823
|
} catch {
|
|
824
824
|
}
|
|
825
825
|
try {
|
|
826
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
826
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-25FGAXTC.js");
|
|
827
827
|
await writeNotification2({
|
|
828
828
|
agentId: reviewer,
|
|
829
829
|
agentRole: isCoordinatorName(reviewer) ? "COO" : "manager",
|
|
@@ -1175,7 +1175,7 @@ ${input.result}` : `\u26A0\uFE0F ${warning}`;
|
|
|
1175
1175
|
}
|
|
1176
1176
|
if (input.status === "done" || input.status === "needs_review") {
|
|
1177
1177
|
try {
|
|
1178
|
-
const { incrementSkillSuccess } = await import("./skill-refinement-
|
|
1178
|
+
const { incrementSkillSuccess } = await import("./skill-refinement-KL2INB5E.js");
|
|
1179
1179
|
await incrementSkillSuccess(
|
|
1180
1180
|
String(row.assigned_to),
|
|
1181
1181
|
row.project_name ? String(row.project_name) : null
|
|
@@ -2304,7 +2304,7 @@ async function verifyPaneAtCapacity(sessionName) {
|
|
|
2304
2304
|
reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
|
|
2305
2305
|
};
|
|
2306
2306
|
}
|
|
2307
|
-
const { isAtCapacity } = await import("./capacity-monitor-
|
|
2307
|
+
const { isAtCapacity } = await import("./capacity-monitor-EHXIFEE2.js");
|
|
2308
2308
|
if (!isAtCapacity(pane)) {
|
|
2309
2309
|
return {
|
|
2310
2310
|
atCapacity: false,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
buildRawVisibilityFilter,
|
|
4
4
|
buildWikiScopeFilter,
|
|
5
5
|
searchMemories
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KJVFW5C7.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
9
|
} from "./chunk-3MHKTBHZ.js";
|
|
@@ -233,7 +233,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
233
233
|
let rerankerAvailable = false;
|
|
234
234
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
235
235
|
try {
|
|
236
|
-
const { isRerankerAvailable } = await import("./reranker-
|
|
236
|
+
const { isRerankerAvailable } = await import("./reranker-S5MJWW7Q.js");
|
|
237
237
|
rerankerAvailable = isRerankerAvailable();
|
|
238
238
|
} catch {
|
|
239
239
|
}
|
|
@@ -397,7 +397,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
397
397
|
try {
|
|
398
398
|
let rerankedRecords;
|
|
399
399
|
if (graphContextMap.size > 0) {
|
|
400
|
-
const { rerankWithContext } = await import("./reranker-
|
|
400
|
+
const { rerankWithContext } = await import("./reranker-S5MJWW7Q.js");
|
|
401
401
|
const candidates = merged.map((m) => ({
|
|
402
402
|
text: m.raw_text,
|
|
403
403
|
context: graphContextMap.get(m.id)
|
|
@@ -405,7 +405,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
405
405
|
const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
|
|
406
406
|
rerankedRecords = scored.map((s) => merged[s.index]);
|
|
407
407
|
} else {
|
|
408
|
-
const { rerank } = await import("./reranker-
|
|
408
|
+
const { rerank } = await import("./reranker-S5MJWW7Q.js");
|
|
409
409
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
410
410
|
}
|
|
411
411
|
if (rerankedRecords.length > 0) {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
sessionScopeFilter,
|
|
12
12
|
updateTaskStatus,
|
|
13
13
|
writeNotification
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4EOXPKWA.js";
|
|
15
15
|
import {
|
|
16
16
|
getTransport
|
|
17
17
|
} from "./chunk-5YDHBZCO.js";
|
|
@@ -159,7 +159,7 @@ async function dispatchTaskToEmployee(input) {
|
|
|
159
159
|
let crossProject = false;
|
|
160
160
|
if (input.projectName) {
|
|
161
161
|
try {
|
|
162
|
-
const { assertSessionScope } = await import("./session-scope-
|
|
162
|
+
const { assertSessionScope } = await import("./session-scope-PKBCQOLO.js");
|
|
163
163
|
const check = assertSessionScope("dispatch_task", input.projectName);
|
|
164
164
|
if (check.reason === "cross_session_denied") {
|
|
165
165
|
crossProject = true;
|
|
@@ -500,7 +500,7 @@ async function updateTask(input) {
|
|
|
500
500
|
await markTaskNotificationsRead(taskFile);
|
|
501
501
|
if (input.status === "needs_review" && !isCoordinator) {
|
|
502
502
|
try {
|
|
503
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
503
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-25FGAXTC.js");
|
|
504
504
|
await writeNotification2({
|
|
505
505
|
agentId: String(row.assigned_to),
|
|
506
506
|
agentRole: String(row.assigned_to),
|
|
@@ -65,6 +65,17 @@ function getPaneCwd(windowName) {
|
|
|
65
65
|
return void 0;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
+
async function getPaneCwdAsync(windowName) {
|
|
69
|
+
try {
|
|
70
|
+
const { promisify } = await import("util");
|
|
71
|
+
const { execFile } = await import("child_process");
|
|
72
|
+
const exec = promisify(execFile);
|
|
73
|
+
const { stdout } = await exec("tmux", ["display-message", "-t", windowName, "-p", "#{pane_current_path}"], { timeout: 3e3 });
|
|
74
|
+
return stdout.trim() || void 0;
|
|
75
|
+
} catch {
|
|
76
|
+
return void 0;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
68
79
|
function projectFromPath(dir) {
|
|
69
80
|
try {
|
|
70
81
|
const root = execSync("git -C " + JSON.stringify(dir) + " rev-parse --show-toplevel 2>/dev/null", {
|
|
@@ -253,6 +264,7 @@ export {
|
|
|
253
264
|
listTmuxWindows,
|
|
254
265
|
capturePaneLines,
|
|
255
266
|
getPaneCwd,
|
|
267
|
+
getPaneCwdAsync,
|
|
256
268
|
parseActivity,
|
|
257
269
|
parseContextPercentage,
|
|
258
270
|
getEmployeeStatuses,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4EOXPKWA.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/git-task-sweep.ts
|
|
6
6
|
import { execSync } from "child_process";
|
|
@@ -178,7 +178,7 @@ async function sweepTasks(projectName, options = {}) {
|
|
|
178
178
|
}
|
|
179
179
|
if (!dryRun) {
|
|
180
180
|
try {
|
|
181
|
-
const { updateTaskStatus } = await import("./tasks-crud-
|
|
181
|
+
const { updateTaskStatus } = await import("./tasks-crud-TMYB245Z.js");
|
|
182
182
|
await updateTaskStatus({
|
|
183
183
|
taskId: task.id,
|
|
184
184
|
status: "needs_review",
|
|
@@ -111,7 +111,7 @@ function releaseBackfillLock() {
|
|
|
111
111
|
}
|
|
112
112
|
async function getTaskAwareCapacity() {
|
|
113
113
|
const { getClient } = await import("./lib/database.js");
|
|
114
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
114
|
+
const { sessionScopeFilter } = await import("./task-scope-LQRP3MQ2.js");
|
|
115
115
|
const client = getClient();
|
|
116
116
|
const scope = sessionScopeFilter();
|
|
117
117
|
const result = await client.execute({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fastDbInit
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MTR5SMNA.js";
|
|
4
4
|
import {
|
|
5
5
|
sessionScopeFilter
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4EOXPKWA.js";
|
|
7
7
|
import {
|
|
8
8
|
formatStatusAll,
|
|
9
9
|
formatStatusDeep,
|
|
10
10
|
getEmployeeStatuses,
|
|
11
11
|
inTmux
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CX6GL3ZJ.js";
|
|
13
13
|
import {
|
|
14
14
|
getClient,
|
|
15
15
|
isCoordinatorRole,
|
|
@@ -849,7 +849,7 @@ function formatReport(report, flags) {
|
|
|
849
849
|
return lines.join("\n");
|
|
850
850
|
}
|
|
851
851
|
async function fixNullVectors() {
|
|
852
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
852
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-VZLM2AU3.js");
|
|
853
853
|
if (!tryAcquireWorkerSlot()) {
|
|
854
854
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
855
855
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -970,7 +970,7 @@ function splitAtSentences(text, maxChunkSize) {
|
|
|
970
970
|
}
|
|
971
971
|
async function main(argv = process.argv.slice(2)) {
|
|
972
972
|
const flags = parseFlags(argv);
|
|
973
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
973
|
+
const { fastDbInit } = await import("./fast-db-init-4ETTWASA.js");
|
|
974
974
|
const client = await fastDbInit();
|
|
975
975
|
const report = await runAudit(client, flags);
|
|
976
976
|
console.log(formatReport(report, flags));
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-3S3ERUUH.js";
|
|
4
4
|
import {
|
|
5
5
|
updateTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7VDMUMHM.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureEmployee,
|
|
9
9
|
extractRootExe,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
sessionScopeFilter,
|
|
15
15
|
strictSessionScopeFilter,
|
|
16
16
|
writeNotification
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4EOXPKWA.js";
|
|
18
18
|
import {
|
|
19
19
|
queueIntercom
|
|
20
20
|
} from "./chunk-QI4IXJN7.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
listTmuxSessions,
|
|
29
29
|
parseContextPercentage
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-CX6GL3ZJ.js";
|
|
31
31
|
import {
|
|
32
32
|
recordOrchestrationEventBestEffort
|
|
33
33
|
} from "./chunk-ITYWLFYC.js";
|
|
@@ -1621,13 +1621,23 @@ async function reapOrphanedWorktrees(deps, nowMs = Date.now()) {
|
|
|
1621
1621
|
return result;
|
|
1622
1622
|
}
|
|
1623
1623
|
async function createWorktreeReaperRealDeps() {
|
|
1624
|
-
const {
|
|
1624
|
+
const { getPaneCwdAsync } = await import("./lib/tmux-status.js");
|
|
1625
1625
|
const { getGitRoot, isWorktreeDirty: isDirty } = await import("./worktree-QTCOX6RV.js");
|
|
1626
1626
|
const { statSync: statSync2 } = await import("fs");
|
|
1627
1627
|
const { basename } = await import("path");
|
|
1628
|
+
const sessions = listTmuxSessions();
|
|
1629
|
+
const cwdMap = /* @__PURE__ */ new Map();
|
|
1630
|
+
const cwdPromises = sessions.map(async (s) => {
|
|
1631
|
+
try {
|
|
1632
|
+
const cwd = await getPaneCwdAsync(s);
|
|
1633
|
+
if (cwd) cwdMap.set(s, cwd);
|
|
1634
|
+
} catch {
|
|
1635
|
+
}
|
|
1636
|
+
});
|
|
1637
|
+
await Promise.all(cwdPromises);
|
|
1628
1638
|
return {
|
|
1629
|
-
listTmuxSessions: () =>
|
|
1630
|
-
getPaneCwd: (s) =>
|
|
1639
|
+
listTmuxSessions: () => sessions,
|
|
1640
|
+
getPaneCwd: (s) => cwdMap.get(s),
|
|
1631
1641
|
listWorktrees: (repoRoot) => {
|
|
1632
1642
|
try {
|
|
1633
1643
|
const out = execSync("git worktree list --porcelain", {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-MLXJ5EZG.js";
|
|
4
4
|
import {
|
|
5
5
|
createTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7VDMUMHM.js";
|
|
7
7
|
import {
|
|
8
8
|
getActiveAgent
|
|
9
9
|
} from "./chunk-3N4ZEPZI.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ensureEmployee,
|
|
12
12
|
logTaskDispatch,
|
|
13
13
|
resolveExeSession
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4EOXPKWA.js";
|
|
15
15
|
import {
|
|
16
16
|
recordOrchestrationEventBestEffort
|
|
17
17
|
} from "./chunk-ITYWLFYC.js";
|
|
@@ -243,7 +243,7 @@ function registerCreateTask(server) {
|
|
|
243
243
|
let projectConflictOpts = {};
|
|
244
244
|
try {
|
|
245
245
|
const { getClient } = await import("./lib/database.js");
|
|
246
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
246
|
+
const { sessionScopeFilter } = await import("./task-scope-LQRP3MQ2.js");
|
|
247
247
|
const client = getClient();
|
|
248
248
|
const scope = sessionScopeFilter();
|
|
249
249
|
const existing = await client.execute({
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createCRMWebhookHandler,
|
|
6
6
|
parseTwentyWebhook
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MB7PRC5E.js";
|
|
8
8
|
import {
|
|
9
9
|
WhatsAppAdapter
|
|
10
10
|
} from "./chunk-ECSNSHZ7.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
retryWithBackoff,
|
|
43
43
|
routeMessage,
|
|
44
44
|
validateGatewayConfig
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3BV34EJB.js";
|
|
46
46
|
import {
|
|
47
47
|
OllamaProvider
|
|
48
48
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MultiAgentOrchestrator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MGPVDQIM.js";
|
|
4
4
|
import {
|
|
5
5
|
createQuietRenderer,
|
|
6
6
|
createTerminalRenderer,
|
|
@@ -327,7 +327,7 @@ function createExeOSHooks(config) {
|
|
|
327
327
|
async onSubagentStop(_reason) {
|
|
328
328
|
try {
|
|
329
329
|
const { getClient } = await import("./lib/database.js");
|
|
330
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
330
|
+
const { sessionScopeFilter } = await import("./task-scope-LQRP3MQ2.js");
|
|
331
331
|
const client = getClient();
|
|
332
332
|
const ehScope = sessionScopeFilter();
|
|
333
333
|
const tasks = await client.execute({
|
|
@@ -419,7 +419,7 @@ function createExeOSHooks(config) {
|
|
|
419
419
|
try {
|
|
420
420
|
const { writeMemory, flushBatch } = await import("./lib/store.js");
|
|
421
421
|
const { getClient } = await import("./lib/database.js");
|
|
422
|
-
const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-
|
|
422
|
+
const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-LQRP3MQ2.js");
|
|
423
423
|
const client = getClient();
|
|
424
424
|
const cpScope = cpScopeFilter();
|
|
425
425
|
const tasks = await client.execute({
|