@phnx-labs/artifacts-cli 0.6.0 → 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 +33 -0
- package/README.md +84 -527
- package/dist/commands/share.d.ts +11 -0
- package/dist/commands/share.js +46 -4
- package/dist/commands/share.js.map +1 -1
- package/dist/lib/render.js +1 -1
- package/dist/lib/render.js.map +1 -1
- package/dist/lib/share/delete.d.ts +11 -0
- package/dist/lib/share/delete.js +13 -5
- package/dist/lib/share/delete.js.map +1 -1
- package/dist/lib/share/provision.d.ts +21 -0
- package/dist/lib/share/provision.js +55 -4
- package/dist/lib/share/provision.js.map +1 -1
- package/dist/lib/share/publish.d.ts +20 -2
- package/dist/lib/share/publish.js +17 -2
- package/dist/lib/share/publish.js.map +1 -1
- package/dist/lib/share/visibility.d.ts +18 -0
- package/dist/lib/share/visibility.js +10 -0
- package/dist/lib/share/visibility.js.map +1 -1
- package/dist/lib/share/worker-template.js +492 -39
- package/dist/lib/share/worker-template.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
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
|
+
|
|
29
|
+
## 0.6.1 — 2026-10-05
|
|
30
|
+
|
|
31
|
+
- Add a runnable gallery for the five reusable components, including their input
|
|
32
|
+
formats and a shared light/dark palette. Document automatic theme inheritance.
|
|
33
|
+
- Keep source-excerpt captions and line numbers readable in light mode: captions
|
|
34
|
+
use the artifact surface, while code annotations use the code palette.
|
|
35
|
+
|
|
3
36
|
## 0.6.0 — 2026-10-04
|
|
4
37
|
|
|
5
38
|
- **Inspectable components from data.** An `explorer` JSON fence renders services,
|