()
| 85 | setTimeout(() => this.reply(m.id, action.result), 0); |
| 86 | } |
| 87 | terminate(): Promise<number> { this.alive = false; this.terminated = true; return Promise.resolve(0); } |
| 88 | } |
| 89 | |
| 90 | const ok = (text: string): ToolResult => ({ content: [{ type: 'text', text }] }); |