@ai-ecoverse/slicc-browsers 1.38.1 → 1.38.3

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/cookie-plant.mjs CHANGED
@@ -2726,6 +2726,19 @@ function refusedTab(ctx, attached, elapsedMs) {
2726
2726
  }
2727
2727
 
2728
2728
  function missedPath(name, attempt, notes) {
2729
+ if (!attempt?.retried) return missedAttempt(name, attempt, notes, '');
2730
+ const { retried, ...settled } = attempt;
2731
+ noteRetried(name, retried, notes);
2732
+ if (!settled.missed) return settled;
2733
+ return missedAttempt(
2734
+ name,
2735
+ { ...settled, missed: { ...settled.missed, retries: retried.length } },
2736
+ notes,
2737
+ afterAttempts(retried, settled.missed.step)
2738
+ );
2739
+ }
2740
+
2741
+ function missedAttempt(name, attempt, notes, after) {
2729
2742
  if (!attempt?.missed) return attempt;
2730
2743
  const { missed, ...rest } = attempt;
2731
2744
  note(notes, 'cookie-plant.attach', { path: name, ...missed });
@@ -2734,19 +2747,72 @@ function missedPath(name, attempt, notes) {
2734
2747
  ...rest,
2735
2748
  premiseMissed: ['Answered', 'Refused', 'Planted']
2736
2749
  .filter((field) => rest[field.toLowerCase()] === 'incomplete')
2737
- .map((field) => `${name}${field}: fresh tab ${missed.step} refused: ${missed.error}`),
2750
+ .map(
2751
+ (field) => `${name}${field}: fresh tab ${missed.step} refused: ${missed.error}${after}`
2752
+ ),
2738
2753
  };
2739
2754
  const fields = ['Answered', 'Refused', 'Planted', ...(name === 'deletion' ? ['Cleared'] : [])];
2740
2755
  return {
2741
2756
  ...rest,
2742
2757
  ...(name === 'deletion' ? { cleared: 'incomplete' } : {}),
2743
2758
  premiseMissed: fields.map(
2744
- (field) => `${name}${field}: fresh tab ${missed.step}: ${missed.error}`
2759
+ (field) => `${name}${field}: fresh tab ${missed.step}: ${missed.error}${after}`
2745
2760
  ),
2746
2761
  };
2747
2762
  }
2748
2763
 
2764
+ const settleRefusal = 'slicc: refused: navigation not settled, retry';
2765
+ const settleRetries = 3;
2766
+ const settleGapMs = 400;
2767
+
2768
+ function settleRefused(out) {
2769
+ return !out?.ok && String(out?.error?.message ?? out?.error ?? '') === settleRefusal;
2770
+ }
2771
+
2772
+ function settleRetry(control) {
2773
+ return control ? null : { left: settleRetries, startedAt: null, attempts: [] };
2774
+ }
2775
+
2776
+ function retriedOf(retry, tag) {
2777
+ return (retry?.attempts ?? []).map((entry) => ({
2778
+ ...entry,
2779
+ error: boundedError(entry.error, tag),
2780
+ }));
2781
+ }
2782
+
2783
+ function noteRetried(name, retried, notes) {
2784
+ for (const entry of retried) note(notes, 'cookie-plant.attach.retry', { path: name, ...entry });
2785
+ }
2786
+
2787
+ function afterAttempts(retried, step) {
2788
+ const tries = retried.filter((entry) => entry.step === step).length;
2789
+ return tries ? ` (after ${tries + 1} attempts)` : '';
2790
+ }
2791
+
2792
+ async function attachStep(call, label, step, retry) {
2793
+ let out = await capped(outcome(call()), 800, label);
2794
+ for (let attempt = 1; retry?.left > 0 && settleRefused(out); attempt += 1) {
2795
+ retry.left -= 1;
2796
+ retry.attempts.push({
2797
+ step,
2798
+ attempt,
2799
+ error: out.error,
2800
+ elapsedMs: Date.now() - retry.startedAt,
2801
+ });
2802
+ await pause(settleGapMs);
2803
+ out = await capped(outcome(call()), 800, label);
2804
+ }
2805
+ return out;
2806
+ }
2807
+
2749
2808
  async function withFreshAttemptTab(ctx, run) {
2809
+ const retry = settleRetry(ctx.control);
2810
+ const out = await freshAttemptTab(ctx, run, retry);
2811
+ const retried = retriedOf(retry, ctx.tag);
2812
+ return retried.length ? { ...out, retried } : out;
2813
+ }
2814
+
2815
+ async function freshAttemptTab(ctx, run, retry) {
2750
2816
  const { client, reader, homeUrl, notes, internalSessions, browserContextId } = ctx;
2751
2817
  const page = await openPage(reader, homeUrl, notes, internalSessions, browserContextId);
2752
2818
  if (!page.ok) return missedTab(ctx, 'open', page.error);
@@ -2754,7 +2820,7 @@ async function withFreshAttemptTab(ctx, run) {
2754
2820
  const readerSession = page.result.sessionId;
2755
2821
  const pageTarget = page.result.targetId;
2756
2822
  const timing = { pathStartedAt: Date.now() };
2757
- const attached = await attachClientPage(client, pageTarget, internalSessions);
2823
+ const attached = await attachClientPage(client, pageTarget, internalSessions, retry);
2758
2824
  const attachMs = Date.now() - timing.pathStartedAt;
2759
2825
  if (attached.incomplete) {
2760
2826
  await outcome(reader.send('Target.closeTarget', { targetId: pageTarget }));
@@ -3905,11 +3971,13 @@ async function runAttempts(
3905
3971
  return { results, ran };
3906
3972
  }
3907
3973
 
3908
- async function attachClientPage(client, pageTarget, internalSessions) {
3909
- const attached = await capped(
3910
- outcome(client.send('Target.attachToTarget', { targetId: pageTarget, flatten: true })),
3911
- 800,
3912
- 'attachToTarget'
3974
+ async function attachClientPage(client, pageTarget, internalSessions, retry = null) {
3975
+ if (retry) retry.startedAt = Date.now();
3976
+ const attached = await attachStep(
3977
+ () => client.send('Target.attachToTarget', { targetId: pageTarget, flatten: true }),
3978
+ 'attachToTarget',
3979
+ 'Target.attachToTarget',
3980
+ retry
3913
3981
  );
3914
3982
  if (!attached.ok) {
3915
3983
  if (sessionCut(attached) || refused(attached))
@@ -3928,7 +3996,12 @@ async function attachClientPage(client, pageTarget, internalSessions) {
3928
3996
  ['Runtime.enable', 'Runtime.enable'],
3929
3997
  ['Network.enable', 'Network.enable'],
3930
3998
  ]) {
3931
- const enabled = await capped(outcome(client.send(method, {}, pageSession)), 800, label);
3999
+ const enabled = await attachStep(
4000
+ () => client.send(method, {}, pageSession),
4001
+ label,
4002
+ label,
4003
+ retry
4004
+ );
3932
4005
  if (!enabled.ok) {
3933
4006
  if (sessionCut(enabled) || refused(enabled))
3934
4007
  return { refused: enabled, step: label, pageSession };
@@ -4321,6 +4394,7 @@ async function openPlantClient({
4321
4394
  internalSessions,
4322
4395
  control,
4323
4396
  credential,
4397
+ tag,
4324
4398
  browserContextId = null,
4325
4399
  }) {
4326
4400
  const page = await openPage(reader, homeUrl, notes, internalSessions, browserContextId);
@@ -4329,17 +4403,21 @@ async function openPlantClient({
4329
4403
  if (page.result?.incomplete) return { done: { incomplete: page.result.incomplete } };
4330
4404
  const readerSession = page.result.sessionId;
4331
4405
  const pageTarget = page.result.targetId;
4332
- const attached = await attachClientPage(client, pageTarget, internalSessions);
4406
+ const retry = settleRetry(control);
4407
+ const attached = await attachClientPage(client, pageTarget, internalSessions, retry);
4408
+ const retried = retriedOf(retry, tag);
4409
+ noteRetried('probe', retried, notes);
4410
+ const after = afterAttempts(retried, attached.step);
4333
4411
  if (attached.incomplete) {
4334
4412
  await outcome(reader.send('Target.closeTarget', { targetId: pageTarget }));
4335
- return { done: { incomplete: attached.incomplete, live: true } };
4413
+ return { done: { incomplete: `${attached.incomplete}${after}`, live: true } };
4336
4414
  }
4337
4415
  if (attached.refused && sessionCut(attached.refused)) {
4338
4416
  await outcome(reader.send('Target.closeTarget', { targetId: pageTarget }));
4339
4417
  return {
4340
4418
  done: {
4341
4419
  live: true,
4342
- incomplete: String(attached.refused.error?.message ?? 'session refused before trigger'),
4420
+ incomplete: `${attached.refused.error?.message ?? 'session refused before trigger'}${after}`,
4343
4421
  ...incompletePaths(),
4344
4422
  },
4345
4423
  };
@@ -4434,6 +4512,7 @@ export async function cookiePlant({
4434
4512
  internalSessions,
4435
4513
  control,
4436
4514
  credential,
4515
+ tag,
4437
4516
  browserContextId,
4438
4517
  });
4439
4518
  if (probe.done) return probe.done;
@@ -435,7 +435,7 @@ async function frameReadNodes(reader, observer, frame, missing) {
435
435
  }
436
436
  }
437
437
 
438
- function protectedRefusal(out) {
438
+ export function protectedRefusal(out) {
439
439
  const text = String(out?.error?.message ?? out?.error ?? '');
440
440
  return text === PRESENT || text === SHOWN || /^slicc: refused/.test(text);
441
441
  }
package/guard-runner.mjs CHANGED
@@ -6,7 +6,7 @@ import { bfcacheRestore } from './bfcache-restore.mjs';
6
6
  import { closeProtectedShape } from './close-protected-shape.mjs';
7
7
  import { cookiePlant } from './cookie-plant.mjs';
8
8
  import { credentialExport } from './credential-export.mjs';
9
- import { extensionFrame } from './extension-frame.mjs';
9
+ import { extensionFrame, protectedRefusal } from './extension-frame.mjs';
10
10
  import { DEFAULT_EXTENSION_WORLD_ID, extensionWorld } from './extension-world.mjs';
11
11
  import { frameRead } from './frame-read.mjs';
12
12
  import {
@@ -284,6 +284,11 @@ const namedResultMs = 10000;
284
284
  const observeMs = 5000;
285
285
  const reachRetryMs = 250;
286
286
  const premises = { chainStarted: 'first hop not observed' };
287
+ const boundedError = (text) =>
288
+ String(text)
289
+ .replace(/[a-z][a-z0-9+.-]*:\/\/[^\s"'<>]*/gi, '<url>')
290
+ .replace(/([\w.-]+)=[^\s;,]+/g, '$1=<value>')
291
+ .slice(0, 200);
287
292
 
288
293
  function autoAttachSession(events, start, targetId) {
289
294
  return events
@@ -457,6 +462,7 @@ class Execution {
457
462
  this.pending = [];
458
463
  this.errors = [];
459
464
  this.incomplete = [];
465
+ this.probeFailures = new Map();
460
466
  this.unsupported = undefined;
461
467
  this.preSent = [];
462
468
  this.notes = [];
@@ -1183,7 +1189,7 @@ class Execution {
1183
1189
  'frameRead',
1184
1190
  'bfcacheRestore',
1185
1191
  ].find((key) => step[key]);
1186
- if (probe && !out.ok) this.errors.push(`${probe}: ${out.error?.message ?? 'probe failed'}`);
1192
+ if (probe && !out.ok) this.probeFailed(step, probe, out, refused);
1187
1193
  if (step.client && !out.ok) this.errors.push(`client exit: ${out.error.message}`);
1188
1194
  if (
1189
1195
  [
@@ -1234,6 +1240,17 @@ class Execution {
1234
1240
  }
1235
1241
  }
1236
1242
 
1243
+ probeFailed(step, probe, out, refused) {
1244
+ const message = out.error?.message ?? 'probe failed';
1245
+ if (this.side !== 'control' || refused || protectedRefusal(out) || probe === 'unparseable') {
1246
+ this.errors.push(`${probe}: ${message}`);
1247
+ return;
1248
+ }
1249
+ const reason = `${probe}: ${boundedError(message)}`;
1250
+ this.incomplete.push(reason);
1251
+ if (step.as) this.probeFailures.set(step.as, reason);
1252
+ }
1253
+
1237
1254
  async browserUiRetry(step, out, session, phase) {
1238
1255
  const tried = new Set();
1239
1256
  let current = step;
@@ -2752,7 +2769,8 @@ class Execution {
2752
2769
  );
2753
2770
  if (!call) continue;
2754
2771
  observed[name] = 'incomplete';
2755
- const reason = `${call} failed without a refusal: ${failed.get(call)}`;
2772
+ const reason =
2773
+ this.probeFailures.get(call) ?? `${call} failed without a refusal: ${failed.get(call)}`;
2756
2774
  if (!this.incomplete.includes(reason)) this.incomplete.push(reason);
2757
2775
  }
2758
2776
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "setVersion": "1.38.1",
3
+ "setVersion": "1.38.3",
4
4
  "sources": [
5
5
  {
6
6
  "repo": "ai-ecoverse/slicc-cli",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-browsers",
3
- "version": "1.38.1",
3
+ "version": "1.38.3",
4
4
  "description": "SLICC's shared browser catalog, JSON schemas and discovery conformance corpus",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -79,7 +79,7 @@
79
79
  "validate": "node scripts/validate.mjs",
80
80
  "lint": "slicc-lint && test -z \"$(gofmt -l .)\" && go mod tidy -diff && go vet ./... && GOOS=darwin go vet ./... && GOOS=windows go vet ./... && golangci-lint run && cargo fmt --check && cargo clippy --all-features --all-targets -- -D warnings && cargo check --target wasm32-wasip1 --no-default-features && cargo check --target wasm32-wasip1 --features serde && cargo check --target wasm32-wasip1 --all-features",
81
81
  "format": "biome check --write . && gofmt -w . && cargo fmt",
82
- "test": "export PATH=\"$HOME/.cargo/bin:$PATH\" && node --test --test-concurrency=1 test/integration/debugger-stage1-packaging.test.mjs test/integration/debugger-raw-control.test.mjs test/integration/debugger-cleanup.test.mjs test/integration/debugger-stage1-install-vectors.test.mjs test/integration/protected-premise.test.mjs test/integration/debugger-stage1-vectors.test.mjs test/integration/self-contained.test.mjs test/integration/seven-corpus.test.mjs test/integration/browser-runner.test.mjs test/integration/fixture-client.test.mjs test/integration/guard-redirect-carrier.test.mjs test/integration/guard-redirect-session-end.test.mjs test/integration/guard-redirect-history.test.mjs test/integration/guard-redirect-iframe.test.mjs test/integration/guard-redirect-through.test.mjs test/integration/guard-incomplete.test.mjs test/integration/guard-unparseable-wipe.test.mjs test/integration/guard-browser-ui.test.mjs test/integration/guard-snapshot-settle.test.mjs test/integration/guard-stall.test.mjs test/integration/guard-forged.test.mjs test/integration/guard-trusted-emulation.test.mjs test/integration/guard-exit-steps.test.mjs test/integration/guard-exit-refusal.test.mjs test/integration/guard-frame-read.test.mjs test/integration/guard-bfcache.test.mjs test/integration/guard-bfcache-marker.test.mjs test/integration/guard-bfcache-history.test.mjs test/integration/guard-bfcache-review.test.mjs test/integration/guard-bfcache-quarantine.test.mjs test/integration/guard-error-page-navigation.test.mjs test/integration/guard-error-page-events.test.mjs test/integration/guard-error-page-reload.test.mjs test/integration/guard-close-protected.test.mjs test/integration/guard-close-protected-shapes.test.mjs test/integration/guard-close-protected-shapes-chrome.test.mjs test/integration/guard-credential-export.test.mjs test/integration/guard-protected-parent-iframes.test.mjs test/integration/guard-protected-parent-iframes-chrome.test.mjs test/integration/guard-error-frame-class.test.mjs test/integration/guard-sign-in-hold.test.mjs test/integration/guard-cookie-plant-chrome.test.mjs test/integration/guard-cookie-plant.test.mjs test/integration/guard-protected-parent-page.test.mjs test/integration/guard-protected-parent-page-chrome.test.mjs test/integration/guard-world-paint.test.mjs test/integration/gates.test.mjs test/integration/validate.test.mjs test/integration/validate-guard-stock-setup.test.mjs test/integration/validate-guard-explicit.test.mjs test/integration/go.test.mjs test/integration/cargo.test.mjs test/integration/workflows.test.mjs test/integration/guard-refusable-nav.test.mjs test/integration/guard-protected-worker.test.mjs test/integration/guard-protected-worker-chrome-narrow.test.mjs test/integration/guard-protected-worker-chrome-hide.test.mjs test/integration/guard-protected-worker-chrome-hide-cut.test.mjs test/integration/guard-protected-worker-chrome-admit.test.mjs test/integration/guard-protected-worker-chrome-late.test.mjs test/integration/guard-protected-worker-chrome-rewrite.test.mjs test/integration/guard-protected-worker-chrome-rewrite-late.test.mjs test/integration/guard-sweep-union.test.mjs test/integration/guard-explicit-attach-chrome.test.mjs && node --test --test-concurrency=2 test/integration/guard-lifecycle.test.mjs test/integration/chromium-launch.test.mjs test/integration/guard-fit.test.mjs test/integration/guard-chain.test.mjs test/integration/guard-validation.test.mjs test/integration/guard-liveness.test.mjs test/integration/guard-observations.test.mjs test/integration/guard-child-latency.test.mjs test/integration/guard-child-latency-stress.test.mjs test/integration/guard-adoption.test.mjs test/integration/guard-scoping.test.mjs test/integration/guard-late-pause.test.mjs test/integration/guard-cookie-plant-raw-leg.test.mjs test/integration/guard-cookie-plant-deletion.test.mjs test/integration/guard-cookie-plant-attach.test.mjs test/integration/guard-cookie-plant-legacy-setup.test.mjs test/integration/guard-legs.test.mjs test/integration/guard-fetch-enable.test.mjs test/integration/guard-diagnostics.test.mjs test/integration/guard-chrome.test.mjs test/integration/guard-worlds.test.mjs test/integration/guard-world-discovery.test.mjs test/integration/guard-world-guesses.test.mjs test/integration/guard-unparseable.test.mjs test/integration/guard-redirect-secret.test.mjs test/integration/guard-error-page.test.mjs test/integration/guard-discovery.test.mjs test/integration/guard-bfcache-chrome.test.mjs test/integration/guard-browser-page.test.mjs test/integration/guard-scales.test.mjs test/integration/guard-shared-log.test.mjs test/integration/guard-pre-beacon.test.mjs test/integration/guard-world-pause.test.mjs test/integration/guard-reveal-overlap.test.mjs test/integration/guard-extension-frame-cast.test.mjs test/integration/guard-extension-frame-mouse.test.mjs test/integration/guard-extension-frame-click.test.mjs test/integration/guard-extension-frame-key.test.mjs test/integration/guard-extension-frame-attach.test.mjs test/integration/guard-extension-frames.test.mjs test/integration/guard-stock-setup.test.mjs test/integration/guard-explicit-attach.test.mjs test/integration/guard-explicit-order.test.mjs test/integration/guard-stock-attack.test.mjs test/integration/guard-parallel.test.mjs test/integration/guard-client-exit.test.mjs test/integration/guard-runner-record.test.mjs test/integration/guard-runner.test.mjs test/integration/guard-sweep-ordinary.test.mjs test/integration/guard-sweep-seven.test.mjs test/integration/guard-sweep-vault.test.mjs test/integration/guard-sweep-vault-x.test.mjs test/integration/guard-sweep-apex.test.mjs test/integration/guard-sweep-idp.test.mjs test/integration/guard-sweep-others.test.mjs test/integration/guard-browser-storage.test.mjs test/integration/guard-control-premises.test.mjs",
82
+ "test": "export PATH=\"$HOME/.cargo/bin:$PATH\" && node --test --test-concurrency=1 test/integration/debugger-stage1-packaging.test.mjs test/integration/debugger-raw-control.test.mjs test/integration/debugger-cleanup.test.mjs test/integration/debugger-stage1-install-vectors.test.mjs test/integration/protected-premise.test.mjs test/integration/debugger-stage1-vectors.test.mjs test/integration/self-contained.test.mjs test/integration/seven-corpus.test.mjs test/integration/browser-runner.test.mjs test/integration/fixture-client.test.mjs test/integration/guard-redirect-carrier.test.mjs test/integration/guard-redirect-session-end.test.mjs test/integration/guard-redirect-history.test.mjs test/integration/guard-redirect-iframe.test.mjs test/integration/guard-redirect-through.test.mjs test/integration/guard-incomplete.test.mjs test/integration/guard-unparseable-wipe.test.mjs test/integration/guard-browser-ui.test.mjs test/integration/guard-snapshot-settle.test.mjs test/integration/guard-stall.test.mjs test/integration/guard-forged.test.mjs test/integration/guard-trusted-emulation.test.mjs test/integration/guard-exit-steps.test.mjs test/integration/guard-exit-refusal.test.mjs test/integration/guard-frame-read.test.mjs test/integration/guard-bfcache.test.mjs test/integration/guard-bfcache-marker.test.mjs test/integration/guard-bfcache-history.test.mjs test/integration/guard-bfcache-review.test.mjs test/integration/guard-bfcache-quarantine.test.mjs test/integration/guard-error-page-navigation.test.mjs test/integration/guard-error-page-events.test.mjs test/integration/guard-error-page-reload.test.mjs test/integration/guard-close-protected.test.mjs test/integration/guard-close-protected-shapes.test.mjs test/integration/guard-close-protected-shapes-chrome.test.mjs test/integration/guard-credential-export.test.mjs test/integration/guard-protected-parent-iframes.test.mjs test/integration/guard-protected-parent-iframes-chrome.test.mjs test/integration/guard-error-frame-class.test.mjs test/integration/guard-sign-in-hold.test.mjs test/integration/guard-cookie-plant-chrome.test.mjs test/integration/guard-cookie-plant.test.mjs test/integration/guard-protected-parent-page.test.mjs test/integration/guard-protected-parent-page-chrome.test.mjs test/integration/guard-world-paint.test.mjs test/integration/gates.test.mjs test/integration/validate.test.mjs test/integration/validate-guard-stock-setup.test.mjs test/integration/validate-guard-explicit.test.mjs test/integration/go.test.mjs test/integration/cargo.test.mjs test/integration/workflows.test.mjs test/integration/guard-refusable-nav.test.mjs test/integration/guard-protected-worker.test.mjs test/integration/guard-protected-worker-chrome-narrow.test.mjs test/integration/guard-protected-worker-chrome-hide.test.mjs test/integration/guard-protected-worker-chrome-hide-cut.test.mjs test/integration/guard-protected-worker-chrome-admit.test.mjs test/integration/guard-protected-worker-chrome-late.test.mjs test/integration/guard-protected-worker-chrome-rewrite.test.mjs test/integration/guard-protected-worker-chrome-rewrite-late.test.mjs test/integration/guard-sweep-union.test.mjs test/integration/guard-explicit-attach-chrome.test.mjs && node --test --test-concurrency=2 test/integration/guard-lifecycle.test.mjs test/integration/chromium-launch.test.mjs test/integration/guard-fit.test.mjs test/integration/guard-chain.test.mjs test/integration/guard-validation.test.mjs test/integration/guard-liveness.test.mjs test/integration/guard-observations.test.mjs test/integration/guard-child-latency.test.mjs test/integration/guard-child-latency-stress.test.mjs test/integration/guard-adoption.test.mjs test/integration/guard-scoping.test.mjs test/integration/guard-late-pause.test.mjs test/integration/guard-cookie-plant-raw-leg.test.mjs test/integration/guard-cookie-plant-deletion.test.mjs test/integration/guard-cookie-plant-attach.test.mjs test/integration/guard-cookie-plant-attach-retry.test.mjs test/integration/guard-cookie-plant-legacy-setup.test.mjs test/integration/guard-legs.test.mjs test/integration/guard-fetch-enable.test.mjs test/integration/guard-diagnostics.test.mjs test/integration/guard-chrome.test.mjs test/integration/guard-worlds.test.mjs test/integration/guard-world-discovery.test.mjs test/integration/guard-world-guesses.test.mjs test/integration/guard-unparseable.test.mjs test/integration/guard-redirect-secret.test.mjs test/integration/guard-error-page.test.mjs test/integration/guard-discovery.test.mjs test/integration/guard-bfcache-chrome.test.mjs test/integration/guard-browser-page.test.mjs test/integration/guard-scales.test.mjs test/integration/guard-shared-log.test.mjs test/integration/guard-pre-beacon.test.mjs test/integration/guard-world-pause.test.mjs test/integration/guard-reveal-overlap.test.mjs test/integration/guard-extension-frame-cast.test.mjs test/integration/guard-extension-frame-mouse.test.mjs test/integration/guard-extension-frame-click.test.mjs test/integration/guard-extension-frame-key.test.mjs test/integration/guard-extension-frame-attach.test.mjs test/integration/guard-extension-frames.test.mjs test/integration/guard-stock-setup.test.mjs test/integration/guard-explicit-attach.test.mjs test/integration/guard-explicit-order.test.mjs test/integration/guard-stock-attack.test.mjs test/integration/guard-parallel.test.mjs test/integration/guard-client-exit.test.mjs test/integration/guard-runner-record.test.mjs test/integration/guard-runner.test.mjs test/integration/guard-sweep-ordinary.test.mjs test/integration/guard-sweep-seven.test.mjs test/integration/guard-sweep-vault.test.mjs test/integration/guard-sweep-vault-x.test.mjs test/integration/guard-sweep-apex.test.mjs test/integration/guard-sweep-idp.test.mjs test/integration/guard-sweep-others.test.mjs test/integration/guard-browser-storage.test.mjs test/integration/guard-control-premises.test.mjs test/integration/guard-control-probe-failure.test.mjs",
83
83
  "test:unit": "mkdir -p coverage/unit && node --experimental-test-coverage --test --test-concurrency=1 --test-reporter=lcov --test-reporter-destination=coverage/unit/lcov.info test/unit/*.test.mjs && go test -race -cover ./...",
84
84
  "build": "go build ./... && cargo build --all-features && cargo build --target wasm32-wasip1 --all-features && npm pack --dry-run",
85
85
  "prepublishOnly": "node scripts/set-crate-version.mjs \"$npm_package_version\"",
@@ -90,8 +90,8 @@
90
90
  "test:unit:guard": "mkdir -p coverage/unit && node --experimental-vm-modules --no-warnings --experimental-test-coverage --test --test-concurrency=1 --test-coverage-include=guard-runner.mjs --test-coverage-include=guard-driver.mjs --test-coverage-include=extension-frame.mjs --test-coverage-include=fixture-server.mjs --test-coverage-include=fixture-client.mjs --test-coverage-include=observer-target.mjs --test-coverage-include=frame-read.mjs --test-coverage-include=bfcache-restore.mjs --test-coverage-include=protected-error-page.mjs --test-coverage-include=protected-parent-iframes.mjs --test-coverage-include=unparseable-url.mjs --test-coverage-include=scripts/browser-runner.mjs --test-coverage-include=scripts/validate.mjs --test-reporter=lcov --test-reporter-destination=coverage/unit/guard.lcov test/unit/guard-*.test.mjs && slicc-diff-cover coverage/unit/guard.lcov"
91
91
  },
92
92
  "devDependencies": {
93
- "@ai-ecoverse/slicc-cdp": "2.1.25",
94
- "@ai-ecoverse/slicc-shared-web": "2.17.0",
93
+ "@ai-ecoverse/slicc-cdp": "2.1.29",
94
+ "@ai-ecoverse/slicc-shared-web": "2.18.0",
95
95
  "@biomejs/biome": "2.6.8",
96
96
  "ajv": "8.20.0",
97
97
  "ajv-formats": "3.0.1",