openfox 2.0.40 → 2.0.41
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-KPQ3OM3U.js → chat-handler-H4O7TLGM.js} +3 -3
- package/dist/{chunk-WUG3TOAL.js → chunk-6KFKVGPK.js} +2 -2
- package/dist/{chunk-J7QZK6WE.js → chunk-NX6O62MR.js} +13 -13
- package/dist/{chunk-34CRQ76B.js → chunk-X3L37IIK.js} +2 -2
- package/dist/{chunk-EZJFNX7D.js → chunk-X6PMP7XH.js} +3 -3
- package/dist/{chunk-LH5J7V4F.js → chunk-XFMN7OFO.js} +7 -7
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-O4FZ3UVV.js → orchestrator-IZ6VSEZT.js} +3 -3
- package/dist/package.json +1 -1
- package/dist/{processor-PQ5IQ24D.js → processor-WQYQUIPB.js} +3 -3
- package/dist/{serve-NC3U2VTG.js → serve-XP3S4QDS.js} +5 -5
- package/dist/server/index.js +4 -4
- package/dist/{server-INICKQAY.js → server-DKCNTFA5.js} +4 -4
- package/dist/{tools-Q32G4RCJ.js → tools-X3QW7SN7.js} +2 -2
- package/package.json +1 -1
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
} from "./chunk-JGNAYJJZ.js";
|
|
6
6
|
import {
|
|
7
7
|
runChatTurn
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-6KFKVGPK.js";
|
|
9
|
+
import "./chunk-XFMN7OFO.js";
|
|
10
10
|
import "./chunk-LBGHZLLH.js";
|
|
11
11
|
import "./chunk-PBGOZMVY.js";
|
|
12
12
|
import "./chunk-VRGRAQDG.js";
|
|
@@ -145,4 +145,4 @@ export {
|
|
|
145
145
|
startChatSession,
|
|
146
146
|
stopSessionExecution
|
|
147
147
|
};
|
|
148
|
-
//# sourceMappingURL=chat-handler-
|
|
148
|
+
//# sourceMappingURL=chat-handler-H4O7TLGM.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
loadAllAgentsDefault,
|
|
13
13
|
processEventsForConversation,
|
|
14
14
|
runTopLevelAgentLoop
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XFMN7OFO.js";
|
|
16
16
|
import {
|
|
17
17
|
TurnMetrics,
|
|
18
18
|
WORKFLOW_KICKOFF_PROMPT,
|
|
@@ -310,4 +310,4 @@ export {
|
|
|
310
310
|
runAgentTurn,
|
|
311
311
|
injectWorkflowKickoffIfNeeded
|
|
312
312
|
};
|
|
313
|
-
//# sourceMappingURL=chunk-
|
|
313
|
+
//# sourceMappingURL=chunk-6KFKVGPK.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
tokenFromPassword,
|
|
22
22
|
verifyPassword,
|
|
23
23
|
workflowExists
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-X6PMP7XH.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-XFMN7OFO.js";
|
|
65
65
|
import {
|
|
66
66
|
getPathSeparator,
|
|
67
67
|
isAbsolutePath
|
|
@@ -3837,7 +3837,7 @@ import { Router as Router7 } from "express";
|
|
|
3837
3837
|
import { spawn as spawn2 } from "child_process";
|
|
3838
3838
|
|
|
3839
3839
|
// src/constants.ts
|
|
3840
|
-
var VERSION = "2.0.
|
|
3840
|
+
var VERSION = "2.0.41";
|
|
3841
3841
|
|
|
3842
3842
|
// src/server/routes/auto-update.ts
|
|
3843
3843
|
var updateInProgress = false;
|
|
@@ -4034,7 +4034,7 @@ async function createServerHandle(config4) {
|
|
|
4034
4034
|
setMcpTools(mcpTools);
|
|
4035
4035
|
logger.info("MCP tools registered", { count: mcpTools.length });
|
|
4036
4036
|
}
|
|
4037
|
-
const { signalMcpReady } = await import("./server-
|
|
4037
|
+
const { signalMcpReady } = await import("./server-DKCNTFA5.js");
|
|
4038
4038
|
signalMcpReady();
|
|
4039
4039
|
});
|
|
4040
4040
|
const app = express();
|
|
@@ -4227,7 +4227,7 @@ async function createServerHandle(config4) {
|
|
|
4227
4227
|
app.get("/api/sessions/:id", async (req, res) => {
|
|
4228
4228
|
const { getEventStore: getEventStore2 } = await import("./events-KZZPCW2Q.js");
|
|
4229
4229
|
const { buildMessagesFromStoredEvents } = await import("./folding-ENYH4LMG.js");
|
|
4230
|
-
const { getPendingQuestionsForSession } = await import("./tools-
|
|
4230
|
+
const { getPendingQuestionsForSession } = await import("./tools-X3QW7SN7.js");
|
|
4231
4231
|
const session = sessionManager.getSession(req.params.id);
|
|
4232
4232
|
if (!session) {
|
|
4233
4233
|
return res.status(404).json({ error: "Session not found" });
|
|
@@ -4378,7 +4378,7 @@ async function createServerHandle(config4) {
|
|
|
4378
4378
|
if (!callId || approved === void 0) {
|
|
4379
4379
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
4380
4380
|
}
|
|
4381
|
-
const { providePathConfirmation } = await import("./tools-
|
|
4381
|
+
const { providePathConfirmation } = await import("./tools-X3QW7SN7.js");
|
|
4382
4382
|
const result = providePathConfirmation(callId, approved, alwaysAllow);
|
|
4383
4383
|
if (!result.found) {
|
|
4384
4384
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
@@ -4386,7 +4386,7 @@ async function createServerHandle(config4) {
|
|
|
4386
4386
|
const { getEventStore: getEventStore2 } = await import("./events-KZZPCW2Q.js");
|
|
4387
4387
|
const { buildMessagesFromStoredEvents, foldPendingConfirmations } = await import("./folding-ENYH4LMG.js");
|
|
4388
4388
|
const { createSessionStateMessage } = await import("./protocol-BKNLAEPJ.js");
|
|
4389
|
-
const { getPendingQuestionsForSession } = await import("./tools-
|
|
4389
|
+
const { getPendingQuestionsForSession } = await import("./tools-X3QW7SN7.js");
|
|
4390
4390
|
const eventStore = getEventStore2();
|
|
4391
4391
|
const events = eventStore.getEvents(sessionId);
|
|
4392
4392
|
const messages = buildMessagesFromStoredEvents(events);
|
|
@@ -4407,7 +4407,7 @@ async function createServerHandle(config4) {
|
|
|
4407
4407
|
if (!skip && typeof answer !== "string") {
|
|
4408
4408
|
return res.status(400).json({ error: "answer is required when not skipping" });
|
|
4409
4409
|
}
|
|
4410
|
-
const { provideAnswer } = await import("./tools-
|
|
4410
|
+
const { provideAnswer } = await import("./tools-X3QW7SN7.js");
|
|
4411
4411
|
const found = provideAnswer(callId, answer ?? "", skip ?? false);
|
|
4412
4412
|
if (!found) {
|
|
4413
4413
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -4443,8 +4443,8 @@ async function createServerHandle(config4) {
|
|
|
4443
4443
|
if (!session) {
|
|
4444
4444
|
return res.status(404).json({ error: "Session not found" });
|
|
4445
4445
|
}
|
|
4446
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
4447
|
-
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-
|
|
4446
|
+
const { stopSessionExecution } = await import("./chat-handler-H4O7TLGM.js");
|
|
4447
|
+
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-X3QW7SN7.js");
|
|
4448
4448
|
const queuedMessages = sessionManager.getQueueState(sessionId);
|
|
4449
4449
|
sessionManager.clearMessageQueue(sessionId);
|
|
4450
4450
|
stopSessionExecution(sessionId, sessionManager);
|
|
@@ -4940,7 +4940,7 @@ async function createServerHandle(config4) {
|
|
|
4940
4940
|
});
|
|
4941
4941
|
async function rebuildMcpTools() {
|
|
4942
4942
|
const { createMcpTools: createMcpTools2 } = await import("./tool-adapter-B7QP6NLA.js");
|
|
4943
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
4943
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-X3QW7SN7.js");
|
|
4944
4944
|
const mcpTools = createMcpTools2(mcpManager);
|
|
4945
4945
|
setMcpTools2(mcpTools);
|
|
4946
4946
|
}
|
|
@@ -5248,7 +5248,7 @@ async function createServerHandle(config4) {
|
|
|
5248
5248
|
const state = sessionManager.getContextState(sessionId);
|
|
5249
5249
|
wssExports.broadcastForSession(sessionId, createContextStateMessage(state));
|
|
5250
5250
|
});
|
|
5251
|
-
const { QueueProcessor } = await import("./processor-
|
|
5251
|
+
const { QueueProcessor } = await import("./processor-WQYQUIPB.js");
|
|
5252
5252
|
const queueProcessor = new QueueProcessor({
|
|
5253
5253
|
sessionManager,
|
|
5254
5254
|
providerManager,
|
|
@@ -5323,4 +5323,4 @@ export {
|
|
|
5323
5323
|
createServerHandle,
|
|
5324
5324
|
createServer
|
|
5325
5325
|
};
|
|
5326
|
-
//# sourceMappingURL=chunk-
|
|
5326
|
+
//# sourceMappingURL=chunk-NX6O62MR.js.map
|
|
@@ -202,7 +202,7 @@ async function runCli(options) {
|
|
|
202
202
|
if (!configExists) {
|
|
203
203
|
await runNetworkSetup(mode);
|
|
204
204
|
}
|
|
205
|
-
const { runServe } = await import("./serve-
|
|
205
|
+
const { runServe } = await import("./serve-XP3S4QDS.js");
|
|
206
206
|
const serveOptions = { mode };
|
|
207
207
|
if (values.port) serveOptions.port = parseInt(values.port);
|
|
208
208
|
if (values["no-browser"] === true) serveOptions.openBrowser = false;
|
|
@@ -214,4 +214,4 @@ async function runCli(options) {
|
|
|
214
214
|
export {
|
|
215
215
|
runCli
|
|
216
216
|
};
|
|
217
|
-
//# sourceMappingURL=chunk-
|
|
217
|
+
//# sourceMappingURL=chunk-X3L37IIK.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
injectWorkflowKickoffIfNeeded,
|
|
3
3
|
runAgentTurn,
|
|
4
4
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6KFKVGPK.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-XFMN7OFO.js";
|
|
20
20
|
import {
|
|
21
21
|
getPlatformShell,
|
|
22
22
|
onProcessEvent
|
|
@@ -2056,4 +2056,4 @@ export {
|
|
|
2056
2056
|
signalMcpReady,
|
|
2057
2057
|
createWebSocketServer
|
|
2058
2058
|
};
|
|
2059
|
-
//# sourceMappingURL=chunk-
|
|
2059
|
+
//# sourceMappingURL=chunk-X6PMP7XH.js.map
|
|
@@ -3452,7 +3452,7 @@ var callSubAgentTool = {
|
|
|
3452
3452
|
};
|
|
3453
3453
|
}
|
|
3454
3454
|
try {
|
|
3455
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3455
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-X3QW7SN7.js");
|
|
3456
3456
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3457
3457
|
const turnMetrics = new TurnMetrics();
|
|
3458
3458
|
const result = await executeSubAgent({
|
|
@@ -4268,7 +4268,7 @@ function resolveAgentDef2(sessionManager, sessionId) {
|
|
|
4268
4268
|
}
|
|
4269
4269
|
async function buildCachedPrompt(sessionManager, sessionId, agentDef) {
|
|
4270
4270
|
const { instructionContent, skills } = await loadSessionContext(sessionManager, sessionId);
|
|
4271
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
4271
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-X3QW7SN7.js");
|
|
4272
4272
|
const tools = getToolRegistryForAgent2(agentDef).definitions;
|
|
4273
4273
|
const toolFingerprint = getToolFingerprint(tools);
|
|
4274
4274
|
const allAgents = await loadAllAgentsDefault();
|
|
@@ -4281,7 +4281,7 @@ async function buildCachedPrompt(sessionManager, sessionId, agentDef) {
|
|
|
4281
4281
|
async function computeSessionHash(sessionManager, sessionId) {
|
|
4282
4282
|
const { instructionContent, skills } = await loadSessionContext(sessionManager, sessionId);
|
|
4283
4283
|
const agentDef = await resolveAgentDef2(sessionManager, sessionId);
|
|
4284
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
4284
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-X3QW7SN7.js");
|
|
4285
4285
|
const tools = getToolRegistryForAgent2(agentDef).definitions;
|
|
4286
4286
|
const toolFingerprint = getToolFingerprint(tools);
|
|
4287
4287
|
return computeDynamicContextHash(instructionContent, skills, toolFingerprint);
|
|
@@ -4388,7 +4388,7 @@ var mcpConfigTool = createTool(
|
|
|
4388
4388
|
await saveGlobalConfig(mcpConfigMode, { ...globalConfig, mcpServers: updated });
|
|
4389
4389
|
}
|
|
4390
4390
|
async function rebuildTools() {
|
|
4391
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
4391
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-X3QW7SN7.js");
|
|
4392
4392
|
const mcpTools = createMcpTools(mcpManagerForTools);
|
|
4393
4393
|
setMcpTools2(mcpTools);
|
|
4394
4394
|
}
|
|
@@ -4674,7 +4674,7 @@ var traceCodeTool = createTool(
|
|
|
4674
4674
|
type: "function",
|
|
4675
4675
|
function: {
|
|
4676
4676
|
name: "trace_code",
|
|
4677
|
-
description:
|
|
4677
|
+
description: 'Trace a symbol through the codebase using LSP. Finds definitions, references, and type definitions up to a configurable depth. The "file" param is just a seed for LSP \u2014 use any file where you saw the symbol, it searches the whole project.',
|
|
4678
4678
|
parameters: {
|
|
4679
4679
|
type: "object",
|
|
4680
4680
|
properties: {
|
|
@@ -4684,7 +4684,7 @@ var traceCodeTool = createTool(
|
|
|
4684
4684
|
},
|
|
4685
4685
|
file: {
|
|
4686
4686
|
type: "string",
|
|
4687
|
-
description: "
|
|
4687
|
+
description: "Seed file for LSP (any file referencing the symbol). Determines language. Not required to be the definition file. Relative to workdir."
|
|
4688
4688
|
},
|
|
4689
4689
|
depth: {
|
|
4690
4690
|
type: "number",
|
|
@@ -5058,4 +5058,4 @@ export {
|
|
|
5058
5058
|
getToolRegistryForAgent,
|
|
5059
5059
|
createToolRegistry
|
|
5060
5060
|
};
|
|
5061
|
-
//# sourceMappingURL=chunk-
|
|
5061
|
+
//# sourceMappingURL=chunk-XFMN7OFO.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-6KFKVGPK.js";
|
|
6
|
+
import "./chunk-XFMN7OFO.js";
|
|
7
7
|
import "./chunk-LBGHZLLH.js";
|
|
8
8
|
import "./chunk-PBGOZMVY.js";
|
|
9
9
|
import "./chunk-VRGRAQDG.js";
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
runAgentTurn,
|
|
43
43
|
runChatTurn
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=orchestrator-
|
|
45
|
+
//# sourceMappingURL=orchestrator-IZ6VSEZT.js.map
|
package/dist/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
5
|
} from "./chunk-JGNAYJJZ.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-XFMN7OFO.js";
|
|
7
7
|
import "./chunk-LBGHZLLH.js";
|
|
8
8
|
import "./chunk-PBGOZMVY.js";
|
|
9
9
|
import "./chunk-VRGRAQDG.js";
|
|
@@ -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-IZ6VSEZT.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-WQYQUIPB.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-NX6O62MR.js";
|
|
5
|
+
import "./chunk-X6PMP7XH.js";
|
|
6
|
+
import "./chunk-6KFKVGPK.js";
|
|
7
|
+
import "./chunk-XFMN7OFO.js";
|
|
8
8
|
import "./chunk-LBGHZLLH.js";
|
|
9
9
|
import "./chunk-PBGOZMVY.js";
|
|
10
10
|
import "./chunk-VRGRAQDG.js";
|
|
@@ -199,4 +199,4 @@ async function runServe(options) {
|
|
|
199
199
|
export {
|
|
200
200
|
runServe
|
|
201
201
|
};
|
|
202
|
-
//# sourceMappingURL=serve-
|
|
202
|
+
//# sourceMappingURL=serve-XP3S4QDS.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-NX6O62MR.js";
|
|
5
|
+
import "../chunk-X6PMP7XH.js";
|
|
6
|
+
import "../chunk-6KFKVGPK.js";
|
|
7
|
+
import "../chunk-XFMN7OFO.js";
|
|
8
8
|
import "../chunk-LBGHZLLH.js";
|
|
9
9
|
import "../chunk-PBGOZMVY.js";
|
|
10
10
|
import "../chunk-VRGRAQDG.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-X6PMP7XH.js";
|
|
5
|
+
import "./chunk-6KFKVGPK.js";
|
|
6
|
+
import "./chunk-XFMN7OFO.js";
|
|
7
7
|
import "./chunk-LBGHZLLH.js";
|
|
8
8
|
import "./chunk-PBGOZMVY.js";
|
|
9
9
|
import "./chunk-VRGRAQDG.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
createWebSocketServer,
|
|
35
35
|
signalMcpReady
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=server-
|
|
37
|
+
//# sourceMappingURL=server-DKCNTFA5.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
setMcpTools,
|
|
13
13
|
stepDoneTool,
|
|
14
14
|
validateToolAction
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XFMN7OFO.js";
|
|
16
16
|
import "./chunk-LBGHZLLH.js";
|
|
17
17
|
import "./chunk-PBGOZMVY.js";
|
|
18
18
|
import "./chunk-VRGRAQDG.js";
|
|
@@ -57,4 +57,4 @@ export {
|
|
|
57
57
|
stepDoneTool,
|
|
58
58
|
validateToolAction
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=tools-
|
|
60
|
+
//# sourceMappingURL=tools-X3QW7SN7.js.map
|