waygraph 0.12.28 → 0.12.30

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.
Files changed (2) hide show
  1. package/dist/cli.js +24 -6
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -414,12 +414,15 @@ const RING_CSS =
414
414
  "border:2.5px solid #7C3AED;border-radius:10px;" +
415
415
  "box-shadow:0 0 0 4px rgba(124,58,237,.16);" +
416
416
  "transition:opacity .32s ease,left .28s ease,top .28s ease,width .28s ease,height .28s ease,border-color .15s,box-shadow .32s ease;}" +
417
- "#wg-ring[data-focus=\"1\"]{box-shadow:0 0 0 4px rgba(124,58,237,.2),0 0 0 9999px rgba(15,6,32,.55);}" +
418
- "#wg-ring[data-tone=auto][data-focus=\"1\"]{box-shadow:0 0 0 4px rgba(156,163,175,.28),0 0 0 9999px rgba(15,6,32,.55);}" +
419
- "#wg-ring[data-tone=info][data-focus=\"1\"]{box-shadow:0 0 0 4px rgba(59,130,246,.22),0 0 0 9999px rgba(15,6,32,.55);}" +
420
- "#wg-ring[data-tone=warning][data-focus=\"1\"]{box-shadow:0 0 0 4px rgba(234,179,8,.22),0 0 0 9999px rgba(15,6,32,.55);}" +
421
- "#wg-ring[data-tone=danger][data-focus=\"1\"]{box-shadow:0 0 0 4px rgba(239,68,68,.22),0 0 0 9999px rgba(15,6,32,.55);}" +
422
- "#wg-ring[data-tone=success][data-focus=\"1\"]{box-shadow:0 0 0 4px rgba(34,197,94,.22),0 0 0 9999px rgba(15,6,32,.55);}" +
417
+ // Unquoted [data-focus=1]: this lives inside CHAIN_RUNNER_SCRIPT's template
418
+ // literal - a \" here would be eaten by the outer template and break the
419
+ // generated .mjs. CSS allows unquoted attr values for identifiers.
420
+ "#wg-ring[data-focus=1]{box-shadow:0 0 0 4px rgba(124,58,237,.2),0 0 0 9999px rgba(15,6,32,.55);}" +
421
+ "#wg-ring[data-tone=auto][data-focus=1]{box-shadow:0 0 0 4px rgba(156,163,175,.28),0 0 0 9999px rgba(15,6,32,.55);}" +
422
+ "#wg-ring[data-tone=info][data-focus=1]{box-shadow:0 0 0 4px rgba(59,130,246,.22),0 0 0 9999px rgba(15,6,32,.55);}" +
423
+ "#wg-ring[data-tone=warning][data-focus=1]{box-shadow:0 0 0 4px rgba(234,179,8,.22),0 0 0 9999px rgba(15,6,32,.55);}" +
424
+ "#wg-ring[data-tone=danger][data-focus=1]{box-shadow:0 0 0 4px rgba(239,68,68,.22),0 0 0 9999px rgba(15,6,32,.55);}" +
425
+ "#wg-ring[data-tone=success][data-focus=1]{box-shadow:0 0 0 4px rgba(34,197,94,.22),0 0 0 9999px rgba(15,6,32,.55);}" +
423
426
  // Planned (stubs / fixtures / YAP / instruction.highlights) = purple.
424
427
  // Automation (verify fallback, unmatched fill/click) = gray - operators
425
428
  // can ignore engine checks and watch purple + semantic tones.
@@ -1268,6 +1271,21 @@ async function setDemoBannerTitle(page, title) {
1268
1271
  .catch(() => {});
1269
1272
  }
1270
1273
 
1274
+ /** Collapsed chrome title: Ep N / i / n / block / pace. */
1275
+ function miniStepLabel(info) {
1276
+ const ep =
1277
+ info.episodeNumber !== undefined && info.episodeNumber !== null
1278
+ ? "Ep " + info.episodeNumber + " \\u00b7 "
1279
+ : "";
1280
+ return (
1281
+ ep +
1282
+ (info.index + 1) +
1283
+ " / " +
1284
+ info.total +
1285
+ (info.blockName ? " \\u00b7 " + info.blockName : "") +
1286
+ (info.paceBadge ? " \\u00b7 " + info.paceBadge : "")
1287
+ );
1288
+ }
1271
1289
 
1272
1290
  async function cycleHighlightRings(page, highlights, gatesFast, opts) {
1273
1291
  const list = highlights || [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waygraph",
3
- "version": "0.12.28",
3
+ "version": "0.12.30",
4
4
  "type": "module",
5
5
  "description": "A typed graph of reusable Blocks for driving a browser through E2E flows.",
6
6
  "license": "MIT",