The open source coding agent.
TypeScript
chore: generate
opencode-agent[bot]985663620f30
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.jsonindex 735c34c8ace..02370f75fc0 100644--- a/packages/sdk/openapi.json+++ b/packages/sdk/openapi.json@@ -1220,6 +1220,189 @@]}},+ "/experimental/console": {+ "get": {+ "operationId": "experimental.console.get",+ "parameters": [+ {+ "in": "query",+ "name": "directory",+ "schema": {+ "type": "string"+ }+ },+ {+ "in": "query",+ "name": "workspace",+ "schema": {+ "type": "string"+ }+ }+ ],+ "summary": "Get active Console provider metadata",+ "description": "Get the active Console org name and the set of provider IDs managed by that Console org.",+ "responses": {+ "200": {+ "description": "Active Console provider metadata",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "consoleManagedProviders": {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ "activeOrgName": {+ "type": "string"+ }+ },+ "required": ["consoleManagedProviders"]+ }+ }+ }+ }+ },+ "x-codeSamples": [+ {+ "lang": "js",+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.experimental.console.get({\n ...\n})"+ }+ ]+ }+ },+ "/experimental/console/orgs": {+ "get": {+ "operationId": "experimental.console.listOrgs",+ "parameters": [+ {+ "in": "query",+ "name": "directory",+ "schema": {+ "type": "string"+ }+ },+ {+ "in": "query",+ "name": "workspace",+ "schema": {+ "type": "string"+ }+ }+ ],+ "summary": "List switchable Console orgs",+ "description": "Get the available Console orgs across logged-in accounts, including the current active org.",+ "responses": {+ "200": {+ "description": "Switchable Console orgs",+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "orgs": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "accountID": {+ "type": "string"+ },+ "accountEmail": {+ "type": "string"+ },+ "accountUrl": {+ "type": "string"+ },+ "orgID": {+ "type": "string"+ },+ "orgName": {+ "type": "string"+ },+ "active": {+ "type": "boolean"+ }+ },+ "required": ["accountID", "accountEmail", "accountUrl", "orgID", "orgName", "active"]+ }+ }+ },+ "required": ["orgs"]+ }+ }+ }+ }+ },+ "x-codeSamples": [+ {+ "lang": "js",+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.experimental.console.listOrgs({\n ...\n})"+ }+ ]+ }+ },+ "/experimental/console/switch": {+ "post": {+ "operationId": "experimental.console.switchOrg",+ "parameters": [+ {+ "in": "query",+ "name": "directory",+ "schema": {+ "type": "string"+ }+ },+ {+ "in": "query",+ "name": "workspace",+ "schema": {+ "type": "string"+ }+ }+ ],+ "summary": "Switch active Console org",+ "description": "Persist a new active Console account/org selection for the current local OpenCode state.",+ "responses": {+ "200": {+ "description": "Switch success",+ "content": {+ "application/json": {+ "schema": {+ "type": "boolean"+ }+ }+ }+ }+ },+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "accountID": {+ "type": "string"+ },+ "orgID": {+ "type": "string"+ }+ },+ "required": ["accountID", "orgID"]+ }+ }+ }+ },+ "x-codeSamples": [+ {+ "lang": "js",+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.experimental.console.switchOrg({\n ...\n})"+ }+ ]+ }+ },"/experimental/tool/ids": {"get": {"operationId": "tool.ids",