openclaw/docs/plugins
Peter Steinberger e4bae42d63
feat(plugin-sdk): derive tool target paths for hooks
Summary:
- derive apply_patch target paths for before_tool_call and trusted policy events
- route native Codex PreToolUse cwd/sandbox path facts through the host parser
- document the additive derivedPaths hook field and refresh the SDK API baseline

Verification:
- pnpm test src/agents/apply-patch-paths.test.ts src/plugins/host-tool-param-parsers.test.ts src/agents/pi-tools.before-tool-call.e2e.test.ts src/agents/harness/native-hook-relay.test.ts src/plugins/contracts/host-hooks.contract.test.ts
- pnpm check:test-types
- pnpm lint:core
- pnpm plugin-sdk:api:gen
- pnpm plugin-sdk:api:check
- pnpm run check:no-conflict-markers
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md docs/plugins/hooks.md docs/.generated/plugin-sdk-api-baseline.sha256 src/agents/apply-patch-paths.test.ts src/agents/apply-patch-paths.ts src/agents/harness/native-hook-relay.test.ts src/agents/harness/native-hook-relay.ts src/agents/pi-tools.before-tool-call.e2e.test.ts src/agents/pi-tools.before-tool-call.ts src/agents/pi-tools.ts src/auto-reply/reply/dispatch-from-config.test.ts src/plugins/contracts/host-hooks.contract.test.ts src/plugins/hook-types.ts src/plugins/host-tool-param-parsers.test.ts src/plugins/host-tool-param-parsers.ts src/plugins/trusted-tool-policy.ts
- git diff --check origin/main...HEAD && git diff --check
- pnpm build

Co-authored-by: Eva <eva@100yen.org>
Co-authored-by: Josh Lehman <josh@martian.engineering>
2026-05-09 03:31:42 -04:00
..
reference chore(release): prepare 2026.5.8 2026-05-09 08:05:17 +01:00
adding-capabilities.md docs: consolidate moved docs pages 2026-05-05 17:38:21 +01:00
agent-tools.md docs(plugins/agent-tools): remove duplicate H1 2026-05-06 09:00:20 -07:00
architecture-internals.md feat: unify model catalog registration 2026-05-09 02:34:56 -04:00
architecture.md refactor(matrix): keep runtime wrapper native-only 2026-05-01 23:36:08 +01:00
building-extensions.md docs(concepts,automation,plugins): add Related sections to pages missing them 2026-04-23 15:48:46 -07:00
building-plugins.md docs: add dedicated ClawHub docs tab (#79159) 2026-05-07 18:55:08 -07:00
bundles.md docs(doctor): clarify configured plugin repair (#77613) 2026-05-04 18:16:29 -07:00
cli-backend-plugins.md fix(acpx): harden session lifecycle cleanup 2026-05-07 07:30:37 +01:00
codex-computer-use.md Keep OpenAI Codex migrations on automatic runtime routing (#79238) 2026-05-08 16:05:35 +09:00
codex-harness.md docs: document codex harness model availability (#79582) 2026-05-08 18:10:15 -07:00
community.md docs: add dedicated ClawHub docs tab (#79159) 2026-05-07 18:55:08 -07:00
compatibility.md refactor: drop legacy implicit startup sidecar fallback 2026-05-01 22:58:18 +01:00
dependency-resolution.md fix(plugins): avoid managed npm prefix on Windows 2026-05-09 07:51:49 +08:00
google-meet.md docs: sentence-case 4 stray Title Case headings 2026-05-06 09:22:35 -07:00
hooks.md feat(plugin-sdk): derive tool target paths for hooks 2026-05-09 03:31:42 -04:00
manage-plugins.md docs: add dedicated ClawHub docs tab (#79159) 2026-05-07 18:55:08 -07:00
manifest.md feat: unify model catalog registration 2026-05-09 02:34:56 -04:00
memory-lancedb.md refactor: simplify plugin dependency handling 2026-05-01 21:32:22 +01:00
memory-wiki.md fix(docs): validate plugin json examples 2026-05-03 15:47:23 -07:00
message-presentation.md docs: batch sentence-case headings across high-Title-Case offenders 2026-04-26 23:52:28 -07:00
oc-path.md docs(oc-path): expand usage examples 2026-05-09 01:48:35 -04:00
plugin-inventory.md chore(release): prepare 2026.5.8 2026-05-09 08:05:17 +01:00
reference.md chore(release): prepare 2026.5.8 2026-05-09 08:05:17 +01:00
sdk-agent-harness.md Keep OpenAI Codex migrations on automatic runtime routing (#79238) 2026-05-08 16:05:35 +09:00
sdk-channel-message.md refactor: consolidate message delivery API 2026-05-09 07:04:04 +01:00
sdk-channel-plugins.md docs: typography hygiene + drop one in-body H1 across 5 pages 2026-05-05 19:46:32 -07:00
sdk-channel-turn.md docs: document channel message plugin api 2026-05-06 01:46:42 +01:00
sdk-entrypoints.md refactor: move canvas to plugin surfaces 2026-05-07 09:07:18 +01:00
sdk-migration.md refactor: consolidate message delivery API 2026-05-09 07:04:04 +01:00
sdk-overview.md refactor: move canvas to plugin surfaces 2026-05-07 09:07:18 +01:00
sdk-provider-plugins.md feat: unify model catalog registration 2026-05-09 02:34:56 -04:00
sdk-runtime.md feat(plugin-sdk): add LLM completion API to plugin (#64294) 2026-05-07 19:27:48 -07:00
sdk-setup.md docs: add dedicated ClawHub docs tab (#79159) 2026-05-07 18:55:08 -07:00
sdk-subpaths.md refactor: consolidate message delivery API 2026-05-09 07:04:04 +01:00
sdk-testing.md docs: complete source-backed docs sweep 2026-05-02 22:37:01 +01:00
skill-workshop.md fix(skill-workshop): honor pending approval for tool suggestions [AI] (#78516) 2026-05-07 13:27:32 +05:30
voice-call.md fix: stabilize google meet twilio joins 2026-05-06 09:18:20 +01:00
webhooks.md docs: remove duplicate body H1s + sentence-case headings across 10 pages 2026-05-06 09:06:11 -07:00
zalouser.md docs: add dedicated ClawHub docs tab (#79159) 2026-05-07 18:55:08 -07:00