From 3580412178a5052ce7f04aa3cb92106c2aa9ce2f Mon Sep 17 00:00:00 2001 From: Alex Schapiro Date: Thu, 27 Aug 2026 18:52:26 +0000 Subject: [PATCH] fix(cloud): drop knowledge query and settings commands removed from the API --- strix/interface/cloud/spec.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/strix/interface/cloud/spec.py b/strix/interface/cloud/spec.py index d26a1cd3..bf7457ba 100644 --- a/strix/interface/cloud/spec.py +++ b/strix/interface/cloud/spec.py @@ -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."),