openfox 1.6.9 → 1.6.11
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/{auto-compaction-CJ5O6EZP.js → auto-compaction-TO5ZFBHJ.js} +2 -2
- package/dist/{chat-handler-7XFQO37O.js → chat-handler-LMJRCJP6.js} +4 -4
- package/dist/{chunk-MGRCKRFZ.js → chunk-4E5UDFSA.js} +9 -9
- package/dist/{chunk-4FMMIVFD.js → chunk-BA6N4ODY.js} +2 -2
- package/dist/{chunk-SFV5BBVO.js → chunk-E5HHQZBT.js} +7 -15
- package/dist/{chunk-XD22UPLZ.js → chunk-MUS7CHXP.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-AE2GIX57.js → orchestrator-YXTDPRGR.js} +3 -3
- package/dist/package.json +1 -1
- package/dist/{processor-IONLVZQM.js → processor-3EZXTCQD.js} +2 -2
- package/dist/{serve-6K4AKCQP.js → serve-DSKZ6UVM.js} +4 -4
- package/dist/server/index.js +3 -3
- package/dist/{tools-VL6G73SB.js → tools-2ZZVCIIL.js} +2 -2
- package/dist/web/assets/{index-BJ3JBAmx.js → index-Cp8gfbgP.js} +9 -9
- package/dist/web/assets/{index-DU5iwTlK.css → index-MCWDS5UQ.css} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
maybeAutoCompactContext,
|
|
3
3
|
performManualContextCompaction,
|
|
4
4
|
resolveCompactionStatsIdentity
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E5HHQZBT.js";
|
|
6
6
|
import "./chunk-NBU6KIOD.js";
|
|
7
7
|
import "./chunk-574HZVLE.js";
|
|
8
8
|
import "./chunk-XFXOSPYH.js";
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
performManualContextCompaction,
|
|
23
23
|
resolveCompactionStatsIdentity
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=auto-compaction-
|
|
25
|
+
//# sourceMappingURL=auto-compaction-TO5ZFBHJ.js.map
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-QDEKU5RL.js";
|
|
5
5
|
import {
|
|
6
6
|
runChatTurn
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-BA6N4ODY.js";
|
|
8
|
+
import "./chunk-E5HHQZBT.js";
|
|
9
9
|
import "./chunk-NBU6KIOD.js";
|
|
10
10
|
import "./chunk-574HZVLE.js";
|
|
11
11
|
import "./chunk-XFXOSPYH.js";
|
|
@@ -61,7 +61,7 @@ async function startChatSession(sessionId, content, deps, options) {
|
|
|
61
61
|
sessionManager.setRunning(sessionId, true);
|
|
62
62
|
broadcastForSession(sessionId, createSessionRunningMessage(true));
|
|
63
63
|
try {
|
|
64
|
-
const { maybeAutoCompactContext } = await import("./auto-compaction-
|
|
64
|
+
const { maybeAutoCompactContext } = await import("./auto-compaction-TO5ZFBHJ.js");
|
|
65
65
|
await maybeAutoCompactContext({
|
|
66
66
|
sessionManager,
|
|
67
67
|
sessionId,
|
|
@@ -200,4 +200,4 @@ export {
|
|
|
200
200
|
startChatSession,
|
|
201
201
|
stopSessionExecution
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=chat-handler-
|
|
203
|
+
//# sourceMappingURL=chat-handler-LMJRCJP6.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
createVerifierNudgeConfig,
|
|
7
7
|
runBuilderTurn,
|
|
8
8
|
runChatTurn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BA6N4ODY.js";
|
|
10
10
|
import {
|
|
11
11
|
TurnMetrics,
|
|
12
12
|
agentExists,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
saveSkill,
|
|
45
45
|
setSkillEnabled,
|
|
46
46
|
skillExists
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-E5HHQZBT.js";
|
|
48
48
|
import {
|
|
49
49
|
getPathSeparator,
|
|
50
50
|
getPlatformShell,
|
|
@@ -5544,7 +5544,7 @@ function createTerminalRoutes() {
|
|
|
5544
5544
|
}
|
|
5545
5545
|
|
|
5546
5546
|
// src/constants.ts
|
|
5547
|
-
var VERSION = "1.6.
|
|
5547
|
+
var VERSION = "1.6.11";
|
|
5548
5548
|
|
|
5549
5549
|
// src/server/index.ts
|
|
5550
5550
|
var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
|
|
@@ -5850,7 +5850,7 @@ async function createServerHandle(config) {
|
|
|
5850
5850
|
if (!callId || approved === void 0) {
|
|
5851
5851
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
5852
5852
|
}
|
|
5853
|
-
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-
|
|
5853
|
+
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-2ZZVCIIL.js");
|
|
5854
5854
|
const result = providePathConfirmation2(callId, approved, alwaysAllow);
|
|
5855
5855
|
if (!result.found) {
|
|
5856
5856
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
@@ -5875,7 +5875,7 @@ async function createServerHandle(config) {
|
|
|
5875
5875
|
if (!callId || !answer) {
|
|
5876
5876
|
return res.status(400).json({ error: "callId and answer are required" });
|
|
5877
5877
|
}
|
|
5878
|
-
const { provideAnswer: provideAnswer2 } = await import("./tools-
|
|
5878
|
+
const { provideAnswer: provideAnswer2 } = await import("./tools-2ZZVCIIL.js");
|
|
5879
5879
|
const found = provideAnswer2(callId, answer);
|
|
5880
5880
|
if (!found) {
|
|
5881
5881
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -5911,8 +5911,8 @@ async function createServerHandle(config) {
|
|
|
5911
5911
|
if (!session) {
|
|
5912
5912
|
return res.status(404).json({ error: "Session not found" });
|
|
5913
5913
|
}
|
|
5914
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
5915
|
-
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-
|
|
5914
|
+
const { stopSessionExecution } = await import("./chat-handler-LMJRCJP6.js");
|
|
5915
|
+
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-2ZZVCIIL.js");
|
|
5916
5916
|
stopSessionExecution(sessionId, sessionManager);
|
|
5917
5917
|
abortSession(sessionId);
|
|
5918
5918
|
cancelQuestionsForSession2(sessionId, "Session stopped by user");
|
|
@@ -6360,7 +6360,7 @@ async function createServerHandle(config) {
|
|
|
6360
6360
|
providerManager
|
|
6361
6361
|
);
|
|
6362
6362
|
const wss = wssExports.wss;
|
|
6363
|
-
const { QueueProcessor } = await import("./processor-
|
|
6363
|
+
const { QueueProcessor } = await import("./processor-3EZXTCQD.js");
|
|
6364
6364
|
const queueProcessor = new QueueProcessor({
|
|
6365
6365
|
sessionManager,
|
|
6366
6366
|
providerManager,
|
|
@@ -6433,4 +6433,4 @@ export {
|
|
|
6433
6433
|
createServerHandle,
|
|
6434
6434
|
createServer
|
|
6435
6435
|
};
|
|
6436
|
-
//# sourceMappingURL=chunk-
|
|
6436
|
+
//# sourceMappingURL=chunk-4E5UDFSA.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
getToolRegistryForAgent,
|
|
14
14
|
loadAllAgentsDefault,
|
|
15
15
|
runTopLevelAgentLoop
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E5HHQZBT.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentContextWindowId,
|
|
19
19
|
getEventStore
|
|
@@ -311,4 +311,4 @@ export {
|
|
|
311
311
|
runBuilderTurn,
|
|
312
312
|
runVerifierTurn
|
|
313
313
|
};
|
|
314
|
-
//# sourceMappingURL=chunk-
|
|
314
|
+
//# sourceMappingURL=chunk-BA6N4ODY.js.map
|
|
@@ -1916,15 +1916,6 @@ function detectLineEnding(content) {
|
|
|
1916
1916
|
function normalizeToLF(content) {
|
|
1917
1917
|
return content.replace(/\r\n/g, "\n").replace(/\r/g, "\n");
|
|
1918
1918
|
}
|
|
1919
|
-
function restoreOriginalLineEndings(content, fileLineEnding) {
|
|
1920
|
-
if (fileLineEnding === "crlf") {
|
|
1921
|
-
return content.replace(/\n/g, "\r\n");
|
|
1922
|
-
}
|
|
1923
|
-
if (fileLineEnding === "cr") {
|
|
1924
|
-
return content.replace(/\n/g, "\r");
|
|
1925
|
-
}
|
|
1926
|
-
return content;
|
|
1927
|
-
}
|
|
1928
1919
|
var editFileTool = createTool(
|
|
1929
1920
|
"edit_file",
|
|
1930
1921
|
{
|
|
@@ -1973,7 +1964,8 @@ var editFileTool = createTool(
|
|
|
1973
1964
|
}
|
|
1974
1965
|
const fileLineEnding = detectLineEnding(content);
|
|
1975
1966
|
const normalizedContent = normalizeToLF(content);
|
|
1976
|
-
const
|
|
1967
|
+
const normalizedOldString = normalizeToLF(args.old_string);
|
|
1968
|
+
const occurrences = normalizedContent.split(normalizedOldString).length - 1;
|
|
1977
1969
|
if (occurrences === 0) {
|
|
1978
1970
|
const preview = args.old_string.length > 100 ? args.old_string.slice(0, 100) + "..." : args.old_string;
|
|
1979
1971
|
return helpers.error(
|
|
@@ -1990,7 +1982,7 @@ Make sure whitespace and indentation match exactly.`
|
|
|
1990
1982
|
`Found ${occurrences} matches for old_string. Use replace_all: true to replace all, or provide more context to make the match unique.`
|
|
1991
1983
|
);
|
|
1992
1984
|
}
|
|
1993
|
-
const contextResult = extractEditContext(normalizedContent,
|
|
1985
|
+
const contextResult = extractEditContext(normalizedContent, normalizedOldString, normalizeToLF(args.new_string), replaceAll);
|
|
1994
1986
|
const editContextRegions = contextResult.regions.map((region) => ({
|
|
1995
1987
|
beforeContext: region.beforeContext.map((line) => ({
|
|
1996
1988
|
lineNumber: line.lineNumber,
|
|
@@ -2011,8 +2003,8 @@ Make sure whitespace and indentation match exactly.`
|
|
|
2011
2003
|
newContent: edit.newContent
|
|
2012
2004
|
}))
|
|
2013
2005
|
}));
|
|
2014
|
-
const replacedContent = replaceAll ? normalizedContent.replaceAll(
|
|
2015
|
-
const newContent =
|
|
2006
|
+
const replacedContent = replaceAll ? normalizedContent.replaceAll(normalizedOldString, args.new_string) : normalizedContent.replace(normalizedOldString, args.new_string);
|
|
2007
|
+
const newContent = replacedContent.replace(/\n/g, fileLineEnding === "crlf" ? "\r\n" : fileLineEnding === "cr" ? "\r" : "\n");
|
|
2016
2008
|
await writeFile3(fullPath, newContent, "utf-8");
|
|
2017
2009
|
let output = `Successfully replaced ${replaceAll ? occurrences : 1} occurrence(s) in ${args.path}`;
|
|
2018
2010
|
let diagnostics = [];
|
|
@@ -3672,7 +3664,7 @@ var callSubAgentTool = {
|
|
|
3672
3664
|
};
|
|
3673
3665
|
}
|
|
3674
3666
|
try {
|
|
3675
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3667
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-2ZZVCIIL.js");
|
|
3676
3668
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3677
3669
|
const turnMetrics = new TurnMetrics();
|
|
3678
3670
|
const result = await executeSubAgent({
|
|
@@ -4805,4 +4797,4 @@ export {
|
|
|
4805
4797
|
getToolRegistryForAgent,
|
|
4806
4798
|
createToolRegistry
|
|
4807
4799
|
};
|
|
4808
|
-
//# sourceMappingURL=chunk-
|
|
4800
|
+
//# sourceMappingURL=chunk-E5HHQZBT.js.map
|
|
@@ -154,7 +154,7 @@ async function runCli(options) {
|
|
|
154
154
|
if (!configExists) {
|
|
155
155
|
await runNetworkSetup(mode);
|
|
156
156
|
}
|
|
157
|
-
const { runServe } = await import("./serve-
|
|
157
|
+
const { runServe } = await import("./serve-DSKZ6UVM.js");
|
|
158
158
|
await runServe({
|
|
159
159
|
mode,
|
|
160
160
|
port: values.port ? parseInt(values.port) : void 0,
|
|
@@ -167,4 +167,4 @@ async function runCli(options) {
|
|
|
167
167
|
export {
|
|
168
168
|
runCli
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-MUS7CHXP.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn,
|
|
5
5
|
runVerifierTurn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BA6N4ODY.js";
|
|
7
7
|
import {
|
|
8
8
|
TurnMetrics,
|
|
9
9
|
createChatDoneEvent,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createMessageStartEvent,
|
|
12
12
|
createToolCallEvent,
|
|
13
13
|
createToolResultEvent
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-E5HHQZBT.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-XFXOSPYH.js";
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
runChatTurn,
|
|
39
39
|
runVerifierTurn
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=orchestrator-
|
|
41
|
+
//# sourceMappingURL=orchestrator-YXTDPRGR.js.map
|
package/dist/package.json
CHANGED
|
@@ -188,7 +188,7 @@ var QueueProcessor = class {
|
|
|
188
188
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
189
189
|
model: llmClient.getModel()
|
|
190
190
|
};
|
|
191
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
191
|
+
const { runChatTurn } = await import("./orchestrator-YXTDPRGR.js");
|
|
192
192
|
runChatTurn({
|
|
193
193
|
sessionManager,
|
|
194
194
|
sessionId,
|
|
@@ -233,4 +233,4 @@ var QueueProcessor = class {
|
|
|
233
233
|
export {
|
|
234
234
|
QueueProcessor
|
|
235
235
|
};
|
|
236
|
-
//# sourceMappingURL=processor-
|
|
236
|
+
//# sourceMappingURL=processor-3EZXTCQD.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
createServer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4E5UDFSA.js";
|
|
10
10
|
import "./chunk-QDEKU5RL.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-BA6N4ODY.js";
|
|
12
|
+
import "./chunk-E5HHQZBT.js";
|
|
13
13
|
import "./chunk-NBU6KIOD.js";
|
|
14
14
|
import "./chunk-574HZVLE.js";
|
|
15
15
|
import "./chunk-GHQIXIXJ.js";
|
|
@@ -188,4 +188,4 @@ async function runServe(options) {
|
|
|
188
188
|
export {
|
|
189
189
|
runServe
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=serve-
|
|
191
|
+
//# sourceMappingURL=serve-DSKZ6UVM.js.map
|
package/dist/server/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-4E5UDFSA.js";
|
|
5
5
|
import "../chunk-QDEKU5RL.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-BA6N4ODY.js";
|
|
7
|
+
import "../chunk-E5HHQZBT.js";
|
|
8
8
|
import "../chunk-NBU6KIOD.js";
|
|
9
9
|
import "../chunk-574HZVLE.js";
|
|
10
10
|
import "../chunk-GHQIXIXJ.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-E5HHQZBT.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-XFXOSPYH.js";
|
|
@@ -47,4 +47,4 @@ export {
|
|
|
47
47
|
stepDoneTool,
|
|
48
48
|
validateToolAction
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=tools-
|
|
50
|
+
//# sourceMappingURL=tools-2ZZVCIIL.js.map
|