openfox 1.6.34 → 1.6.36
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-7LK3QGPI.js → auto-compaction-CQ66MD6K.js} +2 -2
- package/dist/{chat-handler-ZU74RXED.js → chat-handler-EJR4GKYO.js} +4 -4
- package/dist/{chunk-4O3C2JMB.js → chunk-26PIZX2A.js} +15 -11
- package/dist/{chunk-XV3QONGQ.js → chunk-6JYCWE5P.js} +9 -9
- package/dist/{chunk-UZ4B76EB.js → chunk-TKL65AGO.js} +2 -2
- package/dist/{chunk-BOEXJCOD.js → chunk-VFHCB5MC.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-OE7WFEW6.js → orchestrator-PCWZF3E5.js} +3 -3
- package/dist/package.json +1 -1
- package/dist/{processor-GAOK7TPI.js → processor-7L64YPQC.js} +2 -2
- package/dist/{serve-6OXPB3M7.js → serve-OM263UOA.js} +4 -4
- package/dist/server/index.js +3 -3
- package/dist/{tools-CSV7G554.js → tools-25TQ5NQY.js} +2 -2
- package/dist/web/assets/{index-BxGLv0sd.js → index-BOmvIO84.js} +3 -3
- package/dist/web/assets/{index-BNzGnHOk.css → index-DTKU-xoU.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-26PIZX2A.js";
|
|
6
6
|
import "./chunk-NBU6KIOD.js";
|
|
7
7
|
import "./chunk-574HZVLE.js";
|
|
8
8
|
import "./chunk-D4ZLSV6P.js";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
performManualContextCompaction,
|
|
24
24
|
resolveCompactionStatsIdentity
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=auto-compaction-
|
|
26
|
+
//# sourceMappingURL=auto-compaction-CQ66MD6K.js.map
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
} from "./chunk-AV45GQ7B.js";
|
|
11
11
|
import {
|
|
12
12
|
runChatTurn
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-VFHCB5MC.js";
|
|
14
|
+
import "./chunk-26PIZX2A.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-D4ZLSV6P.js";
|
|
@@ -62,7 +62,7 @@ async function startChatSession(sessionId, content, deps, options) {
|
|
|
62
62
|
sessionManager.setRunning(sessionId, true);
|
|
63
63
|
broadcastForSession(sessionId, createSessionRunningMessage(true));
|
|
64
64
|
try {
|
|
65
|
-
const { maybeAutoCompactContext } = await import("./auto-compaction-
|
|
65
|
+
const { maybeAutoCompactContext } = await import("./auto-compaction-CQ66MD6K.js");
|
|
66
66
|
await maybeAutoCompactContext({
|
|
67
67
|
sessionManager,
|
|
68
68
|
sessionId,
|
|
@@ -171,4 +171,4 @@ export {
|
|
|
171
171
|
startChatSession,
|
|
172
172
|
stopSessionExecution
|
|
173
173
|
};
|
|
174
|
-
//# sourceMappingURL=chat-handler-
|
|
174
|
+
//# sourceMappingURL=chat-handler-EJR4GKYO.js.map
|
|
@@ -366,16 +366,20 @@ ${agentDef.prompt}${toolPermissions}
|
|
|
366
366
|
}
|
|
367
367
|
var BUILDER_KICKOFF_PROMPT = (criteriaCount) => `Implement the task and make sure you fulfil the ${criteriaCount} criteria.`;
|
|
368
368
|
var VERIFIER_KICKOFF_PROMPT = 'Verify each criterion marked [NEEDS VERIFICATION]. Read the code, run tests if applicable, then call criterion with action "pass" or "fail" for each.';
|
|
369
|
-
var COMPACTION_PROMPT = `
|
|
370
|
-
1. All file modifications made (file paths and what changed)
|
|
371
|
-
2. All errors encountered and how they were resolved
|
|
372
|
-
3. Current progress on each task
|
|
373
|
-
4. Any important decisions or learnings
|
|
374
|
-
5. Next steps or pending actions that should be continued after compaction
|
|
375
|
-
6. The user's current question, prompt, or active request
|
|
369
|
+
var COMPACTION_PROMPT = `You are a helpful AI assistant tasked with summarizing conversations for continuation.
|
|
376
370
|
|
|
377
|
-
|
|
378
|
-
|
|
371
|
+
Summarize the conversation history concisely, preserving:
|
|
372
|
+
1. What was done and what is currently being worked on
|
|
373
|
+
2. All file modifications made (file paths and what changed)
|
|
374
|
+
3. All errors encountered and how they were resolved
|
|
375
|
+
4. Current progress on each task
|
|
376
|
+
5. Important technical decisions and WHY they were made
|
|
377
|
+
6. User constraints, preferences, or requirements that should persist
|
|
378
|
+
7. Next steps or pending actions that should be continued after compaction
|
|
379
|
+
8. The user's current question, prompt, or active request
|
|
380
|
+
|
|
381
|
+
Do not respond to any questions in the conversation, only output the summary.
|
|
382
|
+
Be thorough but concise. Output as a structured summary.`;
|
|
379
383
|
var FORMAT_CORRECTION_PROMPT = `IMPORTANT: You MUST use the JSON function calling API. Do NOT output XML tags like <tool_call>, <function=>, or <parameter=>. Your previous attempt was stopped because you used the wrong format. Use the proper tool_calls format.`;
|
|
380
384
|
|
|
381
385
|
// src/server/chat/request-context.ts
|
|
@@ -3347,7 +3351,7 @@ var callSubAgentTool = {
|
|
|
3347
3351
|
};
|
|
3348
3352
|
}
|
|
3349
3353
|
try {
|
|
3350
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3354
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-25TQ5NQY.js");
|
|
3351
3355
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3352
3356
|
const turnMetrics = new TurnMetrics();
|
|
3353
3357
|
const result = await executeSubAgent({
|
|
@@ -4476,4 +4480,4 @@ export {
|
|
|
4476
4480
|
getToolRegistryForAgent,
|
|
4477
4481
|
createToolRegistry
|
|
4478
4482
|
};
|
|
4479
|
-
//# sourceMappingURL=chunk-
|
|
4483
|
+
//# sourceMappingURL=chunk-26PIZX2A.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
createVerifierNudgeConfig,
|
|
7
7
|
runBuilderTurn,
|
|
8
8
|
runChatTurn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VFHCB5MC.js";
|
|
10
10
|
import {
|
|
11
11
|
TurnMetrics,
|
|
12
12
|
agentExists,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
setSkillEnabled,
|
|
48
48
|
skillExists,
|
|
49
49
|
spawnShellProcess
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-26PIZX2A.js";
|
|
51
51
|
import {
|
|
52
52
|
getPathSeparator,
|
|
53
53
|
getPlatformShell,
|
|
@@ -5479,7 +5479,7 @@ function createTerminalRoutes() {
|
|
|
5479
5479
|
}
|
|
5480
5480
|
|
|
5481
5481
|
// src/constants.ts
|
|
5482
|
-
var VERSION = "1.6.
|
|
5482
|
+
var VERSION = "1.6.36";
|
|
5483
5483
|
|
|
5484
5484
|
// src/server/index.ts
|
|
5485
5485
|
var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
|
|
@@ -5781,7 +5781,7 @@ async function createServerHandle(config) {
|
|
|
5781
5781
|
if (!callId || approved === void 0) {
|
|
5782
5782
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
5783
5783
|
}
|
|
5784
|
-
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-
|
|
5784
|
+
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-25TQ5NQY.js");
|
|
5785
5785
|
const result = providePathConfirmation2(callId, approved, alwaysAllow);
|
|
5786
5786
|
if (!result.found) {
|
|
5787
5787
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
@@ -5806,7 +5806,7 @@ async function createServerHandle(config) {
|
|
|
5806
5806
|
if (!callId || !answer) {
|
|
5807
5807
|
return res.status(400).json({ error: "callId and answer are required" });
|
|
5808
5808
|
}
|
|
5809
|
-
const { provideAnswer: provideAnswer2 } = await import("./tools-
|
|
5809
|
+
const { provideAnswer: provideAnswer2 } = await import("./tools-25TQ5NQY.js");
|
|
5810
5810
|
const found = provideAnswer2(callId, answer);
|
|
5811
5811
|
if (!found) {
|
|
5812
5812
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -5842,8 +5842,8 @@ async function createServerHandle(config) {
|
|
|
5842
5842
|
if (!session) {
|
|
5843
5843
|
return res.status(404).json({ error: "Session not found" });
|
|
5844
5844
|
}
|
|
5845
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
5846
|
-
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-
|
|
5845
|
+
const { stopSessionExecution } = await import("./chat-handler-EJR4GKYO.js");
|
|
5846
|
+
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-25TQ5NQY.js");
|
|
5847
5847
|
stopSessionExecution(sessionId, sessionManager);
|
|
5848
5848
|
abortSession(sessionId);
|
|
5849
5849
|
cancelQuestionsForSession2(sessionId, "Session stopped by user");
|
|
@@ -6302,7 +6302,7 @@ async function createServerHandle(config) {
|
|
|
6302
6302
|
providerManager
|
|
6303
6303
|
);
|
|
6304
6304
|
const wss = wssExports.wss;
|
|
6305
|
-
const { QueueProcessor } = await import("./processor-
|
|
6305
|
+
const { QueueProcessor } = await import("./processor-7L64YPQC.js");
|
|
6306
6306
|
const queueProcessor = new QueueProcessor({
|
|
6307
6307
|
sessionManager,
|
|
6308
6308
|
providerManager,
|
|
@@ -6375,4 +6375,4 @@ export {
|
|
|
6375
6375
|
createServerHandle,
|
|
6376
6376
|
createServer
|
|
6377
6377
|
};
|
|
6378
|
-
//# sourceMappingURL=chunk-
|
|
6378
|
+
//# sourceMappingURL=chunk-6JYCWE5P.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-OM263UOA.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-TKL65AGO.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
getToolRegistryForAgent,
|
|
14
14
|
loadAllAgentsDefault,
|
|
15
15
|
runTopLevelAgentLoop
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-26PIZX2A.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-VFHCB5MC.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-VFHCB5MC.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-26PIZX2A.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-D4ZLSV6P.js";
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
runChatTurn,
|
|
40
40
|
runVerifierTurn
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=orchestrator-
|
|
42
|
+
//# sourceMappingURL=orchestrator-PCWZF3E5.js.map
|
package/dist/package.json
CHANGED
|
@@ -175,7 +175,7 @@ var QueueProcessor = class {
|
|
|
175
175
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
176
176
|
model: llmClient.getModel()
|
|
177
177
|
};
|
|
178
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
178
|
+
const { runChatTurn } = await import("./orchestrator-PCWZF3E5.js");
|
|
179
179
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
180
180
|
sessionManager,
|
|
181
181
|
sessionId,
|
|
@@ -208,4 +208,4 @@ var QueueProcessor = class {
|
|
|
208
208
|
export {
|
|
209
209
|
QueueProcessor
|
|
210
210
|
};
|
|
211
|
-
//# sourceMappingURL=processor-
|
|
211
|
+
//# sourceMappingURL=processor-7L64YPQC.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
createServer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6JYCWE5P.js";
|
|
10
10
|
import "./chunk-AV45GQ7B.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-VFHCB5MC.js";
|
|
12
|
+
import "./chunk-26PIZX2A.js";
|
|
13
13
|
import "./chunk-NBU6KIOD.js";
|
|
14
14
|
import "./chunk-574HZVLE.js";
|
|
15
15
|
import "./chunk-PYBB34ZK.js";
|
|
@@ -188,4 +188,4 @@ async function runServe(options) {
|
|
|
188
188
|
export {
|
|
189
189
|
runServe
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=serve-
|
|
191
|
+
//# sourceMappingURL=serve-OM263UOA.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-6JYCWE5P.js";
|
|
5
5
|
import "../chunk-AV45GQ7B.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-VFHCB5MC.js";
|
|
7
|
+
import "../chunk-26PIZX2A.js";
|
|
8
8
|
import "../chunk-NBU6KIOD.js";
|
|
9
9
|
import "../chunk-574HZVLE.js";
|
|
10
10
|
import "../chunk-PYBB34ZK.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-26PIZX2A.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-D4ZLSV6P.js";
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
stepDoneTool,
|
|
49
49
|
validateToolAction
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=tools-
|
|
51
|
+
//# sourceMappingURL=tools-25TQ5NQY.js.map
|