You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add permission checks for SDK-registered custom tools (#555)
* Add permission checks for SDK-registered custom tools
Add 'custom-tool' to the PermissionRequest kind union in Node.js and
Python types. Update all existing custom tool e2e tests across all four
languages (Node.js, Python, Go, .NET) to provide an onPermissionRequest
handler, and add new e2e tests verifying permission approval and denial
flows for custom tools.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Address PR review: remove unused import, add toolName verification to Go and .NET tests
- Remove unused PermissionRequestResult import from Node.js test
- Add toolName assertion in Go test for cross-SDK parity
- Add toolName assertion in .NET test for cross-SDK parity
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Formatting
* Fix rebase issue
* Go fix
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments