Repository navigation
Publish declared source files for live Screens - #77
Merged
Merged
Conversation
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.
raghubetina
force-pushed
the
codex/live-project-screens
branch
from
November 29, 2026 17:30
905eb56 to
43e0560
Compare
raghubetina
marked this pull request as ready for review
November 29, 2026 17:30
raghubetina
added a commit
to firstdraft/skills
that referenced
this pull request
Nov 29, 2026
Owners can now change the width or theme and inspect the actual HTML in the Project. Guide authors to publish only the declared screen files and approved assets, and to use the pinned revision for Compile. Bundle the matching CLI and its JSON editing dependency. The service displays the source directly, so publishing no longer needs Chromium on the author's machine. Verified the exact CLI contract and deterministic package on Node 24.18.0. Both Codex and Claude Code installed the package and ran the bundled CLI. All 117 repository tests passed. Refs firstdraft/cli#77.
raghubetina
added a commit
to firstdraft/skills
that referenced
this pull request
Nov 29, 2026
Owners can now change the width or theme and inspect the actual HTML in the Project. Guide authors to publish only the declared screen files and approved assets, and to use the pinned revision for Compile. Bundle the matching CLI and its JSON editing dependency. The service displays the source directly, so publishing no longer needs Chromium on the author's machine. Verified the exact CLI contract and deterministic package on Node 24.18.0. Both Codex and Claude Code installed the package and ran the bundled CLI. All 117 repository tests passed. Refs firstdraft/cli#77.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CLI 0.12.2 publishes declared HTML and supporting assets with the working Foundation Plan. The Project renders the approved source at the reviewer’s chosen width. Local receipts still identify the files for Compile. A retry uses the original stored request, including captures from an earlier CLI.
Fresh publication checks the service capability introduced in API 0.10.2 before reading or uploading the screen files. Other commands retain their API 0.10.x compatibility range and Plan format 0.24. The service candidate rejects undeclared local asset references before accepting the revision.
Docs: updated README.md, docs/commands.md, docs/errors.md, and CHANGELOG.md for the published payload, compatibility and recovery.
Review: Sol requested attention (one finding, verified resolved in the service), Opus approved (one finding addressed), and Neon approved (one finding fixed). Fable was rate-limited. Reviews covered the initial implementation.
Validation
Pinned Node.js 24.18.0 and npm 11.16.0 passed the full local check, all 401 tests without skips, the package allowlist, and the packed install smoke. npm audit reported zero vulnerabilities. The release changelog check passed.