openfox 2.0.18 → 2.0.20

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.
@@ -210,7 +210,7 @@ function deepCloneMessage(msg) {
210
210
  return cloned;
211
211
  }
212
212
 
213
- // src/server/events/folding.ts
213
+ // src/server/events/fold-messages.ts
214
214
  import stripAnsi from "strip-ansi";
215
215
  function cloneMessage(message) {
216
216
  return {
@@ -282,13 +282,9 @@ function appendSnapshotMessageContext(result, message) {
282
282
  contextMsg.attachments = message.attachments;
283
283
  }
284
284
  result.push(contextMsg);
285
- if (!message.toolCalls) {
286
- return;
287
- }
285
+ if (!message.toolCalls) return;
288
286
  for (const toolCall of message.toolCalls) {
289
- if (!toolCall.result) {
290
- continue;
291
- }
287
+ if (!toolCall.result) continue;
292
288
  result.push({
293
289
  role: "tool",
294
290
  content: stripAnsi(
@@ -303,9 +299,6 @@ Error: ${toolCall.result.error}` : `Error: ${toolCall.result.error}`
303
299
  function applyStoredMessageEvents(initialMessages, events) {
304
300
  return applyEvents(initialMessages, events, { timestampAsNumber: false });
305
301
  }
306
- function getTimestamp(event) {
307
- return event.timestamp ?? Date.now();
308
- }
309
302
  function applyTurnEventsToSnapshotMessages(initialMessages, events) {
310
303
  const messages = applyEvents(initialMessages, events, {
311
304
  timestampAsNumber: true
@@ -435,9 +428,7 @@ function buildContextMessagesFromEventHistory(events, windowId, options) {
435
428
  }
436
429
  const snapshot = snapshotEvent.data;
437
430
  const snapshotMessages = snapshot.messages.reduce((result, message) => {
438
- if (!shouldIncludeContextMessage(message, windowId, options)) {
439
- return result;
440
- }
431
+ if (!shouldIncludeContextMessage(message, windowId, options)) return result;
441
432
  appendSnapshotMessageContext(result, message);
442
433
  return result;
443
434
  }, []);
@@ -450,6 +441,21 @@ function foldTurnEventsToSnapshotMessages(events) {
450
441
  function foldTurnEventsToSnapshotMessagesFromInitial(events, initialMessages) {
451
442
  return applyTurnEventsToSnapshotMessages(initialMessages, events);
452
443
  }
444
+ function getMessagesForWindow(messages, windowId) {
445
+ return messages.filter((m) => m.contextWindowId === windowId);
446
+ }
447
+ function buildContextMessagesFromMessages(messages, windowId) {
448
+ return getMessagesForWindow(messages, windowId).reduce((result, message) => {
449
+ if (!shouldIncludeContextMessage(message, windowId)) return result;
450
+ appendSnapshotMessageContext(result, message);
451
+ return result;
452
+ }, []);
453
+ }
454
+
455
+ // src/server/events/fold-state.ts
456
+ function getTimestamp(event) {
457
+ return event.timestamp ?? Date.now();
458
+ }
453
459
  function foldCriteria(events) {
454
460
  let criteria = [];
455
461
  for (const event of events) {
@@ -531,10 +537,7 @@ function foldContextState(events, initialWindowId) {
531
537
  case "file.read": {
532
538
  const data = event.data;
533
539
  if (data.contextWindowId === currentContextWindowId) {
534
- readFilesMap.set(data.path, {
535
- path: data.path,
536
- tokenCount: data.tokenCount
537
- });
540
+ readFilesMap.set(data.path, { path: data.path, tokenCount: data.tokenCount });
538
541
  }
539
542
  break;
540
543
  }
@@ -627,15 +630,10 @@ function foldSessionState(events, initialWindowId, maxTokens, initialMessages) {
627
630
  const event = events[i];
628
631
  if (event.type === "turn.snapshot") {
629
632
  const snapshotData = event.data;
630
- if (snapshotData.cachedSystemPrompt && !cachedSystemPrompt) {
631
- cachedSystemPrompt = snapshotData.cachedSystemPrompt;
632
- }
633
- if (snapshotData.dynamicContextHash && !dynamicContextHash) {
634
- dynamicContextHash = snapshotData.dynamicContextHash;
635
- }
636
- if (snapshotData.metadataEntries && Object.keys(metadataEntries).length === 0) {
633
+ if (snapshotData.cachedSystemPrompt && !cachedSystemPrompt) cachedSystemPrompt = snapshotData.cachedSystemPrompt;
634
+ if (snapshotData.dynamicContextHash && !dynamicContextHash) dynamicContextHash = snapshotData.dynamicContextHash;
635
+ if (snapshotData.metadataEntries && Object.keys(metadataEntries).length === 0)
637
636
  metadataEntries = snapshotData.metadataEntries;
638
- }
639
637
  }
640
638
  }
641
639
  let sessionInit;
@@ -678,18 +676,12 @@ function foldSessionState(events, initialWindowId, maxTokens, initialMessages) {
678
676
  const existing = visionFallbacks.find(
679
677
  (v) => v.messageId === data.messageId && v.attachmentId === data.attachmentId
680
678
  );
681
- if (existing) {
682
- existing.description = data.description;
683
- }
679
+ if (existing) existing.description = data.description;
684
680
  break;
685
681
  }
686
682
  case "pattern.retry": {
687
683
  const data = event.data;
688
- formatRetries.push({
689
- attempt: data.attempt,
690
- maxAttempts: data.maxAttempts,
691
- timestamp: getTimestamp(event)
692
- });
684
+ formatRetries.push({ attempt: data.attempt, maxAttempts: data.maxAttempts, timestamp: getTimestamp(event) });
693
685
  break;
694
686
  }
695
687
  case "chat.ask_user": {
@@ -713,10 +705,7 @@ function foldSessionState(events, initialWindowId, maxTokens, initialMessages) {
713
705
  }
714
706
  case "context.compacted": {
715
707
  const data = event.data;
716
- contextWindows.push({
717
- ...data,
718
- timestamp: getTimestamp(event)
719
- });
708
+ contextWindows.push({ ...data, timestamp: getTimestamp(event) });
720
709
  break;
721
710
  }
722
711
  }
@@ -782,9 +771,7 @@ function buildSnapshotFromSessionState(input) {
782
771
  break;
783
772
  }
784
773
  }
785
- if (!initialWindowId) {
786
- initialWindowId = "legacy-window-1";
787
- }
774
+ if (!initialWindowId) initialWindowId = "legacy-window-1";
788
775
  const foldedState = foldSessionState(events, initialWindowId, maxTokens);
789
776
  const latestSnapshotIndex = events.map((event) => event.type).lastIndexOf("turn.snapshot");
790
777
  const latestSnapshotEvent = latestSnapshotIndex >= 0 ? events[latestSnapshotIndex] : void 0;
@@ -817,18 +804,6 @@ function buildSnapshotFromSessionState(input) {
817
804
  ...input.dynamicContextHash !== void 0 ? { dynamicContextHash: input.dynamicContextHash } : foldedState.dynamicContextHash !== void 0 ? { dynamicContextHash: foldedState.dynamicContextHash } : {}
818
805
  };
819
806
  }
820
- function getMessagesForWindow(messages, windowId) {
821
- return messages.filter((m) => m.contextWindowId === windowId);
822
- }
823
- function buildContextMessagesFromMessages(messages, windowId) {
824
- return getMessagesForWindow(messages, windowId).reduce((result, message) => {
825
- if (!shouldIncludeContextMessage(message, windowId)) {
826
- return result;
827
- }
828
- appendSnapshotMessageContext(result, message);
829
- return result;
830
- }, []);
831
- }
832
807
 
833
808
  export {
834
809
  spreadOptionalMessageFields,
@@ -842,6 +817,8 @@ export {
842
817
  buildContextMessagesFromEventHistory,
843
818
  foldTurnEventsToSnapshotMessages,
844
819
  foldTurnEventsToSnapshotMessagesFromInitial,
820
+ getMessagesForWindow,
821
+ buildContextMessagesFromMessages,
845
822
  foldCriteria,
846
823
  foldTodos,
847
824
  foldMetadata,
@@ -852,8 +829,6 @@ export {
852
829
  foldPendingConfirmations,
853
830
  foldSessionState,
854
831
  buildSnapshot,
855
- buildSnapshotFromSessionState,
856
- getMessagesForWindow,
857
- buildContextMessagesFromMessages
832
+ buildSnapshotFromSessionState
858
833
  };
859
- //# sourceMappingURL=chunk-LX66KJPL.js.map
834
+ //# sourceMappingURL=chunk-6PLAWCHQ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-DX37WNM7.js";
5
5
  import {
6
6
  getCurrentWindowMessageOptions
7
- } from "./chunk-SYG2ENUQ.js";
7
+ } from "./chunk-YBWY4DKY.js";
8
8
 
9
9
  // src/server/context/compactor.ts
10
10
  function appendCompactionPrompt(sessionId, append) {
@@ -31,4 +31,4 @@ export {
31
31
  shouldCompact,
32
32
  getCompactionTarget
33
33
  };
34
- //# sourceMappingURL=chunk-VHWUZ7TO.js.map
34
+ //# sourceMappingURL=chunk-ASM2Z7JU.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getEventStore,
3
3
  updateSessionMetadata
4
- } from "./chunk-SYG2ENUQ.js";
4
+ } from "./chunk-YBWY4DKY.js";
5
5
  import {
6
6
  buildMessagesFromStoredEvents,
7
7
  foldPendingConfirmations
8
- } from "./chunk-LX66KJPL.js";
8
+ } from "./chunk-6PLAWCHQ.js";
9
9
  import {
10
10
  createContextStateMessage,
11
11
  createSessionStateMessage
@@ -154,4 +154,4 @@ export {
154
154
  needsNameGenerationCheck,
155
155
  applyGeneratedSessionName
156
156
  };
157
- //# sourceMappingURL=chunk-J7KOV4ST.js.map
157
+ //# sourceMappingURL=chunk-GI24G4OW.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  appendCompactionPrompt
3
- } from "./chunk-VHWUZ7TO.js";
3
+ } from "./chunk-ASM2Z7JU.js";
4
4
  import {
5
5
  injectWorkflowKickoffIfNeeded,
6
6
  runAgentTurn,
7
7
  runChatTurn
8
- } from "./chunk-4MTSWBWH.js";
8
+ } from "./chunk-VDC2QL2O.js";
9
9
  import {
10
10
  applyDynamicContext,
11
11
  checkAborted,
@@ -22,7 +22,7 @@ import {
22
22
  loadAllAgentsDefault,
23
23
  saveItemToDir,
24
24
  spawnShellProcess
25
- } from "./chunk-FCSFHRKI.js";
25
+ } from "./chunk-TVQTTZYW.js";
26
26
  import {
27
27
  TurnMetrics,
28
28
  createMessageStartEvent
@@ -35,7 +35,7 @@ import {
35
35
  getCurrentContextWindowId,
36
36
  getEventStore,
37
37
  getRuntimeConfig
38
- } from "./chunk-SYG2ENUQ.js";
38
+ } from "./chunk-YBWY4DKY.js";
39
39
  import {
40
40
  createChatErrorMessage,
41
41
  createChatMessageMessage,
@@ -1775,7 +1775,7 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
1775
1775
  const runtimeConfig = getRuntimeConfig();
1776
1776
  const configDir = getGlobalConfigDir(runtimeConfig.mode ?? "production");
1777
1777
  const skills = await getEnabledSkillMetadata(configDir, runtimeConfig.workdir);
1778
- const { createToolRegistry } = await import("./tools-QTEXQQ7Z.js");
1778
+ const { createToolRegistry } = await import("./tools-ZUOBYTVD.js");
1779
1779
  const allTools = createToolRegistry().definitions;
1780
1780
  const toolFingerprint = getToolFingerprint(allTools);
1781
1781
  const currentHash = computeDynamicContextHash(instructionContent, skills, toolFingerprint);
@@ -1848,7 +1848,7 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
1848
1848
  const runtimeConfig = getRuntimeConfig();
1849
1849
  const configDir = getGlobalConfigDir(runtimeConfig.mode ?? "production");
1850
1850
  const skills = await getEnabledSkillMetadata(configDir, runtimeConfig.workdir);
1851
- const { createToolRegistry } = await import("./tools-QTEXQQ7Z.js");
1851
+ const { createToolRegistry } = await import("./tools-ZUOBYTVD.js");
1852
1852
  const allTools = createToolRegistry().definitions;
1853
1853
  const toolFingerprint = getToolFingerprint(allTools);
1854
1854
  const currentHash = computeDynamicContextHash(instructionContent, skills, toolFingerprint);
@@ -2069,4 +2069,4 @@ export {
2069
2069
  signalMcpReady,
2070
2070
  createWebSocketServer
2071
2071
  };
2072
- //# sourceMappingURL=chunk-MPSOO6KF.js.map
2072
+ //# sourceMappingURL=chunk-T67KB6ZS.js.map
@@ -40,7 +40,7 @@ import {
40
40
  getCurrentWindowMessageOptions,
41
41
  getEventStore,
42
42
  getRuntimeConfig
43
- } from "./chunk-SYG2ENUQ.js";
43
+ } from "./chunk-YBWY4DKY.js";
44
44
  import {
45
45
  buildContextMessagesFromEventHistory,
46
46
  foldContextState,
@@ -49,7 +49,7 @@ import {
49
49
  handleToolCall,
50
50
  handleToolResult,
51
51
  stripOrphanedToolCalls
52
- } from "./chunk-LX66KJPL.js";
52
+ } from "./chunk-6PLAWCHQ.js";
53
53
  import {
54
54
  createChatDoneMessage,
55
55
  createChatMessageMessage,
@@ -1502,16 +1502,15 @@ function executeCommand(command, cwd, timeout, signal, onProgress) {
1502
1502
  const proc = spawnShellProcess(command, cwd, signal, true);
1503
1503
  let stdout = "";
1504
1504
  let stderr = "";
1505
- let killed = false;
1505
+ let timedOut = false;
1506
1506
  let aborted = false;
1507
1507
  let exited = false;
1508
1508
  const timer = setTimeout(() => {
1509
- killed = true;
1509
+ timedOut = true;
1510
1510
  void terminateProcessTree(proc, { exited: () => exited });
1511
- reject(new Error(`Command timed out after ${timeout}ms`));
1512
1511
  }, timeout);
1513
1512
  const onAbort = () => {
1514
- if (!killed && !aborted) {
1513
+ if (!timedOut && !aborted) {
1515
1514
  aborted = true;
1516
1515
  void terminateProcessTree(proc, { exited: () => exited });
1517
1516
  }
@@ -1531,7 +1530,16 @@ function executeCommand(command, cwd, timeout, signal, onProgress) {
1531
1530
  exited = true;
1532
1531
  clearTimeout(timer);
1533
1532
  signal?.removeEventListener("abort", onAbort);
1534
- if (killed) {
1533
+ if (timedOut) {
1534
+ let output = stdout.trim();
1535
+ if (output) output += "\n\n";
1536
+ output += `[Exit code: 124]
1537
+ [Process timed out after ${timeout}ms]`;
1538
+ resolve6({
1539
+ stdout: output,
1540
+ stderr: stderr.trim(),
1541
+ exitCode: 124
1542
+ });
1535
1543
  return;
1536
1544
  }
1537
1545
  if (aborted) {
@@ -2542,7 +2550,7 @@ ${CONTINUE_PROMPT}` : CONTINUE_PROMPT;
2542
2550
  sessionManager.setCurrentContextSize(sessionId, result.usage.promptTokens);
2543
2551
  if (!compacting) {
2544
2552
  const contextState = sessionManager.getContextState(sessionId);
2545
- const { shouldCompact, appendCompactionPrompt } = await import("./compactor-FAN7KRQN.js");
2553
+ const { shouldCompact, appendCompactionPrompt } = await import("./compactor-EOQYEOFS.js");
2546
2554
  if (shouldCompact(contextState.currentTokens, contextState.maxTokens, runtimeConfig.context.compactionThreshold)) {
2547
2555
  appendCompactionPrompt(sessionId, append);
2548
2556
  compacting = true;
@@ -3347,7 +3355,7 @@ var callSubAgentTool = {
3347
3355
  };
3348
3356
  }
3349
3357
  try {
3350
- const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-QTEXQQ7Z.js");
3358
+ const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-ZUOBYTVD.js");
3351
3359
  const toolRegistry = getToolRegistryForAgent2(agentDef);
3352
3360
  const turnMetrics = new TurnMetrics();
3353
3361
  const result = await executeSubAgent({
@@ -4153,7 +4161,7 @@ async function computeContextHash(sessionManager, sessionId) {
4153
4161
  const runtimeConfig = getRuntimeConfig();
4154
4162
  const configDir = getGlobalConfigDir(runtimeConfig.mode ?? "production");
4155
4163
  const skills = await getEnabledSkillMetadata(configDir, runtimeConfig.workdir);
4156
- const { createToolRegistry: createToolRegistry2 } = await import("./tools-QTEXQQ7Z.js");
4164
+ const { createToolRegistry: createToolRegistry2 } = await import("./tools-ZUOBYTVD.js");
4157
4165
  const allTools = createToolRegistry2().definitions;
4158
4166
  const toolFingerprint = getToolFingerprint(allTools);
4159
4167
  const hash = computeDynamicContextHash(instructionContent, skills, toolFingerprint);
@@ -4266,7 +4274,7 @@ var mcpConfigTool = createTool(
4266
4274
  await saveGlobalConfig(mcpConfigMode, { ...globalConfig, mcpServers: updated });
4267
4275
  }
4268
4276
  async function rebuildTools() {
4269
- const { setMcpTools: setMcpTools2 } = await import("./tools-QTEXQQ7Z.js");
4277
+ const { setMcpTools: setMcpTools2 } = await import("./tools-ZUOBYTVD.js");
4270
4278
  const mcpTools = createMcpTools(mcpManagerForTools);
4271
4279
  setMcpTools2(mcpTools);
4272
4280
  }
@@ -4670,4 +4678,4 @@ export {
4670
4678
  getToolRegistryForAgent,
4671
4679
  createToolRegistry
4672
4680
  };
4673
- //# sourceMappingURL=chunk-FCSFHRKI.js.map
4681
+ //# sourceMappingURL=chunk-TVQTTZYW.js.map
@@ -14,7 +14,7 @@ import {
14
14
  loadAllAgentsDefault,
15
15
  processEventsForConversation,
16
16
  runTopLevelAgentLoop
17
- } from "./chunk-FCSFHRKI.js";
17
+ } from "./chunk-TVQTTZYW.js";
18
18
  import {
19
19
  TurnMetrics,
20
20
  WORKFLOW_KICKOFF_PROMPT,
@@ -28,10 +28,10 @@ import {
28
28
  getCurrentWindowMessageOptions,
29
29
  getEventStore,
30
30
  getRuntimeConfig
31
- } from "./chunk-SYG2ENUQ.js";
31
+ } from "./chunk-YBWY4DKY.js";
32
32
  import {
33
33
  buildSnapshotFromSessionState
34
- } from "./chunk-LX66KJPL.js";
34
+ } from "./chunk-6PLAWCHQ.js";
35
35
  import {
36
36
  getGlobalConfigDir
37
37
  } from "./chunk-CQGTEGKL.js";
@@ -320,4 +320,4 @@ export {
320
320
  runAgentTurn,
321
321
  injectWorkflowKickoffIfNeeded
322
322
  };
323
- //# sourceMappingURL=chunk-4MTSWBWH.js.map
323
+ //# sourceMappingURL=chunk-VDC2QL2O.js.map
@@ -5,7 +5,7 @@ import {
5
5
  foldContextState,
6
6
  foldSessionState,
7
7
  spreadOptionalMessageFields
8
- } from "./chunk-LX66KJPL.js";
8
+ } from "./chunk-6PLAWCHQ.js";
9
9
  import {
10
10
  getDatabase
11
11
  } from "./chunk-FBGWG4N6.js";
@@ -1397,4 +1397,4 @@ export {
1397
1397
  truncateSessionMessages,
1398
1398
  getRecentUserPromptsForSession
1399
1399
  };
1400
- //# sourceMappingURL=chunk-SYG2ENUQ.js.map
1400
+ //# sourceMappingURL=chunk-YBWY4DKY.js.map
@@ -196,7 +196,7 @@ async function runCli(options) {
196
196
  if (!configExists) {
197
197
  await runNetworkSetup(mode);
198
198
  }
199
- const { runServe } = await import("./serve-Z5GO323T.js");
199
+ const { runServe } = await import("./serve-24IV7E3C.js");
200
200
  const serveOptions = { mode };
201
201
  if (values.port) serveOptions.port = parseInt(values.port);
202
202
  if (values["no-browser"] === true) serveOptions.openBrowser = false;
@@ -208,4 +208,4 @@ async function runCli(options) {
208
208
  export {
209
209
  runCli
210
210
  };
211
- //# sourceMappingURL=chunk-M6ELTMPZ.js.map
211
+ //# sourceMappingURL=chunk-YYXOZJYE.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-M6ELTMPZ.js";
4
+ } from "../chunk-YYXOZJYE.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-K44MW7JJ.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-M6ELTMPZ.js";
4
+ } from "../chunk-YYXOZJYE.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-K44MW7JJ.js";
@@ -2,10 +2,10 @@ import {
2
2
  appendCompactionPrompt,
3
3
  getCompactionTarget,
4
4
  shouldCompact
5
- } from "./chunk-VHWUZ7TO.js";
5
+ } from "./chunk-ASM2Z7JU.js";
6
6
  import "./chunk-DX37WNM7.js";
7
- import "./chunk-SYG2ENUQ.js";
8
- import "./chunk-LX66KJPL.js";
7
+ import "./chunk-YBWY4DKY.js";
8
+ import "./chunk-6PLAWCHQ.js";
9
9
  import "./chunk-FBGWG4N6.js";
10
10
  import "./chunk-Z4SWOUWC.js";
11
11
  import "./chunk-K44MW7JJ.js";
@@ -14,4 +14,4 @@ export {
14
14
  getCompactionTarget,
15
15
  shouldCompact
16
16
  };
17
- //# sourceMappingURL=compactor-FAN7KRQN.js.map
17
+ //# sourceMappingURL=compactor-EOQYEOFS.js.map
@@ -38,7 +38,7 @@ import {
38
38
  isStoredEvent,
39
39
  isTurnEvent,
40
40
  truncateSessionMessages
41
- } from "./chunk-SYG2ENUQ.js";
41
+ } from "./chunk-YBWY4DKY.js";
42
42
  import {
43
43
  buildContextMessagesFromEventHistory,
44
44
  buildContextMessagesFromMessages,
@@ -55,7 +55,7 @@ import {
55
55
  foldTodos,
56
56
  foldTurnEventsToSnapshotMessages,
57
57
  getMessagesForWindow
58
- } from "./chunk-LX66KJPL.js";
58
+ } from "./chunk-6PLAWCHQ.js";
59
59
  import "./chunk-FBGWG4N6.js";
60
60
  import "./chunk-K44MW7JJ.js";
61
61
  export {
@@ -114,4 +114,4 @@ export {
114
114
  isTurnEvent,
115
115
  truncateSessionMessages
116
116
  };
117
- //# sourceMappingURL=events-4K52FKPR.js.map
117
+ //# sourceMappingURL=events-JKPHAR5W.js.map
@@ -23,7 +23,7 @@ import {
23
23
  handleToolResult,
24
24
  spreadOptionalMessageFields,
25
25
  stripOrphanedToolCalls
26
- } from "./chunk-LX66KJPL.js";
26
+ } from "./chunk-6PLAWCHQ.js";
27
27
  export {
28
28
  buildContextMessagesFromEventHistory,
29
29
  buildContextMessagesFromMessages,
@@ -50,4 +50,4 @@ export {
50
50
  spreadOptionalMessageFields,
51
51
  stripOrphanedToolCalls
52
52
  };
53
- //# sourceMappingURL=folding-QIBNKYA6.js.map
53
+ //# sourceMappingURL=folding-PI67HWBR.js.map
@@ -2,8 +2,8 @@ import {
2
2
  injectWorkflowKickoffIfNeeded,
3
3
  runAgentTurn,
4
4
  runChatTurn
5
- } from "./chunk-4MTSWBWH.js";
6
- import "./chunk-FCSFHRKI.js";
5
+ } from "./chunk-VDC2QL2O.js";
6
+ import "./chunk-TVQTTZYW.js";
7
7
  import "./chunk-O4TED6AJ.js";
8
8
  import {
9
9
  TurnMetrics,
@@ -17,8 +17,8 @@ import "./chunk-DL6ZILAF.js";
17
17
  import "./chunk-PBGOZMVY.js";
18
18
  import "./chunk-VRGRAQDG.js";
19
19
  import "./chunk-NWO6GRYE.js";
20
- import "./chunk-SYG2ENUQ.js";
21
- import "./chunk-LX66KJPL.js";
20
+ import "./chunk-YBWY4DKY.js";
21
+ import "./chunk-6PLAWCHQ.js";
22
22
  import "./chunk-F4PMNP7S.js";
23
23
  import "./chunk-EU3WWTFH.js";
24
24
  import "./chunk-RFNEDBVO.js";
@@ -39,4 +39,4 @@ export {
39
39
  runAgentTurn,
40
40
  runChatTurn
41
41
  };
42
- //# sourceMappingURL=orchestrator-YPL5S4QN.js.map
42
+ //# sourceMappingURL=orchestrator-ZVPFU2ZF.js.map
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "2.0.18",
3
+ "version": "2.0.20",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -5,8 +5,8 @@ import {
5
5
  generateSessionName,
6
6
  getSessionMessageCount,
7
7
  needsNameGenerationCheck
8
- } from "./chunk-J7KOV4ST.js";
9
- import "./chunk-FCSFHRKI.js";
8
+ } from "./chunk-GI24G4OW.js";
9
+ import "./chunk-TVQTTZYW.js";
10
10
  import "./chunk-O4TED6AJ.js";
11
11
  import "./chunk-DX37WNM7.js";
12
12
  import "./chunk-DL6ZILAF.js";
@@ -15,8 +15,8 @@ import "./chunk-VRGRAQDG.js";
15
15
  import "./chunk-NWO6GRYE.js";
16
16
  import {
17
17
  getEventStore
18
- } from "./chunk-SYG2ENUQ.js";
19
- import "./chunk-LX66KJPL.js";
18
+ } from "./chunk-YBWY4DKY.js";
19
+ import "./chunk-6PLAWCHQ.js";
20
20
  import {
21
21
  createChatMessageMessage,
22
22
  createSessionRunningMessage
@@ -193,7 +193,7 @@ var QueueProcessor = class {
193
193
  backend: provider?.backend ?? llmClient.getBackend(),
194
194
  model: llmClient.getModel()
195
195
  };
196
- const { runChatTurn } = await import("./orchestrator-YPL5S4QN.js");
196
+ const { runChatTurn } = await import("./orchestrator-ZVPFU2ZF.js");
197
197
  const runChatTurnParams = buildRunChatTurnParams({
198
198
  sessionManager,
199
199
  sessionId,
@@ -241,4 +241,4 @@ var QueueProcessor = class {
241
241
  export {
242
242
  QueueProcessor
243
243
  };
244
- //# sourceMappingURL=processor-GUUAJ24C.js.map
244
+ //# sourceMappingURL=processor-DKAYI3PV.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  VERSION,
3
3
  createServer
4
- } from "./chunk-FERQPF5N.js";
5
- import "./chunk-MPSOO6KF.js";
6
- import "./chunk-VHWUZ7TO.js";
7
- import "./chunk-4MTSWBWH.js";
8
- import "./chunk-FCSFHRKI.js";
4
+ } from "./chunk-3QQ4QKAU.js";
5
+ import "./chunk-T67KB6ZS.js";
6
+ import "./chunk-ASM2Z7JU.js";
7
+ import "./chunk-VDC2QL2O.js";
8
+ import "./chunk-TVQTTZYW.js";
9
9
  import "./chunk-O4TED6AJ.js";
10
10
  import "./chunk-DX37WNM7.js";
11
11
  import "./chunk-DL6ZILAF.js";
@@ -14,8 +14,8 @@ import "./chunk-VRGRAQDG.js";
14
14
  import "./chunk-NWO6GRYE.js";
15
15
  import {
16
16
  loadConfig
17
- } from "./chunk-SYG2ENUQ.js";
18
- import "./chunk-LX66KJPL.js";
17
+ } from "./chunk-YBWY4DKY.js";
18
+ import "./chunk-6PLAWCHQ.js";
19
19
  import "./chunk-F4PMNP7S.js";
20
20
  import "./chunk-EU3WWTFH.js";
21
21
  import "./chunk-RFNEDBVO.js";
@@ -193,4 +193,4 @@ async function runServe(options) {
193
193
  export {
194
194
  runServe
195
195
  };
196
- //# sourceMappingURL=serve-Z5GO323T.js.map
196
+ //# sourceMappingURL=serve-24IV7E3C.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-FERQPF5N.js";
5
- import "../chunk-MPSOO6KF.js";
6
- import "../chunk-VHWUZ7TO.js";
7
- import "../chunk-4MTSWBWH.js";
8
- import "../chunk-FCSFHRKI.js";
4
+ } from "../chunk-3QQ4QKAU.js";
5
+ import "../chunk-T67KB6ZS.js";
6
+ import "../chunk-ASM2Z7JU.js";
7
+ import "../chunk-VDC2QL2O.js";
8
+ import "../chunk-TVQTTZYW.js";
9
9
  import "../chunk-O4TED6AJ.js";
10
10
  import "../chunk-DX37WNM7.js";
11
11
  import "../chunk-DL6ZILAF.js";
12
12
  import "../chunk-PBGOZMVY.js";
13
13
  import "../chunk-VRGRAQDG.js";
14
14
  import "../chunk-NWO6GRYE.js";
15
- import "../chunk-SYG2ENUQ.js";
16
- import "../chunk-LX66KJPL.js";
15
+ import "../chunk-YBWY4DKY.js";
16
+ import "../chunk-6PLAWCHQ.js";
17
17
  import "../chunk-F4PMNP7S.js";
18
18
  import "../chunk-EU3WWTFH.js";
19
19
  import "../chunk-RFNEDBVO.js";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  createWebSocketServer,
3
3
  signalMcpReady
4
- } from "./chunk-MPSOO6KF.js";
5
- import "./chunk-VHWUZ7TO.js";
6
- import "./chunk-4MTSWBWH.js";
7
- import "./chunk-FCSFHRKI.js";
4
+ } from "./chunk-T67KB6ZS.js";
5
+ import "./chunk-ASM2Z7JU.js";
6
+ import "./chunk-VDC2QL2O.js";
7
+ import "./chunk-TVQTTZYW.js";
8
8
  import "./chunk-O4TED6AJ.js";
9
9
  import "./chunk-DX37WNM7.js";
10
10
  import "./chunk-DL6ZILAF.js";
11
11
  import "./chunk-PBGOZMVY.js";
12
12
  import "./chunk-VRGRAQDG.js";
13
13
  import "./chunk-NWO6GRYE.js";
14
- import "./chunk-SYG2ENUQ.js";
15
- import "./chunk-LX66KJPL.js";
14
+ import "./chunk-YBWY4DKY.js";
15
+ import "./chunk-6PLAWCHQ.js";
16
16
  import "./chunk-F4PMNP7S.js";
17
17
  import "./chunk-EU3WWTFH.js";
18
18
  import "./chunk-RFNEDBVO.js";
@@ -28,4 +28,4 @@ export {
28
28
  createWebSocketServer,
29
29
  signalMcpReady
30
30
  };
31
- //# sourceMappingURL=server-IZL6UZEZ.js.map
31
+ //# sourceMappingURL=server-CN7ML6XN.js.map