openfox 1.6.81 → 1.6.82

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.
Files changed (34) hide show
  1. package/dist/{auto-compaction-JSO3ZWSE.js → auto-compaction-I3GTBPTZ.js} +6 -6
  2. package/dist/{chat-handler-RN662HKM.js → chat-handler-IOHM7XMZ.js} +9 -9
  3. package/dist/{chunk-BSTVRSV6.js → chunk-C3O6MZJV.js} +2 -2
  4. package/dist/{chunk-A5W6JUYZ.js → chunk-D67V55WE.js} +3 -3
  5. package/dist/{chunk-UKMRZDWM.js → chunk-DVNZAJT5.js} +3 -3
  6. package/dist/{chunk-WR6QCJJO.js → chunk-HJOH367L.js} +10 -8
  7. package/dist/{chunk-2MHHSLNY.js → chunk-MDL6USSE.js} +32 -30
  8. package/dist/{chunk-TGWEH2BC.js → chunk-NRJOTXHG.js} +5 -9
  9. package/dist/{chunk-SJHWJAJA.js → chunk-WHPOBTTU.js} +3 -3
  10. package/dist/{chunk-LHKXWUEK.js → chunk-WNYDTFJO.js} +16 -5
  11. package/dist/{chunk-42TLGPX4.js → chunk-XI7JEBNT.js} +43 -37
  12. package/dist/{chunk-6FOC2GAY.js → chunk-Y2LKLZ2V.js} +6 -6
  13. package/dist/{chunk-CUDAT6SS.js → chunk-Y325P6Z4.js} +2 -2
  14. package/dist/{chunk-UF6D2IPO.js → chunk-ZPQDYRQI.js} +2 -2
  15. package/dist/cli/dev.js +1 -1
  16. package/dist/cli/index.js +1 -1
  17. package/dist/{config-5CONAOL7.js → config-RIK5T6WK.js} +5 -5
  18. package/dist/{events-QDUOJQML.js → events-I7NDHSNU.js} +2 -2
  19. package/dist/{orchestrator-NJHSRHZI.js → orchestrator-YFHSFYII.js} +7 -7
  20. package/dist/package.json +1 -1
  21. package/dist/{processor-3A32D5MI.js → processor-EM4BINEJ.js} +5 -5
  22. package/dist/{protocol-4xbfAlGO.d.ts → protocol-OnZRAPeM.d.ts} +1 -0
  23. package/dist/{protocol-IXFNYZEX.js → protocol-VVUFP4I7.js} +2 -2
  24. package/dist/{provider-ESEBV3LL.js → provider-AASLIQZJ.js} +7 -7
  25. package/dist/{serve-D4NO4GJF.js → serve-OJPBEKVE.js} +11 -11
  26. package/dist/server/index.d.ts +1 -1
  27. package/dist/server/index.js +9 -9
  28. package/dist/shared/index.d.ts +2 -2
  29. package/dist/{tools-Y3S6BHBZ.js → tools-PPLFGZCK.js} +6 -6
  30. package/dist/{vision-fallback-ED27LH6C.js → vision-fallback-GMDXLVRN.js} +2 -2
  31. package/dist/web/assets/{index-DuIE79t4.js → index-CkbORFn4.js} +46 -43
  32. package/dist/web/index.html +1 -1
  33. package/dist/web/sw.js +1 -1
  34. package/package.json +1 -1
@@ -28,11 +28,11 @@ import {
28
28
  getBackendCapabilities,
29
29
  getModelProfile,
30
30
  streamWithSegments
31
- } from "./chunk-CUDAT6SS.js";
31
+ } from "./chunk-Y325P6Z4.js";
32
32
  import {
33
33
  getCurrentContextWindowId,
34
34
  getEventStore
35
- } from "./chunk-LHKXWUEK.js";
35
+ } from "./chunk-WNYDTFJO.js";
36
36
  import {
37
37
  buildContextMessagesFromEventHistory,
38
38
  foldContextState,
@@ -47,10 +47,9 @@ import {
47
47
  createChatMessageMessage,
48
48
  createChatMessageUpdatedMessage,
49
49
  createChatPathConfirmationMessage,
50
- createChatToolOutputMessage,
51
50
  createChatVisionFallbackMessage,
52
51
  createQueueStateMessage
53
- } from "./chunk-UF6D2IPO.js";
52
+ } from "./chunk-ZPQDYRQI.js";
54
53
  import {
55
54
  AskUserInterrupt,
56
55
  askUserTool
@@ -710,7 +709,7 @@ async function* streamLLMPure(options) {
710
709
  const unescaped = delta.replace(/\\n/g, "\n").replace(/\\t/g, " ").replace(/\\"/g, '"').replace(/\\\\/g, "\\");
711
710
  yield {
712
711
  type: "tool.output",
713
- data: { toolCallId, stream: "stdout", content: unescaped }
712
+ data: { messageId, toolCallId, stream: "stdout", content: unescaped }
714
713
  };
715
714
  }
716
715
  }
@@ -2651,11 +2650,14 @@ function parseProgressMessage(message) {
2651
2650
  content: match[2]
2652
2651
  };
2653
2652
  }
2654
- function createToolProgressHandler(messageId, callId, onMessage) {
2653
+ function createToolProgressHandler(eventStore, messageId, callId, sessionId) {
2655
2654
  return (message) => {
2656
2655
  const parsed = parseProgressMessage(message);
2657
2656
  if (!parsed) return;
2658
- onMessage(createChatToolOutputMessage(messageId, callId, parsed.content, parsed.stream));
2657
+ eventStore.append(sessionId, {
2658
+ type: "tool.output",
2659
+ data: { messageId, toolCallId: callId, stream: parsed.stream, content: parsed.content }
2660
+ });
2659
2661
  };
2660
2662
  }
2661
2663
 
@@ -2953,6 +2955,35 @@ async function executeToolBatch(assistantMsgId, toolCalls, ctx) {
2953
2955
  for (const toolCall of toolCalls) {
2954
2956
  eventStore.append(ctx.sessionId, createToolCallEvent(assistantMsgId, toolCall));
2955
2957
  }
2958
+ const handleToolExecutionError = async (error, sessionId, startTime) => {
2959
+ if (error instanceof PathAccessDeniedError) {
2960
+ return {
2961
+ success: false,
2962
+ error: `User denied access to ${error.paths.join(", ")}. If you need this file, explain why and ask for permission.`,
2963
+ durationMs: Date.now() - startTime,
2964
+ truncated: false
2965
+ };
2966
+ } else if (error instanceof AskUserInterrupt) {
2967
+ eventStore.append(sessionId, {
2968
+ type: "chat.ask_user",
2969
+ data: { callId: error.callId, question: error.question }
2970
+ });
2971
+ const { awaitAnswer } = await import("./ask-5SSOA6SZ.js");
2972
+ const answerPromise = awaitAnswer(error.callId);
2973
+ if (!answerPromise) {
2974
+ throw new Error(`No pending question found for callId: ${error.callId}`);
2975
+ }
2976
+ const answer = await answerPromise;
2977
+ return {
2978
+ success: true,
2979
+ output: answer,
2980
+ durationMs: Date.now() - startTime,
2981
+ truncated: false
2982
+ };
2983
+ } else {
2984
+ throw error;
2985
+ }
2986
+ };
2956
2987
  const executeTool = async (toolCall, index) => {
2957
2988
  if (ctx.signal?.aborted) {
2958
2989
  throw new Error("Aborted");
@@ -2974,7 +3005,7 @@ async function executeToolBatch(assistantMsgId, toolCalls, ctx) {
2974
3005
  event
2975
3006
  };
2976
3007
  }
2977
- const onProgress = ctx.onMessage ? createToolProgressHandler(assistantMsgId, toolCall.id, ctx.onMessage) : void 0;
3008
+ const onProgress = ctx.onMessage ? createToolProgressHandler(eventStore, assistantMsgId, toolCall.id, ctx.sessionId) : void 0;
2978
3009
  const toolContext = {
2979
3010
  sessionManager: ctx.sessionManager,
2980
3011
  workdir: ctx.workdir,
@@ -2990,37 +3021,12 @@ async function executeToolBatch(assistantMsgId, toolCalls, ctx) {
2990
3021
  if (ctx.dangerLevel) {
2991
3022
  toolContext.dangerLevel = ctx.dangerLevel;
2992
3023
  }
3024
+ const startTime = Date.now();
2993
3025
  let toolResult;
2994
3026
  try {
2995
3027
  toolResult = await ctx.toolRegistry.execute(toolCall.name, toolCall.arguments, toolContext);
2996
3028
  } catch (error) {
2997
- if (error instanceof PathAccessDeniedError) {
2998
- toolResult = {
2999
- success: false,
3000
- error: `User denied access to ${error.paths.join(", ")}. If you need this file, explain why and ask for permission.`,
3001
- durationMs: 0,
3002
- truncated: false
3003
- };
3004
- } else if (error instanceof AskUserInterrupt) {
3005
- eventStore.append(ctx.sessionId, {
3006
- type: "chat.ask_user",
3007
- data: { callId: error.callId, question: error.question }
3008
- });
3009
- const { awaitAnswer } = await import("./ask-5SSOA6SZ.js");
3010
- const answerPromise = awaitAnswer(error.callId);
3011
- if (!answerPromise) {
3012
- throw new Error(`No pending question found for callId: ${error.callId}`);
3013
- }
3014
- const answer = await answerPromise;
3015
- toolResult = {
3016
- success: true,
3017
- output: answer,
3018
- durationMs: 0,
3019
- truncated: false
3020
- };
3021
- } else {
3022
- throw error;
3023
- }
3029
+ toolResult = await handleToolExecutionError(error, ctx.sessionId, startTime);
3024
3030
  }
3025
3031
  ctx.turnMetrics.addToolTime(toolResult.durationMs);
3026
3032
  ctx.onToolExecuted?.(toolCall, toolResult);
@@ -3701,7 +3707,7 @@ var callSubAgentTool = {
3701
3707
  };
3702
3708
  }
3703
3709
  try {
3704
- const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-Y3S6BHBZ.js");
3710
+ const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-PPLFGZCK.js");
3705
3711
  const toolRegistry = getToolRegistryForAgent2(agentDef);
3706
3712
  const turnMetrics = new TurnMetrics();
3707
3713
  const result = await executeSubAgent({
@@ -4890,4 +4896,4 @@ export {
4890
4896
  getToolRegistryForAgent,
4891
4897
  createToolRegistry
4892
4898
  };
4893
- //# sourceMappingURL=chunk-42TLGPX4.js.map
4899
+ //# sourceMappingURL=chunk-XI7JEBNT.js.map
@@ -33,7 +33,7 @@ Options:
33
33
  }
34
34
  async function runNetworkSetup(mode) {
35
35
  const { loadAuthConfig, saveAuthConfig, encryptPassword } = await import("./auth-56SIRACI.js");
36
- const { saveGlobalConfig } = await import("./config-5CONAOL7.js");
36
+ const { saveGlobalConfig } = await import("./config-RIK5T6WK.js");
37
37
  const { getAuthKeyPath } = await import("./paths-X46PPOI2.js");
38
38
  const existingAuth = await loadAuthConfig(mode);
39
39
  if (existingAuth) {
@@ -94,7 +94,7 @@ async function runNetworkSetup(mode) {
94
94
  console.log("\u2713 Configuration saved!\n");
95
95
  }
96
96
  async function runConfig(mode) {
97
- const { loadGlobalConfig, getActiveProvider, getDefaultModel } = await import("./config-5CONAOL7.js");
97
+ const { loadGlobalConfig, getActiveProvider, getDefaultModel } = await import("./config-RIK5T6WK.js");
98
98
  const { getGlobalConfigPath } = await import("./paths-X46PPOI2.js");
99
99
  const config = await loadGlobalConfig(mode);
100
100
  const configPath = getGlobalConfigPath(mode);
@@ -149,7 +149,7 @@ async function runCli(options) {
149
149
  break;
150
150
  }
151
151
  case "provider": {
152
- const { runProviderCommand } = await import("./provider-ESEBV3LL.js");
152
+ const { runProviderCommand } = await import("./provider-AASLIQZJ.js");
153
153
  const [, subcommand] = positionals;
154
154
  await runProviderCommand(mode, subcommand);
155
155
  break;
@@ -185,12 +185,12 @@ async function runCli(options) {
185
185
  break;
186
186
  }
187
187
  default: {
188
- const { configFileExists } = await import("./config-5CONAOL7.js");
188
+ const { configFileExists } = await import("./config-RIK5T6WK.js");
189
189
  const configExists = await configFileExists(mode);
190
190
  if (!configExists) {
191
191
  await runNetworkSetup(mode);
192
192
  }
193
- const { runServe } = await import("./serve-D4NO4GJF.js");
193
+ const { runServe } = await import("./serve-OJPBEKVE.js");
194
194
  const serveOptions = { mode };
195
195
  if (values.port) serveOptions.port = parseInt(values.port);
196
196
  if (values["no-browser"] === true) serveOptions.openBrowser = false;
@@ -202,4 +202,4 @@ async function runCli(options) {
202
202
  export {
203
203
  runCli
204
204
  };
205
- //# sourceMappingURL=chunk-6FOC2GAY.js.map
205
+ //# sourceMappingURL=chunk-Y2LKLZ2V.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  describeImageFromDataUrl
3
- } from "./chunk-BSTVRSV6.js";
3
+ } from "./chunk-C3O6MZJV.js";
4
4
  import {
5
5
  logger
6
6
  } from "./chunk-K44MW7JJ.js";
@@ -801,4 +801,4 @@ export {
801
801
  extractThinking,
802
802
  streamWithSegments
803
803
  };
804
- //# sourceMappingURL=chunk-CUDAT6SS.js.map
804
+ //# sourceMappingURL=chunk-Y325P6Z4.js.map
@@ -206,7 +206,7 @@ function storedEventToServerMessage(event) {
206
206
  }
207
207
  case "tool.output": {
208
208
  const data = event.data;
209
- return createChatToolOutputMessage("", data.toolCallId, data.content, data.stream);
209
+ return createChatToolOutputMessage(data.messageId, data.toolCallId, data.content, data.stream);
210
210
  }
211
211
  case "tool.result": {
212
212
  const data = event.data;
@@ -343,4 +343,4 @@ export {
343
343
  createQueueStateMessage,
344
344
  storedEventToServerMessage
345
345
  };
346
- //# sourceMappingURL=chunk-UF6D2IPO.js.map
346
+ //# sourceMappingURL=chunk-ZPQDYRQI.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-6FOC2GAY.js";
4
+ } from "../chunk-Y2LKLZ2V.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-6FOC2GAY.js";
4
+ } from "../chunk-Y2LKLZ2V.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-K44MW7JJ.js";
@@ -13,11 +13,11 @@ import {
13
13
  saveGlobalConfig,
14
14
  setDefaultModelSelection,
15
15
  trySmartDefaults
16
- } from "./chunk-UKMRZDWM.js";
17
- import "./chunk-TGWEH2BC.js";
18
- import "./chunk-CUDAT6SS.js";
16
+ } from "./chunk-DVNZAJT5.js";
17
+ import "./chunk-NRJOTXHG.js";
18
+ import "./chunk-Y325P6Z4.js";
19
19
  import "./chunk-CQGTEGKL.js";
20
- import "./chunk-BSTVRSV6.js";
20
+ import "./chunk-C3O6MZJV.js";
21
21
  import "./chunk-K44MW7JJ.js";
22
22
  export {
23
23
  activateProvider,
@@ -35,4 +35,4 @@ export {
35
35
  setDefaultModelSelection,
36
36
  trySmartDefaults
37
37
  };
38
- //# sourceMappingURL=config-5CONAOL7.js.map
38
+ //# sourceMappingURL=config-RIK5T6WK.js.map
@@ -37,7 +37,7 @@ import {
37
37
  isStoredEvent,
38
38
  isTurnEvent,
39
39
  truncateSessionMessages
40
- } from "./chunk-LHKXWUEK.js";
40
+ } from "./chunk-WNYDTFJO.js";
41
41
  import "./chunk-KIOUKC3Z.js";
42
42
  import {
43
43
  buildContextMessagesFromEventHistory,
@@ -113,4 +113,4 @@ export {
113
113
  isTurnEvent,
114
114
  truncateSessionMessages
115
115
  };
116
- //# sourceMappingURL=events-QDUOJQML.js.map
116
+ //# sourceMappingURL=events-I7NDHSNU.js.map
@@ -3,7 +3,7 @@ import {
3
3
  runBuilderTurn,
4
4
  runChatTurn,
5
5
  runVerifierTurn
6
- } from "./chunk-SJHWJAJA.js";
6
+ } from "./chunk-WHPOBTTU.js";
7
7
  import {
8
8
  TurnMetrics,
9
9
  createChatDoneEvent,
@@ -11,22 +11,22 @@ import {
11
11
  createMessageStartEvent,
12
12
  createToolCallEvent,
13
13
  createToolResultEvent
14
- } from "./chunk-42TLGPX4.js";
14
+ } from "./chunk-XI7JEBNT.js";
15
15
  import "./chunk-OXI26S7U.js";
16
16
  import "./chunk-CMQCO27Y.js";
17
17
  import "./chunk-DL6ZILAF.js";
18
18
  import "./chunk-PBGOZMVY.js";
19
19
  import "./chunk-VRGRAQDG.js";
20
- import "./chunk-CUDAT6SS.js";
21
- import "./chunk-LHKXWUEK.js";
20
+ import "./chunk-Y325P6Z4.js";
21
+ import "./chunk-WNYDTFJO.js";
22
22
  import "./chunk-KIOUKC3Z.js";
23
23
  import "./chunk-TS5XFQ2D.js";
24
- import "./chunk-UF6D2IPO.js";
24
+ import "./chunk-ZPQDYRQI.js";
25
25
  import "./chunk-BJYPTN5S.js";
26
26
  import "./chunk-NDJ6FKSP.js";
27
27
  import "./chunk-CQGTEGKL.js";
28
28
  import "./chunk-B5AP3RSV.js";
29
- import "./chunk-BSTVRSV6.js";
29
+ import "./chunk-C3O6MZJV.js";
30
30
  import "./chunk-K44MW7JJ.js";
31
31
  export {
32
32
  TurnMetrics,
@@ -40,4 +40,4 @@ export {
40
40
  runChatTurn,
41
41
  runVerifierTurn
42
42
  };
43
- //# sourceMappingURL=orchestrator-NJHSRHZI.js.map
43
+ //# sourceMappingURL=orchestrator-YFHSFYII.js.map
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "1.6.81",
3
+ "version": "1.6.82",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -5,16 +5,16 @@ import {
5
5
  generateSessionName,
6
6
  getSessionMessageCount,
7
7
  needsNameGenerationCheck
8
- } from "./chunk-A5W6JUYZ.js";
8
+ } from "./chunk-D67V55WE.js";
9
9
  import {
10
10
  getEventStore
11
- } from "./chunk-LHKXWUEK.js";
11
+ } from "./chunk-WNYDTFJO.js";
12
12
  import "./chunk-KIOUKC3Z.js";
13
13
  import "./chunk-TS5XFQ2D.js";
14
14
  import {
15
15
  createChatMessageMessage,
16
16
  createSessionRunningMessage
17
- } from "./chunk-UF6D2IPO.js";
17
+ } from "./chunk-ZPQDYRQI.js";
18
18
  import "./chunk-NDJ6FKSP.js";
19
19
  import "./chunk-B5AP3RSV.js";
20
20
  import {
@@ -177,7 +177,7 @@ var QueueProcessor = class {
177
177
  backend: provider?.backend ?? llmClient.getBackend(),
178
178
  model: llmClient.getModel()
179
179
  };
180
- const { runChatTurn } = await import("./orchestrator-NJHSRHZI.js");
180
+ const { runChatTurn } = await import("./orchestrator-YFHSFYII.js");
181
181
  const runChatTurnParams = buildRunChatTurnParams({
182
182
  sessionManager,
183
183
  sessionId,
@@ -221,4 +221,4 @@ var QueueProcessor = class {
221
221
  export {
222
222
  QueueProcessor
223
223
  };
224
- //# sourceMappingURL=processor-3A32D5MI.js.map
224
+ //# sourceMappingURL=processor-EM4BINEJ.js.map
@@ -436,6 +436,7 @@ interface Provider {
436
436
  models: ModelConfig[];
437
437
  isActive: boolean;
438
438
  createdAt: string;
439
+ status?: 'connected' | 'disconnected' | 'unknown';
439
440
  }
440
441
  interface Config {
441
442
  llm: {
@@ -35,7 +35,7 @@ import {
35
35
  parseClientMessage,
36
36
  serializeServerMessage,
37
37
  storedEventToServerMessage
38
- } from "./chunk-UF6D2IPO.js";
38
+ } from "./chunk-ZPQDYRQI.js";
39
39
  import "./chunk-NDJ6FKSP.js";
40
40
  export {
41
41
  createChatAskUserMessage,
@@ -75,4 +75,4 @@ export {
75
75
  serializeServerMessage,
76
76
  storedEventToServerMessage
77
77
  };
78
- //# sourceMappingURL=protocol-IXFNYZEX.js.map
78
+ //# sourceMappingURL=protocol-VVUFP4I7.js.map
@@ -5,18 +5,18 @@ import {
5
5
  loadGlobalConfig,
6
6
  removeProvider,
7
7
  saveGlobalConfig
8
- } from "./chunk-UKMRZDWM.js";
8
+ } from "./chunk-DVNZAJT5.js";
9
9
  import {
10
10
  fetchAvailableModelsFromBackend
11
- } from "./chunk-WR6QCJJO.js";
11
+ } from "./chunk-HJOH367L.js";
12
12
  import {
13
13
  detectModel
14
- } from "./chunk-TGWEH2BC.js";
14
+ } from "./chunk-NRJOTXHG.js";
15
15
  import {
16
16
  detectBackend
17
- } from "./chunk-CUDAT6SS.js";
17
+ } from "./chunk-Y325P6Z4.js";
18
18
  import "./chunk-CQGTEGKL.js";
19
- import "./chunk-BSTVRSV6.js";
19
+ import "./chunk-C3O6MZJV.js";
20
20
  import "./chunk-K44MW7JJ.js";
21
21
 
22
22
  // src/cli/provider.ts
@@ -248,7 +248,7 @@ async function runProviderAdd(mode) {
248
248
  isActive: makeActive
249
249
  });
250
250
  if (makeActive) {
251
- const { setDefaultModelSelection } = await import("./config-5CONAOL7.js");
251
+ const { setDefaultModelSelection } = await import("./config-RIK5T6WK.js");
252
252
  newConfig = setDefaultModelSelection(
253
253
  newConfig,
254
254
  newConfig.providers[newConfig.providers.length - 1].id,
@@ -376,4 +376,4 @@ export {
376
376
  runProviderRemove,
377
377
  runProviderUse
378
378
  };
379
- //# sourceMappingURL=provider-ESEBV3LL.js.map
379
+ //# sourceMappingURL=provider-AASLIQZJ.js.map
@@ -2,25 +2,25 @@ import {
2
2
  getActiveProvider,
3
3
  getDefaultModel,
4
4
  loadGlobalConfig
5
- } from "./chunk-UKMRZDWM.js";
5
+ } from "./chunk-DVNZAJT5.js";
6
6
  import {
7
7
  VERSION,
8
8
  createServer
9
- } from "./chunk-2MHHSLNY.js";
10
- import "./chunk-SJHWJAJA.js";
11
- import "./chunk-42TLGPX4.js";
9
+ } from "./chunk-MDL6USSE.js";
10
+ import "./chunk-WHPOBTTU.js";
11
+ import "./chunk-XI7JEBNT.js";
12
12
  import "./chunk-OXI26S7U.js";
13
13
  import "./chunk-CMQCO27Y.js";
14
14
  import "./chunk-DL6ZILAF.js";
15
15
  import "./chunk-PBGOZMVY.js";
16
16
  import "./chunk-VRGRAQDG.js";
17
- import "./chunk-WR6QCJJO.js";
18
- import "./chunk-TGWEH2BC.js";
19
- import "./chunk-CUDAT6SS.js";
20
- import "./chunk-LHKXWUEK.js";
17
+ import "./chunk-HJOH367L.js";
18
+ import "./chunk-NRJOTXHG.js";
19
+ import "./chunk-Y325P6Z4.js";
20
+ import "./chunk-WNYDTFJO.js";
21
21
  import "./chunk-KIOUKC3Z.js";
22
22
  import "./chunk-TS5XFQ2D.js";
23
- import "./chunk-UF6D2IPO.js";
23
+ import "./chunk-ZPQDYRQI.js";
24
24
  import "./chunk-BJYPTN5S.js";
25
25
  import "./chunk-RGRBWDZP.js";
26
26
  import "./chunk-NDJ6FKSP.js";
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  loadConfig
34
34
  } from "./chunk-B5AP3RSV.js";
35
- import "./chunk-BSTVRSV6.js";
35
+ import "./chunk-C3O6MZJV.js";
36
36
  import {
37
37
  logger
38
38
  } from "./chunk-K44MW7JJ.js";
@@ -190,4 +190,4 @@ async function runServe(options) {
190
190
  export {
191
191
  runServe
192
192
  };
193
- //# sourceMappingURL=serve-D4NO4GJF.js.map
193
+ //# sourceMappingURL=serve-OJPBEKVE.js.map
@@ -1,4 +1,4 @@
1
- import { aO as ToolCall, c as Attachment, T as Diagnostic, an as Provider, a8 as ModelConfig, aA as Session, aJ as SessionSummary, af as Project, aE as SessionMode, aG as SessionPhase, M as Message, K as Criterion, N as CriterionStatus, aw as QueuedMessage, G as ContextState, P as DangerLevel$1, ay as ServerMessage, aL as StatsIdentity, aR as ToolResult, E as Config } from '../protocol-4xbfAlGO.js';
1
+ import { aO as ToolCall, c as Attachment, T as Diagnostic, an as Provider, a8 as ModelConfig, aA as Session, aJ as SessionSummary, af as Project, aE as SessionMode, aG as SessionPhase, M as Message, K as Criterion, N as CriterionStatus, aw as QueuedMessage, G as ContextState, P as DangerLevel$1, ay as ServerMessage, aL as StatsIdentity, aR as ToolResult, E as Config } from '../protocol-OnZRAPeM.js';
2
2
  import { Server } from 'node:http';
3
3
 
4
4
  interface LLMMessage {
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-2MHHSLNY.js";
5
- import "../chunk-SJHWJAJA.js";
6
- import "../chunk-42TLGPX4.js";
4
+ } from "../chunk-MDL6USSE.js";
5
+ import "../chunk-WHPOBTTU.js";
6
+ import "../chunk-XI7JEBNT.js";
7
7
  import "../chunk-OXI26S7U.js";
8
8
  import "../chunk-CMQCO27Y.js";
9
9
  import "../chunk-DL6ZILAF.js";
10
10
  import "../chunk-PBGOZMVY.js";
11
11
  import "../chunk-VRGRAQDG.js";
12
- import "../chunk-WR6QCJJO.js";
13
- import "../chunk-TGWEH2BC.js";
14
- import "../chunk-CUDAT6SS.js";
15
- import "../chunk-LHKXWUEK.js";
12
+ import "../chunk-HJOH367L.js";
13
+ import "../chunk-NRJOTXHG.js";
14
+ import "../chunk-Y325P6Z4.js";
15
+ import "../chunk-WNYDTFJO.js";
16
16
  import "../chunk-KIOUKC3Z.js";
17
17
  import "../chunk-TS5XFQ2D.js";
18
- import "../chunk-UF6D2IPO.js";
18
+ import "../chunk-ZPQDYRQI.js";
19
19
  import "../chunk-BJYPTN5S.js";
20
20
  import "../chunk-RGRBWDZP.js";
21
21
  import "../chunk-NDJ6FKSP.js";
22
22
  import "../chunk-CQGTEGKL.js";
23
23
  import "../chunk-B5AP3RSV.js";
24
- import "../chunk-BSTVRSV6.js";
24
+ import "../chunk-C3O6MZJV.js";
25
25
  import "../chunk-K44MW7JJ.js";
26
26
  export {
27
27
  createServer,
@@ -1,5 +1,5 @@
1
- import { M as Message, S as SessionStats } from '../protocol-4xbfAlGO.js';
2
- export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, c as Attachment, B as BackgroundProcess, d as BackgroundProcessExitedPayload, e as BackgroundProcessOutputPayload, f as BackgroundProcessRemovedPayload, g as BackgroundProcessStartedPayload, h as BackgroundProcessStatus, C as CallStatsDataPoint, i as ChatAskUserPayload, j as ChatDeltaPayload, k as ChatDonePayload, l as ChatErrorPayload, m as ChatFormatRetryPayload, n as ChatMessagePayload, o as ChatMessageUpdatedPayload, p as ChatPathConfirmationPayload, q as ChatProgressPayload, r as ChatSummaryPayload, s as ChatThinkingPayload, t as ChatTodoPayload, u as ChatToolCallPayload, v as ChatToolOutputPayload, w as ChatToolPreparingPayload, x as ChatToolResultPayload, y as ChatVisionFallbackPayload, z as ClientMessage, D as ClientMessageType, E as Config, F as ContextCompactionEvent, G as ContextState, H as ContextStatePayload, I as ContextWindow, J as CriteriaUpdatedPayload, K as Criterion, L as CriterionAttempt, N as CriterionStatus, O as CriterionValidation, P as DangerLevel, Q as DevServerOutputPayload, R as DevServerStatePayload, T as Diagnostic, U as EditContextEdit, V as EditContextLine, W as EditContextRegion, X as ElementData, Y as ErrorPayload, Z as ExecutionState, _ as FileReadEntry, $ as InjectedFile, a0 as LLMCallStats, a1 as LlmBackend, a2 as LogLine, a3 as LspDiagnosticsPayload, a4 as MessageRole, a5 as MessageSegment, a6 as MessageStats, a7 as ModeChangedPayload, a8 as ModelConfig, a9 as ModelSessionStats, aa as PathConfirmPayload, ab as PathConfirmationReason, ac as PendingPathConfirmationPayload, ad as PhaseChangedPayload, ae as PreparingToolCall, af as Project, ag as ProjectDeletedPayload, ah as ProjectListPayload, ai as ProjectStatePayload, aj as PromptContext, ak as PromptContextMessage, al as PromptContextTool, am as PromptRequestOptions, an as Provider, ao as ProviderBackend, ap as ProviderChangedPayload, aq as QueueAddedEvent, ar as QueueCancelledEvent, as as QueueDrainedEvent, at as QueueEvent, au as QueueEventType, av as QueueStatePayload, aw as QueuedMessage, ax as RecentUserPrompt, ay as ServerMessage, az as ServerMessageType, aA as Session, aB as SessionListPayload, aC as SessionLoadPayload, aD as SessionMetadata, aE as SessionMode, aF as SessionNameGeneratedPayload, aG as SessionPhase, aH as SessionRunningPayload, aI as SessionStatePayload, aJ as SessionSummary, aK as StatsDataPoint, aL as StatsIdentity, aM as TaskCompletedPayload, aN as Todo, aO as ToolCall, aP as ToolMode, aQ as ToolName, aR as ToolResult, aS as ValidationResult, aT as createClientMessage, aU as createServerMessage, aV as isClientMessage, aW as isServerMessage } from '../protocol-4xbfAlGO.js';
1
+ import { M as Message, S as SessionStats } from '../protocol-OnZRAPeM.js';
2
+ export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, c as Attachment, B as BackgroundProcess, d as BackgroundProcessExitedPayload, e as BackgroundProcessOutputPayload, f as BackgroundProcessRemovedPayload, g as BackgroundProcessStartedPayload, h as BackgroundProcessStatus, C as CallStatsDataPoint, i as ChatAskUserPayload, j as ChatDeltaPayload, k as ChatDonePayload, l as ChatErrorPayload, m as ChatFormatRetryPayload, n as ChatMessagePayload, o as ChatMessageUpdatedPayload, p as ChatPathConfirmationPayload, q as ChatProgressPayload, r as ChatSummaryPayload, s as ChatThinkingPayload, t as ChatTodoPayload, u as ChatToolCallPayload, v as ChatToolOutputPayload, w as ChatToolPreparingPayload, x as ChatToolResultPayload, y as ChatVisionFallbackPayload, z as ClientMessage, D as ClientMessageType, E as Config, F as ContextCompactionEvent, G as ContextState, H as ContextStatePayload, I as ContextWindow, J as CriteriaUpdatedPayload, K as Criterion, L as CriterionAttempt, N as CriterionStatus, O as CriterionValidation, P as DangerLevel, Q as DevServerOutputPayload, R as DevServerStatePayload, T as Diagnostic, U as EditContextEdit, V as EditContextLine, W as EditContextRegion, X as ElementData, Y as ErrorPayload, Z as ExecutionState, _ as FileReadEntry, $ as InjectedFile, a0 as LLMCallStats, a1 as LlmBackend, a2 as LogLine, a3 as LspDiagnosticsPayload, a4 as MessageRole, a5 as MessageSegment, a6 as MessageStats, a7 as ModeChangedPayload, a8 as ModelConfig, a9 as ModelSessionStats, aa as PathConfirmPayload, ab as PathConfirmationReason, ac as PendingPathConfirmationPayload, ad as PhaseChangedPayload, ae as PreparingToolCall, af as Project, ag as ProjectDeletedPayload, ah as ProjectListPayload, ai as ProjectStatePayload, aj as PromptContext, ak as PromptContextMessage, al as PromptContextTool, am as PromptRequestOptions, an as Provider, ao as ProviderBackend, ap as ProviderChangedPayload, aq as QueueAddedEvent, ar as QueueCancelledEvent, as as QueueDrainedEvent, at as QueueEvent, au as QueueEventType, av as QueueStatePayload, aw as QueuedMessage, ax as RecentUserPrompt, ay as ServerMessage, az as ServerMessageType, aA as Session, aB as SessionListPayload, aC as SessionLoadPayload, aD as SessionMetadata, aE as SessionMode, aF as SessionNameGeneratedPayload, aG as SessionPhase, aH as SessionRunningPayload, aI as SessionStatePayload, aJ as SessionSummary, aK as StatsDataPoint, aL as StatsIdentity, aM as TaskCompletedPayload, aN as Todo, aO as ToolCall, aP as ToolMode, aQ as ToolName, aR as ToolResult, aS as ValidationResult, aT as createClientMessage, aU as createServerMessage, aV as isClientMessage, aW as isServerMessage } from '../protocol-OnZRAPeM.js';
3
3
 
4
4
  /**
5
5
  * Session stats computation - aggregates response-level MessageStats from
@@ -11,17 +11,17 @@ import {
11
11
  requestPathAccess,
12
12
  stepDoneTool,
13
13
  validateToolAction
14
- } from "./chunk-42TLGPX4.js";
14
+ } from "./chunk-XI7JEBNT.js";
15
15
  import "./chunk-OXI26S7U.js";
16
16
  import "./chunk-CMQCO27Y.js";
17
17
  import "./chunk-DL6ZILAF.js";
18
18
  import "./chunk-PBGOZMVY.js";
19
19
  import "./chunk-VRGRAQDG.js";
20
- import "./chunk-CUDAT6SS.js";
21
- import "./chunk-LHKXWUEK.js";
20
+ import "./chunk-Y325P6Z4.js";
21
+ import "./chunk-WNYDTFJO.js";
22
22
  import "./chunk-KIOUKC3Z.js";
23
23
  import "./chunk-TS5XFQ2D.js";
24
- import "./chunk-UF6D2IPO.js";
24
+ import "./chunk-ZPQDYRQI.js";
25
25
  import {
26
26
  AskUserInterrupt,
27
27
  cancelQuestionsForSession,
@@ -30,7 +30,7 @@ import {
30
30
  import "./chunk-NDJ6FKSP.js";
31
31
  import "./chunk-CQGTEGKL.js";
32
32
  import "./chunk-B5AP3RSV.js";
33
- import "./chunk-BSTVRSV6.js";
33
+ import "./chunk-C3O6MZJV.js";
34
34
  import "./chunk-K44MW7JJ.js";
35
35
  export {
36
36
  AskUserInterrupt,
@@ -49,4 +49,4 @@ export {
49
49
  stepDoneTool,
50
50
  validateToolAction
51
51
  };
52
- //# sourceMappingURL=tools-Y3S6BHBZ.js.map
52
+ //# sourceMappingURL=tools-PPLFGZCK.js.map
@@ -7,7 +7,7 @@ import {
7
7
  getVisionFallbackConfig,
8
8
  isVisionFallbackEnabled,
9
9
  setVisionFallbackConfig
10
- } from "./chunk-BSTVRSV6.js";
10
+ } from "./chunk-C3O6MZJV.js";
11
11
  import "./chunk-K44MW7JJ.js";
12
12
  export {
13
13
  clearDescriptionCache,
@@ -19,4 +19,4 @@ export {
19
19
  isVisionFallbackEnabled,
20
20
  setVisionFallbackConfig
21
21
  };
22
- //# sourceMappingURL=vision-fallback-ED27LH6C.js.map
22
+ //# sourceMappingURL=vision-fallback-GMDXLVRN.js.map