claude-scope 0.8.24 → 0.8.25
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/dist/claude-scope.cjs +12 -3
- package/package.json +1 -1
package/dist/claude-scope.cjs
CHANGED
|
@@ -26459,13 +26459,19 @@ async function loadSystemInformation() {
|
|
|
26459
26459
|
}
|
|
26460
26460
|
siLoadAttempted = true;
|
|
26461
26461
|
try {
|
|
26462
|
+
console.error("[DEBUG SystemProvider] Trying dynamic import...");
|
|
26462
26463
|
si = await Promise.resolve().then(() => __toESM(require_lib2(), 1));
|
|
26463
|
-
|
|
26464
|
+
console.error("[DEBUG SystemProvider] Dynamic import SUCCESS");
|
|
26465
|
+
} catch (importError) {
|
|
26466
|
+
console.error("[DEBUG SystemProvider] Dynamic import failed:", importError);
|
|
26464
26467
|
try {
|
|
26468
|
+
console.error("[DEBUG SystemProvider] Trying require fallback...");
|
|
26465
26469
|
const module2 = await import("node:module");
|
|
26466
26470
|
const require2 = module2.createRequire(import_meta.url);
|
|
26467
26471
|
si = require2("systeminformation");
|
|
26468
|
-
|
|
26472
|
+
console.error("[DEBUG SystemProvider] Require fallback SUCCESS");
|
|
26473
|
+
} catch (requireError) {
|
|
26474
|
+
console.error("[DEBUG SystemProvider] Require fallback failed:", requireError);
|
|
26469
26475
|
}
|
|
26470
26476
|
}
|
|
26471
26477
|
}
|
|
@@ -27578,7 +27584,9 @@ async function main() {
|
|
|
27578
27584
|
...widgetConfigItem,
|
|
27579
27585
|
line: parseInt(lineNum, 10)
|
|
27580
27586
|
});
|
|
27587
|
+
console.error("[DEBUG] Registering widget:", widget.id);
|
|
27581
27588
|
await registry.register(widget, { config: { ...widgetConfigItem } });
|
|
27589
|
+
console.error("[DEBUG] Widget registered:", widget.id, "enabled:", widget.isEnabled());
|
|
27582
27590
|
}
|
|
27583
27591
|
}
|
|
27584
27592
|
}
|
|
@@ -27605,7 +27613,8 @@ async function main() {
|
|
|
27605
27613
|
timestamp: Date.now()
|
|
27606
27614
|
});
|
|
27607
27615
|
return lines.join("\n");
|
|
27608
|
-
} catch (
|
|
27616
|
+
} catch (error) {
|
|
27617
|
+
console.error("[claude-scope ERROR]", error);
|
|
27609
27618
|
const fallback = await tryGitFallback();
|
|
27610
27619
|
return fallback;
|
|
27611
27620
|
}
|