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 d7011a5
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): comma lists, stale table types hint, and block version note (#10443)
* fix(cli): comma lists, stale table types hint, and block version note
- Every id list flag reads repeated, space-, comma-separated and JSON-array
values alike (`--row-ids a,b` deleted nothing); dependency specifiers and
folder paths keep their commas.
- An unknown option names the commands one group down that take it, by any
spelling (`tables batch-delete --row-ids` points to `tables rows batch-delete`).
- `blocks get table` notes on stderr that it reads as table_v2, the type to add.
- `workflows source check` hints `source status` to refresh table types when a
row write names a column the last get's types lack.
* 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
+4-4Lines changed: 4 additions & 4 deletions
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. |
88
88
@@ -333,7 +333,7 @@ Also available as `sim files mv`.
333
333
334
334
| Option | Required | Description |
335
335
| --- | --- | --- |
336
-
|`--file-ids <value...>`| Yes | File identifiers to update. (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
336
+
|`--file-ids <value...>`| Yes | File identifiers to update. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
337
337
|`--to <value>`| No | Destination folder path; omit for root. |
338
338
339
339
</CommandTable>
@@ -417,7 +417,7 @@ sim files share set <fileId> [options]
417
417
|`--is-active <true\|false>`| Yes | Whether the share should resolve. Disabling preserves the token and the whole access configuration, so re-enabling restores the share as it was; enabling rewrites the credentials the resulting mode does not use. Accepted values: `true`, `false`. |
418
418
|`--auth-type <value>`| No | How access to the share is gated. The stored mode is kept when omitted. Enabling `public` clears the stored password and empties `allowedEmails`; `password` empties `allowedEmails`; `email` and `sso` clear the stored password. Accepted values: `public`, `password`, `email`, `sso`. |
419
419
|`--password <value>`| No | Password of 15 to 1024 characters for a password-gated share. Kept when omitted; enabling `password` with neither a supplied nor a stored password is a 400. Taken literally, except that a request from the Sim agent resolves a whole-value `{{ENV_VAR}}` reference to that variable before the rules apply. |
420
-
|`--allowed-emails <value...>`| No | Allowed addresses or `@domain` patterns for email and SSO shares. Kept when omitted; enabling `email` or `sso` with an empty resulting list is a 400. (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
420
+
|`--allowed-emails <value...>`| No | Allowed addresses or `@domain` patterns for email and SSO shares. Kept when omitted; enabling `email` or `sso` with an empty resulting list is a 400. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
|`--file-ids <value...>`| No | Files to delete, each by identifier or by the VFS path of a live file: `files/<folder>/<name>`. Pass the id when two files in a folder have names that display alike. At most 100 entries may be paths. (space-separated, or @path / @- with one value per line; @@value for a literal leading @) (required, or pass the values as arguments). |
656
+
|`--file-ids <value...>`| No | Files to delete, each by identifier or by the VFS path of a live file: `files/<folder>/<name>`. Pass the id when two files in a folder have names that display alike. At most 100 entries may be paths. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @) (required, or pass the values as arguments). |
|`--kb <value...>`| Yes | Knowledge base ID (repeatable) (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
190
+
|`--kb <value...>`| Yes | Knowledge base ID (repeatable) (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
191
191
|`--query <value>`| No | Text to search for. |
192
192
|`--top-k <value>`| No | Maximum number of search results to return. Must be a whole number between 1 and 100. Defaults to 10. |
193
193
|`--tag-filters <json\|@file>`| No | Tag filters as [{"tagName":"...","operator":"...","value":"..."}] (JSON, or @path / @- to read a file or stdin). |
|`--operation <value>`| Yes | Whether the selected documents become enabled or disabled for search. Accepted values: `enable`, `disable`. |
467
-
|`--document <value...>`| No | Documents to update, by identifier. (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
467
+
|`--document <value...>`| No | Documents to update, by identifier. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
468
468
|`--select-all`| No | Apply to every document in the knowledge base. |
469
469
|`--enabled-filter <value>`| No | With `selectAll`, restrict the update to documents in this state. Accepted values: `all`, `enabled`, `disabled`. |
|`--file <value...>`| Yes | Workspace file ID or canonical files/<folder>/<name> path (repeatable) (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
530
+
|`--file <value...>`| Yes | Workspace file ID or canonical files/<folder>/<name> path (repeatable) (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
|`--operation <value>`| Yes | What to do with the selected chunks. Accepted values: `enable`, `disable`, `delete`. |
691
-
|`--chunk <value...>`| Yes | Chunks to operate on, by identifier. An id naming no chunk in the document is reported in errors and does not fail the request. (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
691
+
|`--chunk <value...>`| Yes | Chunks to operate on, by identifier. An id naming no chunk in the document is reported in errors and does not fail the request. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
|`--operation <value>`| Yes | Whether to restore or exclude the selected documents. Accepted values: `restore`, `exclude`. |
1177
-
|`--document <value...>`| Yes | Connector document identifiers to update. (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
1177
+
|`--document <value...>`| Yes | Connector document identifiers to update. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/logs.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,8 @@ sim logs list [options]
23
23
24
24
| Option | Required | Description |
25
25
| --- | --- | --- |
26
-
|`--workflow <value...>`| No | Comma-separated workflow identifiers to include. An empty entry is rejected. At most 200 entries. (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
27
-
|`--trigger <value...>`| No | Comma-separated, lowercase trigger types or webhook provider IDs. Matching is exact and case-sensitive; unknown values select no runs. An empty entry is rejected. The sentinel `all` disables this filter, even when listed with other values. At most 100 entries. (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
26
+
|`--workflow <value...>`| No | Comma-separated workflow identifiers to include. An empty entry is rejected. At most 200 entries. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
27
+
|`--trigger <value...>`| No | Comma-separated, lowercase trigger types or webhook provider IDs. Matching is exact and case-sensitive; unknown values select no runs. An empty entry is rejected. The sentinel `all` disables this filter, even when listed with other values. At most 100 entries. (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
28
28
|`--level <value>`| No | Severity level to include. Accepted values: `info`, `error`. |
29
29
|`--start-date <value>`| No | Only include runs started at or after this UTC ISO 8601 timestamp, e.g. `2026-08-06T00:00:00Z`. A date without a time, or a timestamp carrying a UTC offset instead of `Z`, is rejected, as is year `0000`, which names no storable instant. |
30
30
|`--end-date <value>`| No | Only include runs started at or before this UTC ISO 8601 timestamp, e.g. `2026-08-06T00:00:00Z`. A date without a time, or a timestamp carrying a UTC offset instead of `Z`, is rejected, as is year `0000`, which names no storable instant. |
@@ -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
@@ -95,9 +95,9 @@ sim logs stats [options]
95
95
96
96
| Option | Required | Description |
97
97
| --- | --- | --- |
98
-
|`--workflow <value...>`| No | Comma-separated workflow identifiers to include. At most 200 entries. An empty entry is rejected. (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, or @path / @- with one value per line; @@value for a literal leading @). |
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-separated, or @path / @- with one value per line; @@value for a literal leading @). |
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, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
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. |
103
103
|`--no-include-handled-errors`| No | Send --include-handled-errors as false. |
|`--group <value>`| Yes | Permission group identifier. |
232
-
|`--user <value...>`| No | User IDs to add; cannot be combined with --all-members (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
232
+
|`--user <value...>`| No | User IDs to add; cannot be combined with --all-members (space- or comma-separated, a JSON array, or @path / @- with one value per line; @@value for a literal leading @). |
233
233
|`--all-members`| No | Add every current organization member; cannot be combined with --user. |
0 commit comments