openfox 2.0.28 → 2.0.30
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/{chat-handler-5ZJY4XN6.js → chat-handler-Q62GBC4Z.js} +4 -4
- package/dist/{chunk-IONBIUBB.js → chunk-EQUVYCW5.js} +5 -5
- package/dist/{chunk-AETO4TMN.js → chunk-HVDYK3TL.js} +17 -17
- package/dist/{chunk-ERNIKY6J.js → chunk-JCOLS2ZM.js} +24 -6
- package/dist/{chunk-RFNEDBVO.js → chunk-M2YRM64Q.js} +3 -1
- package/dist/{chunk-D7ODVXBQ.js → chunk-XDPGWGUW.js} +2 -2
- package/dist/{chunk-WTO2M2JL.js → chunk-ZRKYDC4O.js} +3 -3
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-I4QEUXG3.js → orchestrator-7BJEOWTX.js} +4 -4
- package/dist/package.json +1 -1
- package/dist/{processor-2GN5MJHI.js → processor-AFP2CBQI.js} +4 -4
- package/dist/{serve-O47BL4WX.js → serve-6FBUKU4F.js} +6 -6
- package/dist/server/index.js +5 -5
- package/dist/{server-LNEF4YAD.js → server-5Q566V7W.js} +5 -5
- package/dist/{settings-6XX56F3F.js → settings-MMEBGS53.js} +2 -2
- package/dist/{tools-EHUIRZFG.js → tools-G3KFVM2A.js} +3 -3
- package/dist/web/assets/{index-BLOGpuPE.css → index-CJuwWvXr.css} +1 -1
- package/dist/web/assets/{index-CjZhNP1p.js → index-fWmnetkq.js} +64 -64
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
} from "./chunk-UHWRWFLE.js";
|
|
6
6
|
import {
|
|
7
7
|
runChatTurn
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-ZRKYDC4O.js";
|
|
9
|
+
import "./chunk-JCOLS2ZM.js";
|
|
10
10
|
import "./chunk-DL6ZILAF.js";
|
|
11
11
|
import "./chunk-PBGOZMVY.js";
|
|
12
12
|
import "./chunk-VRGRAQDG.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
createSessionRunningMessage
|
|
18
18
|
} from "./chunk-F4PMNP7S.js";
|
|
19
19
|
import "./chunk-EU3WWTFH.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-M2YRM64Q.js";
|
|
21
21
|
import "./chunk-O4TED6AJ.js";
|
|
22
22
|
import "./chunk-SS3F2VYF.js";
|
|
23
23
|
import {
|
|
@@ -145,4 +145,4 @@ export {
|
|
|
145
145
|
startChatSession,
|
|
146
146
|
stopSessionExecution
|
|
147
147
|
};
|
|
148
|
-
//# sourceMappingURL=chat-handler-
|
|
148
|
+
//# sourceMappingURL=chat-handler-Q62GBC4Z.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
injectWorkflowKickoffIfNeeded,
|
|
3
3
|
runAgentTurn,
|
|
4
4
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZRKYDC4O.js";
|
|
6
6
|
import {
|
|
7
7
|
applyDynamicContext,
|
|
8
8
|
checkAborted,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
loadAllAgentsDefault,
|
|
20
20
|
saveItemToDir,
|
|
21
21
|
spawnShellProcess
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JCOLS2ZM.js";
|
|
23
23
|
import {
|
|
24
24
|
getPlatformShell,
|
|
25
25
|
onProcessEvent
|
|
@@ -1777,7 +1777,7 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
|
|
|
1777
1777
|
const runtimeConfig = getRuntimeConfig();
|
|
1778
1778
|
const configDir = getGlobalConfigDir(runtimeConfig.mode ?? "production");
|
|
1779
1779
|
const skills = await getEnabledSkillMetadata(configDir, runtimeConfig.workdir);
|
|
1780
|
-
const { createToolRegistry } = await import("./tools-
|
|
1780
|
+
const { createToolRegistry } = await import("./tools-G3KFVM2A.js");
|
|
1781
1781
|
const allTools = createToolRegistry().definitions;
|
|
1782
1782
|
const toolFingerprint = getToolFingerprint(allTools);
|
|
1783
1783
|
const currentHash = computeDynamicContextHash(instructionContent, skills, toolFingerprint);
|
|
@@ -1850,7 +1850,7 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
|
|
|
1850
1850
|
const runtimeConfig = getRuntimeConfig();
|
|
1851
1851
|
const configDir = getGlobalConfigDir(runtimeConfig.mode ?? "production");
|
|
1852
1852
|
const skills = await getEnabledSkillMetadata(configDir, runtimeConfig.workdir);
|
|
1853
|
-
const { createToolRegistry } = await import("./tools-
|
|
1853
|
+
const { createToolRegistry } = await import("./tools-G3KFVM2A.js");
|
|
1854
1854
|
const allTools = createToolRegistry().definitions;
|
|
1855
1855
|
const toolFingerprint = getToolFingerprint(allTools);
|
|
1856
1856
|
const currentHash = computeDynamicContextHash(instructionContent, skills, toolFingerprint);
|
|
@@ -2071,4 +2071,4 @@ export {
|
|
|
2071
2071
|
signalMcpReady,
|
|
2072
2072
|
createWebSocketServer
|
|
2073
2073
|
};
|
|
2074
|
-
//# sourceMappingURL=chunk-
|
|
2074
|
+
//# sourceMappingURL=chunk-EQUVYCW5.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
tokenFromPassword,
|
|
22
22
|
verifyPassword,
|
|
23
23
|
workflowExists
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EQUVYCW5.js";
|
|
25
25
|
import {
|
|
26
26
|
agentExists,
|
|
27
27
|
createToolRegistry,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
setMcpTools,
|
|
62
62
|
setNotifyMcpServersChanged,
|
|
63
63
|
skillExists
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-JCOLS2ZM.js";
|
|
65
65
|
import {
|
|
66
66
|
getPathSeparator,
|
|
67
67
|
isAbsolutePath
|
|
@@ -3448,7 +3448,7 @@ import { Router as Router6 } from "express";
|
|
|
3448
3448
|
import { spawn as spawn2 } from "child_process";
|
|
3449
3449
|
|
|
3450
3450
|
// src/constants.ts
|
|
3451
|
-
var VERSION = "2.0.
|
|
3451
|
+
var VERSION = "2.0.30";
|
|
3452
3452
|
|
|
3453
3453
|
// src/server/routes/auto-update.ts
|
|
3454
3454
|
var updateInProgress = false;
|
|
@@ -3628,7 +3628,7 @@ async function createServerHandle(config4) {
|
|
|
3628
3628
|
setMcpTools(mcpTools);
|
|
3629
3629
|
logger.info("MCP tools registered", { count: mcpTools.length });
|
|
3630
3630
|
}
|
|
3631
|
-
const { signalMcpReady } = await import("./server-
|
|
3631
|
+
const { signalMcpReady } = await import("./server-5Q566V7W.js");
|
|
3632
3632
|
signalMcpReady();
|
|
3633
3633
|
});
|
|
3634
3634
|
const app = express();
|
|
@@ -3821,7 +3821,7 @@ async function createServerHandle(config4) {
|
|
|
3821
3821
|
app.get("/api/sessions/:id", async (req, res) => {
|
|
3822
3822
|
const { getEventStore: getEventStore2 } = await import("./events-F5IURVXP.js");
|
|
3823
3823
|
const { buildMessagesFromStoredEvents } = await import("./folding-PI67HWBR.js");
|
|
3824
|
-
const { getPendingQuestionsForSession } = await import("./tools-
|
|
3824
|
+
const { getPendingQuestionsForSession } = await import("./tools-G3KFVM2A.js");
|
|
3825
3825
|
const session = sessionManager.getSession(req.params.id);
|
|
3826
3826
|
if (!session) {
|
|
3827
3827
|
return res.status(404).json({ error: "Session not found" });
|
|
@@ -3954,7 +3954,7 @@ async function createServerHandle(config4) {
|
|
|
3954
3954
|
if (!callId || approved === void 0) {
|
|
3955
3955
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
3956
3956
|
}
|
|
3957
|
-
const { providePathConfirmation } = await import("./tools-
|
|
3957
|
+
const { providePathConfirmation } = await import("./tools-G3KFVM2A.js");
|
|
3958
3958
|
const result = providePathConfirmation(callId, approved, alwaysAllow);
|
|
3959
3959
|
if (!result.found) {
|
|
3960
3960
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
@@ -3962,7 +3962,7 @@ async function createServerHandle(config4) {
|
|
|
3962
3962
|
const { getEventStore: getEventStore2 } = await import("./events-F5IURVXP.js");
|
|
3963
3963
|
const { buildMessagesFromStoredEvents, foldPendingConfirmations } = await import("./folding-PI67HWBR.js");
|
|
3964
3964
|
const { createSessionStateMessage } = await import("./protocol-BKNLAEPJ.js");
|
|
3965
|
-
const { getPendingQuestionsForSession } = await import("./tools-
|
|
3965
|
+
const { getPendingQuestionsForSession } = await import("./tools-G3KFVM2A.js");
|
|
3966
3966
|
const eventStore = getEventStore2();
|
|
3967
3967
|
const events = eventStore.getEvents(sessionId);
|
|
3968
3968
|
const messages = buildMessagesFromStoredEvents(events);
|
|
@@ -3983,7 +3983,7 @@ async function createServerHandle(config4) {
|
|
|
3983
3983
|
if (!skip && typeof answer !== "string") {
|
|
3984
3984
|
return res.status(400).json({ error: "answer is required when not skipping" });
|
|
3985
3985
|
}
|
|
3986
|
-
const { provideAnswer } = await import("./tools-
|
|
3986
|
+
const { provideAnswer } = await import("./tools-G3KFVM2A.js");
|
|
3987
3987
|
const found = provideAnswer(callId, answer ?? "", skip ?? false);
|
|
3988
3988
|
if (!found) {
|
|
3989
3989
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -4019,8 +4019,8 @@ async function createServerHandle(config4) {
|
|
|
4019
4019
|
if (!session) {
|
|
4020
4020
|
return res.status(404).json({ error: "Session not found" });
|
|
4021
4021
|
}
|
|
4022
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
4023
|
-
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-
|
|
4022
|
+
const { stopSessionExecution } = await import("./chat-handler-Q62GBC4Z.js");
|
|
4023
|
+
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-G3KFVM2A.js");
|
|
4024
4024
|
const queuedMessages = sessionManager.getQueueState(sessionId);
|
|
4025
4025
|
sessionManager.clearMessageQueue(sessionId);
|
|
4026
4026
|
stopSessionExecution(sessionId, sessionManager);
|
|
@@ -4091,7 +4091,7 @@ async function createServerHandle(config4) {
|
|
|
4091
4091
|
res.json({ accepted: true });
|
|
4092
4092
|
});
|
|
4093
4093
|
app.get("/api/settings", async (req, res) => {
|
|
4094
|
-
const { getSetting, SETTINGS_DEFAULTS } = await import("./settings-
|
|
4094
|
+
const { getSetting, SETTINGS_DEFAULTS } = await import("./settings-MMEBGS53.js");
|
|
4095
4095
|
const keysParam = req.query["keys"];
|
|
4096
4096
|
if (!keysParam) {
|
|
4097
4097
|
return res.status(400).json({ error: "keys query parameter is required" });
|
|
@@ -4104,19 +4104,19 @@ async function createServerHandle(config4) {
|
|
|
4104
4104
|
res.json(result);
|
|
4105
4105
|
});
|
|
4106
4106
|
app.get("/api/settings/:key", async (req, res) => {
|
|
4107
|
-
const { getSetting, SETTINGS_DEFAULTS } = await import("./settings-
|
|
4107
|
+
const { getSetting, SETTINGS_DEFAULTS } = await import("./settings-MMEBGS53.js");
|
|
4108
4108
|
const key = req.params.key;
|
|
4109
4109
|
const value = getSetting(key) ?? SETTINGS_DEFAULTS[key] ?? null;
|
|
4110
4110
|
res.json({ key, value });
|
|
4111
4111
|
});
|
|
4112
4112
|
app.get("/api/settings/:key", async (req, res) => {
|
|
4113
|
-
const { getSetting, SETTINGS_DEFAULTS } = await import("./settings-
|
|
4113
|
+
const { getSetting, SETTINGS_DEFAULTS } = await import("./settings-MMEBGS53.js");
|
|
4114
4114
|
const key = req.params.key;
|
|
4115
4115
|
const value = getSetting(key) ?? SETTINGS_DEFAULTS[key] ?? null;
|
|
4116
4116
|
res.json({ key, value });
|
|
4117
4117
|
});
|
|
4118
4118
|
app.put("/api/settings/:key", async (req, res) => {
|
|
4119
|
-
const { setSetting } = await import("./settings-
|
|
4119
|
+
const { setSetting } = await import("./settings-MMEBGS53.js");
|
|
4120
4120
|
const key = req.params.key;
|
|
4121
4121
|
const { value } = req.body;
|
|
4122
4122
|
if (value === void 0) {
|
|
@@ -4515,7 +4515,7 @@ async function createServerHandle(config4) {
|
|
|
4515
4515
|
});
|
|
4516
4516
|
async function rebuildMcpTools() {
|
|
4517
4517
|
const { createMcpTools: createMcpTools2 } = await import("./tool-adapter-B7QP6NLA.js");
|
|
4518
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
4518
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-G3KFVM2A.js");
|
|
4519
4519
|
const mcpTools = createMcpTools2(mcpManager);
|
|
4520
4520
|
setMcpTools2(mcpTools);
|
|
4521
4521
|
}
|
|
@@ -4827,7 +4827,7 @@ async function createServerHandle(config4) {
|
|
|
4827
4827
|
const state = sessionManager.getContextState(sessionId);
|
|
4828
4828
|
wssExports.broadcastForSession(sessionId, createContextStateMessage(state));
|
|
4829
4829
|
});
|
|
4830
|
-
const { QueueProcessor } = await import("./processor-
|
|
4830
|
+
const { QueueProcessor } = await import("./processor-AFP2CBQI.js");
|
|
4831
4831
|
const queueProcessor = new QueueProcessor({
|
|
4832
4832
|
sessionManager,
|
|
4833
4833
|
providerManager,
|
|
@@ -4902,4 +4902,4 @@ export {
|
|
|
4902
4902
|
createServerHandle,
|
|
4903
4903
|
createServer
|
|
4904
4904
|
};
|
|
4905
|
-
//# sourceMappingURL=chunk-
|
|
4905
|
+
//# sourceMappingURL=chunk-HVDYK3TL.js.map
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
SETTINGS_KEYS,
|
|
33
33
|
deleteSetting,
|
|
34
34
|
getSetting
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-M2YRM64Q.js";
|
|
36
36
|
import {
|
|
37
37
|
getProject
|
|
38
38
|
} from "./chunk-O4TED6AJ.js";
|
|
@@ -2229,6 +2229,15 @@ function createToolProgressHandler(append, messageId, callId, _sessionId) {
|
|
|
2229
2229
|
|
|
2230
2230
|
// src/server/chat/execute-tools.ts
|
|
2231
2231
|
import stripAnsi from "strip-ansi";
|
|
2232
|
+
var INTERRUPTED_ERROR = "Tool execution was interrupted by user";
|
|
2233
|
+
function createInterruptedResult(startTime) {
|
|
2234
|
+
return {
|
|
2235
|
+
success: false,
|
|
2236
|
+
error: INTERRUPTED_ERROR,
|
|
2237
|
+
durationMs: startTime ? Date.now() - startTime : 0,
|
|
2238
|
+
truncated: false
|
|
2239
|
+
};
|
|
2240
|
+
}
|
|
2232
2241
|
async function executeTools(assistantMsgId, toolCalls, ctx, append) {
|
|
2233
2242
|
const toolMessages = [];
|
|
2234
2243
|
let returnValueContent;
|
|
@@ -2265,13 +2274,22 @@ async function executeTools(assistantMsgId, toolCalls, ctx, append) {
|
|
|
2265
2274
|
durationMs: Date.now() - startTime,
|
|
2266
2275
|
truncated: false
|
|
2267
2276
|
};
|
|
2277
|
+
} else if (error instanceof Error && (error.message === "Aborted" || error.name === "AbortError")) {
|
|
2278
|
+
return createInterruptedResult(startTime);
|
|
2268
2279
|
} else {
|
|
2269
2280
|
throw error;
|
|
2270
2281
|
}
|
|
2271
2282
|
};
|
|
2272
2283
|
const executeTool = async (toolCall, index) => {
|
|
2273
2284
|
if (ctx.signal?.aborted) {
|
|
2274
|
-
|
|
2285
|
+
const toolResult2 = createInterruptedResult();
|
|
2286
|
+
append(createToolResultEvent(assistantMsgId, toolCall.id, toolResult2));
|
|
2287
|
+
return {
|
|
2288
|
+
toolCall,
|
|
2289
|
+
toolResult: toolResult2,
|
|
2290
|
+
content: `Error: ${INTERRUPTED_ERROR}`,
|
|
2291
|
+
index
|
|
2292
|
+
};
|
|
2275
2293
|
}
|
|
2276
2294
|
if (toolCall.parseError) {
|
|
2277
2295
|
const toolResult2 = {
|
|
@@ -3368,7 +3386,7 @@ var callSubAgentTool = {
|
|
|
3368
3386
|
};
|
|
3369
3387
|
}
|
|
3370
3388
|
try {
|
|
3371
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3389
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-G3KFVM2A.js");
|
|
3372
3390
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3373
3391
|
const turnMetrics = new TurnMetrics();
|
|
3374
3392
|
const result = await executeSubAgent({
|
|
@@ -4174,7 +4192,7 @@ async function computeContextHash(sessionManager, sessionId) {
|
|
|
4174
4192
|
const runtimeConfig = getRuntimeConfig();
|
|
4175
4193
|
const configDir = getGlobalConfigDir(runtimeConfig.mode ?? "production");
|
|
4176
4194
|
const skills = await getEnabledSkillMetadata(configDir, runtimeConfig.workdir);
|
|
4177
|
-
const { createToolRegistry: createToolRegistry2 } = await import("./tools-
|
|
4195
|
+
const { createToolRegistry: createToolRegistry2 } = await import("./tools-G3KFVM2A.js");
|
|
4178
4196
|
const allTools = createToolRegistry2().definitions;
|
|
4179
4197
|
const toolFingerprint = getToolFingerprint(allTools);
|
|
4180
4198
|
const hash = computeDynamicContextHash(instructionContent, skills, toolFingerprint);
|
|
@@ -4287,7 +4305,7 @@ var mcpConfigTool = createTool(
|
|
|
4287
4305
|
await saveGlobalConfig(mcpConfigMode, { ...globalConfig, mcpServers: updated });
|
|
4288
4306
|
}
|
|
4289
4307
|
async function rebuildTools() {
|
|
4290
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
4308
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-G3KFVM2A.js");
|
|
4291
4309
|
const mcpTools = createMcpTools(mcpManagerForTools);
|
|
4292
4310
|
setMcpTools2(mcpTools);
|
|
4293
4311
|
}
|
|
@@ -4691,4 +4709,4 @@ export {
|
|
|
4691
4709
|
getToolRegistryForAgent,
|
|
4692
4710
|
createToolRegistry
|
|
4693
4711
|
};
|
|
4694
|
-
//# sourceMappingURL=chunk-
|
|
4712
|
+
//# sourceMappingURL=chunk-JCOLS2ZM.js.map
|
|
@@ -15,6 +15,7 @@ var SETTINGS_KEYS = {
|
|
|
15
15
|
DISPLAY_USER_PRESETS: "display.userPresets",
|
|
16
16
|
DISPLAY_FOLLOW_SYSTEM_THEME: "display.followSystemTheme",
|
|
17
17
|
DISPLAY_SHOW_OPEN_IN_EDITOR: "display.showOpenInEditorLinks",
|
|
18
|
+
DISPLAY_MAX_VISIBLE_ITEMS: "display.maxVisibleItems",
|
|
18
19
|
LLM_DYNAMIC_SYSTEM_PROMPT: "llm.dynamicSystemPrompt",
|
|
19
20
|
KEYBINDINGS: "keybindings",
|
|
20
21
|
RETRY_PATTERNS: "agent.retryPatterns"
|
|
@@ -29,6 +30,7 @@ var SETTINGS_DEFAULTS = {
|
|
|
29
30
|
[SETTINGS_KEYS.DISPLAY_THEME]: JSON.stringify({ preset: "dark" }),
|
|
30
31
|
[SETTINGS_KEYS.DISPLAY_FOLLOW_SYSTEM_THEME]: "true",
|
|
31
32
|
[SETTINGS_KEYS.DISPLAY_SHOW_OPEN_IN_EDITOR]: "false",
|
|
33
|
+
[SETTINGS_KEYS.DISPLAY_MAX_VISIBLE_ITEMS]: "300",
|
|
32
34
|
[SETTINGS_KEYS.LLM_DYNAMIC_SYSTEM_PROMPT]: "false",
|
|
33
35
|
[SETTINGS_KEYS.RETRY_PATTERNS]: JSON.stringify({ patterns: [], maxRetriesPerTurn: 10 }),
|
|
34
36
|
[SETTINGS_KEYS.KEYBINDINGS]: JSON.stringify({
|
|
@@ -88,4 +90,4 @@ export {
|
|
|
88
90
|
deleteSetting,
|
|
89
91
|
getAllSettings
|
|
90
92
|
};
|
|
91
|
-
//# sourceMappingURL=chunk-
|
|
93
|
+
//# sourceMappingURL=chunk-M2YRM64Q.js.map
|
|
@@ -196,7 +196,7 @@ async function runCli(options) {
|
|
|
196
196
|
if (!configExists) {
|
|
197
197
|
await runNetworkSetup(mode);
|
|
198
198
|
}
|
|
199
|
-
const { runServe } = await import("./serve-
|
|
199
|
+
const { runServe } = await import("./serve-6FBUKU4F.js");
|
|
200
200
|
const serveOptions = { mode };
|
|
201
201
|
if (values.port) serveOptions.port = parseInt(values.port);
|
|
202
202
|
if (values["no-browser"] === true) serveOptions.openBrowser = false;
|
|
@@ -208,4 +208,4 @@ async function runCli(options) {
|
|
|
208
208
|
export {
|
|
209
209
|
runCli
|
|
210
210
|
};
|
|
211
|
-
//# sourceMappingURL=chunk-
|
|
211
|
+
//# sourceMappingURL=chunk-XDPGWGUW.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
loadAllAgentsDefault,
|
|
15
15
|
processEventsForConversation,
|
|
16
16
|
runTopLevelAgentLoop
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JCOLS2ZM.js";
|
|
18
18
|
import {
|
|
19
19
|
TurnMetrics,
|
|
20
20
|
WORKFLOW_KICKOFF_PROMPT,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
|
|
42
42
|
// src/server/chat/orchestrator.ts
|
|
43
43
|
async function buildRetryPatterns() {
|
|
44
|
-
const { getSetting, SETTINGS_KEYS } = await import("./settings-
|
|
44
|
+
const { getSetting, SETTINGS_KEYS } = await import("./settings-MMEBGS53.js");
|
|
45
45
|
const raw = getSetting(SETTINGS_KEYS.RETRY_PATTERNS);
|
|
46
46
|
if (!raw) {
|
|
47
47
|
const oldXmlProtection = getSetting("llm.disableXmlProtection");
|
|
@@ -320,4 +320,4 @@ export {
|
|
|
320
320
|
runAgentTurn,
|
|
321
321
|
injectWorkflowKickoffIfNeeded
|
|
322
322
|
};
|
|
323
|
-
//# sourceMappingURL=chunk-
|
|
323
|
+
//# sourceMappingURL=chunk-ZRKYDC4O.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
injectWorkflowKickoffIfNeeded,
|
|
3
3
|
runAgentTurn,
|
|
4
4
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ZRKYDC4O.js";
|
|
6
|
+
import "./chunk-JCOLS2ZM.js";
|
|
7
7
|
import "./chunk-DL6ZILAF.js";
|
|
8
8
|
import "./chunk-PBGOZMVY.js";
|
|
9
9
|
import "./chunk-VRGRAQDG.js";
|
|
10
10
|
import "./chunk-NWO6GRYE.js";
|
|
11
11
|
import "./chunk-F4PMNP7S.js";
|
|
12
12
|
import "./chunk-EU3WWTFH.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-M2YRM64Q.js";
|
|
14
14
|
import "./chunk-O4TED6AJ.js";
|
|
15
15
|
import {
|
|
16
16
|
TurnMetrics,
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
runAgentTurn,
|
|
43
43
|
runChatTurn
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=orchestrator-
|
|
45
|
+
//# sourceMappingURL=orchestrator-7BJEOWTX.js.map
|
package/dist/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
5
|
} from "./chunk-UHWRWFLE.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-JCOLS2ZM.js";
|
|
7
7
|
import "./chunk-DL6ZILAF.js";
|
|
8
8
|
import "./chunk-PBGOZMVY.js";
|
|
9
9
|
import "./chunk-VRGRAQDG.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
createSessionRunningMessage
|
|
14
14
|
} from "./chunk-F4PMNP7S.js";
|
|
15
15
|
import "./chunk-EU3WWTFH.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-M2YRM64Q.js";
|
|
17
17
|
import "./chunk-O4TED6AJ.js";
|
|
18
18
|
import "./chunk-SS3F2VYF.js";
|
|
19
19
|
import {
|
|
@@ -171,7 +171,7 @@ var QueueProcessor = class {
|
|
|
171
171
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
172
172
|
model: llmClient.getModel()
|
|
173
173
|
};
|
|
174
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
174
|
+
const { runChatTurn } = await import("./orchestrator-7BJEOWTX.js");
|
|
175
175
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
176
176
|
sessionManager,
|
|
177
177
|
sessionId,
|
|
@@ -216,4 +216,4 @@ var QueueProcessor = class {
|
|
|
216
216
|
export {
|
|
217
217
|
QueueProcessor
|
|
218
218
|
};
|
|
219
|
-
//# sourceMappingURL=processor-
|
|
219
|
+
//# sourceMappingURL=processor-AFP2CBQI.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION,
|
|
3
3
|
createServer
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-HVDYK3TL.js";
|
|
5
|
+
import "./chunk-EQUVYCW5.js";
|
|
6
|
+
import "./chunk-ZRKYDC4O.js";
|
|
7
|
+
import "./chunk-JCOLS2ZM.js";
|
|
8
8
|
import "./chunk-DL6ZILAF.js";
|
|
9
9
|
import "./chunk-PBGOZMVY.js";
|
|
10
10
|
import "./chunk-VRGRAQDG.js";
|
|
11
11
|
import "./chunk-NWO6GRYE.js";
|
|
12
12
|
import "./chunk-F4PMNP7S.js";
|
|
13
13
|
import "./chunk-EU3WWTFH.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-M2YRM64Q.js";
|
|
15
15
|
import "./chunk-O4TED6AJ.js";
|
|
16
16
|
import "./chunk-SSWRM5BT.js";
|
|
17
17
|
import "./chunk-SS3F2VYF.js";
|
|
@@ -199,4 +199,4 @@ async function runServe(options) {
|
|
|
199
199
|
export {
|
|
200
200
|
runServe
|
|
201
201
|
};
|
|
202
|
-
//# sourceMappingURL=serve-
|
|
202
|
+
//# sourceMappingURL=serve-6FBUKU4F.js.map
|
package/dist/server/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-HVDYK3TL.js";
|
|
5
|
+
import "../chunk-EQUVYCW5.js";
|
|
6
|
+
import "../chunk-ZRKYDC4O.js";
|
|
7
|
+
import "../chunk-JCOLS2ZM.js";
|
|
8
8
|
import "../chunk-DL6ZILAF.js";
|
|
9
9
|
import "../chunk-PBGOZMVY.js";
|
|
10
10
|
import "../chunk-VRGRAQDG.js";
|
|
11
11
|
import "../chunk-NWO6GRYE.js";
|
|
12
12
|
import "../chunk-F4PMNP7S.js";
|
|
13
13
|
import "../chunk-EU3WWTFH.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-M2YRM64Q.js";
|
|
15
15
|
import "../chunk-O4TED6AJ.js";
|
|
16
16
|
import "../chunk-SSWRM5BT.js";
|
|
17
17
|
import "../chunk-SS3F2VYF.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWebSocketServer,
|
|
3
3
|
signalMcpReady
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-EQUVYCW5.js";
|
|
5
|
+
import "./chunk-ZRKYDC4O.js";
|
|
6
|
+
import "./chunk-JCOLS2ZM.js";
|
|
7
7
|
import "./chunk-DL6ZILAF.js";
|
|
8
8
|
import "./chunk-PBGOZMVY.js";
|
|
9
9
|
import "./chunk-VRGRAQDG.js";
|
|
10
10
|
import "./chunk-NWO6GRYE.js";
|
|
11
11
|
import "./chunk-F4PMNP7S.js";
|
|
12
12
|
import "./chunk-EU3WWTFH.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-M2YRM64Q.js";
|
|
14
14
|
import "./chunk-O4TED6AJ.js";
|
|
15
15
|
import "./chunk-SSWRM5BT.js";
|
|
16
16
|
import "./chunk-SS3F2VYF.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
createWebSocketServer,
|
|
35
35
|
signalMcpReady
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=server-
|
|
37
|
+
//# sourceMappingURL=server-5Q566V7W.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getAllSettings,
|
|
6
6
|
getSetting,
|
|
7
7
|
setSetting
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-M2YRM64Q.js";
|
|
9
9
|
import "./chunk-FBGWG4N6.js";
|
|
10
10
|
import "./chunk-K44MW7JJ.js";
|
|
11
11
|
export {
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
getSetting,
|
|
17
17
|
setSetting
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=settings-
|
|
19
|
+
//# sourceMappingURL=settings-MMEBGS53.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
setMcpTools,
|
|
13
13
|
stepDoneTool,
|
|
14
14
|
validateToolAction
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JCOLS2ZM.js";
|
|
16
16
|
import "./chunk-DL6ZILAF.js";
|
|
17
17
|
import "./chunk-PBGOZMVY.js";
|
|
18
18
|
import "./chunk-VRGRAQDG.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
getPendingQuestionsForSession,
|
|
25
25
|
provideAnswer
|
|
26
26
|
} from "./chunk-EU3WWTFH.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-M2YRM64Q.js";
|
|
28
28
|
import "./chunk-O4TED6AJ.js";
|
|
29
29
|
import "./chunk-SS3F2VYF.js";
|
|
30
30
|
import "./chunk-M7M2VH45.js";
|
|
@@ -57,4 +57,4 @@ export {
|
|
|
57
57
|
stepDoneTool,
|
|
58
58
|
validateToolAction
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=tools-
|
|
60
|
+
//# sourceMappingURL=tools-G3KFVM2A.js.map
|