Skip to content

chore(ahp): migrate SDK to 0.7.0 - #271

Merged
danielkov merged 2 commits into
mainfrom
chore/ahp-sdk-0.7.0
Oct 13, 2026
Merged

danielkov merged 2 commits into
mainfrom
chore/ahp-sdk-0.7.0

Conversation

@danielkov

Copy link
Copy Markdown
Contributor

Summary

Update agenthooksprotocol from 0.4.1 to 0.7.0 and migrate Kit鈥檚 AHP integration to the typed capability and event-result APIs.

Technical details

Configure Kit鈥檚 harness identity globally so every lifecycle event includes its name and version. Preserve existing per-event permissions while adopting typed capability builders, permission outcomes, and SDK-boundary tool input validation.

Add regression coverage for harness identity across all ten supported lifecycle events. The lockfile update changes only the SDK package.

@kit-code-agent kit-code-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SDK migration accepts unauthorized hook-supplied tool results after input edits, bypassing host reauthorization.

Comment thread src/ahp/tool.rs Outdated

@kit-code-agent kit-code-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found. The changes look good to merge.

@danielkov
danielkov merged commit 6b441e6 into main Oct 13, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant