@vosjs/studio-core 0.27.0 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -417,6 +417,18 @@ interface RecordingMeta {
417
417
  * has no script and carries none.
418
418
  */
419
419
  steps?: StepSpan[];
420
+ /**
421
+ * The recorder did not land where it was asked: a sign-in, an identity
422
+ * provider, a 401/403, or a redirect to somewhere else. Present only when
423
+ * the take was recorded ANYWAY, so whoever reads it later (a digest, an
424
+ * agent cutting the footage) knows the picture may be the wrong page.
425
+ * `asked`/`landed` are origin + path, never a query or hash.
426
+ */
427
+ wall?: {
428
+ kind: 'status' | 'idp' | 'signin' | 'redirect';
429
+ asked: string;
430
+ landed: string;
431
+ };
420
432
  }
421
433
  /**
422
434
  * A span's tie to an actions.json step: metadata for `vos plan
@@ -3001,6 +3013,12 @@ interface DigestTakeFacts {
3001
3013
  hasSystemAudio: boolean;
3002
3014
  hasCursor: boolean;
3003
3015
  windowFocusedFrac: number | null;
3016
+ /**
3017
+ * The recorder did not land where it was asked (a sign-in, a redirect) and
3018
+ * the take was recorded anyway: the footage may be the wrong page. null
3019
+ * when it landed where it was asked, or the recorder does not check.
3020
+ */
3021
+ wall: RecordingMeta['wall'] | null;
3004
3022
  }
3005
3023
  interface Digest {
3006
3024
  digestVersion: number;
package/dist/index.js CHANGED
@@ -8708,7 +8708,8 @@ function buildDigest(input) {
8708
8708
  hasMic: Boolean(doc.source.micKey) || meta.hasMic === true,
8709
8709
  hasSystemAudio: meta.hasAudio === true,
8710
8710
  hasCursor: doc.source.cursor.length > 0,
8711
- windowFocusedFrac: meta.windowFocusedFrac ?? null
8711
+ windowFocusedFrac: meta.windowFocusedFrac ?? null,
8712
+ wall: meta.wall ?? null
8712
8713
  },
8713
8714
  units: {
8714
8715
  source: "seconds of footage",