docs/reference/cli.md

CLI scripts

Run from the vocion-core root. Root scripts forward to @vocion/core; scripts marked core run with npm run <script> --workspace @vocion/core -- <args>.

Run locally

ScriptDoes
dev:up / dev:down / dev:statusStart, stop, inspect the Docker platform (Postgres + pgvector, Langfuse)
dev:nextThe app on
against your DATABASE_URL
devThe app with an embedded Postgres (PGlite) instead of Docker
dev:agent-runtimeThe agent-runtime container locally (
)
build / startProduction build and serve

Database

ScriptDoes
db:migrateApply migrations
db:generateGenerate a migration after a schema change (contributors)
db:studioBrowse the database

Users and tokens

ScriptDoes
user:create (core)Create a user; with --account on an empty install, the account and first workspace. --email, --name, --password (generated if omitted), --role admin|member
tokens:issue / tokens:list / tokens:revokeManage vcn_live_ API tokens
personal-projects:backfill (core)Create every member's personal workspace now instead of at next sign-in

Workspace

ScriptDoes
workspace:scaffold -- <name> [--path <dir>]New workspace at ../workspace/<name>
workspace:check -- <path>Validate without writing (no database needed)
workspace:apply -- <path> [--project <id|slug>] [--org <id>] [--dry-run]Apply to the database
workspace:exportOne-time export of agents, object types, teams and manifest from a database

Connectors

ScriptDoes
creds:set (core)Store a connector credential
google:oauth (core)Run a Google login from the shell
sync:source (core)Sync one source now

Evals and quality

ScriptDoes
eval:run (core) -- --dataset <slug>Run an eval dataset
eval:upgrade (core) -- --dataset <slug> --baseline <model> --candidate <model>Compare two models on a dataset
test, test:e2e, lint, check:types, check:deps, check:i18nContributor checks
openapi:generateRegenerate the OpenAPI spec

MCP and observability

ScriptDoes
mcp:serveThe local stdio MCP server
langfuse:smoke / langfuse:bootstrap (core)Check or set up Langfuse

Infrastructure

ScriptDoes
tofu:init / plan / apply / output / destroyOpenTofu in infra/terraform
docker:build / docker:runBuild and run the app image