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(cli): refuse what the help already says is invalid
- validate integer fields against the generated spec's own `kind`, so
`--limit 1.5` names the flag and the value instead of surfacing zod's
`expected int, received number`
- enforce `--limit` >= 1 on the two non-paginated row mutations, which the
help already promised and the server already required
- refuse a blank `-c/--conversation`: it is falsy, so it was dropped from
the body and silently started a new conversation instead of continuing one
- refuse a blank `chat` message before the request rather than after
- constrain `--recipe` to the recipes the generated body type declares, so
regenerating the surface breaks the build if they diverge
- announce truncation on `ls` the way `list` already does; the capped answer
was printed silently
- stop a successful message translation from vetoing itself: the veto now
reads the message the server sent, not the rewritten one, which restores
`--folder must name an existing folder` and unblocks 100+ operations
- drop "destructive" from the `--yes` help line; the gate also covers
operations that only add, such as `files unzip`
- fix the `logs follow` help, which illustrated `--workflow` with a file id
|`--file-ids <value...>`| Yes | File identifiers to update. (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
25
-
|`-y, --yes`| Yes | Confirm this destructive operation. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/cli/knowledge.mdx
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@ Delete Tag (personal API key required)
120
120
121
121
| Option | Required | Description |
122
122
| --- | --- | --- |
123
-
|`-y, --yes`| Yes | Confirm this destructive operation. |
123
+
|`-y, --yes`| Yes | Confirm this operation. |
124
124
125
125
</CommandTable>
126
126
@@ -150,7 +150,7 @@ Remove tag definitions no document still uses (personal API key required)
150
150
| --- | --- | --- |
151
151
|`--unused`| No | Whether to remove only the tag definitions no document in the knowledge base still carries a value for. Defaults to true. Pass --no-unused to delete every definition on the knowledge base, which also clears its slot on every document and chunk and is not recoverable. |
152
152
|`--no-unused`| No | Send --unused as false. |
153
-
|`-y, --yes`| Yes | Confirm this destructive operation. |
153
+
|`-y, --yes`| Yes | Confirm this operation. |
154
154
155
155
</CommandTable>
156
156
@@ -273,7 +273,7 @@ Enable, disable, or delete many chunks at once (personal API key required)
273
273
| --- | --- | --- |
274
274
|`--operation <value>`| Yes | What to do with the selected chunks. Accepted values: `enable`, `disable`, `delete`. |
275
275
|`--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 @). |
276
-
|`-y, --yes`| Yes | Confirm this destructive operation. |
276
+
|`-y, --yes`| Yes | Confirm this operation. |
277
277
278
278
</CommandTable>
279
279
@@ -334,7 +334,7 @@ Delete Chunk (personal API key required)
334
334
335
335
| Option | Required | Description |
336
336
| --- | --- | --- |
337
-
|`-y, --yes`| Yes | Confirm this destructive operation. |
0 commit comments