fss-link 1.0.11 → 1.0.13
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/bundle/fss-link.js +23 -7
- package/package.json +1 -1
package/bundle/fss-link.js
CHANGED
|
@@ -6469,7 +6469,9 @@ function saveSettings(settingsFile) {
|
|
|
6469
6469
|
var FSSLinkDatabase = class {
|
|
6470
6470
|
db = null;
|
|
6471
6471
|
dbPath;
|
|
6472
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6472
6473
|
SQL;
|
|
6474
|
+
// SQLite database handle
|
|
6473
6475
|
initialized = false;
|
|
6474
6476
|
constructor() {
|
|
6475
6477
|
if (!fs6.existsSync(USER_SETTINGS_DIR)) {
|
|
@@ -6735,6 +6737,7 @@ var FSSLinkDatabase = class {
|
|
|
6735
6737
|
/**
|
|
6736
6738
|
* Map database row to ModelConfig interface
|
|
6737
6739
|
*/
|
|
6740
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6738
6741
|
mapRowToModelConfig(row) {
|
|
6739
6742
|
return {
|
|
6740
6743
|
id: row.id,
|
|
@@ -6918,6 +6921,9 @@ var ModelManager = class {
|
|
|
6918
6921
|
break;
|
|
6919
6922
|
case "qwen-oauth":
|
|
6920
6923
|
break;
|
|
6924
|
+
default:
|
|
6925
|
+
console.warn(`Unknown auth type: ${model.authType}`);
|
|
6926
|
+
break;
|
|
6921
6927
|
}
|
|
6922
6928
|
}
|
|
6923
6929
|
/**
|
|
@@ -7689,7 +7695,7 @@ async function getPackageJson() {
|
|
|
7689
7695
|
// packages/cli/src/utils/version.ts
|
|
7690
7696
|
async function getCliVersion() {
|
|
7691
7697
|
const pkgJson = await getPackageJson();
|
|
7692
|
-
return "1.0.
|
|
7698
|
+
return "1.0.13";
|
|
7693
7699
|
}
|
|
7694
7700
|
|
|
7695
7701
|
// packages/cli/src/ui/commands/aboutCommand.ts
|
|
@@ -7741,7 +7747,7 @@ import open from "open";
|
|
|
7741
7747
|
import process6 from "node:process";
|
|
7742
7748
|
|
|
7743
7749
|
// packages/cli/src/generated/git-commit.ts
|
|
7744
|
-
var GIT_COMMIT_INFO = "
|
|
7750
|
+
var GIT_COMMIT_INFO = "dbc8f818";
|
|
7745
7751
|
|
|
7746
7752
|
// packages/cli/src/ui/commands/bugCommand.ts
|
|
7747
7753
|
import { sessionId as sessionId3 } from "@fsscoding/fss-link-core";
|
|
@@ -10324,7 +10330,7 @@ var voiceCommand = {
|
|
|
10324
10330
|
`;
|
|
10325
10331
|
message += `Available Voices:
|
|
10326
10332
|
`;
|
|
10327
|
-
AVAILABLE_VOICES.forEach((voice2,
|
|
10333
|
+
AVAILABLE_VOICES.forEach((voice2, _index) => {
|
|
10328
10334
|
const details2 = voiceDetails2[voice2];
|
|
10329
10335
|
const marker = voice2 === currentVoice ? "\u25B6" : " ";
|
|
10330
10336
|
const emoji = details2?.emoji || "\u{1F5E3}\uFE0F";
|
|
@@ -10394,11 +10400,12 @@ Available: ${AVAILABLE_VOICES.join(", ")}`
|
|
|
10394
10400
|
Date.now()
|
|
10395
10401
|
);
|
|
10396
10402
|
},
|
|
10397
|
-
completion: async (context, partialArg) =>
|
|
10398
|
-
|
|
10403
|
+
completion: async (context, partialArg) => (
|
|
10404
|
+
// Provide voice name completion
|
|
10405
|
+
AVAILABLE_VOICES.filter(
|
|
10399
10406
|
(voice) => voice.toLowerCase().startsWith(partialArg.toLowerCase())
|
|
10400
|
-
)
|
|
10401
|
-
|
|
10407
|
+
)
|
|
10408
|
+
)
|
|
10402
10409
|
};
|
|
10403
10410
|
|
|
10404
10411
|
// packages/cli/src/ui/commands/speakCommand.ts
|
|
@@ -17321,6 +17328,15 @@ var SETTINGS_SCHEMA = {
|
|
|
17321
17328
|
description: "Base URL for LM Studio API.",
|
|
17322
17329
|
showInDialog: false
|
|
17323
17330
|
},
|
|
17331
|
+
skipLoopDetection: {
|
|
17332
|
+
type: "boolean",
|
|
17333
|
+
label: "Skip Loop Detection",
|
|
17334
|
+
category: "Advanced",
|
|
17335
|
+
requiresRestart: false,
|
|
17336
|
+
default: false,
|
|
17337
|
+
description: "Disable loop detection for 10-15% performance improvement. Advanced users only.",
|
|
17338
|
+
showInDialog: false
|
|
17339
|
+
},
|
|
17324
17340
|
lmStudioModel: {
|
|
17325
17341
|
type: "string",
|
|
17326
17342
|
label: "LM Studio Model",
|