mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 05:10:44 +00:00
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>
Generated Docs Artifacts
SHA-256 hash files are the tracked drift-detection artifacts. The full JSON baselines are generated locally (gitignored) for inspection only.
Tracked (committed to git):
config-baseline.sha256— hashes of config baseline JSON artifacts.plugin-sdk-api-baseline.sha256— hashes of Plugin SDK API baseline artifacts.
Local only (gitignored):
config-baseline.json,config-baseline.core.json,config-baseline.channel.json,config-baseline.plugin.jsonplugin-sdk-api-baseline.json,plugin-sdk-api-baseline.jsonl
Do not edit any of these files by hand.
- Regenerate config baseline:
pnpm config:docs:gen - Validate config baseline:
pnpm config:docs:check - Regenerate Plugin SDK API baseline:
pnpm plugin-sdk:api:gen - Validate Plugin SDK API baseline:
pnpm plugin-sdk:api:check