@askexenow/exe-os 0.9.235 → 0.9.236
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-42OHVO74.js → backfill-metadata-63Y4JVSZ.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/scan-tasks.js +2 -2
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{capacity-monitor-S5VVRWNX.js → capacity-monitor-NVSZABQG.js} +2 -2
- package/dist/{catchup-brief-QHZWZPDK.js → catchup-brief-L76MGN2J.js} +3 -3
- package/dist/{chunk-2V3TDLQ2.js → chunk-24KEYEYL.js} +3 -3
- package/dist/{chunk-LNH5BL3I.js → chunk-26JSRH2T.js} +3 -3
- package/dist/{chunk-T7NGFQNB.js → chunk-43AN2SYJ.js} +2 -2
- package/dist/{chunk-EYMTIOBH.js → chunk-6XOAK64X.js} +1 -1
- package/dist/{chunk-ALVMBSU3.js → chunk-CFG73TVV.js} +1 -1
- package/dist/{chunk-5XAAMTTY.js → chunk-CHFBYRJX.js} +2 -2
- package/dist/{chunk-IJCGZ36F.js → chunk-DEAYJXHL.js} +1 -1
- package/dist/{chunk-4CPXB27E.js → chunk-DGZJXYK7.js} +1 -1
- package/dist/{chunk-5GN363L5.js → chunk-ENGXTDTJ.js} +29 -29
- package/dist/{chunk-ERZDN63F.js → chunk-H3UGSTZH.js} +4 -4
- package/dist/{chunk-LSD6SHBJ.js → chunk-J2LPDECR.js} +1 -1
- package/dist/{chunk-65AEKCC2.js → chunk-JH7CK57B.js} +1 -1
- package/dist/{chunk-TN4H5D45.js → chunk-LX7AMJIX.js} +2 -2
- package/dist/{chunk-KZU2ZG6R.js → chunk-M4ERGSIO.js} +2 -2
- package/dist/{chunk-G2Q2QELX.js → chunk-N5VQ3PVS.js} +1 -1
- package/dist/{chunk-4TFOQEM7.js → chunk-NEXKWAVU.js} +1 -1
- package/dist/{chunk-3I2EA54D.js → chunk-NFHSUQ2R.js} +1 -1
- package/dist/{chunk-JQUFMZHI.js → chunk-PBA32J2M.js} +13 -4
- package/dist/{chunk-CFHTPEIC.js → chunk-Q25V2UO6.js} +1 -1
- package/dist/{chunk-ZKFW6ZV3.js → chunk-QK7R2CUS.js} +1 -1
- package/dist/{chunk-LWCQXP6U.js → chunk-SUQSNH4N.js} +2 -2
- package/dist/{chunk-2GFZSEST.js → chunk-X4AZWJP4.js} +3 -3
- package/dist/{chunk-HLWU3NEV.js → chunk-Z2EJ234K.js} +2 -2
- package/dist/{chunk-SAVQLE3L.js → chunk-ZAS43I3E.js} +1 -1
- package/dist/{chunk-RP7BANLZ.js → chunk-ZPZFR3EN.js} +3 -3
- package/dist/{crm-webhook-MMMSL3YF.js → crm-webhook-C2LSU33R.js} +2 -2
- package/dist/{cto-delegation-gate-VBGJULVJ.js → cto-delegation-gate-4DLESYKG.js} +1 -1
- package/dist/{daemon-orchestration-V7THLPEZ.js → daemon-orchestration-IW3MD56I.js} +3 -3
- package/dist/{exe-export-6YZOWOON.js → exe-export-WPJD5XA3.js} +1 -1
- package/dist/{exe-import-6SLISBOQ.js → exe-import-AIGIF253.js} +1 -1
- package/dist/{exe-snapshot-3BUMC3XW.js → exe-snapshot-2NZ6BL7S.js} +1 -1
- package/dist/{fast-db-init-L66PVC3N.js → fast-db-init-O6Y4G47U.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-task-sweep-2QZU6PCS.js → git-task-sweep-6P4YPAIY.js} +2 -2
- package/dist/hooks/bug-report-worker.js +3 -3
- package/dist/hooks/codex-stop-task-finalizer.js +3 -3
- package/dist/hooks/commit-complete.js +4 -4
- package/dist/hooks/error-recall.js +2 -2
- package/dist/hooks/ingest.js +2 -2
- package/dist/hooks/instructions-loaded.js +1 -1
- package/dist/hooks/manifest.json +18 -18
- package/dist/hooks/notification.js +1 -1
- package/dist/hooks/post-compact.js +2 -2
- package/dist/hooks/post-tool-combined.js +2 -2
- package/dist/hooks/pre-compact.js +3 -3
- package/dist/hooks/pre-tool-use.js +10 -22
- package/dist/hooks/prompt-submit.js +8 -8
- package/dist/hooks/session-end.js +4 -4
- package/dist/hooks/session-start.js +5 -5
- package/dist/hooks/stop.js +5 -5
- package/dist/hooks/subagent-stop.js +2 -2
- package/dist/hooks/summary-worker.js +5 -5
- package/dist/index.js +9 -9
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/exe-daemon.js +15 -15
- package/dist/lib/hybrid-search.js +2 -2
- package/dist/lib/messaging.js +2 -2
- package/dist/lib/schedules.js +2 -2
- package/dist/lib/store.js +1 -1
- package/dist/lib/tasks.js +2 -2
- package/dist/lib/tmux-routing.js +1 -1
- package/dist/mcp/register-tools.js +22 -22
- package/dist/mcp/server.js +23 -23
- package/dist/mcp/tools/create-task.js +3 -3
- package/dist/mcp/tools/list-tasks.js +3 -3
- package/dist/mcp/tools/send-message.js +3 -3
- package/dist/mcp/tools/update-task.js +3 -3
- package/dist/{notifications-KAZF7SNO.js → notifications-3SVZCDEY.js} +1 -1
- package/dist/{orchestrator-GHAI42OK.js → orchestrator-46YDSPQI.js} +2 -2
- package/dist/{pipeline-router-4JKKNJI2.js → pipeline-router-RCPUSLWO.js} +1 -1
- package/dist/{project-boot-QYOQXRZ2.js → project-boot-WMI6CWRX.js} +0 -1
- package/dist/{reranker-EHMLOVRA.js → reranker-CCAEXD25.js} +1 -1
- package/dist/{review-polling-YEA52GYB.js → review-polling-Z7NRBMHV.js} +2 -2
- package/dist/runtime/index.js +3 -3
- package/dist/{session-events-HMGXVXSQ.js → session-events-TNO5ISQB.js} +2 -2
- package/dist/{session-scope-WKK56DKR.js → session-scope-MGHWXZYK.js} +1 -1
- package/dist/{task-enforcement-CIFQHHKV.js → task-enforcement-QTVMU2RS.js} +1 -1
- package/dist/{task-scope-EX7IDCJU.js → task-scope-YQ6O3DIE.js} +1 -1
- package/dist/{tasks-crud-IEKYIELP.js → tasks-crud-ZGQZPZAM.js} +1 -1
- package/dist/{tasks-review-2Y35RIEG.js → tasks-review-EM3YKWOR.js} +1 -1
- package/dist/tui/App.js +7 -7
- package/dist/{tui-data-ZTHWN4TU.js → tui-data-MSZKTQDJ.js} +1 -1
- package/dist/{worker-gate-PJMTVOTJ.js → worker-gate-WQ2BEQTX.js} +1 -1
- package/dist/{workflow-engine-4G2GSWJZ.js → workflow-engine-YB7OOSAT.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-KTIV2FSO.js → chunk-5O42LXU7.js} +0 -0
- /package/dist/{chunk-WI7DZU5G.js → chunk-CU6CYZOI.js} +0 -0
- /package/dist/{chunk-MQVA77HS.js → chunk-L3GKFCXW.js} +0 -0
- /package/dist/{chunk-QRW3HU7V.js → chunk-MBEF2YKQ.js} +0 -0
- /package/dist/{chunk-NUYXOC4J.js → chunk-NOQSYYVA.js} +0 -0
- /package/dist/{chunk-KTZSPK6P.js → chunk-THNAZQIH.js} +0 -0
- /package/dist/{core-memory-VWEANH4H.js → core-memory-NYBNXCKZ.js} +0 -0
- /package/dist/{exe-key-PZBD646Y.js → exe-key-2C23CONG.js} +0 -0
- /package/dist/{skill-refinement-OJVGVSNP.js → skill-refinement-Y7N2Q25B.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lightweightSearch
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-H3UGSTZH.js";
|
|
4
|
+
import "./chunk-L3GKFCXW.js";
|
|
5
5
|
import "./chunk-CHCA3ZM2.js";
|
|
6
6
|
import "./chunk-N345XXAA.js";
|
|
7
7
|
import "./chunk-F7LU65PQ.js";
|
|
8
8
|
import {
|
|
9
9
|
sessionScopeFilter,
|
|
10
10
|
strictSessionScopeFilter
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PBA32J2M.js";
|
|
12
12
|
import "./chunk-XORJOW4J.js";
|
|
13
13
|
import "./chunk-QI4IXJN7.js";
|
|
14
14
|
import "./chunk-4JERP7NT.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-5NIUTWV4.js";
|
|
4
4
|
import {
|
|
5
5
|
updateTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZPZFR3EN.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-PBA32J2M.js";
|
|
18
18
|
import {
|
|
19
19
|
queueIntercom
|
|
20
20
|
} from "./chunk-QI4IXJN7.js";
|
|
@@ -1796,7 +1796,7 @@ async function gcStaleCheckpoints() {
|
|
|
1796
1796
|
}
|
|
1797
1797
|
async function pollTaskGroupBarriers() {
|
|
1798
1798
|
try {
|
|
1799
|
-
const { checkAndFireBarriers } = await import("./tasks-crud-
|
|
1799
|
+
const { checkAndFireBarriers } = await import("./tasks-crud-ZGQZPZAM.js");
|
|
1800
1800
|
const firedGroupIds = await checkAndFireBarriers();
|
|
1801
1801
|
if (firedGroupIds.length === 0) return 0;
|
|
1802
1802
|
const { getClient } = await import("./lib/database.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MultiAgentOrchestrator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6XOAK64X.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-YQ6O3DIE.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-YQ6O3DIE.js");
|
|
423
423
|
const client = getClient();
|
|
424
424
|
const cpScope = cpScopeFilter();
|
|
425
425
|
const tasks = await client.execute({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ingest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NOQSYYVA.js";
|
|
4
4
|
import {
|
|
5
5
|
listWorkflowDefinitions,
|
|
6
6
|
runWorkflow,
|
|
7
7
|
startWorkflow
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Q25V2UO6.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-PBA32J2M.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-ZGQZPZAM.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-YQ6O3DIE.js");
|
|
115
115
|
const client = getClient();
|
|
116
116
|
const scope = sessionScopeFilter();
|
|
117
117
|
const result = await client.execute({
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-J2QQMTCD.js";
|
|
4
4
|
import {
|
|
5
5
|
listRecentSessionEvents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZAS43I3E.js";
|
|
7
7
|
import {
|
|
8
8
|
isRerankerAvailable,
|
|
9
9
|
rerankWithScores
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-THNAZQIH.js";
|
|
11
11
|
import {
|
|
12
12
|
getEntityByName,
|
|
13
13
|
getEntityNeighbors,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-E6ORBQHP.js";
|
|
23
23
|
import {
|
|
24
24
|
AUTO_WAKE_MAX_RETRIES
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-24KEYEYL.js";
|
|
26
26
|
import {
|
|
27
27
|
getCachedLicenseGate
|
|
28
28
|
} from "./chunk-JZMVLAZ2.js";
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
} from "./chunk-MBHZDXGN.js";
|
|
59
59
|
import {
|
|
60
60
|
createOrRefreshResumeTask
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-NEXKWAVU.js";
|
|
62
62
|
import {
|
|
63
63
|
registerCreateReminder
|
|
64
64
|
} from "./chunk-YVN2WG5T.js";
|
|
@@ -78,19 +78,19 @@ import {
|
|
|
78
78
|
} from "./chunk-L6LDDOYW.js";
|
|
79
79
|
import {
|
|
80
80
|
registerImportConversations
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-QK7R2CUS.js";
|
|
82
82
|
import {
|
|
83
83
|
registerSendMessage
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-J2LPDECR.js";
|
|
85
85
|
import {
|
|
86
86
|
registerCreateTask
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-X4AZWJP4.js";
|
|
88
88
|
import {
|
|
89
89
|
registerListTasks
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-JH7CK57B.js";
|
|
91
91
|
import {
|
|
92
92
|
registerUpdateTask
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-M4ERGSIO.js";
|
|
94
94
|
import {
|
|
95
95
|
TOKENS_PER_IDLE_MINUTE,
|
|
96
96
|
countKillsSince,
|
|
@@ -99,10 +99,10 @@ import {
|
|
|
99
99
|
import {
|
|
100
100
|
createSchedule,
|
|
101
101
|
parseHumanCron
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-NFHSUQ2R.js";
|
|
103
103
|
import {
|
|
104
104
|
status
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-SUQSNH4N.js";
|
|
106
106
|
import {
|
|
107
107
|
getAgentSpend
|
|
108
108
|
} from "./chunk-PJPPO6EF.js";
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
fixShards,
|
|
122
122
|
formatReport,
|
|
123
123
|
runAudit
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-Z2EJ234K.js";
|
|
125
125
|
import {
|
|
126
126
|
runHealthCheck
|
|
127
127
|
} from "./chunk-UWQ3XCDG.js";
|
|
@@ -166,7 +166,7 @@ import {
|
|
|
166
166
|
groupMemories,
|
|
167
167
|
runConsolidation,
|
|
168
168
|
selectUnconsolidated
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-CFG73TVV.js";
|
|
170
170
|
import {
|
|
171
171
|
embed
|
|
172
172
|
} from "./chunk-EPWDTS2Q.js";
|
|
@@ -177,17 +177,17 @@ import {
|
|
|
177
177
|
} from "./chunk-UODVZGBQ.js";
|
|
178
178
|
import {
|
|
179
179
|
updateTask
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-ZPZFR3EN.js";
|
|
181
181
|
import {
|
|
182
182
|
fastDbInit
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-CU6CYZOI.js";
|
|
184
184
|
import {
|
|
185
185
|
MAX_CONCURRENT_WORKERS
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-DGZJXYK7.js";
|
|
187
187
|
import {
|
|
188
188
|
hybridSearch,
|
|
189
189
|
recentRecords
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-H3UGSTZH.js";
|
|
191
191
|
import {
|
|
192
192
|
attachDocumentMetadata,
|
|
193
193
|
flushBatch,
|
|
@@ -195,7 +195,7 @@ import {
|
|
|
195
195
|
reserveVersions,
|
|
196
196
|
vectorToBlob,
|
|
197
197
|
writeMemory
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-L3GKFCXW.js";
|
|
199
199
|
import {
|
|
200
200
|
getActiveAgent
|
|
201
201
|
} from "./chunk-ZOPLM7G3.js";
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
sessionScopeFilter,
|
|
207
207
|
updateTaskStatus,
|
|
208
208
|
writeCheckpoint
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-PBA32J2M.js";
|
|
210
210
|
import {
|
|
211
211
|
listSessions
|
|
212
212
|
} from "./chunk-2UD2P2LO.js";
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
isScheduledTrigger,
|
|
243
243
|
loadTriggers,
|
|
244
244
|
sanitizeParam
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-MBEF2YKQ.js";
|
|
246
246
|
import {
|
|
247
247
|
pushConversationToCRM
|
|
248
248
|
} from "./chunk-ONKIWA3R.js";
|
|
@@ -1582,7 +1582,7 @@ function registerMemory(server) {
|
|
|
1582
1582
|
if (action === "core_get" || action === "core_set" || action === "core_delete") {
|
|
1583
1583
|
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-JD6BCCFZ.js");
|
|
1584
1584
|
const { agentId } = getActiveAgent2();
|
|
1585
|
-
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-
|
|
1585
|
+
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-NYBNXCKZ.js");
|
|
1586
1586
|
if (action === "core_get") {
|
|
1587
1587
|
const entries = await getCoreMemory(agentId);
|
|
1588
1588
|
const block = formatCoreMemoryBlock(entries);
|
|
@@ -2316,7 +2316,7 @@ function registerResumeEmployee(server) {
|
|
|
2316
2316
|
};
|
|
2317
2317
|
}
|
|
2318
2318
|
try {
|
|
2319
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2319
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-ZGQZPZAM.js");
|
|
2320
2320
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2321
2321
|
for (const row of openTasks.rows) {
|
|
2322
2322
|
const status2 = String(row.status);
|
|
@@ -2344,7 +2344,7 @@ function registerResumeEmployee(server) {
|
|
|
2344
2344
|
}
|
|
2345
2345
|
let checkpointInfo = "";
|
|
2346
2346
|
try {
|
|
2347
|
-
const { readLatestCheckpoint } = await import("./tasks-crud-
|
|
2347
|
+
const { readLatestCheckpoint } = await import("./tasks-crud-ZGQZPZAM.js");
|
|
2348
2348
|
const checkpoint = await readLatestCheckpoint(agent_id);
|
|
2349
2349
|
if (checkpoint) {
|
|
2350
2350
|
const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none";
|
|
@@ -2704,7 +2704,7 @@ function registerTask(server) {
|
|
|
2704
2704
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
|
|
2705
2705
|
if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
|
|
2706
2706
|
try {
|
|
2707
|
-
const { createTaskGroup } = await import("./tasks-crud-
|
|
2707
|
+
const { createTaskGroup } = await import("./tasks-crud-ZGQZPZAM.js");
|
|
2708
2708
|
const group = await createTaskGroup({
|
|
2709
2709
|
title: args.title,
|
|
2710
2710
|
coordinator: args.coordinator,
|
|
@@ -2723,7 +2723,7 @@ function registerTask(server) {
|
|
|
2723
2723
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
|
|
2724
2724
|
if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
|
|
2725
2725
|
try {
|
|
2726
|
-
const { getGroupStatus } = await import("./tasks-crud-
|
|
2726
|
+
const { getGroupStatus } = await import("./tasks-crud-ZGQZPZAM.js");
|
|
2727
2727
|
const status2 = await getGroupStatus(args.group_id);
|
|
2728
2728
|
return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
|
|
2729
2729
|
} catch (err) {
|
|
@@ -2735,7 +2735,7 @@ function registerTask(server) {
|
|
|
2735
2735
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
|
|
2736
2736
|
if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
|
|
2737
2737
|
try {
|
|
2738
|
-
const { getGroupResults } = await import("./tasks-crud-
|
|
2738
|
+
const { getGroupResults } = await import("./tasks-crud-ZGQZPZAM.js");
|
|
2739
2739
|
const results = await getGroupResults(args.group_id);
|
|
2740
2740
|
return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
|
|
2741
2741
|
} catch (err) {
|
|
@@ -5777,7 +5777,7 @@ async function getAgentSessionLoad() {
|
|
|
5777
5777
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
5778
5778
|
}
|
|
5779
5779
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
5780
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
5780
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-YQ6O3DIE.js");
|
|
5781
5781
|
const client = getClient2();
|
|
5782
5782
|
const scope = sessionScopeFilter2();
|
|
5783
5783
|
for (const s of liveAgentSessions) {
|
|
@@ -10036,7 +10036,7 @@ function registerWorkflowTool(server) {
|
|
|
10036
10036
|
getWorkflowInstance,
|
|
10037
10037
|
listWorkflowInstances,
|
|
10038
10038
|
approveWorkflowStep
|
|
10039
|
-
} = await import("./workflow-engine-
|
|
10039
|
+
} = await import("./workflow-engine-YB7OOSAT.js");
|
|
10040
10040
|
try {
|
|
10041
10041
|
switch (input.action) {
|
|
10042
10042
|
case "create_workflow": {
|
|
@@ -12546,7 +12546,7 @@ async function handleTrigger(limit) {
|
|
|
12546
12546
|
if (rows.rows.length === 0) {
|
|
12547
12547
|
return text3("No conversations found to re-process.");
|
|
12548
12548
|
}
|
|
12549
|
-
const { ingest } = await import("./pipeline-router-
|
|
12549
|
+
const { ingest } = await import("./pipeline-router-RCPUSLWO.js");
|
|
12550
12550
|
const results = [];
|
|
12551
12551
|
for (const row of rows.rows) {
|
|
12552
12552
|
const r = row;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
buildRawVisibilityFilter,
|
|
4
4
|
buildWikiScopeFilter,
|
|
5
5
|
searchMemories
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-L3GKFCXW.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
9
|
} from "./chunk-VTLUUTWI.js";
|
|
@@ -246,7 +246,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
246
246
|
let rerankerAvailable = false;
|
|
247
247
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
248
248
|
try {
|
|
249
|
-
const { isRerankerAvailable } = await import("./reranker-
|
|
249
|
+
const { isRerankerAvailable } = await import("./reranker-CCAEXD25.js");
|
|
250
250
|
rerankerAvailable = isRerankerAvailable();
|
|
251
251
|
} catch {
|
|
252
252
|
}
|
|
@@ -410,7 +410,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
410
410
|
try {
|
|
411
411
|
let rerankedRecords;
|
|
412
412
|
if (graphContextMap.size > 0) {
|
|
413
|
-
const { rerankWithContext } = await import("./reranker-
|
|
413
|
+
const { rerankWithContext } = await import("./reranker-CCAEXD25.js");
|
|
414
414
|
const candidates = merged.map((m) => ({
|
|
415
415
|
text: m.raw_text,
|
|
416
416
|
context: graphContextMap.get(m.id)
|
|
@@ -418,7 +418,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
418
418
|
const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
|
|
419
419
|
rerankedRecords = scored.map((s) => merged[s.index]);
|
|
420
420
|
} else {
|
|
421
|
-
const { rerank } = await import("./reranker-
|
|
421
|
+
const { rerank } = await import("./reranker-CCAEXD25.js");
|
|
422
422
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
423
423
|
}
|
|
424
424
|
if (rerankedRecords.length > 0) {
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
createCRMWebhookHandler,
|
|
21
21
|
parseTwentyWebhook
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-N5VQ3PVS.js";
|
|
23
23
|
import {
|
|
24
24
|
OllamaProvider
|
|
25
25
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
retryWithBackoff,
|
|
50
50
|
routeMessage,
|
|
51
51
|
validateGatewayConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-43AN2SYJ.js";
|
|
53
53
|
import {
|
|
54
54
|
getAccountByName,
|
|
55
55
|
getAccountByPhoneNumberId,
|
|
@@ -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-MGHWXZYK.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.`;
|
|
@@ -985,7 +985,7 @@ async function updateTaskStatus(input) {
|
|
|
985
985
|
} catch {
|
|
986
986
|
}
|
|
987
987
|
try {
|
|
988
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
988
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-3SVZCDEY.js");
|
|
989
989
|
await writeNotification2({
|
|
990
990
|
agentId: reviewer,
|
|
991
991
|
agentRole: isCoordinatorName(reviewer) ? "COO" : "manager",
|
|
@@ -1377,6 +1377,15 @@ ${input.result ?? ""}`;
|
|
|
1377
1377
|
args: [input.status, now, ...actualMinutesArgs, taskId]
|
|
1378
1378
|
});
|
|
1379
1379
|
}
|
|
1380
|
+
if (input.status === "cancelled" || input.status === "closed") {
|
|
1381
|
+
try {
|
|
1382
|
+
await client.execute({
|
|
1383
|
+
sql: `UPDATE notifications SET read = 1 WHERE task_file = ? AND read = 0`,
|
|
1384
|
+
args: [taskFile]
|
|
1385
|
+
});
|
|
1386
|
+
} catch {
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1380
1389
|
if (requestedStatus === "done") {
|
|
1381
1390
|
recordOrchestrationEventBestEffort({
|
|
1382
1391
|
eventType: "task.done",
|
|
@@ -1494,7 +1503,7 @@ ${input.result ?? ""}`;
|
|
|
1494
1503
|
}
|
|
1495
1504
|
if (input.status === "done" || input.status === "needs_review") {
|
|
1496
1505
|
try {
|
|
1497
|
-
const { incrementSkillSuccess } = await import("./skill-refinement-
|
|
1506
|
+
const { incrementSkillSuccess } = await import("./skill-refinement-Y7N2Q25B.js");
|
|
1498
1507
|
await incrementSkillSuccess(
|
|
1499
1508
|
String(row.assigned_to),
|
|
1500
1509
|
row.project_name ? String(row.project_name) : null
|
|
@@ -2962,7 +2971,7 @@ async function verifyPaneAtCapacity(sessionName) {
|
|
|
2962
2971
|
reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
|
|
2963
2972
|
};
|
|
2964
2973
|
}
|
|
2965
|
-
const { isAtCapacity } = await import("./capacity-monitor-
|
|
2974
|
+
const { isAtCapacity } = await import("./capacity-monitor-NVSZABQG.js");
|
|
2966
2975
|
if (!isAtCapacity(pane)) {
|
|
2967
2976
|
return {
|
|
2968
2977
|
atCapacity: false,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-MLXJ5EZG.js";
|
|
4
4
|
import {
|
|
5
5
|
createTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZPZFR3EN.js";
|
|
7
7
|
import {
|
|
8
8
|
getActiveAgent
|
|
9
9
|
} from "./chunk-ZOPLM7G3.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ensureEmployee,
|
|
12
12
|
logTaskDispatch,
|
|
13
13
|
resolveExeSession
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PBA32J2M.js";
|
|
15
15
|
import {
|
|
16
16
|
recordOrchestrationEventBestEffort
|
|
17
17
|
} from "./chunk-MJMJMHFC.js";
|
|
@@ -307,7 +307,7 @@ function registerCreateTask(server) {
|
|
|
307
307
|
let projectConflictOpts = {};
|
|
308
308
|
try {
|
|
309
309
|
const { getClient } = await import("./lib/database.js");
|
|
310
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
310
|
+
const { sessionScopeFilter } = await import("./task-scope-YQ6O3DIE.js");
|
|
311
311
|
const client = getClient();
|
|
312
312
|
const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
|
|
313
313
|
const existing = await client.execute({
|
|
@@ -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-WQ2BEQTX.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-O6Y4G47U.js");
|
|
986
986
|
const client = await fastDbInit();
|
|
987
987
|
const report = await runAudit(client, flags);
|
|
988
988
|
console.log(formatReport(report, flags));
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
sessionScopeFilter,
|
|
12
12
|
updateTaskStatus,
|
|
13
13
|
writeNotification
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PBA32J2M.js";
|
|
15
15
|
import {
|
|
16
16
|
getTransport
|
|
17
17
|
} from "./chunk-MVW62NIZ.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-MGHWXZYK.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-3SVZCDEY.js");
|
|
504
504
|
await writeNotification2({
|
|
505
505
|
agentId: String(row.assigned_to),
|
|
506
506
|
agentRole: String(row.assigned_to),
|