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
..
2026-05-09 05:37:51 +01:00
2026-05-09 03:31:42 -04:00
2026-05-09 07:04:04 +01:00
2026-05-09 02:47:26 -04:00
2026-05-09 03:11:44 -04:00
2026-05-09 07:40:02 +01:00
2026-05-09 05:12:12 +01:00
2026-05-09 07:15:40 +01:00
2026-05-08 13:06:18 +01:00
2026-05-08 17:53:05 +01:00
2026-05-09 07:04:04 +01:00
2026-05-09 06:03:18 +01:00
2026-05-09 05:37:51 +01:00
2026-05-09 07:10:46 +01:00
2026-05-09 02:39:03 -04:00
2026-05-09 05:40:02 +01:00
2026-05-09 04:46:49 +01:00
2026-05-09 03:11:44 -04:00
2026-05-09 05:40:02 +01:00
2026-05-09 05:37:51 +01:00
2026-05-09 03:52:06 +01:00
2026-05-09 05:40:02 +01:00
2026-05-09 04:46:49 +01:00
2026-05-09 02:34:56 -04:00
2026-05-09 08:08:02 +01:00
2026-05-09 02:34:56 -04:00
2026-05-09 05:26:01 +01:00
2026-05-09 07:01:59 +01:00
2026-05-08 22:47:51 +01:00
2026-05-09 07:49:54 +01:00
2026-05-09 05:50:35 +01:00
2026-05-09 03:31:42 -04:00
2026-05-09 05:12:12 +01:00
2026-05-08 12:47:48 +01:00
2026-05-09 05:26:40 +01:00
2026-05-09 04:48:47 +01:00
2026-05-09 05:09:12 +01:00
2026-05-09 05:56:26 +01:00
2026-05-08 13:06:18 +01:00
2026-05-09 05:40:02 +01:00
2026-05-08 16:05:35 +09:00
2026-05-09 08:30:55 +01:00
2026-05-09 00:55:06 -05:00
2026-05-09 05:40:02 +01:00
2026-05-09 05:50:35 +01:00
2026-05-09 02:34:56 -04:00
2026-05-09 05:12:12 +01:00
2026-05-09 05:40:02 +01:00
2026-05-09 04:46:49 +01:00
2026-05-09 07:29:06 +01:00
2026-05-09 05:23:05 +01:00
2026-05-09 02:34:56 -04:00
2026-05-08 20:41:57 +01:00
2026-05-08 13:39:18 +01:00
2026-05-08 14:00:34 +01:00
2026-05-08 20:57:01 +01:00
2026-05-09 06:03:18 +01:00
2026-05-08 13:19:55 +05:30
2026-05-09 03:56:07 +01:00
2026-05-09 03:57:45 +01:00
2026-05-08 20:42:36 -04:00
2026-05-09 08:05:05 +08:00
2026-05-08 10:10:41 +01:00