You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 75dbe52
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/plugins/manifest.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,6 +162,8 @@ See [Plugins](/tools/plugin) for the full plugin system guide, and [Capability m
162
162
|`providerAuthChoices`| No |`object[]`| Cheap auth-choice metadata for onboarding pickers, preferred-provider resolution, and simple CLI flag wiring. |
163
163
|`activation`| No |`object`| Cheap activation planner metadata for startup, provider, command, channel, route, and capability-triggered loading. Metadata only; plugin runtime still owns actual behavior. |
164
164
|`setup`| No |`object`| Cheap setup/onboarding descriptors that discovery and setup surfaces can inspect without loading plugin runtime. |
165
+
|`doctorContract`| No |`object`| Declares which dynamic doctor-contract surfaces the plugin artifact exports so doctor loads only relevant modules. |
166
+
|`sessionRouteStateOwners`| No |`object[]`| Static session-route ownership for doctor cleanup. Each entry declares an `id`, `label`, and optional `providerIds`, `runtimeIds`, `cliSessionKeys`, and `authProfilePrefixes`. |
165
167
|`qaRunners`| No |`object[]`| Cheap QA runner descriptors used by the shared `openclaw qa` host before plugin runtime loads. |
166
168
|`dashboard`| No |`object`| Dashboard widget data bindings and action verbs. Each entry is validated against a Gateway method registered by this plugin with the required read or write scope. See [dashboard reference](#dashboard-reference). |
167
169
|`mcpServers`| No |`Record<string, object>`| Static MCP server definitions contributed while this plugin is enabled. Relative command arguments and working directories resolve from the plugin root. Operator `mcp.servers` entries override or disable definitions with the same name. See [MCP server reference](#mcp-server-reference). |
@@ -181,6 +183,18 @@ See [Plugins](/tools/plugin) for the full plugin system guide, and [Capability m
181
183
|`version`| No |`string`| Informational plugin version. |
182
184
|`uiHints`| No |`Record<string, object>`| UI labels, placeholders, and sensitivity hints for config fields. |
183
185
186
+
Prefer top-level `sessionRouteStateOwners` for static doctor ownership. The
187
+
older `doctorContract.sessionRouteStateOwners: true` declaration plus a
188
+
`sessionRouteStateOwners` export from `doctor-contract-api` remains supported
189
+
for external plugins, but is deprecated. When the manifest field is present,
190
+
OpenClaw uses it without loading the doctor-contract module. Removal plan:
191
+
remove the module fallback in OpenClaw 2027.1 after the external-plugin
192
+
migration window.
193
+
194
+
Set `doctorContract.configRepair: true` when the doctor-contract module exports
195
+
non-empty `legacyConfigRules`, a `normalizeCompatibilityConfig` function, or
196
+
both. One declaration covers the complete config-repair artifact.
197
+
184
198
## MCP server reference
185
199
186
200
`mcpServers` lets a native plugin ship an MCP server, including an MCP App, without requiring operators to duplicate its static process definition in `openclaw.json`:
0 commit comments