up
Plan or run the full app-aware deploy workflow from a local path or repo URL, handling missing setup steps like wallet, tier, project, and workspace link before deploying.
Instructions
Plan or run the canonical app-aware run402 up workflow from a local path or repo URL: any missing setup (wallet, tier, project, workspace link), then the deploy. Delegates to the SDK and returns the shared up result envelope with graph steps, resources, diagnostics, and next_actions. deploy only deploys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Workspace directory to inspect when source is omitted. | |
| yes | No | Approve non-interactive prerequisite, spend, and local-write prompts. | |
| name | No | Project/app instance name, for example kysigned2. | |
| tier | No | Bootstrap tier if account readiness is needed. | |
| source | No | Local app directory or public Git repository URL. Defaults to the current directory. | |
| dry_run | No | Plan only. No gateway mutation, build execution, release commit, local link write, or prune. | |
| manifest | No | Explicit manifest path. Defaults to run402.json, then advanced release-only manifests. | |
| build_mode | No | Override app build mode. | |
| project_id | No | Existing project id to install into. | |
| allow_prune | No | Approve destructive managed-resource prune steps. | |
| no_rehearse | No | Skip the automatic rehearsal. By default a migration-bearing deploy against a project with a live release is rehearsed on a contained branch and committed only on a passing report; a first deploy has nothing to protect and commits directly, and a plan whose migrations are all already applied with an identical checksum is not rehearsed either (result.deploy.rehearsal says which: no_live_release / migrations_unchanged / no_migrations). | |
| display_name | No | Display name to set on this principal (promotion credit and room presence use it); overrides an existing name. Omitted: RUN402_AGENT_NAME when set (same effect); else, only when the principal has no name yet, the detected client name (claude-code, codex, cursor, or grok; RUN402_CLIENT=<name> declares one that is not auto-detected) is set and reported as identity.source "detected"; otherwise nothing is written (identity.source "undetected", room presence 'agent' for coordination only). A detected client that was not applied is still reported under identity.detected / identity.detection. | |
| max_spend_usd | No | Maximum spend up may approve for readiness steps. | |
| idempotency_key | No | Root idempotency key for resumable app-up graph mutations. | |
| allow_shell_build | No | Approve shell-string build commands after review. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| result | No | ||
| status | Yes |