feat(minecraft): execute tools from dashboard

This commit is contained in:
Rin
2026-02-18 11:12:03 +08:00
committed by Neko Ayaka
parent af968b5bc4
commit 07097d1f78
9 changed files with 883 additions and 207 deletions
@@ -200,6 +200,18 @@ export class DebugService {
case 'reflex':
this.emitReflexState(payload as Omit<ReflexStateEvent, 'timestamp'>)
break
case 'debug:tools_list':
this.server.broadcast({
type: 'debug:tools_list',
payload: payload as { tools: any[] },
})
break
case 'debug:tool_result':
this.server.broadcast({
type: 'debug:tool_result',
payload: payload as any,
})
break
default:
// For unknown types, emit as log
this.log('DEBUG', `Unknown event type: ${type}`, { payload })