@geravant/sinain 1.0.5 → 1.0.6

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.
Files changed (2) hide show
  1. package/install.js +3 -1
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -64,6 +64,8 @@ cfg.plugins.entries["sinain-hud"] = {
64
64
  };
65
65
  // Remove stale "sinain" entry if present from a previous install
66
66
  delete cfg.plugins.entries["sinain"];
67
+ cfg.plugins.allow ??= [];
68
+ if (!cfg.plugins.allow.includes("sinain-hud")) cfg.plugins.allow.push("sinain-hud");
67
69
  cfg.agents ??= {};
68
70
  cfg.agents.defaults ??= {};
69
71
  cfg.agents.defaults.sandbox ??= {};
@@ -104,7 +106,7 @@ try {
104
106
  execSync("openclaw gateway start --background", { stdio: "pipe" });
105
107
  console.log(" ✓ Gateway started");
106
108
  } catch {
107
- console.warn(" ⚠ Could not start gateway — run: openclaw gateway start");
109
+ console.warn(" ⚠ Could not start gateway — run: openclaw gateway");
108
110
  }
109
111
  }
110
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geravant/sinain",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "sinain OpenClaw plugin — AI overlay for macOS",
5
5
  "type": "module",
6
6
  "bin": {