fix(cloud): drop knowledge query and settings commands removed from the API

This commit is contained in:
Alex Schapiro 2026-08-27 18:52:26 +00:00
parent 41927358eb
commit 3580412178

View file

@ -649,12 +649,6 @@ SPEC: dict[str, dict[str, Cmd]] = {
),
),
"delete": Cmd("DELETE", "/knowledge/{documentId}", "Delete a knowledge document."),
"query": Cmd(
"GET",
"/knowledge/query",
"Query the knowledge base.",
query=(P("q", help="Query text."), P("limit", "int")),
),
"policies": Cmd("GET", "/knowledge/policies", "List knowledge policies."),
"policies add": Cmd(
"POST",
@ -678,13 +672,6 @@ SPEC: dict[str, dict[str, Cmd]] = {
"/knowledge/repos/{repo}/profile",
"Update the knowledge profile of a repository. Use --data for the fields.",
),
"settings": Cmd("GET", "/knowledge/settings", "Get the knowledge settings."),
"settings update": Cmd(
"PATCH",
"/knowledge/settings",
"Update the knowledge settings.",
body=(P("org_knowledge_enabled", "bool", help="Use organization knowledge in scans."),),
),
},
"org": {
"get": Cmd("GET", "/organization", "Get the organization."),