@firstdraft.com/cli 0.8.2 → 0.9.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/docs/commands.md CHANGED
@@ -3,10 +3,10 @@
3
3
  This page owns the detailed public semantics of the current command surface. Run `firstdraft --help` or a command
4
4
  group's `--help` for concise executable syntax. See [Errors and recovery](errors.md) before retrying a failed mutation.
5
5
 
6
- The current `0.8.x` source line contains the auditable command shell, browser and device login, local Foundation Plan initialization, local
6
+ The current `0.9.x` source line contains the auditable command shell, browser and device login, local Foundation Plan initialization, local
7
7
  application-key and UUID generation, conditional whole-document push, whole-graph analysis status polling, direct
8
8
  Compile-and-materialize and private publish orchestration, and retained-Compilation inspection and cancellation.
9
- CLI `0.8.x` requires the service's `0.7.x` API contract. The
9
+ CLI `0.9.x` requires the service's `0.8.x` API contract. The
10
10
  [changelog](https://github.com/firstdraft/cli/blob/main/CHANGELOG.md) describes each version.
11
11
 
12
12
  ## Command map
@@ -139,7 +139,7 @@ From the project that the Plan describes:
139
139
  firstdraft plan init --name "Oscar Party"
140
140
  ```
141
141
 
142
- This creates an empty `firstdraft.foundation-plan.sketch/0.23` Plan targeting `rails-sketch/2026-09-bookmark-assets` and a
142
+ This creates an empty `firstdraft.foundation-plan.sketch/0.23` Plan targeting `rails-sketch/2026-10` and a
143
143
  client-generated Project ID under `.firstdraft/`. A nested ignore file keeps that local scratch area out of Git
144
144
  without changing the project's own `.gitignore`. Initialization makes no network request and refuses to replace an
145
145
  existing `.firstdraft` path.
@@ -390,7 +390,7 @@ local paths, or environment values. Success writes exactly the validated private
390
390
  newline to stdout. If the command fails after progress has begun, its structured JSON error envelope is the final
391
391
  stderr document after the progress lines.
392
392
 
393
- The closed API `0.7.x` progress-reason allowlist is `github.configuration_missing`, `github.oauth_unavailable`,
393
+ The closed API `0.8.x` progress-reason allowlist is `github.configuration_missing`, `github.oauth_unavailable`,
394
394
  `github.api_unavailable`, `github.reauthorization_required`, `github.account_mismatch`,
395
395
  `github.installation_unavailable`, `github.installation_not_ready`, `github.preflight_unavailable`, the legacy-only
396
396
  `github.preflight_unclassified`, and these stage-specific fallbacks: `github.preflight_unavailable.configuration`,
@@ -440,7 +440,7 @@ never starts replacement work. An incomplete rollback leaves `.firstdraft-root-o
440
440
  reconciliation before this command can run again.
441
441
 
442
442
  Artifact validation accepts only Plan format `firstdraft.foundation-plan.sketch/0.23` and target profile
443
- `rails-sketch/2026-09-bookmark-assets`, in addition to matching the retained Compilation's provenance and verifying file integrity.
443
+ `rails-sketch/2026-10`, in addition to matching the retained Compilation's provenance and verifying file integrity.
444
444
  An earlier format or profile is rejected before materialization, even when the retained status names that profile.
445
445
 
446
446
  Successful root adoption is intentionally one-way. The original `.firstdraft` authoring state moves under
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firstdraft.com/cli",
3
- "version": "0.8.2",
3
+ "version": "0.9.0",
4
4
  "description": "Command-line interface for First Draft",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,7 +27,7 @@ export const ARTIFACT_MEDIA_TYPE =
27
27
  "application/vnd.firstdraft.compilation-artifact+json";
28
28
  export const ARTIFACT_FORMAT = "firstdraft.compilation-artifact/1";
29
29
  export const FOUNDATION_PLAN_FORMAT = "firstdraft.foundation-plan.sketch/0.23";
30
- export const RAILS_TARGET_PROFILE = "rails-sketch/2026-09-bookmark-assets";
30
+ export const RAILS_TARGET_PROFILE = "rails-sketch/2026-10";
31
31
  export const MAX_ARTIFACT_BYTES = 128 * 1024 * 1024;
32
32
 
33
33
  const ARTIFACT_KEYS = ["format", "provenance", "manifest_sha256", "files"];