Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

fix(openclaw-plugin): stop writing gateway.mode from installers (#1149)

LinQiang391d5428dddbe63
diff --git a/examples/openclaw-plugin/install.sh b/examples/openclaw-plugin/install.sh
index a77918869..8f7931f85 100755
--- a/examples/openclaw-plugin/install.sh
+++ b/examples/openclaw-plugin/install.sh
@@ -2021,11 +2021,6 @@ configure_openclaw_plugin() {
return 0
fi
- # Set gateway mode
- if [[ "${skip_gateway_mode}" != "1" ]]; then
- "${oc_env[@]}" openclaw config set gateway.mode "${SELECTED_MODE}"
- fi
-
# Set plugin config for the selected mode
if [[ "$SELECTED_MODE" == "local" ]]; then
local ov_conf_path="${SELECTED_CONFIG_PATH:-${OPENVIKING_DIR}/ov.conf}"
diff --git a/examples/openclaw-plugin/setup-helper/install.js b/examples/openclaw-plugin/setup-helper/install.js
index 2cb3ae045..7c9bc739a 100755
--- a/examples/openclaw-plugin/setup-helper/install.js
+++ b/examples/openclaw-plugin/setup-helper/install.js
@@ -2094,10 +2094,6 @@ async function configureOpenClawPlugin({
: { mode: "local", configPath: join(OPENVIKING_DIR, "ov.conf"), port: selectedServerPort }
);
- if (!skipGatewayMode) {
- await oc(["config", "set", "gateway.mode", effectiveRuntimeConfig.mode === "remote" ? "remote" : "local"]);
- }
-
// Set plugin config for the selected mode
if (effectiveRuntimeConfig.mode === "local") {
const ovConfPath = effectiveRuntimeConfig.configPath || join(OPENVIKING_DIR, "ov.conf");
diff --git a/examples/openclaw-plugin/setup-helper/package.json b/examples/openclaw-plugin/setup-helper/package.json
index f500ed1fa..419d25033 100644
--- a/examples/openclaw-plugin/setup-helper/package.json
+++ b/examples/openclaw-plugin/setup-helper/package.json
@@ -1,6 +1,6 @@
{
"name": "openclaw-openviking-setup-helper",
- "version": "0.2.11",
+ "version": "0.2.15",
"description": "Setup helper for installing OpenViking memory plugin into OpenClaw",
"type": "module",
"bin": {