cwtools-shared 0.3.0 → 0.4.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/dist/debug/zz.d.ts +1 -0
- package/dist/debug/zz.js +12 -0
- package/dist/generated/mcpTools.d.ts +4 -4
- package/dist/generated/mcpTools.js +4 -4
- package/dist/host/capabilities.js +4 -0
- package/dist/host/diagnostics.d.ts +3 -0
- package/dist/host/filesystem.d.ts +2 -0
- package/dist/host/hostServices.d.ts +42 -0
- package/dist/host/indexing.d.ts +3 -0
- package/dist/host/readiness.js +10 -0
- package/dist/index.d.ts +12 -1
- package/dist/index.js +18 -1
- package/dist/knowledge/interfaceKnowledge.d.ts +8 -0
- package/dist/knowledge/interfaceKnowledge.js +222 -0
- package/dist/project/descriptor.d.ts +12 -0
- package/dist/project/descriptor.js +69 -0
- package/dist/project/init.d.ts +11 -0
- package/dist/project/init.js +356 -0
- package/dist/project/knowledge.d.ts +6 -0
- package/dist/project/knowledge.js +20 -8
- package/dist/project/profile.d.ts +62 -7
- package/dist/project/profile.js +4 -3
- package/dist/project/profileBuilder.d.ts +31 -0
- package/dist/project/profileBuilder.js +989 -0
- package/dist/tools/archetypeArtifacts.d.ts +29 -0
- package/dist/tools/archetypeArtifacts.js +136 -0
- package/dist/tools/archetypeSlots.d.ts +32 -0
- package/dist/tools/archetypeSlots.js +257 -0
- package/dist/tools/archetypeTools.d.ts +4 -0
- package/dist/tools/archetypeTools.js +118 -0
- package/dist/tools/callHandler.js +11 -7
- package/dist/tools/catalog.d.ts +4094 -0
- package/dist/tools/catalog.js +5031 -0
- package/dist/tools/domainTools.d.ts +8 -0
- package/dist/tools/domainTools.js +222 -0
- package/dist/tools/mcpSchema.d.ts +8 -11
- package/dist/tools/mcpSchema.js +28 -8
- package/dist/tools/mediaWrites.d.ts +52 -0
- package/dist/tools/mediaWrites.js +322 -0
- package/dist/tools/names.d.ts +4 -4
- package/dist/tools/names.js +13 -0
- package/dist/tools/pdxWriteCore.d.ts +51 -0
- package/dist/tools/pdxWriteCore.js +628 -0
- package/dist/tools/pdxWrites.d.ts +88 -0
- package/dist/tools/pdxWrites.js +629 -0
- package/dist/tools/scopeBridge.d.ts +36 -0
- package/dist/tools/scopeBridge.js +173 -0
- package/dist/tools/symbols.js +22 -2
- package/dist/tools/toolHandlers.js +98 -8
- package/package.json +1 -1
|
@@ -0,0 +1,4094 @@
|
|
|
1
|
+
export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
2
|
+
readonly tool: {
|
|
3
|
+
readonly name: "query_types";
|
|
4
|
+
readonly description: "Warning: MANDATORY before using any game ID. Query defined instances of a current-game PDXScript type from mod + vanilla cache. PDXscript IDs are routinely hallucinated - always verify through this tool. Set filter to narrow results.";
|
|
5
|
+
readonly inputSchema: {
|
|
6
|
+
readonly type: "object";
|
|
7
|
+
readonly properties: {
|
|
8
|
+
readonly typeName: {
|
|
9
|
+
readonly type: "string";
|
|
10
|
+
readonly description: "Exact current-game type name returned by query_cwt_schema, completion, or another typed LSP result.";
|
|
11
|
+
};
|
|
12
|
+
readonly filter: {
|
|
13
|
+
readonly type: "string";
|
|
14
|
+
readonly description: "Prefix or substring filter. ALWAYS use when looking up a specific vanilla ID to avoid unrelated results.";
|
|
15
|
+
};
|
|
16
|
+
readonly limit: {
|
|
17
|
+
readonly type: "number";
|
|
18
|
+
readonly description: "Max results to return (default 30, keep low for token efficiency)";
|
|
19
|
+
};
|
|
20
|
+
readonly vanilla: {
|
|
21
|
+
readonly type: "boolean";
|
|
22
|
+
readonly description: "If true, return ONLY vanilla game definitions. If false (default), return mod + vanilla combined.";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
readonly required: readonly ["typeName"];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
readonly registry: {
|
|
29
|
+
readonly name: "query_types";
|
|
30
|
+
readonly isWrite: false;
|
|
31
|
+
readonly isReadOnly: true;
|
|
32
|
+
readonly effect: "workspace_read";
|
|
33
|
+
readonly riskLevel: 0;
|
|
34
|
+
readonly concurrencyClass: "parallel";
|
|
35
|
+
readonly mcpSupportsCwtOnly: false;
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
readonly tool: {
|
|
39
|
+
readonly name: "query_rules";
|
|
40
|
+
readonly description: "Query syntax rules for triggers, effects, scope changes, or modifiers from CWT/LSP-backed rule evidence. Returns hardFacts (legal syntax/scopes/push_scope/type filters) plus semanticHints from trigger_docs.log/scopes.cwt comments. Treat semanticHints as search guidance, not proof of legality. Fuzzy-matches if exact name not found.";
|
|
41
|
+
readonly inputSchema: {
|
|
42
|
+
readonly type: "object";
|
|
43
|
+
readonly properties: {
|
|
44
|
+
readonly category: {
|
|
45
|
+
readonly type: "string";
|
|
46
|
+
readonly enum: readonly ["trigger", "effect", "scope_change", "modifier"];
|
|
47
|
+
readonly description: "Rule category";
|
|
48
|
+
};
|
|
49
|
+
readonly name: {
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
readonly description: "Specific rule name (optional, lists all if omitted or returns fuzzy matches if exact miss)";
|
|
52
|
+
};
|
|
53
|
+
readonly scope: {
|
|
54
|
+
readonly type: "string";
|
|
55
|
+
readonly description: "Filter by an exact supported scope returned by query_scope/explain_scope. Optional, but heavily recommended.";
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
readonly required: readonly ["category"];
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
readonly registry: {
|
|
62
|
+
readonly name: "query_rules";
|
|
63
|
+
readonly isWrite: false;
|
|
64
|
+
readonly isReadOnly: true;
|
|
65
|
+
readonly effect: "workspace_read";
|
|
66
|
+
readonly riskLevel: 0;
|
|
67
|
+
readonly concurrencyClass: "parallel";
|
|
68
|
+
readonly mcpSupportsCwtOnly: false;
|
|
69
|
+
};
|
|
70
|
+
}, {
|
|
71
|
+
readonly tool: {
|
|
72
|
+
readonly name: "query_cwt_schema";
|
|
73
|
+
readonly description: "CWT-FIRST schema lookup for entity definitions and other non-trigger/effect rules. Use BEFORE writing or planning a PDXScript target. Pass the actual project file/directory plus an optional field/rule name. Returns active CWT source snippets, line numbers, and parsed type/path/subtype entity summaries. If snippets are structural only, confirm intent from verified current-version examples.";
|
|
74
|
+
readonly inputSchema: {
|
|
75
|
+
readonly type: "object";
|
|
76
|
+
readonly properties: {
|
|
77
|
+
readonly target: {
|
|
78
|
+
readonly type: "string";
|
|
79
|
+
readonly description: "Actual project file/directory or a CWT-relative path returned by active schema metadata.";
|
|
80
|
+
};
|
|
81
|
+
readonly file: {
|
|
82
|
+
readonly type: "string";
|
|
83
|
+
readonly description: "Alias for target when you have a concrete project file path.";
|
|
84
|
+
};
|
|
85
|
+
readonly directory: {
|
|
86
|
+
readonly type: "string";
|
|
87
|
+
readonly description: "Alias for target when an active project/schema result supplied the entity directory.";
|
|
88
|
+
};
|
|
89
|
+
readonly name: {
|
|
90
|
+
readonly type: "string";
|
|
91
|
+
readonly description: "Optional field, type, alias, or rule name to locate inside matched CWT files.";
|
|
92
|
+
};
|
|
93
|
+
readonly includeContent: {
|
|
94
|
+
readonly type: "boolean";
|
|
95
|
+
readonly description: "If true, return a larger excerpt from matched schema files. Default false.";
|
|
96
|
+
};
|
|
97
|
+
readonly limit: {
|
|
98
|
+
readonly type: "number";
|
|
99
|
+
readonly description: "Maximum CWT files to return. Default 5, max 20.";
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
readonly required: readonly [];
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
readonly registry: {
|
|
106
|
+
readonly name: "query_cwt_schema";
|
|
107
|
+
readonly isWrite: false;
|
|
108
|
+
readonly isReadOnly: true;
|
|
109
|
+
readonly effect: "workspace_read";
|
|
110
|
+
readonly riskLevel: 0;
|
|
111
|
+
readonly concurrencyClass: "parallel";
|
|
112
|
+
readonly mcpSupportsCwtOnly: false;
|
|
113
|
+
};
|
|
114
|
+
}, {
|
|
115
|
+
readonly tool: {
|
|
116
|
+
readonly name: "query_override_modes";
|
|
117
|
+
readonly description: "Query the authoritative override/load-order strategy for the exact intended target path before choosing a filename, same-key override, or whole-file replacement. The response includes `matched`, `matchedModeInfo`, the full `modeInfo` legend, and a normalized `decision` with `requiredApproach` and `forbiddenApproaches`. Follow that decision literally: never reuse a technique from another strategy or convert a matched LIOS path into a FIOS-style early-sorting/full-file override.";
|
|
118
|
+
readonly inputSchema: {
|
|
119
|
+
readonly type: "object";
|
|
120
|
+
readonly properties: {
|
|
121
|
+
readonly path: {
|
|
122
|
+
readonly type: "string";
|
|
123
|
+
readonly description: "Actual file or directory path to match. The server uses the longest active CWT path prefix.";
|
|
124
|
+
};
|
|
125
|
+
readonly limit: {
|
|
126
|
+
readonly type: "number";
|
|
127
|
+
readonly description: "Maximum modes to return when listing all active modes. Default 250.";
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
readonly required: readonly [];
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
readonly registry: {
|
|
134
|
+
readonly name: "query_override_modes";
|
|
135
|
+
readonly isWrite: false;
|
|
136
|
+
readonly isReadOnly: true;
|
|
137
|
+
readonly effect: "workspace_read";
|
|
138
|
+
readonly riskLevel: 0;
|
|
139
|
+
readonly concurrencyClass: "parallel";
|
|
140
|
+
readonly mcpSupportsCwtOnly: false;
|
|
141
|
+
};
|
|
142
|
+
}, {
|
|
143
|
+
readonly tool: {
|
|
144
|
+
readonly name: "search_rule_capabilities";
|
|
145
|
+
readonly description: "Search CWT/LSP rule evidence by intent and scope capability instead of guessing a rule name. Use this when you know what you want to do but do not know the exact trigger/effect/scope_change name. Returns ranked candidates with hardFacts and semanticHints; validate the selected rule before writing.";
|
|
146
|
+
readonly inputSchema: {
|
|
147
|
+
readonly type: "object";
|
|
148
|
+
readonly properties: {
|
|
149
|
+
readonly intent: {
|
|
150
|
+
readonly type: "string";
|
|
151
|
+
readonly description: "Natural-language intent. Exact current-game terms from CWT docs improve ranking.";
|
|
152
|
+
};
|
|
153
|
+
readonly category: {
|
|
154
|
+
readonly type: "string";
|
|
155
|
+
readonly enum: readonly ["trigger", "effect", "scope_change", "modifier", "all"];
|
|
156
|
+
readonly description: "Optional CWT rule category filter.";
|
|
157
|
+
};
|
|
158
|
+
readonly currentScope: {
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
readonly description: "Optional exact current CWT scope returned by query_scope.";
|
|
161
|
+
};
|
|
162
|
+
readonly desiredPushScope: {
|
|
163
|
+
readonly type: "string";
|
|
164
|
+
readonly description: "Optional exact resulting scope returned by explain_scope/schema evidence.";
|
|
165
|
+
};
|
|
166
|
+
readonly limit: {
|
|
167
|
+
readonly type: "number";
|
|
168
|
+
readonly description: "Maximum candidates to return. Default 10, max 50.";
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
readonly required: readonly [];
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
readonly registry: {
|
|
175
|
+
readonly name: "search_rule_capabilities";
|
|
176
|
+
readonly isWrite: false;
|
|
177
|
+
readonly isReadOnly: true;
|
|
178
|
+
readonly effect: "workspace_read";
|
|
179
|
+
readonly riskLevel: 0;
|
|
180
|
+
readonly concurrencyClass: "parallel";
|
|
181
|
+
readonly mcpSupportsCwtOnly: false;
|
|
182
|
+
};
|
|
183
|
+
}, {
|
|
184
|
+
readonly tool: {
|
|
185
|
+
readonly name: "explain_scope";
|
|
186
|
+
readonly description: "Explain a current CWT scope from scopes.cwt, including aliases, is_subscope_of, source location, and semantic hints. Scope descriptions are hints, not legality proof.";
|
|
187
|
+
readonly inputSchema: {
|
|
188
|
+
readonly type: "object";
|
|
189
|
+
readonly properties: {
|
|
190
|
+
readonly scope: {
|
|
191
|
+
readonly type: "string";
|
|
192
|
+
readonly description: "Exact scope or alias observed in current CWT/LSP output.";
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
readonly required: readonly ["scope"];
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
readonly registry: {
|
|
199
|
+
readonly name: "explain_scope";
|
|
200
|
+
readonly isWrite: false;
|
|
201
|
+
readonly isReadOnly: true;
|
|
202
|
+
readonly effect: "workspace_read";
|
|
203
|
+
readonly riskLevel: 0;
|
|
204
|
+
readonly concurrencyClass: "parallel";
|
|
205
|
+
readonly mcpSupportsCwtOnly: false;
|
|
206
|
+
};
|
|
207
|
+
}, {
|
|
208
|
+
readonly tool: {
|
|
209
|
+
readonly name: "parse_pdx_fragment";
|
|
210
|
+
readonly description: "Parse a PDXScript fragment through the CWTools language server without writing a file. Use this for quick syntax, brace, and recovery checks after selecting rules. This is not a full semantic validation substitute; final project edits still need get_diagnostics/completions or verified examples.";
|
|
211
|
+
readonly inputSchema: {
|
|
212
|
+
readonly type: "object";
|
|
213
|
+
readonly properties: {
|
|
214
|
+
readonly code: {
|
|
215
|
+
readonly type: "string";
|
|
216
|
+
readonly description: "PDXScript fragment text to parse.";
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
readonly required: readonly ["code"];
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
readonly registry: {
|
|
223
|
+
readonly name: "parse_pdx_fragment";
|
|
224
|
+
readonly isWrite: false;
|
|
225
|
+
readonly isReadOnly: true;
|
|
226
|
+
readonly effect: "workspace_read";
|
|
227
|
+
readonly riskLevel: 0;
|
|
228
|
+
readonly concurrencyClass: "parallel";
|
|
229
|
+
readonly mcpSupportsCwtOnly: false;
|
|
230
|
+
};
|
|
231
|
+
}, {
|
|
232
|
+
readonly tool: {
|
|
233
|
+
readonly name: "query_scope";
|
|
234
|
+
readonly description: "Query the scope context at a specific position in a file. Returns current/root/prior scope chains plus provenance and inference evidence reported by CWTools. Use it to determine which active CWT rules are valid at that position.";
|
|
235
|
+
readonly inputSchema: {
|
|
236
|
+
readonly type: "object";
|
|
237
|
+
readonly properties: {
|
|
238
|
+
readonly file: {
|
|
239
|
+
readonly type: "string";
|
|
240
|
+
readonly description: "Absolute path inside the workspace or a configured game installation.";
|
|
241
|
+
};
|
|
242
|
+
readonly line: {
|
|
243
|
+
readonly type: "integer";
|
|
244
|
+
readonly minimum: 0;
|
|
245
|
+
readonly description: "Line number (0-based)";
|
|
246
|
+
};
|
|
247
|
+
readonly column: {
|
|
248
|
+
readonly type: "integer";
|
|
249
|
+
readonly minimum: 0;
|
|
250
|
+
readonly description: "Column number (0-based)";
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
readonly required: readonly ["file", "line", "column"];
|
|
254
|
+
readonly additionalProperties: false;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
readonly registry: {
|
|
258
|
+
readonly name: "query_scope";
|
|
259
|
+
readonly isWrite: false;
|
|
260
|
+
readonly isReadOnly: true;
|
|
261
|
+
readonly effect: "workspace_read";
|
|
262
|
+
readonly riskLevel: 0;
|
|
263
|
+
readonly concurrencyClass: "parallel";
|
|
264
|
+
readonly mcpSupportsCwtOnly: false;
|
|
265
|
+
};
|
|
266
|
+
}, {
|
|
267
|
+
readonly tool: {
|
|
268
|
+
readonly name: "get_diagnostics";
|
|
269
|
+
readonly description: "Get errors, warnings, information, and hints from the VS Code Problems diagnostics snapshot, optionally filtered by file and severity. Counts are workspace-wide; diagnostics hidden by the workspace ignore list are reported through suppressedCount and still count in totalCount. Check truncated before treating the returned list as complete.";
|
|
270
|
+
readonly inputSchema: {
|
|
271
|
+
readonly type: "object";
|
|
272
|
+
readonly properties: {
|
|
273
|
+
readonly file: {
|
|
274
|
+
readonly type: "string";
|
|
275
|
+
readonly description: "Optional: restrict to one file, as an absolute path or a workspace-relative path. Leave empty to get all workspace diagnostics.";
|
|
276
|
+
};
|
|
277
|
+
readonly severity: {
|
|
278
|
+
readonly type: "string";
|
|
279
|
+
readonly enum: readonly ["error", "warning", "info", "hint", "all"];
|
|
280
|
+
readonly description: "Exact severity filter: \"error\" returns only errors. Default: \"all\"";
|
|
281
|
+
};
|
|
282
|
+
readonly limit: {
|
|
283
|
+
readonly type: "number";
|
|
284
|
+
readonly description: "Max diagnostics to return (default 500, max 2000). For full project reviews, omit this parameter to get all diagnostics. Only set a low limit when you want a quick summary.";
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
readonly required: readonly [];
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
readonly registry: {
|
|
291
|
+
readonly name: "get_diagnostics";
|
|
292
|
+
readonly isWrite: false;
|
|
293
|
+
readonly isReadOnly: true;
|
|
294
|
+
readonly effect: "workspace_read";
|
|
295
|
+
readonly riskLevel: 0;
|
|
296
|
+
readonly concurrencyClass: "lsp-limited";
|
|
297
|
+
readonly mcpSupportsCwtOnly: true;
|
|
298
|
+
};
|
|
299
|
+
}, {
|
|
300
|
+
readonly tool: {
|
|
301
|
+
readonly name: "analyze_diagnostic_error";
|
|
302
|
+
readonly description: "Classify an existing diagnostic or tool/write failure and return routing advice. Use after a write, validation, ReadTracker, or tool-argument failure. Prefer passing diagnosticsSnapshot/toolResult from get_diagnostics or a write tool so this does not re-query diagnostics. When a concrete identifier/sprite/sound/localisation key appears, the result tells the agent to verify it against project + vanilla sources; when LSP has no feedback, it avoids blind searches.";
|
|
303
|
+
readonly inputSchema: {
|
|
304
|
+
readonly type: "object";
|
|
305
|
+
readonly properties: {
|
|
306
|
+
readonly file: {
|
|
307
|
+
readonly type: "string";
|
|
308
|
+
readonly description: "Optional file where the diagnostic or failed tool operation occurred. Used only to scope a fallback get_diagnostics call if no snapshot is supplied.";
|
|
309
|
+
};
|
|
310
|
+
readonly errorCode: {
|
|
311
|
+
readonly type: "string";
|
|
312
|
+
readonly description: "Optional diagnostic code or compact error message.";
|
|
313
|
+
};
|
|
314
|
+
readonly message: {
|
|
315
|
+
readonly type: "string";
|
|
316
|
+
readonly description: "Optional raw failure message from a tool or validation step.";
|
|
317
|
+
};
|
|
318
|
+
readonly previousAttempt: {
|
|
319
|
+
readonly type: "string";
|
|
320
|
+
readonly description: "Optional summary of the last attempted fix. Helps detect repeated blind retries.";
|
|
321
|
+
};
|
|
322
|
+
readonly toolName: {
|
|
323
|
+
readonly type: "string";
|
|
324
|
+
readonly description: "Optional name of the tool that failed, e.g. edit_file, write_localisation, get_diagnostics.";
|
|
325
|
+
};
|
|
326
|
+
readonly diagnosticsSnapshot: {
|
|
327
|
+
readonly type: "object";
|
|
328
|
+
readonly description: "Optional raw get_diagnostics result, write-tool diagnostics payload, or compact diagnostic object to classify without querying diagnostics again.";
|
|
329
|
+
};
|
|
330
|
+
readonly toolResult: {
|
|
331
|
+
readonly type: "object";
|
|
332
|
+
readonly description: "Optional raw failed tool result to classify without querying diagnostics again.";
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
readonly required: readonly [];
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
readonly registry: {
|
|
339
|
+
readonly name: "analyze_diagnostic_error";
|
|
340
|
+
readonly isWrite: false;
|
|
341
|
+
readonly isReadOnly: true;
|
|
342
|
+
readonly effect: "none";
|
|
343
|
+
readonly riskLevel: 2;
|
|
344
|
+
readonly concurrencyClass: "global-exclusive";
|
|
345
|
+
readonly mcpSupportsCwtOnly: true;
|
|
346
|
+
};
|
|
347
|
+
}, {
|
|
348
|
+
readonly tool: {
|
|
349
|
+
readonly name: "get_lsp_status";
|
|
350
|
+
readonly description: "Get a lightweight CWTools LSP health and performance snapshot without listing diagnostics. Use this before or after heavy validation/completion work to inspect loading phase, validation queue depth, diagnostic freshness, memory/cache state, and recent completion latency/cache hits.";
|
|
351
|
+
readonly inputSchema: {
|
|
352
|
+
readonly type: "object";
|
|
353
|
+
readonly properties: {
|
|
354
|
+
readonly timeoutMs: {
|
|
355
|
+
readonly type: "number";
|
|
356
|
+
readonly description: "Optional status request timeout in milliseconds (default 5000, max 30000).";
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
readonly required: readonly [];
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
readonly registry: {
|
|
363
|
+
readonly name: "get_lsp_status";
|
|
364
|
+
readonly isWrite: false;
|
|
365
|
+
readonly isReadOnly: true;
|
|
366
|
+
readonly effect: "workspace_read";
|
|
367
|
+
readonly riskLevel: 0;
|
|
368
|
+
readonly concurrencyClass: "lsp-limited";
|
|
369
|
+
readonly mcpSupportsCwtOnly: false;
|
|
370
|
+
};
|
|
371
|
+
}, {
|
|
372
|
+
readonly tool: {
|
|
373
|
+
readonly name: "get_ignored_diagnostics";
|
|
374
|
+
readonly description: "List all currently ignored diagnostic keys from the workspace whitelist. More efficient than reading .vscode/settings.json directly.";
|
|
375
|
+
readonly inputSchema: {
|
|
376
|
+
readonly type: "object";
|
|
377
|
+
readonly properties: {};
|
|
378
|
+
readonly required: readonly [];
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
readonly registry: {
|
|
382
|
+
readonly name: "get_ignored_diagnostics";
|
|
383
|
+
readonly isWrite: false;
|
|
384
|
+
readonly isReadOnly: true;
|
|
385
|
+
readonly effect: "workspace_read";
|
|
386
|
+
readonly riskLevel: 0;
|
|
387
|
+
readonly concurrencyClass: "parallel";
|
|
388
|
+
readonly mcpSupportsCwtOnly: false;
|
|
389
|
+
};
|
|
390
|
+
}, {
|
|
391
|
+
readonly tool: {
|
|
392
|
+
readonly name: "query_project_profile";
|
|
393
|
+
readonly description: "Read the initialize_project-generated project profile from .cwtools/project/profile.json. Use this before broad scans to get workspace type, key directories, localisation languages/encoding, namespaces, routing hints, validation hints, and targeted guidance cards.";
|
|
394
|
+
readonly inputSchema: {
|
|
395
|
+
readonly type: "object";
|
|
396
|
+
readonly properties: {
|
|
397
|
+
readonly section: {
|
|
398
|
+
readonly type: "string";
|
|
399
|
+
readonly enum: readonly ["summary", "routing", "directories", "localisation", "identifiers", "validation", "compatibility", "guidanceCards", "all"];
|
|
400
|
+
readonly description: "Targeted profile section to return. Default summary. Use all only when you need the whole profile.";
|
|
401
|
+
};
|
|
402
|
+
readonly guidance: {
|
|
403
|
+
readonly type: "string";
|
|
404
|
+
readonly enum: readonly ["implementation", "planning", "exploration", "review", "utility", "localisation", "assets", "coordination", "paradox_coordination"];
|
|
405
|
+
readonly description: "Optional guidance card to return for the current task concern.";
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
readonly required: readonly [];
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
readonly registry: {
|
|
412
|
+
readonly name: "query_project_profile";
|
|
413
|
+
readonly isWrite: false;
|
|
414
|
+
readonly isReadOnly: true;
|
|
415
|
+
readonly effect: "workspace_read";
|
|
416
|
+
readonly riskLevel: 0;
|
|
417
|
+
readonly concurrencyClass: "parallel";
|
|
418
|
+
readonly mcpSupportsCwtOnly: false;
|
|
419
|
+
};
|
|
420
|
+
}, {
|
|
421
|
+
readonly tool: {
|
|
422
|
+
readonly name: "query_project_knowledge";
|
|
423
|
+
readonly description: "Query the initialize_project-generated project + vanilla SQLite knowledge graph for complex cross-subsystem work. Returns project patterns, bounded vanilla archetypes, definition stacks, dependency edges, typed relationship structure/logic, freshness, and unresolved facts with source paths. Use this before any plan spanning multiple current-game entity families. CWT/LSP exact checks remain authoritative.";
|
|
424
|
+
readonly inputSchema: {
|
|
425
|
+
readonly type: "object";
|
|
426
|
+
readonly properties: {
|
|
427
|
+
readonly intent: {
|
|
428
|
+
readonly type: "string";
|
|
429
|
+
readonly description: "Concise design or investigation intent used to rank evidence.";
|
|
430
|
+
};
|
|
431
|
+
readonly domains: {
|
|
432
|
+
readonly type: "array";
|
|
433
|
+
readonly items: {
|
|
434
|
+
readonly type: "string";
|
|
435
|
+
};
|
|
436
|
+
readonly description: "Subsystem domains returned by the project knowledge manifest or an earlier query.";
|
|
437
|
+
};
|
|
438
|
+
readonly identifiers: {
|
|
439
|
+
readonly type: "array";
|
|
440
|
+
readonly items: {
|
|
441
|
+
readonly type: "string";
|
|
442
|
+
};
|
|
443
|
+
readonly description: "Known or proposed IDs used as indexed graph seeds. Exact IDs and stable prefixes give the fastest, most accurate retrieval.";
|
|
444
|
+
};
|
|
445
|
+
readonly entityTypes: {
|
|
446
|
+
readonly type: "array";
|
|
447
|
+
readonly items: {
|
|
448
|
+
readonly type: "string";
|
|
449
|
+
};
|
|
450
|
+
readonly description: "CWTools entity types to prioritize.";
|
|
451
|
+
};
|
|
452
|
+
readonly includeProjectPatterns: {
|
|
453
|
+
readonly type: "boolean";
|
|
454
|
+
readonly description: "Include existing workspace examples. Default true.";
|
|
455
|
+
};
|
|
456
|
+
readonly includeVanillaArchetypes: {
|
|
457
|
+
readonly type: "boolean";
|
|
458
|
+
readonly description: "Include bounded vanilla examples with exact sources. Default true.";
|
|
459
|
+
};
|
|
460
|
+
readonly includeTopology: {
|
|
461
|
+
readonly type: "boolean";
|
|
462
|
+
readonly description: "Include project dependency/reference edges. Default true.";
|
|
463
|
+
};
|
|
464
|
+
readonly includeUnresolved: {
|
|
465
|
+
readonly type: "boolean";
|
|
466
|
+
readonly description: "Include ambiguous definition stacks and snapshot warnings. Default true.";
|
|
467
|
+
};
|
|
468
|
+
readonly includeEventGraph: {
|
|
469
|
+
readonly type: "boolean";
|
|
470
|
+
readonly description: "Include event nodes, structural call/entry edges, and state/scope logic relations. Default true.";
|
|
471
|
+
};
|
|
472
|
+
readonly limit: {
|
|
473
|
+
readonly type: "number";
|
|
474
|
+
readonly minimum: 1;
|
|
475
|
+
readonly maximum: 300;
|
|
476
|
+
readonly description: "Maximum ranked evidence records. Default 80.";
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
readonly required: readonly [];
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
readonly registry: {
|
|
483
|
+
readonly name: "query_project_knowledge";
|
|
484
|
+
readonly isWrite: false;
|
|
485
|
+
readonly isReadOnly: true;
|
|
486
|
+
readonly effect: "workspace_read";
|
|
487
|
+
readonly riskLevel: 0;
|
|
488
|
+
readonly concurrencyClass: "parallel";
|
|
489
|
+
readonly mcpSupportsCwtOnly: false;
|
|
490
|
+
};
|
|
491
|
+
}, {
|
|
492
|
+
readonly tool: {
|
|
493
|
+
readonly name: "query_interface_knowledge";
|
|
494
|
+
readonly description: "Query the bundled, curated Stellaris Interface modding knowledge pack. Use this before planning or editing .gui/.gfx/custom_gui work, interpreting extreme coordinates, choosing button types, or tracing button effects. Returns crash-risk engine constraints on preserving named controls off-canvas plus focused reference entries and source revision metadata. Current project, vanilla, CWT/LSP, and diagnostics remain required for exact identifiers and legality.";
|
|
495
|
+
readonly inputSchema: {
|
|
496
|
+
readonly type: "object";
|
|
497
|
+
readonly properties: {
|
|
498
|
+
readonly topic: {
|
|
499
|
+
readonly type: "string";
|
|
500
|
+
readonly enum: readonly ["overview", "gui_files", "gfx_files", "buttons_and_effects", "custom_windows", "off_canvas_hiding", "layout", "debugging", "all"];
|
|
501
|
+
readonly description: "Focused Interface topic. Default all; prefer the narrowest topic for the current task.";
|
|
502
|
+
};
|
|
503
|
+
readonly query: {
|
|
504
|
+
readonly type: "string";
|
|
505
|
+
readonly description: "Optional concise Interface question used to rank the bundled entries.";
|
|
506
|
+
};
|
|
507
|
+
readonly elementType: {
|
|
508
|
+
readonly type: "string";
|
|
509
|
+
readonly description: "Optional exact GUI element type such as effectButtonType or containerWindowType.";
|
|
510
|
+
};
|
|
511
|
+
readonly limit: {
|
|
512
|
+
readonly type: "number";
|
|
513
|
+
readonly minimum: 1;
|
|
514
|
+
readonly maximum: 10;
|
|
515
|
+
readonly description: "Maximum focused reference entries. Default 5.";
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
readonly required: readonly [];
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
readonly registry: {
|
|
522
|
+
readonly name: "query_interface_knowledge";
|
|
523
|
+
readonly isWrite: false;
|
|
524
|
+
readonly isReadOnly: true;
|
|
525
|
+
readonly effect: "workspace_read";
|
|
526
|
+
readonly riskLevel: 0;
|
|
527
|
+
readonly concurrencyClass: "parallel";
|
|
528
|
+
readonly mcpSupportsCwtOnly: false;
|
|
529
|
+
};
|
|
530
|
+
}, {
|
|
531
|
+
readonly tool: {
|
|
532
|
+
readonly name: "query_workspace_index";
|
|
533
|
+
readonly description: "Query the shared incremental workspace index for PDXScript symbols and named .gfx/.asset/.gui assets without scanning files. Use this before broad grep/search for any named project symbol. Results report indexedSymbolNames, indexUpdatedAt, fileVersion, and optional lightweight references for freshness/coverage awareness.";
|
|
534
|
+
readonly inputSchema: {
|
|
535
|
+
readonly type: "object";
|
|
536
|
+
readonly properties: {
|
|
537
|
+
readonly name: {
|
|
538
|
+
readonly type: "string";
|
|
539
|
+
readonly description: "Exact, prefix, or substring symbol/asset name to search for.";
|
|
540
|
+
};
|
|
541
|
+
readonly kind: {
|
|
542
|
+
readonly type: "string";
|
|
543
|
+
readonly description: "Optional exact kind returned by the active index or CWT type metadata.";
|
|
544
|
+
};
|
|
545
|
+
readonly category: {
|
|
546
|
+
readonly type: "string";
|
|
547
|
+
readonly description: "Optional broad category returned by an earlier index result.";
|
|
548
|
+
};
|
|
549
|
+
readonly source: {
|
|
550
|
+
readonly type: "string";
|
|
551
|
+
readonly enum: readonly ["script", "asset", "gui"];
|
|
552
|
+
readonly description: "Optional source filter. script=.txt, asset=.gfx/.asset, gui=.gui.";
|
|
553
|
+
};
|
|
554
|
+
readonly origin: {
|
|
555
|
+
readonly type: "string";
|
|
556
|
+
readonly enum: readonly ["workspace", "vanilla", "both"];
|
|
557
|
+
readonly description: "Optional origin filter. workspace=mod files, vanilla=configured game cache, both/default=combined.";
|
|
558
|
+
};
|
|
559
|
+
readonly directory: {
|
|
560
|
+
readonly type: "string";
|
|
561
|
+
readonly description: "Optional project path fragment; prefer a path returned by project profile or CWT schema.";
|
|
562
|
+
};
|
|
563
|
+
readonly prefix: {
|
|
564
|
+
readonly type: "boolean";
|
|
565
|
+
readonly description: "If true, name is treated as a prefix. Default false.";
|
|
566
|
+
};
|
|
567
|
+
readonly exact: {
|
|
568
|
+
readonly type: "boolean";
|
|
569
|
+
readonly description: "If true, name must match exactly. Default false.";
|
|
570
|
+
};
|
|
571
|
+
readonly includeReferences: {
|
|
572
|
+
readonly type: "boolean";
|
|
573
|
+
readonly description: "Include lightweight cross-file reference contexts. Default false.";
|
|
574
|
+
};
|
|
575
|
+
readonly includeAssetChain: {
|
|
576
|
+
readonly type: "boolean";
|
|
577
|
+
readonly description: "Check bounded GUI/GFX/model targets, path case, and DDS frame layout.";
|
|
578
|
+
};
|
|
579
|
+
readonly limit: {
|
|
580
|
+
readonly type: "number";
|
|
581
|
+
readonly description: "Maximum entries to return. Default 50, max 200.";
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
readonly required: readonly [];
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
readonly registry: {
|
|
588
|
+
readonly name: "query_workspace_index";
|
|
589
|
+
readonly isWrite: false;
|
|
590
|
+
readonly isReadOnly: true;
|
|
591
|
+
readonly effect: "workspace_read";
|
|
592
|
+
readonly riskLevel: 0;
|
|
593
|
+
readonly concurrencyClass: "parallel";
|
|
594
|
+
readonly mcpSupportsCwtOnly: false;
|
|
595
|
+
};
|
|
596
|
+
}, {
|
|
597
|
+
readonly tool: {
|
|
598
|
+
readonly name: "explore_pdx_project";
|
|
599
|
+
readonly description: "Primary semantic exploration for large Paradox projects: live CWTools type/reference graph with bounded nodes, edges, file facts, provenance and freshness. Use FIRST for connectivity and impact; follow with exact query_rules/query_scope/query_types/get_pdx_block before writing.";
|
|
600
|
+
readonly inputSchema: {
|
|
601
|
+
readonly type: "object";
|
|
602
|
+
readonly properties: {
|
|
603
|
+
readonly query: {
|
|
604
|
+
readonly type: "string";
|
|
605
|
+
readonly description: "Identifier or concise semantic search text. Exact PDX IDs give the strongest results. Optional when file or typeName is supplied.";
|
|
606
|
+
};
|
|
607
|
+
readonly file: {
|
|
608
|
+
readonly type: "string";
|
|
609
|
+
readonly description: "Optional workspace-relative path or absolute path inside the workspace/configured game installation used to restrict entry points.";
|
|
610
|
+
};
|
|
611
|
+
readonly typeName: {
|
|
612
|
+
readonly type: "string";
|
|
613
|
+
readonly description: "Optional exact CWTools type name obtained from active schema/type evidence.";
|
|
614
|
+
};
|
|
615
|
+
readonly exact: {
|
|
616
|
+
readonly type: "boolean";
|
|
617
|
+
readonly description: "Require query to exactly match an entity ID; needs a non-empty query. Default false.";
|
|
618
|
+
};
|
|
619
|
+
readonly depth: {
|
|
620
|
+
readonly type: "number";
|
|
621
|
+
readonly minimum: 0;
|
|
622
|
+
readonly maximum: 3;
|
|
623
|
+
readonly description: "Incoming/outgoing graph traversal depth. Default 1; use 2-3 only for focused IDs.";
|
|
624
|
+
};
|
|
625
|
+
readonly maxNodes: {
|
|
626
|
+
readonly type: "number";
|
|
627
|
+
readonly minimum: 1;
|
|
628
|
+
readonly maximum: 100;
|
|
629
|
+
readonly description: "Maximum graph nodes. Default 30.";
|
|
630
|
+
};
|
|
631
|
+
readonly maxEdges: {
|
|
632
|
+
readonly type: "number";
|
|
633
|
+
readonly minimum: 1;
|
|
634
|
+
readonly maximum: 300;
|
|
635
|
+
readonly description: "Maximum graph edges and per-file semantic facts. Default 80.";
|
|
636
|
+
};
|
|
637
|
+
readonly includeMetadata: {
|
|
638
|
+
readonly type: "boolean";
|
|
639
|
+
readonly description: "Include documentation, variables, event targets, and block metadata. Default true.";
|
|
640
|
+
};
|
|
641
|
+
readonly relationshipKinds: {
|
|
642
|
+
readonly type: "array";
|
|
643
|
+
readonly items: {
|
|
644
|
+
readonly type: "string";
|
|
645
|
+
readonly enum: readonly ["inline_invocation", "inline_expansion"];
|
|
646
|
+
};
|
|
647
|
+
readonly description: "Extra graph kinds: inline_invocation or inline_expansion.";
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
readonly required: readonly [];
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
readonly registry: {
|
|
654
|
+
readonly name: "explore_pdx_project";
|
|
655
|
+
readonly isWrite: false;
|
|
656
|
+
readonly isReadOnly: true;
|
|
657
|
+
readonly effect: "workspace_read";
|
|
658
|
+
readonly riskLevel: 0;
|
|
659
|
+
readonly concurrencyClass: "lsp-limited";
|
|
660
|
+
readonly mcpSupportsCwtOnly: false;
|
|
661
|
+
};
|
|
662
|
+
}, {
|
|
663
|
+
readonly tool: {
|
|
664
|
+
readonly name: "query_inline_instantiation";
|
|
665
|
+
readonly description: "Preview one inline_script template instantiation: parameters, arguments, expanded symbol, and problems (missing/unused/unresolved). Precise template path or file+line only; no whole-project expansion. Use before editing a template or caller.";
|
|
666
|
+
readonly inputSchema: {
|
|
667
|
+
readonly type: "object";
|
|
668
|
+
readonly properties: {
|
|
669
|
+
readonly template: {
|
|
670
|
+
readonly type: "string";
|
|
671
|
+
readonly description: "Template path, e.g. common/inline_scripts/example.txt.";
|
|
672
|
+
};
|
|
673
|
+
readonly file: {
|
|
674
|
+
readonly type: "string";
|
|
675
|
+
readonly description: "Caller file inside the workspace or a configured game installation; narrows to one invocation.";
|
|
676
|
+
};
|
|
677
|
+
readonly line: {
|
|
678
|
+
readonly type: "number";
|
|
679
|
+
readonly description: "Caller line; combined with file selects one invocation.";
|
|
680
|
+
};
|
|
681
|
+
readonly limit: {
|
|
682
|
+
readonly type: "number";
|
|
683
|
+
readonly description: "Maximum invocations to return. Default 50, max 200.";
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
readonly required: readonly [];
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
readonly registry: {
|
|
690
|
+
readonly name: "query_inline_instantiation";
|
|
691
|
+
readonly isWrite: false;
|
|
692
|
+
readonly isReadOnly: true;
|
|
693
|
+
readonly effect: "workspace_read";
|
|
694
|
+
readonly riskLevel: 0;
|
|
695
|
+
readonly concurrencyClass: "lsp-limited";
|
|
696
|
+
readonly mcpSupportsCwtOnly: false;
|
|
697
|
+
};
|
|
698
|
+
}, {
|
|
699
|
+
readonly tool: {
|
|
700
|
+
readonly name: "analyze_pdx_flow";
|
|
701
|
+
readonly description: "Static flow model for a file or definition: dynamic event subtypes, inline-instantiated state/calls, cross-event and scripted-effect state flow, pulse/on_action/scripted-effect cost propagation, traversals, loops, and typed gameplay edges. Costs are relative static scores, not runtime predictions.";
|
|
702
|
+
readonly inputSchema: {
|
|
703
|
+
readonly type: "object";
|
|
704
|
+
readonly properties: {
|
|
705
|
+
readonly file: {
|
|
706
|
+
readonly type: "string";
|
|
707
|
+
readonly description: "Optional path inside the workspace or a configured game installation; when omitted a definitionId must be given.";
|
|
708
|
+
};
|
|
709
|
+
readonly definitionId: {
|
|
710
|
+
readonly type: "string";
|
|
711
|
+
readonly description: "Optional exact definition ID; combined with file to scope the analysis.";
|
|
712
|
+
};
|
|
713
|
+
readonly entityType: {
|
|
714
|
+
readonly type: "string";
|
|
715
|
+
readonly description: "Optional exact CWTools entity type; use with definitionId to disambiguate duplicate IDs.";
|
|
716
|
+
};
|
|
717
|
+
readonly limit: {
|
|
718
|
+
readonly type: "number";
|
|
719
|
+
readonly description: "Maximum costs and relations returned per collection. Default 100, max 500.";
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
readonly required: readonly [];
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
readonly registry: {
|
|
726
|
+
readonly name: "analyze_pdx_flow";
|
|
727
|
+
readonly isWrite: false;
|
|
728
|
+
readonly isReadOnly: true;
|
|
729
|
+
readonly effect: "workspace_read";
|
|
730
|
+
readonly riskLevel: 0;
|
|
731
|
+
readonly concurrencyClass: "lsp-limited";
|
|
732
|
+
readonly mcpSupportsCwtOnly: false;
|
|
733
|
+
};
|
|
734
|
+
}, {
|
|
735
|
+
readonly tool: {
|
|
736
|
+
readonly name: "compare_definition_with_vanilla";
|
|
737
|
+
readonly description: "Field-level diff of one definition against its vanilla counterpart: added, removed and modified fields with stable source locations. Accepts exact entityType + symbolId only; returns the resolved winner and never fabricates a conclusion when the winner is ambiguous. Use before editing any file that overrides vanilla.";
|
|
738
|
+
readonly inputSchema: {
|
|
739
|
+
readonly type: "object";
|
|
740
|
+
readonly properties: {
|
|
741
|
+
readonly entityType: {
|
|
742
|
+
readonly type: "string";
|
|
743
|
+
readonly description: "Exact CWTools type name (e.g. event, technology, ship_size).";
|
|
744
|
+
};
|
|
745
|
+
readonly symbolId: {
|
|
746
|
+
readonly type: "string";
|
|
747
|
+
readonly description: "Exact definition ID shared by workspace and vanilla candidates.";
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
readonly required: readonly ["entityType", "symbolId"];
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
readonly registry: {
|
|
754
|
+
readonly name: "compare_definition_with_vanilla";
|
|
755
|
+
readonly isWrite: false;
|
|
756
|
+
readonly isReadOnly: true;
|
|
757
|
+
readonly effect: "workspace_read";
|
|
758
|
+
readonly riskLevel: 0;
|
|
759
|
+
readonly concurrencyClass: "lsp-limited";
|
|
760
|
+
readonly mcpSupportsCwtOnly: false;
|
|
761
|
+
};
|
|
762
|
+
}, {
|
|
763
|
+
readonly tool: {
|
|
764
|
+
readonly name: "query_targeting_weight";
|
|
765
|
+
readonly description: "Read-only. Compute the Stellaris 4.5.2 targeting weight chain for one attacker ship, one weapon component and one candidate target, returning the full multiplicative decomposition. Stage 1 W(ship) = size x tracking-evasion x distance x preset weight x low-health x unarmed/starbase x random, plus the whole-target veto; Stage 2 S(weapon) = (shield+armor+hull damage split) x hit chance x preset weight x kill bonus, then + target_weights. The stages are independent argmax passes, so use_ship_main_target = yes weapons never use Stage 2; ai_weight is unrelated.";
|
|
766
|
+
readonly inputSchema: {
|
|
767
|
+
readonly type: "object";
|
|
768
|
+
readonly properties: {
|
|
769
|
+
readonly attacker: {
|
|
770
|
+
readonly type: "object";
|
|
771
|
+
readonly description: "Attacking ship.";
|
|
772
|
+
readonly properties: {
|
|
773
|
+
readonly tracking: {
|
|
774
|
+
readonly type: "number";
|
|
775
|
+
readonly description: "Ship tracking 0..1, scaled by the ship tracking mult.";
|
|
776
|
+
};
|
|
777
|
+
readonly sizeMultiplier: {
|
|
778
|
+
readonly type: "number";
|
|
779
|
+
readonly description: "Attacker combat_size_multiplier; veto needs >= 8.";
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
readonly required: readonly ["tracking", "sizeMultiplier"];
|
|
783
|
+
readonly additionalProperties: false;
|
|
784
|
+
};
|
|
785
|
+
readonly weapon: {
|
|
786
|
+
readonly type: "object";
|
|
787
|
+
readonly description: "Weapon component template values, already modifier-corrected.";
|
|
788
|
+
readonly properties: {
|
|
789
|
+
readonly minDamage: {
|
|
790
|
+
readonly type: "number";
|
|
791
|
+
readonly description: "min_damage.";
|
|
792
|
+
};
|
|
793
|
+
readonly maxDamage: {
|
|
794
|
+
readonly type: "number";
|
|
795
|
+
readonly description: "max_damage; the path uses the interval midpoint.";
|
|
796
|
+
};
|
|
797
|
+
readonly accuracy: {
|
|
798
|
+
readonly type: "number";
|
|
799
|
+
readonly description: "accuracy 0..1; feeds hit chance p.";
|
|
800
|
+
};
|
|
801
|
+
readonly tracking: {
|
|
802
|
+
readonly type: "number";
|
|
803
|
+
readonly description: "tracking 0..1; weapon rate, not scaled by the ship mult.";
|
|
804
|
+
};
|
|
805
|
+
readonly shieldDamage: {
|
|
806
|
+
readonly type: "number";
|
|
807
|
+
readonly description: "shield_damage (ms), shield layer output mult.";
|
|
808
|
+
};
|
|
809
|
+
readonly armorDamage: {
|
|
810
|
+
readonly type: "number";
|
|
811
|
+
readonly description: "armor_damage (ma), armor layer output mult.";
|
|
812
|
+
};
|
|
813
|
+
readonly hullDamage: {
|
|
814
|
+
readonly type: "number";
|
|
815
|
+
readonly description: "hull_damage (mh), leftover hull output mult.";
|
|
816
|
+
};
|
|
817
|
+
readonly shieldPenetration: {
|
|
818
|
+
readonly type: "number";
|
|
819
|
+
readonly description: "shield_penetration 0..1; minus hardening, clamped [0,1].";
|
|
820
|
+
};
|
|
821
|
+
readonly armorPenetration: {
|
|
822
|
+
readonly type: "number";
|
|
823
|
+
readonly description: "armor_penetration 0..1; minus hardening, clamped [0,1].";
|
|
824
|
+
};
|
|
825
|
+
readonly sizeDamageFactor: {
|
|
826
|
+
readonly type: "number";
|
|
827
|
+
readonly description: "size_damage_factor; when > 0 scales damage by (1 + clamp(size,1,100)*factor).";
|
|
828
|
+
};
|
|
829
|
+
readonly targetWeights: {
|
|
830
|
+
readonly type: "object";
|
|
831
|
+
readonly description: "target_weights table: ship_size id -> additive wk, NOT a multiplier; it can outrank the chain.";
|
|
832
|
+
readonly additionalProperties: {
|
|
833
|
+
readonly type: "number";
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
readonly required: readonly ["minDamage", "maxDamage", "accuracy", "tracking", "shieldDamage", "armorDamage", "hullDamage"];
|
|
838
|
+
readonly additionalProperties: false;
|
|
839
|
+
};
|
|
840
|
+
readonly target: {
|
|
841
|
+
readonly type: "object";
|
|
842
|
+
readonly description: "Candidate target ship state at the modelled tick.";
|
|
843
|
+
readonly properties: {
|
|
844
|
+
readonly shipSizeId: {
|
|
845
|
+
readonly type: "string";
|
|
846
|
+
readonly description: "ship_size id; only used for weapon.targetWeights.";
|
|
847
|
+
};
|
|
848
|
+
readonly sizeMultiplier: {
|
|
849
|
+
readonly type: "number";
|
|
850
|
+
readonly description: "Target combat_size_multiplier.";
|
|
851
|
+
};
|
|
852
|
+
readonly evasion: {
|
|
853
|
+
readonly type: "number";
|
|
854
|
+
readonly description: "Target evasion 0..1 (cap SHIP_MAX_EVASION 0.9).";
|
|
855
|
+
};
|
|
856
|
+
readonly distance: {
|
|
857
|
+
readonly type: "number";
|
|
858
|
+
readonly description: "Distance in engine units; the factor floors at 450.";
|
|
859
|
+
};
|
|
860
|
+
readonly hull: {
|
|
861
|
+
readonly type: "number";
|
|
862
|
+
readonly description: "Current hull (Vtgt); right side of the kill test.";
|
|
863
|
+
};
|
|
864
|
+
readonly maxHull: {
|
|
865
|
+
readonly type: "number";
|
|
866
|
+
readonly description: "Hull maximum; omit to skip the low-health factor.";
|
|
867
|
+
};
|
|
868
|
+
readonly shield: {
|
|
869
|
+
readonly type: "number";
|
|
870
|
+
readonly description: "Current shields.";
|
|
871
|
+
};
|
|
872
|
+
readonly armor: {
|
|
873
|
+
readonly type: "number";
|
|
874
|
+
readonly description: "Current armor.";
|
|
875
|
+
};
|
|
876
|
+
readonly shieldHardening: {
|
|
877
|
+
readonly type: "number";
|
|
878
|
+
readonly description: "Shield hardening; minus shield_penetration.";
|
|
879
|
+
};
|
|
880
|
+
readonly armorHardening: {
|
|
881
|
+
readonly type: "number";
|
|
882
|
+
readonly description: "Armor hardening; minus armor_penetration.";
|
|
883
|
+
};
|
|
884
|
+
readonly armed: {
|
|
885
|
+
readonly type: "boolean";
|
|
886
|
+
readonly description: "Panel DPD > 0; when false both stages x the unarmed weight.";
|
|
887
|
+
};
|
|
888
|
+
readonly isStarbase: {
|
|
889
|
+
readonly type: "boolean";
|
|
890
|
+
readonly description: "Starbase or megastructure; x starbase weight unless it is the current main target.";
|
|
891
|
+
};
|
|
892
|
+
readonly isCurrentMainTarget: {
|
|
893
|
+
readonly type: "boolean";
|
|
894
|
+
readonly description: "Already the ship main target: x1.1 stickiness unless targetFocus is true.";
|
|
895
|
+
};
|
|
896
|
+
readonly isRecentNonLatest: {
|
|
897
|
+
readonly type: "boolean";
|
|
898
|
+
readonly description: "Recent-target memory, not the latest entry: x recent-target penalizer.";
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
readonly required: readonly ["sizeMultiplier", "evasion", "distance", "hull", "shield", "armor", "armed"];
|
|
902
|
+
readonly additionalProperties: false;
|
|
903
|
+
};
|
|
904
|
+
readonly defines: {
|
|
905
|
+
readonly type: "object";
|
|
906
|
+
readonly description: "Optional define overrides; omitted keys keep vanilla. Keys: sizeSlope, sizeMax, trackingMult, evasionWeight, lowHealthThreshold, lowHealthWeight, distanceWeight, distanceWeightMin, unarmedWeight, starbaseWeight, avoidMinShipSize, avoidThreshold, randomWeight, currentTargetMultiplier, recentTargetPenalizer. Every effective value is echoed in the result.";
|
|
907
|
+
readonly additionalProperties: {
|
|
908
|
+
readonly type: "number";
|
|
909
|
+
};
|
|
910
|
+
};
|
|
911
|
+
readonly rho: {
|
|
912
|
+
readonly type: "number";
|
|
913
|
+
readonly description: "Battle-start random in [0,1); preset weight = 1 + rho + mult. Default 0.";
|
|
914
|
+
};
|
|
915
|
+
readonly targetWeightMultModifier: {
|
|
916
|
+
readonly type: "number";
|
|
917
|
+
readonly description: "ship_target_weight_mult modifier (ship_sizes, auras), e.g. 0.5.";
|
|
918
|
+
};
|
|
919
|
+
readonly randomRoll: {
|
|
920
|
+
readonly type: "number";
|
|
921
|
+
readonly description: "Random perturbation r in [0,1); used only when useRandom is true.";
|
|
922
|
+
};
|
|
923
|
+
readonly useRandom: {
|
|
924
|
+
readonly type: "boolean";
|
|
925
|
+
readonly description: "Engine default is true (up to 4x). Default false for reproducible results.";
|
|
926
|
+
};
|
|
927
|
+
readonly fleetHasHittable: {
|
|
928
|
+
readonly type: "boolean";
|
|
929
|
+
readonly description: "Veto needs at least one hittable ship in the target fleet. Default false.";
|
|
930
|
+
};
|
|
931
|
+
readonly targetFocus: {
|
|
932
|
+
readonly type: "boolean";
|
|
933
|
+
readonly description: "target_focus = spread (engine 1): drops x1.1 stickiness, throttle 50 ticks. Default false.";
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
readonly required: readonly ["attacker", "weapon", "target"];
|
|
937
|
+
readonly additionalProperties: false;
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
readonly registry: {
|
|
941
|
+
readonly name: "query_targeting_weight";
|
|
942
|
+
readonly isWrite: false;
|
|
943
|
+
readonly isReadOnly: true;
|
|
944
|
+
readonly effect: "workspace_read";
|
|
945
|
+
readonly riskLevel: 0;
|
|
946
|
+
readonly concurrencyClass: "parallel";
|
|
947
|
+
readonly mcpSupportsCwtOnly: false;
|
|
948
|
+
};
|
|
949
|
+
}, {
|
|
950
|
+
readonly tool: {
|
|
951
|
+
readonly name: "query_localisation_index";
|
|
952
|
+
readonly description: "Query the shared incremental localisation index for mod YML keys without scanning files. Use this before creating or updating localisation keys, and when checking whether a key already exists.";
|
|
953
|
+
readonly inputSchema: {
|
|
954
|
+
readonly type: "object";
|
|
955
|
+
readonly properties: {
|
|
956
|
+
readonly key: {
|
|
957
|
+
readonly type: "string";
|
|
958
|
+
readonly description: "Exact key, prefix, or substring to search for.";
|
|
959
|
+
};
|
|
960
|
+
readonly language: {
|
|
961
|
+
readonly type: "string";
|
|
962
|
+
readonly description: "Optional language tag returned by the active project/profile localisation metadata.";
|
|
963
|
+
};
|
|
964
|
+
readonly prefix: {
|
|
965
|
+
readonly type: "boolean";
|
|
966
|
+
readonly description: "If true, key is treated as a prefix. Default false.";
|
|
967
|
+
};
|
|
968
|
+
readonly contains: {
|
|
969
|
+
readonly type: "boolean";
|
|
970
|
+
readonly description: "If true, key is treated as a case-insensitive substring. Useful when you only know part of a localisation key.";
|
|
971
|
+
};
|
|
972
|
+
readonly caseSensitive: {
|
|
973
|
+
readonly type: "boolean";
|
|
974
|
+
readonly description: "Only applies to prefix/contains searches. Default false.";
|
|
975
|
+
};
|
|
976
|
+
readonly includeDuplicates: {
|
|
977
|
+
readonly type: "boolean";
|
|
978
|
+
readonly description: "Include per-key duplicate groups with all occurrences (file/line), so duplicate keys are auditable instead of trusting the last write. Default false.";
|
|
979
|
+
};
|
|
980
|
+
readonly compareLanguages: {
|
|
981
|
+
readonly type: "boolean";
|
|
982
|
+
readonly description: "Include true missing/extra key-set differences per language, independent of result truncation. Default false.";
|
|
983
|
+
};
|
|
984
|
+
readonly referenceLanguage: {
|
|
985
|
+
readonly type: "string";
|
|
986
|
+
readonly description: "Reference language for missing/extra differences. Defaults to l_english when indexed.";
|
|
987
|
+
};
|
|
988
|
+
readonly referenceStatus: {
|
|
989
|
+
readonly type: "boolean";
|
|
990
|
+
readonly description: "Include bounded LSP reference status and origin; dynamic keys remain uncertain.";
|
|
991
|
+
};
|
|
992
|
+
readonly auditMode: {
|
|
993
|
+
readonly type: "boolean";
|
|
994
|
+
readonly description: "Include authoritative CWTools localisation diagnostics: completely missing script-referenced keys, inline/dynamic-key provenance, and localisation command/scope issues.";
|
|
995
|
+
};
|
|
996
|
+
readonly limit: {
|
|
997
|
+
readonly type: "number";
|
|
998
|
+
readonly description: "Maximum entries to return. Default 20, max 100.";
|
|
999
|
+
};
|
|
1000
|
+
};
|
|
1001
|
+
readonly required: readonly [];
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
readonly registry: {
|
|
1005
|
+
readonly name: "query_localisation_index";
|
|
1006
|
+
readonly isWrite: false;
|
|
1007
|
+
readonly isReadOnly: true;
|
|
1008
|
+
readonly effect: "workspace_read";
|
|
1009
|
+
readonly riskLevel: 0;
|
|
1010
|
+
readonly concurrencyClass: "parallel";
|
|
1011
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1012
|
+
};
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly tool: {
|
|
1015
|
+
readonly name: "get_pdx_block";
|
|
1016
|
+
readonly description: "Extract exactly one complete AST block by symbol name from the workspace or a configured game installation. Works with .txt (events, common), .gui (containerWindowType by name), and .gfx (pdxmesh by name). Returns 1-based startLine/endLine that can be passed directly to replace_lines. If the symbol is not found, the error response includes a full list of available symbols with line ranges so you can retry with the correct name.";
|
|
1017
|
+
readonly inputSchema: {
|
|
1018
|
+
readonly type: "object";
|
|
1019
|
+
readonly properties: {
|
|
1020
|
+
readonly file: {
|
|
1021
|
+
readonly type: "string";
|
|
1022
|
+
readonly description: "Absolute path inside the workspace or a configured game installation.";
|
|
1023
|
+
};
|
|
1024
|
+
readonly symbol: {
|
|
1025
|
+
readonly type: "string";
|
|
1026
|
+
readonly description: "Exact symbol returned by document_symbols or another active typed lookup. If not found, the error lists available symbols and line ranges.";
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
readonly required: readonly ["file", "symbol"];
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
readonly registry: {
|
|
1033
|
+
readonly name: "get_pdx_block";
|
|
1034
|
+
readonly isWrite: false;
|
|
1035
|
+
readonly isReadOnly: true;
|
|
1036
|
+
readonly effect: "workspace_read";
|
|
1037
|
+
readonly riskLevel: 0;
|
|
1038
|
+
readonly concurrencyClass: "parallel";
|
|
1039
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1040
|
+
};
|
|
1041
|
+
}, {
|
|
1042
|
+
readonly tool: {
|
|
1043
|
+
readonly name: "verify_pdx_identifier";
|
|
1044
|
+
readonly description: "Verify whether a PDXScript identifier/localisation key exists using multiple independent sources: AST definition lookup, workspace symbols, optional query_types, and text search across mod + vanilla. Use this before saying a key/ID does not exist, before recreating a missing-looking definition, or after grep returns zero results.";
|
|
1045
|
+
readonly inputSchema: {
|
|
1046
|
+
readonly type: "object";
|
|
1047
|
+
readonly properties: {
|
|
1048
|
+
readonly identifier: {
|
|
1049
|
+
readonly type: "string";
|
|
1050
|
+
readonly description: "Exact PDX identifier or localisation key to verify.";
|
|
1051
|
+
};
|
|
1052
|
+
readonly typeName: {
|
|
1053
|
+
readonly type: "string";
|
|
1054
|
+
readonly description: "Optional exact CWTools type from active schema/type evidence.";
|
|
1055
|
+
};
|
|
1056
|
+
readonly directory: {
|
|
1057
|
+
readonly type: "string";
|
|
1058
|
+
readonly description: "Optional project subdirectory returned by profile/schema evidence.";
|
|
1059
|
+
};
|
|
1060
|
+
readonly fileExtensions: {
|
|
1061
|
+
readonly type: "array";
|
|
1062
|
+
readonly items: {
|
|
1063
|
+
readonly type: "string";
|
|
1064
|
+
};
|
|
1065
|
+
readonly description: "File extensions for text search. Defaults to [\".txt\", \".yml\", \".gui\", \".gfx\", \".asset\"].";
|
|
1066
|
+
};
|
|
1067
|
+
readonly includeVanilla: {
|
|
1068
|
+
readonly type: "boolean";
|
|
1069
|
+
readonly description: "Whether to include vanilla cache in text search. Default true.";
|
|
1070
|
+
};
|
|
1071
|
+
readonly caseSensitive: {
|
|
1072
|
+
readonly type: "boolean";
|
|
1073
|
+
readonly description: "Case-sensitive exact matching for symbol/type checks. Default false.";
|
|
1074
|
+
};
|
|
1075
|
+
readonly limit: {
|
|
1076
|
+
readonly type: "number";
|
|
1077
|
+
readonly description: "Maximum matches to return (default 20, max 50).";
|
|
1078
|
+
};
|
|
1079
|
+
};
|
|
1080
|
+
readonly required: readonly ["identifier"];
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
1083
|
+
readonly registry: {
|
|
1084
|
+
readonly name: "verify_pdx_identifier";
|
|
1085
|
+
readonly isWrite: false;
|
|
1086
|
+
readonly isReadOnly: true;
|
|
1087
|
+
readonly effect: "workspace_read";
|
|
1088
|
+
readonly riskLevel: 0;
|
|
1089
|
+
readonly concurrencyClass: "parallel";
|
|
1090
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1091
|
+
};
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly tool: {
|
|
1094
|
+
readonly name: "find_scope_bridge";
|
|
1095
|
+
readonly description: "Find bounded scope transitions from fresh CWT/LSP evidence gathered by the Extension Host. The model supplies only endpoints and intent context; evidence candidates cannot be injected.";
|
|
1096
|
+
readonly inputSchema: {
|
|
1097
|
+
readonly type: "object";
|
|
1098
|
+
readonly properties: {
|
|
1099
|
+
readonly fromScope: {
|
|
1100
|
+
readonly type: "string";
|
|
1101
|
+
readonly minLength: 1;
|
|
1102
|
+
};
|
|
1103
|
+
readonly toScope: {
|
|
1104
|
+
readonly type: "string";
|
|
1105
|
+
readonly minLength: 1;
|
|
1106
|
+
};
|
|
1107
|
+
readonly context: {
|
|
1108
|
+
readonly type: "string";
|
|
1109
|
+
readonly description: "Concise transition intent used by the host to rank active rule capabilities.";
|
|
1110
|
+
};
|
|
1111
|
+
};
|
|
1112
|
+
readonly required: readonly ["fromScope", "toScope", "context"];
|
|
1113
|
+
readonly additionalProperties: false;
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
readonly registry: {
|
|
1117
|
+
readonly name: "find_scope_bridge";
|
|
1118
|
+
readonly isWrite: false;
|
|
1119
|
+
readonly isReadOnly: true;
|
|
1120
|
+
readonly effect: "workspace_read";
|
|
1121
|
+
readonly riskLevel: 0;
|
|
1122
|
+
readonly concurrencyClass: "parallel";
|
|
1123
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1124
|
+
};
|
|
1125
|
+
}, {
|
|
1126
|
+
readonly tool: {
|
|
1127
|
+
readonly name: "extract_archetype_slots";
|
|
1128
|
+
readonly description: "Read a verified workspace definition and create a bounded, opaque, session-owned archetype artifact. Arbitrary source text is not accepted.";
|
|
1129
|
+
readonly inputSchema: {
|
|
1130
|
+
readonly type: "object";
|
|
1131
|
+
readonly properties: {
|
|
1132
|
+
readonly filePath: {
|
|
1133
|
+
readonly type: "string";
|
|
1134
|
+
};
|
|
1135
|
+
readonly definitionIdentity: {
|
|
1136
|
+
readonly type: "string";
|
|
1137
|
+
};
|
|
1138
|
+
readonly definitionPath: {
|
|
1139
|
+
readonly type: "string";
|
|
1140
|
+
};
|
|
1141
|
+
readonly placeholders: {
|
|
1142
|
+
readonly type: "object";
|
|
1143
|
+
readonly minProperties: 1;
|
|
1144
|
+
readonly maxProperties: 64;
|
|
1145
|
+
readonly propertyNames: {
|
|
1146
|
+
readonly pattern: "^\\$[A-Za-z_][A-Za-z0-9_]*\\$$";
|
|
1147
|
+
};
|
|
1148
|
+
readonly additionalProperties: {
|
|
1149
|
+
readonly oneOf: readonly [{
|
|
1150
|
+
readonly type: "string";
|
|
1151
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean"];
|
|
1152
|
+
}, {
|
|
1153
|
+
readonly type: "object";
|
|
1154
|
+
readonly properties: {
|
|
1155
|
+
readonly type: {
|
|
1156
|
+
readonly type: "string";
|
|
1157
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean"];
|
|
1158
|
+
};
|
|
1159
|
+
readonly required: {
|
|
1160
|
+
readonly type: "boolean";
|
|
1161
|
+
};
|
|
1162
|
+
};
|
|
1163
|
+
readonly required: readonly ["type"];
|
|
1164
|
+
readonly additionalProperties: false;
|
|
1165
|
+
}];
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
readonly required: readonly ["filePath", "definitionIdentity", "definitionPath", "placeholders"];
|
|
1170
|
+
readonly additionalProperties: false;
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
readonly registry: {
|
|
1174
|
+
readonly name: "extract_archetype_slots";
|
|
1175
|
+
readonly isWrite: false;
|
|
1176
|
+
readonly isReadOnly: true;
|
|
1177
|
+
readonly effect: "workspace_read";
|
|
1178
|
+
readonly riskLevel: 0;
|
|
1179
|
+
readonly concurrencyClass: "parallel";
|
|
1180
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1181
|
+
};
|
|
1182
|
+
}, {
|
|
1183
|
+
readonly tool: {
|
|
1184
|
+
readonly name: "instantiate_archetype";
|
|
1185
|
+
readonly description: "Fill a host-owned archetype artifact using typed scalar values only. Expired artifacts and source path/content drift are rejected.";
|
|
1186
|
+
readonly inputSchema: {
|
|
1187
|
+
readonly type: "object";
|
|
1188
|
+
readonly properties: {
|
|
1189
|
+
readonly artifactId: {
|
|
1190
|
+
readonly type: "string";
|
|
1191
|
+
};
|
|
1192
|
+
readonly values: {
|
|
1193
|
+
readonly type: "object";
|
|
1194
|
+
readonly maxProperties: 64;
|
|
1195
|
+
readonly propertyNames: {
|
|
1196
|
+
readonly pattern: "^\\$[A-Za-z_][A-Za-z0-9_]*\\$$";
|
|
1197
|
+
};
|
|
1198
|
+
readonly additionalProperties: {
|
|
1199
|
+
readonly oneOf: readonly [{
|
|
1200
|
+
readonly type: "object";
|
|
1201
|
+
readonly properties: {
|
|
1202
|
+
readonly kind: {
|
|
1203
|
+
readonly const: "identifier";
|
|
1204
|
+
};
|
|
1205
|
+
readonly value: {
|
|
1206
|
+
readonly type: "string";
|
|
1207
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
readonly required: readonly ["kind", "value"];
|
|
1211
|
+
readonly additionalProperties: false;
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly type: "object";
|
|
1214
|
+
readonly properties: {
|
|
1215
|
+
readonly kind: {
|
|
1216
|
+
readonly const: "string";
|
|
1217
|
+
};
|
|
1218
|
+
readonly value: {
|
|
1219
|
+
readonly type: "string";
|
|
1220
|
+
readonly maxLength: 4096;
|
|
1221
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
1222
|
+
};
|
|
1223
|
+
};
|
|
1224
|
+
readonly required: readonly ["kind", "value"];
|
|
1225
|
+
readonly additionalProperties: false;
|
|
1226
|
+
}, {
|
|
1227
|
+
readonly type: "object";
|
|
1228
|
+
readonly properties: {
|
|
1229
|
+
readonly kind: {
|
|
1230
|
+
readonly const: "number";
|
|
1231
|
+
};
|
|
1232
|
+
readonly value: {
|
|
1233
|
+
readonly type: "number";
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
readonly required: readonly ["kind", "value"];
|
|
1237
|
+
readonly additionalProperties: false;
|
|
1238
|
+
}, {
|
|
1239
|
+
readonly type: "object";
|
|
1240
|
+
readonly properties: {
|
|
1241
|
+
readonly kind: {
|
|
1242
|
+
readonly const: "boolean";
|
|
1243
|
+
};
|
|
1244
|
+
readonly value: {
|
|
1245
|
+
readonly type: "boolean";
|
|
1246
|
+
};
|
|
1247
|
+
};
|
|
1248
|
+
readonly required: readonly ["kind", "value"];
|
|
1249
|
+
readonly additionalProperties: false;
|
|
1250
|
+
}];
|
|
1251
|
+
};
|
|
1252
|
+
};
|
|
1253
|
+
};
|
|
1254
|
+
readonly required: readonly ["artifactId", "values"];
|
|
1255
|
+
readonly additionalProperties: false;
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1258
|
+
readonly registry: {
|
|
1259
|
+
readonly name: "instantiate_archetype";
|
|
1260
|
+
readonly isWrite: false;
|
|
1261
|
+
readonly isReadOnly: true;
|
|
1262
|
+
readonly effect: "workspace_read";
|
|
1263
|
+
readonly riskLevel: 0;
|
|
1264
|
+
readonly concurrencyClass: "parallel";
|
|
1265
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1266
|
+
};
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly tool: {
|
|
1269
|
+
readonly name: "get_completion_at";
|
|
1270
|
+
readonly description: "Get auto-completion suggestions and bounded context at a specific position through the active VS Code language provider. In Paradox projects, CWTools may enrich the result with game-aware scope and schema context.";
|
|
1271
|
+
readonly inputSchema: {
|
|
1272
|
+
readonly type: "object";
|
|
1273
|
+
readonly properties: {
|
|
1274
|
+
readonly file: {
|
|
1275
|
+
readonly type: "string";
|
|
1276
|
+
readonly description: "Absolute file path inside the workspace or a configured game installation.";
|
|
1277
|
+
};
|
|
1278
|
+
readonly line: {
|
|
1279
|
+
readonly type: "number";
|
|
1280
|
+
readonly description: "Line number (0-based)";
|
|
1281
|
+
};
|
|
1282
|
+
readonly column: {
|
|
1283
|
+
readonly type: "number";
|
|
1284
|
+
readonly description: "Column number (0-based)";
|
|
1285
|
+
};
|
|
1286
|
+
readonly limit: {
|
|
1287
|
+
readonly type: "number";
|
|
1288
|
+
readonly description: "Max completions to return (default 30). Increase if you need to see more options.";
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1291
|
+
readonly required: readonly ["file", "line", "column"];
|
|
1292
|
+
};
|
|
1293
|
+
};
|
|
1294
|
+
readonly registry: {
|
|
1295
|
+
readonly name: "get_completion_at";
|
|
1296
|
+
readonly isWrite: false;
|
|
1297
|
+
readonly isReadOnly: true;
|
|
1298
|
+
readonly effect: "workspace_read";
|
|
1299
|
+
readonly riskLevel: 0;
|
|
1300
|
+
readonly concurrencyClass: "parallel";
|
|
1301
|
+
readonly mcpSupportsCwtOnly: true;
|
|
1302
|
+
};
|
|
1303
|
+
}, {
|
|
1304
|
+
readonly tool: {
|
|
1305
|
+
readonly name: "document_symbols";
|
|
1306
|
+
readonly description: "Get symbols defined in a file as a hierarchical tree with 0-based line ranges from the active VS Code language provider. Use this first to understand file structure before choosing targeted reads.";
|
|
1307
|
+
readonly inputSchema: {
|
|
1308
|
+
readonly type: "object";
|
|
1309
|
+
readonly properties: {
|
|
1310
|
+
readonly file: {
|
|
1311
|
+
readonly type: "string";
|
|
1312
|
+
readonly description: "Absolute path inside the workspace or a configured game installation.";
|
|
1313
|
+
};
|
|
1314
|
+
};
|
|
1315
|
+
readonly required: readonly ["file"];
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
1318
|
+
readonly registry: {
|
|
1319
|
+
readonly name: "document_symbols";
|
|
1320
|
+
readonly isWrite: false;
|
|
1321
|
+
readonly isReadOnly: true;
|
|
1322
|
+
readonly effect: "workspace_read";
|
|
1323
|
+
readonly riskLevel: 0;
|
|
1324
|
+
readonly concurrencyClass: "lsp-limited";
|
|
1325
|
+
readonly mcpSupportsCwtOnly: true;
|
|
1326
|
+
};
|
|
1327
|
+
}, {
|
|
1328
|
+
readonly tool: {
|
|
1329
|
+
readonly name: "workspace_symbols";
|
|
1330
|
+
readonly description: "Search symbol definitions by name through active VS Code workspace symbol providers. Use a specific query. Empty results may reflect provider coverage or indexing state and are not proof that text is absent from the repository.";
|
|
1331
|
+
readonly inputSchema: {
|
|
1332
|
+
readonly type: "object";
|
|
1333
|
+
readonly properties: {
|
|
1334
|
+
readonly query: {
|
|
1335
|
+
readonly type: "string";
|
|
1336
|
+
readonly description: "Symbol name or partial name to search for. Be specific to avoid large result sets.";
|
|
1337
|
+
};
|
|
1338
|
+
readonly limit: {
|
|
1339
|
+
readonly type: "number";
|
|
1340
|
+
readonly description: "Max results (default 20; keep low for broad searches to avoid token waste).";
|
|
1341
|
+
};
|
|
1342
|
+
};
|
|
1343
|
+
readonly required: readonly ["query"];
|
|
1344
|
+
};
|
|
1345
|
+
};
|
|
1346
|
+
readonly registry: {
|
|
1347
|
+
readonly name: "workspace_symbols";
|
|
1348
|
+
readonly isWrite: false;
|
|
1349
|
+
readonly isReadOnly: true;
|
|
1350
|
+
readonly effect: "workspace_read";
|
|
1351
|
+
readonly riskLevel: 0;
|
|
1352
|
+
readonly concurrencyClass: "lsp-limited";
|
|
1353
|
+
readonly mcpSupportsCwtOnly: true;
|
|
1354
|
+
};
|
|
1355
|
+
}, {
|
|
1356
|
+
readonly tool: {
|
|
1357
|
+
readonly name: "go_to_definition";
|
|
1358
|
+
readonly description: "Find a definition by exact symbol name or by a 0-based file position. Uses CWTools semantic lookup when available and falls back to the active VS Code language provider.";
|
|
1359
|
+
readonly inputSchema: {
|
|
1360
|
+
readonly type: "object";
|
|
1361
|
+
readonly properties: {
|
|
1362
|
+
readonly symbolName: {
|
|
1363
|
+
readonly type: "string";
|
|
1364
|
+
readonly description: "Exact symbol name. Use this instead of file/line/column when the identifier is known.";
|
|
1365
|
+
};
|
|
1366
|
+
readonly file: {
|
|
1367
|
+
readonly type: "string";
|
|
1368
|
+
readonly description: "Absolute file path inside the workspace or a configured game installation.";
|
|
1369
|
+
};
|
|
1370
|
+
readonly line: {
|
|
1371
|
+
readonly type: "number";
|
|
1372
|
+
readonly description: "Line number (0-based).";
|
|
1373
|
+
};
|
|
1374
|
+
readonly column: {
|
|
1375
|
+
readonly type: "number";
|
|
1376
|
+
readonly description: "Column number (0-based).";
|
|
1377
|
+
};
|
|
1378
|
+
};
|
|
1379
|
+
readonly required: readonly [];
|
|
1380
|
+
readonly additionalProperties: false;
|
|
1381
|
+
};
|
|
1382
|
+
};
|
|
1383
|
+
readonly registry: {
|
|
1384
|
+
readonly name: "go_to_definition";
|
|
1385
|
+
readonly isWrite: false;
|
|
1386
|
+
readonly isReadOnly: true;
|
|
1387
|
+
readonly effect: "workspace_read";
|
|
1388
|
+
readonly riskLevel: 0;
|
|
1389
|
+
readonly concurrencyClass: "lsp-limited";
|
|
1390
|
+
readonly mcpSupportsCwtOnly: true;
|
|
1391
|
+
};
|
|
1392
|
+
}, {
|
|
1393
|
+
readonly tool: {
|
|
1394
|
+
readonly name: "find_references";
|
|
1395
|
+
readonly description: "Find references by exact identifier or by a 0-based file position. Identifier lookup uses workspace symbols plus a bounded text fallback; position lookup uses the active VS Code language provider.";
|
|
1396
|
+
readonly inputSchema: {
|
|
1397
|
+
readonly type: "object";
|
|
1398
|
+
readonly properties: {
|
|
1399
|
+
readonly identifier: {
|
|
1400
|
+
readonly type: "string";
|
|
1401
|
+
readonly description: "Exact identifier. Use this instead of file/line/column when the name is known.";
|
|
1402
|
+
};
|
|
1403
|
+
readonly file: {
|
|
1404
|
+
readonly type: "string";
|
|
1405
|
+
readonly description: "Absolute file path inside the workspace or a configured game installation.";
|
|
1406
|
+
};
|
|
1407
|
+
readonly line: {
|
|
1408
|
+
readonly type: "number";
|
|
1409
|
+
readonly description: "Line number (0-based).";
|
|
1410
|
+
};
|
|
1411
|
+
readonly column: {
|
|
1412
|
+
readonly type: "number";
|
|
1413
|
+
readonly description: "Column number (0-based).";
|
|
1414
|
+
};
|
|
1415
|
+
readonly limit: {
|
|
1416
|
+
readonly type: "number";
|
|
1417
|
+
readonly description: "Maximum references to return (default 100, max 500).";
|
|
1418
|
+
};
|
|
1419
|
+
};
|
|
1420
|
+
readonly required: readonly [];
|
|
1421
|
+
readonly additionalProperties: false;
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
readonly registry: {
|
|
1425
|
+
readonly name: "find_references";
|
|
1426
|
+
readonly isWrite: false;
|
|
1427
|
+
readonly isReadOnly: true;
|
|
1428
|
+
readonly effect: "workspace_read";
|
|
1429
|
+
readonly riskLevel: 0;
|
|
1430
|
+
readonly concurrencyClass: "lsp-limited";
|
|
1431
|
+
readonly mcpSupportsCwtOnly: true;
|
|
1432
|
+
};
|
|
1433
|
+
}, {
|
|
1434
|
+
readonly tool: {
|
|
1435
|
+
readonly name: "query_scripted_effects";
|
|
1436
|
+
readonly description: "Warning: MANDATORY before using any scripted_effect. Lists all scripted effects with name, scope constraints, and type. PDXscript effect names are frequently hallucinated - always verify here first.";
|
|
1437
|
+
readonly inputSchema: {
|
|
1438
|
+
readonly type: "object";
|
|
1439
|
+
readonly properties: {
|
|
1440
|
+
readonly filter: {
|
|
1441
|
+
readonly type: "string";
|
|
1442
|
+
readonly description: "Optional substring filter on effect name. Without filter, results are limited to 50; with filter, up to 200.";
|
|
1443
|
+
};
|
|
1444
|
+
readonly limit: {
|
|
1445
|
+
readonly type: "number";
|
|
1446
|
+
readonly description: "Max results (default 50 without filter, 200 with filter)";
|
|
1447
|
+
};
|
|
1448
|
+
};
|
|
1449
|
+
readonly required: readonly [];
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
readonly registry: {
|
|
1453
|
+
readonly name: "query_scripted_effects";
|
|
1454
|
+
readonly isWrite: false;
|
|
1455
|
+
readonly isReadOnly: true;
|
|
1456
|
+
readonly effect: "workspace_read";
|
|
1457
|
+
readonly riskLevel: 0;
|
|
1458
|
+
readonly concurrencyClass: "parallel";
|
|
1459
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1460
|
+
};
|
|
1461
|
+
}, {
|
|
1462
|
+
readonly tool: {
|
|
1463
|
+
readonly name: "query_scripted_triggers";
|
|
1464
|
+
readonly description: "Warning: MANDATORY before using any scripted_trigger. Lists all scripted triggers with name, scope constraints, and type. Trigger names are frequently hallucinated - always verify here first.";
|
|
1465
|
+
readonly inputSchema: {
|
|
1466
|
+
readonly type: "object";
|
|
1467
|
+
readonly properties: {
|
|
1468
|
+
readonly filter: {
|
|
1469
|
+
readonly type: "string";
|
|
1470
|
+
readonly description: "Optional substring filter on trigger name. Without filter, results are limited to 50; with filter, up to 200.";
|
|
1471
|
+
};
|
|
1472
|
+
readonly limit: {
|
|
1473
|
+
readonly type: "number";
|
|
1474
|
+
readonly description: "Max results (default 50 without filter, 200 with filter)";
|
|
1475
|
+
};
|
|
1476
|
+
};
|
|
1477
|
+
readonly required: readonly [];
|
|
1478
|
+
};
|
|
1479
|
+
};
|
|
1480
|
+
readonly registry: {
|
|
1481
|
+
readonly name: "query_scripted_triggers";
|
|
1482
|
+
readonly isWrite: false;
|
|
1483
|
+
readonly isReadOnly: true;
|
|
1484
|
+
readonly effect: "workspace_read";
|
|
1485
|
+
readonly riskLevel: 0;
|
|
1486
|
+
readonly concurrencyClass: "parallel";
|
|
1487
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1488
|
+
};
|
|
1489
|
+
}, {
|
|
1490
|
+
readonly tool: {
|
|
1491
|
+
readonly name: "query_enums";
|
|
1492
|
+
readonly description: "Warning: MANDATORY before using any enum field. Query enum values from CWTools rules. Call with no enumName to list all enums, then query specific enum for values. Always verify - enum values are domain-specific.";
|
|
1493
|
+
readonly inputSchema: {
|
|
1494
|
+
readonly type: "object";
|
|
1495
|
+
readonly properties: {
|
|
1496
|
+
readonly enumName: {
|
|
1497
|
+
readonly type: "string";
|
|
1498
|
+
readonly description: "Exact enum name discovered from CWT/schema evidence. Leave empty to list all enum names.";
|
|
1499
|
+
};
|
|
1500
|
+
readonly limit: {
|
|
1501
|
+
readonly type: "number";
|
|
1502
|
+
readonly description: "Max values to return (default 500)";
|
|
1503
|
+
};
|
|
1504
|
+
};
|
|
1505
|
+
readonly required: readonly [];
|
|
1506
|
+
};
|
|
1507
|
+
};
|
|
1508
|
+
readonly registry: {
|
|
1509
|
+
readonly name: "query_enums";
|
|
1510
|
+
readonly isWrite: false;
|
|
1511
|
+
readonly isReadOnly: true;
|
|
1512
|
+
readonly effect: "workspace_read";
|
|
1513
|
+
readonly riskLevel: 0;
|
|
1514
|
+
readonly concurrencyClass: "parallel";
|
|
1515
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1516
|
+
};
|
|
1517
|
+
}, {
|
|
1518
|
+
readonly tool: {
|
|
1519
|
+
readonly name: "query_static_modifiers";
|
|
1520
|
+
readonly description: "Warning: MANDATORY before using add_modifier. Lists static modifiers with categories. Modifier names are domain-specific - always verify. Dynamic/engine modifiers may not appear here - use query_rules(category=\"modifier\") as fallback.";
|
|
1521
|
+
readonly inputSchema: {
|
|
1522
|
+
readonly type: "object";
|
|
1523
|
+
readonly properties: {
|
|
1524
|
+
readonly filter: {
|
|
1525
|
+
readonly type: "string";
|
|
1526
|
+
readonly description: "Optional substring filter on modifier tag";
|
|
1527
|
+
};
|
|
1528
|
+
readonly limit: {
|
|
1529
|
+
readonly type: "number";
|
|
1530
|
+
readonly description: "Max results (default 300)";
|
|
1531
|
+
};
|
|
1532
|
+
};
|
|
1533
|
+
readonly required: readonly [];
|
|
1534
|
+
};
|
|
1535
|
+
};
|
|
1536
|
+
readonly registry: {
|
|
1537
|
+
readonly name: "query_static_modifiers";
|
|
1538
|
+
readonly isWrite: false;
|
|
1539
|
+
readonly isReadOnly: true;
|
|
1540
|
+
readonly effect: "workspace_read";
|
|
1541
|
+
readonly riskLevel: 0;
|
|
1542
|
+
readonly concurrencyClass: "parallel";
|
|
1543
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1544
|
+
};
|
|
1545
|
+
}, {
|
|
1546
|
+
readonly tool: {
|
|
1547
|
+
readonly name: "query_variables";
|
|
1548
|
+
readonly description: "List all scripted variables (@variable_name = value) defined across the mod and vanilla. Use this to look up numeric constant values defined with @-prefix before using them in generated code.";
|
|
1549
|
+
readonly inputSchema: {
|
|
1550
|
+
readonly type: "object";
|
|
1551
|
+
readonly properties: {
|
|
1552
|
+
readonly filter: {
|
|
1553
|
+
readonly type: "string";
|
|
1554
|
+
readonly description: "Optional substring filter on variable name";
|
|
1555
|
+
};
|
|
1556
|
+
};
|
|
1557
|
+
readonly required: readonly [];
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
readonly registry: {
|
|
1561
|
+
readonly name: "query_variables";
|
|
1562
|
+
readonly isWrite: false;
|
|
1563
|
+
readonly isReadOnly: true;
|
|
1564
|
+
readonly effect: "workspace_read";
|
|
1565
|
+
readonly riskLevel: 0;
|
|
1566
|
+
readonly concurrencyClass: "parallel";
|
|
1567
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1568
|
+
};
|
|
1569
|
+
}, {
|
|
1570
|
+
readonly tool: {
|
|
1571
|
+
readonly name: "get_entity_info";
|
|
1572
|
+
readonly description: "Get deep structural info from the CWTools cache, including referenced types, variables, classified rule blocks, and saved scopes. Use it to understand file dependencies before modification.";
|
|
1573
|
+
readonly inputSchema: {
|
|
1574
|
+
readonly type: "object";
|
|
1575
|
+
readonly properties: {
|
|
1576
|
+
readonly file: {
|
|
1577
|
+
readonly type: "string";
|
|
1578
|
+
readonly description: "Absolute path to a parsed file inside the workspace or a configured game installation.";
|
|
1579
|
+
};
|
|
1580
|
+
};
|
|
1581
|
+
readonly required: readonly ["file"];
|
|
1582
|
+
};
|
|
1583
|
+
};
|
|
1584
|
+
readonly registry: {
|
|
1585
|
+
readonly name: "get_entity_info";
|
|
1586
|
+
readonly isWrite: false;
|
|
1587
|
+
readonly isReadOnly: true;
|
|
1588
|
+
readonly effect: "workspace_read";
|
|
1589
|
+
readonly riskLevel: 0;
|
|
1590
|
+
readonly concurrencyClass: "parallel";
|
|
1591
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1592
|
+
};
|
|
1593
|
+
}, {
|
|
1594
|
+
readonly tool: {
|
|
1595
|
+
readonly name: "find_sprite_candidates";
|
|
1596
|
+
readonly description: "Find existing PDX spriteType candidates (GFX_*) in the mod workspace and/or vanilla .gfx files. Use this for diagnostics like \"Expected value of type sprite\" before changing picture/icon/sprite fields. Returns verified sprite names plus texturefile and source; do not guess GFX names.";
|
|
1597
|
+
readonly inputSchema: {
|
|
1598
|
+
readonly type: "object";
|
|
1599
|
+
readonly properties: {
|
|
1600
|
+
readonly query: {
|
|
1601
|
+
readonly type: "string";
|
|
1602
|
+
readonly description: "Semantic search terms derived from the surrounding project content or invalid asset value.";
|
|
1603
|
+
};
|
|
1604
|
+
readonly currentValue: {
|
|
1605
|
+
readonly type: "string";
|
|
1606
|
+
readonly description: "The current invalid or desired sprite value, used to derive fallback search terms.";
|
|
1607
|
+
};
|
|
1608
|
+
readonly fieldName: {
|
|
1609
|
+
readonly type: "string";
|
|
1610
|
+
readonly description: "Field being repaired, e.g. \"picture\", \"icon\", \"spriteType\". Helps rank event pictures vs icons.";
|
|
1611
|
+
};
|
|
1612
|
+
readonly file: {
|
|
1613
|
+
readonly type: "string";
|
|
1614
|
+
readonly description: "Optional file containing the diagnostic, for context only.";
|
|
1615
|
+
};
|
|
1616
|
+
readonly line: {
|
|
1617
|
+
readonly type: "number";
|
|
1618
|
+
readonly description: "Optional diagnostic line number, for context only.";
|
|
1619
|
+
};
|
|
1620
|
+
readonly searchContext: {
|
|
1621
|
+
readonly type: "string";
|
|
1622
|
+
readonly enum: readonly ["mod", "vanilla", "both"];
|
|
1623
|
+
readonly description: "Where to search. Defaults to \"both\"; project sprites are ranked before vanilla.";
|
|
1624
|
+
};
|
|
1625
|
+
readonly limit: {
|
|
1626
|
+
readonly type: "number";
|
|
1627
|
+
readonly description: "Maximum candidates to return (default 20, max 50).";
|
|
1628
|
+
};
|
|
1629
|
+
};
|
|
1630
|
+
readonly required: readonly [];
|
|
1631
|
+
};
|
|
1632
|
+
};
|
|
1633
|
+
readonly registry: {
|
|
1634
|
+
readonly name: "find_sprite_candidates";
|
|
1635
|
+
readonly isWrite: false;
|
|
1636
|
+
readonly isReadOnly: true;
|
|
1637
|
+
readonly effect: "workspace_read";
|
|
1638
|
+
readonly riskLevel: 0;
|
|
1639
|
+
readonly concurrencyClass: "parallel";
|
|
1640
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1641
|
+
};
|
|
1642
|
+
}, {
|
|
1643
|
+
readonly tool: {
|
|
1644
|
+
readonly name: "find_sound_candidates";
|
|
1645
|
+
readonly description: "Find existing Clausewitz sound/music asset candidates in mod and/or vanilla .asset files. Use this for diagnostics or fields like `show_sound = ...`, `sound = ...`, or missing sound references before editing. Returns verified asset names plus file references and source; do not guess sound asset names.";
|
|
1646
|
+
readonly inputSchema: {
|
|
1647
|
+
readonly type: "object";
|
|
1648
|
+
readonly properties: {
|
|
1649
|
+
readonly query: {
|
|
1650
|
+
readonly type: "string";
|
|
1651
|
+
readonly description: "Semantic search terms derived from surrounding content or the invalid sound name.";
|
|
1652
|
+
};
|
|
1653
|
+
readonly currentValue: {
|
|
1654
|
+
readonly type: "string";
|
|
1655
|
+
readonly description: "The current invalid or desired sound asset value, e.g. \"event_alien_signal\". Used to derive fallback search terms.";
|
|
1656
|
+
};
|
|
1657
|
+
readonly fieldName: {
|
|
1658
|
+
readonly type: "string";
|
|
1659
|
+
readonly description: "Field being repaired, e.g. \"show_sound\", \"sound\", \"music\". Helps rank event sounds vs UI sounds.";
|
|
1660
|
+
};
|
|
1661
|
+
readonly file: {
|
|
1662
|
+
readonly type: "string";
|
|
1663
|
+
readonly description: "Optional file containing the diagnostic, for context only.";
|
|
1664
|
+
};
|
|
1665
|
+
readonly line: {
|
|
1666
|
+
readonly type: "number";
|
|
1667
|
+
readonly description: "Optional diagnostic line number, for context only.";
|
|
1668
|
+
};
|
|
1669
|
+
readonly searchContext: {
|
|
1670
|
+
readonly type: "string";
|
|
1671
|
+
readonly enum: readonly ["mod", "vanilla", "both"];
|
|
1672
|
+
readonly description: "Where to search. Defaults to \"both\"; project assets are ranked before vanilla.";
|
|
1673
|
+
};
|
|
1674
|
+
readonly limit: {
|
|
1675
|
+
readonly type: "number";
|
|
1676
|
+
readonly description: "Maximum candidates to return (default 20, max 50).";
|
|
1677
|
+
};
|
|
1678
|
+
};
|
|
1679
|
+
readonly required: readonly [];
|
|
1680
|
+
};
|
|
1681
|
+
};
|
|
1682
|
+
readonly registry: {
|
|
1683
|
+
readonly name: "find_sound_candidates";
|
|
1684
|
+
readonly isWrite: false;
|
|
1685
|
+
readonly isReadOnly: true;
|
|
1686
|
+
readonly effect: "workspace_read";
|
|
1687
|
+
readonly riskLevel: 0;
|
|
1688
|
+
readonly concurrencyClass: "parallel";
|
|
1689
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1690
|
+
};
|
|
1691
|
+
}, {
|
|
1692
|
+
readonly tool: {
|
|
1693
|
+
readonly name: "query_shader_symbol";
|
|
1694
|
+
readonly description: "Read-only. Query declared Paradox shader symbols (Effects, MainCode stages, constant buffers, render states) from the CWTools shader model across mod, dependencies, and vanilla. Effect entries carry a reachability classification: engine_or_unreferenced means reachability is UNKNOWN, not dead code - never treat it as safe to delete. Page with cursor when nextCursor is non-null.";
|
|
1695
|
+
readonly inputSchema: {
|
|
1696
|
+
readonly type: "object";
|
|
1697
|
+
readonly properties: {
|
|
1698
|
+
readonly filter: {
|
|
1699
|
+
readonly type: "string";
|
|
1700
|
+
readonly description: "Optional case-insensitive substring filter on the symbol name.";
|
|
1701
|
+
};
|
|
1702
|
+
readonly kind: {
|
|
1703
|
+
readonly type: "string";
|
|
1704
|
+
readonly enum: readonly ["all", "effect", "maincode", "constantbuffer", "state"];
|
|
1705
|
+
readonly description: "Symbol kind filter. Default all.";
|
|
1706
|
+
};
|
|
1707
|
+
readonly limit: {
|
|
1708
|
+
readonly type: "number";
|
|
1709
|
+
readonly description: "Max results to return (1-500, default 100).";
|
|
1710
|
+
};
|
|
1711
|
+
readonly cursor: {
|
|
1712
|
+
readonly type: "number";
|
|
1713
|
+
readonly description: "Numeric offset returned as nextCursor by a previous call. Default 0.";
|
|
1714
|
+
};
|
|
1715
|
+
};
|
|
1716
|
+
readonly required: readonly [];
|
|
1717
|
+
};
|
|
1718
|
+
};
|
|
1719
|
+
readonly registry: {
|
|
1720
|
+
readonly name: "query_shader_symbol";
|
|
1721
|
+
readonly isWrite: false;
|
|
1722
|
+
readonly isReadOnly: true;
|
|
1723
|
+
readonly effect: "workspace_read";
|
|
1724
|
+
readonly riskLevel: 0;
|
|
1725
|
+
readonly concurrencyClass: "lsp-limited";
|
|
1726
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1727
|
+
};
|
|
1728
|
+
}, {
|
|
1729
|
+
readonly tool: {
|
|
1730
|
+
readonly name: "query_shader_compile_unit";
|
|
1731
|
+
readonly description: "Read-only. Return the compile unit for a .shader root or .fxh include: root file, include members with resolution status and origin, include problems (missing/ambiguous/cycle), and the roots that include this file. MANDATORY before editing any .fxh: symbol validity depends on the whole compile unit (root + Includes + platform conditions), so raw text search across the repo does not prove shader semantics.";
|
|
1732
|
+
readonly inputSchema: {
|
|
1733
|
+
readonly type: "object";
|
|
1734
|
+
readonly properties: {
|
|
1735
|
+
readonly file: {
|
|
1736
|
+
readonly type: "string";
|
|
1737
|
+
readonly description: "Workspace-relative path or absolute path inside the workspace/configured game installation.";
|
|
1738
|
+
};
|
|
1739
|
+
};
|
|
1740
|
+
readonly required: readonly ["file"];
|
|
1741
|
+
};
|
|
1742
|
+
};
|
|
1743
|
+
readonly registry: {
|
|
1744
|
+
readonly name: "query_shader_compile_unit";
|
|
1745
|
+
readonly isWrite: false;
|
|
1746
|
+
readonly isReadOnly: true;
|
|
1747
|
+
readonly effect: "workspace_read";
|
|
1748
|
+
readonly riskLevel: 0;
|
|
1749
|
+
readonly concurrencyClass: "lsp-limited";
|
|
1750
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1751
|
+
};
|
|
1752
|
+
}, {
|
|
1753
|
+
readonly tool: {
|
|
1754
|
+
readonly name: "query_shader_platform_variants";
|
|
1755
|
+
readonly description: "Read-only. Compare presence conditions, macros, and active symbols for every supported Paradox shader platform profile in a compile unit. MANDATORY before changing conditional shader code or macros; validating only the current platform is insufficient.";
|
|
1756
|
+
readonly inputSchema: {
|
|
1757
|
+
readonly type: "object";
|
|
1758
|
+
readonly properties: {
|
|
1759
|
+
readonly file: {
|
|
1760
|
+
readonly type: "string";
|
|
1761
|
+
readonly description: "Workspace-relative path or absolute path inside the workspace/configured game installation.";
|
|
1762
|
+
};
|
|
1763
|
+
};
|
|
1764
|
+
readonly required: readonly ["file"];
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
readonly registry: {
|
|
1768
|
+
readonly name: "query_shader_platform_variants";
|
|
1769
|
+
readonly isWrite: false;
|
|
1770
|
+
readonly isReadOnly: true;
|
|
1771
|
+
readonly effect: "workspace_read";
|
|
1772
|
+
readonly riskLevel: 0;
|
|
1773
|
+
readonly concurrencyClass: "lsp-limited";
|
|
1774
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1775
|
+
};
|
|
1776
|
+
}, {
|
|
1777
|
+
readonly tool: {
|
|
1778
|
+
readonly name: "query_shader_callers";
|
|
1779
|
+
readonly description: "Read-only. Return evidence of what references a shader Effect: data-script assignments and effectFile selections, each with file, logicalPath, origin, enclosingBlock, interfaceSprite/rendererSubtype, direct renderer inputs and bounded static GUI use sites when known, range, and provenance (sourceKind, confidence, gameVersion). MANDATORY before renaming or deleting an Effect.";
|
|
1780
|
+
readonly inputSchema: {
|
|
1781
|
+
readonly type: "object";
|
|
1782
|
+
readonly properties: {
|
|
1783
|
+
readonly effectName: {
|
|
1784
|
+
readonly type: "string";
|
|
1785
|
+
readonly description: "Exact shader Effect name.";
|
|
1786
|
+
};
|
|
1787
|
+
readonly limit: {
|
|
1788
|
+
readonly type: "number";
|
|
1789
|
+
readonly description: "Max evidence entries to return (default 100).";
|
|
1790
|
+
};
|
|
1791
|
+
};
|
|
1792
|
+
readonly required: readonly ["effectName"];
|
|
1793
|
+
};
|
|
1794
|
+
};
|
|
1795
|
+
readonly registry: {
|
|
1796
|
+
readonly name: "query_shader_callers";
|
|
1797
|
+
readonly isWrite: false;
|
|
1798
|
+
readonly isReadOnly: true;
|
|
1799
|
+
readonly effect: "workspace_read";
|
|
1800
|
+
readonly riskLevel: 0;
|
|
1801
|
+
readonly concurrencyClass: "lsp-limited";
|
|
1802
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1803
|
+
};
|
|
1804
|
+
}, {
|
|
1805
|
+
readonly tool: {
|
|
1806
|
+
readonly name: "explain_shader_reachability";
|
|
1807
|
+
readonly description: "Read-only. Explain why a shader Effect is reachable or why reachability is unknown: classification, declarations, evidence with provenance/confidence, and the rename policy decision. Respect renamePolicy - engine_hardcoded or unknown entry points must not be renamed. A newly declared Effect is NOT executed unless reachable via a data call, an effectFile convention, or a known engine entry. Pass effectName for one Effect, or file to page through all Effects declared in a shader file.";
|
|
1808
|
+
readonly inputSchema: {
|
|
1809
|
+
readonly type: "object";
|
|
1810
|
+
readonly properties: {
|
|
1811
|
+
readonly effectName: {
|
|
1812
|
+
readonly type: "string";
|
|
1813
|
+
readonly description: "Exact shader Effect name. Takes precedence over file.";
|
|
1814
|
+
};
|
|
1815
|
+
readonly file: {
|
|
1816
|
+
readonly type: "string";
|
|
1817
|
+
readonly description: "Workspace-relative path or absolute path inside the workspace/configured game installation; lists its Effects with cursor pagination.";
|
|
1818
|
+
};
|
|
1819
|
+
readonly limit: {
|
|
1820
|
+
readonly type: "number";
|
|
1821
|
+
readonly description: "Max results for the per-file form (1-500, default 100).";
|
|
1822
|
+
};
|
|
1823
|
+
readonly cursor: {
|
|
1824
|
+
readonly type: "number";
|
|
1825
|
+
readonly description: "Numeric offset returned as nextCursor by a previous per-file call. Default 0.";
|
|
1826
|
+
};
|
|
1827
|
+
};
|
|
1828
|
+
readonly required: readonly [];
|
|
1829
|
+
};
|
|
1830
|
+
};
|
|
1831
|
+
readonly registry: {
|
|
1832
|
+
readonly name: "explain_shader_reachability";
|
|
1833
|
+
readonly isWrite: false;
|
|
1834
|
+
readonly isReadOnly: true;
|
|
1835
|
+
readonly effect: "workspace_read";
|
|
1836
|
+
readonly riskLevel: 0;
|
|
1837
|
+
readonly concurrencyClass: "lsp-limited";
|
|
1838
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1839
|
+
};
|
|
1840
|
+
}, {
|
|
1841
|
+
readonly tool: {
|
|
1842
|
+
readonly name: "validate_shader";
|
|
1843
|
+
readonly description: "Read-only. Validate a .shader/.fxh file inside its compile unit and return structured diagnostics (code, severity, message, range). Run this on every affected compile-unit root after editing shader files.";
|
|
1844
|
+
readonly inputSchema: {
|
|
1845
|
+
readonly type: "object";
|
|
1846
|
+
readonly properties: {
|
|
1847
|
+
readonly file: {
|
|
1848
|
+
readonly type: "string";
|
|
1849
|
+
readonly description: "Workspace-relative path or absolute path inside the workspace/configured game installation.";
|
|
1850
|
+
};
|
|
1851
|
+
};
|
|
1852
|
+
readonly required: readonly ["file"];
|
|
1853
|
+
};
|
|
1854
|
+
};
|
|
1855
|
+
readonly registry: {
|
|
1856
|
+
readonly name: "validate_shader";
|
|
1857
|
+
readonly isWrite: false;
|
|
1858
|
+
readonly isReadOnly: true;
|
|
1859
|
+
readonly effect: "workspace_read";
|
|
1860
|
+
readonly riskLevel: 0;
|
|
1861
|
+
readonly concurrencyClass: "lsp-limited";
|
|
1862
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1863
|
+
};
|
|
1864
|
+
}, {
|
|
1865
|
+
readonly tool: {
|
|
1866
|
+
readonly name: "compare_shader_with_vanilla";
|
|
1867
|
+
readonly description: "Read-only. Structurally compare workspace shader declarations with vanilla: which declarations are effective and which vanilla declarations they override. Pass effectName for one Effect, or file for all Effects declared in a shader file.";
|
|
1868
|
+
readonly inputSchema: {
|
|
1869
|
+
readonly type: "object";
|
|
1870
|
+
readonly properties: {
|
|
1871
|
+
readonly effectName: {
|
|
1872
|
+
readonly type: "string";
|
|
1873
|
+
readonly description: "Exact shader Effect name. Takes precedence over file.";
|
|
1874
|
+
};
|
|
1875
|
+
readonly file: {
|
|
1876
|
+
readonly type: "string";
|
|
1877
|
+
readonly description: "Workspace-relative path or absolute path inside the workspace/configured game installation.";
|
|
1878
|
+
};
|
|
1879
|
+
};
|
|
1880
|
+
readonly required: readonly [];
|
|
1881
|
+
};
|
|
1882
|
+
};
|
|
1883
|
+
readonly registry: {
|
|
1884
|
+
readonly name: "compare_shader_with_vanilla";
|
|
1885
|
+
readonly isWrite: false;
|
|
1886
|
+
readonly isReadOnly: true;
|
|
1887
|
+
readonly effect: "workspace_read";
|
|
1888
|
+
readonly riskLevel: 0;
|
|
1889
|
+
readonly concurrencyClass: "lsp-limited";
|
|
1890
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1891
|
+
};
|
|
1892
|
+
}, {
|
|
1893
|
+
readonly tool: {
|
|
1894
|
+
readonly name: "get_ide_context";
|
|
1895
|
+
readonly description: "Read the active VS Code IDE state: the active text editor file, languageId, cursor position, selection range/text, open dirty buffers, active diagnostics on the current file, and currently open CWTools visual editor panels (GUI Preview, Entity Preview, Particle Preview, Solar System Preview, Tech Tree, Event Chain, Targeting Weight).";
|
|
1896
|
+
readonly inputSchema: {
|
|
1897
|
+
readonly type: "object";
|
|
1898
|
+
readonly properties: {
|
|
1899
|
+
readonly includeSelectionText: {
|
|
1900
|
+
readonly type: "boolean";
|
|
1901
|
+
readonly description: "Whether to include the selected text in the active editor (bounded to 4000 chars). Defaults to true.";
|
|
1902
|
+
};
|
|
1903
|
+
readonly includeActiveFileDiagnostics: {
|
|
1904
|
+
readonly type: "boolean";
|
|
1905
|
+
readonly description: "Whether to include current diagnostics for the active editor file. Defaults to true.";
|
|
1906
|
+
};
|
|
1907
|
+
};
|
|
1908
|
+
readonly required: readonly [];
|
|
1909
|
+
};
|
|
1910
|
+
};
|
|
1911
|
+
readonly registry: {
|
|
1912
|
+
readonly name: "get_ide_context";
|
|
1913
|
+
readonly isWrite: false;
|
|
1914
|
+
readonly isReadOnly: true;
|
|
1915
|
+
readonly effect: "workspace_read";
|
|
1916
|
+
readonly riskLevel: 0;
|
|
1917
|
+
readonly concurrencyClass: "parallel";
|
|
1918
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1919
|
+
};
|
|
1920
|
+
}, {
|
|
1921
|
+
readonly tool: {
|
|
1922
|
+
readonly name: "open_in_visual_editor";
|
|
1923
|
+
readonly description: "Open or refresh a Paradox file in the appropriate CWTools VS Code visual editor panel (gui -> GUI Preview, entity -> 3D Entity Preview, particle -> Particle Preview, solar_system -> Solar System Preview, tech_tree -> Tech Tree Visualizer, event_chain -> Event Chain Visualizer, target_weight -> Targeting Weight Analyzer, auto -> infer from file path/extension) and return the parsed structural summary of the opened view.";
|
|
1924
|
+
readonly inputSchema: {
|
|
1925
|
+
readonly type: "object";
|
|
1926
|
+
readonly properties: {
|
|
1927
|
+
readonly file: {
|
|
1928
|
+
readonly type: "string";
|
|
1929
|
+
readonly description: "Workspace-relative or absolute path to the file to open/preview. Optional for tech_tree, event_chain, or target_weight when using the active editor.";
|
|
1930
|
+
};
|
|
1931
|
+
readonly editor: {
|
|
1932
|
+
readonly type: "string";
|
|
1933
|
+
readonly enum: readonly ["auto", "gui", "entity", "particle", "solar_system", "tech_tree", "event_chain", "target_weight"];
|
|
1934
|
+
readonly description: "Visual editor to open. Defaults to auto (inferred from file extension and directory).";
|
|
1935
|
+
};
|
|
1936
|
+
readonly line: {
|
|
1937
|
+
readonly type: "integer";
|
|
1938
|
+
readonly minimum: 1;
|
|
1939
|
+
readonly description: "Optional 1-based line number to focus (used by event_chain or target_weight cursor seeding).";
|
|
1940
|
+
};
|
|
1941
|
+
};
|
|
1942
|
+
readonly required: readonly [];
|
|
1943
|
+
};
|
|
1944
|
+
};
|
|
1945
|
+
readonly registry: {
|
|
1946
|
+
readonly name: "open_in_visual_editor";
|
|
1947
|
+
readonly isWrite: false;
|
|
1948
|
+
readonly isReadOnly: true;
|
|
1949
|
+
readonly effect: "workspace_read";
|
|
1950
|
+
readonly riskLevel: 0;
|
|
1951
|
+
readonly concurrencyClass: "parallel";
|
|
1952
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1953
|
+
};
|
|
1954
|
+
}, {
|
|
1955
|
+
readonly tool: {
|
|
1956
|
+
readonly name: "capture_gui_preview";
|
|
1957
|
+
readonly description: "Capture the active or specified CWTools GUI preview in a fixed logical frame. Returns bounded PNG artifact references, document/version metadata, structured selection context, and optional diff metrics against a previous capture. The external Agent decides whether visual verification passed; no automatic Agent turn is started.";
|
|
1958
|
+
readonly inputSchema: {
|
|
1959
|
+
readonly type: "object";
|
|
1960
|
+
readonly properties: {
|
|
1961
|
+
readonly file: {
|
|
1962
|
+
readonly type: "string";
|
|
1963
|
+
readonly description: "Workspace-relative or absolute .gui file. Defaults to the active GUI preview.";
|
|
1964
|
+
};
|
|
1965
|
+
readonly baselineArtifactId: {
|
|
1966
|
+
readonly type: "string";
|
|
1967
|
+
readonly description: "Optional artifact id returned by an earlier capture of the same file and frame.";
|
|
1968
|
+
};
|
|
1969
|
+
};
|
|
1970
|
+
readonly required: readonly [];
|
|
1971
|
+
readonly additionalProperties: false;
|
|
1972
|
+
};
|
|
1973
|
+
};
|
|
1974
|
+
readonly registry: {
|
|
1975
|
+
readonly name: "capture_gui_preview";
|
|
1976
|
+
readonly isWrite: false;
|
|
1977
|
+
readonly isReadOnly: true;
|
|
1978
|
+
readonly effect: "workspace_read";
|
|
1979
|
+
readonly riskLevel: 0;
|
|
1980
|
+
readonly concurrencyClass: "parallel";
|
|
1981
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1982
|
+
};
|
|
1983
|
+
}, {
|
|
1984
|
+
readonly tool: {
|
|
1985
|
+
readonly name: "write_localisation";
|
|
1986
|
+
readonly description: "MANDATORY for all .yml localisation file operations. Safely write PDXScript localisation entries. filePath MUST be a real localisation path under localisation/ or localization/; never write localisation YAML into .cwtools scratch/topic folders. This tool handles BOM encoding, key formatting, and correct insertion/update automatically. For new files, creates them with proper BOM + language header. For existing files, appends new keys and updates existing ones by exact key match. NEVER use edit_file, replace_lines, or write_file for .yml localisation files - ALWAYS use this tool instead.";
|
|
1987
|
+
readonly inputSchema: {
|
|
1988
|
+
readonly type: "object";
|
|
1989
|
+
readonly properties: {
|
|
1990
|
+
readonly filePath: {
|
|
1991
|
+
readonly type: "string";
|
|
1992
|
+
readonly description: "Path to the real .yml localisation file (absolute or relative to workspace), under localisation/ or localization/. Do not use .cwtools paths.";
|
|
1993
|
+
};
|
|
1994
|
+
readonly language: {
|
|
1995
|
+
readonly type: "string";
|
|
1996
|
+
readonly description: "Language header, e.g. \"l_english\", \"l_simp_chinese\", \"l_braz_por\". Used when creating a new file.";
|
|
1997
|
+
};
|
|
1998
|
+
readonly languages: {
|
|
1999
|
+
readonly type: "array";
|
|
2000
|
+
readonly items: {
|
|
2001
|
+
readonly type: "string";
|
|
2002
|
+
};
|
|
2003
|
+
readonly description: "Optional explicit multi-file transaction: write the same entries into each sibling language file (same directory + filename stem with the language tag). All targets are validated first; if any target is invalid the whole transaction is rejected with no partial writes.";
|
|
2004
|
+
};
|
|
2005
|
+
readonly entries: {
|
|
2006
|
+
readonly type: "array";
|
|
2007
|
+
readonly description: "List of localisation key-value pairs to write";
|
|
2008
|
+
readonly items: {
|
|
2009
|
+
readonly type: "object";
|
|
2010
|
+
readonly properties: {
|
|
2011
|
+
readonly key: {
|
|
2012
|
+
readonly type: "string";
|
|
2013
|
+
readonly description: "Localisation key, e.g. \"my_event.1.title\"";
|
|
2014
|
+
};
|
|
2015
|
+
readonly value: {
|
|
2016
|
+
readonly type: "string";
|
|
2017
|
+
readonly description: "Localisation value text. Use \\n for in-game line breaks. Do NOT include surrounding quotes.";
|
|
2018
|
+
};
|
|
2019
|
+
readonly number: {
|
|
2020
|
+
readonly type: "integer";
|
|
2021
|
+
readonly description: "Version number after the colon (default: 0). Usually 0.";
|
|
2022
|
+
};
|
|
2023
|
+
readonly comment: {
|
|
2024
|
+
readonly type: "string";
|
|
2025
|
+
readonly description: "Optional section header comment to insert before this entry, e.g. \"### Site 1 Events ###\"";
|
|
2026
|
+
};
|
|
2027
|
+
};
|
|
2028
|
+
readonly required: readonly ["key", "value"];
|
|
2029
|
+
};
|
|
2030
|
+
};
|
|
2031
|
+
};
|
|
2032
|
+
readonly required: readonly ["filePath", "language", "entries"];
|
|
2033
|
+
};
|
|
2034
|
+
};
|
|
2035
|
+
readonly registry: {
|
|
2036
|
+
readonly name: "write_localisation";
|
|
2037
|
+
readonly isWrite: true;
|
|
2038
|
+
readonly isReadOnly: false;
|
|
2039
|
+
readonly effect: "workspace_write";
|
|
2040
|
+
readonly riskLevel: 2;
|
|
2041
|
+
readonly concurrencyClass: "per-file-write";
|
|
2042
|
+
readonly mcpSupportsCwtOnly: false;
|
|
2043
|
+
};
|
|
2044
|
+
}, {
|
|
2045
|
+
readonly tool: {
|
|
2046
|
+
readonly name: "typed_pdx_write";
|
|
2047
|
+
readonly description: "Build a bounded typed Stellaris/PDXScript candidate without accepting raw script text. Preview by default; stage stores the candidate in the active candidate transaction.";
|
|
2048
|
+
readonly inputSchema: {
|
|
2049
|
+
readonly type: "object";
|
|
2050
|
+
readonly properties: {
|
|
2051
|
+
readonly filePath: {
|
|
2052
|
+
readonly type: "string";
|
|
2053
|
+
readonly description: "Absolute workspace .txt file path.";
|
|
2054
|
+
};
|
|
2055
|
+
readonly expectedHash: {
|
|
2056
|
+
readonly type: "string";
|
|
2057
|
+
readonly pattern: "^[a-fA-F0-9]{64}$";
|
|
2058
|
+
readonly description: "Optional SHA-256 of the source content; stale candidates are rejected.";
|
|
2059
|
+
};
|
|
2060
|
+
readonly mode: {
|
|
2061
|
+
readonly type: "string";
|
|
2062
|
+
readonly enum: readonly ["preview", "stage"];
|
|
2063
|
+
readonly description: "Preview is read-only; stage requires an active candidate transaction.";
|
|
2064
|
+
};
|
|
2065
|
+
readonly transactionId: {
|
|
2066
|
+
readonly type: "string";
|
|
2067
|
+
readonly description: "Required when mode=stage.";
|
|
2068
|
+
};
|
|
2069
|
+
readonly operation: {
|
|
2070
|
+
readonly oneOf: readonly [{
|
|
2071
|
+
readonly type: "object";
|
|
2072
|
+
readonly properties: {
|
|
2073
|
+
readonly operation: {
|
|
2074
|
+
readonly const: "clone_definition";
|
|
2075
|
+
};
|
|
2076
|
+
readonly source: {
|
|
2077
|
+
readonly type: "string";
|
|
2078
|
+
};
|
|
2079
|
+
readonly newSymbol: {
|
|
2080
|
+
readonly type: "string";
|
|
2081
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2082
|
+
};
|
|
2083
|
+
readonly overrides: {
|
|
2084
|
+
readonly type: "array";
|
|
2085
|
+
readonly maxItems: 64;
|
|
2086
|
+
readonly items: {
|
|
2087
|
+
readonly oneOf: readonly [{
|
|
2088
|
+
readonly type: "object";
|
|
2089
|
+
readonly properties: {
|
|
2090
|
+
readonly path: {
|
|
2091
|
+
readonly type: "array";
|
|
2092
|
+
readonly minItems: 1;
|
|
2093
|
+
readonly maxItems: 8;
|
|
2094
|
+
readonly items: {
|
|
2095
|
+
readonly type: "object";
|
|
2096
|
+
readonly properties: {
|
|
2097
|
+
readonly key: {
|
|
2098
|
+
readonly type: "string";
|
|
2099
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2100
|
+
};
|
|
2101
|
+
readonly occurrence: {
|
|
2102
|
+
readonly type: "integer";
|
|
2103
|
+
readonly minimum: 1;
|
|
2104
|
+
};
|
|
2105
|
+
};
|
|
2106
|
+
readonly required: readonly ["key", "occurrence"];
|
|
2107
|
+
readonly additionalProperties: false;
|
|
2108
|
+
};
|
|
2109
|
+
};
|
|
2110
|
+
readonly value: {
|
|
2111
|
+
readonly oneOf: readonly [{
|
|
2112
|
+
readonly type: "object";
|
|
2113
|
+
readonly properties: {
|
|
2114
|
+
readonly kind: {
|
|
2115
|
+
readonly const: "identifier";
|
|
2116
|
+
};
|
|
2117
|
+
readonly value: {
|
|
2118
|
+
readonly type: "string";
|
|
2119
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2120
|
+
};
|
|
2121
|
+
};
|
|
2122
|
+
readonly required: readonly ["kind", "value"];
|
|
2123
|
+
readonly additionalProperties: false;
|
|
2124
|
+
}, {
|
|
2125
|
+
readonly type: "object";
|
|
2126
|
+
readonly properties: {
|
|
2127
|
+
readonly kind: {
|
|
2128
|
+
readonly const: "string";
|
|
2129
|
+
};
|
|
2130
|
+
readonly value: {
|
|
2131
|
+
readonly type: "string";
|
|
2132
|
+
readonly maxLength: 4096;
|
|
2133
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2134
|
+
};
|
|
2135
|
+
};
|
|
2136
|
+
readonly required: readonly ["kind", "value"];
|
|
2137
|
+
readonly additionalProperties: false;
|
|
2138
|
+
}, {
|
|
2139
|
+
readonly type: "object";
|
|
2140
|
+
readonly properties: {
|
|
2141
|
+
readonly kind: {
|
|
2142
|
+
readonly const: "number";
|
|
2143
|
+
};
|
|
2144
|
+
readonly value: {
|
|
2145
|
+
readonly type: "number";
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
2148
|
+
readonly required: readonly ["kind", "value"];
|
|
2149
|
+
readonly additionalProperties: false;
|
|
2150
|
+
}, {
|
|
2151
|
+
readonly type: "object";
|
|
2152
|
+
readonly properties: {
|
|
2153
|
+
readonly kind: {
|
|
2154
|
+
readonly const: "boolean";
|
|
2155
|
+
};
|
|
2156
|
+
readonly value: {
|
|
2157
|
+
readonly type: "boolean";
|
|
2158
|
+
};
|
|
2159
|
+
};
|
|
2160
|
+
readonly required: readonly ["kind", "value"];
|
|
2161
|
+
readonly additionalProperties: false;
|
|
2162
|
+
}, {
|
|
2163
|
+
readonly type: "object";
|
|
2164
|
+
readonly properties: {
|
|
2165
|
+
readonly kind: {
|
|
2166
|
+
readonly const: "list";
|
|
2167
|
+
};
|
|
2168
|
+
readonly values: {
|
|
2169
|
+
readonly type: "array";
|
|
2170
|
+
readonly maxItems: 256;
|
|
2171
|
+
readonly items: {
|
|
2172
|
+
readonly type: "object";
|
|
2173
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2174
|
+
readonly properties: {
|
|
2175
|
+
readonly kind: {
|
|
2176
|
+
readonly type: "string";
|
|
2177
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2178
|
+
};
|
|
2179
|
+
};
|
|
2180
|
+
readonly required: readonly ["kind"];
|
|
2181
|
+
readonly additionalProperties: true;
|
|
2182
|
+
};
|
|
2183
|
+
};
|
|
2184
|
+
};
|
|
2185
|
+
readonly required: readonly ["kind", "values"];
|
|
2186
|
+
readonly additionalProperties: false;
|
|
2187
|
+
}, {
|
|
2188
|
+
readonly type: "object";
|
|
2189
|
+
readonly properties: {
|
|
2190
|
+
readonly kind: {
|
|
2191
|
+
readonly const: "block";
|
|
2192
|
+
};
|
|
2193
|
+
readonly entries: {
|
|
2194
|
+
readonly type: "array";
|
|
2195
|
+
readonly maxItems: 256;
|
|
2196
|
+
readonly items: {
|
|
2197
|
+
readonly type: "object";
|
|
2198
|
+
readonly properties: {
|
|
2199
|
+
readonly key: {
|
|
2200
|
+
readonly type: "string";
|
|
2201
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2202
|
+
};
|
|
2203
|
+
readonly value: {
|
|
2204
|
+
readonly type: "object";
|
|
2205
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2206
|
+
readonly properties: {
|
|
2207
|
+
readonly kind: {
|
|
2208
|
+
readonly type: "string";
|
|
2209
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2210
|
+
};
|
|
2211
|
+
};
|
|
2212
|
+
readonly required: readonly ["kind"];
|
|
2213
|
+
readonly additionalProperties: true;
|
|
2214
|
+
};
|
|
2215
|
+
};
|
|
2216
|
+
readonly required: readonly ["key", "value"];
|
|
2217
|
+
readonly additionalProperties: false;
|
|
2218
|
+
};
|
|
2219
|
+
};
|
|
2220
|
+
};
|
|
2221
|
+
readonly required: readonly ["kind", "entries"];
|
|
2222
|
+
readonly additionalProperties: false;
|
|
2223
|
+
}];
|
|
2224
|
+
};
|
|
2225
|
+
readonly action: {
|
|
2226
|
+
readonly const: "set";
|
|
2227
|
+
};
|
|
2228
|
+
};
|
|
2229
|
+
readonly required: readonly ["action", "path", "value"];
|
|
2230
|
+
readonly additionalProperties: false;
|
|
2231
|
+
}, {
|
|
2232
|
+
readonly type: "object";
|
|
2233
|
+
readonly properties: {
|
|
2234
|
+
readonly path: {
|
|
2235
|
+
readonly type: "array";
|
|
2236
|
+
readonly minItems: 1;
|
|
2237
|
+
readonly maxItems: 8;
|
|
2238
|
+
readonly items: {
|
|
2239
|
+
readonly type: "object";
|
|
2240
|
+
readonly properties: {
|
|
2241
|
+
readonly key: {
|
|
2242
|
+
readonly type: "string";
|
|
2243
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2244
|
+
};
|
|
2245
|
+
readonly occurrence: {
|
|
2246
|
+
readonly type: "integer";
|
|
2247
|
+
readonly minimum: 1;
|
|
2248
|
+
};
|
|
2249
|
+
};
|
|
2250
|
+
readonly required: readonly ["key", "occurrence"];
|
|
2251
|
+
readonly additionalProperties: false;
|
|
2252
|
+
};
|
|
2253
|
+
};
|
|
2254
|
+
readonly action: {
|
|
2255
|
+
readonly const: "delete";
|
|
2256
|
+
};
|
|
2257
|
+
};
|
|
2258
|
+
readonly required: readonly ["action", "path"];
|
|
2259
|
+
readonly additionalProperties: false;
|
|
2260
|
+
}, {
|
|
2261
|
+
readonly type: "object";
|
|
2262
|
+
readonly properties: {
|
|
2263
|
+
readonly path: {
|
|
2264
|
+
readonly type: "array";
|
|
2265
|
+
readonly minItems: 0;
|
|
2266
|
+
readonly maxItems: 8;
|
|
2267
|
+
readonly items: {
|
|
2268
|
+
readonly type: "object";
|
|
2269
|
+
readonly properties: {
|
|
2270
|
+
readonly key: {
|
|
2271
|
+
readonly type: "string";
|
|
2272
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2273
|
+
};
|
|
2274
|
+
readonly occurrence: {
|
|
2275
|
+
readonly type: "integer";
|
|
2276
|
+
readonly minimum: 1;
|
|
2277
|
+
};
|
|
2278
|
+
};
|
|
2279
|
+
readonly required: readonly ["key", "occurrence"];
|
|
2280
|
+
readonly additionalProperties: false;
|
|
2281
|
+
};
|
|
2282
|
+
};
|
|
2283
|
+
readonly entry: {
|
|
2284
|
+
readonly type: "object";
|
|
2285
|
+
readonly properties: {
|
|
2286
|
+
readonly key: {
|
|
2287
|
+
readonly type: "string";
|
|
2288
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2289
|
+
};
|
|
2290
|
+
readonly value: {
|
|
2291
|
+
readonly oneOf: readonly [{
|
|
2292
|
+
readonly type: "object";
|
|
2293
|
+
readonly properties: {
|
|
2294
|
+
readonly kind: {
|
|
2295
|
+
readonly const: "identifier";
|
|
2296
|
+
};
|
|
2297
|
+
readonly value: {
|
|
2298
|
+
readonly type: "string";
|
|
2299
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2300
|
+
};
|
|
2301
|
+
};
|
|
2302
|
+
readonly required: readonly ["kind", "value"];
|
|
2303
|
+
readonly additionalProperties: false;
|
|
2304
|
+
}, {
|
|
2305
|
+
readonly type: "object";
|
|
2306
|
+
readonly properties: {
|
|
2307
|
+
readonly kind: {
|
|
2308
|
+
readonly const: "string";
|
|
2309
|
+
};
|
|
2310
|
+
readonly value: {
|
|
2311
|
+
readonly type: "string";
|
|
2312
|
+
readonly maxLength: 4096;
|
|
2313
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2314
|
+
};
|
|
2315
|
+
};
|
|
2316
|
+
readonly required: readonly ["kind", "value"];
|
|
2317
|
+
readonly additionalProperties: false;
|
|
2318
|
+
}, {
|
|
2319
|
+
readonly type: "object";
|
|
2320
|
+
readonly properties: {
|
|
2321
|
+
readonly kind: {
|
|
2322
|
+
readonly const: "number";
|
|
2323
|
+
};
|
|
2324
|
+
readonly value: {
|
|
2325
|
+
readonly type: "number";
|
|
2326
|
+
};
|
|
2327
|
+
};
|
|
2328
|
+
readonly required: readonly ["kind", "value"];
|
|
2329
|
+
readonly additionalProperties: false;
|
|
2330
|
+
}, {
|
|
2331
|
+
readonly type: "object";
|
|
2332
|
+
readonly properties: {
|
|
2333
|
+
readonly kind: {
|
|
2334
|
+
readonly const: "boolean";
|
|
2335
|
+
};
|
|
2336
|
+
readonly value: {
|
|
2337
|
+
readonly type: "boolean";
|
|
2338
|
+
};
|
|
2339
|
+
};
|
|
2340
|
+
readonly required: readonly ["kind", "value"];
|
|
2341
|
+
readonly additionalProperties: false;
|
|
2342
|
+
}, {
|
|
2343
|
+
readonly type: "object";
|
|
2344
|
+
readonly properties: {
|
|
2345
|
+
readonly kind: {
|
|
2346
|
+
readonly const: "list";
|
|
2347
|
+
};
|
|
2348
|
+
readonly values: {
|
|
2349
|
+
readonly type: "array";
|
|
2350
|
+
readonly maxItems: 256;
|
|
2351
|
+
readonly items: {
|
|
2352
|
+
readonly type: "object";
|
|
2353
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2354
|
+
readonly properties: {
|
|
2355
|
+
readonly kind: {
|
|
2356
|
+
readonly type: "string";
|
|
2357
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2358
|
+
};
|
|
2359
|
+
};
|
|
2360
|
+
readonly required: readonly ["kind"];
|
|
2361
|
+
readonly additionalProperties: true;
|
|
2362
|
+
};
|
|
2363
|
+
};
|
|
2364
|
+
};
|
|
2365
|
+
readonly required: readonly ["kind", "values"];
|
|
2366
|
+
readonly additionalProperties: false;
|
|
2367
|
+
}, {
|
|
2368
|
+
readonly type: "object";
|
|
2369
|
+
readonly properties: {
|
|
2370
|
+
readonly kind: {
|
|
2371
|
+
readonly const: "block";
|
|
2372
|
+
};
|
|
2373
|
+
readonly entries: {
|
|
2374
|
+
readonly type: "array";
|
|
2375
|
+
readonly maxItems: 256;
|
|
2376
|
+
readonly items: {
|
|
2377
|
+
readonly type: "object";
|
|
2378
|
+
readonly properties: {
|
|
2379
|
+
readonly key: {
|
|
2380
|
+
readonly type: "string";
|
|
2381
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2382
|
+
};
|
|
2383
|
+
readonly value: {
|
|
2384
|
+
readonly type: "object";
|
|
2385
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2386
|
+
readonly properties: {
|
|
2387
|
+
readonly kind: {
|
|
2388
|
+
readonly type: "string";
|
|
2389
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2390
|
+
};
|
|
2391
|
+
};
|
|
2392
|
+
readonly required: readonly ["kind"];
|
|
2393
|
+
readonly additionalProperties: true;
|
|
2394
|
+
};
|
|
2395
|
+
};
|
|
2396
|
+
readonly required: readonly ["key", "value"];
|
|
2397
|
+
readonly additionalProperties: false;
|
|
2398
|
+
};
|
|
2399
|
+
};
|
|
2400
|
+
};
|
|
2401
|
+
readonly required: readonly ["kind", "entries"];
|
|
2402
|
+
readonly additionalProperties: false;
|
|
2403
|
+
}];
|
|
2404
|
+
};
|
|
2405
|
+
};
|
|
2406
|
+
readonly required: readonly ["key", "value"];
|
|
2407
|
+
readonly additionalProperties: false;
|
|
2408
|
+
};
|
|
2409
|
+
readonly action: {
|
|
2410
|
+
readonly const: "append";
|
|
2411
|
+
};
|
|
2412
|
+
};
|
|
2413
|
+
readonly required: readonly ["action", "path", "entry"];
|
|
2414
|
+
readonly additionalProperties: false;
|
|
2415
|
+
}];
|
|
2416
|
+
};
|
|
2417
|
+
};
|
|
2418
|
+
};
|
|
2419
|
+
readonly required: readonly ["operation", "source", "newSymbol"];
|
|
2420
|
+
readonly additionalProperties: false;
|
|
2421
|
+
}, {
|
|
2422
|
+
readonly type: "object";
|
|
2423
|
+
readonly properties: {
|
|
2424
|
+
readonly operation: {
|
|
2425
|
+
readonly const: "add_event_call";
|
|
2426
|
+
};
|
|
2427
|
+
readonly target: {
|
|
2428
|
+
readonly type: "string";
|
|
2429
|
+
};
|
|
2430
|
+
readonly callType: {
|
|
2431
|
+
readonly type: "string";
|
|
2432
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2433
|
+
};
|
|
2434
|
+
readonly eventId: {
|
|
2435
|
+
readonly type: "string";
|
|
2436
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2437
|
+
};
|
|
2438
|
+
readonly containerPath: {
|
|
2439
|
+
readonly type: "array";
|
|
2440
|
+
readonly maxItems: 8;
|
|
2441
|
+
readonly items: {
|
|
2442
|
+
readonly type: "string";
|
|
2443
|
+
};
|
|
2444
|
+
};
|
|
2445
|
+
readonly days: {
|
|
2446
|
+
readonly type: "integer";
|
|
2447
|
+
readonly minimum: 0;
|
|
2448
|
+
};
|
|
2449
|
+
};
|
|
2450
|
+
readonly required: readonly ["operation", "target", "callType", "eventId"];
|
|
2451
|
+
readonly additionalProperties: false;
|
|
2452
|
+
}, {
|
|
2453
|
+
readonly type: "object";
|
|
2454
|
+
readonly properties: {
|
|
2455
|
+
readonly operation: {
|
|
2456
|
+
readonly const: "add_event_option";
|
|
2457
|
+
};
|
|
2458
|
+
readonly target: {
|
|
2459
|
+
readonly type: "string";
|
|
2460
|
+
};
|
|
2461
|
+
readonly name: {
|
|
2462
|
+
readonly type: "string";
|
|
2463
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2464
|
+
};
|
|
2465
|
+
readonly fields: {
|
|
2466
|
+
readonly type: "array";
|
|
2467
|
+
readonly maxItems: 256;
|
|
2468
|
+
readonly items: {
|
|
2469
|
+
readonly type: "object";
|
|
2470
|
+
readonly properties: {
|
|
2471
|
+
readonly key: {
|
|
2472
|
+
readonly type: "string";
|
|
2473
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2474
|
+
};
|
|
2475
|
+
readonly value: {
|
|
2476
|
+
readonly oneOf: readonly [{
|
|
2477
|
+
readonly type: "object";
|
|
2478
|
+
readonly properties: {
|
|
2479
|
+
readonly kind: {
|
|
2480
|
+
readonly const: "identifier";
|
|
2481
|
+
};
|
|
2482
|
+
readonly value: {
|
|
2483
|
+
readonly type: "string";
|
|
2484
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2485
|
+
};
|
|
2486
|
+
};
|
|
2487
|
+
readonly required: readonly ["kind", "value"];
|
|
2488
|
+
readonly additionalProperties: false;
|
|
2489
|
+
}, {
|
|
2490
|
+
readonly type: "object";
|
|
2491
|
+
readonly properties: {
|
|
2492
|
+
readonly kind: {
|
|
2493
|
+
readonly const: "string";
|
|
2494
|
+
};
|
|
2495
|
+
readonly value: {
|
|
2496
|
+
readonly type: "string";
|
|
2497
|
+
readonly maxLength: 4096;
|
|
2498
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2499
|
+
};
|
|
2500
|
+
};
|
|
2501
|
+
readonly required: readonly ["kind", "value"];
|
|
2502
|
+
readonly additionalProperties: false;
|
|
2503
|
+
}, {
|
|
2504
|
+
readonly type: "object";
|
|
2505
|
+
readonly properties: {
|
|
2506
|
+
readonly kind: {
|
|
2507
|
+
readonly const: "number";
|
|
2508
|
+
};
|
|
2509
|
+
readonly value: {
|
|
2510
|
+
readonly type: "number";
|
|
2511
|
+
};
|
|
2512
|
+
};
|
|
2513
|
+
readonly required: readonly ["kind", "value"];
|
|
2514
|
+
readonly additionalProperties: false;
|
|
2515
|
+
}, {
|
|
2516
|
+
readonly type: "object";
|
|
2517
|
+
readonly properties: {
|
|
2518
|
+
readonly kind: {
|
|
2519
|
+
readonly const: "boolean";
|
|
2520
|
+
};
|
|
2521
|
+
readonly value: {
|
|
2522
|
+
readonly type: "boolean";
|
|
2523
|
+
};
|
|
2524
|
+
};
|
|
2525
|
+
readonly required: readonly ["kind", "value"];
|
|
2526
|
+
readonly additionalProperties: false;
|
|
2527
|
+
}, {
|
|
2528
|
+
readonly type: "object";
|
|
2529
|
+
readonly properties: {
|
|
2530
|
+
readonly kind: {
|
|
2531
|
+
readonly const: "list";
|
|
2532
|
+
};
|
|
2533
|
+
readonly values: {
|
|
2534
|
+
readonly type: "array";
|
|
2535
|
+
readonly maxItems: 256;
|
|
2536
|
+
readonly items: {
|
|
2537
|
+
readonly type: "object";
|
|
2538
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2539
|
+
readonly properties: {
|
|
2540
|
+
readonly kind: {
|
|
2541
|
+
readonly type: "string";
|
|
2542
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2543
|
+
};
|
|
2544
|
+
};
|
|
2545
|
+
readonly required: readonly ["kind"];
|
|
2546
|
+
readonly additionalProperties: true;
|
|
2547
|
+
};
|
|
2548
|
+
};
|
|
2549
|
+
};
|
|
2550
|
+
readonly required: readonly ["kind", "values"];
|
|
2551
|
+
readonly additionalProperties: false;
|
|
2552
|
+
}, {
|
|
2553
|
+
readonly type: "object";
|
|
2554
|
+
readonly properties: {
|
|
2555
|
+
readonly kind: {
|
|
2556
|
+
readonly const: "block";
|
|
2557
|
+
};
|
|
2558
|
+
readonly entries: {
|
|
2559
|
+
readonly type: "array";
|
|
2560
|
+
readonly maxItems: 256;
|
|
2561
|
+
readonly items: {
|
|
2562
|
+
readonly type: "object";
|
|
2563
|
+
readonly properties: {
|
|
2564
|
+
readonly key: {
|
|
2565
|
+
readonly type: "string";
|
|
2566
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2567
|
+
};
|
|
2568
|
+
readonly value: {
|
|
2569
|
+
readonly type: "object";
|
|
2570
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2571
|
+
readonly properties: {
|
|
2572
|
+
readonly kind: {
|
|
2573
|
+
readonly type: "string";
|
|
2574
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2575
|
+
};
|
|
2576
|
+
};
|
|
2577
|
+
readonly required: readonly ["kind"];
|
|
2578
|
+
readonly additionalProperties: true;
|
|
2579
|
+
};
|
|
2580
|
+
};
|
|
2581
|
+
readonly required: readonly ["key", "value"];
|
|
2582
|
+
readonly additionalProperties: false;
|
|
2583
|
+
};
|
|
2584
|
+
};
|
|
2585
|
+
};
|
|
2586
|
+
readonly required: readonly ["kind", "entries"];
|
|
2587
|
+
readonly additionalProperties: false;
|
|
2588
|
+
}];
|
|
2589
|
+
};
|
|
2590
|
+
};
|
|
2591
|
+
readonly required: readonly ["key", "value"];
|
|
2592
|
+
readonly additionalProperties: false;
|
|
2593
|
+
};
|
|
2594
|
+
};
|
|
2595
|
+
};
|
|
2596
|
+
readonly required: readonly ["operation", "target", "name"];
|
|
2597
|
+
readonly additionalProperties: false;
|
|
2598
|
+
}, {
|
|
2599
|
+
readonly type: "object";
|
|
2600
|
+
readonly properties: {
|
|
2601
|
+
readonly operation: {
|
|
2602
|
+
readonly const: "append_trigger_condition";
|
|
2603
|
+
};
|
|
2604
|
+
readonly target: {
|
|
2605
|
+
readonly type: "string";
|
|
2606
|
+
};
|
|
2607
|
+
readonly condition: {
|
|
2608
|
+
readonly type: "object";
|
|
2609
|
+
readonly properties: {
|
|
2610
|
+
readonly key: {
|
|
2611
|
+
readonly type: "string";
|
|
2612
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2613
|
+
};
|
|
2614
|
+
readonly value: {
|
|
2615
|
+
readonly oneOf: readonly [{
|
|
2616
|
+
readonly type: "object";
|
|
2617
|
+
readonly properties: {
|
|
2618
|
+
readonly kind: {
|
|
2619
|
+
readonly const: "identifier";
|
|
2620
|
+
};
|
|
2621
|
+
readonly value: {
|
|
2622
|
+
readonly type: "string";
|
|
2623
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2624
|
+
};
|
|
2625
|
+
};
|
|
2626
|
+
readonly required: readonly ["kind", "value"];
|
|
2627
|
+
readonly additionalProperties: false;
|
|
2628
|
+
}, {
|
|
2629
|
+
readonly type: "object";
|
|
2630
|
+
readonly properties: {
|
|
2631
|
+
readonly kind: {
|
|
2632
|
+
readonly const: "string";
|
|
2633
|
+
};
|
|
2634
|
+
readonly value: {
|
|
2635
|
+
readonly type: "string";
|
|
2636
|
+
readonly maxLength: 4096;
|
|
2637
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2638
|
+
};
|
|
2639
|
+
};
|
|
2640
|
+
readonly required: readonly ["kind", "value"];
|
|
2641
|
+
readonly additionalProperties: false;
|
|
2642
|
+
}, {
|
|
2643
|
+
readonly type: "object";
|
|
2644
|
+
readonly properties: {
|
|
2645
|
+
readonly kind: {
|
|
2646
|
+
readonly const: "number";
|
|
2647
|
+
};
|
|
2648
|
+
readonly value: {
|
|
2649
|
+
readonly type: "number";
|
|
2650
|
+
};
|
|
2651
|
+
};
|
|
2652
|
+
readonly required: readonly ["kind", "value"];
|
|
2653
|
+
readonly additionalProperties: false;
|
|
2654
|
+
}, {
|
|
2655
|
+
readonly type: "object";
|
|
2656
|
+
readonly properties: {
|
|
2657
|
+
readonly kind: {
|
|
2658
|
+
readonly const: "boolean";
|
|
2659
|
+
};
|
|
2660
|
+
readonly value: {
|
|
2661
|
+
readonly type: "boolean";
|
|
2662
|
+
};
|
|
2663
|
+
};
|
|
2664
|
+
readonly required: readonly ["kind", "value"];
|
|
2665
|
+
readonly additionalProperties: false;
|
|
2666
|
+
}, {
|
|
2667
|
+
readonly type: "object";
|
|
2668
|
+
readonly properties: {
|
|
2669
|
+
readonly kind: {
|
|
2670
|
+
readonly const: "list";
|
|
2671
|
+
};
|
|
2672
|
+
readonly values: {
|
|
2673
|
+
readonly type: "array";
|
|
2674
|
+
readonly maxItems: 256;
|
|
2675
|
+
readonly items: {
|
|
2676
|
+
readonly type: "object";
|
|
2677
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2678
|
+
readonly properties: {
|
|
2679
|
+
readonly kind: {
|
|
2680
|
+
readonly type: "string";
|
|
2681
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2682
|
+
};
|
|
2683
|
+
};
|
|
2684
|
+
readonly required: readonly ["kind"];
|
|
2685
|
+
readonly additionalProperties: true;
|
|
2686
|
+
};
|
|
2687
|
+
};
|
|
2688
|
+
};
|
|
2689
|
+
readonly required: readonly ["kind", "values"];
|
|
2690
|
+
readonly additionalProperties: false;
|
|
2691
|
+
}, {
|
|
2692
|
+
readonly type: "object";
|
|
2693
|
+
readonly properties: {
|
|
2694
|
+
readonly kind: {
|
|
2695
|
+
readonly const: "block";
|
|
2696
|
+
};
|
|
2697
|
+
readonly entries: {
|
|
2698
|
+
readonly type: "array";
|
|
2699
|
+
readonly maxItems: 256;
|
|
2700
|
+
readonly items: {
|
|
2701
|
+
readonly type: "object";
|
|
2702
|
+
readonly properties: {
|
|
2703
|
+
readonly key: {
|
|
2704
|
+
readonly type: "string";
|
|
2705
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2706
|
+
};
|
|
2707
|
+
readonly value: {
|
|
2708
|
+
readonly type: "object";
|
|
2709
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2710
|
+
readonly properties: {
|
|
2711
|
+
readonly kind: {
|
|
2712
|
+
readonly type: "string";
|
|
2713
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2714
|
+
};
|
|
2715
|
+
};
|
|
2716
|
+
readonly required: readonly ["kind"];
|
|
2717
|
+
readonly additionalProperties: true;
|
|
2718
|
+
};
|
|
2719
|
+
};
|
|
2720
|
+
readonly required: readonly ["key", "value"];
|
|
2721
|
+
readonly additionalProperties: false;
|
|
2722
|
+
};
|
|
2723
|
+
};
|
|
2724
|
+
};
|
|
2725
|
+
readonly required: readonly ["kind", "entries"];
|
|
2726
|
+
readonly additionalProperties: false;
|
|
2727
|
+
}];
|
|
2728
|
+
};
|
|
2729
|
+
};
|
|
2730
|
+
readonly required: readonly ["key", "value"];
|
|
2731
|
+
readonly additionalProperties: false;
|
|
2732
|
+
};
|
|
2733
|
+
readonly containerPath: {
|
|
2734
|
+
readonly type: "array";
|
|
2735
|
+
readonly maxItems: 8;
|
|
2736
|
+
readonly items: {
|
|
2737
|
+
readonly type: "string";
|
|
2738
|
+
};
|
|
2739
|
+
};
|
|
2740
|
+
};
|
|
2741
|
+
readonly required: readonly ["operation", "target", "condition"];
|
|
2742
|
+
readonly additionalProperties: false;
|
|
2743
|
+
}, {
|
|
2744
|
+
readonly type: "object";
|
|
2745
|
+
readonly properties: {
|
|
2746
|
+
readonly operation: {
|
|
2747
|
+
readonly const: "instantiate_inline_script";
|
|
2748
|
+
};
|
|
2749
|
+
readonly target: {
|
|
2750
|
+
readonly type: "string";
|
|
2751
|
+
};
|
|
2752
|
+
readonly script: {
|
|
2753
|
+
readonly type: "string";
|
|
2754
|
+
readonly pattern: "^[A-Za-z0-9_.:@/-]+$";
|
|
2755
|
+
};
|
|
2756
|
+
readonly arguments: {
|
|
2757
|
+
readonly type: "array";
|
|
2758
|
+
readonly maxItems: 256;
|
|
2759
|
+
readonly items: {
|
|
2760
|
+
readonly type: "object";
|
|
2761
|
+
readonly properties: {
|
|
2762
|
+
readonly key: {
|
|
2763
|
+
readonly type: "string";
|
|
2764
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2765
|
+
};
|
|
2766
|
+
readonly value: {
|
|
2767
|
+
readonly oneOf: readonly [{
|
|
2768
|
+
readonly type: "object";
|
|
2769
|
+
readonly properties: {
|
|
2770
|
+
readonly kind: {
|
|
2771
|
+
readonly const: "identifier";
|
|
2772
|
+
};
|
|
2773
|
+
readonly value: {
|
|
2774
|
+
readonly type: "string";
|
|
2775
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2776
|
+
};
|
|
2777
|
+
};
|
|
2778
|
+
readonly required: readonly ["kind", "value"];
|
|
2779
|
+
readonly additionalProperties: false;
|
|
2780
|
+
}, {
|
|
2781
|
+
readonly type: "object";
|
|
2782
|
+
readonly properties: {
|
|
2783
|
+
readonly kind: {
|
|
2784
|
+
readonly const: "string";
|
|
2785
|
+
};
|
|
2786
|
+
readonly value: {
|
|
2787
|
+
readonly type: "string";
|
|
2788
|
+
readonly maxLength: 4096;
|
|
2789
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2790
|
+
};
|
|
2791
|
+
};
|
|
2792
|
+
readonly required: readonly ["kind", "value"];
|
|
2793
|
+
readonly additionalProperties: false;
|
|
2794
|
+
}, {
|
|
2795
|
+
readonly type: "object";
|
|
2796
|
+
readonly properties: {
|
|
2797
|
+
readonly kind: {
|
|
2798
|
+
readonly const: "number";
|
|
2799
|
+
};
|
|
2800
|
+
readonly value: {
|
|
2801
|
+
readonly type: "number";
|
|
2802
|
+
};
|
|
2803
|
+
};
|
|
2804
|
+
readonly required: readonly ["kind", "value"];
|
|
2805
|
+
readonly additionalProperties: false;
|
|
2806
|
+
}, {
|
|
2807
|
+
readonly type: "object";
|
|
2808
|
+
readonly properties: {
|
|
2809
|
+
readonly kind: {
|
|
2810
|
+
readonly const: "boolean";
|
|
2811
|
+
};
|
|
2812
|
+
readonly value: {
|
|
2813
|
+
readonly type: "boolean";
|
|
2814
|
+
};
|
|
2815
|
+
};
|
|
2816
|
+
readonly required: readonly ["kind", "value"];
|
|
2817
|
+
readonly additionalProperties: false;
|
|
2818
|
+
}, {
|
|
2819
|
+
readonly type: "object";
|
|
2820
|
+
readonly properties: {
|
|
2821
|
+
readonly kind: {
|
|
2822
|
+
readonly const: "list";
|
|
2823
|
+
};
|
|
2824
|
+
readonly values: {
|
|
2825
|
+
readonly type: "array";
|
|
2826
|
+
readonly maxItems: 256;
|
|
2827
|
+
readonly items: {
|
|
2828
|
+
readonly type: "object";
|
|
2829
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2830
|
+
readonly properties: {
|
|
2831
|
+
readonly kind: {
|
|
2832
|
+
readonly type: "string";
|
|
2833
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2834
|
+
};
|
|
2835
|
+
};
|
|
2836
|
+
readonly required: readonly ["kind"];
|
|
2837
|
+
readonly additionalProperties: true;
|
|
2838
|
+
};
|
|
2839
|
+
};
|
|
2840
|
+
};
|
|
2841
|
+
readonly required: readonly ["kind", "values"];
|
|
2842
|
+
readonly additionalProperties: false;
|
|
2843
|
+
}, {
|
|
2844
|
+
readonly type: "object";
|
|
2845
|
+
readonly properties: {
|
|
2846
|
+
readonly kind: {
|
|
2847
|
+
readonly const: "block";
|
|
2848
|
+
};
|
|
2849
|
+
readonly entries: {
|
|
2850
|
+
readonly type: "array";
|
|
2851
|
+
readonly maxItems: 256;
|
|
2852
|
+
readonly items: {
|
|
2853
|
+
readonly type: "object";
|
|
2854
|
+
readonly properties: {
|
|
2855
|
+
readonly key: {
|
|
2856
|
+
readonly type: "string";
|
|
2857
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2858
|
+
};
|
|
2859
|
+
readonly value: {
|
|
2860
|
+
readonly type: "object";
|
|
2861
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2862
|
+
readonly properties: {
|
|
2863
|
+
readonly kind: {
|
|
2864
|
+
readonly type: "string";
|
|
2865
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2866
|
+
};
|
|
2867
|
+
};
|
|
2868
|
+
readonly required: readonly ["kind"];
|
|
2869
|
+
readonly additionalProperties: true;
|
|
2870
|
+
};
|
|
2871
|
+
};
|
|
2872
|
+
readonly required: readonly ["key", "value"];
|
|
2873
|
+
readonly additionalProperties: false;
|
|
2874
|
+
};
|
|
2875
|
+
};
|
|
2876
|
+
};
|
|
2877
|
+
readonly required: readonly ["kind", "entries"];
|
|
2878
|
+
readonly additionalProperties: false;
|
|
2879
|
+
}];
|
|
2880
|
+
};
|
|
2881
|
+
};
|
|
2882
|
+
readonly required: readonly ["key", "value"];
|
|
2883
|
+
readonly additionalProperties: false;
|
|
2884
|
+
};
|
|
2885
|
+
};
|
|
2886
|
+
readonly containerPath: {
|
|
2887
|
+
readonly type: "array";
|
|
2888
|
+
readonly maxItems: 8;
|
|
2889
|
+
readonly items: {
|
|
2890
|
+
readonly type: "string";
|
|
2891
|
+
};
|
|
2892
|
+
};
|
|
2893
|
+
};
|
|
2894
|
+
readonly required: readonly ["operation", "target", "script"];
|
|
2895
|
+
readonly additionalProperties: false;
|
|
2896
|
+
}, {
|
|
2897
|
+
readonly type: "object";
|
|
2898
|
+
readonly properties: {
|
|
2899
|
+
readonly operation: {
|
|
2900
|
+
readonly const: "set_definition_field";
|
|
2901
|
+
};
|
|
2902
|
+
readonly target: {
|
|
2903
|
+
readonly type: "string";
|
|
2904
|
+
};
|
|
2905
|
+
readonly path: {
|
|
2906
|
+
readonly type: "array";
|
|
2907
|
+
readonly minItems: 1;
|
|
2908
|
+
readonly maxItems: 8;
|
|
2909
|
+
readonly items: {
|
|
2910
|
+
readonly type: "object";
|
|
2911
|
+
readonly properties: {
|
|
2912
|
+
readonly key: {
|
|
2913
|
+
readonly type: "string";
|
|
2914
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2915
|
+
};
|
|
2916
|
+
readonly occurrence: {
|
|
2917
|
+
readonly type: "integer";
|
|
2918
|
+
readonly minimum: 1;
|
|
2919
|
+
};
|
|
2920
|
+
};
|
|
2921
|
+
readonly required: readonly ["key", "occurrence"];
|
|
2922
|
+
readonly additionalProperties: false;
|
|
2923
|
+
};
|
|
2924
|
+
};
|
|
2925
|
+
readonly value: {
|
|
2926
|
+
readonly oneOf: readonly [{
|
|
2927
|
+
readonly type: "object";
|
|
2928
|
+
readonly properties: {
|
|
2929
|
+
readonly kind: {
|
|
2930
|
+
readonly const: "identifier";
|
|
2931
|
+
};
|
|
2932
|
+
readonly value: {
|
|
2933
|
+
readonly type: "string";
|
|
2934
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2935
|
+
};
|
|
2936
|
+
};
|
|
2937
|
+
readonly required: readonly ["kind", "value"];
|
|
2938
|
+
readonly additionalProperties: false;
|
|
2939
|
+
}, {
|
|
2940
|
+
readonly type: "object";
|
|
2941
|
+
readonly properties: {
|
|
2942
|
+
readonly kind: {
|
|
2943
|
+
readonly const: "string";
|
|
2944
|
+
};
|
|
2945
|
+
readonly value: {
|
|
2946
|
+
readonly type: "string";
|
|
2947
|
+
readonly maxLength: 4096;
|
|
2948
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2949
|
+
};
|
|
2950
|
+
};
|
|
2951
|
+
readonly required: readonly ["kind", "value"];
|
|
2952
|
+
readonly additionalProperties: false;
|
|
2953
|
+
}, {
|
|
2954
|
+
readonly type: "object";
|
|
2955
|
+
readonly properties: {
|
|
2956
|
+
readonly kind: {
|
|
2957
|
+
readonly const: "number";
|
|
2958
|
+
};
|
|
2959
|
+
readonly value: {
|
|
2960
|
+
readonly type: "number";
|
|
2961
|
+
};
|
|
2962
|
+
};
|
|
2963
|
+
readonly required: readonly ["kind", "value"];
|
|
2964
|
+
readonly additionalProperties: false;
|
|
2965
|
+
}, {
|
|
2966
|
+
readonly type: "object";
|
|
2967
|
+
readonly properties: {
|
|
2968
|
+
readonly kind: {
|
|
2969
|
+
readonly const: "boolean";
|
|
2970
|
+
};
|
|
2971
|
+
readonly value: {
|
|
2972
|
+
readonly type: "boolean";
|
|
2973
|
+
};
|
|
2974
|
+
};
|
|
2975
|
+
readonly required: readonly ["kind", "value"];
|
|
2976
|
+
readonly additionalProperties: false;
|
|
2977
|
+
}, {
|
|
2978
|
+
readonly type: "object";
|
|
2979
|
+
readonly properties: {
|
|
2980
|
+
readonly kind: {
|
|
2981
|
+
readonly const: "list";
|
|
2982
|
+
};
|
|
2983
|
+
readonly values: {
|
|
2984
|
+
readonly type: "array";
|
|
2985
|
+
readonly maxItems: 256;
|
|
2986
|
+
readonly items: {
|
|
2987
|
+
readonly type: "object";
|
|
2988
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2989
|
+
readonly properties: {
|
|
2990
|
+
readonly kind: {
|
|
2991
|
+
readonly type: "string";
|
|
2992
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2993
|
+
};
|
|
2994
|
+
};
|
|
2995
|
+
readonly required: readonly ["kind"];
|
|
2996
|
+
readonly additionalProperties: true;
|
|
2997
|
+
};
|
|
2998
|
+
};
|
|
2999
|
+
};
|
|
3000
|
+
readonly required: readonly ["kind", "values"];
|
|
3001
|
+
readonly additionalProperties: false;
|
|
3002
|
+
}, {
|
|
3003
|
+
readonly type: "object";
|
|
3004
|
+
readonly properties: {
|
|
3005
|
+
readonly kind: {
|
|
3006
|
+
readonly const: "block";
|
|
3007
|
+
};
|
|
3008
|
+
readonly entries: {
|
|
3009
|
+
readonly type: "array";
|
|
3010
|
+
readonly maxItems: 256;
|
|
3011
|
+
readonly items: {
|
|
3012
|
+
readonly type: "object";
|
|
3013
|
+
readonly properties: {
|
|
3014
|
+
readonly key: {
|
|
3015
|
+
readonly type: "string";
|
|
3016
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3017
|
+
};
|
|
3018
|
+
readonly value: {
|
|
3019
|
+
readonly type: "object";
|
|
3020
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3021
|
+
readonly properties: {
|
|
3022
|
+
readonly kind: {
|
|
3023
|
+
readonly type: "string";
|
|
3024
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3025
|
+
};
|
|
3026
|
+
};
|
|
3027
|
+
readonly required: readonly ["kind"];
|
|
3028
|
+
readonly additionalProperties: true;
|
|
3029
|
+
};
|
|
3030
|
+
};
|
|
3031
|
+
readonly required: readonly ["key", "value"];
|
|
3032
|
+
readonly additionalProperties: false;
|
|
3033
|
+
};
|
|
3034
|
+
};
|
|
3035
|
+
};
|
|
3036
|
+
readonly required: readonly ["kind", "entries"];
|
|
3037
|
+
readonly additionalProperties: false;
|
|
3038
|
+
}];
|
|
3039
|
+
};
|
|
3040
|
+
};
|
|
3041
|
+
readonly required: readonly ["operation", "target", "path", "value"];
|
|
3042
|
+
readonly additionalProperties: false;
|
|
3043
|
+
}, {
|
|
3044
|
+
readonly type: "object";
|
|
3045
|
+
readonly properties: {
|
|
3046
|
+
readonly operation: {
|
|
3047
|
+
readonly const: "delete_definition_field";
|
|
3048
|
+
};
|
|
3049
|
+
readonly target: {
|
|
3050
|
+
readonly type: "string";
|
|
3051
|
+
};
|
|
3052
|
+
readonly path: {
|
|
3053
|
+
readonly type: "array";
|
|
3054
|
+
readonly minItems: 1;
|
|
3055
|
+
readonly maxItems: 8;
|
|
3056
|
+
readonly items: {
|
|
3057
|
+
readonly type: "object";
|
|
3058
|
+
readonly properties: {
|
|
3059
|
+
readonly key: {
|
|
3060
|
+
readonly type: "string";
|
|
3061
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3062
|
+
};
|
|
3063
|
+
readonly occurrence: {
|
|
3064
|
+
readonly type: "integer";
|
|
3065
|
+
readonly minimum: 1;
|
|
3066
|
+
};
|
|
3067
|
+
};
|
|
3068
|
+
readonly required: readonly ["key", "occurrence"];
|
|
3069
|
+
readonly additionalProperties: false;
|
|
3070
|
+
};
|
|
3071
|
+
};
|
|
3072
|
+
};
|
|
3073
|
+
readonly required: readonly ["operation", "target", "path"];
|
|
3074
|
+
readonly additionalProperties: false;
|
|
3075
|
+
}, {
|
|
3076
|
+
readonly type: "object";
|
|
3077
|
+
readonly properties: {
|
|
3078
|
+
readonly operation: {
|
|
3079
|
+
readonly const: "add_definition_field";
|
|
3080
|
+
};
|
|
3081
|
+
readonly target: {
|
|
3082
|
+
readonly type: "string";
|
|
3083
|
+
};
|
|
3084
|
+
readonly path: {
|
|
3085
|
+
readonly type: "array";
|
|
3086
|
+
readonly minItems: 0;
|
|
3087
|
+
readonly maxItems: 8;
|
|
3088
|
+
readonly items: {
|
|
3089
|
+
readonly type: "object";
|
|
3090
|
+
readonly properties: {
|
|
3091
|
+
readonly key: {
|
|
3092
|
+
readonly type: "string";
|
|
3093
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3094
|
+
};
|
|
3095
|
+
readonly occurrence: {
|
|
3096
|
+
readonly type: "integer";
|
|
3097
|
+
readonly minimum: 1;
|
|
3098
|
+
};
|
|
3099
|
+
};
|
|
3100
|
+
readonly required: readonly ["key", "occurrence"];
|
|
3101
|
+
readonly additionalProperties: false;
|
|
3102
|
+
};
|
|
3103
|
+
};
|
|
3104
|
+
readonly entry: {
|
|
3105
|
+
readonly type: "object";
|
|
3106
|
+
readonly properties: {
|
|
3107
|
+
readonly key: {
|
|
3108
|
+
readonly type: "string";
|
|
3109
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3110
|
+
};
|
|
3111
|
+
readonly value: {
|
|
3112
|
+
readonly oneOf: readonly [{
|
|
3113
|
+
readonly type: "object";
|
|
3114
|
+
readonly properties: {
|
|
3115
|
+
readonly kind: {
|
|
3116
|
+
readonly const: "identifier";
|
|
3117
|
+
};
|
|
3118
|
+
readonly value: {
|
|
3119
|
+
readonly type: "string";
|
|
3120
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3121
|
+
};
|
|
3122
|
+
};
|
|
3123
|
+
readonly required: readonly ["kind", "value"];
|
|
3124
|
+
readonly additionalProperties: false;
|
|
3125
|
+
}, {
|
|
3126
|
+
readonly type: "object";
|
|
3127
|
+
readonly properties: {
|
|
3128
|
+
readonly kind: {
|
|
3129
|
+
readonly const: "string";
|
|
3130
|
+
};
|
|
3131
|
+
readonly value: {
|
|
3132
|
+
readonly type: "string";
|
|
3133
|
+
readonly maxLength: 4096;
|
|
3134
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
3135
|
+
};
|
|
3136
|
+
};
|
|
3137
|
+
readonly required: readonly ["kind", "value"];
|
|
3138
|
+
readonly additionalProperties: false;
|
|
3139
|
+
}, {
|
|
3140
|
+
readonly type: "object";
|
|
3141
|
+
readonly properties: {
|
|
3142
|
+
readonly kind: {
|
|
3143
|
+
readonly const: "number";
|
|
3144
|
+
};
|
|
3145
|
+
readonly value: {
|
|
3146
|
+
readonly type: "number";
|
|
3147
|
+
};
|
|
3148
|
+
};
|
|
3149
|
+
readonly required: readonly ["kind", "value"];
|
|
3150
|
+
readonly additionalProperties: false;
|
|
3151
|
+
}, {
|
|
3152
|
+
readonly type: "object";
|
|
3153
|
+
readonly properties: {
|
|
3154
|
+
readonly kind: {
|
|
3155
|
+
readonly const: "boolean";
|
|
3156
|
+
};
|
|
3157
|
+
readonly value: {
|
|
3158
|
+
readonly type: "boolean";
|
|
3159
|
+
};
|
|
3160
|
+
};
|
|
3161
|
+
readonly required: readonly ["kind", "value"];
|
|
3162
|
+
readonly additionalProperties: false;
|
|
3163
|
+
}, {
|
|
3164
|
+
readonly type: "object";
|
|
3165
|
+
readonly properties: {
|
|
3166
|
+
readonly kind: {
|
|
3167
|
+
readonly const: "list";
|
|
3168
|
+
};
|
|
3169
|
+
readonly values: {
|
|
3170
|
+
readonly type: "array";
|
|
3171
|
+
readonly maxItems: 256;
|
|
3172
|
+
readonly items: {
|
|
3173
|
+
readonly type: "object";
|
|
3174
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3175
|
+
readonly properties: {
|
|
3176
|
+
readonly kind: {
|
|
3177
|
+
readonly type: "string";
|
|
3178
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3179
|
+
};
|
|
3180
|
+
};
|
|
3181
|
+
readonly required: readonly ["kind"];
|
|
3182
|
+
readonly additionalProperties: true;
|
|
3183
|
+
};
|
|
3184
|
+
};
|
|
3185
|
+
};
|
|
3186
|
+
readonly required: readonly ["kind", "values"];
|
|
3187
|
+
readonly additionalProperties: false;
|
|
3188
|
+
}, {
|
|
3189
|
+
readonly type: "object";
|
|
3190
|
+
readonly properties: {
|
|
3191
|
+
readonly kind: {
|
|
3192
|
+
readonly const: "block";
|
|
3193
|
+
};
|
|
3194
|
+
readonly entries: {
|
|
3195
|
+
readonly type: "array";
|
|
3196
|
+
readonly maxItems: 256;
|
|
3197
|
+
readonly items: {
|
|
3198
|
+
readonly type: "object";
|
|
3199
|
+
readonly properties: {
|
|
3200
|
+
readonly key: {
|
|
3201
|
+
readonly type: "string";
|
|
3202
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3203
|
+
};
|
|
3204
|
+
readonly value: {
|
|
3205
|
+
readonly type: "object";
|
|
3206
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3207
|
+
readonly properties: {
|
|
3208
|
+
readonly kind: {
|
|
3209
|
+
readonly type: "string";
|
|
3210
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3211
|
+
};
|
|
3212
|
+
};
|
|
3213
|
+
readonly required: readonly ["kind"];
|
|
3214
|
+
readonly additionalProperties: true;
|
|
3215
|
+
};
|
|
3216
|
+
};
|
|
3217
|
+
readonly required: readonly ["key", "value"];
|
|
3218
|
+
readonly additionalProperties: false;
|
|
3219
|
+
};
|
|
3220
|
+
};
|
|
3221
|
+
};
|
|
3222
|
+
readonly required: readonly ["kind", "entries"];
|
|
3223
|
+
readonly additionalProperties: false;
|
|
3224
|
+
}];
|
|
3225
|
+
};
|
|
3226
|
+
};
|
|
3227
|
+
readonly required: readonly ["key", "value"];
|
|
3228
|
+
readonly additionalProperties: false;
|
|
3229
|
+
};
|
|
3230
|
+
};
|
|
3231
|
+
readonly required: readonly ["operation", "target", "path", "entry"];
|
|
3232
|
+
readonly additionalProperties: false;
|
|
3233
|
+
}, {
|
|
3234
|
+
readonly type: "object";
|
|
3235
|
+
readonly properties: {
|
|
3236
|
+
readonly operation: {
|
|
3237
|
+
readonly const: "add_scripted_effect_call";
|
|
3238
|
+
};
|
|
3239
|
+
readonly target: {
|
|
3240
|
+
readonly type: "string";
|
|
3241
|
+
};
|
|
3242
|
+
readonly script: {
|
|
3243
|
+
readonly type: "string";
|
|
3244
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3245
|
+
};
|
|
3246
|
+
readonly arguments: {
|
|
3247
|
+
readonly type: "array";
|
|
3248
|
+
readonly maxItems: 256;
|
|
3249
|
+
readonly items: {
|
|
3250
|
+
readonly type: "object";
|
|
3251
|
+
readonly properties: {
|
|
3252
|
+
readonly key: {
|
|
3253
|
+
readonly type: "string";
|
|
3254
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3255
|
+
};
|
|
3256
|
+
readonly value: {
|
|
3257
|
+
readonly oneOf: readonly [{
|
|
3258
|
+
readonly type: "object";
|
|
3259
|
+
readonly properties: {
|
|
3260
|
+
readonly kind: {
|
|
3261
|
+
readonly const: "identifier";
|
|
3262
|
+
};
|
|
3263
|
+
readonly value: {
|
|
3264
|
+
readonly type: "string";
|
|
3265
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3266
|
+
};
|
|
3267
|
+
};
|
|
3268
|
+
readonly required: readonly ["kind", "value"];
|
|
3269
|
+
readonly additionalProperties: false;
|
|
3270
|
+
}, {
|
|
3271
|
+
readonly type: "object";
|
|
3272
|
+
readonly properties: {
|
|
3273
|
+
readonly kind: {
|
|
3274
|
+
readonly const: "string";
|
|
3275
|
+
};
|
|
3276
|
+
readonly value: {
|
|
3277
|
+
readonly type: "string";
|
|
3278
|
+
readonly maxLength: 4096;
|
|
3279
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
3280
|
+
};
|
|
3281
|
+
};
|
|
3282
|
+
readonly required: readonly ["kind", "value"];
|
|
3283
|
+
readonly additionalProperties: false;
|
|
3284
|
+
}, {
|
|
3285
|
+
readonly type: "object";
|
|
3286
|
+
readonly properties: {
|
|
3287
|
+
readonly kind: {
|
|
3288
|
+
readonly const: "number";
|
|
3289
|
+
};
|
|
3290
|
+
readonly value: {
|
|
3291
|
+
readonly type: "number";
|
|
3292
|
+
};
|
|
3293
|
+
};
|
|
3294
|
+
readonly required: readonly ["kind", "value"];
|
|
3295
|
+
readonly additionalProperties: false;
|
|
3296
|
+
}, {
|
|
3297
|
+
readonly type: "object";
|
|
3298
|
+
readonly properties: {
|
|
3299
|
+
readonly kind: {
|
|
3300
|
+
readonly const: "boolean";
|
|
3301
|
+
};
|
|
3302
|
+
readonly value: {
|
|
3303
|
+
readonly type: "boolean";
|
|
3304
|
+
};
|
|
3305
|
+
};
|
|
3306
|
+
readonly required: readonly ["kind", "value"];
|
|
3307
|
+
readonly additionalProperties: false;
|
|
3308
|
+
}, {
|
|
3309
|
+
readonly type: "object";
|
|
3310
|
+
readonly properties: {
|
|
3311
|
+
readonly kind: {
|
|
3312
|
+
readonly const: "list";
|
|
3313
|
+
};
|
|
3314
|
+
readonly values: {
|
|
3315
|
+
readonly type: "array";
|
|
3316
|
+
readonly maxItems: 256;
|
|
3317
|
+
readonly items: {
|
|
3318
|
+
readonly type: "object";
|
|
3319
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3320
|
+
readonly properties: {
|
|
3321
|
+
readonly kind: {
|
|
3322
|
+
readonly type: "string";
|
|
3323
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3324
|
+
};
|
|
3325
|
+
};
|
|
3326
|
+
readonly required: readonly ["kind"];
|
|
3327
|
+
readonly additionalProperties: true;
|
|
3328
|
+
};
|
|
3329
|
+
};
|
|
3330
|
+
};
|
|
3331
|
+
readonly required: readonly ["kind", "values"];
|
|
3332
|
+
readonly additionalProperties: false;
|
|
3333
|
+
}, {
|
|
3334
|
+
readonly type: "object";
|
|
3335
|
+
readonly properties: {
|
|
3336
|
+
readonly kind: {
|
|
3337
|
+
readonly const: "block";
|
|
3338
|
+
};
|
|
3339
|
+
readonly entries: {
|
|
3340
|
+
readonly type: "array";
|
|
3341
|
+
readonly maxItems: 256;
|
|
3342
|
+
readonly items: {
|
|
3343
|
+
readonly type: "object";
|
|
3344
|
+
readonly properties: {
|
|
3345
|
+
readonly key: {
|
|
3346
|
+
readonly type: "string";
|
|
3347
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3348
|
+
};
|
|
3349
|
+
readonly value: {
|
|
3350
|
+
readonly type: "object";
|
|
3351
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3352
|
+
readonly properties: {
|
|
3353
|
+
readonly kind: {
|
|
3354
|
+
readonly type: "string";
|
|
3355
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3356
|
+
};
|
|
3357
|
+
};
|
|
3358
|
+
readonly required: readonly ["kind"];
|
|
3359
|
+
readonly additionalProperties: true;
|
|
3360
|
+
};
|
|
3361
|
+
};
|
|
3362
|
+
readonly required: readonly ["key", "value"];
|
|
3363
|
+
readonly additionalProperties: false;
|
|
3364
|
+
};
|
|
3365
|
+
};
|
|
3366
|
+
};
|
|
3367
|
+
readonly required: readonly ["kind", "entries"];
|
|
3368
|
+
readonly additionalProperties: false;
|
|
3369
|
+
}];
|
|
3370
|
+
};
|
|
3371
|
+
};
|
|
3372
|
+
readonly required: readonly ["key", "value"];
|
|
3373
|
+
readonly additionalProperties: false;
|
|
3374
|
+
};
|
|
3375
|
+
};
|
|
3376
|
+
readonly containerPath: {
|
|
3377
|
+
readonly type: "array";
|
|
3378
|
+
readonly maxItems: 8;
|
|
3379
|
+
readonly items: {
|
|
3380
|
+
readonly type: "string";
|
|
3381
|
+
};
|
|
3382
|
+
};
|
|
3383
|
+
};
|
|
3384
|
+
readonly required: readonly ["operation", "target", "script"];
|
|
3385
|
+
readonly additionalProperties: false;
|
|
3386
|
+
}, {
|
|
3387
|
+
readonly type: "object";
|
|
3388
|
+
readonly properties: {
|
|
3389
|
+
readonly operation: {
|
|
3390
|
+
readonly const: "add_scripted_trigger_call";
|
|
3391
|
+
};
|
|
3392
|
+
readonly target: {
|
|
3393
|
+
readonly type: "string";
|
|
3394
|
+
};
|
|
3395
|
+
readonly script: {
|
|
3396
|
+
readonly type: "string";
|
|
3397
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3398
|
+
};
|
|
3399
|
+
readonly arguments: {
|
|
3400
|
+
readonly type: "array";
|
|
3401
|
+
readonly maxItems: 256;
|
|
3402
|
+
readonly items: {
|
|
3403
|
+
readonly type: "object";
|
|
3404
|
+
readonly properties: {
|
|
3405
|
+
readonly key: {
|
|
3406
|
+
readonly type: "string";
|
|
3407
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3408
|
+
};
|
|
3409
|
+
readonly value: {
|
|
3410
|
+
readonly oneOf: readonly [{
|
|
3411
|
+
readonly type: "object";
|
|
3412
|
+
readonly properties: {
|
|
3413
|
+
readonly kind: {
|
|
3414
|
+
readonly const: "identifier";
|
|
3415
|
+
};
|
|
3416
|
+
readonly value: {
|
|
3417
|
+
readonly type: "string";
|
|
3418
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3419
|
+
};
|
|
3420
|
+
};
|
|
3421
|
+
readonly required: readonly ["kind", "value"];
|
|
3422
|
+
readonly additionalProperties: false;
|
|
3423
|
+
}, {
|
|
3424
|
+
readonly type: "object";
|
|
3425
|
+
readonly properties: {
|
|
3426
|
+
readonly kind: {
|
|
3427
|
+
readonly const: "string";
|
|
3428
|
+
};
|
|
3429
|
+
readonly value: {
|
|
3430
|
+
readonly type: "string";
|
|
3431
|
+
readonly maxLength: 4096;
|
|
3432
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
3433
|
+
};
|
|
3434
|
+
};
|
|
3435
|
+
readonly required: readonly ["kind", "value"];
|
|
3436
|
+
readonly additionalProperties: false;
|
|
3437
|
+
}, {
|
|
3438
|
+
readonly type: "object";
|
|
3439
|
+
readonly properties: {
|
|
3440
|
+
readonly kind: {
|
|
3441
|
+
readonly const: "number";
|
|
3442
|
+
};
|
|
3443
|
+
readonly value: {
|
|
3444
|
+
readonly type: "number";
|
|
3445
|
+
};
|
|
3446
|
+
};
|
|
3447
|
+
readonly required: readonly ["kind", "value"];
|
|
3448
|
+
readonly additionalProperties: false;
|
|
3449
|
+
}, {
|
|
3450
|
+
readonly type: "object";
|
|
3451
|
+
readonly properties: {
|
|
3452
|
+
readonly kind: {
|
|
3453
|
+
readonly const: "boolean";
|
|
3454
|
+
};
|
|
3455
|
+
readonly value: {
|
|
3456
|
+
readonly type: "boolean";
|
|
3457
|
+
};
|
|
3458
|
+
};
|
|
3459
|
+
readonly required: readonly ["kind", "value"];
|
|
3460
|
+
readonly additionalProperties: false;
|
|
3461
|
+
}, {
|
|
3462
|
+
readonly type: "object";
|
|
3463
|
+
readonly properties: {
|
|
3464
|
+
readonly kind: {
|
|
3465
|
+
readonly const: "list";
|
|
3466
|
+
};
|
|
3467
|
+
readonly values: {
|
|
3468
|
+
readonly type: "array";
|
|
3469
|
+
readonly maxItems: 256;
|
|
3470
|
+
readonly items: {
|
|
3471
|
+
readonly type: "object";
|
|
3472
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3473
|
+
readonly properties: {
|
|
3474
|
+
readonly kind: {
|
|
3475
|
+
readonly type: "string";
|
|
3476
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3477
|
+
};
|
|
3478
|
+
};
|
|
3479
|
+
readonly required: readonly ["kind"];
|
|
3480
|
+
readonly additionalProperties: true;
|
|
3481
|
+
};
|
|
3482
|
+
};
|
|
3483
|
+
};
|
|
3484
|
+
readonly required: readonly ["kind", "values"];
|
|
3485
|
+
readonly additionalProperties: false;
|
|
3486
|
+
}, {
|
|
3487
|
+
readonly type: "object";
|
|
3488
|
+
readonly properties: {
|
|
3489
|
+
readonly kind: {
|
|
3490
|
+
readonly const: "block";
|
|
3491
|
+
};
|
|
3492
|
+
readonly entries: {
|
|
3493
|
+
readonly type: "array";
|
|
3494
|
+
readonly maxItems: 256;
|
|
3495
|
+
readonly items: {
|
|
3496
|
+
readonly type: "object";
|
|
3497
|
+
readonly properties: {
|
|
3498
|
+
readonly key: {
|
|
3499
|
+
readonly type: "string";
|
|
3500
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3501
|
+
};
|
|
3502
|
+
readonly value: {
|
|
3503
|
+
readonly type: "object";
|
|
3504
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3505
|
+
readonly properties: {
|
|
3506
|
+
readonly kind: {
|
|
3507
|
+
readonly type: "string";
|
|
3508
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3509
|
+
};
|
|
3510
|
+
};
|
|
3511
|
+
readonly required: readonly ["kind"];
|
|
3512
|
+
readonly additionalProperties: true;
|
|
3513
|
+
};
|
|
3514
|
+
};
|
|
3515
|
+
readonly required: readonly ["key", "value"];
|
|
3516
|
+
readonly additionalProperties: false;
|
|
3517
|
+
};
|
|
3518
|
+
};
|
|
3519
|
+
};
|
|
3520
|
+
readonly required: readonly ["kind", "entries"];
|
|
3521
|
+
readonly additionalProperties: false;
|
|
3522
|
+
}];
|
|
3523
|
+
};
|
|
3524
|
+
};
|
|
3525
|
+
readonly required: readonly ["key", "value"];
|
|
3526
|
+
readonly additionalProperties: false;
|
|
3527
|
+
};
|
|
3528
|
+
};
|
|
3529
|
+
readonly containerPath: {
|
|
3530
|
+
readonly type: "array";
|
|
3531
|
+
readonly maxItems: 8;
|
|
3532
|
+
readonly items: {
|
|
3533
|
+
readonly type: "string";
|
|
3534
|
+
};
|
|
3535
|
+
};
|
|
3536
|
+
};
|
|
3537
|
+
readonly required: readonly ["operation", "target", "script"];
|
|
3538
|
+
readonly additionalProperties: false;
|
|
3539
|
+
}, {
|
|
3540
|
+
readonly type: "object";
|
|
3541
|
+
readonly properties: {
|
|
3542
|
+
readonly operation: {
|
|
3543
|
+
readonly const: "add_on_action_entry";
|
|
3544
|
+
};
|
|
3545
|
+
readonly target: {
|
|
3546
|
+
readonly type: "string";
|
|
3547
|
+
};
|
|
3548
|
+
readonly entry: {
|
|
3549
|
+
readonly type: "object";
|
|
3550
|
+
readonly properties: {
|
|
3551
|
+
readonly key: {
|
|
3552
|
+
readonly type: "string";
|
|
3553
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3554
|
+
};
|
|
3555
|
+
readonly value: {
|
|
3556
|
+
readonly oneOf: readonly [{
|
|
3557
|
+
readonly type: "object";
|
|
3558
|
+
readonly properties: {
|
|
3559
|
+
readonly kind: {
|
|
3560
|
+
readonly const: "identifier";
|
|
3561
|
+
};
|
|
3562
|
+
readonly value: {
|
|
3563
|
+
readonly type: "string";
|
|
3564
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3565
|
+
};
|
|
3566
|
+
};
|
|
3567
|
+
readonly required: readonly ["kind", "value"];
|
|
3568
|
+
readonly additionalProperties: false;
|
|
3569
|
+
}, {
|
|
3570
|
+
readonly type: "object";
|
|
3571
|
+
readonly properties: {
|
|
3572
|
+
readonly kind: {
|
|
3573
|
+
readonly const: "string";
|
|
3574
|
+
};
|
|
3575
|
+
readonly value: {
|
|
3576
|
+
readonly type: "string";
|
|
3577
|
+
readonly maxLength: 4096;
|
|
3578
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
3579
|
+
};
|
|
3580
|
+
};
|
|
3581
|
+
readonly required: readonly ["kind", "value"];
|
|
3582
|
+
readonly additionalProperties: false;
|
|
3583
|
+
}, {
|
|
3584
|
+
readonly type: "object";
|
|
3585
|
+
readonly properties: {
|
|
3586
|
+
readonly kind: {
|
|
3587
|
+
readonly const: "number";
|
|
3588
|
+
};
|
|
3589
|
+
readonly value: {
|
|
3590
|
+
readonly type: "number";
|
|
3591
|
+
};
|
|
3592
|
+
};
|
|
3593
|
+
readonly required: readonly ["kind", "value"];
|
|
3594
|
+
readonly additionalProperties: false;
|
|
3595
|
+
}, {
|
|
3596
|
+
readonly type: "object";
|
|
3597
|
+
readonly properties: {
|
|
3598
|
+
readonly kind: {
|
|
3599
|
+
readonly const: "boolean";
|
|
3600
|
+
};
|
|
3601
|
+
readonly value: {
|
|
3602
|
+
readonly type: "boolean";
|
|
3603
|
+
};
|
|
3604
|
+
};
|
|
3605
|
+
readonly required: readonly ["kind", "value"];
|
|
3606
|
+
readonly additionalProperties: false;
|
|
3607
|
+
}, {
|
|
3608
|
+
readonly type: "object";
|
|
3609
|
+
readonly properties: {
|
|
3610
|
+
readonly kind: {
|
|
3611
|
+
readonly const: "list";
|
|
3612
|
+
};
|
|
3613
|
+
readonly values: {
|
|
3614
|
+
readonly type: "array";
|
|
3615
|
+
readonly maxItems: 256;
|
|
3616
|
+
readonly items: {
|
|
3617
|
+
readonly type: "object";
|
|
3618
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3619
|
+
readonly properties: {
|
|
3620
|
+
readonly kind: {
|
|
3621
|
+
readonly type: "string";
|
|
3622
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3623
|
+
};
|
|
3624
|
+
};
|
|
3625
|
+
readonly required: readonly ["kind"];
|
|
3626
|
+
readonly additionalProperties: true;
|
|
3627
|
+
};
|
|
3628
|
+
};
|
|
3629
|
+
};
|
|
3630
|
+
readonly required: readonly ["kind", "values"];
|
|
3631
|
+
readonly additionalProperties: false;
|
|
3632
|
+
}, {
|
|
3633
|
+
readonly type: "object";
|
|
3634
|
+
readonly properties: {
|
|
3635
|
+
readonly kind: {
|
|
3636
|
+
readonly const: "block";
|
|
3637
|
+
};
|
|
3638
|
+
readonly entries: {
|
|
3639
|
+
readonly type: "array";
|
|
3640
|
+
readonly maxItems: 256;
|
|
3641
|
+
readonly items: {
|
|
3642
|
+
readonly type: "object";
|
|
3643
|
+
readonly properties: {
|
|
3644
|
+
readonly key: {
|
|
3645
|
+
readonly type: "string";
|
|
3646
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3647
|
+
};
|
|
3648
|
+
readonly value: {
|
|
3649
|
+
readonly type: "object";
|
|
3650
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3651
|
+
readonly properties: {
|
|
3652
|
+
readonly kind: {
|
|
3653
|
+
readonly type: "string";
|
|
3654
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3655
|
+
};
|
|
3656
|
+
};
|
|
3657
|
+
readonly required: readonly ["kind"];
|
|
3658
|
+
readonly additionalProperties: true;
|
|
3659
|
+
};
|
|
3660
|
+
};
|
|
3661
|
+
readonly required: readonly ["key", "value"];
|
|
3662
|
+
readonly additionalProperties: false;
|
|
3663
|
+
};
|
|
3664
|
+
};
|
|
3665
|
+
};
|
|
3666
|
+
readonly required: readonly ["kind", "entries"];
|
|
3667
|
+
readonly additionalProperties: false;
|
|
3668
|
+
}];
|
|
3669
|
+
};
|
|
3670
|
+
};
|
|
3671
|
+
readonly required: readonly ["key", "value"];
|
|
3672
|
+
readonly additionalProperties: false;
|
|
3673
|
+
};
|
|
3674
|
+
};
|
|
3675
|
+
readonly required: readonly ["operation", "target", "entry"];
|
|
3676
|
+
readonly additionalProperties: false;
|
|
3677
|
+
}, {
|
|
3678
|
+
readonly type: "object";
|
|
3679
|
+
readonly properties: {
|
|
3680
|
+
readonly operation: {
|
|
3681
|
+
readonly const: "bind_event_target";
|
|
3682
|
+
};
|
|
3683
|
+
readonly target: {
|
|
3684
|
+
readonly type: "string";
|
|
3685
|
+
};
|
|
3686
|
+
readonly eventTarget: {
|
|
3687
|
+
readonly type: "string";
|
|
3688
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3689
|
+
};
|
|
3690
|
+
readonly containerPath: {
|
|
3691
|
+
readonly type: "array";
|
|
3692
|
+
readonly maxItems: 8;
|
|
3693
|
+
readonly items: {
|
|
3694
|
+
readonly type: "string";
|
|
3695
|
+
};
|
|
3696
|
+
};
|
|
3697
|
+
};
|
|
3698
|
+
readonly required: readonly ["operation", "target", "eventTarget"];
|
|
3699
|
+
readonly additionalProperties: false;
|
|
3700
|
+
}, {
|
|
3701
|
+
readonly type: "object";
|
|
3702
|
+
readonly properties: {
|
|
3703
|
+
readonly operation: {
|
|
3704
|
+
readonly const: "clear_event_target";
|
|
3705
|
+
};
|
|
3706
|
+
readonly target: {
|
|
3707
|
+
readonly type: "string";
|
|
3708
|
+
};
|
|
3709
|
+
readonly eventTarget: {
|
|
3710
|
+
readonly type: "string";
|
|
3711
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3712
|
+
};
|
|
3713
|
+
readonly containerPath: {
|
|
3714
|
+
readonly type: "array";
|
|
3715
|
+
readonly maxItems: 8;
|
|
3716
|
+
readonly items: {
|
|
3717
|
+
readonly type: "string";
|
|
3718
|
+
};
|
|
3719
|
+
};
|
|
3720
|
+
};
|
|
3721
|
+
readonly required: readonly ["operation", "target", "eventTarget"];
|
|
3722
|
+
readonly additionalProperties: false;
|
|
3723
|
+
}, {
|
|
3724
|
+
readonly type: "object";
|
|
3725
|
+
readonly properties: {
|
|
3726
|
+
readonly operation: {
|
|
3727
|
+
readonly const: "add_variable_transition";
|
|
3728
|
+
};
|
|
3729
|
+
readonly target: {
|
|
3730
|
+
readonly type: "string";
|
|
3731
|
+
};
|
|
3732
|
+
readonly transition: {
|
|
3733
|
+
readonly type: "string";
|
|
3734
|
+
readonly enum: readonly ["set_variable", "change_variable", "multiply_variable", "divide_variable"];
|
|
3735
|
+
};
|
|
3736
|
+
readonly variable: {
|
|
3737
|
+
readonly type: "string";
|
|
3738
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3739
|
+
};
|
|
3740
|
+
readonly value: {
|
|
3741
|
+
readonly oneOf: readonly [{
|
|
3742
|
+
readonly type: "object";
|
|
3743
|
+
readonly properties: {
|
|
3744
|
+
readonly kind: {
|
|
3745
|
+
readonly const: "identifier";
|
|
3746
|
+
};
|
|
3747
|
+
readonly value: {
|
|
3748
|
+
readonly type: "string";
|
|
3749
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3750
|
+
};
|
|
3751
|
+
};
|
|
3752
|
+
readonly required: readonly ["kind", "value"];
|
|
3753
|
+
readonly additionalProperties: false;
|
|
3754
|
+
}, {
|
|
3755
|
+
readonly type: "object";
|
|
3756
|
+
readonly properties: {
|
|
3757
|
+
readonly kind: {
|
|
3758
|
+
readonly const: "string";
|
|
3759
|
+
};
|
|
3760
|
+
readonly value: {
|
|
3761
|
+
readonly type: "string";
|
|
3762
|
+
readonly maxLength: 4096;
|
|
3763
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
3764
|
+
};
|
|
3765
|
+
};
|
|
3766
|
+
readonly required: readonly ["kind", "value"];
|
|
3767
|
+
readonly additionalProperties: false;
|
|
3768
|
+
}, {
|
|
3769
|
+
readonly type: "object";
|
|
3770
|
+
readonly properties: {
|
|
3771
|
+
readonly kind: {
|
|
3772
|
+
readonly const: "number";
|
|
3773
|
+
};
|
|
3774
|
+
readonly value: {
|
|
3775
|
+
readonly type: "number";
|
|
3776
|
+
};
|
|
3777
|
+
};
|
|
3778
|
+
readonly required: readonly ["kind", "value"];
|
|
3779
|
+
readonly additionalProperties: false;
|
|
3780
|
+
}, {
|
|
3781
|
+
readonly type: "object";
|
|
3782
|
+
readonly properties: {
|
|
3783
|
+
readonly kind: {
|
|
3784
|
+
readonly const: "boolean";
|
|
3785
|
+
};
|
|
3786
|
+
readonly value: {
|
|
3787
|
+
readonly type: "boolean";
|
|
3788
|
+
};
|
|
3789
|
+
};
|
|
3790
|
+
readonly required: readonly ["kind", "value"];
|
|
3791
|
+
readonly additionalProperties: false;
|
|
3792
|
+
}, {
|
|
3793
|
+
readonly type: "object";
|
|
3794
|
+
readonly properties: {
|
|
3795
|
+
readonly kind: {
|
|
3796
|
+
readonly const: "list";
|
|
3797
|
+
};
|
|
3798
|
+
readonly values: {
|
|
3799
|
+
readonly type: "array";
|
|
3800
|
+
readonly maxItems: 256;
|
|
3801
|
+
readonly items: {
|
|
3802
|
+
readonly type: "object";
|
|
3803
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3804
|
+
readonly properties: {
|
|
3805
|
+
readonly kind: {
|
|
3806
|
+
readonly type: "string";
|
|
3807
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3808
|
+
};
|
|
3809
|
+
};
|
|
3810
|
+
readonly required: readonly ["kind"];
|
|
3811
|
+
readonly additionalProperties: true;
|
|
3812
|
+
};
|
|
3813
|
+
};
|
|
3814
|
+
};
|
|
3815
|
+
readonly required: readonly ["kind", "values"];
|
|
3816
|
+
readonly additionalProperties: false;
|
|
3817
|
+
}, {
|
|
3818
|
+
readonly type: "object";
|
|
3819
|
+
readonly properties: {
|
|
3820
|
+
readonly kind: {
|
|
3821
|
+
readonly const: "block";
|
|
3822
|
+
};
|
|
3823
|
+
readonly entries: {
|
|
3824
|
+
readonly type: "array";
|
|
3825
|
+
readonly maxItems: 256;
|
|
3826
|
+
readonly items: {
|
|
3827
|
+
readonly type: "object";
|
|
3828
|
+
readonly properties: {
|
|
3829
|
+
readonly key: {
|
|
3830
|
+
readonly type: "string";
|
|
3831
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3832
|
+
};
|
|
3833
|
+
readonly value: {
|
|
3834
|
+
readonly type: "object";
|
|
3835
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3836
|
+
readonly properties: {
|
|
3837
|
+
readonly kind: {
|
|
3838
|
+
readonly type: "string";
|
|
3839
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3840
|
+
};
|
|
3841
|
+
};
|
|
3842
|
+
readonly required: readonly ["kind"];
|
|
3843
|
+
readonly additionalProperties: true;
|
|
3844
|
+
};
|
|
3845
|
+
};
|
|
3846
|
+
readonly required: readonly ["key", "value"];
|
|
3847
|
+
readonly additionalProperties: false;
|
|
3848
|
+
};
|
|
3849
|
+
};
|
|
3850
|
+
};
|
|
3851
|
+
readonly required: readonly ["kind", "entries"];
|
|
3852
|
+
readonly additionalProperties: false;
|
|
3853
|
+
}];
|
|
3854
|
+
};
|
|
3855
|
+
readonly containerPath: {
|
|
3856
|
+
readonly type: "array";
|
|
3857
|
+
readonly maxItems: 8;
|
|
3858
|
+
readonly items: {
|
|
3859
|
+
readonly type: "string";
|
|
3860
|
+
};
|
|
3861
|
+
};
|
|
3862
|
+
};
|
|
3863
|
+
readonly required: readonly ["operation", "target", "transition", "variable", "value"];
|
|
3864
|
+
readonly additionalProperties: false;
|
|
3865
|
+
}];
|
|
3866
|
+
readonly description: "One discriminated typed mutation. Raw code/oldString/newString fields are rejected.";
|
|
3867
|
+
};
|
|
3868
|
+
};
|
|
3869
|
+
readonly required: readonly ["filePath", "operation"];
|
|
3870
|
+
readonly additionalProperties: false;
|
|
3871
|
+
};
|
|
3872
|
+
};
|
|
3873
|
+
readonly registry: {
|
|
3874
|
+
readonly name: "typed_pdx_write";
|
|
3875
|
+
readonly isWrite: true;
|
|
3876
|
+
readonly isReadOnly: false;
|
|
3877
|
+
readonly effect: "workspace_write";
|
|
3878
|
+
readonly riskLevel: 2;
|
|
3879
|
+
readonly concurrencyClass: "per-file-write";
|
|
3880
|
+
readonly mcpSupportsCwtOnly: false;
|
|
3881
|
+
};
|
|
3882
|
+
}, {
|
|
3883
|
+
readonly tool: {
|
|
3884
|
+
readonly name: "candidate_transaction";
|
|
3885
|
+
readonly description: "Manage one bounded candidate transaction. begin creates an overlay; validate runs host semantic evidence plus detached LSP parser/catalog validation without writing disk; commit atomically materializes validated candidates and rolls back if fresh diagnostics introduce errors; discard removes candidates.";
|
|
3886
|
+
readonly inputSchema: {
|
|
3887
|
+
readonly type: "object";
|
|
3888
|
+
readonly properties: {
|
|
3889
|
+
readonly action: {
|
|
3890
|
+
readonly type: "string";
|
|
3891
|
+
readonly enum: readonly ["begin", "validate", "commit", "discard", "status"];
|
|
3892
|
+
};
|
|
3893
|
+
readonly transactionId: {
|
|
3894
|
+
readonly type: "string";
|
|
3895
|
+
readonly description: "Required after begin.";
|
|
3896
|
+
};
|
|
3897
|
+
readonly validationPassed: {
|
|
3898
|
+
readonly type: "boolean";
|
|
3899
|
+
readonly description: "Optional explicit veto for the exact staged fingerprint. The host always runs detached overlay validation and never trusts this flag as proof.";
|
|
3900
|
+
};
|
|
3901
|
+
};
|
|
3902
|
+
readonly required: readonly ["action"];
|
|
3903
|
+
};
|
|
3904
|
+
};
|
|
3905
|
+
readonly registry: {
|
|
3906
|
+
readonly name: "candidate_transaction";
|
|
3907
|
+
readonly isWrite: true;
|
|
3908
|
+
readonly isReadOnly: false;
|
|
3909
|
+
readonly effect: "workspace_write";
|
|
3910
|
+
readonly riskLevel: 2;
|
|
3911
|
+
readonly concurrencyClass: "per-file-write";
|
|
3912
|
+
readonly mcpSupportsCwtOnly: false;
|
|
3913
|
+
};
|
|
3914
|
+
}, {
|
|
3915
|
+
readonly tool: {
|
|
3916
|
+
readonly name: "convert_image_to_dds";
|
|
3917
|
+
readonly description: "Convert a PNG/JPG/TGA image to DDS format (required by Clausewitz engine for icons, sprites, and textures). Uses ImageMagick. Supports DXT5/BC3, DXT1/BC1, DXT3/BC2, and uncompressed DDS output. Mipmaps are disabled by default. Requires ImageMagick installed and accessible. Custom path can be set via stellarisLanguageServices.media.imageMagickPath setting.";
|
|
3918
|
+
readonly inputSchema: {
|
|
3919
|
+
readonly type: "object";
|
|
3920
|
+
readonly properties: {
|
|
3921
|
+
readonly sourcePath: {
|
|
3922
|
+
readonly type: "string";
|
|
3923
|
+
readonly description: "Absolute path to the source image file (PNG, JPG, or TGA).";
|
|
3924
|
+
};
|
|
3925
|
+
readonly outputDir: {
|
|
3926
|
+
readonly type: "string";
|
|
3927
|
+
readonly description: "Directory to write the converted DDS file to. Can be absolute or relative to workspace root (e.g. \"gfx/interface/icons/\").";
|
|
3928
|
+
};
|
|
3929
|
+
readonly compression: {
|
|
3930
|
+
readonly type: "string";
|
|
3931
|
+
readonly enum: readonly ["dxt5", "dxt1", "dxt3", "none"];
|
|
3932
|
+
readonly description: "DDS compression type. \"dxt5\" (default): supports alpha channel, use for most icons. \"dxt1\": no alpha, smaller file size. \"dxt3\": legacy explicit alpha. \"none\": uncompressed.";
|
|
3933
|
+
};
|
|
3934
|
+
readonly generateMipmaps: {
|
|
3935
|
+
readonly type: "boolean";
|
|
3936
|
+
readonly description: "Whether to generate mipmaps (default false).";
|
|
3937
|
+
};
|
|
3938
|
+
};
|
|
3939
|
+
readonly required: readonly ["sourcePath"];
|
|
3940
|
+
};
|
|
3941
|
+
};
|
|
3942
|
+
readonly registry: {
|
|
3943
|
+
readonly name: "convert_image_to_dds";
|
|
3944
|
+
readonly isWrite: true;
|
|
3945
|
+
readonly isReadOnly: false;
|
|
3946
|
+
readonly effect: "media";
|
|
3947
|
+
readonly riskLevel: 2;
|
|
3948
|
+
readonly concurrencyClass: "interactive";
|
|
3949
|
+
readonly mcpSupportsCwtOnly: false;
|
|
3950
|
+
};
|
|
3951
|
+
}, {
|
|
3952
|
+
readonly tool: {
|
|
3953
|
+
readonly name: "convert_audio";
|
|
3954
|
+
readonly description: "Convert audio files between formats (MP3->OGG for BGM/voice, MP3->WAV for UI sound effects). Uses ffmpeg. Clausewitz engine requires .ogg (Vorbis) for music/voice and .wav (16-bit PCM) for UI sounds. Requires ffmpeg installed and accessible. Custom path can be set via stellarisLanguageServices.media.ffmpegPath setting.";
|
|
3955
|
+
readonly inputSchema: {
|
|
3956
|
+
readonly type: "object";
|
|
3957
|
+
readonly properties: {
|
|
3958
|
+
readonly sourcePath: {
|
|
3959
|
+
readonly type: "string";
|
|
3960
|
+
readonly description: "Absolute path to the source audio file.";
|
|
3961
|
+
};
|
|
3962
|
+
readonly outputDir: {
|
|
3963
|
+
readonly type: "string";
|
|
3964
|
+
readonly description: "Directory to write the converted file to. Can be absolute or relative to workspace root (e.g. \"sound/vo/\").";
|
|
3965
|
+
};
|
|
3966
|
+
readonly targetFormat: {
|
|
3967
|
+
readonly type: "string";
|
|
3968
|
+
readonly enum: readonly ["ogg", "wav"];
|
|
3969
|
+
readonly description: "Target audio format. \"ogg\": Vorbis encoding for BGM and voice lines. \"wav\": 16-bit PCM for UI sound effects.";
|
|
3970
|
+
};
|
|
3971
|
+
readonly sampleRate: {
|
|
3972
|
+
readonly type: "number";
|
|
3973
|
+
readonly description: "Output sample rate in Hz (e.g. 44100, 48000). Default: keep original.";
|
|
3974
|
+
};
|
|
3975
|
+
readonly channels: {
|
|
3976
|
+
readonly type: "number";
|
|
3977
|
+
readonly description: "Number of audio channels. 1 = mono (recommended for voice/sfx), 2 = stereo (recommended for music). Default: keep original.";
|
|
3978
|
+
};
|
|
3979
|
+
};
|
|
3980
|
+
readonly required: readonly ["sourcePath", "targetFormat"];
|
|
3981
|
+
};
|
|
3982
|
+
};
|
|
3983
|
+
readonly registry: {
|
|
3984
|
+
readonly name: "convert_audio";
|
|
3985
|
+
readonly isWrite: true;
|
|
3986
|
+
readonly isReadOnly: false;
|
|
3987
|
+
readonly effect: "media";
|
|
3988
|
+
readonly riskLevel: 2;
|
|
3989
|
+
readonly concurrencyClass: "interactive";
|
|
3990
|
+
readonly mcpSupportsCwtOnly: false;
|
|
3991
|
+
};
|
|
3992
|
+
}, {
|
|
3993
|
+
readonly tool: {
|
|
3994
|
+
readonly name: "deploy_mod_asset";
|
|
3995
|
+
readonly description: "Copy a generated/converted media asset file to its final location in the mod workspace. Requires user permission. Use this after convert_image_to_dds or convert_audio to place files in the correct game directory (e.g. gfx/interface/icons/, sound/vo/).";
|
|
3996
|
+
readonly inputSchema: {
|
|
3997
|
+
readonly type: "object";
|
|
3998
|
+
readonly properties: {
|
|
3999
|
+
readonly sourcePath: {
|
|
4000
|
+
readonly type: "string";
|
|
4001
|
+
readonly description: "Absolute path to the source file to deploy.";
|
|
4002
|
+
};
|
|
4003
|
+
readonly targetRelativePath: {
|
|
4004
|
+
readonly type: "string";
|
|
4005
|
+
readonly description: "Target path relative to workspace root (e.g. \"gfx/interface/icons/tech/my_tech.dds\" or \"sound/vo/my_voice.ogg\").";
|
|
4006
|
+
};
|
|
4007
|
+
readonly overwrite: {
|
|
4008
|
+
readonly type: "boolean";
|
|
4009
|
+
readonly description: "If true, overwrite existing file at target. Default: false (fails if file exists).";
|
|
4010
|
+
};
|
|
4011
|
+
};
|
|
4012
|
+
readonly required: readonly ["sourcePath", "targetRelativePath"];
|
|
4013
|
+
};
|
|
4014
|
+
};
|
|
4015
|
+
readonly registry: {
|
|
4016
|
+
readonly name: "deploy_mod_asset";
|
|
4017
|
+
readonly isWrite: true;
|
|
4018
|
+
readonly isReadOnly: false;
|
|
4019
|
+
readonly effect: "media";
|
|
4020
|
+
readonly riskLevel: 2;
|
|
4021
|
+
readonly concurrencyClass: "interactive";
|
|
4022
|
+
readonly mcpSupportsCwtOnly: false;
|
|
4023
|
+
};
|
|
4024
|
+
}, {
|
|
4025
|
+
readonly tool: {
|
|
4026
|
+
readonly name: "remove_ignored_diagnostic";
|
|
4027
|
+
readonly description: "Remove a previously ignored diagnostic key from the user's whitelist. Prompts user for permission. Use when debugging silent failures caused by whitelisted typos.";
|
|
4028
|
+
readonly inputSchema: {
|
|
4029
|
+
readonly type: "object";
|
|
4030
|
+
readonly properties: {
|
|
4031
|
+
readonly diagnosticKey: {
|
|
4032
|
+
readonly type: "string";
|
|
4033
|
+
readonly description: "The exact string key that is currently being ignored (e.g. \"producess\").";
|
|
4034
|
+
};
|
|
4035
|
+
readonly reason: {
|
|
4036
|
+
readonly type: "string";
|
|
4037
|
+
readonly description: "A brief technical explanation of why you suspect this is a genuine error and should NOT be ignored.";
|
|
4038
|
+
};
|
|
4039
|
+
};
|
|
4040
|
+
readonly required: readonly ["diagnosticKey", "reason"];
|
|
4041
|
+
};
|
|
4042
|
+
};
|
|
4043
|
+
readonly registry: {
|
|
4044
|
+
readonly name: "remove_ignored_diagnostic";
|
|
4045
|
+
readonly isWrite: true;
|
|
4046
|
+
readonly isReadOnly: false;
|
|
4047
|
+
readonly effect: "workspace_write";
|
|
4048
|
+
readonly riskLevel: 2;
|
|
4049
|
+
readonly concurrencyClass: "per-file-write";
|
|
4050
|
+
readonly mcpSupportsCwtOnly: false;
|
|
4051
|
+
};
|
|
4052
|
+
}, {
|
|
4053
|
+
readonly tool: {
|
|
4054
|
+
readonly name: "initialize_project";
|
|
4055
|
+
readonly description: "Initialize or refresh the current Paradox project without relying on a built-in Agent. Builds the V4 project profile and V7 project + vanilla SQLite knowledge pack through CWTools. Full mode is the default; incremental mode accepts bounded changed files and domains. Creates CWTOOLS.md only when missing and never overwrites user instructions.";
|
|
4056
|
+
readonly inputSchema: {
|
|
4057
|
+
readonly type: "object";
|
|
4058
|
+
readonly properties: {
|
|
4059
|
+
readonly mode: {
|
|
4060
|
+
readonly type: "string";
|
|
4061
|
+
readonly enum: readonly ["full", "incremental"];
|
|
4062
|
+
readonly description: "Initialization mode. Default full.";
|
|
4063
|
+
};
|
|
4064
|
+
readonly changedFiles: {
|
|
4065
|
+
readonly type: "array";
|
|
4066
|
+
readonly maxItems: 500;
|
|
4067
|
+
readonly items: {
|
|
4068
|
+
readonly type: "string";
|
|
4069
|
+
};
|
|
4070
|
+
readonly description: "Workspace-relative changed files for incremental refresh.";
|
|
4071
|
+
};
|
|
4072
|
+
readonly domains: {
|
|
4073
|
+
readonly type: "array";
|
|
4074
|
+
readonly maxItems: 64;
|
|
4075
|
+
readonly items: {
|
|
4076
|
+
readonly type: "string";
|
|
4077
|
+
};
|
|
4078
|
+
readonly description: "Optional knowledge domains to refresh.";
|
|
4079
|
+
};
|
|
4080
|
+
};
|
|
4081
|
+
readonly required: readonly [];
|
|
4082
|
+
readonly additionalProperties: false;
|
|
4083
|
+
};
|
|
4084
|
+
};
|
|
4085
|
+
readonly registry: {
|
|
4086
|
+
readonly name: "initialize_project";
|
|
4087
|
+
readonly isWrite: true;
|
|
4088
|
+
readonly isReadOnly: false;
|
|
4089
|
+
readonly effect: "workspace_write";
|
|
4090
|
+
readonly riskLevel: 2;
|
|
4091
|
+
readonly concurrencyClass: "per-file-write";
|
|
4092
|
+
readonly mcpSupportsCwtOnly: false;
|
|
4093
|
+
};
|
|
4094
|
+
}];
|