openfox 2.0.95 → 2.0.96
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 +13 -0
- package/dist/CHANGELOG.md +13 -0
- package/dist/{chat-handler-5FV3TGQD.js → chat-handler-5OJMACXB.js} +16 -16
- package/dist/{chunk-YCPUV7AR.js → chunk-3DAZIZ7E.js} +7 -7
- package/dist/{chunk-OHBY2673.js → chunk-3LRYZ7R3.js} +46 -3
- package/dist/{chunk-W7P5P54O.js → chunk-3W6STALV.js} +2 -2
- package/dist/chunk-62QCBNPE.js +15 -0
- package/dist/chunk-7B3XSBRL.js +7 -0
- package/dist/{chunk-5UFTFBNW.js → chunk-BG4EVBLJ.js} +5 -5
- package/dist/{chunk-OZD247P4.js → chunk-C3XL7X4E.js} +8 -8
- package/dist/{chunk-62X2MPO6.js → chunk-D3SXT3BL.js} +4 -4
- package/dist/{chunk-ZMSHE564.js → chunk-G5JFKTSR.js} +2 -2
- package/dist/{chunk-7P7OKBYQ.js → chunk-KNYPBXPW.js} +4 -4
- package/dist/{chunk-MC3MCMAF.js → chunk-KQPDU65K.js} +2 -2
- package/dist/{chunk-MB7STVMR.js → chunk-LZW5LSVH.js} +5 -5
- package/dist/{chunk-KG2PJVOE.js → chunk-ML5ZU6VS.js} +185 -78
- package/dist/{chunk-P637C6X3.js → chunk-O2PLNJIU.js} +2 -2
- package/dist/{chunk-6RHMIMID.js → chunk-O5YWFX7H.js} +21 -25
- package/dist/{chunk-OQTLFO4R.js → chunk-URQQOUCS.js} +46 -3
- package/dist/{chunk-D6T3X22W.js → chunk-WS7EY4CU.js} +14 -14
- package/dist/{chunk-5N5JXT7R.js → chunk-XLI6PDJG.js} +2 -2
- package/dist/{chunk-TSHJW7OC.js → chunk-ZIMGU5ZH.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{compactor-3RXIAIPR.js → compactor-U7EUKEUE.js} +6 -6
- package/dist/{config-XIYAPMX3.js → config-M7RDIFC5.js} +4 -2
- package/dist/{dynamic-context-CJFDFUJF.js → dynamic-context-TDB4G5CH.js} +4 -4
- package/dist/{events-QHZDLHEB.js → events-4THEZWVL.js} +5 -5
- package/dist/{folding-O4OYOTPS.js → folding-OYBO2NTH.js} +3 -3
- package/dist/openFolder-Z27FEM5M.js +8 -0
- package/dist/{orchestrator-LDVMBC23.js → orchestrator-MTCF2EPU.js} +13 -13
- package/dist/package.json +1 -1
- package/dist/{path-security-72KGHGSV.js → path-security-6GYETPWN.js} +6 -6
- package/dist/{processor-32QUVPV6.js → processor-HX4FXDDT.js} +13 -13
- package/dist/{provider-A74GHQUO.js → provider-LZ3XMDX6.js} +3 -3
- package/dist/{registry-XBEHPY7C.js → registry-QEOTM3IG.js} +2 -2
- package/dist/{serve-GL5WUPRP.js → serve-VGATDJX5.js} +19 -18
- package/dist/server/index.js +18 -17
- package/dist/{server-OYVGQU7O.js → server-4BHDA6PA.js} +16 -16
- package/dist/{session-overrides-QWD4V5KW.js → session-overrides-BQSE3V3F.js} +4 -4
- package/dist/{sessions-BT4PION7.js → sessions-AUDWMF55.js} +3 -3
- package/dist/{tools-UTA3TV7P.js → tools-I3BAXRVD.js} +11 -11
- package/dist/{update-VUTN743C.js → update-2Z6TXHFH.js} +2 -2
- package/dist/web/assets/{index-BlV1FebL.css → index-BG5sD2ez.css} +1 -1
- package/dist/web/assets/{index-BUiw9fSe.js → index-CsC_DrIa.js} +80 -73
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/dist/{workspace-IIRKILYL.js → workspace-2NDXTCVR.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-VKU7YBLH.js +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveDefaultAgentId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3LRYZ7R3.js";
|
|
4
4
|
|
|
5
5
|
// src/server/events/apply-events.ts
|
|
6
6
|
function markComplete(msg, reason) {
|
|
@@ -929,4 +929,4 @@ export {
|
|
|
929
929
|
buildSnapshot,
|
|
930
930
|
buildSnapshotFromSessionState
|
|
931
931
|
};
|
|
932
|
-
//# sourceMappingURL=chunk-
|
|
932
|
+
//# sourceMappingURL=chunk-O2PLNJIU.js.map
|
|
@@ -27,24 +27,24 @@ import {
|
|
|
27
27
|
getGitBranch,
|
|
28
28
|
isGitRepository,
|
|
29
29
|
listWorkspaces
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-D3SXT3BL.js";
|
|
31
31
|
import {
|
|
32
32
|
findSkillById,
|
|
33
33
|
getAllInstructions,
|
|
34
34
|
getEnabledSkillMetadata,
|
|
35
35
|
isSkillEnabled,
|
|
36
36
|
loadAllSkills
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-KQPDU65K.js";
|
|
38
38
|
import {
|
|
39
39
|
getSessionDisabledServers
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XLI6PDJG.js";
|
|
41
41
|
import {
|
|
42
42
|
PathAccessDeniedError,
|
|
43
43
|
extractAbsolutePathsFromCommand,
|
|
44
44
|
extractSensitivePathsFromCommand,
|
|
45
45
|
registerPathConfirmation,
|
|
46
46
|
requestPathAccess
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-G5JFKTSR.js";
|
|
48
48
|
import {
|
|
49
49
|
createChatDoneMessage,
|
|
50
50
|
createChatMessageMessage,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
getCurrentContextWindowId,
|
|
76
76
|
getCurrentWindowMessageOptions,
|
|
77
77
|
getEventStore
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-KNYPBXPW.js";
|
|
79
79
|
import {
|
|
80
80
|
buildContextMessagesFromEventHistory,
|
|
81
81
|
foldContextState,
|
|
@@ -85,13 +85,13 @@ import {
|
|
|
85
85
|
handleToolResult,
|
|
86
86
|
reorderToolMessages,
|
|
87
87
|
stripOrphanedToolCalls
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-O2PLNJIU.js";
|
|
89
89
|
import {
|
|
90
90
|
findAgentById,
|
|
91
91
|
getRuntimeConfig,
|
|
92
92
|
getSubAgents,
|
|
93
93
|
loadAllAgentsDefault
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-3LRYZ7R3.js";
|
|
95
95
|
import {
|
|
96
96
|
modelSupportsVision
|
|
97
97
|
} from "./chunk-V4IE7HJY.js";
|
|
@@ -116,7 +116,7 @@ import {
|
|
|
116
116
|
import {
|
|
117
117
|
loadGlobalConfig,
|
|
118
118
|
saveGlobalConfig
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-URQQOUCS.js";
|
|
120
120
|
import {
|
|
121
121
|
getGlobalConfigDir
|
|
122
122
|
} from "./chunk-CQGTEGKL.js";
|
|
@@ -1913,7 +1913,7 @@ ${CONTINUE_PROMPT}` : CONTINUE_PROMPT;
|
|
|
1913
1913
|
sessionManager.setCurrentContextSize(sessionId, result.usage.promptTokens, config.subAgentMetadata?.subAgentId);
|
|
1914
1914
|
if (!compacting) {
|
|
1915
1915
|
const contextState2 = sessionManager.getContextState(sessionId);
|
|
1916
|
-
const { shouldCompact, appendCompactionPrompt } = await import("./compactor-
|
|
1916
|
+
const { shouldCompact, appendCompactionPrompt } = await import("./compactor-U7EUKEUE.js");
|
|
1917
1917
|
if (shouldCompact(
|
|
1918
1918
|
contextState2.currentTokens,
|
|
1919
1919
|
contextState2.maxTokens,
|
|
@@ -2235,11 +2235,15 @@ async function describeImage(base64Data, visionModel, options) {
|
|
|
2235
2235
|
const timeoutController = new AbortController();
|
|
2236
2236
|
const timeoutId = setTimeout(() => timeoutController.abort(), timeout);
|
|
2237
2237
|
const signal = options?.signal ? AbortSignal.any([timeoutController.signal, options.signal]) : timeoutController.signal;
|
|
2238
|
+
const headers = {
|
|
2239
|
+
"Content-Type": "application/json"
|
|
2240
|
+
};
|
|
2241
|
+
if (isOpenAI && visionModel.apiKey) {
|
|
2242
|
+
headers["Authorization"] = `Bearer ${visionModel.apiKey}`;
|
|
2243
|
+
}
|
|
2238
2244
|
const response = await fetch(url, {
|
|
2239
2245
|
method: "POST",
|
|
2240
|
-
headers
|
|
2241
|
-
"Content-Type": "application/json"
|
|
2242
|
-
},
|
|
2246
|
+
headers,
|
|
2243
2247
|
body: JSON.stringify(requestBody),
|
|
2244
2248
|
signal
|
|
2245
2249
|
});
|
|
@@ -2276,19 +2280,11 @@ async function describeImageFromDataUrl(dataUrl, visionModel, options) {
|
|
|
2276
2280
|
// src/server/context/image-processor.ts
|
|
2277
2281
|
async function loadVisionModelFromGlobalConfig() {
|
|
2278
2282
|
try {
|
|
2279
|
-
const { loadGlobalConfig: loadGlobalConfig2,
|
|
2283
|
+
const { loadGlobalConfig: loadGlobalConfig2, resolveVisionFallback } = await import("./config-M7RDIFC5.js");
|
|
2280
2284
|
const runtimeConfig = getRuntimeConfig();
|
|
2281
2285
|
const mode = runtimeConfig.mode ?? "production";
|
|
2282
2286
|
const globalConfig = await loadGlobalConfig2(mode);
|
|
2283
|
-
|
|
2284
|
-
if (fallback?.enabled && fallback.model) {
|
|
2285
|
-
return {
|
|
2286
|
-
baseUrl: fallback.url,
|
|
2287
|
-
model: fallback.model,
|
|
2288
|
-
timeout: fallback.timeout * 1e3,
|
|
2289
|
-
backend: fallback.backend ?? "ollama"
|
|
2290
|
-
};
|
|
2291
|
-
}
|
|
2287
|
+
return resolveVisionFallback(globalConfig);
|
|
2292
2288
|
} catch {
|
|
2293
2289
|
}
|
|
2294
2290
|
return void 0;
|
|
@@ -2852,7 +2848,7 @@ var callSubAgentTool = {
|
|
|
2852
2848
|
};
|
|
2853
2849
|
}
|
|
2854
2850
|
try {
|
|
2855
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
2851
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-I3BAXRVD.js");
|
|
2856
2852
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
2857
2853
|
const turnMetrics = new TurnMetrics();
|
|
2858
2854
|
const result = await executeSubAgent({
|
|
@@ -3873,7 +3869,7 @@ var mcpConfigTool = createTool(
|
|
|
3873
3869
|
mcpNotifyChanged?.(sessionId);
|
|
3874
3870
|
}
|
|
3875
3871
|
async function rebuildTools() {
|
|
3876
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
3872
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-I3BAXRVD.js");
|
|
3877
3873
|
const mcpTools = createMcpTools(mcpManagerForTools);
|
|
3878
3874
|
setMcpTools2(mcpTools);
|
|
3879
3875
|
}
|
|
@@ -4519,4 +4515,4 @@ export {
|
|
|
4519
4515
|
getToolRegistryForAgent,
|
|
4520
4516
|
createToolRegistry
|
|
4521
4517
|
};
|
|
4522
|
-
//# sourceMappingURL=chunk-
|
|
4518
|
+
//# sourceMappingURL=chunk-O5YWFX7H.js.map
|
|
@@ -89,7 +89,8 @@ var visionFallbackSchema = z.object({
|
|
|
89
89
|
url: z.string().default("http://localhost:11434"),
|
|
90
90
|
model: z.string().default("qwen3.5:0.8b"),
|
|
91
91
|
timeout: z.number().default(120),
|
|
92
|
-
backend: z.enum(["ollama", "openai"]).default("ollama")
|
|
92
|
+
backend: z.enum(["ollama", "openai"]).default("ollama"),
|
|
93
|
+
providerModelRef: z.string().optional()
|
|
93
94
|
});
|
|
94
95
|
var cachedToolSchema = z.object({
|
|
95
96
|
name: z.string(),
|
|
@@ -163,7 +164,48 @@ async function loadGlobalConfig(mode, configPathOverride) {
|
|
|
163
164
|
}
|
|
164
165
|
}
|
|
165
166
|
function getDefaultVisionFallback() {
|
|
166
|
-
return {
|
|
167
|
+
return {
|
|
168
|
+
enabled: false,
|
|
169
|
+
url: "http://localhost:11434",
|
|
170
|
+
model: "qwen3.5:0.8b",
|
|
171
|
+
timeout: 120,
|
|
172
|
+
backend: "ollama"
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
function resolveVisionFallback(config) {
|
|
176
|
+
const fallback = config.visionFallback;
|
|
177
|
+
if (!fallback?.enabled) return void 0;
|
|
178
|
+
if (fallback.providerModelRef) {
|
|
179
|
+
const slashIndex = fallback.providerModelRef.indexOf("/");
|
|
180
|
+
if (slashIndex !== -1) {
|
|
181
|
+
const providerId = fallback.providerModelRef.substring(0, slashIndex);
|
|
182
|
+
const modelId = fallback.providerModelRef.substring(slashIndex + 1);
|
|
183
|
+
const provider = config.providers?.find((p) => p.id === providerId);
|
|
184
|
+
if (provider) {
|
|
185
|
+
const exactModel = provider.models?.find((m) => m.id === modelId);
|
|
186
|
+
const model = exactModel?.supportsVision ? exactModel : provider.models?.find((m) => m.supportsVision);
|
|
187
|
+
if (model?.supportsVision) {
|
|
188
|
+
const backend = provider.backend === "ollama" ? "ollama" : "openai";
|
|
189
|
+
return {
|
|
190
|
+
baseUrl: provider.url || fallback.url || "http://localhost:11434",
|
|
191
|
+
model: model.id,
|
|
192
|
+
timeout: (fallback.timeout ?? 120) * 1e3,
|
|
193
|
+
backend,
|
|
194
|
+
...provider.apiKey ? { apiKey: provider.apiKey } : {}
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
if (fallback.url && fallback.model) {
|
|
201
|
+
return {
|
|
202
|
+
baseUrl: fallback.url,
|
|
203
|
+
model: fallback.model,
|
|
204
|
+
timeout: (fallback.timeout ?? 120) * 1e3,
|
|
205
|
+
backend: fallback.backend ?? "ollama"
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
return void 0;
|
|
167
209
|
}
|
|
168
210
|
async function saveGlobalConfig(mode, config, configPathOverride) {
|
|
169
211
|
const configPath = configPathOverride ?? getGlobalConfigPath(mode);
|
|
@@ -314,6 +356,7 @@ export {
|
|
|
314
356
|
getVisionFallback,
|
|
315
357
|
loadGlobalConfig,
|
|
316
358
|
getDefaultVisionFallback,
|
|
359
|
+
resolveVisionFallback,
|
|
317
360
|
saveGlobalConfig,
|
|
318
361
|
getActiveProvider,
|
|
319
362
|
getDefaultModel,
|
|
@@ -323,4 +366,4 @@ export {
|
|
|
323
366
|
removeProvider,
|
|
324
367
|
activateProvider
|
|
325
368
|
};
|
|
326
|
-
//# sourceMappingURL=chunk-
|
|
369
|
+
//# sourceMappingURL=chunk-URQQOUCS.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
runAgentTurn,
|
|
3
|
-
runChatTurn
|
|
4
|
-
} from "./chunk-OZD247P4.js";
|
|
5
1
|
import {
|
|
6
2
|
generateSessionNameForSession,
|
|
7
3
|
getSessionMessageCount,
|
|
8
4
|
needsNameGeneration
|
|
9
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BG4EVBLJ.js";
|
|
6
|
+
import {
|
|
7
|
+
runAgentTurn,
|
|
8
|
+
runChatTurn
|
|
9
|
+
} from "./chunk-C3XL7X4E.js";
|
|
10
10
|
import {
|
|
11
11
|
devServerManager,
|
|
12
12
|
executeSubAgent,
|
|
13
13
|
getToolRegistryForAgent
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-O5YWFX7H.js";
|
|
15
15
|
import {
|
|
16
16
|
checkAborted,
|
|
17
17
|
onProcessEvent,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
applyDynamicContext,
|
|
29
29
|
computeSessionHash,
|
|
30
30
|
computeUnifiedDiff
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LZW5LSVH.js";
|
|
32
32
|
import {
|
|
33
33
|
createChatErrorMessage,
|
|
34
34
|
createChatMessageMessage,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
} from "./chunk-EU3WWTFH.js";
|
|
51
51
|
import {
|
|
52
52
|
appendCompactionPrompt
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-3W6STALV.js";
|
|
54
54
|
import {
|
|
55
55
|
TurnMetrics,
|
|
56
56
|
createMessageStartEvent
|
|
@@ -59,14 +59,14 @@ import {
|
|
|
59
59
|
combineEventsWithSnapshot,
|
|
60
60
|
getCurrentContextWindowId,
|
|
61
61
|
getEventStore
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-KNYPBXPW.js";
|
|
63
63
|
import {
|
|
64
64
|
getPlatformShell
|
|
65
65
|
} from "./chunk-NLN5LPQ4.js";
|
|
66
66
|
import {
|
|
67
67
|
buildMessagesFromStoredEvents,
|
|
68
68
|
foldPendingConfirmations
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-O2PLNJIU.js";
|
|
70
70
|
import {
|
|
71
71
|
deleteItemFromDir,
|
|
72
72
|
findAgentById,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
loadAllAgentsDefault,
|
|
76
76
|
resolveDefaultAgentId,
|
|
77
77
|
saveItemToDir
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-3LRYZ7R3.js";
|
|
79
79
|
import {
|
|
80
80
|
getMaxVisibleItems
|
|
81
81
|
} from "./chunk-UEOEA6BB.js";
|
|
@@ -2161,8 +2161,8 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
|
|
|
2161
2161
|
const sessionId = client.activeSessionId;
|
|
2162
2162
|
const session = sessionManager.requireSession(sessionId);
|
|
2163
2163
|
try {
|
|
2164
|
-
const { buildCachedPrompt } = await import("./dynamic-context-
|
|
2165
|
-
const allAgents = await import("./registry-
|
|
2164
|
+
const { buildCachedPrompt } = await import("./dynamic-context-TDB4G5CH.js");
|
|
2165
|
+
const allAgents = await import("./registry-QEOTM3IG.js");
|
|
2166
2166
|
const agentDef = allAgents.findAgentById(session.mode, await allAgents.loadAllAgentsDefault()) ?? allAgents.findAgentById("planner", await allAgents.loadAllAgentsDefault());
|
|
2167
2167
|
const { systemPrompt: newPrompt, hash: newHash } = await buildCachedPrompt(sessionManager, sessionId, agentDef);
|
|
2168
2168
|
const oldCached = sessionManager.getCachedPrompt(sessionId);
|
|
@@ -2477,4 +2477,4 @@ export {
|
|
|
2477
2477
|
signalMcpReady,
|
|
2478
2478
|
createWebSocketServer
|
|
2479
2479
|
};
|
|
2480
|
-
//# sourceMappingURL=chunk-
|
|
2480
|
+
//# sourceMappingURL=chunk-WS7EY4CU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateSessionMcpDisabledServers
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZIMGU5ZH.js";
|
|
4
4
|
import {
|
|
5
5
|
getDatabase
|
|
6
6
|
} from "./chunk-GLF65XDS.js";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
clearSessionOverrides,
|
|
63
63
|
getAllSessionOverrides
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=chunk-
|
|
65
|
+
//# sourceMappingURL=chunk-XLI6PDJG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveDefaultAgentId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3LRYZ7R3.js";
|
|
4
4
|
import {
|
|
5
5
|
getDatabase
|
|
6
6
|
} from "./chunk-GLF65XDS.js";
|
|
@@ -367,4 +367,4 @@ export {
|
|
|
367
367
|
getActiveWorkflowExecution,
|
|
368
368
|
clearWorkflowExecution
|
|
369
369
|
};
|
|
370
|
-
//# sourceMappingURL=chunk-
|
|
370
|
+
//# sourceMappingURL=chunk-ZIMGU5ZH.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
COMPACTION_MAX_RATIO,
|
|
4
4
|
appendCompactionPrompt,
|
|
5
5
|
shouldCompact
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3W6STALV.js";
|
|
7
7
|
import "./chunk-K2O7JTCX.js";
|
|
8
8
|
import "./chunk-MRWR3SIT.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-KNYPBXPW.js";
|
|
10
10
|
import "./chunk-NLN5LPQ4.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-O2PLNJIU.js";
|
|
12
|
+
import "./chunk-ZIMGU5ZH.js";
|
|
13
|
+
import "./chunk-3LRYZ7R3.js";
|
|
14
14
|
import "./chunk-J2GP3J3X.js";
|
|
15
15
|
import "./chunk-V4IE7HJY.js";
|
|
16
16
|
import "./chunk-YHEQTVFV.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
appendCompactionPrompt,
|
|
27
27
|
shouldCompact
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=compactor-
|
|
29
|
+
//# sourceMappingURL=compactor-U7EUKEUE.js.map
|
|
@@ -8,10 +8,11 @@ import {
|
|
|
8
8
|
getVisionFallback,
|
|
9
9
|
loadGlobalConfig,
|
|
10
10
|
removeProvider,
|
|
11
|
+
resolveVisionFallback,
|
|
11
12
|
saveGlobalConfig,
|
|
12
13
|
setDefaultModelSelection,
|
|
13
14
|
updateProvider
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-URQQOUCS.js";
|
|
15
16
|
import "./chunk-CQGTEGKL.js";
|
|
16
17
|
import "./chunk-5WRI5ZAA.js";
|
|
17
18
|
export {
|
|
@@ -24,8 +25,9 @@ export {
|
|
|
24
25
|
getVisionFallback,
|
|
25
26
|
loadGlobalConfig,
|
|
26
27
|
removeProvider,
|
|
28
|
+
resolveVisionFallback,
|
|
27
29
|
saveGlobalConfig,
|
|
28
30
|
setDefaultModelSelection,
|
|
29
31
|
updateProvider
|
|
30
32
|
};
|
|
31
|
-
//# sourceMappingURL=config-
|
|
33
|
+
//# sourceMappingURL=config-M7RDIFC5.js.map
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
computeSessionHash,
|
|
6
6
|
computeUnifiedDiff,
|
|
7
7
|
getToolFingerprint
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-LZW5LSVH.js";
|
|
9
|
+
import "./chunk-KQPDU65K.js";
|
|
10
10
|
import "./chunk-WWFH5GAR.js";
|
|
11
11
|
import "./chunk-MRWR3SIT.js";
|
|
12
12
|
import "./chunk-NLN5LPQ4.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-3LRYZ7R3.js";
|
|
14
14
|
import "./chunk-UEOEA6BB.js";
|
|
15
15
|
import "./chunk-GLF65XDS.js";
|
|
16
16
|
import "./chunk-K44MW7JJ.js";
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
computeUnifiedDiff,
|
|
25
25
|
getToolFingerprint
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=dynamic-context-
|
|
27
|
+
//# sourceMappingURL=dynamic-context-TDB4G5CH.js.map
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
isStoredEvent,
|
|
41
41
|
isTurnEvent,
|
|
42
42
|
truncateSessionMessages
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-KNYPBXPW.js";
|
|
44
44
|
import {
|
|
45
45
|
buildContextMessagesFromEventHistory,
|
|
46
46
|
buildContextMessagesFromMessages,
|
|
@@ -57,9 +57,9 @@ import {
|
|
|
57
57
|
foldTodos,
|
|
58
58
|
foldTurnEventsToSnapshotMessages,
|
|
59
59
|
getMessagesForWindow
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-O2PLNJIU.js";
|
|
61
|
+
import "./chunk-ZIMGU5ZH.js";
|
|
62
|
+
import "./chunk-3LRYZ7R3.js";
|
|
63
63
|
import "./chunk-UEOEA6BB.js";
|
|
64
64
|
import "./chunk-GLF65XDS.js";
|
|
65
65
|
import "./chunk-K44MW7JJ.js";
|
|
@@ -123,4 +123,4 @@ export {
|
|
|
123
123
|
isTurnEvent,
|
|
124
124
|
truncateSessionMessages
|
|
125
125
|
};
|
|
126
|
-
//# sourceMappingURL=events-
|
|
126
|
+
//# sourceMappingURL=events-4THEZWVL.js.map
|
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
reorderToolMessages,
|
|
26
26
|
spreadOptionalMessageFields,
|
|
27
27
|
stripOrphanedToolCalls
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-O2PLNJIU.js";
|
|
29
|
+
import "./chunk-3LRYZ7R3.js";
|
|
30
30
|
import "./chunk-UEOEA6BB.js";
|
|
31
31
|
import "./chunk-GLF65XDS.js";
|
|
32
32
|
import "./chunk-K44MW7JJ.js";
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
spreadOptionalMessageFields,
|
|
61
61
|
stripOrphanedToolCalls
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=folding-
|
|
63
|
+
//# sourceMappingURL=folding-OYBO2NTH.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runAgentTurn,
|
|
3
3
|
runChatTurn
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-C3XL7X4E.js";
|
|
5
|
+
import "./chunk-O5YWFX7H.js";
|
|
6
6
|
import "./chunk-ZASSAZ73.js";
|
|
7
7
|
import "./chunk-HAFRPV7I.js";
|
|
8
8
|
import "./chunk-I72ACQ6R.js";
|
|
9
9
|
import "./chunk-NWO6GRYE.js";
|
|
10
10
|
import "./chunk-VKWVPQJ5.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-D3SXT3BL.js";
|
|
12
12
|
import "./chunk-J7GAZGZT.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-LZW5LSVH.js";
|
|
14
|
+
import "./chunk-KQPDU65K.js";
|
|
15
|
+
import "./chunk-XLI6PDJG.js";
|
|
16
|
+
import "./chunk-G5JFKTSR.js";
|
|
17
17
|
import "./chunk-27SDWNKL.js";
|
|
18
18
|
import "./chunk-EU3WWTFH.js";
|
|
19
19
|
import "./chunk-WWFH5GAR.js";
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
createToolResultEvent
|
|
27
27
|
} from "./chunk-K2O7JTCX.js";
|
|
28
28
|
import "./chunk-MRWR3SIT.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-KNYPBXPW.js";
|
|
30
30
|
import "./chunk-NLN5LPQ4.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-O2PLNJIU.js";
|
|
32
|
+
import "./chunk-ZIMGU5ZH.js";
|
|
33
|
+
import "./chunk-3LRYZ7R3.js";
|
|
34
34
|
import "./chunk-J2GP3J3X.js";
|
|
35
35
|
import "./chunk-V4IE7HJY.js";
|
|
36
36
|
import "./chunk-YHEQTVFV.js";
|
|
@@ -39,7 +39,7 @@ import "./chunk-UEOEA6BB.js";
|
|
|
39
39
|
import "./chunk-GLF65XDS.js";
|
|
40
40
|
import "./chunk-K44MW7JJ.js";
|
|
41
41
|
import "./chunk-4R7G5JB6.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-URQQOUCS.js";
|
|
43
43
|
import "./chunk-CQGTEGKL.js";
|
|
44
44
|
import "./chunk-5WRI5ZAA.js";
|
|
45
45
|
export {
|
|
@@ -52,4 +52,4 @@ export {
|
|
|
52
52
|
runAgentTurn,
|
|
53
53
|
runChatTurn
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=orchestrator-
|
|
55
|
+
//# sourceMappingURL=orchestrator-MTCF2EPU.js.map
|
package/dist/package.json
CHANGED
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
providePathConfirmation,
|
|
20
20
|
registerPathConfirmation,
|
|
21
21
|
requestPathAccess
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-G5JFKTSR.js";
|
|
23
23
|
import "./chunk-27SDWNKL.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-KNYPBXPW.js";
|
|
25
|
+
import "./chunk-O2PLNJIU.js";
|
|
26
|
+
import "./chunk-ZIMGU5ZH.js";
|
|
27
|
+
import "./chunk-3LRYZ7R3.js";
|
|
28
28
|
import "./chunk-UEOEA6BB.js";
|
|
29
29
|
import "./chunk-GLF65XDS.js";
|
|
30
30
|
import "./chunk-K44MW7JJ.js";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
registerPathConfirmation,
|
|
54
54
|
requestPathAccess
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=path-security-
|
|
56
|
+
//# sourceMappingURL=path-security-6GYETPWN.js.map
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-BG4EVBLJ.js";
|
|
6
|
+
import "./chunk-O5YWFX7H.js";
|
|
7
7
|
import "./chunk-ZASSAZ73.js";
|
|
8
8
|
import "./chunk-HAFRPV7I.js";
|
|
9
9
|
import "./chunk-I72ACQ6R.js";
|
|
10
10
|
import "./chunk-NWO6GRYE.js";
|
|
11
11
|
import "./chunk-VKWVPQJ5.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-D3SXT3BL.js";
|
|
13
13
|
import "./chunk-J7GAZGZT.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-KQPDU65K.js";
|
|
15
|
+
import "./chunk-XLI6PDJG.js";
|
|
16
|
+
import "./chunk-G5JFKTSR.js";
|
|
17
17
|
import {
|
|
18
18
|
createChatMessageMessage,
|
|
19
19
|
createSessionRunningMessage
|
|
@@ -24,11 +24,11 @@ import "./chunk-K2O7JTCX.js";
|
|
|
24
24
|
import "./chunk-MRWR3SIT.js";
|
|
25
25
|
import {
|
|
26
26
|
getEventStore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-KNYPBXPW.js";
|
|
28
28
|
import "./chunk-NLN5LPQ4.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-O2PLNJIU.js";
|
|
30
|
+
import "./chunk-ZIMGU5ZH.js";
|
|
31
|
+
import "./chunk-3LRYZ7R3.js";
|
|
32
32
|
import "./chunk-J2GP3J3X.js";
|
|
33
33
|
import "./chunk-V4IE7HJY.js";
|
|
34
34
|
import "./chunk-YHEQTVFV.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
logger
|
|
40
40
|
} from "./chunk-K44MW7JJ.js";
|
|
41
41
|
import "./chunk-4R7G5JB6.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-URQQOUCS.js";
|
|
43
43
|
import "./chunk-CQGTEGKL.js";
|
|
44
44
|
import "./chunk-5WRI5ZAA.js";
|
|
45
45
|
|
|
@@ -185,7 +185,7 @@ var QueueProcessor = class {
|
|
|
185
185
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
186
186
|
model: llmClient.getModel()
|
|
187
187
|
};
|
|
188
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
188
|
+
const { runChatTurn } = await import("./orchestrator-MTCF2EPU.js");
|
|
189
189
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
190
190
|
sessionManager,
|
|
191
191
|
sessionId,
|
|
@@ -233,4 +233,4 @@ var QueueProcessor = class {
|
|
|
233
233
|
export {
|
|
234
234
|
QueueProcessor
|
|
235
235
|
};
|
|
236
|
-
//# sourceMappingURL=processor-
|
|
236
|
+
//# sourceMappingURL=processor-HX4FXDDT.js.map
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
loadGlobalConfig,
|
|
30
30
|
removeProvider,
|
|
31
31
|
saveGlobalConfig
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-URQQOUCS.js";
|
|
33
33
|
import "./chunk-CQGTEGKL.js";
|
|
34
34
|
import "./chunk-5WRI5ZAA.js";
|
|
35
35
|
|
|
@@ -270,7 +270,7 @@ async function runProviderAdd(mode) {
|
|
|
270
270
|
isActive: makeActive
|
|
271
271
|
});
|
|
272
272
|
if (makeActive) {
|
|
273
|
-
const { setDefaultModelSelection } = await import("./config-
|
|
273
|
+
const { setDefaultModelSelection } = await import("./config-M7RDIFC5.js");
|
|
274
274
|
newConfig = setDefaultModelSelection(
|
|
275
275
|
newConfig,
|
|
276
276
|
newConfig.providers[newConfig.providers.length - 1].id,
|
|
@@ -398,4 +398,4 @@ export {
|
|
|
398
398
|
runProviderRemove,
|
|
399
399
|
runProviderUse
|
|
400
400
|
};
|
|
401
|
-
//# sourceMappingURL=provider-
|
|
401
|
+
//# sourceMappingURL=provider-LZ3XMDX6.js.map
|