Skip to content

Local editor

The solo-creator editor is optional. Install @stratolms/editor as a development dependency in the creator checkout and run:

Terminal window
pnpm add -D @stratolms/editor
pnpm stratolms editor

Use pnpm stratolms editor --no-open when the browser should not be opened. The server prints a loopback URL and uses a launch capability in the URL fragment. The capability is exchanged for an in-memory session; it is not sent in the initial HTTP request or a query string.

The editor can inspect and edit only src/content documents. It preserves untouched Markdown/MDX body text, reports unsupported MDX as source-only, checks the expected file hash before saving, validates a candidate with stratolms check, and keeps failed drafts under the ignored .stratolms-private/ store. It never edits .env, adapters, middleware, payment code or the runtime package. It does not push, deploy or publish.

Preview is saved-file Astro preview with synthetic local configuration, not an unsaved contextual renderer. Paid source may be visible to the local creator, but production/static/client output must still pass the adapter and boundary verifiers.

Review changed files with Git before committing. The editor leaves commit, push, and deployment actions to you.