fix(capture): automate safe bidirectional gateways for users and agents

This commit is contained in:
go0p
2026-09-17 17:24:54 +08:00
parent 45f53604e8
commit 601f8acbcf
48 changed files with 2111 additions and 516 deletions
+4
View File
@@ -93,6 +93,10 @@ describe('Bridge v3 protocol', () => {
});
it('accepts automatic selected-frame capture and rejects the legacy expression contract', () => {
expect(parseCapabilityParams('browser.callable.create', {
source: 'recording', callHandleId: 'call-1', name: 'Dynamic decrypt',
dynamicInputPaths: ['$input', '$input.key', '$input.iv'],
})).toMatchObject({ dynamicInputPaths: ['$input', '$input.key', '$input.iv'] });
expect(parseCapabilityParams('browser.callable.create', {
source: 'deep-capture', strategy: 'selected-frame', callFrameId: 'frame-1', name: 'Envelope',
candidateId: 'candidate-envelope',