chore: generate

This commit is contained in:
opencode-agent[bot] 2026-05-21 17:25:26 +00:00
parent 82b796ce31
commit 7e35cff4f5
2 changed files with 79 additions and 0 deletions

View file

@ -1806,6 +1806,12 @@ export type SubtaskPartInput = {
command?: string
}
export type SessionBusyError = {
_tag: "SessionBusyError"
sessionID: string
message: string
}
export type V2SessionsResponse = {
items: Array<SessionInfo>
cursor: {
@ -6387,6 +6393,10 @@ export type SessionDeleteMessageErrors = {
* NotFoundError
*/
404: NotFoundError
/**
* SessionBusyError
*/
409: SessionBusyError
}
export type SessionDeleteMessageError = SessionDeleteMessageErrors[keyof SessionDeleteMessageErrors]
@ -6786,6 +6796,10 @@ export type SessionShellErrors = {
* NotFoundError
*/
404: NotFoundError
/**
* SessionBusyError
*/
409: SessionBusyError
}
export type SessionShellError = SessionShellErrors[keyof SessionShellErrors]
@ -6826,6 +6840,10 @@ export type SessionRevertErrors = {
* NotFoundError
*/
404: NotFoundError
/**
* SessionBusyError
*/
409: SessionBusyError
}
export type SessionRevertError = SessionRevertErrors[keyof SessionRevertErrors]
@ -6860,6 +6878,10 @@ export type SessionUnrevertErrors = {
* NotFoundError
*/
404: NotFoundError
/**
* SessionBusyError
*/
409: SessionBusyError
}
export type SessionUnrevertError = SessionUnrevertErrors[keyof SessionUnrevertErrors]

View file

@ -6194,6 +6194,16 @@
}
}
}
},
"409": {
"description": "SessionBusyError",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SessionBusyError"
}
}
}
}
},
"description": "Permanently delete a specific message and all of its parts from a session without reverting file changes.",
@ -7123,6 +7133,16 @@
}
}
}
},
"409": {
"description": "SessionBusyError",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SessionBusyError"
}
}
}
}
},
"description": "Execute a shell command within the session context and return the AI's response.",
@ -7239,6 +7259,16 @@
}
}
}
},
"409": {
"description": "SessionBusyError",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SessionBusyError"
}
}
}
}
},
"description": "Revert a specific message in a session, undoing its effects and restoring the previous state.",
@ -7340,6 +7370,16 @@
}
}
}
},
"409": {
"description": "SessionBusyError",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SessionBusyError"
}
}
}
}
},
"description": "Restore all previously reverted messages in a session.",
@ -15668,6 +15708,23 @@
"required": ["type", "prompt", "description", "agent"],
"additionalProperties": false
},
"SessionBusyError": {
"type": "object",
"properties": {
"_tag": {
"type": "string",
"enum": ["SessionBusyError"]
},
"sessionID": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": ["_tag", "sessionID", "message"],
"additionalProperties": false
},
"V2SessionsResponse": {
"type": "object",
"properties": {