mirror of
https://github.com/yaklang/yaklang-chrome-extension.git
synced 2026-09-26 05:01:53 +08:00
fix(capture): automate safe bidirectional gateways for users and agents
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user