openfox 1.6.54 → 1.6.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/{auto-compaction-JJEWRJWV.js → auto-compaction-A46XMA7L.js} +2 -2
- package/dist/{chat-handler-KVS36WQL.js → chat-handler-6PF6KWKZ.js} +4 -4
- package/dist/{chunk-2W3U4KL3.js → chunk-B6FQAD6K.js} +11 -11
- package/dist/{chunk-Y4UE4ZRG.js → chunk-FQ6ZWZK3.js} +15 -6
- package/dist/{chunk-RRNFFFN4.js → chunk-USACI2IB.js} +2 -2
- package/dist/{chunk-ERSDTWU2.js → chunk-UXETEQJA.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-TA4MAODB.js → orchestrator-FM5SMFJG.js} +3 -3
- package/dist/package.json +1 -1
- package/dist/{processor-R3FG6O6H.js → processor-RR7AR2S5.js} +2 -2
- package/dist/{serve-HJQ7FZ3R.js → serve-KE4JZBUO.js} +4 -4
- package/dist/server/index.js +3 -3
- package/dist/{tools-T2FCQ5FE.js → tools-KYVZUR7N.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-FQ6ZWZK3.js";
|
|
6
6
|
import "./chunk-NBU6KIOD.js";
|
|
7
7
|
import "./chunk-574HZVLE.js";
|
|
8
8
|
import "./chunk-7JPKRM6M.js";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
performManualContextCompaction,
|
|
24
24
|
resolveCompactionStatsIdentity
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=auto-compaction-
|
|
26
|
+
//# sourceMappingURL=auto-compaction-A46XMA7L.js.map
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
} from "./chunk-GIPCUPTT.js";
|
|
9
9
|
import {
|
|
10
10
|
runChatTurn
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-USACI2IB.js";
|
|
12
|
+
import "./chunk-FQ6ZWZK3.js";
|
|
13
13
|
import "./chunk-NBU6KIOD.js";
|
|
14
14
|
import "./chunk-574HZVLE.js";
|
|
15
15
|
import "./chunk-7JPKRM6M.js";
|
|
@@ -60,7 +60,7 @@ async function startChatSession(sessionId, content, deps, options) {
|
|
|
60
60
|
sessionManager.setRunning(sessionId, true);
|
|
61
61
|
broadcastForSession(sessionId, createSessionRunningMessage(true));
|
|
62
62
|
try {
|
|
63
|
-
const { maybeAutoCompactContext } = await import("./auto-compaction-
|
|
63
|
+
const { maybeAutoCompactContext } = await import("./auto-compaction-A46XMA7L.js");
|
|
64
64
|
await maybeAutoCompactContext({
|
|
65
65
|
sessionManager,
|
|
66
66
|
sessionId,
|
|
@@ -169,4 +169,4 @@ export {
|
|
|
169
169
|
startChatSession,
|
|
170
170
|
stopSessionExecution
|
|
171
171
|
};
|
|
172
|
-
//# sourceMappingURL=chat-handler-
|
|
172
|
+
//# sourceMappingURL=chat-handler-6PF6KWKZ.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createVerifierNudgeConfig,
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-USACI2IB.js";
|
|
6
6
|
import {
|
|
7
7
|
TurnMetrics,
|
|
8
8
|
agentExists,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
setSkillEnabled,
|
|
39
39
|
skillExists,
|
|
40
40
|
spawnShellProcess
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-FQ6ZWZK3.js";
|
|
42
42
|
import {
|
|
43
43
|
getPathSeparator,
|
|
44
44
|
getPlatformShell,
|
|
@@ -5001,12 +5001,12 @@ function createDevServerRoutes() {
|
|
|
5001
5001
|
router.post("/config", async (req, res) => {
|
|
5002
5002
|
const workdir = req.query["workdir"];
|
|
5003
5003
|
if (!workdir) return res.status(400).json({ error: "workdir required" });
|
|
5004
|
-
const { command, url, hotReload } = req.body;
|
|
5004
|
+
const { command, url, hotReload, disableInspect } = req.body;
|
|
5005
5005
|
if (!command || !url) {
|
|
5006
5006
|
return res.status(400).json({ error: "command and url are required" });
|
|
5007
5007
|
}
|
|
5008
5008
|
try {
|
|
5009
|
-
const config = { command, url, hotReload: hotReload ?? false };
|
|
5009
|
+
const config = { command, url, hotReload: hotReload ?? false, disableInspect: disableInspect ?? false };
|
|
5010
5010
|
await devServerManager.saveConfig(workdir, config);
|
|
5011
5011
|
res.json({ config });
|
|
5012
5012
|
} catch (err) {
|
|
@@ -5058,7 +5058,7 @@ function createTerminalRoutes() {
|
|
|
5058
5058
|
}
|
|
5059
5059
|
|
|
5060
5060
|
// src/constants.ts
|
|
5061
|
-
var VERSION = "1.6.
|
|
5061
|
+
var VERSION = "1.6.55";
|
|
5062
5062
|
|
|
5063
5063
|
// src/server/index.ts
|
|
5064
5064
|
var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
|
|
@@ -5361,7 +5361,7 @@ async function createServerHandle(config) {
|
|
|
5361
5361
|
if (!callId || approved === void 0) {
|
|
5362
5362
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
5363
5363
|
}
|
|
5364
|
-
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-
|
|
5364
|
+
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-KYVZUR7N.js");
|
|
5365
5365
|
const result = providePathConfirmation2(callId, approved, alwaysAllow);
|
|
5366
5366
|
if (!result.found) {
|
|
5367
5367
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
@@ -5386,7 +5386,7 @@ async function createServerHandle(config) {
|
|
|
5386
5386
|
if (!callId || !answer) {
|
|
5387
5387
|
return res.status(400).json({ error: "callId and answer are required" });
|
|
5388
5388
|
}
|
|
5389
|
-
const { provideAnswer: provideAnswer2 } = await import("./tools-
|
|
5389
|
+
const { provideAnswer: provideAnswer2 } = await import("./tools-KYVZUR7N.js");
|
|
5390
5390
|
const found = provideAnswer2(callId, answer);
|
|
5391
5391
|
if (!found) {
|
|
5392
5392
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -5422,8 +5422,8 @@ async function createServerHandle(config) {
|
|
|
5422
5422
|
if (!session) {
|
|
5423
5423
|
return res.status(404).json({ error: "Session not found" });
|
|
5424
5424
|
}
|
|
5425
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
5426
|
-
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-
|
|
5425
|
+
const { stopSessionExecution } = await import("./chat-handler-6PF6KWKZ.js");
|
|
5426
|
+
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-KYVZUR7N.js");
|
|
5427
5427
|
stopSessionExecution(sessionId, sessionManager);
|
|
5428
5428
|
abortSession(sessionId);
|
|
5429
5429
|
cancelQuestionsForSession2(sessionId, "Session stopped by user");
|
|
@@ -5882,7 +5882,7 @@ async function createServerHandle(config) {
|
|
|
5882
5882
|
providerManager
|
|
5883
5883
|
);
|
|
5884
5884
|
const wss = wssExports.wss;
|
|
5885
|
-
const { QueueProcessor } = await import("./processor-
|
|
5885
|
+
const { QueueProcessor } = await import("./processor-RR7AR2S5.js");
|
|
5886
5886
|
const queueProcessor = new QueueProcessor({
|
|
5887
5887
|
sessionManager,
|
|
5888
5888
|
providerManager,
|
|
@@ -5955,4 +5955,4 @@ export {
|
|
|
5955
5955
|
createServerHandle,
|
|
5956
5956
|
createServer
|
|
5957
5957
|
};
|
|
5958
|
-
//# sourceMappingURL=chunk-
|
|
5958
|
+
//# sourceMappingURL=chunk-B6FQAD6K.js.map
|
|
@@ -3380,7 +3380,7 @@ var callSubAgentTool = {
|
|
|
3380
3380
|
};
|
|
3381
3381
|
}
|
|
3382
3382
|
try {
|
|
3383
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3383
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-KYVZUR7N.js");
|
|
3384
3384
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3385
3385
|
const turnMetrics = new TurnMetrics();
|
|
3386
3386
|
const result = await executeSubAgent({
|
|
@@ -3717,13 +3717,21 @@ ${annotation || "(none)"}`;
|
|
|
3717
3717
|
if (req.url === "/__inspect__.js") {
|
|
3718
3718
|
import("fs/promises").then(async ({ readFile: readFile8 }) => {
|
|
3719
3719
|
const dir = import.meta.dirname ?? __dirname;
|
|
3720
|
+
const devPath = `${dir}/../public/__inspect__.js`;
|
|
3721
|
+
const prodPath = `${dir}/server/public/__inspect__.js`;
|
|
3720
3722
|
try {
|
|
3721
|
-
const content = await readFile8(
|
|
3723
|
+
const content = await readFile8(devPath, "utf-8");
|
|
3722
3724
|
res.writeHead(200, { "Content-Type": "application/javascript" });
|
|
3723
3725
|
res.end(content);
|
|
3724
3726
|
} catch {
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
+
try {
|
|
3728
|
+
const content = await readFile8(prodPath, "utf-8");
|
|
3729
|
+
res.writeHead(200, { "Content-Type": "application/javascript" });
|
|
3730
|
+
res.end(content);
|
|
3731
|
+
} catch {
|
|
3732
|
+
res.writeHead(404);
|
|
3733
|
+
res.end("Not found");
|
|
3734
|
+
}
|
|
3727
3735
|
}
|
|
3728
3736
|
});
|
|
3729
3737
|
return;
|
|
@@ -4534,7 +4542,8 @@ async function performContextCompaction(options) {
|
|
|
4534
4542
|
toolChoice: "none",
|
|
4535
4543
|
disableThinking: true,
|
|
4536
4544
|
...instructions ? { customInstructions: instructions } : {},
|
|
4537
|
-
...skills.length > 0 ? { skills } : {}
|
|
4545
|
+
...skills.length > 0 ? { skills } : {},
|
|
4546
|
+
modelName: options.llmClient.getModel()
|
|
4538
4547
|
});
|
|
4539
4548
|
const compactionReminder = `<system-reminder>
|
|
4540
4549
|
${COMPACTION_PROMPT}
|
|
@@ -4670,4 +4679,4 @@ export {
|
|
|
4670
4679
|
getToolRegistryForAgent,
|
|
4671
4680
|
createToolRegistry
|
|
4672
4681
|
};
|
|
4673
|
-
//# sourceMappingURL=chunk-
|
|
4682
|
+
//# sourceMappingURL=chunk-FQ6ZWZK3.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
getToolRegistryForAgent,
|
|
14
14
|
loadAllAgentsDefault,
|
|
15
15
|
runTopLevelAgentLoop
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FQ6ZWZK3.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentContextWindowId,
|
|
19
19
|
getEventStore
|
|
@@ -293,4 +293,4 @@ export {
|
|
|
293
293
|
runBuilderTurn,
|
|
294
294
|
runVerifierTurn
|
|
295
295
|
};
|
|
296
|
-
//# sourceMappingURL=chunk-
|
|
296
|
+
//# sourceMappingURL=chunk-USACI2IB.js.map
|
|
@@ -179,7 +179,7 @@ async function runCli(options) {
|
|
|
179
179
|
if (!configExists) {
|
|
180
180
|
await runNetworkSetup(mode);
|
|
181
181
|
}
|
|
182
|
-
const { runServe } = await import("./serve-
|
|
182
|
+
const { runServe } = await import("./serve-KE4JZBUO.js");
|
|
183
183
|
await runServe({
|
|
184
184
|
mode,
|
|
185
185
|
port: values.port ? parseInt(values.port) : void 0,
|
|
@@ -192,4 +192,4 @@ async function runCli(options) {
|
|
|
192
192
|
export {
|
|
193
193
|
runCli
|
|
194
194
|
};
|
|
195
|
-
//# sourceMappingURL=chunk-
|
|
195
|
+
//# sourceMappingURL=chunk-UXETEQJA.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-USACI2IB.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-FQ6ZWZK3.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-7JPKRM6M.js";
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
runChatTurn,
|
|
40
40
|
runVerifierTurn
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=orchestrator-
|
|
42
|
+
//# sourceMappingURL=orchestrator-FM5SMFJG.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-FM5SMFJG.js");
|
|
177
177
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
178
178
|
sessionManager,
|
|
179
179
|
sessionId,
|
|
@@ -206,4 +206,4 @@ var QueueProcessor = class {
|
|
|
206
206
|
export {
|
|
207
207
|
QueueProcessor
|
|
208
208
|
};
|
|
209
|
-
//# sourceMappingURL=processor-
|
|
209
|
+
//# sourceMappingURL=processor-RR7AR2S5.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-B6FQAD6K.js";
|
|
10
|
+
import "./chunk-USACI2IB.js";
|
|
11
|
+
import "./chunk-FQ6ZWZK3.js";
|
|
12
12
|
import "./chunk-NBU6KIOD.js";
|
|
13
13
|
import "./chunk-574HZVLE.js";
|
|
14
14
|
import "./chunk-7JPKRM6M.js";
|
|
@@ -187,4 +187,4 @@ async function runServe(options) {
|
|
|
187
187
|
export {
|
|
188
188
|
runServe
|
|
189
189
|
};
|
|
190
|
-
//# sourceMappingURL=serve-
|
|
190
|
+
//# sourceMappingURL=serve-KE4JZBUO.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-B6FQAD6K.js";
|
|
5
|
+
import "../chunk-USACI2IB.js";
|
|
6
|
+
import "../chunk-FQ6ZWZK3.js";
|
|
7
7
|
import "../chunk-NBU6KIOD.js";
|
|
8
8
|
import "../chunk-574HZVLE.js";
|
|
9
9
|
import "../chunk-7JPKRM6M.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FQ6ZWZK3.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-7JPKRM6M.js";
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
stepDoneTool,
|
|
49
49
|
validateToolAction
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=tools-
|
|
51
|
+
//# sourceMappingURL=tools-KYVZUR7N.js.map
|