Repository navigation
Tags
Tags
Publish declared source for live screen review Give reviewers the actual HTML and assets at the width they choose, so new Projects can publish from machines without a browser. Keep exact file bytes in the original request so a retry or reviewed compilation uses the same source. Check the live screen capability before uploading against an older API while preserving other commands on that API line.
Capture themed screens for project review Reviewers need to navigate published screens and identify the same elements their agents can find in the working HTML. Capture both viewports using the theme that the accepted Plan will deliver. Apply a preset even without custom overrides. A no-op selection has no CSS to inject, but still belongs in the accepted Plan. Preserve the status of a failed font download so the caller can choose a recovery. Negotiate capture features so earlier services can receive their supported manifest. Reuse the captured Plan and images when a response is lost, and preserve edits made to the working draft in the meantime.
Read setup for the reviewed Foundation Plan Give participants the same setup instructions in their agent and on the Project page. Keep the selected review and readiness explicit so participants open provider accounts after matching Analysis. CLI 0.12.0 carries the Plan 0.24 and API 0.10.0 compatibility line. Retained Plans can be republished on their existing Projects.
Publish sketches with the Plan the owner reviews Reserve a Project before the first sketch and publish its captures with the working Plan. Pin Compile to the revision the owner saw and preserve the editable sources for the generated application. Serialize hosted writes and root adoption so a retry can recover the same work.
Limit the deployed_error line to error items In an end-to-end run, the owner's agent resolved a "Core behind the Compiler's pin" item with --cause generated_code and then sent a deployed_error report for it, because the reports-on line said to send one after any item resolved with that cause. A Core update is not a production error, so the report named no error class, message, or frames and only added noise to First Draft's failure reports. The line now limits the report to an error item, one titled with its exception class or Message, which is how the service titles errors; checks, GitHub, Core, and host items carry fixed title prefixes.
Adopt the rails-sketch/2026-10 target profile First Draft moves its Rails target from 8.1.3.1 to 8.1.4 (see firstdraft/firstdraft#1191). Rails 8.1.4 dumps schema columns in declaration order and changes titleize, so on 2026-10-16 the owner gave the target a new profile ID, rails-sketch/2026-10. The Plan format stays sketch/0.23; the Service changes its target.profile constant in place. plan init now writes the new profile, and artifact validation accepts only it. An artifact for rails-sketch/2026-09-bookmark-assets reports invalid_artifact, which the older-profile test now exercises. The Service marks the break with API contract 0.8.0, and the CLI takes 0.9.0, the pre-1.0 minor bump for a breaking change. The accepted range becomes >= 0.8.0, < 0.9.0, so the release compatibility check refuses this CLI beside a 0.7.x Service. The CLI still does not read the FirstDraft-API-Contract header at runtime. The plan status zero-gap digest covers the target, so it is recomputed with the Service's GapSet serialization, JSON.pretty_generate plus a newline; the same method reproduces the previous digest.
Add compilation cancel for stuck Compilations A Project allows one active Compilation. When one never finishes, for example because its Render One-Off died, every later plan push and plan compile fails with 409 compilation_active. The Service has a cancel route, and its compilation_active detail tells the caller to cancel, but the CLI could not call it. Recovery needed someone calling the API with the user's token, or a worker shell. compilation cancel finds the Project and origin in local state, as compilation status does, sends one POST with no precondition, and prints the cancelled Compilation. The Service answers a repeated cancel with the same result and never changes a succeeded or failed Compilation, so an unconfirmed outcome is reported as compilation_cancel_unavailable, which is safe to repeat, rather than as request_outcome_unknown. A validated refusal keeps the Service problem under compilation_cancel_rejected, the way a rejected Compilation start does. The new command takes the version to 0.8.2.
Add login/logout commands Workshop participants already sign in to GitHub, Render, Neon, and Revyl with a browser-based login command. First Draft instead made them copy a token from /api-tokens into an environment variable, which is an extra manual step and easy to get wrong. A saved login only authenticates the host it was created for, and an environment variable can still be set to override it, so existing scripts and CI setups still behave as they did before.
Separate staging credentials from production Keep production as the default and add an explicit staging option. Select credentials from each Project's effective origin so an existing staging pin cannot receive a production token. Preserve pinned Projects and local output preflight. Bump the CLI minor version for the staging token configuration change while retaining the API 0.6 and Plan 0.22 contracts.
PreviousNext