Plugins: fix bundle MCP path resolution

This commit is contained in:
Vincent Koc
2026-03-16 18:33:39 -07:00
parent cf98a0f6e3
commit cb45d7d737
5 changed files with 140 additions and 30 deletions

View File

@@ -215,8 +215,8 @@ plugins:
- supported now: Claude bundle `settings.json` defaults for embedded Pi agent
settings (with shell override keys sanitized)
- supported now: bundle MCP config, merged into embedded Pi agent settings as
`mcpServers`, with supported bundle MCP tools exposed during embedded Pi
agent turns
`mcpServers`, with supported stdio bundle MCP tools exposed during embedded
Pi agent turns
- supported now: Cursor `.cursor/commands/*.md` roots, mapped into the normal
OpenClaw skill loader
- supported now: Codex bundle hook directories that use the OpenClaw hook-pack
@@ -228,8 +228,9 @@ plugins:
That means bundle install/discovery/list/info/enablement all work, and bundle
skills, Claude command-skills, Claude bundle settings defaults, and compatible
Codex hook directories load when the bundle is enabled. Supported bundle MCP
servers may also run as subprocesses for embedded Pi tool calls, but bundle
runtime modules are not loaded in-process.
servers may also run as subprocesses for embedded Pi tool calls when they use
supported stdio transport, but bundle runtime modules are not loaded
in-process.
Bundle hook support is limited to the normal OpenClaw hook directory format
(`HOOK.md` plus `handler.ts`/`handler.js` under the declared hook roots).