openfox 2.0.116 → 2.0.118
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/CHANGELOG.md +40 -0
- package/dist/CHANGELOG.md +40 -0
- package/dist/{chat-handler-Z6BEY66U.js → chat-handler-KNBP6WVI.js} +10 -10
- package/dist/{chunk-HYPXL7K5.js → chunk-45OS4H3L.js} +31 -128
- package/dist/{chunk-SQLJRO3J.js → chunk-5E5G3DLI.js} +3 -3
- package/dist/{chunk-QJWTBVJO.js → chunk-5ZR5O5GC.js} +3 -3
- package/dist/chunk-BSULZIPW.js +7 -0
- package/dist/{chunk-X3XKYGUN.js → chunk-CIYA6BNB.js} +3 -3
- package/dist/{chunk-U4HMAYAD.js → chunk-CX7UJZA5.js} +17 -12
- package/dist/{chunk-4HV3PDEK.js → chunk-IDUXGSQV.js} +173 -111
- package/dist/{chunk-TGVDUK4N.js → chunk-JOCR4CF4.js} +1 -1
- package/dist/{chunk-ZKLE2Q3I.js → chunk-KSDWQ6IZ.js} +1 -1
- package/dist/{chunk-6XHDNSA3.js → chunk-MTFLMNLN.js} +7 -4
- package/dist/{chunk-EQ7DK2TG.js → chunk-NP2SV2CX.js} +74 -6
- package/dist/{chunk-4E52GUXJ.js → chunk-RXIDGWNV.js} +35 -34
- package/dist/{chunk-4GHLULHB.js → chunk-XAAEP5XM.js} +8 -16
- package/dist/{chunk-QQVPUZQB.js → chunk-XZGQZ42D.js} +3 -3
- package/dist/{chunk-BH3BBUGB.js → chunk-Y6WWEQPC.js} +85 -23
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{compactor-LAXZLPPA.js → compactor-5ATICQ2A.js} +4 -4
- package/dist/{dynamic-context-YHWFFP53.js → dynamic-context-4SKLIPJ4.js} +2 -2
- package/dist/{events-IVPAMMR5.js → events-KDFMBVP5.js} +2 -2
- package/dist/{launch-PAVQAWGP.js → launch-Q6GUJ22H.js} +10 -10
- package/dist/{orchestrator-CS3KXLZE.js → orchestrator-DVCGWWNA.js} +9 -9
- package/dist/package.json +1 -1
- package/dist/{path-security-JTCHWYG3.js → path-security-L4AJJN2V.js} +5 -5
- package/dist/{processor-RZD4JRDX.js → processor-G6UJGA2K.js} +20 -9
- package/dist/{protocol-CfUkCYxF.d.ts → protocol-DzJrspsl.d.ts} +15 -8
- package/dist/{protocol-HYA5BYVN.js → protocol-TLODRZSB.js} +7 -7
- package/dist/{serve-KR22J37W.js → serve-23YIIMXH.js} +15 -15
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +14 -14
- package/dist/{server-ESKTIZL5.js → server-IDXIAC5L.js} +13 -13
- package/dist/shared/index.d.ts +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/{tools-KBS6X3EN.js → tools-GOGLGTNV.js} +7 -7
- package/dist/{update-TDS6LP5N.js → update-T3YMIWQO.js} +2 -2
- package/dist/web/assets/index-BgENxR9h.js +324 -0
- package/dist/web/assets/{index-c43YT-4A.css → index-XTp1QlHA.css} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-HNHSUQCN.js +0 -7
- package/dist/web/assets/index-ChtRS33s.js +0 -324
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
abortRunnerRun,
|
|
3
3
|
launchWorkflowRun
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-45OS4H3L.js";
|
|
5
|
+
import "./chunk-CX7UJZA5.js";
|
|
6
|
+
import "./chunk-IDUXGSQV.js";
|
|
7
|
+
import "./chunk-5E5G3DLI.js";
|
|
8
8
|
import "./chunk-2FCLCUVR.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-NP2SV2CX.js";
|
|
10
10
|
import "./chunk-27NABDXB.js";
|
|
11
11
|
import "./chunk-M6X6AIEG.js";
|
|
12
12
|
import "./chunk-ZTOG6LJD.js";
|
|
@@ -17,10 +17,10 @@ import "./chunk-O6DU226D.js";
|
|
|
17
17
|
import "./chunk-J7GAZGZT.js";
|
|
18
18
|
import "./chunk-HZSKKJHQ.js";
|
|
19
19
|
import "./chunk-EQ5CGNOT.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-XZGQZ42D.js";
|
|
21
|
+
import "./chunk-JOCR4CF4.js";
|
|
22
22
|
import "./chunk-KLQEL2DZ.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-XAAEP5XM.js";
|
|
24
24
|
import "./chunk-AESOGRFK.js";
|
|
25
25
|
import "./chunk-JURM3RPZ.js";
|
|
26
26
|
import "./chunk-JLAR2CMV.js";
|
|
@@ -41,7 +41,7 @@ import "./chunk-HD6Y77RO.js";
|
|
|
41
41
|
import "./chunk-5PT4UMRR.js";
|
|
42
42
|
import "./chunk-K44MW7JJ.js";
|
|
43
43
|
import "./chunk-VUQCQXXJ.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-KSDWQ6IZ.js";
|
|
45
45
|
import "./chunk-KSXCOHHW.js";
|
|
46
46
|
import "./chunk-CQGTEGKL.js";
|
|
47
47
|
import "./chunk-YLJ4XMA6.js";
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
abortRunnerRun,
|
|
50
50
|
launchWorkflowRun
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=launch-
|
|
52
|
+
//# sourceMappingURL=launch-Q6GUJ22H.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runAgentTurn,
|
|
3
3
|
runChatTurn
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-CX7UJZA5.js";
|
|
5
|
+
import "./chunk-IDUXGSQV.js";
|
|
6
|
+
import "./chunk-5E5G3DLI.js";
|
|
7
7
|
import "./chunk-2FCLCUVR.js";
|
|
8
8
|
import {
|
|
9
9
|
TurnMetrics,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
createMessageStartEvent,
|
|
13
13
|
createToolCallEvent,
|
|
14
14
|
createToolResultEvent
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NP2SV2CX.js";
|
|
16
16
|
import "./chunk-27NABDXB.js";
|
|
17
17
|
import "./chunk-M6X6AIEG.js";
|
|
18
18
|
import "./chunk-ZTOG6LJD.js";
|
|
@@ -23,10 +23,10 @@ import "./chunk-O6DU226D.js";
|
|
|
23
23
|
import "./chunk-J7GAZGZT.js";
|
|
24
24
|
import "./chunk-HZSKKJHQ.js";
|
|
25
25
|
import "./chunk-EQ5CGNOT.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-XZGQZ42D.js";
|
|
27
|
+
import "./chunk-JOCR4CF4.js";
|
|
28
28
|
import "./chunk-KLQEL2DZ.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-XAAEP5XM.js";
|
|
30
30
|
import "./chunk-AESOGRFK.js";
|
|
31
31
|
import "./chunk-JURM3RPZ.js";
|
|
32
32
|
import "./chunk-JLAR2CMV.js";
|
|
@@ -46,7 +46,7 @@ import "./chunk-LTYL6ZGH.js";
|
|
|
46
46
|
import "./chunk-HD6Y77RO.js";
|
|
47
47
|
import "./chunk-5PT4UMRR.js";
|
|
48
48
|
import "./chunk-K44MW7JJ.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-KSDWQ6IZ.js";
|
|
50
50
|
import "./chunk-KSXCOHHW.js";
|
|
51
51
|
import "./chunk-CQGTEGKL.js";
|
|
52
52
|
import "./chunk-YLJ4XMA6.js";
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
runAgentTurn,
|
|
61
61
|
runChatTurn
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=orchestrator-
|
|
63
|
+
//# sourceMappingURL=orchestrator-DVCGWWNA.js.map
|
package/dist/package.json
CHANGED
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
providePathConfirmation,
|
|
20
20
|
registerPathConfirmation,
|
|
21
21
|
requestPathAccess
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-XZGQZ42D.js";
|
|
23
|
+
import "./chunk-JOCR4CF4.js";
|
|
24
24
|
import "./chunk-KLQEL2DZ.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-XAAEP5XM.js";
|
|
26
26
|
import "./chunk-AESOGRFK.js";
|
|
27
27
|
import "./chunk-3KBRMBTP.js";
|
|
28
28
|
import "./chunk-LCLH6ZUL.js";
|
|
@@ -32,7 +32,7 @@ import "./chunk-3PG65AXG.js";
|
|
|
32
32
|
import "./chunk-HD6Y77RO.js";
|
|
33
33
|
import "./chunk-5PT4UMRR.js";
|
|
34
34
|
import "./chunk-K44MW7JJ.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-KSDWQ6IZ.js";
|
|
36
36
|
import "./chunk-CQGTEGKL.js";
|
|
37
37
|
import "./chunk-YLJ4XMA6.js";
|
|
38
38
|
export {
|
|
@@ -57,4 +57,4 @@ export {
|
|
|
57
57
|
registerPathConfirmation,
|
|
58
58
|
requestPathAccess
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=path-security-
|
|
60
|
+
//# sourceMappingURL=path-security-L4AJJN2V.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-MTFLMNLN.js";
|
|
6
|
+
import "./chunk-IDUXGSQV.js";
|
|
7
7
|
import "./chunk-2FCLCUVR.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-NP2SV2CX.js";
|
|
9
9
|
import "./chunk-27NABDXB.js";
|
|
10
10
|
import "./chunk-M6X6AIEG.js";
|
|
11
11
|
import "./chunk-ZTOG6LJD.js";
|
|
@@ -16,15 +16,15 @@ import "./chunk-O6DU226D.js";
|
|
|
16
16
|
import "./chunk-J7GAZGZT.js";
|
|
17
17
|
import "./chunk-HZSKKJHQ.js";
|
|
18
18
|
import "./chunk-EQ5CGNOT.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-XZGQZ42D.js";
|
|
20
20
|
import {
|
|
21
21
|
getEventStore
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JOCR4CF4.js";
|
|
23
23
|
import "./chunk-KLQEL2DZ.js";
|
|
24
24
|
import {
|
|
25
25
|
createChatMessageMessage,
|
|
26
26
|
createSessionRunningMessage
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XAAEP5XM.js";
|
|
28
28
|
import "./chunk-AESOGRFK.js";
|
|
29
29
|
import "./chunk-JURM3RPZ.js";
|
|
30
30
|
import "./chunk-JLAR2CMV.js";
|
|
@@ -46,7 +46,7 @@ import "./chunk-5PT4UMRR.js";
|
|
|
46
46
|
import {
|
|
47
47
|
logger
|
|
48
48
|
} from "./chunk-K44MW7JJ.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-KSDWQ6IZ.js";
|
|
50
50
|
import "./chunk-KSXCOHHW.js";
|
|
51
51
|
import "./chunk-CQGTEGKL.js";
|
|
52
52
|
import "./chunk-YLJ4XMA6.js";
|
|
@@ -193,11 +193,22 @@ var QueueProcessor = class {
|
|
|
193
193
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
194
194
|
model: llmClient.getModel()
|
|
195
195
|
};
|
|
196
|
-
const
|
|
196
|
+
const getSessionLLMClient = () => {
|
|
197
|
+
const current = sessionManager.getSession(sessionId);
|
|
198
|
+
if (current?.providerId && current.providerModel && this.deps.getLLMClientForProvider) {
|
|
199
|
+
const resolvedModel = providerManager.resolveModel?.(current.providerId, current.providerModel);
|
|
200
|
+
const effectiveModel = resolvedModel ?? current.providerModel;
|
|
201
|
+
const client = this.deps.getLLMClientForProvider(current.providerId, effectiveModel);
|
|
202
|
+
if (client) return client;
|
|
203
|
+
}
|
|
204
|
+
return llmClient;
|
|
205
|
+
};
|
|
206
|
+
const { runChatTurn } = await import("./orchestrator-DVCGWWNA.js");
|
|
197
207
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
198
208
|
sessionManager,
|
|
199
209
|
sessionId,
|
|
200
210
|
llmClient,
|
|
211
|
+
getSessionLLMClient,
|
|
201
212
|
statsIdentity,
|
|
202
213
|
signal: controller.signal,
|
|
203
214
|
onMessage: (msg) => broadcastForSession(sessionId, msg)
|
|
@@ -241,4 +252,4 @@ var QueueProcessor = class {
|
|
|
241
252
|
export {
|
|
242
253
|
QueueProcessor
|
|
243
254
|
};
|
|
244
|
-
//# sourceMappingURL=processor-
|
|
255
|
+
//# sourceMappingURL=processor-G6UJGA2K.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as Attachment, Z as ToolMode, $ as ToolResult, a as Message, Y as Todo, c as ContextState, e as Criterion, i as Diagnostic, r as MetadataEntry, G as SessionMode, H as SessionPhase, t as Project, J as SessionSummary, z as Session, a2 as WorkflowExecution, u as ProjectTask, w as ProjectTaskSettings, v as ProjectTaskCounts, U as TaskGateConfig } from './types-Df7NM9b5.js';
|
|
2
2
|
|
|
3
|
-
type ClientMessageType = 'session.load' | 'context.compact' | 'context.checkDynamic' | 'context.applyDynamic' | 'context.applyDynamic.preview' | 'runner.launch' | 'workflow.exit' | 'path.confirm' | 'ask.answer';
|
|
3
|
+
type ClientMessageType = 'session.load' | 'context.compact' | 'context.checkDynamic' | 'context.applyDynamic' | 'context.applyDynamic.preview' | 'runner.launch' | 'workflow.exit' | 'chat.retry' | 'chat.llm_retry_now' | 'path.confirm' | 'ask.answer';
|
|
4
4
|
interface ClientMessage<T = unknown> {
|
|
5
5
|
id: string;
|
|
6
6
|
type: ClientMessageType;
|
|
@@ -23,7 +23,7 @@ interface QueuedMessage {
|
|
|
23
23
|
queuedAt: string;
|
|
24
24
|
messageKind?: string;
|
|
25
25
|
}
|
|
26
|
-
type ServerMessageType = 'project.state' | 'project.list' | 'project.deleted' | 'session.state' | 'session.list' | 'session.created' | 'session.deleted' | 'session.deletedAll' | 'session.running' | 'session.name_generated' | 'session.confirmation_pending' | 'session.confirmation_resolved' | 'chat.delta' | 'chat.thinking' | 'chat.tool_preparing' | 'chat.tool_call' | 'chat.tool_output' | 'chat.tool_result' | 'chat.todo' | 'chat.progress' | 'chat.format_retry' | 'chat.message' | 'chat.message_updated' | 'chat.done' | 'chat.vision_fallback' | 'chat.error' | 'chat.
|
|
26
|
+
type ServerMessageType = 'project.state' | 'project.list' | 'project.deleted' | 'session.state' | 'session.list' | 'session.created' | 'session.deleted' | 'session.deletedAll' | 'session.running' | 'session.name_generated' | 'session.confirmation_pending' | 'session.confirmation_resolved' | 'chat.delta' | 'chat.thinking' | 'chat.tool_preparing' | 'chat.tool_call' | 'chat.tool_output' | 'chat.tool_result' | 'chat.todo' | 'chat.progress' | 'chat.format_retry' | 'chat.message' | 'chat.message_updated' | 'chat.done' | 'chat.vision_fallback' | 'chat.error' | 'chat.llm_retry' | 'chat.llm_retry_failed' | 'chat.path_confirmation' | 'chat.ask_user' | 'mode.changed' | 'phase.changed' | 'workflow.execution_changed' | 'task.completed' | 'criteria.updated' | 'metadata.updated' | 'context.state' | 'context.preview' | 'settings.value' | 'provider.changed' | 'queue.state' | 'devServer.output' | 'devServer.state' | 'backgroundProcess.started' | 'backgroundProcess.output' | 'backgroundProcess.exited' | 'backgroundProcess.removed' | 'git.status' | 'tasks.update' | 'mcp.servers.changed' | 'lsp.diagnostics' | 'error' | 'ack';
|
|
27
27
|
interface ServerMessage<T = unknown> {
|
|
28
28
|
id?: string;
|
|
29
29
|
type: ServerMessageType;
|
|
@@ -167,15 +167,22 @@ interface ChatErrorPayload {
|
|
|
167
167
|
error: string;
|
|
168
168
|
recoverable: boolean;
|
|
169
169
|
}
|
|
170
|
-
interface
|
|
171
|
-
messageIds: string[];
|
|
172
|
-
}
|
|
173
|
-
interface ChatStepRetryPayload {
|
|
174
|
-
stepName: string;
|
|
170
|
+
interface ChatLLMRetryPayload {
|
|
175
171
|
attempt: number;
|
|
176
172
|
/** Delay in ms until the next retry attempt (drives the UI countdown). */
|
|
177
173
|
retryInMs: number;
|
|
178
174
|
}
|
|
175
|
+
interface ChatLLMRetryFailedPayload {
|
|
176
|
+
error: string;
|
|
177
|
+
/** Number of consecutive failed attempts before giving up. */
|
|
178
|
+
attempts: number;
|
|
179
|
+
}
|
|
180
|
+
interface ChatRetryPayload {
|
|
181
|
+
sessionId: string;
|
|
182
|
+
}
|
|
183
|
+
interface ChatLLMRetryNowPayload {
|
|
184
|
+
sessionId: string;
|
|
185
|
+
}
|
|
179
186
|
type PathConfirmationReason = 'outside_workdir' | 'sensitive_file' | 'both' | 'dangerous_command' | 'git_no_verify';
|
|
180
187
|
interface ChatPathConfirmationPayload {
|
|
181
188
|
callId: string;
|
|
@@ -432,4 +439,4 @@ interface QueueCancelledEvent {
|
|
|
432
439
|
}
|
|
433
440
|
type QueueEvent = QueueAddedEvent | QueueDrainedEvent | QueueCancelledEvent;
|
|
434
441
|
|
|
435
|
-
export { type
|
|
442
|
+
export { type ProjectStatePayload as $, type AgentEvent as A, type BackgroundProcess as B, type ChatAskUserPayload as C, type ChoiceOption as D, type ClientMessage as E, type ClientMessageType as F, type ContextCompactionEvent as G, type ContextPreviewPayload as H, type ContextStatePayload as I, type CriteriaUpdatedPayload as J, type DevServerOutputPayload as K, type DevServerStatePayload as L, type DiffLine as M, type ErrorPayload as N, type GitDiffFile as O, type GitStatusPayload as P, type LogLine as Q, type LspDiagnosticsPayload as R, type MetadataUpdatedPayload as S, type ModeChangedPayload as T, type PathConfirmPayload as U, type PathConfirmationReason as V, type PendingPathConfirmationPayload as W, type PendingQuestionPayload as X, type PhaseChangedPayload as Y, type ProjectDeletedPayload as Z, type ProjectListPayload as _, type AskAnswerPayload as a, type ProviderChangedPayload as a0, type QueueAddedEvent as a1, type QueueCancelledEvent as a2, type QueueDrainedEvent as a3, type QueueEvent as a4, type QueueEventType as a5, type QueueStatePayload as a6, type QueuedMessage as a7, type ServerMessage as a8, type ServerMessageType as a9, type SessionCreatedPayload as aa, type SessionListPayload as ab, type SessionLoadPayload as ac, type SessionNameGeneratedPayload as ad, type SessionRunningPayload as ae, type SessionStatePayload as af, type TaskCompletedPayload as ag, type TasksUpdatePayload as ah, type WorkflowWaitingPayload as ai, createClientMessage as aj, createServerMessage as ak, isClientMessage as al, isServerMessage as am, type AskUserEvent as b, type BackgroundProcessExitedPayload as c, type BackgroundProcessOutputPayload as d, type BackgroundProcessRemovedPayload as e, type BackgroundProcessStartedPayload as f, type BackgroundProcessStatus as g, type ChatDeltaPayload as h, type ChatDonePayload as i, type ChatErrorPayload as j, type ChatFormatRetryPayload as k, type ChatLLMRetryFailedPayload as l, type ChatLLMRetryNowPayload as m, type ChatLLMRetryPayload as n, type ChatMessagePayload as o, type ChatMessageUpdatedPayload as p, type ChatPathConfirmationPayload as q, type ChatProgressPayload as r, type ChatRetryPayload as s, type ChatThinkingPayload as t, type ChatTodoPayload as u, type ChatToolCallPayload as v, type ChatToolOutputPayload as w, type ChatToolPreparingPayload as x, type ChatToolResultPayload as y, type ChatVisionFallbackPayload as z };
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
createChatDoneMessage,
|
|
5
5
|
createChatErrorMessage,
|
|
6
6
|
createChatFormatRetryMessage,
|
|
7
|
+
createChatLLMRetryFailedMessage,
|
|
8
|
+
createChatLLMRetryMessage,
|
|
7
9
|
createChatMessageMessage,
|
|
8
|
-
createChatMessageRemovedMessage,
|
|
9
10
|
createChatMessageUpdatedMessage,
|
|
10
11
|
createChatPathConfirmationMessage,
|
|
11
12
|
createChatProgressMessage,
|
|
12
|
-
createChatStepRetryMessage,
|
|
13
13
|
createChatThinkingMessage,
|
|
14
14
|
createChatTodoMessage,
|
|
15
15
|
createChatToolCallMessage,
|
|
@@ -37,9 +37,9 @@ import {
|
|
|
37
37
|
parseClientMessage,
|
|
38
38
|
serializeServerMessage,
|
|
39
39
|
storedEventToServerMessage
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XAAEP5XM.js";
|
|
41
41
|
import "./chunk-LCLH6ZUL.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-KSDWQ6IZ.js";
|
|
43
43
|
import "./chunk-YLJ4XMA6.js";
|
|
44
44
|
export {
|
|
45
45
|
createChatAskUserMessage,
|
|
@@ -47,12 +47,12 @@ export {
|
|
|
47
47
|
createChatDoneMessage,
|
|
48
48
|
createChatErrorMessage,
|
|
49
49
|
createChatFormatRetryMessage,
|
|
50
|
+
createChatLLMRetryFailedMessage,
|
|
51
|
+
createChatLLMRetryMessage,
|
|
50
52
|
createChatMessageMessage,
|
|
51
|
-
createChatMessageRemovedMessage,
|
|
52
53
|
createChatMessageUpdatedMessage,
|
|
53
54
|
createChatPathConfirmationMessage,
|
|
54
55
|
createChatProgressMessage,
|
|
55
|
-
createChatStepRetryMessage,
|
|
56
56
|
createChatThinkingMessage,
|
|
57
57
|
createChatTodoMessage,
|
|
58
58
|
createChatToolCallMessage,
|
|
@@ -81,4 +81,4 @@ export {
|
|
|
81
81
|
serializeServerMessage,
|
|
82
82
|
storedEventToServerMessage
|
|
83
83
|
};
|
|
84
|
-
//# sourceMappingURL=protocol-
|
|
84
|
+
//# sourceMappingURL=protocol-TLODRZSB.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RXIDGWNV.js";
|
|
4
4
|
import "./chunk-RSB4AR2A.js";
|
|
5
5
|
import "./chunk-IJ53Y77N.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-Y6WWEQPC.js";
|
|
7
|
+
import "./chunk-MTFLMNLN.js";
|
|
8
|
+
import "./chunk-45OS4H3L.js";
|
|
9
|
+
import "./chunk-CX7UJZA5.js";
|
|
10
|
+
import "./chunk-IDUXGSQV.js";
|
|
11
|
+
import "./chunk-5E5G3DLI.js";
|
|
12
12
|
import "./chunk-2FCLCUVR.js";
|
|
13
13
|
import "./chunk-WLJJRX22.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-CIYA6BNB.js";
|
|
15
|
+
import "./chunk-NP2SV2CX.js";
|
|
16
16
|
import "./chunk-27NABDXB.js";
|
|
17
17
|
import "./chunk-M6X6AIEG.js";
|
|
18
18
|
import "./chunk-ZTOG6LJD.js";
|
|
@@ -23,16 +23,16 @@ import "./chunk-O6DU226D.js";
|
|
|
23
23
|
import "./chunk-J7GAZGZT.js";
|
|
24
24
|
import "./chunk-HZSKKJHQ.js";
|
|
25
25
|
import "./chunk-EQ5CGNOT.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-XZGQZ42D.js";
|
|
27
|
+
import "./chunk-JOCR4CF4.js";
|
|
28
28
|
import "./chunk-KLQEL2DZ.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-XAAEP5XM.js";
|
|
30
30
|
import "./chunk-AESOGRFK.js";
|
|
31
31
|
import "./chunk-JURM3RPZ.js";
|
|
32
32
|
import "./chunk-JLAR2CMV.js";
|
|
33
33
|
import {
|
|
34
34
|
VERSION
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-BSULZIPW.js";
|
|
36
36
|
import "./chunk-3KBRMBTP.js";
|
|
37
37
|
import "./chunk-LCLH6ZUL.js";
|
|
38
38
|
import {
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
logger
|
|
55
55
|
} from "./chunk-K44MW7JJ.js";
|
|
56
56
|
import "./chunk-VUQCQXXJ.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-KSDWQ6IZ.js";
|
|
58
58
|
import {
|
|
59
59
|
getActiveProvider,
|
|
60
60
|
getDefaultModel,
|
|
@@ -226,4 +226,4 @@ async function runServe(options) {
|
|
|
226
226
|
export {
|
|
227
227
|
runServe
|
|
228
228
|
};
|
|
229
|
-
//# sourceMappingURL=serve-
|
|
229
|
+
//# sourceMappingURL=serve-23YIIMXH.js.map
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as Diagnostic, x as Provider, M as ModelConfig, z as Session, J as SessionSummary, t as Project, G as SessionMode, H as SessionPhase, a0 as UserStepChoice, a2 as WorkflowExecution, a as Message, e as Criterion, g as CriterionStatus, r as MetadataEntry, A as Attachment, c as ContextState, D as DangerLevel$1, N as StatsIdentity, $ as ToolResult, b as Config } from '../types-Df7NM9b5.js';
|
|
2
2
|
import { Server } from 'node:http';
|
|
3
3
|
import { e as LLMClient, d as LLMToolDefinition } from '../types-CIVhQMvD.js';
|
|
4
|
-
import {
|
|
4
|
+
import { a7 as QueuedMessage, a8 as ServerMessage } from '../protocol-DzJrspsl.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Model-specific configuration profiles.
|
package/dist/server/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-RXIDGWNV.js";
|
|
5
5
|
import "../chunk-RSB4AR2A.js";
|
|
6
6
|
import "../chunk-IJ53Y77N.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-Y6WWEQPC.js";
|
|
8
|
+
import "../chunk-MTFLMNLN.js";
|
|
9
|
+
import "../chunk-45OS4H3L.js";
|
|
10
|
+
import "../chunk-CX7UJZA5.js";
|
|
11
|
+
import "../chunk-IDUXGSQV.js";
|
|
12
|
+
import "../chunk-5E5G3DLI.js";
|
|
13
13
|
import "../chunk-2FCLCUVR.js";
|
|
14
14
|
import "../chunk-WLJJRX22.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-CIYA6BNB.js";
|
|
16
|
+
import "../chunk-NP2SV2CX.js";
|
|
17
17
|
import "../chunk-27NABDXB.js";
|
|
18
18
|
import "../chunk-M6X6AIEG.js";
|
|
19
19
|
import "../chunk-ZTOG6LJD.js";
|
|
@@ -24,14 +24,14 @@ import "../chunk-O6DU226D.js";
|
|
|
24
24
|
import "../chunk-J7GAZGZT.js";
|
|
25
25
|
import "../chunk-HZSKKJHQ.js";
|
|
26
26
|
import "../chunk-EQ5CGNOT.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-XZGQZ42D.js";
|
|
28
|
+
import "../chunk-JOCR4CF4.js";
|
|
29
29
|
import "../chunk-KLQEL2DZ.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-XAAEP5XM.js";
|
|
31
31
|
import "../chunk-AESOGRFK.js";
|
|
32
32
|
import "../chunk-JURM3RPZ.js";
|
|
33
33
|
import "../chunk-JLAR2CMV.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-BSULZIPW.js";
|
|
35
35
|
import "../chunk-3KBRMBTP.js";
|
|
36
36
|
import "../chunk-LCLH6ZUL.js";
|
|
37
37
|
import "../chunk-LNNBLB6G.js";
|
|
@@ -49,7 +49,7 @@ import "../chunk-HD6Y77RO.js";
|
|
|
49
49
|
import "../chunk-5PT4UMRR.js";
|
|
50
50
|
import "../chunk-K44MW7JJ.js";
|
|
51
51
|
import "../chunk-VUQCQXXJ.js";
|
|
52
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-KSDWQ6IZ.js";
|
|
53
53
|
import "../chunk-KSXCOHHW.js";
|
|
54
54
|
import "../chunk-CQGTEGKL.js";
|
|
55
55
|
import "../chunk-YLJ4XMA6.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWebSocketServer,
|
|
3
3
|
signalMcpReady
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-Y6WWEQPC.js";
|
|
5
|
+
import "./chunk-MTFLMNLN.js";
|
|
6
|
+
import "./chunk-45OS4H3L.js";
|
|
7
|
+
import "./chunk-CX7UJZA5.js";
|
|
8
|
+
import "./chunk-IDUXGSQV.js";
|
|
9
|
+
import "./chunk-5E5G3DLI.js";
|
|
10
10
|
import "./chunk-2FCLCUVR.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-CIYA6BNB.js";
|
|
12
|
+
import "./chunk-NP2SV2CX.js";
|
|
13
13
|
import "./chunk-27NABDXB.js";
|
|
14
14
|
import "./chunk-M6X6AIEG.js";
|
|
15
15
|
import "./chunk-ZTOG6LJD.js";
|
|
@@ -20,10 +20,10 @@ import "./chunk-O6DU226D.js";
|
|
|
20
20
|
import "./chunk-J7GAZGZT.js";
|
|
21
21
|
import "./chunk-HZSKKJHQ.js";
|
|
22
22
|
import "./chunk-EQ5CGNOT.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-XZGQZ42D.js";
|
|
24
|
+
import "./chunk-JOCR4CF4.js";
|
|
25
25
|
import "./chunk-KLQEL2DZ.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-XAAEP5XM.js";
|
|
27
27
|
import "./chunk-AESOGRFK.js";
|
|
28
28
|
import "./chunk-JURM3RPZ.js";
|
|
29
29
|
import "./chunk-JLAR2CMV.js";
|
|
@@ -44,7 +44,7 @@ import "./chunk-HD6Y77RO.js";
|
|
|
44
44
|
import "./chunk-5PT4UMRR.js";
|
|
45
45
|
import "./chunk-K44MW7JJ.js";
|
|
46
46
|
import "./chunk-VUQCQXXJ.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-KSDWQ6IZ.js";
|
|
48
48
|
import "./chunk-KSXCOHHW.js";
|
|
49
49
|
import "./chunk-CQGTEGKL.js";
|
|
50
50
|
import "./chunk-YLJ4XMA6.js";
|
|
@@ -52,4 +52,4 @@ export {
|
|
|
52
52
|
createWebSocketServer,
|
|
53
53
|
signalMcpReady
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=server-
|
|
55
|
+
//# sourceMappingURL=server-IDXIAC5L.js.map
|
package/dist/shared/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as Message, S as SessionStats } from '../types-Df7NM9b5.js';
|
|
2
2
|
export { A as Attachment, C as CallStatsDataPoint, b as Config, c as ContextState, d as ContextWindow, e as Criterion, f as CriterionAttempt, g as CriterionStatus, h as CriterionValidation, D as DangerLevel, i as Diagnostic, E as EditContextEdit, j as EditContextLine, k as EditContextRegion, l as ElementData, m as ExecutionState, F as FileReadEntry, I as InjectedFile, L as LLMCallStats, n as LlmBackend, o as MessageRole, p as MessageSegment, q as MessageStats, r as MetadataEntry, M as ModelConfig, s as ModelSessionStats, P as PreparingToolCall, t as Project, u as ProjectTask, v as ProjectTaskCounts, w as ProjectTaskSettings, x as Provider, y as ProviderBackend, R as RecentUserPrompt, z as Session, B as SessionMetadata, G as SessionMode, H as SessionPhase, J as SessionSummary, K as StatsDataPoint, N as StatsIdentity, O as TaskActor, Q as TaskAuditEntry, U as TaskGateConfig, V as TaskGateValue, W as TaskRunState, X as TaskStatus, Y as Todo, T as ToolCall, Z as ToolMode, _ as ToolName, $ as ToolResult, a0 as UserStepChoice, a1 as ValidationResult, a2 as WorkflowExecution, a3 as WorkflowExecutionStatus, a4 as WorkflowLaunchScope, a5 as WorkflowParameter, a6 as WorkflowScope } from '../types-Df7NM9b5.js';
|
|
3
|
-
export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, B as BackgroundProcess, c as BackgroundProcessExitedPayload, d as BackgroundProcessOutputPayload, e as BackgroundProcessRemovedPayload, f as BackgroundProcessStartedPayload, g as BackgroundProcessStatus, C as ChatAskUserPayload, h as ChatDeltaPayload, i as ChatDonePayload, j as ChatErrorPayload, k as ChatFormatRetryPayload, l as
|
|
3
|
+
export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, B as BackgroundProcess, c as BackgroundProcessExitedPayload, d as BackgroundProcessOutputPayload, e as BackgroundProcessRemovedPayload, f as BackgroundProcessStartedPayload, g as BackgroundProcessStatus, C as ChatAskUserPayload, h as ChatDeltaPayload, i as ChatDonePayload, j as ChatErrorPayload, k as ChatFormatRetryPayload, l as ChatLLMRetryFailedPayload, m as ChatLLMRetryNowPayload, n as ChatLLMRetryPayload, o as ChatMessagePayload, p as ChatMessageUpdatedPayload, q as ChatPathConfirmationPayload, r as ChatProgressPayload, s as ChatRetryPayload, t as ChatThinkingPayload, u as ChatTodoPayload, v as ChatToolCallPayload, w as ChatToolOutputPayload, x as ChatToolPreparingPayload, y as ChatToolResultPayload, z as ChatVisionFallbackPayload, D as ChoiceOption, E as ClientMessage, F as ClientMessageType, G as ContextCompactionEvent, H as ContextPreviewPayload, I as ContextStatePayload, J as CriteriaUpdatedPayload, K as DevServerOutputPayload, L as DevServerStatePayload, M as DiffLine, N as ErrorPayload, O as GitDiffFile, P as GitStatusPayload, Q as LogLine, R as LspDiagnosticsPayload, S as MetadataUpdatedPayload, T as ModeChangedPayload, U as PathConfirmPayload, V as PathConfirmationReason, W as PendingPathConfirmationPayload, X as PendingQuestionPayload, Y as PhaseChangedPayload, Z as ProjectDeletedPayload, _ as ProjectListPayload, $ as ProjectStatePayload, a0 as ProviderChangedPayload, a1 as QueueAddedEvent, a2 as QueueCancelledEvent, a3 as QueueDrainedEvent, a4 as QueueEvent, a5 as QueueEventType, a6 as QueueStatePayload, a7 as QueuedMessage, a8 as ServerMessage, a9 as ServerMessageType, aa as SessionCreatedPayload, ab as SessionListPayload, ac as SessionLoadPayload, ad as SessionNameGeneratedPayload, ae as SessionRunningPayload, af as SessionStatePayload, ag as TaskCompletedPayload, ah as TasksUpdatePayload, ai as WorkflowWaitingPayload, aj as createClientMessage, ak as createServerMessage, al as isClientMessage, am as isServerMessage } from '../protocol-DzJrspsl.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Session stats computation - aggregates response-level MessageStats from
|
package/dist/shared/index.js
CHANGED
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
setTasksService,
|
|
11
11
|
stepDoneTool,
|
|
12
12
|
validateToolAction
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IDUXGSQV.js";
|
|
14
14
|
import "./chunk-2FCLCUVR.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-NP2SV2CX.js";
|
|
16
16
|
import "./chunk-27NABDXB.js";
|
|
17
17
|
import "./chunk-M6X6AIEG.js";
|
|
18
18
|
import "./chunk-ZTOG6LJD.js";
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
getConfirmationSessionId,
|
|
30
30
|
providePathConfirmation,
|
|
31
31
|
requestPathAccess
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-XZGQZ42D.js";
|
|
33
|
+
import "./chunk-JOCR4CF4.js";
|
|
34
34
|
import "./chunk-KLQEL2DZ.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-XAAEP5XM.js";
|
|
36
36
|
import "./chunk-AESOGRFK.js";
|
|
37
37
|
import {
|
|
38
38
|
AskUserInterrupt,
|
|
@@ -57,7 +57,7 @@ import "./chunk-LTYL6ZGH.js";
|
|
|
57
57
|
import "./chunk-HD6Y77RO.js";
|
|
58
58
|
import "./chunk-5PT4UMRR.js";
|
|
59
59
|
import "./chunk-K44MW7JJ.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-KSDWQ6IZ.js";
|
|
61
61
|
import "./chunk-KSXCOHHW.js";
|
|
62
62
|
import "./chunk-CQGTEGKL.js";
|
|
63
63
|
import "./chunk-YLJ4XMA6.js";
|
|
@@ -83,4 +83,4 @@ export {
|
|
|
83
83
|
stepDoneTool,
|
|
84
84
|
validateToolAction
|
|
85
85
|
};
|
|
86
|
-
//# sourceMappingURL=tools-
|
|
86
|
+
//# sourceMappingURL=tools-GOGLGTNV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BSULZIPW.js";
|
|
4
4
|
import "./chunk-YLJ4XMA6.js";
|
|
5
5
|
|
|
6
6
|
// src/cli/update.ts
|
|
@@ -46,4 +46,4 @@ async function runUpdate(options = {}) {
|
|
|
46
46
|
export {
|
|
47
47
|
runUpdate
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=update-
|
|
49
|
+
//# sourceMappingURL=update-T3YMIWQO.js.map
|