Skip to content

Reference

CLI reference

Every stuarty command, its flags and the exit codes.

Last updated:

The CLI is a thin adapter over the same service as the editor, the MCP server and the HTTP API. Add --json to any command for one JSON document on standard output.

Global flags#

FlagTypeDefaultMeaning
--jsonbooleanfalseprint one JSON document
--projectstringproject id (default $STUARTY_PROJECT)
--workspacestringworkspace directory (default $STUARTY_HOME, else ~/.stuarty)
--actorstringclilabel of the actor local:<label>
--key-filestringfile holding an API key for a remote server
--dry-runbooleanfalsevalidate and report, change nothing
--waitbooleantrueblock until the job is final (--no-wait to return at once)
--timeoutduration10mlongest --wait

Exit codes#

CodeMeaning
0success
1a failure that retrying will not fix, a failed file of media:import, a failed job, or lint --strict with an error finding
2a retryable error (E_REVISION_CONFLICT, E_WORKSPACE_LOCKED, E_QUEUE_FULL, E_RATE_LIMITED, E_ASSET_NOT_READY) or a --wait that timed out

project:list#

List the projects of the workspace

Text
stuarty project:list [--state active|trashed|all] [--cursor c] [--limit n]
FlagTypeDefaultMeaning
--statestringactiveactive, trashed or all
--cursorstringcontinue a list from this cursor
--limitinteger20items per page

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty project:list --json

project:create#

Create a project

Text
stuarty project:create --name <n> --description <t> --specific|--measurable|--achievable|--relevant|--time-bound <t> --due <date> [--kind text|video|image]
FlagTypeDefaultMeaning
--namestringproject name: 4 to 32 letters, digits and single spaces (required)
--descriptionstringwhat the project is, for whom, what it makes: 64 to 1024 characters (required)
--specificstringgoal: what exactly it will achieve, 16 to 280 characters (required)
--measurablestringgoal: how success is counted, 16 to 280 characters (required)
--achievablestringgoal: why it can be done with what you have, 16 to 280 characters (required)
--relevantstringgoal: why it matters, 16 to 280 characters (required)
--time-boundstringgoal: the schedule and the milestones, 16 to 280 characters (required)
--duestringgoal: the due date YYYY-MM-DD, today or later (required)
--presetstringdeprecated, creates nothing: the size is asked when a video is added
--fpsstringdeprecated, creates nothing: the frame rate is asked when a video is added
--idstringidentifier for the project (omit it in network mode: the server chooses)
--kindstringwhat the project is meant to become: text, video, image or undecided (default); it creates no timeline

Global flags: --json, --workspace, --actor, --key-file, --dry-run.

Example:

Terminal
stuarty project:create --name "Launch teaser" --description "A 30 second vertical teaser for the launch of my course, for people who follow me on short video, with captions and a thumbnail." --specific "Publish one teaser that explains the course in one sentence" --measurable "At least 1000 views and 50 sign-ups in the first week" --achievable "I already have the footage and edit one video a day" --relevant "The launch needs an audience before the doors open" --time-bound "Script on Monday, edit on Tuesday, publish on Wednesday" --due 2027-03-31 --json

project:update#

Change the name, the description or the goal of a project

Text
stuarty project:update <id> [context flags of project:create]
FlagTypeDefaultMeaning
--namestringproject name: 4 to 32 letters, digits and single spaces
--descriptionstring64 to 1024 characters
--specificstringgoal: 16 to 280 characters (a goal is sent whole: give all six goal flags)
--measurablestringgoal: 16 to 280 characters
--achievablestringgoal: 16 to 280 characters
--relevantstringgoal: 16 to 280 characters
--time-boundstringgoal: 16 to 280 characters
--duestringgoal: the due date YYYY-MM-DD

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty project:update prj_7k2m9x4q1b --name "Launch teaser v2"

project:show#

Show a project

Text
stuarty project:show [<project id>] [--detail concise|full|document] [--cursor c] [--limit n]
FlagTypeDefaultMeaning
--detailstringconciseconcise, full or document
--cursorstringcontinue a list from this cursor
--limitintegeritems per page

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty project:show --project prj_7k2m9x4q1b

project:trash#

Move a project to the trash

Text
stuarty project:trash <project id>

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty project:trash prj_7k2m9x4q1b

project:restore#

Restore a trashed project

Text
stuarty project:restore <project id>

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty project:restore prj_7k2m9x4q1b

edit#

Apply a batch of operations to a project (its lint block is lint_scope fast: lint runs every rule)

Text
stuarty edit --project <id> --ops <file|-> [--base n] [--key k]
stuarty edit --project <id> <op> [k=v | k:=json]...
FlagTypeDefaultMeaning
--opsstringa JSON file with the batch, or - for standard input: {"operations":[{"op":"item.move","args":{"item_id":"itm_m1n2p3q4r5","start":"2s"}}]}, or only the array of {op, args}; base_revision, idempotency_key and dry_run may sit beside operations
--baseintegerthe revision the batch was planned against (default: the current one)
--keystringidempotency key

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty edit --project prj_7k2m9x4q1b item.move item_id=itm_m1n2p3q4r5 start=2s

history#

List the steps of a project history

Text
stuarty history --project <id> [--by a] [--cursor c] [--limit n]
FlagTypeDefaultMeaning
--bystringonly the steps of this actor
--cursorstringcontinue a list from this cursor
--limitinteger20items per page

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty history --project prj_7k2m9x4q1b --json

undo#

Undo the last step of the caller

Text
stuarty undo --project <id>

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty undo --project prj_7k2m9x4q1b

redo#

Redo the last undone step of the caller

Text
stuarty redo --project <id>

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty redo --project prj_7k2m9x4q1b

lint#

Check a project against every lint rule (an edit result runs only the fast rules, lint_scope fast)

Text
stuarty lint --project <id> [--severity error|warning] [--cursor c] [--limit n] [--strict]
stuarty lint --project <id> --preset <id> [--start t] [--end t]
FlagTypeDefaultMeaning
--severitystringwarningerror lists only errors; warning lists everything
--strictbooleanfalseexit 1 when there is at least one error finding
--presetstringthe fit check of an export preset instead of the lint, as export:check
--startstringwith --preset: first time of the range to check
--endstringwith --preset: end of the range to check
--cursorstringcontinue a list from this cursor
--limitinteger25items per page

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty lint --project prj_7k2m9x4q1b --json

version#

Print the version of this binary

Text
stuarty version [--json]

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty version

mcp#

Serve the MCP tools on standard input and output

Text
stuarty mcp [--actor <label>]

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
claude mcp add stuarty -- stuarty mcp

revert#

Go back to the document of an earlier revision, as a new step that undo takes back

Text
stuarty revert --project <id> (--revision n | --checkpoint name) [--base n] [--dry-run]
FlagTypeDefaultMeaning
--revisionintegerthe revision to go back to
--checkpointstringthe name of a checkpoint to go back to
--baseintegerthe revision you read (default the current one); an older one conflicts with other actors' changes

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty revert --project prj_7k2m9x4q1b --checkpoint "before the intro" --dry-run

diff#

List what changed between two revisions, most significant first

Text
stuarty diff --project <id> (--from n | --from-checkpoint name) [--until n]
FlagTypeDefaultMeaning
--fromintegerthe revision the diff starts from
--from-checkpointstringthe name of a checkpoint the diff starts from
--untilintegerthe revision the diff ends at (default the current one)

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty diff --project prj_7k2m9x4q1b --from 12

checkpoint:create#

Name a revision so that it can be gone back to

Text
stuarty checkpoint:create --project <id> --name <name> [--note t] [--revision n]
FlagTypeDefaultMeaning
--namestring1 to 60 characters, no slash
--notestringup to 300 characters
--revisionintegerthe revision to name (default the current one)

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty checkpoint:create --project prj_7k2m9x4q1b --name "before the intro"

checkpoint:list#

List the checkpoints of a project, newest revision first

Text
stuarty checkpoint:list --project <id>

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty checkpoint:list --project prj_7k2m9x4q1b --json

checkpoint:rename#

Rename a checkpoint, and change its note

Text
stuarty checkpoint:rename --project <id> --name <name> --new-name <name> [--note t]
FlagTypeDefaultMeaning
--namestringthe checkpoint to rename
--new-namestringthe new name
--notestringreplaces the note when given

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty checkpoint:rename --project prj_7k2m9x4q1b --name draft --new-name "first cut"

checkpoint:remove#

Remove a checkpoint; no revision is removed

Text
stuarty checkpoint:remove --project <id> --name <name>
FlagTypeDefaultMeaning
--namestringthe checkpoint to remove

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty checkpoint:remove --project prj_7k2m9x4q1b --name draft

media:import#

Import media files into a project

Text
stuarty media:import <path>... --project <id> [--asset-id ast_...] [--wait] [--timeout d]
stuarty media:import --hash sha256:... --project <id>   (a file the library already holds: no copy)
origin and reuse: [--origin-kind k] [--origin-source s] [--provider p] [--model m] [--prompt t] [--rights-note t] [--engine e] [--engine-version v] [--render-key k] [--tag t] [--reusable] [--description t] [--sound-kind k]
formats: MP4, MOV, MKV, WebM, AVI, MP3, WAV, FLAC, OGG, PNG, JPEG, WebP, GIF and .cube; not SVG
FlagTypeDefaultMeaning
--asset-idstring, repeatableid to give the asset, once per path, in order
--hashstring, repeatablethe hash of a file of the library to use in the project, in place of a path
--origin-kindstringimported (default), generated, fetched_by_agent or rendered_externally
--origin-sourcestringa path, a URL or a tool name, as plain text (required for fetched_by_agent and rendered_externally)
--providerstringthe provider that generated the files (required for generated)
--modelstringthe model that generated the files (required for generated)
--promptstringthe prompt that generated the files
--cost-microsintegerwhat the files cost, in millionths of a US dollar
--enginestringthe motion engine that rendered the files (rendered_externally)
--engine-versionstringthe version of that engine (rendered_externally)
--render-keystringa stable name for the animation, the same each time it is rendered again (rendered_externally)
--rights-notestringyour own record of the licence or the permission (required for fetched_by_agent)
--tagstring, repeatablea tag for the files; repeat it or give a comma list
--reusablebooleanmark the files to be offered again
--descriptionstringwhat the files are, in your words
--sound-kindstringmusic, voice or effect, for the audio files

Global flags: --json, --workspace, --actor, --key-file, --project, --wait, --timeout.

Example:

Terminal
stuarty media:import clip.mov --project prj_7k2m9x4q1b --json

media:inspect#

Show what is known about an asset

Text
stuarty media:inspect <asset id> --project <id> [--sections probe,transcript,silences,loudness]
FlagTypeDefaultMeaning
--sectionsstringprobeprobe, transcript, silences, loudness, beats, words, fillers, zooms
--min-silencestring0.4sshortest silence to report
--cursorstringcontinue a list from this cursor
--limitintegeritems per page

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty media:inspect ast_3c5v8n2w6d --project prj_7k2m9x4q1b --sections probe,silences

media:list#

List the assets of a project

Text
stuarty media:list --project <id> [--cursor c] [--limit n]
FlagTypeDefaultMeaning
--cursorstringcontinue a list from this cursor
--limitinteger50items per page

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty media:list --project prj_7k2m9x4q1b --json

media:trash#

Move an asset to the trash

Text
stuarty media:trash <asset id> --project <id>

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty media:trash ast_3c5v8n2w6d --project prj_7k2m9x4q1b

media:restore#

Restore a trashed asset

Text
stuarty media:restore <asset id> --project <id>

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty media:restore ast_3c5v8n2w6d --project prj_7k2m9x4q1b

view#

Render a frame or a contact sheet of a project, or measure its sound

Text
stuarty view --project <id> [--mode frame|sheet|audio] [--at t] [--times t1,t2,...]
    [--from t --until t --count n] [--cols n] [--max-tokens n] [--width px] [--item id]
FlagTypeDefaultMeaning
--modestringframeframe (one image at --at), sheet (a grid) or audio (the loudness, true peak and noise floor with and without the audio processors)
--itemstringaudio: measure this clip or audio item alone
--atstringframe: the time to show
--timesstringsheet: 2 to 16 times, comma separated
--fromstringsheet: first time (default 0s); audio: start of the range
--untilstringsheet: last time, included (default the last frame); audio: end of the range, excluded
--countinteger9sheet: frames evenly spaced from --from to --until
--colsintegersheet: columns (default ceil(sqrt(count)))
--max-tokensintegerimage token budget (default 800, a sheet 1,500; at most 1,568)
--widthintegerimage width in pixels, even; exclusive with --max-tokens

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty view --project prj_7k2m9x4q1b --at 1s --json

export#

Export a project to a file

Text
stuarty export --project <id> [--start t] [--end t] [--format f] [--at t] [--preset p] [--codec c] [--wait] [--out f] [--force]
FlagTypeDefaultMeaning
--startstringfirst time to export (default: the start)
--endstringend of the export (default: the end of the timeline)
--atstringthe time of the frame, only with --format png (default: the start)
--presetstringa platform preset, as export:presets lists them (mp4 only)
--codecstringh264 (default), hevc or av1 (mp4 only)
--formatstringmp4 (default), gif, wav, aac or png
--outstringcopy the file to this path when the job succeeds (implies --wait; the workspace keeps its own copy)
--forcebooleanfalsereplace the --out file when it exists

Global flags: --json, --workspace, --actor, --key-file, --project, --wait, --timeout.

Example:

Terminal
stuarty export --project prj_7k2m9x4q1b --json

export:presets#

List the export presets of the platforms

Text
stuarty export:presets [--codecs]
FlagTypeDefaultMeaning
--codecsbooleanfalsealso tell which codecs this machine can write (runs the test encodes the first time)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty export:presets --codecs --json

export:check#

Check that a project fits an export preset, before any encoding

Text
stuarty export:check --project <id> --preset <id> [--start t] [--end t] [--codec c]
FlagTypeDefaultMeaning
--presetstringthe preset id, as export:presets lists them
--startstringfirst time to export (default: the start)
--endstringend of the export (default: the end of the timeline)
--codecstringh264, hevc or av1, for the estimate of the size (default: the preset's first)

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty export:check --project prj_7k2m9x4q1b --preset tiktok --json

export:batch#

Export a project several times, one after the other, as one job

Text
stuarty export:batch --project <id> --preset <id>... [--codec c] [--start t] [--end t] [--wait]
stuarty export:batch --project <id> --items '<json array of {preset, format, codec, start, end}>' [--wait]
FlagTypeDefaultMeaning
--presetstring, repeatablea preset id; give the flag once for each export
--itemsstringthe exports as a JSON array of {preset, format, codec, start, end}, instead of --preset
--formatstringthe format of every --preset export that is not mp4 (default mp4)
--codecstringh264, hevc or av1 for every --preset export (default: the choice of the preset)
--startstringfirst time to export, for every --preset export (default: the start)
--endstringend of the export, for every --preset export (default: the end of the timeline)

Global flags: --json, --workspace, --actor, --key-file, --project, --wait, --timeout.

Example:

Terminal
stuarty export:batch --project prj_7k2m9x4q1b --preset tiktok --preset youtube-shorts --wait

job:show#

Show a job

Text
stuarty job:show <job id> [--wait] [--timeout d]
FlagTypeDefaultMeaning
--waitbooleanfalseblock until the job is final (--no-wait to return at once)

Global flags: --json, --workspace, --actor, --key-file, --timeout.

Example:

Terminal
stuarty job:show job_4h8k2m6p9t --wait

job:cancel#

Cancel a queued or running job

Text
stuarty job:cancel <job id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty job:cancel job_4h8k2m6p9t

job:list#

List the jobs of a project

Text
stuarty job:list --project <id> [--state s] [--cursor c] [--limit n]
FlagTypeDefaultMeaning
--statestringqueued, running, succeeded, failed, cancelled, active or all
--cursorstringcontinue a list from this cursor
--limitinteger20items per page

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty job:list --project prj_7k2m9x4q1b --state active

events#

Print the events of a project as they arrive

Text
stuarty events --project <id> [--from-id n] [--since n] [--count n]
FlagTypeDefaultMeaning
--from-idstringresume after this event id (the Last-Event-ID)
--sinceintegerreplay the revisions after this one (without it only new events arrive, so --count waits for them)
--countinteger0stop after n events (past ones only with --since or --from-id; 0: until interrupted)

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty events --project prj_7k2m9x4q1b --since 4 --count 3

command:help#

List the editing commands and the domains, or describe one command

Text
stuarty command:help [<name>]
stuarty command:help --domain <domain>
FlagTypeDefaultMeaning
--domainstringa domain of the product: its commands (without it, the video commands and the list of domains)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty command:help item.move

template:list#

List the templates of the library

Text
stuarty template:list [--cursor c] [--limit n]
FlagTypeDefaultMeaning
--cursorstringcontinue a list from this cursor
--limitinteger20items per page

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty template:list --json

template:save#

Make a template from a project

Text
stuarty template:save --project <id> --name <name> [--description d]
FlagTypeDefaultMeaning
--namestringtemplate name (required)
--descriptionstringwhat the template is for

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty template:save --project prj_7k2m9x4q1b --name "Spring sale"

template:new#

Create a project from a template

Text
stuarty template:new <template id> --name <name> [--fill <file|->] [--id prj_...]
FlagTypeDefaultMeaning
--namestringproject name (required)
--fillstringa JSON object of slot name to value: a file, or - for standard input
--idstringidentifier for the project (omit it in network mode: the server chooses)
--brand-colorstring, repeatablea colour of the template that takes its value from the brand kit
--brand-fontstring, repeatablea family of the brand kit to add to the project's fonts

Global flags: --json, --workspace, --actor, --key-file, --dry-run.

Example:

Terminal
stuarty template:new tpl_5n8b2v6c1x --name "Spring sale" --fill fill.json

template:export#

Write a template to a file the workspace keeps

Text
stuarty template:export <template id> [--out f] [--force]
FlagTypeDefaultMeaning
--outstringcopy the file to this path when the job succeeds (implies --wait; the workspace keeps its own copy)
--forcebooleanfalsereplace the --out file when it exists

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty template:export tpl_5n8b2v6c1x --out ~/spring-sale.stuarty-template.zip

template:import#

Add a template file to the library

Text
stuarty template:import <path>

Global flags: --json, --workspace, --actor, --key-file, --dry-run.

Example:

Terminal
stuarty template:import spring-sale.stuarty-template.zip

bundle:export#

Export a project as a .vvbundle to share or to back up

Text
stuarty bundle:export --project <id> [--no-log] [--wait] [--out f] [--force]
FlagTypeDefaultMeaning
--logbooleantrueinclude the operation log (--no-log to share without history)
--outstringcopy the file to this path when the job succeeds (implies --wait; the workspace keeps its own copy)
--forcebooleanfalsereplace the --out file when it exists

Global flags: --json, --workspace, --actor, --key-file, --project, --wait, --timeout.

Example:

Terminal
stuarty bundle:export --project prj_7k2m9x4q1b --out ~/teaser.vvbundle

bundle:import#

Create a project from a .vvbundle file

Text
stuarty bundle:import <path> [--as-new]
FlagTypeDefaultMeaning
--as-newbooleanfalsegive the project a new id and leave the log out (required on a server with accounts)

Global flags: --json, --workspace, --actor, --key-file, --dry-run.

Example:

Terminal
stuarty bundle:import launch-teaser.vvbundle --as-new

agent:docs#

Print or write the material for agents: the skill, the AGENTS.md snippet, the MCP instructions

Text
stuarty agent:docs --print skill|agents|instructions
stuarty agent:docs --write <dir>
stuarty agent:docs --print guide:<domain>
FlagTypeDefaultMeaning
--printstringprint one of skill, agents or instructions, or guide:<domain> for the page of a domain
--writestringwrite the three files into this directory

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty agent:docs --write ~/.claude/skills/stuarty

transcribe#

Transcribe the audio of an asset

Text
stuarty transcribe --project <id> --asset <id> [--language auto] [--model <name>] [--wait] [--timeout d]
FlagTypeDefaultMeaning
--assetstringasset to transcribe (required)
--languagestringautoBCP 47 code, or auto
--modelstringinstalled model name, such as base (default: the workspace default)

Global flags: --json, --workspace, --actor, --key-file, --project, --wait, --timeout.

Example:

Terminal
stuarty transcribe --project prj_7k2m9x4q1b --asset ast_3c5v8n2w6d --language en

doctor#

Check the installation and the workspace

Text
stuarty doctor [--full] [--verify] [--bundle] [--gc]
FlagTypeDefaultMeaning
--fullbooleanfalserun every check, not only the identity
--verifybooleanfalserecompute the digests of FFmpeg and the helpers
--bundlebooleanfalsewrite a diagnostic bundle inside the workspace
--gcbooleanfalseremove what no project refers to any more

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty doctor --full

fonts#

List the bundled font families

Text
stuarty fonts

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty fonts --json

audit#

List the audit table

Text
stuarty audit [--project <id>] [--cursor c] [--limit n]
FlagTypeDefaultMeaning
--projectstringonly the entries of this project
--cursorstringcontinue a list from this cursor
--limitinteger50items per page

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty audit --limit 20 --json

tools:install#

Download a helper such as the transcription program

Text
stuarty tools:install <name> [--model <model>] [--force] [--yes] [--timeout d]
FlagTypeDefaultMeaning
--modelstringthe model to download, which then becomes the default of transcribe (default: small)
--forcebooleanfalsedownload again what is installed and verified
--yesbooleanfalsedo not ask for confirmation

Global flags: --json, --workspace, --actor, --key-file, --timeout.

Example:

Terminal
stuarty tools:install whisper --model small

token:rotate#

Replace the local token; clients that hold the old one must be set up again

Text
stuarty token:rotate

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty token:rotate

font:import#

Add a TrueType or OpenType font file to the font store

Text
stuarty font:import <path>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty font:import Brand-Regular.ttf

brand:show#

Show the brand kit: logo, colours and fonts

Text
stuarty brand:show

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty brand:show --json

brand:set#

Replace the brand kit

Text
stuarty brand:set --kit <file|->
FlagTypeDefaultMeaning
--kitstringa JSON object with logo, colors and fonts, all optional: a file, or - for standard input (required)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty brand:set --kit brand.json

otio:export#

Write the timeline of a project as an OpenTimelineIO file

Text
stuarty otio:export --project <id> [--out f] [--force]
FlagTypeDefaultMeaning
--outstringthe file to write (default: the name of the project, in the current directory)
--forcebooleanfalsereplace the file when it exists

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty otio:export --project prj_7k2m9x4q1b --out cut.otio

otio:import#

Apply an OpenTimelineIO file to a project as one undo step

Text
stuarty otio:import <path> --project <id> [--base-revision n]
FlagTypeDefaultMeaning
--base-revisionintegerthe revision the file is applied to (default: the current one)
--allow-partialbooleanfalseimport the rest when the file refers to media the project does not have (default: refuse)

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty otio:import cut.otio --project prj_7k2m9x4q1b --dry-run

project:describe#

Describe a project as text: brief, items and state

Text
stuarty project:describe <id>
FlagTypeDefaultMeaning
--max-tokensintegerthe budget of the text in tokens, 200 to 6000 (default 1500)

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty project:describe prj_7k2m9x4q1b

project:duplicate#

Copy a project: its brief, texts and timelines

Text
stuarty project:duplicate <id> [--name n]
FlagTypeDefaultMeaning
--namestringthe name of the copy (default: the name and the word copy)

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty project:duplicate prj_7k2m9x4q1b --name "Teaser, second cut"

item:add#

Add a text, a timeline or an output to a project

Text
stuarty item:add --project <id> --kind text|timeline|output --title <t>
stuarty item:add --project <id> --kind text --title <t> --text <file|-> [--text-kind script|copy|caption]
stuarty item:add --project <id> --kind output --title <t> --job <export job id>
FlagTypeDefaultMeaning
--kindstringtext, timeline or output (required)
--titlestring1 to 120 characters (required)
--positionintegerwhere in the order of the items, from 0 (default: the end)
--textstringa text item: a file with its Markdown, or - for standard input
--text-kindstringa text item: script, copy (default), caption or post
--presetstringa timeline: 9:16 (default), 1:1, 16:9 or 4:5
--fpsstringa timeline: 30 (default), or n/1001
--jobstringan output: a succeeded export job of this project

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty item:add --project prj_7k2m9x4q1b --kind timeline --title "Wide cut" --preset 16:9

item:move#

Move an item to a position in the order of the project

Text
stuarty item:move <item> --project <id> --position n
FlagTypeDefaultMeaning
--positionintegerwhere in the order of the items, from 0 (required)

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty item:move pit_3c5v8n2w6d --project prj_7k2m9x4q1b --position n

item:rename#

Change the title of an item

Text
stuarty item:rename <item> --project <id> --title "..."
FlagTypeDefaultMeaning
--titlestringthe new title, 1 to 120 characters (required)

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty item:rename pit_3c5v8n2w6d --project prj_7k2m9x4q1b --title "..."

item:trash#

Move an item to the trash of its project

Text
stuarty item:trash <item> --project <id>

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty item:trash pit_3c5v8n2w6d --project prj_7k2m9x4q1b

item:restore#

Restore an item from the trash of its project

Text
stuarty item:restore <item> --project <id>

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty item:restore pit_3c5v8n2w6d --project prj_7k2m9x4q1b

project:step#

Skip an optional step of the workflow of a project, or put it back

Text
stuarty project:step <id> <step> [--restore]
FlagTypeDefaultMeaning
--restorebooleanput a skipped step back

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty project:step prj_7k2m9x4q1b recording

brief:show#

Show the brief of a project

Text
stuarty brief:show --project <id>

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty brief:show --project prj_7k2m9x4q1b

brief:set#

Write the brief of a project from a Markdown file

Text
stuarty brief:set --project <id> --text <file|->
FlagTypeDefaultMeaning
--textstringthe Markdown: a file, or - for standard input; an empty text clears the brief (required)

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty brief:set --project prj_7k2m9x4q1b --text brief.md

briefing:questions#

List the questions of the guided briefing; with --project, also what its brief already answers

Text
stuarty briefing:questions [--project <id>] [--kind short|commercial|long|text|image]
FlagTypeDefaultMeaning
--projectstringa project: also the answers its brief holds
--kindstringthe set of questions: short, commercial, long, text or image (default: the kind of the project)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty briefing:questions --project prj_7k2m9x4q1b

briefing:answer#

Answer the guided briefing: the answers become the brief of a project

Text
stuarty briefing:answer --project <id> [--kind short|commercial|long|text|image] --answer <question>=<text> [--answer ...] [--replace]
stuarty briefing:answer --project <id> [--kind short|commercial|long|text|image] --answers <file|-> [--replace]
FlagTypeDefaultMeaning
--answerstring, repeatableone answer as <question id>=<text>; repeat for each question
--answersstringa JSON object of question id to answer: a file, or - for standard input
--kindstringthe set of questions: short, commercial, long, text or image (default: the kind of the project)
--replacebooleanfalsereplace a brief that was written by hand

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty briefing:answer --project prj_7k2m9x4q1b --answer audience="indie developers" --answer goal="get sign-ups" --answer platform=youtube-shorts --answer format=vertical-9x16 --answer duration=30

connection:list#

List the destinations Stuarty may reach

Text
stuarty connection:list

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty connection:list --json

connection:show#

Show one connection: destinations, what it accepts and its last use

Text
stuarty connection:show <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty connection:show con_0123456789

connection:add#

Connect a destination; the secret is read from standard input or a file, never from an argument

Text
stuarty connection:add --kind <k> --label <t> --endpoint <url> --accepts <list>
FlagTypeDefaultMeaning
--kindstringthe kind of connection (required)
--labelstringa name for the person, 1 to 60 characters (required)
--endpointstringthe URL the connector calls first, https (required)
--acceptsstringwhat it may receive, a comma list of text, image, video, audio, metadata, document (required)
--hostsstringfurther hosts it may reach, a comma list; the endpoint host is always allowed
--secret-filestringa file that holds the secret; without it the secret is read from standard input

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
echo $TOKEN | stuarty connection:add --kind test --label Blog --endpoint https://video.example.com --accepts text

connection:remove#

Remove a connection and its credential

Text
stuarty connection:remove <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty connection:remove con_0123456789

connection:test#

Make one request through a connection and show how the destination answered

Text
stuarty connection:test <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty connection:test con_0123456789

webhook:events#

List the events a webhook may choose and what each one carries

Text
stuarty webhook:events

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty webhook:events --json

webhook:list#

List the outbound webhooks

Text
stuarty webhook:list

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty webhook:list --json

webhook:show#

Show one webhook

Text
stuarty webhook:show <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty webhook:show whk_0123456789

webhook:add#

Register a webhook; the signing secret is printed once and cannot be shown again

Text
stuarty webhook:add --name <t> --endpoint <url> --events <list> [--disable]
FlagTypeDefaultMeaning
--namestringa name for the person, 1 to 60 characters (required)
--endpointstringwhere the events are sent: https, or http for localhost (required)
--eventsstringa comma list of the events to receive (required); see webhook:events
--disablebooleanfalseregister it turned off

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty webhook:add --name n8n --endpoint https://stuarty.example.com/hooks --events export.ready,job.failed

webhook:update#

Change the name, the address, the events or the state of a webhook

Text
stuarty webhook:update <id> [--name <t>] [--endpoint <url>] [--events <list>] [--enable|--disable]
FlagTypeDefaultMeaning
--namestringthe new name
--endpointstringthe new address
--eventsstringthe new comma list of events
--enablebooleanfalseturn the webhook on
--disablebooleanfalseturn the webhook off

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty webhook:update whk_0123456789 --disable

webhook:remove#

Remove a webhook, its deliveries and its secret

Text
stuarty webhook:remove <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty webhook:remove whk_0123456789

webhook:rotate-secret#

Make a new signing secret; it is printed once and the old one stops verifying

Text
stuarty webhook:rotate-secret <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty webhook:rotate-secret whk_0123456789

webhook:test#

Send a webhook.test event now, one attempt, and show how the receiver answered

Text
stuarty webhook:test <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty webhook:test whk_0123456789

webhook:deliveries#

List the deliveries of a webhook, newest first, with their attempts

Text
stuarty webhook:deliveries <id> [--limit n] [--offset n]
FlagTypeDefaultMeaning
--limitinteger50deliveries in the page, 1 to 100
--offsetinteger0deliveries to skip

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty webhook:deliveries whk_0123456789 --json

webhook:redeliver#

Send the stored body of a delivery again, with a fresh signature

Text
stuarty webhook:redeliver <webhook id> <delivery id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty webhook:redeliver whk_0123456789 wdl_0123456789

recording:sources#

List the displays and windows that can be captured

Text
stuarty recording:sources

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:sources --json

recording:start#

Start recording a display or a window (for a person in the app; the local token is refused)

Text
stuarty recording:start --project <id> --kind display|window --source <id> [--fps 24|30|60] [--microphone <id>|default] [--system-audio] [--camera <id>] [--events]
stuarty recording:start --recording <id of a prepared recording>
FlagTypeDefaultMeaning
--projectstringthe project (default $STUARTY_PROJECT); not with --recording
--recordingstringa recording made with recording:prepare: its plan is the request
--kindstringdisplay or window (required)
--sourcestringan id from recording:sources (required)
--namestringthe title of the source, for the record
--fpsinteger24, 30 (the default) or 60
--microphonestringa microphone id from recording:sources, or default
--system-audiobooleanrecord the sound the computer plays on its own track
--camerastringa camera id from recording:sources
--eventsbooleansave the pointer position and the clicks (never a key)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:start --project prj_7k2m9x4q1b --kind display --source d1

recording:stop#

Stop a recording and keep what was written; anyone may stop a capture

Text
stuarty recording:stop <recording id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:stop rec_0123456789

recording:pause#

Pause a recording: every source stops writing and the paused time is cut; anyone may pause

Text
stuarty recording:pause <recording id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:pause rec_0123456789

recording:resume#

Resume a paused recording (for a person in the app; the local token is refused, as for a start)

Text
stuarty recording:resume <recording id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:resume rec_0123456789

recording:events#

Read the pointer and click events of a finished recording (clicks by default)

Text
stuarty recording:events <recording id> [--kind clicks|all] [--from-ms <n>] [--limit <n>]
FlagTypeDefaultMeaning
--kindstringclicks (the default) or all
--from-msintegeronly events from this time on, in milliseconds
--limitintegerat most this many events, 1 to 5000 (default 1000)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:events rec_0123456789 --kind clicks --json

recording:cancel#

Discard a recording in progress; a person deletes a finished one

Text
stuarty recording:cancel <recording id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:cancel rec_0123456789

recording:show#

Show one recording: its state, its length and whether a person added it

Text
stuarty recording:show <recording id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:show rec_0123456789

recording:list#

List the recordings of a project that you may see, newest first

Text
stuarty recording:list --project <id>

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty recording:list --project prj_7k2m9x4q1b

recording:confirm#

Add a finished recording to the project (for a person in the app; the local token is refused)

Text
stuarty recording:confirm <recording id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:confirm rec_0123456789

recording:dismiss#

Not now: keep a recording out of the project and out of sight of agents (for a person in the app)

Text
stuarty recording:dismiss <recording id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:dismiss rec_0123456789

recording:place#

Place a recording that a person added on the timeline, as one undoable batch

Text
stuarty recording:place <recording id> [--timeline <id>]
FlagTypeDefaultMeaning
--timelinestringthe timeline of the project, when it has several

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:place rec_0123456789

recording:prepare#

Prepare a recording for a person: source, tracks, script and notes; starts nothing

Text
stuarty recording:prepare --project <id> --kind display|window --source <id> [--fps 24|30|60] [--microphone <id>|default] [--system-audio] [--camera <id>] [--events] [--script <item id>] [--notes <text>|--notes-file <file|->]
FlagTypeDefaultMeaning
--kindstringdisplay or window (required)
--sourcestringan id from recording:sources (required)
--namestringthe title of the source, for the record
--fpsinteger24, 30 (the default) or 60
--microphonestringa microphone id from recording:sources, or default
--system-audiobooleanrecord the sound the computer plays on its own track
--camerastringa camera id from recording:sources
--eventsbooleansave the pointer position and the clicks (never a key)
--scriptstringthe id of a script of the project the person will read
--notesstringa note for the person who presses record
--notes-filestringread the note from a file, or - for standard input

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty recording:prepare --project prj_7k2m9x4q1b --kind display --source d1 --notes "Say the hook first"

recording:mark#

Mark a point or a stretch of a take as good, bad or a mistake

Text
stuarty recording:mark <recording id> --kind good|bad|mistake --at-ms <n> [--end-ms <n>] [--note <text>]
FlagTypeDefaultMeaning
--kindstringgood, bad or mistake (required)
--at-msintegerwhere in the take, in milliseconds of recording time
--end-msintegerthe end of a stretch; leave out for a point
--notestringa short note, plain text

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:mark rec_0123456789 --kind mistake --at-ms 12500 --note "stumbled on the name"

recording:propose#

Propose cuts of a ready take, each with a reason; changes no timeline until a person decides

Text
stuarty recording:propose <recording id> --ranges <file|->
FlagTypeDefaultMeaning
--rangesstringa JSON list of {from_ms, to_ms, reason}, from a file or - for standard input

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:propose rec_0123456789 --ranges cuts.json

recording:decide#

Decide a proposal of cuts, one yes or no per range (for a person in the app; the local token is refused)

Text
stuarty recording:decide <recording id> <proposal id> --accept <yes|no,...> [--timeline <id>]
FlagTypeDefaultMeaning
--acceptstringone yes or no for every range, in order, separated by commas
--timelinestringthe timeline the recording was placed on, when the project has several

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty recording:decide rec_0123456789 prp_0123456789 --accept yes,no,yes

approval:list#

List the approval queue: what waits for a person (pending by default)

Text
stuarty approval:list
FlagTypeDefaultMeaning
--statestringpending (default), approved, rejected, expired or all
--projectstringonly the requests of one project
--cursorstringcontinue a list from this cursor
--limitinteger50items per page

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty approval:list --state all

approval:show#

Show one approval request: what will be sent, where, the cost and its state

Text
stuarty approval:show <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty approval:show apr_0123456789

approval:decide#

Approve or reject a request (for a person in the app; the local token is refused)

Text
stuarty approval:decide <id> --approve|--reject
FlagTypeDefaultMeaning
--approvebooleanapprove the request
--rejectbooleanreject the request
--reasonstringwhy a request is rejected

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty approval:decide apr_0123456789 --reject --reason "wrong channel"

approval:rule:list#

List the rules that approve without asking

Text
stuarty approval:rule:list

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty approval:rule:list --json

approval:rule:set#

Create or replace a rule that approves a kind of action (for a person in the app; the local token is refused)

Text
stuarty approval:rule:set --kind <k>
FlagTypeDefaultMeaning
--idstringthe rule to replace; leave out to create one
--kindstringthe kind of action: publish.upload, publish.scheduled, text.generate, ... (required)
--connectionstringonly this destination
--projectstringonly this project
--currencystringthree upper-case letters, needed with a limit
--per-itemstringthe most one action may cost, in millionths of the currency unit
--per-daystringthe most the rule may approve in a UTC day, in millionths
--disabledbooleankeep the rule but stop it

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty approval:rule:set --kind publish.upload --connection con_0123456789

approval:rule:remove#

Remove a rule (for a person in the app; the local token is refused)

Text
stuarty approval:rule:remove <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty approval:rule:remove rul_0123456789

cost:show#

Show the cost ceilings and what was spent today and over the last 30 days

Text
stuarty cost:show

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty cost:show --json

cost:ceiling#

Set or remove a cost ceiling (for a person in the app; the local token is refused)

Text
stuarty cost:ceiling --currency USD [--project id] [--per-item n] [--per-day n]
FlagTypeDefaultMeaning
--currencystringthree upper-case letters (required)
--projectstringthe project the ceiling is for; leave out for the whole workspace
--per-itemstringthe most one action may cost, in millionths of the currency unit
--per-daystringthe most that may be spent in a UTC day, in millionths; with neither limit the ceiling is removed

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty cost:ceiling --currency USD --per-day 5000000

provider:list#

List the AI providers, the connections of each and the price table

Text
stuarty provider:list

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty provider:list --json

provider:models#

List the models a provider offers through a connection, read from the provider now, with their price

Text
stuarty provider:models <connection id> [--refresh]
FlagTypeDefaultMeaning
--refreshbooleanfalseread the list from the provider again

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty provider:models con_0123456789

provider:price#

Set or remove the price of a model (for a person in the app; the local token is refused)

Text
stuarty provider:price --provider <id> --model <id> --currency USD --price-in <micros> --price-out <micros>
FlagTypeDefaultMeaning
--providerstringthe provider id (required)
--modelstringthe model id (required)
--currencystringthree letters, such as USD; needed to set a price
--price-instringthe price of a million input tokens, in millionths of the currency unit
--price-outstringthe price of a million output tokens; leave all prices out to remove the entry
--unitstringimage for the price of one image, mchar for the price of a million characters of speech, second for one second of video; leave out for tokens
--unit-microsstringwith --unit: the price of one image, of a million characters or of one second, in millionths of the currency unit

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty provider:price --provider openai --model a-model --currency USD --price-in 2500000 --price-out 10000000

text:generate#

Generate text with the provider of a connection; the job shows its estimate and waits for approval

Text
stuarty text:generate --project <id> --connection <id> --model <id> [--prompt <text> | --prompt-file <file>] [--system <text>] [--max-tokens <n>] [--temperature <t>] [--dry-run]
FlagTypeDefaultMeaning
--connectionstringthe connection to the provider (required)
--modelstringthe model id, as provider:models lists it (required)
--promptstringwhat to write; without it and without --prompt-file the prompt is read from standard input
--prompt-filestringa file that holds the prompt
--systemstringinstructions for the model
--max-tokensintegerthe most tokens the model may write (default 1024); the estimate counts all of them
--temperaturestring0 to 2

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty text:generate --project prj_7k2m9x4q1b --connection con_0123456789 --model a-model --prompt "Write a caption"

image:generate#

Generate images with the provider of a connection; the job shows its estimate, waits for approval and stores the images as assets

Text
stuarty image:generate --project <id> --connection <id> --model <id> [--prompt <text> | --prompt-file <file>] [--size <width>x<height>] [--count <n>] [--dry-run]
FlagTypeDefaultMeaning
--connectionstringthe connection to the provider (required)
--modelstringthe model id, as provider:models lists it (required)
--promptstringwhat to draw; without it and without --prompt-file the prompt is read from standard input
--prompt-filestringa file that holds the prompt
--sizestringwidth and height in pixels joined by x (default 1024x1024)
--countintegerhow many images, 1 to 10 (default 1); the estimate counts all of them

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty image:generate --project prj_7k2m9x4q1b --connection con_0123456789 --model a-model --prompt "A red fox" --count 2

voice:generate#

Generate speech with the provider of a connection; the job shows its estimate, waits for approval and stores the audio as an asset

Text
stuarty voice:generate --project <id> --connection <id> --model <id> --voice <id> [--text <text> | --text-file <file>] [--language <tag>] [--format mp3|wav|flac|opus|aac] [--dry-run]
FlagTypeDefaultMeaning
--connectionstringthe connection to the provider (required)
--modelstringthe model id, as provider:models lists it (required)
--voicestringthe voice id, as voice:list names it (required)
--textstringwhat to read out; without it and without --text-file the text is read from standard input
--text-filestringa file that holds the text
--languagestringa language tag such as pt-BR
--formatstringmp3 (default), wav, flac, opus or aac

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty voice:generate --project prj_7k2m9x4q1b --connection con_0123456789 --model a-model --voice alloy --text "Welcome"

video:generate#

Generate a video clip with the provider of a connection; the job shows its estimate, always waits for a person unless a rule covers it, and stores the clip as an asset

Text
stuarty video:generate --project <id> --connection <id> --model <id> [--prompt <text> | --prompt-file <file>] [--seconds <n>] [--aspect 16:9|9:16|1:1|4:3|3:4] [--first-frame <asset id>] [--dry-run]
FlagTypeDefaultMeaning
--connectionstringthe connection to the provider (required)
--modelstringthe model id, as provider:models lists it (required)
--promptstringwhat the clip shows; without it and without --prompt-file the prompt is read from standard input
--prompt-filestringa file that holds the prompt
--secondsintegerthe length of the clip, 1 to 60 (default 5); the model may make fewer lengths
--aspectstring16:9 (default), 9:16, 1:1, 4:3 or 3:4
--first-framestringthe id of an image asset of the project the clip starts from

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty video:generate --project prj_7k2m9x4q1b --connection con_0123456789 --model a-model --prompt "A red fox" --seconds 6 --aspect 9:16

voice:list#

List the voices of the provider of a connection

Text
stuarty voice:list <connection id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty voice:list con_0123456789

image:model-edit#

Remove the background of a layer, or generate an image into a document, with the provider of a connection; the job says that the picture is sent, shows its estimate, waits for approval and puts the result in the document as one undoable step

Text
stuarty image:model-edit --project <id> --image <id> --operation remove_background|generate --connection <id> --model <id> [--layer <id>] [--prompt <text> | --prompt-file <file>] [--size <width>x<height>] [--dry-run]
FlagTypeDefaultMeaning
--imagestringthe image document (required)
--operationstringremove_background or generate (required)
--connectionstringthe connection to the provider (required)
--modelstringthe model id, as provider:models lists it (required)
--layerstringremove_background: the image layer (required); generate: a layer whose box the picture must cover
--promptstringgenerate only: what to draw; without it and without --prompt-file a generation reads it from standard input
--prompt-filestringgenerate only: a file that holds the prompt
--sizestringgenerate only: width and height in pixels joined by x

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty image:model-edit --project prj_7k2m9x4q1b --image img_7k2m9x4q1b --operation remove_background --connection con_0123456789 --model a-model --layer lyr_7k2m9x4q1b

image:create#

Create an image document, blank or from a template

Text
stuarty image:create --preset p
FlagTypeDefaultMeaning
--presetstringvideo_thumbnail (1280x720), square_post (1080x1080) or vertical_cover (1080x1920)
--widthintegerpixels, 1 to 4096, with --height
--heightintegerpixels, 1 to 4096, with --width
--namestringname of the image
--backgroundstringa colour or transparent (default #FFFFFF)
--templatebooleanfalsemake a template whose text and image layers may be slots
--from-templatestringmake the image from this template
--valuesstringa JSON object of slot name to {"text": "..."} or {"asset": "sha256:..."}: a file, or - for standard input
--idstringidentifier for the image (omit it in network mode: the server chooses)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty image:create --preset video_thumbnail --name "Episode 12" --background "#101820"

image:list#

List the image documents and templates

Text
stuarty image:list
FlagTypeDefaultMeaning
--templatesstringonly for the templates, none for the others
--cursorstringcontinue a list from this cursor
--limitinteger20items per page

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty image:list --templates only --json

image:show#

Describe an image document: its layers, its findings and its revision

Text
stuarty image:show <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty image:show img_7k2m9x4q1b

image:edit#

Apply a batch of image operations (stuarty command:help --domain image lists them)

Text
stuarty image:edit <id> <op> k=v...
FlagTypeDefaultMeaning
--opsstringa JSON file with the batch, or - for standard input: {"operations":[{"op":"item.move","args":{"item_id":"itm_m1n2p3q4r5","start":"2s"}}]}, or only the array of {op, args}; base_revision, idempotency_key and dry_run may sit beside operations
--baseintegerthe revision the batch was planned against (default: the current one)
--keystringidempotency key

Global flags: --json, --workspace, --actor, --key-file, --dry-run.

Example:

Terminal
stuarty image:edit img_7k2m9x4q1b layer.add_text text="HOW IT WORKS" slot=title

image:undo#

Undo the last step of the caller on an image

Text
stuarty image:undo <id>

Global flags: --json, --workspace, --actor, --key-file, --dry-run.

Example:

Terminal
stuarty image:undo img_7k2m9x4q1b

image:redo#

Redo the last undone step of the caller on an image

Text
stuarty image:redo <id>

Global flags: --json, --workspace, --actor, --key-file, --dry-run.

Example:

Terminal
stuarty image:redo img_7k2m9x4q1b

image:export#

Export an image document to a PNG, JPEG or WebP file

Text
stuarty image:export <id> [--format f]
FlagTypeDefaultMeaning
--formatstringpngpng, jpeg or webp
--qualityinteger1 to 100, for jpeg and lossy webp
--presetstringresample to video_thumbnail, square_post or vertical_cover
--widthintegerresample to this width (0 keeps the aspect)
--heightintegerresample to this height (0 keeps the aspect)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty image:export img_7k2m9x4q1b --format jpeg --quality 85

image:import#

Bring an image file into a new image document, or into an existing one as a layer

Text
stuarty image:import --path <file>
stuarty image:import --hash <sha256:...> [--id <image>] [--name n] [--preset p | --width w --height h]
FlagTypeDefaultMeaning
--pathstringan absolute path to an image file on the machine of the server
--hashstringan image already in the workspace (asset:list shows its hash)
--idstringput the file in this image as a layer (default: a new image)
--namestringthe name of the new image, or of the layer with --id
--presetstringthe canvas of a new image: video_thumbnail, square_post or vertical_cover
--widthintegerthe canvas of a new image, with --height (default: the size of the file, up to 4096)
--heightintegerthe canvas of a new image, with --width
--wait-msintegerhow long to wait for the file to be ingested, 0 to 25000 (default 10000)
--baseintegerwith --id: the revision the layer was planned against (default: the current one)
--keystringwith --id: idempotency key

Global flags: --json, --workspace, --actor, --key-file, --dry-run.

Example:

Terminal
stuarty image:import --path /home/ana/photos/face.jpg --preset video_thumbnail

image:revert#

Go back to the document of an earlier revision of an image, as a new step that image:undo takes back

Text
stuarty image:revert <id> (--revision n | --checkpoint name) [--base n] [--dry-run]
FlagTypeDefaultMeaning
--revisionintegerthe revision to go back to
--checkpointstringthe name of a checkpoint to go back to
--baseintegerthe revision you read (default the current one); an older one conflicts with other actors' changes

Global flags: --json, --workspace, --actor, --key-file, --dry-run.

Example:

Terminal
stuarty image:revert img_7k2m9x4q1b --checkpoint "before the agent" --dry-run

image:diff#

List what changed between two revisions of an image, most significant first

Text
stuarty image:diff <id> (--from n | --from-checkpoint name) [--until n]
FlagTypeDefaultMeaning
--fromintegerthe revision the diff starts from
--from-checkpointstringthe name of a checkpoint the diff starts from
--untilintegerthe revision the diff ends at (default the current one)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty image:diff img_7k2m9x4q1b --from 12

image:checkpoint:create#

Name a revision of an image so that it can be gone back to

Text
stuarty image:checkpoint:create <id> --name <name> [--note t] [--revision n]
FlagTypeDefaultMeaning
--namestring1 to 60 characters, no slash
--notestringup to 300 characters
--revisionintegerthe revision to name (default the current one)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty image:checkpoint:create img_7k2m9x4q1b --name "before the agent"

image:checkpoint:list#

List the checkpoints of an image, newest revision first

Text
stuarty image:checkpoint:list <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty image:checkpoint:list img_7k2m9x4q1b --json

image:checkpoint:rename#

Rename a checkpoint of an image, and change its note

Text
stuarty image:checkpoint:rename <id> --name <name> --new-name <name> [--note t]
FlagTypeDefaultMeaning
--namestringthe checkpoint to rename
--new-namestringthe new name
--notestringreplaces the note when given

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty image:checkpoint:rename img_7k2m9x4q1b --name draft --new-name "first cut"

image:checkpoint:remove#

Remove a checkpoint of an image; no revision is removed

Text
stuarty image:checkpoint:remove <id> --name <name>
FlagTypeDefaultMeaning
--namestringthe checkpoint to remove

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty image:checkpoint:remove img_7k2m9x4q1b --name draft

asset:list#

List the files of the library, with origin, tags and reuse

Text
stuarty asset:list
FlagTypeDefaultMeaning
--sectionstringvisual (images and LUTs), video (clips) or audio (sounds)
--kindstringimage, video, audio or lut
--tagstringonly the files with this tag
--projectstringonly the files this project, or one of its timelines, uses
--originstringimported, generated, fetched_by_agent or rendered_externally
--reusablebooleanonly the files marked reusable; --no-reusable keeps the others
--sound-kindstringonly the audio files of this kind: music, voice or effect
--textstringa full-text query over name, tags, description and origin
--cursorstringcontinue a list from this cursor
--limitinteger50items per page

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty asset:list --tag logo --reusable --json

asset:show#

Show a file of the library: its origin, its tags and the projects that use it

Text
stuarty asset:show <hash>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty asset:show sha256:3b4c0a1d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b --json

asset:uses#

List the projects that use a file of the library

Text
stuarty asset:uses <hash>
FlagTypeDefaultMeaning
--cursorstringcontinue a list from this cursor
--limitinteger50items per page

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty asset:uses sha256:3b4c0a1d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b --json

asset:set#

Set the description, the rights note, the reuse mark and the sound kind of a file of the library

Text
stuarty asset:set <hash>
FlagTypeDefaultMeaning
--descriptionstringwhat the file is, in your words; an empty value clears it
--rights-notestringyour own record of the licence or the permission; the product does not check it
--reusablebooleanmark the file to be offered again; --no-reusable takes the mark off
--sound-kindstringmusic, voice or effect, for an audio file; an empty value clears it

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty asset:set sha256:3b4c0a1d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b --reusable

asset:tag#

Add and remove the tags of a file of the library

Text
stuarty asset:tag <hash>
FlagTypeDefaultMeaning
--addstring, repeatabletags to add; repeat it or give a comma list
--removestring, repeatabletags to take off

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty asset:tag sha256:3b4c0a1d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b --add logo,brand

asset:rename#

Rename a file of the library; the stored file keeps its hash

Text
stuarty asset:rename <hash> --name <name>
FlagTypeDefaultMeaning
--namestringthe new name, 1 to 120 characters, with no path separator; the extension is kept

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty asset:rename sha256:3b4c0a1d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b --name Beach-day

asset:path#

The stored path of a file: only a person in the app can read it, the CLI always refuses

Text
stuarty asset:path <hash>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty asset:path sha256:3b4c0a1d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b

motion:brief#

What a render by an external motion engine must fit: size, rate, length, safe area, brand kit, captions

Text
stuarty motion:brief --project <id> [--from t] [--until t] [--track <trk_id>]
FlagTypeDefaultMeaning
--fromstringstart of the range, a time (default 0s)
--untilstringend of the range, exclusive (default the end of the timeline)
--trackstringthe visual track the clip will go on: tells whether the render needs alpha

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty motion:brief --project prj_7k2m9x4q1b --from 2s --until 5s --track trk_f6g7h8j9k0

motion:check#

Check a rendered asset against the brief: each mismatch of size, rate, length or alpha, with the value expected

Text
stuarty motion:check --project <id> --asset <ast_id> [--from t] [--until t] [--track <trk_id>]
FlagTypeDefaultMeaning
--assetstringthe asset to check: an asset of the project, ready (required)
--fromstringstart of the range, a time (default 0s)
--untilstringend of the range, exclusive (default the end of the timeline)
--trackstringthe visual track the clip will go on: tells whether the render needs alpha

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty motion:check --project prj_7k2m9x4q1b --asset ast_3c5v8n2w6d --from 2s --until 5s --track trk_f6g7h8j9k0

motion:replace#

Replace, in one undoable batch, every clip that reads an earlier render of an animation with a new render

Text
stuarty motion:replace --project <id> --asset <ast_id> [--render-key <key>] [--dry-run]
FlagTypeDefaultMeaning
--assetstringthe new render: an asset of the timeline, ready (required)
--render-keystringthe key of the animation (default the render key of the origin of the new asset)

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty motion:replace --project prj_7k2m9x4q1b --asset ast_k8m2n4p6q9

transcript:show#

The words of an asset with the timeline range of each, to cut by word range with transcript.delete_range

Text
stuarty transcript:show --project <id> --asset <ast_id>
FlagTypeDefaultMeaning
--assetstringthe asset whose transcript to read, transcribed first (required)

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty transcript:show --project prj_7k2m9x4q1b --asset ast_3c5v8n2w6d

transcript:fillers#

The filler words and repetitions of an asset to review; it changes nothing

Text
stuarty transcript:fillers --project <id> --asset <ast_id> [--repeat-window ms]
FlagTypeDefaultMeaning
--assetstringthe asset whose transcript to check, transcribed first (required)
--repeat-windowintegerthe longest gap between the two copies of a repetition, in milliseconds (default 700)

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty transcript:fillers --project prj_7k2m9x4q1b --asset ast_3c5v8n2w6d

agent:profiles#

List the agents the chat may host, with their full command, and the known agents found on this machine

Text
stuarty agent:profiles

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty agent:profiles --json

chat:sessions#

List the chat sessions of a project, newest first

Text
stuarty chat:sessions --project <id>

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty chat:sessions --project prj_7k2m9x4q1b

chat:session#

Show one chat session: its agent, its state and how many events it holds

Text
stuarty chat:session <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty chat:session cht_7k2m9x4q1b

chat:transcript#

Read the transcript of a chat session as events, or the whole of it as Markdown

Text
stuarty chat:transcript <id> [--format json|markdown] [--after n] [--limit n]
FlagTypeDefaultMeaning
--formatstringjson (the default: events after a number) or markdown
--afterinteger0only the events with a number above this one
--limitinteger0the most events in the page, at most 500 (0 is 500)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty chat:transcript cht_7k2m9x4q1b --format markdown

chat:activity#

Show which skill a chat session loaded and which tool its agent is calling

Text
stuarty chat:activity <id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty chat:activity cht_7k2m9x4q1b

inbox:list#

List what waits for a person: the permission requests of the chat and the approvals, and the last answered

Text
stuarty inbox:list

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty inbox:list --json

memory:list#

List the memory notes

Text
stuarty memory:list [--scope workspace|<project id>] [--tag t]... [--all]
FlagTypeDefaultMeaning
--scopestringworkspace or a project id
--tagstring, repeatablea tag; repeat it for several
--allbooleanfalsealso what is not reviewed (skills) or not kept (notes): an agent is not offered those

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty memory:list --tag hooks --json

memory:show#

Show a memory note

Text
stuarty memory:show <name>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty memory:show viewers-skip-intros

memory:write#

Write a memory note: one fact, with what was learned

Text
stuarty memory:write [<name>] --description <one line> [--body <text>|--body-file <file|->] [--scope s] [--tag t]...
a note written here is pending until a person keeps it in the Memory section
FlagTypeDefaultMeaning
--descriptionstringthe fact, in one line (required)
--scopestringworkspace (default) or a project id
--tagstring, repeatablea tag; repeat it for several
--bodystringthe text of the entry
--body-filestringread the text from a file, or - for standard input

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty memory:write --description "Viewers skip long intros" --body "Cut the intro to two seconds."

memory:remove#

Delete a memory note (a note a person kept stays)

Text
stuarty memory:remove <name>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty memory:remove old-note

skill:list#

List the skills that are reviewed

Text
stuarty skill:list [--origin built-in|user|imported] [--all] [--session ses_...]
FlagTypeDefaultMeaning
--originstringbuilt-in, user or imported
--allbooleanfalsealso what is not reviewed (skills) or not kept (notes): an agent is not offered those
--sessionstringan agent session: the skills it has read are marked loaded

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty skill:list --all --json

skill:show#

Show a skill: its text, its files and the findings of the lint

Text
stuarty skill:show <name>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty skill:show hook-writer

skill:write#

Write a skill; it stays unreviewed until a person reads it in the Skills section

Text
stuarty skill:write <name> --description <text> [--body <text>|--body-file <file|->] [--license l]
                    [--file <path in the skill>=<local file>]...
FlagTypeDefaultMeaning
--descriptionstringwhat the skill does and when to use it (required)
--licensestringthe licence of the text
--filestring, repeatableanother file of the folder: <path in the skill>=<local file>
--bodystringthe text of the entry
--body-filestringread the text from a file, or - for standard input

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty skill:write hook-writer --description "Write the first three seconds." --body-file hook.md

skill:import#

Import a skill from a folder or an archive (.zip, .tar.gz) you already have; it starts unreviewed

Text
stuarty skill:import <folder|archive> [--source <text>] [--replace]
FlagTypeDefaultMeaning
--sourcestringwhere it came from; the name of the folder or file if omitted
--replacebooleanfalsereplace a skill of the same name

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty skill:import ./downloads/hook-writer.zip --source "a friend"

skill:lint#

Run the lint on a skill

Text
stuarty skill:lint <name>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty skill:lint hook-writer --json

skill:export#

Write skills as folders in the Agent Skills layout, to install them in your own agent

Text
stuarty skill:export [<name>...]
with no name, every reviewed skill; the folders are written under exports/library/ of the workspace

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty skill:export hook-writer

prompt:list#

List the prompts

Text
stuarty prompt:list [--tag t]...
FlagTypeDefaultMeaning
--tagstring, repeatablea tag; repeat it for several

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty prompt:list --json

prompt:show#

Show a prompt and its variables

Text
stuarty prompt:show <name>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty prompt:show video-intro

prompt:write#

Write a prompt: a reusable text with {{variables}}

Text
stuarty prompt:write <name> --description <text> [--body <text>|--body-file <file|->] [--default <variable>=<value>]... [--tag t]...
FlagTypeDefaultMeaning
--descriptionstringwhat the prompt is for (required)
--defaultstring, repeatablea default value: <variable>=<value>
--tagstring, repeatablea tag; repeat it for several
--bodystringthe text of the entry
--body-filestringread the text from a file, or - for standard input

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty prompt:write video-intro --description "An intro" --body "Write an intro about {{topic}}."

prompt:render#

Replace the variables of a prompt and print the text; nothing is sent anywhere

Text
stuarty prompt:render <name> [--value <variable>=<value>]...
FlagTypeDefaultMeaning
--valuestring, repeatablea value: <variable>=<value>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty prompt:render video-intro --value topic=cats

library:search#

Search memory, skills and prompts with one query

Text
stuarty library:search <word>... [--kind memory|skill|prompt]... [--scope s] [--tag t]... [--origin o] [--all]
                       [--limit n] [--budget characters]
FlagTypeDefaultMeaning
--kindstring, repeatablememory, skill or prompt; repeat it for several
--scopestringmemory: workspace or a project id
--tagstring, repeatablea tag; repeat it for several
--originstringskills: built-in, user or imported
--allbooleanfalsealso what is not reviewed (skills) or not kept (notes): an agent is not offered those
--limitinteger20results, at most 50
--budgetinteger4000characters of the answer, at most 16000

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty library:search intro --kind prompt --json

library:reindex#

Rebuild the index of the library from its files

Text
stuarty library:reindex

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty library:reindex

social:network:list#

List the social networks this build can publish to, with their limits and where they were read

Text
stuarty social:network:list

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty social:network:list --json

social:connect#

Start the sign-in to a network with your own developer app; the client secret is read from standard input or a file, never from an argument

Text
stuarty social:connect --network <n> --client-id <id> --redirect-uri <url> [--label <t>]
stuarty social:connect --network <n> --connection <id> --redirect-uri <url>
FlagTypeDefaultMeaning
--networkstringthe network, for example youtube (required)
--client-idstringthe client id of your developer project
--redirect-uristringthe address of this app followed by /social/callback (required)
--labelstringa name for the connection
--connectionstringsign in again an existing connection instead of making one
--secret-filestringa file that holds the client secret; without it it is read from standard input

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
echo $CLIENT_SECRET | stuarty social:connect --network youtube --client-id 123.apps.googleusercontent.com --redirect-uri http://127.0.0.1:7878/social/callback

social:account:list#

List the connected social accounts and whether each is signed in

Text
stuarty social:account:list

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty social:account:list

publish:validate#

Check a post against the limits of its network and show what a person would approve; sends nothing

Text
stuarty publish:validate --project <id> --connection <id> --export <job> --title <t> --made-for-kids yes|no
FlagTypeDefaultMeaning
--connectionstringthe connection the video goes to (required)
--exportstringthe id of a succeeded export job of the project: the video (required)
--thumbnailstringthe cover: the export job of a still, or the job_id of image:export
--titlestringthe title (required)
--descriptionstringthe description
--tagsstringthe tags, a comma list
--visibilitystringprivate (the default), unlisted or public
--made-for-kidsstringyes or no: whether the video is made for kids (required)
--ai-disclosurebooleanfalsethe video has realistic altered or synthetic content

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty publish:validate --project prj_7k2m9x4q1b --connection con_0123456789 --export job_0123456789 --title "My short" --made-for-kids no

publish:now#

Prepare the publication of an exported video: it waits for a person to approve it in the app, then it is sent; you cannot approve it

Text
stuarty publish:now --project <id> --connection <id> --export <job> --title <t> --made-for-kids yes|no
FlagTypeDefaultMeaning
--connectionstringthe connection the video goes to (required)
--exportstringthe id of a succeeded export job of the project: the video (required)
--thumbnailstringthe cover: the export job of a still, or the job_id of image:export
--titlestringthe title (required)
--descriptionstringthe description
--tagsstringthe tags, a comma list
--visibilitystringprivate (the default), unlisted or public
--made-for-kidsstringyes or no: whether the video is made for kids (required)
--ai-disclosurebooleanfalsethe video has realistic altered or synthetic content

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty publish:now --project prj_7k2m9x4q1b --connection con_0123456789 --export job_0123456789 --title "My short" --made-for-kids no --visibility private

publish:status#

Show the state of a publication: waiting_approval, uploading, processing, published, sent_as_draft or failed

Text
stuarty publish:status <job id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty publish:status job_0123456789

publication:create#

Plan a publication: a video for one or more accounts, each with its own time; nothing is asked or sent until you schedule it

Text
stuarty publication:create --project <id> --title <t> --export <job> --connection <id> --at <time> --zone <zone> --made-for-kids yes|no
stuarty publication:create --project <id> --title <t> --export <job> --targets <json>
FlagTypeDefaultMeaning
--titlestringthe title (required)
--textstringthe caption the accounts use unless they have their own
--exportstringthe id of a succeeded export job of the project: the video (this or --post)
--thumbnailstringthe cover: the export job of a still, or the job_id of image:export
--poststringthe id of a text of the kind post: a blog post (this or --export)
--connectionstringthe connection of the account the post goes to
--atstringthe time: 2026-11-20T09:00 read in --zone, or an instant such as 2026-11-20T12:00:00Z
--zonestringthe IANA zone the time is read in, for example America/Sao_Paulo (default UTC)
--late-windowstringminutes, 0 to 1440, a late post may still be sent without asking (default 0)
--target-titlestringa title for this account instead of the publication's
--target-descriptionstringa description for this account instead of the caption
--tagsstringthe tags, a comma list
--visibilitystringprivate (the default), unlisted or public
--made-for-kidsstringyes or no: whether the video is made for kids
--ai-disclosurebooleanfalsethe video has realistic altered or synthetic content
--targetsstringa JSON list of targets, for several accounts at once

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty publication:create --project prj_7k2m9x4q1b --title "Week one" --export job_0123456789 --connection con_0123456789 --at 2026-11-20T09:00 --zone America/Sao_Paulo --made-for-kids no

publication:list#

List the publications of the calendar, by project, state, network or time range

Text
stuarty publication:list [--project <id>] [--state <state>] [--from <time>] [--until <time>] [--zone <zone>]
FlagTypeDefaultMeaning
--projectstringonly the publications of this project
--statestringonly those with a target in this state, for example waiting_approval or failed
--networkstringonly those with a target on this network
--fromstringonly those with a target at or after this time (RFC 3339) or date
--untilstringonly those with a target before this time (RFC 3339) or date
--zonestringthe zone a date or local time of --from and --until is read in (default UTC)
--limitintegerthe page size, 1 to 500 (default 100)
--offsetintegerhow many to skip

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty publication:list --from 2026-11-16T00:00:00Z --until 2026-11-23T00:00:00Z --json

publication:show#

Show one publication with each target: its time, its state, its approval, its address or its error

Text
stuarty publication:show <publication id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty publication:show pub_0123456789

publication:update#

Change a publication or its targets; a post that waited for approval or was approved goes back to waiting for approval

Text
stuarty publication:update <publication id> [--title <t>] [--text <t>] [--export <job>] [--targets <json>]
FlagTypeDefaultMeaning
--titlestringthe new title
--textstringthe new caption
--exportstringthe new video: a succeeded export job of the project
--thumbnailstringthe new cover; an empty text removes it
--targetsstringa JSON list of targets to change (with an id), add (without) or remove ("remove":true)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty publication:update pub_0123456789 --title "A better title"

publication:schedule#

Give a target its time and ask for approval: it is sent at that time only after a person approves it in the app; you cannot approve it

Text
stuarty publication:schedule <publication id> [--target <id>] [--at <time>] [--zone <zone>] [--late-window <min>]
FlagTypeDefaultMeaning
--targetstringthe target; leave out for every draft target that has a time
--atstringthe time: 2026-11-20T09:00 read in --zone, or an instant such as 2026-11-20T12:00:00Z
--zonestringthe IANA zone the time is read in (default UTC)
--late-windowstringminutes, 0 to 1440, a late post may still be sent without asking (default 0)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty publication:schedule pub_0123456789 --target tgt_0123456789 --at 2026-11-20T09:00 --zone America/Sao_Paulo

publication:send-now#

Ask for approval to send a target as soon as it is approved; use it for a missed target too

Text
stuarty publication:send-now <publication id> --target <id>
FlagTypeDefaultMeaning
--targetstringthe target, tgt_ and 10 characters

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty publication:send-now pub_0123456789 --target tgt_0123456789

publication:retry#

Ask for approval to send a failed target again; read why it failed with publication:show

Text
stuarty publication:retry <publication id> --target <id>
FlagTypeDefaultMeaning
--targetstringthe target, tgt_ and 10 characters

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty publication:retry pub_0123456789 --target tgt_0123456789

publication:cancel#

Cancel a target, or every target that has not gone out when --target is left out

Text
stuarty publication:cancel <publication id> --target <id>
FlagTypeDefaultMeaning
--targetstringthe target, tgt_ and 10 characters

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty publication:cancel pub_0123456789 --target tgt_0123456789

calendar:plan#

Read a range of the calendar: its days with notes, themes and quiet marks, its recurring slots and the target that fills each one

Text
stuarty calendar:plan --from <date> --until <date> [--zone <zone>] [--publications] [--project <id>]
FlagTypeDefaultMeaning
--fromstringthe start of the range: a date such as 2026-12-01, a local time or an instant
--untilstringthe end of the range, exclusive, in the same forms
--zonestringthe zone dates and local times are read in (default UTC)
--publicationsbooleanalso list the publications of the range
--projectstringonly the publications of this project
--limitintegerthe page size of the publications, 1 to 500 (default 100)
--offsetintegerhow many publications to skip

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty calendar:plan --from 2026-12-01 --until 2026-12-02 --zone America/Sao_Paulo --publications

calendar:day#

Write the note and the theme of a day (a flag you leave out stays; an empty one clears it); a person marks a day as quiet with calendar:quiet

Text
stuarty calendar:day <date> [--note <text>] [--theme <name>] [--zone <zone>]
FlagTypeDefaultMeaning
--notestringthe note, at most 2000 characters; empty clears it
--themestringblue, green, amber, red, teal or gray; empty clears it
--zonestringthe zone the day is planned in (default: the one it has, or UTC)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty calendar:day 2026-12-01 --note "long video day" --theme amber --zone America/Sao_Paulo

calendar:quiet#

Mark a day as quiet (no posts) or clear the mark; only a person in the app does, every other caller is refused

Text
stuarty calendar:quiet <date> [--off] [--zone <zone>]
FlagTypeDefaultMeaning
--offbooleanclear the mark instead of setting it
--zonestringthe zone the day is planned in (default: the one it has, or UTC)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty calendar:quiet 2026-12-25 --zone America/Sao_Paulo

calendar:slot#

Create or change a recurring slot: a weekday and a local time on a network, shown as an empty slot to fill; it never sends anything

Text
stuarty calendar:slot --network <n> --weekday mon..sun --time HH:MM [--zone <zone>] [--connection <id>] [--id <slot>]
FlagTypeDefaultMeaning
--idstringthe slot to change; leave out to make a new one
--networkstringthe network, for example instagram (required)
--weekdaystringmon, tue, wed, thu, fri, sat or sun (required)
--timestringthe local time, 24 hours, such as 18:00 (required)
--zonestringthe zone of the time (default UTC)
--connectionstringonly this account of the network (default any)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty calendar:slot --network instagram --weekday tue --time 18:00 --zone America/Sao_Paulo

calendar:slot-remove#

Remove a recurring slot

Text
stuarty calendar:slot-remove <slot id>

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty calendar:slot-remove slt_0123456789

calendar:export#

Print the targets of a range as an .ics file (read only, times in UTC, no credential); redirect it to a file to open it in another calendar app

Text
stuarty calendar:export --from <date> --until <date> [--zone <zone>] [--project <id>] > plan.ics
FlagTypeDefaultMeaning
--fromstringthe start of the range: a date such as 2026-12-01, a local time or an instant
--untilstringthe end of the range, exclusive, in the same forms
--zonestringthe zone dates and local times are read in (default UTC)
--projectstringonly the publications of this project

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty calendar:export --from 2026-12-01 --until 2027-01-01 > plan.ics

publication:duplicate#

Copy a publication to another day or hour as a new draft; nothing is asked or sent until you schedule the copy

Text
stuarty publication:duplicate <publication id> --at <time> [--zone <zone>] [--target <id>]
FlagTypeDefaultMeaning
--atstringthe new time: 2026-12-02T18:00 read in --zone, or an instant (required)
--zonestringthe zone the time is read in (default: the zone of each target)
--targetstringcopy only this target (default: every target that is not cancelled)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty publication:duplicate pub_0123456789 --at 2026-12-02T18:00 --zone America/Sao_Paulo

text:list#

List the scripts, copy and captions of a project, or of every project

Text
stuarty text:list [--project <id>] [--kind script|copy|caption|post] [--state active|trashed]
FlagTypeDefaultMeaning
--projectstringonly the texts of this project
--kindstringscript, copy, caption or post
--statestringactive (default) or trashed
--cursorstringcontinue a list from this cursor
--limitinteger50items per page

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty text:list --kind caption --json

text:show#

Show a text, or one of its revisions

Text
stuarty text:show <item> --project <id> [--revision n]
FlagTypeDefaultMeaning
--revisionintegera revision number from 1; default the latest

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty text:show pit_3c5v8n2w6d --project prj_7k2m9x4q1b

text:write#

Make a text, or save a new revision of one, from a Markdown file

Text
stuarty text:write --project <id> --title <t> [--kind script|copy|caption|post] --text <file|->
stuarty text:write <item> --project <id> --text <file|-> [--title <t>] [--base <revision>]
FlagTypeDefaultMeaning
--textstringthe Markdown: a file, or - for standard input (required)
--titlestringthe title: needed to make a text, a new title when saving one
--kindstringmaking a text: script, copy (default), caption or post
--baseintegerthe revision you read: a newer one is refused

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty text:write --project prj_7k2m9x4q1b --title Hook --kind script --text hook.md

text:revisions#

List the revisions of a text, and compare two by paragraph

Text
stuarty text:revisions <item> --project <id> [--from n [--until n]]
FlagTypeDefaultMeaning
--beforeintegerstart under this revision (the next_before of the last page)
--limitintegerrevisions per page, 1 to 100 (default 50)
--fromintegercompare this revision with --until
--untilintegerthe revision to compare with (default the latest)

Global flags: --json, --workspace, --actor, --key-file, --project.

Example:

Terminal
stuarty text:revisions pit_3c5v8n2w6d --project prj_7k2m9x4q1b --from 1

text:revert#

Bring an older revision of a text back as a new revision

Text
stuarty text:revert <item> --project <id> --revision n
FlagTypeDefaultMeaning
--revisionintegerthe revision whose text comes back (required)

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty text:revert pit_3c5v8n2w6d --project prj_7k2m9x4q1b --revision 2

text:draft#

Ask a model for a draft of a text; the job shows its estimate and waits for approval

Text
stuarty text:draft <item> --project <id> --connection <id> --model <id> --instruction <text> [--network <n>] [--max-tokens <n>] [--temperature <t>] [--dry-run]
FlagTypeDefaultMeaning
--connectionstringthe connection to the provider (required)
--modelstringthe model id, as provider:models lists it (required)
--instructionstringwhat to write, 1 to 4000 characters (required)
--networkstringa caption: draft the variant of this network only
--max-tokensintegerthe most tokens the model may write; the estimate counts all of them
--temperaturestring0 to 2

Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.

Example:

Terminal
stuarty text:draft pit_3c5v8n2w6d --project prj_7k2m9x4q1b --connection con_0123456789 --model a-model --instruction "A hook in 20 seconds"

caption:validate#

Measure a caption against the limits of each network

Text
stuarty caption:validate <item> --project <id> [--network <n>]
stuarty caption:validate --body <file|->
stuarty caption:validate --text <file|-> --network <n>
FlagTypeDefaultMeaning
--projectstringthe project of the text (default $STUARTY_PROJECT)
--bodystringa whole caption, saved or not: a file, or - for standard input
--textstringone variant: a file, or - for standard input (needs --network)
--networkstringyoutube, instagram, facebook, x or tiktok

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty caption:validate pit_3c5v8n2w6d --project prj_7k2m9x4q1b

script:estimate#

Estimate how long a script takes when read aloud

Text
stuarty script:estimate <item> --project <id> [--wpm n]
stuarty script:estimate --text <file|-> [--wpm n]
FlagTypeDefaultMeaning
--projectstringthe project of the text (default $STUARTY_PROJECT)
--textstringa script that is not saved: a file, or - for standard input
--wpmintegerwords per minute, 60 to 300 (default 150)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty script:estimate pit_3c5v8n2w6d --project prj_7k2m9x4q1b --wpm 130

post:check#

Check a blog post (SDD-019 section 13): its front matter, its images and its sanitised HTML

Text
stuarty post:check <item> --project <id>
FlagTypeDefaultMeaning
--projectstringthe project of the text (default $STUARTY_PROJECT)

Global flags: --json, --workspace, --actor, --key-file.

Example:

Terminal
stuarty post:check pit_3c5v8n2w6d --project prj_7k2m9x4q1b

serve#

Run the server that owns the workspace, configured by environment variables (see the configuration reference)

Text
stuarty serve

Example:

Terminal
STUARTY_ADDR=127.0.0.1:7878 stuarty serve

open#

Open the editor in the browser of the running server

Text
stuarty open

Example:

Terminal
stuarty open

user:create#

Create a user of network mode (the password is asked, never an argument)

Text
stuarty user:create <email> [--admin]

Example:

Terminal
stuarty user:create ana@example.com --admin

user:passwd#

Change the password of a user of network mode

Text
stuarty user:passwd <email>

Example:

Terminal
stuarty user:passwd ana@example.com

workspace:backup#

Write a consistent backup of the workspace to a folder (never with the master key); a server may keep running

Text
stuarty workspace:backup <folder>

Example:

Terminal
stuarty workspace:backup ~/stuarty-backup-2026-11-19

workspace:restore#

Restore a backup folder into an empty workspace, checked against its manifest and the master key at hand

Text
stuarty workspace:restore <folder> [--replace] [--without-vault]

Example:

Terminal
stuarty workspace:restore ~/stuarty-backup-2026-11-19