openfox 2.0.0-beta.9 → 2.0.0

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 (35) hide show
  1. package/README.md +11 -0
  2. package/dist/{chat-handler-6COBLIDR.js → chat-handler-LJMW4OK3.js} +9 -9
  3. package/dist/{chunk-LR5R7EEE.js → chunk-32GQUDLN.js} +22 -18
  4. package/dist/{chunk-DMH6JVPF.js → chunk-7ZMMDZU7.js} +431 -32
  5. package/dist/{chunk-CDDMHSZF.js → chunk-CK6LGE7G.js} +10 -6
  6. package/dist/{chunk-VIIRNJDT.js → chunk-FFEAEPJB.js} +80 -245
  7. package/dist/{chunk-EZUR7OEP.js → chunk-HPCGVAS4.js} +21 -45
  8. package/dist/{chunk-XJEOP6XU.js → chunk-ITWVFGFV.js} +1 -30
  9. package/dist/{chunk-C75I2KZM.js → chunk-LEDG5WAN.js} +29 -35
  10. package/dist/{chunk-KUG27ZUR.js → chunk-MFUPS6UE.js} +6 -6
  11. package/dist/{chunk-NPHYEUYE.js → chunk-XEK3KII6.js} +55 -4
  12. package/dist/{chunk-J2FFLZ5Z.js → chunk-ZDY4WMZJ.js} +184 -71
  13. package/dist/cli/dev.js +1 -1
  14. package/dist/cli/index.js +1 -1
  15. package/dist/{config-TDVA7MQN.js → config-BU66P4KX.js} +2 -7
  16. package/dist/{events-PQ3KTI5H.js → events-ZKWAKWI7.js} +3 -3
  17. package/dist/{folding-CXORTBAU.js → folding-YOCGTZYH.js} +2 -2
  18. package/dist/{orchestrator-ZNGTMZ7W.js → orchestrator-LX6FKB6L.js} +8 -8
  19. package/dist/package.json +2 -1
  20. package/dist/{processor-WMAU4C2N.js → processor-NMYSEBC7.js} +11 -6
  21. package/dist/{protocol-CDOV1pyc.d.ts → protocol-D59sCy9L.d.ts} +15 -6
  22. package/dist/{provider-BGH4MBLH.js → provider-DTNQYCMV.js} +9 -20
  23. package/dist/provider-manager-LMHAHLIF.js +15 -0
  24. package/dist/{serve-N3LBZUVN.js → serve-SGNL43UL.js} +14 -15
  25. package/dist/server/index.d.ts +22 -16
  26. package/dist/server/index.js +9 -10
  27. package/dist/shared/index.d.ts +2 -2
  28. package/dist/{tools-CQGEU3JK.js → tools-BOE5T3KC.js} +7 -7
  29. package/dist/web/assets/index-Bego8SwT.js +299 -0
  30. package/dist/web/assets/{index-CSOB8dwI.css → index-Sdax8ayU.css} +1 -1
  31. package/dist/web/index.html +2 -2
  32. package/dist/web/sw.js +1 -1
  33. package/package.json +2 -1
  34. package/dist/chunk-UKTPL5ZG.js +0 -469
  35. package/dist/web/assets/index-BJuF4wi7.js +0 -299
@@ -5,11 +5,11 @@ import {
5
5
  generateSessionName,
6
6
  getSessionMessageCount,
7
7
  needsNameGenerationCheck
8
- } from "./chunk-CDDMHSZF.js";
8
+ } from "./chunk-CK6LGE7G.js";
9
9
  import {
10
10
  getEventStore
11
- } from "./chunk-NPHYEUYE.js";
12
- import "./chunk-XJEOP6XU.js";
11
+ } from "./chunk-XEK3KII6.js";
12
+ import "./chunk-ITWVFGFV.js";
13
13
  import {
14
14
  createChatMessageMessage,
15
15
  createSessionRunningMessage
@@ -120,10 +120,15 @@ var QueueProcessor = class {
120
120
  const currentSession = sessionManager.getSession(sessionId);
121
121
  if (currentSession && needsNameGenerationCheck(sessionId, currentSession.metadata.title, messageCount)) {
122
122
  const eventStore = getEventStore();
123
+ const currentModel = this.deps.providerManager.getCurrentModel();
124
+ const modelConfig = currentModel ? this.deps.providerManager.getProviders().flatMap((p) => p.models).find((m) => m.id === currentModel) : void 0;
125
+ const modelSettings = modelConfig ? this.deps.providerManager.getModelSettings(currentModel, "non-thinking") : void 0;
123
126
  generateSessionName({
124
127
  userMessage: nextAsap.content,
125
128
  llmClient: this.deps.getLLMClient(),
126
- signal: controller.signal
129
+ signal: controller.signal,
130
+ ...modelSettings ? { modelSettings } : {},
131
+ ...modelConfig?.nonThinkingEnabled !== void 0 ? { nonThinkingEnabled: modelConfig.nonThinkingEnabled } : {}
127
132
  }).then((result) => {
128
133
  logger.debug("Session name generation result (queue)", {
129
134
  sessionId,
@@ -176,7 +181,7 @@ var QueueProcessor = class {
176
181
  backend: provider?.backend ?? llmClient.getBackend(),
177
182
  model: llmClient.getModel()
178
183
  };
179
- const { runChatTurn } = await import("./orchestrator-ZNGTMZ7W.js");
184
+ const { runChatTurn } = await import("./orchestrator-LX6FKB6L.js");
180
185
  const runChatTurnParams = buildRunChatTurnParams({
181
186
  sessionManager,
182
187
  sessionId,
@@ -220,4 +225,4 @@ var QueueProcessor = class {
220
225
  export {
221
226
  QueueProcessor
222
227
  };
223
- //# sourceMappingURL=processor-WMAU4C2N.js.map
228
+ //# sourceMappingURL=processor-NMYSEBC7.js.map
@@ -238,6 +238,7 @@ interface Message {
238
238
  type: string;
239
239
  name: string;
240
240
  color: string;
241
+ kind?: 'definition' | 'reminder';
241
242
  };
242
243
  }
243
244
  interface ToolCall {
@@ -347,7 +348,6 @@ interface ExecutionState {
347
348
  compactionCount: number;
348
349
  startedAt: string;
349
350
  lastActivityAt: string;
350
- lastModeWithReminder?: string;
351
351
  cachedSystemPrompt?: string;
352
352
  dynamicContextHash?: string;
353
353
  dynamicContextChanged?: boolean;
@@ -390,7 +390,7 @@ interface Diagnostic {
390
390
  /** Supported LLM inference backends */
391
391
  type LlmBackend = 'vllm' | 'sglang' | 'ollama' | 'llamacpp' | 'opencode-go' | 'unknown';
392
392
  /** Extended backend type including cloud providers */
393
- type ProviderBackend = LlmBackend | 'openai' | 'anthropic' | 'auto';
393
+ type ProviderBackend = LlmBackend | 'openai' | 'anthropic';
394
394
  /** Model configuration with context window */
395
395
  interface ModelConfig {
396
396
  id: string;
@@ -401,6 +401,11 @@ interface ModelConfig {
401
401
  topK?: number;
402
402
  maxTokens?: number;
403
403
  supportsVision?: boolean;
404
+ thinkingEnabled?: boolean;
405
+ thinkingLevel?: string;
406
+ nonThinkingEnabled?: boolean;
407
+ thinkingExtraKwargs?: string;
408
+ nonThinkingExtraKwargs?: string;
404
409
  defaultTemperature?: number;
405
410
  defaultTopP?: number;
406
411
  defaultTopK?: number;
@@ -418,6 +423,8 @@ interface Provider {
418
423
  createdAt: string;
419
424
  status?: 'connected' | 'disconnected' | 'unknown';
420
425
  isLocal?: boolean | undefined;
426
+ /** Response field name that contains thinking/reasoning content (e.g., "reasoning_content") */
427
+ thinkingField?: string;
421
428
  }
422
429
  interface Config {
423
430
  llm: {
@@ -425,12 +432,14 @@ interface Config {
425
432
  model: string;
426
433
  timeout: number;
427
434
  idleTimeout: number;
428
- /** Backend type - 'auto' for auto-detection, or explicit backend name */
429
- backend: LlmBackend | 'auto';
435
+ /** Backend type */
436
+ backend: LlmBackend;
430
437
  /** API key for cloud providers */
431
438
  apiKey?: string;
432
- /** Disable thinking/reasoning globally (for e2e tests) */
433
- disableThinking?: boolean;
439
+ /** Reasoning effort level (none, low, medium, high, etc.) */
440
+ reasoningEffort?: string;
441
+ /** Response field name that contains thinking/reasoning content (e.g., "reasoning_content") */
442
+ thinkingField?: string;
434
443
  /** Vision model for image description fallback when primary model lacks vision support */
435
444
  visionModel?: string;
436
445
  };
@@ -1,6 +1,3 @@
1
- import {
2
- fetchAvailableModelsFromBackend
3
- } from "./chunk-DMH6JVPF.js";
4
1
  import {
5
2
  activateProvider,
6
3
  addProvider,
@@ -8,20 +5,18 @@ import {
8
5
  loadGlobalConfig,
9
6
  removeProvider,
10
7
  saveGlobalConfig
11
- } from "./chunk-EZUR7OEP.js";
12
- import {
13
- detectModel
14
- } from "./chunk-UKTPL5ZG.js";
8
+ } from "./chunk-HPCGVAS4.js";
9
+ import "./chunk-CQGTEGKL.js";
15
10
  import {
16
- detectBackend
17
- } from "./chunk-VIIRNJDT.js";
11
+ detectModel,
12
+ fetchAvailableModelsFromBackend
13
+ } from "./chunk-7ZMMDZU7.js";
14
+ import "./chunk-FFEAEPJB.js";
18
15
  import "./chunk-K44MW7JJ.js";
19
- import "./chunk-CQGTEGKL.js";
20
16
 
21
17
  // src/cli/provider.ts
22
18
  import { select, text, password, spinner, log, outro, isCancel, cancel } from "@clack/prompts";
23
19
  var BACKEND_OPTIONS = [
24
- { value: "auto", label: "Auto-detect" },
25
20
  { value: "vllm", label: "vLLM" },
26
21
  { value: "sglang", label: "SGLang" },
27
22
  { value: "ollama", label: "Ollama" },
@@ -87,9 +82,6 @@ async function runProviderAdd(mode) {
87
82
  s.start(`Fetching available models from ${url}...`);
88
83
  let availableModels = [];
89
84
  try {
90
- if (backend === "auto") {
91
- await detectBackend(url);
92
- }
93
85
  availableModels = await fetchAvailableModelsFromBackend(url);
94
86
  s.stop(`Found ${availableModels.length} model(s)`);
95
87
  } catch {
@@ -187,12 +179,9 @@ async function runProviderAdd(mode) {
187
179
  }
188
180
  const testSpinner = spinner();
189
181
  testSpinner.start(`Testing connection to ${url}...`);
190
- let finalBackend = backend;
182
+ const finalBackend = backend;
191
183
  let finalDetectedModel = null;
192
184
  try {
193
- if (backend === "auto") {
194
- finalBackend = await detectBackend(url);
195
- }
196
185
  if (selectedModel === "auto") {
197
186
  finalDetectedModel = await detectModel(url) ?? "auto";
198
187
  }
@@ -263,7 +252,7 @@ async function runProviderAdd(mode) {
263
252
  isActive: makeActive
264
253
  });
265
254
  if (makeActive) {
266
- const { setDefaultModelSelection } = await import("./config-TDVA7MQN.js");
255
+ const { setDefaultModelSelection } = await import("./config-BU66P4KX.js");
267
256
  newConfig = setDefaultModelSelection(
268
257
  newConfig,
269
258
  newConfig.providers[newConfig.providers.length - 1].id,
@@ -391,4 +380,4 @@ export {
391
380
  runProviderRemove,
392
381
  runProviderUse
393
382
  };
394
- //# sourceMappingURL=provider-BGH4MBLH.js.map
383
+ //# sourceMappingURL=provider-DTNQYCMV.js.map
@@ -0,0 +1,15 @@
1
+ import {
2
+ createProviderManager,
3
+ fetchAvailableModelsFromBackend,
4
+ fetchModelsWithContext,
5
+ parseDefaultModelSelection
6
+ } from "./chunk-7ZMMDZU7.js";
7
+ import "./chunk-FFEAEPJB.js";
8
+ import "./chunk-K44MW7JJ.js";
9
+ export {
10
+ createProviderManager,
11
+ fetchAvailableModelsFromBackend,
12
+ fetchModelsWithContext,
13
+ parseDefaultModelSelection
14
+ };
15
+ //# sourceMappingURL=provider-manager-LMHAHLIF.js.map
@@ -1,40 +1,39 @@
1
1
  import {
2
2
  VERSION,
3
3
  createServer
4
- } from "./chunk-J2FFLZ5Z.js";
4
+ } from "./chunk-ZDY4WMZJ.js";
5
5
  import "./chunk-RI6GAMNP.js";
6
- import "./chunk-C75I2KZM.js";
7
- import "./chunk-LR5R7EEE.js";
6
+ import "./chunk-LEDG5WAN.js";
7
+ import "./chunk-32GQUDLN.js";
8
8
  import "./chunk-DL6ZILAF.js";
9
9
  import "./chunk-PBGOZMVY.js";
10
10
  import "./chunk-VRGRAQDG.js";
11
+ import "./chunk-XAMAYRDA.js";
11
12
  import {
12
13
  loadConfig
13
- } from "./chunk-NPHYEUYE.js";
14
- import "./chunk-XJEOP6XU.js";
14
+ } from "./chunk-XEK3KII6.js";
15
+ import "./chunk-ITWVFGFV.js";
15
16
  import "./chunk-7TTEGAO6.js";
16
17
  import "./chunk-BJYPTN5S.js";
17
18
  import "./chunk-RFNEDBVO.js";
18
- import "./chunk-XAMAYRDA.js";
19
19
  import "./chunk-FBGWG4N6.js";
20
20
  import "./chunk-VUQCQXXJ.js";
21
21
  import "./chunk-BVHFMAVN.js";
22
- import "./chunk-DMH6JVPF.js";
23
22
  import {
24
23
  getActiveProvider,
25
24
  getDefaultModel,
26
25
  loadGlobalConfig
27
- } from "./chunk-EZUR7OEP.js";
28
- import "./chunk-UKTPL5ZG.js";
29
- import "./chunk-VIIRNJDT.js";
30
- import {
31
- logger
32
- } from "./chunk-K44MW7JJ.js";
26
+ } from "./chunk-HPCGVAS4.js";
33
27
  import {
34
28
  ensureDataDirExists,
35
29
  getDatabasePath,
36
30
  getGlobalConfigPath
37
31
  } from "./chunk-CQGTEGKL.js";
32
+ import "./chunk-7ZMMDZU7.js";
33
+ import "./chunk-FFEAEPJB.js";
34
+ import {
35
+ logger
36
+ } from "./chunk-K44MW7JJ.js";
38
37
 
39
38
  // src/server/utils/network.ts
40
39
  import os from "os";
@@ -134,7 +133,7 @@ async function runServe(options) {
134
133
  const envBackend = env.llm.backend;
135
134
  const envModel = env.llm.model;
136
135
  const envUrl = env.llm.baseUrl;
137
- const isEnvBackendExplicit = envBackend !== "auto";
136
+ const isEnvBackendExplicit = envBackend !== "unknown";
138
137
  const isEnvModelExplicit = envModel !== "qwen3.5-122b-int4-autoround";
139
138
  const isEnvUrlExplicit = envUrl !== "http://localhost:8000/v1";
140
139
  const providerUrl = activeProvider?.url ?? envUrl;
@@ -189,4 +188,4 @@ async function runServe(options) {
189
188
  export {
190
189
  runServe
191
190
  };
192
- //# sourceMappingURL=serve-N3LBZUVN.js.map
191
+ //# sourceMappingURL=serve-SGNL43UL.js.map
@@ -1,4 +1,4 @@
1
- import { aN as ToolCall, c as Attachment, R as Diagnostic, am as Provider, ab as ModelConfig, az as Session, aI as SessionSummary, ai as Project, aD as SessionMode, aF as SessionPhase, M as Message, J as Criterion, L as CriterionStatus, a8 as MetadataEntry, av as QueuedMessage, F as ContextState, O as DangerLevel$1, ax as ServerMessage, aK as StatsIdentity, aQ as ToolResult, D as Config } from '../protocol-CDOV1pyc.js';
1
+ import { aN as ToolCall, c as Attachment, R as Diagnostic, am as Provider, ab as ModelConfig, az as Session, aI as SessionSummary, ai as Project, aD as SessionMode, aF as SessionPhase, M as Message, J as Criterion, L as CriterionStatus, a8 as MetadataEntry, av as QueuedMessage, F as ContextState, O as DangerLevel$1, ax as ServerMessage, aK as StatsIdentity, aQ as ToolResult, D as Config } from '../protocol-D59sCy9L.js';
2
2
  import { Server } from 'node:http';
3
3
 
4
4
  interface LLMMessage {
@@ -18,6 +18,7 @@ interface LLMToolDefinition {
18
18
  parameters: Record<string, unknown>;
19
19
  };
20
20
  }
21
+ type ReasoningEffort = 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max';
21
22
  interface LLMCompletionRequest {
22
23
  messages: LLMMessage[];
23
24
  tools?: LLMToolDefinition[];
@@ -31,13 +32,14 @@ interface LLMCompletionRequest {
31
32
  maxTokens?: number;
32
33
  stream?: boolean;
33
34
  signal?: AbortSignal;
34
- disableThinking?: boolean;
35
+ reasoningEffort?: ReasoningEffort;
35
36
  modelSettings?: {
36
37
  temperature?: number;
37
38
  topP?: number;
38
39
  topK?: number;
39
40
  maxTokens?: number;
40
41
  supportsVision?: boolean;
42
+ chatTemplateKwargs?: Record<string, unknown>;
41
43
  };
42
44
  }
43
45
  interface LLMCompletionResponse {
@@ -88,10 +90,6 @@ interface ModelProfile {
88
90
  temperature: number;
89
91
  topP: number;
90
92
  topK?: number;
91
- /** Whether the model outputs reasoning/thinking content */
92
- supportsReasoning: boolean;
93
- /** Whether reasoning should be treated as regular content (for broken configs) */
94
- reasoningAsContent: boolean;
95
93
  /** Max tokens to generate if not specified */
96
94
  defaultMaxTokens: number;
97
95
  /** Whether the model supports vision/images */
@@ -99,7 +97,7 @@ interface ModelProfile {
99
97
  }
100
98
 
101
99
  /**
102
- * LLM Backend detection and capabilities.
100
+ * LLM Backend capabilities and display names.
103
101
  * Supports vLLM, SGLang, Ollama, and llama.cpp inference engines.
104
102
  */
105
103
  type Backend = 'vllm' | 'sglang' | 'ollama' | 'llamacpp' | 'opencode-go' | 'unknown';
@@ -132,6 +130,19 @@ interface LspManagerInterface {
132
130
  shutdown(): Promise<void>;
133
131
  }
134
132
 
133
+ interface ModelSettingsUpdate {
134
+ contextWindow?: number;
135
+ temperature?: number | null;
136
+ topP?: number | null;
137
+ topK?: number | null;
138
+ maxTokens?: number | null;
139
+ supportsVision?: boolean;
140
+ thinkingEnabled?: boolean;
141
+ thinkingLevel?: string;
142
+ nonThinkingEnabled?: boolean;
143
+ thinkingExtraKwargs?: string;
144
+ nonThinkingExtraKwargs?: string;
145
+ }
135
146
  interface ProviderManager {
136
147
  getProviders(): Provider[];
137
148
  getActiveProvider(): Provider | undefined;
@@ -158,14 +169,7 @@ interface ProviderManager {
158
169
  success: boolean;
159
170
  error?: string;
160
171
  }>;
161
- updateModelSettings(providerId: string, modelId: string, settings: {
162
- contextWindow?: number;
163
- temperature?: number | null;
164
- topP?: number | null;
165
- topK?: number | null;
166
- maxTokens?: number | null;
167
- supportsVision?: boolean;
168
- }): Promise<{
172
+ updateModelSettings(providerId: string, modelId: string, settings: ModelSettingsUpdate): Promise<{
169
173
  success: boolean;
170
174
  error?: string;
171
175
  model?: ModelConfig;
@@ -174,11 +178,13 @@ interface ProviderManager {
174
178
  success: boolean;
175
179
  error?: string;
176
180
  }>;
177
- getModelSettings(modelId: string): {
181
+ getModelSettings(modelId: string, mode?: 'thinking' | 'non-thinking'): {
178
182
  temperature?: number;
179
183
  topP?: number;
180
184
  topK?: number;
181
185
  maxTokens?: number;
186
+ supportsVision?: boolean;
187
+ chatTemplateKwargs?: Record<string, unknown>;
182
188
  } | undefined;
183
189
  }
184
190
 
@@ -1,27 +1,26 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-J2FFLZ5Z.js";
4
+ } from "../chunk-ZDY4WMZJ.js";
5
5
  import "../chunk-RI6GAMNP.js";
6
- import "../chunk-C75I2KZM.js";
7
- import "../chunk-LR5R7EEE.js";
6
+ import "../chunk-LEDG5WAN.js";
7
+ import "../chunk-32GQUDLN.js";
8
8
  import "../chunk-DL6ZILAF.js";
9
9
  import "../chunk-PBGOZMVY.js";
10
10
  import "../chunk-VRGRAQDG.js";
11
- import "../chunk-NPHYEUYE.js";
12
- import "../chunk-XJEOP6XU.js";
11
+ import "../chunk-XAMAYRDA.js";
12
+ import "../chunk-XEK3KII6.js";
13
+ import "../chunk-ITWVFGFV.js";
13
14
  import "../chunk-7TTEGAO6.js";
14
15
  import "../chunk-BJYPTN5S.js";
15
16
  import "../chunk-RFNEDBVO.js";
16
- import "../chunk-XAMAYRDA.js";
17
17
  import "../chunk-FBGWG4N6.js";
18
18
  import "../chunk-VUQCQXXJ.js";
19
19
  import "../chunk-BVHFMAVN.js";
20
- import "../chunk-DMH6JVPF.js";
21
- import "../chunk-UKTPL5ZG.js";
22
- import "../chunk-VIIRNJDT.js";
23
- import "../chunk-K44MW7JJ.js";
24
20
  import "../chunk-CQGTEGKL.js";
21
+ import "../chunk-7ZMMDZU7.js";
22
+ import "../chunk-FFEAEPJB.js";
23
+ import "../chunk-K44MW7JJ.js";
25
24
  export {
26
25
  createServer,
27
26
  createServerHandle
@@ -1,5 +1,5 @@
1
- import { M as Message, S as SessionStats } from '../protocol-CDOV1pyc.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 ChatThinkingPayload, s as ChatTodoPayload, t as ChatToolCallPayload, u as ChatToolOutputPayload, v as ChatToolPreparingPayload, w as ChatToolResultPayload, x as ChatVisionFallbackPayload, y as ClientMessage, z as ClientMessageType, D as Config, E as ContextCompactionEvent, F as ContextState, G as ContextStatePayload, H as ContextWindow, I as CriteriaUpdatedPayload, J as Criterion, K as CriterionAttempt, L as CriterionStatus, N as CriterionValidation, O as DangerLevel, P as DevServerOutputPayload, Q as DevServerStatePayload, R as Diagnostic, T as EditContextEdit, U as EditContextLine, V as EditContextRegion, W as ElementData, X as ErrorPayload, Y as ExecutionState, Z as FileReadEntry, _ as GitDiffFile, $ as GitStatusPayload, a0 as InjectedFile, a1 as LLMCallStats, a2 as LlmBackend, a3 as LogLine, a4 as LspDiagnosticsPayload, a5 as MessageRole, a6 as MessageSegment, a7 as MessageStats, a8 as MetadataEntry, a9 as MetadataUpdatedPayload, aa as ModeChangedPayload, ab as ModelConfig, ac as ModelSessionStats, ad as PathConfirmPayload, ae as PathConfirmationReason, af as PendingPathConfirmationPayload, ag as PhaseChangedPayload, ah as PreparingToolCall, ai as Project, aj as ProjectDeletedPayload, ak as ProjectListPayload, al as ProjectStatePayload, am as Provider, an as ProviderBackend, ao as ProviderChangedPayload, ap as QueueAddedEvent, aq as QueueCancelledEvent, ar as QueueDrainedEvent, as as QueueEvent, at as QueueEventType, au as QueueStatePayload, av as QueuedMessage, aw as RecentUserPrompt, ax as ServerMessage, ay as ServerMessageType, az as Session, aA as SessionListPayload, aB as SessionLoadPayload, aC as SessionMetadata, aD as SessionMode, aE as SessionNameGeneratedPayload, aF as SessionPhase, aG as SessionRunningPayload, aH as SessionStatePayload, aI as SessionSummary, aJ as StatsDataPoint, aK as StatsIdentity, aL as TaskCompletedPayload, aM as Todo, aN as ToolCall, aO as ToolMode, aP as ToolName, aQ as ToolResult, aR as ValidationResult, aS as createClientMessage, aT as createServerMessage, aU as isClientMessage, aV as isServerMessage } from '../protocol-CDOV1pyc.js';
1
+ import { M as Message, S as SessionStats } from '../protocol-D59sCy9L.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 ChatThinkingPayload, s as ChatTodoPayload, t as ChatToolCallPayload, u as ChatToolOutputPayload, v as ChatToolPreparingPayload, w as ChatToolResultPayload, x as ChatVisionFallbackPayload, y as ClientMessage, z as ClientMessageType, D as Config, E as ContextCompactionEvent, F as ContextState, G as ContextStatePayload, H as ContextWindow, I as CriteriaUpdatedPayload, J as Criterion, K as CriterionAttempt, L as CriterionStatus, N as CriterionValidation, O as DangerLevel, P as DevServerOutputPayload, Q as DevServerStatePayload, R as Diagnostic, T as EditContextEdit, U as EditContextLine, V as EditContextRegion, W as ElementData, X as ErrorPayload, Y as ExecutionState, Z as FileReadEntry, _ as GitDiffFile, $ as GitStatusPayload, a0 as InjectedFile, a1 as LLMCallStats, a2 as LlmBackend, a3 as LogLine, a4 as LspDiagnosticsPayload, a5 as MessageRole, a6 as MessageSegment, a7 as MessageStats, a8 as MetadataEntry, a9 as MetadataUpdatedPayload, aa as ModeChangedPayload, ab as ModelConfig, ac as ModelSessionStats, ad as PathConfirmPayload, ae as PathConfirmationReason, af as PendingPathConfirmationPayload, ag as PhaseChangedPayload, ah as PreparingToolCall, ai as Project, aj as ProjectDeletedPayload, ak as ProjectListPayload, al as ProjectStatePayload, am as Provider, an as ProviderBackend, ao as ProviderChangedPayload, ap as QueueAddedEvent, aq as QueueCancelledEvent, ar as QueueDrainedEvent, as as QueueEvent, at as QueueEventType, au as QueueStatePayload, av as QueuedMessage, aw as RecentUserPrompt, ax as ServerMessage, ay as ServerMessageType, az as Session, aA as SessionListPayload, aB as SessionLoadPayload, aC as SessionMetadata, aD as SessionMode, aE as SessionNameGeneratedPayload, aF as SessionPhase, aG as SessionRunningPayload, aH as SessionStatePayload, aI as SessionSummary, aJ as StatsDataPoint, aK as StatsIdentity, aL as TaskCompletedPayload, aM as Todo, aN as ToolCall, aO as ToolMode, aP as ToolName, aQ as ToolResult, aR as ValidationResult, aS as createClientMessage, aT as createServerMessage, aU as isClientMessage, aV as isServerMessage } from '../protocol-D59sCy9L.js';
3
3
 
4
4
  /**
5
5
  * Session stats computation - aggregates response-level MessageStats from
@@ -11,12 +11,13 @@ import {
11
11
  requestPathAccess,
12
12
  stepDoneTool,
13
13
  validateToolAction
14
- } from "./chunk-LR5R7EEE.js";
14
+ } from "./chunk-32GQUDLN.js";
15
15
  import "./chunk-DL6ZILAF.js";
16
16
  import "./chunk-PBGOZMVY.js";
17
17
  import "./chunk-VRGRAQDG.js";
18
- import "./chunk-NPHYEUYE.js";
19
- import "./chunk-XJEOP6XU.js";
18
+ import "./chunk-XAMAYRDA.js";
19
+ import "./chunk-XEK3KII6.js";
20
+ import "./chunk-ITWVFGFV.js";
20
21
  import "./chunk-7TTEGAO6.js";
21
22
  import {
22
23
  AskUserInterrupt,
@@ -24,12 +25,11 @@ import {
24
25
  provideAnswer
25
26
  } from "./chunk-BJYPTN5S.js";
26
27
  import "./chunk-RFNEDBVO.js";
27
- import "./chunk-XAMAYRDA.js";
28
28
  import "./chunk-FBGWG4N6.js";
29
29
  import "./chunk-BVHFMAVN.js";
30
- import "./chunk-VIIRNJDT.js";
31
- import "./chunk-K44MW7JJ.js";
32
30
  import "./chunk-CQGTEGKL.js";
31
+ import "./chunk-FFEAEPJB.js";
32
+ import "./chunk-K44MW7JJ.js";
33
33
  export {
34
34
  AskUserInterrupt,
35
35
  PathAccessDeniedError,
@@ -47,4 +47,4 @@ export {
47
47
  stepDoneTool,
48
48
  validateToolAction
49
49
  };
50
- //# sourceMappingURL=tools-CQGEU3JK.js.map
50
+ //# sourceMappingURL=tools-BOE5T3KC.js.map