// Documentation
cosmo CLI reference.
Every command and flag for the cosmo developer CLI, verified against packages/cli.
CLI · 04b
cosmo doppler --prism
Pass --prism to cosmo doppler to launch Prism, the browser visualization for the Doppler, instead of streaming envelopes to stdout. It boots a local server (default port 7071) that serves a single-page app and a WebSocket bridge; each connection opens its own Synapse subscriber, so you can switch URL and namespace from the form without restarting. Pre-fill the target with --url and --namespace to skip the form, or set --port to serve elsewhere.
# Launch Prism - the browser visualization for the Doppler. $ cosmo doppler --prism # opens Prism, enter the synapse URL in the form $ cosmo doppler --prism --port=8080 # serve on a custom port $ cosmo doppler --prism --url=cosmo://127.0.0.1:7070 -n dev # skip the form, attach directly Prism serving on http://127.0.0.1:7071 WS bridge /ws → streams one JSON Signal envelope per message # Prism is a single-page app (Vite + React + TS) bundled into the cosmonapse wheel. # The Python side serves static assets + a WebSocket bridge; no Node on the install path.
Have a feature in mind?
The protocol, SDKs, and CLI are still pre-1.0. If something here is missing, ambiguous, or wrong - open an issue and propose a change. Every breaking change is debated in DECISIONS.md first.