openfox 1.6.52 → 1.6.53

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.
@@ -1,4 +1,5 @@
1
1
  import {
2
+ getEventStore,
2
3
  updateSessionMetadata
3
4
  } from "./chunk-UQGY56XJ.js";
4
5
  import {
@@ -6,12 +7,44 @@ import {
6
7
  foldPendingConfirmations
7
8
  } from "./chunk-LIMBYVO4.js";
8
9
  import {
10
+ createContextStateMessage,
9
11
  createSessionStateMessage
10
- } from "./chunk-HQSCGJ6V.js";
12
+ } from "./chunk-5STJLSGO.js";
11
13
  import {
12
14
  logger
13
15
  } from "./chunk-PNBH3RAX.js";
14
16
 
17
+ // src/server/utils/session-utils.ts
18
+ function getSessionMessageCount(sessionId) {
19
+ const eventStore = getEventStore();
20
+ const events = eventStore.getEvents(sessionId);
21
+ let count = 0;
22
+ for (const event of events) {
23
+ if (event.type === "message.start") {
24
+ const data = event.data;
25
+ if (data.role === "user") {
26
+ count++;
27
+ }
28
+ }
29
+ }
30
+ return count;
31
+ }
32
+ function finalizeTurnCompletion(sessionId, sessionManager, broadcastForSession) {
33
+ sessionManager.setRunning(sessionId, false);
34
+ const contextState = sessionManager.getContextState(sessionId);
35
+ broadcastForSession(sessionId, createContextStateMessage(contextState));
36
+ }
37
+ function buildRunChatTurnParams(params) {
38
+ return {
39
+ sessionManager: params.sessionManager,
40
+ sessionId: params.sessionId,
41
+ llmClient: params.llmClient,
42
+ signal: params.signal,
43
+ onMessage: params.onMessage,
44
+ ...params.statsIdentity ? { statsIdentity: params.statsIdentity } : {}
45
+ };
46
+ }
47
+
15
48
  // src/server/session/name-generator.ts
16
49
  var SESSION_NAME_PROMPT = `Generate a concise, descriptive session name (max 50 characters) based on the user's message.
17
50
  Return ONLY the name, nothing else.
@@ -103,9 +136,11 @@ function applyGeneratedSessionName(sessionId, name, deps) {
103
136
  }
104
137
 
105
138
  export {
139
+ getSessionMessageCount,
140
+ finalizeTurnCompletion,
141
+ buildRunChatTurnParams,
106
142
  generateSessionName,
107
- needsNameGeneration,
108
143
  needsNameGenerationCheck,
109
144
  applyGeneratedSessionName
110
145
  };
111
- //# sourceMappingURL=chunk-OPT4YF7X.js.map
146
+ //# sourceMappingURL=chunk-XRPGQKBM.js.map
package/dist/cli/dev.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-XKI3OYFD.js";
4
+ } from "../chunk-AFIVZZJN.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-PNBH3RAX.js";
package/dist/cli/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-XKI3OYFD.js";
4
+ } from "../chunk-AFIVZZJN.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-PNBH3RAX.js";
@@ -3,7 +3,7 @@ import {
3
3
  runBuilderTurn,
4
4
  runChatTurn,
5
5
  runVerifierTurn
6
- } from "./chunk-PLIGDCWB.js";
6
+ } from "./chunk-4MSEK56X.js";
7
7
  import {
8
8
  TurnMetrics,
9
9
  createChatDoneEvent,
@@ -11,18 +11,18 @@ import {
11
11
  createMessageStartEvent,
12
12
  createToolCallEvent,
13
13
  createToolResultEvent
14
- } from "./chunk-NVWJC2YZ.js";
14
+ } from "./chunk-DAUVWS5W.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
19
  import "./chunk-UQGY56XJ.js";
20
20
  import "./chunk-LIMBYVO4.js";
21
- import "./chunk-HQSCGJ6V.js";
21
+ import "./chunk-5STJLSGO.js";
22
22
  import "./chunk-22CTURMH.js";
23
23
  import "./chunk-GQZGIMJO.js";
24
24
  import "./chunk-BLNFJ22S.js";
25
- import "./chunk-H5ZZGLQU.js";
25
+ import "./chunk-CTAIXOZJ.js";
26
26
  import "./chunk-R4HADRYO.js";
27
27
  import "./chunk-TVQOONDR.js";
28
28
  import "./chunk-VCALN543.js";
@@ -39,4 +39,4 @@ export {
39
39
  runChatTurn,
40
40
  runVerifierTurn
41
41
  };
42
- //# sourceMappingURL=orchestrator-JSLETK3F.js.map
42
+ //# sourceMappingURL=orchestrator-FX6SZX4J.js.map
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "1.6.52",
3
+ "version": "1.6.53",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -52,8 +52,9 @@
52
52
  "duplicate": "npm run duplicate:server && npm run duplicate:web",
53
53
  "check": "npm run typecheck && npm run duplicate",
54
54
  "clean": "rm -rf dist",
55
- "prepublishOnly": "npm run build",
56
- "prepare": "husky"
55
+ "prepublishOnly": "npm run build && npm run test:publish:e2e",
56
+ "prepare": "husky",
57
+ "test:publish:e2e": "tsx scripts/run-publish-e2e.ts"
57
58
  },
58
59
  "dependencies": {
59
60
  "@clack/prompts": "^1.1.0",
@@ -1,13 +1,11 @@
1
1
  import {
2
+ applyGeneratedSessionName,
2
3
  buildRunChatTurnParams,
3
4
  finalizeTurnCompletion,
4
- getSessionMessageCount
5
- } from "./chunk-2L4DPLCM.js";
6
- import {
7
- applyGeneratedSessionName,
8
5
  generateSessionName,
6
+ getSessionMessageCount,
9
7
  needsNameGenerationCheck
10
- } from "./chunk-OPT4YF7X.js";
8
+ } from "./chunk-XRPGQKBM.js";
11
9
  import {
12
10
  getEventStore
13
11
  } from "./chunk-UQGY56XJ.js";
@@ -15,9 +13,9 @@ import "./chunk-LIMBYVO4.js";
15
13
  import {
16
14
  createChatMessageMessage,
17
15
  createSessionRunningMessage
18
- } from "./chunk-HQSCGJ6V.js";
16
+ } from "./chunk-5STJLSGO.js";
19
17
  import "./chunk-BLNFJ22S.js";
20
- import "./chunk-H5ZZGLQU.js";
18
+ import "./chunk-CTAIXOZJ.js";
21
19
  import "./chunk-TVQOONDR.js";
22
20
  import {
23
21
  logger
@@ -175,7 +173,7 @@ var QueueProcessor = class {
175
173
  backend: provider?.backend ?? llmClient.getBackend(),
176
174
  model: llmClient.getModel()
177
175
  };
178
- const { runChatTurn } = await import("./orchestrator-JSLETK3F.js");
176
+ const { runChatTurn } = await import("./orchestrator-FX6SZX4J.js");
179
177
  const runChatTurnParams = buildRunChatTurnParams({
180
178
  sessionManager,
181
179
  sessionId,
@@ -208,4 +206,4 @@ var QueueProcessor = class {
208
206
  export {
209
207
  QueueProcessor
210
208
  };
211
- //# sourceMappingURL=processor-Q4NS4MID.js.map
209
+ //# sourceMappingURL=processor-AS6JXF4U.js.map
@@ -479,7 +479,7 @@ interface Config {
479
479
  activeWorkflowId?: string | undefined;
480
480
  }
481
481
 
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';
482
+ type ClientMessageType = 'session.load' | 'context.compact' | 'runner.launch' | 'path.confirm' | 'ask.answer';
483
483
  interface ClientMessage<T = unknown> {
484
484
  id: string;
485
485
  type: ClientMessageType;
@@ -489,29 +489,6 @@ interface SessionLoadPayload {
489
489
  sessionId: string;
490
490
  lastEventSeq?: number;
491
491
  }
492
- interface ChatSendPayload {
493
- content: string;
494
- attachments?: Attachment[];
495
- messageKind?: 'command';
496
- isSystemGenerated?: boolean;
497
- }
498
- interface ModeSwitchPayload {
499
- mode: SessionMode;
500
- }
501
- interface CriteriaEditPayload {
502
- criteria: Criterion[];
503
- }
504
- interface QueueAsapPayload {
505
- content: string;
506
- attachments?: Attachment[];
507
- }
508
- interface QueueCompletionPayload {
509
- content: string;
510
- attachments?: Attachment[];
511
- }
512
- interface QueueCancelPayload {
513
- queueId: string;
514
- }
515
492
  interface AskAnswerPayload {
516
493
  callId: string;
517
494
  answer: string;
@@ -845,4 +822,4 @@ interface QueueCancelledEvent {
845
822
  }
846
823
  type QueueEvent = QueueAddedEvent | QueueDrainedEvent | QueueCancelledEvent;
847
824
 
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 };
825
+ export { type LLMCallStats as $, type AgentEvent as A, type BackgroundProcess as B, type CallStatsDataPoint as C, type ClientMessageType as D, type Config as E, type ContextCompactionEvent as F, type ContextState as G, type ContextStatePayload as H, type ContextWindow as I, type CriteriaUpdatedPayload as J, type Criterion as K, type CriterionAttempt as L, type Message as M, type CriterionStatus as N, type CriterionValidation as O, type DangerLevel as P, type DevServerOutputPayload as Q, type DevServerStatePayload as R, type SessionStats as S, type Diagnostic as T, type EditContextEdit as U, type EditContextLine as V, type EditContextRegion as W, type ErrorPayload as X, type ExecutionState as Y, type FileReadEntry as Z, type InjectedFile as _, type AskAnswerPayload as a, type LlmBackend as a0, type LogLine as a1, type LspDiagnosticsPayload as a2, type MessageRole as a3, type MessageSegment as a4, type MessageStats as a5, type ModeChangedPayload as a6, type ModelConfig as a7, type ModelSessionStats as a8, type PathConfirmPayload 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 PathConfirmationReason as aa, type PendingPathConfirmationPayload as ab, type PhaseChangedPayload as ac, type PreparingToolCall as ad, type Project as ae, type ProjectDeletedPayload as af, type ProjectListPayload as ag, type ProjectStatePayload as ah, type PromptContext as ai, type PromptContextMessage as aj, type PromptContextTool as ak, type PromptRequestOptions 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 ChatSummaryPayload as r, type ChatThinkingPayload as s, type ChatTodoPayload as t, type ChatToolCallPayload as u, type ChatToolOutputPayload as v, type ChatToolPreparingPayload as w, type ChatToolResultPayload as x, type ChatVisionFallbackPayload as y, type ClientMessage as z };
@@ -29,19 +29,13 @@ import {
29
29
  createSessionRunningMessage,
30
30
  createSessionStateMessage,
31
31
  isAskAnswerPayload,
32
- isChatSendPayload,
33
- isCriteriaEditPayload,
34
- isModeSwitchPayload,
35
32
  isPathConfirmPayload,
36
- isQueueAsapPayload,
37
- isQueueCancelPayload,
38
- isQueueCompletionPayload,
39
33
  isSessionLoadPayload,
40
34
  parseClientMessage,
41
35
  serializeServerMessage,
42
36
  storedEventToServerMessage
43
- } from "./chunk-HQSCGJ6V.js";
44
- import "./chunk-H5ZZGLQU.js";
37
+ } from "./chunk-5STJLSGO.js";
38
+ import "./chunk-CTAIXOZJ.js";
45
39
  export {
46
40
  createChatAskUserMessage,
47
41
  createChatDeltaMessage,
@@ -73,16 +67,10 @@ export {
73
67
  createSessionRunningMessage,
74
68
  createSessionStateMessage,
75
69
  isAskAnswerPayload,
76
- isChatSendPayload,
77
- isCriteriaEditPayload,
78
- isModeSwitchPayload,
79
70
  isPathConfirmPayload,
80
- isQueueAsapPayload,
81
- isQueueCancelPayload,
82
- isQueueCompletionPayload,
83
71
  isSessionLoadPayload,
84
72
  parseClientMessage,
85
73
  serializeServerMessage,
86
74
  storedEventToServerMessage
87
75
  };
88
- //# sourceMappingURL=protocol-GG65P3FF.js.map
76
+ //# sourceMappingURL=protocol-WHHYESPI.js.map
@@ -6,10 +6,9 @@ import {
6
6
  import {
7
7
  VERSION,
8
8
  createServer
9
- } from "./chunk-BMNBXLFY.js";
10
- import "./chunk-OPT4YF7X.js";
11
- import "./chunk-PLIGDCWB.js";
12
- import "./chunk-NVWJC2YZ.js";
9
+ } from "./chunk-JLMCJLTK.js";
10
+ import "./chunk-4MSEK56X.js";
11
+ import "./chunk-DAUVWS5W.js";
13
12
  import "./chunk-NBU6KIOD.js";
14
13
  import "./chunk-574HZVLE.js";
15
14
  import "./chunk-7JPKRM6M.js";
@@ -18,12 +17,12 @@ import "./chunk-F2VWCCMC.js";
18
17
  import "./chunk-WNZIUQ2L.js";
19
18
  import "./chunk-UQGY56XJ.js";
20
19
  import "./chunk-LIMBYVO4.js";
21
- import "./chunk-HQSCGJ6V.js";
20
+ import "./chunk-5STJLSGO.js";
22
21
  import "./chunk-22CTURMH.js";
23
22
  import "./chunk-GQZGIMJO.js";
24
23
  import "./chunk-BLNFJ22S.js";
25
24
  import "./chunk-B7E3BICY.js";
26
- import "./chunk-H5ZZGLQU.js";
25
+ import "./chunk-CTAIXOZJ.js";
27
26
  import {
28
27
  ensureDataDirExists,
29
28
  getDatabasePath,
@@ -188,4 +187,4 @@ async function runServe(options) {
188
187
  export {
189
188
  runServe
190
189
  };
191
- //# sourceMappingURL=serve-HPBQJTEZ.js.map
190
+ //# sourceMappingURL=serve-W3EZMXAC.js.map
@@ -1,4 +1,4 @@
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-BWFqvGie.js';
1
+ import { aN as ToolCall, c as Attachment, T as Diagnostic, am as Provider, a7 as ModelConfig, az as Session, aI as SessionSummary, ae as Project, aD as SessionMode, aF as SessionPhase, M as Message, K as Criterion, N as CriterionStatus, av as QueuedMessage, G as ContextState, P as DangerLevel$1, ax as ServerMessage, aK as StatsIdentity, aQ as ToolResult, E as Config } from '../protocol-Cmn48nDH.js';
2
2
  import { Server } from 'node:http';
3
3
 
4
4
  interface LLMMessage {
@@ -1,10 +1,9 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-BMNBXLFY.js";
5
- import "../chunk-OPT4YF7X.js";
6
- import "../chunk-PLIGDCWB.js";
7
- import "../chunk-NVWJC2YZ.js";
4
+ } from "../chunk-JLMCJLTK.js";
5
+ import "../chunk-4MSEK56X.js";
6
+ import "../chunk-DAUVWS5W.js";
8
7
  import "../chunk-NBU6KIOD.js";
9
8
  import "../chunk-574HZVLE.js";
10
9
  import "../chunk-7JPKRM6M.js";
@@ -13,12 +12,12 @@ import "../chunk-F2VWCCMC.js";
13
12
  import "../chunk-WNZIUQ2L.js";
14
13
  import "../chunk-UQGY56XJ.js";
15
14
  import "../chunk-LIMBYVO4.js";
16
- import "../chunk-HQSCGJ6V.js";
15
+ import "../chunk-5STJLSGO.js";
17
16
  import "../chunk-22CTURMH.js";
18
17
  import "../chunk-GQZGIMJO.js";
19
18
  import "../chunk-BLNFJ22S.js";
20
19
  import "../chunk-B7E3BICY.js";
21
- import "../chunk-H5ZZGLQU.js";
20
+ import "../chunk-CTAIXOZJ.js";
22
21
  import "../chunk-R4HADRYO.js";
23
22
  import "../chunk-TVQOONDR.js";
24
23
  import "../chunk-VCALN543.js";
@@ -1,5 +1,5 @@
1
- import { M as Message, S as SessionStats } from '../protocol-BWFqvGie.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-BWFqvGie.js';
1
+ import { M as Message, S as SessionStats } from '../protocol-Cmn48nDH.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 ChatSummaryPayload, s as ChatThinkingPayload, t as ChatTodoPayload, u as ChatToolCallPayload, v as ChatToolOutputPayload, w as ChatToolPreparingPayload, x as ChatToolResultPayload, y as ChatVisionFallbackPayload, z as ClientMessage, D as ClientMessageType, E as Config, F as ContextCompactionEvent, G as ContextState, H as ContextStatePayload, I as ContextWindow, J as CriteriaUpdatedPayload, K as Criterion, L as CriterionAttempt, N as CriterionStatus, O as CriterionValidation, P as DangerLevel, Q as DevServerOutputPayload, R as DevServerStatePayload, T as Diagnostic, U as EditContextEdit, V as EditContextLine, W as EditContextRegion, X as ErrorPayload, Y as ExecutionState, Z as FileReadEntry, _ as InjectedFile, $ as LLMCallStats, a0 as LlmBackend, a1 as LogLine, a2 as LspDiagnosticsPayload, a3 as MessageRole, a4 as MessageSegment, a5 as MessageStats, a6 as ModeChangedPayload, a7 as ModelConfig, a8 as ModelSessionStats, a9 as PathConfirmPayload, aa as PathConfirmationReason, ab as PendingPathConfirmationPayload, ac as PhaseChangedPayload, ad as PreparingToolCall, ae as Project, af as ProjectDeletedPayload, ag as ProjectListPayload, ah as ProjectStatePayload, ai as PromptContext, aj as PromptContextMessage, ak as PromptContextTool, al as PromptRequestOptions, 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-Cmn48nDH.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-H5ZZGLQU.js";
9
+ } from "../chunk-CTAIXOZJ.js";
10
10
  export {
11
11
  computeSessionStats,
12
12
  createClientMessage,
@@ -11,14 +11,14 @@ import {
11
11
  requestPathAccess,
12
12
  stepDoneTool,
13
13
  validateToolAction
14
- } from "./chunk-NVWJC2YZ.js";
14
+ } from "./chunk-DAUVWS5W.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
19
  import "./chunk-UQGY56XJ.js";
20
20
  import "./chunk-LIMBYVO4.js";
21
- import "./chunk-HQSCGJ6V.js";
21
+ import "./chunk-5STJLSGO.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-H5ZZGLQU.js";
29
+ import "./chunk-CTAIXOZJ.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-DTNPLRKJ.js.map
51
+ //# sourceMappingURL=tools-SJN7IGVF.js.map