From 497ff36e91a467efc52fc3ce3499d4304b370878 Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" Date: Tue, 2 Jun 2026 04:14:16 +0000 Subject: [PATCH] chore: generate --- packages/sdk/openapi.json | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index dc6e39e4b..7a21f673e 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -18304,7 +18304,7 @@ "items": { "type": "array", "items": { - "$ref": "#/components/schemas/SessionInfo" + "$ref": "#/components/schemas/SessionV2Info" } }, "cursor": { @@ -20995,7 +20995,20 @@ "required": ["action", "effect", "resource"], "additionalProperties": false }, - "SessionInfo": { + "LocationRef": { + "type": "object", + "properties": { + "directory": { + "type": "string" + }, + "workspaceID": { + "type": "string" + } + }, + "required": ["directory"], + "additionalProperties": false + }, + "SessionV2Info": { "type": "object", "properties": { "id": { @@ -21009,13 +21022,6 @@ "projectID": { "type": "string" }, - "workspaceID": { - "type": "string", - "pattern": "^wrk" - }, - "path": { - "type": "string" - }, "agent": { "type": "string" }, @@ -21085,9 +21091,15 @@ }, "title": { "type": "string" + }, + "location": { + "$ref": "#/components/schemas/LocationRef" + }, + "subpath": { + "type": "string" } }, - "required": ["id", "projectID", "cost", "tokens", "time", "title"], + "required": ["id", "projectID", "cost", "tokens", "time", "title", "location"], "additionalProperties": false }, "SessionDelivery": {