From 3ecac5aad421fd2ff0cc3595101c5d26df9f9c7e Mon Sep 17 00:00:00 2001 From: mektpoy Date: Thu, 22 Oct 2026 15:08:12 +0800 Subject: [PATCH] chore(catalogs): follow the branch contract and Session access edits Regenerate the client API catalog after the forkSession contract and the ui-workspace gating changes. --- .../cordis-client-runner/src/client/api-catalog.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/extensions/cordis-client-runner/src/client/api-catalog.ts b/packages/extensions/cordis-client-runner/src/client/api-catalog.ts index b6083e3571..582af5e5b0 100644 --- a/packages/extensions/cordis-client-runner/src/client/api-catalog.ts +++ b/packages/extensions/cordis-client-runner/src/client/api-catalog.ts @@ -349,9 +349,10 @@ export const SERVICE_API: readonly ServiceApiEntry[] = [ }, { signature: 'forkSession( sessionId: SessionId, onCreated?: (childId: SessionId) => void, options?: ForkSessionOptions, ): Promise', - description: 'Fork a Session. Pages whose access snapshot includes renaming it increment the child title; other pages leave the title unchanged and present the child only once the Host lists it.', + description: 'Fork a Session and apply its branch presentation policy. Pages whose access snapshot includes renaming the source increment the child title; other pages leave the title to the Host and open the child only once its summary is listed. In the latter case the call begins one navigation for that listing, so a pending navigation may be superseded.', parameters: [{ name: 'sessionId', description: 'source Session.' }, { name: 'onCreated', description: 'observer after creation, before the optional child-title update.' }, { name: 'options', description: 'branch boundary, migration permission, and how the child is presented.' }], - returns: 'the child SessionId after creation and any permitted inherited-title increment.', + returns: 'the child SessionId after creation and any permitted inherited-title increment; kept for upper layers that need the id while the listed-open wait is still pending.', + throws: ['when the Host refuses or fails the fork; the caller keeps its current view and decides whether to report the failure.'], }, { signature: 'connectWorkspace(workspaceId: WorkspaceId, options?: Pick): Promise',