From f18d1911c6560fa049f4b82c7f4001e2b237ea36 Mon Sep 17 00:00:00 2001 From: turtle1999 Date: Wed, 30 Sep 2026 17:52:03 +0800 Subject: [PATCH] chore: regenerate the Cordis catalog for the removeBundle contract --- docs/subsystems/boot.md | 5 +++-- docs/subsystems/boot.zh.md | 5 +++-- packages/extensions/tool-cordis/src/api-catalog.ts | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/subsystems/boot.md b/docs/subsystems/boot.md index 142ea14b59..0d70cf6f08 100644 --- a/docs/subsystems/boot.md +++ b/docs/subsystems/boot.md @@ -170,8 +170,9 @@ Manage profile files and apply their declared reload lifecycle. */ @Remote async cancelInstall(requestId: PluginInstallRequestId): Promise -/** Unload and remove a profile-owned bundle dependency through dsh plugin's pnpm path. - * @param name Installed dependency name. +/** Unload and remove a profile-owned bundle dependency through dsh plugin's pnpm path; a selected name no + * dependency holds is only deselected. + * @param name Installed dependency or selected bundle name. * @returns Removal diagnostics and the remaining profile state. */ @Remote removeBundle(name: string): Promise diff --git a/docs/subsystems/boot.zh.md b/docs/subsystems/boot.zh.md index 4495ccbd73..51cef43aca 100644 --- a/docs/subsystems/boot.zh.md +++ b/docs/subsystems/boot.zh.md @@ -170,8 +170,9 @@ Manage profile files and apply their declared reload lifecycle. */ @Remote async cancelInstall(requestId: PluginInstallRequestId): Promise -/** Unload and remove a profile-owned bundle dependency through dsh plugin's pnpm path. - * @param name Installed dependency name. +/** Unload and remove a profile-owned bundle dependency through dsh plugin's pnpm path; a selected name no + * dependency holds is only deselected. + * @param name Installed dependency or selected bundle name. * @returns Removal diagnostics and the remaining profile state. */ @Remote removeBundle(name: string): Promise diff --git a/packages/extensions/tool-cordis/src/api-catalog.ts b/packages/extensions/tool-cordis/src/api-catalog.ts index 597b046378..8f04b44a37 100644 --- a/packages/extensions/tool-cordis/src/api-catalog.ts +++ b/packages/extensions/tool-cordis/src/api-catalog.ts @@ -1702,8 +1702,8 @@ export const SERVICE_API: readonly ServiceApiEntry[] = [ }, { signature: '@Remote removeBundle(name: string): Promise', - description: 'Unload and remove a profile-owned bundle dependency through dsh plugin\'s pnpm path.', - parameters: [{ name: 'name', description: 'Installed dependency name.' }], + description: 'Unload and remove a profile-owned bundle dependency through dsh plugin\'s pnpm path; a selected name no dependency holds is only deselected.', + parameters: [{ name: 'name', description: 'Installed dependency or selected bundle name.' }], returns: 'Removal diagnostics and the remaining profile state.', }, ],