fix(sdk-adapter): return updatedInput in canUseTool allow response #883
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!883
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/881"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
canUseToolallow branch omittedupdatedInput, causing the SDK Zod schema to reject every tool call.Closes #881
Test plan
ZodError: updatedInput … received undefined; after this fix they pass normally.just qaclean.Correct.
updatedInput: inputsatisfies the SDK Zod schema; the allow branch was the only path missing it. CI green.