feat(core): add session metadata support (#23068)

Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
Shantur Rathore
2026-05-30 16:58:11 -05:00
committed by GitHub
co-authored by Aiden Cline
parent ac8e686f33
commit ddc30cd151
14 changed files with 1707 additions and 1 deletions
+8
View File
@@ -3100,6 +3100,9 @@ export class Session2 extends HeyApiClient {
providerID: string
variant?: string
}
metadata?: {
[key: string]: unknown
}
permission?: PermissionRuleset
workspaceID?: string
},
@@ -3116,6 +3119,7 @@ export class Session2 extends HeyApiClient {
{ in: "body", key: "title" },
{ in: "body", key: "agent" },
{ in: "body", key: "model" },
{ in: "body", key: "metadata" },
{ in: "body", key: "permission" },
{ in: "body", key: "workspaceID" },
],
@@ -3239,6 +3243,9 @@ export class Session2 extends HeyApiClient {
directory?: string
workspace?: string
title?: string
metadata?: {
[key: string]: unknown
}
permission?: PermissionRuleset
time?: {
archived?: number
@@ -3255,6 +3262,7 @@ export class Session2 extends HeyApiClient {
{ in: "query", key: "directory" },
{ in: "query", key: "workspace" },
{ in: "body", key: "title" },
{ in: "body", key: "metadata" },
{ in: "body", key: "permission" },
{ in: "body", key: "time" },
],