@askexenow/exe-os 0.9.185 → 0.9.187
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 +1 -1
- package/dist/{backfill-metadata-HPMDXCZX.js → backfill-metadata-GQVQJVQR.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 +10 -10
- package/dist/bin/exe-agent.js +3 -3
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +6 -6
- package/dist/bin/exe-call.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 +4 -4
- package/dist/bin/exe-heartbeat.js +2 -2
- package/dist/bin/exe-kill.js +3 -3
- package/dist/bin/exe-launch-agent.js +5 -5
- package/dist/bin/exe-new-employee.js +4 -4
- 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-rename.js +3 -3
- 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 +5 -5
- package/dist/bin/exe-start-opencode.js +2 -2
- 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 +1 -1
- package/dist/bin/install.js +3 -3
- package/dist/bin/intercom-check.js +3 -3
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/scan-tasks.js +2 -2
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{capacity-monitor-OQUDVUQC.js → capacity-monitor-ZYKOBFT3.js} +2 -2
- package/dist/{catchup-brief-RYXZY7KB.js → catchup-brief-RQNN2VKM.js} +3 -3
- package/dist/{chunk-OZOKIJUD.js → chunk-2DFZRIQG.js} +2 -2
- package/dist/{chunk-BHWEKC56.js → chunk-2F4MS3CU.js} +1 -1
- package/dist/{chunk-EB6OU665.js → chunk-2ZYEO7U7.js} +1 -1
- package/dist/{chunk-HSIIGUNO.js → chunk-4SXOTQVH.js} +1 -1
- package/dist/{chunk-3VLOR4S5.js → chunk-5PDABKBC.js} +1 -1
- package/dist/{chunk-H5XWQ4WA.js → chunk-5QVIO3WZ.js} +1 -1
- package/dist/{chunk-ZFMOZRTQ.js → chunk-BQQGYW67.js} +37 -20
- package/dist/{chunk-7E3E43AS.js → chunk-C46O6JRH.js} +1 -1
- package/dist/{chunk-IATLKAGH.js → chunk-DJRUTSYM.js} +1 -1
- package/dist/{chunk-T3VJ6SD7.js → chunk-DYIZHFWB.js} +2 -2
- package/dist/{chunk-64GZ6HDC.js → chunk-GPTHEXVB.js} +1 -1
- package/dist/{chunk-NJL7VJ5O.js → chunk-IU44KCEH.js} +14 -12
- package/dist/{chunk-25CVYGFX.js → chunk-JI5JWVCM.js} +1 -1
- package/dist/{chunk-2IV3YWK5.js → chunk-K2EHMV22.js} +1 -1
- package/dist/{chunk-HYBT5PXK.js → chunk-KEDP4X4H.js} +2 -2
- package/dist/{chunk-6Z53VOF7.js → chunk-KFMJXUGZ.js} +2 -2
- package/dist/{chunk-HKSEZXKE.js → chunk-OVEBX2GL.js} +1 -1
- package/dist/{chunk-HBUTUNH2.js → chunk-PN22OPA3.js} +2 -2
- package/dist/{chunk-CPPE7RAI.js → chunk-QGN4KAUH.js} +1 -1
- package/dist/{chunk-UAP3COVL.js → chunk-QUKOZ7GM.js} +3 -3
- package/dist/{chunk-6WIKWLPV.js → chunk-R44NTLEH.js} +2 -2
- package/dist/{chunk-HW3QT5BC.js → chunk-T4B3GND4.js} +1 -1
- package/dist/{chunk-L4YMK3VA.js → chunk-TBBNEMUH.js} +1 -1
- package/dist/{chunk-I7RMP3RW.js → chunk-UD5CVXSS.js} +3 -3
- package/dist/{chunk-ZMLQVBJ6.js → chunk-UFRKO6UT.js} +18 -1
- package/dist/{chunk-EWINUEVJ.js → chunk-UVGJYMSN.js} +27 -27
- package/dist/{chunk-U2UQMLJ3.js → chunk-VG5WJD4U.js} +1 -1
- package/dist/{chunk-EN5KST22.js → chunk-VLTXCQQJ.js} +4 -2
- package/dist/{chunk-VMZJWKOI.js → chunk-W4ZHHFE6.js} +1 -1
- package/dist/{chunk-FFJ7E5UY.js → chunk-WLKBQQOS.js} +1 -1
- package/dist/{chunk-CD76FDBD.js → chunk-XZJJBQCE.js} +1 -1
- package/dist/{crm-webhook-PBW7CPZW.js → crm-webhook-NK55NILZ.js} +2 -2
- package/dist/{cto-delegation-gate-WT4KGVMH.js → cto-delegation-gate-ZMKTEUL5.js} +1 -1
- package/dist/{daemon-orchestration-CF5CT3DV.js → daemon-orchestration-LQYZVXD6.js} +3 -3
- package/dist/{exe-export-KCM5YOYE.js → exe-export-AQCZ4QTA.js} +3 -3
- package/dist/{exe-import-JCF2TJJO.js → exe-import-SQANLQ3W.js} +3 -3
- package/dist/{fast-db-init-3TIBU435.js → fast-db-init-7FJDXEH7.js} +1 -1
- package/dist/gateway/index.js +5 -5
- package/dist/{git-task-sweep-CJDQXX5K.js → git-task-sweep-KY2ZCHF2.js} +2 -2
- package/dist/{global-procedures-Q6JIKQZT.js → global-procedures-366HG4SN.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/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 +6 -6
- package/dist/hooks/session-start.js +4 -4
- 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 +8 -8
- package/dist/{installer-I4N2LID5.js → installer-R6PHFVT2.js} +2 -2
- package/dist/{installer-X2SNB4W3.js → installer-U62CTG45.js} +2 -2
- package/dist/{installer-INBTZNL2.js → installer-WBKPBT7M.js} +2 -2
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/employee-templates.js +3 -3
- package/dist/lib/exe-daemon.js +11 -11
- 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 +24 -24
- package/dist/mcp/server.js +35 -26
- 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/{mcp-http-config-UR2B2CCZ.js → mcp-http-config-DWVEWBVR.js} +1 -1
- package/dist/{notifications-2J7EAPDU.js → notifications-ZTPE67JI.js} +1 -1
- package/dist/{orchestrator-OO5WF4JS.js → orchestrator-VTTEX3O3.js} +2 -2
- package/dist/{review-polling-KIJVM4Y5.js → review-polling-QL4XPFDY.js} +2 -2
- package/dist/runtime/index.js +3 -3
- package/dist/{session-events-DRTJ4D2L.js → session-events-FQCVWJSJ.js} +2 -2
- package/dist/{session-scope-UMJVV7SW.js → session-scope-NCMWUGJH.js} +1 -1
- package/dist/{setup-wizard-BS5DUIVT.js → setup-wizard-6ULB35E7.js} +1 -1
- package/dist/{task-enforcement-OJAURWWJ.js → task-enforcement-MRNL57QC.js} +1 -1
- package/dist/{task-scope-ZINRRB5G.js → task-scope-4LI4CLNR.js} +1 -1
- package/dist/{tasks-crud-PH24HPHF.js → tasks-crud-MOGOCASW.js} +1 -1
- package/dist/{tasks-review-A2UWRTGM.js → tasks-review-ICBEO3RD.js} +1 -1
- package/dist/tui/App.js +10 -10
- package/dist/{tui-data-FTXRDBRP.js → tui-data-HHGC7VHX.js} +1 -1
- package/dist/{worker-gate-IVJSJBPD.js → worker-gate-UWCUTYF4.js} +1 -1
- package/dist/{workflow-engine-WWVNS2YO.js → workflow-engine-4NSAOXNE.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-6RL7NSY7.js → chunk-E2D6BPP3.js} +0 -0
- /package/dist/{chunk-WCJKG4WW.js → chunk-EWJC7CMP.js} +0 -0
- /package/dist/{chunk-7EQXVRA3.js → chunk-LW5VCKJP.js} +0 -0
- /package/dist/{chunk-XUBWK2W7.js → chunk-VO5LOTQE.js} +0 -0
- /package/dist/{core-memory-6IN5YJZ7.js → core-memory-YXSNINDK.js} +0 -0
- /package/dist/{exe-key-QJFDXAPI.js → exe-key-KPGVJ3RG.js} +0 -0
- /package/dist/{skill-refinement-LC7WAD62.js → skill-refinement-7YBYX7XD.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildClaudeHttpMcpEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VLTXCQQJ.js";
|
|
4
4
|
import {
|
|
5
5
|
loadPreferences
|
|
6
6
|
} from "./chunk-GNHN5HRQ.js";
|
|
@@ -183,6 +183,23 @@ async function registerMcpServer(packageRoot, homeDir = os.homedir()) {
|
|
|
183
183
|
claudeJson.mcpServers = {};
|
|
184
184
|
}
|
|
185
185
|
const newEntry = mcpTransportMode() === "stdio" ? buildStdioMcpEntry(packageRoot) : buildClaudeHttpMcpEntry(homeDir);
|
|
186
|
+
if (newEntry && typeof newEntry === "object" && "headers" in newEntry) {
|
|
187
|
+
const headers = newEntry.headers;
|
|
188
|
+
if (headers["X-Exe-Session"]) {
|
|
189
|
+
delete headers["X-Exe-Session"];
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
for (const key of [MCP_PRIMARY_KEY, MCP_LEGACY_KEY]) {
|
|
193
|
+
const existing = claudeJson.mcpServers?.[key];
|
|
194
|
+
if (existing?.headers) {
|
|
195
|
+
const h = existing.headers;
|
|
196
|
+
if (h["X-Exe-Session"]) {
|
|
197
|
+
delete h["X-Exe-Session"];
|
|
198
|
+
process.stderr.write(`exe-os: stripped stale X-Exe-Session from global ${key} config
|
|
199
|
+
`);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
186
203
|
if (claudeJson.mcpServers[MCP_LEGACY_KEY]) {
|
|
187
204
|
delete claudeJson.mcpServers[MCP_LEGACY_KEY];
|
|
188
205
|
process.stderr.write("exe-os: migrated MCP server key exe-mem \u2192 exe-os\n");
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-R4IK2YT3.js";
|
|
7
7
|
import {
|
|
8
8
|
AUTO_WAKE_MAX_RETRIES
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KEDP4X4H.js";
|
|
10
10
|
import {
|
|
11
11
|
getToolCapabilityIndex
|
|
12
12
|
} from "./chunk-6BZF3TEG.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-E6ORBQHP.js";
|
|
29
29
|
import {
|
|
30
30
|
listRecentSessionEvents
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-K2EHMV22.js";
|
|
32
32
|
import {
|
|
33
33
|
analyzeBlastRadius,
|
|
34
34
|
buildCodeContextIndex,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
exportOrchestration,
|
|
43
43
|
importOrchestration,
|
|
44
44
|
validatePackage
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-T4B3GND4.js";
|
|
46
46
|
import {
|
|
47
47
|
runDriftProbes
|
|
48
48
|
} from "./chunk-ZR2ZH5CN.js";
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
} from "./chunk-DH65L4XI.js";
|
|
53
53
|
import {
|
|
54
54
|
createOrRefreshResumeTask
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-DJRUTSYM.js";
|
|
56
56
|
import {
|
|
57
57
|
registerCompleteReminder
|
|
58
58
|
} from "./chunk-UUZJU5NL.js";
|
|
@@ -61,16 +61,16 @@ import {
|
|
|
61
61
|
} from "./chunk-3KVMAWJO.js";
|
|
62
62
|
import {
|
|
63
63
|
registerSendMessage
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-TBBNEMUH.js";
|
|
65
65
|
import {
|
|
66
66
|
registerCreateTask
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-BQQGYW67.js";
|
|
68
68
|
import {
|
|
69
69
|
registerListTasks
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-OVEBX2GL.js";
|
|
71
71
|
import {
|
|
72
72
|
registerUpdateTask
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-R44NTLEH.js";
|
|
74
74
|
import {
|
|
75
75
|
registerCreateReminder
|
|
76
76
|
} from "./chunk-BYVSOED6.js";
|
|
@@ -100,10 +100,10 @@ import {
|
|
|
100
100
|
import {
|
|
101
101
|
createSchedule,
|
|
102
102
|
parseHumanCron
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-GPTHEXVB.js";
|
|
104
104
|
import {
|
|
105
105
|
status
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-DYIZHFWB.js";
|
|
107
107
|
import {
|
|
108
108
|
getAgentSpend
|
|
109
109
|
} from "./chunk-TY4SOOBC.js";
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
import {
|
|
119
119
|
formatReport,
|
|
120
120
|
runAudit
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-PN22OPA3.js";
|
|
122
122
|
import {
|
|
123
123
|
runHealthCheck
|
|
124
124
|
} from "./chunk-J73N5EJ6.js";
|
|
@@ -129,15 +129,15 @@ import {
|
|
|
129
129
|
} from "./chunk-46Q3LLXC.js";
|
|
130
130
|
import {
|
|
131
131
|
renderClientCOOTemplate
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-5PDABKBC.js";
|
|
133
133
|
import {
|
|
134
134
|
deactivateGlobalProcedure,
|
|
135
135
|
loadGlobalProcedures,
|
|
136
136
|
storeGlobalProcedure
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-4SXOTQVH.js";
|
|
138
138
|
import {
|
|
139
139
|
PLATFORM_PROCEDURES
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-2ZYEO7U7.js";
|
|
141
141
|
import {
|
|
142
142
|
clearCloudReuploadRequired,
|
|
143
143
|
cloudSync,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
groupMemories,
|
|
163
163
|
runConsolidation,
|
|
164
164
|
selectUnconsolidated
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-W4ZHHFE6.js";
|
|
166
166
|
import {
|
|
167
167
|
embed
|
|
168
168
|
} from "./chunk-7XKOGQJ2.js";
|
|
@@ -173,17 +173,17 @@ import {
|
|
|
173
173
|
} from "./chunk-T5YT64SZ.js";
|
|
174
174
|
import {
|
|
175
175
|
updateTask
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-UD5CVXSS.js";
|
|
177
177
|
import {
|
|
178
178
|
fastDbInit
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-LW5VCKJP.js";
|
|
180
180
|
import {
|
|
181
181
|
MAX_CONCURRENT_WORKERS
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-JI5JWVCM.js";
|
|
183
183
|
import {
|
|
184
184
|
hybridSearch,
|
|
185
185
|
recentRecords
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-XZJJBQCE.js";
|
|
187
187
|
import {
|
|
188
188
|
attachDocumentMetadata,
|
|
189
189
|
flushBatch,
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
reserveVersions,
|
|
192
192
|
vectorToBlob,
|
|
193
193
|
writeMemory
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-VG5WJD4U.js";
|
|
195
195
|
import {
|
|
196
196
|
extractKeywords,
|
|
197
197
|
keywordsToString
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
sessionScopeFilter,
|
|
207
207
|
updateTaskStatus,
|
|
208
208
|
writeCheckpoint
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-IU44KCEH.js";
|
|
210
210
|
import {
|
|
211
211
|
listSessions
|
|
212
212
|
} from "./chunk-64WZEXXA.js";
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
isScheduledTrigger,
|
|
243
243
|
loadTriggers,
|
|
244
244
|
sanitizeParam
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-VO5LOTQE.js";
|
|
246
246
|
import {
|
|
247
247
|
EMPLOYEES_PATH,
|
|
248
248
|
addEmployee,
|
|
@@ -1553,7 +1553,7 @@ function registerMemory(server) {
|
|
|
1553
1553
|
if (action === "core_get" || action === "core_set" || action === "core_delete") {
|
|
1554
1554
|
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-I6RTMUJQ.js");
|
|
1555
1555
|
const { agentId } = getActiveAgent2();
|
|
1556
|
-
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-
|
|
1556
|
+
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-YXSNINDK.js");
|
|
1557
1557
|
if (action === "core_get") {
|
|
1558
1558
|
const entries = await getCoreMemory(agentId);
|
|
1559
1559
|
const block = formatCoreMemoryBlock(entries);
|
|
@@ -2262,7 +2262,7 @@ function registerResumeEmployee(server) {
|
|
|
2262
2262
|
};
|
|
2263
2263
|
}
|
|
2264
2264
|
try {
|
|
2265
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2265
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-MOGOCASW.js");
|
|
2266
2266
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2267
2267
|
for (const row of openTasks.rows) {
|
|
2268
2268
|
const status2 = String(row.status);
|
|
@@ -5421,7 +5421,7 @@ async function getAgentSessionLoad() {
|
|
|
5421
5421
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
5422
5422
|
}
|
|
5423
5423
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
5424
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
5424
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-4LI4CLNR.js");
|
|
5425
5425
|
const client = getClient2();
|
|
5426
5426
|
const scope = sessionScopeFilter2();
|
|
5427
5427
|
for (const s of liveAgentSessions) {
|
|
@@ -7959,7 +7959,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
|
|
|
7959
7959
|
}
|
|
7960
7960
|
try {
|
|
7961
7961
|
const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
|
|
7962
|
-
const { resolvePackageRoot } = await import("./installer-
|
|
7962
|
+
const { resolvePackageRoot } = await import("./installer-WBKPBT7M.js");
|
|
7963
7963
|
generateSessionWrappers(resolvePackageRoot());
|
|
7964
7964
|
} catch {
|
|
7965
7965
|
}
|
|
@@ -9460,7 +9460,7 @@ function registerWorkflowTool(server) {
|
|
|
9460
9460
|
getWorkflowInstance,
|
|
9461
9461
|
listWorkflowInstances,
|
|
9462
9462
|
approveWorkflowStep
|
|
9463
|
-
} = await import("./workflow-engine-
|
|
9463
|
+
} = await import("./workflow-engine-4NSAOXNE.js");
|
|
9464
9464
|
try {
|
|
9465
9465
|
switch (input.action) {
|
|
9466
9466
|
case "create_workflow": {
|
|
@@ -123,7 +123,7 @@ async function initStore(options) {
|
|
|
123
123
|
);
|
|
124
124
|
_nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
|
|
125
125
|
try {
|
|
126
|
-
const { loadGlobalProcedures } = await import("./global-procedures-
|
|
126
|
+
const { loadGlobalProcedures } = await import("./global-procedures-366HG4SN.js");
|
|
127
127
|
await loadGlobalProcedures();
|
|
128
128
|
} catch (e) {
|
|
129
129
|
logStoreWarn("catch", e);
|
|
@@ -65,15 +65,17 @@ function buildMcpHttpHeaders(homeDir = os.homedir(), opts = {}) {
|
|
|
65
65
|
"X-Agent-Id": agentId,
|
|
66
66
|
"X-Agent-Role": agentRole
|
|
67
67
|
};
|
|
68
|
-
if (sessionName) headers["X-Exe-Session"] = sessionName;
|
|
68
|
+
if (sessionName && !opts.useShellPlaceholders) headers["X-Exe-Session"] = sessionName;
|
|
69
69
|
return headers;
|
|
70
70
|
}
|
|
71
71
|
function buildClaudeHttpMcpEntry(homeDir = os.homedir()) {
|
|
72
|
-
|
|
72
|
+
const entry = {
|
|
73
73
|
type: "http",
|
|
74
74
|
url: mcpHttpUrl(),
|
|
75
75
|
headers: buildMcpHttpHeaders(homeDir, { useShellPlaceholders: true })
|
|
76
76
|
};
|
|
77
|
+
delete entry.headers["X-Exe-Session"];
|
|
78
|
+
return entry;
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
export {
|
|
@@ -48,10 +48,10 @@ import {
|
|
|
48
48
|
shouldKillIdleSession,
|
|
49
49
|
shouldKillSession,
|
|
50
50
|
shouldNudgeEmployee
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-KEDP4X4H.js";
|
|
52
52
|
import "./chunk-L4VM6PZ7.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-UD5CVXSS.js";
|
|
54
|
+
import "./chunk-IU44KCEH.js";
|
|
55
55
|
import "./chunk-LOQCOHEW.js";
|
|
56
56
|
import "./chunk-QI4IXJN7.js";
|
|
57
57
|
import "./chunk-64WZEXXA.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
exportOrchestration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-T4B3GND4.js";
|
|
5
|
+
import "./chunk-2ZYEO7U7.js";
|
|
6
6
|
import {
|
|
7
7
|
disposeStore,
|
|
8
8
|
initStore
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VG5WJD4U.js";
|
|
10
10
|
import "./chunk-CHCA3ZM2.js";
|
|
11
11
|
import "./chunk-DOWW3EIO.js";
|
|
12
12
|
import "./chunk-MP2AFCGL.js";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
importOrchestration,
|
|
4
4
|
validatePackage
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-T4B3GND4.js";
|
|
6
|
+
import "./chunk-2ZYEO7U7.js";
|
|
7
7
|
import {
|
|
8
8
|
disposeStore,
|
|
9
9
|
initStore
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VG5WJD4U.js";
|
|
11
11
|
import "./chunk-CHCA3ZM2.js";
|
|
12
12
|
import "./chunk-DOWW3EIO.js";
|
|
13
13
|
import "./chunk-MP2AFCGL.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-KFMJXUGZ.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-QGN4KAUH.js";
|
|
37
37
|
import {
|
|
38
38
|
BotRegistry,
|
|
39
39
|
BotRuntime,
|
|
@@ -56,8 +56,8 @@ import {
|
|
|
56
56
|
retryWithBackoff,
|
|
57
57
|
routeMessage,
|
|
58
58
|
validateGatewayConfig
|
|
59
|
-
} from "../chunk-
|
|
60
|
-
import "../chunk-
|
|
59
|
+
} from "../chunk-C46O6JRH.js";
|
|
60
|
+
import "../chunk-WLKBQQOS.js";
|
|
61
61
|
import {
|
|
62
62
|
OllamaProvider
|
|
63
63
|
} from "../chunk-FWFFZGSC.js";
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
pushGatewayEventToCRM,
|
|
81
81
|
pushInboundMessageToCRM
|
|
82
82
|
} from "../chunk-ONKIWA3R.js";
|
|
83
|
-
import "../chunk-
|
|
83
|
+
import "../chunk-VO5LOTQE.js";
|
|
84
84
|
import "../chunk-MP2AFCGL.js";
|
|
85
85
|
import "../chunk-RD77OX3W.js";
|
|
86
86
|
import "../chunk-RVSGXGWG.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
getRecentCommits,
|
|
5
5
|
matchScore,
|
|
6
6
|
sweepTasks
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2DFZRIQG.js";
|
|
8
|
+
import "./chunk-IU44KCEH.js";
|
|
9
9
|
import "./chunk-LOQCOHEW.js";
|
|
10
10
|
import "./chunk-QI4IXJN7.js";
|
|
11
11
|
import "./chunk-64WZEXXA.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
getGlobalProceduresBlock,
|
|
4
4
|
loadGlobalProcedures,
|
|
5
5
|
storeGlobalProcedure
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-4SXOTQVH.js";
|
|
7
|
+
import "./chunk-2ZYEO7U7.js";
|
|
8
8
|
import "./chunk-RD77OX3W.js";
|
|
9
9
|
import "./chunk-RVSGXGWG.js";
|
|
10
10
|
import "./chunk-FXU7JOXK.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-UD5CVXSS.js";
|
|
4
4
|
import {
|
|
5
5
|
fastDbInit
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-LW5VCKJP.js";
|
|
7
|
+
import "../chunk-IU44KCEH.js";
|
|
8
8
|
import "../chunk-LOQCOHEW.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-UD5CVXSS.js";
|
|
4
4
|
import {
|
|
5
5
|
fastDbInit
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-LW5VCKJP.js";
|
|
7
7
|
import {
|
|
8
8
|
listTasks
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-IU44KCEH.js";
|
|
10
10
|
import "../chunk-LOQCOHEW.js";
|
|
11
11
|
import "../chunk-QI4IXJN7.js";
|
|
12
12
|
import "../chunk-64WZEXXA.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractKeywords,
|
|
3
3
|
matchScore
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-2DFZRIQG.js";
|
|
5
|
+
import "../chunk-IU44KCEH.js";
|
|
6
6
|
import "../chunk-LOQCOHEW.js";
|
|
7
7
|
import "../chunk-QI4IXJN7.js";
|
|
8
8
|
import "../chunk-64WZEXXA.js";
|
|
@@ -74,13 +74,13 @@ async function main() {
|
|
|
74
74
|
const changedFiles = getChangedFiles(commitHash);
|
|
75
75
|
let client;
|
|
76
76
|
try {
|
|
77
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
77
|
+
const { fastDbInit } = await import("../fast-db-init-7FJDXEH7.js");
|
|
78
78
|
client = await fastDbInit();
|
|
79
79
|
} catch {
|
|
80
80
|
process.stderr.write("[commit-complete] DB init failed \u2014 skipping\n");
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
|
-
const { listTasks, updateTaskStatus } = await import("../tasks-crud-
|
|
83
|
+
const { listTasks, updateTaskStatus } = await import("../tasks-crud-MOGOCASW.js");
|
|
84
84
|
const tasks = await listTasks({
|
|
85
85
|
assignedTo: agentId,
|
|
86
86
|
status: "in_progress",
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
hybridSearch,
|
|
6
6
|
lightweightSearch
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-XZJJBQCE.js";
|
|
8
8
|
import {
|
|
9
9
|
initStore
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-VG5WJD4U.js";
|
|
11
11
|
import "../chunk-CHCA3ZM2.js";
|
|
12
12
|
import "../chunk-DOWW3EIO.js";
|
|
13
13
|
import "../chunk-SH45SJQW.js";
|
package/dist/hooks/ingest.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerWorkerPid,
|
|
3
3
|
tryAcquireWorkerSlot
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JI5JWVCM.js";
|
|
5
5
|
import {
|
|
6
6
|
classifyError,
|
|
7
7
|
detectError,
|
|
@@ -320,7 +320,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
320
320
|
if (taskData.taskId) {
|
|
321
321
|
const { initStore: cpInit } = await import("../lib/store.js");
|
|
322
322
|
await cpInit();
|
|
323
|
-
const { writeCheckpoint } = await import("../tasks-crud-
|
|
323
|
+
const { writeCheckpoint } = await import("../tasks-crud-MOGOCASW.js");
|
|
324
324
|
await writeCheckpoint({
|
|
325
325
|
taskId: taskData.taskId,
|
|
326
326
|
step: `auto_checkpoint_${counter.total}`,
|
|
@@ -49,7 +49,7 @@ process.stdin.on("end", async () => {
|
|
|
49
49
|
pass = false;
|
|
50
50
|
}
|
|
51
51
|
try {
|
|
52
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
52
|
+
const { fastDbInit } = await import("../fast-db-init-7FJDXEH7.js");
|
|
53
53
|
await fastDbInit();
|
|
54
54
|
const { getClient } = await import("../lib/database.js");
|
|
55
55
|
const client = getClient();
|
|
@@ -36,7 +36,7 @@ process.stdin.on("end", async () => {
|
|
|
36
36
|
process.exit(0);
|
|
37
37
|
}
|
|
38
38
|
try {
|
|
39
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
39
|
+
const { fastDbInit } = await import("../fast-db-init-7FJDXEH7.js");
|
|
40
40
|
await fastDbInit();
|
|
41
41
|
const { getClient } = await import("../lib/database.js");
|
|
42
42
|
const { randomUUID } = await import("crypto");
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-7WPIM2L6.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-IU44KCEH.js";
|
|
8
8
|
import "../chunk-LOQCOHEW.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
@@ -67,7 +67,7 @@ ${identity}`);
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
try {
|
|
70
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
70
|
+
const { fastDbInit } = await import("../fast-db-init-7FJDXEH7.js");
|
|
71
71
|
await fastDbInit();
|
|
72
72
|
const { getClient } = await import("../lib/database.js");
|
|
73
73
|
const client = getClient();
|
|
@@ -110,8 +110,8 @@ You are **${driftAgent.agentId}** (${driftAgent.agentRole}). You've used ${misma
|
|
|
110
110
|
const { detectError } = await import("../lib/error-detector.js");
|
|
111
111
|
const agent = getActiveAgent();
|
|
112
112
|
try {
|
|
113
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
114
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
113
|
+
const { fastDbInit } = await import("../fast-db-init-7FJDXEH7.js");
|
|
114
|
+
const { recordSessionEvent } = await import("../session-events-FQCVWJSJ.js");
|
|
115
115
|
const client = await fastDbInit();
|
|
116
116
|
const toolName = String(data.tool_name ?? "unknown");
|
|
117
117
|
const toolInput = JSON.stringify(data.tool_input ?? {});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkpointActiveTask,
|
|
3
3
|
writeContinuityCheckpoint
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-EWJC7CMP.js";
|
|
5
5
|
import "../chunk-PZMAYNWK.js";
|
|
6
6
|
import "../chunk-GUCKE3GK.js";
|
|
7
7
|
import "../chunk-D6EK7PYQ.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "../chunk-7WPIM2L6.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-IU44KCEH.js";
|
|
16
16
|
import "../chunk-LOQCOHEW.js";
|
|
17
17
|
import "../chunk-QI4IXJN7.js";
|
|
18
18
|
import "../chunk-64WZEXXA.js";
|
|
@@ -60,7 +60,7 @@ process.stdin.on("end", async () => {
|
|
|
60
60
|
const agent = getActiveAgent();
|
|
61
61
|
const sections = [];
|
|
62
62
|
try {
|
|
63
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
63
|
+
const { fastDbInit } = await import("../fast-db-init-7FJDXEH7.js");
|
|
64
64
|
const client = await fastDbInit();
|
|
65
65
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
66
66
|
const pcScope = sessionScopeFilter();
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "../chunk-7WPIM2L6.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-IU44KCEH.js";
|
|
9
9
|
import "../chunk-LOQCOHEW.js";
|
|
10
10
|
import "../chunk-QI4IXJN7.js";
|
|
11
11
|
import "../chunk-64WZEXXA.js";
|
|
@@ -313,15 +313,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
313
313
|
process.exit(0);
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
316
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-ZMKTEUL5.js");
|
|
317
317
|
const gatedAgent = getGatedAgent();
|
|
318
318
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
319
319
|
const filePath = data.tool_input?.file_path ?? "";
|
|
320
320
|
if (filePath) {
|
|
321
321
|
try {
|
|
322
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
322
|
+
const { fastDbInit } = await import("../fast-db-init-7FJDXEH7.js");
|
|
323
323
|
await fastDbInit();
|
|
324
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
324
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-ZMKTEUL5.js");
|
|
325
325
|
const decision = await evaluateDelegationGate({
|
|
326
326
|
agentId: agent.agentId,
|
|
327
327
|
toolName: data.tool_name,
|
|
@@ -366,7 +366,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
366
366
|
const isUpdateTaskDone = (data.tool_name === "mcp__exe-os__update_task" || data.tool_name === "mcp__exe-mem__update_task") && toolInput.status === "done" && CTO_ROLES.includes(agent.agentRole);
|
|
367
367
|
if (isUpdateTaskDone) {
|
|
368
368
|
try {
|
|
369
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
369
|
+
const { fastDbInit } = await import("../fast-db-init-7FJDXEH7.js");
|
|
370
370
|
const client = await fastDbInit();
|
|
371
371
|
const taskId = String(toolInput.task_id ?? "");
|
|
372
372
|
const ptScope = sessionScopeFilter();
|
|
@@ -424,7 +424,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
424
424
|
}
|
|
425
425
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
426
426
|
try {
|
|
427
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
427
|
+
const { fastDbInit } = await import("../fast-db-init-7FJDXEH7.js");
|
|
428
428
|
const client = await fastDbInit();
|
|
429
429
|
const dlScope = sessionScopeFilter();
|
|
430
430
|
const result = await client.execute({
|