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.
- package/dist/{auto-compaction-43QXHIOZ.js → auto-compaction-NVHM75BN.js} +4 -4
- package/dist/{chat-handler-UMXEBSMS.js → chat-handler-DERM2S6L.js} +9 -11
- package/dist/{chunk-PLIGDCWB.js → chunk-4MSEK56X.js} +2 -2
- package/dist/{chunk-HQSCGJ6V.js → chunk-5STJLSGO.js} +2 -26
- package/dist/{chunk-XKI3OYFD.js → chunk-AFIVZZJN.js} +2 -2
- package/dist/{chunk-H5ZZGLQU.js → chunk-CTAIXOZJ.js} +1 -1
- package/dist/{chunk-NVWJC2YZ.js → chunk-DAUVWS5W.js} +3 -5
- package/dist/{chunk-BMNBXLFY.js → chunk-JLMCJLTK.js} +95 -524
- package/dist/{chunk-OPT4YF7X.js → chunk-XRPGQKBM.js} +38 -3
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-JSLETK3F.js → orchestrator-FX6SZX4J.js} +5 -5
- package/dist/package.json +4 -3
- package/dist/{processor-Q4NS4MID.js → processor-AS6JXF4U.js} +7 -9
- package/dist/{protocol-BWFqvGie.d.ts → protocol-Cmn48nDH.d.ts} +2 -25
- package/dist/{protocol-GG65P3FF.js → protocol-WHHYESPI.js} +3 -15
- package/dist/{serve-HPBQJTEZ.js → serve-W3EZMXAC.js} +6 -7
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +5 -6
- package/dist/shared/index.d.ts +2 -2
- package/dist/shared/index.js +1 -1
- package/dist/{tools-DTNPLRKJ.js → tools-SJN7IGVF.js} +4 -4
- package/dist/web/assets/{index-CugBax2x.js → index-Bet4PbsC.js} +46 -46
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/package.json +4 -3
- package/dist/chunk-2L4DPLCM.js +0 -44
|
@@ -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-
|
|
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-
|
|
146
|
+
//# sourceMappingURL=chunk-XRPGQKBM.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn,
|
|
5
5
|
runVerifierTurn
|
|
6
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
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-
|
|
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-
|
|
16
|
+
} from "./chunk-5STJLSGO.js";
|
|
19
17
|
import "./chunk-BLNFJ22S.js";
|
|
20
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
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' | '
|
|
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
|
|
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-
|
|
44
|
-
import "./chunk-
|
|
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-
|
|
76
|
+
//# sourceMappingURL=protocol-WHHYESPI.js.map
|
|
@@ -6,10 +6,9 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
createServer
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
190
|
+
//# sourceMappingURL=serve-W3EZMXAC.js.map
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 {
|
package/dist/server/index.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
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-
|
|
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-
|
|
20
|
+
import "../chunk-CTAIXOZJ.js";
|
|
22
21
|
import "../chunk-R4HADRYO.js";
|
|
23
22
|
import "../chunk-TVQOONDR.js";
|
|
24
23
|
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
|
|
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
|
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-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-
|
|
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-
|
|
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-
|
|
51
|
+
//# sourceMappingURL=tools-SJN7IGVF.js.map
|