dive serve
dive serve
Run Dive as an HTTP service that starts, streams and cancels plan runs
Serves the plans in this project's .dive/ over HTTP. Each request carries a run token, a JWT signed by your app and checked against the keys in [serve].public_keys. Reads only the project config, as serve mode always does. --dev-key signs and trusts a local key instead, for development, and is refused when DIVE_ENV or [identity].environment is production.
Options
Address and port to listen on; overrides [serve].listen
Format: ADDR.
Project directory to serve, the one holding .dive/; defaults to the current directory
Format: PATH.
Sign and trust a local development key, created in the data directory on first use
Available commands
dive serve token: Print a run token signed with the local development key
Global options
Increase log verbosity (-v info, -vv debug, -vvv trace)
Act as this [identities] entry: runs get a run token minted for its tenant and user, which http tools send to the app
Format: IDENTITY.
dive serve [OPTIONS] [COMMAND]