openfox 2.0.0-beta.11 → 2.0.0-beta.13
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.
- package/dist/{chat-handler-NMJCOCCB.js → chat-handler-DKX2XFHA.js} +8 -8
- package/dist/{chunk-EQQDA4D3.js → chunk-5RP2ZU2G.js} +14 -16
- package/dist/{chunk-4RLDN2LL.js → chunk-BNFQMAH6.js} +160 -39
- package/dist/{chunk-BU56QFHW.js → chunk-DBDMMSCM.js} +7 -8
- package/dist/{chunk-NSBYORD5.js → chunk-DHAKJSE7.js} +4 -2
- package/dist/{chunk-EZUR7OEP.js → chunk-HZODNSSV.js} +15 -9
- package/dist/{chunk-LCRJWUW7.js → chunk-LDHRZRCP.js} +6 -6
- package/dist/{chunk-VIIRNJDT.js → chunk-LXX2CPM5.js} +203 -236
- package/dist/{chunk-EXYMWI7A.js → chunk-OKLV3ZNN.js} +9 -5
- package/dist/{chunk-UKTPL5ZG.js → chunk-SW7MQGY3.js} +123 -214
- package/dist/{chunk-DMH6JVPF.js → chunk-YLQGD5SE.js} +28 -8
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{config-TDVA7MQN.js → config-FAT5XRFB.js} +5 -5
- package/dist/{events-UGTGGFG3.js → events-R7FRQEBE.js} +2 -2
- package/dist/{orchestrator-75L5UGDU.js → orchestrator-NNYZC7AY.js} +7 -7
- package/dist/package.json +1 -1
- package/dist/{processor-GHESQ2YV.js → processor-5T3CXD5I.js} +10 -5
- package/dist/{protocol-B9R1CUvt.d.ts → protocol-zn90yuIr.d.ts} +11 -2
- package/dist/{provider-BGH4MBLH.js → provider-2JYU6KGH.js} +9 -9
- package/dist/provider-manager-IP3HOGNB.js +16 -0
- package/dist/{serve-I6T7V62Z.js → serve-NSTNUQ2K.js} +13 -13
- package/dist/server/index.d.ts +21 -15
- package/dist/server/index.js +9 -9
- package/dist/shared/index.d.ts +2 -2
- package/dist/{tools-D3WWIOQD.js → tools-TJGSHOAR.js} +6 -6
- package/dist/web/assets/index-DIY3E8K9.js +299 -0
- package/dist/web/assets/{index-CSOB8dwI.css → index-Sdax8ayU.css} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/web/assets/index-tJDr1ODC.js +0 -299
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
generateSessionName,
|
|
6
6
|
getSessionMessageCount,
|
|
7
7
|
needsNameGenerationCheck
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OKLV3ZNN.js";
|
|
9
9
|
import {
|
|
10
10
|
getEventStore
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DHAKJSE7.js";
|
|
12
12
|
import "./chunk-ITWVFGFV.js";
|
|
13
13
|
import {
|
|
14
14
|
createChatMessageMessage,
|
|
@@ -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-
|
|
184
|
+
const { runChatTurn } = await import("./orchestrator-NNYZC7AY.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-
|
|
228
|
+
//# sourceMappingURL=processor-5T3CXD5I.js.map
|
|
@@ -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: {
|
|
@@ -429,8 +436,10 @@ interface Config {
|
|
|
429
436
|
backend: LlmBackend | 'auto';
|
|
430
437
|
/** API key for cloud providers */
|
|
431
438
|
apiKey?: string;
|
|
432
|
-
/**
|
|
433
|
-
|
|
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,15 +5,18 @@ import {
|
|
|
8
5
|
loadGlobalConfig,
|
|
9
6
|
removeProvider,
|
|
10
7
|
saveGlobalConfig
|
|
11
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HZODNSSV.js";
|
|
9
|
+
import "./chunk-CQGTEGKL.js";
|
|
10
|
+
import {
|
|
11
|
+
fetchAvailableModelsFromBackend
|
|
12
|
+
} from "./chunk-YLQGD5SE.js";
|
|
12
13
|
import {
|
|
13
14
|
detectModel
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SW7MQGY3.js";
|
|
15
16
|
import {
|
|
16
17
|
detectBackend
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LXX2CPM5.js";
|
|
18
19
|
import "./chunk-K44MW7JJ.js";
|
|
19
|
-
import "./chunk-CQGTEGKL.js";
|
|
20
20
|
|
|
21
21
|
// src/cli/provider.ts
|
|
22
22
|
import { select, text, password, spinner, log, outro, isCancel, cancel } from "@clack/prompts";
|
|
@@ -263,7 +263,7 @@ async function runProviderAdd(mode) {
|
|
|
263
263
|
isActive: makeActive
|
|
264
264
|
});
|
|
265
265
|
if (makeActive) {
|
|
266
|
-
const { setDefaultModelSelection } = await import("./config-
|
|
266
|
+
const { setDefaultModelSelection } = await import("./config-FAT5XRFB.js");
|
|
267
267
|
newConfig = setDefaultModelSelection(
|
|
268
268
|
newConfig,
|
|
269
269
|
newConfig.providers[newConfig.providers.length - 1].id,
|
|
@@ -391,4 +391,4 @@ export {
|
|
|
391
391
|
runProviderRemove,
|
|
392
392
|
runProviderUse
|
|
393
393
|
};
|
|
394
|
-
//# sourceMappingURL=provider-
|
|
394
|
+
//# sourceMappingURL=provider-2JYU6KGH.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createProviderManager,
|
|
3
|
+
fetchAvailableModelsFromBackend,
|
|
4
|
+
fetchModelsWithContext,
|
|
5
|
+
parseDefaultModelSelection
|
|
6
|
+
} from "./chunk-YLQGD5SE.js";
|
|
7
|
+
import "./chunk-SW7MQGY3.js";
|
|
8
|
+
import "./chunk-LXX2CPM5.js";
|
|
9
|
+
import "./chunk-K44MW7JJ.js";
|
|
10
|
+
export {
|
|
11
|
+
createProviderManager,
|
|
12
|
+
fetchAvailableModelsFromBackend,
|
|
13
|
+
fetchModelsWithContext,
|
|
14
|
+
parseDefaultModelSelection
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=provider-manager-IP3HOGNB.js.map
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION,
|
|
3
3
|
createServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BNFQMAH6.js";
|
|
5
5
|
import "./chunk-RI6GAMNP.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-DBDMMSCM.js";
|
|
7
|
+
import "./chunk-5RP2ZU2G.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-
|
|
14
|
+
} from "./chunk-DHAKJSE7.js";
|
|
14
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-
|
|
28
|
-
import "./chunk-UKTPL5ZG.js";
|
|
29
|
-
import "./chunk-VIIRNJDT.js";
|
|
30
|
-
import {
|
|
31
|
-
logger
|
|
32
|
-
} from "./chunk-K44MW7JJ.js";
|
|
26
|
+
} from "./chunk-HZODNSSV.js";
|
|
33
27
|
import {
|
|
34
28
|
ensureDataDirExists,
|
|
35
29
|
getDatabasePath,
|
|
36
30
|
getGlobalConfigPath
|
|
37
31
|
} from "./chunk-CQGTEGKL.js";
|
|
32
|
+
import "./chunk-YLQGD5SE.js";
|
|
33
|
+
import "./chunk-SW7MQGY3.js";
|
|
34
|
+
import "./chunk-LXX2CPM5.js";
|
|
35
|
+
import {
|
|
36
|
+
logger
|
|
37
|
+
} from "./chunk-K44MW7JJ.js";
|
|
38
38
|
|
|
39
39
|
// src/server/utils/network.ts
|
|
40
40
|
import os from "os";
|
|
@@ -189,4 +189,4 @@ async function runServe(options) {
|
|
|
189
189
|
export {
|
|
190
190
|
runServe
|
|
191
191
|
};
|
|
192
|
-
//# sourceMappingURL=serve-
|
|
192
|
+
//# sourceMappingURL=serve-NSTNUQ2K.js.map
|
package/dist/server/index.d.ts
CHANGED
|
@@ -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-
|
|
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-zn90yuIr.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
|
-
|
|
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 */
|
|
@@ -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
|
|
package/dist/server/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-BNFQMAH6.js";
|
|
5
5
|
import "../chunk-RI6GAMNP.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-DBDMMSCM.js";
|
|
7
|
+
import "../chunk-5RP2ZU2G.js";
|
|
8
8
|
import "../chunk-DL6ZILAF.js";
|
|
9
9
|
import "../chunk-PBGOZMVY.js";
|
|
10
10
|
import "../chunk-VRGRAQDG.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-XAMAYRDA.js";
|
|
12
|
+
import "../chunk-DHAKJSE7.js";
|
|
12
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-YLQGD5SE.js";
|
|
22
|
+
import "../chunk-SW7MQGY3.js";
|
|
23
|
+
import "../chunk-LXX2CPM5.js";
|
|
24
|
+
import "../chunk-K44MW7JJ.js";
|
|
25
25
|
export {
|
|
26
26
|
createServer,
|
|
27
27
|
createServerHandle
|
package/dist/shared/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as Message, S as SessionStats } from '../protocol-
|
|
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-
|
|
1
|
+
import { M as Message, S as SessionStats } from '../protocol-zn90yuIr.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-zn90yuIr.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Session stats computation - aggregates response-level MessageStats from
|
|
@@ -11,11 +11,12 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5RP2ZU2G.js";
|
|
15
15
|
import "./chunk-DL6ZILAF.js";
|
|
16
16
|
import "./chunk-PBGOZMVY.js";
|
|
17
17
|
import "./chunk-VRGRAQDG.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-XAMAYRDA.js";
|
|
19
|
+
import "./chunk-DHAKJSE7.js";
|
|
19
20
|
import "./chunk-ITWVFGFV.js";
|
|
20
21
|
import "./chunk-7TTEGAO6.js";
|
|
21
22
|
import {
|
|
@@ -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-LXX2CPM5.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-
|
|
50
|
+
//# sourceMappingURL=tools-TJGSHOAR.js.map
|