(input: {
sessionId: string;
command: string;
commandId?: string;
})
| 245 | } |
| 246 | |
| 247 | async runShellCommand(input: { |
| 248 | sessionId: string; |
| 249 | command: string; |
| 250 | commandId?: string; |
| 251 | }): Promise<{ stdout: string; stderr: string; isError?: boolean; backgrounded?: boolean }> { |
| 252 | const agentId = this.interactiveAgentId; |
| 253 | const rpc = await this.getRpc(); |
| 254 | return rpc.runShellCommand({ |
| 255 | sessionId: input.sessionId, |
| 256 | agentId, |
| 257 | command: input.command, |
| 258 | commandId: input.commandId, |
| 259 | }); |
| 260 | } |
| 261 | |
| 262 | async cancelShellCommand(input: { sessionId: string; commandId: string }): Promise<void> { |
| 263 | const agentId = this.interactiveAgentId; |
nothing calls this directly
no test coverage detected