chore: generate

This commit is contained in:
GitHub Action
2026-01-28 13:28:52 +00:00
parent acb92fcd34
commit bc4968abbb
5 changed files with 595 additions and 1626 deletions
+1 -1
View File
@@ -25,4 +25,4 @@
"typescript": "catalog:",
"@typescript/native-preview": "catalog:"
}
}
}
+1 -1
View File
@@ -30,4 +30,4 @@
"publishConfig": {
"directory": "dist"
}
}
}
+65 -78
View File
@@ -299,6 +299,62 @@ export class Global extends HeyApiClient {
}
}
export class Auth extends HeyApiClient {
/**
* Remove auth credentials
*
* Remove authentication credentials
*/
public remove<ThrowOnError extends boolean = false>(
parameters: {
providerID: string
},
options?: Options<never, ThrowOnError>,
) {
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "providerID" }] }])
return (options?.client ?? this.client).delete<AuthRemoveResponses, AuthRemoveErrors, ThrowOnError>({
url: "/auth/{providerID}",
...options,
...params,
})
}
/**
* Set auth credentials
*
* Set authentication credentials
*/
public set<ThrowOnError extends boolean = false>(
parameters: {
providerID: string
auth?: Auth3
},
options?: Options<never, ThrowOnError>,
) {
const params = buildClientParams(
[parameters],
[
{
args: [
{ in: "path", key: "providerID" },
{ key: "auth", map: "body" },
],
},
],
)
return (options?.client ?? this.client).put<AuthSetResponses, AuthSetErrors, ThrowOnError>({
url: "/auth/{providerID}",
...options,
...params,
headers: {
"Content-Type": "application/json",
...options?.headers,
...params.headers,
},
})
}
}
export class Project extends HeyApiClient {
/**
* List all projects
@@ -2284,7 +2340,7 @@ export class File extends HeyApiClient {
}
}
export class Auth extends HeyApiClient {
export class Auth2 extends HeyApiClient {
/**
* Remove MCP OAuth
*
@@ -2528,9 +2584,9 @@ export class Mcp extends HeyApiClient {
})
}
private _auth?: Auth
get auth(): Auth {
return (this._auth ??= new Auth({ client: this.client }))
private _auth?: Auth2
get auth(): Auth2 {
return (this._auth ??= new Auth2({ client: this.client }))
}
}
@@ -3101,75 +3157,6 @@ export class Formatter extends HeyApiClient {
}
}
export class Auth2 extends HeyApiClient {
/**
* Remove auth credentials
*
* Remove authentication credentials
*/
public remove<ThrowOnError extends boolean = false>(
parameters: {
providerID: string
directory?: string
},
options?: Options<never, ThrowOnError>,
) {
const params = buildClientParams(
[parameters],
[
{
args: [
{ in: "path", key: "providerID" },
{ in: "query", key: "directory" },
],
},
],
)
return (options?.client ?? this.client).delete<AuthRemoveResponses, AuthRemoveErrors, ThrowOnError>({
url: "/auth/{providerID}",
...options,
...params,
})
}
/**
* Set auth credentials
*
* Set authentication credentials
*/
public set<ThrowOnError extends boolean = false>(
parameters: {
providerID: string
directory?: string
auth?: Auth3
},
options?: Options<never, ThrowOnError>,
) {
const params = buildClientParams(
[parameters],
[
{
args: [
{ in: "path", key: "providerID" },
{ in: "query", key: "directory" },
{ key: "auth", map: "body" },
],
},
],
)
return (options?.client ?? this.client).put<AuthSetResponses, AuthSetErrors, ThrowOnError>({
url: "/auth/{providerID}",
...options,
...params,
headers: {
"Content-Type": "application/json",
...options?.headers,
...params.headers,
},
})
}
}
export class Event extends HeyApiClient {
/**
* Subscribe to events
@@ -3204,6 +3191,11 @@ export class OpencodeClient extends HeyApiClient {
return (this._global ??= new Global({ client: this.client }))
}
private _auth?: Auth
get auth(): Auth {
return (this._auth ??= new Auth({ client: this.client }))
}
private _project?: Project
get project(): Project {
return (this._project ??= new Project({ client: this.client }))
@@ -3314,11 +3306,6 @@ export class OpencodeClient extends HeyApiClient {
return (this._formatter ??= new Formatter({ client: this.client }))
}
private _auth?: Auth2
get auth(): Auth2 {
return (this._auth ??= new Auth2({ client: this.client }))
}
private _event?: Event
get event(): Event {
return (this._event ??= new Event({ client: this.client }))
+76 -80
View File
@@ -1819,6 +1819,28 @@ export type BadRequestError = {
success: false
}
export type OAuth = {
type: "oauth"
refresh: string
access: string
expires: number
accountId?: string
enterpriseUrl?: string
}
export type ApiAuth = {
type: "api"
key: string
}
export type WellKnownAuth = {
type: "wellknown"
key: string
token: string
}
export type Auth = OAuth | ApiAuth | WellKnownAuth
export type NotFoundError = {
name: "NotFoundError"
data: {
@@ -2142,28 +2164,6 @@ export type FormatterStatus = {
enabled: boolean
}
export type OAuth = {
type: "oauth"
refresh: string
access: string
expires: number
accountId?: string
enterpriseUrl?: string
}
export type ApiAuth = {
type: "api"
key: string
}
export type WellKnownAuth = {
type: "wellknown"
key: string
token: string
}
export type Auth = OAuth | ApiAuth | WellKnownAuth
export type GlobalHealthData = {
body?: never
path?: never
@@ -2256,6 +2256,60 @@ export type GlobalDisposeResponses = {
export type GlobalDisposeResponse = GlobalDisposeResponses[keyof GlobalDisposeResponses]
export type AuthRemoveData = {
body?: never
path: {
providerID: string
}
query?: never
url: "/auth/{providerID}"
}
export type AuthRemoveErrors = {
/**
* Bad request
*/
400: BadRequestError
}
export type AuthRemoveError = AuthRemoveErrors[keyof AuthRemoveErrors]
export type AuthRemoveResponses = {
/**
* Successfully removed authentication credentials
*/
200: boolean
}
export type AuthRemoveResponse = AuthRemoveResponses[keyof AuthRemoveResponses]
export type AuthSetData = {
body?: Auth
path: {
providerID: string
}
query?: never
url: "/auth/{providerID}"
}
export type AuthSetErrors = {
/**
* Bad request
*/
400: BadRequestError
}
export type AuthSetError = AuthSetErrors[keyof AuthSetErrors]
export type AuthSetResponses = {
/**
* Successfully set authentication credentials
*/
200: boolean
}
export type AuthSetResponse = AuthSetResponses[keyof AuthSetResponses]
export type ProjectListData = {
body?: never
path?: never
@@ -4908,64 +4962,6 @@ export type FormatterStatusResponses = {
export type FormatterStatusResponse = FormatterStatusResponses[keyof FormatterStatusResponses]
export type AuthRemoveData = {
body?: never
path: {
providerID: string
}
query?: {
directory?: string
}
url: "/auth/{providerID}"
}
export type AuthRemoveErrors = {
/**
* Bad request
*/
400: BadRequestError
}
export type AuthRemoveError = AuthRemoveErrors[keyof AuthRemoveErrors]
export type AuthRemoveResponses = {
/**
* Successfully removed authentication credentials
*/
200: boolean
}
export type AuthRemoveResponse = AuthRemoveResponses[keyof AuthRemoveResponses]
export type AuthSetData = {
body?: Auth
path: {
providerID: string
}
query?: {
directory?: string
}
url: "/auth/{providerID}"
}
export type AuthSetErrors = {
/**
* Bad request
*/
400: BadRequestError
}
export type AuthSetError = AuthSetErrors[keyof AuthSetErrors]
export type AuthSetResponses = {
/**
* Successfully set authentication credentials
*/
200: boolean
}
export type AuthSetResponse = AuthSetResponses[keyof AuthSetResponses]
export type EventSubscribeData = {
body?: never
path?: never
+452 -1466
View File
@@ -27,10 +27,7 @@
"type": "string"
}
},
"required": [
"healthy",
"version"
]
"required": ["healthy", "version"]
}
}
}
@@ -161,6 +158,103 @@
]
}
},
"/auth/{providerID}": {
"put": {
"operationId": "auth.set",
"summary": "Set auth credentials",
"description": "Set authentication credentials",
"responses": {
"200": {
"description": "Successfully set authentication credentials",
"content": {
"application/json": {
"schema": {
"type": "boolean"
}
}
}
},
"400": {
"description": "Bad request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BadRequestError"
}
}
}
}
},
"parameters": [
{
"in": "path",
"name": "providerID",
"schema": {
"type": "string"
},
"required": true
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Auth"
}
}
}
},
"x-codeSamples": [
{
"lang": "js",
"source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.auth.set({\n ...\n})"
}
]
},
"delete": {
"operationId": "auth.remove",
"summary": "Remove auth credentials",
"description": "Remove authentication credentials",
"responses": {
"200": {
"description": "Successfully removed authentication credentials",
"content": {
"application/json": {
"schema": {
"type": "boolean"
}
}
}
},
"400": {
"description": "Bad request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BadRequestError"
}
}
}
}
},
"parameters": [
{
"in": "path",
"name": "providerID",
"schema": {
"type": "string"
},
"required": true
}
],
"x-codeSamples": [
{
"lang": "js",
"source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.auth.remove({\n ...\n})"
}
]
}
},
"/project": {
"get": {
"operationId": "project.list",
@@ -558,10 +652,7 @@
"type": "number"
}
},
"required": [
"rows",
"cols"
]
"required": ["rows", "cols"]
}
}
}
@@ -801,10 +892,7 @@
}
}
},
"required": [
"providers",
"default"
]
"required": ["providers", "default"]
}
}
}
@@ -1360,9 +1448,7 @@
],
"summary": "Get session",
"description": "Retrieve detailed information about a specific OpenCode session.",
"tags": [
"Session"
],
"tags": ["Session"],
"responses": {
"200": {
"description": "Get session",
@@ -1568,9 +1654,7 @@
}
],
"summary": "Get session children",
"tags": [
"Session"
],
"tags": ["Session"],
"description": "Retrieve all child sessions that were forked from the specified parent session.",
"responses": {
"200": {
@@ -1753,11 +1837,7 @@
"pattern": "^msg.*"
}
},
"required": [
"modelID",
"providerID",
"messageID"
]
"required": ["modelID", "providerID", "messageID"]
}
}
}
@@ -2139,10 +2219,7 @@
"type": "boolean"
}
},
"required": [
"providerID",
"modelID"
]
"required": ["providerID", "modelID"]
}
}
}
@@ -2205,10 +2282,7 @@
}
}
},
"required": [
"info",
"parts"
]
"required": ["info", "parts"]
}
}
}
@@ -2282,10 +2356,7 @@
}
}
},
"required": [
"info",
"parts"
]
"required": ["info", "parts"]
}
}
}
@@ -2331,10 +2402,7 @@
"type": "string"
}
},
"required": [
"providerID",
"modelID"
]
"required": ["providerID", "modelID"]
},
"agent": {
"type": "string"
@@ -2378,9 +2446,7 @@
}
}
},
"required": [
"parts"
]
"required": ["parts"]
}
}
}
@@ -2443,10 +2509,7 @@
}
}
},
"required": [
"info",
"parts"
]
"required": ["info", "parts"]
}
}
}
@@ -2715,10 +2778,7 @@
"type": "string"
}
},
"required": [
"providerID",
"modelID"
]
"required": ["providerID", "modelID"]
},
"agent": {
"type": "string"
@@ -2762,9 +2822,7 @@
}
}
},
"required": [
"parts"
]
"required": ["parts"]
}
}
}
@@ -2818,10 +2876,7 @@
}
}
},
"required": [
"info",
"parts"
]
"required": ["info", "parts"]
}
}
}
@@ -2899,20 +2954,13 @@
"$ref": "#/components/schemas/FilePartSource"
}
},
"required": [
"type",
"mime",
"url"
]
"required": ["type", "mime", "url"]
}
]
}
}
},
"required": [
"arguments",
"command"
]
"required": ["arguments", "command"]
}
}
}
@@ -2999,19 +3047,13 @@
"type": "string"
}
},
"required": [
"providerID",
"modelID"
]
"required": ["providerID", "modelID"]
},
"command": {
"type": "string"
}
},
"required": [
"agent",
"command"
]
"required": ["agent", "command"]
}
}
}
@@ -3093,9 +3135,7 @@
"pattern": "^prt.*"
}
},
"required": [
"messageID"
]
"required": ["messageID"]
}
}
}
@@ -3241,16 +3281,10 @@
"properties": {
"response": {
"type": "string",
"enum": [
"once",
"always",
"reject"
]
"enum": ["once", "always", "reject"]
}
},
"required": [
"response"
]
"required": ["response"]
}
}
}
@@ -3325,19 +3359,13 @@
"properties": {
"reply": {
"type": "string",
"enum": [
"once",
"always",
"reject"
]
"enum": ["once", "always", "reject"]
},
"message": {
"type": "string"
}
},
"required": [
"reply"
]
"required": ["reply"]
}
}
}
@@ -3492,9 +3520,7 @@
}
}
},
"required": [
"answers"
]
"required": ["answers"]
}
}
}
@@ -3657,15 +3683,10 @@
"properties": {
"field": {
"type": "string",
"enum": [
"reasoning_content",
"reasoning_details"
]
"enum": ["reasoning_content", "reasoning_details"]
}
},
"required": [
"field"
],
"required": ["field"],
"additionalProperties": false
}
]
@@ -3701,16 +3722,10 @@
"type": "number"
}
},
"required": [
"input",
"output"
]
"required": ["input", "output"]
}
},
"required": [
"input",
"output"
]
"required": ["input", "output"]
},
"limit": {
"type": "object",
@@ -3725,10 +3740,7 @@
"type": "number"
}
},
"required": [
"context",
"output"
]
"required": ["context", "output"]
},
"modalities": {
"type": "object",
@@ -3737,44 +3749,25 @@
"type": "array",
"items": {
"type": "string",
"enum": [
"text",
"audio",
"image",
"video",
"pdf"
]
"enum": ["text", "audio", "image", "video", "pdf"]
}
},
"output": {
"type": "array",
"items": {
"type": "string",
"enum": [
"text",
"audio",
"image",
"video",
"pdf"
]
"enum": ["text", "audio", "image", "video", "pdf"]
}
}
},
"required": [
"input",
"output"
]
"required": ["input", "output"]
},
"experimental": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"alpha",
"beta",
"deprecated"
]
"enum": ["alpha", "beta", "deprecated"]
},
"options": {
"type": "object",
@@ -3799,9 +3792,7 @@
"type": "string"
}
},
"required": [
"npm"
]
"required": ["npm"]
},
"variants": {
"type": "object",
@@ -3831,12 +3822,7 @@
}
}
},
"required": [
"name",
"env",
"id",
"models"
]
"required": ["name", "env", "id", "models"]
}
},
"default": {
@@ -3855,11 +3841,7 @@
}
}
},
"required": [
"all",
"default",
"connected"
]
"required": ["all", "default", "connected"]
}
}
}
@@ -3972,9 +3954,7 @@
"type": "number"
}
},
"required": [
"method"
]
"required": ["method"]
}
}
}
@@ -4047,9 +4027,7 @@
"type": "string"
}
},
"required": [
"method"
]
"required": ["method"]
}
}
}
@@ -4101,9 +4079,7 @@
"type": "string"
}
},
"required": [
"text"
]
"required": ["text"]
},
"lines": {
"type": "object",
@@ -4112,9 +4088,7 @@
"type": "string"
}
},
"required": [
"text"
]
"required": ["text"]
},
"line_number": {
"type": "number"
@@ -4134,9 +4108,7 @@
"type": "string"
}
},
"required": [
"text"
]
"required": ["text"]
},
"start": {
"type": "number"
@@ -4145,21 +4117,11 @@
"type": "number"
}
},
"required": [
"match",
"start",
"end"
]
"required": ["match", "start", "end"]
}
}
},
"required": [
"path",
"lines",
"line_number",
"absolute_offset",
"submatches"
]
"required": ["path", "lines", "line_number", "absolute_offset", "submatches"]
}
}
}
@@ -4198,10 +4160,7 @@
"name": "dirs",
"schema": {
"type": "string",
"enum": [
"true",
"false"
]
"enum": ["true", "false"]
}
},
{
@@ -4209,10 +4168,7 @@
"name": "type",
"schema": {
"type": "string",
"enum": [
"file",
"directory"
]
"enum": ["file", "directory"]
}
},
{
@@ -4519,10 +4475,7 @@
]
}
},
"required": [
"name",
"config"
]
"required": ["name", "config"]
}
}
}
@@ -4570,9 +4523,7 @@
"type": "string"
}
},
"required": [
"authorizationUrl"
]
"required": ["authorizationUrl"]
}
}
}
@@ -4639,9 +4590,7 @@
"const": true
}
},
"required": [
"success"
]
"required": ["success"]
}
}
}
@@ -4730,9 +4679,7 @@
"type": "string"
}
},
"required": [
"code"
]
"required": ["code"]
}
}
}
@@ -4935,9 +4882,7 @@
"type": "string"
}
},
"required": [
"text"
]
"required": ["text"]
}
}
}
@@ -5200,9 +5145,7 @@
"type": "string"
}
},
"required": [
"command"
]
"required": ["command"]
}
}
}
@@ -5255,12 +5198,7 @@
},
"variant": {
"type": "string",
"enum": [
"info",
"success",
"warning",
"error"
]
"enum": ["info", "success", "warning", "error"]
},
"duration": {
"description": "Duration in milliseconds",
@@ -5268,10 +5206,7 @@
"type": "number"
}
},
"required": [
"message",
"variant"
]
"required": ["message", "variant"]
}
}
}
@@ -5408,9 +5343,7 @@
"pattern": "^ses"
}
},
"required": [
"sessionID"
]
"required": ["sessionID"]
}
}
}
@@ -5450,10 +5383,7 @@
},
"body": {}
},
"required": [
"path",
"body"
]
"required": ["path", "body"]
}
}
}
@@ -5696,12 +5626,7 @@
"level": {
"description": "Log level",
"type": "string",
"enum": [
"debug",
"info",
"error",
"warn"
]
"enum": ["debug", "info", "error", "warn"]
},
"message": {
"description": "Log message",
@@ -5716,11 +5641,7 @@
"additionalProperties": {}
}
},
"required": [
"service",
"level",
"message"
]
"required": ["service", "level", "message"]
}
}
}
@@ -5804,11 +5725,7 @@
"type": "string"
}
},
"required": [
"name",
"description",
"location"
]
"required": ["name", "description", "location"]
}
}
}
@@ -5897,117 +5814,6 @@
]
}
},
"/auth/{providerID}": {
"put": {
"operationId": "auth.set",
"parameters": [
{
"in": "query",
"name": "directory",
"schema": {
"type": "string"
}
},
{
"in": "path",
"name": "providerID",
"schema": {
"type": "string"
},
"required": true
}
],
"summary": "Set auth credentials",
"description": "Set authentication credentials",
"responses": {
"200": {
"description": "Successfully set authentication credentials",
"content": {
"application/json": {
"schema": {
"type": "boolean"
}
}
}
},
"400": {
"description": "Bad request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BadRequestError"
}
}
}
}
},
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Auth"
}
}
}
},
"x-codeSamples": [
{
"lang": "js",
"source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.auth.set({\n ...\n})"
}
]
},
"delete": {
"operationId": "auth.remove",
"parameters": [
{
"in": "query",
"name": "directory",
"schema": {
"type": "string"
}
},
{
"in": "path",
"name": "providerID",
"schema": {
"type": "string"
},
"required": true
}
],
"summary": "Remove auth credentials",
"description": "Remove authentication credentials",
"responses": {
"200": {
"description": "Successfully removed authentication credentials",
"content": {
"application/json": {
"schema": {
"type": "boolean"
}
}
}
},
"400": {
"description": "Bad request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BadRequestError"
}
}
}
}
},
"x-codeSamples": [
{
"lang": "js",
"source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.auth.remove({\n ...\n})"
}
]
}
},
"/event": {
"get": {
"operationId": "event.subscribe",
@@ -6059,15 +5865,10 @@
"type": "string"
}
},
"required": [
"version"
]
"required": ["version"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.installation.update-available": {
"type": "object",
@@ -6083,15 +5884,10 @@
"type": "string"
}
},
"required": [
"version"
]
"required": ["version"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Project": {
"type": "object",
@@ -6145,10 +5941,7 @@
"type": "number"
}
},
"required": [
"created",
"updated"
]
"required": ["created", "updated"]
},
"sandboxes": {
"type": "array",
@@ -6157,12 +5950,7 @@
}
}
},
"required": [
"id",
"worktree",
"time",
"sandboxes"
]
"required": ["id", "worktree", "time", "sandboxes"]
},
"Event.project.updated": {
"type": "object",
@@ -6175,10 +5963,7 @@
"$ref": "#/components/schemas/Project"
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.server.instance.disposed": {
"type": "object",
@@ -6194,15 +5979,10 @@
"type": "string"
}
},
"required": [
"directory"
]
"required": ["directory"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.server.connected": {
"type": "object",
@@ -6216,10 +5996,7 @@
"properties": {}
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.global.disposed": {
"type": "object",
@@ -6233,10 +6010,7 @@
"properties": {}
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.lsp.client.diagnostics": {
"type": "object",
@@ -6255,16 +6029,10 @@
"type": "string"
}
},
"required": [
"serverID",
"path"
]
"required": ["serverID", "path"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.lsp.updated": {
"type": "object",
@@ -6278,10 +6046,7 @@
"properties": {}
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.file.edited": {
"type": "object",
@@ -6297,15 +6062,10 @@
"type": "string"
}
},
"required": [
"file"
]
"required": ["file"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"FileDiff": {
"type": "object",
@@ -6326,13 +6086,7 @@
"type": "number"
}
},
"required": [
"file",
"before",
"after",
"additions",
"deletions"
]
"required": ["file", "before", "after", "additions", "deletions"]
},
"UserMessage": {
"type": "object",
@@ -6354,9 +6108,7 @@
"type": "number"
}
},
"required": [
"created"
]
"required": ["created"]
},
"summary": {
"type": "object",
@@ -6374,9 +6126,7 @@
}
}
},
"required": [
"diffs"
]
"required": ["diffs"]
},
"agent": {
"type": "string"
@@ -6391,10 +6141,7 @@
"type": "string"
}
},
"required": [
"providerID",
"modelID"
]
"required": ["providerID", "modelID"]
},
"system": {
"type": "string"
@@ -6412,14 +6159,7 @@
"type": "string"
}
},
"required": [
"id",
"sessionID",
"role",
"time",
"agent",
"model"
]
"required": ["id", "sessionID", "role", "time", "agent", "model"]
},
"ProviderAuthError": {
"type": "object",
@@ -6438,16 +6178,10 @@
"type": "string"
}
},
"required": [
"providerID",
"message"
]
"required": ["providerID", "message"]
}
},
"required": [
"name",
"data"
]
"required": ["name", "data"]
},
"UnknownError": {
"type": "object",
@@ -6463,15 +6197,10 @@
"type": "string"
}
},
"required": [
"message"
]
"required": ["message"]
}
},
"required": [
"name",
"data"
]
"required": ["name", "data"]
},
"MessageOutputLengthError": {
"type": "object",
@@ -6485,10 +6214,7 @@
"properties": {}
}
},
"required": [
"name",
"data"
]
"required": ["name", "data"]
},
"MessageAbortedError": {
"type": "object",
@@ -6504,15 +6230,10 @@
"type": "string"
}
},
"required": [
"message"
]
"required": ["message"]
}
},
"required": [
"name",
"data"
]
"required": ["name", "data"]
},
"APIError": {
"type": "object",
@@ -6555,16 +6276,10 @@
}
}
},
"required": [
"message",
"isRetryable"
]
"required": ["message", "isRetryable"]
}
},
"required": [
"name",
"data"
]
"required": ["name", "data"]
},
"AssistantMessage": {
"type": "object",
@@ -6589,9 +6304,7 @@
"type": "number"
}
},
"required": [
"created"
]
"required": ["created"]
},
"error": {
"anyOf": [
@@ -6637,10 +6350,7 @@
"type": "string"
}
},
"required": [
"cwd",
"root"
]
"required": ["cwd", "root"]
},
"summary": {
"type": "boolean"
@@ -6670,18 +6380,10 @@
"type": "number"
}
},
"required": [
"read",
"write"
]
"required": ["read", "write"]
}
},
"required": [
"input",
"output",
"reasoning",
"cache"
]
"required": ["input", "output", "reasoning", "cache"]
},
"finish": {
"type": "string"
@@ -6726,15 +6428,10 @@
"$ref": "#/components/schemas/Message"
}
},
"required": [
"info"
]
"required": ["info"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.message.removed": {
"type": "object",
@@ -6753,16 +6450,10 @@
"type": "string"
}
},
"required": [
"sessionID",
"messageID"
]
"required": ["sessionID", "messageID"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"TextPart": {
"type": "object",
@@ -6799,9 +6490,7 @@
"type": "number"
}
},
"required": [
"start"
]
"required": ["start"]
},
"metadata": {
"type": "object",
@@ -6811,13 +6500,7 @@
"additionalProperties": {}
}
},
"required": [
"id",
"sessionID",
"messageID",
"type",
"text"
]
"required": ["id", "sessionID", "messageID", "type", "text"]
},
"ReasoningPart": {
"type": "object",
@@ -6855,19 +6538,10 @@
"type": "number"
}
},
"required": [
"start"
]
"required": ["start"]
}
},
"required": [
"id",
"sessionID",
"messageID",
"type",
"text",
"time"
]
"required": ["id", "sessionID", "messageID", "type", "text", "time"]
},
"FilePartSourceText": {
"type": "object",
@@ -6886,11 +6560,7 @@
"maximum": 9007199254740991
}
},
"required": [
"value",
"start",
"end"
]
"required": ["value", "start", "end"]
},
"FileSource": {
"type": "object",
@@ -6906,11 +6576,7 @@
"type": "string"
}
},
"required": [
"text",
"type",
"path"
]
"required": ["text", "type", "path"]
},
"Range": {
"type": "object",
@@ -6925,10 +6591,7 @@
"type": "number"
}
},
"required": [
"line",
"character"
]
"required": ["line", "character"]
},
"end": {
"type": "object",
@@ -6940,16 +6603,10 @@
"type": "number"
}
},
"required": [
"line",
"character"
]
"required": ["line", "character"]
}
},
"required": [
"start",
"end"
]
"required": ["start", "end"]
},
"SymbolSource": {
"type": "object",
@@ -6976,14 +6633,7 @@
"maximum": 9007199254740991
}
},
"required": [
"text",
"type",
"path",
"range",
"name",
"kind"
]
"required": ["text", "type", "path", "range", "name", "kind"]
},
"ResourceSource": {
"type": "object",
@@ -7002,12 +6652,7 @@
"type": "string"
}
},
"required": [
"text",
"type",
"clientName",
"uri"
]
"required": ["text", "type", "clientName", "uri"]
},
"FilePartSource": {
"anyOf": [
@@ -7051,14 +6696,7 @@
"$ref": "#/components/schemas/FilePartSource"
}
},
"required": [
"id",
"sessionID",
"messageID",
"type",
"mime",
"url"
]
"required": ["id", "sessionID", "messageID", "type", "mime", "url"]
},
"ToolStatePending": {
"type": "object",
@@ -7078,11 +6716,7 @@
"type": "string"
}
},
"required": [
"status",
"input",
"raw"
]
"required": ["status", "input", "raw"]
},
"ToolStateRunning": {
"type": "object",
@@ -7115,16 +6749,10 @@
"type": "number"
}
},
"required": [
"start"
]
"required": ["start"]
}
},
"required": [
"status",
"input",
"time"
]
"required": ["status", "input", "time"]
},
"ToolStateCompleted": {
"type": "object",
@@ -7166,10 +6794,7 @@
"type": "number"
}
},
"required": [
"start",
"end"
]
"required": ["start", "end"]
},
"attachments": {
"type": "array",
@@ -7178,14 +6803,7 @@
}
}
},
"required": [
"status",
"input",
"output",
"title",
"metadata",
"time"
]
"required": ["status", "input", "output", "title", "metadata", "time"]
},
"ToolStateError": {
"type": "object",
@@ -7221,18 +6839,10 @@
"type": "number"
}
},
"required": [
"start",
"end"
]
"required": ["start", "end"]
}
},
"required": [
"status",
"input",
"error",
"time"
]
"required": ["status", "input", "error", "time"]
},
"ToolState": {
"anyOf": [
@@ -7283,15 +6893,7 @@
"additionalProperties": {}
}
},
"required": [
"id",
"sessionID",
"messageID",
"type",
"callID",
"tool",
"state"
]
"required": ["id", "sessionID", "messageID", "type", "callID", "tool", "state"]
},
"StepStartPart": {
"type": "object",
@@ -7313,12 +6915,7 @@
"type": "string"
}
},
"required": [
"id",
"sessionID",
"messageID",
"type"
]
"required": ["id", "sessionID", "messageID", "type"]
},
"StepFinishPart": {
"type": "object",
@@ -7367,29 +6964,13 @@
"type": "number"
}
},
"required": [
"read",
"write"
]
"required": ["read", "write"]
}
},
"required": [
"input",
"output",
"reasoning",
"cache"
]
"required": ["input", "output", "reasoning", "cache"]
}
},
"required": [
"id",
"sessionID",
"messageID",
"type",
"reason",
"cost",
"tokens"
]
"required": ["id", "sessionID", "messageID", "type", "reason", "cost", "tokens"]
},
"SnapshotPart": {
"type": "object",
@@ -7411,13 +6992,7 @@
"type": "string"
}
},
"required": [
"id",
"sessionID",
"messageID",
"type",
"snapshot"
]
"required": ["id", "sessionID", "messageID", "type", "snapshot"]
},
"PatchPart": {
"type": "object",
@@ -7445,14 +7020,7 @@
}
}
},
"required": [
"id",
"sessionID",
"messageID",
"type",
"hash",
"files"
]
"required": ["id", "sessionID", "messageID", "type", "hash", "files"]
},
"AgentPart": {
"type": "object",
@@ -7490,20 +7058,10 @@
"maximum": 9007199254740991
}
},
"required": [
"value",
"start",
"end"
]
"required": ["value", "start", "end"]
}
},
"required": [
"id",
"sessionID",
"messageID",
"type",
"name"
]
"required": ["id", "sessionID", "messageID", "type", "name"]
},
"RetryPart": {
"type": "object",
@@ -7534,20 +7092,10 @@
"type": "number"
}
},
"required": [
"created"
]
"required": ["created"]
}
},
"required": [
"id",
"sessionID",
"messageID",
"type",
"attempt",
"error",
"time"
]
"required": ["id", "sessionID", "messageID", "type", "attempt", "error", "time"]
},
"CompactionPart": {
"type": "object",
@@ -7569,13 +7117,7 @@
"type": "boolean"
}
},
"required": [
"id",
"sessionID",
"messageID",
"type",
"auto"
]
"required": ["id", "sessionID", "messageID", "type", "auto"]
},
"Part": {
"anyOf": [
@@ -7617,24 +7159,13 @@
"type": "string"
}
},
"required": [
"providerID",
"modelID"
]
"required": ["providerID", "modelID"]
},
"command": {
"type": "string"
}
},
"required": [
"id",
"sessionID",
"messageID",
"type",
"prompt",
"description",
"agent"
]
"required": ["id", "sessionID", "messageID", "type", "prompt", "description", "agent"]
},
{
"$ref": "#/components/schemas/ReasoningPart"
@@ -7685,15 +7216,10 @@
"type": "string"
}
},
"required": [
"part"
]
"required": ["part"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.message.part.removed": {
"type": "object",
@@ -7715,17 +7241,10 @@
"type": "string"
}
},
"required": [
"sessionID",
"messageID",
"partID"
]
"required": ["sessionID", "messageID", "partID"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"PermissionRequest": {
"type": "object",
@@ -7770,20 +7289,10 @@
"type": "string"
}
},
"required": [
"messageID",
"callID"
]
"required": ["messageID", "callID"]
}
},
"required": [
"id",
"sessionID",
"permission",
"patterns",
"metadata",
"always"
]
"required": ["id", "sessionID", "permission", "patterns", "metadata", "always"]
},
"Event.permission.asked": {
"type": "object",
@@ -7796,10 +7305,7 @@
"$ref": "#/components/schemas/PermissionRequest"
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.permission.replied": {
"type": "object",
@@ -7819,24 +7325,13 @@
},
"reply": {
"type": "string",
"enum": [
"once",
"always",
"reject"
]
"enum": ["once", "always", "reject"]
}
},
"required": [
"sessionID",
"requestID",
"reply"
]
"required": ["sessionID", "requestID", "reply"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"SessionStatus": {
"anyOf": [
@@ -7848,9 +7343,7 @@
"const": "idle"
}
},
"required": [
"type"
]
"required": ["type"]
},
{
"type": "object",
@@ -7869,12 +7362,7 @@
"type": "number"
}
},
"required": [
"type",
"attempt",
"message",
"next"
]
"required": ["type", "attempt", "message", "next"]
},
{
"type": "object",
@@ -7884,9 +7372,7 @@
"const": "busy"
}
},
"required": [
"type"
]
"required": ["type"]
}
]
},
@@ -7907,16 +7393,10 @@
"$ref": "#/components/schemas/SessionStatus"
}
},
"required": [
"sessionID",
"status"
]
"required": ["sessionID", "status"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.session.idle": {
"type": "object",
@@ -7932,15 +7412,10 @@
"type": "string"
}
},
"required": [
"sessionID"
]
"required": ["sessionID"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"QuestionOption": {
"type": "object",
@@ -7954,10 +7429,7 @@
"type": "string"
}
},
"required": [
"label",
"description"
]
"required": ["label", "description"]
},
"QuestionInfo": {
"type": "object",
@@ -7986,11 +7458,7 @@
"type": "boolean"
}
},
"required": [
"question",
"header",
"options"
]
"required": ["question", "header", "options"]
},
"QuestionRequest": {
"type": "object",
@@ -8020,17 +7488,10 @@
"type": "string"
}
},
"required": [
"messageID",
"callID"
]
"required": ["messageID", "callID"]
}
},
"required": [
"id",
"sessionID",
"questions"
]
"required": ["id", "sessionID", "questions"]
},
"Event.question.asked": {
"type": "object",
@@ -8043,10 +7504,7 @@
"$ref": "#/components/schemas/QuestionRequest"
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"QuestionAnswer": {
"type": "array",
@@ -8077,17 +7535,10 @@
}
}
},
"required": [
"sessionID",
"requestID",
"answers"
]
"required": ["sessionID", "requestID", "answers"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.question.rejected": {
"type": "object",
@@ -8106,16 +7557,10 @@
"type": "string"
}
},
"required": [
"sessionID",
"requestID"
]
"required": ["sessionID", "requestID"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.session.compacted": {
"type": "object",
@@ -8131,15 +7576,10 @@
"type": "string"
}
},
"required": [
"sessionID"
]
"required": ["sessionID"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.file.watcher.updated": {
"type": "object",
@@ -8171,16 +7611,10 @@
]
}
},
"required": [
"file",
"event"
]
"required": ["file", "event"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Todo": {
"type": "object",
@@ -8202,12 +7636,7 @@
"type": "string"
}
},
"required": [
"content",
"status",
"priority",
"id"
]
"required": ["content", "status", "priority", "id"]
},
"Event.todo.updated": {
"type": "object",
@@ -8229,16 +7658,10 @@
}
}
},
"required": [
"sessionID",
"todos"
]
"required": ["sessionID", "todos"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.tui.prompt.append": {
"type": "object",
@@ -8254,15 +7677,10 @@
"type": "string"
}
},
"required": [
"text"
]
"required": ["text"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.tui.command.execute": {
"type": "object",
@@ -8303,15 +7721,10 @@
]
}
},
"required": [
"command"
]
"required": ["command"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.tui.toast.show": {
"type": "object",
@@ -8331,12 +7744,7 @@
},
"variant": {
"type": "string",
"enum": [
"info",
"success",
"warning",
"error"
]
"enum": ["info", "success", "warning", "error"]
},
"duration": {
"description": "Duration in milliseconds",
@@ -8344,16 +7752,10 @@
"type": "number"
}
},
"required": [
"message",
"variant"
]
"required": ["message", "variant"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.tui.session.select": {
"type": "object",
@@ -8371,15 +7773,10 @@
"pattern": "^ses"
}
},
"required": [
"sessionID"
]
"required": ["sessionID"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.mcp.tools.changed": {
"type": "object",
@@ -8395,15 +7792,10 @@
"type": "string"
}
},
"required": [
"server"
]
"required": ["server"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.mcp.browser.open.failed": {
"type": "object",
@@ -8422,16 +7814,10 @@
"type": "string"
}
},
"required": [
"mcpName",
"url"
]
"required": ["mcpName", "url"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.command.executed": {
"type": "object",
@@ -8458,26 +7844,14 @@
"pattern": "^msg.*"
}
},
"required": [
"name",
"sessionID",
"arguments",
"messageID"
]
"required": ["name", "sessionID", "arguments", "messageID"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"PermissionAction": {
"type": "string",
"enum": [
"allow",
"deny",
"ask"
]
"enum": ["allow", "deny", "ask"]
},
"PermissionRule": {
"type": "object",
@@ -8492,11 +7866,7 @@
"$ref": "#/components/schemas/PermissionAction"
}
},
"required": [
"permission",
"pattern",
"action"
]
"required": ["permission", "pattern", "action"]
},
"PermissionRuleset": {
"type": "array",
@@ -8543,11 +7913,7 @@
}
}
},
"required": [
"additions",
"deletions",
"files"
]
"required": ["additions", "deletions", "files"]
},
"share": {
"type": "object",
@@ -8556,9 +7922,7 @@
"type": "string"
}
},
"required": [
"url"
]
"required": ["url"]
},
"title": {
"type": "string"
@@ -8582,10 +7946,7 @@
"type": "number"
}
},
"required": [
"created",
"updated"
]
"required": ["created", "updated"]
},
"permission": {
"$ref": "#/components/schemas/PermissionRuleset"
@@ -8606,20 +7967,10 @@
"type": "string"
}
},
"required": [
"messageID"
]
"required": ["messageID"]
}
},
"required": [
"id",
"slug",
"projectID",
"directory",
"title",
"version",
"time"
]
"required": ["id", "slug", "projectID", "directory", "title", "version", "time"]
},
"Event.session.created": {
"type": "object",
@@ -8635,15 +7986,10 @@
"$ref": "#/components/schemas/Session"
}
},
"required": [
"info"
]
"required": ["info"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.session.updated": {
"type": "object",
@@ -8659,15 +8005,10 @@
"$ref": "#/components/schemas/Session"
}
},
"required": [
"info"
]
"required": ["info"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.session.deleted": {
"type": "object",
@@ -8683,15 +8024,10 @@
"$ref": "#/components/schemas/Session"
}
},
"required": [
"info"
]
"required": ["info"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.session.diff": {
"type": "object",
@@ -8713,16 +8049,10 @@
}
}
},
"required": [
"sessionID",
"diff"
]
"required": ["sessionID", "diff"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.session.error": {
"type": "object",
@@ -8759,10 +8089,7 @@
}
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.vcs.branch.updated": {
"type": "object",
@@ -8780,10 +8107,7 @@
}
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Pty": {
"type": "object",
@@ -8809,24 +8133,13 @@
},
"status": {
"type": "string",
"enum": [
"running",
"exited"
]
"enum": ["running", "exited"]
},
"pid": {
"type": "number"
}
},
"required": [
"id",
"title",
"command",
"args",
"cwd",
"status",
"pid"
]
"required": ["id", "title", "command", "args", "cwd", "status", "pid"]
},
"Event.pty.created": {
"type": "object",
@@ -8842,15 +8155,10 @@
"$ref": "#/components/schemas/Pty"
}
},
"required": [
"info"
]
"required": ["info"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.pty.updated": {
"type": "object",
@@ -8866,15 +8174,10 @@
"$ref": "#/components/schemas/Pty"
}
},
"required": [
"info"
]
"required": ["info"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.pty.exited": {
"type": "object",
@@ -8894,16 +8197,10 @@
"type": "number"
}
},
"required": [
"id",
"exitCode"
]
"required": ["id", "exitCode"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.pty.deleted": {
"type": "object",
@@ -8920,15 +8217,10 @@
"pattern": "^pty.*"
}
},
"required": [
"id"
]
"required": ["id"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.worktree.ready": {
"type": "object",
@@ -8947,16 +8239,10 @@
"type": "string"
}
},
"required": [
"name",
"branch"
]
"required": ["name", "branch"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event.worktree.failed": {
"type": "object",
@@ -8972,15 +8258,10 @@
"type": "string"
}
},
"required": [
"message"
]
"required": ["message"]
}
},
"required": [
"type",
"properties"
]
"required": ["type", "properties"]
},
"Event": {
"anyOf": [
@@ -9122,10 +8403,7 @@
"$ref": "#/components/schemas/Event"
}
},
"required": [
"directory",
"payload"
]
"required": ["directory", "payload"]
},
"KeybindsConfig": {
"description": "Custom keybind configurations",
@@ -9602,12 +8880,7 @@
"LogLevel": {
"description": "Log level",
"type": "string",
"enum": [
"DEBUG",
"INFO",
"WARN",
"ERROR"
]
"enum": ["DEBUG", "INFO", "WARN", "ERROR"]
},
"ServerConfig": {
"description": "Server configuration for opencode serve and web commands",
@@ -9639,11 +8912,7 @@
},
"PermissionActionConfig": {
"type": "string",
"enum": [
"ask",
"allow",
"deny"
]
"enum": ["ask", "allow", "deny"]
},
"PermissionObjectConfig": {
"type": "object",
@@ -9767,11 +9036,7 @@
},
"mode": {
"type": "string",
"enum": [
"subagent",
"primary",
"all"
]
"enum": ["subagent", "primary", "all"]
},
"hidden": {
"description": "Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)",
@@ -9871,15 +9136,10 @@
"properties": {
"field": {
"type": "string",
"enum": [
"reasoning_content",
"reasoning_details"
]
"enum": ["reasoning_content", "reasoning_details"]
}
},
"required": [
"field"
],
"required": ["field"],
"additionalProperties": false
}
]
@@ -9915,16 +9175,10 @@
"type": "number"
}
},
"required": [
"input",
"output"
]
"required": ["input", "output"]
}
},
"required": [
"input",
"output"
]
"required": ["input", "output"]
},
"limit": {
"type": "object",
@@ -9939,10 +9193,7 @@
"type": "number"
}
},
"required": [
"context",
"output"
]
"required": ["context", "output"]
},
"modalities": {
"type": "object",
@@ -9951,44 +9202,25 @@
"type": "array",
"items": {
"type": "string",
"enum": [
"text",
"audio",
"image",
"video",
"pdf"
]
"enum": ["text", "audio", "image", "video", "pdf"]
}
},
"output": {
"type": "array",
"items": {
"type": "string",
"enum": [
"text",
"audio",
"image",
"video",
"pdf"
]
"enum": ["text", "audio", "image", "video", "pdf"]
}
}
},
"required": [
"input",
"output"
]
"required": ["input", "output"]
},
"experimental": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"alpha",
"beta",
"deprecated"
]
"enum": ["alpha", "beta", "deprecated"]
},
"options": {
"type": "object",
@@ -10013,9 +9245,7 @@
"type": "string"
}
},
"required": [
"npm"
]
"required": ["npm"]
},
"variants": {
"description": "Variant-specific configuration",
@@ -10124,10 +9354,7 @@
"maximum": 9007199254740991
}
},
"required": [
"type",
"command"
],
"required": ["type", "command"],
"additionalProperties": false
},
"McpOAuthConfig": {
@@ -10193,19 +9420,13 @@
"maximum": 9007199254740991
}
},
"required": [
"type",
"url"
],
"required": ["type", "url"],
"additionalProperties": false
},
"LayoutConfig": {
"description": "@deprecated Always uses stretch layout.",
"type": "string",
"enum": [
"auto",
"stretch"
]
"enum": ["auto", "stretch"]
},
"Config": {
"type": "object",
@@ -10242,17 +9463,12 @@
"type": "boolean"
}
},
"required": [
"enabled"
]
"required": ["enabled"]
},
"diff_style": {
"description": "Control diff rendering style: 'auto' adapts to terminal width, 'stacked' always shows single column",
"type": "string",
"enum": [
"auto",
"stacked"
]
"enum": ["auto", "stacked"]
}
}
},
@@ -10284,9 +9500,7 @@
"type": "boolean"
}
},
"required": [
"template"
]
"required": ["template"]
}
},
"watcher": {
@@ -10312,11 +9526,7 @@
"share": {
"description": "Control sharing behavior:'manual' allows manual sharing via commands, 'auto' enables automatic sharing, 'disabled' disables all sharing",
"type": "string",
"enum": [
"manual",
"auto",
"disabled"
]
"enum": ["manual", "auto", "disabled"]
},
"autoshare": {
"description": "@deprecated Use 'share' field instead. Share newly created sessions automatically",
@@ -10444,9 +9654,7 @@
"type": "boolean"
}
},
"required": [
"enabled"
],
"required": ["enabled"],
"additionalProperties": false
}
]
@@ -10516,9 +9724,7 @@
"const": true
}
},
"required": [
"disabled"
]
"required": ["disabled"]
},
{
"type": "object",
@@ -10555,9 +9761,7 @@
"additionalProperties": {}
}
},
"required": [
"command"
]
"required": ["command"]
}
]
}
@@ -10640,9 +9844,7 @@
}
}
},
"required": [
"command"
]
"required": ["command"]
}
}
},
@@ -10667,9 +9869,7 @@
}
}
},
"required": [
"command"
]
"required": ["command"]
}
}
}
@@ -10730,10 +9930,73 @@
"const": false
}
},
"required": [
"data",
"errors",
"success"
"required": ["data", "errors", "success"]
},
"OAuth": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "oauth"
},
"refresh": {
"type": "string"
},
"access": {
"type": "string"
},
"expires": {
"type": "number"
},
"accountId": {
"type": "string"
},
"enterpriseUrl": {
"type": "string"
}
},
"required": ["type", "refresh", "access", "expires"]
},
"ApiAuth": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "api"
},
"key": {
"type": "string"
}
},
"required": ["type", "key"]
},
"WellKnownAuth": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "wellknown"
},
"key": {
"type": "string"
},
"token": {
"type": "string"
}
},
"required": ["type", "key", "token"]
},
"Auth": {
"anyOf": [
{
"$ref": "#/components/schemas/OAuth"
},
{
"$ref": "#/components/schemas/ApiAuth"
},
{
"$ref": "#/components/schemas/WellKnownAuth"
}
]
},
"NotFoundError": {
@@ -10750,15 +10013,10 @@
"type": "string"
}
},
"required": [
"message"
]
"required": ["message"]
}
},
"required": [
"name",
"data"
]
"required": ["name", "data"]
},
"Model": {
"type": "object",
@@ -10782,11 +10040,7 @@
"type": "string"
}
},
"required": [
"id",
"url",
"npm"
]
"required": ["id", "url", "npm"]
},
"name": {
"type": "string"
@@ -10828,13 +10082,7 @@
"type": "boolean"
}
},
"required": [
"text",
"audio",
"image",
"video",
"pdf"
]
"required": ["text", "audio", "image", "video", "pdf"]
},
"output": {
"type": "object",
@@ -10855,13 +10103,7 @@
"type": "boolean"
}
},
"required": [
"text",
"audio",
"image",
"video",
"pdf"
]
"required": ["text", "audio", "image", "video", "pdf"]
},
"interleaved": {
"anyOf": [
@@ -10873,28 +10115,15 @@
"properties": {
"field": {
"type": "string",
"enum": [
"reasoning_content",
"reasoning_details"
]
"enum": ["reasoning_content", "reasoning_details"]
}
},
"required": [
"field"
]
"required": ["field"]
}
]
}
},
"required": [
"temperature",
"reasoning",
"attachment",
"toolcall",
"input",
"output",
"interleaved"
]
"required": ["temperature", "reasoning", "attachment", "toolcall", "input", "output", "interleaved"]
},
"cost": {
"type": "object",
@@ -10915,10 +10144,7 @@
"type": "number"
}
},
"required": [
"read",
"write"
]
"required": ["read", "write"]
},
"experimentalOver200K": {
"type": "object",
@@ -10939,24 +10165,13 @@
"type": "number"
}
},
"required": [
"read",
"write"
]
"required": ["read", "write"]
}
},
"required": [
"input",
"output",
"cache"
]
"required": ["input", "output", "cache"]
}
},
"required": [
"input",
"output",
"cache"
]
"required": ["input", "output", "cache"]
},
"limit": {
"type": "object",
@@ -10971,19 +10186,11 @@
"type": "number"
}
},
"required": [
"context",
"output"
]
"required": ["context", "output"]
},
"status": {
"type": "string",
"enum": [
"alpha",
"beta",
"deprecated",
"active"
]
"enum": ["alpha", "beta", "deprecated", "active"]
},
"options": {
"type": "object",
@@ -11043,12 +10250,7 @@
},
"source": {
"type": "string",
"enum": [
"env",
"config",
"custom",
"api"
]
"enum": ["env", "config", "custom", "api"]
},
"env": {
"type": "array",
@@ -11076,14 +10278,7 @@
}
}
},
"required": [
"id",
"name",
"source",
"env",
"options",
"models"
]
"required": ["id", "name", "source", "env", "options", "models"]
},
"ToolIDs": {
"type": "array",
@@ -11102,11 +10297,7 @@
},
"parameters": {}
},
"required": [
"id",
"description",
"parameters"
]
"required": ["id", "description", "parameters"]
},
"ToolList": {
"type": "array",
@@ -11127,11 +10318,7 @@
"type": "string"
}
},
"required": [
"name",
"branch",
"directory"
]
"required": ["name", "branch", "directory"]
},
"WorktreeCreateInput": {
"type": "object",
@@ -11152,9 +10339,7 @@
"type": "string"
}
},
"required": [
"directory"
]
"required": ["directory"]
},
"WorktreeResetInput": {
"type": "object",
@@ -11163,9 +10348,7 @@
"type": "string"
}
},
"required": [
"directory"
]
"required": ["directory"]
},
"McpResource": {
"type": "object",
@@ -11186,11 +10369,7 @@
"type": "string"
}
},
"required": [
"name",
"uri",
"client"
]
"required": ["name", "uri", "client"]
},
"TextPartInput": {
"type": "object",
@@ -11221,9 +10400,7 @@
"type": "number"
}
},
"required": [
"start"
]
"required": ["start"]
},
"metadata": {
"type": "object",
@@ -11233,10 +10410,7 @@
"additionalProperties": {}
}
},
"required": [
"type",
"text"
]
"required": ["type", "text"]
},
"FilePartInput": {
"type": "object",
@@ -11261,11 +10435,7 @@
"$ref": "#/components/schemas/FilePartSource"
}
},
"required": [
"type",
"mime",
"url"
]
"required": ["type", "mime", "url"]
},
"AgentPartInput": {
"type": "object",
@@ -11297,17 +10467,10 @@
"maximum": 9007199254740991
}
},
"required": [
"value",
"start",
"end"
]
"required": ["value", "start", "end"]
}
},
"required": [
"type",
"name"
]
"required": ["type", "name"]
},
"SubtaskPartInput": {
"type": "object",
@@ -11338,21 +10501,13 @@
"type": "string"
}
},
"required": [
"providerID",
"modelID"
]
"required": ["providerID", "modelID"]
},
"command": {
"type": "string"
}
},
"required": [
"type",
"prompt",
"description",
"agent"
]
"required": ["type", "prompt", "description", "agent"]
},
"ProviderAuthMethod": {
"type": "object",
@@ -11373,10 +10528,7 @@
"type": "string"
}
},
"required": [
"type",
"label"
]
"required": ["type", "label"]
},
"ProviderAuthAuthorization": {
"type": "object",
@@ -11400,11 +10552,7 @@
"type": "string"
}
},
"required": [
"url",
"method",
"instructions"
]
"required": ["url", "method", "instructions"]
},
"Symbol": {
"type": "object",
@@ -11425,17 +10573,10 @@
"$ref": "#/components/schemas/Range"
}
},
"required": [
"uri",
"range"
]
"required": ["uri", "range"]
}
},
"required": [
"name",
"kind",
"location"
]
"required": ["name", "kind", "location"]
},
"FileNode": {
"type": "object",
@@ -11451,22 +10592,13 @@
},
"type": {
"type": "string",
"enum": [
"file",
"directory"
]
"enum": ["file", "directory"]
},
"ignored": {
"type": "boolean"
}
},
"required": [
"name",
"path",
"absolute",
"type",
"ignored"
]
"required": ["name", "path", "absolute", "type", "ignored"]
},
"FileContent": {
"type": "object",
@@ -11520,24 +10652,14 @@
}
}
},
"required": [
"oldStart",
"oldLines",
"newStart",
"newLines",
"lines"
]
"required": ["oldStart", "oldLines", "newStart", "newLines", "lines"]
}
},
"index": {
"type": "string"
}
},
"required": [
"oldFileName",
"newFileName",
"hunks"
]
"required": ["oldFileName", "newFileName", "hunks"]
},
"encoding": {
"type": "string",
@@ -11547,10 +10669,7 @@
"type": "string"
}
},
"required": [
"type",
"content"
]
"required": ["type", "content"]
},
"File": {
"type": "object",
@@ -11570,19 +10689,10 @@
},
"status": {
"type": "string",
"enum": [
"added",
"deleted",
"modified"
]
"enum": ["added", "deleted", "modified"]
}
},
"required": [
"path",
"added",
"removed",
"status"
]
"required": ["path", "added", "removed", "status"]
},
"MCPStatusConnected": {
"type": "object",
@@ -11592,9 +10702,7 @@
"const": "connected"
}
},
"required": [
"status"
]
"required": ["status"]
},
"MCPStatusDisabled": {
"type": "object",
@@ -11604,9 +10712,7 @@
"const": "disabled"
}
},
"required": [
"status"
]
"required": ["status"]
},
"MCPStatusFailed": {
"type": "object",
@@ -11619,10 +10725,7 @@
"type": "string"
}
},
"required": [
"status",
"error"
]
"required": ["status", "error"]
},
"MCPStatusNeedsAuth": {
"type": "object",
@@ -11632,9 +10735,7 @@
"const": "needs_auth"
}
},
"required": [
"status"
]
"required": ["status"]
},
"MCPStatusNeedsClientRegistration": {
"type": "object",
@@ -11647,10 +10748,7 @@
"type": "string"
}
},
"required": [
"status",
"error"
]
"required": ["status", "error"]
},
"MCPStatus": {
"anyOf": [
@@ -11690,13 +10788,7 @@
"type": "string"
}
},
"required": [
"home",
"state",
"config",
"worktree",
"directory"
]
"required": ["home", "state", "config", "worktree", "directory"]
},
"VcsInfo": {
"type": "object",
@@ -11705,9 +10797,7 @@
"type": "string"
}
},
"required": [
"branch"
]
"required": ["branch"]
},
"Command": {
"type": "object",
@@ -11747,11 +10837,7 @@
}
}
},
"required": [
"name",
"template",
"hints"
]
"required": ["name", "template", "hints"]
},
"Agent": {
"type": "object",
@@ -11764,11 +10850,7 @@
},
"mode": {
"type": "string",
"enum": [
"subagent",
"primary",
"all"
]
"enum": ["subagent", "primary", "all"]
},
"native": {
"type": "boolean"
@@ -11798,10 +10880,7 @@
"type": "string"
}
},
"required": [
"modelID",
"providerID"
]
"required": ["modelID", "providerID"]
},
"prompt": {
"type": "string"
@@ -11819,12 +10898,7 @@
"maximum": 9007199254740991
}
},
"required": [
"name",
"mode",
"permission",
"options"
]
"required": ["name", "mode", "permission", "options"]
},
"LSPStatus": {
"type": "object",
@@ -11851,12 +10925,7 @@
]
}
},
"required": [
"id",
"name",
"root",
"status"
]
"required": ["id", "name", "root", "status"]
},
"FormatterStatus": {
"type": "object",
@@ -11874,91 +10943,8 @@
"type": "boolean"
}
},
"required": [
"name",
"extensions",
"enabled"
]
},
"OAuth": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "oauth"
},
"refresh": {
"type": "string"
},
"access": {
"type": "string"
},
"expires": {
"type": "number"
},
"accountId": {
"type": "string"
},
"enterpriseUrl": {
"type": "string"
}
},
"required": [
"type",
"refresh",
"access",
"expires"
]
},
"ApiAuth": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "api"
},
"key": {
"type": "string"
}
},
"required": [
"type",
"key"
]
},
"WellKnownAuth": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "wellknown"
},
"key": {
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"type",
"key",
"token"
]
},
"Auth": {
"anyOf": [
{
"$ref": "#/components/schemas/OAuth"
},
{
"$ref": "#/components/schemas/ApiAuth"
},
{
"$ref": "#/components/schemas/WellKnownAuth"
}
]
"required": ["name", "extensions", "enabled"]
}
}
}
}
}