fss-link 1.0.68 → 1.0.70

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.
Files changed (2) hide show
  1. package/bundle/fss-link.js +11 -9
  2. package/package.json +1 -1
@@ -22379,7 +22379,7 @@ function createContentGeneratorConfig(config, authType) {
22379
22379
  return contentGeneratorConfig;
22380
22380
  }
22381
22381
  async function createContentGenerator(config, gcConfig, sessionId2) {
22382
- const version = "1.0.68";
22382
+ const version = "1.0.70";
22383
22383
  const userAgent = `FSS-Link/${version} (${process.platform}; ${process.arch})`;
22384
22384
  const baseHeaders = {
22385
22385
  "User-Agent": userAgent
@@ -369012,7 +369012,7 @@ function loadEnvironment(settings) {
369012
369012
  }
369013
369013
  }
369014
369014
  }
369015
- function loadSettings(workspaceDir) {
369015
+ async function loadSettings(workspaceDir) {
369016
369016
  let systemSettings = {};
369017
369017
  let userSettings = {};
369018
369018
  let workspaceSettings = {};
@@ -369136,7 +369136,7 @@ function loadSettings(workspaceDir) {
369136
369136
  }
369137
369137
  try {
369138
369138
  const modelManager = getModelManager();
369139
- modelManager.initializeFromStore();
369139
+ await modelManager.initializeFromStore();
369140
369140
  } catch (error) {
369141
369141
  console.warn("Failed to initialize model database:", getErrorMessage(error));
369142
369142
  }
@@ -373525,7 +373525,7 @@ async function getPackageJson() {
373525
373525
  // packages/cli/src/utils/version.ts
373526
373526
  async function getCliVersion() {
373527
373527
  const pkgJson = await getPackageJson();
373528
- return "1.0.68";
373528
+ return "1.0.70";
373529
373529
  }
373530
373530
 
373531
373531
  // packages/cli/src/ui/commands/aboutCommand.ts
@@ -373577,7 +373577,7 @@ import open4 from "open";
373577
373577
  import process11 from "node:process";
373578
373578
 
373579
373579
  // packages/cli/src/generated/git-commit.ts
373580
- var GIT_COMMIT_INFO = "801292da";
373580
+ var GIT_COMMIT_INFO = "4f533975";
373581
373581
 
373582
373582
  // packages/cli/src/ui/commands/bugCommand.ts
373583
373583
  init_dist2();
@@ -397355,7 +397355,9 @@ init_dist2();
397355
397355
  var validateAuthMethod = (authMethod) => {
397356
397356
  loadEnvironment();
397357
397357
  const modelManager = getModelManager();
397358
- modelManager.initializeFromStore();
397358
+ modelManager.initializeFromStore().catch((error) => {
397359
+ console.warn("Failed to initialize model database in validateAuthMethod:", error);
397360
+ });
397359
397361
  if (authMethod === AuthType.LOGIN_WITH_GOOGLE || authMethod === AuthType.CLOUD_SHELL) {
397360
397362
  return null;
397361
397363
  }
@@ -398812,7 +398814,7 @@ async function addMcpServer(name2, commandOrUrl, args, options3) {
398812
398814
  excludeTools
398813
398815
  } = options3;
398814
398816
  const settingsScope = scope === "user" ? "User" /* User */ : "Workspace" /* Workspace */;
398815
- const settings = loadSettings(process.cwd());
398817
+ const settings = await loadSettings(process.cwd());
398816
398818
  let newServer = {};
398817
398819
  const headers = header?.reduce(
398818
398820
  (acc, curr) => {
@@ -398974,7 +398976,7 @@ var addCommand = {
398974
398976
  async function removeMcpServer(name2, options3) {
398975
398977
  const { scope } = options3;
398976
398978
  const settingsScope = scope === "user" ? "User" /* User */ : "Workspace" /* Workspace */;
398977
- const settings = loadSettings(process.cwd());
398979
+ const settings = await loadSettings(process.cwd());
398978
398980
  const existingSettings = settings.forScope(settingsScope).settings;
398979
398981
  const mcpServers = existingSettings.mcpServers || {};
398980
398982
  if (!mcpServers[name2]) {
@@ -399144,7 +399146,7 @@ var COLOR_YELLOW2 = "\x1B[33m";
399144
399146
  var COLOR_RED2 = "\x1B[31m";
399145
399147
  var RESET_COLOR2 = "\x1B[0m";
399146
399148
  async function getMcpServersFromConfig() {
399147
- const settings = loadSettings(process.cwd());
399149
+ const settings = await loadSettings(process.cwd());
399148
399150
  const extensions = loadExtensions(process.cwd());
399149
399151
  const mcpServers = { ...settings.merged.mcpServers || {} };
399150
399152
  for (const extension of extensions) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fss-link",
3
- "version": "1.0.68",
3
+ "version": "1.0.70",
4
4
  "engines": {
5
5
  "node": ">=20.0.0"
6
6
  },