Skip to content

fix(templates): move preview ownership to host - #198

Merged
drewstone merged 1 commit into
mainfrom
fix/app-owned-preview-contract
Jul 30, 2026
Merged

fix(templates): move preview ownership to host#198
drewstone merged 1 commit into
mainfrom
fix/app-owned-preview-contract

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Problem

Generated React/Vite projects instructed agents to call a local sidecar endpoint that Blueprint does not provide. The template also shipped a fake preview server that served TypeScript source as static files.

Change

  • Remove sidecar credentials, endpoint calls, and the fake React/Vite preview server.
  • Make preview ownership a single shared instruction: the host starts and publishes the persistent server; agents build and validate their project.
  • Remove the stale fixed port and instant-preview validation from the React/Vite family.

Proof

  • pnpm test — 1,178 passed, 0 failed.
  • pnpm check:publish — passed.
  • npm pack --dry-run — package integrity passed.
  • git merge-tree --write-tree origin/main HEAD — clean.

@drewstone
drewstone merged commit e26a65e into main Jul 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant