@askexenow/exe-os 0.9.251 → 0.9.255
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/deploy/stack-manifests/v0.9.json +105 -1
- package/dist/{backfill-metadata-UK6AKSDG.js → backfill-metadata-R7PNZ5TX.js} +1 -1
- package/dist/bin/agentic-ontology-backfill.js +1 -1
- package/dist/bin/agentic-reflection-backfill.js +1 -1
- package/dist/bin/agentic-semantic-label.js +1 -1
- package/dist/bin/backfill-conversations.js +1 -1
- package/dist/bin/backfill-responses.js +1 -1
- package/dist/bin/backfill-vectors.js +2 -2
- package/dist/bin/bulk-sync-postgres.js +1 -1
- package/dist/bin/cleanup-stale-review-tasks.js +2 -2
- package/dist/bin/cli.js +6 -6
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +3 -3
- package/dist/bin/exe-dispatch.js +2 -2
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +2 -2
- package/dist/bin/exe-forget.js +3 -3
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +2 -2
- package/dist/bin/exe-kill.js +3 -3
- package/dist/bin/exe-launch-agent.js +3 -3
- package/dist/bin/exe-pending-messages.js +3 -3
- package/dist/bin/exe-pending-notifications.js +2 -2
- package/dist/bin/exe-pending-reviews.js +2 -2
- package/dist/bin/exe-review.js +3 -3
- package/dist/bin/exe-search.js +2 -2
- package/dist/bin/exe-session-cleanup.js +5 -5
- package/dist/bin/exe-start-codex.js +1 -1
- package/dist/bin/exe-start-opencode.js +1 -1
- package/dist/bin/exe-status.js +3 -3
- package/dist/bin/exe-team.js +1 -1
- package/dist/bin/git-sweep.js +2 -2
- package/dist/bin/graph-backfill.js +1 -1
- package/dist/bin/graph-export.js +2 -2
- package/dist/bin/import-history.js +2 -2
- package/dist/bin/intercom-check.js +3 -3
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +1 -1
- package/dist/bin/pre-publish.js +9 -1
- package/dist/bin/scan-tasks.js +2 -2
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{capacity-monitor-WZ45OYX4.js → capacity-monitor-QMKII67L.js} +2 -2
- package/dist/{catchup-brief-USYMBBJO.js → catchup-brief-CNISNLV7.js} +3 -3
- package/dist/{chunk-O2MBCA6W.js → chunk-2QKNXGII.js} +2 -2
- package/dist/{chunk-TPP2X2LO.js → chunk-3VLFVOM7.js} +2 -2
- package/dist/{chunk-YJMAQ2WJ.js → chunk-4FT3SQAS.js} +1 -1
- package/dist/{chunk-OTLK73GO.js → chunk-5NBOFYJG.js} +3 -3
- package/dist/{chunk-SVL3IDO5.js → chunk-5R4R743Q.js} +4 -4
- package/dist/{chunk-LO2H7J5S.js → chunk-ABNALOLM.js} +2 -2
- package/dist/{chunk-YAHDK57Z.js → chunk-AQOCHSIR.js} +2 -2
- package/dist/{chunk-UEYKJ7DB.js → chunk-CS267UMH.js} +5 -5
- package/dist/{chunk-A5U6ER76.js → chunk-DJYIBHN5.js} +1 -1
- package/dist/{chunk-B3VCJQTH.js → chunk-FQVITYVF.js} +1 -1
- package/dist/{chunk-MOTVVPK6.js → chunk-JGEGEOVP.js} +1 -1
- package/dist/{chunk-BG76C2PG.js → chunk-LYIUESG2.js} +4 -4
- package/dist/{chunk-T2UKG7XV.js → chunk-MU6ESLYL.js} +1 -1
- package/dist/{chunk-XVEVB5D7.js → chunk-MXCBORCC.js} +1 -1
- package/dist/{chunk-FXPTI5UY.js → chunk-O477L4LV.js} +1 -1
- package/dist/{chunk-UIZVCAH6.js → chunk-O7SFCX5B.js} +1 -1
- package/dist/{chunk-IRK7IICO.js → chunk-PHTRZQR4.js} +2 -2
- package/dist/{chunk-QR7HOUVS.js → chunk-RDCE652I.js} +1 -1
- package/dist/{chunk-6HTHFLCZ.js → chunk-RF54NGPJ.js} +1 -1
- package/dist/{chunk-OERXBIAU.js → chunk-RLDOG7DI.js} +31 -31
- package/dist/{chunk-D5KEF64F.js → chunk-VRVHIVUE.js} +1 -1
- package/dist/{chunk-BOZNNZOT.js → chunk-X7I6NLIA.js} +1 -1
- package/dist/{chunk-SCNNQJR7.js → chunk-XTIHYH64.js} +2 -2
- package/dist/{chunk-NZBGWKVC.js → chunk-Y7NMPQXZ.js} +3 -3
- package/dist/{chunk-KSTM7JVP.js → chunk-YDHPC4PX.js} +2 -2
- package/dist/{chunk-2FBIIZ6S.js → chunk-YXMXP45V.js} +1 -1
- package/dist/{chunk-NA5XVCFX.js → chunk-YYSQAM4W.js} +3 -3
- package/dist/{crm-webhook-TPOTOHWY.js → crm-webhook-QO3ZESKR.js} +2 -2
- package/dist/{cto-delegation-gate-E5R3YKIJ.js → cto-delegation-gate-UFPVFLIW.js} +1 -1
- package/dist/{daemon-orchestration-KDSJS7WA.js → daemon-orchestration-6XAISQ7B.js} +4 -4
- package/dist/{dreaming-FMX36SR3.js → dreaming-FJ75QVGZ.js} +2 -2
- package/dist/{exe-export-VESUZYBQ.js → exe-export-UYKYNVBU.js} +1 -1
- package/dist/{exe-import-QT5P2DS6.js → exe-import-Q4FNSMLJ.js} +1 -1
- package/dist/{exe-snapshot-KA5PHQ3G.js → exe-snapshot-J7CL6QEL.js} +3 -3
- package/dist/{fast-db-init-H35LIFCV.js → fast-db-init-QXGL2PKQ.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-task-sweep-DGRGDDIL.js → git-task-sweep-RRCOTTIS.js} +2 -2
- 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 +4 -4
- package/dist/hooks/error-recall.js +2 -2
- package/dist/hooks/ingest.js +2 -2
- package/dist/hooks/instructions-loaded.js +1 -1
- package/dist/hooks/manifest.json +18 -18
- package/dist/hooks/notification.js +1 -1
- package/dist/hooks/post-compact.js +2 -2
- package/dist/hooks/post-tool-combined.js +2 -2
- package/dist/hooks/pre-compact.js +3 -3
- package/dist/hooks/pre-tool-use.js +6 -6
- package/dist/hooks/prompt-submit.js +8 -8
- package/dist/hooks/session-end.js +5 -5
- package/dist/hooks/session-start.js +5 -5
- package/dist/hooks/stop.js +5 -5
- package/dist/hooks/subagent-stop.js +2 -2
- package/dist/hooks/summary-worker.js +5 -5
- package/dist/index.js +9 -9
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/exe-daemon.js +17 -17
- package/dist/lib/hybrid-search.js +2 -2
- package/dist/lib/messaging.js +2 -2
- package/dist/lib/schedules.js +2 -2
- package/dist/lib/store.js +1 -1
- package/dist/lib/tasks.js +3 -3
- package/dist/lib/tmux-routing.js +1 -1
- package/dist/mcp/register-tools.js +24 -24
- package/dist/mcp/server.js +25 -25
- 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 +3 -3
- package/dist/mcp/tools/update-task.js +4 -4
- package/dist/{notifications-MYH6GD74.js → notifications-BETWD6EK.js} +1 -1
- package/dist/{orchestrator-YGCIRYFV.js → orchestrator-X564XCWC.js} +2 -2
- package/dist/{pipeline-router-SQNAKH3W.js → pipeline-router-RVHLL7UA.js} +1 -1
- package/dist/{reranker-KWCF74HT.js → reranker-SRJL4IWB.js} +1 -1
- package/dist/{review-polling-NJLHANZP.js → review-polling-5JTTHHEO.js} +2 -2
- package/dist/runtime/index.js +3 -3
- package/dist/{session-events-R4U6QMEP.js → session-events-RCSYHQQ2.js} +2 -2
- package/dist/{session-scope-6PZE6QHM.js → session-scope-ZB4SR3AX.js} +1 -1
- package/dist/{stack-release-PFZI22WC.js → stack-release-7WDKQOCO.js} +161 -2
- package/dist/{task-enforcement-BZZ2TYAR.js → task-enforcement-A6AZTYAN.js} +1 -1
- package/dist/{task-scope-MDQTTLHS.js → task-scope-XKNAY5S7.js} +1 -1
- package/dist/{tasks-crud-7F7ICEOA.js → tasks-crud-F732BVOE.js} +1 -1
- package/dist/{tasks-notify-KANCGCFV.js → tasks-notify-LJ65U7DF.js} +2 -2
- package/dist/{tasks-review-7POLLSQS.js → tasks-review-Y5F4HRAR.js} +1 -1
- package/dist/{telemetry-upload-4PYVAB4Q.js → telemetry-upload-HVYO6FL3.js} +1 -1
- package/dist/tui/App.js +7 -7
- package/dist/{tui-data-GIAVZJJF.js → tui-data-EHJWRNRZ.js} +1 -1
- package/dist/{worker-gate-UD4MNUKK.js → worker-gate-4AS4K7G4.js} +1 -1
- package/dist/{workflow-engine-WY5VEVF3.js → workflow-engine-BXGNFNUW.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +16 -111
- package/stack.release.json +3 -3
- /package/dist/{chunk-SJ27UI23.js → chunk-3EMZZZNU.js} +0 -0
- /package/dist/{chunk-VPYHCC5K.js → chunk-7GR7VBBW.js} +0 -0
- /package/dist/{chunk-RS7EAZ2R.js → chunk-LY2DYTDL.js} +0 -0
- /package/dist/{chunk-CAFJIGAZ.js → chunk-PSQNT5DS.js} +0 -0
- /package/dist/{chunk-BCCJYW6O.js → chunk-VPHOOQLR.js} +0 -0
- /package/dist/{chunk-FCDLGS3S.js → chunk-X2E6W3DB.js} +0 -0
- /package/dist/{core-memory-O5SPRBHB.js → core-memory-WFP2L52F.js} +0 -0
- /package/dist/{exe-key-O2Z3XA3H.js → exe-key-22LOIIUX.js} +0 -0
- /package/dist/{skill-refinement-YFYK3BD2.js → skill-refinement-TT4VDYYW.js} +0 -0
package/dist/bin/graph-export.js
CHANGED
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "../chunk-46SQTBQW.js";
|
|
6
6
|
import {
|
|
7
7
|
fastDbInit
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-LY2DYTDL.js";
|
|
9
9
|
import {
|
|
10
10
|
disposeStore
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-PSQNT5DS.js";
|
|
12
12
|
import "../chunk-CHCA3ZM2.js";
|
|
13
13
|
import "../chunk-AWVDA2FL.js";
|
|
14
14
|
import "../chunk-Y25OJWOQ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
registerImportConversations
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-RF54NGPJ.js";
|
|
5
5
|
import "../chunk-X4T7LR2X.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-PSQNT5DS.js";
|
|
7
7
|
import "../chunk-CHCA3ZM2.js";
|
|
8
8
|
import "../chunk-AWVDA2FL.js";
|
|
9
9
|
import "../chunk-VGWQBI76.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
fastDbInit
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LY2DYTDL.js";
|
|
5
5
|
import "../chunk-MLKGABMK.js";
|
|
6
6
|
|
|
7
7
|
// src/bin/intercom-check.ts
|
|
@@ -17,7 +17,7 @@ async function main() {
|
|
|
17
17
|
}
|
|
18
18
|
if (isCoordinator) {
|
|
19
19
|
try {
|
|
20
|
-
const { listPendingReviews, cleanupOrphanedReviews, formatAge, isStale } = await import("../tasks-review-
|
|
20
|
+
const { listPendingReviews, cleanupOrphanedReviews, formatAge, isStale } = await import("../tasks-review-Y5F4HRAR.js");
|
|
21
21
|
const { extractRootExe } = await import("../lib/tmux-routing.js");
|
|
22
22
|
let sessionScope = process.env.EXE_SESSION ? extractRootExe(process.env.EXE_SESSION) ?? void 0 : void 0;
|
|
23
23
|
if (!sessionScope) {
|
|
@@ -113,7 +113,7 @@ async function main() {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
try {
|
|
116
|
-
const { readUnreadNotifications, markAsRead } = await import("../notifications-
|
|
116
|
+
const { readUnreadNotifications, markAsRead } = await import("../notifications-BETWD6EK.js");
|
|
117
117
|
const { resolveExeSession } = await import("../lib/tmux-routing.js");
|
|
118
118
|
const sessionScope = resolveExeSession();
|
|
119
119
|
const notifications = await readUnreadNotifications(agent, sessionScope);
|
package/dist/bin/mcp-sessions.js
CHANGED
|
@@ -45,10 +45,10 @@ async function collectSessions() {
|
|
|
45
45
|
const registryMap = new Map(registry.map((r) => [r.windowName, r]));
|
|
46
46
|
const taskMap = /* @__PURE__ */ new Map();
|
|
47
47
|
try {
|
|
48
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
48
|
+
const { fastDbInit } = await import("../fast-db-init-QXGL2PKQ.js");
|
|
49
49
|
await fastDbInit();
|
|
50
50
|
const { getClient } = await import("../lib/database.js");
|
|
51
|
-
const { sessionScopeFilter } = await import("../task-scope-
|
|
51
|
+
const { sessionScopeFilter } = await import("../task-scope-XKNAY5S7.js");
|
|
52
52
|
const client = getClient();
|
|
53
53
|
const scope = sessionScopeFilter();
|
|
54
54
|
const result = await client.execute({
|
package/dist/bin/pre-publish.js
CHANGED
|
@@ -77,7 +77,15 @@ function categorizeCommit(message) {
|
|
|
77
77
|
}
|
|
78
78
|
function isReleaseNoiseCommitSummary(summary) {
|
|
79
79
|
const normalized = summary.trim();
|
|
80
|
-
return
|
|
80
|
+
return (
|
|
81
|
+
// "bump v0.9.251", "bump v0.9.252 release notes"
|
|
82
|
+
/^bump(?: v\d+\.\d+\.\d+(?:-.+)?)?(?: release notes)?$/i.test(normalized) || // "bump v0.9.251 for stack release", "bump v0.9.247 for stack manifest release"
|
|
83
|
+
/^bump v\d+\.\d+\.\d+(?:-.+)? for stack\b.*release$/i.test(normalized) || // "sync v0.9.248 release notes", "sync release notes", "stabilize v0.9.246 release notes"
|
|
84
|
+
/^(?:sync|stabilize)(?: v\d+\.\d+\.\d+(?:-.+)?)? release notes$/i.test(normalized) || // "sync v0.9.249 published artifacts"
|
|
85
|
+
/^sync(?: v\d+\.\d+\.\d+(?:-.+)?)? published artifacts$/i.test(normalized) || // "stack release v0.9.18"
|
|
86
|
+
/^stack release v\d+\.\d+\.\d+(?:-.+)?$/i.test(normalized) || // Any summary containing "release notes" as a phrase (catch-all for chore noise)
|
|
87
|
+
/\brelease notes\b/i.test(normalized)
|
|
88
|
+
);
|
|
81
89
|
}
|
|
82
90
|
function generateReleaseNotes(repoRoot2, currentVersion) {
|
|
83
91
|
const tags = git(["tag", "--sort=-v:refname", "--list", "v*"], repoRoot2).split("\n").filter(Boolean);
|
package/dist/bin/scan-tasks.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
queryTaskRows
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CS267UMH.js";
|
|
5
5
|
import "../chunk-6LFFIEDM.js";
|
|
6
6
|
import "../chunk-5CHYEKMH.js";
|
|
7
7
|
import "../chunk-4JERP7NT.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-QXGL2PKQ.js");
|
|
77
77
|
try {
|
|
78
78
|
await fastDbInit();
|
|
79
79
|
} catch (err) {
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
isAtCapacity,
|
|
9
9
|
isWithinRelaunchCooldown,
|
|
10
10
|
pollCapacityDead
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-X7I6NLIA.js";
|
|
12
12
|
import "./chunk-6QMXKKFD.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-CS267UMH.js";
|
|
14
14
|
import "./chunk-6LFFIEDM.js";
|
|
15
15
|
import "./chunk-5CHYEKMH.js";
|
|
16
16
|
import "./chunk-4JERP7NT.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lightweightSearch
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-LYIUESG2.js";
|
|
4
|
+
import "./chunk-PSQNT5DS.js";
|
|
5
5
|
import "./chunk-CHCA3ZM2.js";
|
|
6
6
|
import "./chunk-AWVDA2FL.js";
|
|
7
7
|
import "./chunk-Y25OJWOQ.js";
|
|
8
8
|
import {
|
|
9
9
|
sessionScopeFilter,
|
|
10
10
|
strictSessionScopeFilter
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CS267UMH.js";
|
|
12
12
|
import "./chunk-6LFFIEDM.js";
|
|
13
13
|
import "./chunk-5CHYEKMH.js";
|
|
14
14
|
import "./chunk-4JERP7NT.js";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
listWorkflowDefinitions,
|
|
3
3
|
runWorkflow,
|
|
4
4
|
startWorkflow
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MU6ESLYL.js";
|
|
6
6
|
import {
|
|
7
7
|
ingest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3EMZZZNU.js";
|
|
9
9
|
import {
|
|
10
10
|
initCRMBridge
|
|
11
11
|
} from "./chunk-ONKIWA3R.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CS267UMH.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-F732BVOE.js");
|
|
182
182
|
await updateTaskStatus({
|
|
183
183
|
taskId: task.id,
|
|
184
184
|
status: "needs_review",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MultiAgentOrchestrator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DJYIBHN5.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-XKNAY5S7.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-XKNAY5S7.js");
|
|
423
423
|
const client = getClient();
|
|
424
424
|
const cpScope = cpScopeFilter();
|
|
425
425
|
const tasks = await client.execute({
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
dispatchTaskToEmployee,
|
|
3
3
|
markTaskNotificationsRead,
|
|
4
4
|
notifyTaskDone
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AQOCHSIR.js";
|
|
6
6
|
import {
|
|
7
7
|
cleanupReviewFile,
|
|
8
8
|
createTaskCore,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
sessionScopeFilter,
|
|
12
12
|
updateTaskStatus,
|
|
13
13
|
writeNotification
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CS267UMH.js";
|
|
15
15
|
import {
|
|
16
16
|
orgBus
|
|
17
17
|
} from "./chunk-MP2AFCGL.js";
|
|
@@ -61,7 +61,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
61
61
|
}
|
|
62
62
|
if (unblockedRows.rows.length > 0 && !process.env.VITEST) {
|
|
63
63
|
try {
|
|
64
|
-
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-
|
|
64
|
+
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-LJ65U7DF.js");
|
|
65
65
|
const dispatched = /* @__PURE__ */ new Set();
|
|
66
66
|
for (const ur of unblockedRows.rows) {
|
|
67
67
|
const assignee = String(ur.assigned_to);
|
|
@@ -328,7 +328,7 @@ async function updateTask(input) {
|
|
|
328
328
|
await markTaskNotificationsRead(taskFile);
|
|
329
329
|
if (input.status === "needs_review" && !isCoordinator) {
|
|
330
330
|
try {
|
|
331
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
331
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-BETWD6EK.js");
|
|
332
332
|
await writeNotification2({
|
|
333
333
|
agentId: String(row.assigned_to),
|
|
334
334
|
agentRole: String(row.assigned_to),
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
notifyParentExe,
|
|
6
6
|
resolveExeSession,
|
|
7
7
|
sendIntercom
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CS267UMH.js";
|
|
9
9
|
import {
|
|
10
10
|
getTransport
|
|
11
11
|
} from "./chunk-MVW62NIZ.js";
|
|
@@ -68,7 +68,7 @@ async function dispatchTaskToEmployee(input) {
|
|
|
68
68
|
let crossProject = false;
|
|
69
69
|
if (input.projectName) {
|
|
70
70
|
try {
|
|
71
|
-
const { assertSessionScope } = await import("./session-scope-
|
|
71
|
+
const { assertSessionScope } = await import("./session-scope-ZB4SR3AX.js");
|
|
72
72
|
const check = assertSessionScope("dispatch_task", input.projectName);
|
|
73
73
|
if (check.reason === "cross_session_denied") {
|
|
74
74
|
crossProject = true;
|
|
@@ -527,7 +527,7 @@ async function createTaskCore(input) {
|
|
|
527
527
|
if (isCoordinatorSession) {
|
|
528
528
|
earlySessionScope = resolved;
|
|
529
529
|
} else {
|
|
530
|
-
const { getSessionProject } = await import("./session-scope-
|
|
530
|
+
const { getSessionProject } = await import("./session-scope-ZB4SR3AX.js");
|
|
531
531
|
const sessionProject = getSessionProject(resolved);
|
|
532
532
|
if (sessionProject && sessionProject !== input.projectName) {
|
|
533
533
|
scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
|
|
@@ -994,7 +994,7 @@ async function updateTaskStatus(input) {
|
|
|
994
994
|
} catch {
|
|
995
995
|
}
|
|
996
996
|
try {
|
|
997
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
997
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-BETWD6EK.js");
|
|
998
998
|
await writeNotification2({
|
|
999
999
|
agentId: reviewer,
|
|
1000
1000
|
agentRole: isCoordinatorName(reviewer) ? "COO" : "manager",
|
|
@@ -1512,7 +1512,7 @@ ${input.result ?? ""}`;
|
|
|
1512
1512
|
}
|
|
1513
1513
|
if (input.status === "done" || input.status === "needs_review") {
|
|
1514
1514
|
try {
|
|
1515
|
-
const { incrementSkillSuccess } = await import("./skill-refinement-
|
|
1515
|
+
const { incrementSkillSuccess } = await import("./skill-refinement-TT4VDYYW.js");
|
|
1516
1516
|
await incrementSkillSuccess(
|
|
1517
1517
|
String(row.assigned_to),
|
|
1518
1518
|
row.project_name ? String(row.project_name) : null
|
|
@@ -2997,7 +2997,7 @@ async function verifyPaneAtCapacity(sessionName) {
|
|
|
2997
2997
|
reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
|
|
2998
2998
|
};
|
|
2999
2999
|
}
|
|
3000
|
-
const { isAtCapacity } = await import("./capacity-monitor-
|
|
3000
|
+
const { isAtCapacity } = await import("./capacity-monitor-QMKII67L.js");
|
|
3001
3001
|
if (!isAtCapacity(pane)) {
|
|
3002
3002
|
return {
|
|
3003
3003
|
atCapacity: false,
|
|
@@ -3364,7 +3364,7 @@ function ensureEmployee(employeeName, exeSession, projectDir, opts) {
|
|
|
3364
3364
|
}
|
|
3365
3365
|
if (isEmployeeAlive(sessionName)) {
|
|
3366
3366
|
if (!opts?.autoInstance) releaseSpawnLock(sessionName);
|
|
3367
|
-
const result2 = sendIntercom(sessionName);
|
|
3367
|
+
const result2 = sendIntercom(sessionName, { force: true, reason: "signal" });
|
|
3368
3368
|
if (result2 === "acknowledged" || result2 === "skipped_exe" || result2 === "debounced" || result2 === "queued") {
|
|
3369
3369
|
return { status: "intercom_sent", sessionName };
|
|
3370
3370
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
buildRawVisibilityFilter,
|
|
4
4
|
buildWikiScopeFilter,
|
|
5
5
|
searchMemories
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PSQNT5DS.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
9
|
} from "./chunk-5U7WB4YG.js";
|
|
@@ -288,7 +288,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
288
288
|
let rerankerAvailable = false;
|
|
289
289
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
290
290
|
try {
|
|
291
|
-
const { isRerankerAvailable } = await import("./reranker-
|
|
291
|
+
const { isRerankerAvailable } = await import("./reranker-SRJL4IWB.js");
|
|
292
292
|
rerankerAvailable = isRerankerAvailable();
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
@@ -452,7 +452,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
452
452
|
try {
|
|
453
453
|
let rerankedRecords;
|
|
454
454
|
if (graphContextMap.size > 0) {
|
|
455
|
-
const { rerankWithContext } = await import("./reranker-
|
|
455
|
+
const { rerankWithContext } = await import("./reranker-SRJL4IWB.js");
|
|
456
456
|
const candidates = merged.map((m) => ({
|
|
457
457
|
text: m.raw_text,
|
|
458
458
|
context: graphContextMap.get(m.id)
|
|
@@ -460,7 +460,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
460
460
|
const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
|
|
461
461
|
rerankedRecords = scored.map((s) => merged[s.index]);
|
|
462
462
|
} else {
|
|
463
|
-
const { rerank } = await import("./reranker-
|
|
463
|
+
const { rerank } = await import("./reranker-SRJL4IWB.js");
|
|
464
464
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
465
465
|
}
|
|
466
466
|
if (rerankedRecords.length > 0) {
|
|
@@ -859,7 +859,7 @@ function formatReport(report, flags) {
|
|
|
859
859
|
return lines.join("\n");
|
|
860
860
|
}
|
|
861
861
|
async function fixNullVectors() {
|
|
862
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
862
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-4AS4K7G4.js");
|
|
863
863
|
if (!tryAcquireWorkerSlot()) {
|
|
864
864
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
865
865
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -982,7 +982,7 @@ function splitAtSentences(text, maxChunkSize) {
|
|
|
982
982
|
}
|
|
983
983
|
async function main(argv = process.argv.slice(2)) {
|
|
984
984
|
const flags = parseFlags(argv);
|
|
985
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
985
|
+
const { fastDbInit } = await import("./fast-db-init-QXGL2PKQ.js");
|
|
986
986
|
const client = await fastDbInit();
|
|
987
987
|
const report = await runAudit(client, flags);
|
|
988
988
|
console.log(formatReport(report, flags));
|
|
@@ -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-XKNAY5S7.js");
|
|
115
115
|
const client = getClient();
|
|
116
116
|
const scope = sessionScopeFilter();
|
|
117
117
|
const result = await client.execute({
|