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
fix: deliver the diagnostics this branch added, and say it readably
The bulk document sweep reports which of the ids it was given matched
nothing, but only the v2 contract declared the field. The internal contract
is a plain object, so its response validator dropped it — the surface that
already logged the misses server-side still told its callers nothing. It is
declared now, and required, because both selections always return one.
Its count keeps its internal name. The v2 wire renamed it, and the internal
contract passes the use case through verbatim, so the two never agreed and
the internal name still matches its source; six call sites read it.
The name guard added here refused control characters but not the two
Unicode line separators, which the storage key strips the same way and a
terminal renders as a break — the same divergence between stored and shown
that the guard exists to stop. It now refuses the set the config writer
already refuses for its own reasons, and the message no longer calls a
separator a control character.
A sweep selected by --select-all sends no ids, so measuring the request by
its id count read a whole-knowledge-base no-op as nothing having been
asked. Every sibling either requires ids or measures the miss from the
response, so this was the only one.
The archived half of four scope descriptions dropped its relative pronoun
and read as nonsense once a second clause was added. Rewritten as one
passive clause across all four, with a restore named only where one exists,
and pinned so a reword of any single one cannot bring the others back.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/cli/files.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ Also available as `sim files folders ls`.
107
107
|`--search <value>`| No | Case-insensitive substring match against the folder name. |
108
108
|`--sort-by <value>`| No | Field used to sort the result. Sorting by `name` is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: `name`, `createdAt`, `updatedAt`. |
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) returns live folders only; `archived` returns folders a recursive delete soft-deleted, which is how a caller finds a path to hand to the folder restore. Authorization is identical for both. Accepted values: `active`, `archived`. |
110
+
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) returns live folders only; `archived` returns folders soft-deleted by a recursive delete, which is how a caller finds a path to hand to the folder restore. Authorization is identical for both. Accepted values: `active`, `archived`. |
|`--scope <value>`| No | Which lifecycle set to read from: `active` (default) resolves live files only and returns `404` for a file a delete soft-deleted; `archived` also resolves soft-deleted files, so metadata stays readable before the file is restored. Authorization is identical for both. Accepted values: `active`, `archived`. |
197
+
|`--scope <value>`| No | Which lifecycle set to read from: `active` (default) resolves live files only and returns `404` for a file soft-deleted by a delete; `archived` also resolves soft-deleted files, so metadata stays readable before the file is restored. Authorization is identical for both. Accepted values: `active`, `archived`. |
198
198
199
199
</CommandTable>
200
200
@@ -260,7 +260,7 @@ sim files list [options]
260
260
|`--folder <value>`| No | Folder path as shown in the app; the leading / is optional. |
261
261
|`--recursive`| No | Whether the folder filter includes files in subfolders. Defaults to true when a search is set, false otherwise, so listing a folder shows that folder while searching one looks through everything in it. Ignored when no folder filter is set, which already spans the workspace. |
262
262
|`--no-recursive`| No | Send --recursive as false. |
263
-
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live files, `archived` for files a delete soft-deleted. `folderPath` resolves against active folders only, so pairing it with `scope=archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
263
+
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live files, `archived` for files soft-deleted by a delete, which a restore can bring back. `folderPath` resolves against active folders only, so pairing it with `scope=archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
264
264
|`--search <value>`| No | Case-insensitive substring match against the file name. |
265
265
|`--sort-by <value>`| No | Field used to sort the result. Sorting by `name` is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: `name`, `size`, `uploadedAt`, `updatedAt`. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/cli/knowledge.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
@@ -1001,7 +1001,7 @@ sim knowledge list [options]
1001
1001
1002
1002
| Option | Required | Description |
1003
1003
| --- | --- | --- |
1004
-
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live knowledge bases, `archived` for knowledge bases a delete archived and the restore operation can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
1004
+
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live knowledge bases, `archived` for knowledge bases archived by a delete, which a restore can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
1005
1005
|`--folder <value>`| No | Folder path as shown in the app; the leading / is optional. |
1006
1006
|`--search <value>`| No | Case-insensitive substring match against the resource name. |
1007
1007
|`--sort-by <value>`| No | Field used to sort the result. Sorting by `name` is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: `name`, `createdAt`, `updatedAt`. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/cli/reference.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
@@ -787,7 +787,7 @@ Also available as `sim files folders ls`.
787
787
|`--search <value>`| No | Case-insensitive substring match against the folder name. |
788
788
|`--sort-by <value>`| No | Field used to sort the result. Sorting by `name` is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: `name`, `createdAt`, `updatedAt`. |
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) returns live folders only; `archived` returns folders a recursive delete soft-deleted, which is how a caller finds a path to hand to the folder restore. Authorization is identical for both. Accepted values: `active`, `archived`. |
790
+
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) returns live folders only; `archived` returns folders soft-deleted by a recursive delete, which is how a caller finds a path to hand to the folder restore. Authorization is identical for both. Accepted values: `active`, `archived`. |
|`--scope <value>`| No | Which lifecycle set to read from: `active` (default) resolves live files only and returns `404` for a file a delete soft-deleted; `archived` also resolves soft-deleted files, so metadata stays readable before the file is restored. Authorization is identical for both. Accepted values: `active`, `archived`. |
885
+
|`--scope <value>`| No | Which lifecycle set to read from: `active` (default) resolves live files only and returns `404` for a file soft-deleted by a delete; `archived` also resolves soft-deleted files, so metadata stays readable before the file is restored. Authorization is identical for both. Accepted values: `active`, `archived`. |
886
886
887
887
</CommandTable>
888
888
@@ -952,7 +952,7 @@ sim files list [options]
952
952
|`--folder <value>`| No | Folder path as shown in the app; the leading / is optional. |
953
953
|`--recursive`| No | Whether the folder filter includes files in subfolders. Defaults to true when a search is set, false otherwise, so listing a folder shows that folder while searching one looks through everything in it. Ignored when no folder filter is set, which already spans the workspace. |
954
954
|`--no-recursive`| No | Send --recursive as false. |
955
-
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live files, `archived` for files a delete soft-deleted. `folderPath` resolves against active folders only, so pairing it with `scope=archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
955
+
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live files, `archived` for files soft-deleted by a delete, which a restore can bring back. `folderPath` resolves against active folders only, so pairing it with `scope=archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
956
956
|`--search <value>`| No | Case-insensitive substring match against the file name. |
957
957
|`--sort-by <value>`| No | Field used to sort the result. Sorting by `name` is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: `name`, `size`, `uploadedAt`, `updatedAt`. |
@@ -2239,7 +2239,7 @@ sim knowledge list [options]
2239
2239
2240
2240
| Option | Required | Description |
2241
2241
| --- | --- | --- |
2242
-
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live knowledge bases, `archived` for knowledge bases a delete archived and the restore operation can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
2242
+
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live knowledge bases, `archived` for knowledge bases archived by a delete, which a restore can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
2243
2243
|`--folder <value>`| No | Folder path as shown in the app; the leading / is optional. |
2244
2244
|`--search <value>`| No | Case-insensitive substring match against the resource name. |
2245
2245
|`--sort-by <value>`| No | Field used to sort the result. Sorting by `name` is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: `name`, `createdAt`, `updatedAt`. |
@@ -4155,7 +4155,7 @@ sim tables list [options]
4155
4155
4156
4156
| Option | Required | Description |
4157
4157
| --- | --- | --- |
4158
-
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live tables, `archived` for tables a delete archived and a table restore can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
4158
+
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live tables, `archived` for tables archived by a delete, which a restore can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
4159
4159
|`--folder <value>`| No | Folder path as shown in the app; the leading / is optional. |
4160
4160
|`--search <value>`| No | Case-insensitive substring match against the resource name. |
4161
4161
|`--sort-by <value>`| No | Field used to sort the result. Sorting by `name` is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: `name`, `createdAt`, `updatedAt`. |
@@ -5420,7 +5420,7 @@ sim workflows list [options]
5420
5420
5421
5421
| Option | Required | Description |
5422
5422
| --- | --- | --- |
5423
-
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live workflows, `archived` for workflows a `DELETE` archived. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
5423
+
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live workflows, `archived` for workflows archived by a delete, which a restore can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
5424
5424
|`--folder <value>`| No | Folder path as shown in the app; the leading / is optional. |
5425
5425
|`--deployed-only`| No | Return only workflows with an active deployment when true. |
5426
5426
|`--no-deployed-only`| No | Send --deployed-only as false. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/cli/tables.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
@@ -1087,7 +1087,7 @@ sim tables list [options]
1087
1087
1088
1088
| Option | Required | Description |
1089
1089
| --- | --- | --- |
1090
-
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live tables, `archived` for tables a delete archived and a table restore can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
1090
+
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live tables, `archived` for tables archived by a delete, which a restore can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
1091
1091
|`--folder <value>`| No | Folder path as shown in the app; the leading / is optional. |
1092
1092
|`--search <value>`| No | Case-insensitive substring match against the resource name. |
1093
1093
|`--sort-by <value>`| No | Field used to sort the result. Sorting by `name` is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: `name`, `createdAt`, `updatedAt`. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/cli/workflows.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
@@ -777,7 +777,7 @@ sim workflows list [options]
777
777
778
778
| Option | Required | Description |
779
779
| --- | --- | --- |
780
-
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live workflows, `archived` for workflows a `DELETE` archived. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
780
+
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live workflows, `archived` for workflows archived by a delete, which a restore can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
781
781
|`--folder <value>`| No | Folder path as shown in the app; the leading / is optional. |
782
782
|`--deployed-only`| No | Return only workflows with an active deployment when true. |
783
783
|`--no-deployed-only`| No | Send --deployed-only as false. |
Copy file name to clipboardExpand all lines: apps/docs/openapi-v2-files-audit.json
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -93,10 +93,10 @@
93
93
"name": "scope",
94
94
"in": "query",
95
95
"required": false,
96
-
"description": "Which lifecycle set to list: `active` (default) for live files, `archived` for files a delete soft-deleted. `folderPath` resolves against active folders only, so pairing it with `scope=archived` returns an empty page when the containing folder was archived too.",
96
+
"description": "Which lifecycle set to list: `active` (default) for live files, `archived` for files soft-deleted by a delete, which a restore can bring back. `folderPath` resolves against active folders only, so pairing it with `scope=archived` returns an empty page when the containing folder was archived too.",
97
97
"schema": {
98
98
"default": "active",
99
-
"description": "Which lifecycle set to list: `active` (default) for live files, `archived` for files a delete soft-deleted. `folderPath` resolves against active folders only, so pairing it with `scope=archived` returns an empty page when the containing folder was archived too.",
99
+
"description": "Which lifecycle set to list: `active` (default) for live files, `archived` for files soft-deleted by a delete, which a restore can bring back. `folderPath` resolves against active folders only, so pairing it with `scope=archived` returns an empty page when the containing folder was archived too.",
100
100
"type": "string",
101
101
"enum": ["active", "archived"]
102
102
}
@@ -1384,10 +1384,10 @@
1384
1384
"name": "scope",
1385
1385
"in": "query",
1386
1386
"required": false,
1387
-
"description": "Which lifecycle set to read from: `active` (default) resolves live files only and returns `404` for a file a delete soft-deleted; `archived` also resolves soft-deleted files, so metadata stays readable before the file is restored. Authorization is identical for both.",
1387
+
"description": "Which lifecycle set to read from: `active` (default) resolves live files only and returns `404` for a file soft-deleted by a delete; `archived` also resolves soft-deleted files, so metadata stays readable before the file is restored. Authorization is identical for both.",
1388
1388
"schema": {
1389
1389
"default": "active",
1390
-
"description": "Which lifecycle set to read from: `active` (default) resolves live files only and returns `404` for a file a delete soft-deleted; `archived` also resolves soft-deleted files, so metadata stays readable before the file is restored. Authorization is identical for both.",
1390
+
"description": "Which lifecycle set to read from: `active` (default) resolves live files only and returns `404` for a file soft-deleted by a delete; `archived` also resolves soft-deleted files, so metadata stays readable before the file is restored. Authorization is identical for both.",
1391
1391
"type": "string",
1392
1392
"enum": ["active", "archived"]
1393
1393
}
@@ -2144,10 +2144,10 @@
2144
2144
"name": "scope",
2145
2145
"in": "query",
2146
2146
"required": false,
2147
-
"description": "Which lifecycle set to list: `active` (default) returns live folders only; `archived` returns folders a recursive delete soft-deleted, which is how a caller finds a path to hand to the folder restore. Authorization is identical for both.",
2147
+
"description": "Which lifecycle set to list: `active` (default) returns live folders only; `archived` returns folders soft-deleted by a recursive delete, which is how a caller finds a path to hand to the folder restore. Authorization is identical for both.",
2148
2148
"schema": {
2149
2149
"default": "active",
2150
-
"description": "Which lifecycle set to list: `active` (default) returns live folders only; `archived` returns folders a recursive delete soft-deleted, which is how a caller finds a path to hand to the folder restore. Authorization is identical for both.",
2150
+
"description": "Which lifecycle set to list: `active` (default) returns live folders only; `archived` returns folders soft-deleted by a recursive delete, which is how a caller finds a path to hand to the folder restore. Authorization is identical for both.",
Copy file name to clipboardExpand all lines: apps/docs/openapi-v2-knowledge.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -55,10 +55,10 @@
55
55
"name": "scope",
56
56
"in": "query",
57
57
"required": false,
58
-
"description": "Which lifecycle set to list: `active` (default) for live knowledge bases, `archived` for knowledge bases a delete archived and the restore operation can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too.",
58
+
"description": "Which lifecycle set to list: `active` (default) for live knowledge bases, `archived` for knowledge bases archived by a delete, which a restore can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too.",
59
59
"schema": {
60
60
"default": "active",
61
-
"description": "Which lifecycle set to list: `active` (default) for live knowledge bases, `archived` for knowledge bases a delete archived and the restore operation can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too.",
61
+
"description": "Which lifecycle set to list: `active` (default) for live knowledge bases, `archived` for knowledge bases archived by a delete, which a restore can bring back. The folder filter resolves against active folders only, so pairing it with `archived` returns an empty page when the containing folder was archived too.",
0 commit comments