Promote visual to app
promote_appUpgrade a visual app to a full app in one atomic step, preserving all other settings and keeping a history, while refusing downgrades and no-ops for already full apps.
Instructions
Upgrade a kind:"visual" app to a full app in ONE atomic step: the engine flips kind in the stored manifest, keeping every other declared key, and saves a new version (OCC-guarded, history kept). Already an app is a no-op; downgrades are refused — demoting is an author edit (save_app with the manifest), not a lifecycle verb.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | an existing app with kind "visual" (list_apps {kind:"visual"} shows them) | |
| command_id | No | idempotency key (uuid); auto-generated if omitted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| eot | No | ||
| was | No | ||
| kind | No | ||
| name | No | ||
| note | No | ||
| reason | No | ||
| version | No |