fss-link 1.1.3 → 1.1.4
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 +17 -7
- package/package.json +1 -1
package/bundle/fss-link.js
CHANGED
|
@@ -22084,7 +22084,7 @@ async function createContentGeneratorConfig(config, authType) {
|
|
|
22084
22084
|
async function createContentGenerator(config, gcConfig, sessionId2) {
|
|
22085
22085
|
if (DEBUG_CONTENT)
|
|
22086
22086
|
console.log(`\u{1F41B} DEBUG createContentGenerator: authType=${config.authType}, apiKey=${config.apiKey}, baseUrl=${config.baseUrl}`);
|
|
22087
|
-
const version = "1.1.
|
|
22087
|
+
const version = "1.1.4";
|
|
22088
22088
|
const userAgent = `FSS-Link/${version} (${process.platform}; ${process.arch})`;
|
|
22089
22089
|
const baseHeaders = {
|
|
22090
22090
|
"User-Agent": userAgent
|
|
@@ -81842,7 +81842,9 @@ var init_databaseMigrations = __esm({
|
|
|
81842
81842
|
const currentVersion = this.getCurrentVersion(db);
|
|
81843
81843
|
const latestVersion = this.getLatestVersion();
|
|
81844
81844
|
if (currentVersion >= latestVersion) {
|
|
81845
|
-
|
|
81845
|
+
if (process.env["FSS_DEBUG"] === "true") {
|
|
81846
|
+
console.log(`Database is up to date (version ${currentVersion})`);
|
|
81847
|
+
}
|
|
81846
81848
|
return;
|
|
81847
81849
|
}
|
|
81848
81850
|
console.log(`Migrating database from version ${currentVersion} to ${latestVersion}`);
|
|
@@ -82546,7 +82548,9 @@ var init_core_database = __esm({
|
|
|
82546
82548
|
]);
|
|
82547
82549
|
insertStmt.free();
|
|
82548
82550
|
}
|
|
82549
|
-
|
|
82551
|
+
if (process.env["FSS_DEBUG"] === "true") {
|
|
82552
|
+
console.log(`Created ${defaultConfigs.length} default model configurations`);
|
|
82553
|
+
}
|
|
82550
82554
|
}
|
|
82551
82555
|
/**
|
|
82552
82556
|
* Get current database schema version
|
|
@@ -83032,7 +83036,7 @@ var DEBUG_DB, DatabaseError, dbQueue;
|
|
|
83032
83036
|
var init_database_utils = __esm({
|
|
83033
83037
|
"packages/cli/src/config/database-utils.ts"() {
|
|
83034
83038
|
init_database_queue();
|
|
83035
|
-
DEBUG_DB =
|
|
83039
|
+
DEBUG_DB = process.env["FSS_DEBUG"] === "true" || process.env["NODE_ENV"] === "development" || process.env["FSS_DB_DEBUG"] === "true";
|
|
83036
83040
|
DatabaseError = class extends Error {
|
|
83037
83041
|
constructor(message, cause) {
|
|
83038
83042
|
super(message);
|
|
@@ -94137,7 +94141,7 @@ async function getPackageJson() {
|
|
|
94137
94141
|
// packages/cli/src/utils/version.ts
|
|
94138
94142
|
async function getCliVersion() {
|
|
94139
94143
|
const pkgJson = await getPackageJson();
|
|
94140
|
-
return "1.1.
|
|
94144
|
+
return "1.1.4";
|
|
94141
94145
|
}
|
|
94142
94146
|
|
|
94143
94147
|
// packages/cli/src/ui/commands/aboutCommand.ts
|
|
@@ -94189,7 +94193,7 @@ import open4 from "open";
|
|
|
94189
94193
|
import process11 from "node:process";
|
|
94190
94194
|
|
|
94191
94195
|
// packages/cli/src/generated/git-commit.ts
|
|
94192
|
-
var GIT_COMMIT_INFO = "
|
|
94196
|
+
var GIT_COMMIT_INFO = "a15d9a12";
|
|
94193
94197
|
|
|
94194
94198
|
// packages/cli/src/ui/commands/bugCommand.ts
|
|
94195
94199
|
init_dist2();
|
|
@@ -128177,7 +128181,9 @@ async function main() {
|
|
|
128177
128181
|
try {
|
|
128178
128182
|
const modelManager2 = getModelManager();
|
|
128179
128183
|
await modelManager2.initializeFromStore();
|
|
128180
|
-
|
|
128184
|
+
if (process.env["FSS_DEBUG"] === "true") {
|
|
128185
|
+
console.log("\u2705 Database-first model persistence initialized");
|
|
128186
|
+
}
|
|
128181
128187
|
} catch (error) {
|
|
128182
128188
|
console.warn("\u26A0\uFE0F Database initialization failed, falling back to environment variables:", error);
|
|
128183
128189
|
}
|
|
@@ -128196,6 +128202,10 @@ async function main() {
|
|
|
128196
128202
|
process.exit(1);
|
|
128197
128203
|
}
|
|
128198
128204
|
const argv = await parseArguments();
|
|
128205
|
+
if (argv.debug) {
|
|
128206
|
+
process.env["FSS_DEBUG"] = "true";
|
|
128207
|
+
process.env["FSS_DB_DEBUG"] = "true";
|
|
128208
|
+
}
|
|
128199
128209
|
const extensions = loadExtensions(workspaceRoot);
|
|
128200
128210
|
const config = await loadCliConfig(
|
|
128201
128211
|
settings.merged,
|