openfox 2.0.6 → 2.0.7

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.
@@ -5818,7 +5818,7 @@ import { Router as Router6 } from "express";
5818
5818
  import { spawn as spawn5 } from "child_process";
5819
5819
 
5820
5820
  // src/constants.ts
5821
- var VERSION = "2.0.6";
5821
+ var VERSION = "2.0.7";
5822
5822
 
5823
5823
  // src/server/routes/auto-update.ts
5824
5824
  var updateInProgress = false;
@@ -6547,10 +6547,11 @@ async function createServerHandle(config4) {
6547
6547
  });
6548
6548
  app.get("/api/providers/models", async (req, res) => {
6549
6549
  const url = req.query["url"];
6550
+ const apiKey = req.query["apiKey"];
6550
6551
  if (!url) return res.status(400).json({ error: "url is required" });
6551
6552
  try {
6552
6553
  const { fetchModelsWithContext } = await import("./provider-manager-YA2WALTF.js");
6553
- const models = await fetchModelsWithContext(url);
6554
+ const models = await fetchModelsWithContext(url, apiKey);
6554
6555
  if (models.length === 0) {
6555
6556
  return res.status(404).json({ error: `No models found at ${buildModelsUrl(url)}`, url });
6556
6557
  }
@@ -7027,4 +7028,4 @@ export {
7027
7028
  createServerHandle,
7028
7029
  createServer
7029
7030
  };
7030
- //# sourceMappingURL=chunk-HMTROIVE.js.map
7031
+ //# sourceMappingURL=chunk-4UOVP7FK.js.map
@@ -193,7 +193,7 @@ async function runCli(options) {
193
193
  if (!configExists) {
194
194
  await runNetworkSetup(mode);
195
195
  }
196
- const { runServe } = await import("./serve-L7ZELNVN.js");
196
+ const { runServe } = await import("./serve-XVTRORFM.js");
197
197
  const serveOptions = { mode };
198
198
  if (values.port) serveOptions.port = parseInt(values.port);
199
199
  if (values["no-browser"] === true) serveOptions.openBrowser = false;
@@ -205,4 +205,4 @@ async function runCli(options) {
205
205
  export {
206
206
  runCli
207
207
  };
208
- //# sourceMappingURL=chunk-L5XRDDFW.js.map
208
+ //# sourceMappingURL=chunk-7CNWK2WI.js.map
package/dist/cli/dev.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-L5XRDDFW.js";
4
+ } from "../chunk-7CNWK2WI.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-K44MW7JJ.js";
package/dist/cli/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-L5XRDDFW.js";
4
+ } from "../chunk-7CNWK2WI.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-K44MW7JJ.js";
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  VERSION,
3
3
  createServer
4
- } from "./chunk-HMTROIVE.js";
4
+ } from "./chunk-4UOVP7FK.js";
5
5
  import "./chunk-NZCKCJH5.js";
6
6
  import "./chunk-LIOHT26X.js";
7
7
  import "./chunk-KGZMKMEZ.js";
@@ -188,4 +188,4 @@ async function runServe(options) {
188
188
  export {
189
189
  runServe
190
190
  };
191
- //# sourceMappingURL=serve-L7ZELNVN.js.map
191
+ //# sourceMappingURL=serve-XVTRORFM.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-HMTROIVE.js";
4
+ } from "../chunk-4UOVP7FK.js";
5
5
  import "../chunk-NZCKCJH5.js";
6
6
  import "../chunk-LIOHT26X.js";
7
7
  import "../chunk-KGZMKMEZ.js";