fss-link 1.0.76 → 1.0.78
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 +10 -32
- package/package.json +1 -1
package/bundle/fss-link.js
CHANGED
|
@@ -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.
|
|
22382
|
+
const version = "1.0.78";
|
|
22383
22383
|
const userAgent = `FSS-Link/${version} (${process.platform}; ${process.arch})`;
|
|
22384
22384
|
const baseHeaders = {
|
|
22385
22385
|
"User-Agent": userAgent
|
|
@@ -373535,7 +373535,7 @@ async function getPackageJson() {
|
|
|
373535
373535
|
// packages/cli/src/utils/version.ts
|
|
373536
373536
|
async function getCliVersion() {
|
|
373537
373537
|
const pkgJson = await getPackageJson();
|
|
373538
|
-
return "1.0.
|
|
373538
|
+
return "1.0.78";
|
|
373539
373539
|
}
|
|
373540
373540
|
|
|
373541
373541
|
// packages/cli/src/ui/commands/aboutCommand.ts
|
|
@@ -407374,14 +407374,6 @@ function toPermissionOptions(confirmation) {
|
|
|
407374
407374
|
|
|
407375
407375
|
// packages/cli/src/gemini.tsx
|
|
407376
407376
|
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
407377
|
-
console.log("\u{1F527} Starting module imports - if error happens during this, we found the culprit");
|
|
407378
|
-
console.log("\u{1F527} Importing React...");
|
|
407379
|
-
console.log("\u{1F527} Importing ink...");
|
|
407380
|
-
console.log("\u{1F527} Importing AppWrapper...");
|
|
407381
|
-
console.log("\u{1F527} Importing config modules...");
|
|
407382
|
-
console.log("\u{1F527} Importing settings...");
|
|
407383
|
-
console.log("\u{1F527} Importing other modules...");
|
|
407384
|
-
console.log("\u{1F527} All imports completed successfully");
|
|
407385
407377
|
function validateDnsResolutionOrder(order) {
|
|
407386
407378
|
const defaultValue = "ipv4first";
|
|
407387
407379
|
if (order === void 0) {
|
|
@@ -407448,13 +407440,16 @@ ${reason.stack}` : ""}`;
|
|
|
407448
407440
|
});
|
|
407449
407441
|
}
|
|
407450
407442
|
async function main() {
|
|
407451
|
-
console.log("\u{1F527} MAIN FUNCTION STARTED - if error happens before this, it is during module loading");
|
|
407452
407443
|
setupUnhandledRejectionHandler();
|
|
407453
|
-
|
|
407444
|
+
try {
|
|
407445
|
+
const modelManager2 = getModelManager();
|
|
407446
|
+
await modelManager2.initializeFromStore();
|
|
407447
|
+
console.log("\u2705 Database-first model persistence initialized");
|
|
407448
|
+
} catch (error) {
|
|
407449
|
+
console.warn("\u26A0\uFE0F Database initialization failed, falling back to environment variables:", error);
|
|
407450
|
+
}
|
|
407454
407451
|
const workspaceRoot = process.cwd();
|
|
407455
|
-
console.log("\u{1F527} About to call loadSettings() - checking if this causes the error");
|
|
407456
407452
|
const settings = await loadSettings(workspaceRoot);
|
|
407457
|
-
console.log("\u{1F527} loadSettings() completed successfully");
|
|
407458
407453
|
await cleanupCheckpoints();
|
|
407459
407454
|
if (settings.errors.length > 0) {
|
|
407460
407455
|
for (const error of settings.errors) {
|
|
@@ -407654,24 +407649,7 @@ function setWindowTitle(title, settings) {
|
|
|
407654
407649
|
|
|
407655
407650
|
// packages/cli/index.ts
|
|
407656
407651
|
main().catch((error) => {
|
|
407657
|
-
console.error("
|
|
407658
|
-
console.error(String(error));
|
|
407659
|
-
if (error instanceof Error) {
|
|
407660
|
-
console.error("Error name:", error.name);
|
|
407661
|
-
console.error("Error message:", error.message);
|
|
407662
|
-
console.error("Error stack:", error.stack);
|
|
407663
|
-
}
|
|
407664
|
-
if (error && typeof error === "object" && "stack" in error) {
|
|
407665
|
-
console.error("Object stack:", error.stack);
|
|
407666
|
-
}
|
|
407667
|
-
console.error("Error type:", typeof error);
|
|
407668
|
-
console.error("Error constructor:", error?.constructor?.name);
|
|
407669
|
-
console.error("Error JSON:", JSON.stringify(error, null, 2));
|
|
407670
|
-
if (String(error) === "Statement closed") {
|
|
407671
|
-
console.error("*** THIS IS THE SQL.JS STATEMENT CLOSED ERROR ***");
|
|
407672
|
-
console.error("*** CALL STACK AT TIME OF ERROR ***");
|
|
407673
|
-
console.trace();
|
|
407674
|
-
}
|
|
407652
|
+
console.error("Error:", error);
|
|
407675
407653
|
process.exit(1);
|
|
407676
407654
|
});
|
|
407677
407655
|
/**
|