@phnx-labs/artifacts-cli 0.9.11 → 0.9.13

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,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.13 — 2026-10-14
4
+
5
+ - **Comments on share.getrush.ai look like Rush.** The comments panel took each page's own
6
+ theme: bordered monospace buttons, a lime accent, a teal outline. It now matches the
7
+ share bar above it: Inter, the dark Rush palette, gold only on the Post button, the
8
+ quotes and the highlights. Reply and Resolve are quiet text buttons, Open/Resolved is one
9
+ toggle, and Edit and Delete show only on the comment you point at. Every hosted page gets
10
+ it, whatever version rendered it.
11
+
12
+ ## 0.9.12 — 2026-10-14
13
+
14
+ - **Pages published before 0.9.7 show the Comments button.** Their stored review script
15
+ never adopted the share bar's Comments button, so it stayed hidden, and the floating
16
+ Review button it used instead was hidden by the page's own styles. Readers who could
17
+ comment had nothing to click. The share Worker now hides that floating button and drives
18
+ it from the bar's Comments button, which opens and closes comments and shows the count.
19
+
3
20
  ## 0.9.11 — 2026-10-13
4
21
 
5
22
  - **Comments work on share.getrush.ai.** The share Worker's calls to Rush Cloud carried no
@@ -1270,6 +1270,30 @@ var ASH_SHARE_JS = '(function(){' +
1270
1270
  '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)); } });' +
1271
1271
  '})();';
1272
1272
 
1273
+ // Pages rendered before 0.9.7 carry a review script that never looks for the
1274
+ // bar's Comments button: it mounts its own floating Review launcher instead.
1275
+ // The bar CSS hides that launcher and this script drives it, and the rail's
1276
+ // Close, from the bar button, so a stored page gets the same Comments control
1277
+ // as a fresh one without being re-rendered. Closing returns focus to the bar
1278
+ // button, since the legacy rail would focus its now-hidden launcher.
1279
+ // A current page adopts the bar button itself and never makes .collab-launcher.
1280
+ var ASH_LEGACY_REVIEW_JS = '(function(){' +
1281
+ 'var bar = document.querySelector(".agents-share-bar [data-ash-comments]");' +
1282
+ 'if(!bar) return;' +
1283
+ 'function adopt(legacy){' +
1284
+ 'var count = bar.querySelector(".collab-count");' +
1285
+ 'function sync(){ bar.hidden = legacy.hidden; bar.setAttribute("aria-expanded", legacy.getAttribute("aria-expanded") || "false"); var n = legacy.querySelector(".collab-count"); if(count && n) count.textContent = n.textContent; var label = legacy.getAttribute("aria-label"); if(label) bar.setAttribute("aria-label", label); }' +
1286
+ 'new MutationObserver(sync).observe(legacy, { attributes: true, childList: true, subtree: true, characterData: true });' +
1287
+ // That launcher only opens the rail; closing goes through the rail's own Close.
1288
+ 'bar.addEventListener("click", function(){ var close = document.querySelector(".collab-rail .collab-close"); if(legacy.getAttribute("aria-expanded") === "true" && close){ close.click(); bar.focus(); } else legacy.click(); });' +
1289
+ 'sync();' +
1290
+ '}' +
1291
+ 'var found = document.querySelector(".collab-launcher");' +
1292
+ 'if(found){ adopt(found); return; }' +
1293
+ 'var watch = new MutationObserver(function(){ var legacy = document.querySelector(".collab-launcher"); if(legacy){ watch.disconnect(); adopt(legacy); } });' +
1294
+ 'watch.observe(document.body, { childList: true });' +
1295
+ '})();';
1296
+
1273
1297
  // The owner-only script behind the visibility levels in the Share sheet. It
1274
1298
  // reads each level's icon and colour from the rendered rows (no embedded
1275
1299
  // config), then PATCHes the SAME in-place edit route the CLI uses, method PATCH,
@@ -1482,11 +1506,11 @@ function renderAttributionBar(meta, handle, opts) {
1482
1506
  // the bar's height, and nowrap + ellipsis on the title keep the bar one line.
1483
1507
  return '<div class="agents-share-bar" role="contentinfo" aria-label="Sharing details" ' +
1484
1508
  'style="background:rgba(9,9,11,.92) !important;color:#e4e4e7 !important">' +
1485
- '<style>' + ASH_FONT_CSS + ASH_BAR_CSS + (o.isOwner ? OWNER_BAR_CSS : ASH_VISITOR_CSS) + '</style>' +
1509
+ '<style>' + ASH_FONT_CSS + ASH_BAR_CSS + ASH_RAIL_CSS + (o.isOwner ? OWNER_BAR_CSS : ASH_VISITOR_CSS) + '</style>' +
1486
1510
  '<span class="ash-left">' + ASH_LOCKUP + titleHtml + '</span>' +
1487
1511
  '<span class="ash-right">' + renderMediaPill(o.media) + ownerBits + comments + share + who + '</span>' +
1488
1512
  '</div>' +
1489
- '<script>' + ASH_SHARE_JS + '</script>' +
1513
+ '<script>' + ASH_SHARE_JS + ASH_LEGACY_REVIEW_JS + '</script>' +
1490
1514
  script;
1491
1515
  }
1492
1516
 
@@ -1534,6 +1558,7 @@ var ASH_BAR_CSS =
1534
1558
  '@keyframes ash-pulse{0%,100%{opacity:1}50%{opacity:.4}}' +
1535
1559
  '.agents-share-bar .ash-comments{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border:0;border-radius:999px;background:transparent !important;color:#d4d4d8 !important;cursor:pointer;transition:background .15s cubic-bezier(.22,1,.36,1),color .15s cubic-bezier(.22,1,.36,1)}' +
1536
1560
  '.agents-share-bar .ash-comments[hidden]{display:none}' +
1561
+ '.agents-share-bar ~ .collab-launcher{display:none !important}' +
1537
1562
  '.agents-share-bar .ash-comments:hover,.agents-share-bar .ash-comments[aria-expanded="true"]{background:rgba(255,255,255,.08) !important;color:#fafafa !important}' +
1538
1563
  '.agents-share-bar .ash-comments .collab-count{font:500 11.5px/1 "ash-inter",system-ui,sans-serif;font-variant-numeric:tabular-nums;color:inherit !important;background:none !important;padding:0}' +
1539
1564
  '.agents-share-bar .ash-vis{position:relative;display:inline-flex}' +
@@ -1575,6 +1600,64 @@ var ASH_BAR_CSS =
1575
1600
  // and the review rail's "Produced by <agent> · <session>" line (collab.ts).
1576
1601
  // The share credits the person. This declutters; it does not remove the data
1577
1602
  // from the page source.
1603
+ // The review rail (collab.ts) on a hosted page is share chrome, like this bar:
1604
+ // the Rush dark palette, Inter, and one gold accent, whatever theme the page
1605
+ // itself was rendered with. Scoped under the bar so it outranks the rail CSS a
1606
+ // page carries (pages from every artifacts-cli version, without re-rendering)
1607
+ // and never applies to a page opened outside the share host.
1608
+ var ASH_RAIL = '.agents-share-bar ~ .collab-rail';
1609
+ var ASH_RAIL_FONT = '"ash-inter",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif';
1610
+ var ASH_RAIL_CSS =
1611
+ ASH_RAIL + '{background:rgba(12,12,14,.96);-webkit-backdrop-filter:blur(28px) saturate(1.3);backdrop-filter:blur(28px) saturate(1.3);border-left:1px solid rgba(255,255,255,.07);color:#e4e4e7;font:13px/1.55 ' + ASH_RAIL_FONT + ';-webkit-font-smoothing:antialiased}' +
1612
+ ASH_RAIL + ' *{font-family:inherit}' +
1613
+ ASH_RAIL + ' .collab-head{gap:10px;padding:14px 16px 12px;border-bottom:1px solid rgba(255,255,255,.07)}' +
1614
+ ASH_RAIL + ' .collab-head-title{font:500 15px/1.2 "ash-jost",Jost,"ash-inter",sans-serif;letter-spacing:0;text-transform:none;color:#fafafa}' +
1615
+ ASH_RAIL + ' .collab-visibility{margin-left:0;padding:2px 8px;border:0;border-radius:999px;background:rgba(255,255,255,.06);font:500 11px/1.5 ' + ASH_RAIL_FONT + ';color:#a1a1aa}' +
1616
+ ASH_RAIL + ' .collab-close{margin-left:auto}' +
1617
+ // Every control is a quiet text button; the only filled one is the action
1618
+ // that commits (Post comment, Send reply, Save).
1619
+ ASH_RAIL + ' button{height:28px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#a1a1aa;font:500 12px/28px ' + ASH_RAIL_FONT + ';transition:background .15s cubic-bezier(.22,1,.36,1),color .15s cubic-bezier(.22,1,.36,1)}' +
1620
+ ASH_RAIL + ' button:hover{border:0;background:rgba(255,255,255,.07);color:#fafafa}' +
1621
+ ASH_RAIL + ' button:focus-visible{outline:2px solid #c9a962;outline-offset:1px}' +
1622
+ ASH_RAIL + ' button[type=submit]{background:#c9a962;color:#09090b;font-weight:600}' +
1623
+ ASH_RAIL + ' button[type=submit]:hover{background:#d4b872;color:#09090b}' +
1624
+ // Open / Resolved: a segmented control.
1625
+ ASH_RAIL + ' .collab-filters{gap:2px;width:auto;padding:2px;border-radius:9px;background:rgba(255,255,255,.05)}' +
1626
+ ASH_RAIL + ' .collab-filters button{height:24px;padding:0 10px;border-radius:7px;line-height:24px}' +
1627
+ ASH_RAIL + ' .collab-filters button[aria-pressed="true"]{background:rgba(255,255,255,.1);color:#fafafa;border:0}' +
1628
+ ASH_RAIL + ' .collab-list{padding:8px 8px 24px}' +
1629
+ ASH_RAIL + ' .collab-thread{margin:0 0 4px;padding:12px;border:1px solid transparent;border-radius:10px;background:transparent;box-shadow:none;transition:background .15s cubic-bezier(.22,1,.36,1)}' +
1630
+ ASH_RAIL + ' .collab-thread:hover{background:rgba(255,255,255,.03)}' +
1631
+ ASH_RAIL + ' .collab-thread.is-selected{background:rgba(255,255,255,.05);border-color:rgba(201,169,98,.35);box-shadow:none}' +
1632
+ ASH_RAIL + ' .collab-thread:focus-visible{outline:2px solid #c9a962;outline-offset:1px}' +
1633
+ ASH_RAIL + ' .collab-quote{margin:0 0 10px;padding-left:10px;border-left:2px solid rgba(201,169,98,.6);color:#a1a1aa;font-style:normal;font-size:12.5px}' +
1634
+ ASH_RAIL + ' .collab-stale{margin:-4px 0 10px;font:400 11.5px/1.4 ' + ASH_RAIL_FONT + ';color:#71717a}' +
1635
+ ASH_RAIL + ' .collab-comments{gap:12px}' +
1636
+ ASH_RAIL + ' .collab-byline{gap:8px;font:400 12px/1.4 ' + ASH_RAIL_FONT + ';color:#71717a}' +
1637
+ ASH_RAIL + ' .collab-author{color:#fafafa;font-weight:600}' +
1638
+ ASH_RAIL + ' .collab-body{margin:2px 0 0;color:#e4e4e7;font-size:13.5px}' +
1639
+ ASH_RAIL + ' .collab-body.is-deleted,' + ASH_RAIL + ' .collab-body.is-pending{color:#71717a}' +
1640
+ ASH_RAIL + ' .collab-actions{gap:2px;margin:6px 0 0 -10px}' +
1641
+ // Edit and Delete belong to one comment and show only when it is pointed at
1642
+ // or focused; Reply and Resolve, for the whole thread, stay.
1643
+ ASH_RAIL + ' .collab-comment > .collab-actions{opacity:0;transition:opacity .15s cubic-bezier(.22,1,.36,1)}' +
1644
+ ASH_RAIL + ' .collab-comment:hover > .collab-actions,' + ASH_RAIL + ' .collab-comment:focus-within > .collab-actions{opacity:1}' +
1645
+ '@media(hover:none){' + ASH_RAIL + ' .collab-comment > .collab-actions{opacity:1}}' +
1646
+ ASH_RAIL + ' .collab-actions button{height:26px;line-height:26px;padding:0 10px}' +
1647
+ ASH_RAIL + ' form .collab-actions{margin:8px 0 0;justify-content:flex-end}' +
1648
+ ASH_RAIL + ' textarea{min-height:72px;margin-top:10px;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:10px 12px;background:rgba(255,255,255,.04);color:#fafafa;font:13.5px/1.5 ' + ASH_RAIL_FONT + '}' +
1649
+ ASH_RAIL + ' textarea::placeholder{color:#71717a}' +
1650
+ ASH_RAIL + ' textarea:focus-visible{outline:0;border-color:rgba(201,169,98,.6)}' +
1651
+ ASH_RAIL + ' .collab-empty{margin:28px 16px;color:#71717a;text-align:center}' +
1652
+ ASH_RAIL + ' .collab-error{font:400 12px/1.4 ' + ASH_RAIL_FONT + ';color:#ff6b6b}' +
1653
+ ASH_RAIL + ' .collab-provenance{padding:10px 16px;border-top:1px solid rgba(255,255,255,.07);color:#52525b;font:11px/1.5 ' + ASH_RAIL_FONT + '}' +
1654
+ '@media(max-width:980px){' + ASH_RAIL + '{border-left:0;border-top:1px solid rgba(255,255,255,.1)}}' +
1655
+ // The highlighted words in the page: the same gold, quiet until selected.
1656
+ '.agents-share-bar ~ * .collab-mark{background:rgba(201,169,98,.18);border-bottom:2px solid rgba(201,169,98,.7);color:inherit}' +
1657
+ '.agents-share-bar ~ * .collab-mark.is-selected{background:rgba(201,169,98,.34)}' +
1658
+ '.agents-share-bar ~ * .collab-mark.is-resolved{background:transparent;border-bottom:1px dashed rgba(161,161,170,.6)}' +
1659
+ '.agents-share-bar ~ * .collab-mark:focus-visible{outline:2px solid #c9a962}';
1660
+
1578
1661
  var ASH_VISITOR_CSS = '.origin-inline,.creator-line,.print-provenance,.collab-provenance{display:none !important}';
1579
1662
 
1580
1663
  // Owner-only styling for the levels in the Share sheet and the save status,
@@ -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,EA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F,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phnx-labs/artifacts-cli",
3
- "version": "0.9.11",
3
+ "version": "0.9.13",
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": {