fix(recorder): add iframe support

This commit is contained in:
Ljy-0827 authored and GitHub committed 2026-08-24 10:42:46 +08:00
1 parent c08fed5de3
commit 615e866608
22 files changed
+1267 -309

No files matched your search

@@ -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;
}