openclaw-overlay-plugin 0.7.40 → 0.7.41

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/index.js CHANGED
@@ -1447,7 +1447,8 @@ function buildEnvironment(config) {
1447
1447
  }
1448
1448
  function parseCliOutput(stdout) {
1449
1449
  try {
1450
- return JSON.parse(stdout.trim());
1450
+ const str = typeof stdout === 'string' ? stdout : String(stdout || '');
1451
+ return JSON.parse(str.trim());
1451
1452
  }
1452
1453
  catch (error) {
1453
1454
  throw new Error(`Failed to parse CLI output: ${error.message}`);
package/index.ts CHANGED
@@ -1632,7 +1632,8 @@ function buildEnvironment(config: any) {
1632
1632
 
1633
1633
  function parseCliOutput(stdout: any) {
1634
1634
  try {
1635
- return JSON.parse(stdout.trim());
1635
+ const str = typeof stdout === 'string' ? stdout : String(stdout || '');
1636
+ return JSON.parse(str.trim());
1636
1637
  } catch (error: any) {
1637
1638
  throw new Error(`Failed to parse CLI output: ${error.message}`);
1638
1639
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-overlay-plugin",
3
- "version": "0.7.40",
3
+ "version": "0.7.41",
4
4
  "description": "Openclaw BSV Overlay — agent discovery, service marketplace, and micropayments on the BSV blockchain",
5
5
  "publishConfig": {
6
6
  "access": "public"