@satelliteoflove/godot-mcp 2.13.0 → 2.14.0
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/addon/plugin.cfg +1 -1
- package/dist/connection/protocol.d.ts +8 -72
- package/dist/connection/protocol.d.ts.map +1 -1
- package/dist/connection/protocol.js +1 -1
- package/dist/connection/protocol.js.map +1 -1
- package/dist/core/schema.d.ts +2 -2
- package/dist/core/schema.d.ts.map +1 -1
- package/dist/core/schema.js +3 -4
- package/dist/core/schema.js.map +1 -1
- package/dist/tools/animation.d.ts +36 -106
- package/dist/tools/animation.d.ts.map +1 -1
- package/dist/tools/docs.d.ts +20 -16
- package/dist/tools/docs.d.ts.map +1 -1
- package/dist/tools/editor.d.ts +25 -53
- package/dist/tools/editor.d.ts.map +1 -1
- package/dist/tools/input.d.ts +8 -52
- package/dist/tools/input.d.ts.map +1 -1
- package/dist/tools/node.d.ts +13 -67
- package/dist/tools/node.d.ts.map +1 -1
- package/dist/tools/node.js +1 -1
- package/dist/tools/node.js.map +1 -1
- package/dist/tools/project.d.ts +6 -10
- package/dist/tools/project.d.ts.map +1 -1
- package/dist/tools/resource.d.ts +5 -23
- package/dist/tools/resource.d.ts.map +1 -1
- package/dist/tools/scene.d.ts +7 -23
- package/dist/tools/scene.d.ts.map +1 -1
- package/dist/tools/scene3d.d.ts +9 -120
- package/dist/tools/scene3d.d.ts.map +1 -1
- package/dist/tools/tilemap.d.ts +41 -368
- package/dist/tools/tilemap.d.ts.map +1 -1
- package/dist/utils/usage-logger.d.ts.map +1 -1
- package/dist/utils/usage-logger.js +7 -2
- package/dist/utils/usage-logger.js.map +1 -1
- package/package.json +3 -4
package/addon/plugin.cfg
CHANGED
|
@@ -3,97 +3,33 @@ export declare const RequestSchema: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
command: z.ZodString;
|
|
5
5
|
params: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6
|
-
},
|
|
7
|
-
id: string;
|
|
8
|
-
command: string;
|
|
9
|
-
params: Record<string, unknown>;
|
|
10
|
-
}, {
|
|
11
|
-
id: string;
|
|
12
|
-
command: string;
|
|
13
|
-
params?: Record<string, unknown> | undefined;
|
|
14
|
-
}>;
|
|
6
|
+
}, z.core.$strip>;
|
|
15
7
|
export type Request = z.infer<typeof RequestSchema>;
|
|
16
8
|
export declare const SuccessResponseSchema: z.ZodObject<{
|
|
17
9
|
id: z.ZodString;
|
|
18
10
|
status: z.ZodLiteral<"success">;
|
|
19
11
|
result: z.ZodUnknown;
|
|
20
|
-
},
|
|
21
|
-
id: string;
|
|
22
|
-
status: "success";
|
|
23
|
-
result?: unknown;
|
|
24
|
-
}, {
|
|
25
|
-
id: string;
|
|
26
|
-
status: "success";
|
|
27
|
-
result?: unknown;
|
|
28
|
-
}>;
|
|
12
|
+
}, z.core.$strip>;
|
|
29
13
|
export declare const ErrorResponseSchema: z.ZodObject<{
|
|
30
14
|
id: z.ZodString;
|
|
31
15
|
status: z.ZodLiteral<"error">;
|
|
32
16
|
error: z.ZodObject<{
|
|
33
17
|
code: z.ZodString;
|
|
34
18
|
message: z.ZodString;
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}, {
|
|
39
|
-
message: string;
|
|
40
|
-
code: string;
|
|
41
|
-
}>;
|
|
42
|
-
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
id: string;
|
|
44
|
-
status: "error";
|
|
45
|
-
error: {
|
|
46
|
-
message: string;
|
|
47
|
-
code: string;
|
|
48
|
-
};
|
|
49
|
-
}, {
|
|
50
|
-
id: string;
|
|
51
|
-
status: "error";
|
|
52
|
-
error: {
|
|
53
|
-
message: string;
|
|
54
|
-
code: string;
|
|
55
|
-
};
|
|
56
|
-
}>;
|
|
57
|
-
export declare const ResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export declare const ResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
58
22
|
id: z.ZodString;
|
|
59
23
|
status: z.ZodLiteral<"success">;
|
|
60
24
|
result: z.ZodUnknown;
|
|
61
|
-
},
|
|
62
|
-
id: string;
|
|
63
|
-
status: "success";
|
|
64
|
-
result?: unknown;
|
|
65
|
-
}, {
|
|
66
|
-
id: string;
|
|
67
|
-
status: "success";
|
|
68
|
-
result?: unknown;
|
|
69
|
-
}>, z.ZodObject<{
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
70
26
|
id: z.ZodString;
|
|
71
27
|
status: z.ZodLiteral<"error">;
|
|
72
28
|
error: z.ZodObject<{
|
|
73
29
|
code: z.ZodString;
|
|
74
30
|
message: z.ZodString;
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
code: string;
|
|
78
|
-
}, {
|
|
79
|
-
message: string;
|
|
80
|
-
code: string;
|
|
81
|
-
}>;
|
|
82
|
-
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
id: string;
|
|
84
|
-
status: "error";
|
|
85
|
-
error: {
|
|
86
|
-
message: string;
|
|
87
|
-
code: string;
|
|
88
|
-
};
|
|
89
|
-
}, {
|
|
90
|
-
id: string;
|
|
91
|
-
status: "error";
|
|
92
|
-
error: {
|
|
93
|
-
message: string;
|
|
94
|
-
code: string;
|
|
95
|
-
};
|
|
96
|
-
}>]>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
}, z.core.$strip>]>;
|
|
97
33
|
export type Response = z.infer<typeof ResponseSchema>;
|
|
98
34
|
export type SuccessResponse = z.infer<typeof SuccessResponseSchema>;
|
|
99
35
|
export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../src/connection/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../src/connection/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,aAAa;;;;iBAIxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,qBAAqB;;;;iBAIhC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;iBAO9B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;mBAAwD,CAAC;AAEpF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GAAG,OAAO,CAM5F;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,IAAI,eAAe,CAEjF;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,IAAI,aAAa,CAE7E"}
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export const RequestSchema = z.object({
|
|
3
3
|
id: z.string(),
|
|
4
4
|
command: z.string(),
|
|
5
|
-
params: z.record(z.unknown()).optional().default({}),
|
|
5
|
+
params: z.record(z.string(), z.unknown()).optional().default({}),
|
|
6
6
|
});
|
|
7
7
|
export const SuccessResponseSchema = z.object({
|
|
8
8
|
id: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../src/connection/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../src/connection/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;CACjE,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC5B,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;CACpB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IAC1B,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,CAAC,CAAC;AAMpF,MAAM,UAAU,aAAa,CAAC,OAAe,EAAE,SAAkC,EAAE;IACjF,OAAO;QACL,EAAE,EAAE,MAAM,CAAC,UAAU,EAAE;QACvB,OAAO;QACP,MAAM;KACP,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,QAAkB;IAClD,OAAO,QAAQ,CAAC,MAAM,KAAK,SAAS,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,QAAkB;IAChD,OAAO,QAAQ,CAAC,MAAM,KAAK,OAAO,CAAC;AACrC,CAAC"}
|
package/dist/core/schema.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export declare function toInputSchema(schema:
|
|
1
|
+
import { type ZodType } from 'zod';
|
|
2
|
+
export declare function toInputSchema(schema: ZodType): object;
|
|
3
3
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/core/schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/core/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAK,KAAK,OAAO,EAAE,MAAM,KAAK,CAAC;AAEtC,wBAAgB,aAAa,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAMrD"}
|
package/dist/core/schema.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
export function toInputSchema(schema) {
|
|
3
|
-
const jsonSchema =
|
|
4
|
-
|
|
5
|
-
target: 'jsonSchema7',
|
|
3
|
+
const jsonSchema = z.toJSONSchema(schema, {
|
|
4
|
+
target: 'draft-07',
|
|
6
5
|
});
|
|
7
6
|
const { $schema, ...rest } = jsonSchema;
|
|
8
7
|
return rest;
|
package/dist/core/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/core/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/core/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAgB,MAAM,KAAK,CAAC;AAEtC,MAAM,UAAU,aAAa,CAAC,MAAe;IAC3C,MAAM,UAAU,GAAG,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;QACxC,MAAM,EAAE,UAAU;KACnB,CAAC,CAAC;IACH,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,UAAqC,CAAC;IACnE,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { AnyToolDefinition } from '../core/types.js';
|
|
3
|
-
export declare const animation: import("../core/types.js").ToolDefinition<z.
|
|
4
|
-
action: z.ZodEnum<
|
|
3
|
+
export declare const animation: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
4
|
+
action: z.ZodEnum<{
|
|
5
|
+
create: "create";
|
|
6
|
+
delete: "delete";
|
|
7
|
+
stop: "stop";
|
|
8
|
+
get_info: "get_info";
|
|
9
|
+
list_players: "list_players";
|
|
10
|
+
get_details: "get_details";
|
|
11
|
+
get_keyframes: "get_keyframes";
|
|
12
|
+
play: "play";
|
|
13
|
+
seek: "seek";
|
|
14
|
+
update_props: "update_props";
|
|
15
|
+
add_track: "add_track";
|
|
16
|
+
remove_track: "remove_track";
|
|
17
|
+
add_keyframe: "add_keyframe";
|
|
18
|
+
remove_keyframe: "remove_keyframe";
|
|
19
|
+
update_keyframe: "update_keyframe";
|
|
20
|
+
}>;
|
|
5
21
|
root_path: z.ZodOptional<z.ZodString>;
|
|
6
22
|
node_path: z.ZodOptional<z.ZodString>;
|
|
7
23
|
animation_name: z.ZodOptional<z.ZodString>;
|
|
@@ -14,117 +30,31 @@ export declare const animation: import("../core/types.js").ToolDefinition<z.ZodE
|
|
|
14
30
|
update: z.ZodOptional<z.ZodBoolean>;
|
|
15
31
|
library_name: z.ZodOptional<z.ZodString>;
|
|
16
32
|
length: z.ZodOptional<z.ZodNumber>;
|
|
17
|
-
loop_mode: z.ZodOptional<z.ZodEnum<
|
|
33
|
+
loop_mode: z.ZodOptional<z.ZodEnum<{
|
|
34
|
+
none: "none";
|
|
35
|
+
linear: "linear";
|
|
36
|
+
pingpong: "pingpong";
|
|
37
|
+
}>>;
|
|
18
38
|
step: z.ZodOptional<z.ZodNumber>;
|
|
19
|
-
track_type: z.ZodOptional<z.ZodEnum<
|
|
39
|
+
track_type: z.ZodOptional<z.ZodEnum<{
|
|
40
|
+
method: "method";
|
|
41
|
+
audio: "audio";
|
|
42
|
+
value: "value";
|
|
43
|
+
position_3d: "position_3d";
|
|
44
|
+
rotation_3d: "rotation_3d";
|
|
45
|
+
scale_3d: "scale_3d";
|
|
46
|
+
blend_shape: "blend_shape";
|
|
47
|
+
bezier: "bezier";
|
|
48
|
+
animation: "animation";
|
|
49
|
+
}>>;
|
|
20
50
|
track_path: z.ZodOptional<z.ZodString>;
|
|
21
51
|
insert_at: z.ZodOptional<z.ZodNumber>;
|
|
22
52
|
time: z.ZodOptional<z.ZodNumber>;
|
|
23
53
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
24
54
|
transition: z.ZodOptional<z.ZodNumber>;
|
|
25
55
|
method_name: z.ZodOptional<z.ZodString>;
|
|
26
|
-
args: z.ZodOptional<z.ZodArray<z.ZodUnknown
|
|
56
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
27
57
|
keyframe_index: z.ZodOptional<z.ZodNumber>;
|
|
28
|
-
},
|
|
29
|
-
action: "create" | "delete" | "stop" | "get_info" | "list_players" | "get_details" | "get_keyframes" | "play" | "seek" | "update_props" | "add_track" | "remove_track" | "add_keyframe" | "remove_keyframe" | "update_keyframe";
|
|
30
|
-
length?: number | undefined;
|
|
31
|
-
value?: unknown;
|
|
32
|
-
update?: boolean | undefined;
|
|
33
|
-
node_path?: string | undefined;
|
|
34
|
-
root_path?: string | undefined;
|
|
35
|
-
method_name?: string | undefined;
|
|
36
|
-
animation_name?: string | undefined;
|
|
37
|
-
track_index?: number | undefined;
|
|
38
|
-
custom_blend?: number | undefined;
|
|
39
|
-
custom_speed?: number | undefined;
|
|
40
|
-
from_end?: boolean | undefined;
|
|
41
|
-
keep_state?: boolean | undefined;
|
|
42
|
-
seconds?: number | undefined;
|
|
43
|
-
library_name?: string | undefined;
|
|
44
|
-
loop_mode?: "none" | "linear" | "pingpong" | undefined;
|
|
45
|
-
step?: number | undefined;
|
|
46
|
-
track_type?: "value" | "method" | "audio" | "position_3d" | "rotation_3d" | "scale_3d" | "blend_shape" | "bezier" | "animation" | undefined;
|
|
47
|
-
track_path?: string | undefined;
|
|
48
|
-
insert_at?: number | undefined;
|
|
49
|
-
time?: number | undefined;
|
|
50
|
-
transition?: number | undefined;
|
|
51
|
-
args?: unknown[] | undefined;
|
|
52
|
-
keyframe_index?: number | undefined;
|
|
53
|
-
}, {
|
|
54
|
-
action: "create" | "delete" | "stop" | "get_info" | "list_players" | "get_details" | "get_keyframes" | "play" | "seek" | "update_props" | "add_track" | "remove_track" | "add_keyframe" | "remove_keyframe" | "update_keyframe";
|
|
55
|
-
length?: number | undefined;
|
|
56
|
-
value?: unknown;
|
|
57
|
-
update?: boolean | undefined;
|
|
58
|
-
node_path?: string | undefined;
|
|
59
|
-
root_path?: string | undefined;
|
|
60
|
-
method_name?: string | undefined;
|
|
61
|
-
animation_name?: string | undefined;
|
|
62
|
-
track_index?: number | undefined;
|
|
63
|
-
custom_blend?: number | undefined;
|
|
64
|
-
custom_speed?: number | undefined;
|
|
65
|
-
from_end?: boolean | undefined;
|
|
66
|
-
keep_state?: boolean | undefined;
|
|
67
|
-
seconds?: number | undefined;
|
|
68
|
-
library_name?: string | undefined;
|
|
69
|
-
loop_mode?: "none" | "linear" | "pingpong" | undefined;
|
|
70
|
-
step?: number | undefined;
|
|
71
|
-
track_type?: "value" | "method" | "audio" | "position_3d" | "rotation_3d" | "scale_3d" | "blend_shape" | "bezier" | "animation" | undefined;
|
|
72
|
-
track_path?: string | undefined;
|
|
73
|
-
insert_at?: number | undefined;
|
|
74
|
-
time?: number | undefined;
|
|
75
|
-
transition?: number | undefined;
|
|
76
|
-
args?: unknown[] | undefined;
|
|
77
|
-
keyframe_index?: number | undefined;
|
|
78
|
-
}>, {
|
|
79
|
-
action: "create" | "delete" | "stop" | "get_info" | "list_players" | "get_details" | "get_keyframes" | "play" | "seek" | "update_props" | "add_track" | "remove_track" | "add_keyframe" | "remove_keyframe" | "update_keyframe";
|
|
80
|
-
length?: number | undefined;
|
|
81
|
-
value?: unknown;
|
|
82
|
-
update?: boolean | undefined;
|
|
83
|
-
node_path?: string | undefined;
|
|
84
|
-
root_path?: string | undefined;
|
|
85
|
-
method_name?: string | undefined;
|
|
86
|
-
animation_name?: string | undefined;
|
|
87
|
-
track_index?: number | undefined;
|
|
88
|
-
custom_blend?: number | undefined;
|
|
89
|
-
custom_speed?: number | undefined;
|
|
90
|
-
from_end?: boolean | undefined;
|
|
91
|
-
keep_state?: boolean | undefined;
|
|
92
|
-
seconds?: number | undefined;
|
|
93
|
-
library_name?: string | undefined;
|
|
94
|
-
loop_mode?: "none" | "linear" | "pingpong" | undefined;
|
|
95
|
-
step?: number | undefined;
|
|
96
|
-
track_type?: "value" | "method" | "audio" | "position_3d" | "rotation_3d" | "scale_3d" | "blend_shape" | "bezier" | "animation" | undefined;
|
|
97
|
-
track_path?: string | undefined;
|
|
98
|
-
insert_at?: number | undefined;
|
|
99
|
-
time?: number | undefined;
|
|
100
|
-
transition?: number | undefined;
|
|
101
|
-
args?: unknown[] | undefined;
|
|
102
|
-
keyframe_index?: number | undefined;
|
|
103
|
-
}, {
|
|
104
|
-
action: "create" | "delete" | "stop" | "get_info" | "list_players" | "get_details" | "get_keyframes" | "play" | "seek" | "update_props" | "add_track" | "remove_track" | "add_keyframe" | "remove_keyframe" | "update_keyframe";
|
|
105
|
-
length?: number | undefined;
|
|
106
|
-
value?: unknown;
|
|
107
|
-
update?: boolean | undefined;
|
|
108
|
-
node_path?: string | undefined;
|
|
109
|
-
root_path?: string | undefined;
|
|
110
|
-
method_name?: string | undefined;
|
|
111
|
-
animation_name?: string | undefined;
|
|
112
|
-
track_index?: number | undefined;
|
|
113
|
-
custom_blend?: number | undefined;
|
|
114
|
-
custom_speed?: number | undefined;
|
|
115
|
-
from_end?: boolean | undefined;
|
|
116
|
-
keep_state?: boolean | undefined;
|
|
117
|
-
seconds?: number | undefined;
|
|
118
|
-
library_name?: string | undefined;
|
|
119
|
-
loop_mode?: "none" | "linear" | "pingpong" | undefined;
|
|
120
|
-
step?: number | undefined;
|
|
121
|
-
track_type?: "value" | "method" | "audio" | "position_3d" | "rotation_3d" | "scale_3d" | "blend_shape" | "bezier" | "animation" | undefined;
|
|
122
|
-
track_path?: string | undefined;
|
|
123
|
-
insert_at?: number | undefined;
|
|
124
|
-
time?: number | undefined;
|
|
125
|
-
transition?: number | undefined;
|
|
126
|
-
args?: unknown[] | undefined;
|
|
127
|
-
keyframe_index?: number | undefined;
|
|
128
|
-
}>>;
|
|
58
|
+
}, z.core.$strip>>;
|
|
129
59
|
export declare const animationTools: AnyToolDefinition[];
|
|
130
60
|
//# sourceMappingURL=animation.d.ts.map
|
|
@@ -1 +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,MAAM,kBAAkB,CAAC;AA4G1D,eAAO,MAAM,SAAS
|
|
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,MAAM,kBAAkB,CAAC;AA4G1D,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAuMpB,CAAC;AAEH,eAAO,MAAM,cAAc,EAAkB,iBAAiB,EAAE,CAAC"}
|
package/dist/tools/docs.d.ts
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { AnyToolDefinition } from '../core/types.js';
|
|
3
3
|
export declare const docs: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
4
|
-
action: z.ZodEnum<
|
|
4
|
+
action: z.ZodEnum<{
|
|
5
|
+
fetch_class: "fetch_class";
|
|
6
|
+
fetch_page: "fetch_page";
|
|
7
|
+
}>;
|
|
5
8
|
class_name: z.ZodOptional<z.ZodString>;
|
|
6
9
|
path: z.ZodOptional<z.ZodString>;
|
|
7
|
-
version: z.ZodOptional<z.ZodEnum<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
10
|
+
version: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
stable: "stable";
|
|
12
|
+
latest: "latest";
|
|
13
|
+
4.5: "4.5";
|
|
14
|
+
4.4: "4.4";
|
|
15
|
+
4.3: "4.3";
|
|
16
|
+
4.2: "4.2";
|
|
17
|
+
}>>;
|
|
18
|
+
section: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
19
|
+
description: "description";
|
|
20
|
+
properties: "properties";
|
|
21
|
+
full: "full";
|
|
22
|
+
methods: "methods";
|
|
23
|
+
signals: "signals";
|
|
24
|
+
}>>>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
22
26
|
export declare const docsTools: AnyToolDefinition[];
|
|
23
27
|
//# sourceMappingURL=docs.d.ts.map
|
package/dist/tools/docs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/tools/docs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,iBAAiB,EAAe,MAAM,kBAAkB,CAAC;AA8IvE,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/tools/docs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,iBAAiB,EAAe,MAAM,kBAAkB,CAAC;AA8IvE,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;kBAwCf,CAAC;AAEH,eAAO,MAAM,SAAS,EAAa,iBAAiB,EAAE,CAAC"}
|
package/dist/tools/editor.d.ts
CHANGED
|
@@ -1,65 +1,37 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { AnyToolDefinition } from '../core/types.js';
|
|
3
|
-
export declare const editor: import("../core/types.js").ToolDefinition<z.
|
|
4
|
-
action: z.ZodEnum<
|
|
3
|
+
export declare const editor: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
4
|
+
action: z.ZodEnum<{
|
|
5
|
+
get_state: "get_state";
|
|
6
|
+
get_selection: "get_selection";
|
|
7
|
+
select: "select";
|
|
8
|
+
run: "run";
|
|
9
|
+
stop: "stop";
|
|
10
|
+
get_debug_output: "get_debug_output";
|
|
11
|
+
get_log_messages: "get_log_messages";
|
|
12
|
+
get_errors: "get_errors";
|
|
13
|
+
get_stack_trace: "get_stack_trace";
|
|
14
|
+
get_performance: "get_performance";
|
|
15
|
+
screenshot_game: "screenshot_game";
|
|
16
|
+
screenshot_editor: "screenshot_editor";
|
|
17
|
+
set_viewport_2d: "set_viewport_2d";
|
|
18
|
+
}>;
|
|
5
19
|
node_path: z.ZodOptional<z.ZodString>;
|
|
6
20
|
scene_path: z.ZodOptional<z.ZodString>;
|
|
7
21
|
clear: z.ZodOptional<z.ZodBoolean>;
|
|
8
22
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
source: z.ZodOptional<z.ZodEnum<
|
|
10
|
-
|
|
23
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
editor: "editor";
|
|
25
|
+
game: "game";
|
|
26
|
+
}>>;
|
|
27
|
+
viewport: z.ZodOptional<z.ZodEnum<{
|
|
28
|
+
"2d": "2d";
|
|
29
|
+
"3d": "3d";
|
|
30
|
+
}>>;
|
|
11
31
|
max_width: z.ZodOptional<z.ZodNumber>;
|
|
12
32
|
center_x: z.ZodOptional<z.ZodNumber>;
|
|
13
33
|
center_y: z.ZodOptional<z.ZodNumber>;
|
|
14
34
|
zoom: z.ZodOptional<z.ZodNumber>;
|
|
15
|
-
},
|
|
16
|
-
action: "run" | "get_state" | "get_selection" | "select" | "stop" | "get_debug_output" | "get_log_messages" | "get_errors" | "get_stack_trace" | "get_performance" | "screenshot_game" | "screenshot_editor" | "set_viewport_2d";
|
|
17
|
-
scene_path?: string | undefined;
|
|
18
|
-
node_path?: string | undefined;
|
|
19
|
-
clear?: boolean | undefined;
|
|
20
|
-
limit?: number | undefined;
|
|
21
|
-
source?: "editor" | "game" | undefined;
|
|
22
|
-
viewport?: "2d" | "3d" | undefined;
|
|
23
|
-
max_width?: number | undefined;
|
|
24
|
-
center_x?: number | undefined;
|
|
25
|
-
center_y?: number | undefined;
|
|
26
|
-
zoom?: number | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
action: "run" | "get_state" | "get_selection" | "select" | "stop" | "get_debug_output" | "get_log_messages" | "get_errors" | "get_stack_trace" | "get_performance" | "screenshot_game" | "screenshot_editor" | "set_viewport_2d";
|
|
29
|
-
scene_path?: string | undefined;
|
|
30
|
-
node_path?: string | undefined;
|
|
31
|
-
clear?: boolean | undefined;
|
|
32
|
-
limit?: number | undefined;
|
|
33
|
-
source?: "editor" | "game" | undefined;
|
|
34
|
-
viewport?: "2d" | "3d" | undefined;
|
|
35
|
-
max_width?: number | undefined;
|
|
36
|
-
center_x?: number | undefined;
|
|
37
|
-
center_y?: number | undefined;
|
|
38
|
-
zoom?: number | undefined;
|
|
39
|
-
}>, {
|
|
40
|
-
action: "run" | "get_state" | "get_selection" | "select" | "stop" | "get_debug_output" | "get_log_messages" | "get_errors" | "get_stack_trace" | "get_performance" | "screenshot_game" | "screenshot_editor" | "set_viewport_2d";
|
|
41
|
-
scene_path?: string | undefined;
|
|
42
|
-
node_path?: string | undefined;
|
|
43
|
-
clear?: boolean | undefined;
|
|
44
|
-
limit?: number | undefined;
|
|
45
|
-
source?: "editor" | "game" | undefined;
|
|
46
|
-
viewport?: "2d" | "3d" | undefined;
|
|
47
|
-
max_width?: number | undefined;
|
|
48
|
-
center_x?: number | undefined;
|
|
49
|
-
center_y?: number | undefined;
|
|
50
|
-
zoom?: number | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
action: "run" | "get_state" | "get_selection" | "select" | "stop" | "get_debug_output" | "get_log_messages" | "get_errors" | "get_stack_trace" | "get_performance" | "screenshot_game" | "screenshot_editor" | "set_viewport_2d";
|
|
53
|
-
scene_path?: string | undefined;
|
|
54
|
-
node_path?: string | undefined;
|
|
55
|
-
clear?: boolean | undefined;
|
|
56
|
-
limit?: number | undefined;
|
|
57
|
-
source?: "editor" | "game" | undefined;
|
|
58
|
-
viewport?: "2d" | "3d" | undefined;
|
|
59
|
-
max_width?: number | undefined;
|
|
60
|
-
center_x?: number | undefined;
|
|
61
|
-
center_y?: number | undefined;
|
|
62
|
-
zoom?: number | undefined;
|
|
63
|
-
}>>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
64
36
|
export declare const editorTools: AnyToolDefinition[];
|
|
65
37
|
//# sourceMappingURL=editor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../src/tools/editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,iBAAiB,EAAyB,MAAM,kBAAkB,CAAC;AAmHjF,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../src/tools/editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,iBAAiB,EAAyB,MAAM,kBAAkB,CAAC;AAmHjF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyJjB,CAAC;AAEH,eAAO,MAAM,WAAW,EAAe,iBAAiB,EAAE,CAAC"}
|
package/dist/tools/input.d.ts
CHANGED
|
@@ -1,63 +1,19 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { AnyToolDefinition } from '../core/types.js';
|
|
3
|
-
export declare const input: import("../core/types.js").ToolDefinition<z.
|
|
4
|
-
action: z.ZodEnum<
|
|
3
|
+
export declare const input: import("../core/types.js").ToolDefinition<z.ZodObject<{
|
|
4
|
+
action: z.ZodEnum<{
|
|
5
|
+
get_map: "get_map";
|
|
6
|
+
sequence: "sequence";
|
|
7
|
+
type_text: "type_text";
|
|
8
|
+
}>;
|
|
5
9
|
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6
10
|
action_name: z.ZodString;
|
|
7
11
|
start_ms: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
8
12
|
duration_ms: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
9
|
-
},
|
|
10
|
-
action_name: string;
|
|
11
|
-
start_ms: number;
|
|
12
|
-
duration_ms: number;
|
|
13
|
-
}, {
|
|
14
|
-
action_name: string;
|
|
15
|
-
start_ms?: number | undefined;
|
|
16
|
-
duration_ms?: number | undefined;
|
|
17
|
-
}>, "many">>;
|
|
13
|
+
}, z.core.$strip>>>;
|
|
18
14
|
text: z.ZodOptional<z.ZodString>;
|
|
19
15
|
delay_ms: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
20
16
|
submit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
21
|
-
},
|
|
22
|
-
action: "get_map" | "sequence" | "type_text";
|
|
23
|
-
delay_ms: number;
|
|
24
|
-
submit: boolean;
|
|
25
|
-
text?: string | undefined;
|
|
26
|
-
inputs?: {
|
|
27
|
-
action_name: string;
|
|
28
|
-
start_ms: number;
|
|
29
|
-
duration_ms: number;
|
|
30
|
-
}[] | undefined;
|
|
31
|
-
}, {
|
|
32
|
-
action: "get_map" | "sequence" | "type_text";
|
|
33
|
-
text?: string | undefined;
|
|
34
|
-
inputs?: {
|
|
35
|
-
action_name: string;
|
|
36
|
-
start_ms?: number | undefined;
|
|
37
|
-
duration_ms?: number | undefined;
|
|
38
|
-
}[] | undefined;
|
|
39
|
-
delay_ms?: number | undefined;
|
|
40
|
-
submit?: boolean | undefined;
|
|
41
|
-
}>, {
|
|
42
|
-
action: "get_map" | "sequence" | "type_text";
|
|
43
|
-
delay_ms: number;
|
|
44
|
-
submit: boolean;
|
|
45
|
-
text?: string | undefined;
|
|
46
|
-
inputs?: {
|
|
47
|
-
action_name: string;
|
|
48
|
-
start_ms: number;
|
|
49
|
-
duration_ms: number;
|
|
50
|
-
}[] | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
action: "get_map" | "sequence" | "type_text";
|
|
53
|
-
text?: string | undefined;
|
|
54
|
-
inputs?: {
|
|
55
|
-
action_name: string;
|
|
56
|
-
start_ms?: number | undefined;
|
|
57
|
-
duration_ms?: number | undefined;
|
|
58
|
-
}[] | undefined;
|
|
59
|
-
delay_ms?: number | undefined;
|
|
60
|
-
submit?: boolean | undefined;
|
|
61
|
-
}>>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
62
18
|
export declare const inputTools: AnyToolDefinition[];
|
|
63
19
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/tools/input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAwD1D,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/tools/input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAwD1D,eAAO,MAAM,KAAK;;;;;;;;;;;;;;kBA4DhB,CAAC;AAEH,eAAO,MAAM,UAAU,EAAc,iBAAiB,EAAE,CAAC"}
|