@phnx-labs/artifacts-cli 0.6.1 → 0.7.0

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,31 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ ## 0.7.0 — 2026-10-06
6
+
7
+ - **Hosted review threads through the share Worker (PHNX-3835, Phase 1).** With
8
+ `COLLAB_API_BASE` and `COLLAB_SERVICE_TOKEN` bound, the Worker answers
9
+ `/__collab/*`. It answers context itself, enforces read by the page's own
10
+ visibility and write by its comment policy, and forwards everything else to
11
+ Rush Cloud's `/internal/artifact-collab` with its service token, relaying event
12
+ streams as they arrive. Publishing stamps the page's body revision and
13
+ registers the share. A visibility or policy change re-registers it. A delete
14
+ purges its threads, and a new page at a free address clears any left behind,
15
+ so a reused slug never inherits old comments. With either value unbound
16
+ nothing changes, and `/__collab` still `404`s.
17
+ - `artifacts share --comments off|audience|signed-in` sets who may comment. The
18
+ default is `audience` for `me`/`org`, `signed-in` for unlisted and protected
19
+ links, and `off` for public pages. A page that published but could not be
20
+ registered prints a warning with the reason.
21
+ - `artifacts share setup|update --collab-api <origin>` binds both review-thread
22
+ values, reading the token from `ARTIFACT_COLLAB_SERVICE_TOKEN`. Later updates
23
+ keep an existing pair.
24
+ - Only the share owner's Phoenix bearer may comment as an agent
25
+ (`x-collab-actor-kind: agent`). Browser cookies cannot. Review bylines use the
26
+ Phoenix account name, now carried in the share sign-in cookie.
27
+ - The share page's attribution bar no longer covers the review rail's header.
28
+
3
29
  ## 0.6.1 — 2026-10-05
4
30
 
5
31
  - Add a runnable gallery for the five reusable components, including their input