(name: string, args?: string | undefined)
| 475 | } |
| 476 | |
| 477 | async activateSkill(name: string, args?: string | undefined): Promise<void> { |
| 478 | this.ensureOpen(); |
| 479 | const skillName = normalizeRequiredString( |
| 480 | name, |
| 481 | 'Skill name cannot be empty', |
| 482 | ErrorCodes.SKILL_NAME_EMPTY, |
| 483 | ); |
| 484 | const skillArgs = normalizeOptionalString(args); |
| 485 | await this.rpc.activateSkill({ |
| 486 | sessionId: this.id, |
| 487 | name: skillName, |
| 488 | ...(skillArgs !== undefined ? { args: skillArgs } : {}), |
| 489 | }); |
| 490 | } |
| 491 | |
| 492 | async activatePluginCommand( |
| 493 | pluginId: string, |
nothing calls this directly
no test coverage detected