fix(recorder): add iframe support

This commit is contained in:
Ljy-0827
2026-08-24 10:42:46 +08:00
committed by GitHub
parent c08fed5de3
commit 615e866608
22 changed files with 1267 additions and 309 deletions
@@ -0,0 +1,9 @@
export const RECORD_DOCUMENT_ATTRIBUTE = "data-bsk-record-document";
/** Read BrowserSkill's opaque per-Document recording identity from captured attributes. */
export function readRecordingDocumentIdentity(
attrs: Readonly<Record<string, string>>,
): string | undefined {
const identity = attrs[RECORD_DOCUMENT_ATTRIBUTE];
return identity ? identity : undefined;
}