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