From 2c2fc3499b3723a0595e1666b97207043913f2a8 Mon Sep 17 00:00:00 2001 From: James Long Date: Tue, 28 Apr 2026 11:51:24 -0400 Subject: feat(core): store relative path for sessions (#24704) --- packages/sdk/js/src/v2/gen/types.gen.ts | 3 +++ packages/sdk/openapi.json | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) (limited to 'packages/sdk') diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts index f003ef063..ed9954aec 100644 --- a/packages/sdk/js/src/v2/gen/types.gen.ts +++ b/packages/sdk/js/src/v2/gen/types.gen.ts @@ -936,6 +936,7 @@ export type Session = { projectID: string workspaceID?: string directory: string + path?: string parentID?: string summary?: { additions: number @@ -1063,6 +1064,7 @@ export type SyncEventSessionUpdated = { projectID?: string | null workspaceID?: string | null directory?: string | null + path?: string | null parentID?: string | null summary?: { additions: number @@ -1882,6 +1884,7 @@ export type GlobalSession = { projectID: string workspaceID?: string directory: string + path?: string parentID?: string summary?: { additions: number diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index c122037f4..ff0a5dc2e 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -10154,6 +10154,9 @@ "directory": { "type": "string" }, + "path": { + "type": "string" + }, "parentID": { "type": "string", "pattern": "^ses.*" @@ -10584,6 +10587,16 @@ } ] }, + "path": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, "parentID": { "anyOf": [ { @@ -12538,6 +12551,9 @@ "directory": { "type": "string" }, + "path": { + "type": "string" + }, "parentID": { "type": "string", "pattern": "^ses.*" -- cgit v1.2.3