@treeseed/sdk 0.5.2 → 0.5.3

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.
@@ -1543,12 +1543,22 @@ function ensureTreeseedActVerificationTooling({ tenantRoot = process.cwd(), inst
1543
1543
  attemptedInstall: false,
1544
1544
  installedDuringConfig: false
1545
1545
  });
1546
- const wranglerCheck = checkCommand(process.execPath, [resolveWranglerBin(), "--version"], { cwd: tenantRoot, env });
1547
- const wranglerCli = toolStatus(
1548
- "wranglerCli",
1549
- wranglerCheck.ok,
1550
- wranglerCheck.ok ? wranglerCheck.stdout.split("\n")[0] ?? "Wrangler CLI detected." : wranglerCheck.detail || "Wrangler CLI is unavailable."
1551
- );
1546
+ const wranglerCli = (() => {
1547
+ try {
1548
+ const wranglerCheck = checkCommand(process.execPath, [resolveWranglerBin(), "--version"], { cwd: tenantRoot, env });
1549
+ return toolStatus(
1550
+ "wranglerCli",
1551
+ wranglerCheck.ok,
1552
+ wranglerCheck.ok ? wranglerCheck.stdout.split("\n")[0] ?? "Wrangler CLI detected." : wranglerCheck.detail || "Wrangler CLI is unavailable."
1553
+ );
1554
+ } catch (error) {
1555
+ return toolStatus(
1556
+ "wranglerCli",
1557
+ false,
1558
+ error instanceof Error && error.message ? error.message : "Wrangler CLI is unavailable."
1559
+ );
1560
+ }
1561
+ })();
1552
1562
  const railwayCheck = checkCommand("railway", ["--version"], { cwd: tenantRoot, env });
1553
1563
  const railwayCli = toolStatus(
1554
1564
  "railwayCli",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Shared Treeseed SDK for content-backed and D1-backed object models.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {