You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8610977
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): explicit list value policy and an unambiguous stale-table hint
- List flags declare how a value reads (`listValues`): ids split on commas,
`text` (dependencies, output selectors, folder paths) keeps commas, and
`fileReferences` keeps a `files/` path whole; every list decodes a JSON array.
- `workflows runs get --select-output` reads its values with the same parser
before resolving block names.
- The stale-table hint names a table only when exactly one stored table is the
printed row, reads single-quoted keys, and shell-quotes the directory.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/files.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ sim files search [options]
82
82
|`--query <value>`| Yes | Regular expression, or exact text when `mode` is `exact`. |
83
83
|`--mode <value>`| No | How `query` is read. Defaults to "regex". Accepted values: `exact`, `regex`. |
84
84
|`--max-results <value>`| No | Maximum matching lines to return. Defaults to 50. |
85
-
|`--folder <value...>`| No | Folders to search, by path as shown in the app; omit to search the whole workspace (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
85
+
|`--folder <value...>`| No | Folders to search, by path as shown in the app; omit to search the whole workspace (space-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
86
86
|`--include-subfolders`| No | Whether each folder scope includes nested folders; on by default. |
87
87
|`--no-include-subfolders`| No | Send --include-subfolders as false. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/logs.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ sim logs list [options]
47
47
|`--run-id <value>`| No | Exact run identifier to match. |
48
48
|`--sort-by <value>`| No | Field used to sort the result. `durationMs` and `cost` are null until a run settles; those runs sort before recorded values in ascending order and after them in descending order. Only `startedAt` can order Chat and Sim-agent job runs, so any other value is rejected when job runs are included. Defaults to "startedAt". Accepted values: `startedAt`, `durationMs`, `cost`, `status`. |
49
49
|`--sort-order <value>`| No | Sort direction. Defaults to "desc". Accepted values: `asc`, `desc`. |
50
-
|`--folder <value...>`| No | Folder path as shown in the app; the leading / is optional (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
50
+
|`--folder <value...>`| No | Folder path as shown in the app; the leading / is optional (space-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
51
51
52
52
</CommandTable>
53
53
@@ -96,7 +96,7 @@ sim logs stats [options]
96
96
| Option | Required | Description |
97
97
| --- | --- | --- |
98
98
|`--workflow <value...>`| No | Comma-separated workflow identifiers to include. At most 200 entries. An empty entry is rejected. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
99
-
|`--folder <value...>`| No | Folder path as shown in the app; the leading / is optional (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
99
+
|`--folder <value...>`| No | Folder path as shown in the app; the leading / is optional (space-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
100
100
|`--trigger <value...>`| No | Comma-separated trigger types to include. An empty entry is rejected. The vocabulary is open, so an unrecognized member selects no runs; the literal `all` disables this filter. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
101
101
|`--level <value>`| No | Severity level to include. Accepted values: `info`, `error`. |
102
102
|`--include-handled-errors`| No | Whether runs with a handled block error are counted as `handledErrorRuns`, and whether `level=error` also selects them. Off by default: counting them scans each run’s stored trace. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/reference.mdx
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1736,7 +1736,7 @@ sim files search [options]
1736
1736
|`--query <value>`| Yes | Regular expression, or exact text when `mode` is `exact`. |
1737
1737
|`--mode <value>`| No | How `query` is read. Defaults to "regex". Accepted values: `exact`, `regex`. |
1738
1738
|`--max-results <value>`| No | Maximum matching lines to return. Defaults to 50. |
1739
-
|`--folder <value...>`| No | Folders to search, by path as shown in the app; omit to search the whole workspace (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
1739
+
|`--folder <value...>`| No | Folders to search, by path as shown in the app; omit to search the whole workspace (space-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
1740
1740
|`--include-subfolders`| No | Whether each folder scope includes nested folders; on by default. |
1741
1741
|`--no-include-subfolders`| No | Send --include-subfolders as false. |
1742
1742
@@ -3356,7 +3356,7 @@ sim logs stats [options]
3356
3356
| Option | Required | Description |
3357
3357
| --- | --- | --- |
3358
3358
|`--workflow <value...>`| No | Comma-separated workflow identifiers to include. At most 200 entries. An empty entry is rejected. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
3359
-
|`--folder <value...>`| No | Folder path as shown in the app; the leading / is optional (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
3359
+
|`--folder <value...>`| No | Folder path as shown in the app; the leading / is optional (space-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
3360
3360
|`--trigger <value...>`| No | Comma-separated trigger types to include. An empty entry is rejected. The vocabulary is open, so an unrecognized member selects no runs; the literal `all` disables this filter. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
3361
3361
|`--level <value>`| No | Severity level to include. Accepted values: `info`, `error`. |
3362
3362
|`--include-handled-errors`| No | Whether runs with a handled block error are counted as `handledErrorRuns`, and whether `level=error` also selects them. Off by default: counting them scans each run’s stored trace. |
@@ -3408,7 +3408,7 @@ sim logs list [options]
3408
3408
|`--run-id <value>`| No | Exact run identifier to match. |
3409
3409
|`--sort-by <value>`| No | Field used to sort the result. `durationMs` and `cost` are null until a run settles; those runs sort before recorded values in ascending order and after them in descending order. Only `startedAt` can order Chat and Sim-agent job runs, so any other value is rejected when job runs are included. Defaults to "startedAt". Accepted values: `startedAt`, `durationMs`, `cost`, `status`. |
3410
3410
|`--sort-order <value>`| No | Sort direction. Defaults to "desc". Accepted values: `asc`, `desc`. |
3411
-
|`--folder <value...>`| No | Folder path as shown in the app; the leading / is optional (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
3411
+
|`--folder <value...>`| No | Folder path as shown in the app; the leading / is optional (space-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
|`--name <value>`| Yes | Display name, unique within the workspace; 1 to 64 characters. |
5332
5332
|`--language <value>`| Yes | Dependency ecosystem: `javascript` installs from npm, `python` from PyPI. Accepted values: `javascript`, `python`. |
5333
-
|`--dependencies <value...>`| No | Package specifiers installed into the sandbox, one per entry. Defaults to []. (space-separated, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @). |
5333
+
|`--dependencies <value...>`| No | Package specifiers installed into the sandbox, one per entry. Defaults to []. (space-separated, a JSON array, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @). |
5334
5334
|`--cli-tools <value...>`| No | Pinned managed CLI ids installed into the sandbox, at most 10, no duplicates. Defaults to []. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
5335
5335
|`--system-packages <value...>`| No | Debian packages installed into the sandbox, one per entry. Defaults to []. (space- or comma-separated, a JSON array, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @). |
|`--name <value>`| No | New display name, unique within the workspace; 1 to 64 characters. |
5441
5441
|`--language <value>`| No | Replacement dependency ecosystem. The whole spec is revalidated against it, so a Python dependency list does not survive a switch to JavaScript. Accepted values: `javascript`, `python`. |
5442
-
|`--dependencies <value...>`| No | Replacement package list; replaces the whole list. (space-separated, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @). |
5442
+
|`--dependencies <value...>`| No | Replacement package list; replaces the whole list. (space-separated, a JSON array, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @). |
5443
5443
|`--cli-tools <value...>`| No | Replacement managed CLI list; replaces the whole list. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
5444
5444
|`--system-packages <value...>`| No | Replacement Debian package list; replaces the whole list. (space- or comma-separated, a JSON array, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @). |
|`--table-ids <json\|@file>`| No | Tables to archive, by identifier. Defaults to []. (JSON, or @path / @- to read a file or stdin). |
6108
-
|`--folder <value...>`| No | Folder path as shown in the app; the leading / is optional (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
6108
+
|`--folder <value...>`| No | Folder path as shown in the app; the leading / is optional (space-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
6109
6109
|`-y, --yes`| Yes | Confirm this operation. |
6110
6110
6111
6111
</CommandTable>
@@ -7179,7 +7179,7 @@ sim tables move [options]
7179
7179
| Option | Required | Description |
7180
7180
| --- | --- | --- |
7181
7181
|`--table-ids <json\|@file>`| No | Tables to move, by identifier. Defaults to []. (JSON, or @path / @- to read a file or stdin). |
7182
-
|`--folder <value...>`| No | Table folders to move, by path as shown in the app; the leading / is optional (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
7182
+
|`--folder <value...>`| No | Table folders to move, by path as shown in the app; the leading / is optional (space-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
7183
7183
|`--to <value>`| No | Destination folder path; omit for root. |
7184
7184
7185
7185
</CommandTable>
@@ -7923,7 +7923,7 @@ sim workflows runs get <runId> [options]
7923
7923
| --- | --- | --- |
7924
7924
|`--workflow <workflowId>`| Yes | Workflow ID. |
7925
7925
|`--include-output`| No | Include the final output in JSON or YAML output. |
7926
-
|`--select-output <value...>`| No | Include blockName.path or blockId.path values (e.g. agent_1.content) in JSON or YAML output; names resolve against the workflow’s current blocks, and missing paths are omitted (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
7926
+
|`--select-output <value...>`| No | Include blockName.path or blockId.path values (e.g. agent_1.content) in JSON or YAML output; names resolve against the workflow’s current blocks, and missing paths are omitted (space-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
7927
7927
|`--include-file-base64`| No | Inline each produced file's bytes as base64. Requires `includeOutput`. A file above the inline ceiling answers `413` naming its download path; fetch large files from `downloadPath` instead. |
7928
7928
|`--no-include-file-base64`| No | Send --include-file-base64 as false. |
7929
7929
|`--base64-max-bytes <value>`| No | Per-file inline ceiling, lowering but never raising the server limit of 16 MiB. |
@@ -8510,7 +8510,7 @@ sim workflows run <workflowId> [options]
8510
8510
|`--input <json\|@file>`| No | Trigger input as JSON (JSON, or @path / @- to read a file or stdin). |
8511
8511
|`--async`| No | Queue the run and return immediately. Defaults to false. |
8512
8512
|`--execution-timeout-seconds <value>`| No | Maximum duration of the run in seconds, capped by the plan's execution timeout. Requires --async or --wait-timeout. |
8513
-
|`--select-output <value...>`| No | Return blockName.path values (e.g. agent_1.content), or childWorkflowId.blockName.path for a child workflow (applies to every invocation) — in blockOutputs on a sync run, or from the streamed result with --follow; missing paths are omitted. Not available with --async (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
8513
+
|`--select-output <value...>`| No | Return blockName.path values (e.g. agent_1.content), or childWorkflowId.blockName.path for a child workflow (applies to every invocation) — in blockOutputs on a sync run, or from the streamed result with --follow; missing paths are omitted. Not available with --async (space-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
8514
8514
|`--include-file-base64`| No | Inline eligible output files as base64 content. Defaults to true for the installed CLI; Chat defaults to file references and admits requested bytes only for synchronous runs. Rejected when async is true. |
8515
8515
|`--no-include-file-base64`| No | Send --include-file-base64 as false. |
8516
8516
|`--base64-max-bytes <value>`| No | Maximum total bytes of file content to inline as base64, lowering but never raising the server limit of 16 MiB. Rejected when `async` is true. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/sandboxes.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ sim sandboxes create [options]
66
66
| --- | --- | --- |
67
67
|`--name <value>`| Yes | Display name, unique within the workspace; 1 to 64 characters. |
68
68
|`--language <value>`| Yes | Dependency ecosystem: `javascript` installs from npm, `python` from PyPI. Accepted values: `javascript`, `python`. |
69
-
|`--dependencies <value...>`| No | Package specifiers installed into the sandbox, one per entry. Defaults to []. (space-separated, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @). |
69
+
|`--dependencies <value...>`| No | Package specifiers installed into the sandbox, one per entry. Defaults to []. (space-separated, a JSON array, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @). |
70
70
|`--cli-tools <value...>`| No | Pinned managed CLI ids installed into the sandbox, at most 10, no duplicates. Defaults to []. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
71
71
|`--system-packages <value...>`| No | Debian packages installed into the sandbox, one per entry. Defaults to []. (space- or comma-separated, a JSON array, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @). |
|`--name <value>`| No | New display name, unique within the workspace; 1 to 64 characters. |
102
102
|`--language <value>`| No | Replacement dependency ecosystem. The whole spec is revalidated against it, so a Python dependency list does not survive a switch to JavaScript. Accepted values: `javascript`, `python`. |
103
-
|`--dependencies <value...>`| No | Replacement package list; replaces the whole list. (space-separated, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @). |
103
+
|`--dependencies <value...>`| No | Replacement package list; replaces the whole list. (space-separated, a JSON array, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @). |
104
104
|`--cli-tools <value...>`| No | Replacement managed CLI list; replaces the whole list. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
105
105
|`--system-packages <value...>`| No | Replacement Debian package list; replaces the whole list. (space- or comma-separated, a JSON array, or @path / @- with one value per line; in a file, blank lines and # comments are ignored, while inline values are sent as typed and may not be empty; @@value for a literal leading @). |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/tables.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ sim tables move [options]
118
118
| Option | Required | Description |
119
119
| --- | --- | --- |
120
120
|`--table-ids <json\|@file>`| No | Tables to move, by identifier. Defaults to []. (JSON, or @path / @- to read a file or stdin). |
121
-
|`--folder <value...>`| No | Table folders to move, by path as shown in the app; the leading / is optional (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
121
+
|`--folder <value...>`| No | Table folders to move, by path as shown in the app; the leading / is optional (space-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
122
122
|`--to <value>`| No | Destination folder path; omit for root. |
|`--table-ids <json\|@file>`| No | Tables to archive, by identifier. Defaults to []. (JSON, or @path / @- to read a file or stdin). |
192
-
|`--folder <value...>`| No | Folder path as shown in the app; the leading / is optional (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
192
+
|`--folder <value...>`| No | Folder path as shown in the app; the leading / is optional (space-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
0 commit comments