openfox 2.0.13 → 2.0.15
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-6NUNVXIU.js → chat-handler-RYOG3WJP.js} +9 -7
- package/dist/{chunk-VFRWE5X4.js → chunk-2GX5EIIU.js} +481 -2104
- package/dist/{chunk-FQIT7VIA.js → chunk-3IKRNKPI.js} +6 -6
- package/dist/{chunk-A52FXWJX.js → chunk-3SGGOBCL.js} +10 -387
- package/dist/chunk-EKTGRBDC.js +2072 -0
- package/dist/{chunk-3QB2RMX2.js → chunk-F4PMNP7S.js} +2 -2
- package/dist/{chunk-TIKQWNYK.js → chunk-J7KOV4ST.js} +2 -2
- package/dist/{chunk-2VDLXCLO.js → chunk-KPKSN362.js} +288 -26
- package/dist/chunk-NWO6GRYE.js +39 -0
- package/dist/chunk-PQ56PX7L.js +397 -0
- package/dist/{chunk-HPCGVAS4.js → chunk-SNQT7LNU.js} +18 -1
- package/dist/{chunk-5BDVM6YI.js → chunk-YD6NDTKF.js} +1 -1
- package/dist/{chunk-EZJUU54W.js → chunk-Z64KW2HD.js} +23 -17
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{config-BU66P4KX.js → config-Z66BQTNX.js} +2 -2
- package/dist/{orchestrator-WXEZHUVQ.js → orchestrator-KRCVDTZ6.js} +8 -6
- package/dist/package.json +3 -3
- package/dist/{processor-GA5NG3T7.js → processor-JHR3Z42W.js} +9 -7
- package/dist/{protocol-CaLuIetw.d.ts → protocol-BC1QSQ-Y.d.ts} +16 -1
- package/dist/{protocol-YYWMFR35.js → protocol-BKNLAEPJ.js} +3 -3
- package/dist/{provider-QPECLUZ7.js → provider-YBTRC77Y.js} +7 -5
- package/dist/{provider-manager-YA2WALTF.js → provider-manager-DETXLDKW.js} +3 -2
- package/dist/{serve-TJHQ326L.js → serve-AV74ODQ6.js} +13 -9
- package/dist/server/index.d.ts +21 -2
- package/dist/server/index.js +11 -7
- package/dist/server-P7E2IPVL.js +31 -0
- package/dist/shared/index.d.ts +2 -2
- package/dist/shared/index.js +1 -1
- package/dist/tool-adapter-B7QP6NLA.js +7 -0
- package/dist/{tools-THXBQJ7A.js → tools-WEE4XDTL.js} +9 -5
- package/dist/web/assets/{index-CQw-9GC9.js → index-BMz5-yAf.js} +76 -75
- package/dist/web/assets/{index-Db3yUKBI.css → index-Ho_tVUbw.css} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +3 -3
|
@@ -5,13 +5,14 @@ import {
|
|
|
5
5
|
generateSessionName,
|
|
6
6
|
getSessionMessageCount,
|
|
7
7
|
needsNameGenerationCheck
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-J7KOV4ST.js";
|
|
9
|
+
import "./chunk-KPKSN362.js";
|
|
10
|
+
import "./chunk-XAMAYRDA.js";
|
|
10
11
|
import "./chunk-L7TDUIQY.js";
|
|
11
12
|
import "./chunk-DL6ZILAF.js";
|
|
12
13
|
import "./chunk-PBGOZMVY.js";
|
|
13
14
|
import "./chunk-VRGRAQDG.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-NWO6GRYE.js";
|
|
15
16
|
import {
|
|
16
17
|
getEventStore
|
|
17
18
|
} from "./chunk-SYG2ENUQ.js";
|
|
@@ -19,11 +20,12 @@ import "./chunk-LX66KJPL.js";
|
|
|
19
20
|
import {
|
|
20
21
|
createChatMessageMessage,
|
|
21
22
|
createSessionRunningMessage
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-F4PMNP7S.js";
|
|
23
24
|
import "./chunk-EU3WWTFH.js";
|
|
24
25
|
import "./chunk-RFNEDBVO.js";
|
|
25
26
|
import "./chunk-FBGWG4N6.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-YD6NDTKF.js";
|
|
28
|
+
import "./chunk-SNQT7LNU.js";
|
|
27
29
|
import "./chunk-CQGTEGKL.js";
|
|
28
30
|
import "./chunk-Z4SWOUWC.js";
|
|
29
31
|
import {
|
|
@@ -191,7 +193,7 @@ var QueueProcessor = class {
|
|
|
191
193
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
192
194
|
model: llmClient.getModel()
|
|
193
195
|
};
|
|
194
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
196
|
+
const { runChatTurn } = await import("./orchestrator-KRCVDTZ6.js");
|
|
195
197
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
196
198
|
sessionManager,
|
|
197
199
|
sessionId,
|
|
@@ -239,4 +241,4 @@ var QueueProcessor = class {
|
|
|
239
241
|
export {
|
|
240
242
|
QueueProcessor
|
|
241
243
|
};
|
|
242
|
-
//# sourceMappingURL=processor-
|
|
244
|
+
//# sourceMappingURL=processor-JHR3Z42W.js.map
|
|
@@ -359,6 +359,11 @@ interface ContextState {
|
|
|
359
359
|
dangerZone: boolean;
|
|
360
360
|
canCompact: boolean;
|
|
361
361
|
dynamicContextChanged: boolean;
|
|
362
|
+
debugDump?: {
|
|
363
|
+
cachedPrompt: string;
|
|
364
|
+
cachedTools: string[];
|
|
365
|
+
liveTools: string[];
|
|
366
|
+
};
|
|
362
367
|
}
|
|
363
368
|
interface ValidationResult {
|
|
364
369
|
allPassed: boolean;
|
|
@@ -483,6 +488,16 @@ interface Config {
|
|
|
483
488
|
workdir: string;
|
|
484
489
|
/** Active workflow ID (defaults to "default") */
|
|
485
490
|
activeWorkflowId?: string | undefined;
|
|
491
|
+
/** MCP server configurations */
|
|
492
|
+
mcpServers?: Record<string, {
|
|
493
|
+
transport: 'stdio' | 'http';
|
|
494
|
+
command?: string;
|
|
495
|
+
args?: string[];
|
|
496
|
+
env?: Record<string, string>;
|
|
497
|
+
url?: string;
|
|
498
|
+
headers?: Record<string, string>;
|
|
499
|
+
disabledTools?: string[];
|
|
500
|
+
}> | undefined;
|
|
486
501
|
}
|
|
487
502
|
interface ElementData {
|
|
488
503
|
tag: string;
|
|
@@ -523,7 +538,7 @@ interface QueuedMessage {
|
|
|
523
538
|
queuedAt: string;
|
|
524
539
|
messageKind?: string;
|
|
525
540
|
}
|
|
526
|
-
type ServerMessageType = 'project.state' | 'project.list' | 'project.deleted' | 'session.state' | 'session.list' | 'session.deleted' | 'session.deletedAll' | 'session.running' | 'session.name_generated' | '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.done' | 'chat.vision_fallback' | 'chat.error' | 'chat.path_confirmation' | 'chat.ask_user' | 'mode.changed' | 'phase.changed' | 'task.completed' | 'criteria.updated' | 'metadata.updated' | 'context.state' | 'settings.value' | 'provider.changed' | 'queue.state' | 'devServer.output' | 'devServer.state' | 'backgroundProcess.started' | 'backgroundProcess.output' | 'backgroundProcess.exited' | 'backgroundProcess.removed' | 'git.status' | 'lsp.diagnostics' | 'error' | 'ack';
|
|
541
|
+
type ServerMessageType = 'project.state' | 'project.list' | 'project.deleted' | 'session.state' | 'session.list' | 'session.deleted' | 'session.deletedAll' | 'session.running' | 'session.name_generated' | '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.done' | 'chat.vision_fallback' | 'chat.error' | 'chat.path_confirmation' | 'chat.ask_user' | 'mode.changed' | 'phase.changed' | 'task.completed' | 'criteria.updated' | 'metadata.updated' | 'context.state' | 'settings.value' | 'provider.changed' | 'queue.state' | 'devServer.output' | 'devServer.state' | 'backgroundProcess.started' | 'backgroundProcess.output' | 'backgroundProcess.exited' | 'backgroundProcess.removed' | 'git.status' | 'mcp.servers.changed' | 'lsp.diagnostics' | 'error' | 'ack';
|
|
527
542
|
interface ServerMessage<T = unknown> {
|
|
528
543
|
id?: string;
|
|
529
544
|
type: ServerMessageType;
|
|
@@ -35,8 +35,8 @@ import {
|
|
|
35
35
|
parseClientMessage,
|
|
36
36
|
serializeServerMessage,
|
|
37
37
|
storedEventToServerMessage
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-F4PMNP7S.js";
|
|
39
|
+
import "./chunk-YD6NDTKF.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-BKNLAEPJ.js.map
|
|
@@ -5,12 +5,14 @@ import {
|
|
|
5
5
|
loadGlobalConfig,
|
|
6
6
|
removeProvider,
|
|
7
7
|
saveGlobalConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SNQT7LNU.js";
|
|
9
9
|
import "./chunk-CQGTEGKL.js";
|
|
10
10
|
import {
|
|
11
|
-
detectModel,
|
|
12
11
|
fetchAvailableModelsFromBackend
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3SGGOBCL.js";
|
|
13
|
+
import {
|
|
14
|
+
detectModel
|
|
15
|
+
} from "./chunk-PQ56PX7L.js";
|
|
14
16
|
import "./chunk-Z4SWOUWC.js";
|
|
15
17
|
import "./chunk-K44MW7JJ.js";
|
|
16
18
|
|
|
@@ -252,7 +254,7 @@ async function runProviderAdd(mode) {
|
|
|
252
254
|
isActive: makeActive
|
|
253
255
|
});
|
|
254
256
|
if (makeActive) {
|
|
255
|
-
const { setDefaultModelSelection } = await import("./config-
|
|
257
|
+
const { setDefaultModelSelection } = await import("./config-Z66BQTNX.js");
|
|
256
258
|
newConfig = setDefaultModelSelection(
|
|
257
259
|
newConfig,
|
|
258
260
|
newConfig.providers[newConfig.providers.length - 1].id,
|
|
@@ -380,4 +382,4 @@ export {
|
|
|
380
382
|
runProviderRemove,
|
|
381
383
|
runProviderUse
|
|
382
384
|
};
|
|
383
|
-
//# sourceMappingURL=provider-
|
|
385
|
+
//# sourceMappingURL=provider-YBTRC77Y.js.map
|
|
@@ -3,7 +3,8 @@ import {
|
|
|
3
3
|
fetchAvailableModelsFromBackend,
|
|
4
4
|
fetchModelsWithContext,
|
|
5
5
|
parseDefaultModelSelection
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3SGGOBCL.js";
|
|
7
|
+
import "./chunk-PQ56PX7L.js";
|
|
7
8
|
import "./chunk-Z4SWOUWC.js";
|
|
8
9
|
import "./chunk-K44MW7JJ.js";
|
|
9
10
|
export {
|
|
@@ -12,4 +13,4 @@ export {
|
|
|
12
13
|
fetchModelsWithContext,
|
|
13
14
|
parseDefaultModelSelection
|
|
14
15
|
};
|
|
15
|
-
//# sourceMappingURL=provider-manager-
|
|
16
|
+
//# sourceMappingURL=provider-manager-DETXLDKW.js.map
|
|
@@ -1,36 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION,
|
|
3
3
|
createServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2GX5EIIU.js";
|
|
5
|
+
import "./chunk-EKTGRBDC.js";
|
|
5
6
|
import "./chunk-FWJ6YXGA.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-Z64KW2HD.js";
|
|
8
|
+
import "./chunk-KPKSN362.js";
|
|
9
|
+
import "./chunk-XAMAYRDA.js";
|
|
8
10
|
import "./chunk-L7TDUIQY.js";
|
|
9
11
|
import "./chunk-DL6ZILAF.js";
|
|
10
12
|
import "./chunk-PBGOZMVY.js";
|
|
11
13
|
import "./chunk-VRGRAQDG.js";
|
|
12
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-NWO6GRYE.js";
|
|
13
15
|
import {
|
|
14
16
|
loadConfig
|
|
15
17
|
} from "./chunk-SYG2ENUQ.js";
|
|
16
18
|
import "./chunk-LX66KJPL.js";
|
|
17
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-F4PMNP7S.js";
|
|
18
20
|
import "./chunk-EU3WWTFH.js";
|
|
19
21
|
import "./chunk-RFNEDBVO.js";
|
|
20
22
|
import "./chunk-FBGWG4N6.js";
|
|
21
23
|
import "./chunk-VUQCQXXJ.js";
|
|
22
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-YD6NDTKF.js";
|
|
23
25
|
import {
|
|
24
26
|
getActiveProvider,
|
|
25
27
|
getDefaultModel,
|
|
26
28
|
loadGlobalConfig
|
|
27
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SNQT7LNU.js";
|
|
28
30
|
import {
|
|
29
31
|
ensureDataDirExists,
|
|
30
32
|
getDatabasePath,
|
|
31
33
|
getGlobalConfigPath
|
|
32
34
|
} from "./chunk-CQGTEGKL.js";
|
|
33
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-3SGGOBCL.js";
|
|
36
|
+
import "./chunk-PQ56PX7L.js";
|
|
34
37
|
import "./chunk-Z4SWOUWC.js";
|
|
35
38
|
import {
|
|
36
39
|
logger
|
|
@@ -167,6 +170,7 @@ async function runServe(options) {
|
|
|
167
170
|
activeProviderId: globalConfig.activeProviderId,
|
|
168
171
|
activeWorkflowId: globalConfig.activeWorkflowId,
|
|
169
172
|
defaultModelSelection: globalConfig.defaultModelSelection,
|
|
173
|
+
mcpServers: globalConfig.mcpServers,
|
|
170
174
|
// Workdir precedence: .env override → global config → process.cwd()
|
|
171
175
|
// Normalize: remove trailing slash to prevent double slashes in paths
|
|
172
176
|
workdir: (process.env["OPENFOX_WORKDIR"] ?? globalConfig.workspace?.workdir ?? process.cwd()).replace(/\/$/, "")
|
|
@@ -189,4 +193,4 @@ async function runServe(options) {
|
|
|
189
193
|
export {
|
|
190
194
|
runServe
|
|
191
195
|
};
|
|
192
|
-
//# sourceMappingURL=serve-
|
|
196
|
+
//# sourceMappingURL=serve-AV74ODQ6.js.map
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-BC1QSQ-Y.js';
|
|
2
2
|
import { Server } from 'node:http';
|
|
3
3
|
|
|
4
4
|
interface LLMMessage {
|
|
@@ -125,6 +125,10 @@ interface LspManagerInterface {
|
|
|
125
125
|
* Check if LSP is available for a given file
|
|
126
126
|
*/
|
|
127
127
|
isAvailableFor(path: string): boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Get installation hint for a file's language server, if it's not installed
|
|
130
|
+
*/
|
|
131
|
+
getInstallHint(path: string): string | null;
|
|
128
132
|
/**
|
|
129
133
|
* Shutdown all LSP servers
|
|
130
134
|
*/
|
|
@@ -212,6 +216,7 @@ declare class LspManager implements LspManagerInterface {
|
|
|
212
216
|
private servers;
|
|
213
217
|
private unavailableServers;
|
|
214
218
|
private serverPromises;
|
|
219
|
+
private dismissedHints;
|
|
215
220
|
constructor(workdir: string, sessionId: string);
|
|
216
221
|
private getOrCreateServer;
|
|
217
222
|
private startServer;
|
|
@@ -230,6 +235,12 @@ declare class LspManager implements LspManagerInterface {
|
|
|
230
235
|
* Returns true if we have or can start a server for this file type.
|
|
231
236
|
*/
|
|
232
237
|
isAvailableFor(path: string): boolean;
|
|
238
|
+
/**
|
|
239
|
+
* Get installation hint for a file's language server, if it's not installed.
|
|
240
|
+
* Returns the hint once per session; subsequent calls return null
|
|
241
|
+
* to avoid spamming the user on every edit.
|
|
242
|
+
*/
|
|
243
|
+
getInstallHint(path: string): string | null;
|
|
233
244
|
/**
|
|
234
245
|
* Shutdown all LSP servers.
|
|
235
246
|
*/
|
|
@@ -299,6 +310,7 @@ declare class SessionManager {
|
|
|
299
310
|
private providerManager;
|
|
300
311
|
private cachedPromptStore;
|
|
301
312
|
private dynamicContextChangedStore;
|
|
313
|
+
private debugDumpStore;
|
|
302
314
|
constructor(providerManager: ProviderManager);
|
|
303
315
|
getCurrentModelSettings(): {
|
|
304
316
|
temperature?: number;
|
|
@@ -478,12 +490,19 @@ declare class SessionManager {
|
|
|
478
490
|
* Update execution state.
|
|
479
491
|
*/
|
|
480
492
|
updateExecutionState(sessionId: string, updates: Record<string, unknown>): void;
|
|
481
|
-
setCachedPrompt(sessionId: string, systemPrompt: string, hash: string): void;
|
|
493
|
+
setCachedPrompt(sessionId: string, systemPrompt: string, tools: LLMToolDefinition[], hash: string): void;
|
|
482
494
|
getCachedPrompt(sessionId: string): {
|
|
483
495
|
systemPrompt: string;
|
|
496
|
+
tools: LLMToolDefinition[];
|
|
484
497
|
hash: string;
|
|
485
498
|
} | undefined;
|
|
486
499
|
setDynamicContextChanged(sessionId: string, changed: boolean): void;
|
|
500
|
+
setDebugDump(sessionId: string, dump: {
|
|
501
|
+
cachedPrompt: string;
|
|
502
|
+
cachedTools: string[];
|
|
503
|
+
liveTools: string[];
|
|
504
|
+
}): void;
|
|
505
|
+
clearDebugDump(sessionId: string): void;
|
|
487
506
|
getDynamicContextChanged(sessionId: string): boolean;
|
|
488
507
|
/**
|
|
489
508
|
* @deprecated Use addTokensUsed instead
|
package/dist/server/index.js
CHANGED
|
@@ -1,25 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-2GX5EIIU.js";
|
|
5
|
+
import "../chunk-EKTGRBDC.js";
|
|
5
6
|
import "../chunk-FWJ6YXGA.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-Z64KW2HD.js";
|
|
8
|
+
import "../chunk-KPKSN362.js";
|
|
9
|
+
import "../chunk-XAMAYRDA.js";
|
|
8
10
|
import "../chunk-L7TDUIQY.js";
|
|
9
11
|
import "../chunk-DL6ZILAF.js";
|
|
10
12
|
import "../chunk-PBGOZMVY.js";
|
|
11
13
|
import "../chunk-VRGRAQDG.js";
|
|
12
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-NWO6GRYE.js";
|
|
13
15
|
import "../chunk-SYG2ENUQ.js";
|
|
14
16
|
import "../chunk-LX66KJPL.js";
|
|
15
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-F4PMNP7S.js";
|
|
16
18
|
import "../chunk-EU3WWTFH.js";
|
|
17
19
|
import "../chunk-RFNEDBVO.js";
|
|
18
20
|
import "../chunk-FBGWG4N6.js";
|
|
19
21
|
import "../chunk-VUQCQXXJ.js";
|
|
20
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-YD6NDTKF.js";
|
|
23
|
+
import "../chunk-SNQT7LNU.js";
|
|
21
24
|
import "../chunk-CQGTEGKL.js";
|
|
22
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-3SGGOBCL.js";
|
|
26
|
+
import "../chunk-PQ56PX7L.js";
|
|
23
27
|
import "../chunk-Z4SWOUWC.js";
|
|
24
28
|
import "../chunk-K44MW7JJ.js";
|
|
25
29
|
export {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createWebSocketServer,
|
|
3
|
+
signalMcpReady
|
|
4
|
+
} from "./chunk-EKTGRBDC.js";
|
|
5
|
+
import "./chunk-FWJ6YXGA.js";
|
|
6
|
+
import "./chunk-Z64KW2HD.js";
|
|
7
|
+
import "./chunk-KPKSN362.js";
|
|
8
|
+
import "./chunk-XAMAYRDA.js";
|
|
9
|
+
import "./chunk-L7TDUIQY.js";
|
|
10
|
+
import "./chunk-DL6ZILAF.js";
|
|
11
|
+
import "./chunk-PBGOZMVY.js";
|
|
12
|
+
import "./chunk-VRGRAQDG.js";
|
|
13
|
+
import "./chunk-NWO6GRYE.js";
|
|
14
|
+
import "./chunk-SYG2ENUQ.js";
|
|
15
|
+
import "./chunk-LX66KJPL.js";
|
|
16
|
+
import "./chunk-F4PMNP7S.js";
|
|
17
|
+
import "./chunk-EU3WWTFH.js";
|
|
18
|
+
import "./chunk-RFNEDBVO.js";
|
|
19
|
+
import "./chunk-FBGWG4N6.js";
|
|
20
|
+
import "./chunk-VUQCQXXJ.js";
|
|
21
|
+
import "./chunk-YD6NDTKF.js";
|
|
22
|
+
import "./chunk-SNQT7LNU.js";
|
|
23
|
+
import "./chunk-CQGTEGKL.js";
|
|
24
|
+
import "./chunk-PQ56PX7L.js";
|
|
25
|
+
import "./chunk-Z4SWOUWC.js";
|
|
26
|
+
import "./chunk-K44MW7JJ.js";
|
|
27
|
+
export {
|
|
28
|
+
createWebSocketServer,
|
|
29
|
+
signalMcpReady
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=server-P7E2IPVL.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 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-
|
|
1
|
+
import { M as Message, S as SessionStats } from '../protocol-BC1QSQ-Y.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-BC1QSQ-Y.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Session stats computation - aggregates response-level MessageStats from
|
package/dist/shared/index.js
CHANGED
|
@@ -9,17 +9,19 @@ import {
|
|
|
9
9
|
parseToolPermissions,
|
|
10
10
|
providePathConfirmation,
|
|
11
11
|
requestPathAccess,
|
|
12
|
+
setMcpTools,
|
|
12
13
|
stepDoneTool,
|
|
13
14
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KPKSN362.js";
|
|
16
|
+
import "./chunk-XAMAYRDA.js";
|
|
15
17
|
import "./chunk-L7TDUIQY.js";
|
|
16
18
|
import "./chunk-DL6ZILAF.js";
|
|
17
19
|
import "./chunk-PBGOZMVY.js";
|
|
18
20
|
import "./chunk-VRGRAQDG.js";
|
|
19
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-NWO6GRYE.js";
|
|
20
22
|
import "./chunk-SYG2ENUQ.js";
|
|
21
23
|
import "./chunk-LX66KJPL.js";
|
|
22
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-F4PMNP7S.js";
|
|
23
25
|
import {
|
|
24
26
|
AskUserInterrupt,
|
|
25
27
|
cancelQuestionsForSession,
|
|
@@ -28,7 +30,8 @@ import {
|
|
|
28
30
|
} from "./chunk-EU3WWTFH.js";
|
|
29
31
|
import "./chunk-RFNEDBVO.js";
|
|
30
32
|
import "./chunk-FBGWG4N6.js";
|
|
31
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-YD6NDTKF.js";
|
|
34
|
+
import "./chunk-SNQT7LNU.js";
|
|
32
35
|
import "./chunk-CQGTEGKL.js";
|
|
33
36
|
import "./chunk-Z4SWOUWC.js";
|
|
34
37
|
import "./chunk-K44MW7JJ.js";
|
|
@@ -47,7 +50,8 @@ export {
|
|
|
47
50
|
provideAnswer,
|
|
48
51
|
providePathConfirmation,
|
|
49
52
|
requestPathAccess,
|
|
53
|
+
setMcpTools,
|
|
50
54
|
stepDoneTool,
|
|
51
55
|
validateToolAction
|
|
52
56
|
};
|
|
53
|
-
//# sourceMappingURL=tools-
|
|
57
|
+
//# sourceMappingURL=tools-WEE4XDTL.js.map
|