openfox 2.0.2 → 2.0.4
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/{chat-handler-LJMW4OK3.js → chat-handler-WHE75FCD.js} +9 -9
- package/dist/{chunk-ITWVFGFV.js → chunk-4HBWSC6K.js} +1 -1
- package/dist/{chunk-7ZMMDZU7.js → chunk-A52FXWJX.js} +8 -4
- package/dist/{chunk-7TTEGAO6.js → chunk-DTJJZZOC.js} +2 -2
- package/dist/{chunk-XEK3KII6.js → chunk-FRJQC77Y.js} +2 -29
- package/dist/{chunk-CK6LGE7G.js → chunk-KXJWTSOS.js} +4 -4
- package/dist/{chunk-BVHFMAVN.js → chunk-LVS5YGTX.js} +1 -1
- package/dist/{chunk-32GQUDLN.js → chunk-N374WCXC.js} +53 -27
- package/dist/{chunk-RI6GAMNP.js → chunk-NZCKCJH5.js} +1 -1
- package/dist/{chunk-72GTKFVG.js → chunk-O2MR653P.js} +67 -155
- package/dist/{chunk-MWHH6UZB.js → chunk-RVXAYREQ.js} +6 -6
- package/dist/{chunk-LEDG5WAN.js → chunk-STJJDIXV.js} +4 -4
- package/dist/{chunk-FFEAEPJB.js → chunk-Z4SWOUWC.js} +8 -3
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{compactor-TDNRM3A7.js → compactor-5VQNEYQX.js} +2 -2
- package/dist/{events-ZKWAKWI7.js → events-5SWEG62X.js} +3 -5
- package/dist/{folding-YOCGTZYH.js → folding-NUBDA4HS.js} +2 -2
- package/dist/{orchestrator-LX6FKB6L.js → orchestrator-X2ECL42Y.js} +8 -8
- package/dist/package.json +1 -1
- package/dist/{processor-NMYSEBC7.js → processor-7TYZNS4I.js} +7 -7
- package/dist/{protocol-D59sCy9L.d.ts → protocol-BljtHZrx.d.ts} +4 -2
- package/dist/{protocol-CN24IKQN.js → protocol-X53W2J73.js} +3 -3
- package/dist/{provider-DTNQYCMV.js → provider-QPECLUZ7.js} +3 -3
- package/dist/{provider-manager-LMHAHLIF.js → provider-manager-YA2WALTF.js} +3 -3
- package/dist/{serve-DMWEPTU5.js → serve-XPCJSKXX.js} +11 -11
- package/dist/server/index.d.ts +4 -9
- package/dist/server/index.js +10 -10
- package/dist/{service-GB7AIOG5.js → service-FJ4TW5L7.js} +14 -9
- package/dist/shared/index.d.ts +2 -2
- package/dist/shared/index.js +1 -1
- package/dist/{tools-BOE5T3KC.js → tools-22OPY2O7.js} +7 -7
- package/dist/web/assets/{index-C7IF2YAa.js → index-Di3909TT.js} +68 -68
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
injectWorkflowKickoffIfNeeded,
|
|
3
3
|
runAgentTurn,
|
|
4
4
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-STJJDIXV.js";
|
|
6
6
|
import {
|
|
7
7
|
TurnMetrics,
|
|
8
8
|
createChatDoneEvent,
|
|
@@ -10,20 +10,20 @@ import {
|
|
|
10
10
|
createMessageStartEvent,
|
|
11
11
|
createToolCallEvent,
|
|
12
12
|
createToolResultEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N374WCXC.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-
|
|
18
|
+
import "./chunk-FRJQC77Y.js";
|
|
19
|
+
import "./chunk-4HBWSC6K.js";
|
|
20
|
+
import "./chunk-DTJJZZOC.js";
|
|
21
21
|
import "./chunk-BJYPTN5S.js";
|
|
22
22
|
import "./chunk-RFNEDBVO.js";
|
|
23
23
|
import "./chunk-FBGWG4N6.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-LVS5YGTX.js";
|
|
25
25
|
import "./chunk-CQGTEGKL.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-Z4SWOUWC.js";
|
|
27
27
|
import "./chunk-K44MW7JJ.js";
|
|
28
28
|
export {
|
|
29
29
|
TurnMetrics,
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
runAgentTurn,
|
|
37
37
|
runChatTurn
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=orchestrator-
|
|
39
|
+
//# sourceMappingURL=orchestrator-X2ECL42Y.js.map
|
package/dist/package.json
CHANGED
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
generateSessionName,
|
|
6
6
|
getSessionMessageCount,
|
|
7
7
|
needsNameGenerationCheck
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KXJWTSOS.js";
|
|
9
9
|
import {
|
|
10
10
|
getEventStore
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-FRJQC77Y.js";
|
|
12
|
+
import "./chunk-4HBWSC6K.js";
|
|
13
13
|
import {
|
|
14
14
|
createChatMessageMessage,
|
|
15
15
|
createSessionRunningMessage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DTJJZZOC.js";
|
|
17
17
|
import "./chunk-FBGWG4N6.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-LVS5YGTX.js";
|
|
19
19
|
import {
|
|
20
20
|
logger
|
|
21
21
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -181,7 +181,7 @@ var QueueProcessor = class {
|
|
|
181
181
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
182
182
|
model: llmClient.getModel()
|
|
183
183
|
};
|
|
184
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
184
|
+
const { runChatTurn } = await import("./orchestrator-X2ECL42Y.js");
|
|
185
185
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
186
186
|
sessionManager,
|
|
187
187
|
sessionId,
|
|
@@ -225,4 +225,4 @@ var QueueProcessor = class {
|
|
|
225
225
|
export {
|
|
226
226
|
QueueProcessor
|
|
227
227
|
};
|
|
228
|
-
//# sourceMappingURL=processor-
|
|
228
|
+
//# sourceMappingURL=processor-7TYZNS4I.js.map
|
|
@@ -226,7 +226,7 @@ interface Message {
|
|
|
226
226
|
segments?: MessageSegment[];
|
|
227
227
|
stats?: MessageStats;
|
|
228
228
|
partial?: boolean;
|
|
229
|
-
completeReason?: 'complete' | 'stopped' | 'error' | 'waiting_for_user' | 'truncated';
|
|
229
|
+
completeReason?: 'complete' | 'stopped' | 'error' | 'waiting_for_user' | 'truncated' | 'step_done';
|
|
230
230
|
isSystemGenerated?: boolean;
|
|
231
231
|
isStreaming?: boolean;
|
|
232
232
|
messageKind?: 'correction' | 'auto-prompt' | 'context-reset' | 'task-completed' | 'workflow-started' | 'command';
|
|
@@ -406,6 +406,8 @@ interface ModelConfig {
|
|
|
406
406
|
nonThinkingEnabled?: boolean;
|
|
407
407
|
thinkingExtraKwargs?: string;
|
|
408
408
|
nonThinkingExtraKwargs?: string;
|
|
409
|
+
thinkingQueryParams?: string;
|
|
410
|
+
nonThinkingQueryParams?: string;
|
|
409
411
|
defaultTemperature?: number;
|
|
410
412
|
defaultTopP?: number;
|
|
411
413
|
defaultTopK?: number;
|
|
@@ -622,7 +624,7 @@ interface ChatMessageUpdatedPayload {
|
|
|
622
624
|
}
|
|
623
625
|
interface ChatDonePayload {
|
|
624
626
|
messageId: string;
|
|
625
|
-
reason: 'complete' | 'stopped' | 'error' | 'waiting_for_user' | 'truncated';
|
|
627
|
+
reason: 'complete' | 'stopped' | 'error' | 'waiting_for_user' | 'truncated' | 'step_done';
|
|
626
628
|
agentType?: 'sub-agent';
|
|
627
629
|
stats?: {
|
|
628
630
|
model: string;
|
|
@@ -35,8 +35,8 @@ import {
|
|
|
35
35
|
parseClientMessage,
|
|
36
36
|
serializeServerMessage,
|
|
37
37
|
storedEventToServerMessage
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-DTJJZZOC.js";
|
|
39
|
+
import "./chunk-LVS5YGTX.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-X53W2J73.js.map
|
|
@@ -10,8 +10,8 @@ import "./chunk-CQGTEGKL.js";
|
|
|
10
10
|
import {
|
|
11
11
|
detectModel,
|
|
12
12
|
fetchAvailableModelsFromBackend
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-A52FXWJX.js";
|
|
14
|
+
import "./chunk-Z4SWOUWC.js";
|
|
15
15
|
import "./chunk-K44MW7JJ.js";
|
|
16
16
|
|
|
17
17
|
// src/cli/provider.ts
|
|
@@ -380,4 +380,4 @@ export {
|
|
|
380
380
|
runProviderRemove,
|
|
381
381
|
runProviderUse
|
|
382
382
|
};
|
|
383
|
-
//# sourceMappingURL=provider-
|
|
383
|
+
//# sourceMappingURL=provider-QPECLUZ7.js.map
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
fetchAvailableModelsFromBackend,
|
|
4
4
|
fetchModelsWithContext,
|
|
5
5
|
parseDefaultModelSelection
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-A52FXWJX.js";
|
|
7
|
+
import "./chunk-Z4SWOUWC.js";
|
|
8
8
|
import "./chunk-K44MW7JJ.js";
|
|
9
9
|
export {
|
|
10
10
|
createProviderManager,
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
fetchModelsWithContext,
|
|
13
13
|
parseDefaultModelSelection
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=provider-manager-
|
|
15
|
+
//# sourceMappingURL=provider-manager-YA2WALTF.js.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION,
|
|
3
3
|
createServer
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-O2MR653P.js";
|
|
5
|
+
import "./chunk-NZCKCJH5.js";
|
|
6
|
+
import "./chunk-STJJDIXV.js";
|
|
7
|
+
import "./chunk-N374WCXC.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-
|
|
14
|
+
} from "./chunk-FRJQC77Y.js";
|
|
15
|
+
import "./chunk-4HBWSC6K.js";
|
|
16
|
+
import "./chunk-DTJJZZOC.js";
|
|
17
17
|
import "./chunk-BJYPTN5S.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-LVS5YGTX.js";
|
|
22
22
|
import {
|
|
23
23
|
getActiveProvider,
|
|
24
24
|
getDefaultModel,
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
getDatabasePath,
|
|
30
30
|
getGlobalConfigPath
|
|
31
31
|
} from "./chunk-CQGTEGKL.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-A52FXWJX.js";
|
|
33
|
+
import "./chunk-Z4SWOUWC.js";
|
|
34
34
|
import {
|
|
35
35
|
logger
|
|
36
36
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -188,4 +188,4 @@ async function runServe(options) {
|
|
|
188
188
|
export {
|
|
189
189
|
runServe
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=serve-
|
|
191
|
+
//# sourceMappingURL=serve-XPCJSKXX.js.map
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aN as ToolCall, c as Attachment, R as Diagnostic, am as Provider, ab as ModelConfig, az as Session, aI as SessionSummary, ai as Project, aD as SessionMode, aF as SessionPhase, M as Message, J as Criterion, L as CriterionStatus, a8 as MetadataEntry, av as QueuedMessage, F as ContextState, O as DangerLevel$1, ax as ServerMessage, aK as StatsIdentity, aQ as ToolResult, D as Config } from '../protocol-
|
|
1
|
+
import { aN as ToolCall, c as Attachment, R as Diagnostic, am as Provider, ab as ModelConfig, az as Session, aI as SessionSummary, ai as Project, aD as SessionMode, aF as SessionPhase, M as Message, J as Criterion, L as CriterionStatus, a8 as MetadataEntry, av as QueuedMessage, F as ContextState, O as DangerLevel$1, ax as ServerMessage, aK as StatsIdentity, aQ as ToolResult, D as Config } from '../protocol-BljtHZrx.js';
|
|
2
2
|
import { Server } from 'node:http';
|
|
3
3
|
|
|
4
4
|
interface LLMMessage {
|
|
@@ -40,6 +40,7 @@ interface LLMCompletionRequest {
|
|
|
40
40
|
maxTokens?: number;
|
|
41
41
|
supportsVision?: boolean;
|
|
42
42
|
chatTemplateKwargs?: Record<string, unknown>;
|
|
43
|
+
queryParams?: Record<string, unknown>;
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
interface LLMCompletionResponse {
|
|
@@ -142,6 +143,8 @@ interface ModelSettingsUpdate {
|
|
|
142
143
|
nonThinkingEnabled?: boolean;
|
|
143
144
|
thinkingExtraKwargs?: string;
|
|
144
145
|
nonThinkingExtraKwargs?: string;
|
|
146
|
+
thinkingQueryParams?: string;
|
|
147
|
+
nonThinkingQueryParams?: string;
|
|
145
148
|
}
|
|
146
149
|
interface ProviderManager {
|
|
147
150
|
getProviders(): Provider[];
|
|
@@ -395,10 +398,6 @@ declare class SessionManager {
|
|
|
395
398
|
* Get messages for the current context window.
|
|
396
399
|
*/
|
|
397
400
|
getCurrentWindowMessages(sessionId: string): Message[];
|
|
398
|
-
/**
|
|
399
|
-
* Compact context. Delegates to EventStore.
|
|
400
|
-
*/
|
|
401
|
-
compactContext(sessionId: string, summary: string, tokenCountAtClose: number): void;
|
|
402
401
|
/**
|
|
403
402
|
* Set current context size (for token tracking).
|
|
404
403
|
* Emits a context.state event with the real promptTokens from the LLM.
|
|
@@ -486,10 +485,6 @@ declare class SessionManager {
|
|
|
486
485
|
} | undefined;
|
|
487
486
|
setDynamicContextChanged(sessionId: string, changed: boolean): void;
|
|
488
487
|
getDynamicContextChanged(sessionId: string): boolean;
|
|
489
|
-
/**
|
|
490
|
-
* @deprecated Use addMessage + compactContext instead
|
|
491
|
-
*/
|
|
492
|
-
compactMessages(sessionId: string, _messageIds: string[], summary: string): Message;
|
|
493
488
|
/**
|
|
494
489
|
* @deprecated Use addTokensUsed instead
|
|
495
490
|
*/
|
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-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-O2MR653P.js";
|
|
5
|
+
import "../chunk-NZCKCJH5.js";
|
|
6
|
+
import "../chunk-STJJDIXV.js";
|
|
7
|
+
import "../chunk-N374WCXC.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-
|
|
12
|
+
import "../chunk-FRJQC77Y.js";
|
|
13
|
+
import "../chunk-4HBWSC6K.js";
|
|
14
|
+
import "../chunk-DTJJZZOC.js";
|
|
15
15
|
import "../chunk-BJYPTN5S.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-LVS5YGTX.js";
|
|
20
20
|
import "../chunk-CQGTEGKL.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-A52FXWJX.js";
|
|
22
|
+
import "../chunk-Z4SWOUWC.js";
|
|
23
23
|
import "../chunk-K44MW7JJ.js";
|
|
24
24
|
export {
|
|
25
25
|
createServer,
|
|
@@ -122,7 +122,7 @@ WantedBy=graphical-session.target
|
|
|
122
122
|
await writeFile(servicePath, serviceContent, "utf-8");
|
|
123
123
|
console.log(`Created: ${servicePath}`);
|
|
124
124
|
}
|
|
125
|
-
async function runServiceCommand(_mode, subcommand) {
|
|
125
|
+
async function runServiceCommand(_mode, subcommand, ...args) {
|
|
126
126
|
if (!subcommand) {
|
|
127
127
|
printServiceHelp();
|
|
128
128
|
return;
|
|
@@ -144,7 +144,7 @@ async function runServiceCommand(_mode, subcommand) {
|
|
|
144
144
|
await serviceStatus();
|
|
145
145
|
break;
|
|
146
146
|
case "logs":
|
|
147
|
-
await serviceLogs();
|
|
147
|
+
await serviceLogs(args);
|
|
148
148
|
break;
|
|
149
149
|
case "uninstall":
|
|
150
150
|
await serviceUninstall();
|
|
@@ -168,7 +168,7 @@ Commands:
|
|
|
168
168
|
stop Stop the service (if installed)
|
|
169
169
|
restart Restart the service (if installed)
|
|
170
170
|
status Show service status
|
|
171
|
-
logs
|
|
171
|
+
logs [-f] Show recent service logs (use -f or --follow to tail)
|
|
172
172
|
uninstall Disable and remove the service files
|
|
173
173
|
`);
|
|
174
174
|
}
|
|
@@ -243,16 +243,21 @@ async function serviceStatus() {
|
|
|
243
243
|
systemctl(["is-active", SERVICE_NAME], false);
|
|
244
244
|
systemctl(["is-enabled", SERVICE_NAME], false);
|
|
245
245
|
}
|
|
246
|
-
async function serviceLogs() {
|
|
246
|
+
async function serviceLogs(args) {
|
|
247
247
|
const installed = await pathExists(SERVICE_PATH);
|
|
248
248
|
if (!installed) {
|
|
249
249
|
console.log("Service not installed.");
|
|
250
250
|
return;
|
|
251
251
|
}
|
|
252
|
-
const
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
252
|
+
const follow = args.includes("-f") || args.includes("--follow");
|
|
253
|
+
if (follow) {
|
|
254
|
+
spawn("journalctl", ["--user", "-u", SERVICE_NAME, "-f", "--no-pager"], { stdio: "inherit" });
|
|
255
|
+
} else {
|
|
256
|
+
const result = spawnSync("journalctl", ["--user", "-u", SERVICE_NAME, "-n", "50", "--no-pager"], {
|
|
257
|
+
encoding: "utf-8"
|
|
258
|
+
});
|
|
259
|
+
console.log(result.stdout || result.stderr || "No logs");
|
|
260
|
+
}
|
|
256
261
|
}
|
|
257
262
|
async function serviceUninstall() {
|
|
258
263
|
console.log("Uninstalling OpenFox service...\n");
|
|
@@ -282,4 +287,4 @@ async function serviceUninstall() {
|
|
|
282
287
|
export {
|
|
283
288
|
runServiceCommand
|
|
284
289
|
};
|
|
285
|
-
//# sourceMappingURL=service-
|
|
290
|
+
//# sourceMappingURL=service-FJ4TW5L7.js.map
|
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 PhaseChangedPayload, ah as PreparingToolCall, ai as Project, aj as ProjectDeletedPayload, ak as ProjectListPayload, al as ProjectStatePayload, 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-
|
|
1
|
+
import { M as Message, S as SessionStats } from '../protocol-BljtHZrx.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 PhaseChangedPayload, ah as PreparingToolCall, ai as Project, aj as ProjectDeletedPayload, ak as ProjectListPayload, al as ProjectStatePayload, 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-BljtHZrx.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-N374WCXC.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-FRJQC77Y.js";
|
|
20
|
+
import "./chunk-4HBWSC6K.js";
|
|
21
|
+
import "./chunk-DTJJZZOC.js";
|
|
22
22
|
import {
|
|
23
23
|
AskUserInterrupt,
|
|
24
24
|
cancelQuestionsForSession,
|
|
@@ -26,9 +26,9 @@ import {
|
|
|
26
26
|
} from "./chunk-BJYPTN5S.js";
|
|
27
27
|
import "./chunk-RFNEDBVO.js";
|
|
28
28
|
import "./chunk-FBGWG4N6.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-LVS5YGTX.js";
|
|
30
30
|
import "./chunk-CQGTEGKL.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-Z4SWOUWC.js";
|
|
32
32
|
import "./chunk-K44MW7JJ.js";
|
|
33
33
|
export {
|
|
34
34
|
AskUserInterrupt,
|
|
@@ -47,4 +47,4 @@ export {
|
|
|
47
47
|
stepDoneTool,
|
|
48
48
|
validateToolAction
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=tools-
|
|
50
|
+
//# sourceMappingURL=tools-22OPY2O7.js.map
|