@askexenow/exe-os 0.9.244 → 0.9.246
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/compose/.env.customer.example +15 -3
- package/deploy/compose/.env.example +15 -3
- package/deploy/compose/docker-compose.yml +17 -2
- package/deploy/compose/generate-env.ts +31 -8
- package/deploy/compose/setup.sh +4 -1
- package/dist/{backfill-metadata-DFTIGPXP.js → backfill-metadata-YPCH2VDT.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/pre-publish.js +5 -1
- package/dist/bin/scan-tasks.js +2 -2
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/bin/stack-update.js +11 -3
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{capacity-monitor-4CSBC7AP.js → capacity-monitor-MX24P5JT.js} +2 -2
- package/dist/{catchup-brief-LF5Z6Q6E.js → catchup-brief-Z6Z32E6A.js} +3 -3
- package/dist/{chunk-KEZXW3RP.js → chunk-4LJIFVLX.js} +1 -1
- package/dist/{chunk-F7JLZXHC.js → chunk-66AQSKG7.js} +14 -4
- package/dist/{chunk-DGBGIXCC.js → chunk-6BRFIYYW.js} +1 -1
- package/dist/{chunk-NBY6R37W.js → chunk-A7UWQXYD.js} +4 -4
- package/dist/{chunk-HOGTZLVU.js → chunk-AJAEUU76.js} +2 -2
- package/dist/{chunk-LAOB5BKV.js → chunk-AYPCH26U.js} +1 -1
- package/dist/{chunk-NEYQAEYU.js → chunk-CC4RTOVL.js} +2 -2
- package/dist/{chunk-GHT4REOS.js → chunk-EK3VNK35.js} +1 -1
- package/dist/{chunk-6JAGJN77.js → chunk-FHQSMTU4.js} +1 -1
- package/dist/{chunk-V2GZMY6O.js → chunk-GO2O5J42.js} +1 -1
- package/dist/{chunk-KLQI7QY4.js → chunk-HBIO3RKF.js} +2 -2
- package/dist/{chunk-DR5BGWFR.js → chunk-IPWA6HOZ.js} +1 -1
- package/dist/{chunk-TD5CADZ5.js → chunk-JFVITKXI.js} +1 -1
- package/dist/{chunk-VQAP35DA.js → chunk-JHR3MR3S.js} +3 -3
- package/dist/{chunk-YRVW57UW.js → chunk-JO6EILLF.js} +45 -31
- package/dist/{chunk-LSFHEMVI.js → chunk-K423J5RE.js} +3 -3
- package/dist/{chunk-BYCNUKII.js → chunk-KOCQAMAM.js} +2 -2
- package/dist/{chunk-CPXGLSIL.js → chunk-LROJFFSZ.js} +1 -1
- package/dist/{chunk-HANG6NLF.js → chunk-LZR2MD6I.js} +1 -1
- package/dist/{chunk-LQSFP2BV.js → chunk-P7GRGLNV.js} +1 -1
- package/dist/{chunk-PI6V23GF.js → chunk-QVJ5FNBI.js} +1 -1
- package/dist/{chunk-RYDHEWYY.js → chunk-QZIOX5KX.js} +2 -2
- package/dist/{chunk-OWQ3CCYJ.js → chunk-RCDV3PYU.js} +1 -1
- package/dist/{chunk-NRVV4Y5V.js → chunk-RY3RVDBK.js} +2 -2
- package/dist/{chunk-3V53HH5T.js → chunk-UWGJ3ZLP.js} +2 -2
- package/dist/{chunk-QUNKPR6Y.js → chunk-VNBYL5HB.js} +3 -3
- package/dist/{chunk-J7V7LPPX.js → chunk-VUTIP75I.js} +2 -2
- package/dist/{chunk-DLZYAYVM.js → chunk-XGJ5QYBU.js} +4 -4
- package/dist/{chunk-CWITU7DW.js → chunk-ZGTV62EE.js} +1 -1
- package/dist/{crm-webhook-WK3PYJJK.js → crm-webhook-YUFMGYQ4.js} +2 -2
- package/dist/{cto-delegation-gate-5JZORQIT.js → cto-delegation-gate-R7Y6DK4U.js} +1 -1
- package/dist/{daemon-orchestration-BJ3T5MMF.js → daemon-orchestration-FR3LV4G3.js} +4 -4
- package/dist/{dreaming-BOSBDRI3.js → dreaming-2KKKDADN.js} +2 -2
- package/dist/{exe-export-7N5PBCMK.js → exe-export-M2VOFX25.js} +1 -1
- package/dist/{exe-import-YOOE7S3H.js → exe-import-2SKHXCJX.js} +1 -1
- package/dist/{exe-snapshot-ODUCFW7G.js → exe-snapshot-YSVZSTRN.js} +3 -3
- package/dist/{fast-db-init-YSR7RMVZ.js → fast-db-init-ODXXUTSD.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-task-sweep-L3U3T5HM.js → git-task-sweep-XTWQO64K.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 +196 -103
- 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-P3XQZDTH.js → notifications-Q7ZBG2CR.js} +1 -1
- package/dist/{orchestrator-VIXTY4E4.js → orchestrator-PZ322OZT.js} +2 -2
- package/dist/{pipeline-router-S5PE5U6B.js → pipeline-router-TUMTOJUC.js} +1 -1
- package/dist/{reranker-UCPLQZE2.js → reranker-VEXZ2QP4.js} +1 -1
- package/dist/{review-polling-P2MWEXLR.js → review-polling-PHS23C5B.js} +2 -2
- package/dist/runtime/index.js +3 -3
- package/dist/{session-events-5CD66R6U.js → session-events-XVWTYBYG.js} +2 -2
- package/dist/{session-scope-VMIPAZU7.js → session-scope-PUMBI74U.js} +1 -1
- package/dist/{stack-update-7F2E2MBJ.js → stack-update-F4CQWMGV.js} +1 -1
- package/dist/{task-enforcement-XQL77PZH.js → task-enforcement-WAMGSZ4S.js} +1 -1
- package/dist/{task-scope-R3XKBIHL.js → task-scope-AE6U7XGY.js} +1 -1
- package/dist/{tasks-crud-DQOG2NPG.js → tasks-crud-6GYPBGJP.js} +1 -1
- package/dist/{tasks-notify-4EQYG52H.js → tasks-notify-PMDNAHGC.js} +2 -2
- package/dist/{tasks-review-XPFJ4DSJ.js → tasks-review-KRZ3UF5X.js} +1 -1
- package/dist/{telemetry-upload-OT5B5HUY.js → telemetry-upload-NJ33742S.js} +1 -1
- package/dist/tui/App.js +7 -7
- package/dist/{tui-data-UEV2QOR3.js → tui-data-WTWJLP57.js} +1 -1
- package/dist/{worker-gate-PRCKA23W.js → worker-gate-MSTTXGOE.js} +1 -1
- package/dist/{workflow-engine-7X6LLH3M.js → workflow-engine-BRQHDTN7.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +201 -33
- /package/dist/{chunk-222SI7QC.js → chunk-5IQBMR2V.js} +0 -0
- /package/dist/{chunk-NWBHL5PI.js → chunk-EVBXUKAU.js} +0 -0
- /package/dist/{chunk-AQBEG33D.js → chunk-HSWOCMNX.js} +0 -0
- /package/dist/{chunk-A4K2ZT6N.js → chunk-MG6JXDAT.js} +0 -0
- /package/dist/{chunk-AHXEU5XB.js → chunk-PXK2SQRS.js} +0 -0
- /package/dist/{chunk-B7JGEDVE.js → chunk-UED2CGZ3.js} +0 -0
- /package/dist/{core-memory-4KAIKQRQ.js → core-memory-TXVA3CVH.js} +0 -0
- /package/dist/{exe-key-GXJSTCX2.js → exe-key-LKNPA5SQ.js} +0 -0
- /package/dist/{skill-refinement-NRG4WWRW.js → skill-refinement-D3ZYCYS4.js} +0 -0
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-FFLILAG6.js";
|
|
4
4
|
import {
|
|
5
5
|
listRecentSessionEvents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4LJIFVLX.js";
|
|
7
7
|
import {
|
|
8
8
|
AUTO_WAKE_MAX_RETRIES
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JHR3MR3S.js";
|
|
10
10
|
import {
|
|
11
11
|
isRerankerAvailable,
|
|
12
12
|
rerankWithScores
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PXK2SQRS.js";
|
|
14
14
|
import {
|
|
15
15
|
getCachedLicenseGate
|
|
16
16
|
} from "./chunk-2WBBVEIB.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "./chunk-VWVJVQDH.js";
|
|
44
44
|
import {
|
|
45
45
|
DreamingEngine
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RCDV3PYU.js";
|
|
47
47
|
import {
|
|
48
48
|
exportOrchestration,
|
|
49
49
|
importOrchestration,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
} from "./chunk-NL35XNLI.js";
|
|
59
59
|
import {
|
|
60
60
|
createOrRefreshResumeTask
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-EK3VNK35.js";
|
|
62
62
|
import {
|
|
63
63
|
registerCreateReminder
|
|
64
64
|
} from "./chunk-WCXZF42W.js";
|
|
@@ -78,19 +78,19 @@ import {
|
|
|
78
78
|
} from "./chunk-YMZHTTOQ.js";
|
|
79
79
|
import {
|
|
80
80
|
registerImportConversations
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-QVJ5FNBI.js";
|
|
82
82
|
import {
|
|
83
83
|
registerSendMessage
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-FHQSMTU4.js";
|
|
85
85
|
import {
|
|
86
86
|
registerCreateTask
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-K423J5RE.js";
|
|
88
88
|
import {
|
|
89
89
|
registerListTasks
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-LZR2MD6I.js";
|
|
91
91
|
import {
|
|
92
92
|
registerUpdateTask
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-UWGJ3ZLP.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-IPWA6HOZ.js";
|
|
103
103
|
import {
|
|
104
104
|
status
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-HBIO3RKF.js";
|
|
106
106
|
import {
|
|
107
107
|
getAgentSpend
|
|
108
108
|
} from "./chunk-73UE2PHT.js";
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
fixShards,
|
|
122
122
|
formatReport,
|
|
123
123
|
runAudit
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-CC4RTOVL.js";
|
|
125
125
|
import {
|
|
126
126
|
runHealthCheck
|
|
127
127
|
} from "./chunk-5WK7X5CF.js";
|
|
@@ -166,7 +166,7 @@ import {
|
|
|
166
166
|
groupMemories,
|
|
167
167
|
runConsolidation,
|
|
168
168
|
selectUnconsolidated
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-ZGTV62EE.js";
|
|
170
170
|
import {
|
|
171
171
|
embed
|
|
172
172
|
} from "./chunk-QMTGMCWB.js";
|
|
@@ -177,17 +177,17 @@ import {
|
|
|
177
177
|
} from "./chunk-KN7LPTIB.js";
|
|
178
178
|
import {
|
|
179
179
|
updateTask
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-A7UWQXYD.js";
|
|
181
181
|
import {
|
|
182
182
|
fastDbInit
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-HSWOCMNX.js";
|
|
184
184
|
import {
|
|
185
185
|
MAX_CONCURRENT_WORKERS
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-AYPCH26U.js";
|
|
187
187
|
import {
|
|
188
188
|
hybridSearch,
|
|
189
189
|
recentRecords
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-XGJ5QYBU.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-5IQBMR2V.js";
|
|
199
199
|
import {
|
|
200
200
|
getActiveAgent
|
|
201
201
|
} from "./chunk-MCESA5UW.js";
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
sessionScopeFilter,
|
|
207
207
|
updateTaskStatus,
|
|
208
208
|
writeCheckpoint
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-66AQSKG7.js";
|
|
210
210
|
import {
|
|
211
211
|
listSessions
|
|
212
212
|
} from "./chunk-GHEWRYMY.js";
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
isScheduledTrigger,
|
|
243
243
|
loadTriggers,
|
|
244
244
|
sanitizeParam
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-UED2CGZ3.js";
|
|
246
246
|
import {
|
|
247
247
|
pushConversationToCRM
|
|
248
248
|
} from "./chunk-ONKIWA3R.js";
|
|
@@ -257,6 +257,7 @@ import {
|
|
|
257
257
|
getIdentity,
|
|
258
258
|
isCoordinatorName,
|
|
259
259
|
isCoordinatorRole,
|
|
260
|
+
isInitialized,
|
|
260
261
|
listIdentities,
|
|
261
262
|
loadEmployees,
|
|
262
263
|
loadEmployeesSync,
|
|
@@ -425,6 +426,10 @@ function registerRecallMyMemory(server) {
|
|
|
425
426
|
session_scope
|
|
426
427
|
}) => {
|
|
427
428
|
try {
|
|
429
|
+
if (!isInitialized()) {
|
|
430
|
+
const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-ODXXUTSD.js");
|
|
431
|
+
await fastDbInit2();
|
|
432
|
+
}
|
|
428
433
|
if (!recent && !query) {
|
|
429
434
|
return {
|
|
430
435
|
content: [{ type: "text", text: "query is required when recent mode is not enabled." }],
|
|
@@ -527,7 +532,16 @@ ${formatted}${federatedNote}`
|
|
|
527
532
|
};
|
|
528
533
|
} catch (err) {
|
|
529
534
|
const msg = err instanceof Error ? err.message : String(err);
|
|
530
|
-
|
|
535
|
+
let friendly;
|
|
536
|
+
if (msg.includes("SQLITE_BUSY") || msg.includes("database is locked")) {
|
|
537
|
+
friendly = "Memory system is busy \u2014 please retry.";
|
|
538
|
+
} else if (msg.includes("not initialized") || msg.includes("Call initDatabase")) {
|
|
539
|
+
friendly = "Memory system is still starting up \u2014 please retry in a moment.";
|
|
540
|
+
} else if (msg.includes("Daemon not running") || msg.includes("FTS5 corruption")) {
|
|
541
|
+
friendly = "Memory daemon is not running \u2014 please restart the daemon and retry.";
|
|
542
|
+
} else {
|
|
543
|
+
friendly = `Failed to search memories: ${msg}`;
|
|
544
|
+
}
|
|
531
545
|
return {
|
|
532
546
|
content: [{ type: "text", text: friendly }],
|
|
533
547
|
isError: true
|
|
@@ -1587,7 +1601,7 @@ function registerMemory(server) {
|
|
|
1587
1601
|
if (action === "core_get" || action === "core_set" || action === "core_delete") {
|
|
1588
1602
|
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-KP2O52HA.js");
|
|
1589
1603
|
const { agentId } = getActiveAgent2();
|
|
1590
|
-
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-
|
|
1604
|
+
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-TXVA3CVH.js");
|
|
1591
1605
|
if (action === "core_get") {
|
|
1592
1606
|
const entries = await getCoreMemory(agentId);
|
|
1593
1607
|
const block = formatCoreMemoryBlock(entries);
|
|
@@ -2316,7 +2330,7 @@ function registerResumeEmployee(server) {
|
|
|
2316
2330
|
};
|
|
2317
2331
|
}
|
|
2318
2332
|
try {
|
|
2319
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2333
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-6GYPBGJP.js");
|
|
2320
2334
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2321
2335
|
for (const row of openTasks.rows) {
|
|
2322
2336
|
const status2 = String(row.status);
|
|
@@ -2344,7 +2358,7 @@ function registerResumeEmployee(server) {
|
|
|
2344
2358
|
}
|
|
2345
2359
|
let checkpointInfo = "";
|
|
2346
2360
|
try {
|
|
2347
|
-
const { readLatestCheckpoint } = await import("./tasks-crud-
|
|
2361
|
+
const { readLatestCheckpoint } = await import("./tasks-crud-6GYPBGJP.js");
|
|
2348
2362
|
const checkpoint = await readLatestCheckpoint(agent_id);
|
|
2349
2363
|
if (checkpoint) {
|
|
2350
2364
|
const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none";
|
|
@@ -2704,7 +2718,7 @@ function registerTask(server) {
|
|
|
2704
2718
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
|
|
2705
2719
|
if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
|
|
2706
2720
|
try {
|
|
2707
|
-
const { createTaskGroup } = await import("./tasks-crud-
|
|
2721
|
+
const { createTaskGroup } = await import("./tasks-crud-6GYPBGJP.js");
|
|
2708
2722
|
const group = await createTaskGroup({
|
|
2709
2723
|
title: args.title,
|
|
2710
2724
|
coordinator: args.coordinator,
|
|
@@ -2723,7 +2737,7 @@ function registerTask(server) {
|
|
|
2723
2737
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
|
|
2724
2738
|
if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
|
|
2725
2739
|
try {
|
|
2726
|
-
const { getGroupStatus } = await import("./tasks-crud-
|
|
2740
|
+
const { getGroupStatus } = await import("./tasks-crud-6GYPBGJP.js");
|
|
2727
2741
|
const status2 = await getGroupStatus(args.group_id);
|
|
2728
2742
|
return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
|
|
2729
2743
|
} catch (err) {
|
|
@@ -2735,7 +2749,7 @@ function registerTask(server) {
|
|
|
2735
2749
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
|
|
2736
2750
|
if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
|
|
2737
2751
|
try {
|
|
2738
|
-
const { getGroupResults } = await import("./tasks-crud-
|
|
2752
|
+
const { getGroupResults } = await import("./tasks-crud-6GYPBGJP.js");
|
|
2739
2753
|
const results = await getGroupResults(args.group_id);
|
|
2740
2754
|
return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
|
|
2741
2755
|
} catch (err) {
|
|
@@ -5785,7 +5799,7 @@ async function getAgentSessionLoad() {
|
|
|
5785
5799
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
5786
5800
|
}
|
|
5787
5801
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
5788
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
5802
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-AE6U7XGY.js");
|
|
5789
5803
|
const client = getClient2();
|
|
5790
5804
|
const scope = sessionScopeFilter2();
|
|
5791
5805
|
for (const s of liveAgentSessions) {
|
|
@@ -10044,7 +10058,7 @@ function registerWorkflowTool(server) {
|
|
|
10044
10058
|
getWorkflowInstance,
|
|
10045
10059
|
listWorkflowInstances,
|
|
10046
10060
|
approveWorkflowStep
|
|
10047
|
-
} = await import("./workflow-engine-
|
|
10061
|
+
} = await import("./workflow-engine-BRQHDTN7.js");
|
|
10048
10062
|
try {
|
|
10049
10063
|
switch (input.action) {
|
|
10050
10064
|
case "create_workflow": {
|
|
@@ -12890,7 +12904,7 @@ async function handleTrigger(limit) {
|
|
|
12890
12904
|
if (rows.rows.length === 0) {
|
|
12891
12905
|
return text3("No conversations found to re-process.");
|
|
12892
12906
|
}
|
|
12893
|
-
const { ingest } = await import("./pipeline-router-
|
|
12907
|
+
const { ingest } = await import("./pipeline-router-TUMTOJUC.js");
|
|
12894
12908
|
const results = [];
|
|
12895
12909
|
for (const row of rows.rows) {
|
|
12896
12910
|
const r = row;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-MLXJ5EZG.js";
|
|
4
4
|
import {
|
|
5
5
|
createTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A7UWQXYD.js";
|
|
7
7
|
import {
|
|
8
8
|
getActiveAgent
|
|
9
9
|
} from "./chunk-MCESA5UW.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ensureEmployee,
|
|
12
12
|
logTaskDispatch,
|
|
13
13
|
resolveExeSession
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-66AQSKG7.js";
|
|
15
15
|
import {
|
|
16
16
|
recordOrchestrationEventBestEffort
|
|
17
17
|
} from "./chunk-HCBMPZDT.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-AE6U7XGY.js");
|
|
311
311
|
const client = getClient();
|
|
312
312
|
const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
|
|
313
313
|
const existing = await client.execute({
|
|
@@ -469,7 +469,7 @@ function assertHostReadyForApply(report) {
|
|
|
469
469
|
if (!report.composeFileExists) blockers.push("docker-compose.yml is missing and could not be created.");
|
|
470
470
|
if (!report.envFileExists) blockers.push(".env is missing and could not be created.");
|
|
471
471
|
if (!report.licensePresent) blockers.push("Exe OS license key is missing. Run `exe-os setup`, `exe-os --activate <key>`, or pass --license-key.");
|
|
472
|
-
const hardPlaceholders = report.envRemainingPlaceholders.filter((p) => !/WHATSAPP|API_ROUTER|MONITOR_AGENT|CLOUDFLARE_TUNNEL_TOKEN/.test(p));
|
|
472
|
+
const hardPlaceholders = report.envRemainingPlaceholders.filter((p) => !/WHATSAPP|API_ROUTER|MONITOR_AGENT|MONITOR_HUB_ADMIN|CLOUDFLARE_TUNNEL_TOKEN/.test(p));
|
|
473
473
|
if (hardPlaceholders.length > 0) blockers.push(`Required .env placeholders remain: ${hardPlaceholders.join(", ")}`);
|
|
474
474
|
if (blockers.length > 0) throw new Error(`Stack host is not ready:
|
|
475
475
|
- ${blockers.join("\n- ")}`);
|
|
@@ -802,7 +802,7 @@ async function runStackUpdate(options) {
|
|
|
802
802
|
if (psResult.status !== 0) continue;
|
|
803
803
|
exec("docker", [...composeArgs, "up", "-d", "--remove-orphans", "--no-deps", service]);
|
|
804
804
|
restartedAnyService = true;
|
|
805
|
-
const maxWait =
|
|
805
|
+
const maxWait = options.healthTimeoutSecs ?? 180;
|
|
806
806
|
let healthy = false;
|
|
807
807
|
for (let i = 0; i < maxWait; i++) {
|
|
808
808
|
const inspectResult = spawnSync(
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
createCRMWebhookHandler,
|
|
21
21
|
parseTwentyWebhook
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-P7GRGLNV.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-RY3RVDBK.js";
|
|
53
53
|
import {
|
|
54
54
|
getAccountByName,
|
|
55
55
|
getAccountByPhoneNumberId,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
listWorkflowDefinitions,
|
|
3
3
|
runWorkflow,
|
|
4
4
|
startWorkflow
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GO2O5J42.js";
|
|
6
6
|
import {
|
|
7
7
|
ingest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MG6JXDAT.js";
|
|
9
9
|
import {
|
|
10
10
|
initCRMBridge
|
|
11
11
|
} from "./chunk-ONKIWA3R.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MultiAgentOrchestrator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LROJFFSZ.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-AE6U7XGY.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-AE6U7XGY.js");
|
|
423
423
|
const client = getClient();
|
|
424
424
|
const cpScope = cpScopeFilter();
|
|
425
425
|
const tasks = await client.execute({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-66AQSKG7.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-6GYPBGJP.js");
|
|
182
182
|
await updateTaskStatus({
|
|
183
183
|
taskId: task.id,
|
|
184
184
|
status: "needs_review",
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
buildRawVisibilityFilter,
|
|
4
4
|
buildWikiScopeFilter,
|
|
5
5
|
searchMemories
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5IQBMR2V.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
9
|
} from "./chunk-CEJO7244.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-VEXZ2QP4.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-VEXZ2QP4.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-VEXZ2QP4.js");
|
|
464
464
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
465
465
|
}
|
|
466
466
|
if (rerankedRecords.length > 0) {
|
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
shouldKillIdleSession,
|
|
51
51
|
shouldKillSession,
|
|
52
52
|
shouldNudgeEmployee
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-JHR3MR3S.js";
|
|
54
54
|
import "./chunk-VRIMTCX2.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-A7UWQXYD.js";
|
|
56
|
+
import "./chunk-AJAEUU76.js";
|
|
57
|
+
import "./chunk-66AQSKG7.js";
|
|
58
58
|
import "./chunk-ZKFPHJIJ.js";
|
|
59
59
|
import "./chunk-5CHYEKMH.js";
|
|
60
60
|
import "./chunk-4JERP7NT.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
DreamingEngine
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RCDV3PYU.js";
|
|
5
5
|
import {
|
|
6
6
|
storeBehavior
|
|
7
7
|
} from "./chunk-ONAQAL3O.js";
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
flushBatch,
|
|
11
11
|
initStore,
|
|
12
12
|
writeMemory
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5IQBMR2V.js";
|
|
14
14
|
import "./chunk-CHCA3ZM2.js";
|
|
15
15
|
import "./chunk-IZVKWBIP.js";
|
|
16
16
|
import "./chunk-Y25OJWOQ.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-66AQSKG7.js";
|
|
18
18
|
import "./chunk-ZKFPHJIJ.js";
|
|
19
19
|
import "./chunk-5CHYEKMH.js";
|
|
20
20
|
import "./chunk-4JERP7NT.js";
|
package/dist/gateway/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createSignupBot,
|
|
12
12
|
ensureCRMContact,
|
|
13
13
|
formatAlert
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-QZIOX5KX.js";
|
|
15
15
|
import {
|
|
16
16
|
WhatsAppAdapter
|
|
17
17
|
} from "../chunk-ECSNSHZ7.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
createCRMWebhookHandler,
|
|
35
35
|
parseTwentyWebhook
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-P7GRGLNV.js";
|
|
37
37
|
import {
|
|
38
38
|
OllamaProvider
|
|
39
39
|
} from "../chunk-FWFFZGSC.js";
|
|
@@ -63,16 +63,16 @@ import {
|
|
|
63
63
|
retryWithBackoff,
|
|
64
64
|
routeMessage,
|
|
65
65
|
validateGatewayConfig
|
|
66
|
-
} from "../chunk-
|
|
67
|
-
import "../chunk-
|
|
68
|
-
import "../chunk-
|
|
66
|
+
} from "../chunk-RY3RVDBK.js";
|
|
67
|
+
import "../chunk-GO2O5J42.js";
|
|
68
|
+
import "../chunk-MG6JXDAT.js";
|
|
69
69
|
import {
|
|
70
70
|
getAccountByName,
|
|
71
71
|
getAccountByPhoneNumberId,
|
|
72
72
|
getDefaultAccount,
|
|
73
73
|
loadAccounts
|
|
74
74
|
} from "../chunk-YGAAZN3E.js";
|
|
75
|
-
import "../chunk-
|
|
75
|
+
import "../chunk-UED2CGZ3.js";
|
|
76
76
|
import {
|
|
77
77
|
createPerson,
|
|
78
78
|
findPersonByContact,
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
getRecentCommits,
|
|
5
5
|
matchScore,
|
|
6
6
|
sweepTasks
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-VUTIP75I.js";
|
|
8
|
+
import "./chunk-66AQSKG7.js";
|
|
9
9
|
import "./chunk-ZKFPHJIJ.js";
|
|
10
10
|
import "./chunk-5CHYEKMH.js";
|
|
11
11
|
import "./chunk-4JERP7NT.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-A7UWQXYD.js";
|
|
4
|
+
import "../chunk-AJAEUU76.js";
|
|
5
5
|
import {
|
|
6
6
|
fastDbInit
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-HSWOCMNX.js";
|
|
8
|
+
import "../chunk-66AQSKG7.js";
|
|
9
9
|
import "../chunk-ZKFPHJIJ.js";
|
|
10
10
|
import "../chunk-5CHYEKMH.js";
|
|
11
11
|
import "../chunk-4JERP7NT.js";
|