openfox 2.0.54 → 2.0.55
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-SEMT4SD5.js → chat-handler-C3NO5RY3.js} +3 -3
- package/dist/{chunk-GFAKHMIJ.js → chunk-5UHSEVAP.js} +2 -2
- package/dist/{chunk-GGDYDMIC.js → chunk-7V3JBKYK.js} +16 -16
- package/dist/{chunk-VCT4DBJC.js → chunk-JQ4FVPIM.js} +2 -2
- package/dist/{chunk-KPKQNJAG.js → chunk-PRYVRROH.js} +3 -3
- package/dist/{chunk-55LI67AH.js → chunk-ZIW47U5D.js} +16 -52
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-NPPNYDJJ.js → orchestrator-2OPDGKLZ.js} +3 -3
- package/dist/package.json +3 -1
- package/dist/{processor-WJQILWUH.js → processor-VUAIB4Z6.js} +3 -3
- package/dist/{serve-ZZ2IGSZK.js → serve-UX6YYIMR.js} +5 -5
- package/dist/server/index.js +4 -4
- package/dist/{server-GCB67HAC.js → server-ILO7GYZE.js} +4 -4
- package/dist/{tools-NGAV5NZF.js → tools-32PBXC2S.js} +2 -2
- package/dist/web/assets/{index-Bc9jabDX.js → index-ByGymMJ1.js} +2 -2
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/package.json +3 -1
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
} from "./chunk-UOKVBO67.js";
|
|
6
6
|
import {
|
|
7
7
|
runChatTurn
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-JQ4FVPIM.js";
|
|
9
|
+
import "./chunk-ZIW47U5D.js";
|
|
10
10
|
import "./chunk-LBGHZLLH.js";
|
|
11
11
|
import "./chunk-OCILP3SJ.js";
|
|
12
12
|
import "./chunk-CYJEQF7U.js";
|
|
@@ -154,4 +154,4 @@ export {
|
|
|
154
154
|
startChatSession,
|
|
155
155
|
stopSessionExecution
|
|
156
156
|
};
|
|
157
|
-
//# sourceMappingURL=chat-handler-
|
|
157
|
+
//# sourceMappingURL=chat-handler-C3NO5RY3.js.map
|
|
@@ -208,7 +208,7 @@ async function runCli(options) {
|
|
|
208
208
|
if (!configExists) {
|
|
209
209
|
await runNetworkSetup(mode);
|
|
210
210
|
}
|
|
211
|
-
const { runServe } = await import("./serve-
|
|
211
|
+
const { runServe } = await import("./serve-UX6YYIMR.js");
|
|
212
212
|
const serveOptions = { mode };
|
|
213
213
|
if (values.port) serveOptions.port = parseInt(values.port);
|
|
214
214
|
if (values["no-browser"] === true) serveOptions.openBrowser = false;
|
|
@@ -220,4 +220,4 @@ async function runCli(options) {
|
|
|
220
220
|
export {
|
|
221
221
|
runCli
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-5UHSEVAP.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
tokenFromPassword,
|
|
22
22
|
verifyPassword,
|
|
23
23
|
workflowExists
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PRYVRROH.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-ZIW47U5D.js";
|
|
65
65
|
import {
|
|
66
66
|
getPathSeparator,
|
|
67
67
|
isAbsolutePath
|
|
@@ -3849,7 +3849,7 @@ import { Router as Router7 } from "express";
|
|
|
3849
3849
|
import { spawn as spawn2 } from "child_process";
|
|
3850
3850
|
|
|
3851
3851
|
// src/constants.ts
|
|
3852
|
-
var VERSION = "2.0.
|
|
3852
|
+
var VERSION = "2.0.55";
|
|
3853
3853
|
|
|
3854
3854
|
// src/server/routes/auto-update.ts
|
|
3855
3855
|
var updateInProgress = false;
|
|
@@ -4050,7 +4050,7 @@ async function createServerHandle(config4) {
|
|
|
4050
4050
|
setMcpTools(mcpTools);
|
|
4051
4051
|
logger.info("MCP tools registered", { count: mcpTools.length });
|
|
4052
4052
|
}
|
|
4053
|
-
const { signalMcpReady } = await import("./server-
|
|
4053
|
+
const { signalMcpReady } = await import("./server-ILO7GYZE.js");
|
|
4054
4054
|
signalMcpReady();
|
|
4055
4055
|
});
|
|
4056
4056
|
const app = express();
|
|
@@ -4243,7 +4243,7 @@ async function createServerHandle(config4) {
|
|
|
4243
4243
|
app.get("/api/sessions/:id", async (req, res) => {
|
|
4244
4244
|
const { getEventStore: getEventStore2 } = await import("./events-52XADT6Y.js");
|
|
4245
4245
|
const { buildMessagesFromStoredEvents } = await import("./folding-2BGFLV5J.js");
|
|
4246
|
-
const { getPendingQuestionsForSession } = await import("./tools-
|
|
4246
|
+
const { getPendingQuestionsForSession } = await import("./tools-32PBXC2S.js");
|
|
4247
4247
|
const session = sessionManager.getSession(req.params.id);
|
|
4248
4248
|
if (!session) {
|
|
4249
4249
|
return res.status(404).json({ error: "Session not found" });
|
|
@@ -4262,8 +4262,8 @@ async function createServerHandle(config4) {
|
|
|
4262
4262
|
if (!session) {
|
|
4263
4263
|
return res.status(404).json({ error: "Session not found" });
|
|
4264
4264
|
}
|
|
4265
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
4266
|
-
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-
|
|
4265
|
+
const { stopSessionExecution } = await import("./chat-handler-C3NO5RY3.js");
|
|
4266
|
+
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-32PBXC2S.js");
|
|
4267
4267
|
sessionManager.clearMessageQueue(sessionId);
|
|
4268
4268
|
stopSessionExecution(sessionId, sessionManager);
|
|
4269
4269
|
abortSession(sessionId);
|
|
@@ -4417,7 +4417,7 @@ async function createServerHandle(config4) {
|
|
|
4417
4417
|
if (!callId || approved === void 0) {
|
|
4418
4418
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
4419
4419
|
}
|
|
4420
|
-
const { providePathConfirmation } = await import("./tools-
|
|
4420
|
+
const { providePathConfirmation } = await import("./tools-32PBXC2S.js");
|
|
4421
4421
|
const result = providePathConfirmation(callId, approved, alwaysAllow);
|
|
4422
4422
|
if (!result.found) {
|
|
4423
4423
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
@@ -4425,7 +4425,7 @@ async function createServerHandle(config4) {
|
|
|
4425
4425
|
const { getEventStore: getEventStore2 } = await import("./events-52XADT6Y.js");
|
|
4426
4426
|
const { buildMessagesFromStoredEvents, foldPendingConfirmations } = await import("./folding-2BGFLV5J.js");
|
|
4427
4427
|
const { createSessionStateMessage } = await import("./protocol-CTNE3ANP.js");
|
|
4428
|
-
const { getPendingQuestionsForSession } = await import("./tools-
|
|
4428
|
+
const { getPendingQuestionsForSession } = await import("./tools-32PBXC2S.js");
|
|
4429
4429
|
const eventStore = getEventStore2();
|
|
4430
4430
|
const events = eventStore.getEvents(sessionId);
|
|
4431
4431
|
const messages = buildMessagesFromStoredEvents(events);
|
|
@@ -4446,7 +4446,7 @@ async function createServerHandle(config4) {
|
|
|
4446
4446
|
if (!skip && typeof answer !== "string") {
|
|
4447
4447
|
return res.status(400).json({ error: "answer is required when not skipping" });
|
|
4448
4448
|
}
|
|
4449
|
-
const { provideAnswer } = await import("./tools-
|
|
4449
|
+
const { provideAnswer } = await import("./tools-32PBXC2S.js");
|
|
4450
4450
|
const found = provideAnswer(callId, answer ?? "", skip ?? false);
|
|
4451
4451
|
if (!found) {
|
|
4452
4452
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -4482,7 +4482,7 @@ async function createServerHandle(config4) {
|
|
|
4482
4482
|
if (sessionManager.isWarmedUp(sessionId)) {
|
|
4483
4483
|
return res.json({ success: false, reason: "already_warmed" });
|
|
4484
4484
|
}
|
|
4485
|
-
const { runAgentTurn, TurnMetrics } = await import("./orchestrator-
|
|
4485
|
+
const { runAgentTurn, TurnMetrics } = await import("./orchestrator-2OPDGKLZ.js");
|
|
4486
4486
|
runAgentTurn(
|
|
4487
4487
|
{
|
|
4488
4488
|
sessionManager,
|
|
@@ -4525,8 +4525,8 @@ async function createServerHandle(config4) {
|
|
|
4525
4525
|
if (!session) {
|
|
4526
4526
|
return res.status(404).json({ error: "Session not found" });
|
|
4527
4527
|
}
|
|
4528
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
4529
|
-
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-
|
|
4528
|
+
const { stopSessionExecution } = await import("./chat-handler-C3NO5RY3.js");
|
|
4529
|
+
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-32PBXC2S.js");
|
|
4530
4530
|
const queuedMessages = sessionManager.getQueueState(sessionId);
|
|
4531
4531
|
sessionManager.clearMessageQueue(sessionId);
|
|
4532
4532
|
stopSessionExecution(sessionId, sessionManager);
|
|
@@ -5036,7 +5036,7 @@ async function createServerHandle(config4) {
|
|
|
5036
5036
|
});
|
|
5037
5037
|
async function rebuildMcpTools() {
|
|
5038
5038
|
const { createMcpTools: createMcpTools2 } = await import("./tool-adapter-MOGEI6TP.js");
|
|
5039
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
5039
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-32PBXC2S.js");
|
|
5040
5040
|
const mcpTools = createMcpTools2(mcpManager);
|
|
5041
5041
|
setMcpTools2(mcpTools);
|
|
5042
5042
|
}
|
|
@@ -5344,7 +5344,7 @@ async function createServerHandle(config4) {
|
|
|
5344
5344
|
const state = sessionManager.getContextState(sessionId);
|
|
5345
5345
|
wssExports.broadcastForSession(sessionId, createContextStateMessage(state));
|
|
5346
5346
|
});
|
|
5347
|
-
const { QueueProcessor } = await import("./processor-
|
|
5347
|
+
const { QueueProcessor } = await import("./processor-VUAIB4Z6.js");
|
|
5348
5348
|
const queueProcessor = new QueueProcessor({
|
|
5349
5349
|
sessionManager,
|
|
5350
5350
|
providerManager,
|
|
@@ -5419,4 +5419,4 @@ export {
|
|
|
5419
5419
|
createServerHandle,
|
|
5420
5420
|
createServer
|
|
5421
5421
|
};
|
|
5422
|
-
//# sourceMappingURL=chunk-
|
|
5422
|
+
//# sourceMappingURL=chunk-7V3JBKYK.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
loadAllAgentsDefault,
|
|
13
13
|
processEventsForConversation,
|
|
14
14
|
runTopLevelAgentLoop
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZIW47U5D.js";
|
|
16
16
|
import {
|
|
17
17
|
TurnMetrics,
|
|
18
18
|
WORKFLOW_KICKOFF_PROMPT,
|
|
@@ -324,4 +324,4 @@ export {
|
|
|
324
324
|
runAgentTurn,
|
|
325
325
|
injectWorkflowKickoffIfNeeded
|
|
326
326
|
};
|
|
327
|
-
//# sourceMappingURL=chunk-
|
|
327
|
+
//# sourceMappingURL=chunk-JQ4FVPIM.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
injectWorkflowKickoffIfNeeded,
|
|
3
3
|
runAgentTurn,
|
|
4
4
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JQ4FVPIM.js";
|
|
6
6
|
import {
|
|
7
7
|
applyDynamicContext,
|
|
8
8
|
checkAborted,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
loadAllAgentsDefault,
|
|
17
17
|
saveItemToDir,
|
|
18
18
|
spawnShellProcess
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZIW47U5D.js";
|
|
20
20
|
import {
|
|
21
21
|
getPlatformShell,
|
|
22
22
|
onProcessEvent
|
|
@@ -2091,4 +2091,4 @@ export {
|
|
|
2091
2091
|
signalMcpReady,
|
|
2092
2092
|
createWebSocketServer
|
|
2093
2093
|
};
|
|
2094
|
-
//# sourceMappingURL=chunk-
|
|
2094
|
+
//# sourceMappingURL=chunk-PRYVRROH.js.map
|
|
@@ -794,54 +794,18 @@ function stringToUtf32(str, littleEndian) {
|
|
|
794
794
|
}
|
|
795
795
|
|
|
796
796
|
// src/server/tools/read.ts
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
"
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
".bmp": "image/bmp",
|
|
804
|
-
".svg": "image/svg+xml"
|
|
805
|
-
};
|
|
806
|
-
var IMAGE_SIGNATURES = [
|
|
807
|
-
{
|
|
808
|
-
mimeType: "image/png",
|
|
809
|
-
signature: Buffer.from([137, 80, 78, 71, 13, 10, 26, 10]),
|
|
810
|
-
extension: ".png"
|
|
811
|
-
},
|
|
812
|
-
{ mimeType: "image/jpeg", signature: Buffer.from([255, 216, 255]), extension: ".jpg" },
|
|
813
|
-
{ mimeType: "image/gif", signature: Buffer.from([71, 73, 70, 56]), extension: ".gif" },
|
|
814
|
-
{ mimeType: "image/webp", signature: Buffer.from([]), extension: ".webp" },
|
|
815
|
-
// WebP handled specially
|
|
816
|
-
{ mimeType: "image/bmp", signature: Buffer.from([66, 77]), extension: ".bmp" }
|
|
817
|
-
];
|
|
818
|
-
function detectImageType(buffer, filePath) {
|
|
819
|
-
for (const { mimeType: mimeType2, signature } of IMAGE_SIGNATURES) {
|
|
820
|
-
if (mimeType2 === "image/webp") {
|
|
821
|
-
if (buffer.length >= 12 && buffer[0] === 82 && buffer[1] === 73 && buffer[2] === 70 && buffer[3] === 70 && buffer[8] === 87 && buffer[9] === 69 && buffer[10] === 66 && buffer[11] === 80) {
|
|
822
|
-
return mimeType2;
|
|
823
|
-
}
|
|
824
|
-
} else if (buffer.length >= signature.length) {
|
|
825
|
-
let matches = true;
|
|
826
|
-
for (let i = 0; i < signature.length; i++) {
|
|
827
|
-
if (buffer[i] !== signature[i]) {
|
|
828
|
-
matches = false;
|
|
829
|
-
break;
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
if (matches) {
|
|
833
|
-
return mimeType2;
|
|
834
|
-
}
|
|
835
|
-
}
|
|
797
|
+
import { fileTypeFromBuffer } from "file-type";
|
|
798
|
+
async function detectImageType(buffer, filePath) {
|
|
799
|
+
const fileType = await fileTypeFromBuffer(buffer);
|
|
800
|
+
const imageMimeTypes = ["image/png", "image/jpeg", "image/gif", "image/webp", "image/bmp", "image/svg+xml"];
|
|
801
|
+
if (fileType?.mime && imageMimeTypes.includes(fileType.mime)) {
|
|
802
|
+
return fileType.mime;
|
|
836
803
|
}
|
|
837
804
|
const ext = extname(filePath).toLowerCase();
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
if (buffer.length > 0) {
|
|
843
|
-
const textStart = buffer.subarray(0, Math.min(100, buffer.length)).toString("utf-8");
|
|
844
|
-
if (textStart.includes("<svg")) {
|
|
805
|
+
if (ext === ".svg" && buffer.length > 0) {
|
|
806
|
+
const content = buffer.toString("utf-8");
|
|
807
|
+
const trimmedStart = content.trimStart();
|
|
808
|
+
if (trimmedStart.startsWith("<?xml") || trimmedStart.startsWith("<svg")) {
|
|
845
809
|
return "image/svg+xml";
|
|
846
810
|
}
|
|
847
811
|
}
|
|
@@ -925,7 +889,7 @@ var readFileTool = createTool(
|
|
|
925
889
|
return helpers.error(`File not found: ${args.path}`);
|
|
926
890
|
}
|
|
927
891
|
const rawBuffer = await readFile2(fullPath);
|
|
928
|
-
const mimeType = detectImageType(rawBuffer, args.path);
|
|
892
|
+
const mimeType = await detectImageType(rawBuffer, args.path);
|
|
929
893
|
if (mimeType) {
|
|
930
894
|
const base64Data = rawBuffer.toString("base64");
|
|
931
895
|
const dataUrl = `data:${mimeType};base64,${base64Data}`;
|
|
@@ -3447,7 +3411,7 @@ var callSubAgentTool = {
|
|
|
3447
3411
|
};
|
|
3448
3412
|
}
|
|
3449
3413
|
try {
|
|
3450
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3414
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-32PBXC2S.js");
|
|
3451
3415
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3452
3416
|
const turnMetrics = new TurnMetrics();
|
|
3453
3417
|
const result = await executeSubAgent({
|
|
@@ -4263,7 +4227,7 @@ function resolveAgentDef2(sessionManager, sessionId) {
|
|
|
4263
4227
|
}
|
|
4264
4228
|
async function buildCachedPrompt(sessionManager, sessionId, agentDef) {
|
|
4265
4229
|
const { instructionContent, skills } = await loadSessionContext(sessionManager, sessionId);
|
|
4266
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
4230
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-32PBXC2S.js");
|
|
4267
4231
|
const tools = getToolRegistryForAgent2(agentDef).definitions;
|
|
4268
4232
|
const toolFingerprint = getToolFingerprint(tools);
|
|
4269
4233
|
const allAgents = await loadAllAgentsDefault();
|
|
@@ -4276,7 +4240,7 @@ async function buildCachedPrompt(sessionManager, sessionId, agentDef) {
|
|
|
4276
4240
|
async function computeSessionHash(sessionManager, sessionId) {
|
|
4277
4241
|
const { instructionContent, skills } = await loadSessionContext(sessionManager, sessionId);
|
|
4278
4242
|
const agentDef = await resolveAgentDef2(sessionManager, sessionId);
|
|
4279
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
4243
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-32PBXC2S.js");
|
|
4280
4244
|
const tools = getToolRegistryForAgent2(agentDef).definitions;
|
|
4281
4245
|
const toolFingerprint = getToolFingerprint(tools);
|
|
4282
4246
|
return computeDynamicContextHash(instructionContent, skills, toolFingerprint);
|
|
@@ -4383,7 +4347,7 @@ var mcpConfigTool = createTool(
|
|
|
4383
4347
|
await saveGlobalConfig(mcpConfigMode, { ...globalConfig, mcpServers: updated });
|
|
4384
4348
|
}
|
|
4385
4349
|
async function rebuildTools() {
|
|
4386
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
4350
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-32PBXC2S.js");
|
|
4387
4351
|
const mcpTools = createMcpTools(mcpManagerForTools);
|
|
4388
4352
|
setMcpTools2(mcpTools);
|
|
4389
4353
|
}
|
|
@@ -5053,4 +5017,4 @@ export {
|
|
|
5053
5017
|
getToolRegistryForAgent,
|
|
5054
5018
|
createToolRegistry
|
|
5055
5019
|
};
|
|
5056
|
-
//# sourceMappingURL=chunk-
|
|
5020
|
+
//# sourceMappingURL=chunk-ZIW47U5D.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
injectWorkflowKickoffIfNeeded,
|
|
3
3
|
runAgentTurn,
|
|
4
4
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-JQ4FVPIM.js";
|
|
6
|
+
import "./chunk-ZIW47U5D.js";
|
|
7
7
|
import "./chunk-LBGHZLLH.js";
|
|
8
8
|
import "./chunk-OCILP3SJ.js";
|
|
9
9
|
import "./chunk-CYJEQF7U.js";
|
|
@@ -43,4 +43,4 @@ export {
|
|
|
43
43
|
runAgentTurn,
|
|
44
44
|
runChatTurn
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=orchestrator-
|
|
46
|
+
//# sourceMappingURL=orchestrator-2OPDGKLZ.js.map
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openfox",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.55",
|
|
4
4
|
"description": "Local-LLM-first agentic coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -68,12 +68,14 @@
|
|
|
68
68
|
"cors": "^2.8.5",
|
|
69
69
|
"express": "^5.2.1",
|
|
70
70
|
"fast-glob": "^3.3.3",
|
|
71
|
+
"file-type": "^22.0.1",
|
|
71
72
|
"gray-matter": "^4.0.3",
|
|
72
73
|
"html2canvas": "^1.4.1",
|
|
73
74
|
"http-proxy": "^1.18.1",
|
|
74
75
|
"iconv-lite": "^0.7.2",
|
|
75
76
|
"ignore": "^7.0.5",
|
|
76
77
|
"jschardet": "^3.1.4",
|
|
78
|
+
"mime-types": "^3.0.2",
|
|
77
79
|
"node-pty": "^1.2.0-beta.12",
|
|
78
80
|
"open": "^11.0.0",
|
|
79
81
|
"pyright": "^1.1.408",
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
5
|
} from "./chunk-UOKVBO67.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-ZIW47U5D.js";
|
|
7
7
|
import "./chunk-LBGHZLLH.js";
|
|
8
8
|
import "./chunk-OCILP3SJ.js";
|
|
9
9
|
import "./chunk-CYJEQF7U.js";
|
|
@@ -174,7 +174,7 @@ var QueueProcessor = class {
|
|
|
174
174
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
175
175
|
model: llmClient.getModel()
|
|
176
176
|
};
|
|
177
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
177
|
+
const { runChatTurn } = await import("./orchestrator-2OPDGKLZ.js");
|
|
178
178
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
179
179
|
sessionManager,
|
|
180
180
|
sessionId,
|
|
@@ -222,4 +222,4 @@ var QueueProcessor = class {
|
|
|
222
222
|
export {
|
|
223
223
|
QueueProcessor
|
|
224
224
|
};
|
|
225
|
-
//# sourceMappingURL=processor-
|
|
225
|
+
//# sourceMappingURL=processor-VUAIB4Z6.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION,
|
|
3
3
|
createServer
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-7V3JBKYK.js";
|
|
5
|
+
import "./chunk-PRYVRROH.js";
|
|
6
|
+
import "./chunk-JQ4FVPIM.js";
|
|
7
|
+
import "./chunk-ZIW47U5D.js";
|
|
8
8
|
import "./chunk-LBGHZLLH.js";
|
|
9
9
|
import "./chunk-OCILP3SJ.js";
|
|
10
10
|
import "./chunk-CYJEQF7U.js";
|
|
@@ -205,4 +205,4 @@ async function runServe(options) {
|
|
|
205
205
|
export {
|
|
206
206
|
runServe
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=serve-
|
|
208
|
+
//# sourceMappingURL=serve-UX6YYIMR.js.map
|
package/dist/server/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-7V3JBKYK.js";
|
|
5
|
+
import "../chunk-PRYVRROH.js";
|
|
6
|
+
import "../chunk-JQ4FVPIM.js";
|
|
7
|
+
import "../chunk-ZIW47U5D.js";
|
|
8
8
|
import "../chunk-LBGHZLLH.js";
|
|
9
9
|
import "../chunk-OCILP3SJ.js";
|
|
10
10
|
import "../chunk-CYJEQF7U.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWebSocketServer,
|
|
3
3
|
signalMcpReady
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PRYVRROH.js";
|
|
5
|
+
import "./chunk-JQ4FVPIM.js";
|
|
6
|
+
import "./chunk-ZIW47U5D.js";
|
|
7
7
|
import "./chunk-LBGHZLLH.js";
|
|
8
8
|
import "./chunk-OCILP3SJ.js";
|
|
9
9
|
import "./chunk-CYJEQF7U.js";
|
|
@@ -35,4 +35,4 @@ export {
|
|
|
35
35
|
createWebSocketServer,
|
|
36
36
|
signalMcpReady
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=server-
|
|
38
|
+
//# sourceMappingURL=server-ILO7GYZE.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
setMcpTools,
|
|
13
13
|
stepDoneTool,
|
|
14
14
|
validateToolAction
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZIW47U5D.js";
|
|
16
16
|
import "./chunk-LBGHZLLH.js";
|
|
17
17
|
import "./chunk-OCILP3SJ.js";
|
|
18
18
|
import "./chunk-CYJEQF7U.js";
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
stepDoneTool,
|
|
59
59
|
validateToolAction
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=tools-
|
|
61
|
+
//# sourceMappingURL=tools-32PBXC2S.js.map
|