fss-link 1.2.19 → 1.2.20

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.
@@ -22343,7 +22343,7 @@ async function createContentGeneratorConfig(config, authType) {
22343
22343
  async function createContentGenerator(config, gcConfig, sessionId2) {
22344
22344
  if (DEBUG_CONTENT)
22345
22345
  console.log(`\u{1F41B} DEBUG createContentGenerator: authType=${config.authType}, apiKey=${config.apiKey}, baseUrl=${config.baseUrl}`);
22346
- const version = "1.2.19";
22346
+ const version = "1.2.20";
22347
22347
  const userAgent = `FSS-Link/${version} (${process.platform}; ${process.arch})`;
22348
22348
  const baseHeaders = {
22349
22349
  "User-Agent": userAgent
@@ -86459,7 +86459,8 @@ var init_modelManager = __esm({
86459
86459
  case AuthType.OLLAMA:
86460
86460
  case "ollama":
86461
86461
  process.env["OLLAMA_API_KEY"] = model.apiKey || "1";
86462
- process.env["OLLAMA_BASE_URL"] = model.endpointUrl || "http://localhost:11434/v1";
86462
+ const ollamaUrl = this.normalizeEndpointUrl(model.endpointUrl || "http://localhost:11434/v1", AuthType.OLLAMA);
86463
+ process.env["OLLAMA_BASE_URL"] = ollamaUrl || "http://localhost:11434/v1";
86463
86464
  process.env["OLLAMA_MODEL"] = model.modelName || "";
86464
86465
  break;
86465
86466
  case AuthType.LM_STUDIO:
@@ -86467,7 +86468,8 @@ var init_modelManager = __esm({
86467
86468
  // New normalized value
86468
86469
  case "lmstudio":
86469
86470
  process.env["LM_STUDIO_API_KEY"] = model.apiKey || "1";
86470
- process.env["LM_STUDIO_BASE_URL"] = model.endpointUrl || "http://localhost:1234/v1";
86471
+ const lmStudioUrl = this.normalizeEndpointUrl(model.endpointUrl || "http://localhost:1234/v1", AuthType.LM_STUDIO);
86472
+ process.env["LM_STUDIO_BASE_URL"] = lmStudioUrl || "http://localhost:1234/v1";
86471
86473
  process.env["LM_STUDIO_MODEL"] = model.modelName || "";
86472
86474
  break;
86473
86475
  case AuthType.USE_GEMINI:
@@ -95427,7 +95429,7 @@ async function getPackageJson() {
95427
95429
  // packages/cli/src/utils/version.ts
95428
95430
  async function getCliVersion() {
95429
95431
  const pkgJson = await getPackageJson();
95430
- return "1.2.19";
95432
+ return "1.2.20";
95431
95433
  }
95432
95434
 
95433
95435
  // packages/cli/src/ui/commands/aboutCommand.ts
@@ -95479,7 +95481,7 @@ import open4 from "open";
95479
95481
  import process11 from "node:process";
95480
95482
 
95481
95483
  // packages/cli/src/generated/git-commit.ts
95482
- var GIT_COMMIT_INFO = "5d20178b";
95484
+ var GIT_COMMIT_INFO = "fccbeb7a";
95483
95485
 
95484
95486
  // packages/cli/src/ui/commands/bugCommand.ts
95485
95487
  init_dist2();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fss-link",
3
- "version": "1.2.19",
3
+ "version": "1.2.20",
4
4
  "engines": {
5
5
  "node": ">=20.0.0"
6
6
  },