(
session: Session,
pluginId: string,
commandName: string,
args: string,
)
| 1248 | } |
| 1249 | |
| 1250 | activatePluginCommand( |
| 1251 | session: Session, |
| 1252 | pluginId: string, |
| 1253 | commandName: string, |
| 1254 | args: string, |
| 1255 | ): void { |
| 1256 | this.beginSessionRequest(); |
| 1257 | void session.activatePluginCommand(pluginId, commandName, args).catch((error: unknown) => { |
| 1258 | const message = formatErrorMessage(error); |
| 1259 | this.failSessionRequest(`Command "${pluginId}:${commandName}" failed: ${message}`); |
| 1260 | }); |
| 1261 | } |
| 1262 | |
| 1263 | private sendMessage(session: Session, input: string, options?: SendMessageOptions): void { |
| 1264 | if ( |
nothing calls this directly
no test coverage detected