feat: add confirmation details support + jsonrpc vs http rest support (#16079)

This commit is contained in:
Adam Weidman
2026-01-07 17:46:37 -05:00
committed by GitHub
parent 0be8b5b1ed
commit 1c77bac146
7 changed files with 162 additions and 44 deletions
@@ -304,7 +304,7 @@ describe('RemoteAgentInvocation', () => {
confirmation.type === 'info'
) {
expect(confirmation.title).toContain('Test Agent');
expect(confirmation.prompt).toContain('http://test-agent/card');
expect(confirmation.prompt).toContain('Calling remote agent: "hi"');
} else {
throw new Error('Expected confirmation to be of type info');
}