fix: retire one-shot agent MCP runtimes · openclaw/openclaw@e0bee76
steipete
·
2026-04-25
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -52,6 +52,7 @@ openclaw agent --agent ops --message "Run locally" --local
|
52 | 52 | |
53 | 53 | - Gateway mode falls back to the embedded agent when the Gateway request fails. Use `--local` to force embedded execution up front. |
54 | 54 | - `--local` still preloads the plugin registry first, so plugin-provided providers, tools, and channels stay available during embedded runs. |
| 55 | +- Each `openclaw agent` invocation is treated as a one-shot run. Bundled or user-configured MCP servers opened for that run are retired after the reply, even when the command uses the Gateway path, so stdio MCP child processes do not stay alive between scripted invocations. |
55 | 56 | - `--channel`, `--reply-channel`, and `--reply-account` affect reply delivery, not session routing. |
56 | 57 | - `--json` keeps stdout reserved for the JSON response. Gateway, plugin, and embedded-fallback diagnostics are routed to stderr so scripts can parse stdout directly. |
57 | 58 | - When this command triggers `models.json` regeneration, SecretRef-managed provider credentials are persisted as non-secret markers (for example env var names, `secretref-env:ENV_VAR_NAME`, or `secretref-managed`), not resolved secret plaintext. |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。