The open source coding agent.
TypeScript
chore: generate
GitHub Action1261b7d33305
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.jsonindex 3393d1c8618..583caf8d727 100644--- a/packages/sdk/openapi.json+++ b/packages/sdk/openapi.json@@ -4956,6 +4956,9 @@},{"$ref": "#/components/schemas/Event.tui.toast.show"+ },+ {+ "$ref": "#/components/schemas/Event.tui.session.select"}]}@@ -4970,6 +4973,77 @@]}},+ "/tui/select-session": {+ "post": {+ "operationId": "tui.selectSession",+ "parameters": [+ {+ "in": "query",+ "name": "directory",+ "schema": {+ "type": "string"+ }+ }+ ],+ "summary": "Select session",+ "description": "Navigate the TUI to display the specified session.",+ "responses": {+ "200": {+ "description": "Session selected successfully",+ "content": {+ "application/json": {+ "schema": {+ "type": "boolean"+ }+ }+ }+ },+ "400": {+ "description": "Bad request",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/BadRequestError"+ }+ }+ }+ },+ "404": {+ "description": "Not found",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/NotFoundError"+ }+ }+ }+ }+ },+ "requestBody": {+ "content": {+ "application/json": {+ "schema": {+ "type": "object",+ "properties": {+ "sessionID": {+ "description": "Session ID to navigate to",+ "type": "string",+ "pattern": "^ses"+ }+ },+ "required": ["sessionID"]+ }+ }+ }+ },+ "x-codeSamples": [+ {+ "lang": "js",+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.tui.selectSession({\n ...\n})"+ }+ ]+ }+ },"/tui/control/next": {"get": {"operationId": "tui.control.next",@@ -6794,6 +6868,27 @@},"required": ["type", "properties"]},+ "Event.tui.session.select": {+ "type": "object",+ "properties": {+ "type": {+ "type": "string",+ "const": "tui.session.select"+ },+ "properties": {+ "type": "object",+ "properties": {+ "sessionID": {+ "description": "Session ID to navigate to",+ "type": "string",+ "pattern": "^ses"+ }+ },+ "required": ["sessionID"]+ }+ },+ "required": ["type", "properties"]+ },"Event.mcp.tools.changed": {"type": "object","properties": {@@ -7338,6 +7433,9 @@{"$ref": "#/components/schemas/Event.tui.toast.show"},+ {+ "$ref": "#/components/schemas/Event.tui.session.select"+ },{"$ref": "#/components/schemas/Event.mcp.tools.changed"},