fix(plugin-inventory): rename install Remote to installPlugin
The RemoteNamespaceService reserves `install` as its private registration method, so a Remote method also named `install` collided at client-api boot (`pluginInventory/install conflicts with its namespace service`). Rename the plugin-install Remote to `installPlugin` across host, client, and tests. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -138,8 +138,8 @@ export class PluginInventoryGateway extends TypertRemoteService {
|
||||
* @param spec - the bundle name or registry package spec to install.
|
||||
* @returns a confirmation; `restartRequired` tells the caller to restart.
|
||||
*/
|
||||
@Remote('install')
|
||||
install(spec: InstallSpec): InstallResult {
|
||||
@Remote('installPlugin')
|
||||
installPlugin(spec: InstallSpec): InstallResult {
|
||||
const profileDir = this.profileDir()
|
||||
const anchor = this.ctx.get('dshInstallAnchor') as string | undefined
|
||||
if (anchor === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user