@treeseed/cli publishes the treeseed and trsd command surfaces. Use it to configure Treeseed, run local development, save/stage/release work, reconcile hosting, operate capacity providers, manage package images, and inspect workflow state.
The CLI is the human and automation entrypoint over package-owned capabilities. It delegates platform logic to @treeseed/sdk, web runtime orchestration to @treeseed/core, backend behavior to API surfaces, capacity runtime to @treeseed/agent, and TreeDX image workflows to package manifests.
- configure local, staging, and production environments
- start and inspect local development instances
- save, stage, close, resume, and release multi-repo work
- plan/apply/verify hosted infrastructure through reconciliation
- run operations-runner smoke checks
- build and operate capacity providers
- manage TreeDX package image workflows
- inspect package drift, workflow locks, and interrupted runs
npm install @treeseed/cliAfter installation:
treeseed --help
trsd --helpIn this workspace, use npx trsd ... from the root.
treeseed status --json
treeseed config
treeseed ready local --json
treeseed switch feature/my-change --plan --json
treeseed dev start --web-runtime local --json
treeseed save --verify local --json "describe the checkpoint"
treeseed stage --plan --json "describe the staging change"
treeseed release --patch --verify-deployed-resources --plan --json
treeseed recover --jsonHosted diagnostics:
treeseed ready staging --json
treeseed hosting plan --environment staging --service api --json
treeseed hosting verify --environment staging --service operationsRunner --live --json
treeseed operations smoke --environment staging --service operationsRunner --jsonCapacity providers:
treeseed capacity build
treeseed capacity up
treeseed capacity status
treeseed capacity logs
treeseed capacity downTreeDX package image:
treeseed package image --package treedx --branch staging --plan --json
treeseed package image --package treedx --branch staging --sync-config --json
treeseed package image --package treedx --branch staging --execute --jsonUse treeseed help <command> for command-specific usage and examples.
The CLI coordinates the root market repo plus checked-out package repositories:
@treeseed/sdk@treeseed/ui@treeseed/core@treeseed/admin@treeseed/api@treeseed/cli@treeseed/agentpackages/treedx
Workflow commands save package repos in dependency order, update submodule pointers, verify package release gates, and avoid one-off provider mutation.
treeseed save is the default checkpoint command. It saves dirty package repositories first, restores workspace links, performs lightweight release-candidate validation, and then saves the root market repo.
treeseed save --json "describe the checkpoint"
treeseed save --verify local --json "describe the checkpoint"
treeseed save --lane promotion --json "describe the checkpoint"treeseed stage and treeseed release are promotion-grade commands. Use --plan before risky operations:
treeseed stage --plan --json "describe the staging change"
treeseed release --patch --verify-deployed-resources --plan --jsonInterrupted workflow runs are journaled under .treeseed/workflow:
treeseed recover --json
treeseed resume <run-id> --json@treeseed/sdkowns workflow, reconciliation, config, package discovery, and platform primitives.@treeseed/coreowns the local web runtime used bytreeseed dev.@treeseed/adminand@treeseed/uiare consumed by the web app; CLI does not own those routes or components.@treeseed/apiowns backend API and operations-runner implementation.@treeseed/agentowns capacity-provider runtime artifacts that CLI starts or reconciles.- TreeDX owns its service/image; CLI exposes package-image workflow commands.
From this package root:
npm install
npm run build
npm test
npm run release:verifyRelease verification checks the packaged command surface, parser/help behavior, build output, and publishable artifact shape.
- SDK reconciliation internals
- Core web runtime internals
- Admin routes or UI components
- backend API implementation
- capacity-provider runtime implementation
- TreeDX service internals
- root market content or ecommerce
See the root Package Ownership guide for cross-package boundaries.