Bootstrap CodePress Live Dev Server recipe + dev Dockerfiles - #10
Draft
lightninglu10 wants to merge 1 commit into
Draft
Bootstrap CodePress Live Dev Server recipe + dev Dockerfiles#10lightninglu10 wants to merge 1 commit into
lightninglu10 wants to merge 1 commit into
Conversation
Co-authored-by: lightninglu10 <2453737+lightninglu10@users.noreply.github.com>
lightninglu10
added a commit
that referenced
this pull request
Aug 20, 2026
the integration branch could not be named codepress: refs/heads/codepress/ is already a directory in the ref namespace (PR #10's bootstrap branch), so git rejects a ref at refs/heads/codepress outright.
lightninglu10
added a commit
that referenced
this pull request
Aug 20, 2026
* chore(provenance): add reproducible FreeCut package baseline * feat(editor): add CodePress command adapter boundary * fix(editor): harden fractional frame adapter paths * fix(editor): close adapter boundary review gaps * feat(editor): add host-backed FreeCut surface * fix(editor): guard host mode from audio skim persistence * feat(package): publish host-backed editor surface * chore(package): publish editor surface privately * fix(package): keep private publish guard below quality threshold * fix(package): gate publish on packed consumer smoke * fix(package): keep consumer smoke outside root check * Add caption commands and FreeCut caption UI (#3) * add caption command and editor ui * fix(editor): mount caption editor in production shell * feat(editor): route captions through host surface * fix(editor): preserve caption background opacity * fix(release): fetch full history for editor surface publish (#6) * fix(release): publish editor surface tarball as local file (#7) * feat(editor): add host-backed transcript consumer * fix(editor): keep host-visible sidebar tab across authoritative snapshots Applying a transcript edit installs the authoritative snapshot, and the host runtime reset the active sidebar tab to Media on every install. That unmounted the transcript panel before it could show its applied state or its inline revision-conflict error (the conflict only reached the user through the host notify channel). Preserve the active tab when host mode still shows it (media always, text/transcript per capability and port), and keep resetting tabs host mode does not expose. Cover the applied and conflict outcomes through the real MediaSidebar path. * publish the editor surface to public npm via trusted publishing the package is MIT and built from a public repo, so routing it through a private registry only bought a credential every consumer had to obtain. 0.3.0 is already on npmjs.org with the same bytes it had on github packages. - publishConfig targets registry.npmjs.org with public access, and the packaging guard now enforces that instead of the opposite - the release workflow authenticates with OIDC (id-token: write) rather than a GITHUB_TOKEN with packages: write, so there is no token to rotate, and publishes with --provenance - it also runs on merges into the codepress integration branch, not just on release tags, and no-ops when the version is already published - sync-upstream keeps main a clean mirror of walterlow/freecut and warns when the integration branch falls behind - README drops the registry and token setup consumers no longer need * point the publish and sync workflows at codepress-main the integration branch could not be named codepress: refs/heads/codepress/ is already a directory in the ref namespace (PR #10's bootstrap branch), so git rejects a ref at refs/heads/codepress outright. * drop the stale github packages line from the surface readme the rewrite left the old sentence directly above its replacement, so the readme claimed both registries in consecutive lines.
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
FreeCut now has the repository-owned setup needed for CodePress Live Dev Server previews. The editor can be started from a thin development image with the checked-out source and dependencies supplied at runtime, while the Vite server is configured to work through the hosted preview proxy with live HMR.
Technical details
Added the schema v1 root-frontend recipe for FreeCut's Vite+ app, using npm 11.8.0,
npm install, port 5173, andprocps. Added the managed Node 22 Bookworm dev Dockerfile using the public ECR mirror; it contains only the toolchain, runtime bind/HMR defaults, the package-manager setup, andnpm run dev, with no source or app dependencies baked into the image.Updated
vite.config.tswith a CodePress-managed environment bridge for the preview base path, bind host, port, HMR client port, and HMR protocol, and enabledallowedHostsfor the preview proxy. Discovery found no staging backend URL, same-repo backend API, or social-auth flow, so the recipe intentionally omitsstaging_backend_urland there are no CORS, env-prefill, or auth edits.Changes
.codepress/dev-server/recipe.jsonfor the root Vite frontend..codepress/dev-server/Dockerfile.webfor the thin Live Dev Server image.Test plan
.codepress/dev-server/recipe.jsonand confirm schema version 1, the root frontend entry, port 5173,procps, and the Dockerfile path.COPYand starts withnpm run dev./app, then verify the dev server listens on0.0.0.0:5173and the hosted preview's HMR websocket uses the configured public protocol and port.CODEPRESS_BASE_PATHto a non-root preview path and verify Vite serves asset URLs under the normalized base path.Open items
Authors
Generated with CodePress · View the chat session