openfox 1.6.45 → 1.6.47
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/{auto-compaction-2AI46SNC.js → auto-compaction-7RDQVOYK.js} +6 -6
- package/dist/{chat-handler-ITVOWLJR.js → chat-handler-TTCW7DIB.js} +10 -10
- package/dist/{chunk-SMK6HIR5.js → chunk-22JBSK6P.js} +23 -42
- package/dist/{chunk-RB576RLK.js → chunk-4DR3WUVA.js} +99 -60
- package/dist/{chunk-BF7JQWEL.js → chunk-BHSTSA7U.js} +4 -4
- package/dist/{chunk-HSSXBW6N.js → chunk-DZHZ3UUR.js} +14 -2
- package/dist/{chunk-G6JKXYFE.js → chunk-LIMBYVO4.js} +58 -1
- package/dist/{chunk-FBUTQPJ6.js → chunk-NBBX64KC.js} +4 -5
- package/dist/{chunk-GY4TRYOG.js → chunk-SGOTQ7R3.js} +18 -13
- package/dist/{chunk-KBEOYUA3.js → chunk-SNIBI4L4.js} +2 -2
- package/dist/{chunk-53DUI4MS.js → chunk-Y6HBEACI.js} +1 -1
- package/dist/{chunk-ZSQFDQPH.js → chunk-YVQ6DP5Y.js} +23 -5
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{events-DFDD4BRS.js → events-FHPSSSE4.js} +7 -3
- package/dist/{folding-JSQFCDZO.js → folding-NEZWWL7K.js} +4 -2
- package/dist/{orchestrator-7ZXXNEEC.js → orchestrator-DIJO4BJ7.js} +7 -11
- package/dist/package.json +1 -1
- package/dist/{processor-6CITCUJR.js → processor-YLKEJ7QC.js} +11 -12
- package/dist/{protocol-IWXXOGWM.js → protocol-YNVBDNL7.js} +7 -3
- package/dist/{protocol-B4lesmg5.d.ts → protocol-_A3Upt5b.d.ts} +15 -7
- package/dist/{serve-BCRWEL5U.js → serve-4I7FE32H.js} +9 -9
- package/dist/server/index.d.ts +11 -2
- package/dist/server/index.js +8 -8
- package/dist/shared/index.d.ts +2 -2
- package/dist/shared/index.js +1 -1
- package/dist/{tools-K7TJWICQ.js → tools-E3UECGKO.js} +6 -6
- package/dist/web/assets/{index-Bl-fM2P0.js → index-CK4F8AG6.js} +66 -66
- package/dist/web/assets/{index-DzPKzXc0.css → index-DFE4PMXP.css} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
createContextStateMessage,
|
|
20
20
|
createCriteriaUpdatedMessage,
|
|
21
21
|
createErrorMessage,
|
|
22
|
+
createModeChangedMessage,
|
|
22
23
|
createPhaseChangedMessage,
|
|
23
24
|
createProjectListMessage,
|
|
24
25
|
createProjectStateMessage,
|
|
@@ -30,6 +31,7 @@ import {
|
|
|
30
31
|
isAskAnswerPayload,
|
|
31
32
|
isChatSendPayload,
|
|
32
33
|
isCriteriaEditPayload,
|
|
34
|
+
isModeSwitchPayload,
|
|
33
35
|
isPathConfirmPayload,
|
|
34
36
|
isQueueAsapPayload,
|
|
35
37
|
isQueueCancelPayload,
|
|
@@ -38,8 +40,8 @@ import {
|
|
|
38
40
|
parseClientMessage,
|
|
39
41
|
serializeServerMessage,
|
|
40
42
|
storedEventToServerMessage
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-DZHZ3UUR.js";
|
|
44
|
+
import "./chunk-Y6HBEACI.js";
|
|
43
45
|
export {
|
|
44
46
|
createChatAskUserMessage,
|
|
45
47
|
createChatDeltaMessage,
|
|
@@ -61,6 +63,7 @@ export {
|
|
|
61
63
|
createContextStateMessage,
|
|
62
64
|
createCriteriaUpdatedMessage,
|
|
63
65
|
createErrorMessage,
|
|
66
|
+
createModeChangedMessage,
|
|
64
67
|
createPhaseChangedMessage,
|
|
65
68
|
createProjectListMessage,
|
|
66
69
|
createProjectStateMessage,
|
|
@@ -72,6 +75,7 @@ export {
|
|
|
72
75
|
isAskAnswerPayload,
|
|
73
76
|
isChatSendPayload,
|
|
74
77
|
isCriteriaEditPayload,
|
|
78
|
+
isModeSwitchPayload,
|
|
75
79
|
isPathConfirmPayload,
|
|
76
80
|
isQueueAsapPayload,
|
|
77
81
|
isQueueCancelPayload,
|
|
@@ -81,4 +85,4 @@ export {
|
|
|
81
85
|
serializeServerMessage,
|
|
82
86
|
storedEventToServerMessage
|
|
83
87
|
};
|
|
84
|
-
//# sourceMappingURL=protocol-
|
|
88
|
+
//# sourceMappingURL=protocol-YNVBDNL7.js.map
|
|
@@ -6,6 +6,7 @@ interface Project {
|
|
|
6
6
|
createdAt: string;
|
|
7
7
|
updatedAt: string;
|
|
8
8
|
}
|
|
9
|
+
type SessionMode = string;
|
|
9
10
|
type ToolMode = string;
|
|
10
11
|
type SessionPhase = 'plan' | 'build' | 'verification' | 'blocked' | 'done';
|
|
11
12
|
type DangerLevel = 'normal' | 'dangerous';
|
|
@@ -13,6 +14,7 @@ interface Session {
|
|
|
13
14
|
id: string;
|
|
14
15
|
projectId: string;
|
|
15
16
|
workdir: string;
|
|
17
|
+
mode: SessionMode;
|
|
16
18
|
phase: SessionPhase;
|
|
17
19
|
isRunning: boolean;
|
|
18
20
|
summary: string | null;
|
|
@@ -53,6 +55,7 @@ interface SessionSummary {
|
|
|
53
55
|
projectId: string;
|
|
54
56
|
title?: string;
|
|
55
57
|
workdir: string;
|
|
58
|
+
mode: SessionMode;
|
|
56
59
|
phase: SessionPhase;
|
|
57
60
|
isRunning: boolean;
|
|
58
61
|
providerId?: string | null;
|
|
@@ -366,6 +369,7 @@ interface ExecutionState {
|
|
|
366
369
|
compactionCount: number;
|
|
367
370
|
startedAt: string;
|
|
368
371
|
lastActivityAt: string;
|
|
372
|
+
lastModeWithReminder?: string;
|
|
369
373
|
}
|
|
370
374
|
interface ContextState {
|
|
371
375
|
currentTokens: number;
|
|
@@ -475,7 +479,7 @@ interface Config {
|
|
|
475
479
|
activeWorkflowId?: string | undefined;
|
|
476
480
|
}
|
|
477
481
|
|
|
478
|
-
type ClientMessageType = 'session.load' | 'chat.send' | 'chat.stop' | 'chat.continue' | 'mode.accept' | 'criteria.edit' | 'context.compact' | 'runner.launch' | 'path.confirm' | 'ask.answer' | 'queue.asap' | 'queue.completion' | 'queue.cancel';
|
|
482
|
+
type ClientMessageType = 'session.load' | 'chat.send' | 'chat.stop' | 'chat.continue' | 'mode.switch' | 'mode.accept' | 'criteria.edit' | 'context.compact' | 'runner.launch' | 'path.confirm' | 'ask.answer' | 'queue.asap' | 'queue.completion' | 'queue.cancel';
|
|
479
483
|
interface ClientMessage<T = unknown> {
|
|
480
484
|
id: string;
|
|
481
485
|
type: ClientMessageType;
|
|
@@ -490,7 +494,9 @@ interface ChatSendPayload {
|
|
|
490
494
|
attachments?: Attachment[];
|
|
491
495
|
messageKind?: 'command';
|
|
492
496
|
isSystemGenerated?: boolean;
|
|
493
|
-
|
|
497
|
+
}
|
|
498
|
+
interface ModeSwitchPayload {
|
|
499
|
+
mode: SessionMode;
|
|
494
500
|
}
|
|
495
501
|
interface CriteriaEditPayload {
|
|
496
502
|
criteria: Criterion[];
|
|
@@ -498,12 +504,10 @@ interface CriteriaEditPayload {
|
|
|
498
504
|
interface QueueAsapPayload {
|
|
499
505
|
content: string;
|
|
500
506
|
attachments?: Attachment[];
|
|
501
|
-
agentId?: string;
|
|
502
507
|
}
|
|
503
508
|
interface QueueCompletionPayload {
|
|
504
509
|
content: string;
|
|
505
510
|
attachments?: Attachment[];
|
|
506
|
-
agentId?: string;
|
|
507
511
|
}
|
|
508
512
|
interface QueueCancelPayload {
|
|
509
513
|
queueId: string;
|
|
@@ -519,9 +523,8 @@ interface QueuedMessage {
|
|
|
519
523
|
attachments?: Attachment[];
|
|
520
524
|
queuedAt: string;
|
|
521
525
|
messageKind?: string;
|
|
522
|
-
agentId?: string;
|
|
523
526
|
}
|
|
524
|
-
type ServerMessageType = 'project.state' | 'project.list' | 'project.deleted' | 'session.state' | 'session.list' | 'session.deleted' | 'session.deletedAll' | 'session.running' | 'session.name_generated' | 'chat.delta' | 'chat.thinking' | 'chat.tool_preparing' | 'chat.tool_call' | 'chat.tool_output' | 'chat.tool_result' | 'chat.todo' | 'chat.summary' | 'chat.progress' | 'chat.format_retry' | 'chat.message' | 'chat.message_updated' | 'chat.done' | 'chat.vision_fallback' | 'chat.error' | 'chat.path_confirmation' | 'chat.ask_user' | 'phase.changed' | 'task.completed' | 'criteria.updated' | 'context.state' | 'settings.value' | 'provider.changed' | 'queue.state' | 'devServer.output' | 'devServer.state' | 'backgroundProcess.started' | 'backgroundProcess.output' | 'backgroundProcess.exited' | 'backgroundProcess.removed' | 'lsp.diagnostics' | 'error' | 'ack';
|
|
527
|
+
type ServerMessageType = 'project.state' | 'project.list' | 'project.deleted' | 'session.state' | 'session.list' | 'session.deleted' | 'session.deletedAll' | 'session.running' | 'session.name_generated' | 'chat.delta' | 'chat.thinking' | 'chat.tool_preparing' | 'chat.tool_call' | 'chat.tool_output' | 'chat.tool_result' | 'chat.todo' | 'chat.summary' | 'chat.progress' | 'chat.format_retry' | 'chat.message' | 'chat.message_updated' | 'chat.done' | 'chat.vision_fallback' | 'chat.error' | 'chat.path_confirmation' | 'chat.ask_user' | 'mode.changed' | 'phase.changed' | 'task.completed' | 'criteria.updated' | 'context.state' | 'settings.value' | 'provider.changed' | 'queue.state' | 'devServer.output' | 'devServer.state' | 'backgroundProcess.started' | 'backgroundProcess.output' | 'backgroundProcess.exited' | 'backgroundProcess.removed' | 'lsp.diagnostics' | 'error' | 'ack';
|
|
525
528
|
interface ServerMessage<T = unknown> {
|
|
526
529
|
id?: string;
|
|
527
530
|
type: ServerMessageType;
|
|
@@ -654,6 +657,11 @@ interface ChatAskUserPayload {
|
|
|
654
657
|
callId: string;
|
|
655
658
|
question: string;
|
|
656
659
|
}
|
|
660
|
+
interface ModeChangedPayload {
|
|
661
|
+
mode: SessionMode;
|
|
662
|
+
auto: boolean;
|
|
663
|
+
reason?: string;
|
|
664
|
+
}
|
|
657
665
|
interface PhaseChangedPayload {
|
|
658
666
|
phase: SessionPhase;
|
|
659
667
|
}
|
|
@@ -837,4 +845,4 @@ interface QueueCancelledEvent {
|
|
|
837
845
|
}
|
|
838
846
|
type QueueEvent = QueueAddedEvent | QueueDrainedEvent | QueueCancelledEvent;
|
|
839
847
|
|
|
840
|
-
export { type FileReadEntry as $, type AgentEvent as A, type BackgroundProcess as B, type CallStatsDataPoint as C, type ClientMessage as D, type ClientMessageType as E, type Config as F, type ContextCompactionEvent as G, type ContextState as H, type ContextStatePayload as I, type ContextWindow as J, type CriteriaEditPayload as K, type CriteriaUpdatedPayload as L, type Message as M, type Criterion as N, type CriterionAttempt as O, type CriterionStatus as P, type CriterionValidation as Q, type DangerLevel as R, type SessionStats as S, type DevServerOutputPayload as T, type DevServerStatePayload as U, type Diagnostic as V, type EditContextEdit as W, type EditContextLine as X, type EditContextRegion as Y, type ErrorPayload as Z, type ExecutionState 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
|
|
848
|
+
export { type FileReadEntry as $, type AgentEvent as A, type BackgroundProcess as B, type CallStatsDataPoint as C, type ClientMessage as D, type ClientMessageType as E, type Config as F, type ContextCompactionEvent as G, type ContextState as H, type ContextStatePayload as I, type ContextWindow as J, type CriteriaEditPayload as K, type CriteriaUpdatedPayload as L, type Message as M, type Criterion as N, type CriterionAttempt as O, type CriterionStatus as P, type CriterionValidation as Q, type DangerLevel as R, type SessionStats as S, type DevServerOutputPayload as T, type DevServerStatePayload as U, type Diagnostic as V, type EditContextEdit as W, type EditContextLine as X, type EditContextRegion as Y, type ErrorPayload as Z, type ExecutionState as _, type AskAnswerPayload as a, isServerMessage 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 ModeChangedPayload as a8, type ModeSwitchPayload as a9, type QueueStatePayload as aA, type QueuedMessage as aB, type RecentUserPrompt as aC, type ServerMessage as aD, type ServerMessageType as aE, type Session as aF, type SessionListPayload as aG, type SessionLoadPayload as aH, type SessionMetadata as aI, type SessionMode as aJ, type SessionNameGeneratedPayload as aK, type SessionPhase as aL, type SessionRunningPayload as aM, type SessionStatePayload as aN, type SessionSummary as aO, type StatsDataPoint as aP, type StatsIdentity as aQ, type TaskCompletedPayload as aR, type Todo as aS, type ToolCall as aT, type ToolMode as aU, type ToolName as aV, type ToolResult as aW, type ValidationResult as aX, createClientMessage as aY, createServerMessage as aZ, isClientMessage as a_, type ModelConfig as aa, type ModelSessionStats as ab, type PathConfirmPayload as ac, type PathConfirmationReason as ad, type PendingPathConfirmationPayload as ae, type PhaseChangedPayload as af, type PreparingToolCall as ag, type Project as ah, type ProjectDeletedPayload as ai, type ProjectListPayload as aj, type ProjectStatePayload as ak, type PromptContext as al, type PromptContextMessage as am, type PromptContextTool as an, type PromptRequestOptions as ao, type Provider as ap, type ProviderBackend as aq, type ProviderChangedPayload as ar, type QueueAddedEvent as as, type QueueAsapPayload as at, type QueueCancelPayload as au, type QueueCancelledEvent as av, type QueueCompletionPayload as aw, type QueueDrainedEvent as ax, type QueueEvent as ay, type QueueEventType 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 ChatSendPayload as r, type ChatSummaryPayload 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 };
|
|
@@ -6,24 +6,24 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
createServer
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-4DR3WUVA.js";
|
|
10
|
+
import "./chunk-BHSTSA7U.js";
|
|
11
|
+
import "./chunk-22JBSK6P.js";
|
|
12
|
+
import "./chunk-SGOTQ7R3.js";
|
|
13
13
|
import "./chunk-NBU6KIOD.js";
|
|
14
14
|
import "./chunk-574HZVLE.js";
|
|
15
15
|
import "./chunk-7JPKRM6M.js";
|
|
16
16
|
import "./chunk-HYIQFRYJ.js";
|
|
17
17
|
import "./chunk-F2VWCCMC.js";
|
|
18
18
|
import "./chunk-WNZIUQ2L.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-YVQ6DP5Y.js";
|
|
20
|
+
import "./chunk-LIMBYVO4.js";
|
|
21
|
+
import "./chunk-DZHZ3UUR.js";
|
|
22
22
|
import "./chunk-22CTURMH.js";
|
|
23
23
|
import "./chunk-GQZGIMJO.js";
|
|
24
24
|
import "./chunk-BLNFJ22S.js";
|
|
25
25
|
import "./chunk-B7E3BICY.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-Y6HBEACI.js";
|
|
27
27
|
import {
|
|
28
28
|
ensureDataDirExists,
|
|
29
29
|
getDatabasePath,
|
|
@@ -188,4 +188,4 @@ async function runServe(options) {
|
|
|
188
188
|
export {
|
|
189
189
|
runServe
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=serve-
|
|
191
|
+
//# sourceMappingURL=serve-4I7FE32H.js.map
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aT as ToolCall, c as Attachment, V as Diagnostic, ap as Provider, aa as ModelConfig, aF as Session, aO as SessionSummary, ah as Project, aJ as SessionMode, aL as SessionPhase, M as Message, N as Criterion, P as CriterionStatus, aB as QueuedMessage, H as ContextState, R as DangerLevel$1, aD as ServerMessage, aQ as StatsIdentity, aW as ToolResult, F as Config } from '../protocol-_A3Upt5b.js';
|
|
2
2
|
import { Server } from 'node:http';
|
|
3
3
|
|
|
4
4
|
interface LLMMessage {
|
|
@@ -246,6 +246,11 @@ type SessionEvent = {
|
|
|
246
246
|
} | {
|
|
247
247
|
type: 'session_deleted';
|
|
248
248
|
sessionId: string;
|
|
249
|
+
} | {
|
|
250
|
+
type: 'mode_changed';
|
|
251
|
+
sessionId: string;
|
|
252
|
+
from: SessionMode;
|
|
253
|
+
to: SessionMode;
|
|
249
254
|
} | {
|
|
250
255
|
type: 'phase_changed';
|
|
251
256
|
sessionId: string;
|
|
@@ -326,6 +331,10 @@ declare class SessionManager {
|
|
|
326
331
|
* Delete all sessions for a project.
|
|
327
332
|
*/
|
|
328
333
|
deleteAllSessions(projectId: string, workdir: string): void;
|
|
334
|
+
/**
|
|
335
|
+
* Change session mode. Emits mode.changed event.
|
|
336
|
+
*/
|
|
337
|
+
setMode(sessionId: string, toMode: SessionMode): Session;
|
|
329
338
|
/**
|
|
330
339
|
* Change session phase. Emits phase.changed event.
|
|
331
340
|
*/
|
|
@@ -423,7 +432,7 @@ declare class SessionManager {
|
|
|
423
432
|
*/
|
|
424
433
|
removeCriterion(sessionId: string, criterionId: string): Criterion[];
|
|
425
434
|
private messageQueues;
|
|
426
|
-
queueMessage(sessionId: string, mode: 'asap' | 'completion', content: string, attachments?: Attachment[], messageKind?: string
|
|
435
|
+
queueMessage(sessionId: string, mode: 'asap' | 'completion', content: string, attachments?: Attachment[], messageKind?: string): QueuedMessage;
|
|
427
436
|
cancelQueuedMessage(sessionId: string, queueId: string): boolean;
|
|
428
437
|
drainAsapMessages(sessionId: string): QueuedMessage[];
|
|
429
438
|
drainCompletionMessages(sessionId: string): QueuedMessage[];
|
package/dist/server/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-4DR3WUVA.js";
|
|
5
|
+
import "../chunk-BHSTSA7U.js";
|
|
6
|
+
import "../chunk-22JBSK6P.js";
|
|
7
|
+
import "../chunk-SGOTQ7R3.js";
|
|
8
8
|
import "../chunk-NBU6KIOD.js";
|
|
9
9
|
import "../chunk-574HZVLE.js";
|
|
10
10
|
import "../chunk-7JPKRM6M.js";
|
|
11
11
|
import "../chunk-HYIQFRYJ.js";
|
|
12
12
|
import "../chunk-F2VWCCMC.js";
|
|
13
13
|
import "../chunk-WNZIUQ2L.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-YVQ6DP5Y.js";
|
|
15
|
+
import "../chunk-LIMBYVO4.js";
|
|
16
|
+
import "../chunk-DZHZ3UUR.js";
|
|
17
17
|
import "../chunk-22CTURMH.js";
|
|
18
18
|
import "../chunk-GQZGIMJO.js";
|
|
19
19
|
import "../chunk-BLNFJ22S.js";
|
|
20
20
|
import "../chunk-B7E3BICY.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-Y6HBEACI.js";
|
|
22
22
|
import "../chunk-R4HADRYO.js";
|
|
23
23
|
import "../chunk-TVQOONDR.js";
|
|
24
24
|
import "../chunk-VCALN543.js";
|
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 ChatSendPayload, s as ChatSummaryPayload, t as ChatThinkingPayload, u as ChatTodoPayload, v as ChatToolCallPayload, w as ChatToolOutputPayload, x as ChatToolPreparingPayload, y as ChatToolResultPayload, z as ChatVisionFallbackPayload, D as ClientMessage, E as ClientMessageType, F as Config, G as ContextCompactionEvent, H as ContextState, I as ContextStatePayload, J as ContextWindow, K as CriteriaEditPayload, L as CriteriaUpdatedPayload, N as Criterion, O as CriterionAttempt, P as CriterionStatus, Q as CriterionValidation, R as DangerLevel, T as DevServerOutputPayload, U as DevServerStatePayload, V as Diagnostic, W as EditContextEdit, X as EditContextLine, Y as EditContextRegion, Z as ErrorPayload, _ as ExecutionState, $ as FileReadEntry, 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
|
|
1
|
+
import { M as Message, S as SessionStats } from '../protocol-_A3Upt5b.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 ChatSendPayload, s as ChatSummaryPayload, t as ChatThinkingPayload, u as ChatTodoPayload, v as ChatToolCallPayload, w as ChatToolOutputPayload, x as ChatToolPreparingPayload, y as ChatToolResultPayload, z as ChatVisionFallbackPayload, D as ClientMessage, E as ClientMessageType, F as Config, G as ContextCompactionEvent, H as ContextState, I as ContextStatePayload, J as ContextWindow, K as CriteriaEditPayload, L as CriteriaUpdatedPayload, N as Criterion, O as CriterionAttempt, P as CriterionStatus, Q as CriterionValidation, R as DangerLevel, T as DevServerOutputPayload, U as DevServerStatePayload, V as Diagnostic, W as EditContextEdit, X as EditContextLine, Y as EditContextRegion, Z as ErrorPayload, _ as ExecutionState, $ as FileReadEntry, 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 ModeChangedPayload, a9 as ModeSwitchPayload, aa as ModelConfig, ab as ModelSessionStats, ac as PathConfirmPayload, ad as PathConfirmationReason, ae as PendingPathConfirmationPayload, af as PhaseChangedPayload, ag as PreparingToolCall, ah as Project, ai as ProjectDeletedPayload, aj as ProjectListPayload, ak as ProjectStatePayload, al as PromptContext, am as PromptContextMessage, an as PromptContextTool, ao as PromptRequestOptions, ap as Provider, aq as ProviderBackend, ar as ProviderChangedPayload, as as QueueAddedEvent, at as QueueAsapPayload, au as QueueCancelPayload, av as QueueCancelledEvent, aw as QueueCompletionPayload, ax as QueueDrainedEvent, ay as QueueEvent, az as QueueEventType, aA as QueueStatePayload, aB as QueuedMessage, aC as RecentUserPrompt, aD as ServerMessage, aE as ServerMessageType, aF as Session, aG as SessionListPayload, aH as SessionLoadPayload, aI as SessionMetadata, aJ as SessionMode, aK as SessionNameGeneratedPayload, aL as SessionPhase, aM as SessionRunningPayload, aN as SessionStatePayload, aO as SessionSummary, aP as StatsDataPoint, aQ as StatsIdentity, aR as TaskCompletedPayload, aS as Todo, aT as ToolCall, aU as ToolMode, aV as ToolName, aW as ToolResult, aX as ValidationResult, aY as createClientMessage, aZ as createServerMessage, a_ as isClientMessage, a$ as isServerMessage } from '../protocol-_A3Upt5b.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Session stats computation - aggregates response-level MessageStats from
|
package/dist/shared/index.js
CHANGED
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SGOTQ7R3.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-7JPKRM6M.js";
|
|
18
18
|
import "./chunk-WNZIUQ2L.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-YVQ6DP5Y.js";
|
|
20
|
+
import "./chunk-LIMBYVO4.js";
|
|
21
|
+
import "./chunk-DZHZ3UUR.js";
|
|
22
22
|
import {
|
|
23
23
|
AskUserInterrupt,
|
|
24
24
|
cancelQuestionsForSession,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-22CTURMH.js";
|
|
27
27
|
import "./chunk-GQZGIMJO.js";
|
|
28
28
|
import "./chunk-BLNFJ22S.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-Y6HBEACI.js";
|
|
30
30
|
import "./chunk-R4HADRYO.js";
|
|
31
31
|
import "./chunk-TVQOONDR.js";
|
|
32
32
|
import "./chunk-VCALN543.js";
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
stepDoneTool,
|
|
49
49
|
validateToolAction
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=tools-
|
|
51
|
+
//# sourceMappingURL=tools-E3UECGKO.js.map
|