Skip to content

Add signed tool approval demo - #4

Merged
scottopolis merged 1 commit into
mainfrom
feat/tool-approval-demo
Sep 24, 2026
Merged

scottopolis merged 1 commit into
mainfrom
feat/tool-approval-demo

Conversation

@scottopolis

Copy link
Copy Markdown
Owner

Summary

  • add a simulated refund tool using AI SDK ToolLoopAgent approval flow
  • render responsive Approve/Deny UI and continue automatically after a decision
  • preserve server-owned signed tool inputs and reject forged approval responses
  • document and test the provider-mode demo

Verification

  • npm run typecheck
  • npm test (29 tests)
  • npm run build
  • npm audit (0 vulnerabilities)
  • browser-tested GPT-6 Luna approval and denial flows at desktop and 390px viewport

Amp-Thread-ID: https://ampcode.com/threads/T-01a0d522-4096-701d-9ec9-9f2cccf5cd9a
Co-authored-by: Scott Bolinger <designbyscott@gmail.com>
@scottopolis
scottopolis merged commit bf40804 into main Sep 24, 2026
1 check passed
@scottopolis
scottopolis deleted the feat/tool-approval-demo branch September 24, 2026 22:07
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.

2 participants