@askexenow/exe-os 0.9.355 → 0.9.356
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-7ZMD4GK2.js → backfill-metadata-SFS4ARNR.js} +1 -1
- package/dist/{behavior-injection-5XKH24H2.js → behavior-injection-OT7VX7M6.js} +3 -3
- package/dist/{behaviors-N25SY742.js → behaviors-6GW5AFG4.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +1 -1
- package/dist/bin/agentic-reflection-backfill.js +1 -1
- package/dist/bin/agentic-semantic-label.js +1 -1
- package/dist/bin/backfill-conversations.js +1 -1
- package/dist/bin/backfill-responses.js +1 -1
- package/dist/bin/backfill-vectors.js +2 -2
- package/dist/bin/bulk-sync-postgres.js +3 -3
- package/dist/bin/cleanup-stale-review-tasks.js +3 -3
- package/dist/bin/cli.js +6 -6
- package/dist/bin/deferred-daemon-restart.js +35 -35
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +10 -10
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +3 -3
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +4 -4
- package/dist/bin/exe-forget.js +3 -3
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +5 -5
- package/dist/bin/exe-kill.js +5 -5
- package/dist/bin/exe-launch-agent.js +6 -6
- package/dist/bin/exe-memory-reads.js +1 -1
- 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 +4 -4
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +3 -3
- package/dist/bin/exe-start-opencode.js +3 -3
- package/dist/bin/exe-status.js +4 -4
- package/dist/bin/exe-team.js +1 -1
- package/dist/bin/git-sweep.js +3 -3
- package/dist/bin/graph-backfill.js +1 -1
- package/dist/bin/graph-export.js +2 -2
- package/dist/bin/import-history.js +2 -2
- package/dist/bin/install.js +35 -35
- 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/reconcile-backlog.js +1 -1
- package/dist/bin/scan-tasks.js +3 -3
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{boot-review-sections-4CY2PBGZ.js → boot-review-sections-3MSXM6V7.js} +2 -2
- package/dist/{capacity-monitor-IUZCER65.js → capacity-monitor-5XUR3JTN.js} +4 -4
- package/dist/{catchup-brief-FGOY5FL2.js → catchup-brief-AYJWMQUZ.js} +4 -4
- package/dist/{chunk-AV3YQKLI.js → chunk-2LM5GO5R.js} +4 -4
- package/dist/{chunk-BGCXVFVS.js → chunk-4OMIENRX.js} +1 -1
- package/dist/{chunk-K6QZ5ATL.js → chunk-6CZXY5BD.js} +2 -2
- package/dist/{chunk-3MVOYNVN.js → chunk-6H4ZEU7P.js} +1 -1
- package/dist/{chunk-TSSRP4XV.js → chunk-6WAJJN5W.js} +1 -1
- package/dist/{chunk-7OUNHOPN.js → chunk-A5P2MMII.js} +1 -1
- package/dist/{chunk-RDN2EAB2.js → chunk-AW3WT3TJ.js} +80 -52
- package/dist/{chunk-AIFUKWLY.js → chunk-AWB7M62V.js} +2 -2
- package/dist/{chunk-F5YXWMMF.js → chunk-CI3YVCUY.js} +1 -1
- package/dist/{chunk-QCICGIEH.js → chunk-CQPFNVWY.js} +2 -2
- package/dist/{chunk-LY4JR2WL.js → chunk-DF5K4JJL.js} +1 -1
- package/dist/{chunk-ZMW64EV7.js → chunk-DZNXWCJN.js} +1 -1
- package/dist/{chunk-CCCPGCOI.js → chunk-EQQYCP6D.js} +1 -1
- package/dist/{chunk-YCZO2FAZ.js → chunk-ES4XE6AU.js} +2 -2
- package/dist/{chunk-AVHBWE2T.js → chunk-ES6PDSEK.js} +3 -3
- package/dist/{chunk-LBA6V4L2.js → chunk-FWJFKWYA.js} +1 -1
- package/dist/{chunk-BMK3RLV7.js → chunk-H4ZSOAP6.js} +1 -1
- package/dist/{chunk-RXJHJBRU.js → chunk-IIHFSNL4.js} +1 -1
- package/dist/{chunk-67ILAYK4.js → chunk-IO5FR7BZ.js} +1 -1
- package/dist/{chunk-3MKQMGQK.js → chunk-IT4TFJTK.js} +1 -1
- package/dist/{chunk-ENREZ76V.js → chunk-JUE37LOD.js} +2 -2
- package/dist/{chunk-54UPM32D.js → chunk-KT4RUFYO.js} +1 -1
- package/dist/{chunk-5JB5E3LG.js → chunk-LDRMNJJJ.js} +1 -1
- package/dist/{chunk-SQWYWL4W.js → chunk-NT4GET5B.js} +2 -2
- package/dist/{chunk-XO2TGFOU.js → chunk-OBWTTM7E.js} +2 -2
- package/dist/{chunk-4O4PXNWE.js → chunk-PUAA3P47.js} +2 -2
- package/dist/{chunk-6M7AU7QL.js → chunk-PUNCHUEX.js} +1 -1
- package/dist/{chunk-BJFHXNBO.js → chunk-QGLAMWQJ.js} +1 -1
- package/dist/{chunk-RFVOCOIF.js → chunk-QXAE6S3A.js} +7 -0
- package/dist/{chunk-LBGUKC6J.js → chunk-SFSB64NK.js} +1 -1
- package/dist/{chunk-D4OMMYL4.js → chunk-TAR5J7WI.js} +1 -1
- package/dist/{chunk-BWSZFT3E.js → chunk-VCKIV5WG.js} +2 -2
- package/dist/{chunk-G4IOHYM3.js → chunk-W3IXTUCL.js} +1 -1
- package/dist/{chunk-7UBBTBBD.js → chunk-W3REQ37P.js} +1 -1
- package/dist/{chunk-76JXWKJ6.js → chunk-WHQYVFE2.js} +1 -1
- package/dist/{chunk-6UCUOVOB.js → chunk-WJIGSNJM.js} +5 -5
- package/dist/{chunk-EJDKSAUB.js → chunk-XPGUSSG7.js} +1 -1
- package/dist/{chunk-XPDQBKER.js → chunk-XQAELSOQ.js} +2 -2
- package/dist/{chunk-CIAMVLXK.js → chunk-YG4LS7TI.js} +2 -2
- package/dist/{chunk-LTXJWL6R.js → chunk-YSUHXDQU.js} +9 -8
- package/dist/{chunk-EITFV752.js → chunk-ZMVVKOOS.js} +6 -6
- package/dist/{chunk-KMTOHVCM.js → chunk-ZWXSO4FN.js} +6 -6
- package/dist/{cleanup-graph-garbage-M4HBIBDI.js → cleanup-graph-garbage-XUNHVCRR.js} +1 -1
- package/dist/{crm-webhook-WRVNGAQU.js → crm-webhook-BQCP77TI.js} +2 -2
- package/dist/{cto-delegation-gate-QXCOUNEL.js → cto-delegation-gate-UHHNMWCL.js} +2 -2
- package/dist/{daemon-orchestration-XUWZIOPU.js → daemon-orchestration-7WS3X5DQ.js} +7 -7
- package/dist/{documents-XPHR2T4G.js → documents-SW2MJUXY.js} +2 -2
- package/dist/{dreaming-U634O7WB.js → dreaming-KSNJVNFH.js} +4 -4
- package/dist/{exe-export-GZ3FGKES.js → exe-export-44IWTJHL.js} +3 -3
- package/dist/{exe-import-UE7SLARA.js → exe-import-PPECH3KO.js} +3 -3
- package/dist/{exe-key-L6KPM4OV.js → exe-key-ZCRJQYA7.js} +35 -35
- package/dist/{exe-snapshot-5WEMYMK2.js → exe-snapshot-OVINJ6MC.js} +5 -5
- package/dist/{fast-db-init-7ZZOVLQI.js → fast-db-init-B5Q3SJQG.js} +3 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{hook-prefetch-BH2BHOUC.js → hook-prefetch-FKXDTCDS.js} +3 -3
- package/dist/hooks/bug-report-worker.js +5 -5
- package/dist/hooks/codex-stop-task-finalizer.js +6 -6
- 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 +3 -3
- package/dist/hooks/pre-compact.js +4 -4
- package/dist/hooks/pre-tool-use.js +9 -9
- package/dist/hooks/prompt-submit.js +14 -14
- package/dist/hooks/session-end.js +6 -6
- package/dist/hooks/session-start.js +7 -7
- package/dist/hooks/stop.js +6 -6
- package/dist/hooks/subagent-stop.js +5 -5
- package/dist/hooks/summary-worker.js +6 -6
- package/dist/index.js +10 -10
- package/dist/{intercom-queue-CTNJG7R5.js → intercom-queue-5D52JF3Q.js} +2 -2
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/exe-daemon.js +36 -36
- package/dist/lib/hybrid-search.js +2 -2
- package/dist/lib/messaging.js +3 -3
- package/dist/lib/schedules.js +2 -2
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +1 -1
- package/dist/lib/tasks.js +4 -4
- package/dist/lib/tmux-routing.js +2 -2
- package/dist/mcp/register-tools.js +34 -34
- package/dist/mcp/server.js +35 -35
- package/dist/mcp/tools/create-task.js +5 -5
- package/dist/mcp/tools/deactivate-behavior.js +3 -3
- package/dist/mcp/tools/list-tasks.js +5 -5
- package/dist/mcp/tools/send-message.js +4 -4
- package/dist/mcp/tools/update-task.js +5 -5
- package/dist/{mcp-session-identity-FAJY6BIU.js → mcp-session-identity-S6UCHBER.js} +2 -2
- package/dist/{memory-cards-TJY4ZSHF.js → memory-cards-65RGFT5M.js} +1 -1
- package/dist/{memory-pressure-watchdog-VZHFDEJQ.js → memory-pressure-watchdog-CC344JBH.js} +3 -3
- package/dist/{notification-ledger-ST7VOHTW.js → notification-ledger-GL3ZPZNR.js} +2 -2
- package/dist/{notifications-3NFVADNY.js → notifications-FGYNO2FY.js} +2 -2
- package/dist/{orchestrator-XXCNZ7JX.js → orchestrator-XUJDK4EW.js} +3 -3
- package/dist/{pipeline-router-LNYYGOSK.js → pipeline-router-YQOZ4M62.js} +1 -1
- package/dist/{projection-worker-LNYQIPTM.js → projection-worker-NJUNGEXE.js} +1 -1
- package/dist/{reranker-334X6AJN.js → reranker-LGSIL6TX.js} +1 -1
- package/dist/{review-polling-HPY4W5NC.js → review-polling-2RMEZ5QO.js} +3 -3
- package/dist/runtime/index.js +4 -4
- package/dist/{session-events-F4PCO4D3.js → session-events-5XSYCV4I.js} +3 -3
- package/dist/{session-kill-telemetry-LFJLI3NS.js → session-kill-telemetry-QJUHG3IG.js} +3 -3
- package/dist/{session-scope-OVHP3LJX.js → session-scope-LIJ746K2.js} +2 -2
- package/dist/{setup-wizard-TQITUMGJ.js → setup-wizard-RLUCGGA7.js} +1 -1
- package/dist/{skill-refinement-XYWEA5KI.js → skill-refinement-FMN3WFSG.js} +1 -1
- package/dist/{task-enforcement-AYCGJ6GA.js → task-enforcement-SFZGBY27.js} +3 -3
- package/dist/{task-scope-EK4VS4NA.js → task-scope-74ZIFQRH.js} +2 -2
- package/dist/{tasks-crud-AM3FI7AN.js → tasks-crud-N54JZCXU.js} +2 -2
- package/dist/{tasks-notify-CQ2DIHXY.js → tasks-notify-62IJZW55.js} +3 -3
- package/dist/{tasks-review-W52QIL5I.js → tasks-review-3LHBE6ZJ.js} +2 -2
- package/dist/{telemetry-upload-TQDNSGO7.js → telemetry-upload-HR3QIWZV.js} +1 -1
- package/dist/tui/App.js +8 -8
- package/dist/{tui-data-SPSBWVEY.js → tui-data-BPXEJKRQ.js} +2 -2
- package/dist/{update-support-BDPFKWXV.js → update-support-HLZ7KMVM.js} +2 -2
- package/dist/{worker-gate-7X3WOWU7.js → worker-gate-5ABYGLC2.js} +1 -1
- package/dist/{workflow-engine-I3YGQOB5.js → workflow-engine-XSUWZK6I.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +15 -19
- /package/dist/{chunk-QA77JMBW.js → chunk-2267TRAO.js} +0 -0
- /package/dist/{chunk-PXLYA2NX.js → chunk-72GUU6Z4.js} +0 -0
- /package/dist/{chunk-GNGVBO5E.js → chunk-7GOSAV25.js} +0 -0
- /package/dist/{chunk-YR2T2GBJ.js → chunk-AK77MITT.js} +0 -0
- /package/dist/{chunk-D6MWP56U.js → chunk-GVU3BW6N.js} +0 -0
- /package/dist/{chunk-CP32WIKZ.js → chunk-P7EUKYSQ.js} +0 -0
- /package/dist/{core-memory-RO3MHRQR.js → core-memory-KXE4QMOA.js} +0 -0
- /package/dist/{memory-isolation-KOQXJXZF.js → memory-isolation-VSKUKTN4.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession,
|
|
3
3
|
strictSessionScopeFilter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YSUHXDQU.js";
|
|
5
5
|
import {
|
|
6
6
|
recordOrchestrationEventBestEffort
|
|
7
7
|
} from "./chunk-X4EDW3FH.js";
|
|
@@ -260,7 +260,7 @@ function createRealDeps(getClient) {
|
|
|
260
260
|
});
|
|
261
261
|
},
|
|
262
262
|
createReviewForOrphan: async (task) => {
|
|
263
|
-
const { createReviewForCompletedTask } = await import("./tasks-review-
|
|
263
|
+
const { createReviewForCompletedTask } = await import("./tasks-review-3LHBE6ZJ.js");
|
|
264
264
|
const cwd = process.cwd();
|
|
265
265
|
await createReviewForCompletedTask(
|
|
266
266
|
task,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sendIntercom,
|
|
3
3
|
updateTaskStatus
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YSUHXDQU.js";
|
|
5
5
|
import {
|
|
6
6
|
recordOrchestrationEventBestEffort
|
|
7
7
|
} from "./chunk-X4EDW3FH.js";
|
|
@@ -305,7 +305,7 @@ async function surfaceStaleDispatchPendingSignals(scopeList, now, thresholdMs =
|
|
|
305
305
|
const sessionScope = signalScope ?? (scopeList.length === 1 ? scopeList[0] : null);
|
|
306
306
|
if (allowedScopes.size > 0 && sessionScope && !allowedScopes.has(sessionScope)) continue;
|
|
307
307
|
try {
|
|
308
|
-
const { writeNotification } = await import("./notifications-
|
|
308
|
+
const { writeNotification } = await import("./notifications-FGYNO2FY.js");
|
|
309
309
|
await writeNotification({
|
|
310
310
|
agentId: getCoordinatorName(),
|
|
311
311
|
agentRole: "COO",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ingest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-72GUU6Z4.js";
|
|
4
4
|
import {
|
|
5
5
|
listWorkflowDefinitions,
|
|
6
6
|
runWorkflow,
|
|
7
7
|
startWorkflow
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-H4ZSOAP6.js";
|
|
9
9
|
import {
|
|
10
10
|
initCRMBridge
|
|
11
11
|
} from "./chunk-ML4S5SHZ.js";
|
|
@@ -43,6 +43,12 @@ function makeNoopClient() {
|
|
|
43
43
|
function isNoopFastDbClient(client) {
|
|
44
44
|
return client.__exeNoopClient === true;
|
|
45
45
|
}
|
|
46
|
+
async function ensureReadDbReady() {
|
|
47
|
+
const { isInitialized } = await import("./lib/database.js");
|
|
48
|
+
if (isInitialized()) return true;
|
|
49
|
+
const client = await fastDbInit();
|
|
50
|
+
return !isNoopFastDbClient(client);
|
|
51
|
+
}
|
|
46
52
|
var DAEMON_PROBE_TIMEOUT_MS = (() => {
|
|
47
53
|
const raw = Number(process.env.EXE_DAEMON_PROBE_TIMEOUT_MS);
|
|
48
54
|
return Number.isFinite(raw) && raw > 0 ? raw : 1500;
|
|
@@ -188,5 +194,6 @@ async function fastDbInit(opts) {
|
|
|
188
194
|
|
|
189
195
|
export {
|
|
190
196
|
isNoopFastDbClient,
|
|
197
|
+
ensureReadDbReady,
|
|
191
198
|
fastDbInit
|
|
192
199
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YSUHXDQU.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/git-task-sweep.ts
|
|
6
6
|
import { execSync } from "child_process";
|
|
@@ -238,7 +238,7 @@ async function sweepTasks(projectName, options = {}) {
|
|
|
238
238
|
}
|
|
239
239
|
if (!dryRun) {
|
|
240
240
|
try {
|
|
241
|
-
const { updateTaskStatus } = await import("./tasks-crud-
|
|
241
|
+
const { updateTaskStatus } = await import("./tasks-crud-N54JZCXU.js");
|
|
242
242
|
await updateTaskStatus({
|
|
243
243
|
taskId: task.id,
|
|
244
244
|
status: "needs_review",
|
|
@@ -506,7 +506,7 @@ async function flushBatch() {
|
|
|
506
506
|
_nextVersion = baseVersion;
|
|
507
507
|
if (insertedBatch.length > 0) {
|
|
508
508
|
try {
|
|
509
|
-
const { insertMemoryCardsForBatch } = await import("./memory-cards-
|
|
509
|
+
const { insertMemoryCardsForBatch } = await import("./memory-cards-65RGFT5M.js");
|
|
510
510
|
await insertMemoryCardsForBatch(insertedBatch);
|
|
511
511
|
} catch (e) {
|
|
512
512
|
logStoreWarn("catch", e);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isPaneBusy
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NT4GET5B.js";
|
|
4
4
|
import {
|
|
5
5
|
recordSessionKill
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TAR5J7WI.js";
|
|
7
7
|
import {
|
|
8
8
|
eventLoopBlockedMarkerPath
|
|
9
9
|
} from "./chunk-APRVAUOR.js";
|
|
10
10
|
import {
|
|
11
11
|
updateTask
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZMVVKOOS.js";
|
|
13
13
|
import {
|
|
14
14
|
countPendingReviews,
|
|
15
15
|
ensureEmployeeAsync,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
sessionScopeFilter,
|
|
26
26
|
strictSessionScopeFilter,
|
|
27
27
|
writeNotification
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YSUHXDQU.js";
|
|
29
29
|
import {
|
|
30
30
|
LEASE_MINUTES,
|
|
31
31
|
isLeaseExpired
|
|
@@ -3425,7 +3425,7 @@ async function gcStaleCheckpoints() {
|
|
|
3425
3425
|
}
|
|
3426
3426
|
async function pollTaskGroupBarriers() {
|
|
3427
3427
|
try {
|
|
3428
|
-
const { checkAndFireBarriers } = await import("./tasks-crud-
|
|
3428
|
+
const { checkAndFireBarriers } = await import("./tasks-crud-N54JZCXU.js");
|
|
3429
3429
|
const firedGroupIds = await checkAndFireBarriers();
|
|
3430
3430
|
if (firedGroupIds.length === 0) return 0;
|
|
3431
3431
|
const { getClient } = await import("./lib/database.js");
|
|
@@ -119,7 +119,7 @@ function releaseBackfillLock() {
|
|
|
119
119
|
}
|
|
120
120
|
async function getTaskAwareCapacity() {
|
|
121
121
|
const { getClient } = await import("./lib/database.js");
|
|
122
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
122
|
+
const { sessionScopeFilter } = await import("./task-scope-74ZIFQRH.js");
|
|
123
123
|
const client = getClient();
|
|
124
124
|
const scope = sessionScopeFilter();
|
|
125
125
|
const result = await client.execute({
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
createCRMWebhookHandler,
|
|
12
12
|
parseTwentyWebhook
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IIHFSNL4.js";
|
|
14
14
|
import {
|
|
15
15
|
WhatsAppAdapter
|
|
16
16
|
} from "./chunk-WSOA3WMC.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
retryWithBackoff,
|
|
43
43
|
routeMessage,
|
|
44
44
|
validateGatewayConfig
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-OBWTTM7E.js";
|
|
46
46
|
import {
|
|
47
47
|
OllamaProvider
|
|
48
48
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -1023,7 +1023,7 @@ function formatReport(report, flags) {
|
|
|
1023
1023
|
return lines.join("\n");
|
|
1024
1024
|
}
|
|
1025
1025
|
async function fixNullVectors() {
|
|
1026
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
1026
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-5ABYGLC2.js");
|
|
1027
1027
|
if (!tryAcquireWorkerSlot()) {
|
|
1028
1028
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
1029
1029
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -1209,7 +1209,7 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
1209
1209
|
console.log(formatRestartReport(restartReport));
|
|
1210
1210
|
return emptyAuditReport();
|
|
1211
1211
|
}
|
|
1212
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
1212
|
+
const { fastDbInit } = await import("./fast-db-init-B5Q3SJQG.js");
|
|
1213
1213
|
const client = await fastDbInit();
|
|
1214
1214
|
const report = await runAudit(client, flags);
|
|
1215
1215
|
console.log(formatReport(report, flags));
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-TQ4O5A4S.js";
|
|
12
12
|
import {
|
|
13
13
|
incrementSkillSuccess
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-P7EUKYSQ.js";
|
|
15
15
|
import {
|
|
16
16
|
LEASE_MINUTES,
|
|
17
17
|
isLeaseExpired,
|
|
@@ -1513,7 +1513,7 @@ async function createTaskCore(input) {
|
|
|
1513
1513
|
if (isCoordinatorSession) {
|
|
1514
1514
|
earlySessionScope = resolved;
|
|
1515
1515
|
} else {
|
|
1516
|
-
const { getSessionProject } = await import("./session-scope-
|
|
1516
|
+
const { getSessionProject } = await import("./session-scope-LIJ746K2.js");
|
|
1517
1517
|
const sessionProject = getSessionProject(resolved);
|
|
1518
1518
|
if (sessionProject && sessionProject !== input.projectName) {
|
|
1519
1519
|
scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
|
|
@@ -5142,7 +5142,7 @@ async function verifyPaneAtCapacity(sessionName) {
|
|
|
5142
5142
|
reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
|
|
5143
5143
|
};
|
|
5144
5144
|
}
|
|
5145
|
-
const { isAtCapacity } = await import("./capacity-monitor-
|
|
5145
|
+
const { isAtCapacity } = await import("./capacity-monitor-5XUR3JTN.js");
|
|
5146
5146
|
if (!isAtCapacity(pane)) {
|
|
5147
5147
|
return {
|
|
5148
5148
|
atCapacity: false,
|
|
@@ -5376,7 +5376,7 @@ async function countScopedPendingReviews(targetSession, reviewer) {
|
|
|
5376
5376
|
}
|
|
5377
5377
|
async function countScopedOpenTasks(targetSession, agentId) {
|
|
5378
5378
|
try {
|
|
5379
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
5379
|
+
const { fastDbInit } = await import("./fast-db-init-B5Q3SJQG.js");
|
|
5380
5380
|
const client = await fastDbInit();
|
|
5381
5381
|
const scope = extractRootExe(targetSession);
|
|
5382
5382
|
if (!scope) return 0;
|
|
@@ -5431,7 +5431,7 @@ function buildScopedInProgressTaskQuery(targetSession) {
|
|
|
5431
5431
|
async function findScopedInProgressTaskId(targetSession) {
|
|
5432
5432
|
const q = buildScopedInProgressTaskQuery(targetSession);
|
|
5433
5433
|
if (!q) return null;
|
|
5434
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
5434
|
+
const { fastDbInit } = await import("./fast-db-init-B5Q3SJQG.js");
|
|
5435
5435
|
const client = await fastDbInit();
|
|
5436
5436
|
const result = await client.execute(q);
|
|
5437
5437
|
const id = result.rows[0]?.id;
|
|
@@ -5551,7 +5551,7 @@ function sendIntercom(targetSession, opts) {
|
|
|
5551
5551
|
}
|
|
5552
5552
|
if ((process.env.EXE_NOTIFICATION_LEDGER ?? "").trim().toLowerCase() === "shadow") {
|
|
5553
5553
|
const shadowScope = opts && "callerSessionScope" in opts ? opts.callerSessionScope : void 0;
|
|
5554
|
-
void import("./notification-ledger-
|
|
5554
|
+
void import("./notification-ledger-GL3ZPZNR.js").then((m) => m.recordShadowNudge(targetSession, reason, shadowScope)).catch(() => {
|
|
5555
5555
|
});
|
|
5556
5556
|
}
|
|
5557
5557
|
if (!opts?.force && isDebounced(targetSession)) {
|
|
@@ -5687,7 +5687,7 @@ function scheduleDeferredSpawnNudge(input) {
|
|
|
5687
5687
|
return;
|
|
5688
5688
|
}
|
|
5689
5689
|
queueIntercom(input.sessionName, `spawn nudge failed after ${attempt} attempts: ${msg}`, "signal");
|
|
5690
|
-
void import("./notifications-
|
|
5690
|
+
void import("./notifications-FGYNO2FY.js").then(({ writeNotification: writeNotification2 }) => writeNotification2({
|
|
5691
5691
|
agentId: getCoordinatorName(),
|
|
5692
5692
|
agentRole: "COO",
|
|
5693
5693
|
event: "error_spike",
|
|
@@ -6464,7 +6464,8 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
|
|
|
6464
6464
|
});
|
|
6465
6465
|
}
|
|
6466
6466
|
const spawnCwd = cwdResolution.cwd;
|
|
6467
|
-
const
|
|
6467
|
+
const optedOutOfWorktree = opts?.spawnWorktree === false;
|
|
6468
|
+
const coordinatorCheckout = !isCoordinatorName(employeeName) && optedOutOfWorktree ? detectCoordinatorCheckoutCwd(spawnCwd) : null;
|
|
6468
6469
|
if (coordinatorCheckout) {
|
|
6469
6470
|
const message = `Coordinator checkout refusal: refusing to spawn employee ${employeeName} in registered coordinator repo root ${coordinatorCheckout.repoRoot} (coordinator session ${coordinatorCheckout.coordinatorSession}). Spawned implementation agents must run from an isolated worktree; launching here would let commits land on the coordinator's checked-out branch.`;
|
|
6470
6471
|
process.stderr.write(`[tmux-routing] ${message}
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
dispatchTaskToEmployee,
|
|
3
3
|
markTaskNotificationsRead,
|
|
4
4
|
notifyTaskDone
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AWB7M62V.js";
|
|
6
6
|
import {
|
|
7
7
|
clearCurrentTask,
|
|
8
8
|
writeCurrentTask
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
strictSessionScopeFilter,
|
|
17
17
|
updateTaskStatus,
|
|
18
18
|
writeNotification
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YSUHXDQU.js";
|
|
20
20
|
import {
|
|
21
21
|
getAgentContext
|
|
22
22
|
} from "./chunk-GJV3WDWM.js";
|
|
@@ -62,7 +62,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
62
62
|
}
|
|
63
63
|
if (unblockedRows.rows.length > 0 && !process.env.VITEST) {
|
|
64
64
|
try {
|
|
65
|
-
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-
|
|
65
|
+
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-62IJZW55.js");
|
|
66
66
|
const dispatched = /* @__PURE__ */ new Set();
|
|
67
67
|
for (const ur of unblockedRows.rows) {
|
|
68
68
|
const assignee = String(ur.assigned_to);
|
|
@@ -87,7 +87,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
87
87
|
}
|
|
88
88
|
} catch {
|
|
89
89
|
try {
|
|
90
|
-
const { queueIntercom } = await import("./intercom-queue-
|
|
90
|
+
const { queueIntercom } = await import("./intercom-queue-5D52JF3Q.js");
|
|
91
91
|
const dispatched = /* @__PURE__ */ new Set();
|
|
92
92
|
for (const ur of unblockedRows.rows) {
|
|
93
93
|
const assignee = String(ur.assigned_to);
|
|
@@ -285,7 +285,7 @@ async function updateTask(input) {
|
|
|
285
285
|
try {
|
|
286
286
|
process.stderr.write(`[tasks] EVENT: tmux delivery failed for reviewer="${reviewer}". Queueing for daemon delivery.
|
|
287
287
|
`);
|
|
288
|
-
const { queueIntercom } = await import("./intercom-queue-
|
|
288
|
+
const { queueIntercom } = await import("./intercom-queue-5D52JF3Q.js");
|
|
289
289
|
const { resolveExeSession } = await import("./lib/tmux-routing.js");
|
|
290
290
|
const exeSession = row.session_scope ? String(row.session_scope) : resolveExeSession();
|
|
291
291
|
if (exeSession) {
|
|
@@ -329,7 +329,7 @@ async function updateTask(input) {
|
|
|
329
329
|
await markTaskNotificationsRead(taskFile);
|
|
330
330
|
if (isCompletionReviewTransition && !isCoordinator && row.reviewer) {
|
|
331
331
|
try {
|
|
332
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
332
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-FGYNO2FY.js");
|
|
333
333
|
const reviewer = String(row.reviewer);
|
|
334
334
|
await writeNotification2({
|
|
335
335
|
agentId: reviewer,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
buildSystemStateExclusionFilter,
|
|
12
12
|
buildWikiScopeFilter,
|
|
13
13
|
searchMemories
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WHQYVFE2.js";
|
|
15
15
|
import {
|
|
16
16
|
blobToVector
|
|
17
17
|
} from "./chunk-OTVEIJUQ.js";
|
|
@@ -566,7 +566,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
566
566
|
let rerankerAvailable = false;
|
|
567
567
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
568
568
|
try {
|
|
569
|
-
const { isRerankerAvailable } = await import("./reranker-
|
|
569
|
+
const { isRerankerAvailable } = await import("./reranker-LGSIL6TX.js");
|
|
570
570
|
rerankerAvailable = isRerankerAvailable();
|
|
571
571
|
} catch {
|
|
572
572
|
}
|
|
@@ -635,7 +635,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
635
635
|
]).catch(() => []),
|
|
636
636
|
includeStructuredCards ? (async () => {
|
|
637
637
|
try {
|
|
638
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
638
|
+
const { searchMemoryCards } = await import("./memory-cards-65RGFT5M.js");
|
|
639
639
|
return await searchMemoryCards(effectiveQuery, agentId, fetchOptions);
|
|
640
640
|
} catch {
|
|
641
641
|
return [];
|
|
@@ -769,7 +769,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
769
769
|
try {
|
|
770
770
|
let rerankedRecords;
|
|
771
771
|
if (graphContextMap.size > 0) {
|
|
772
|
-
const { rerankWithContext } = await import("./reranker-
|
|
772
|
+
const { rerankWithContext } = await import("./reranker-LGSIL6TX.js");
|
|
773
773
|
const candidates = merged.map((m) => ({
|
|
774
774
|
text: m.raw_text,
|
|
775
775
|
context: graphContextMap.get(m.id)
|
|
@@ -777,7 +777,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
777
777
|
const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
|
|
778
778
|
rerankedRecords = scored.map((s) => merged[s.index]);
|
|
779
779
|
} else {
|
|
780
|
-
const { rerank } = await import("./reranker-
|
|
780
|
+
const { rerank } = await import("./reranker-LGSIL6TX.js");
|
|
781
781
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
782
782
|
}
|
|
783
783
|
if (rerankedRecords.length > 0) {
|
|
@@ -1207,7 +1207,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
1207
1207
|
}
|
|
1208
1208
|
if (options?.includeStructuredCards !== true) return results;
|
|
1209
1209
|
try {
|
|
1210
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
1210
|
+
const { searchMemoryCards } = await import("./memory-cards-65RGFT5M.js");
|
|
1211
1211
|
const cardResults = await searchMemoryCards(queryText, agentId, options);
|
|
1212
1212
|
if (cardResults.length > 0) {
|
|
1213
1213
|
return rrfMergeMulti([results, cardResults], limit, RRF_K, [1, 0.85]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YSUHXDQU.js";
|
|
4
4
|
import "./chunk-X7CWCQ5S.js";
|
|
5
5
|
import "./chunk-TQ4O5A4S.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-P7EUKYSQ.js";
|
|
7
7
|
import "./chunk-E23LNUWJ.js";
|
|
8
8
|
import "./chunk-4JERP7NT.js";
|
|
9
9
|
import "./chunk-EIKATSE4.js";
|
|
@@ -75,17 +75,17 @@ import {
|
|
|
75
75
|
shouldKillIdleSession,
|
|
76
76
|
shouldKillSession,
|
|
77
77
|
shouldNudgeEmployee
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
78
|
+
} from "./chunk-WJIGSNJM.js";
|
|
79
|
+
import "./chunk-NT4GET5B.js";
|
|
80
|
+
import "./chunk-TAR5J7WI.js";
|
|
81
81
|
import "./chunk-APRVAUOR.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-ZMVVKOOS.js";
|
|
83
|
+
import "./chunk-AWB7M62V.js";
|
|
84
84
|
import "./chunk-76CJBM36.js";
|
|
85
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-YSUHXDQU.js";
|
|
86
86
|
import "./chunk-X7CWCQ5S.js";
|
|
87
87
|
import "./chunk-TQ4O5A4S.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-P7EUKYSQ.js";
|
|
89
89
|
import "./chunk-E23LNUWJ.js";
|
|
90
90
|
import "./chunk-4JERP7NT.js";
|
|
91
91
|
import "./chunk-EIKATSE4.js";
|
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
rowToDocument,
|
|
15
15
|
rowToWorkspace,
|
|
16
16
|
updateChunksImportance
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6WAJJN5W.js";
|
|
18
18
|
import "./chunk-I5AVZOL2.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-WHQYVFE2.js";
|
|
20
20
|
import "./chunk-IHKRHGKT.js";
|
|
21
21
|
import "./chunk-CHCA3ZM2.js";
|
|
22
22
|
import "./chunk-OTVEIJUQ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DreamingEngine
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-PUAA3P47.js";
|
|
4
|
+
import "./chunk-WHQYVFE2.js";
|
|
5
5
|
import "./chunk-IHKRHGKT.js";
|
|
6
6
|
import "./chunk-CHCA3ZM2.js";
|
|
7
7
|
import "./chunk-OTVEIJUQ.js";
|
|
@@ -9,10 +9,10 @@ import "./chunk-VML2UQK7.js";
|
|
|
9
9
|
import "./chunk-5MOYSU5A.js";
|
|
10
10
|
import "./chunk-4QCFFW2H.js";
|
|
11
11
|
import "./chunk-76CJBM36.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-YSUHXDQU.js";
|
|
13
13
|
import "./chunk-X7CWCQ5S.js";
|
|
14
14
|
import "./chunk-TQ4O5A4S.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-P7EUKYSQ.js";
|
|
16
16
|
import "./chunk-E23LNUWJ.js";
|
|
17
17
|
import "./chunk-4JERP7NT.js";
|
|
18
18
|
import "./chunk-EIKATSE4.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
exportOrchestration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IT4TFJTK.js";
|
|
5
5
|
import "./chunk-2TL5RKMC.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-FWJFKWYA.js";
|
|
7
7
|
import {
|
|
8
8
|
disposeStore,
|
|
9
9
|
initStore
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WHQYVFE2.js";
|
|
11
11
|
import "./chunk-IHKRHGKT.js";
|
|
12
12
|
import "./chunk-CHCA3ZM2.js";
|
|
13
13
|
import "./chunk-OTVEIJUQ.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
importOrchestration,
|
|
4
4
|
validatePackage
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IT4TFJTK.js";
|
|
6
6
|
import "./chunk-2TL5RKMC.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-FWJFKWYA.js";
|
|
8
8
|
import {
|
|
9
9
|
disposeStore,
|
|
10
10
|
initStore
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WHQYVFE2.js";
|
|
12
12
|
import "./chunk-IHKRHGKT.js";
|
|
13
13
|
import "./chunk-CHCA3ZM2.js";
|
|
14
14
|
import "./chunk-OTVEIJUQ.js";
|