openfox 2.0.136 → 2.0.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/CHANGELOG.md +18 -0
- package/dist/{chat-handler-SYU4HJMI.js → chat-handler-AUB5HDQD.js} +12 -11
- package/dist/{chunk-GP5BYQMF.js → chunk-2KCREKHC.js} +19 -13
- package/dist/{chunk-342BKOTE.js → chunk-2OO46UAW.js} +2 -2
- package/dist/{chunk-UL7776XB.js → chunk-2Q4THMD7.js} +7 -7
- package/dist/{chunk-CPVEONNS.js → chunk-5CZPHAHN.js} +6 -6
- package/dist/{chunk-U6FHHT2B.js → chunk-76C2PVOC.js} +4 -4
- package/dist/{chunk-YDPC4FLR.js → chunk-BENMBAU2.js} +4 -4
- package/dist/{chunk-PQKLOLGC.js → chunk-DBCWILV3.js} +21 -3
- package/dist/{chunk-QQQBNL7A.js → chunk-HI25RCRW.js} +233 -52
- package/dist/{chunk-XGG4XCKP.js → chunk-MMGHIPBU.js} +71 -53
- package/dist/{chunk-EXLCFEML.js → chunk-N3PANDLT.js} +14 -10
- package/dist/chunk-OU7WD35E.js +7 -0
- package/dist/{chunk-AATMPL7S.js → chunk-OVAHNEFG.js} +6 -2
- package/dist/{chunk-HF3NDXB4.js → chunk-PW5L4WBG.js} +1 -1
- package/dist/{chunk-MILEZY2J.js → chunk-RJ2GRUVF.js} +3 -3
- package/dist/{chunk-VA2TYWQR.js → chunk-U7XCK7WL.js} +2 -2
- package/dist/{chunk-5YPHN5NC.js → chunk-XS2QQERB.js} +4 -4
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{compactor-LBK53WAK.js → compactor-KDTY4ERE.js} +4 -4
- package/dist/{describe-image-4XDLSKAB.js → describe-image-AU6KBSWA.js} +7 -7
- package/dist/{dynamic-context-RDBNQPPA.js → dynamic-context-SKHOUP4T.js} +4 -4
- package/dist/{events-YTYYT3PR.js → events-ADE2KEHI.js} +4 -6
- package/dist/{export-import-GHRCOQHF.js → export-import-SC3UW22Z.js} +4 -4
- package/dist/{folding-3MMOPS4W.js → folding-CM63AVSB.js} +4 -4
- package/dist/{launch-YZ46OEFP.js → launch-PTMPNZEN.js} +11 -11
- package/dist/{orchestrator-6QGQ55NT.js → orchestrator-KRHMAVBN.js} +10 -10
- package/dist/package.json +1 -1
- package/dist/{path-security-EC4Z2ZZG.js → path-security-YP2MRJNS.js} +8 -6
- package/dist/{processor-B2RV7MVC.js → processor-QZOGF5ES.js} +11 -10
- package/dist/{protocol-Nr_H1_oC.d.ts → protocol-D6DZzkSH.d.ts} +6 -3
- package/dist/{protocol-XO4ZROAU.js → protocol-MRMOB3P4.js} +5 -3
- package/dist/provider/index.d.ts +4 -4
- package/dist/{serve-EWA5HXC7.js → serve-LVDF4XLG.js} +16 -16
- package/dist/server/index.d.ts +33 -3
- package/dist/server/index.js +15 -15
- package/dist/{server-ZAPAB3FS.js → server-AIRQGHHR.js} +14 -14
- package/dist/shared/index.d.ts +3 -3
- package/dist/shared/index.js +1 -1
- package/dist/{tools-EJOABHVO.js → tools-NIPKV4YY.js} +10 -8
- package/dist/{types-G10ho8PT.d.ts → types-CLcL33hJ.d.ts} +11 -1
- package/dist/{types-BlQjLBui.d.ts → types-CmiWoQ7p.d.ts} +1 -1
- package/dist/{update-IPHJMRQZ.js → update-Y5QXN3FK.js} +2 -2
- package/dist/web/assets/{index-ChJjYovg.css → index-C1oW6oq0.css} +1 -1
- package/dist/web/assets/{index-CfFwerN2.js → index-CTAslWsi.js} +66 -66
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-VWBPQZLO.js +0 -7
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runAgentTurn,
|
|
3
3
|
runChatTurn
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-2Q4THMD7.js";
|
|
5
|
+
import "./chunk-BENMBAU2.js";
|
|
6
|
+
import "./chunk-N3PANDLT.js";
|
|
7
7
|
import "./chunk-Q33DL67W.js";
|
|
8
8
|
import "./chunk-XE6UC5Z3.js";
|
|
9
9
|
import "./chunk-J7GAZGZT.js";
|
|
10
10
|
import "./chunk-QBWJCO5K.js";
|
|
11
11
|
import "./chunk-DG2YSWMC.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-76C2PVOC.js";
|
|
13
13
|
import "./chunk-4SBVW4UH.js";
|
|
14
14
|
import {
|
|
15
15
|
TurnMetrics,
|
|
@@ -26,13 +26,13 @@ import "./chunk-I72ACQ6R.js";
|
|
|
26
26
|
import "./chunk-VIJVLLPT.js";
|
|
27
27
|
import "./chunk-OAN4BXEW.js";
|
|
28
28
|
import "./chunk-V5AC2TV7.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-DBCWILV3.js";
|
|
30
|
+
import "./chunk-2OO46UAW.js";
|
|
31
|
+
import "./chunk-MMGHIPBU.js";
|
|
32
32
|
import "./chunk-X4PVR6AW.js";
|
|
33
33
|
import "./chunk-BHVR2YS5.js";
|
|
34
34
|
import "./chunk-OSXPQSLW.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-OVAHNEFG.js";
|
|
36
36
|
import "./chunk-LCLH6ZUL.js";
|
|
37
37
|
import "./chunk-MOYWDP73.js";
|
|
38
38
|
import "./chunk-G5GUQKLS.js";
|
|
@@ -51,7 +51,7 @@ import "./chunk-QUAEH3MP.js";
|
|
|
51
51
|
import "./chunk-JU757HVI.js";
|
|
52
52
|
import "./chunk-VKMPR25F.js";
|
|
53
53
|
import "./chunk-K44MW7JJ.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-PW5L4WBG.js";
|
|
55
55
|
import "./chunk-24YKXKCG.js";
|
|
56
56
|
import "./chunk-R5FAEKXQ.js";
|
|
57
57
|
import "./chunk-CQGTEGKL.js";
|
|
@@ -66,4 +66,4 @@ export {
|
|
|
66
66
|
runAgentTurn,
|
|
67
67
|
runChatTurn
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=orchestrator-
|
|
69
|
+
//# sourceMappingURL=orchestrator-KRHMAVBN.js.map
|
package/dist/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
PathAccessDeniedError,
|
|
3
3
|
addAllowedPath,
|
|
4
4
|
addAllowedPaths,
|
|
5
|
+
autoApprovePendingConfirmationsForSession,
|
|
5
6
|
cancelPathConfirmation,
|
|
6
7
|
cancelPathConfirmationsForSession,
|
|
7
8
|
checkPathsAccess,
|
|
@@ -20,26 +21,27 @@ import {
|
|
|
20
21
|
registerPathConfirmation,
|
|
21
22
|
requestPathAccess,
|
|
22
23
|
resolveRelativeTraversals
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-DBCWILV3.js";
|
|
25
|
+
import "./chunk-2OO46UAW.js";
|
|
26
|
+
import "./chunk-MMGHIPBU.js";
|
|
26
27
|
import "./chunk-X4PVR6AW.js";
|
|
27
28
|
import "./chunk-BHVR2YS5.js";
|
|
28
29
|
import "./chunk-OSXPQSLW.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-OVAHNEFG.js";
|
|
30
31
|
import "./chunk-LCLH6ZUL.js";
|
|
31
32
|
import "./chunk-MOYWDP73.js";
|
|
32
33
|
import "./chunk-DPFET73G.js";
|
|
33
34
|
import "./chunk-QUAEH3MP.js";
|
|
34
35
|
import "./chunk-JU757HVI.js";
|
|
35
36
|
import "./chunk-K44MW7JJ.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-PW5L4WBG.js";
|
|
37
38
|
import "./chunk-CQGTEGKL.js";
|
|
38
39
|
import "./chunk-YLJ4XMA6.js";
|
|
39
40
|
export {
|
|
40
41
|
PathAccessDeniedError,
|
|
41
42
|
addAllowedPath,
|
|
42
43
|
addAllowedPaths,
|
|
44
|
+
autoApprovePendingConfirmationsForSession,
|
|
43
45
|
cancelPathConfirmation,
|
|
44
46
|
cancelPathConfirmationsForSession,
|
|
45
47
|
checkPathsAccess,
|
|
@@ -59,4 +61,4 @@ export {
|
|
|
59
61
|
requestPathAccess,
|
|
60
62
|
resolveRelativeTraversals
|
|
61
63
|
};
|
|
62
|
-
//# sourceMappingURL=path-security-
|
|
64
|
+
//# sourceMappingURL=path-security-YP2MRJNS.js.map
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-XS2QQERB.js";
|
|
6
|
+
import "./chunk-N3PANDLT.js";
|
|
7
7
|
import "./chunk-Q33DL67W.js";
|
|
8
8
|
import "./chunk-XE6UC5Z3.js";
|
|
9
9
|
import "./chunk-J7GAZGZT.js";
|
|
10
10
|
import "./chunk-QBWJCO5K.js";
|
|
11
11
|
import "./chunk-DG2YSWMC.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-76C2PVOC.js";
|
|
13
13
|
import "./chunk-4SBVW4UH.js";
|
|
14
14
|
import "./chunk-HEYU7FAY.js";
|
|
15
15
|
import "./chunk-4LLGI372.js";
|
|
@@ -19,18 +19,18 @@ import "./chunk-I72ACQ6R.js";
|
|
|
19
19
|
import "./chunk-VIJVLLPT.js";
|
|
20
20
|
import "./chunk-OAN4BXEW.js";
|
|
21
21
|
import "./chunk-V5AC2TV7.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-DBCWILV3.js";
|
|
23
23
|
import {
|
|
24
24
|
getEventStore
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-2OO46UAW.js";
|
|
26
|
+
import "./chunk-MMGHIPBU.js";
|
|
27
27
|
import "./chunk-X4PVR6AW.js";
|
|
28
28
|
import "./chunk-BHVR2YS5.js";
|
|
29
29
|
import "./chunk-OSXPQSLW.js";
|
|
30
30
|
import {
|
|
31
31
|
createChatMessageMessage,
|
|
32
32
|
createSessionRunningMessage
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OVAHNEFG.js";
|
|
34
34
|
import "./chunk-LCLH6ZUL.js";
|
|
35
35
|
import "./chunk-MOYWDP73.js";
|
|
36
36
|
import "./chunk-G5GUQKLS.js";
|
|
@@ -51,7 +51,7 @@ import "./chunk-VKMPR25F.js";
|
|
|
51
51
|
import {
|
|
52
52
|
logger
|
|
53
53
|
} from "./chunk-K44MW7JJ.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-PW5L4WBG.js";
|
|
55
55
|
import "./chunk-24YKXKCG.js";
|
|
56
56
|
import "./chunk-R5FAEKXQ.js";
|
|
57
57
|
import "./chunk-CQGTEGKL.js";
|
|
@@ -93,6 +93,7 @@ var QueueProcessor = class {
|
|
|
93
93
|
}
|
|
94
94
|
abortSession(sessionId) {
|
|
95
95
|
this.abortedSessions.add(sessionId);
|
|
96
|
+
this.deps.sessionManager.clearPauseState(sessionId);
|
|
96
97
|
const controller = this.activeAgents.get(sessionId);
|
|
97
98
|
if (controller) {
|
|
98
99
|
controller.abort();
|
|
@@ -227,7 +228,7 @@ var QueueProcessor = class {
|
|
|
227
228
|
model: sessionClient.getModel(),
|
|
228
229
|
...sessionEffort ? { reasoningEffort: sessionEffort } : {}
|
|
229
230
|
};
|
|
230
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
231
|
+
const { runChatTurn } = await import("./orchestrator-KRHMAVBN.js");
|
|
231
232
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
232
233
|
sessionManager,
|
|
233
234
|
sessionId,
|
|
@@ -276,4 +277,4 @@ var QueueProcessor = class {
|
|
|
276
277
|
export {
|
|
277
278
|
QueueProcessor
|
|
278
279
|
};
|
|
279
|
-
//# sourceMappingURL=processor-
|
|
280
|
+
//# sourceMappingURL=processor-QZOGF5ES.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Attachment, a as ToolMode, b as ToolResult, c as Message, d as MessageStats, e as Todo, C as ContextState, f as Criterion, D as Diagnostic, g as MetadataEntry, S as SessionMode, h as SessionPhase, P as Project, i as SessionSummary, j as Session, W as WorkflowExecution,
|
|
1
|
+
import { A as Attachment, a as ToolMode, b as ToolResult, c as Message, d as MessageStats, e as Todo, C as ContextState, f as Criterion, D as Diagnostic, g as MetadataEntry, S as SessionMode, h as SessionPhase, P as Project, i as SessionSummary, j as PauseState, k as Session, W as WorkflowExecution, l as ProjectTask, m as ProjectTaskSettings, n as ProjectTaskCounts, o as TaskGateConfig } from './types-CLcL33hJ.js';
|
|
2
2
|
|
|
3
3
|
type ClientMessageType = 'session.load' | 'context.compact' | 'context.checkDynamic' | 'context.applyDynamic' | 'context.applyDynamic.preview' | 'runner.launch' | 'workflow.exit' | 'chat.retry' | 'chat.llm_retry_now' | 'path.confirm' | 'ask.answer';
|
|
4
4
|
interface ClientMessage<T = unknown> {
|
|
@@ -23,7 +23,7 @@ interface QueuedMessage {
|
|
|
23
23
|
queuedAt: string;
|
|
24
24
|
messageKind?: string;
|
|
25
25
|
}
|
|
26
|
-
type ServerMessageType = 'project.state' | 'project.list' | 'project.deleted' | 'session.state' | 'session.list' | 'session.created' | 'session.deleted' | 'session.deletedAll' | 'session.running' | 'session.name_generated' | 'session.confirmation_pending' | 'session.confirmation_resolved' | 'chat.delta' | 'chat.thinking' | 'chat.tool_preparing' | 'chat.tool_call' | 'chat.tool_output' | 'chat.tool_result' | 'chat.todo' | 'chat.progress' | 'chat.format_retry' | 'chat.message' | 'chat.message_updated' | 'chat.stats' | 'chat.done' | 'chat.vision_fallback' | 'chat.error' | 'chat.llm_retry' | 'chat.llm_retry_failed' | 'chat.path_confirmation' | 'chat.ask_user' | 'mode.changed' | 'phase.changed' | 'workflow.execution_changed' | 'task.completed' | 'criteria.updated' | 'metadata.updated' | 'context.state' | 'context.preview' | 'settings.value' | 'provider.changed' | 'queue.state' | 'devServer.output' | 'devServer.state' | 'backgroundProcess.started' | 'backgroundProcess.output' | 'backgroundProcess.exited' | 'backgroundProcess.removed' | 'git.status' | 'tasks.update' | 'mcp.servers.changed' | 'lsp.diagnostics' | 'error' | 'ack';
|
|
26
|
+
type ServerMessageType = 'project.state' | 'project.list' | 'project.deleted' | 'session.state' | 'session.list' | 'session.created' | 'session.deleted' | 'session.deletedAll' | 'session.running' | 'session.pause' | 'session.name_generated' | 'session.confirmation_pending' | 'session.confirmation_resolved' | 'chat.delta' | 'chat.thinking' | 'chat.tool_preparing' | 'chat.tool_call' | 'chat.tool_output' | 'chat.tool_result' | 'chat.todo' | 'chat.progress' | 'chat.format_retry' | 'chat.message' | 'chat.message_updated' | 'chat.stats' | 'chat.done' | 'chat.vision_fallback' | 'chat.error' | 'chat.llm_retry' | 'chat.llm_retry_failed' | 'chat.path_confirmation' | 'chat.ask_user' | 'mode.changed' | 'phase.changed' | 'workflow.execution_changed' | 'task.completed' | 'criteria.updated' | 'metadata.updated' | 'context.state' | 'context.preview' | 'settings.value' | 'provider.changed' | 'queue.state' | 'devServer.output' | 'devServer.state' | 'backgroundProcess.started' | 'backgroundProcess.output' | 'backgroundProcess.exited' | 'backgroundProcess.removed' | 'git.status' | 'tasks.update' | 'mcp.servers.changed' | 'lsp.diagnostics' | 'error' | 'ack';
|
|
27
27
|
interface ServerMessage<T = unknown> {
|
|
28
28
|
id?: string;
|
|
29
29
|
type: ServerMessageType;
|
|
@@ -84,6 +84,9 @@ interface SessionCreatedPayload {
|
|
|
84
84
|
interface SessionRunningPayload {
|
|
85
85
|
isRunning: boolean;
|
|
86
86
|
}
|
|
87
|
+
interface SessionPausePayload {
|
|
88
|
+
pauseState: PauseState;
|
|
89
|
+
}
|
|
87
90
|
interface SessionNameGeneratedPayload {
|
|
88
91
|
name: string;
|
|
89
92
|
}
|
|
@@ -446,4 +449,4 @@ interface QueueCancelledEvent {
|
|
|
446
449
|
}
|
|
447
450
|
type QueueEvent = QueueAddedEvent | QueueDrainedEvent | QueueCancelledEvent;
|
|
448
451
|
|
|
449
|
-
export { type ProjectListPayload as $, type AgentEvent as A, type BackgroundProcess as B, type ChatAskUserPayload as C, type ChatVisionFallbackPayload as D, type ChoiceOption as E, type ClientMessage as F, type ClientMessageType as G, type ContextCompactionEvent as H, type ContextPreviewPayload as I, type ContextStatePayload as J, type CriteriaUpdatedPayload as K, type DevServerOutputPayload as L, type DevServerStatePayload as M, type DiffLine as N, type ErrorPayload as O, type GitDiffFile as P, type GitStatusPayload as Q, type LogLine as R, type LspDiagnosticsPayload as S, type MetadataUpdatedPayload as T, type ModeChangedPayload as U, type PathConfirmPayload as V, type PathConfirmationReason as W, type PendingPathConfirmationPayload as X, type PendingQuestionPayload as Y, type PhaseChangedPayload as Z, type ProjectDeletedPayload as _, type AskAnswerPayload as a, type ProjectStatePayload as a0, type ProviderChangedPayload as a1, type QueueAddedEvent as a2, type QueueCancelledEvent as a3, type QueueDrainedEvent as a4, type QueueEvent as a5, type QueueEventType as a6, type QueueStatePayload as a7, type QueuedMessage as a8, type ServerMessage as a9, type ServerMessageType as aa, type SessionCreatedPayload as ab, type SessionListPayload as ac, type SessionLoadPayload as ad, type SessionNameGeneratedPayload as ae, type
|
|
452
|
+
export { type ProjectListPayload as $, type AgentEvent as A, type BackgroundProcess as B, type ChatAskUserPayload as C, type ChatVisionFallbackPayload as D, type ChoiceOption as E, type ClientMessage as F, type ClientMessageType as G, type ContextCompactionEvent as H, type ContextPreviewPayload as I, type ContextStatePayload as J, type CriteriaUpdatedPayload as K, type DevServerOutputPayload as L, type DevServerStatePayload as M, type DiffLine as N, type ErrorPayload as O, type GitDiffFile as P, type GitStatusPayload as Q, type LogLine as R, type LspDiagnosticsPayload as S, type MetadataUpdatedPayload as T, type ModeChangedPayload as U, type PathConfirmPayload as V, type PathConfirmationReason as W, type PendingPathConfirmationPayload as X, type PendingQuestionPayload as Y, type PhaseChangedPayload as Z, type ProjectDeletedPayload as _, type AskAnswerPayload as a, type ProjectStatePayload as a0, type ProviderChangedPayload as a1, type QueueAddedEvent as a2, type QueueCancelledEvent as a3, type QueueDrainedEvent as a4, type QueueEvent as a5, type QueueEventType as a6, type QueueStatePayload as a7, type QueuedMessage as a8, type ServerMessage as a9, type ServerMessageType as aa, type SessionCreatedPayload as ab, type SessionListPayload as ac, type SessionLoadPayload as ad, type SessionNameGeneratedPayload as ae, type SessionPausePayload as af, type SessionRunningPayload as ag, type SessionStatePayload as ah, type TaskCompletedPayload as ai, type TasksUpdatePayload as aj, type WorkflowWaitingPayload as ak, createClientMessage as al, createServerMessage as am, isClientMessage as an, isServerMessage as ao, type AskUserEvent as b, type BackgroundProcessExitedPayload as c, type BackgroundProcessOutputPayload as d, type BackgroundProcessRemovedPayload as e, type BackgroundProcessStartedPayload as f, type BackgroundProcessStatus as g, type ChatDeltaPayload as h, type ChatDonePayload as i, type ChatErrorPayload as j, type ChatFormatRetryPayload as k, type ChatLLMRetryFailedPayload as l, type ChatLLMRetryNowPayload as m, type ChatLLMRetryPayload as n, type ChatMessagePayload as o, type ChatMessageUpdatedPayload as p, type ChatPathConfirmationPayload as q, type ChatProgressPayload as r, type ChatRetryPayload as s, type ChatStatsPayload as t, type ChatThinkingPayload as u, type ChatTodoPayload as v, type ChatToolCallPayload as w, type ChatToolOutputPayload as x, type ChatToolPreparingPayload as y, type ChatToolResultPayload as z };
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
createQueueStateMessage,
|
|
30
30
|
createSessionListMessage,
|
|
31
31
|
createSessionNameGeneratedMessage,
|
|
32
|
+
createSessionPauseMessage,
|
|
32
33
|
createSessionRunningMessage,
|
|
33
34
|
createSessionStateMessage,
|
|
34
35
|
isAskAnswerPayload,
|
|
@@ -38,9 +39,9 @@ import {
|
|
|
38
39
|
parseClientMessage,
|
|
39
40
|
serializeServerMessage,
|
|
40
41
|
storedEventToServerMessage
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-OVAHNEFG.js";
|
|
42
43
|
import "./chunk-LCLH6ZUL.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-PW5L4WBG.js";
|
|
44
45
|
import "./chunk-YLJ4XMA6.js";
|
|
45
46
|
export {
|
|
46
47
|
createChatAskUserMessage,
|
|
@@ -73,6 +74,7 @@ export {
|
|
|
73
74
|
createQueueStateMessage,
|
|
74
75
|
createSessionListMessage,
|
|
75
76
|
createSessionNameGeneratedMessage,
|
|
77
|
+
createSessionPauseMessage,
|
|
76
78
|
createSessionRunningMessage,
|
|
77
79
|
createSessionStateMessage,
|
|
78
80
|
isAskAnswerPayload,
|
|
@@ -83,4 +85,4 @@ export {
|
|
|
83
85
|
serializeServerMessage,
|
|
84
86
|
storedEventToServerMessage
|
|
85
87
|
};
|
|
86
|
-
//# sourceMappingURL=protocol-
|
|
88
|
+
//# sourceMappingURL=protocol-MRMOB3P4.js.map
|
package/dist/provider/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { M as ModelConfig } from '../types-
|
|
2
|
-
export { T as ToolCall } from '../types-
|
|
3
|
-
import { L as LLMCompletionRequest, a as LLMCompletionResponse, b as LLMStreamEvent } from '../types-
|
|
4
|
-
export { c as LLMMessage, d as LLMToolDefinition } from '../types-
|
|
1
|
+
import { M as ModelConfig } from '../types-CLcL33hJ.js';
|
|
2
|
+
export { T as ToolCall } from '../types-CLcL33hJ.js';
|
|
3
|
+
import { L as LLMCompletionRequest, a as LLMCompletionResponse, b as LLMStreamEvent } from '../types-CmiWoQ7p.js';
|
|
4
|
+
export { c as LLMMessage, d as LLMToolDefinition } from '../types-CmiWoQ7p.js';
|
|
5
5
|
|
|
6
6
|
type ProviderAuthState = 'disconnected' | 'pending' | 'connected' | 'expired' | 'error';
|
|
7
7
|
interface ProviderAuthStatus {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-HI25RCRW.js";
|
|
4
|
+
import "./chunk-2KCREKHC.js";
|
|
5
|
+
import "./chunk-XS2QQERB.js";
|
|
6
6
|
import "./chunk-T3S5MTMD.js";
|
|
7
7
|
import "./chunk-WLJJRX22.js";
|
|
8
8
|
import "./chunk-DQTN4B33.js";
|
|
9
9
|
import "./chunk-IJ53Y77N.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-5CZPHAHN.js";
|
|
11
|
+
import "./chunk-2Q4THMD7.js";
|
|
12
|
+
import "./chunk-BENMBAU2.js";
|
|
13
|
+
import "./chunk-N3PANDLT.js";
|
|
14
14
|
import "./chunk-Q33DL67W.js";
|
|
15
15
|
import "./chunk-XE6UC5Z3.js";
|
|
16
16
|
import "./chunk-J7GAZGZT.js";
|
|
17
17
|
import "./chunk-QBWJCO5K.js";
|
|
18
18
|
import "./chunk-DG2YSWMC.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-76C2PVOC.js";
|
|
20
20
|
import {
|
|
21
21
|
serverT
|
|
22
22
|
} from "./chunk-4SBVW4UH.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-U7XCK7WL.js";
|
|
24
24
|
import "./chunk-HEYU7FAY.js";
|
|
25
25
|
import "./chunk-4LLGI372.js";
|
|
26
26
|
import "./chunk-LW6MMSTD.js";
|
|
@@ -29,15 +29,15 @@ import "./chunk-I72ACQ6R.js";
|
|
|
29
29
|
import "./chunk-VIJVLLPT.js";
|
|
30
30
|
import "./chunk-OAN4BXEW.js";
|
|
31
31
|
import "./chunk-V5AC2TV7.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-DBCWILV3.js";
|
|
33
|
+
import "./chunk-2OO46UAW.js";
|
|
34
|
+
import "./chunk-MMGHIPBU.js";
|
|
35
35
|
import "./chunk-X4PVR6AW.js";
|
|
36
36
|
import {
|
|
37
37
|
loadConfig
|
|
38
38
|
} from "./chunk-BHVR2YS5.js";
|
|
39
39
|
import "./chunk-OSXPQSLW.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-OVAHNEFG.js";
|
|
41
41
|
import "./chunk-LCLH6ZUL.js";
|
|
42
42
|
import "./chunk-MOYWDP73.js";
|
|
43
43
|
import "./chunk-G5GUQKLS.js";
|
|
@@ -46,7 +46,7 @@ import "./chunk-J2GP3J3X.js";
|
|
|
46
46
|
import "./chunk-YNMP647F.js";
|
|
47
47
|
import {
|
|
48
48
|
VERSION
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-OU7WD35E.js";
|
|
50
50
|
import "./chunk-DPFET73G.js";
|
|
51
51
|
import "./chunk-64YDOCQR.js";
|
|
52
52
|
import "./chunk-TS5WKTFB.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
logger
|
|
66
66
|
} from "./chunk-K44MW7JJ.js";
|
|
67
67
|
import "./chunk-7OHXF5GW.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-PW5L4WBG.js";
|
|
69
69
|
import "./chunk-24YKXKCG.js";
|
|
70
70
|
import {
|
|
71
71
|
getActiveProvider,
|
|
@@ -249,4 +249,4 @@ async function runServe(options) {
|
|
|
249
249
|
export {
|
|
250
250
|
runServe
|
|
251
251
|
};
|
|
252
|
-
//# sourceMappingURL=serve-
|
|
252
|
+
//# sourceMappingURL=serve-LVDF4XLG.js.map
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as Diagnostic,
|
|
1
|
+
import { D as Diagnostic, O as Provider, M as ModelConfig, k as Session, i as SessionSummary, P as Project, S as SessionMode, h as SessionPhase, j as PauseState, a2 as UserStepChoice, W as WorkflowExecution, c as Message, f as Criterion, u as CriterionStatus, g as MetadataEntry, A as Attachment, C as ContextState, w as DangerLevel$1, X as StatsIdentity, b as ToolResult, r as Config } from '../types-CLcL33hJ.js';
|
|
2
2
|
import { Server } from 'node:http';
|
|
3
|
-
import { e as LLMClient, d as LLMToolDefinition } from '../types-
|
|
4
|
-
import { a8 as QueuedMessage, a9 as ServerMessage } from '../protocol-
|
|
3
|
+
import { e as LLMClient, d as LLMToolDefinition } from '../types-CmiWoQ7p.js';
|
|
4
|
+
import { a8 as QueuedMessage, a9 as ServerMessage } from '../protocol-D6DZzkSH.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Model-specific configuration profiles.
|
|
@@ -303,6 +303,10 @@ type SessionEvent = {
|
|
|
303
303
|
type: 'running_changed';
|
|
304
304
|
sessionId: string;
|
|
305
305
|
isRunning: boolean;
|
|
306
|
+
} | {
|
|
307
|
+
type: 'pause_changed';
|
|
308
|
+
sessionId: string;
|
|
309
|
+
pauseState: PauseState;
|
|
306
310
|
} | {
|
|
307
311
|
type: 'criteria_updated';
|
|
308
312
|
sessionId: string;
|
|
@@ -343,6 +347,8 @@ declare class SessionManager {
|
|
|
343
347
|
private unknownProviderWarned;
|
|
344
348
|
private switchLocks;
|
|
345
349
|
private workspaceCreationLocks;
|
|
350
|
+
private pauseStates;
|
|
351
|
+
private pauseWaiters;
|
|
346
352
|
constructor(providerManager: ProviderManager);
|
|
347
353
|
getProviderManager(): ProviderManager;
|
|
348
354
|
/**
|
|
@@ -515,6 +521,30 @@ declare class SessionManager {
|
|
|
515
521
|
* Set session running state. Emits running.changed event.
|
|
516
522
|
*/
|
|
517
523
|
setRunning(sessionId: string, isRunning: boolean): Session;
|
|
524
|
+
/** Current pause state ('none' when the session has no pause in flight). */
|
|
525
|
+
getPauseState(sessionId: string): PauseState;
|
|
526
|
+
/** Request a pause. Succeeds only from 'none'. Returns false otherwise. */
|
|
527
|
+
requestPause(sessionId: string): boolean;
|
|
528
|
+
/**
|
|
529
|
+
* Request resume. From 'pending' this cancels the pause (the running turn is
|
|
530
|
+
* left alone); from 'paused' it releases the blocked gate. Returns false
|
|
531
|
+
* when there is nothing to resume.
|
|
532
|
+
*/
|
|
533
|
+
requestResume(sessionId: string): boolean;
|
|
534
|
+
/**
|
|
535
|
+
* Pause gate — call before each top-level LLM request. Resolves 'released'
|
|
536
|
+
* when the request may proceed (no pause, or the user resumed) and 'aborted'
|
|
537
|
+
* when the session was aborted while paused. Concurrent gates (parent +
|
|
538
|
+
* sub-agent loops) all block on a single pause and all release on resume.
|
|
539
|
+
*/
|
|
540
|
+
enterPauseGate(sessionId: string, signal?: AbortSignal): Promise<'released' | 'aborted'>;
|
|
541
|
+
/**
|
|
542
|
+
* Clear any pause state and wake blocked gates with 'aborted'. Used by the
|
|
543
|
+
* stop/abort paths and session deletion so a paused gate never hangs.
|
|
544
|
+
*/
|
|
545
|
+
clearPauseState(sessionId: string): void;
|
|
546
|
+
private transitionPauseState;
|
|
547
|
+
private wakePauseWaiters;
|
|
518
548
|
/**
|
|
519
549
|
* Set session provider/model. Updates DB directly.
|
|
520
550
|
*/
|
package/dist/server/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-HI25RCRW.js";
|
|
5
|
+
import "../chunk-2KCREKHC.js";
|
|
6
|
+
import "../chunk-XS2QQERB.js";
|
|
7
7
|
import "../chunk-T3S5MTMD.js";
|
|
8
8
|
import "../chunk-WLJJRX22.js";
|
|
9
9
|
import "../chunk-DQTN4B33.js";
|
|
10
10
|
import "../chunk-IJ53Y77N.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-5CZPHAHN.js";
|
|
12
|
+
import "../chunk-2Q4THMD7.js";
|
|
13
|
+
import "../chunk-BENMBAU2.js";
|
|
14
|
+
import "../chunk-N3PANDLT.js";
|
|
15
15
|
import "../chunk-Q33DL67W.js";
|
|
16
16
|
import "../chunk-XE6UC5Z3.js";
|
|
17
17
|
import "../chunk-J7GAZGZT.js";
|
|
18
18
|
import "../chunk-QBWJCO5K.js";
|
|
19
19
|
import "../chunk-DG2YSWMC.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-76C2PVOC.js";
|
|
21
21
|
import "../chunk-4SBVW4UH.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-U7XCK7WL.js";
|
|
23
23
|
import "../chunk-HEYU7FAY.js";
|
|
24
24
|
import "../chunk-4LLGI372.js";
|
|
25
25
|
import "../chunk-LW6MMSTD.js";
|
|
@@ -28,20 +28,20 @@ import "../chunk-I72ACQ6R.js";
|
|
|
28
28
|
import "../chunk-VIJVLLPT.js";
|
|
29
29
|
import "../chunk-OAN4BXEW.js";
|
|
30
30
|
import "../chunk-V5AC2TV7.js";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-DBCWILV3.js";
|
|
32
|
+
import "../chunk-2OO46UAW.js";
|
|
33
|
+
import "../chunk-MMGHIPBU.js";
|
|
34
34
|
import "../chunk-X4PVR6AW.js";
|
|
35
35
|
import "../chunk-BHVR2YS5.js";
|
|
36
36
|
import "../chunk-OSXPQSLW.js";
|
|
37
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-OVAHNEFG.js";
|
|
38
38
|
import "../chunk-LCLH6ZUL.js";
|
|
39
39
|
import "../chunk-MOYWDP73.js";
|
|
40
40
|
import "../chunk-G5GUQKLS.js";
|
|
41
41
|
import "../chunk-OA2FURC3.js";
|
|
42
42
|
import "../chunk-J2GP3J3X.js";
|
|
43
43
|
import "../chunk-YNMP647F.js";
|
|
44
|
-
import "../chunk-
|
|
44
|
+
import "../chunk-OU7WD35E.js";
|
|
45
45
|
import "../chunk-DPFET73G.js";
|
|
46
46
|
import "../chunk-64YDOCQR.js";
|
|
47
47
|
import "../chunk-TS5WKTFB.js";
|
|
@@ -56,7 +56,7 @@ import "../chunk-JU757HVI.js";
|
|
|
56
56
|
import "../chunk-VKMPR25F.js";
|
|
57
57
|
import "../chunk-K44MW7JJ.js";
|
|
58
58
|
import "../chunk-7OHXF5GW.js";
|
|
59
|
-
import "../chunk-
|
|
59
|
+
import "../chunk-PW5L4WBG.js";
|
|
60
60
|
import "../chunk-24YKXKCG.js";
|
|
61
61
|
import "../chunk-R5FAEKXQ.js";
|
|
62
62
|
import "../chunk-CQGTEGKL.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWebSocketServer,
|
|
3
3
|
signalMcpReady
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-2KCREKHC.js";
|
|
5
|
+
import "./chunk-XS2QQERB.js";
|
|
6
|
+
import "./chunk-5CZPHAHN.js";
|
|
7
|
+
import "./chunk-2Q4THMD7.js";
|
|
8
|
+
import "./chunk-BENMBAU2.js";
|
|
9
|
+
import "./chunk-N3PANDLT.js";
|
|
10
10
|
import "./chunk-Q33DL67W.js";
|
|
11
11
|
import "./chunk-XE6UC5Z3.js";
|
|
12
12
|
import "./chunk-J7GAZGZT.js";
|
|
13
13
|
import "./chunk-QBWJCO5K.js";
|
|
14
14
|
import "./chunk-DG2YSWMC.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-76C2PVOC.js";
|
|
16
16
|
import "./chunk-4SBVW4UH.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-U7XCK7WL.js";
|
|
18
18
|
import "./chunk-HEYU7FAY.js";
|
|
19
19
|
import "./chunk-4LLGI372.js";
|
|
20
20
|
import "./chunk-LW6MMSTD.js";
|
|
@@ -23,13 +23,13 @@ import "./chunk-I72ACQ6R.js";
|
|
|
23
23
|
import "./chunk-VIJVLLPT.js";
|
|
24
24
|
import "./chunk-OAN4BXEW.js";
|
|
25
25
|
import "./chunk-V5AC2TV7.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-DBCWILV3.js";
|
|
27
|
+
import "./chunk-2OO46UAW.js";
|
|
28
|
+
import "./chunk-MMGHIPBU.js";
|
|
29
29
|
import "./chunk-X4PVR6AW.js";
|
|
30
30
|
import "./chunk-BHVR2YS5.js";
|
|
31
31
|
import "./chunk-OSXPQSLW.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-OVAHNEFG.js";
|
|
33
33
|
import "./chunk-LCLH6ZUL.js";
|
|
34
34
|
import "./chunk-MOYWDP73.js";
|
|
35
35
|
import "./chunk-G5GUQKLS.js";
|
|
@@ -49,7 +49,7 @@ import "./chunk-JU757HVI.js";
|
|
|
49
49
|
import "./chunk-VKMPR25F.js";
|
|
50
50
|
import "./chunk-K44MW7JJ.js";
|
|
51
51
|
import "./chunk-7OHXF5GW.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-PW5L4WBG.js";
|
|
53
53
|
import "./chunk-24YKXKCG.js";
|
|
54
54
|
import "./chunk-R5FAEKXQ.js";
|
|
55
55
|
import "./chunk-CQGTEGKL.js";
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
createWebSocketServer,
|
|
59
59
|
signalMcpReady
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=server-
|
|
61
|
+
//# sourceMappingURL=server-AIRQGHHR.js.map
|
package/dist/shared/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as Message,
|
|
2
|
-
export { A as Attachment,
|
|
3
|
-
export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, B as BackgroundProcess, c as BackgroundProcessExitedPayload, d as BackgroundProcessOutputPayload, e as BackgroundProcessRemovedPayload, f as BackgroundProcessStartedPayload, g as BackgroundProcessStatus, C as ChatAskUserPayload, h as ChatDeltaPayload, i as ChatDonePayload, j as ChatErrorPayload, k as ChatFormatRetryPayload, l as ChatLLMRetryFailedPayload, m as ChatLLMRetryNowPayload, n as ChatLLMRetryPayload, o as ChatMessagePayload, p as ChatMessageUpdatedPayload, q as ChatPathConfirmationPayload, r as ChatProgressPayload, s as ChatRetryPayload, t as ChatStatsPayload, u as ChatThinkingPayload, v as ChatTodoPayload, w as ChatToolCallPayload, x as ChatToolOutputPayload, y as ChatToolPreparingPayload, z as ChatToolResultPayload, D as ChatVisionFallbackPayload, E as ChoiceOption, F as ClientMessage, G as ClientMessageType, H as ContextCompactionEvent, I as ContextPreviewPayload, J as ContextStatePayload, K as CriteriaUpdatedPayload, L as DevServerOutputPayload, M as DevServerStatePayload, N as DiffLine, O as ErrorPayload, P as GitDiffFile, Q as GitStatusPayload, R as LogLine, S as LspDiagnosticsPayload, T as MetadataUpdatedPayload, U as ModeChangedPayload, V as PathConfirmPayload, W as PathConfirmationReason, X as PendingPathConfirmationPayload, Y as PendingQuestionPayload, Z as PhaseChangedPayload, _ as ProjectDeletedPayload, $ as ProjectListPayload, a0 as ProjectStatePayload, a1 as ProviderChangedPayload, a2 as QueueAddedEvent, a3 as QueueCancelledEvent, a4 as QueueDrainedEvent, a5 as QueueEvent, a6 as QueueEventType, a7 as QueueStatePayload, a8 as QueuedMessage, a9 as ServerMessage, aa as ServerMessageType, ab as SessionCreatedPayload, ac as SessionListPayload, ad as SessionLoadPayload, ae as SessionNameGeneratedPayload, af as
|
|
1
|
+
import { c as Message, p as SessionStats } from '../types-CLcL33hJ.js';
|
|
2
|
+
export { A as Attachment, q as CallStatsDataPoint, r as Config, C as ContextState, s as ContextWindow, f as Criterion, t as CriterionAttempt, u as CriterionStatus, v as CriterionValidation, w as DangerLevel, D as Diagnostic, E as EditContextEdit, x as EditContextLine, y as EditContextRegion, z as ElementData, B as ExecutionState, F as FileReadEntry, I as InjectedFile, L as LLMCallStats, G as LlmBackend, H as MessageRole, J as MessageSegment, d as MessageStats, g as MetadataEntry, M as ModelConfig, K as ModelSessionStats, j as PauseState, N as PreparingToolCall, P as Project, l as ProjectTask, n as ProjectTaskCounts, m as ProjectTaskSettings, O as Provider, Q as ProviderBackend, R as RecentUserPrompt, k as Session, U as SessionMetadata, S as SessionMode, h as SessionPhase, i as SessionSummary, V as StatsDataPoint, X as StatsIdentity, Y as TaskActor, Z as TaskAuditEntry, o as TaskGateConfig, _ as TaskGateValue, $ as TaskRunState, a0 as TaskStatus, e as Todo, T as ToolCall, a as ToolMode, a1 as ToolName, b as ToolResult, a2 as UserStepChoice, a3 as ValidationResult, W as WorkflowExecution, a4 as WorkflowExecutionStatus, a5 as WorkflowLaunchScope, a6 as WorkflowParameter, a7 as WorkflowScope } from '../types-CLcL33hJ.js';
|
|
3
|
+
export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, B as BackgroundProcess, c as BackgroundProcessExitedPayload, d as BackgroundProcessOutputPayload, e as BackgroundProcessRemovedPayload, f as BackgroundProcessStartedPayload, g as BackgroundProcessStatus, C as ChatAskUserPayload, h as ChatDeltaPayload, i as ChatDonePayload, j as ChatErrorPayload, k as ChatFormatRetryPayload, l as ChatLLMRetryFailedPayload, m as ChatLLMRetryNowPayload, n as ChatLLMRetryPayload, o as ChatMessagePayload, p as ChatMessageUpdatedPayload, q as ChatPathConfirmationPayload, r as ChatProgressPayload, s as ChatRetryPayload, t as ChatStatsPayload, u as ChatThinkingPayload, v as ChatTodoPayload, w as ChatToolCallPayload, x as ChatToolOutputPayload, y as ChatToolPreparingPayload, z as ChatToolResultPayload, D as ChatVisionFallbackPayload, E as ChoiceOption, F as ClientMessage, G as ClientMessageType, H as ContextCompactionEvent, I as ContextPreviewPayload, J as ContextStatePayload, K as CriteriaUpdatedPayload, L as DevServerOutputPayload, M as DevServerStatePayload, N as DiffLine, O as ErrorPayload, P as GitDiffFile, Q as GitStatusPayload, R as LogLine, S as LspDiagnosticsPayload, T as MetadataUpdatedPayload, U as ModeChangedPayload, V as PathConfirmPayload, W as PathConfirmationReason, X as PendingPathConfirmationPayload, Y as PendingQuestionPayload, Z as PhaseChangedPayload, _ as ProjectDeletedPayload, $ as ProjectListPayload, a0 as ProjectStatePayload, a1 as ProviderChangedPayload, a2 as QueueAddedEvent, a3 as QueueCancelledEvent, a4 as QueueDrainedEvent, a5 as QueueEvent, a6 as QueueEventType, a7 as QueueStatePayload, a8 as QueuedMessage, a9 as ServerMessage, aa as ServerMessageType, ab as SessionCreatedPayload, ac as SessionListPayload, ad as SessionLoadPayload, ae as SessionNameGeneratedPayload, af as SessionPausePayload, ag as SessionRunningPayload, ah as SessionStatePayload, ai as TaskCompletedPayload, aj as TasksUpdatePayload, ak as WorkflowWaitingPayload, al as createClientMessage, am as createServerMessage, an as isClientMessage, ao as isServerMessage } from '../protocol-D6DZzkSH.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Session stats computation - aggregates response-level MessageStats from
|
package/dist/shared/index.js
CHANGED
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
setTasksService,
|
|
11
11
|
stepDoneTool,
|
|
12
12
|
validateToolAction
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N3PANDLT.js";
|
|
14
14
|
import "./chunk-Q33DL67W.js";
|
|
15
15
|
import "./chunk-XE6UC5Z3.js";
|
|
16
16
|
import "./chunk-J7GAZGZT.js";
|
|
17
17
|
import "./chunk-QBWJCO5K.js";
|
|
18
18
|
import "./chunk-DG2YSWMC.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-76C2PVOC.js";
|
|
20
20
|
import "./chunk-4SBVW4UH.js";
|
|
21
21
|
import "./chunk-HEYU7FAY.js";
|
|
22
22
|
import "./chunk-4LLGI372.js";
|
|
@@ -33,17 +33,18 @@ import {
|
|
|
33
33
|
} from "./chunk-V5AC2TV7.js";
|
|
34
34
|
import {
|
|
35
35
|
PathAccessDeniedError,
|
|
36
|
+
autoApprovePendingConfirmationsForSession,
|
|
36
37
|
cancelPathConfirmationsForSession,
|
|
37
38
|
getConfirmationSessionId,
|
|
38
39
|
providePathConfirmation,
|
|
39
40
|
requestPathAccess
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-DBCWILV3.js";
|
|
42
|
+
import "./chunk-2OO46UAW.js";
|
|
43
|
+
import "./chunk-MMGHIPBU.js";
|
|
43
44
|
import "./chunk-X4PVR6AW.js";
|
|
44
45
|
import "./chunk-BHVR2YS5.js";
|
|
45
46
|
import "./chunk-OSXPQSLW.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-OVAHNEFG.js";
|
|
47
48
|
import "./chunk-LCLH6ZUL.js";
|
|
48
49
|
import "./chunk-MOYWDP73.js";
|
|
49
50
|
import "./chunk-G5GUQKLS.js";
|
|
@@ -62,7 +63,7 @@ import "./chunk-QUAEH3MP.js";
|
|
|
62
63
|
import "./chunk-JU757HVI.js";
|
|
63
64
|
import "./chunk-VKMPR25F.js";
|
|
64
65
|
import "./chunk-K44MW7JJ.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-PW5L4WBG.js";
|
|
66
67
|
import "./chunk-24YKXKCG.js";
|
|
67
68
|
import "./chunk-R5FAEKXQ.js";
|
|
68
69
|
import "./chunk-CQGTEGKL.js";
|
|
@@ -70,6 +71,7 @@ import "./chunk-YLJ4XMA6.js";
|
|
|
70
71
|
export {
|
|
71
72
|
AskUserInterrupt,
|
|
72
73
|
PathAccessDeniedError,
|
|
74
|
+
autoApprovePendingConfirmationsForSession,
|
|
73
75
|
cancelPathConfirmationsForSession,
|
|
74
76
|
cancelQuestionsForSession,
|
|
75
77
|
createRegistryFromTools,
|
|
@@ -89,4 +91,4 @@ export {
|
|
|
89
91
|
stepDoneTool,
|
|
90
92
|
validateToolAction
|
|
91
93
|
};
|
|
92
|
-
//# sourceMappingURL=tools-
|
|
94
|
+
//# sourceMappingURL=tools-NIPKV4YY.js.map
|