feat: advance browser agent integration workflows

This commit is contained in:
go0p
2026-08-06 15:08:07 +08:00
parent c7891a6a9d
commit b11efcc79c
215 changed files with 35137 additions and 5442 deletions
@@ -4,6 +4,7 @@ import {
cryptoDeepCaptureMatcher,
cryptoEventLabel,
isForwardCryptoEvent,
isReverseCryptoEvent,
normalizeBrowserRecordingCrypto,
} from './model';
@@ -50,6 +51,8 @@ describe('browser crypto model', () => {
it('classifies forward and reverse RSA calls', () => {
expect(isForwardCryptoEvent(cryptoEvent('encrypt'))).toBe(true);
expect(isForwardCryptoEvent(cryptoEvent('decrypt'))).toBe(false);
expect(isReverseCryptoEvent(cryptoEvent('decrypt'))).toBe(true);
expect(isReverseCryptoEvent(cryptoEvent('verify'))).toBe(false);
});
it('uses adapter-aware labels and exact wrapper handles for deep capture', () => {