@firstdraft.com/cli 0.8.0 → 0.8.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/README.md +22 -25
- package/docs/README.md +15 -13
- package/docs/commands.md +202 -42
- package/docs/errors.md +42 -6
- package/package.json +6 -4
- package/src/api-authentication.js +55 -13
- package/src/api-response.js +73 -3
- package/src/cli.js +395 -6
- package/src/commands/compilation.js +21 -9
- package/src/commands/login.js +314 -0
- package/src/commands/logout.js +107 -0
- package/src/commands/plan-publish.js +16 -13
- package/src/commands/plan-push.js +5 -5
- package/src/commands/plan-status.js +5 -5
- package/src/credentials.js +343 -0
- package/src/oauth.js +565 -0
- package/RELEASING.md +0 -118
- package/docs/release-history.md +0 -77
package/docs/release-history.md
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
# First Draft CLI release history
|
|
2
|
-
|
|
3
|
-
This page preserves dated release and registry observations. It is historical evidence, not a statement of current
|
|
4
|
-
npm, GitHub, service, or qualification state. Before acting, recheck the registry, protected tags, exact source SHA,
|
|
5
|
-
compatibility declarations, trusted-publisher relationship, and named release-specific qualification by following
|
|
6
|
-
the living [release policy and runbook](../RELEASING.md).
|
|
7
|
-
|
|
8
|
-
## 0.4.0 local-output release
|
|
9
|
-
|
|
10
|
-
- On September 23, 2026 UTC, protected tag `v0.4.0` published CLI `0.4.0` from
|
|
11
|
-
`a555f8d39862109b8c28b392c0439470e88f4ba8` directly to `latest` through
|
|
12
|
-
[GitHub trusted publishing](https://github.com/firstdraft/cli/actions/runs/35807891432).
|
|
13
|
-
- `plan compile` now defaults to current-folder output, equivalent to `--output .`. GitHub Publication requires
|
|
14
|
-
`--github`. API compatibility remains `0.4.x`; this is a breaking CLI-default change from `0.3.x`.
|
|
15
|
-
- npm SHA-1 is `65b6b960b9029cb8f2352273db9fb551132f2ac9`. Public exact-version installation reported `0.4.0`, and
|
|
16
|
-
registry signature and provenance verification passed. `latest` selected `0.4.0`; `next` remained `0.3.0`.
|
|
17
|
-
- The packed candidate compiled a reviewed Reading List Plan against service `2bfdf6bf`, materialized 360 files at
|
|
18
|
-
the local root, and passed local Rails boot, browser creation, and source-edit refresh. Existing warnings and gaps
|
|
19
|
-
remained disclosed. No Codespace, GitHub Publication, native build, or Revyl session was part of this release smoke.
|
|
20
|
-
- Plugin `0.4.0` bundles this exact CLI source. Its publication workflow matched all 27 files with the registry CLI.
|
|
21
|
-
The [plugin release record](https://github.com/firstdraft/skills/blob/main/evidence/2026-09-22-plugin-0.4.0-release.md)
|
|
22
|
-
records the companion package, catalog, and post-publication Drawing Board follow-up.
|
|
23
|
-
|
|
24
|
-
## 0.1.0 alpha publications
|
|
25
|
-
|
|
26
|
-
- On July 31, 2026, npm rejected the unscoped `firstdraft` name for `v0.1.0-alpha.1` as too similar to the existing
|
|
27
|
-
`first-draft` package before creating a registry package. The tag records the first reviewed release candidate and
|
|
28
|
-
is immutable; neither its tag nor version may be moved or reused.
|
|
29
|
-
- On August 5, 2026, `v0.1.0-alpha.2` became the first organization-scoped publication,
|
|
30
|
-
`@firstdraft.com/cli@0.1.0-alpha.2`.
|
|
31
|
-
- As observed earlier on August 7, 2026, `0.1.0-alpha.2` was the only published scoped version and both npm's `next`
|
|
32
|
-
and `latest` dist-tags identified it.
|
|
33
|
-
|
|
34
|
-
## 0.1.0 ordinary release and promotion
|
|
35
|
-
|
|
36
|
-
- Later on August 7, 2026, protected tag `v0.1.0` published ordinary version `0.1.0` under `next`, while `latest`
|
|
37
|
-
continued to identify `0.1.0-alpha.2`. The ordinary release intentionally superseded the alpha and required the
|
|
38
|
-
service's `0.2.x` API contract; the historical prerelease did not define an ordinary compatibility line.
|
|
39
|
-
- The first ordinary release established the npm trusted-publisher relationship used by the release workflow.
|
|
40
|
-
- On August 12, 2026, the selected bounded CLI `0.1.0` user-journey smoke passed and separate promotion approval was
|
|
41
|
-
granted. `latest` was promoted to `0.1.0`; both `next` and `latest` then identified ordinary version `0.1.0`. Full
|
|
42
|
-
v14 service qualification remained separate and incomplete.
|
|
43
|
-
- Requiring two-factor authentication while disallowing tokens at the package publishing-access layer was not a
|
|
44
|
-
`v0.1.0` release prerequisite and was not established by that release evidence.
|
|
45
|
-
|
|
46
|
-
The alpha versions remain immutable registry history but, as of the August 12 observation, neither distribution
|
|
47
|
-
channel selected them. Protected tag `v0.1.0` and package version `0.1.0` were consumed and immutable. Preparing
|
|
48
|
-
source or documentation does not mutate either dist-tag.
|
|
49
|
-
|
|
50
|
-
## 0.2.0 candidate publication
|
|
51
|
-
|
|
52
|
-
- On August 27, 2026, protected tag `v0.2.0` published ordinary version `0.2.0` under `next`; `latest` remained
|
|
53
|
-
`0.1.0`. The candidate established compatibility with API contract `0.3.x` but did not displace the separately
|
|
54
|
-
promoted stable release.
|
|
55
|
-
- Package version `0.2.0` and protected tag `v0.2.0` are consumed and immutable. A backward-compatible addition to
|
|
56
|
-
the `0.2.x` line therefore requires a higher patch version rather than reusing those identities.
|
|
57
|
-
|
|
58
|
-
## 0.2.1 candidate publication
|
|
59
|
-
|
|
60
|
-
- On August 28, 2026, protected tag `v0.2.1` published ordinary version `0.2.1` under `next`; `latest` remained
|
|
61
|
-
`0.1.0`. The patch hardened direct Compilation recovery while preserving the `0.2.x` compatibility line.
|
|
62
|
-
- Package version `0.2.1` and protected tag `v0.2.1` are consumed and immutable. As observed on August 29, 2026,
|
|
63
|
-
current-directory root-output had integrated to `main` at `4352f64baf673ad93457e8bc84273e9d1d9a9501` (tree
|
|
64
|
-
`b43ba6de98e27328e548cc3410ba9f39dfa9fcee`) but was not part of those registry bytes.
|
|
65
|
-
|
|
66
|
-
## 0.2.2 publication and registry observation
|
|
67
|
-
|
|
68
|
-
- The [npm registry](https://registry.npmjs.org/@firstdraft.com%2fcli) records version `0.2.2` published at
|
|
69
|
-
`2026-08-30T04:40:13.459Z`.
|
|
70
|
-
[Tag `v0.2.2`](https://github.com/firstdraft/cli/releases/tag/v0.2.2) resolves to
|
|
71
|
-
`799a184cb2453ceadf5575f7b46ba975e084f192`. That source implements current-root adoption with the archive at
|
|
72
|
-
top-level `design/`.
|
|
73
|
-
- On September 18, 2026, a read-only registry check found both `next` and `latest` selecting `0.2.2`. This is an
|
|
74
|
-
observation of their selection, not evidence of the time or approval of the earlier promotion. The check ran no
|
|
75
|
-
fresh package parity, service, authenticated user-journey, or Codespaces qualification.
|
|
76
|
-
- Package version `0.2.2` and protected tag `v0.2.2` are consumed and immutable. The nested `.firstdraft/design`
|
|
77
|
-
archive belongs to the unpublished `0.3.0` source candidate; preparing it does not change installed `0.2.2` bytes.
|