@runtypelabs/cli 2.48.1 → 2.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -8
- package/dist/index.js +23730 -18525
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -928,14 +928,14 @@ Manage scheduled flow runs.
|
|
|
928
928
|
|
|
929
929
|
Manage API keys. `runtype keys` is an alias.
|
|
930
930
|
|
|
931
|
-
| Subcommand
|
|
932
|
-
|
|
|
933
|
-
| `api-keys list`
|
|
934
|
-
| `api-keys get <id>`
|
|
935
|
-
| `api-keys create -n <name>` | Create a new API key
|
|
936
|
-
| `api-keys delete <id>`
|
|
937
|
-
| `api-keys regenerate <id>`
|
|
938
|
-
| `api-keys analytics`
|
|
931
|
+
| Subcommand | Description |
|
|
932
|
+
| --------------------------------------- | ------------------------------------------------------- |
|
|
933
|
+
| `api-keys list` | List your API keys |
|
|
934
|
+
| `api-keys get <id>` | Get API key details |
|
|
935
|
+
| `api-keys create -n <name> -p <scopes>` | Create a new API key (scopes required, comma-separated) |
|
|
936
|
+
| `api-keys delete <id>` | Delete an API key (`--yes` to skip confirmation) |
|
|
937
|
+
| `api-keys regenerate <id>` | Regenerate an API key |
|
|
938
|
+
| `api-keys analytics` | Show usage analytics (`--key <id>`) |
|
|
939
939
|
|
|
940
940
|
### `runtype products`
|
|
941
941
|
|
|
@@ -1024,6 +1024,40 @@ staging, or local Code Mode host. Local development can override endpoint infere
|
|
|
1024
1024
|
Tool calls default to a 930-second client timeout, slightly above Runtype's maximum flow runtime.
|
|
1025
1025
|
Pass `--timeout <ms>` to use a different positive millisecond deadline.
|
|
1026
1026
|
|
|
1027
|
+
### `runtype simulations`
|
|
1028
|
+
|
|
1029
|
+
Push a sandbox candidate (an agent run as real code in a Runtype sandbox). Simulations run on
|
|
1030
|
+
staging, so pass `--api-url https://api.runtype-staging.com` with a staging key.
|
|
1031
|
+
|
|
1032
|
+
| Command | Description |
|
|
1033
|
+
| ------------------------------------------------------- | ----------------------------------------------------------------- |
|
|
1034
|
+
| `simulations candidate push <dir or .tgz>` | Pack (reproducibly) and upload a bundle; prints its `bundle` JSON |
|
|
1035
|
+
| `simulations candidate push <path> --create-target <n>` | Also create a `sandbox_candidate` target (`--mcp-target <id>`) |
|
|
1036
|
+
| `simulations candidate push <path> --target <id>` | Point an existing target at the new bundle, keeping its config |
|
|
1037
|
+
| `simulations candidate push <path> ... --conformance` | Run the conformance check and print each step |
|
|
1038
|
+
|
|
1039
|
+
A directory needs `runtype-candidate.json` at its root; it is validated before anything is
|
|
1040
|
+
uploaded. `--out <file>` saves the packed archive. See `examples/simulation-candidates/` for
|
|
1041
|
+
candidate templates.
|
|
1042
|
+
|
|
1043
|
+
### `runtype events`
|
|
1044
|
+
|
|
1045
|
+
Watch product events: failed executions, approval requests, failed schedule runs, completed eval
|
|
1046
|
+
runs, human takeovers of conversations, and skill proposals.
|
|
1047
|
+
|
|
1048
|
+
| Command | Description |
|
|
1049
|
+
| --------------------- | ---------------------------------------------------------------- |
|
|
1050
|
+
| `events types` | List the event types and the filters each one accepts (`--json`) |
|
|
1051
|
+
| `events watch` | Long-poll events and print one line per event until Ctrl-C |
|
|
1052
|
+
| `events watch --json` | Print NDJSON: exactly one event object per line on stdout |
|
|
1053
|
+
| `events watch --once` | Exit after the first poll that returns events |
|
|
1054
|
+
|
|
1055
|
+
`events watch` takes `--name <type>` (default: every type), the filters `--agent`, `--flow`,
|
|
1056
|
+
`--product`, `--surface`, `--schedule`, `--suite`, `--task`, and `--only-regressions`, and
|
|
1057
|
+
`--since <cursor>` (default `now`). Each event carries its `cursor`; pass the last one to `--since`
|
|
1058
|
+
to resume without gaps. Events are kept for 7 days. Diagnostics go to stderr, so
|
|
1059
|
+
`runtype events watch --json` can feed a monitor that wakes on each line.
|
|
1060
|
+
|
|
1027
1061
|
## Configuration
|
|
1028
1062
|
|
|
1029
1063
|
```bash
|