@satelliteoflove/godot-mcp 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tools/animation.d.ts +281 -0
- package/dist/tools/animation.d.ts.map +1 -0
- package/dist/tools/animation.js +382 -0
- package/dist/tools/animation.js.map +1 -0
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +3 -0
- package/dist/tools/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { AnyToolDefinition } from '../core/types.js';
|
|
3
|
+
export declare const listAnimationPlayers: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
4
|
+
root_path: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
root_path?: string | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
root_path?: string | undefined;
|
|
9
|
+
}>>;
|
|
10
|
+
export declare const getAnimationPlayerInfo: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
11
|
+
node_path: z.ZodString;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
node_path: string;
|
|
14
|
+
}, {
|
|
15
|
+
node_path: string;
|
|
16
|
+
}>>;
|
|
17
|
+
export declare const getAnimationDetails: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
18
|
+
node_path: z.ZodString;
|
|
19
|
+
animation_name: z.ZodString;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
node_path: string;
|
|
22
|
+
animation_name: string;
|
|
23
|
+
}, {
|
|
24
|
+
node_path: string;
|
|
25
|
+
animation_name: string;
|
|
26
|
+
}>>;
|
|
27
|
+
export declare const getTrackKeyframes: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
28
|
+
node_path: z.ZodString;
|
|
29
|
+
animation_name: z.ZodString;
|
|
30
|
+
track_index: z.ZodNumber;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
node_path: string;
|
|
33
|
+
animation_name: string;
|
|
34
|
+
track_index: number;
|
|
35
|
+
}, {
|
|
36
|
+
node_path: string;
|
|
37
|
+
animation_name: string;
|
|
38
|
+
track_index: number;
|
|
39
|
+
}>>;
|
|
40
|
+
export declare const playAnimation: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
41
|
+
node_path: z.ZodString;
|
|
42
|
+
animation_name: z.ZodString;
|
|
43
|
+
custom_blend: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
custom_speed: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
from_end: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
node_path: string;
|
|
48
|
+
animation_name: string;
|
|
49
|
+
custom_blend?: number | undefined;
|
|
50
|
+
custom_speed?: number | undefined;
|
|
51
|
+
from_end?: boolean | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
node_path: string;
|
|
54
|
+
animation_name: string;
|
|
55
|
+
custom_blend?: number | undefined;
|
|
56
|
+
custom_speed?: number | undefined;
|
|
57
|
+
from_end?: boolean | undefined;
|
|
58
|
+
}>>;
|
|
59
|
+
export declare const stopAnimation: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
60
|
+
node_path: z.ZodString;
|
|
61
|
+
keep_state: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
node_path: string;
|
|
64
|
+
keep_state?: boolean | undefined;
|
|
65
|
+
}, {
|
|
66
|
+
node_path: string;
|
|
67
|
+
keep_state?: boolean | undefined;
|
|
68
|
+
}>>;
|
|
69
|
+
export declare const pauseAnimation: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
70
|
+
node_path: z.ZodString;
|
|
71
|
+
paused: z.ZodBoolean;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
node_path: string;
|
|
74
|
+
paused: boolean;
|
|
75
|
+
}, {
|
|
76
|
+
node_path: string;
|
|
77
|
+
paused: boolean;
|
|
78
|
+
}>>;
|
|
79
|
+
export declare const seekAnimation: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
80
|
+
node_path: z.ZodString;
|
|
81
|
+
seconds: z.ZodNumber;
|
|
82
|
+
update: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
node_path: string;
|
|
85
|
+
seconds: number;
|
|
86
|
+
update?: boolean | undefined;
|
|
87
|
+
}, {
|
|
88
|
+
node_path: string;
|
|
89
|
+
seconds: number;
|
|
90
|
+
update?: boolean | undefined;
|
|
91
|
+
}>>;
|
|
92
|
+
export declare const queueAnimation: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
93
|
+
node_path: z.ZodString;
|
|
94
|
+
animation_name: z.ZodString;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
node_path: string;
|
|
97
|
+
animation_name: string;
|
|
98
|
+
}, {
|
|
99
|
+
node_path: string;
|
|
100
|
+
animation_name: string;
|
|
101
|
+
}>>;
|
|
102
|
+
export declare const clearAnimationQueue: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
103
|
+
node_path: z.ZodString;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
node_path: string;
|
|
106
|
+
}, {
|
|
107
|
+
node_path: string;
|
|
108
|
+
}>>;
|
|
109
|
+
export declare const createAnimation: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
110
|
+
node_path: z.ZodString;
|
|
111
|
+
animation_name: z.ZodString;
|
|
112
|
+
library_name: z.ZodOptional<z.ZodString>;
|
|
113
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
loop_mode: z.ZodOptional<z.ZodEnum<["none", "linear", "pingpong"]>>;
|
|
115
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
}, "strip", z.ZodTypeAny, {
|
|
117
|
+
node_path: string;
|
|
118
|
+
animation_name: string;
|
|
119
|
+
length?: number | undefined;
|
|
120
|
+
library_name?: string | undefined;
|
|
121
|
+
loop_mode?: "none" | "linear" | "pingpong" | undefined;
|
|
122
|
+
step?: number | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
node_path: string;
|
|
125
|
+
animation_name: string;
|
|
126
|
+
length?: number | undefined;
|
|
127
|
+
library_name?: string | undefined;
|
|
128
|
+
loop_mode?: "none" | "linear" | "pingpong" | undefined;
|
|
129
|
+
step?: number | undefined;
|
|
130
|
+
}>>;
|
|
131
|
+
export declare const deleteAnimation: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
132
|
+
node_path: z.ZodString;
|
|
133
|
+
animation_name: z.ZodString;
|
|
134
|
+
library_name: z.ZodOptional<z.ZodString>;
|
|
135
|
+
}, "strip", z.ZodTypeAny, {
|
|
136
|
+
node_path: string;
|
|
137
|
+
animation_name: string;
|
|
138
|
+
library_name?: string | undefined;
|
|
139
|
+
}, {
|
|
140
|
+
node_path: string;
|
|
141
|
+
animation_name: string;
|
|
142
|
+
library_name?: string | undefined;
|
|
143
|
+
}>>;
|
|
144
|
+
export declare const renameAnimation: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
145
|
+
node_path: z.ZodString;
|
|
146
|
+
old_name: z.ZodString;
|
|
147
|
+
new_name: z.ZodString;
|
|
148
|
+
library_name: z.ZodOptional<z.ZodString>;
|
|
149
|
+
}, "strip", z.ZodTypeAny, {
|
|
150
|
+
node_path: string;
|
|
151
|
+
old_name: string;
|
|
152
|
+
new_name: string;
|
|
153
|
+
library_name?: string | undefined;
|
|
154
|
+
}, {
|
|
155
|
+
node_path: string;
|
|
156
|
+
old_name: string;
|
|
157
|
+
new_name: string;
|
|
158
|
+
library_name?: string | undefined;
|
|
159
|
+
}>>;
|
|
160
|
+
export declare const updateAnimationProperties: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
161
|
+
node_path: z.ZodString;
|
|
162
|
+
animation_name: z.ZodString;
|
|
163
|
+
length: z.ZodOptional<z.ZodNumber>;
|
|
164
|
+
loop_mode: z.ZodOptional<z.ZodEnum<["none", "linear", "pingpong"]>>;
|
|
165
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
node_path: string;
|
|
168
|
+
animation_name: string;
|
|
169
|
+
length?: number | undefined;
|
|
170
|
+
loop_mode?: "none" | "linear" | "pingpong" | undefined;
|
|
171
|
+
step?: number | undefined;
|
|
172
|
+
}, {
|
|
173
|
+
node_path: string;
|
|
174
|
+
animation_name: string;
|
|
175
|
+
length?: number | undefined;
|
|
176
|
+
loop_mode?: "none" | "linear" | "pingpong" | undefined;
|
|
177
|
+
step?: number | undefined;
|
|
178
|
+
}>>;
|
|
179
|
+
export declare const addAnimationTrack: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
180
|
+
node_path: z.ZodString;
|
|
181
|
+
animation_name: z.ZodString;
|
|
182
|
+
track_type: z.ZodEnum<["value", "position_3d", "rotation_3d", "scale_3d", "blend_shape", "method", "bezier", "audio", "animation"]>;
|
|
183
|
+
track_path: z.ZodString;
|
|
184
|
+
insert_at: z.ZodOptional<z.ZodNumber>;
|
|
185
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
node_path: string;
|
|
187
|
+
animation_name: string;
|
|
188
|
+
track_type: "value" | "audio" | "position_3d" | "rotation_3d" | "scale_3d" | "blend_shape" | "method" | "bezier" | "animation";
|
|
189
|
+
track_path: string;
|
|
190
|
+
insert_at?: number | undefined;
|
|
191
|
+
}, {
|
|
192
|
+
node_path: string;
|
|
193
|
+
animation_name: string;
|
|
194
|
+
track_type: "value" | "audio" | "position_3d" | "rotation_3d" | "scale_3d" | "blend_shape" | "method" | "bezier" | "animation";
|
|
195
|
+
track_path: string;
|
|
196
|
+
insert_at?: number | undefined;
|
|
197
|
+
}>>;
|
|
198
|
+
export declare const removeAnimationTrack: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
199
|
+
node_path: z.ZodString;
|
|
200
|
+
animation_name: z.ZodString;
|
|
201
|
+
track_index: z.ZodNumber;
|
|
202
|
+
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
node_path: string;
|
|
204
|
+
animation_name: string;
|
|
205
|
+
track_index: number;
|
|
206
|
+
}, {
|
|
207
|
+
node_path: string;
|
|
208
|
+
animation_name: string;
|
|
209
|
+
track_index: number;
|
|
210
|
+
}>>;
|
|
211
|
+
export declare const addKeyframe: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
212
|
+
node_path: z.ZodString;
|
|
213
|
+
animation_name: z.ZodString;
|
|
214
|
+
track_index: z.ZodNumber;
|
|
215
|
+
time: z.ZodNumber;
|
|
216
|
+
value: z.ZodUnknown;
|
|
217
|
+
transition: z.ZodOptional<z.ZodNumber>;
|
|
218
|
+
method_name: z.ZodOptional<z.ZodString>;
|
|
219
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
220
|
+
}, "strip", z.ZodTypeAny, {
|
|
221
|
+
node_path: string;
|
|
222
|
+
animation_name: string;
|
|
223
|
+
track_index: number;
|
|
224
|
+
time: number;
|
|
225
|
+
value?: unknown;
|
|
226
|
+
transition?: number | undefined;
|
|
227
|
+
method_name?: string | undefined;
|
|
228
|
+
args?: unknown[] | undefined;
|
|
229
|
+
}, {
|
|
230
|
+
node_path: string;
|
|
231
|
+
animation_name: string;
|
|
232
|
+
track_index: number;
|
|
233
|
+
time: number;
|
|
234
|
+
value?: unknown;
|
|
235
|
+
transition?: number | undefined;
|
|
236
|
+
method_name?: string | undefined;
|
|
237
|
+
args?: unknown[] | undefined;
|
|
238
|
+
}>>;
|
|
239
|
+
export declare const removeKeyframe: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
240
|
+
node_path: z.ZodString;
|
|
241
|
+
animation_name: z.ZodString;
|
|
242
|
+
track_index: z.ZodNumber;
|
|
243
|
+
keyframe_index: z.ZodNumber;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
node_path: string;
|
|
246
|
+
animation_name: string;
|
|
247
|
+
track_index: number;
|
|
248
|
+
keyframe_index: number;
|
|
249
|
+
}, {
|
|
250
|
+
node_path: string;
|
|
251
|
+
animation_name: string;
|
|
252
|
+
track_index: number;
|
|
253
|
+
keyframe_index: number;
|
|
254
|
+
}>>;
|
|
255
|
+
export declare const updateKeyframe: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
256
|
+
node_path: z.ZodString;
|
|
257
|
+
animation_name: z.ZodString;
|
|
258
|
+
track_index: z.ZodNumber;
|
|
259
|
+
keyframe_index: z.ZodNumber;
|
|
260
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
262
|
+
transition: z.ZodOptional<z.ZodNumber>;
|
|
263
|
+
}, "strip", z.ZodTypeAny, {
|
|
264
|
+
node_path: string;
|
|
265
|
+
animation_name: string;
|
|
266
|
+
track_index: number;
|
|
267
|
+
keyframe_index: number;
|
|
268
|
+
value?: unknown;
|
|
269
|
+
time?: number | undefined;
|
|
270
|
+
transition?: number | undefined;
|
|
271
|
+
}, {
|
|
272
|
+
node_path: string;
|
|
273
|
+
animation_name: string;
|
|
274
|
+
track_index: number;
|
|
275
|
+
keyframe_index: number;
|
|
276
|
+
value?: unknown;
|
|
277
|
+
time?: number | undefined;
|
|
278
|
+
transition?: number | undefined;
|
|
279
|
+
}>>;
|
|
280
|
+
export declare const animationTools: AnyToolDefinition[];
|
|
281
|
+
//# sourceMappingURL=animation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../src/tools/animation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,iBAAiB,EAAE,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|
4
|
+
name: 'list_animation_players',
|
|
5
|
+
description: 'Find all AnimationPlayer nodes in the scene',
|
|
6
|
+
schema: z.object({
|
|
7
|
+
root_path: z
|
|
8
|
+
.string()
|
|
9
|
+
.optional()
|
|
10
|
+
.describe('Starting node path, defaults to scene root'),
|
|
11
|
+
}),
|
|
12
|
+
async execute({ root_path }, { godot }) {
|
|
13
|
+
const result = await godot.sendCommand('list_animation_players', { root_path });
|
|
14
|
+
if (result.animation_players.length === 0) {
|
|
15
|
+
return 'No AnimationPlayer nodes found in scene';
|
|
16
|
+
}
|
|
17
|
+
return `Found ${result.animation_players.length} AnimationPlayer(s):\n${result.animation_players.map((p) => ` - ${p.path}`).join('\n')}`;
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
export const getAnimationPlayerInfo = defineTool({
|
|
21
|
+
name: 'get_animation_player_info',
|
|
22
|
+
description: 'Get AnimationPlayer state and available animations',
|
|
23
|
+
schema: z.object({
|
|
24
|
+
node_path: z.string().describe('Path to AnimationPlayer node'),
|
|
25
|
+
}),
|
|
26
|
+
async execute({ node_path }, { godot }) {
|
|
27
|
+
const result = await godot.sendCommand('get_animation_player_info', { node_path });
|
|
28
|
+
return JSON.stringify(result, null, 2);
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
export const getAnimationDetails = defineTool({
|
|
32
|
+
name: 'get_animation_details',
|
|
33
|
+
description: 'Get detailed information about a specific animation',
|
|
34
|
+
schema: z.object({
|
|
35
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
36
|
+
animation_name: z
|
|
37
|
+
.string()
|
|
38
|
+
.describe('Name of animation (format: "library/anim" or just "anim")'),
|
|
39
|
+
}),
|
|
40
|
+
async execute({ node_path, animation_name }, { godot }) {
|
|
41
|
+
const result = await godot.sendCommand('get_animation_details', { node_path, animation_name });
|
|
42
|
+
return JSON.stringify(result, null, 2);
|
|
43
|
+
},
|
|
44
|
+
});
|
|
45
|
+
export const getTrackKeyframes = defineTool({
|
|
46
|
+
name: 'get_track_keyframes',
|
|
47
|
+
description: 'Get all keyframes for a specific track',
|
|
48
|
+
schema: z.object({
|
|
49
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
50
|
+
animation_name: z.string().describe('Animation name'),
|
|
51
|
+
track_index: z.number().describe('Track index'),
|
|
52
|
+
}),
|
|
53
|
+
async execute({ node_path, animation_name, track_index }, { godot }) {
|
|
54
|
+
const result = await godot.sendCommand('get_track_keyframes', { node_path, animation_name, track_index });
|
|
55
|
+
return JSON.stringify(result, null, 2);
|
|
56
|
+
},
|
|
57
|
+
});
|
|
58
|
+
export const playAnimation = defineTool({
|
|
59
|
+
name: 'play_animation',
|
|
60
|
+
description: 'Play an animation',
|
|
61
|
+
schema: z.object({
|
|
62
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
63
|
+
animation_name: z.string().describe('Animation to play'),
|
|
64
|
+
custom_blend: z
|
|
65
|
+
.number()
|
|
66
|
+
.optional()
|
|
67
|
+
.describe('Custom blend time (-1 for default)'),
|
|
68
|
+
custom_speed: z
|
|
69
|
+
.number()
|
|
70
|
+
.optional()
|
|
71
|
+
.describe('Custom playback speed (1.0 default)'),
|
|
72
|
+
from_end: z.boolean().optional().describe('Play from end (for reverse)'),
|
|
73
|
+
}),
|
|
74
|
+
async execute({ node_path, animation_name, custom_blend, custom_speed, from_end }, { godot }) {
|
|
75
|
+
const result = await godot.sendCommand('play_animation', {
|
|
76
|
+
node_path,
|
|
77
|
+
animation_name,
|
|
78
|
+
custom_blend,
|
|
79
|
+
custom_speed,
|
|
80
|
+
from_end,
|
|
81
|
+
});
|
|
82
|
+
return `Playing animation: ${result.playing}`;
|
|
83
|
+
},
|
|
84
|
+
});
|
|
85
|
+
export const stopAnimation = defineTool({
|
|
86
|
+
name: 'stop_animation',
|
|
87
|
+
description: 'Stop current animation',
|
|
88
|
+
schema: z.object({
|
|
89
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
90
|
+
keep_state: z
|
|
91
|
+
.boolean()
|
|
92
|
+
.optional()
|
|
93
|
+
.describe('Keep current animation state (default false)'),
|
|
94
|
+
}),
|
|
95
|
+
async execute({ node_path, keep_state }, { godot }) {
|
|
96
|
+
await godot.sendCommand('stop_animation', { node_path, keep_state });
|
|
97
|
+
return 'Animation stopped';
|
|
98
|
+
},
|
|
99
|
+
});
|
|
100
|
+
export const pauseAnimation = defineTool({
|
|
101
|
+
name: 'pause_animation',
|
|
102
|
+
description: 'Pause/unpause animation playback',
|
|
103
|
+
schema: z.object({
|
|
104
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
105
|
+
paused: z.boolean().describe('True to pause, false to unpause'),
|
|
106
|
+
}),
|
|
107
|
+
async execute({ node_path, paused }, { godot }) {
|
|
108
|
+
await godot.sendCommand('pause_animation', { node_path, paused });
|
|
109
|
+
return paused ? 'Animation paused' : 'Animation unpaused';
|
|
110
|
+
},
|
|
111
|
+
});
|
|
112
|
+
export const seekAnimation = defineTool({
|
|
113
|
+
name: 'seek_animation',
|
|
114
|
+
description: 'Seek to a specific position in the animation',
|
|
115
|
+
schema: z.object({
|
|
116
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
117
|
+
seconds: z.number().describe('Position to seek to'),
|
|
118
|
+
update: z
|
|
119
|
+
.boolean()
|
|
120
|
+
.optional()
|
|
121
|
+
.describe('Update node immediately (default true)'),
|
|
122
|
+
}),
|
|
123
|
+
async execute({ node_path, seconds, update }, { godot }) {
|
|
124
|
+
const result = await godot.sendCommand('seek_animation', { node_path, seconds, update });
|
|
125
|
+
return `Seeked to position: ${result.position}`;
|
|
126
|
+
},
|
|
127
|
+
});
|
|
128
|
+
export const queueAnimation = defineTool({
|
|
129
|
+
name: 'queue_animation',
|
|
130
|
+
description: 'Queue an animation to play after current one finishes',
|
|
131
|
+
schema: z.object({
|
|
132
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
133
|
+
animation_name: z.string().describe('Animation to queue'),
|
|
134
|
+
}),
|
|
135
|
+
async execute({ node_path, animation_name }, { godot }) {
|
|
136
|
+
const result = await godot.sendCommand('queue_animation', { node_path, animation_name });
|
|
137
|
+
return `Queued animation: ${result.queued} (queue length: ${result.queue_length})`;
|
|
138
|
+
},
|
|
139
|
+
});
|
|
140
|
+
export const clearAnimationQueue = defineTool({
|
|
141
|
+
name: 'clear_animation_queue',
|
|
142
|
+
description: 'Clear the animation queue',
|
|
143
|
+
schema: z.object({
|
|
144
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
145
|
+
}),
|
|
146
|
+
async execute({ node_path }, { godot }) {
|
|
147
|
+
await godot.sendCommand('clear_animation_queue', { node_path });
|
|
148
|
+
return 'Animation queue cleared';
|
|
149
|
+
},
|
|
150
|
+
});
|
|
151
|
+
export const createAnimation = defineTool({
|
|
152
|
+
name: 'create_animation',
|
|
153
|
+
description: 'Create a new animation',
|
|
154
|
+
schema: z.object({
|
|
155
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
156
|
+
animation_name: z.string().describe('Name for new animation'),
|
|
157
|
+
library_name: z
|
|
158
|
+
.string()
|
|
159
|
+
.optional()
|
|
160
|
+
.describe('Library to add to (default "")'),
|
|
161
|
+
length: z
|
|
162
|
+
.number()
|
|
163
|
+
.optional()
|
|
164
|
+
.describe('Animation length in seconds (default 1.0)'),
|
|
165
|
+
loop_mode: z
|
|
166
|
+
.enum(['none', 'linear', 'pingpong'])
|
|
167
|
+
.optional()
|
|
168
|
+
.describe('Loop mode (default "none")'),
|
|
169
|
+
step: z.number().optional().describe('Step value for keyframe snapping'),
|
|
170
|
+
}),
|
|
171
|
+
async execute({ node_path, animation_name, library_name, length, loop_mode, step }, { godot }) {
|
|
172
|
+
const result = await godot.sendCommand('create_animation', { node_path, animation_name, library_name, length, loop_mode, step });
|
|
173
|
+
return `Created animation: ${result.created}${result.library ? ` in library: ${result.library}` : ''}`;
|
|
174
|
+
},
|
|
175
|
+
});
|
|
176
|
+
export const deleteAnimation = defineTool({
|
|
177
|
+
name: 'delete_animation',
|
|
178
|
+
description: 'Delete an animation',
|
|
179
|
+
schema: z.object({
|
|
180
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
181
|
+
animation_name: z.string().describe('Animation to delete'),
|
|
182
|
+
library_name: z
|
|
183
|
+
.string()
|
|
184
|
+
.optional()
|
|
185
|
+
.describe('Library containing animation'),
|
|
186
|
+
}),
|
|
187
|
+
async execute({ node_path, animation_name, library_name }, { godot }) {
|
|
188
|
+
const result = await godot.sendCommand('delete_animation', { node_path, animation_name, library_name });
|
|
189
|
+
return `Deleted animation: ${result.deleted}`;
|
|
190
|
+
},
|
|
191
|
+
});
|
|
192
|
+
export const renameAnimation = defineTool({
|
|
193
|
+
name: 'rename_animation',
|
|
194
|
+
description: 'Rename an animation',
|
|
195
|
+
schema: z.object({
|
|
196
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
197
|
+
old_name: z.string().describe('Current animation name'),
|
|
198
|
+
new_name: z.string().describe('New animation name'),
|
|
199
|
+
library_name: z
|
|
200
|
+
.string()
|
|
201
|
+
.optional()
|
|
202
|
+
.describe('Library containing animation'),
|
|
203
|
+
}),
|
|
204
|
+
async execute({ node_path, old_name, new_name, library_name }, { godot }) {
|
|
205
|
+
const result = await godot.sendCommand('rename_animation', { node_path, old_name, new_name, library_name });
|
|
206
|
+
return `Renamed animation: ${result.renamed.from} -> ${result.renamed.to}`;
|
|
207
|
+
},
|
|
208
|
+
});
|
|
209
|
+
export const updateAnimationProperties = defineTool({
|
|
210
|
+
name: 'update_animation_properties',
|
|
211
|
+
description: 'Update animation properties (length, loop mode, step)',
|
|
212
|
+
schema: z.object({
|
|
213
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
214
|
+
animation_name: z.string().describe('Animation to update'),
|
|
215
|
+
length: z.number().optional().describe('New length'),
|
|
216
|
+
loop_mode: z
|
|
217
|
+
.enum(['none', 'linear', 'pingpong'])
|
|
218
|
+
.optional()
|
|
219
|
+
.describe('New loop mode'),
|
|
220
|
+
step: z.number().optional().describe('New step value'),
|
|
221
|
+
}),
|
|
222
|
+
async execute({ node_path, animation_name, length, loop_mode, step }, { godot }) {
|
|
223
|
+
const result = await godot.sendCommand('update_animation_properties', {
|
|
224
|
+
node_path,
|
|
225
|
+
animation_name,
|
|
226
|
+
length,
|
|
227
|
+
loop_mode,
|
|
228
|
+
step,
|
|
229
|
+
});
|
|
230
|
+
return `Updated animation: ${result.updated}\nProperties: ${JSON.stringify(result.properties)}`;
|
|
231
|
+
},
|
|
232
|
+
});
|
|
233
|
+
export const addAnimationTrack = defineTool({
|
|
234
|
+
name: 'add_animation_track',
|
|
235
|
+
description: 'Add a new track to an animation',
|
|
236
|
+
schema: z.object({
|
|
237
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
238
|
+
animation_name: z.string().describe('Animation to modify'),
|
|
239
|
+
track_type: z
|
|
240
|
+
.enum([
|
|
241
|
+
'value',
|
|
242
|
+
'position_3d',
|
|
243
|
+
'rotation_3d',
|
|
244
|
+
'scale_3d',
|
|
245
|
+
'blend_shape',
|
|
246
|
+
'method',
|
|
247
|
+
'bezier',
|
|
248
|
+
'audio',
|
|
249
|
+
'animation',
|
|
250
|
+
])
|
|
251
|
+
.describe('Type of track'),
|
|
252
|
+
track_path: z
|
|
253
|
+
.string()
|
|
254
|
+
.describe('Node path and property (e.g., "Sprite2D:frame")'),
|
|
255
|
+
insert_at: z
|
|
256
|
+
.number()
|
|
257
|
+
.optional()
|
|
258
|
+
.describe('Track index to insert at (-1 for end)'),
|
|
259
|
+
}),
|
|
260
|
+
async execute({ node_path, animation_name, track_type, track_path, insert_at }, { godot }) {
|
|
261
|
+
const result = await godot.sendCommand('add_animation_track', {
|
|
262
|
+
node_path,
|
|
263
|
+
animation_name,
|
|
264
|
+
track_type,
|
|
265
|
+
track_path,
|
|
266
|
+
insert_at,
|
|
267
|
+
});
|
|
268
|
+
return `Added track ${result.track_index}: ${result.track_type} -> ${result.track_path}`;
|
|
269
|
+
},
|
|
270
|
+
});
|
|
271
|
+
export const removeAnimationTrack = defineTool({
|
|
272
|
+
name: 'remove_animation_track',
|
|
273
|
+
description: 'Remove a track from an animation',
|
|
274
|
+
schema: z.object({
|
|
275
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
276
|
+
animation_name: z.string().describe('Animation to modify'),
|
|
277
|
+
track_index: z.number().describe('Index of track to remove'),
|
|
278
|
+
}),
|
|
279
|
+
async execute({ node_path, animation_name, track_index }, { godot }) {
|
|
280
|
+
const result = await godot.sendCommand('remove_animation_track', { node_path, animation_name, track_index });
|
|
281
|
+
return `Removed track: ${result.removed_track}`;
|
|
282
|
+
},
|
|
283
|
+
});
|
|
284
|
+
export const addKeyframe = defineTool({
|
|
285
|
+
name: 'add_keyframe',
|
|
286
|
+
description: 'Add a keyframe to a track',
|
|
287
|
+
schema: z.object({
|
|
288
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
289
|
+
animation_name: z.string().describe('Animation to modify'),
|
|
290
|
+
track_index: z.number().describe('Track index'),
|
|
291
|
+
time: z.number().describe('Keyframe time in seconds'),
|
|
292
|
+
value: z.unknown().describe('Keyframe value (type depends on track type)'),
|
|
293
|
+
transition: z
|
|
294
|
+
.number()
|
|
295
|
+
.optional()
|
|
296
|
+
.describe('Transition curve (1.0 = linear)'),
|
|
297
|
+
method_name: z
|
|
298
|
+
.string()
|
|
299
|
+
.optional()
|
|
300
|
+
.describe('Method name (for method tracks)'),
|
|
301
|
+
args: z.array(z.unknown()).optional().describe('Method arguments'),
|
|
302
|
+
}),
|
|
303
|
+
async execute({ node_path, animation_name, track_index, time, value, transition, method_name, args, }, { godot }) {
|
|
304
|
+
const result = await godot.sendCommand('add_keyframe', {
|
|
305
|
+
node_path,
|
|
306
|
+
animation_name,
|
|
307
|
+
track_index,
|
|
308
|
+
time,
|
|
309
|
+
value,
|
|
310
|
+
transition,
|
|
311
|
+
method_name,
|
|
312
|
+
args,
|
|
313
|
+
});
|
|
314
|
+
return `Added keyframe ${result.keyframe_index} at ${result.time}s`;
|
|
315
|
+
},
|
|
316
|
+
});
|
|
317
|
+
export const removeKeyframe = defineTool({
|
|
318
|
+
name: 'remove_keyframe',
|
|
319
|
+
description: 'Remove a keyframe from a track',
|
|
320
|
+
schema: z.object({
|
|
321
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
322
|
+
animation_name: z.string().describe('Animation to modify'),
|
|
323
|
+
track_index: z.number().describe('Track index'),
|
|
324
|
+
keyframe_index: z.number().describe('Index of keyframe to remove'),
|
|
325
|
+
}),
|
|
326
|
+
async execute({ node_path, animation_name, track_index, keyframe_index }, { godot }) {
|
|
327
|
+
const result = await godot.sendCommand('remove_keyframe', {
|
|
328
|
+
node_path,
|
|
329
|
+
animation_name,
|
|
330
|
+
track_index,
|
|
331
|
+
keyframe_index,
|
|
332
|
+
});
|
|
333
|
+
return `Removed keyframe ${result.removed_keyframe} from track ${result.track_index}`;
|
|
334
|
+
},
|
|
335
|
+
});
|
|
336
|
+
export const updateKeyframe = defineTool({
|
|
337
|
+
name: 'update_keyframe',
|
|
338
|
+
description: "Update an existing keyframe's value or time",
|
|
339
|
+
schema: z.object({
|
|
340
|
+
node_path: z.string().describe('Path to AnimationPlayer'),
|
|
341
|
+
animation_name: z.string().describe('Animation to modify'),
|
|
342
|
+
track_index: z.number().describe('Track index'),
|
|
343
|
+
keyframe_index: z.number().describe('Keyframe index'),
|
|
344
|
+
time: z.number().optional().describe('New time'),
|
|
345
|
+
value: z.unknown().optional().describe('New value'),
|
|
346
|
+
transition: z.number().optional().describe('New transition curve'),
|
|
347
|
+
}),
|
|
348
|
+
async execute({ node_path, animation_name, track_index, keyframe_index, time, value, transition, }, { godot }) {
|
|
349
|
+
const result = await godot.sendCommand('update_keyframe', {
|
|
350
|
+
node_path,
|
|
351
|
+
animation_name,
|
|
352
|
+
track_index,
|
|
353
|
+
keyframe_index,
|
|
354
|
+
time,
|
|
355
|
+
value,
|
|
356
|
+
transition,
|
|
357
|
+
});
|
|
358
|
+
return `Updated keyframe ${result.updated_keyframe}: ${JSON.stringify(result.changes)}`;
|
|
359
|
+
},
|
|
360
|
+
});
|
|
361
|
+
export const animationTools = [
|
|
362
|
+
listAnimationPlayers,
|
|
363
|
+
getAnimationPlayerInfo,
|
|
364
|
+
getAnimationDetails,
|
|
365
|
+
getTrackKeyframes,
|
|
366
|
+
playAnimation,
|
|
367
|
+
stopAnimation,
|
|
368
|
+
pauseAnimation,
|
|
369
|
+
seekAnimation,
|
|
370
|
+
queueAnimation,
|
|
371
|
+
clearAnimationQueue,
|
|
372
|
+
createAnimation,
|
|
373
|
+
deleteAnimation,
|
|
374
|
+
renameAnimation,
|
|
375
|
+
updateAnimationProperties,
|
|
376
|
+
addAnimationTrack,
|
|
377
|
+
removeAnimationTrack,
|
|
378
|
+
addKeyframe,
|
|
379
|
+
removeKeyframe,
|
|
380
|
+
updateKeyframe,
|
|
381
|
+
];
|
|
382
|
+
//# sourceMappingURL=animation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animation.js","sourceRoot":"","sources":["../../src/tools/animation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAGpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,UAAU,CAAC;IAC7C,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE,6CAA6C;IAC1D,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,SAAS,EAAE,CAAC;aACT,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,4CAA4C,CAAC;KAC1D,CAAC;IACF,KAAK,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE;QACpC,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,WAAW,CAEnC,wBAAwB,EAAE,EAAE,SAAS,EAAE,CAAC,C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AC5B,oBAAoB;IACpB,sBAAsB;IACtB,mBAAmB;IACnB,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,cAAc;IACd,aAAa;IACb,cAAc;IACd,mBAAmB;IACnB,eAAe;IACf,eAAe;IACf,eAAe;IACf,yBAAyB;IACzB,iBAAiB;IACjB,oBAAoB;IACpB,WAAW;IACX,cAAc;IACd,cAAc;CACQ,CAAC"}
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ export { scriptTools } from './script.js';
|
|
|
5
5
|
export { editorTools } from './editor.js';
|
|
6
6
|
export { projectTools } from './project.js';
|
|
7
7
|
export { screenshotTools } from './screenshot.js';
|
|
8
|
+
export { animationTools } from './animation.js';
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AASA,wBAAgB,gBAAgB,IAAI,IAAI,CAQvC;AAED,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist/tools/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import { scriptTools } from './script.js';
|
|
|
5
5
|
import { editorTools } from './editor.js';
|
|
6
6
|
import { projectTools } from './project.js';
|
|
7
7
|
import { screenshotTools } from './screenshot.js';
|
|
8
|
+
import { animationTools } from './animation.js';
|
|
8
9
|
export function registerAllTools() {
|
|
9
10
|
registry.registerTools(sceneTools);
|
|
10
11
|
registry.registerTools(nodeTools);
|
|
@@ -12,6 +13,7 @@ export function registerAllTools() {
|
|
|
12
13
|
registry.registerTools(editorTools);
|
|
13
14
|
registry.registerTools(projectTools);
|
|
14
15
|
registry.registerTools(screenshotTools);
|
|
16
|
+
registry.registerTools(animationTools);
|
|
15
17
|
}
|
|
16
18
|
export { sceneTools } from './scene.js';
|
|
17
19
|
export { nodeTools } from './node.js';
|
|
@@ -19,4 +21,5 @@ export { scriptTools } from './script.js';
|
|
|
19
21
|
export { editorTools } from './editor.js';
|
|
20
22
|
export { projectTools } from './project.js';
|
|
21
23
|
export { screenshotTools } from './screenshot.js';
|
|
24
|
+
export { animationTools } from './animation.js';
|
|
22
25
|
//# sourceMappingURL=index.js.map
|
package/dist/tools/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,W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