The open source coding agent.
TypeScript
chore: generate
opencode-agent[bot]5e5823ed85ff
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.jsonindex 2741c2362ec..80a4a8d72ae 100644--- a/packages/sdk/openapi.json+++ b/packages/sdk/openapi.json@@ -2630,6 +2630,76 @@"source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.session.message({\n ...\n})"}]+ },+ "delete": {+ "operationId": "session.deleteMessage",+ "parameters": [+ {+ "in": "query",+ "name": "directory",+ "schema": {+ "type": "string"+ }+ },+ {+ "in": "path",+ "name": "sessionID",+ "schema": {+ "type": "string"+ },+ "required": true,+ "description": "Session ID"+ },+ {+ "in": "path",+ "name": "messageID",+ "schema": {+ "type": "string"+ },+ "required": true,+ "description": "Message ID"+ }+ ],+ "summary": "Delete message",+ "description": "Permanently delete a specific message (and all of its parts) from a session. This does not revert any file changes that may have been made while processing the message.",+ "responses": {+ "200": {+ "description": "Successfully deleted message",+ "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"+ }+ }+ }+ }+ },+ "x-codeSamples": [+ {+ "lang": "js",+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.session.deleteMessage({\n ...\n})"+ }+ ]}},"/session/{sessionID}/message/{messageID}/part/{partID}": {