openfox 2.0.0-beta.0 → 2.0.0-beta.10

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 (48) hide show
  1. package/dist/agent-defaults/code-reviewer.agent.md +2 -1
  2. package/dist/{chat-handler-IVIWOR3D.js → chat-handler-6COBLIDR.js} +14 -27
  3. package/dist/{chunk-CEZNMLOO.js → chunk-7TTEGAO6.js} +12 -13
  4. package/dist/{chunk-JZQ644DE.js → chunk-BE2S4NJX.js} +6 -6
  5. package/dist/{chunk-FQLK5GL5.js → chunk-BVHFMAVN.js} +1 -1
  6. package/dist/{chunk-UFY4I643.js → chunk-C75I2KZM.js} +135 -147
  7. package/dist/{chunk-QFSSKIQ3.js → chunk-CDDMHSZF.js} +4 -4
  8. package/dist/{chunk-RF2JGDSS.js → chunk-DMH6JVPF.js} +13 -10
  9. package/dist/{chunk-NNEHZT3V.js → chunk-EZUR7OEP.js} +11 -3
  10. package/dist/{chunk-CTQ2FS4K.js → chunk-G4SACK4E.js} +221 -104
  11. package/dist/{chunk-ALH4KM2Y.js → chunk-LR5R7EEE.js} +2962 -3249
  12. package/dist/{chunk-XKR3HCAL.js → chunk-NPHYEUYE.js} +128 -34
  13. package/dist/{chunk-PSJIT5LZ.js → chunk-RFNEDBVO.js} +4 -4
  14. package/dist/chunk-RI6GAMNP.js +13 -0
  15. package/dist/{chunk-HHAJ3QF6.js → chunk-UKTPL5ZG.js} +16 -28
  16. package/dist/{chunk-HGAMIPFO.js → chunk-VIIRNJDT.js} +39 -178
  17. package/dist/{chunk-NONI4CRP.js → chunk-XJEOP6XU.js} +5 -32
  18. package/dist/cli/dev.js +1 -1
  19. package/dist/cli/index.js +1 -1
  20. package/dist/compactor-TDNRM3A7.js +9 -0
  21. package/dist/{config-YU7NYZYG.js → config-TDVA7MQN.js} +9 -8
  22. package/dist/{events-OHJWCI3S.js → events-PQ3KTI5H.js} +8 -7
  23. package/dist/{folding-U6UHQAS5.js → folding-CXORTBAU.js} +2 -2
  24. package/dist/{orchestrator-7ZXM4J22.js → orchestrator-ZNGTMZ7W.js} +18 -22
  25. package/dist/package.json +1 -1
  26. package/dist/{processor-TKBJLQ2N.js → processor-WMAU4C2N.js} +8 -9
  27. package/dist/{protocol-BQ12Aw5J.d.ts → protocol-CDOV1pyc.d.ts} +13 -38
  28. package/dist/{protocol-K62EPEGS.js → protocol-CN24IKQN.js} +3 -5
  29. package/dist/{provider-HTJEB3ON.js → provider-BGH4MBLH.js} +25 -10
  30. package/dist/{serve-FGPHMDOC.js → serve-7VMTNIXT.js} +25 -26
  31. package/dist/server/index.d.ts +1 -6
  32. package/dist/server/index.js +15 -16
  33. package/dist/{settings-VRAOAPLA.js → settings-6XX56F3F.js} +2 -2
  34. package/dist/shared/index.d.ts +2 -2
  35. package/dist/shared/index.js +1 -1
  36. package/dist/{tools-Z7X4HXZN.js → tools-CQGEU3JK.js} +11 -13
  37. package/dist/web/assets/index-BF6jgTAb.js +299 -0
  38. package/dist/web/assets/{index-BY8EbT5Z.css → index-CSOB8dwI.css} +1 -1
  39. package/dist/web/index.html +2 -2
  40. package/dist/web/sw.js +1 -1
  41. package/dist/workflow-defaults/default.workflow.json +18 -4
  42. package/package.json +1 -1
  43. package/dist/auto-compaction-UIWTO3H5.js +0 -27
  44. package/dist/chunk-CGZHLM3K.js +0 -70
  45. package/dist/chunk-SZKEGZIB.js +0 -140
  46. package/dist/runtime-config-NPSPMRDA.js +0 -9
  47. package/dist/vision-fallback-3MIZZ6NQ.js +0 -22
  48. package/dist/web/assets/index-BDezz42a.js +0 -299
@@ -5,18 +5,17 @@ import {
5
5
  generateSessionName,
6
6
  getSessionMessageCount,
7
7
  needsNameGenerationCheck
8
- } from "./chunk-QFSSKIQ3.js";
8
+ } from "./chunk-CDDMHSZF.js";
9
9
  import {
10
10
  getEventStore
11
- } from "./chunk-XKR3HCAL.js";
12
- import "./chunk-FBGWG4N6.js";
13
- import "./chunk-NONI4CRP.js";
11
+ } from "./chunk-NPHYEUYE.js";
12
+ import "./chunk-XJEOP6XU.js";
14
13
  import {
15
14
  createChatMessageMessage,
16
15
  createSessionRunningMessage
17
- } from "./chunk-CEZNMLOO.js";
18
- import "./chunk-FQLK5GL5.js";
19
- import "./chunk-CGZHLM3K.js";
16
+ } from "./chunk-7TTEGAO6.js";
17
+ import "./chunk-FBGWG4N6.js";
18
+ import "./chunk-BVHFMAVN.js";
20
19
  import {
21
20
  logger
22
21
  } from "./chunk-K44MW7JJ.js";
@@ -177,7 +176,7 @@ var QueueProcessor = class {
177
176
  backend: provider?.backend ?? llmClient.getBackend(),
178
177
  model: llmClient.getModel()
179
178
  };
180
- const { runChatTurn } = await import("./orchestrator-7ZXM4J22.js");
179
+ const { runChatTurn } = await import("./orchestrator-ZNGTMZ7W.js");
181
180
  const runChatTurnParams = buildRunChatTurnParams({
182
181
  sessionManager,
183
182
  sessionId,
@@ -221,4 +220,4 @@ var QueueProcessor = class {
221
220
  export {
222
221
  QueueProcessor
223
222
  };
224
- //# sourceMappingURL=processor-TKBJLQ2N.js.map
223
+ //# sourceMappingURL=processor-WMAU4C2N.js.map
@@ -191,41 +191,6 @@ interface ModelSessionStats extends StatsIdentity {
191
191
  dataPoints: StatsDataPoint[];
192
192
  callDataPoints: CallStatsDataPoint[];
193
193
  }
194
- interface PromptContext {
195
- systemPrompt: string;
196
- injectedFiles: InjectedFile[];
197
- userMessage: string;
198
- messages: PromptContextMessage[];
199
- tools: PromptContextTool[];
200
- requestOptions: PromptRequestOptions;
201
- }
202
- interface PromptContextMessage {
203
- role: 'user' | 'assistant' | 'tool';
204
- content: string;
205
- thinkingContent?: string;
206
- source: 'history' | 'runtime';
207
- toolCalls?: Array<{
208
- id: string;
209
- name: string;
210
- arguments: Record<string, unknown>;
211
- }>;
212
- toolCallId?: string;
213
- attachments?: Attachment[];
214
- }
215
- interface PromptContextTool {
216
- name: string;
217
- description: string;
218
- parameters: Record<string, unknown>;
219
- }
220
- interface PromptRequestOptions {
221
- toolChoice: 'auto' | 'none' | 'required' | {
222
- type: 'function';
223
- function: {
224
- name: string;
225
- };
226
- };
227
- disableThinking: boolean;
228
- }
229
194
  interface InjectedFile {
230
195
  path: string;
231
196
  content: string;
@@ -268,7 +233,6 @@ interface Message {
268
233
  isCompactionSummary?: boolean;
269
234
  subAgentId?: string;
270
235
  subAgentType?: string;
271
- promptContext?: PromptContext;
272
236
  attachments?: Attachment[];
273
237
  metadata?: {
274
238
  type: string;
@@ -453,6 +417,7 @@ interface Provider {
453
417
  isActive: boolean;
454
418
  createdAt: string;
455
419
  status?: 'connected' | 'disconnected' | 'unknown';
420
+ isLocal?: boolean | undefined;
456
421
  }
457
422
  interface Config {
458
423
  llm: {
@@ -466,6 +431,8 @@ interface Config {
466
431
  apiKey?: string;
467
432
  /** Disable thinking/reasoning globally (for e2e tests) */
468
433
  disableThinking?: boolean;
434
+ /** Vision model for image description fallback when primary model lacks vision support */
435
+ visionModel?: string;
469
436
  };
470
437
  context: {
471
438
  maxTokens: number;
@@ -476,6 +443,11 @@ interface Config {
476
443
  maxIterations: number;
477
444
  maxConsecutiveFailures: number;
478
445
  toolTimeout: number;
446
+ /** Auto-loop patterns: when LLM response matches, auto-inject a response */
447
+ autoPatterns?: Array<{
448
+ pattern: string;
449
+ response: string;
450
+ }>;
479
451
  };
480
452
  server: {
481
453
  port: number;
@@ -621,6 +593,9 @@ interface ChatProgressPayload {
621
593
  interface ChatFormatRetryPayload {
622
594
  attempt: number;
623
595
  maxAttempts: number;
596
+ pattern?: string;
597
+ field?: string;
598
+ matchedContent?: string;
624
599
  }
625
600
  interface ChatVisionFallbackPayload {
626
601
  type: 'start' | 'done';
@@ -634,7 +609,7 @@ interface ChatMessagePayload {
634
609
  }
635
610
  interface ChatMessageUpdatedPayload {
636
611
  messageId: string;
637
- updates: Partial<Pick<Message, 'content' | 'thinkingContent' | 'toolCalls' | 'isStreaming' | 'stats' | 'promptContext' | 'partial'>>;
612
+ updates: Partial<Pick<Message, 'content' | 'thinkingContent' | 'toolCalls' | 'isStreaming' | 'stats' | 'partial'>>;
638
613
  }
639
614
  interface ChatDonePayload {
640
615
  messageId: string;
@@ -876,4 +851,4 @@ interface QueueCancelledEvent {
876
851
  }
877
852
  type QueueEvent = QueueAddedEvent | QueueDrainedEvent | QueueCancelledEvent;
878
853
 
879
- export { type GitStatusPayload as $, type AgentEvent as A, type BackgroundProcess as B, type CallStatsDataPoint as C, type Config as D, type ContextCompactionEvent as E, type ContextState as F, type ContextStatePayload as G, type ContextWindow as H, type CriteriaUpdatedPayload as I, type Criterion as J, type CriterionAttempt as K, type CriterionStatus as L, type Message as M, type CriterionValidation as N, type DangerLevel as O, type DevServerOutputPayload as P, type DevServerStatePayload as Q, type Diagnostic as R, type SessionStats as S, type EditContextEdit as T, type EditContextLine as U, type EditContextRegion as V, type ElementData as W, type ErrorPayload as X, type ExecutionState as Y, type FileReadEntry as Z, type GitDiffFile as _, type AskAnswerPayload as a, type InjectedFile as a0, type LLMCallStats as a1, type LlmBackend as a2, type LogLine as a3, type LspDiagnosticsPayload as a4, type MessageRole as a5, type MessageSegment as a6, type MessageStats as a7, type MetadataEntry as a8, type MetadataUpdatedPayload as a9, type RecentUserPrompt as aA, type ServerMessage as aB, type ServerMessageType as aC, type Session as aD, type SessionListPayload as aE, type SessionLoadPayload as aF, type SessionMetadata as aG, type SessionMode as aH, type SessionNameGeneratedPayload as aI, type SessionPhase as aJ, type SessionRunningPayload as aK, type SessionStatePayload as aL, type SessionSummary as aM, type StatsDataPoint as aN, type StatsIdentity as aO, type TaskCompletedPayload as aP, type Todo as aQ, type ToolCall as aR, type ToolMode as aS, type ToolName as aT, type ToolResult as aU, type ValidationResult as aV, createClientMessage as aW, createServerMessage as aX, isClientMessage as aY, isServerMessage as aZ, type ModeChangedPayload as aa, type ModelConfig as ab, type ModelSessionStats as ac, type PathConfirmPayload as ad, type PathConfirmationReason as ae, type PendingPathConfirmationPayload as af, type PhaseChangedPayload as ag, type PreparingToolCall as ah, type Project as ai, type ProjectDeletedPayload as aj, type ProjectListPayload as ak, type ProjectStatePayload as al, type PromptContext as am, type PromptContextMessage as an, type PromptContextTool as ao, type PromptRequestOptions as ap, type Provider as aq, type ProviderBackend as ar, type ProviderChangedPayload as as, type QueueAddedEvent as at, type QueueCancelledEvent as au, type QueueDrainedEvent as av, type QueueEvent as aw, type QueueEventType as ax, type QueueStatePayload as ay, type QueuedMessage as az, type AskUserEvent as b, type Attachment as c, type BackgroundProcessExitedPayload as d, type BackgroundProcessOutputPayload as e, type BackgroundProcessRemovedPayload as f, type BackgroundProcessStartedPayload as g, type BackgroundProcessStatus as h, type ChatAskUserPayload as i, type ChatDeltaPayload as j, type ChatDonePayload as k, type ChatErrorPayload as l, type ChatFormatRetryPayload as m, type ChatMessagePayload as n, type ChatMessageUpdatedPayload as o, type ChatPathConfirmationPayload as p, type ChatProgressPayload as q, type ChatThinkingPayload as r, type ChatTodoPayload as s, type ChatToolCallPayload as t, type ChatToolOutputPayload as u, type ChatToolPreparingPayload as v, type ChatToolResultPayload as w, type ChatVisionFallbackPayload as x, type ClientMessage as y, type ClientMessageType as z };
854
+ export { type GitStatusPayload as $, type AgentEvent as A, type BackgroundProcess as B, type CallStatsDataPoint as C, type Config as D, type ContextCompactionEvent as E, type ContextState as F, type ContextStatePayload as G, type ContextWindow as H, type CriteriaUpdatedPayload as I, type Criterion as J, type CriterionAttempt as K, type CriterionStatus as L, type Message as M, type CriterionValidation as N, type DangerLevel as O, type DevServerOutputPayload as P, type DevServerStatePayload as Q, type Diagnostic as R, type SessionStats as S, type EditContextEdit as T, type EditContextLine as U, type EditContextRegion as V, type ElementData as W, type ErrorPayload as X, type ExecutionState as Y, type FileReadEntry as Z, type GitDiffFile as _, type AskAnswerPayload as a, type InjectedFile as a0, type LLMCallStats as a1, type LlmBackend as a2, type LogLine as a3, type LspDiagnosticsPayload as a4, type MessageRole as a5, type MessageSegment as a6, type MessageStats as a7, type MetadataEntry as a8, type MetadataUpdatedPayload as a9, type SessionListPayload as aA, type SessionLoadPayload as aB, type SessionMetadata as aC, type SessionMode as aD, type SessionNameGeneratedPayload as aE, type SessionPhase as aF, type SessionRunningPayload as aG, type SessionStatePayload as aH, type SessionSummary as aI, type StatsDataPoint as aJ, type StatsIdentity as aK, type TaskCompletedPayload as aL, type Todo as aM, type ToolCall as aN, type ToolMode as aO, type ToolName as aP, type ToolResult as aQ, type ValidationResult as aR, createClientMessage as aS, createServerMessage as aT, isClientMessage as aU, isServerMessage as aV, type ModeChangedPayload as aa, type ModelConfig as ab, type ModelSessionStats as ac, type PathConfirmPayload as ad, type PathConfirmationReason as ae, type PendingPathConfirmationPayload as af, type PhaseChangedPayload as ag, type PreparingToolCall as ah, type Project as ai, type ProjectDeletedPayload as aj, type ProjectListPayload as ak, type ProjectStatePayload as al, type Provider as am, type ProviderBackend as an, type ProviderChangedPayload as ao, type QueueAddedEvent as ap, type QueueCancelledEvent as aq, type QueueDrainedEvent as ar, type QueueEvent as as, type QueueEventType as at, type QueueStatePayload as au, type QueuedMessage as av, type RecentUserPrompt as aw, type ServerMessage as ax, type ServerMessageType as ay, type Session as az, type AskUserEvent as b, type Attachment as c, type BackgroundProcessExitedPayload as d, type BackgroundProcessOutputPayload as e, type BackgroundProcessRemovedPayload as f, type BackgroundProcessStartedPayload as g, type BackgroundProcessStatus as h, type ChatAskUserPayload as i, type ChatDeltaPayload as j, type ChatDonePayload as k, type ChatErrorPayload as l, type ChatFormatRetryPayload as m, type ChatMessagePayload as n, type ChatMessageUpdatedPayload as o, type ChatPathConfirmationPayload as p, type ChatProgressPayload as q, type ChatThinkingPayload as r, type ChatTodoPayload as s, type ChatToolCallPayload as t, type ChatToolOutputPayload as u, type ChatToolPreparingPayload as v, type ChatToolResultPayload as w, type ChatVisionFallbackPayload as x, type ClientMessage as y, type ClientMessageType as z };
@@ -14,7 +14,6 @@ import {
14
14
  createChatToolOutputMessage,
15
15
  createChatToolPreparingMessage,
16
16
  createChatToolResultMessage,
17
- createChatVisionFallbackMessage,
18
17
  createContextStateMessage,
19
18
  createCriteriaUpdatedMessage,
20
19
  createErrorMessage,
@@ -36,8 +35,8 @@ import {
36
35
  parseClientMessage,
37
36
  serializeServerMessage,
38
37
  storedEventToServerMessage
39
- } from "./chunk-CEZNMLOO.js";
40
- import "./chunk-FQLK5GL5.js";
38
+ } from "./chunk-7TTEGAO6.js";
39
+ import "./chunk-BVHFMAVN.js";
41
40
  export {
42
41
  createChatAskUserMessage,
43
42
  createChatDeltaMessage,
@@ -54,7 +53,6 @@ export {
54
53
  createChatToolOutputMessage,
55
54
  createChatToolPreparingMessage,
56
55
  createChatToolResultMessage,
57
- createChatVisionFallbackMessage,
58
56
  createContextStateMessage,
59
57
  createCriteriaUpdatedMessage,
60
58
  createErrorMessage,
@@ -77,4 +75,4 @@ export {
77
75
  serializeServerMessage,
78
76
  storedEventToServerMessage
79
77
  };
80
- //# sourceMappingURL=protocol-K62EPEGS.js.map
78
+ //# sourceMappingURL=protocol-CN24IKQN.js.map
@@ -1,3 +1,6 @@
1
+ import {
2
+ fetchAvailableModelsFromBackend
3
+ } from "./chunk-DMH6JVPF.js";
1
4
  import {
2
5
  activateProvider,
3
6
  addProvider,
@@ -5,19 +8,15 @@ import {
5
8
  loadGlobalConfig,
6
9
  removeProvider,
7
10
  saveGlobalConfig
8
- } from "./chunk-NNEHZT3V.js";
9
- import {
10
- fetchAvailableModelsFromBackend
11
- } from "./chunk-RF2JGDSS.js";
11
+ } from "./chunk-EZUR7OEP.js";
12
12
  import {
13
13
  detectModel
14
- } from "./chunk-HHAJ3QF6.js";
14
+ } from "./chunk-UKTPL5ZG.js";
15
15
  import {
16
16
  detectBackend
17
- } from "./chunk-HGAMIPFO.js";
18
- import "./chunk-CQGTEGKL.js";
19
- import "./chunk-SZKEGZIB.js";
17
+ } from "./chunk-VIIRNJDT.js";
20
18
  import "./chunk-K44MW7JJ.js";
19
+ import "./chunk-CQGTEGKL.js";
21
20
 
22
21
  // src/cli/provider.ts
23
22
  import { select, text, password, spinner, log, outro, isCancel, cancel } from "@clack/prompts";
@@ -138,6 +137,21 @@ async function runProviderAdd(mode) {
138
137
  }
139
138
  }
140
139
  }
140
+ const localBackends = /* @__PURE__ */ new Set(["vllm", "sglang", "ollama", "llamacpp", "opencode-go"]);
141
+ const defaultIsLocal = localBackends.has(backend);
142
+ const isLocalChoice = await select({
143
+ message: "Is this a local provider?",
144
+ options: [
145
+ { value: "yes", label: "Yes" },
146
+ { value: "no", label: "No" }
147
+ ],
148
+ initialValue: defaultIsLocal ? "yes" : "no"
149
+ });
150
+ if (isCancel(isLocalChoice)) {
151
+ cancel("Cancelled");
152
+ return;
153
+ }
154
+ const isLocal = isLocalChoice === "yes";
141
155
  let apiKey;
142
156
  if (backend === "openai" || backend === "anthropic") {
143
157
  const key = await password({
@@ -244,11 +258,12 @@ async function runProviderAdd(mode) {
244
258
  url,
245
259
  backend: finalBackend,
246
260
  apiKey,
261
+ isLocal,
247
262
  models,
248
263
  isActive: makeActive
249
264
  });
250
265
  if (makeActive) {
251
- const { setDefaultModelSelection } = await import("./config-YU7NYZYG.js");
266
+ const { setDefaultModelSelection } = await import("./config-TDVA7MQN.js");
252
267
  newConfig = setDefaultModelSelection(
253
268
  newConfig,
254
269
  newConfig.providers[newConfig.providers.length - 1].id,
@@ -376,4 +391,4 @@ export {
376
391
  runProviderRemove,
377
392
  runProviderUse
378
393
  };
379
- //# sourceMappingURL=provider-HTJEB3ON.js.map
394
+ //# sourceMappingURL=provider-BGH4MBLH.js.map
@@ -1,41 +1,40 @@
1
- import {
2
- getActiveProvider,
3
- getDefaultModel,
4
- loadGlobalConfig
5
- } from "./chunk-NNEHZT3V.js";
6
1
  import {
7
2
  VERSION,
8
3
  createServer
9
- } from "./chunk-CTQ2FS4K.js";
10
- import "./chunk-UFY4I643.js";
11
- import "./chunk-ALH4KM2Y.js";
12
- import "./chunk-PSJIT5LZ.js";
13
- import "./chunk-XAMAYRDA.js";
4
+ } from "./chunk-G4SACK4E.js";
5
+ import "./chunk-RI6GAMNP.js";
6
+ import "./chunk-C75I2KZM.js";
7
+ import "./chunk-LR5R7EEE.js";
14
8
  import "./chunk-DL6ZILAF.js";
15
9
  import "./chunk-PBGOZMVY.js";
16
10
  import "./chunk-VRGRAQDG.js";
17
- import "./chunk-RF2JGDSS.js";
18
- import "./chunk-HHAJ3QF6.js";
19
- import "./chunk-HGAMIPFO.js";
20
- import "./chunk-XKR3HCAL.js";
21
- import "./chunk-FBGWG4N6.js";
22
- import "./chunk-NONI4CRP.js";
23
- import "./chunk-CEZNMLOO.js";
11
+ import {
12
+ loadConfig
13
+ } from "./chunk-NPHYEUYE.js";
14
+ import "./chunk-XJEOP6XU.js";
15
+ import "./chunk-7TTEGAO6.js";
24
16
  import "./chunk-BJYPTN5S.js";
17
+ import "./chunk-RFNEDBVO.js";
18
+ import "./chunk-XAMAYRDA.js";
19
+ import "./chunk-FBGWG4N6.js";
25
20
  import "./chunk-VUQCQXXJ.js";
26
- import "./chunk-FQLK5GL5.js";
21
+ import "./chunk-BVHFMAVN.js";
22
+ import "./chunk-DMH6JVPF.js";
23
+ import {
24
+ getActiveProvider,
25
+ getDefaultModel,
26
+ 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";
27
33
  import {
28
34
  ensureDataDirExists,
29
35
  getDatabasePath,
30
36
  getGlobalConfigPath
31
37
  } from "./chunk-CQGTEGKL.js";
32
- import {
33
- loadConfig
34
- } from "./chunk-CGZHLM3K.js";
35
- import "./chunk-SZKEGZIB.js";
36
- import {
37
- logger
38
- } from "./chunk-K44MW7JJ.js";
39
38
 
40
39
  // src/server/utils/network.ts
41
40
  import os from "os";
@@ -190,4 +189,4 @@ async function runServe(options) {
190
189
  export {
191
190
  runServe
192
191
  };
193
- //# sourceMappingURL=serve-FGPHMDOC.js.map
192
+ //# sourceMappingURL=serve-7VMTNIXT.js.map
@@ -1,4 +1,4 @@
1
- import { aR as ToolCall, c as Attachment, R as Diagnostic, aq as Provider, ab as ModelConfig, aD as Session, aM as SessionSummary, ai as Project, aH as SessionMode, aJ as SessionPhase, M as Message, J as Criterion, L as CriterionStatus, a8 as MetadataEntry, az as QueuedMessage, F as ContextState, O as DangerLevel$1, aB as ServerMessage, aO as StatsIdentity, aU as ToolResult, D as Config } from '../protocol-BQ12Aw5J.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-CDOV1pyc.js';
2
2
  import { Server } from 'node:http';
3
3
 
4
4
  interface LLMMessage {
@@ -39,9 +39,6 @@ interface LLMCompletionRequest {
39
39
  maxTokens?: number;
40
40
  supportsVision?: boolean;
41
41
  };
42
- disableXmlProtection?: boolean;
43
- onVisionFallbackStart?: (attachmentId: string, filename?: string) => void;
44
- onVisionFallbackDone?: (attachmentId: string, description: string) => void;
45
42
  }
46
43
  interface LLMCompletionResponse {
47
44
  id: string;
@@ -74,8 +71,6 @@ type LLMStreamEvent = {
74
71
  } | {
75
72
  type: 'error';
76
73
  error: string;
77
- } | {
78
- type: 'xml_tool_abort';
79
74
  };
80
75
  interface LLMClient {
81
76
  complete(request: LLMCompletionRequest): Promise<LLMCompletionResponse>;
@@ -1,28 +1,27 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-CTQ2FS4K.js";
5
- import "../chunk-UFY4I643.js";
6
- import "../chunk-ALH4KM2Y.js";
7
- import "../chunk-PSJIT5LZ.js";
8
- import "../chunk-XAMAYRDA.js";
4
+ } from "../chunk-G4SACK4E.js";
5
+ import "../chunk-RI6GAMNP.js";
6
+ import "../chunk-C75I2KZM.js";
7
+ import "../chunk-LR5R7EEE.js";
9
8
  import "../chunk-DL6ZILAF.js";
10
9
  import "../chunk-PBGOZMVY.js";
11
10
  import "../chunk-VRGRAQDG.js";
12
- import "../chunk-RF2JGDSS.js";
13
- import "../chunk-HHAJ3QF6.js";
14
- import "../chunk-HGAMIPFO.js";
15
- import "../chunk-XKR3HCAL.js";
16
- import "../chunk-FBGWG4N6.js";
17
- import "../chunk-NONI4CRP.js";
18
- import "../chunk-CEZNMLOO.js";
11
+ import "../chunk-NPHYEUYE.js";
12
+ import "../chunk-XJEOP6XU.js";
13
+ import "../chunk-7TTEGAO6.js";
19
14
  import "../chunk-BJYPTN5S.js";
15
+ import "../chunk-RFNEDBVO.js";
16
+ import "../chunk-XAMAYRDA.js";
17
+ import "../chunk-FBGWG4N6.js";
20
18
  import "../chunk-VUQCQXXJ.js";
21
- import "../chunk-FQLK5GL5.js";
22
- import "../chunk-CQGTEGKL.js";
23
- import "../chunk-CGZHLM3K.js";
24
- import "../chunk-SZKEGZIB.js";
19
+ import "../chunk-BVHFMAVN.js";
20
+ import "../chunk-DMH6JVPF.js";
21
+ import "../chunk-UKTPL5ZG.js";
22
+ import "../chunk-VIIRNJDT.js";
25
23
  import "../chunk-K44MW7JJ.js";
24
+ import "../chunk-CQGTEGKL.js";
26
25
  export {
27
26
  createServer,
28
27
  createServerHandle
@@ -5,7 +5,7 @@ import {
5
5
  getAllSettings,
6
6
  getSetting,
7
7
  setSetting
8
- } from "./chunk-PSJIT5LZ.js";
8
+ } from "./chunk-RFNEDBVO.js";
9
9
  import "./chunk-FBGWG4N6.js";
10
10
  import "./chunk-K44MW7JJ.js";
11
11
  export {
@@ -16,4 +16,4 @@ export {
16
16
  getSetting,
17
17
  setSetting
18
18
  };
19
- //# sourceMappingURL=settings-VRAOAPLA.js.map
19
+ //# sourceMappingURL=settings-6XX56F3F.js.map
@@ -1,5 +1,5 @@
1
- import { M as Message, S as SessionStats } from '../protocol-BQ12Aw5J.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 PromptContext, an as PromptContextMessage, ao as PromptContextTool, ap as PromptRequestOptions, aq as Provider, ar as ProviderBackend, as as ProviderChangedPayload, at as QueueAddedEvent, au as QueueCancelledEvent, av as QueueDrainedEvent, aw as QueueEvent, ax as QueueEventType, ay as QueueStatePayload, az as QueuedMessage, aA as RecentUserPrompt, aB as ServerMessage, aC as ServerMessageType, aD as Session, aE as SessionListPayload, aF as SessionLoadPayload, aG as SessionMetadata, aH as SessionMode, aI as SessionNameGeneratedPayload, aJ as SessionPhase, aK as SessionRunningPayload, aL as SessionStatePayload, aM as SessionSummary, aN as StatsDataPoint, aO as StatsIdentity, aP as TaskCompletedPayload, aQ as Todo, aR as ToolCall, aS as ToolMode, aT as ToolName, aU as ToolResult, aV as ValidationResult, aW as createClientMessage, aX as createServerMessage, aY as isClientMessage, aZ as isServerMessage } from '../protocol-BQ12Aw5J.js';
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';
3
3
 
4
4
  /**
5
5
  * Session stats computation - aggregates response-level MessageStats from
@@ -6,7 +6,7 @@ import {
6
6
  createServerMessage,
7
7
  isClientMessage,
8
8
  isServerMessage
9
- } from "../chunk-FQLK5GL5.js";
9
+ } from "../chunk-BVHFMAVN.js";
10
10
  export {
11
11
  computeSessionStats,
12
12
  createClientMessage,
@@ -11,27 +11,25 @@ import {
11
11
  requestPathAccess,
12
12
  stepDoneTool,
13
13
  validateToolAction
14
- } from "./chunk-ALH4KM2Y.js";
15
- import "./chunk-PSJIT5LZ.js";
16
- import "./chunk-XAMAYRDA.js";
14
+ } from "./chunk-LR5R7EEE.js";
17
15
  import "./chunk-DL6ZILAF.js";
18
16
  import "./chunk-PBGOZMVY.js";
19
17
  import "./chunk-VRGRAQDG.js";
20
- import "./chunk-HGAMIPFO.js";
21
- import "./chunk-XKR3HCAL.js";
22
- import "./chunk-FBGWG4N6.js";
23
- import "./chunk-NONI4CRP.js";
24
- import "./chunk-CEZNMLOO.js";
18
+ import "./chunk-NPHYEUYE.js";
19
+ import "./chunk-XJEOP6XU.js";
20
+ import "./chunk-7TTEGAO6.js";
25
21
  import {
26
22
  AskUserInterrupt,
27
23
  cancelQuestionsForSession,
28
24
  provideAnswer
29
25
  } from "./chunk-BJYPTN5S.js";
30
- import "./chunk-FQLK5GL5.js";
31
- import "./chunk-CQGTEGKL.js";
32
- import "./chunk-CGZHLM3K.js";
33
- import "./chunk-SZKEGZIB.js";
26
+ import "./chunk-RFNEDBVO.js";
27
+ import "./chunk-XAMAYRDA.js";
28
+ import "./chunk-FBGWG4N6.js";
29
+ import "./chunk-BVHFMAVN.js";
30
+ import "./chunk-VIIRNJDT.js";
34
31
  import "./chunk-K44MW7JJ.js";
32
+ import "./chunk-CQGTEGKL.js";
35
33
  export {
36
34
  AskUserInterrupt,
37
35
  PathAccessDeniedError,
@@ -49,4 +47,4 @@ export {
49
47
  stepDoneTool,
50
48
  validateToolAction
51
49
  };
52
- //# sourceMappingURL=tools-Z7X4HXZN.js.map
50
+ //# sourceMappingURL=tools-CQGEU3JK.js.map