@phnx-labs/artifacts-cli 0.9.3 → 0.9.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.4 — 2026-10-09
4
+
5
+ - **The share bar leads with the Rush by Phoenix lockup.** The left side is the gold
6
+ Phoenix, "Rush" and BY PHOENIX, as on getrush.ai, then the share's title. The right side
7
+ is a video's transcript status, one Share button and the sharer's avatar, which shows
8
+ "Shared by <handle> · Updated 2h ago" on hover.
9
+ - **Share holds the link.** It opens a sheet for every reader: the link with a copy icon,
10
+ who can open the page (the owner picks a level there; everyone else sees one line), and
11
+ the view count. The Copy link pill, the visibility chip, the kind tag and the bar's own
12
+ Updated and views text are gone. On a phone the sheet spans the screen under the bar.
13
+ - **The Worker serves the Phoenix mark** at `/__brand/phoenix.webp`; "Rush" is drawn as an
14
+ outline, so no third face ships. The bar-asset route answers only its own files, so
15
+ `/constructor` or `/__proto__` is never served as an asset.
16
+
3
17
  ## 0.9.3 — 2026-10-09
4
18
 
5
19
  - **The share bar, redrawn in the Rush design system.** Every shared page and asset
Binary file
@@ -29,7 +29,7 @@ export function renderWorkerBundle() {
29
29
  // compiled module: workerd deliberately forbids runtime code generation,
30
30
  // so esbuild's `binary` loader produces a bundle that works in Node but
31
31
  // throws "Wasm code generation disallowed by embedder" in Cloudflare.
32
- loader: { '.wasm': 'copy', '.woff': 'binary', '.woff2': 'binary' },
32
+ loader: { '.wasm': 'copy', '.woff': 'binary', '.woff2': 'binary', '.webp': 'binary' },
33
33
  });
34
34
  const script = result.outputFiles.find((output) => output.path.endsWith('.js'));
35
35
  if (!script)
@@ -64,7 +64,7 @@ export function renderWorkerScript() {
64
64
  target: 'es2022',
65
65
  write: false,
66
66
  minify: true,
67
- loader: { '.wasm': 'binary', '.woff': 'binary', '.woff2': 'binary' },
67
+ loader: { '.wasm': 'binary', '.woff': 'binary', '.woff2': 'binary', '.webp': 'binary' },
68
68
  });
69
69
  const output = result.outputFiles[0];
70
70
  if (!output)
@@ -85,6 +85,7 @@ import interBold from '@fontsource/inter/files/inter-latin-700-normal.woff';
85
85
  import jetbrainsMono from '@fontsource/jetbrains-mono/files/jetbrains-mono-latin-600-normal.woff';
86
86
  import barInter from '../../../fonts/InterVariable.woff2';
87
87
  import barJost from '../../../fonts/Jost-wght.woff2';
88
+ import barPhoenix from '../../../brand/phoenix-gold.webp';
88
89
 
89
90
  // GENERATED by agents-cli agents share setup — do not edit here; edit
90
91
  // src/lib/share/worker-template.ts and re-run setup.
@@ -112,7 +113,7 @@ export default {
112
113
  if (path === '__media/callback') return handleMediaCallback(request, env, url, ctx);
113
114
  // The share bar's two faces (Inter, Jost), served from this origin so a
114
115
  // shared page never calls a third-party font host.
115
- if ((request.method === 'GET' || request.method === 'HEAD') && BAR_FONTS[path]) return handleFont(request, path);
116
+ if ((request.method === 'GET' || request.method === 'HEAD') && Object.prototype.hasOwnProperty.call(BAR_ASSETS, path)) return handleBarAsset(request, path);
116
117
  if ((request.method === 'GET' || request.method === 'HEAD') && firstSeg.startsWith('__')) {
117
118
  return new Response('not found', { status: 404, headers: { 'content-type': 'text/plain' } });
118
119
  }
@@ -1202,13 +1203,14 @@ function escapeHtml(s) {
1202
1203
  }
1203
1204
 
1204
1205
  // The attribution bar: a slim glass strip fixed to the top of every served HTML
1205
- // page and asset viewer. It names the share (sharer / title), says when it last
1206
- // changed, shows a VISIBILITY cue Google-Drive style, and offers Copy link. A
1207
- // video with a media job adds its transcript status. All values come from
1208
- // customMetadata and the serve path; nothing new is stamped at publish time.
1209
- // Type and colour follow rush/DESIGN.md (Inter body, Jost display, zinc on dark
1210
- // glass, one white primary pill); the faces are served from this origin at
1211
- // /__fonts/ so a shared page never calls a third-party font host.
1206
+ // page and asset viewer, laid out like getrush.ai's nav. Left: the Rush by
1207
+ // Phoenix lockup and the share's title. Right: a video's transcript status, one
1208
+ // Share button, and the sharer's avatar. Share opens a sheet with the link and
1209
+ // a copy control, who can open the page (a live control for the owner), and the
1210
+ // view count. All values come from customMetadata and the serve path; nothing
1211
+ // new is stamped at publish time. Type and colour follow rush/DESIGN.md; the
1212
+ // faces and the Phoenix mark are served from this origin, so a shared page
1213
+ // never calls a third-party host.
1212
1214
  var VIS_ICON = {
1213
1215
  me: '<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="4" y="11" width="16" height="9" rx="2"/><path d="M8 11V8a4 4 0 0 1 8 0v3"/></svg>',
1214
1216
  org: '<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M3 21h18M6 21V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v17M14 9h4a1 1 0 0 1 1 1v11"/></svg>',
@@ -1216,37 +1218,61 @@ var VIS_ICON = {
1216
1218
  public: '<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3a15 15 0 0 1 0 18M12 3a15 15 0 0 0 0 18"/></svg>',
1217
1219
  };
1218
1220
 
1219
- // Eye glyph for the view count; caret for the owner's chip; link and check for
1220
- // Copy link and the selected menu row.
1221
+ // Eye glyph for the view count, check for Copied and the selected level.
1221
1222
  var STAT_EYE_ICON = '<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z"/><circle cx="12" cy="12" r="3"/></svg>';
1222
- var CARET_ICON = '<svg class="ash-caret" viewBox="0 0 24 24" width="12" height="12" fill="none" stroke="currentColor" stroke-width="2"><path d="m6 9 6 6 6-6"/></svg>';
1223
- var LINK_ICON = '<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M10 13a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1"/><path d="M14 11a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1"/></svg>';
1223
+ var COPY_ICON = '<svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="1.7"><rect x="9" y="9" width="12" height="12" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg>';
1224
1224
  var CHECK_ICON = '<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2"><path d="m5 12 5 5 9-10"/></svg>';
1225
1225
 
1226
- // Copy link, for every viewer. It copies the share URL without view-only query
1227
- // parameters, keeping only a protected page's key (k) so the link still opens.
1228
- // The label answers on the button itself ("Copied") and returns after 1.4 s.
1229
- var ASH_COPY_JS = '(function(){' +
1230
- 'var btn = document.querySelector(".agents-share-bar [data-ash-copy]");' +
1231
- 'if(!btn) return;' +
1232
- 'var label = btn.querySelector("[data-ash-copy-label]");' +
1233
- 'var icon = btn.querySelector("[data-ash-copy-ic]");' +
1226
+ // "Rush" in Cormorant Upright 500, outlined, so the lockup needs no extra face.
1227
+ // Traced from the same cut getrush.ai loads for its wordmark.
1228
+ var RUSH_WORDMARK = '<svg class="ash-wm" viewBox="43 199 1950 738" width="40" height="15" aria-hidden="true">' +
1229
+ '<defs><linearGradient id="ash-gold" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#E8CE8C"/><stop offset=".35" stop-color="#D4B872"/><stop offset=".55" stop-color="#C9A962"/><stop offset="1" stop-color="#A8884A"/></linearGradient></defs>' +
1230
+ '<path fill="url(#ash-gold)" d="M685 924H553Q528 924 462 840Q395 755 304 599Q272 607 239 607Q227 607 211 605L210 843Q211 873 216 887Q222 901 238 906Q254 912 288 912Q292 912 292 918Q293 924 289 924Q258 924 240 923L169 922L98 923Q80 924 48 924Q44 924 44 918Q43 912 47 912Q83 912 101 906Q119 901 126 886Q132 872 133 843V380Q132 350 126 336Q120 322 104 316Q87 311 51 311Q47 311 47 305Q47 299 51 299L101 300Q145 302 170 302Q186 302 206 301Q227 300 238 299Q265 296 286 296Q374 296 420 329Q466 362 466 421Q466 467 438 508Q411 549 364 575Q446 703 502 776Q558 848 602 880Q645 912 685 912Q688 912 688 918Q689 924 685 924ZM256 583Q325 583 354 553Q384 523 384 455Q384 381 353 347Q322 313 271 313Q243 313 232 316Q221 320 216 334Q211 348 210 382V579Q240 583 256 583Z M1171 845Q1175 845 1178 848Q1182 852 1180 854Q1148 895 1123 914Q1098 933 1070 933Q1011 933 1011 854V733Q991 830 948 884Q906 937 846 937Q753 937 757 805L761 627Q762 572 734 572Q722 572 709 583Q696 594 675 616Q673 618 671 618Q667 618 664 614Q662 611 663 608Q694 568 719 548Q744 529 772 529Q832 529 829 615L824 786Q823 892 880 892Q917 892 946 850Q976 809 994 731Q1011 653 1011 547Q1011 539 1022 534Q1033 530 1052 530Q1073 530 1078 532Q1082 535 1082 541Q1082 548 1081 566Q1080 584 1080 612L1079 835Q1079 891 1106 891Q1129 891 1168 846Q1169 845 1171 845Z M1205 870Q1205 854 1214 846Q1224 838 1239 838Q1252 838 1262 846Q1272 853 1284 868Q1302 889 1317 899Q1332 909 1357 909Q1408 909 1408 857Q1407 821 1383 796Q1359 772 1312 742Q1264 711 1241 687Q1218 663 1218 627Q1218 585 1257 556Q1296 528 1350 528Q1394 528 1424 543Q1455 558 1455 582Q1456 596 1446 604Q1437 613 1423 613Q1407 613 1396 606Q1386 599 1374 585Q1358 568 1346 560Q1334 552 1312 552Q1269 552 1269 590Q1269 621 1292 644Q1315 666 1361 697Q1411 730 1436 756Q1461 782 1461 819Q1461 847 1444 874Q1427 901 1396 918Q1364 935 1322 935Q1278 935 1242 916Q1206 897 1205 870Z M1986 846Q1989 846 1992 850Q1995 853 1994 855Q1962 896 1938 914Q1915 933 1887 933Q1828 933 1828 848L1830 676Q1830 570 1774 570Q1738 570 1708 610Q1679 650 1661 728Q1643 806 1642 915Q1642 923 1632 928Q1621 932 1601 932Q1575 932 1571 925Q1571 922 1572 899Q1574 876 1574 850L1579 314Q1581 263 1547 263Q1529 263 1498 278H1497Q1493 278 1490 273Q1488 268 1492 266L1632 199H1634Q1637 199 1641 202Q1645 205 1645 207L1643 730Q1663 633 1706 579Q1748 525 1807 525Q1898 525 1897 657L1896 835Q1895 890 1923 890Q1944 890 1982 847Q1983 846 1986 846Z"/></svg>';
1231
+
1232
+ var ASH_LOCKUP = '<a class="ash-lock" href="https://getrush.ai" aria-label="Rush by Phoenix">' +
1233
+ '<img class="ash-mark" src="/__brand/phoenix.webp" alt="" width="16" height="26">' +
1234
+ '<span class="ash-words">' + RUSH_WORDMARK + '<span class="ash-by">by Phoenix</span></span></a>';
1235
+
1236
+ // The Share sheet, for every viewer: open and close, the link without view-only
1237
+ // query parameters (a protected page keeps its key, k, so the link still opens),
1238
+ // and the copy control, which answers with a check for 1.4 s. The owner script
1239
+ // closes the sheet through root.__ashClose after a pick.
1240
+ var ASH_SHARE_JS = '(function(){' +
1241
+ 'var root = document.querySelector(".agents-share-bar");' +
1242
+ 'if(!root) return;' +
1243
+ 'var btn = root.querySelector("[data-ash-share]");' +
1244
+ 'var pop = root.querySelector("[data-ash-pop]");' +
1245
+ 'if(!btn || !pop) return;' +
1246
+ 'function link(){ var k = new URLSearchParams(location.search).get("k"); return location.origin + location.pathname + (k ? "?k=" + encodeURIComponent(k) : ""); }' +
1247
+ 'var url = pop.querySelector("[data-ash-url]");' +
1248
+ 'if(url) url.textContent = link().slice(location.protocol.length + 2);' +
1249
+ 'function isOpen(){ return pop.classList.contains("ash-open"); }' +
1250
+ 'function open(){ pop.classList.add("ash-open"); pop.setAttribute("aria-hidden","false"); btn.setAttribute("aria-expanded","true"); var f = pop.querySelector("[aria-checked=true]") || pop.querySelector("[data-ash-copy]"); if(f) f.focus(); }' +
1251
+ 'function close(back){ if(!isOpen()) return; pop.classList.remove("ash-open"); pop.setAttribute("aria-hidden","true"); btn.setAttribute("aria-expanded","false"); if(back) btn.focus(); }' +
1252
+ 'root.__ashClose = close;' +
1253
+ 'btn.addEventListener("click", function(e){ e.stopPropagation(); if(isOpen()) close(true); else open(); });' +
1254
+ 'pop.addEventListener("click", function(e){ e.stopPropagation(); });' +
1255
+ 'document.addEventListener("click", function(){ close(false); });' +
1256
+ 'document.addEventListener("keydown", function(e){ if(e.key==="Escape") close(true); });' +
1257
+ 'root.addEventListener("focusout", function(e){ if(e.relatedTarget && !root.contains(e.relatedTarget)) close(false); });' +
1258
+ 'var copy = pop.querySelector("[data-ash-copy]");' +
1259
+ 'if(!copy) return;' +
1260
+ 'var icon = copy.querySelector("[data-ash-copy-ic]");' +
1234
1261
  'var idle = icon ? icon.innerHTML : "";' +
1235
1262
  'var timer = 0;' +
1236
- 'function link(){ var k = new URLSearchParams(location.search).get("k"); return location.origin + location.pathname + (k ? "?k=" + encodeURIComponent(k) : ""); }' +
1237
1263
  'function fallback(text){ var t = document.createElement("textarea"); t.value = text; t.setAttribute("readonly", ""); t.style.position = "fixed"; t.style.opacity = "0"; document.body.appendChild(t); t.select(); var ok = false; try { ok = document.execCommand("copy"); } catch (e) {} t.remove(); return ok; }' +
1238
- 'function show(ok){ clearTimeout(timer); btn.classList.toggle("ash-done", ok); if(label) label.textContent = ok ? "Copied" : "Copy failed"; if(icon && ok) icon.innerHTML = ' + JSON.stringify(CHECK_ICON) + '; timer = setTimeout(function(){ btn.classList.remove("ash-done"); if(label) label.textContent = "Copy link"; if(icon) icon.innerHTML = idle; }, 1400); }' +
1239
- 'btn.addEventListener("click", function(){ var text = link(); if(navigator.clipboard && navigator.clipboard.writeText){ navigator.clipboard.writeText(text).then(function(){ show(true); }, function(){ show(fallback(text)); }); } else { show(fallback(text)); } });' +
1264
+ 'function show(ok){ clearTimeout(timer); copy.classList.toggle("ash-done", ok); copy.setAttribute("aria-label", ok ? "Copied" : "Copy failed"); copy.title = ok ? "Copied" : "Copy failed"; if(icon && ok) icon.innerHTML = ' + JSON.stringify(CHECK_ICON) + '; timer = setTimeout(function(){ copy.classList.remove("ash-done"); copy.setAttribute("aria-label","Copy link"); copy.title = "Copy link"; if(icon) icon.innerHTML = idle; }, 1400); }' +
1265
+ 'copy.addEventListener("click", function(){ var text = link(); if(navigator.clipboard && navigator.clipboard.writeText){ navigator.clipboard.writeText(text).then(function(){ show(true); }, function(){ show(fallback(text)); }); } else { show(fallback(text)); } });' +
1240
1266
  '})();';
1241
1267
 
1242
- // The owner-only script that turns the visibility chip into a live control. It
1243
- // reads each level's icon, colour and label from the rendered menu DOM (no
1244
- // embedded config), then PATCHes the SAME in-place edit route the CLI uses,
1245
- // method PATCH, JSON body { visibility }, with credentials:'include' so the
1246
- // viewer's __share cookie / Phoenix identity rides. Optimistic: the chip flips
1247
- // and "Saving…" shows beside it, then "Saved"; on failure the chip reverts and
1248
- // the server's error text shows in a note under the chip (an org-on-public-inbox
1249
- // 400 surfaces verbatim). The share page sets no CSP, so inline JS is fine.
1268
+ // The owner-only script behind the visibility levels in the Share sheet. It
1269
+ // reads each level's icon and colour from the rendered rows (no embedded
1270
+ // config), then PATCHes the SAME in-place edit route the CLI uses, method PATCH,
1271
+ // JSON body { visibility }, with credentials:'include' so the viewer's __share
1272
+ // cookie / Phoenix identity rides. Optimistic: the Share button's icon flips and
1273
+ // "Saving…" shows beside it, then "Saved"; on failure the icon reverts and the
1274
+ // server's error text shows in a note under it (an org-on-public-inbox 400
1275
+ // surfaces verbatim). The share page sets no CSP, so inline JS is fine.
1250
1276
  var ASH_OWNER_JS = '(function(){' +
1251
1277
  'var root = document.querySelector(".agents-share-bar");' +
1252
1278
  'if(!root) return;' +
@@ -1255,18 +1281,10 @@ var ASH_OWNER_JS = '(function(){' +
1255
1281
  'var save = root.querySelector("[data-ash-save]");' +
1256
1282
  'var note = root.querySelector("[data-ash-note]");' +
1257
1283
  'if(!chip || !menu || !save || !note) return;' +
1258
- 'var labelEl = chip.querySelector("[data-ash-label]");' +
1259
1284
  'var chipIc = chip.querySelector("[data-ash-cic]");' +
1260
1285
  'var busy = false, saveTimer = 0, noteTimer = 0;' +
1261
1286
  'function opts(){ return menu.querySelectorAll("[data-ash-opt]"); }' +
1262
1287
  'function currentKey(){ var s = menu.querySelector("[aria-checked=true]"); return s ? s.getAttribute("data-ash-opt") : ""; }' +
1263
- 'function isOpen(){ return menu.classList.contains("ash-open"); }' +
1264
- 'function open(){ menu.classList.add("ash-open"); menu.setAttribute("aria-hidden","false"); chip.setAttribute("aria-expanded","true"); var s = menu.querySelector("[aria-checked=true]") || opts()[0]; if(s) s.focus(); }' +
1265
- 'function close(back){ if(!isOpen()) return; menu.classList.remove("ash-open"); menu.setAttribute("aria-hidden","true"); chip.setAttribute("aria-expanded","false"); if(back) chip.focus(); }' +
1266
- 'chip.addEventListener("click", function(e){ e.stopPropagation(); if(isOpen()) close(true); else open(); });' +
1267
- 'menu.addEventListener("click", function(e){ e.stopPropagation(); });' +
1268
- 'document.addEventListener("click", function(){ close(false); });' +
1269
- 'document.addEventListener("keydown", function(e){ if(e.key==="Escape") close(true); });' +
1270
1288
  'menu.addEventListener("keydown", function(e){ if(e.key!=="ArrowDown" && e.key!=="ArrowUp") return; e.preventDefault(); var a = Array.prototype.slice.call(opts()); var i = a.indexOf(document.activeElement); var n = a[(i + (e.key==="ArrowDown" ? 1 : a.length - 1)) % a.length]; if(n) n.focus(); });' +
1271
1289
  'function draw(key){' +
1272
1290
  'var sel = null, a = opts();' +
@@ -1275,12 +1293,12 @@ var ASH_OWNER_JS = '(function(){' +
1275
1293
  'var ic = sel.querySelector(".ash-oic");' +
1276
1294
  'if(chipIc && ic){ chipIc.innerHTML = ic.innerHTML; chipIc.style.color = ic.style.color; }' +
1277
1295
  'var b = sel.querySelector("b");' +
1278
- 'if(labelEl && b){ labelEl.textContent = b.textContent; chip.setAttribute("title", b.textContent); }' +
1296
+ 'if(b) chip.setAttribute("title", b.textContent);' +
1279
1297
  '}' +
1280
1298
  'function status(html, cls){ clearTimeout(saveTimer); save.innerHTML = html; save.className = "ash-save" + (html ? " ash-on" : "") + (cls ? " " + cls : ""); }' +
1281
1299
  'function fail(msg){ status("", ""); clearTimeout(noteTimer); note.textContent = msg; note.classList.add("ash-on"); noteTimer = setTimeout(function(){ note.classList.remove("ash-on"); }, 5000); }' +
1282
1300
  'function pick(key){' +
1283
- 'close(true);' +
1301
+ 'if(root.__ashClose) root.__ashClose(true);' +
1284
1302
  'var prev = currentKey();' +
1285
1303
  'if(busy || !key || key===prev) return;' +
1286
1304
  'busy = true;' +
@@ -1364,6 +1382,7 @@ function visibilityLevels(orgDomain) {
1364
1382
  ];
1365
1383
  }
1366
1384
 
1385
+ // The owner's levels inside the Share sheet.
1367
1386
  function renderVisibilityMenu(current, orgDomain) {
1368
1387
  var rows = visibilityLevels(orgDomain).map(function (l) {
1369
1388
  var on = l.key === current;
@@ -1372,7 +1391,7 @@ function renderVisibilityMenu(current, orgDomain) {
1372
1391
  '<span class="ash-opt-t"><b>' + l.label + '</b><span>' + l.desc + '</span></span>' +
1373
1392
  '<span class="ash-chk">' + CHECK_ICON + '</span></button>';
1374
1393
  }).join('');
1375
- return '<div class="ash-menu" data-ash-menu role="menu" aria-label="Who can open this" aria-hidden="true"><h4>Who can open this</h4>' + rows + '</div>';
1394
+ return '<div class="ash-menu" data-ash-menu role="menu" aria-label="Who can open this"><h4>Who can open this</h4>' + rows + '</div>';
1376
1395
  }
1377
1396
 
1378
1397
  // The transcript status of a video share, in the bar: a pulsing dot while the
@@ -1382,10 +1401,10 @@ function renderVisibilityMenu(current, orgDomain) {
1382
1401
  function renderMediaPill(media) {
1383
1402
  if (!media) return '';
1384
1403
  if (media.state === 'ready') {
1385
- return '<a class="ash-job ash-job-ready" href="#mv-transcript"><span class="ash-jdot"></span><span class="ash-jtxt">Transcript</span></a>';
1404
+ return '<a class="ash-job ash-job-ready" href="#mv-transcript" aria-label="Transcript"><span class="ash-jdot"></span><span class="ash-jtxt">Transcript</span></a>';
1386
1405
  }
1387
1406
  if (media.state === 'failed') {
1388
- return '<a class="ash-job ash-job-fail" href="#mv-status" title="The transcript could not be made"><span class="ash-jdot"></span><span class="ash-jtxt">No transcript</span></a>';
1407
+ return '<a class="ash-job ash-job-fail" href="#mv-status" title="The transcript could not be made" aria-label="No transcript"><span class="ash-jdot"></span><span class="ash-jtxt">No transcript</span></a>';
1389
1408
  }
1390
1409
  var doing = media.stage === 'summary' ? 'Summarizing' : media.stage === 'listing' ? 'Finalizing' : 'Transcribing';
1391
1410
  return '<span class="ash-job ash-job-run" role="status"><span class="ash-jdot"></span><span class="ash-jtxt">' + doing + '</span></span>';
@@ -1395,12 +1414,10 @@ function renderOwnerScript() {
1395
1414
  return '<script>' + ASH_OWNER_JS + '</script>';
1396
1415
  }
1397
1416
 
1398
- var ASH_KIND_LABEL = { video: 'Video', image: 'Image', audio: 'Audio', pdf: 'PDF' };
1399
-
1400
- // opts: { isOwner, ownerDomain, views, uploaded, title, kind, media } — all
1401
- // optional. isOwner turns the visibility chip into a live control and injects
1402
- // the owner-only CSS/JS. title overrides the stored label (a video's summary
1403
- // title); kind tags a non-HTML asset; media adds the transcript status.
1417
+ // opts: { isOwner, ownerDomain, views, uploaded, title, media } — all optional.
1418
+ // isOwner makes the levels in the Share sheet a live control and injects the
1419
+ // owner-only CSS/JS. title overrides the stored label (a video's summary
1420
+ // title); media adds the transcript status.
1404
1421
  function renderAttributionBar(meta, handle, opts) {
1405
1422
  var o = opts || {};
1406
1423
  var cm = meta || {};
@@ -1408,38 +1425,44 @@ function renderAttributionBar(meta, handle, opts) {
1408
1425
  var chip = visibilityChip(visibility, cm.org_domain);
1409
1426
  var avatar = renderAvatar(handle, cm.avatar);
1410
1427
 
1411
- // Who and what: the handle (already the public URL namespace, so surfacing it
1412
- // leaks nothing new) and the share's name.
1413
1428
  var title = o.title || cm.label || '';
1414
- var id = '';
1415
- if (handle) id += '<span class="ash-handle">' + escapeHtml(handle) + '</span>';
1416
- if (handle && title) id += '<span class="ash-slash">/</span>';
1417
- if (title) id += '<span class="ash-title" title="' + escapeHtml(title) + '">' + escapeHtml(title) + '</span>';
1418
- var kind = o.kind && ASH_KIND_LABEL[o.kind] ? '<span class="ash-kind">' + ASH_KIND_LABEL[o.kind] + '</span>' : '';
1429
+ var titleHtml = title ? '<span class="ash-div" aria-hidden="true"></span><span class="ash-title" title="' + escapeHtml(title) + '">' + escapeHtml(title) + '</span>' : '';
1419
1430
 
1420
1431
  // When: the object's upload time as "2h ago", else the stamped date.
1421
1432
  var when = o.uploaded ? relativeTime(o.uploaded) : '';
1422
- var whenTitle = cm.date || (o.uploaded instanceof Date ? o.uploaded.toISOString() : '');
1423
- var meta1 = '';
1424
- if (when) meta1 = '<span class="ash-meta ash-when" title="' + escapeHtml(whenTitle) + '">Updated <b>' + escapeHtml(when) + '</b></span>';
1425
- else if (cm.date) meta1 = '<span class="ash-meta ash-when">' + escapeHtml(cm.date) + '</span>';
1426
- var views = o.views != null
1427
- ? '<span class="ash-meta ash-views" title="Views">' + STAT_EYE_ICON + '<b>' + escapeHtml(String(o.views)) + '</b><span class="ash-vw">' + (Number(o.views) === 1 ? 'view' : 'views') + '</span></span>'
1428
- : '';
1429
-
1430
- // The visibility chip: a live control for the owner, a static cue otherwise.
1431
- var chipInner = '<span class="ash-cic" data-ash-cic style="color:' + chip.color + '">' + chip.icon + '</span><span class="ash-clbl" data-ash-label>' + chip.label + '</span>';
1432
- var chipHtml, menu = '', script = '', ownerBits = '';
1433
+ var whenText = when ? 'Updated ' + when : (cm.date || '');
1434
+
1435
+ // The sharer, credited on the avatar. The handle is already the public URL
1436
+ // namespace, so surfacing it leaks nothing new.
1437
+ var who = '';
1438
+ if (handle) {
1439
+ var tip = 'Shared by <b class="ash-handle">' + escapeHtml(handle) + '</b>' + (whenText ? ' · ' + escapeHtml(whenText) : '');
1440
+ who = '<span class="ash-who" tabindex="0" aria-label="' + escapeHtml('Shared by ' + handle + (whenText ? ', ' + whenText : '')) + '">' + avatar + '<span class="ash-tip">' + tip + '</span></span>';
1441
+ }
1442
+
1443
+ // Share: the visibility icon on the button; the sheet holds the link, who can
1444
+ // open it (a live control for the owner, one line otherwise) and the stats.
1445
+ var cic = '<span class="ash-cic" data-ash-cic style="color:' + chip.color + '">' + chip.icon + '</span>';
1446
+ var levels, script = '', ownerBits = '', note = '';
1433
1447
  if (o.isOwner) {
1434
- chipHtml = '<button type="button" class="ash-chip ash-chip-own" data-ash-chip aria-haspopup="menu" aria-expanded="false" title="' + chip.label + '">' + chipInner + CARET_ICON + '</button>';
1435
- menu = renderVisibilityMenu(visibility, o.ownerDomain);
1448
+ levels = renderVisibilityMenu(visibility, o.ownerDomain);
1436
1449
  script = renderOwnerScript();
1437
1450
  ownerBits = '<span class="ash-save" data-ash-save aria-live="polite"></span>';
1451
+ note = '<span class="ash-note" data-ash-note role="alert"></span>';
1438
1452
  } else {
1439
- chipHtml = '<span class="ash-chip" title="' + chip.label + '">' + chipInner + '</span>';
1453
+ levels = '<p class="ash-ro">' + cic.replace(' data-ash-cic', '') + '<span>' + chip.label + '</span></p>';
1440
1454
  }
1441
-
1442
- var copy = '<button type="button" class="ash-copy" data-ash-copy aria-label="Copy link"><span class="ash-cpi" data-ash-copy-ic>' + LINK_ICON + '</span><span class="ash-cpl" data-ash-copy-label>Copy link</span></button>';
1455
+ var stats = [];
1456
+ if (o.views != null) stats.push(STAT_EYE_ICON + '<b>' + escapeHtml(String(o.views)) + '</b>&nbsp;' + (Number(o.views) === 1 ? 'view' : 'views'));
1457
+ if (whenText) stats.push('<span title="' + escapeHtml(cm.date || '') + '">' + escapeHtml(whenText) + '</span>');
1458
+ var foot = stats.length ? '<p class="ash-foot">' + stats.join('<span class="ash-sep">·</span>') + '</p>' : '';
1459
+ var share = '<span class="ash-vis">' +
1460
+ '<button type="button" class="ash-share" data-ash-share' + (o.isOwner ? ' data-ash-chip' : '') + ' aria-label="Share" aria-haspopup="dialog" aria-expanded="false" title="' + chip.label + '">' + cic + '<span class="ash-sl" aria-hidden="true">Share</span></button>' +
1461
+ '<div class="ash-pop" data-ash-pop role="dialog" aria-label="Share" aria-hidden="true">' +
1462
+ '<div class="ash-link"><span class="ash-url" data-ash-url></span>' +
1463
+ '<button type="button" class="ash-copy" data-ash-copy aria-label="Copy link" title="Copy link"><span class="ash-cpi" data-ash-copy-ic>' + COPY_ICON + '</span></button></div>' +
1464
+ levels + foot +
1465
+ '</div>' + note + '</span>';
1443
1466
 
1444
1467
  // The load-bearing background + base colour ride an INLINE style so the host
1445
1468
  // page's own CSS can never wash the bar out (inline beats a page stylesheet);
@@ -1450,17 +1473,14 @@ function renderAttributionBar(meta, handle, opts) {
1450
1473
  return '<div class="agents-share-bar" role="contentinfo" aria-label="Sharing details" ' +
1451
1474
  'style="background:rgba(9,9,11,.92) !important;color:#e4e4e7 !important">' +
1452
1475
  '<style>' + ASH_FONT_CSS + ASH_BAR_CSS + (o.isOwner ? OWNER_BAR_CSS : '') + '</style>' +
1453
- '<span class="ash-who">' + avatar + '<span class="ash-id">' + id + '</span>' + kind + '</span>' +
1454
- '<span class="ash-right">' + meta1 + views + renderMediaPill(o.media) + ownerBits +
1455
- '<span class="ash-vis">' + chipHtml + menu + (o.isOwner ? '<span class="ash-note" data-ash-note role="alert"></span>' : '') + '</span>' +
1456
- copy +
1457
- '</span>' +
1476
+ '<span class="ash-left">' + ASH_LOCKUP + titleHtml + '</span>' +
1477
+ '<span class="ash-right">' + renderMediaPill(o.media) + ownerBits + share + who + '</span>' +
1458
1478
  '</div>' +
1459
- '<script>' + ASH_COPY_JS + '</script>' +
1479
+ '<script>' + ASH_SHARE_JS + '</script>' +
1460
1480
  script;
1461
1481
  }
1462
1482
 
1463
- // The bar's faces, served by this Worker (handleFont). Bar-private family names
1483
+ // The bar's faces, served by this Worker (handleBarAsset). Bar-private family names
1464
1484
  // so a page's own Inter or Jost is never replaced.
1465
1485
  var ASH_FONT_CSS =
1466
1486
  '@font-face{font-family:"ash-inter";src:url(/__fonts/inter.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}' +
@@ -1474,28 +1494,23 @@ var ASH_BAR_CSS =
1474
1494
  // it below this bar so its header and Close button stay reachable. Below
1475
1495
  // 981px it is a bottom sheet and needs nothing.
1476
1496
  '@media(min-width:981px){.collab-rail{top:' + ASH_BAR_HEIGHT + 'px !important;height:calc(100vh - ' + ASH_BAR_HEIGHT + 'px) !important}}' +
1477
- '.agents-share-bar{all:initial;position:fixed !important;top:0 !important;left:0 !important;right:0 !important;width:100% !important;height:' + ASH_BAR_HEIGHT + 'px;z-index:2147483647 !important;box-sizing:border-box;display:flex !important;align-items:center;gap:12px;padding:0 14px;' +
1497
+ '.agents-share-bar{all:initial;position:fixed !important;top:0 !important;left:0 !important;right:0 !important;width:100% !important;height:' + ASH_BAR_HEIGHT + 'px;z-index:2147483647 !important;box-sizing:border-box;display:flex !important;align-items:center;gap:12px;padding:0 12px 0 16px;' +
1478
1498
  '-webkit-backdrop-filter:blur(28px) saturate(1.3);backdrop-filter:blur(28px) saturate(1.3);border-bottom:1px solid rgba(255,255,255,.07) !important;box-shadow:0 10px 30px -18px rgba(0,0,0,.8);' +
1479
1499
  'font:13px/1.2 "ash-inter",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif !important;-webkit-font-smoothing:antialiased}' +
1480
1500
  '.agents-share-bar *{box-sizing:border-box;font-family:inherit;letter-spacing:normal;text-transform:none}' +
1481
1501
  '.agents-share-bar svg{flex:none;display:block}' +
1482
1502
  '.agents-share-bar button{margin:0;font:inherit;-webkit-appearance:none;appearance:none}' +
1483
- '.agents-share-bar button:focus-visible,.agents-share-bar a:focus-visible{outline:2px solid #c9a962 !important;outline-offset:2px}' +
1484
- '.agents-share-bar .ash-who{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:10px}' +
1485
- '.agents-share-bar .ash-avatar{flex:none;position:relative;width:26px;height:26px;border-radius:6px !important;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;color:#fff !important;font-weight:600;font-size:12px;line-height:1;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}' +
1486
- '.agents-share-bar .ash-av-i{color:#fff !important}' +
1487
- '.agents-share-bar .ash-av-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:6px !important}' +
1488
- '.agents-share-bar .ash-id{display:flex;align-items:baseline;gap:7px;min-width:0;white-space:nowrap}' +
1489
- '.agents-share-bar .ash-handle{flex:none;color:#a1a1aa !important;font-weight:500}' +
1490
- '.agents-share-bar .ash-slash{flex:none;color:#52525b !important}' +
1491
- '.agents-share-bar .ash-title{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#fafafa !important;font:500 15px/1.2 "ash-jost",Jost,"ash-inter",system-ui,sans-serif !important}' +
1492
- '.agents-share-bar .ash-kind{flex:none;color:#a1a1aa !important;background:rgba(255,255,255,.06) !important;border-radius:5px;padding:4px 6px;font-size:10.5px;font-weight:500;line-height:1;letter-spacing:.06em;text-transform:uppercase}' +
1493
- '.agents-share-bar .ash-right{flex:none;display:flex;align-items:center;gap:10px}' +
1494
- '.agents-share-bar .ash-meta{display:inline-flex;align-items:center;gap:5px;color:#a1a1aa !important;font-size:12px;white-space:nowrap}' +
1495
- '.agents-share-bar .ash-meta b{color:#e4e4e7 !important;font-weight:500;font-variant-numeric:tabular-nums}' +
1496
- '.agents-share-bar .ash-views{padding-left:10px;border-left:1px solid rgba(255,255,255,.08)}' +
1497
- '.agents-share-bar .ash-views svg{opacity:.8}' +
1498
- '.agents-share-bar .ash-job{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:500;white-space:nowrap;text-decoration:none !important;background:rgba(255,255,255,.06) !important;color:#e4e4e7 !important}' +
1503
+ '.agents-share-bar button:focus-visible,.agents-share-bar a:focus-visible,.agents-share-bar .ash-who:focus-visible{outline:2px solid #c9a962 !important;outline-offset:2px}' +
1504
+ '.agents-share-bar .ash-left{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:14px}' +
1505
+ '.agents-share-bar .ash-lock{flex:none;display:inline-flex;align-items:center;gap:8px;text-decoration:none !important}' +
1506
+ '.agents-share-bar .ash-mark{display:block;width:auto;height:26px;transition:transform .22s cubic-bezier(.22,1,.36,1)}' +
1507
+ '.agents-share-bar .ash-lock:hover .ash-mark{transform:translateY(-2px)}' +
1508
+ '.agents-share-bar .ash-words{display:flex;flex-direction:column;align-items:flex-start;gap:3px}' +
1509
+ '.agents-share-bar .ash-by{font:500 7px/1 "ash-jost",Jost,"ash-inter",sans-serif !important;letter-spacing:.32em !important;text-transform:uppercase !important;color:#e4e4e7 !important}' +
1510
+ '.agents-share-bar .ash-div{flex:none;width:1px;height:18px;background:rgba(255,255,255,.1) !important}' +
1511
+ '.agents-share-bar .ash-title{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#e4e4e7 !important;font:500 14px/1.2 "ash-jost",Jost,"ash-inter",system-ui,sans-serif !important}' +
1512
+ '.agents-share-bar .ash-right{flex:none;display:flex;align-items:center;gap:8px}' +
1513
+ '.agents-share-bar .ash-job{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:500;white-space:nowrap;text-decoration:none !important;background:rgba(255,255,255,.06) !important;color:#e4e4e7 !important}' +
1499
1514
  '.agents-share-bar .ash-jdot{width:6px;height:6px;border-radius:50%;flex:none}' +
1500
1515
  '.agents-share-bar .ash-job-run .ash-jdot{background:#fbbf24;animation:ash-pulse 2s cubic-bezier(.4,0,.6,1) infinite}' +
1501
1516
  '.agents-share-bar .ash-job-ready .ash-jdot{background:#34d399}' +
@@ -1505,30 +1520,42 @@ var ASH_BAR_CSS =
1505
1520
  '.agents-share-bar .ash-job-fail .ash-jdot{background:#fb7185}' +
1506
1521
  '@keyframes ash-pulse{0%,100%{opacity:1}50%{opacity:.4}}' +
1507
1522
  '.agents-share-bar .ash-vis{position:relative;display:inline-flex}' +
1508
- '.agents-share-bar .ash-chip{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 10px 0 9px;border-radius:999px;border:1px solid rgba(255,255,255,.1) !important;background:rgba(255,255,255,.05) !important;color:#e4e4e7 !important;font-size:12.5px;font-weight:500;white-space:nowrap}' +
1523
+ '.agents-share-bar .ash-share{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 13px 0 11px;border-radius:999px;border:1px solid rgba(255,255,255,.1) !important;background:rgba(255,255,255,.05) !important;color:#fafafa !important;font-size:13px;font-weight:500;white-space:nowrap;cursor:pointer;transition:background .15s cubic-bezier(.22,1,.36,1),border-color .15s cubic-bezier(.22,1,.36,1)}' +
1524
+ '.agents-share-bar .ash-share:hover,.agents-share-bar .ash-share[aria-expanded="true"]{background:rgba(255,255,255,.09) !important;border-color:rgba(255,255,255,.16) !important}' +
1509
1525
  '.agents-share-bar .ash-cic{display:inline-flex}' +
1510
- '.agents-share-bar .ash-copy{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border:0;border-radius:999px;cursor:pointer;background:#fafafa !important;color:#09090b !important;font-size:12.5px;font-weight:600;white-space:nowrap;box-shadow:0 6px 18px -8px rgba(255,255,255,.35);transition:background .15s cubic-bezier(.22,1,.36,1),color .15s cubic-bezier(.22,1,.36,1)}' +
1511
- '.agents-share-bar .ash-copy:hover{background:#fff !important}' +
1512
- '.agents-share-bar .ash-copy.ash-done{background:rgba(16,185,129,.18) !important;color:#a7f3d0 !important;box-shadow:none}' +
1526
+ '.agents-share-bar .ash-pop{position:absolute !important;top:calc(100% + 8px);right:0;width:320px;max-width:calc(100vw - 20px);padding:6px;border-radius:16px;z-index:2147483647;text-align:left;' +
1527
+ 'background:rgba(18,18,21,.95) !important;-webkit-backdrop-filter:blur(28px) saturate(1.3);backdrop-filter:blur(28px) saturate(1.3);border:1px solid rgba(255,255,255,.1) !important;box-shadow:0 24px 60px -12px rgba(0,0,0,.75);' +
1528
+ 'visibility:hidden;opacity:0;transform:translateY(-4px);transition:opacity .18s cubic-bezier(.22,1,.36,1),transform .18s cubic-bezier(.22,1,.36,1),visibility 0s linear .18s}' +
1529
+ '.agents-share-bar .ash-pop.ash-open{visibility:visible;opacity:1;transform:none;transition-delay:0s}' +
1530
+ '.agents-share-bar .ash-link{display:flex;align-items:center;gap:6px;height:40px;margin:2px 2px 6px;padding:0 4px 0 12px;border-radius:12px;border:1px solid rgba(255,255,255,.08) !important;background:rgba(255,255,255,.03) !important}' +
1531
+ '.agents-share-bar .ash-url{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#a1a1aa !important;font-size:12px}' +
1532
+ '.agents-share-bar .ash-copy{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:30px;border:0;border-radius:9px;cursor:pointer;background:transparent !important;color:#d4d4d8 !important;transition:background .15s cubic-bezier(.22,1,.36,1),color .15s cubic-bezier(.22,1,.36,1)}' +
1533
+ '.agents-share-bar .ash-copy:hover{background:rgba(255,255,255,.08) !important;color:#fafafa !important}' +
1534
+ '.agents-share-bar .ash-copy.ash-done{color:#6ee7b7 !important}' +
1513
1535
  '.agents-share-bar .ash-cpi{display:inline-flex}' +
1514
- '@media(max-width:760px){.agents-share-bar .ash-when,.agents-share-bar .ash-vw{display:none}.agents-share-bar .ash-views{padding-left:0;border-left:0}}' +
1536
+ '.agents-share-bar .ash-ro{display:flex;align-items:center;gap:9px;margin:0;padding:6px 12px 8px;font-size:13px;color:#d4d4d8 !important}' +
1537
+ '.agents-share-bar .ash-foot{display:flex;align-items:center;gap:6px;margin:6px 0 0;padding:10px 12px 6px;border-top:1px solid rgba(255,255,255,.08) !important;font-size:12px;color:#a1a1aa !important}' +
1538
+ '.agents-share-bar .ash-foot b{color:#e4e4e7 !important;font-weight:500;font-variant-numeric:tabular-nums}' +
1539
+ '.agents-share-bar .ash-sep{opacity:.5}' +
1540
+ '.agents-share-bar .ash-who{position:relative;flex:none;display:inline-flex;border-radius:7px;cursor:default}' +
1541
+ '.agents-share-bar .ash-avatar{flex:none;position:relative;width:28px;height:28px;border-radius:6.3px !important;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;color:#fff !important;font-weight:600;font-size:12px;line-height:1;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}' +
1542
+ '.agents-share-bar .ash-av-i{color:#fff !important}' +
1543
+ '.agents-share-bar .ash-av-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:6.3px !important}' +
1544
+ '.agents-share-bar .ash-tip{position:absolute !important;top:calc(100% + 10px);right:0;white-space:nowrap;padding:7px 10px;border-radius:10px;font-size:12px;color:#d4d4d8 !important;background:rgba(18,18,21,.95) !important;border:1px solid rgba(255,255,255,.1) !important;opacity:0;visibility:hidden;transition:opacity .15s cubic-bezier(.22,1,.36,1)}' +
1545
+ '.agents-share-bar .ash-tip b{color:#fafafa !important;font-weight:600}' +
1546
+ '.agents-share-bar .ash-who:hover .ash-tip,.agents-share-bar .ash-who:focus-visible .ash-tip{opacity:1;visibility:visible}' +
1515
1547
  '@media(max-width:560px){.agents-share-bar{gap:8px;padding:0 10px}' +
1516
- '.agents-share-bar .ash-handle,.agents-share-bar .ash-slash,.agents-share-bar .ash-kind,.agents-share-bar .ash-views,.agents-share-bar .ash-jtxt,.agents-share-bar .ash-clbl,.agents-share-bar .ash-caret{display:none}' +
1517
- '.agents-share-bar .ash-chip{width:28px;padding:0;justify-content:center}.agents-share-bar .ash-copy{padding:0 10px}.agents-share-bar .ash-job{padding:0 10px}}' +
1548
+ // On a phone the sheet spans the viewport under the bar, so it never clips
1549
+ // off the left edge the way a sheet right-aligned to Share would.
1550
+ '.agents-share-bar .ash-pop,.agents-share-bar .ash-note{position:fixed !important;top:' + (ASH_BAR_HEIGHT + 6) + 'px;left:10px;right:10px;width:auto;max-width:none}' +
1551
+ '.agents-share-bar .ash-div,.agents-share-bar .ash-title,.agents-share-bar .ash-jtxt,.agents-share-bar .ash-sl{display:none}' +
1552
+ '.agents-share-bar .ash-share{width:30px;padding:0;justify-content:center}.agents-share-bar .ash-job{padding:0 10px}}' +
1518
1553
  '@media(prefers-reduced-motion:reduce){.agents-share-bar *{animation:none !important;transition:none !important}}';
1519
1554
 
1520
- // Owner-only chip/menu/status styling, added to the bar's <style> only when the
1521
- // viewer owns the namespace. The menu is a glass sheet under the chip.
1555
+ // Owner-only styling for the levels in the Share sheet and the save status,
1556
+ // added to the bar's <style> only when the viewer owns the namespace.
1522
1557
  var OWNER_BAR_CSS =
1523
- '.agents-share-bar .ash-chip-own{cursor:pointer;transition:background .15s cubic-bezier(.22,1,.36,1),border-color .15s cubic-bezier(.22,1,.36,1)}' +
1524
- '.agents-share-bar .ash-chip-own:hover{background:rgba(255,255,255,.09) !important;border-color:rgba(255,255,255,.16) !important}' +
1525
- '.agents-share-bar .ash-caret{opacity:.55;transition:transform .2s cubic-bezier(.22,1,.36,1)}' +
1526
- '.agents-share-bar .ash-chip-own[aria-expanded="true"] .ash-caret{transform:rotate(180deg)}' +
1527
- '.agents-share-bar .ash-menu{position:absolute !important;top:calc(100% + 8px);right:0;width:300px;max-width:calc(100vw - 20px);padding:6px;border-radius:16px;z-index:2147483647;text-align:left;' +
1528
- 'background:rgba(18,18,21,.95) !important;-webkit-backdrop-filter:blur(28px) saturate(1.3);backdrop-filter:blur(28px) saturate(1.3);border:1px solid rgba(255,255,255,.1) !important;box-shadow:0 24px 60px -12px rgba(0,0,0,.75);' +
1529
- 'visibility:hidden;opacity:0;transform:translateY(-4px);transition:opacity .18s cubic-bezier(.22,1,.36,1),transform .18s cubic-bezier(.22,1,.36,1),visibility 0s linear .18s}' +
1530
- '.agents-share-bar .ash-menu.ash-open{visibility:visible;opacity:1;transform:none;transition-delay:0s}' +
1531
- '.agents-share-bar .ash-menu h4{margin:6px 10px;font-size:10.5px;font-weight:500;line-height:1;letter-spacing:.12em;text-transform:uppercase;color:#71717a !important}' +
1558
+ '.agents-share-bar .ash-menu h4{margin:8px 10px 6px;font-size:10.5px;font-weight:500;line-height:1;letter-spacing:.12em;text-transform:uppercase;color:#71717a !important}' +
1532
1559
  '.agents-share-bar .ash-opt{display:grid;grid-template-columns:28px 1fr 16px;gap:10px;align-items:start;width:100%;padding:9px 10px;border:0;border-radius:11px;background:none !important;text-align:left;cursor:pointer;color:#e4e4e7 !important;transition:background .15s cubic-bezier(.22,1,.36,1)}' +
1533
1560
  '.agents-share-bar .ash-opt:hover,.agents-share-bar .ash-opt:focus-visible{background:rgba(255,255,255,.05) !important}' +
1534
1561
  '.agents-share-bar .ash-opt[aria-checked="true"]{background:rgba(255,255,255,.07) !important}' +
@@ -1547,15 +1574,22 @@ var OWNER_BAR_CSS =
1547
1574
  'background:rgba(18,18,21,.95) !important;border:1px solid rgba(244,63,94,.35) !important;color:#fecdd3 !important;box-shadow:0 24px 60px -12px rgba(0,0,0,.75);display:none}' +
1548
1575
  '.agents-share-bar .ash-note.ash-on{display:block}';
1549
1576
 
1550
- var BAR_FONTS = { '__fonts/inter.woff2': barInter, '__fonts/jost.woff2': barJost };
1577
+ // The bar's own files: its two faces and the Phoenix mark of the Rush by
1578
+ // Phoenix lockup, bundled into the Worker so a page never loads them elsewhere.
1579
+ var BAR_ASSETS = {
1580
+ '__fonts/inter.woff2': { body: barInter, type: 'font/woff2' },
1581
+ '__fonts/jost.woff2': { body: barJost, type: 'font/woff2' },
1582
+ '__brand/phoenix.webp': { body: barPhoenix, type: 'image/webp' },
1583
+ };
1551
1584
 
1552
- function handleFont(request, path) {
1585
+ function handleBarAsset(request, path) {
1586
+ var asset = BAR_ASSETS[path];
1553
1587
  var headers = {
1554
- 'content-type': 'font/woff2',
1588
+ 'content-type': asset.type,
1555
1589
  'cache-control': 'public, max-age=604800',
1556
1590
  'access-control-allow-origin': '*',
1557
1591
  };
1558
- return new Response(request.method === 'HEAD' ? null : BAR_FONTS[path], { status: 200, headers: headers });
1592
+ return new Response(request.method === 'HEAD' ? null : asset.body, { status: 200, headers: headers });
1559
1593
  }
1560
1594
 
1561
1595
  function injectAttributionBar(html, meta, handle, opts) {
@@ -1600,7 +1634,6 @@ function renderAssetViewer(pathname, kind, meta, handle, opts) {
1600
1634
  var summaryTitle = media && media.summary && media.summary.title ? media.summary.title : '';
1601
1635
  var bar = renderAttributionBar(meta, handle, Object.assign({}, o, {
1602
1636
  title: summaryTitle || (meta && meta.label) || name,
1603
- kind: kind,
1604
1637
  media: media,
1605
1638
  }));
1606
1639
  if (media) {
@@ -1 +1 @@
1
- {"version":3,"file":"worker-template.js","sourceRoot":"","sources":["../../../src/lib/share/worker-template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAqGvE,IAAI,aAAuC,CAAC;AAC5C,IAAI,gBAAoC,CAAC;AAEzC,uFAAuF;AACvF,MAAM,UAAU,kBAAkB;IAChC,IAAI,aAAa;QAAE,OAAO,aAAa,CAAC;IACxC,MAAM,MAAM,GAAG,SAAS,CAAC;QACvB,KAAK,EAAE;YACL,QAAQ,EAAE,kBAAkB,EAAE;YAC9B,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACnD,UAAU,EAAE,wBAAwB;SACrC;QACD,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,QAAQ;QAChB,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,eAAe;QACvB,UAAU,EAAE,eAAe;QAC3B,MAAM,EAAE,IAAI;QACZ,sEAAsE;QACtE,yEAAyE;QACzE,wEAAwE;QACxE,sEAAsE;QACtE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgyB1B,CAAC;AACF,CAAC"}
package/fonts/README.md CHANGED
@@ -20,4 +20,6 @@ supply a resolvable `fonts.files` path. A project face still wins.
20
20
 
21
21
  The share Worker also bundles `InterVariable.woff2` and `Jost-wght.woff2` and
22
22
  serves them at `/__fonts/inter.woff2` and `/__fonts/jost.woff2` for the share
23
- bar and the video page, so a shared page never calls a third-party font host.
23
+ bar and the video page, and `brand/phoenix-gold.webp` (the Phoenix of the Rush by
24
+ Phoenix lockup, from rush/web) at `/__brand/phoenix.webp`, so a shared page never
25
+ calls a third-party host.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phnx-labs/artifacts-cli",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "Your coding agent writes Markdown; artifacts turns it into one polished HTML page you can read, mark up and share as a link.",
5
5
  "homepage": "https://artifacts-cli.sh",
6
6
  "repository": {
@@ -26,6 +26,7 @@
26
26
  "files": [
27
27
  "dist",
28
28
  "fonts",
29
+ "brand",
29
30
  "README.md",
30
31
  "CHANGELOG.md",
31
32
  "LICENSE"