Merge branch 'dev' into black-page-transitions-design-updates

This commit is contained in:
Aaron Iker 2026-01-14 16:23:00 +01:00
commit 6b63ea98d8
112 changed files with 6269 additions and 654 deletions

View file

@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/sdk",
"version": "1.1.16",
"version": "1.1.20",
"type": "module",
"license": "MIT",
"scripts": {

View file

@ -781,6 +781,7 @@ export class Session extends HeyApiClient {
public list<ThrowOnError extends boolean = false>(
parameters?: {
directory?: string
roots?: boolean
start?: number
search?: string
limit?: number
@ -793,6 +794,7 @@ export class Session extends HeyApiClient {
{
args: [
{ in: "query", key: "directory" },
{ in: "query", key: "roots" },
{ in: "query", key: "start" },
{ in: "query", key: "search" },
{ in: "query", key: "limit" },

View file

@ -545,6 +545,10 @@ export type QuestionInfo = {
* Allow selecting multiple choices
*/
multiple?: boolean
/**
* Allow typing a custom answer (default: true)
*/
custom?: boolean
}
export type QuestionRequest = {
@ -706,6 +710,7 @@ export type PermissionRuleset = Array<PermissionRule>
export type Session = {
id: string
slug: string
projectID: string
directory: string
parentID?: string
@ -2584,7 +2589,14 @@ export type SessionListData = {
body?: never
path?: never
query?: {
/**
* Filter sessions by project directory
*/
directory?: string
/**
* Only return root sessions (no parentID)
*/
roots?: boolean
/**
* Filter sessions updated on or after this timestamp (milliseconds since epoch)
*/

View file

@ -981,7 +981,16 @@
"name": "directory",
"schema": {
"type": "string"
}
},
"description": "Filter sessions by project directory"
},
{
"in": "query",
"name": "roots",
"schema": {
"type": "boolean"
},
"description": "Only return root sessions (no parentID)"
},
{
"in": "query",
@ -7122,6 +7131,10 @@
"multiple": {
"description": "Allow selecting multiple choices",
"type": "boolean"
},
"custom": {
"description": "Allow typing a custom answer (default: true)",
"type": "boolean"
}
},
"required": ["question", "header", "options"]
@ -7507,6 +7520,9 @@
"type": "string",
"pattern": "^ses.*"
},
"slug": {
"type": "string"
},
"projectID": {
"type": "string"
},
@ -7593,7 +7609,7 @@
"required": ["messageID"]
}
},
"required": ["id", "projectID", "directory", "title", "version", "time"]
"required": ["id", "slug", "projectID", "directory", "title", "version", "time"]
},
"Event.session.created": {
"type": "object",