openfox 2.0.4 → 2.0.6
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/{ask-5SSOA6SZ.js → ask-4GZ334CO.js} +4 -2
- package/dist/{chat-handler-WHE75FCD.js → chat-handler-C33BNR7G.js} +9 -9
- package/dist/{chunk-DTJJZZOC.js → chunk-3QB2RMX2.js} +13 -7
- package/dist/{chunk-LVS5YGTX.js → chunk-5BDVM6YI.js} +1 -1
- package/dist/{chunk-BJYPTN5S.js → chunk-EU3WWTFH.js} +35 -8
- package/dist/{chunk-O2MR653P.js → chunk-HMTROIVE.js} +68 -36
- package/dist/{chunk-N374WCXC.js → chunk-KGZMKMEZ.js} +13 -11
- package/dist/{chunk-RVXAYREQ.js → chunk-L5XRDDFW.js} +2 -2
- package/dist/{chunk-STJJDIXV.js → chunk-LIOHT26X.js} +4 -4
- package/dist/{chunk-4HBWSC6K.js → chunk-LX66KJPL.js} +2 -2
- package/dist/{chunk-FRJQC77Y.js → chunk-SYG2ENUQ.js} +2 -2
- package/dist/{chunk-KXJWTSOS.js → chunk-TIKQWNYK.js} +12 -5
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{events-5SWEG62X.js → events-4K52FKPR.js} +3 -3
- package/dist/{folding-NUBDA4HS.js → folding-QIBNKYA6.js} +2 -2
- package/dist/{orchestrator-X2ECL42Y.js → orchestrator-6WHZ53DB.js} +8 -8
- package/dist/package.json +1 -1
- package/dist/{processor-7TYZNS4I.js → processor-6J4M2TLA.js} +20 -7
- package/dist/{protocol-BljtHZrx.d.ts → protocol-CaLuIetw.d.ts} +11 -1
- package/dist/{protocol-X53W2J73.js → protocol-YYWMFR35.js} +3 -3
- package/dist/{serve-XPCJSKXX.js → serve-L7ZELNVN.js} +9 -9
- package/dist/server/index.d.ts +1 -1
- 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-22OPY2O7.js → tools-SPZBVI7Y.js} +9 -7
- package/dist/web/assets/{index-Sdax8ayU.css → index-B6xft9Co.css} +1 -1
- package/dist/web/assets/{index-Di3909TT.js → index-Cwshb4LW.js} +43 -43
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getEventStore,
|
|
3
3
|
updateSessionMetadata
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SYG2ENUQ.js";
|
|
5
5
|
import {
|
|
6
6
|
buildMessagesFromStoredEvents,
|
|
7
7
|
foldPendingConfirmations
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LX66KJPL.js";
|
|
9
9
|
import {
|
|
10
10
|
createContextStateMessage,
|
|
11
11
|
createSessionStateMessage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3QB2RMX2.js";
|
|
13
|
+
import {
|
|
14
|
+
getPendingQuestionsForSession
|
|
15
|
+
} from "./chunk-EU3WWTFH.js";
|
|
13
16
|
import {
|
|
14
17
|
logger
|
|
15
18
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -135,7 +138,11 @@ function applyGeneratedSessionName(sessionId, name, deps) {
|
|
|
135
138
|
const events = deps.eventStore.getEvents(sessionId);
|
|
136
139
|
const messages = buildMessagesFromStoredEvents(events);
|
|
137
140
|
const pendingConfirmations = foldPendingConfirmations(events);
|
|
138
|
-
|
|
141
|
+
const pendingQuestions = getPendingQuestionsForSession(sessionId);
|
|
142
|
+
deps.broadcastForSession(
|
|
143
|
+
sessionId,
|
|
144
|
+
createSessionStateMessage(updatedSession, messages, pendingConfirmations, pendingQuestions)
|
|
145
|
+
);
|
|
139
146
|
}
|
|
140
147
|
}
|
|
141
148
|
|
|
@@ -147,4 +154,4 @@ export {
|
|
|
147
154
|
needsNameGenerationCheck,
|
|
148
155
|
applyGeneratedSessionName
|
|
149
156
|
};
|
|
150
|
-
//# sourceMappingURL=chunk-
|
|
157
|
+
//# sourceMappingURL=chunk-TIKQWNYK.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
isStoredEvent,
|
|
39
39
|
isTurnEvent,
|
|
40
40
|
truncateSessionMessages
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-SYG2ENUQ.js";
|
|
42
42
|
import {
|
|
43
43
|
buildContextMessagesFromEventHistory,
|
|
44
44
|
buildContextMessagesFromMessages,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
foldTodos,
|
|
56
56
|
foldTurnEventsToSnapshotMessages,
|
|
57
57
|
getMessagesForWindow
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-LX66KJPL.js";
|
|
59
59
|
import "./chunk-FBGWG4N6.js";
|
|
60
60
|
import "./chunk-K44MW7JJ.js";
|
|
61
61
|
export {
|
|
@@ -114,4 +114,4 @@ export {
|
|
|
114
114
|
isTurnEvent,
|
|
115
115
|
truncateSessionMessages
|
|
116
116
|
};
|
|
117
|
-
//# sourceMappingURL=events-
|
|
117
|
+
//# sourceMappingURL=events-4K52FKPR.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
handleToolResult,
|
|
24
24
|
spreadOptionalMessageFields,
|
|
25
25
|
stripOrphanedToolCalls
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LX66KJPL.js";
|
|
27
27
|
export {
|
|
28
28
|
buildContextMessagesFromEventHistory,
|
|
29
29
|
buildContextMessagesFromMessages,
|
|
@@ -50,4 +50,4 @@ export {
|
|
|
50
50
|
spreadOptionalMessageFields,
|
|
51
51
|
stripOrphanedToolCalls
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=folding-
|
|
53
|
+
//# sourceMappingURL=folding-QIBNKYA6.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
injectWorkflowKickoffIfNeeded,
|
|
3
3
|
runAgentTurn,
|
|
4
4
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LIOHT26X.js";
|
|
6
6
|
import {
|
|
7
7
|
TurnMetrics,
|
|
8
8
|
createChatDoneEvent,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
createMessageStartEvent,
|
|
11
11
|
createToolCallEvent,
|
|
12
12
|
createToolResultEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KGZMKMEZ.js";
|
|
14
14
|
import "./chunk-DL6ZILAF.js";
|
|
15
15
|
import "./chunk-PBGOZMVY.js";
|
|
16
16
|
import "./chunk-VRGRAQDG.js";
|
|
17
17
|
import "./chunk-XAMAYRDA.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-SYG2ENUQ.js";
|
|
19
|
+
import "./chunk-LX66KJPL.js";
|
|
20
|
+
import "./chunk-3QB2RMX2.js";
|
|
21
|
+
import "./chunk-EU3WWTFH.js";
|
|
22
22
|
import "./chunk-RFNEDBVO.js";
|
|
23
23
|
import "./chunk-FBGWG4N6.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-5BDVM6YI.js";
|
|
25
25
|
import "./chunk-CQGTEGKL.js";
|
|
26
26
|
import "./chunk-Z4SWOUWC.js";
|
|
27
27
|
import "./chunk-K44MW7JJ.js";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
runAgentTurn,
|
|
37
37
|
runChatTurn
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=orchestrator-
|
|
39
|
+
//# sourceMappingURL=orchestrator-6WHZ53DB.js.map
|
package/dist/package.json
CHANGED
|
@@ -5,17 +5,26 @@ import {
|
|
|
5
5
|
generateSessionName,
|
|
6
6
|
getSessionMessageCount,
|
|
7
7
|
needsNameGenerationCheck
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TIKQWNYK.js";
|
|
9
|
+
import "./chunk-KGZMKMEZ.js";
|
|
10
|
+
import "./chunk-DL6ZILAF.js";
|
|
11
|
+
import "./chunk-PBGOZMVY.js";
|
|
12
|
+
import "./chunk-VRGRAQDG.js";
|
|
13
|
+
import "./chunk-XAMAYRDA.js";
|
|
9
14
|
import {
|
|
10
15
|
getEventStore
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-SYG2ENUQ.js";
|
|
17
|
+
import "./chunk-LX66KJPL.js";
|
|
13
18
|
import {
|
|
14
19
|
createChatMessageMessage,
|
|
15
20
|
createSessionRunningMessage
|
|
16
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3QB2RMX2.js";
|
|
22
|
+
import "./chunk-EU3WWTFH.js";
|
|
23
|
+
import "./chunk-RFNEDBVO.js";
|
|
17
24
|
import "./chunk-FBGWG4N6.js";
|
|
18
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-5BDVM6YI.js";
|
|
26
|
+
import "./chunk-CQGTEGKL.js";
|
|
27
|
+
import "./chunk-Z4SWOUWC.js";
|
|
19
28
|
import {
|
|
20
29
|
logger
|
|
21
30
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -181,7 +190,7 @@ var QueueProcessor = class {
|
|
|
181
190
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
182
191
|
model: llmClient.getModel()
|
|
183
192
|
};
|
|
184
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
193
|
+
const { runChatTurn } = await import("./orchestrator-6WHZ53DB.js");
|
|
185
194
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
186
195
|
sessionManager,
|
|
187
196
|
sessionId,
|
|
@@ -209,6 +218,10 @@ var QueueProcessor = class {
|
|
|
209
218
|
finalizeTurnCompletion(sessionId, sessionManager, broadcastForSession);
|
|
210
219
|
return;
|
|
211
220
|
}
|
|
221
|
+
const currentSession = sessionManager.getSession(sessionId);
|
|
222
|
+
if (currentSession?.isRunning) {
|
|
223
|
+
sessionManager.setRunning(sessionId, false);
|
|
224
|
+
}
|
|
212
225
|
this.startTurn(sessionId);
|
|
213
226
|
} catch (error) {
|
|
214
227
|
logger.error("Error in turn completion cleanup", {
|
|
@@ -225,4 +238,4 @@ var QueueProcessor = class {
|
|
|
225
238
|
export {
|
|
226
239
|
QueueProcessor
|
|
227
240
|
};
|
|
228
|
-
//# sourceMappingURL=processor-
|
|
241
|
+
//# sourceMappingURL=processor-6J4M2TLA.js.map
|
|
@@ -513,6 +513,7 @@ interface SessionLoadPayload {
|
|
|
513
513
|
interface AskAnswerPayload {
|
|
514
514
|
callId: string;
|
|
515
515
|
answer: string;
|
|
516
|
+
skip?: boolean;
|
|
516
517
|
}
|
|
517
518
|
interface QueuedMessage {
|
|
518
519
|
queueId: string;
|
|
@@ -539,10 +540,17 @@ interface ProjectListPayload {
|
|
|
539
540
|
interface ProjectDeletedPayload {
|
|
540
541
|
projectId: string;
|
|
541
542
|
}
|
|
543
|
+
interface PendingQuestionPayload {
|
|
544
|
+
callId: string;
|
|
545
|
+
question: string;
|
|
546
|
+
type: 'text' | 'confirm' | 'choice';
|
|
547
|
+
options: string[] | undefined;
|
|
548
|
+
}
|
|
542
549
|
interface SessionStatePayload {
|
|
543
550
|
session: Session;
|
|
544
551
|
messages: Message[];
|
|
545
552
|
pendingConfirmations: PendingPathConfirmationPayload[];
|
|
553
|
+
pendingQuestions?: PendingQuestionPayload[];
|
|
546
554
|
gitStatus?: GitStatusPayload;
|
|
547
555
|
}
|
|
548
556
|
interface PendingPathConfirmationPayload {
|
|
@@ -657,6 +665,8 @@ interface PathConfirmPayload {
|
|
|
657
665
|
interface ChatAskUserPayload {
|
|
658
666
|
callId: string;
|
|
659
667
|
question: string;
|
|
668
|
+
type: 'text' | 'confirm' | 'choice' | undefined;
|
|
669
|
+
options: string[] | undefined;
|
|
660
670
|
}
|
|
661
671
|
interface ModeChangedPayload {
|
|
662
672
|
mode: SessionMode;
|
|
@@ -862,4 +872,4 @@ interface QueueCancelledEvent {
|
|
|
862
872
|
}
|
|
863
873
|
type QueueEvent = QueueAddedEvent | QueueDrainedEvent | QueueCancelledEvent;
|
|
864
874
|
|
|
865
|
-
export { type GitStatusPayload as $, type AgentEvent as A, type BackgroundProcess as B, type CallStatsDataPoint as C, type Config as D, type ContextCompactionEvent as E, type ContextState as F, type ContextStatePayload as G, type ContextWindow as H, type CriteriaUpdatedPayload as I, type Criterion as J, type CriterionAttempt as K, type CriterionStatus as L, type Message as M, type CriterionValidation as N, type DangerLevel as O, type DevServerOutputPayload as P, type DevServerStatePayload as Q, type Diagnostic as R, type SessionStats as S, type EditContextEdit as T, type EditContextLine as U, type EditContextRegion as V, type ElementData as W, type ErrorPayload as X, type ExecutionState as Y, type FileReadEntry as Z, type GitDiffFile 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 MetadataEntry as a8, type MetadataUpdatedPayload as a9, type
|
|
875
|
+
export { type GitStatusPayload as $, type AgentEvent as A, type BackgroundProcess as B, type CallStatsDataPoint as C, type Config as D, type ContextCompactionEvent as E, type ContextState as F, type ContextStatePayload as G, type ContextWindow as H, type CriteriaUpdatedPayload as I, type Criterion as J, type CriterionAttempt as K, type CriterionStatus as L, type Message as M, type CriterionValidation as N, type DangerLevel as O, type DevServerOutputPayload as P, type DevServerStatePayload as Q, type Diagnostic as R, type SessionStats as S, type EditContextEdit as T, type EditContextLine as U, type EditContextRegion as V, type ElementData as W, type ErrorPayload as X, type ExecutionState as Y, type FileReadEntry as Z, type GitDiffFile 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 MetadataEntry as a8, type MetadataUpdatedPayload as a9, type Session as aA, type SessionListPayload as aB, type SessionLoadPayload as aC, type SessionMetadata as aD, type SessionMode as aE, type SessionNameGeneratedPayload as aF, type SessionPhase as aG, type SessionRunningPayload as aH, type SessionStatePayload as aI, type SessionSummary as aJ, type StatsDataPoint as aK, type StatsIdentity as aL, type TaskCompletedPayload as aM, type Todo as aN, type ToolCall as aO, type ToolMode as aP, type ToolName as aQ, type ToolResult as aR, type ValidationResult as aS, createClientMessage as aT, createServerMessage as aU, isClientMessage as aV, isServerMessage as aW, type ModeChangedPayload as aa, type ModelConfig as ab, type ModelSessionStats as ac, type PathConfirmPayload as ad, type PathConfirmationReason as ae, type PendingPathConfirmationPayload as af, type PendingQuestionPayload as ag, type PhaseChangedPayload as ah, type PreparingToolCall as ai, type Project as aj, type ProjectDeletedPayload as ak, type ProjectListPayload as al, type ProjectStatePayload as am, type Provider as an, type ProviderBackend as ao, type ProviderChangedPayload as ap, type QueueAddedEvent as aq, type QueueCancelledEvent as ar, type QueueDrainedEvent as as, type QueueEvent as at, type QueueEventType as au, type QueueStatePayload as av, type QueuedMessage as aw, type RecentUserPrompt as ax, type ServerMessage as ay, type ServerMessageType 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 ChatThinkingPayload as r, type ChatTodoPayload as s, type ChatToolCallPayload as t, type ChatToolOutputPayload as u, type ChatToolPreparingPayload as v, type ChatToolResultPayload as w, type ChatVisionFallbackPayload as x, type ClientMessage as y, type ClientMessageType as z };
|
|
@@ -35,8 +35,8 @@ import {
|
|
|
35
35
|
parseClientMessage,
|
|
36
36
|
serializeServerMessage,
|
|
37
37
|
storedEventToServerMessage
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-3QB2RMX2.js";
|
|
39
|
+
import "./chunk-5BDVM6YI.js";
|
|
40
40
|
export {
|
|
41
41
|
createChatAskUserMessage,
|
|
42
42
|
createChatDeltaMessage,
|
|
@@ -75,4 +75,4 @@ export {
|
|
|
75
75
|
serializeServerMessage,
|
|
76
76
|
storedEventToServerMessage
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=protocol-
|
|
78
|
+
//# sourceMappingURL=protocol-YYWMFR35.js.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION,
|
|
3
3
|
createServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HMTROIVE.js";
|
|
5
5
|
import "./chunk-NZCKCJH5.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-LIOHT26X.js";
|
|
7
|
+
import "./chunk-KGZMKMEZ.js";
|
|
8
8
|
import "./chunk-DL6ZILAF.js";
|
|
9
9
|
import "./chunk-PBGOZMVY.js";
|
|
10
10
|
import "./chunk-VRGRAQDG.js";
|
|
11
11
|
import "./chunk-XAMAYRDA.js";
|
|
12
12
|
import {
|
|
13
13
|
loadConfig
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-SYG2ENUQ.js";
|
|
15
|
+
import "./chunk-LX66KJPL.js";
|
|
16
|
+
import "./chunk-3QB2RMX2.js";
|
|
17
|
+
import "./chunk-EU3WWTFH.js";
|
|
18
18
|
import "./chunk-RFNEDBVO.js";
|
|
19
19
|
import "./chunk-FBGWG4N6.js";
|
|
20
20
|
import "./chunk-VUQCQXXJ.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-5BDVM6YI.js";
|
|
22
22
|
import {
|
|
23
23
|
getActiveProvider,
|
|
24
24
|
getDefaultModel,
|
|
@@ -188,4 +188,4 @@ async function runServe(options) {
|
|
|
188
188
|
export {
|
|
189
189
|
runServe
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=serve-
|
|
191
|
+
//# sourceMappingURL=serve-L7ZELNVN.js.map
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aO as ToolCall, c as Attachment, R as Diagnostic, an as Provider, ab as ModelConfig, aA as Session, aJ as SessionSummary, aj as Project, aE as SessionMode, aG as SessionPhase, M as Message, J as Criterion, L as CriterionStatus, a8 as MetadataEntry, aw as QueuedMessage, F as ContextState, O as DangerLevel$1, ay as ServerMessage, aL as StatsIdentity, aR as ToolResult, D as Config } from '../protocol-CaLuIetw.js';
|
|
2
2
|
import { Server } from 'node:http';
|
|
3
3
|
|
|
4
4
|
interface LLMMessage {
|
package/dist/server/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-HMTROIVE.js";
|
|
5
5
|
import "../chunk-NZCKCJH5.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-LIOHT26X.js";
|
|
7
|
+
import "../chunk-KGZMKMEZ.js";
|
|
8
8
|
import "../chunk-DL6ZILAF.js";
|
|
9
9
|
import "../chunk-PBGOZMVY.js";
|
|
10
10
|
import "../chunk-VRGRAQDG.js";
|
|
11
11
|
import "../chunk-XAMAYRDA.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-SYG2ENUQ.js";
|
|
13
|
+
import "../chunk-LX66KJPL.js";
|
|
14
|
+
import "../chunk-3QB2RMX2.js";
|
|
15
|
+
import "../chunk-EU3WWTFH.js";
|
|
16
16
|
import "../chunk-RFNEDBVO.js";
|
|
17
17
|
import "../chunk-FBGWG4N6.js";
|
|
18
18
|
import "../chunk-VUQCQXXJ.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-5BDVM6YI.js";
|
|
20
20
|
import "../chunk-CQGTEGKL.js";
|
|
21
21
|
import "../chunk-A52FXWJX.js";
|
|
22
22
|
import "../chunk-Z4SWOUWC.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 ChatThinkingPayload, s as ChatTodoPayload, t as ChatToolCallPayload, u as ChatToolOutputPayload, v as ChatToolPreparingPayload, w as ChatToolResultPayload, x as ChatVisionFallbackPayload, y as ClientMessage, z as ClientMessageType, D as Config, E as ContextCompactionEvent, F as ContextState, G as ContextStatePayload, H as ContextWindow, I as CriteriaUpdatedPayload, J as Criterion, K as CriterionAttempt, L as CriterionStatus, N as CriterionValidation, O as DangerLevel, P as DevServerOutputPayload, Q as DevServerStatePayload, R as Diagnostic, T as EditContextEdit, U as EditContextLine, V as EditContextRegion, W as ElementData, X as ErrorPayload, Y as ExecutionState, Z as FileReadEntry, _ as GitDiffFile, $ as GitStatusPayload, a0 as InjectedFile, a1 as LLMCallStats, a2 as LlmBackend, a3 as LogLine, a4 as LspDiagnosticsPayload, a5 as MessageRole, a6 as MessageSegment, a7 as MessageStats, a8 as MetadataEntry, a9 as MetadataUpdatedPayload, aa as ModeChangedPayload, ab as ModelConfig, ac as ModelSessionStats, ad as PathConfirmPayload, ae as PathConfirmationReason, af as PendingPathConfirmationPayload, ag as
|
|
1
|
+
import { M as Message, S as SessionStats } from '../protocol-CaLuIetw.js';
|
|
2
|
+
export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, c as Attachment, B as BackgroundProcess, d as BackgroundProcessExitedPayload, e as BackgroundProcessOutputPayload, f as BackgroundProcessRemovedPayload, g as BackgroundProcessStartedPayload, h as BackgroundProcessStatus, C as CallStatsDataPoint, i as ChatAskUserPayload, j as ChatDeltaPayload, k as ChatDonePayload, l as ChatErrorPayload, m as ChatFormatRetryPayload, n as ChatMessagePayload, o as ChatMessageUpdatedPayload, p as ChatPathConfirmationPayload, q as ChatProgressPayload, r as ChatThinkingPayload, s as ChatTodoPayload, t as ChatToolCallPayload, u as ChatToolOutputPayload, v as ChatToolPreparingPayload, w as ChatToolResultPayload, x as ChatVisionFallbackPayload, y as ClientMessage, z as ClientMessageType, D as Config, E as ContextCompactionEvent, F as ContextState, G as ContextStatePayload, H as ContextWindow, I as CriteriaUpdatedPayload, J as Criterion, K as CriterionAttempt, L as CriterionStatus, N as CriterionValidation, O as DangerLevel, P as DevServerOutputPayload, Q as DevServerStatePayload, R as Diagnostic, T as EditContextEdit, U as EditContextLine, V as EditContextRegion, W as ElementData, X as ErrorPayload, Y as ExecutionState, Z as FileReadEntry, _ as GitDiffFile, $ as GitStatusPayload, a0 as InjectedFile, a1 as LLMCallStats, a2 as LlmBackend, a3 as LogLine, a4 as LspDiagnosticsPayload, a5 as MessageRole, a6 as MessageSegment, a7 as MessageStats, a8 as MetadataEntry, a9 as MetadataUpdatedPayload, aa as ModeChangedPayload, ab as ModelConfig, ac as ModelSessionStats, ad as PathConfirmPayload, ae as PathConfirmationReason, af as PendingPathConfirmationPayload, ag as PendingQuestionPayload, ah as PhaseChangedPayload, ai as PreparingToolCall, aj as Project, ak as ProjectDeletedPayload, al as ProjectListPayload, am as ProjectStatePayload, an as Provider, ao as ProviderBackend, ap as ProviderChangedPayload, aq as QueueAddedEvent, ar as QueueCancelledEvent, as as QueueDrainedEvent, at as QueueEvent, au as QueueEventType, av as QueueStatePayload, aw as QueuedMessage, ax as RecentUserPrompt, ay as ServerMessage, az as ServerMessageType, aA as Session, aB as SessionListPayload, aC as SessionLoadPayload, aD as SessionMetadata, aE as SessionMode, aF as SessionNameGeneratedPayload, aG as SessionPhase, aH as SessionRunningPayload, aI as SessionStatePayload, aJ as SessionSummary, aK as StatsDataPoint, aL as StatsIdentity, aM as TaskCompletedPayload, aN as Todo, aO as ToolCall, aP as ToolMode, aQ as ToolName, aR as ToolResult, aS as ValidationResult, aT as createClientMessage, aU as createServerMessage, aV as isClientMessage, aW as isServerMessage } from '../protocol-CaLuIetw.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Session stats computation - aggregates response-level MessageStats from
|
package/dist/shared/index.js
CHANGED
|
@@ -11,22 +11,23 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KGZMKMEZ.js";
|
|
15
15
|
import "./chunk-DL6ZILAF.js";
|
|
16
16
|
import "./chunk-PBGOZMVY.js";
|
|
17
17
|
import "./chunk-VRGRAQDG.js";
|
|
18
18
|
import "./chunk-XAMAYRDA.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-SYG2ENUQ.js";
|
|
20
|
+
import "./chunk-LX66KJPL.js";
|
|
21
|
+
import "./chunk-3QB2RMX2.js";
|
|
22
22
|
import {
|
|
23
23
|
AskUserInterrupt,
|
|
24
24
|
cancelQuestionsForSession,
|
|
25
|
+
getPendingQuestionsForSession,
|
|
25
26
|
provideAnswer
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-EU3WWTFH.js";
|
|
27
28
|
import "./chunk-RFNEDBVO.js";
|
|
28
29
|
import "./chunk-FBGWG4N6.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-5BDVM6YI.js";
|
|
30
31
|
import "./chunk-CQGTEGKL.js";
|
|
31
32
|
import "./chunk-Z4SWOUWC.js";
|
|
32
33
|
import "./chunk-K44MW7JJ.js";
|
|
@@ -37,6 +38,7 @@ export {
|
|
|
37
38
|
cancelQuestionsForSession,
|
|
38
39
|
createRegistryFromTools,
|
|
39
40
|
createToolRegistry,
|
|
41
|
+
getPendingQuestionsForSession,
|
|
40
42
|
getToolPermissions,
|
|
41
43
|
getToolRegistryForAgent,
|
|
42
44
|
getToolRegistryForSubAgent,
|
|
@@ -47,4 +49,4 @@ export {
|
|
|
47
49
|
stepDoneTool,
|
|
48
50
|
validateToolAction
|
|
49
51
|
};
|
|
50
|
-
//# sourceMappingURL=tools-
|
|
52
|
+
//# sourceMappingURL=tools-SPZBVI7Y.js.map
|