godot-mcp-runtime 2.3.0 → 3.0.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/README.md +30 -93
- package/dist/dispatch.d.ts +1 -11
- package/dist/dispatch.d.ts.map +1 -1
- package/dist/dispatch.js +7 -8
- package/dist/dispatch.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -10
- package/dist/index.js.map +1 -1
- package/dist/scripts/godot_operations.gd +134 -283
- package/dist/scripts/mcp_bridge.gd +210 -43
- package/dist/tools/autoload-tools.d.ts +51 -0
- package/dist/tools/autoload-tools.d.ts.map +1 -0
- package/dist/tools/autoload-tools.js +187 -0
- package/dist/tools/autoload-tools.js.map +1 -0
- package/dist/tools/node-tools.d.ts +9 -78
- package/dist/tools/node-tools.d.ts.map +1 -1
- package/dist/tools/node-tools.js +105 -309
- package/dist/tools/node-tools.js.map +1 -1
- package/dist/tools/project-tools.d.ts +0 -168
- package/dist/tools/project-tools.d.ts.map +1 -1
- package/dist/tools/project-tools.js +106 -1192
- package/dist/tools/project-tools.js.map +1 -1
- package/dist/tools/runtime-tools.d.ts +108 -0
- package/dist/tools/runtime-tools.d.ts.map +1 -0
- package/dist/tools/runtime-tools.js +808 -0
- package/dist/tools/runtime-tools.js.map +1 -0
- package/dist/tools/scene-tools.d.ts +6 -48
- package/dist/tools/scene-tools.d.ts.map +1 -1
- package/dist/tools/scene-tools.js +55 -209
- package/dist/tools/scene-tools.js.map +1 -1
- package/dist/tools/validate-tools.d.ts.map +1 -1
- package/dist/tools/validate-tools.js +33 -28
- package/dist/tools/validate-tools.js.map +1 -1
- package/dist/utils/autoload-ini.d.ts +32 -0
- package/dist/utils/autoload-ini.d.ts.map +1 -0
- package/dist/utils/autoload-ini.js +111 -0
- package/dist/utils/autoload-ini.js.map +1 -0
- package/dist/utils/bridge-manager.d.ts +29 -0
- package/dist/utils/bridge-manager.d.ts.map +1 -0
- package/dist/utils/bridge-manager.js +136 -0
- package/dist/utils/bridge-manager.js.map +1 -0
- package/dist/utils/bridge-protocol.d.ts +34 -0
- package/dist/utils/bridge-protocol.d.ts.map +1 -0
- package/dist/utils/bridge-protocol.js +65 -0
- package/dist/utils/bridge-protocol.js.map +1 -0
- package/dist/utils/godot-runner.d.ts +57 -15
- package/dist/utils/godot-runner.d.ts.map +1 -1
- package/dist/utils/godot-runner.js +309 -277
- package/dist/utils/godot-runner.js.map +1 -1
- package/dist/utils/handler-helpers.d.ts +34 -0
- package/dist/utils/handler-helpers.d.ts.map +1 -0
- package/dist/utils/handler-helpers.js +55 -0
- package/dist/utils/handler-helpers.js.map +1 -0
- package/dist/utils/logger.d.ts +3 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +11 -0
- package/dist/utils/logger.js.map +1 -0
- package/package.json +7 -4
|
@@ -1,135 +1,66 @@
|
|
|
1
1
|
import type { GodotRunner, OperationParams, ToolDefinition } from '../utils/godot-runner.js';
|
|
2
2
|
export declare const nodeToolDefinitions: ToolDefinition[];
|
|
3
|
-
export declare function
|
|
3
|
+
export declare function handleDeleteNodes(runner: GodotRunner, args: OperationParams): Promise<import("../utils/godot-runner.js").ToolResponse | {
|
|
4
4
|
content: Array<{
|
|
5
5
|
type: "text";
|
|
6
6
|
text: string;
|
|
7
7
|
}>;
|
|
8
8
|
isError: boolean;
|
|
9
|
-
} | {
|
|
10
|
-
content: {
|
|
11
|
-
type: string;
|
|
12
|
-
text: string;
|
|
13
|
-
}[];
|
|
14
9
|
}>;
|
|
15
|
-
export declare function
|
|
10
|
+
export declare function handleSetNodeProperties(runner: GodotRunner, args: OperationParams): Promise<import("../utils/godot-runner.js").ToolResponse | {
|
|
16
11
|
content: Array<{
|
|
17
12
|
type: "text";
|
|
18
13
|
text: string;
|
|
19
14
|
}>;
|
|
20
15
|
isError: boolean;
|
|
21
|
-
} | {
|
|
22
|
-
content: {
|
|
23
|
-
type: string;
|
|
24
|
-
text: string;
|
|
25
|
-
}[];
|
|
26
16
|
}>;
|
|
27
|
-
export declare function
|
|
17
|
+
export declare function handleGetNodeProperties(runner: GodotRunner, args: OperationParams): Promise<import("../utils/godot-runner.js").ToolResponse | {
|
|
28
18
|
content: Array<{
|
|
29
19
|
type: "text";
|
|
30
20
|
text: string;
|
|
31
21
|
}>;
|
|
32
22
|
isError: boolean;
|
|
33
|
-
} | {
|
|
34
|
-
content: {
|
|
35
|
-
type: string;
|
|
36
|
-
text: string;
|
|
37
|
-
}[];
|
|
38
23
|
}>;
|
|
39
|
-
export declare function
|
|
24
|
+
export declare function handleAttachScript(runner: GodotRunner, args: OperationParams): Promise<import("../utils/godot-runner.js").ToolResponse | {
|
|
40
25
|
content: Array<{
|
|
41
26
|
type: "text";
|
|
42
27
|
text: string;
|
|
43
28
|
}>;
|
|
44
29
|
isError: boolean;
|
|
45
|
-
} | {
|
|
46
|
-
content: {
|
|
47
|
-
type: string;
|
|
48
|
-
text: string;
|
|
49
|
-
}[];
|
|
50
30
|
}>;
|
|
51
|
-
export declare function
|
|
31
|
+
export declare function handleGetSceneTree(runner: GodotRunner, args: OperationParams): Promise<import("../utils/godot-runner.js").ToolResponse | {
|
|
52
32
|
content: Array<{
|
|
53
33
|
type: "text";
|
|
54
34
|
text: string;
|
|
55
35
|
}>;
|
|
56
36
|
isError: boolean;
|
|
57
|
-
} | {
|
|
58
|
-
content: {
|
|
59
|
-
type: string;
|
|
60
|
-
text: string;
|
|
61
|
-
}[];
|
|
62
37
|
}>;
|
|
63
|
-
export declare function
|
|
38
|
+
export declare function handleDuplicateNode(runner: GodotRunner, args: OperationParams): Promise<import("../utils/godot-runner.js").ToolResponse | {
|
|
64
39
|
content: Array<{
|
|
65
40
|
type: "text";
|
|
66
41
|
text: string;
|
|
67
42
|
}>;
|
|
68
43
|
isError: boolean;
|
|
69
|
-
} | {
|
|
70
|
-
content: {
|
|
71
|
-
type: string;
|
|
72
|
-
text: string;
|
|
73
|
-
}[];
|
|
74
44
|
}>;
|
|
75
|
-
export declare function
|
|
45
|
+
export declare function handleGetNodeSignals(runner: GodotRunner, args: OperationParams): Promise<import("../utils/godot-runner.js").ToolResponse | {
|
|
76
46
|
content: Array<{
|
|
77
47
|
type: "text";
|
|
78
48
|
text: string;
|
|
79
49
|
}>;
|
|
80
50
|
isError: boolean;
|
|
81
|
-
} | {
|
|
82
|
-
content: {
|
|
83
|
-
type: string;
|
|
84
|
-
text: string;
|
|
85
|
-
}[];
|
|
86
51
|
}>;
|
|
87
|
-
export declare function
|
|
52
|
+
export declare function handleConnectSignal(runner: GodotRunner, args: OperationParams): Promise<import("../utils/godot-runner.js").ToolResponse | {
|
|
88
53
|
content: Array<{
|
|
89
54
|
type: "text";
|
|
90
55
|
text: string;
|
|
91
56
|
}>;
|
|
92
57
|
isError: boolean;
|
|
93
|
-
} | {
|
|
94
|
-
content: {
|
|
95
|
-
type: string;
|
|
96
|
-
text: string;
|
|
97
|
-
}[];
|
|
98
58
|
}>;
|
|
99
|
-
export declare function
|
|
59
|
+
export declare function handleDisconnectSignal(runner: GodotRunner, args: OperationParams): Promise<import("../utils/godot-runner.js").ToolResponse | {
|
|
100
60
|
content: Array<{
|
|
101
61
|
type: "text";
|
|
102
62
|
text: string;
|
|
103
63
|
}>;
|
|
104
64
|
isError: boolean;
|
|
105
|
-
} | {
|
|
106
|
-
content: {
|
|
107
|
-
type: string;
|
|
108
|
-
text: string;
|
|
109
|
-
}[];
|
|
110
|
-
}>;
|
|
111
|
-
export declare function handleConnectSignal(runner: GodotRunner, args: OperationParams): Promise<{
|
|
112
|
-
content: Array<{
|
|
113
|
-
type: "text";
|
|
114
|
-
text: string;
|
|
115
|
-
}>;
|
|
116
|
-
isError: boolean;
|
|
117
|
-
} | {
|
|
118
|
-
content: {
|
|
119
|
-
type: string;
|
|
120
|
-
text: string;
|
|
121
|
-
}[];
|
|
122
|
-
}>;
|
|
123
|
-
export declare function handleDisconnectSignal(runner: GodotRunner, args: OperationParams): Promise<{
|
|
124
|
-
content: Array<{
|
|
125
|
-
type: "text";
|
|
126
|
-
text: string;
|
|
127
|
-
}>;
|
|
128
|
-
isError: boolean;
|
|
129
|
-
} | {
|
|
130
|
-
content: {
|
|
131
|
-
type: string;
|
|
132
|
-
text: string;
|
|
133
|
-
}[];
|
|
134
65
|
}>;
|
|
135
66
|
//# sourceMappingURL=node-tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-tools.d.ts","sourceRoot":"","sources":["../../src/tools/node-tools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAY7F,eAAO,MAAM,mBAAmB,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"node-tools.d.ts","sourceRoot":"","sources":["../../src/tools/node-tools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAY7F,eAAO,MAAM,mBAAmB,EAAE,cAAc,EAyN/C,CAAC;AAIF,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe;;;;;;GAsBjF;AAED,wBAAsB,uBAAuB,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe;;;;;;GA2BvF;AAED,wBAAsB,uBAAuB,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe;;;;;;GAuBvF;AAED,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe;;;;;;GA8BlF;AAED,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe;;;;;;GAoBlF;AAED,wBAAsB,mBAAmB,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe;;;;;;GAyBnF;AAED,wBAAsB,oBAAoB,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe;;;;;;GAoBpF;AAuCD,wBAAsB,mBAAmB,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe;;;;;;GAoBnF;AAED,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe;;;;;;GAoBtF"}
|