mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:00:42 +00:00
docs: typography hygiene across 5 pages
Replaced 80 typography characters (curly quotes, apostrophes, em/en dashes, non-breaking hyphens) with ASCII equivalents per docs/CLAUDE.md heading and content hygiene rules. - docs/plugins/sdk-entrypoints.md: 17 chars - docs/help/index.md: 17 chars - docs/concepts/agent-workspace.md: 16 chars - docs/tools/lobster.md: 15 chars - docs/tools/exec-approvals.md: 15 chars
This commit is contained in:
@@ -71,12 +71,12 @@ export default definePluginEntry({
|
||||
|
||||
| Field | Type | Required | Default |
|
||||
| -------------- | ---------------------------------------------------------------- | -------- | ------------------- |
|
||||
| `id` | `string` | Yes | — |
|
||||
| `name` | `string` | Yes | — |
|
||||
| `description` | `string` | Yes | — |
|
||||
| `kind` | `string` | No | — |
|
||||
| `id` | `string` | Yes | - |
|
||||
| `name` | `string` | Yes | - |
|
||||
| `description` | `string` | Yes | - |
|
||||
| `kind` | `string` | No | - |
|
||||
| `configSchema` | `OpenClawPluginConfigSchema \| () => OpenClawPluginConfigSchema` | No | Empty object schema |
|
||||
| `register` | `(api: OpenClawPluginApi) => void` | Yes | — |
|
||||
| `register` | `(api: OpenClawPluginApi) => void` | Yes | - |
|
||||
|
||||
- `id` must match your `openclaw.plugin.json` manifest.
|
||||
- `kind` is for exclusive slots: `"memory"` or `"context-engine"`.
|
||||
@@ -112,14 +112,14 @@ export default defineChannelPluginEntry({
|
||||
|
||||
| Field | Type | Required | Default |
|
||||
| --------------------- | ---------------------------------------------------------------- | -------- | ------------------- |
|
||||
| `id` | `string` | Yes | — |
|
||||
| `name` | `string` | Yes | — |
|
||||
| `description` | `string` | Yes | — |
|
||||
| `plugin` | `ChannelPlugin` | Yes | — |
|
||||
| `id` | `string` | Yes | - |
|
||||
| `name` | `string` | Yes | - |
|
||||
| `description` | `string` | Yes | - |
|
||||
| `plugin` | `ChannelPlugin` | Yes | - |
|
||||
| `configSchema` | `OpenClawPluginConfigSchema \| () => OpenClawPluginConfigSchema` | No | Empty object schema |
|
||||
| `setRuntime` | `(runtime: PluginRuntime) => void` | No | — |
|
||||
| `registerCliMetadata` | `(api: OpenClawPluginApi) => void` | No | — |
|
||||
| `registerFull` | `(api: OpenClawPluginApi) => void` | No | — |
|
||||
| `setRuntime` | `(runtime: PluginRuntime) => void` | No | - |
|
||||
| `registerCliMetadata` | `(api: OpenClawPluginApi) => void` | No | - |
|
||||
| `registerFull` | `(api: OpenClawPluginApi) => void` | No | - |
|
||||
|
||||
- `setRuntime` is called during registration so you can store the runtime reference
|
||||
(typically via `createPluginRuntimeStore`). It is skipped during CLI metadata
|
||||
@@ -275,8 +275,8 @@ Use `openclaw plugins inspect <id>` to see a plugin's shape.
|
||||
|
||||
## Related
|
||||
|
||||
- [SDK Overview](/plugins/sdk-overview) — registration API and subpath reference
|
||||
- [Runtime Helpers](/plugins/sdk-runtime) — `api.runtime` and `createPluginRuntimeStore`
|
||||
- [Setup and Config](/plugins/sdk-setup) — manifest, setup entry, deferred loading
|
||||
- [Channel Plugins](/plugins/sdk-channel-plugins) — building the `ChannelPlugin` object
|
||||
- [Provider Plugins](/plugins/sdk-provider-plugins) — provider registration and hooks
|
||||
- [SDK Overview](/plugins/sdk-overview) - registration API and subpath reference
|
||||
- [Runtime Helpers](/plugins/sdk-runtime) - `api.runtime` and `createPluginRuntimeStore`
|
||||
- [Setup and Config](/plugins/sdk-setup) - manifest, setup entry, deferred loading
|
||||
- [Channel Plugins](/plugins/sdk-channel-plugins) - building the `ChannelPlugin` object
|
||||
- [Provider Plugins](/plugins/sdk-provider-plugins) - provider registration and hooks
|
||||
|
||||
Reference in New Issue
Block a user