openfox 2.0.142 → 2.0.143
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 +16 -0
- package/dist/CHANGELOG.md +16 -0
- package/dist/{backend-EPISSWLB.js → backend-2VSDPCWS.js} +2 -2
- package/dist/{chat-handler-OFB4426F.js → chat-handler-VDB4CSXK.js} +12 -12
- package/dist/{chunk-XADIBENX.js → chunk-5KA3L46F.js} +2 -2
- package/dist/chunk-6DLQ2AV4.js +7 -0
- package/dist/{chunk-R5FAEKXQ.js → chunk-73BO5OT3.js} +2 -1
- package/dist/{chunk-TEUVZCPS.js → chunk-7XA3MEX2.js} +10 -10
- package/dist/{chunk-OA7KBQ2O.js → chunk-CTAYPMB2.js} +2 -2
- package/dist/{chunk-ACILWRPU.js → chunk-CYTC2E3O.js} +2 -2
- package/dist/{chunk-CSUMZAYY.js → chunk-EX6ROYYS.js} +2 -2
- package/dist/{chunk-5HDPFHHJ.js → chunk-FHBLF2QR.js} +2 -2
- package/dist/{chunk-VLQ6BMU7.js → chunk-FTPQI5TA.js} +11 -1
- package/dist/{chunk-HQDKHNWS.js → chunk-H3QN2J4X.js} +3 -3
- package/dist/{chunk-FFVIO6GL.js → chunk-HZOL7UEC.js} +8 -8
- package/dist/{chunk-VK2BSIJP.js → chunk-IMQDO5EJ.js} +55 -55
- package/dist/{chunk-J556QIRD.js → chunk-KVDOPLXJ.js} +3 -3
- package/dist/{chunk-5CZAKVGZ.js → chunk-QZV3M6V5.js} +5 -5
- package/dist/{chunk-Q5JCBAQF.js → chunk-SJTBOREW.js} +2 -2
- package/dist/{chunk-TRZZCMJ3.js → chunk-VKZBCC75.js} +6 -5
- package/dist/{chunk-RM4ZBI2B.js → chunk-Z4CTMGFH.js} +17 -16
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{client-2A766XZK.js → client-ZEGIB3MF.js} +3 -3
- package/dist/{compactor-3BVVHO4M.js → compactor-2MSRXHVA.js} +4 -4
- package/dist/{config-LOK3LXFH.js → config-AJSENHBC.js} +2 -2
- package/dist/{describe-image-F22VNBWY.js → describe-image-QSEMMRV7.js} +2 -2
- package/dist/{dynamic-context-5SFXTEAP.js → dynamic-context-3THEBFBI.js} +2 -2
- package/dist/{export-import-PBEX3KWU.js → export-import-SYYISNTZ.js} +2 -2
- package/dist/{launch-L5NL75KK.js → launch-MF2VT7SU.js} +12 -12
- package/dist/{mcp-SQ4DOGPT.js → mcp-C7PNGP25.js} +2 -2
- package/dist/{orchestrator-53SS74LD.js → orchestrator-BU4RJHPZ.js} +11 -11
- package/dist/package.json +1 -1
- package/dist/{processor-T4VWZMXT.js → processor-IZ4EAHPD.js} +11 -11
- package/dist/{protocol-Dpf4FBF2.d.ts → protocol-Ch2s26bR.d.ts} +1 -1
- package/dist/provider/index.d.ts +4 -4
- package/dist/{provider-5XNJEDKW.js → provider-YNTH5YG5.js} +6 -6
- package/dist/{provider-manager-RHJYUU5W.js → provider-manager-2UENHAAA.js} +4 -4
- package/dist/{serve-LP3ZX6CW.js → serve-KKAOO7YM.js} +17 -17
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.js +16 -16
- package/dist/{server-IGZLCNZG.js → server-PVO4USPN.js} +15 -15
- package/dist/{service-AZU4YTS2.js → service-OQZWTW34.js} +5 -5
- package/dist/shared/index.d.ts +3 -3
- package/dist/{tasks-T5KZXKMD.js → tasks-WC23TK6I.js} +5 -5
- package/dist/{tools-BL6XCTUV.js → tools-CECV6XQ6.js} +9 -9
- package/dist/{types-LO8296aY.d.ts → types-BajWwfkt.d.ts} +1 -1
- package/dist/{types-CZJf6Fnb.d.ts → types-BiHNYUUI.d.ts} +1 -1
- package/dist/{update-M5DMX3FC.js → update-6MBRWJAV.js} +2 -2
- package/dist/web/assets/{index-2WvLd7SC.css → index--zSmgMW5.css} +1 -1
- package/dist/web/assets/{index-BPhet33M.js → index-CxuR2kCS.js} +39 -36
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-EPZO3MGM.js +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.143 - 2026-09-10
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- **Unsloth Studio added as a supported provider** — pick it from the engine list in the provider modal; its local URL and name are pre-filled and models are fetched like any other OpenAI-compatible backend.
|
|
8
|
+
|
|
9
|
+
### Enhancements
|
|
10
|
+
|
|
11
|
+
- **Provider engine cards no longer truncate** — cards now wrap onto multiple rows on narrow windows instead of clipping their labels, and the provider modal is wider to fit.
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- **Engine quick-pick buttons overwrite stale values** — clicking a second local port card now replaces the previously pre-filled URL and name instead of keeping the first card's values.
|
|
16
|
+
- **Workflow sub-agent steps now honor per-provider model overrides** — the configured override model was silently ignored during workflow sub-agent execution, falling back to the parent's LLM client.
|
|
17
|
+
- **Ordered lists after a paragraph render as lists again** — a numbered list following a paragraph is no longer flattened into inline text, and the numbering is preserved.
|
|
18
|
+
|
|
3
19
|
## 2.0.142 - 2026-09-09
|
|
4
20
|
|
|
5
21
|
### Features
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.143 - 2026-09-10
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- **Unsloth Studio added as a supported provider** — pick it from the engine list in the provider modal; its local URL and name are pre-filled and models are fetched like any other OpenAI-compatible backend.
|
|
8
|
+
|
|
9
|
+
### Enhancements
|
|
10
|
+
|
|
11
|
+
- **Provider engine cards no longer truncate** — cards now wrap onto multiple rows on narrow windows instead of clipping their labels, and the provider modal is wider to fit.
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- **Engine quick-pick buttons overwrite stale values** — clicking a second local port card now replaces the previously pre-filled URL and name instead of keeping the first card's values.
|
|
16
|
+
- **Workflow sub-agent steps now honor per-provider model overrides** — the configured override model was silently ignored during workflow sub-agent execution, falling back to the parent's LLM client.
|
|
17
|
+
- **Ordered lists after a paragraph render as lists again** — a numbered list following a paragraph is no longer flattened into inline text, and the numbering is preserved.
|
|
18
|
+
|
|
3
19
|
## 2.0.142 - 2026-09-09
|
|
4
20
|
|
|
5
21
|
### Features
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
detectProviderDefaultsFromUrl,
|
|
4
4
|
getBackendCapabilities,
|
|
5
5
|
getBackendDisplayName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FTPQI5TA.js";
|
|
7
7
|
import "./chunk-YLJ4XMA6.js";
|
|
8
8
|
export {
|
|
9
9
|
detectBackendFromUrl,
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
getBackendCapabilities,
|
|
12
12
|
getBackendDisplayName
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=backend-
|
|
14
|
+
//# sourceMappingURL=backend-2VSDPCWS.js.map
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CYTC2E3O.js";
|
|
6
6
|
import {
|
|
7
7
|
runChatTurn
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-QZV3M6V5.js";
|
|
9
|
+
import "./chunk-H3QN2J4X.js";
|
|
10
|
+
import "./chunk-Z4CTMGFH.js";
|
|
11
11
|
import "./chunk-2CEZQAGQ.js";
|
|
12
12
|
import "./chunk-PHR64A6U.js";
|
|
13
13
|
import "./chunk-J7GAZGZT.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-EX6ROYYS.js";
|
|
15
15
|
import "./chunk-WSDR27YV.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-5KA3L46F.js";
|
|
17
17
|
import "./chunk-TIIWXMGE.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-CTAYPMB2.js";
|
|
19
19
|
import "./chunk-Z7IT3V22.js";
|
|
20
20
|
import "./chunk-VGE6UYND.js";
|
|
21
21
|
import "./chunk-DQEANXXF.js";
|
|
@@ -38,13 +38,13 @@ import {
|
|
|
38
38
|
} from "./chunk-OVAHNEFG.js";
|
|
39
39
|
import "./chunk-LCLH6ZUL.js";
|
|
40
40
|
import "./chunk-MEPTCUYN.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-KVDOPLXJ.js";
|
|
42
42
|
import "./chunk-OA2FURC3.js";
|
|
43
43
|
import "./chunk-J2GP3J3X.js";
|
|
44
44
|
import "./chunk-JYYBSODN.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-FHBLF2QR.js";
|
|
46
46
|
import "./chunk-TS5WKTFB.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-FTPQI5TA.js";
|
|
48
48
|
import "./chunk-HNCM3D7Y.js";
|
|
49
49
|
import "./chunk-QMU3ZY2C.js";
|
|
50
50
|
import "./chunk-FSSUPWYO.js";
|
|
@@ -56,7 +56,7 @@ import "./chunk-VKMPR25F.js";
|
|
|
56
56
|
import "./chunk-K44MW7JJ.js";
|
|
57
57
|
import "./chunk-PW5L4WBG.js";
|
|
58
58
|
import "./chunk-24YKXKCG.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-73BO5OT3.js";
|
|
60
60
|
import "./chunk-CQGTEGKL.js";
|
|
61
61
|
import "./chunk-YLJ4XMA6.js";
|
|
62
62
|
|
|
@@ -180,4 +180,4 @@ export {
|
|
|
180
180
|
startChatSession,
|
|
181
181
|
stopSessionExecution
|
|
182
182
|
};
|
|
183
|
-
//# sourceMappingURL=chat-handler-
|
|
183
|
+
//# sourceMappingURL=chat-handler-VDB4CSXK.js.map
|
|
@@ -774,7 +774,7 @@ function isVisionFallbackFailure(description) {
|
|
|
774
774
|
// src/server/context/image-processor.ts
|
|
775
775
|
async function loadVisionModelFromGlobalConfig() {
|
|
776
776
|
try {
|
|
777
|
-
const { loadGlobalConfig, resolveVisionFallback } = await import("./config-
|
|
777
|
+
const { loadGlobalConfig, resolveVisionFallback } = await import("./config-AJSENHBC.js");
|
|
778
778
|
const runtimeConfig = getRuntimeConfig();
|
|
779
779
|
const mode = runtimeConfig.mode ?? "production";
|
|
780
780
|
const globalConfig = await loadGlobalConfig(mode);
|
|
@@ -1152,4 +1152,4 @@ export {
|
|
|
1152
1152
|
isDescribeImageEligible,
|
|
1153
1153
|
describeImageTool
|
|
1154
1154
|
};
|
|
1155
|
-
//# sourceMappingURL=chunk-
|
|
1155
|
+
//# sourceMappingURL=chunk-5KA3L46F.js.map
|
|
@@ -22,6 +22,7 @@ var backendSchema = z.enum([
|
|
|
22
22
|
"ollama",
|
|
23
23
|
"llamacpp",
|
|
24
24
|
"lmstudio",
|
|
25
|
+
"unsloth",
|
|
25
26
|
"openai",
|
|
26
27
|
"anthropic",
|
|
27
28
|
"opencode-go",
|
|
@@ -384,4 +385,4 @@ export {
|
|
|
384
385
|
reorderProviders,
|
|
385
386
|
activateProvider
|
|
386
387
|
};
|
|
387
|
-
//# sourceMappingURL=chunk-
|
|
388
|
+
//# sourceMappingURL=chunk-73BO5OT3.js.map
|
|
@@ -2,21 +2,21 @@ import {
|
|
|
2
2
|
generateSessionNameForSession,
|
|
3
3
|
getSessionMessageCount,
|
|
4
4
|
needsNameGeneration
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CYTC2E3O.js";
|
|
6
6
|
import {
|
|
7
7
|
launchWorkflowRun
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VKZBCC75.js";
|
|
9
9
|
import {
|
|
10
10
|
runChatTurn
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QZV3M6V5.js";
|
|
12
12
|
import {
|
|
13
13
|
applyDynamicContext,
|
|
14
14
|
computeSessionHash,
|
|
15
15
|
computeUnifiedDiff
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-H3QN2J4X.js";
|
|
17
17
|
import {
|
|
18
18
|
devServerManager
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Z4CTMGFH.js";
|
|
20
20
|
import {
|
|
21
21
|
gitSpawnEnv
|
|
22
22
|
} from "./chunk-J7GAZGZT.js";
|
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
} from "./chunk-TIIWXMGE.js";
|
|
26
26
|
import {
|
|
27
27
|
appendCompactionPrompt
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-SJTBOREW.js";
|
|
29
29
|
import {
|
|
30
30
|
hasRecentLLMFailure,
|
|
31
31
|
interruptLLMRetryWait
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CTAYPMB2.js";
|
|
33
33
|
import {
|
|
34
34
|
onProcessEvent
|
|
35
35
|
} from "./chunk-DQEANXXF.js";
|
|
@@ -1350,7 +1350,7 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
|
|
|
1350
1350
|
}
|
|
1351
1351
|
const session = sessionManager.requireSession(sessionId);
|
|
1352
1352
|
try {
|
|
1353
|
-
const { buildCachedPrompt, computePreviewToolDiff } = await import("./dynamic-context-
|
|
1353
|
+
const { buildCachedPrompt, computePreviewToolDiff } = await import("./dynamic-context-3THEBFBI.js");
|
|
1354
1354
|
const allAgents = await import("./registry-C7RKKHZB.js");
|
|
1355
1355
|
const agentDef = allAgents.findAgentById(session.mode, await allAgents.loadAllAgentsDefault()) ?? allAgents.findAgentById("planner", await allAgents.loadAllAgentsDefault());
|
|
1356
1356
|
const modelName = session.providerModel ?? _providerManager?.getCurrentModel();
|
|
@@ -1362,7 +1362,7 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
|
|
|
1362
1362
|
const oldCached = sessionManager.getCachedPrompt(sessionId);
|
|
1363
1363
|
const oldPrompt = oldCached?.systemPrompt;
|
|
1364
1364
|
const diff = oldPrompt ? computeUnifiedDiff(oldPrompt, newPrompt) : [];
|
|
1365
|
-
const { getToolRegistryForAgent } = await import("./tools-
|
|
1365
|
+
const { getToolRegistryForAgent } = await import("./tools-CECV6XQ6.js");
|
|
1366
1366
|
const unfilteredTools = getToolRegistryForAgent(agentDef).definitions;
|
|
1367
1367
|
const toolDiff = computePreviewToolDiff(oldCached?.tools, unfilteredTools, newTools);
|
|
1368
1368
|
send({
|
|
@@ -1735,4 +1735,4 @@ export {
|
|
|
1735
1735
|
signalMcpReady,
|
|
1736
1736
|
createWebSocketServer
|
|
1737
1737
|
};
|
|
1738
|
-
//# sourceMappingURL=chunk-
|
|
1738
|
+
//# sourceMappingURL=chunk-7XA3MEX2.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-TS5WKTFB.js";
|
|
7
7
|
import {
|
|
8
8
|
getBackendCapabilities
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FTPQI5TA.js";
|
|
10
10
|
import {
|
|
11
11
|
buildModelParams
|
|
12
12
|
} from "./chunk-QMU3ZY2C.js";
|
|
@@ -520,4 +520,4 @@ export {
|
|
|
520
520
|
createChatDoneEvent,
|
|
521
521
|
consumeStreamGenerator
|
|
522
522
|
};
|
|
523
|
-
//# sourceMappingURL=chunk-
|
|
523
|
+
//# sourceMappingURL=chunk-CTAYPMB2.js.map
|
|
@@ -162,7 +162,7 @@ async function generateSessionNameForSession(sessionId, userMessage, deps, signa
|
|
|
162
162
|
client = deps.getLLMClient();
|
|
163
163
|
client.setModel(providerConfig.model);
|
|
164
164
|
} else if (providerConfig) {
|
|
165
|
-
const { createLLMClient } = await import("./client-
|
|
165
|
+
const { createLLMClient } = await import("./client-ZEGIB3MF.js");
|
|
166
166
|
client = createLLMClient(
|
|
167
167
|
{
|
|
168
168
|
llm: {
|
|
@@ -217,4 +217,4 @@ export {
|
|
|
217
217
|
needsNameGeneration,
|
|
218
218
|
generateSessionNameForSession
|
|
219
219
|
};
|
|
220
|
-
//# sourceMappingURL=chunk-
|
|
220
|
+
//# sourceMappingURL=chunk-CYTC2E3O.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-OSXPQSLW.js";
|
|
12
12
|
import {
|
|
13
13
|
parseDefaultModelSelection
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KVDOPLXJ.js";
|
|
15
15
|
import {
|
|
16
16
|
getProject
|
|
17
17
|
} from "./chunk-JYYBSODN.js";
|
|
@@ -1462,4 +1462,4 @@ export {
|
|
|
1462
1462
|
isTaskGateError,
|
|
1463
1463
|
createTasksService
|
|
1464
1464
|
};
|
|
1465
|
-
//# sourceMappingURL=chunk-
|
|
1465
|
+
//# sourceMappingURL=chunk-EX6ROYYS.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-TS5WKTFB.js";
|
|
4
4
|
import {
|
|
5
5
|
getBackendCapabilities
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FTPQI5TA.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureVersionPrefix,
|
|
9
9
|
stripVersionPrefix
|
|
@@ -825,4 +825,4 @@ function createLLMClient(config, initialBackend = config.llm.backend ?? "unknown
|
|
|
825
825
|
export {
|
|
826
826
|
createLLMClient
|
|
827
827
|
};
|
|
828
|
-
//# sourceMappingURL=chunk-
|
|
828
|
+
//# sourceMappingURL=chunk-FHBLF2QR.js.map
|
|
@@ -49,6 +49,14 @@ var BACKEND_CAPABILITIES = {
|
|
|
49
49
|
routesEffortViaChatTemplateKwargs: false,
|
|
50
50
|
usesMaxCompletionTokens: false
|
|
51
51
|
},
|
|
52
|
+
// Unsloth Studio serves an OpenAI-compatible API on a local port.
|
|
53
|
+
unsloth: {
|
|
54
|
+
supportsChatTemplateKwargs: false,
|
|
55
|
+
supportsTopK: true,
|
|
56
|
+
supportsNumCtx: false,
|
|
57
|
+
routesEffortViaChatTemplateKwargs: false,
|
|
58
|
+
usesMaxCompletionTokens: false
|
|
59
|
+
},
|
|
52
60
|
"opencode-go": {
|
|
53
61
|
supportsChatTemplateKwargs: false,
|
|
54
62
|
supportsTopK: true,
|
|
@@ -109,6 +117,8 @@ function getBackendDisplayName(backend) {
|
|
|
109
117
|
return "llama.cpp";
|
|
110
118
|
case "lmstudio":
|
|
111
119
|
return "LM Studio";
|
|
120
|
+
case "unsloth":
|
|
121
|
+
return "Unsloth Studio";
|
|
112
122
|
case "opencode-go":
|
|
113
123
|
return "OpenCode Go";
|
|
114
124
|
case "openai":
|
|
@@ -126,4 +136,4 @@ export {
|
|
|
126
136
|
detectProviderDefaultsFromUrl,
|
|
127
137
|
getBackendDisplayName
|
|
128
138
|
};
|
|
129
|
-
//# sourceMappingURL=chunk-
|
|
139
|
+
//# sourceMappingURL=chunk-FTPQI5TA.js.map
|
|
@@ -327,8 +327,8 @@ function resolveAgentDef(sessionManager, sessionId) {
|
|
|
327
327
|
});
|
|
328
328
|
}
|
|
329
329
|
async function getEffectiveToolDefinitions(agentDef, sessionId, modelName) {
|
|
330
|
-
const { getToolRegistryForAgent } = await import("./tools-
|
|
331
|
-
const { isDescribeImageEligible } = await import("./describe-image-
|
|
330
|
+
const { getToolRegistryForAgent } = await import("./tools-CECV6XQ6.js");
|
|
331
|
+
const { isDescribeImageEligible } = await import("./describe-image-QSEMMRV7.js");
|
|
332
332
|
const all = getToolRegistryForAgent(agentDef, sessionId).definitions;
|
|
333
333
|
const eligible = await isDescribeImageEligible(modelName);
|
|
334
334
|
if (eligible) return all;
|
|
@@ -396,4 +396,4 @@ export {
|
|
|
396
396
|
computeSessionHash,
|
|
397
397
|
applyDynamicContext
|
|
398
398
|
};
|
|
399
|
-
//# sourceMappingURL=chunk-
|
|
399
|
+
//# sourceMappingURL=chunk-H3QN2J4X.js.map
|
|
@@ -71,7 +71,7 @@ Options :
|
|
|
71
71
|
}
|
|
72
72
|
async function runNetworkSetup(mode) {
|
|
73
73
|
const { loadAuthConfig, saveAuthConfig, encryptPassword } = await import("./auth-D3WLIBTG.js");
|
|
74
|
-
const { saveGlobalConfig } = await import("./config-
|
|
74
|
+
const { saveGlobalConfig } = await import("./config-AJSENHBC.js");
|
|
75
75
|
const { getAuthKeyPath } = await import("./paths-BHR7CZ7I.js");
|
|
76
76
|
const existingAuth = await loadAuthConfig(mode);
|
|
77
77
|
if (existingAuth) {
|
|
@@ -144,7 +144,7 @@ async function runNetworkSetup(mode) {
|
|
|
144
144
|
console.log(cliT({ en: "\u2713 Configuration saved!\n", fr: "\u2713 Configuration enregistr\xE9e !\n" }));
|
|
145
145
|
}
|
|
146
146
|
async function runConfig(mode) {
|
|
147
|
-
const { loadGlobalConfig, getActiveProvider, getDefaultModel } = await import("./config-
|
|
147
|
+
const { loadGlobalConfig, getActiveProvider, getDefaultModel } = await import("./config-AJSENHBC.js");
|
|
148
148
|
const { getGlobalConfigPath } = await import("./paths-BHR7CZ7I.js");
|
|
149
149
|
const config = await loadGlobalConfig(mode);
|
|
150
150
|
const configPath = getGlobalConfigPath(mode);
|
|
@@ -207,7 +207,7 @@ async function runCli(options) {
|
|
|
207
207
|
break;
|
|
208
208
|
}
|
|
209
209
|
case "provider": {
|
|
210
|
-
const { runProviderCommand } = await import("./provider-
|
|
210
|
+
const { runProviderCommand } = await import("./provider-YNTH5YG5.js");
|
|
211
211
|
const [, subcommand] = positionals;
|
|
212
212
|
await runProviderCommand(mode, subcommand);
|
|
213
213
|
break;
|
|
@@ -236,7 +236,7 @@ async function runCli(options) {
|
|
|
236
236
|
break;
|
|
237
237
|
}
|
|
238
238
|
case "mcp": {
|
|
239
|
-
const { runMcpCommand } = await import("./mcp-
|
|
239
|
+
const { runMcpCommand } = await import("./mcp-C7PNGP25.js");
|
|
240
240
|
const mcpOptions = {};
|
|
241
241
|
if (values.password) mcpOptions.password = values.password;
|
|
242
242
|
if (values.port) mcpOptions.port = parseInt(values.port);
|
|
@@ -252,7 +252,7 @@ async function runCli(options) {
|
|
|
252
252
|
break;
|
|
253
253
|
}
|
|
254
254
|
case "update": {
|
|
255
|
-
const { runUpdate } = await import("./update-
|
|
255
|
+
const { runUpdate } = await import("./update-6MBRWJAV.js");
|
|
256
256
|
const code = await runUpdate();
|
|
257
257
|
if (code !== 0) {
|
|
258
258
|
process.exit(code);
|
|
@@ -260,12 +260,12 @@ async function runCli(options) {
|
|
|
260
260
|
break;
|
|
261
261
|
}
|
|
262
262
|
default: {
|
|
263
|
-
const { configFileExists } = await import("./config-
|
|
263
|
+
const { configFileExists } = await import("./config-AJSENHBC.js");
|
|
264
264
|
const configExists = await configFileExists(mode);
|
|
265
265
|
if (!configExists) {
|
|
266
266
|
await runNetworkSetup(mode);
|
|
267
267
|
}
|
|
268
|
-
const { runServe } = await import("./serve-
|
|
268
|
+
const { runServe } = await import("./serve-KKAOO7YM.js");
|
|
269
269
|
const serveOptions = { mode };
|
|
270
270
|
if (values.port) serveOptions.port = parseInt(values.port);
|
|
271
271
|
if (values["no-browser"] === true) serveOptions.openBrowser = false;
|
|
@@ -277,4 +277,4 @@ async function runCli(options) {
|
|
|
277
277
|
export {
|
|
278
278
|
runCli
|
|
279
279
|
};
|
|
280
|
-
//# sourceMappingURL=chunk-
|
|
280
|
+
//# sourceMappingURL=chunk-HZOL7UEC.js.map
|