@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.
- package/install.js +3 -1
- 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
|
|
109
|
+
console.warn(" ⚠ Could not start gateway — run: openclaw gateway");
|
|
108
110
|
}
|
|
109
111
|
}
|
|
110
112
|
|