cua trajectory
Recorded `cua do` trajectories.
Recorded `cua do` trajectories.
| Command | Description |
|---|---|
cua trajectory ls | List sessions. |
cua trajectory view | Zip, serve on loopback and open the hosted viewer. |
cua trajectory stop | Stop the file server started by view. |
cua trajectory clean | Delete sessions. |
Every command also accepts the global options.
Recorded cua do trajectories.
cua trajectory [OPTIONS] <COMMAND>Alias: cua traj.
cua trajectory ls#List sessions.
cua trajectory ls [OPTIONS] [MACHINE]| Argument | Type | Default | Description |
|---|---|---|---|
<MACHINE> | string | optional | Only sessions of this target (sandbox name or host). |
Examples
cua traj ls
# Only the sessions recorded on the sandbox dev
cua traj ls devcua trajectory view#Zip, serve on loopback and open the hosted viewer.
cua trajectory view [OPTIONS] [TARGET]| Argument | Type | Default | Description |
|---|---|---|---|
<TARGET> | string | optional | Session id or target name (default: the latest session). |
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--port | -p | integer | 8089 | Loopback port of the file server. |
Examples
# The latest session
cua traj view
cua traj view <session> --port 8090cua trajectory stop#Stop the file server started by view.
cua trajectory stop [OPTIONS]Examples
cua traj stopcua trajectory clean#Delete sessions.
cua trajectory clean [OPTIONS]| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--older-than | integer | Only sessions older than this many days. | ||
--machine | string | Only sessions of this target. | ||
--yes | -y | boolean | false | Do not ask for confirmation. |
Examples
# Sessions older than a week, without the prompt
cua traj clean --older-than 7 --yes| Code | Meaning |
|---|---|
0 | Success. |
1 | Failure, or cua do reported an error. |
2 | Invalid argument, or an ambiguous sandbox name (qualify it: local:NAME, cloud:NAME). |
3 | Not found: sandbox, window, skill or image (or an image not published yet). |
4 | Not supported, or not configured (for example no Fleet credentials). |
5 | No cua-spacesd answered, or a transport failure. |
6 | Unauthenticated or permission denied (by Cua, Fleet or your cloud account). |
7 | Not enough free disk space (see cua cache). |
130 | Cancelled (Ctrl-C during a create): what it made was removed. |