Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
fix: change openclaw mode into remote (#1634)
Qin Haojief7cab2d55db5
diff --git a/examples/openclaw-plugin/commands/setup.ts b/examples/openclaw-plugin/commands/setup.tsindex 5294b6e6d..06944bd4a 100644--- a/examples/openclaw-plugin/commands/setup.ts+++ b/examples/openclaw-plugin/commands/setup.ts@@ -432,7 +432,7 @@ export function registerSetupCli(api: any): void {console.log("");}- const modeDefault = String(existing?.mode ?? "local");+ const modeDefault = String(existing?.mode ?? "remote");const modeInput = await q(tr(zh, "Plugin mode - local or remote", "插件模式 - local 或 remote"),modeDefault,diff --git a/examples/openclaw-plugin/config.ts b/examples/openclaw-plugin/config.tsindex 9836a8858..c2d745809 100644--- a/examples/openclaw-plugin/config.ts+++ b/examples/openclaw-plugin/config.ts@@ -189,7 +189,7 @@ export const memoryOpenVikingConfigSchema = {"openviking config",);- const mode = (cfg.mode === "local" || cfg.mode === "remote" ? cfg.mode : "local") as+ const mode = (cfg.mode === "local" || cfg.mode === "remote" ? cfg.mode : "remote") as| "local"| "remote";const port = Math.max(1, Math.min(65535, Math.floor(toNumber(cfg.port, DEFAULT_PORT))));diff --git a/examples/openclaw-plugin/install.sh b/examples/openclaw-plugin/install.shindex f93378fa6..7056400ea 100755--- a/examples/openclaw-plugin/install.sh+++ b/examples/openclaw-plugin/install.sh@@ -74,7 +74,7 @@ DEFAULT_VLM_MODEL="doubao-seed-2-0-pro-260215"DEFAULT_EMBED_MODEL="doubao-embedding-vision-251215"SELECTED_SERVER_PORT="${DEFAULT_SERVER_PORT}"SELECTED_CONFIG_PATH=""-SELECTED_MODE="local"+SELECTED_MODE="remote"LANG_UI="en"# Plugin config (set by resolve_plugin_config)@@ -1018,12 +1018,12 @@ select_workdir() {select_mode() {if [[ "$INSTALL_YES" == "1" ]]; then- SELECTED_MODE="local"+ SELECTED_MODE="remote"return 0fiecho ""- read -r -p "$(tr "Plugin mode - local or remote [local]: " "插件模式 - local 或 remote [local]: ")" _mode < /dev/tty || true- _mode="${_mode:-local}"+ read -r -p "$(tr "Plugin mode - local or remote [remote]: " "插件模式 - local 或 remote [remote]: ")" _mode < /dev/tty || true+ _mode="${_mode:-remote}"if [[ "$_mode" == "remote" ]]; thenSELECTED_MODE="remote"elsediff --git a/examples/openclaw-plugin/setup-helper/install.js b/examples/openclaw-plugin/setup-helper/install.jsindex 7c9bc739a..53fa80ae0 100755--- a/examples/openclaw-plugin/setup-helper/install.js+++ b/examples/openclaw-plugin/setup-helper/install.js@@ -117,7 +117,7 @@ let pluginVersionArgExplicit = false;let openvikingVersionArgExplicit = false;let showCurrentVersion = false;-let selectedMode = "local";+let selectedMode = "remote";let selectedServerPort = DEFAULT_SERVER_PORT;let remoteBaseUrl = "http://127.0.0.1:1933";let remoteApiKey = "";@@ -590,10 +590,10 @@ async function selectWorkdir() {async function selectMode() {if (installYes) {- selectedMode = "local";+ selectedMode = "remote";return;}- const mode = (await question(tr("Plugin mode - local or remote", "插件模式 - local 或 remote"), "local")).toLowerCase();+ const mode = (await question(tr("Plugin mode - local or remote", "插件模式 - local 或 remote"), "remote")).toLowerCase();selectedMode = mode === "remote" ? "remote" : "local";}