From eb818f9c925e2d8016259737067a8a1a484ba448 Mon Sep 17 00:00:00 2001 From: Yichen Jiang Date: Sat, 5 Sep 2026 17:49:38 +0800 Subject: [PATCH] chore(docs): regenerate the Cordis catalog for the manager's add verb --- docs/subsystems/core.i18n.yaml | 4 ++-- docs/subsystems/core.md | 2 +- docs/subsystems/core.zh.md | 2 +- packages/extensions/tool-cordis/src/api-catalog.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/subsystems/core.i18n.yaml b/docs/subsystems/core.i18n.yaml index 6c5b298fa2..22a79b6fc0 100644 --- a/docs/subsystems/core.i18n.yaml +++ b/docs/subsystems/core.i18n.yaml @@ -2,5 +2,5 @@ # side as of the last confirmed-consistent state. Both languages carry equal authority; # after editing either side, bring the other along and re-record with: # pnpm run verify-translation-pairing --write docs/subsystems/core.md -core.md: 2bf9d2e21d162523471cb2ac92ac25ccd650fda3 -core.zh.md: 37ef25348ddcb1e4d9fe32c17c10fdafc9e9ff39 +core.md: b71337c5386f7a5cf4484a7a9a393fcd5db48296 +core.zh.md: 665072b80527ded6df0e2d19cf7ffdf25768b5ad diff --git a/docs/subsystems/core.md b/docs/subsystems/core.md index 2bf9d2e21d..b71337c538 100644 --- a/docs/subsystems/core.md +++ b/docs/subsystems/core.md @@ -888,7 +888,7 @@ Every method that changes the profile reads the manifest afresh and writes it th * or the run times out, `plugins/enable-failed` when enabling was asked * for and the tree rejected the bundle. */ -@Remote('install') async install(spec: string, options?: { enable?: boolean }): Promise +@Remote('add') async add(spec: string, options?: { enable?: boolean }): Promise /** * Remove a package from the profile: disable it when enabled, drop every diff --git a/docs/subsystems/core.zh.md b/docs/subsystems/core.zh.md index 37ef25348d..665072b805 100644 --- a/docs/subsystems/core.zh.md +++ b/docs/subsystems/core.zh.md @@ -898,7 +898,7 @@ Every method that changes the profile reads the manifest afresh and writes it th * or the run times out, `plugins/enable-failed` when enabling was asked * for and the tree rejected the bundle. */ -@Remote('install') async install(spec: string, options?: { enable?: boolean }): Promise +@Remote('add') async add(spec: string, options?: { enable?: boolean }): Promise /** * Remove a package from the profile: disable it when enabled, drop every diff --git a/packages/extensions/tool-cordis/src/api-catalog.ts b/packages/extensions/tool-cordis/src/api-catalog.ts index f9acb2488c..44c493833a 100644 --- a/packages/extensions/tool-cordis/src/api-catalog.ts +++ b/packages/extensions/tool-cordis/src/api-catalog.ts @@ -1412,7 +1412,7 @@ export const SERVICE_API: readonly ServiceApiEntry[] = [ returns: 'one view per package, bundles first in layer order.', }, { - signature: '@Remote(\'install\') async install(spec: string, options?: { enable?: boolean }): Promise', + signature: '@Remote(\'add\') async add(spec: string, options?: { enable?: boolean }): Promise', description: 'Install a package into the profile with pnpm, probe it, and leave it disabled unless asked otherwise. The run\'s output streams as `plugins/install-log` chunks carrying the returned `jobId`.', parameters: [{ name: 'spec', description: 'what to install, in pnpm\'s own vocabulary: a registry name, a `github:` or git URL, a tarball, or an absolute path.' }, { name: 'options', description: '`enable` puts every newly installed bundle into the layer list at once.' }], returns: 'what the run installed and enabled.',