diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-03-25 14:48:44 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-03-25 14:48:44 +0000 |
| commit | 971383661a5eb1bef1a9348f2db3960449a422b4 (patch) | |
| tree | b9d812ca227003e7ab8223ead0d3356d77f5964d /packages/sdk/openapi.json | |
| parent | b0017bf1b96ef14fc1ecf91c0b9c4b18e2dfea71 (diff) | |
| download | opencode-971383661a5eb1bef1a9348f2db3960449a422b4.tar.gz opencode-971383661a5eb1bef1a9348f2db3960449a422b4.zip | |
chore: generate
Diffstat (limited to 'packages/sdk/openapi.json')
| -rw-r--r-- | packages/sdk/openapi.json | 233 |
1 files changed, 180 insertions, 53 deletions
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index 053fc5b94..513a0f0ff 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -10048,102 +10048,229 @@ "type": "object", "properties": { "id": { - "type": "string", - "pattern": "^ses.*" + "anyOf": [ + { + "type": "string", + "pattern": "^ses.*" + }, + { + "type": "null" + } + ] }, "slug": { - "type": "string" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "projectID": { - "type": "string" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "workspaceID": { - "type": "string", - "pattern": "^wrk.*" + "anyOf": [ + { + "type": "string", + "pattern": "^wrk.*" + }, + { + "type": "null" + } + ] }, "directory": { - "type": "string" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "parentID": { - "type": "string", - "pattern": "^ses.*" + "anyOf": [ + { + "type": "string", + "pattern": "^ses.*" + }, + { + "type": "null" + } + ] }, "summary": { - "type": "object", - "properties": { - "additions": { - "type": "number" - }, - "deletions": { - "type": "number" - }, - "files": { - "type": "number" + "anyOf": [ + { + "type": "object", + "properties": { + "additions": { + "type": "number" + }, + "deletions": { + "type": "number" + }, + "files": { + "type": "number" + }, + "diffs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileDiff" + } + } + }, + "required": ["additions", "deletions", "files"] }, - "diffs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileDiff" - } + { + "type": "null" } - }, - "required": ["additions", "deletions", "files"] + ] }, "share": { "type": "object", "properties": { "url": { - "type": "string" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } - } + }, + "required": ["url"] }, "title": { - "type": "string" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "version": { - "type": "string" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "time": { "type": "object", "properties": { "created": { - "type": "number" + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] }, "updated": { - "type": "number" + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] }, "compacting": { - "type": "number" + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] }, "archived": { - "type": "number" + "anyOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] } - } + }, + "required": ["created", "updated", "compacting", "archived"] }, "permission": { - "$ref": "#/components/schemas/PermissionRuleset" + "anyOf": [ + { + "$ref": "#/components/schemas/PermissionRuleset" + }, + { + "type": "null" + } + ] }, "revert": { - "type": "object", - "properties": { - "messageID": { - "type": "string", - "pattern": "^msg.*" - }, - "partID": { - "type": "string", - "pattern": "^prt.*" - }, - "snapshot": { - "type": "string" + "anyOf": [ + { + "type": "object", + "properties": { + "messageID": { + "type": "string", + "pattern": "^msg.*" + }, + "partID": { + "type": "string", + "pattern": "^prt.*" + }, + "snapshot": { + "type": "string" + }, + "diff": { + "type": "string" + } + }, + "required": ["messageID"] }, - "diff": { - "type": "string" + { + "type": "null" } - }, - "required": ["messageID"] + ] } - } + }, + "required": [ + "id", + "slug", + "projectID", + "workspaceID", + "directory", + "parentID", + "summary", + "title", + "version", + "permission", + "revert" + ] } }, "required": ["sessionID", "info"] |
