openfox 1.6.91 → 1.6.93
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/{auto-compaction-I4YS2BN4.js → auto-compaction-WYN4P4R3.js} +6 -6
- package/dist/{chat-handler-O4FNSVPI.js → chat-handler-ROOMX2UY.js} +9 -9
- package/dist/{chunk-CL2ZPJAG.js → chunk-32WAUDDK.js} +225 -138
- package/dist/{chunk-SSGVISQU.js → chunk-LABBIL3K.js} +9 -8
- package/dist/{chunk-STUSQVXQ.js → chunk-RMQ4WCEK.js} +2 -2
- package/dist/{chunk-B5AP3RSV.js → chunk-RW25DL5R.js} +3 -3
- package/dist/{chunk-A3YOBYWJ.js → chunk-TWGL3Y6S.js} +5 -5
- package/dist/{chunk-UQSL65WB.js → chunk-UAV33LRW.js} +399 -471
- package/dist/{chunk-DF5BZBP6.js → chunk-XGJ7HDQ7.js} +2 -2
- package/dist/{chunk-H5T34J3H.js → chunk-YG2QBUYJ.js} +12 -12
- package/dist/{chunk-6P5WQP6Y.js → chunk-YTPPQK55.js} +2 -2
- package/dist/{chunk-MOQLMPTA.js → chunk-Z774ZQUP.js} +5 -5
- package/dist/{chunk-HKCUSLQ5.js → chunk-ZK3EZTHT.js} +3 -3
- package/dist/{chunk-II4UCFTE.js → chunk-ZV2PE3KT.js} +3 -3
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{config-GEDIDCBM.js → config-TSGOFNJW.js} +5 -5
- package/dist/{events-AQKDXJFK.js → events-K6AYMXFT.js} +3 -3
- package/dist/{orchestrator-LLOIG2CR.js → orchestrator-5I4LBRSY.js} +7 -7
- package/dist/package.json +1 -1
- package/dist/{processor-XL5NULQN.js → processor-47OC5EUI.js} +5 -5
- package/dist/{protocol--8PKNwb_.d.ts → protocol-XRiJzlOK.d.ts} +1 -1
- package/dist/{provider-EV3KBC7Y.js → provider-JIFQ47HT.js} +7 -7
- package/dist/{runtime-config-CBJJJGBD.js → runtime-config-CYHDAC7W.js} +2 -2
- package/dist/{serve-UWKYNKAO.js → serve-JQTSGHFU.js} +11 -11
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +9 -9
- package/dist/shared/index.d.ts +2 -2
- package/dist/{tools-ZBAAAOUH.js → tools-U6I43EN4.js} +6 -6
- package/dist/{vision-fallback-4TAGWGVS.js → vision-fallback-FBOTVWEX.js} +2 -2
- package/dist/web/assets/{index-CGEQK8Pf.css → index-CM0cLwa6.css} +1 -1
- package/dist/web/assets/index-CjiS1Y5o.js +176 -0
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/web/assets/index-Cb7XVDFv.js +0 -158
- /package/dist/web/{workbox-8c29f6e4.js → workbox-7fc22fbe.js} +0 -0
|
@@ -33,7 +33,7 @@ Options:
|
|
|
33
33
|
}
|
|
34
34
|
async function runNetworkSetup(mode) {
|
|
35
35
|
const { loadAuthConfig, saveAuthConfig, encryptPassword } = await import("./auth-56SIRACI.js");
|
|
36
|
-
const { saveGlobalConfig } = await import("./config-
|
|
36
|
+
const { saveGlobalConfig } = await import("./config-TSGOFNJW.js");
|
|
37
37
|
const { getAuthKeyPath } = await import("./paths-X46PPOI2.js");
|
|
38
38
|
const existingAuth = await loadAuthConfig(mode);
|
|
39
39
|
if (existingAuth) {
|
|
@@ -89,12 +89,12 @@ async function runNetworkSetup(mode) {
|
|
|
89
89
|
logging: { level: "error" },
|
|
90
90
|
database: { path: "" },
|
|
91
91
|
workspace: { workdir: process.cwd() },
|
|
92
|
-
visionFallback: { enabled: false, url: "http://localhost:11434", model: "qwen3
|
|
92
|
+
visionFallback: { enabled: false, url: "http://localhost:11434", model: "qwen3.5:0.8b", timeout: 120 }
|
|
93
93
|
});
|
|
94
94
|
console.log("\u2713 Configuration saved!\n");
|
|
95
95
|
}
|
|
96
96
|
async function runConfig(mode) {
|
|
97
|
-
const { loadGlobalConfig, getActiveProvider, getDefaultModel } = await import("./config-
|
|
97
|
+
const { loadGlobalConfig, getActiveProvider, getDefaultModel } = await import("./config-TSGOFNJW.js");
|
|
98
98
|
const { getGlobalConfigPath } = await import("./paths-X46PPOI2.js");
|
|
99
99
|
const config = await loadGlobalConfig(mode);
|
|
100
100
|
const configPath = getGlobalConfigPath(mode);
|
|
@@ -111,7 +111,8 @@ async function runConfig(mode) {
|
|
|
111
111
|
} else {
|
|
112
112
|
console.log(` Active: (none configured)`);
|
|
113
113
|
}
|
|
114
|
-
const
|
|
114
|
+
const host = config.server.host ?? "127.0.0.1";
|
|
115
|
+
const hostDisplay = host === "0.0.0.0" ? `${host} (accessible from local network)` : `${host} (localhost only)`;
|
|
115
116
|
console.log(` Server: ${hostDisplay}`);
|
|
116
117
|
console.log(` Port: ${config.server.port}`);
|
|
117
118
|
}
|
|
@@ -149,7 +150,7 @@ async function runCli(options) {
|
|
|
149
150
|
break;
|
|
150
151
|
}
|
|
151
152
|
case "provider": {
|
|
152
|
-
const { runProviderCommand } = await import("./provider-
|
|
153
|
+
const { runProviderCommand } = await import("./provider-JIFQ47HT.js");
|
|
153
154
|
const [, subcommand] = positionals;
|
|
154
155
|
await runProviderCommand(mode, subcommand);
|
|
155
156
|
break;
|
|
@@ -185,12 +186,12 @@ async function runCli(options) {
|
|
|
185
186
|
break;
|
|
186
187
|
}
|
|
187
188
|
default: {
|
|
188
|
-
const { configFileExists } = await import("./config-
|
|
189
|
+
const { configFileExists } = await import("./config-TSGOFNJW.js");
|
|
189
190
|
const configExists = await configFileExists(mode);
|
|
190
191
|
if (!configExists) {
|
|
191
192
|
await runNetworkSetup(mode);
|
|
192
193
|
}
|
|
193
|
-
const { runServe } = await import("./serve-
|
|
194
|
+
const { runServe } = await import("./serve-JQTSGHFU.js");
|
|
194
195
|
const serveOptions = { mode };
|
|
195
196
|
if (values.port) serveOptions.port = parseInt(values.port);
|
|
196
197
|
if (values["no-browser"] === true) serveOptions.openBrowser = false;
|
|
@@ -202,4 +203,4 @@ async function runCli(options) {
|
|
|
202
203
|
export {
|
|
203
204
|
runCli
|
|
204
205
|
};
|
|
205
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-LABBIL3K.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
describeImageFromDataUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z774ZQUP.js";
|
|
4
4
|
import {
|
|
5
5
|
logger
|
|
6
6
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -801,4 +801,4 @@ export {
|
|
|
801
801
|
extractThinking,
|
|
802
802
|
streamWithSegments
|
|
803
803
|
};
|
|
804
|
-
//# sourceMappingURL=chunk-
|
|
804
|
+
//# sourceMappingURL=chunk-RMQ4WCEK.js.map
|
|
@@ -9,7 +9,7 @@ var envSchema = z.object({
|
|
|
9
9
|
OPENFOX_MODEL_NAME: z.string().default("qwen3.5-122b-int4-autoround"),
|
|
10
10
|
OPENFOX_MAX_CONTEXT: z.coerce.number().default(2e5),
|
|
11
11
|
OPENFOX_PORT: z.coerce.number().default(10369),
|
|
12
|
-
OPENFOX_HOST: z.string().
|
|
12
|
+
OPENFOX_HOST: z.string().optional(),
|
|
13
13
|
OPENFOX_WORKDIR: z.string().optional(),
|
|
14
14
|
OPENFOX_DB_PATH: z.string().default("./openfox.db"),
|
|
15
15
|
OPENFOX_LOG_LEVEL: z.enum(["debug", "info", "warn", "error"]).default("info"),
|
|
@@ -43,7 +43,7 @@ function loadConfig() {
|
|
|
43
43
|
},
|
|
44
44
|
server: {
|
|
45
45
|
port: env.OPENFOX_PORT,
|
|
46
|
-
host: env.OPENFOX_HOST
|
|
46
|
+
...env.OPENFOX_HOST !== void 0 ? { host: env.OPENFOX_HOST } : {}
|
|
47
47
|
},
|
|
48
48
|
database: {
|
|
49
49
|
path: env.OPENFOX_DB_PATH
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
setRuntimeConfig,
|
|
68
68
|
getRuntimeConfig
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-RW25DL5R.js.map
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
getBackendCapabilities,
|
|
6
6
|
getModelProfile,
|
|
7
7
|
mapFinishReason
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RMQ4WCEK.js";
|
|
9
9
|
import {
|
|
10
10
|
ensureVisionFallbackConfigLoaded
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Z774ZQUP.js";
|
|
12
12
|
import {
|
|
13
13
|
logger
|
|
14
14
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -188,7 +188,7 @@ function createLLMClient(config, initialBackend = "unknown") {
|
|
|
188
188
|
try {
|
|
189
189
|
const shouldDisableThinking = disableThinking || request.disableThinking === true;
|
|
190
190
|
await ensureVisionFallbackConfigLoaded();
|
|
191
|
-
const { isVisionFallbackEnabled } = await import("./vision-fallback-
|
|
191
|
+
const { isVisionFallbackEnabled } = await import("./vision-fallback-FBOTVWEX.js");
|
|
192
192
|
const paramsOptions = {
|
|
193
193
|
model,
|
|
194
194
|
request,
|
|
@@ -265,7 +265,7 @@ function createLLMClient(config, initialBackend = "unknown") {
|
|
|
265
265
|
});
|
|
266
266
|
try {
|
|
267
267
|
await ensureVisionFallbackConfigLoaded();
|
|
268
|
-
const { isVisionFallbackEnabled } = await import("./vision-fallback-
|
|
268
|
+
const { isVisionFallbackEnabled } = await import("./vision-fallback-FBOTVWEX.js");
|
|
269
269
|
const shouldDisableThinking = disableThinking || request.disableThinking === true;
|
|
270
270
|
const createParams = await buildStreamingCreateParams({
|
|
271
271
|
model,
|
|
@@ -478,4 +478,4 @@ export {
|
|
|
478
478
|
getLlmStatus,
|
|
479
479
|
clearModelCache
|
|
480
480
|
};
|
|
481
|
-
//# sourceMappingURL=chunk-
|
|
481
|
+
//# sourceMappingURL=chunk-TWGL3Y6S.js.map
|