openfox 1.6.73 → 1.6.74
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-HQHEK75L.js → auto-compaction-OW4P2QWQ.js} +2 -2
- package/dist/{chat-handler-NNDQSDFI.js → chat-handler-KYMMXPP6.js} +4 -4
- package/dist/{chunk-PPSXSDMY.js → chunk-CLBUWGUB.js} +2 -2
- package/dist/{chunk-ODUSHSK2.js → chunk-ETIXH35K.js} +13 -3
- package/dist/{chunk-EGIJKK4U.js → chunk-IA4O65CR.js} +2 -2
- package/dist/{chunk-RTOWT3GF.js → chunk-ODOA4RNN.js} +9 -9
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-T2EQZJS5.js → orchestrator-QP4O7MUM.js} +3 -3
- package/dist/package.json +1 -1
- package/dist/{processor-HF5SS6CR.js → processor-23O4HPSS.js} +2 -2
- package/dist/{serve-YCFUOOGT.js → serve-W6CHNSRO.js} +4 -4
- package/dist/server/index.js +3 -3
- package/dist/{tools-5MCH72FH.js → tools-RUAY6EVI.js} +2 -2
- 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-ETIXH35K.js";
|
|
6
6
|
import "./chunk-GQZGIMJO.js";
|
|
7
7
|
import "./chunk-7JPKRM6M.js";
|
|
8
8
|
import "./chunk-RBPOAAIZ.js";
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
performManualContextCompaction,
|
|
25
25
|
resolveCompactionStatsIdentity
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=auto-compaction-
|
|
27
|
+
//# sourceMappingURL=auto-compaction-OW4P2QWQ.js.map
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
} from "./chunk-4CQ7CUQ6.js";
|
|
9
9
|
import {
|
|
10
10
|
runChatTurn
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-IA4O65CR.js";
|
|
12
|
+
import "./chunk-ETIXH35K.js";
|
|
13
13
|
import "./chunk-GQZGIMJO.js";
|
|
14
14
|
import "./chunk-7JPKRM6M.js";
|
|
15
15
|
import "./chunk-RBPOAAIZ.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-OW4P2QWQ.js");
|
|
65
65
|
await maybeAutoCompactContext({
|
|
66
66
|
sessionManager,
|
|
67
67
|
sessionId,
|
|
@@ -170,4 +170,4 @@ export {
|
|
|
170
170
|
startChatSession,
|
|
171
171
|
stopSessionExecution
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=chat-handler-
|
|
173
|
+
//# sourceMappingURL=chat-handler-KYMMXPP6.js.map
|
|
@@ -190,7 +190,7 @@ async function runCli(options) {
|
|
|
190
190
|
if (!configExists) {
|
|
191
191
|
await runNetworkSetup(mode);
|
|
192
192
|
}
|
|
193
|
-
const { runServe } = await import("./serve-
|
|
193
|
+
const { runServe } = await import("./serve-W6CHNSRO.js");
|
|
194
194
|
await runServe({
|
|
195
195
|
mode,
|
|
196
196
|
port: values.port ? parseInt(values.port) : void 0,
|
|
@@ -203,4 +203,4 @@ async function runCli(options) {
|
|
|
203
203
|
export {
|
|
204
204
|
runCli
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-CLBUWGUB.js.map
|
|
@@ -2075,7 +2075,17 @@ Make sure whitespace and indentation match exactly.`
|
|
|
2075
2075
|
newContent: edit.newContent
|
|
2076
2076
|
}))
|
|
2077
2077
|
}));
|
|
2078
|
-
const
|
|
2078
|
+
const normalizedNewString = normalizeToLF(args.new_string);
|
|
2079
|
+
let replacedContent;
|
|
2080
|
+
if (replaceAll) {
|
|
2081
|
+
replacedContent = normalizedContent.replaceAll(normalizedOldString, normalizedNewString);
|
|
2082
|
+
} else {
|
|
2083
|
+
const index = normalizedContent.indexOf(normalizedOldString);
|
|
2084
|
+
if (index === -1) {
|
|
2085
|
+
return helpers.error("old_string not found in file (unexpected)");
|
|
2086
|
+
}
|
|
2087
|
+
replacedContent = normalizedContent.slice(0, index) + normalizedNewString + normalizedContent.slice(index + normalizedOldString.length);
|
|
2088
|
+
}
|
|
2079
2089
|
const newContent = replacedContent.replace(/\n/g, fileLineEnding === "crlf" ? "\r\n" : fileLineEnding === "cr" ? "\r" : "\n");
|
|
2080
2090
|
await writeFile3(fullPath, newContent, "utf-8");
|
|
2081
2091
|
let output = `Successfully replaced ${replaceAll ? occurrences : 1} occurrence(s) in ${args.path}`;
|
|
@@ -3381,7 +3391,7 @@ var callSubAgentTool = {
|
|
|
3381
3391
|
};
|
|
3382
3392
|
}
|
|
3383
3393
|
try {
|
|
3384
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3394
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-RUAY6EVI.js");
|
|
3385
3395
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3386
3396
|
const turnMetrics = new TurnMetrics();
|
|
3387
3397
|
const result = await executeSubAgent({
|
|
@@ -4535,4 +4545,4 @@ export {
|
|
|
4535
4545
|
getToolRegistryForAgent,
|
|
4536
4546
|
createToolRegistry
|
|
4537
4547
|
};
|
|
4538
|
-
//# sourceMappingURL=chunk-
|
|
4548
|
+
//# sourceMappingURL=chunk-ETIXH35K.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
getToolRegistryForAgent,
|
|
14
14
|
loadAllAgentsDefault,
|
|
15
15
|
runTopLevelAgentLoop
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ETIXH35K.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentContextWindowId,
|
|
19
19
|
getEventStore
|
|
@@ -295,4 +295,4 @@ export {
|
|
|
295
295
|
runBuilderTurn,
|
|
296
296
|
runVerifierTurn
|
|
297
297
|
};
|
|
298
|
-
//# sourceMappingURL=chunk-
|
|
298
|
+
//# sourceMappingURL=chunk-IA4O65CR.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createVerifierNudgeConfig,
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IA4O65CR.js";
|
|
6
6
|
import {
|
|
7
7
|
TurnMetrics,
|
|
8
8
|
agentExists,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
setSkillEnabled,
|
|
38
38
|
skillExists,
|
|
39
39
|
spawnShellProcess
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-ETIXH35K.js";
|
|
41
41
|
import {
|
|
42
42
|
getProject
|
|
43
43
|
} from "./chunk-7JPKRM6M.js";
|
|
@@ -5014,7 +5014,7 @@ function createTerminalRoutes() {
|
|
|
5014
5014
|
}
|
|
5015
5015
|
|
|
5016
5016
|
// src/constants.ts
|
|
5017
|
-
var VERSION = "1.6.
|
|
5017
|
+
var VERSION = "1.6.74";
|
|
5018
5018
|
|
|
5019
5019
|
// src/server/index.ts
|
|
5020
5020
|
var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
|
|
@@ -5317,7 +5317,7 @@ async function createServerHandle(config) {
|
|
|
5317
5317
|
if (!callId || approved === void 0) {
|
|
5318
5318
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
5319
5319
|
}
|
|
5320
|
-
const { providePathConfirmation } = await import("./tools-
|
|
5320
|
+
const { providePathConfirmation } = await import("./tools-RUAY6EVI.js");
|
|
5321
5321
|
const result = providePathConfirmation(callId, approved, alwaysAllow);
|
|
5322
5322
|
if (!result.found) {
|
|
5323
5323
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
@@ -5341,7 +5341,7 @@ async function createServerHandle(config) {
|
|
|
5341
5341
|
if (!callId || !answer) {
|
|
5342
5342
|
return res.status(400).json({ error: "callId and answer are required" });
|
|
5343
5343
|
}
|
|
5344
|
-
const { provideAnswer: provideAnswer2 } = await import("./tools-
|
|
5344
|
+
const { provideAnswer: provideAnswer2 } = await import("./tools-RUAY6EVI.js");
|
|
5345
5345
|
const found = provideAnswer2(callId, answer);
|
|
5346
5346
|
if (!found) {
|
|
5347
5347
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -5377,8 +5377,8 @@ async function createServerHandle(config) {
|
|
|
5377
5377
|
if (!session) {
|
|
5378
5378
|
return res.status(404).json({ error: "Session not found" });
|
|
5379
5379
|
}
|
|
5380
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
5381
|
-
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-
|
|
5380
|
+
const { stopSessionExecution } = await import("./chat-handler-KYMMXPP6.js");
|
|
5381
|
+
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-RUAY6EVI.js");
|
|
5382
5382
|
stopSessionExecution(sessionId, sessionManager);
|
|
5383
5383
|
abortSession(sessionId);
|
|
5384
5384
|
cancelQuestionsForSession(sessionId, "Session stopped by user");
|
|
@@ -5852,7 +5852,7 @@ async function createServerHandle(config) {
|
|
|
5852
5852
|
providerManager
|
|
5853
5853
|
);
|
|
5854
5854
|
const wss = wssExports.wss;
|
|
5855
|
-
const { QueueProcessor } = await import("./processor-
|
|
5855
|
+
const { QueueProcessor } = await import("./processor-23O4HPSS.js");
|
|
5856
5856
|
const queueProcessor = new QueueProcessor({
|
|
5857
5857
|
sessionManager,
|
|
5858
5858
|
providerManager,
|
|
@@ -5927,4 +5927,4 @@ export {
|
|
|
5927
5927
|
createServerHandle,
|
|
5928
5928
|
createServer
|
|
5929
5929
|
};
|
|
5930
|
-
//# sourceMappingURL=chunk-
|
|
5930
|
+
//# sourceMappingURL=chunk-ODOA4RNN.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-IA4O65CR.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-ETIXH35K.js";
|
|
15
15
|
import "./chunk-GQZGIMJO.js";
|
|
16
16
|
import "./chunk-7JPKRM6M.js";
|
|
17
17
|
import "./chunk-RBPOAAIZ.js";
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
runChatTurn,
|
|
41
41
|
runVerifierTurn
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=orchestrator-
|
|
43
|
+
//# sourceMappingURL=orchestrator-QP4O7MUM.js.map
|
package/dist/package.json
CHANGED
|
@@ -173,7 +173,7 @@ var QueueProcessor = class {
|
|
|
173
173
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
174
174
|
model: llmClient.getModel()
|
|
175
175
|
};
|
|
176
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
176
|
+
const { runChatTurn } = await import("./orchestrator-QP4O7MUM.js");
|
|
177
177
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
178
178
|
sessionManager,
|
|
179
179
|
sessionId,
|
|
@@ -210,4 +210,4 @@ var QueueProcessor = class {
|
|
|
210
210
|
export {
|
|
211
211
|
QueueProcessor
|
|
212
212
|
};
|
|
213
|
-
//# sourceMappingURL=processor-
|
|
213
|
+
//# sourceMappingURL=processor-23O4HPSS.js.map
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
createServer
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ODOA4RNN.js";
|
|
10
|
+
import "./chunk-IA4O65CR.js";
|
|
11
|
+
import "./chunk-ETIXH35K.js";
|
|
12
12
|
import "./chunk-GQZGIMJO.js";
|
|
13
13
|
import "./chunk-7JPKRM6M.js";
|
|
14
14
|
import "./chunk-RBPOAAIZ.js";
|
|
@@ -188,4 +188,4 @@ async function runServe(options) {
|
|
|
188
188
|
export {
|
|
189
189
|
runServe
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=serve-
|
|
191
|
+
//# sourceMappingURL=serve-W6CHNSRO.js.map
|
package/dist/server/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-ODOA4RNN.js";
|
|
5
|
+
import "../chunk-IA4O65CR.js";
|
|
6
|
+
import "../chunk-ETIXH35K.js";
|
|
7
7
|
import "../chunk-GQZGIMJO.js";
|
|
8
8
|
import "../chunk-7JPKRM6M.js";
|
|
9
9
|
import "../chunk-RBPOAAIZ.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ETIXH35K.js";
|
|
15
15
|
import "./chunk-GQZGIMJO.js";
|
|
16
16
|
import "./chunk-7JPKRM6M.js";
|
|
17
17
|
import "./chunk-RBPOAAIZ.js";
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
stepDoneTool,
|
|
50
50
|
validateToolAction
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=tools-
|
|
52
|
+
//# sourceMappingURL=tools-RUAY6EVI.js.map
|