@phnx-labs/artifacts-cli 0.17.0 → 0.18.1

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
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## 0.18.1 — 2026-11-12
6
+
7
+ - **Change who can open a page from the page.** The Share sheet on a published page no longer shows the owner an `artifacts share visibility` command. It shows **Change who can open it**, which opens that page's Share panel in the Rush console (`cloud.getrush.ai/console/artifacts?share=<user>/<slug>`) in a new tab, where the owner picks Only you, everyone at their domain, anyone with the link, or public. Writes still take only the Phoenix bearer, never the page's `__share` cookie (PHNX-4398). The share server's visibility refusals now carry a `code` (`org_public_domain`, `org_domain_unverified`, `visibility_needs_publish`, `needs_phoenix_identity`) beside the message, so the console names the reason.
8
+
9
+ ## 0.18.0 — 2026-11-07
10
+
11
+ - **Find a page by any word in it.** When a comment-enabled Worker registers an HTML page with Rush, it also sends the page's description and its visible text (scripts, styles and markup stripped, at most 65,536 characters), so the Rush console can find the page by a word in its body (PHNX-4616). A visibility or comment-policy change re-registers without them, and Rush keeps what it stored.
12
+
5
13
  ## 0.17.0 — 2026-11-05
6
14
 
7
15
  - **Comment on an image.** On a hosted page, clicking an image opens the comment box at it, as selecting text does. Send it empty to highlight it, or comment and tag. Its mark is a gold ring, and the thread quotes the image's alt text. An image inside a link keeps its link.
@@ -20,6 +20,8 @@
20
20
  */
21
21
  /** The `<meta>` name carrying the canonical revision comment anchors are bound to. */
22
22
  export declare const BODY_REVISION_META = "artifacts-body-revision";
23
+ /** The console page where an owner shares a page: `?share=<user>/<slug>` opens its Share panel. */
24
+ export declare const CONSOLE_ARTIFACTS_URL = "https://cloud.getrush.ai/console/artifacts";
23
25
  /**
24
26
  * The canonical artifact revision.
25
27
  *
@@ -21,6 +21,8 @@ import { createHash } from 'node:crypto';
21
21
  */
22
22
  /** The `<meta>` name carrying the canonical revision comment anchors are bound to. */
23
23
  export const BODY_REVISION_META = 'artifacts-body-revision';
24
+ /** The console page where an owner shares a page: `?share=<user>/<slug>` opens its Share panel. */
25
+ export const CONSOLE_ARTIFACTS_URL = 'https://cloud.getrush.ai/console/artifacts';
24
26
  /**
25
27
  * The canonical artifact revision.
26
28
  *
@@ -228,7 +230,7 @@ export const COLLAB_SCRIPT = `<script>
228
230
  const endpoint = (path, params) => path + '?' + new URLSearchParams(params).toString();
229
231
  // A page cannot grant access: any page's script runs on this origin and could
230
232
  // add itself. The owner adds a tagged teammate in the console's Share panel.
231
- const CONSOLE_SHARE = 'https://cloud.getrush.ai/console/artifacts';
233
+ const CONSOLE_SHARE = ${JSON.stringify(CONSOLE_ARTIFACTS_URL)};
232
234
  const ICONS = ${JSON.stringify(ICON_PATHS)};
233
235
  const icon = (name, size) => '<svg width="' + size + '" height="' + size + '" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">' + ICONS[name] + '</svg>';
234
236
 
@@ -1 +1 @@
1
- {"version":3,"file":"collab.js","sourceRoot":"","sources":["../../src/lib/collab.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,sFAAsF;AACtF,MAAM,CAAC,MAAM,kBAAkB,GAAG,yBAAyB,CAAC;AAE5D;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,UAAU,YAAY,CAAC,WAAmB;IAC9C,OAAO,UAAU,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;AACpF,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,kBAAkB,CAAC,QAAgB;IACjD,IAAI,IAAI,GAAG,MAAM,CAAC,QAAQ,IAAI,GAAG,CAAC,CAAC;IACnC,IAAI,CAAC,IAAI,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAqxB7E,CAAC"}
@@ -2,7 +2,7 @@ import { buildSync } from 'esbuild';
2
2
  import { readFileSync } from 'node:fs';
3
3
  import { dirname } from 'node:path';
4
4
  import { fileURLToPath } from 'node:url';
5
- import { BODY_REVISION_META, COLLAB_SCRIPT, normalizeSharePath } from '../collab.js';
5
+ import { BODY_REVISION_META, COLLAB_SCRIPT, CONSOLE_ARTIFACTS_URL, normalizeSharePath } from '../collab.js';
6
6
  import { SELECTION_TOOLBAR_SCRIPT } from '../selection-toolbar.js';
7
7
  import { READER_ANCHORS_SCRIPT } from '../reader-anchors.js';
8
8
  import { SHARE_PUBLISH_WORKER_SOURCE } from './worker-publish-template.js';
@@ -449,8 +449,8 @@ export default {
449
449
  let registration = null;
450
450
  if (collab && customMetadata['body-revision']) {
451
451
  registration = continuesThreads
452
- ? await registerShare(env, collab, url, path, customMetadata)
453
- : await registerFreshShare(env, collab, url, path, customMetadata);
452
+ ? await registerShare(env, collab, url, path, customMetadata, undefined, searchFieldsOrNone(putBody, customMetadata))
453
+ : await registerFreshShare(env, collab, url, path, customMetadata, searchFieldsOrNone(putBody, customMetadata));
454
454
  } else if (collab && continuesThreads) {
455
455
  registration = { registered: false, error: 'the new file is not an HTML page, so its review threads are closed' };
456
456
  }
@@ -518,14 +518,14 @@ export default {
518
518
  // fresh viewer key, which only a full publish mints (PHNX-3654). Re-stamping
519
519
  // visibility=private here alone would leave the page gated by a hash that
520
520
  // never got stored — inaccessible to everyone. Fail loud.
521
- if (visibility === 'private') return json({ error: 'visibility private must be set at publish time (share --protected)' }, 400);
521
+ if (visibility === 'private') return json({ error: 'visibility private must be set at publish time (share --protected)', code: 'visibility_needs_publish' }, 400);
522
522
  if (visibility === 'me' || visibility === 'org') {
523
523
  const phoenixBase = typeof env.PHOENIX_ID_BASE === 'string' ? env.PHOENIX_ID_BASE.replace(/\\/+$/, '') : '';
524
- if (auth.kind !== 'phoenix' || !phoenixBase) return json({ error: 'visibility me/org requires Phoenix identity' }, 400);
524
+ if (auth.kind !== 'phoenix' || !phoenixBase) return json({ error: 'visibility me/org requires Phoenix identity', code: 'needs_phoenix_identity' }, 400);
525
525
  if (visibility === 'org') {
526
526
  const domain = emailDomain(auth.email);
527
- if (!domain) return json({ error: 'org visibility requires a verified email domain' }, 400);
528
- if (PUBLIC_INBOX_DOMAINS.indexOf(domain) !== -1) return json({ error: 'org visibility cannot use a public email domain', domain: domain }, 400);
527
+ if (!domain) return json({ error: 'org visibility requires a verified email domain', code: 'org_domain_unverified' }, 400);
528
+ if (PUBLIC_INBOX_DOMAINS.indexOf(domain) !== -1) return json({ error: 'org visibility cannot use a public email domain', code: 'org_public_domain', domain: domain }, 400);
529
529
  }
530
530
  }
531
531
  metadata.visibility = visibility;
@@ -1340,6 +1340,7 @@ var VIS_ICON = {
1340
1340
  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>';
1341
1341
  var COMMENT_ICON = '<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.7"><path d="M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z"/></svg>';
1342
1342
  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>';
1343
+ var ASH_EXTERNAL_ICON = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><path d="M7 17 17 7"/><path d="M8 7h9v9"/></svg>';
1343
1344
  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>';
1344
1345
 
1345
1346
  // "Rush" in Cormorant Upright 500, outlined, so the lockup needs no extra face.
@@ -1502,11 +1503,13 @@ function renderAttributionBar(meta, handle, opts) {
1502
1503
  // Share: the visibility icon on the button; the sheet holds the link, who can
1503
1504
  // open it and the stats. The page cannot change its own visibility: anything
1504
1505
  // the bar could send, the page's own script could send too (PHNX-4398), so
1505
- // the owner gets the command that does it with their Phoenix login.
1506
+ // the owner's link opens the page's Share panel in the console.
1506
1507
  var cic = '<span class="ash-cic" style="color:' + chip.color + '">' + chip.icon + '</span>';
1507
1508
  var levels = '<p class="ash-ro">' + cic + '<span>' + chip.label + '</span></p>';
1508
- if (o.isOwner && o.link) {
1509
- levels += '<p class="ash-cli">Change who can open it:<code>artifacts share visibility ' + escapeHtml(o.link.split('?')[0]) + ' &lt;level&gt;</code>where &lt;level&gt; is public, unlisted, me or org.</p>';
1509
+ var key = '';
1510
+ try { key = o.link ? decodeURIComponent(new URL(o.link).pathname).replace(/^\\/+/, '') : ''; } catch (e) { key = ''; }
1511
+ if (o.isOwner && key) {
1512
+ levels += '<a class="ash-change" href="' + escapeHtml(CONSOLE_ARTIFACTS_URL + '?' + new URLSearchParams({ share: key }).toString()) + '" target="_blank" rel="noopener">Change who can open it' + ASH_EXTERNAL_ICON + '</a>';
1510
1513
  }
1511
1514
  var stats = [];
1512
1515
  if (o.views != null) stats.push(STAT_EYE_ICON + '<b>' + escapeHtml(String(o.views)) + '</b>&nbsp;' + (Number(o.views) === 1 ? 'view' : 'views'));
@@ -1708,11 +1711,13 @@ var ASH_RAIL_CSS =
1708
1711
 
1709
1712
  var ASH_VISITOR_CSS = '.origin-inline,.creator-line,.print-provenance,.collab-provenance{display:none !important}';
1710
1713
 
1711
- // Owner-only styling for the visibility command in the Share sheet, added to
1712
- // the bar's <style> only when the viewer owns the namespace.
1714
+ // Owner-only styling for the Share sheet's link to the console, added to the
1715
+ // bar's <style> only when the viewer owns the namespace.
1713
1716
  var OWNER_BAR_CSS =
1714
- '.agents-share-bar .ash-cli{margin:0;padding:0 12px 8px;font-size:12px;line-height:1.4;color:#a1a1aa !important;white-space:normal}' +
1715
- '.agents-share-bar .ash-cli code{display:block;margin:4px 0;padding:6px 8px;border-radius:8px;background:rgba(255,255,255,.05) !important;color:#e4e4e7 !important;font:11.5px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:normal;overflow-wrap:anywhere;user-select:all}';
1717
+ '.agents-share-bar .ash-change{display:inline-flex;align-items:center;gap:6px;margin:0 12px 8px;padding:6px 12px;border-radius:999px;font-size:12.5px;font-weight:500;color:#e4e4e7 !important;background:rgba(255,255,255,.06) !important;border:1px solid rgba(255,255,255,.1) !important;text-decoration:none !important;transition:background .15s cubic-bezier(.22,1,.36,1)}' +
1718
+ '.agents-share-bar .ash-change:hover{background:rgba(255,255,255,.1) !important;color:#fff !important}' +
1719
+ '.agents-share-bar .ash-change:focus-visible{outline:2px solid #c9a962;outline-offset:2px}' +
1720
+ '.agents-share-bar .ash-change svg{width:13px;height:13px;flex:none}';
1716
1721
 
1717
1722
  // The bar's own files: its two faces and the Phoenix mark of the Rush by
1718
1723
  // Phoenix lockup, bundled into the Worker so a page never loads them elsewhere.
@@ -2124,6 +2129,7 @@ var COLLAB_REVISION_SCAN_BYTES = 16 * 1024;
2124
2129
  // without one (403 USER_AGENT_REQUIRED) before it reaches the API.
2125
2130
  var COLLAB_USER_AGENT = 'artifacts-share-worker';
2126
2131
  var BODY_REVISION_META = ${JSON.stringify(BODY_REVISION_META)};
2132
+ var CONSOLE_ARTIFACTS_URL = ${JSON.stringify(CONSOLE_ARTIFACTS_URL)};
2127
2133
  // The viewer's own normalizer, so /u/plan, /u/plan/ and /u/plan/index.html are
2128
2134
  // one share on both sides of the wire.
2129
2135
  var normalizeSharePath = ${normalizeSharePath};
@@ -2298,7 +2304,71 @@ async function collabRegistryCall(collab, method, path, shareId, body, idempoten
2298
2304
  return { status: res.status, body: parsed };
2299
2305
  }
2300
2306
 
2301
- async function registerShare(env, collab, url, key, meta, idempotencyKey) {
2307
+ // What Rush searches a page by (GET /o/{org}/artifacts?kind=page): its description and visible text.
2308
+ // A re-register without them (a visibility change) leaves what Rush stored.
2309
+ var PAGE_TEXT_MAX = 65536;
2310
+ var PAGE_TEXT_SKIP = ['script', 'style', 'noscript', 'template', 'svg'];
2311
+ // One pass over the page: each '<' jumps to its '>', so a hostile body (no '>' at all) costs linear time.
2312
+ // Tag names compare per character, never through a lowercased copy whose indices can differ (U+0130).
2313
+ function tagNameAt(html, from, end) {
2314
+ let name = '';
2315
+ for (let j = from; j < end && name.length < 10; j += 1) {
2316
+ const c = html[j].toLowerCase();
2317
+ if (c < 'a' || c > 'z') break;
2318
+ name += c;
2319
+ }
2320
+ return name;
2321
+ }
2322
+ function closingTagEnd(html, name, from) {
2323
+ let at = html.indexOf('</', from);
2324
+ while (at !== -1 && tagNameAt(html, at + 2, html.length) !== name) at = html.indexOf('</', at + 2);
2325
+ if (at === -1) return html.length;
2326
+ const gt = html.indexOf('>', at);
2327
+ return gt === -1 ? html.length : gt + 1;
2328
+ }
2329
+ function visibleText(html) {
2330
+ const parts = [];
2331
+ let size = 0;
2332
+ let i = 0;
2333
+ while (i < html.length && size < PAGE_TEXT_MAX * 2) {
2334
+ const lt = html.indexOf('<', i);
2335
+ const chunk = (lt === -1 ? html.slice(i) : html.slice(i, lt)).slice(0, PAGE_TEXT_MAX * 2 - size);
2336
+ parts.push(chunk);
2337
+ size += chunk.length;
2338
+ if (lt === -1) break;
2339
+ if (html.startsWith('<!--', lt)) {
2340
+ const close = html.indexOf('-->', lt + 4);
2341
+ i = close === -1 ? html.length : close + 3;
2342
+ continue;
2343
+ }
2344
+ const gt = html.indexOf('>', lt);
2345
+ if (gt === -1) break;
2346
+ const name = tagNameAt(html, lt + 1, gt);
2347
+ i = PAGE_TEXT_SKIP.indexOf(name) !== -1 ? closingTagEnd(html, name, gt + 1) : gt + 1;
2348
+ parts.push(' ');
2349
+ size += 1;
2350
+ }
2351
+ return parts.join('');
2352
+ }
2353
+ function pageSearchFields(bytes, meta) {
2354
+ // Rush refuses a NUL in page text (Postgres text cannot hold one), so it never leaves the Worker.
2355
+ const html = new TextDecoder().decode(bytes).split(String.fromCharCode(0)).join('');
2356
+ const text = visibleText(html)
2357
+ .replace(/&nbsp;/g, ' ').replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&quot;/g, '"').replace(/&#39;/g, "'").replace(/&amp;/g, '&')
2358
+ .replace(/\\s+/g, ' ')
2359
+ .trim();
2360
+ // The description meta sits in the head; scanning a bounded prefix keeps a hostile body cheap.
2361
+ const head = html.slice(0, COLLAB_REVISION_SCAN_BYTES);
2362
+ const description = (meta['og-description'] || extractHtmlMeta(head, 'description') || '').split(String.fromCharCode(0)).join('').slice(0, 300);
2363
+ return { description: description || null, body_text: text.slice(0, PAGE_TEXT_MAX) || null };
2364
+ }
2365
+
2366
+ // The page is already stored: if its text cannot be read, register without it (Rush keeps any text it had).
2367
+ function searchFieldsOrNone(bytes, meta) {
2368
+ try { return pageSearchFields(bytes, meta); } catch (err) { return undefined; }
2369
+ }
2370
+
2371
+ async function registerShare(env, collab, url, key, meta, idempotencyKey, page) {
2302
2372
  const shareId = collabShareId(url, key);
2303
2373
  const result = await collabRegistryCall(collab, 'PUT', '/shares', shareId, {
2304
2374
  share_id: shareId,
@@ -2314,6 +2384,7 @@ async function registerShare(env, collab, url, key, meta, idempotencyKey) {
2314
2384
  host: meta.host || null,
2315
2385
  repo: meta.repo || null,
2316
2386
  },
2387
+ ...(page || {}),
2317
2388
  }, idempotencyKey);
2318
2389
  return result.error ? { registered: false, error: result.error } : { registered: true };
2319
2390
  }
@@ -2325,10 +2396,10 @@ async function purgeShare(collab, url, key) {
2325
2396
  return result.error && result.status !== 404 ? { purged: false, error: result.error } : { purged: true };
2326
2397
  }
2327
2398
 
2328
- async function registerFreshShare(env, collab, url, key, meta) {
2399
+ async function registerFreshShare(env, collab, url, key, meta, page) {
2329
2400
  const purge = await purgeShare(collab, url, key);
2330
2401
  if (!purge.purged) return { registered: false, error: 'could not clear review threads left at this address: ' + purge.error };
2331
- return registerShare(env, collab, url, key, meta);
2402
+ return registerShare(env, collab, url, key, meta, undefined, page);
2332
2403
  }
2333
2404
 
2334
2405
  // Browser route -> Rush route, and the capability a write needs.
@@ -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,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACrF,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,qBAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA00B3B,CAAC;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phnx-labs/artifacts-cli",
3
- "version": "0.17.0",
3
+ "version": "0.18.1",
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": {