fix(httpapi): preserve provider oauth authorize parity (#24703)

This commit is contained in:
Kit Langton
2026-04-27 21:48:50 -04:00
committed by GitHub
parent 0eaa47d857
commit 892fd85ba7
6 changed files with 195 additions and 14 deletions

View File

@@ -848,12 +848,12 @@ export class Session extends HeyApiClient {
parameters?: {
directory?: string
workspace?: string
roots?: "true" | "false"
roots?: boolean | "true" | "false"
start?: number
cursor?: number
search?: string
limit?: number
archived?: "true" | "false"
archived?: boolean | "true" | "false"
},
options?: Options<never, ThrowOnError>,
) {
@@ -1647,7 +1647,7 @@ export class Session2 extends HeyApiClient {
parameters?: {
directory?: string
workspace?: string
roots?: "true" | "false"
roots?: boolean | "true" | "false"
start?: number
search?: string
limit?: number

View File

@@ -3217,7 +3217,7 @@ export type ExperimentalSessionListData = {
/**
* Only return root sessions (no parentID)
*/
roots?: "true" | "false"
roots?: boolean | "true" | "false"
/**
* Filter sessions updated on or after this timestamp (milliseconds since epoch)
*/
@@ -3237,7 +3237,7 @@ export type ExperimentalSessionListData = {
/**
* Include archived sessions (default false)
*/
archived?: "true" | "false"
archived?: boolean | "true" | "false"
}
url: "/experimental/session"
}
@@ -3285,7 +3285,7 @@ export type SessionListData = {
/**
* Only return root sessions (no parentID)
*/
roots?: "true" | "false"
roots?: boolean | "true" | "false"
/**
* Filter sessions updated on or after this timestamp (milliseconds since epoch)
*/