@askexenow/exe-os 0.9.229 → 0.9.231
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-JRWUECUS.js → backfill-metadata-7WHAJKVL.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 +5 -5
- 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-HZPAFQZH.js → capacity-monitor-PRUTCTKE.js} +2 -2
- package/dist/{catchup-brief-CDG4KD5Y.js → catchup-brief-E2UK24I7.js} +3 -3
- package/dist/{chunk-YCTCKUZE.js → chunk-2AWEIMVH.js} +1 -1
- package/dist/{chunk-M37HYGAG.js → chunk-2EHYQKJR.js} +1 -1
- package/dist/{chunk-JKGAJAM7.js → chunk-2RS2DR47.js} +2 -2
- package/dist/{chunk-JSH5MAMM.js → chunk-2V5UDX2O.js} +1 -1
- package/dist/{chunk-MSCB4ACU.js → chunk-3CLQFRM6.js} +1 -1
- package/dist/{chunk-MJXEOKIW.js → chunk-3EFVHTTG.js} +1 -1
- package/dist/{chunk-BZAQ4UG7.js → chunk-5X3ISBHJ.js} +3 -3
- package/dist/{chunk-UWISNP4U.js → chunk-6YZ4MT2L.js} +2 -2
- package/dist/{chunk-JJNXFW7M.js → chunk-B5AEHLZQ.js} +1 -1
- package/dist/{chunk-W6TC6A73.js → chunk-EOVABUV3.js} +1 -1
- package/dist/{chunk-TOQZO2XX.js → chunk-F2UFRUVY.js} +2 -2
- package/dist/{chunk-Q7XA3SQ4.js → chunk-GTTLP5WK.js} +29 -29
- package/dist/{chunk-CQDSTBKT.js → chunk-I32QME33.js} +3 -3
- package/dist/{chunk-NUVDSQNY.js → chunk-J5VSABXD.js} +2 -2
- package/dist/{chunk-UBMGUX6T.js → chunk-J5WI42RB.js} +5 -5
- package/dist/{chunk-YKIPAQZG.js → chunk-JGZS4U4X.js} +1 -1
- package/dist/{chunk-3A5BZETG.js → chunk-LRRMS5OF.js} +3 -3
- package/dist/{chunk-NFB4N53K.js → chunk-N4C2RMEO.js} +1 -1
- package/dist/{chunk-F2GUJW5O.js → chunk-SJI7LQUK.js} +2 -2
- package/dist/{chunk-WZ2RVKRO.js → chunk-SSMXRAE2.js} +2 -2
- package/dist/{chunk-3DQ3IPPO.js → chunk-UILBQ5PU.js} +1 -1
- package/dist/{chunk-RTXGUKY3.js → chunk-UKCXMU5W.js} +3 -3
- package/dist/{chunk-IKTMX6N7.js → chunk-VW6UDG7E.js} +1 -1
- package/dist/{chunk-HFJNYSTQ.js → chunk-WEMIJFOX.js} +4 -4
- package/dist/{chunk-UPSZ2VKV.js → chunk-WUFPA6LR.js} +1 -1
- package/dist/{crm-webhook-3ODT32F7.js → crm-webhook-ZL2YFSFK.js} +2 -2
- package/dist/{cto-delegation-gate-4XDMTK6H.js → cto-delegation-gate-VRGO7IQ2.js} +1 -1
- package/dist/{daemon-orchestration-5I7RLXCP.js → daemon-orchestration-5TO3CHJQ.js} +3 -3
- package/dist/{exe-export-UZN6EFOR.js → exe-export-DC4MYDXH.js} +1 -1
- package/dist/{exe-import-OSM3U36A.js → exe-import-KTTZOAAA.js} +1 -1
- package/dist/{exe-snapshot-7TQIN7XI.js → exe-snapshot-NJ6BFROA.js} +1 -1
- package/dist/{fast-db-init-4VXDSFUY.js → fast-db-init-QYMFD4FX.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-task-sweep-HYAPIM44.js → git-task-sweep-WJAABZK5.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 +6 -6
- 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 +69 -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-H4F77BYT.js → notifications-MEW6QY57.js} +1 -1
- package/dist/{orchestrator-HXUZ6LYM.js → orchestrator-HGTR4YIR.js} +2 -2
- package/dist/{pipeline-router-QRJQWMFF.js → pipeline-router-7VGJ7635.js} +1 -1
- package/dist/{reranker-U6DEAT4S.js → reranker-67X4YJEW.js} +1 -1
- package/dist/{review-polling-W2S3XAAU.js → review-polling-ILAI4FDS.js} +2 -2
- package/dist/runtime/index.js +3 -3
- package/dist/{session-events-MNWHGZY5.js → session-events-Y2YPBY3Q.js} +2 -2
- package/dist/{session-scope-SMT225X3.js → session-scope-CUDNSN62.js} +1 -1
- package/dist/{task-enforcement-UIEWTA6H.js → task-enforcement-MGHY6IJV.js} +1 -1
- package/dist/{task-scope-DNQURKOQ.js → task-scope-N6GNTTVY.js} +1 -1
- package/dist/{tasks-crud-CLAYZZ4O.js → tasks-crud-2FX6NTL2.js} +1 -1
- package/dist/{tasks-review-OHR2P4QE.js → tasks-review-5NFMLQJG.js} +1 -1
- package/dist/tui/App.js +7 -7
- package/dist/{tui-data-L6XG4Z52.js → tui-data-DT4WV54Q.js} +1 -1
- package/dist/{worker-gate-GFKXZ6V5.js → worker-gate-SN6WCY4Q.js} +1 -1
- package/dist/{workflow-engine-6HTKI2ZE.js → workflow-engine-2RQLJXDG.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-HTCBLSIB.js → chunk-5HF7X4WH.js} +0 -0
- /package/dist/{chunk-DKRTWILB.js → chunk-A2G6WCUO.js} +0 -0
- /package/dist/{chunk-Z3ZCLTP7.js → chunk-JZ2JEXEM.js} +0 -0
- /package/dist/{chunk-OSMMWGJ2.js → chunk-NXF7NZEA.js} +0 -0
- /package/dist/{chunk-LHOIY5LQ.js → chunk-QYUWMF3P.js} +0 -0
- /package/dist/{chunk-7BPKHR4O.js → chunk-XWOXF4NK.js} +0 -0
- /package/dist/{core-memory-R7QBLN4C.js → core-memory-6JYJS3A3.js} +0 -0
- /package/dist/{exe-key-OG35WPBA.js → exe-key-A6WNNU4Q.js} +0 -0
- /package/dist/{skill-refinement-LKJHUW2U.js → skill-refinement-YCCQ5W7C.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lightweightSearch
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-WEMIJFOX.js";
|
|
4
|
+
import "./chunk-5HF7X4WH.js";
|
|
5
5
|
import "./chunk-CHCA3ZM2.js";
|
|
6
6
|
import "./chunk-IW53DAYO.js";
|
|
7
7
|
import "./chunk-F7LU65PQ.js";
|
|
8
8
|
import {
|
|
9
9
|
sessionScopeFilter,
|
|
10
10
|
strictSessionScopeFilter
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J5WI42RB.js";
|
|
12
12
|
import "./chunk-I2CDSGQW.js";
|
|
13
13
|
import "./chunk-QI4IXJN7.js";
|
|
14
14
|
import "./chunk-4JERP7NT.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J5WI42RB.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-2FX6NTL2.js");
|
|
182
182
|
await updateTaskStatus({
|
|
183
183
|
taskId: task.id,
|
|
184
184
|
status: "needs_review",
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
sessionScopeFilter,
|
|
12
12
|
updateTaskStatus,
|
|
13
13
|
writeNotification
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-J5WI42RB.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-CUDNSN62.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-MEW6QY57.js");
|
|
504
504
|
await writeNotification2({
|
|
505
505
|
agentId: String(row.assigned_to),
|
|
506
506
|
agentRole: String(row.assigned_to),
|
|
@@ -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-SN6WCY4Q.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-QYMFD4FX.js");
|
|
986
986
|
const client = await fastDbInit();
|
|
987
987
|
const report = await runAudit(client, flags);
|
|
988
988
|
console.log(formatReport(report, flags));
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-CHT3THVG.js";
|
|
4
4
|
import {
|
|
5
5
|
listRecentSessionEvents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2AWEIMVH.js";
|
|
7
7
|
import {
|
|
8
8
|
isRerankerAvailable,
|
|
9
9
|
rerankWithScores
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QYUWMF3P.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-I32QME33.js";
|
|
26
26
|
import {
|
|
27
27
|
getCachedLicenseGate
|
|
28
28
|
} from "./chunk-GGV3PFUW.js";
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
} from "./chunk-ZVSG2KKG.js";
|
|
59
59
|
import {
|
|
60
60
|
createOrRefreshResumeTask
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-2EHYQKJR.js";
|
|
62
62
|
import {
|
|
63
63
|
registerCreateReminder
|
|
64
64
|
} from "./chunk-EHKIJPVX.js";
|
|
@@ -78,19 +78,19 @@ import {
|
|
|
78
78
|
} from "./chunk-R2E4TV5V.js";
|
|
79
79
|
import {
|
|
80
80
|
registerImportConversations
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-3CLQFRM6.js";
|
|
82
82
|
import {
|
|
83
83
|
registerSendMessage
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-UILBQ5PU.js";
|
|
85
85
|
import {
|
|
86
86
|
registerCreateTask
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-LRRMS5OF.js";
|
|
88
88
|
import {
|
|
89
89
|
registerListTasks
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-EOVABUV3.js";
|
|
91
91
|
import {
|
|
92
92
|
registerUpdateTask
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-SSMXRAE2.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-WUFPA6LR.js";
|
|
103
103
|
import {
|
|
104
104
|
status
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-F2UFRUVY.js";
|
|
106
106
|
import {
|
|
107
107
|
getAgentSpend
|
|
108
108
|
} from "./chunk-WA67SFFZ.js";
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
fixShards,
|
|
122
122
|
formatReport,
|
|
123
123
|
runAudit
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-6YZ4MT2L.js";
|
|
125
125
|
import {
|
|
126
126
|
runHealthCheck
|
|
127
127
|
} from "./chunk-DGOGCPYU.js";
|
|
@@ -166,7 +166,7 @@ import {
|
|
|
166
166
|
groupMemories,
|
|
167
167
|
runConsolidation,
|
|
168
168
|
selectUnconsolidated
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-VW6UDG7E.js";
|
|
170
170
|
import {
|
|
171
171
|
embed
|
|
172
172
|
} from "./chunk-HQMEOIUJ.js";
|
|
@@ -177,17 +177,17 @@ import {
|
|
|
177
177
|
} from "./chunk-YZKJLGWL.js";
|
|
178
178
|
import {
|
|
179
179
|
updateTask
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-5X3ISBHJ.js";
|
|
181
181
|
import {
|
|
182
182
|
fastDbInit
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-A2G6WCUO.js";
|
|
184
184
|
import {
|
|
185
185
|
MAX_CONCURRENT_WORKERS
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-N4C2RMEO.js";
|
|
187
187
|
import {
|
|
188
188
|
hybridSearch,
|
|
189
189
|
recentRecords
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-WEMIJFOX.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-5HF7X4WH.js";
|
|
199
199
|
import {
|
|
200
200
|
getActiveAgent
|
|
201
201
|
} from "./chunk-DLXTKVBO.js";
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
sessionScopeFilter,
|
|
207
207
|
updateTaskStatus,
|
|
208
208
|
writeCheckpoint
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-J5WI42RB.js";
|
|
210
210
|
import {
|
|
211
211
|
listSessions
|
|
212
212
|
} from "./chunk-G4LLKD4Z.js";
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
isScheduledTrigger,
|
|
243
243
|
loadTriggers,
|
|
244
244
|
sanitizeParam
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-JZ2JEXEM.js";
|
|
246
246
|
import {
|
|
247
247
|
pushConversationToCRM
|
|
248
248
|
} from "./chunk-ONKIWA3R.js";
|
|
@@ -1580,7 +1580,7 @@ function registerMemory(server) {
|
|
|
1580
1580
|
if (action === "core_get" || action === "core_set" || action === "core_delete") {
|
|
1581
1581
|
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-GJDG4CAW.js");
|
|
1582
1582
|
const { agentId } = getActiveAgent2();
|
|
1583
|
-
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-
|
|
1583
|
+
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-6JYJS3A3.js");
|
|
1584
1584
|
if (action === "core_get") {
|
|
1585
1585
|
const entries = await getCoreMemory(agentId);
|
|
1586
1586
|
const block = formatCoreMemoryBlock(entries);
|
|
@@ -2314,7 +2314,7 @@ function registerResumeEmployee(server) {
|
|
|
2314
2314
|
};
|
|
2315
2315
|
}
|
|
2316
2316
|
try {
|
|
2317
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2317
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-2FX6NTL2.js");
|
|
2318
2318
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2319
2319
|
for (const row of openTasks.rows) {
|
|
2320
2320
|
const status2 = String(row.status);
|
|
@@ -2342,7 +2342,7 @@ function registerResumeEmployee(server) {
|
|
|
2342
2342
|
}
|
|
2343
2343
|
let checkpointInfo = "";
|
|
2344
2344
|
try {
|
|
2345
|
-
const { readLatestCheckpoint } = await import("./tasks-crud-
|
|
2345
|
+
const { readLatestCheckpoint } = await import("./tasks-crud-2FX6NTL2.js");
|
|
2346
2346
|
const checkpoint = await readLatestCheckpoint(agent_id);
|
|
2347
2347
|
if (checkpoint) {
|
|
2348
2348
|
const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none";
|
|
@@ -2702,7 +2702,7 @@ function registerTask(server) {
|
|
|
2702
2702
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
|
|
2703
2703
|
if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
|
|
2704
2704
|
try {
|
|
2705
|
-
const { createTaskGroup } = await import("./tasks-crud-
|
|
2705
|
+
const { createTaskGroup } = await import("./tasks-crud-2FX6NTL2.js");
|
|
2706
2706
|
const group = await createTaskGroup({
|
|
2707
2707
|
title: args.title,
|
|
2708
2708
|
coordinator: args.coordinator,
|
|
@@ -2721,7 +2721,7 @@ function registerTask(server) {
|
|
|
2721
2721
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
|
|
2722
2722
|
if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
|
|
2723
2723
|
try {
|
|
2724
|
-
const { getGroupStatus } = await import("./tasks-crud-
|
|
2724
|
+
const { getGroupStatus } = await import("./tasks-crud-2FX6NTL2.js");
|
|
2725
2725
|
const status2 = await getGroupStatus(args.group_id);
|
|
2726
2726
|
return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
|
|
2727
2727
|
} catch (err) {
|
|
@@ -2733,7 +2733,7 @@ function registerTask(server) {
|
|
|
2733
2733
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
|
|
2734
2734
|
if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
|
|
2735
2735
|
try {
|
|
2736
|
-
const { getGroupResults } = await import("./tasks-crud-
|
|
2736
|
+
const { getGroupResults } = await import("./tasks-crud-2FX6NTL2.js");
|
|
2737
2737
|
const results = await getGroupResults(args.group_id);
|
|
2738
2738
|
return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
|
|
2739
2739
|
} catch (err) {
|
|
@@ -5775,7 +5775,7 @@ async function getAgentSessionLoad() {
|
|
|
5775
5775
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
5776
5776
|
}
|
|
5777
5777
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
5778
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
5778
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-N6GNTTVY.js");
|
|
5779
5779
|
const client = getClient2();
|
|
5780
5780
|
const scope = sessionScopeFilter2();
|
|
5781
5781
|
for (const s of liveAgentSessions) {
|
|
@@ -10034,7 +10034,7 @@ function registerWorkflowTool(server) {
|
|
|
10034
10034
|
getWorkflowInstance,
|
|
10035
10035
|
listWorkflowInstances,
|
|
10036
10036
|
approveWorkflowStep
|
|
10037
|
-
} = await import("./workflow-engine-
|
|
10037
|
+
} = await import("./workflow-engine-2RQLJXDG.js");
|
|
10038
10038
|
try {
|
|
10039
10039
|
switch (input.action) {
|
|
10040
10040
|
case "create_workflow": {
|
|
@@ -12544,7 +12544,7 @@ async function handleTrigger(limit) {
|
|
|
12544
12544
|
if (rows.rows.length === 0) {
|
|
12545
12545
|
return text3("No conversations found to re-process.");
|
|
12546
12546
|
}
|
|
12547
|
-
const { ingest } = await import("./pipeline-router-
|
|
12547
|
+
const { ingest } = await import("./pipeline-router-7VGJ7635.js");
|
|
12548
12548
|
const results = [];
|
|
12549
12549
|
for (const row of rows.rows) {
|
|
12550
12550
|
const r = row;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-FIPU4BDF.js";
|
|
4
4
|
import {
|
|
5
5
|
updateTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5X3ISBHJ.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-J5WI42RB.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-2FX6NTL2.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,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ingest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NXF7NZEA.js";
|
|
4
4
|
import {
|
|
5
5
|
listWorkflowDefinitions,
|
|
6
6
|
runWorkflow,
|
|
7
7
|
startWorkflow
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JGZS4U4X.js";
|
|
9
9
|
import {
|
|
10
10
|
initCRMBridge
|
|
11
11
|
} from "./chunk-ONKIWA3R.js";
|
|
@@ -503,7 +503,7 @@ async function createTaskCore(input) {
|
|
|
503
503
|
if (isCoordinatorSession) {
|
|
504
504
|
earlySessionScope = resolved;
|
|
505
505
|
} else {
|
|
506
|
-
const { getSessionProject } = await import("./session-scope-
|
|
506
|
+
const { getSessionProject } = await import("./session-scope-CUDNSN62.js");
|
|
507
507
|
const sessionProject = getSessionProject(resolved);
|
|
508
508
|
if (sessionProject && sessionProject !== input.projectName) {
|
|
509
509
|
scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
|
|
@@ -970,7 +970,7 @@ async function updateTaskStatus(input) {
|
|
|
970
970
|
} catch {
|
|
971
971
|
}
|
|
972
972
|
try {
|
|
973
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
973
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-MEW6QY57.js");
|
|
974
974
|
await writeNotification2({
|
|
975
975
|
agentId: reviewer,
|
|
976
976
|
agentRole: isCoordinatorName(reviewer) ? "COO" : "manager",
|
|
@@ -1309,7 +1309,7 @@ ${input.result ?? ""}`;
|
|
|
1309
1309
|
args: [taskId]
|
|
1310
1310
|
});
|
|
1311
1311
|
let merged = { assertions: [], resolved: [] };
|
|
1312
|
-
if (existing.rows.length > 0 && existing.rows[0]
|
|
1312
|
+
if (existing.rows.length > 0 && existing.rows[0]?.assertions) {
|
|
1313
1313
|
try {
|
|
1314
1314
|
const prev = JSON.parse(String(existing.rows[0].assertions));
|
|
1315
1315
|
merged.assertions = prev.assertions ?? [];
|
|
@@ -1479,7 +1479,7 @@ ${input.result ?? ""}`;
|
|
|
1479
1479
|
}
|
|
1480
1480
|
if (input.status === "done" || input.status === "needs_review") {
|
|
1481
1481
|
try {
|
|
1482
|
-
const { incrementSkillSuccess } = await import("./skill-refinement-
|
|
1482
|
+
const { incrementSkillSuccess } = await import("./skill-refinement-YCCQ5W7C.js");
|
|
1483
1483
|
await incrementSkillSuccess(
|
|
1484
1484
|
String(row.assigned_to),
|
|
1485
1485
|
row.project_name ? String(row.project_name) : null
|
|
@@ -2913,7 +2913,7 @@ async function verifyPaneAtCapacity(sessionName) {
|
|
|
2913
2913
|
reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
|
|
2914
2914
|
};
|
|
2915
2915
|
}
|
|
2916
|
-
const { isAtCapacity } = await import("./capacity-monitor-
|
|
2916
|
+
const { isAtCapacity } = await import("./capacity-monitor-PRUTCTKE.js");
|
|
2917
2917
|
if (!isAtCapacity(pane)) {
|
|
2918
2918
|
return {
|
|
2919
2919
|
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-5X3ISBHJ.js";
|
|
7
7
|
import {
|
|
8
8
|
getActiveAgent
|
|
9
9
|
} from "./chunk-DLXTKVBO.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ensureEmployee,
|
|
12
12
|
logTaskDispatch,
|
|
13
13
|
resolveExeSession
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-J5WI42RB.js";
|
|
15
15
|
import {
|
|
16
16
|
recordOrchestrationEventBestEffort
|
|
17
17
|
} from "./chunk-CTFKTUYN.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-N6GNTTVY.js");
|
|
311
311
|
const client = getClient();
|
|
312
312
|
const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
|
|
313
313
|
const existing = await client.execute({
|
|
@@ -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-N6GNTTVY.js");
|
|
115
115
|
const client = getClient();
|
|
116
116
|
const scope = sessionScopeFilter();
|
|
117
117
|
const result = await client.execute({
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
createCRMWebhookHandler,
|
|
21
21
|
parseTwentyWebhook
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3EFVHTTG.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-J5VSABXD.js";
|
|
53
53
|
import {
|
|
54
54
|
getAccountByName,
|
|
55
55
|
getAccountByPhoneNumberId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MultiAgentOrchestrator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2V5UDX2O.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-N6GNTTVY.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-N6GNTTVY.js");
|
|
423
423
|
const client = getClient();
|
|
424
424
|
const cpScope = cpScopeFilter();
|
|
425
425
|
const tasks = await client.execute({
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
buildRawVisibilityFilter,
|
|
4
4
|
buildWikiScopeFilter,
|
|
5
5
|
searchMemories
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5HF7X4WH.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
9
|
} from "./chunk-UJOSFVWG.js";
|
|
@@ -240,7 +240,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
240
240
|
let rerankerAvailable = false;
|
|
241
241
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
242
242
|
try {
|
|
243
|
-
const { isRerankerAvailable } = await import("./reranker-
|
|
243
|
+
const { isRerankerAvailable } = await import("./reranker-67X4YJEW.js");
|
|
244
244
|
rerankerAvailable = isRerankerAvailable();
|
|
245
245
|
} catch {
|
|
246
246
|
}
|
|
@@ -404,7 +404,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
404
404
|
try {
|
|
405
405
|
let rerankedRecords;
|
|
406
406
|
if (graphContextMap.size > 0) {
|
|
407
|
-
const { rerankWithContext } = await import("./reranker-
|
|
407
|
+
const { rerankWithContext } = await import("./reranker-67X4YJEW.js");
|
|
408
408
|
const candidates = merged.map((m) => ({
|
|
409
409
|
text: m.raw_text,
|
|
410
410
|
context: graphContextMap.get(m.id)
|
|
@@ -412,7 +412,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
412
412
|
const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
|
|
413
413
|
rerankedRecords = scored.map((s) => merged[s.index]);
|
|
414
414
|
} else {
|
|
415
|
-
const { rerank } = await import("./reranker-
|
|
415
|
+
const { rerank } = await import("./reranker-67X4YJEW.js");
|
|
416
416
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
417
417
|
}
|
|
418
418
|
if (rerankedRecords.length > 0) {
|