v0.2.0
Features
- Serve every local project at one Proto address, with a project home and project switching.
- Add
proto start,proto stopandproto statuswith JSON output for agents. Project terminals survive a Proto stop and reconnect on start; Ctrl-C stops only the current project.
Migration to one local address (breaking)
- Replace
@compozy/protowith@protohq/cliin every import and pin the new version in every workspace manifest that uses it, not only the gallery app's manifest. - Remove a legacy
review.remoteblock fromproto.config.ts; runproto logininstead for hosted review access. - Remove
dev.portfromproto.config.ts. Every project now uses Proto's shared address;dev.pollanddev.allowedHostsremain supported. An old port key fails withinvalid_config. - Replace
--portonproto dev,proto stories runandproto stories urlwithPROTOHQ_PORTwhen selecting Proto's address. The flag now fails asinvalid_input(exit 2). PROTOHQ_PORTused to select a per-project gallery port, with the preview at the next port. It now selects the shared background Proto port (default 4400), remembered for later starts and URL commands. Stop Proto before starting with a different value. Previews and story roots have reserved per-project addresses; discover previews withproto url <slug> --bareand running story addresses withproto status --json.- Gallery links now use
http://127.0.0.1:4400/p/<label>/;/lists all known projects. Replace bookmarks that used a project gallery at/with its printed project URL. proto dev --jsonused to return{ origin, renderOrigin }. It now writes one stdout JSON line with{ url, home, label, projectId, state, renderOrigin }and keeps serving the project; lifecycle updates and warnings go to stderr. A second invocation returnsalready_runningand exits 0; itsrenderOriginmay benullduring startup.project_mismatchis removed. Captures find the owning project through its lock and verify its server instance.project_busyidentifies another capture or a startup that did not finish within 60 seconds;project_offlineidentifies a project that stopped or lacks a preview address.- Rerun
proto init --skillsto refresh shipped agent guidance and rewrite an older fixed-preview design record topreview: "proto url {slug} --bare". Regenerate evidence to replace embedded local origins with source paths. Committed review files are unchanged; old unsent browser comment drafts are left in place and are not migrated into the project-specific draft store.
Hosted collaboration
- Proto is distributed as
@protohq/cli, with free local authoring and review under its EULA. - Hosted snapshots support invitations, comments and browser approval.
- Workspace identity, Editor seats and billing support hosted collaboration.
- CLI login and explicit share selection connect local agent workflows to hosted review.