openfox 1.6.35 → 1.6.37

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.
@@ -2,7 +2,7 @@ import {
2
2
  maybeAutoCompactContext,
3
3
  performManualContextCompaction,
4
4
  resolveCompactionStatsIdentity
5
- } from "./chunk-4O3C2JMB.js";
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-7LK3QGPI.js.map
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-BOEXJCOD.js";
14
- import "./chunk-4O3C2JMB.js";
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-7LK3QGPI.js");
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-ZU74RXED.js.map
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 = `Summarize the conversation history concisely, preserving:
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
- Be thorough but concise. Output as a structured summary.
378
- You may use available tools to read files and verify changes if needed.`;
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-CSV7G554.js");
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-4O3C2JMB.js.map
4483
+ //# sourceMappingURL=chunk-26PIZX2A.js.map
@@ -13,7 +13,7 @@ import {
13
13
  getToolRegistryForAgent,
14
14
  loadAllAgentsDefault,
15
15
  runTopLevelAgentLoop
16
- } from "./chunk-4O3C2JMB.js";
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-BOEXJCOD.js.map
296
+ //# sourceMappingURL=chunk-VFHCB5MC.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-MMDVRY46.js");
157
+ const { runServe } = await import("./serve-VZE2CPZ2.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-7EIVES5U.js.map
170
+ //# sourceMappingURL=chunk-VGFTDBWZ.js.map
@@ -6,7 +6,7 @@ import {
6
6
  createVerifierNudgeConfig,
7
7
  runBuilderTurn,
8
8
  runChatTurn
9
- } from "./chunk-BOEXJCOD.js";
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-4O3C2JMB.js";
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.35";
5482
+ var VERSION = "1.6.37";
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-CSV7G554.js");
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-CSV7G554.js");
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-ZU74RXED.js");
5846
- const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-CSV7G554.js");
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-GAOK7TPI.js");
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-NPSBNNGO.js.map
6378
+ //# sourceMappingURL=chunk-WJ2DPSZK.js.map
package/dist/cli/dev.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-7EIVES5U.js";
4
+ } from "../chunk-VGFTDBWZ.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-PNBH3RAX.js";
package/dist/cli/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-7EIVES5U.js";
4
+ } from "../chunk-VGFTDBWZ.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-PNBH3RAX.js";
@@ -3,7 +3,7 @@ import {
3
3
  runBuilderTurn,
4
4
  runChatTurn,
5
5
  runVerifierTurn
6
- } from "./chunk-BOEXJCOD.js";
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-4O3C2JMB.js";
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-OE7WFEW6.js.map
42
+ //# sourceMappingURL=orchestrator-PCWZF3E5.js.map
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "1.6.35",
3
+ "version": "1.6.37",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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-OE7WFEW6.js");
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-GAOK7TPI.js.map
211
+ //# sourceMappingURL=processor-7L64YPQC.js.map
@@ -6,10 +6,10 @@ import {
6
6
  import {
7
7
  VERSION,
8
8
  createServer
9
- } from "./chunk-NPSBNNGO.js";
9
+ } from "./chunk-WJ2DPSZK.js";
10
10
  import "./chunk-AV45GQ7B.js";
11
- import "./chunk-BOEXJCOD.js";
12
- import "./chunk-4O3C2JMB.js";
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-MMDVRY46.js.map
191
+ //# sourceMappingURL=serve-VZE2CPZ2.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-NPSBNNGO.js";
4
+ } from "../chunk-WJ2DPSZK.js";
5
5
  import "../chunk-AV45GQ7B.js";
6
- import "../chunk-BOEXJCOD.js";
7
- import "../chunk-4O3C2JMB.js";
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-4O3C2JMB.js";
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-CSV7G554.js.map
51
+ //# sourceMappingURL=tools-25TQ5NQY.js.map