91b878f347
- Added 6 Quaternius weapon models (Pistol, Revolver, Rifle, Shotgun, P90, SniperRifle) - Created weapon resource files with balanced stats - Wired Pistol + Rifle into player.tscn replacing Kenney blasters - Fixed WASD input (matched input map action names) - Fixed Escape key toggles mouse capture - Added Audio autoload singleton - Fixed broken sound asset paths across all scripts - Fixed all scene ext_resource text paths (nested under assets/kenney-fps/) - Fixed all .import source_file paths - Deleted stale .import files (will be regenerated by editor on open)
16 lines
825 B
TypeScript
16 lines
825 B
TypeScript
/**
|
|
* Tool dispatch table.
|
|
*
|
|
* Maps every MCP tool name to a handler that takes the runner + raw args and
|
|
* returns the tool response. Extracted from index.ts so tests can exercise
|
|
* dispatch as a pure data structure (no Server / stdio / lifecycle setup).
|
|
*
|
|
* Behavioral contract preserved from the original switch in index.ts:
|
|
* - Each name routes to the same handler it did before.
|
|
* - Unknown tool names throw McpError(MethodNotFound, ...) — see
|
|
* `dispatchToolCall`.
|
|
*/
|
|
import type { GodotRunner, OperationParams, ToolHandler, ToolResponse } from './utils/godot-runner.js';
|
|
export declare const toolDispatch: Record<string, ToolHandler>;
|
|
export declare function dispatchToolCall(runner: GodotRunner, toolName: string, args: OperationParams): Promise<ToolResponse>;
|
|
//# sourceMappingURL=dispatch.d.ts.map
|