cwtools-shared 0.2.8 → 0.3.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/generated/mcpTools.d.ts +2140 -0
- package/dist/generated/mcpTools.js +2875 -37
- package/dist/generated/workshopDetection.d.ts +22 -0
- package/dist/generated/workshopDetection.js +50 -0
- package/dist/generated/workspaceDetectionProfiles.d.ts +2 -0
- package/dist/generated/workspaceDetectionProfiles.js +84 -0
- package/dist/generated/workspaceGameDetection.d.ts +39 -0
- package/dist/generated/workspaceGameDetection.js +424 -0
- package/dist/host/capabilities.d.ts +39 -0
- package/dist/host/capabilities.js +124 -0
- package/dist/host/diagnostics.d.ts +5 -1
- package/dist/host/hostServices.d.ts +5 -0
- package/dist/host/lsp.d.ts +9 -0
- package/dist/host/lsp.js +27 -0
- package/dist/host/vanillaCache.js +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/tools/callHandler.d.ts +10 -0
- package/dist/tools/callHandler.js +72 -0
- package/dist/tools/mcpSchema.d.ts +23 -1
- package/dist/tools/mcpSchema.js +34 -2
- package/dist/tools/names.d.ts +8 -5
- package/dist/tools/names.js +23 -8
- package/dist/tools/registry.d.ts +1 -0
- package/dist/tools/targetingWeights.d.ts +206 -0
- package/dist/tools/targetingWeights.js +350 -0
- package/dist/tools/toolHandlers.d.ts +5 -1
- package/dist/tools/toolHandlers.js +57 -25
- package/package.json +1 -1
|
@@ -32,6 +32,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
32
32
|
readonly effect: "workspace_read";
|
|
33
33
|
readonly riskLevel: 0;
|
|
34
34
|
readonly concurrencyClass: "parallel";
|
|
35
|
+
readonly mcpSupportsCwtOnly: false;
|
|
35
36
|
};
|
|
36
37
|
}, {
|
|
37
38
|
readonly tool: {
|
|
@@ -64,6 +65,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
64
65
|
readonly effect: "workspace_read";
|
|
65
66
|
readonly riskLevel: 0;
|
|
66
67
|
readonly concurrencyClass: "parallel";
|
|
68
|
+
readonly mcpSupportsCwtOnly: false;
|
|
67
69
|
};
|
|
68
70
|
}, {
|
|
69
71
|
readonly tool: {
|
|
@@ -107,6 +109,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
107
109
|
readonly effect: "workspace_read";
|
|
108
110
|
readonly riskLevel: 0;
|
|
109
111
|
readonly concurrencyClass: "parallel";
|
|
112
|
+
readonly mcpSupportsCwtOnly: false;
|
|
110
113
|
};
|
|
111
114
|
}, {
|
|
112
115
|
readonly tool: {
|
|
@@ -147,6 +150,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
147
150
|
readonly effect: "workspace_read";
|
|
148
151
|
readonly riskLevel: 0;
|
|
149
152
|
readonly concurrencyClass: "parallel";
|
|
153
|
+
readonly mcpSupportsCwtOnly: false;
|
|
150
154
|
};
|
|
151
155
|
}, {
|
|
152
156
|
readonly tool: {
|
|
@@ -170,6 +174,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
170
174
|
readonly effect: "workspace_read";
|
|
171
175
|
readonly riskLevel: 0;
|
|
172
176
|
readonly concurrencyClass: "parallel";
|
|
177
|
+
readonly mcpSupportsCwtOnly: false;
|
|
173
178
|
};
|
|
174
179
|
}, {
|
|
175
180
|
readonly tool: {
|
|
@@ -193,6 +198,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
193
198
|
readonly effect: "workspace_read";
|
|
194
199
|
readonly riskLevel: 0;
|
|
195
200
|
readonly concurrencyClass: "parallel";
|
|
201
|
+
readonly mcpSupportsCwtOnly: false;
|
|
196
202
|
};
|
|
197
203
|
}, {
|
|
198
204
|
readonly tool: {
|
|
@@ -227,6 +233,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
227
233
|
readonly effect: "workspace_read";
|
|
228
234
|
readonly riskLevel: 0;
|
|
229
235
|
readonly concurrencyClass: "parallel";
|
|
236
|
+
readonly mcpSupportsCwtOnly: false;
|
|
230
237
|
};
|
|
231
238
|
}, {
|
|
232
239
|
readonly tool: {
|
|
@@ -259,6 +266,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
259
266
|
readonly effect: "workspace_read";
|
|
260
267
|
readonly riskLevel: 0;
|
|
261
268
|
readonly concurrencyClass: "lsp-limited";
|
|
269
|
+
readonly mcpSupportsCwtOnly: true;
|
|
262
270
|
};
|
|
263
271
|
}, {
|
|
264
272
|
readonly tool: {
|
|
@@ -306,6 +314,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
306
314
|
readonly effect: "none";
|
|
307
315
|
readonly riskLevel: 2;
|
|
308
316
|
readonly concurrencyClass: "global-exclusive";
|
|
317
|
+
readonly mcpSupportsCwtOnly: true;
|
|
309
318
|
};
|
|
310
319
|
}, {
|
|
311
320
|
readonly tool: {
|
|
@@ -335,6 +344,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
335
344
|
readonly effect: "workspace_read";
|
|
336
345
|
readonly riskLevel: 0;
|
|
337
346
|
readonly concurrencyClass: "parallel";
|
|
347
|
+
readonly mcpSupportsCwtOnly: false;
|
|
338
348
|
};
|
|
339
349
|
}, {
|
|
340
350
|
readonly tool: {
|
|
@@ -405,6 +415,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
405
415
|
readonly effect: "workspace_read";
|
|
406
416
|
readonly riskLevel: 0;
|
|
407
417
|
readonly concurrencyClass: "parallel";
|
|
418
|
+
readonly mcpSupportsCwtOnly: false;
|
|
408
419
|
};
|
|
409
420
|
}, {
|
|
410
421
|
readonly tool: {
|
|
@@ -470,6 +481,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
470
481
|
readonly effect: "workspace_read";
|
|
471
482
|
readonly riskLevel: 0;
|
|
472
483
|
readonly concurrencyClass: "parallel";
|
|
484
|
+
readonly mcpSupportsCwtOnly: false;
|
|
473
485
|
};
|
|
474
486
|
}, {
|
|
475
487
|
readonly tool: {
|
|
@@ -535,6 +547,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
535
547
|
readonly effect: "workspace_read";
|
|
536
548
|
readonly riskLevel: 0;
|
|
537
549
|
readonly concurrencyClass: "lsp-limited";
|
|
550
|
+
readonly mcpSupportsCwtOnly: false;
|
|
538
551
|
};
|
|
539
552
|
}, {
|
|
540
553
|
readonly tool: {
|
|
@@ -570,6 +583,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
570
583
|
readonly effect: "workspace_read";
|
|
571
584
|
readonly riskLevel: 0;
|
|
572
585
|
readonly concurrencyClass: "lsp-limited";
|
|
586
|
+
readonly mcpSupportsCwtOnly: false;
|
|
573
587
|
};
|
|
574
588
|
}, {
|
|
575
589
|
readonly tool: {
|
|
@@ -605,6 +619,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
605
619
|
readonly effect: "workspace_read";
|
|
606
620
|
readonly riskLevel: 0;
|
|
607
621
|
readonly concurrencyClass: "lsp-limited";
|
|
622
|
+
readonly mcpSupportsCwtOnly: false;
|
|
608
623
|
};
|
|
609
624
|
}, {
|
|
610
625
|
readonly tool: {
|
|
@@ -632,6 +647,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
632
647
|
readonly effect: "workspace_read";
|
|
633
648
|
readonly riskLevel: 0;
|
|
634
649
|
readonly concurrencyClass: "lsp-limited";
|
|
650
|
+
readonly mcpSupportsCwtOnly: false;
|
|
635
651
|
};
|
|
636
652
|
}, {
|
|
637
653
|
readonly tool: {
|
|
@@ -818,6 +834,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
818
834
|
readonly effect: "workspace_read";
|
|
819
835
|
readonly riskLevel: 0;
|
|
820
836
|
readonly concurrencyClass: "parallel";
|
|
837
|
+
readonly mcpSupportsCwtOnly: false;
|
|
821
838
|
};
|
|
822
839
|
}, {
|
|
823
840
|
readonly tool: {
|
|
@@ -881,6 +898,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
881
898
|
readonly effect: "workspace_read";
|
|
882
899
|
readonly riskLevel: 0;
|
|
883
900
|
readonly concurrencyClass: "parallel";
|
|
901
|
+
readonly mcpSupportsCwtOnly: false;
|
|
884
902
|
};
|
|
885
903
|
}, {
|
|
886
904
|
readonly tool: {
|
|
@@ -908,6 +926,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
908
926
|
readonly effect: "workspace_read";
|
|
909
927
|
readonly riskLevel: 0;
|
|
910
928
|
readonly concurrencyClass: "parallel";
|
|
929
|
+
readonly mcpSupportsCwtOnly: false;
|
|
911
930
|
};
|
|
912
931
|
}, {
|
|
913
932
|
readonly tool: {
|
|
@@ -943,6 +962,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
943
962
|
readonly effect: "workspace_read";
|
|
944
963
|
readonly riskLevel: 0;
|
|
945
964
|
readonly concurrencyClass: "parallel";
|
|
965
|
+
readonly mcpSupportsCwtOnly: true;
|
|
946
966
|
};
|
|
947
967
|
}, {
|
|
948
968
|
readonly tool: {
|
|
@@ -966,6 +986,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
966
986
|
readonly effect: "workspace_read";
|
|
967
987
|
readonly riskLevel: 0;
|
|
968
988
|
readonly concurrencyClass: "lsp-limited";
|
|
989
|
+
readonly mcpSupportsCwtOnly: true;
|
|
969
990
|
};
|
|
970
991
|
}, {
|
|
971
992
|
readonly tool: {
|
|
@@ -993,6 +1014,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
993
1014
|
readonly effect: "workspace_read";
|
|
994
1015
|
readonly riskLevel: 0;
|
|
995
1016
|
readonly concurrencyClass: "lsp-limited";
|
|
1017
|
+
readonly mcpSupportsCwtOnly: true;
|
|
996
1018
|
};
|
|
997
1019
|
}, {
|
|
998
1020
|
readonly tool: {
|
|
@@ -1029,6 +1051,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1029
1051
|
readonly effect: "workspace_read";
|
|
1030
1052
|
readonly riskLevel: 0;
|
|
1031
1053
|
readonly concurrencyClass: "lsp-limited";
|
|
1054
|
+
readonly mcpSupportsCwtOnly: true;
|
|
1032
1055
|
};
|
|
1033
1056
|
}, {
|
|
1034
1057
|
readonly tool: {
|
|
@@ -1069,6 +1092,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1069
1092
|
readonly effect: "workspace_read";
|
|
1070
1093
|
readonly riskLevel: 0;
|
|
1071
1094
|
readonly concurrencyClass: "lsp-limited";
|
|
1095
|
+
readonly mcpSupportsCwtOnly: true;
|
|
1072
1096
|
};
|
|
1073
1097
|
}, {
|
|
1074
1098
|
readonly tool: {
|
|
@@ -1096,6 +1120,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1096
1120
|
readonly effect: "workspace_read";
|
|
1097
1121
|
readonly riskLevel: 0;
|
|
1098
1122
|
readonly concurrencyClass: "parallel";
|
|
1123
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1099
1124
|
};
|
|
1100
1125
|
}, {
|
|
1101
1126
|
readonly tool: {
|
|
@@ -1123,6 +1148,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1123
1148
|
readonly effect: "workspace_read";
|
|
1124
1149
|
readonly riskLevel: 0;
|
|
1125
1150
|
readonly concurrencyClass: "parallel";
|
|
1151
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1126
1152
|
};
|
|
1127
1153
|
}, {
|
|
1128
1154
|
readonly tool: {
|
|
@@ -1150,6 +1176,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1150
1176
|
readonly effect: "workspace_read";
|
|
1151
1177
|
readonly riskLevel: 0;
|
|
1152
1178
|
readonly concurrencyClass: "parallel";
|
|
1179
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1153
1180
|
};
|
|
1154
1181
|
}, {
|
|
1155
1182
|
readonly tool: {
|
|
@@ -1177,6 +1204,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1177
1204
|
readonly effect: "workspace_read";
|
|
1178
1205
|
readonly riskLevel: 0;
|
|
1179
1206
|
readonly concurrencyClass: "parallel";
|
|
1207
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1180
1208
|
};
|
|
1181
1209
|
}, {
|
|
1182
1210
|
readonly tool: {
|
|
@@ -1200,6 +1228,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1200
1228
|
readonly effect: "workspace_read";
|
|
1201
1229
|
readonly riskLevel: 0;
|
|
1202
1230
|
readonly concurrencyClass: "parallel";
|
|
1231
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1203
1232
|
};
|
|
1204
1233
|
}, {
|
|
1205
1234
|
readonly tool: {
|
|
@@ -1223,6 +1252,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1223
1252
|
readonly effect: "workspace_read";
|
|
1224
1253
|
readonly riskLevel: 0;
|
|
1225
1254
|
readonly concurrencyClass: "parallel";
|
|
1255
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1226
1256
|
};
|
|
1227
1257
|
}, {
|
|
1228
1258
|
readonly tool: {
|
|
@@ -1259,6 +1289,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1259
1289
|
readonly effect: "workspace_read";
|
|
1260
1290
|
readonly riskLevel: 0;
|
|
1261
1291
|
readonly concurrencyClass: "lsp-limited";
|
|
1292
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1262
1293
|
};
|
|
1263
1294
|
}, {
|
|
1264
1295
|
readonly tool: {
|
|
@@ -1282,6 +1313,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1282
1313
|
readonly effect: "workspace_read";
|
|
1283
1314
|
readonly riskLevel: 0;
|
|
1284
1315
|
readonly concurrencyClass: "lsp-limited";
|
|
1316
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1285
1317
|
};
|
|
1286
1318
|
}, {
|
|
1287
1319
|
readonly tool: {
|
|
@@ -1305,6 +1337,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1305
1337
|
readonly effect: "workspace_read";
|
|
1306
1338
|
readonly riskLevel: 0;
|
|
1307
1339
|
readonly concurrencyClass: "lsp-limited";
|
|
1340
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1308
1341
|
};
|
|
1309
1342
|
}, {
|
|
1310
1343
|
readonly tool: {
|
|
@@ -1332,6 +1365,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1332
1365
|
readonly effect: "workspace_read";
|
|
1333
1366
|
readonly riskLevel: 0;
|
|
1334
1367
|
readonly concurrencyClass: "lsp-limited";
|
|
1368
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1335
1369
|
};
|
|
1336
1370
|
}, {
|
|
1337
1371
|
readonly tool: {
|
|
@@ -1367,6 +1401,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1367
1401
|
readonly effect: "workspace_read";
|
|
1368
1402
|
readonly riskLevel: 0;
|
|
1369
1403
|
readonly concurrencyClass: "lsp-limited";
|
|
1404
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1370
1405
|
};
|
|
1371
1406
|
}, {
|
|
1372
1407
|
readonly tool: {
|
|
@@ -1390,6 +1425,7 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1390
1425
|
readonly effect: "workspace_read";
|
|
1391
1426
|
readonly riskLevel: 0;
|
|
1392
1427
|
readonly concurrencyClass: "lsp-limited";
|
|
1428
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1393
1429
|
};
|
|
1394
1430
|
}, {
|
|
1395
1431
|
readonly tool: {
|
|
@@ -1417,5 +1453,2109 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1417
1453
|
readonly effect: "workspace_read";
|
|
1418
1454
|
readonly riskLevel: 0;
|
|
1419
1455
|
readonly concurrencyClass: "lsp-limited";
|
|
1456
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1457
|
+
};
|
|
1458
|
+
}, {
|
|
1459
|
+
readonly tool: {
|
|
1460
|
+
readonly name: "get_ide_context";
|
|
1461
|
+
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).";
|
|
1462
|
+
readonly inputSchema: {
|
|
1463
|
+
readonly type: "object";
|
|
1464
|
+
readonly properties: {
|
|
1465
|
+
readonly includeSelectionText: {
|
|
1466
|
+
readonly type: "boolean";
|
|
1467
|
+
readonly description: "Whether to include the selected text in the active editor (bounded to 4000 chars). Defaults to true.";
|
|
1468
|
+
};
|
|
1469
|
+
readonly includeActiveFileDiagnostics: {
|
|
1470
|
+
readonly type: "boolean";
|
|
1471
|
+
readonly description: "Whether to include current diagnostics for the active editor file. Defaults to true.";
|
|
1472
|
+
};
|
|
1473
|
+
};
|
|
1474
|
+
readonly required: readonly [];
|
|
1475
|
+
};
|
|
1476
|
+
};
|
|
1477
|
+
readonly registry: {
|
|
1478
|
+
readonly name: "get_ide_context";
|
|
1479
|
+
readonly isWrite: false;
|
|
1480
|
+
readonly isReadOnly: true;
|
|
1481
|
+
readonly effect: "workspace_read";
|
|
1482
|
+
readonly riskLevel: 0;
|
|
1483
|
+
readonly concurrencyClass: "parallel";
|
|
1484
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1485
|
+
};
|
|
1486
|
+
}, {
|
|
1487
|
+
readonly tool: {
|
|
1488
|
+
readonly name: "open_in_visual_editor";
|
|
1489
|
+
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.";
|
|
1490
|
+
readonly inputSchema: {
|
|
1491
|
+
readonly type: "object";
|
|
1492
|
+
readonly properties: {
|
|
1493
|
+
readonly file: {
|
|
1494
|
+
readonly type: "string";
|
|
1495
|
+
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.";
|
|
1496
|
+
};
|
|
1497
|
+
readonly editor: {
|
|
1498
|
+
readonly type: "string";
|
|
1499
|
+
readonly enum: readonly ["auto", "gui", "entity", "particle", "solar_system", "tech_tree", "event_chain", "target_weight"];
|
|
1500
|
+
readonly description: "Visual editor to open. Defaults to auto (inferred from file extension and directory).";
|
|
1501
|
+
};
|
|
1502
|
+
readonly line: {
|
|
1503
|
+
readonly type: "integer";
|
|
1504
|
+
readonly minimum: 1;
|
|
1505
|
+
readonly description: "Optional 1-based line number to focus (used by event_chain or target_weight cursor seeding).";
|
|
1506
|
+
};
|
|
1507
|
+
};
|
|
1508
|
+
readonly required: readonly [];
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1511
|
+
readonly registry: {
|
|
1512
|
+
readonly name: "open_in_visual_editor";
|
|
1513
|
+
readonly isWrite: false;
|
|
1514
|
+
readonly isReadOnly: true;
|
|
1515
|
+
readonly effect: "workspace_read";
|
|
1516
|
+
readonly riskLevel: 0;
|
|
1517
|
+
readonly concurrencyClass: "parallel";
|
|
1518
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1519
|
+
};
|
|
1520
|
+
}, {
|
|
1521
|
+
readonly tool: {
|
|
1522
|
+
readonly name: "write_localisation";
|
|
1523
|
+
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.";
|
|
1524
|
+
readonly inputSchema: {
|
|
1525
|
+
readonly type: "object";
|
|
1526
|
+
readonly properties: {
|
|
1527
|
+
readonly filePath: {
|
|
1528
|
+
readonly type: "string";
|
|
1529
|
+
readonly description: "Path to the real .yml localisation file (absolute or relative to workspace), under localisation/ or localization/. Do not use .cwtools paths.";
|
|
1530
|
+
};
|
|
1531
|
+
readonly language: {
|
|
1532
|
+
readonly type: "string";
|
|
1533
|
+
readonly description: "Language header, e.g. \"l_english\", \"l_simp_chinese\", \"l_braz_por\". Used when creating a new file.";
|
|
1534
|
+
};
|
|
1535
|
+
readonly languages: {
|
|
1536
|
+
readonly type: "array";
|
|
1537
|
+
readonly items: {
|
|
1538
|
+
readonly type: "string";
|
|
1539
|
+
};
|
|
1540
|
+
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.";
|
|
1541
|
+
};
|
|
1542
|
+
readonly entries: {
|
|
1543
|
+
readonly type: "array";
|
|
1544
|
+
readonly description: "List of localisation key-value pairs to write";
|
|
1545
|
+
readonly items: {
|
|
1546
|
+
readonly type: "object";
|
|
1547
|
+
readonly properties: {
|
|
1548
|
+
readonly key: {
|
|
1549
|
+
readonly type: "string";
|
|
1550
|
+
readonly description: "Localisation key, e.g. \"my_event.1.title\"";
|
|
1551
|
+
};
|
|
1552
|
+
readonly value: {
|
|
1553
|
+
readonly type: "string";
|
|
1554
|
+
readonly description: "Localisation value text. Use \\n for in-game line breaks. Do NOT include surrounding quotes.";
|
|
1555
|
+
};
|
|
1556
|
+
readonly number: {
|
|
1557
|
+
readonly type: "integer";
|
|
1558
|
+
readonly description: "Version number after the colon (default: 0). Usually 0.";
|
|
1559
|
+
};
|
|
1560
|
+
readonly comment: {
|
|
1561
|
+
readonly type: "string";
|
|
1562
|
+
readonly description: "Optional section header comment to insert before this entry, e.g. \"### Site 1 Events ###\"";
|
|
1563
|
+
};
|
|
1564
|
+
};
|
|
1565
|
+
readonly required: readonly ["key", "value"];
|
|
1566
|
+
};
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
readonly required: readonly ["filePath", "language", "entries"];
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
readonly registry: {
|
|
1573
|
+
readonly name: "write_localisation";
|
|
1574
|
+
readonly isWrite: true;
|
|
1575
|
+
readonly isReadOnly: false;
|
|
1576
|
+
readonly effect: "workspace_write";
|
|
1577
|
+
readonly riskLevel: 2;
|
|
1578
|
+
readonly concurrencyClass: "per-file-write";
|
|
1579
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1580
|
+
};
|
|
1581
|
+
}, {
|
|
1582
|
+
readonly tool: {
|
|
1583
|
+
readonly name: "typed_pdx_write";
|
|
1584
|
+
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.";
|
|
1585
|
+
readonly inputSchema: {
|
|
1586
|
+
readonly type: "object";
|
|
1587
|
+
readonly properties: {
|
|
1588
|
+
readonly filePath: {
|
|
1589
|
+
readonly type: "string";
|
|
1590
|
+
readonly description: "Absolute workspace .txt file path.";
|
|
1591
|
+
};
|
|
1592
|
+
readonly expectedHash: {
|
|
1593
|
+
readonly type: "string";
|
|
1594
|
+
readonly pattern: "^[a-fA-F0-9]{64}$";
|
|
1595
|
+
readonly description: "Optional SHA-256 of the source content; stale candidates are rejected.";
|
|
1596
|
+
};
|
|
1597
|
+
readonly mode: {
|
|
1598
|
+
readonly type: "string";
|
|
1599
|
+
readonly enum: readonly ["preview", "stage"];
|
|
1600
|
+
readonly description: "Preview is read-only; stage requires an active candidate transaction.";
|
|
1601
|
+
};
|
|
1602
|
+
readonly transactionId: {
|
|
1603
|
+
readonly type: "string";
|
|
1604
|
+
readonly description: "Required when mode=stage.";
|
|
1605
|
+
};
|
|
1606
|
+
readonly operation: {
|
|
1607
|
+
readonly oneOf: readonly [{
|
|
1608
|
+
readonly type: "object";
|
|
1609
|
+
readonly properties: {
|
|
1610
|
+
readonly operation: {
|
|
1611
|
+
readonly const: "clone_definition";
|
|
1612
|
+
};
|
|
1613
|
+
readonly source: {
|
|
1614
|
+
readonly type: "string";
|
|
1615
|
+
};
|
|
1616
|
+
readonly newSymbol: {
|
|
1617
|
+
readonly type: "string";
|
|
1618
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1619
|
+
};
|
|
1620
|
+
readonly overrides: {
|
|
1621
|
+
readonly type: "array";
|
|
1622
|
+
readonly maxItems: 64;
|
|
1623
|
+
readonly items: {
|
|
1624
|
+
readonly oneOf: readonly [{
|
|
1625
|
+
readonly type: "object";
|
|
1626
|
+
readonly properties: {
|
|
1627
|
+
readonly path: {
|
|
1628
|
+
readonly type: "array";
|
|
1629
|
+
readonly minItems: 1;
|
|
1630
|
+
readonly maxItems: 8;
|
|
1631
|
+
readonly items: {
|
|
1632
|
+
readonly type: "object";
|
|
1633
|
+
readonly properties: {
|
|
1634
|
+
readonly key: {
|
|
1635
|
+
readonly type: "string";
|
|
1636
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1637
|
+
};
|
|
1638
|
+
readonly occurrence: {
|
|
1639
|
+
readonly type: "integer";
|
|
1640
|
+
readonly minimum: 1;
|
|
1641
|
+
};
|
|
1642
|
+
};
|
|
1643
|
+
readonly required: readonly ["key", "occurrence"];
|
|
1644
|
+
readonly additionalProperties: false;
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1647
|
+
readonly value: {
|
|
1648
|
+
readonly oneOf: readonly [{
|
|
1649
|
+
readonly type: "object";
|
|
1650
|
+
readonly properties: {
|
|
1651
|
+
readonly kind: {
|
|
1652
|
+
readonly const: "identifier";
|
|
1653
|
+
};
|
|
1654
|
+
readonly value: {
|
|
1655
|
+
readonly type: "string";
|
|
1656
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1657
|
+
};
|
|
1658
|
+
};
|
|
1659
|
+
readonly required: readonly ["kind", "value"];
|
|
1660
|
+
readonly additionalProperties: false;
|
|
1661
|
+
}, {
|
|
1662
|
+
readonly type: "object";
|
|
1663
|
+
readonly properties: {
|
|
1664
|
+
readonly kind: {
|
|
1665
|
+
readonly const: "string";
|
|
1666
|
+
};
|
|
1667
|
+
readonly value: {
|
|
1668
|
+
readonly type: "string";
|
|
1669
|
+
readonly maxLength: 4096;
|
|
1670
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
1671
|
+
};
|
|
1672
|
+
};
|
|
1673
|
+
readonly required: readonly ["kind", "value"];
|
|
1674
|
+
readonly additionalProperties: false;
|
|
1675
|
+
}, {
|
|
1676
|
+
readonly type: "object";
|
|
1677
|
+
readonly properties: {
|
|
1678
|
+
readonly kind: {
|
|
1679
|
+
readonly const: "number";
|
|
1680
|
+
};
|
|
1681
|
+
readonly value: {
|
|
1682
|
+
readonly type: "number";
|
|
1683
|
+
};
|
|
1684
|
+
};
|
|
1685
|
+
readonly required: readonly ["kind", "value"];
|
|
1686
|
+
readonly additionalProperties: false;
|
|
1687
|
+
}, {
|
|
1688
|
+
readonly type: "object";
|
|
1689
|
+
readonly properties: {
|
|
1690
|
+
readonly kind: {
|
|
1691
|
+
readonly const: "boolean";
|
|
1692
|
+
};
|
|
1693
|
+
readonly value: {
|
|
1694
|
+
readonly type: "boolean";
|
|
1695
|
+
};
|
|
1696
|
+
};
|
|
1697
|
+
readonly required: readonly ["kind", "value"];
|
|
1698
|
+
readonly additionalProperties: false;
|
|
1699
|
+
}, {
|
|
1700
|
+
readonly type: "object";
|
|
1701
|
+
readonly properties: {
|
|
1702
|
+
readonly kind: {
|
|
1703
|
+
readonly const: "list";
|
|
1704
|
+
};
|
|
1705
|
+
readonly values: {
|
|
1706
|
+
readonly type: "array";
|
|
1707
|
+
readonly maxItems: 256;
|
|
1708
|
+
readonly items: {
|
|
1709
|
+
readonly type: "object";
|
|
1710
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
1711
|
+
readonly properties: {
|
|
1712
|
+
readonly kind: {
|
|
1713
|
+
readonly type: "string";
|
|
1714
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
1715
|
+
};
|
|
1716
|
+
};
|
|
1717
|
+
readonly required: readonly ["kind"];
|
|
1718
|
+
readonly additionalProperties: true;
|
|
1719
|
+
};
|
|
1720
|
+
};
|
|
1721
|
+
};
|
|
1722
|
+
readonly required: readonly ["kind", "values"];
|
|
1723
|
+
readonly additionalProperties: false;
|
|
1724
|
+
}, {
|
|
1725
|
+
readonly type: "object";
|
|
1726
|
+
readonly properties: {
|
|
1727
|
+
readonly kind: {
|
|
1728
|
+
readonly const: "block";
|
|
1729
|
+
};
|
|
1730
|
+
readonly entries: {
|
|
1731
|
+
readonly type: "array";
|
|
1732
|
+
readonly maxItems: 256;
|
|
1733
|
+
readonly items: {
|
|
1734
|
+
readonly type: "object";
|
|
1735
|
+
readonly properties: {
|
|
1736
|
+
readonly key: {
|
|
1737
|
+
readonly type: "string";
|
|
1738
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1739
|
+
};
|
|
1740
|
+
readonly value: {
|
|
1741
|
+
readonly type: "object";
|
|
1742
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
1743
|
+
readonly properties: {
|
|
1744
|
+
readonly kind: {
|
|
1745
|
+
readonly type: "string";
|
|
1746
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
1747
|
+
};
|
|
1748
|
+
};
|
|
1749
|
+
readonly required: readonly ["kind"];
|
|
1750
|
+
readonly additionalProperties: true;
|
|
1751
|
+
};
|
|
1752
|
+
};
|
|
1753
|
+
readonly required: readonly ["key", "value"];
|
|
1754
|
+
readonly additionalProperties: false;
|
|
1755
|
+
};
|
|
1756
|
+
};
|
|
1757
|
+
};
|
|
1758
|
+
readonly required: readonly ["kind", "entries"];
|
|
1759
|
+
readonly additionalProperties: false;
|
|
1760
|
+
}];
|
|
1761
|
+
};
|
|
1762
|
+
readonly action: {
|
|
1763
|
+
readonly const: "set";
|
|
1764
|
+
};
|
|
1765
|
+
};
|
|
1766
|
+
readonly required: readonly ["action", "path", "value"];
|
|
1767
|
+
readonly additionalProperties: false;
|
|
1768
|
+
}, {
|
|
1769
|
+
readonly type: "object";
|
|
1770
|
+
readonly properties: {
|
|
1771
|
+
readonly path: {
|
|
1772
|
+
readonly type: "array";
|
|
1773
|
+
readonly minItems: 1;
|
|
1774
|
+
readonly maxItems: 8;
|
|
1775
|
+
readonly items: {
|
|
1776
|
+
readonly type: "object";
|
|
1777
|
+
readonly properties: {
|
|
1778
|
+
readonly key: {
|
|
1779
|
+
readonly type: "string";
|
|
1780
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1781
|
+
};
|
|
1782
|
+
readonly occurrence: {
|
|
1783
|
+
readonly type: "integer";
|
|
1784
|
+
readonly minimum: 1;
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1787
|
+
readonly required: readonly ["key", "occurrence"];
|
|
1788
|
+
readonly additionalProperties: false;
|
|
1789
|
+
};
|
|
1790
|
+
};
|
|
1791
|
+
readonly action: {
|
|
1792
|
+
readonly const: "delete";
|
|
1793
|
+
};
|
|
1794
|
+
};
|
|
1795
|
+
readonly required: readonly ["action", "path"];
|
|
1796
|
+
readonly additionalProperties: false;
|
|
1797
|
+
}, {
|
|
1798
|
+
readonly type: "object";
|
|
1799
|
+
readonly properties: {
|
|
1800
|
+
readonly path: {
|
|
1801
|
+
readonly type: "array";
|
|
1802
|
+
readonly minItems: 0;
|
|
1803
|
+
readonly maxItems: 8;
|
|
1804
|
+
readonly items: {
|
|
1805
|
+
readonly type: "object";
|
|
1806
|
+
readonly properties: {
|
|
1807
|
+
readonly key: {
|
|
1808
|
+
readonly type: "string";
|
|
1809
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1810
|
+
};
|
|
1811
|
+
readonly occurrence: {
|
|
1812
|
+
readonly type: "integer";
|
|
1813
|
+
readonly minimum: 1;
|
|
1814
|
+
};
|
|
1815
|
+
};
|
|
1816
|
+
readonly required: readonly ["key", "occurrence"];
|
|
1817
|
+
readonly additionalProperties: false;
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
readonly entry: {
|
|
1821
|
+
readonly type: "object";
|
|
1822
|
+
readonly properties: {
|
|
1823
|
+
readonly key: {
|
|
1824
|
+
readonly type: "string";
|
|
1825
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1826
|
+
};
|
|
1827
|
+
readonly value: {
|
|
1828
|
+
readonly oneOf: readonly [{
|
|
1829
|
+
readonly type: "object";
|
|
1830
|
+
readonly properties: {
|
|
1831
|
+
readonly kind: {
|
|
1832
|
+
readonly const: "identifier";
|
|
1833
|
+
};
|
|
1834
|
+
readonly value: {
|
|
1835
|
+
readonly type: "string";
|
|
1836
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1837
|
+
};
|
|
1838
|
+
};
|
|
1839
|
+
readonly required: readonly ["kind", "value"];
|
|
1840
|
+
readonly additionalProperties: false;
|
|
1841
|
+
}, {
|
|
1842
|
+
readonly type: "object";
|
|
1843
|
+
readonly properties: {
|
|
1844
|
+
readonly kind: {
|
|
1845
|
+
readonly const: "string";
|
|
1846
|
+
};
|
|
1847
|
+
readonly value: {
|
|
1848
|
+
readonly type: "string";
|
|
1849
|
+
readonly maxLength: 4096;
|
|
1850
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
1851
|
+
};
|
|
1852
|
+
};
|
|
1853
|
+
readonly required: readonly ["kind", "value"];
|
|
1854
|
+
readonly additionalProperties: false;
|
|
1855
|
+
}, {
|
|
1856
|
+
readonly type: "object";
|
|
1857
|
+
readonly properties: {
|
|
1858
|
+
readonly kind: {
|
|
1859
|
+
readonly const: "number";
|
|
1860
|
+
};
|
|
1861
|
+
readonly value: {
|
|
1862
|
+
readonly type: "number";
|
|
1863
|
+
};
|
|
1864
|
+
};
|
|
1865
|
+
readonly required: readonly ["kind", "value"];
|
|
1866
|
+
readonly additionalProperties: false;
|
|
1867
|
+
}, {
|
|
1868
|
+
readonly type: "object";
|
|
1869
|
+
readonly properties: {
|
|
1870
|
+
readonly kind: {
|
|
1871
|
+
readonly const: "boolean";
|
|
1872
|
+
};
|
|
1873
|
+
readonly value: {
|
|
1874
|
+
readonly type: "boolean";
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
readonly required: readonly ["kind", "value"];
|
|
1878
|
+
readonly additionalProperties: false;
|
|
1879
|
+
}, {
|
|
1880
|
+
readonly type: "object";
|
|
1881
|
+
readonly properties: {
|
|
1882
|
+
readonly kind: {
|
|
1883
|
+
readonly const: "list";
|
|
1884
|
+
};
|
|
1885
|
+
readonly values: {
|
|
1886
|
+
readonly type: "array";
|
|
1887
|
+
readonly maxItems: 256;
|
|
1888
|
+
readonly items: {
|
|
1889
|
+
readonly type: "object";
|
|
1890
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
1891
|
+
readonly properties: {
|
|
1892
|
+
readonly kind: {
|
|
1893
|
+
readonly type: "string";
|
|
1894
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
1895
|
+
};
|
|
1896
|
+
};
|
|
1897
|
+
readonly required: readonly ["kind"];
|
|
1898
|
+
readonly additionalProperties: true;
|
|
1899
|
+
};
|
|
1900
|
+
};
|
|
1901
|
+
};
|
|
1902
|
+
readonly required: readonly ["kind", "values"];
|
|
1903
|
+
readonly additionalProperties: false;
|
|
1904
|
+
}, {
|
|
1905
|
+
readonly type: "object";
|
|
1906
|
+
readonly properties: {
|
|
1907
|
+
readonly kind: {
|
|
1908
|
+
readonly const: "block";
|
|
1909
|
+
};
|
|
1910
|
+
readonly entries: {
|
|
1911
|
+
readonly type: "array";
|
|
1912
|
+
readonly maxItems: 256;
|
|
1913
|
+
readonly items: {
|
|
1914
|
+
readonly type: "object";
|
|
1915
|
+
readonly properties: {
|
|
1916
|
+
readonly key: {
|
|
1917
|
+
readonly type: "string";
|
|
1918
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1919
|
+
};
|
|
1920
|
+
readonly value: {
|
|
1921
|
+
readonly type: "object";
|
|
1922
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
1923
|
+
readonly properties: {
|
|
1924
|
+
readonly kind: {
|
|
1925
|
+
readonly type: "string";
|
|
1926
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
1927
|
+
};
|
|
1928
|
+
};
|
|
1929
|
+
readonly required: readonly ["kind"];
|
|
1930
|
+
readonly additionalProperties: true;
|
|
1931
|
+
};
|
|
1932
|
+
};
|
|
1933
|
+
readonly required: readonly ["key", "value"];
|
|
1934
|
+
readonly additionalProperties: false;
|
|
1935
|
+
};
|
|
1936
|
+
};
|
|
1937
|
+
};
|
|
1938
|
+
readonly required: readonly ["kind", "entries"];
|
|
1939
|
+
readonly additionalProperties: false;
|
|
1940
|
+
}];
|
|
1941
|
+
};
|
|
1942
|
+
};
|
|
1943
|
+
readonly required: readonly ["key", "value"];
|
|
1944
|
+
readonly additionalProperties: false;
|
|
1945
|
+
};
|
|
1946
|
+
readonly action: {
|
|
1947
|
+
readonly const: "append";
|
|
1948
|
+
};
|
|
1949
|
+
};
|
|
1950
|
+
readonly required: readonly ["action", "path", "entry"];
|
|
1951
|
+
readonly additionalProperties: false;
|
|
1952
|
+
}];
|
|
1953
|
+
};
|
|
1954
|
+
};
|
|
1955
|
+
};
|
|
1956
|
+
readonly required: readonly ["operation", "source", "newSymbol"];
|
|
1957
|
+
readonly additionalProperties: false;
|
|
1958
|
+
}, {
|
|
1959
|
+
readonly type: "object";
|
|
1960
|
+
readonly properties: {
|
|
1961
|
+
readonly operation: {
|
|
1962
|
+
readonly const: "add_event_call";
|
|
1963
|
+
};
|
|
1964
|
+
readonly target: {
|
|
1965
|
+
readonly type: "string";
|
|
1966
|
+
};
|
|
1967
|
+
readonly callType: {
|
|
1968
|
+
readonly type: "string";
|
|
1969
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1970
|
+
};
|
|
1971
|
+
readonly eventId: {
|
|
1972
|
+
readonly type: "string";
|
|
1973
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1974
|
+
};
|
|
1975
|
+
readonly containerPath: {
|
|
1976
|
+
readonly type: "array";
|
|
1977
|
+
readonly maxItems: 8;
|
|
1978
|
+
readonly items: {
|
|
1979
|
+
readonly type: "string";
|
|
1980
|
+
};
|
|
1981
|
+
};
|
|
1982
|
+
readonly days: {
|
|
1983
|
+
readonly type: "integer";
|
|
1984
|
+
readonly minimum: 0;
|
|
1985
|
+
};
|
|
1986
|
+
};
|
|
1987
|
+
readonly required: readonly ["operation", "target", "callType", "eventId"];
|
|
1988
|
+
readonly additionalProperties: false;
|
|
1989
|
+
}, {
|
|
1990
|
+
readonly type: "object";
|
|
1991
|
+
readonly properties: {
|
|
1992
|
+
readonly operation: {
|
|
1993
|
+
readonly const: "add_event_option";
|
|
1994
|
+
};
|
|
1995
|
+
readonly target: {
|
|
1996
|
+
readonly type: "string";
|
|
1997
|
+
};
|
|
1998
|
+
readonly name: {
|
|
1999
|
+
readonly type: "string";
|
|
2000
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2001
|
+
};
|
|
2002
|
+
readonly fields: {
|
|
2003
|
+
readonly type: "array";
|
|
2004
|
+
readonly maxItems: 256;
|
|
2005
|
+
readonly items: {
|
|
2006
|
+
readonly type: "object";
|
|
2007
|
+
readonly properties: {
|
|
2008
|
+
readonly key: {
|
|
2009
|
+
readonly type: "string";
|
|
2010
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2011
|
+
};
|
|
2012
|
+
readonly value: {
|
|
2013
|
+
readonly oneOf: readonly [{
|
|
2014
|
+
readonly type: "object";
|
|
2015
|
+
readonly properties: {
|
|
2016
|
+
readonly kind: {
|
|
2017
|
+
readonly const: "identifier";
|
|
2018
|
+
};
|
|
2019
|
+
readonly value: {
|
|
2020
|
+
readonly type: "string";
|
|
2021
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2022
|
+
};
|
|
2023
|
+
};
|
|
2024
|
+
readonly required: readonly ["kind", "value"];
|
|
2025
|
+
readonly additionalProperties: false;
|
|
2026
|
+
}, {
|
|
2027
|
+
readonly type: "object";
|
|
2028
|
+
readonly properties: {
|
|
2029
|
+
readonly kind: {
|
|
2030
|
+
readonly const: "string";
|
|
2031
|
+
};
|
|
2032
|
+
readonly value: {
|
|
2033
|
+
readonly type: "string";
|
|
2034
|
+
readonly maxLength: 4096;
|
|
2035
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2036
|
+
};
|
|
2037
|
+
};
|
|
2038
|
+
readonly required: readonly ["kind", "value"];
|
|
2039
|
+
readonly additionalProperties: false;
|
|
2040
|
+
}, {
|
|
2041
|
+
readonly type: "object";
|
|
2042
|
+
readonly properties: {
|
|
2043
|
+
readonly kind: {
|
|
2044
|
+
readonly const: "number";
|
|
2045
|
+
};
|
|
2046
|
+
readonly value: {
|
|
2047
|
+
readonly type: "number";
|
|
2048
|
+
};
|
|
2049
|
+
};
|
|
2050
|
+
readonly required: readonly ["kind", "value"];
|
|
2051
|
+
readonly additionalProperties: false;
|
|
2052
|
+
}, {
|
|
2053
|
+
readonly type: "object";
|
|
2054
|
+
readonly properties: {
|
|
2055
|
+
readonly kind: {
|
|
2056
|
+
readonly const: "boolean";
|
|
2057
|
+
};
|
|
2058
|
+
readonly value: {
|
|
2059
|
+
readonly type: "boolean";
|
|
2060
|
+
};
|
|
2061
|
+
};
|
|
2062
|
+
readonly required: readonly ["kind", "value"];
|
|
2063
|
+
readonly additionalProperties: false;
|
|
2064
|
+
}, {
|
|
2065
|
+
readonly type: "object";
|
|
2066
|
+
readonly properties: {
|
|
2067
|
+
readonly kind: {
|
|
2068
|
+
readonly const: "list";
|
|
2069
|
+
};
|
|
2070
|
+
readonly values: {
|
|
2071
|
+
readonly type: "array";
|
|
2072
|
+
readonly maxItems: 256;
|
|
2073
|
+
readonly items: {
|
|
2074
|
+
readonly type: "object";
|
|
2075
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2076
|
+
readonly properties: {
|
|
2077
|
+
readonly kind: {
|
|
2078
|
+
readonly type: "string";
|
|
2079
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2080
|
+
};
|
|
2081
|
+
};
|
|
2082
|
+
readonly required: readonly ["kind"];
|
|
2083
|
+
readonly additionalProperties: true;
|
|
2084
|
+
};
|
|
2085
|
+
};
|
|
2086
|
+
};
|
|
2087
|
+
readonly required: readonly ["kind", "values"];
|
|
2088
|
+
readonly additionalProperties: false;
|
|
2089
|
+
}, {
|
|
2090
|
+
readonly type: "object";
|
|
2091
|
+
readonly properties: {
|
|
2092
|
+
readonly kind: {
|
|
2093
|
+
readonly const: "block";
|
|
2094
|
+
};
|
|
2095
|
+
readonly entries: {
|
|
2096
|
+
readonly type: "array";
|
|
2097
|
+
readonly maxItems: 256;
|
|
2098
|
+
readonly items: {
|
|
2099
|
+
readonly type: "object";
|
|
2100
|
+
readonly properties: {
|
|
2101
|
+
readonly key: {
|
|
2102
|
+
readonly type: "string";
|
|
2103
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2104
|
+
};
|
|
2105
|
+
readonly value: {
|
|
2106
|
+
readonly type: "object";
|
|
2107
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2108
|
+
readonly properties: {
|
|
2109
|
+
readonly kind: {
|
|
2110
|
+
readonly type: "string";
|
|
2111
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
readonly required: readonly ["kind"];
|
|
2115
|
+
readonly additionalProperties: true;
|
|
2116
|
+
};
|
|
2117
|
+
};
|
|
2118
|
+
readonly required: readonly ["key", "value"];
|
|
2119
|
+
readonly additionalProperties: false;
|
|
2120
|
+
};
|
|
2121
|
+
};
|
|
2122
|
+
};
|
|
2123
|
+
readonly required: readonly ["kind", "entries"];
|
|
2124
|
+
readonly additionalProperties: false;
|
|
2125
|
+
}];
|
|
2126
|
+
};
|
|
2127
|
+
};
|
|
2128
|
+
readonly required: readonly ["key", "value"];
|
|
2129
|
+
readonly additionalProperties: false;
|
|
2130
|
+
};
|
|
2131
|
+
};
|
|
2132
|
+
};
|
|
2133
|
+
readonly required: readonly ["operation", "target", "name"];
|
|
2134
|
+
readonly additionalProperties: false;
|
|
2135
|
+
}, {
|
|
2136
|
+
readonly type: "object";
|
|
2137
|
+
readonly properties: {
|
|
2138
|
+
readonly operation: {
|
|
2139
|
+
readonly const: "append_trigger_condition";
|
|
2140
|
+
};
|
|
2141
|
+
readonly target: {
|
|
2142
|
+
readonly type: "string";
|
|
2143
|
+
};
|
|
2144
|
+
readonly condition: {
|
|
2145
|
+
readonly type: "object";
|
|
2146
|
+
readonly properties: {
|
|
2147
|
+
readonly key: {
|
|
2148
|
+
readonly type: "string";
|
|
2149
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2150
|
+
};
|
|
2151
|
+
readonly value: {
|
|
2152
|
+
readonly oneOf: readonly [{
|
|
2153
|
+
readonly type: "object";
|
|
2154
|
+
readonly properties: {
|
|
2155
|
+
readonly kind: {
|
|
2156
|
+
readonly const: "identifier";
|
|
2157
|
+
};
|
|
2158
|
+
readonly value: {
|
|
2159
|
+
readonly type: "string";
|
|
2160
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2161
|
+
};
|
|
2162
|
+
};
|
|
2163
|
+
readonly required: readonly ["kind", "value"];
|
|
2164
|
+
readonly additionalProperties: false;
|
|
2165
|
+
}, {
|
|
2166
|
+
readonly type: "object";
|
|
2167
|
+
readonly properties: {
|
|
2168
|
+
readonly kind: {
|
|
2169
|
+
readonly const: "string";
|
|
2170
|
+
};
|
|
2171
|
+
readonly value: {
|
|
2172
|
+
readonly type: "string";
|
|
2173
|
+
readonly maxLength: 4096;
|
|
2174
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2175
|
+
};
|
|
2176
|
+
};
|
|
2177
|
+
readonly required: readonly ["kind", "value"];
|
|
2178
|
+
readonly additionalProperties: false;
|
|
2179
|
+
}, {
|
|
2180
|
+
readonly type: "object";
|
|
2181
|
+
readonly properties: {
|
|
2182
|
+
readonly kind: {
|
|
2183
|
+
readonly const: "number";
|
|
2184
|
+
};
|
|
2185
|
+
readonly value: {
|
|
2186
|
+
readonly type: "number";
|
|
2187
|
+
};
|
|
2188
|
+
};
|
|
2189
|
+
readonly required: readonly ["kind", "value"];
|
|
2190
|
+
readonly additionalProperties: false;
|
|
2191
|
+
}, {
|
|
2192
|
+
readonly type: "object";
|
|
2193
|
+
readonly properties: {
|
|
2194
|
+
readonly kind: {
|
|
2195
|
+
readonly const: "boolean";
|
|
2196
|
+
};
|
|
2197
|
+
readonly value: {
|
|
2198
|
+
readonly type: "boolean";
|
|
2199
|
+
};
|
|
2200
|
+
};
|
|
2201
|
+
readonly required: readonly ["kind", "value"];
|
|
2202
|
+
readonly additionalProperties: false;
|
|
2203
|
+
}, {
|
|
2204
|
+
readonly type: "object";
|
|
2205
|
+
readonly properties: {
|
|
2206
|
+
readonly kind: {
|
|
2207
|
+
readonly const: "list";
|
|
2208
|
+
};
|
|
2209
|
+
readonly values: {
|
|
2210
|
+
readonly type: "array";
|
|
2211
|
+
readonly maxItems: 256;
|
|
2212
|
+
readonly items: {
|
|
2213
|
+
readonly type: "object";
|
|
2214
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2215
|
+
readonly properties: {
|
|
2216
|
+
readonly kind: {
|
|
2217
|
+
readonly type: "string";
|
|
2218
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2219
|
+
};
|
|
2220
|
+
};
|
|
2221
|
+
readonly required: readonly ["kind"];
|
|
2222
|
+
readonly additionalProperties: true;
|
|
2223
|
+
};
|
|
2224
|
+
};
|
|
2225
|
+
};
|
|
2226
|
+
readonly required: readonly ["kind", "values"];
|
|
2227
|
+
readonly additionalProperties: false;
|
|
2228
|
+
}, {
|
|
2229
|
+
readonly type: "object";
|
|
2230
|
+
readonly properties: {
|
|
2231
|
+
readonly kind: {
|
|
2232
|
+
readonly const: "block";
|
|
2233
|
+
};
|
|
2234
|
+
readonly entries: {
|
|
2235
|
+
readonly type: "array";
|
|
2236
|
+
readonly maxItems: 256;
|
|
2237
|
+
readonly items: {
|
|
2238
|
+
readonly type: "object";
|
|
2239
|
+
readonly properties: {
|
|
2240
|
+
readonly key: {
|
|
2241
|
+
readonly type: "string";
|
|
2242
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2243
|
+
};
|
|
2244
|
+
readonly value: {
|
|
2245
|
+
readonly type: "object";
|
|
2246
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2247
|
+
readonly properties: {
|
|
2248
|
+
readonly kind: {
|
|
2249
|
+
readonly type: "string";
|
|
2250
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2251
|
+
};
|
|
2252
|
+
};
|
|
2253
|
+
readonly required: readonly ["kind"];
|
|
2254
|
+
readonly additionalProperties: true;
|
|
2255
|
+
};
|
|
2256
|
+
};
|
|
2257
|
+
readonly required: readonly ["key", "value"];
|
|
2258
|
+
readonly additionalProperties: false;
|
|
2259
|
+
};
|
|
2260
|
+
};
|
|
2261
|
+
};
|
|
2262
|
+
readonly required: readonly ["kind", "entries"];
|
|
2263
|
+
readonly additionalProperties: false;
|
|
2264
|
+
}];
|
|
2265
|
+
};
|
|
2266
|
+
};
|
|
2267
|
+
readonly required: readonly ["key", "value"];
|
|
2268
|
+
readonly additionalProperties: false;
|
|
2269
|
+
};
|
|
2270
|
+
readonly containerPath: {
|
|
2271
|
+
readonly type: "array";
|
|
2272
|
+
readonly maxItems: 8;
|
|
2273
|
+
readonly items: {
|
|
2274
|
+
readonly type: "string";
|
|
2275
|
+
};
|
|
2276
|
+
};
|
|
2277
|
+
};
|
|
2278
|
+
readonly required: readonly ["operation", "target", "condition"];
|
|
2279
|
+
readonly additionalProperties: false;
|
|
2280
|
+
}, {
|
|
2281
|
+
readonly type: "object";
|
|
2282
|
+
readonly properties: {
|
|
2283
|
+
readonly operation: {
|
|
2284
|
+
readonly const: "instantiate_inline_script";
|
|
2285
|
+
};
|
|
2286
|
+
readonly target: {
|
|
2287
|
+
readonly type: "string";
|
|
2288
|
+
};
|
|
2289
|
+
readonly script: {
|
|
2290
|
+
readonly type: "string";
|
|
2291
|
+
readonly pattern: "^[A-Za-z0-9_.:@/-]+$";
|
|
2292
|
+
};
|
|
2293
|
+
readonly arguments: {
|
|
2294
|
+
readonly type: "array";
|
|
2295
|
+
readonly maxItems: 256;
|
|
2296
|
+
readonly items: {
|
|
2297
|
+
readonly type: "object";
|
|
2298
|
+
readonly properties: {
|
|
2299
|
+
readonly key: {
|
|
2300
|
+
readonly type: "string";
|
|
2301
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2302
|
+
};
|
|
2303
|
+
readonly value: {
|
|
2304
|
+
readonly oneOf: readonly [{
|
|
2305
|
+
readonly type: "object";
|
|
2306
|
+
readonly properties: {
|
|
2307
|
+
readonly kind: {
|
|
2308
|
+
readonly const: "identifier";
|
|
2309
|
+
};
|
|
2310
|
+
readonly value: {
|
|
2311
|
+
readonly type: "string";
|
|
2312
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2313
|
+
};
|
|
2314
|
+
};
|
|
2315
|
+
readonly required: readonly ["kind", "value"];
|
|
2316
|
+
readonly additionalProperties: false;
|
|
2317
|
+
}, {
|
|
2318
|
+
readonly type: "object";
|
|
2319
|
+
readonly properties: {
|
|
2320
|
+
readonly kind: {
|
|
2321
|
+
readonly const: "string";
|
|
2322
|
+
};
|
|
2323
|
+
readonly value: {
|
|
2324
|
+
readonly type: "string";
|
|
2325
|
+
readonly maxLength: 4096;
|
|
2326
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2327
|
+
};
|
|
2328
|
+
};
|
|
2329
|
+
readonly required: readonly ["kind", "value"];
|
|
2330
|
+
readonly additionalProperties: false;
|
|
2331
|
+
}, {
|
|
2332
|
+
readonly type: "object";
|
|
2333
|
+
readonly properties: {
|
|
2334
|
+
readonly kind: {
|
|
2335
|
+
readonly const: "number";
|
|
2336
|
+
};
|
|
2337
|
+
readonly value: {
|
|
2338
|
+
readonly type: "number";
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2341
|
+
readonly required: readonly ["kind", "value"];
|
|
2342
|
+
readonly additionalProperties: false;
|
|
2343
|
+
}, {
|
|
2344
|
+
readonly type: "object";
|
|
2345
|
+
readonly properties: {
|
|
2346
|
+
readonly kind: {
|
|
2347
|
+
readonly const: "boolean";
|
|
2348
|
+
};
|
|
2349
|
+
readonly value: {
|
|
2350
|
+
readonly type: "boolean";
|
|
2351
|
+
};
|
|
2352
|
+
};
|
|
2353
|
+
readonly required: readonly ["kind", "value"];
|
|
2354
|
+
readonly additionalProperties: false;
|
|
2355
|
+
}, {
|
|
2356
|
+
readonly type: "object";
|
|
2357
|
+
readonly properties: {
|
|
2358
|
+
readonly kind: {
|
|
2359
|
+
readonly const: "list";
|
|
2360
|
+
};
|
|
2361
|
+
readonly values: {
|
|
2362
|
+
readonly type: "array";
|
|
2363
|
+
readonly maxItems: 256;
|
|
2364
|
+
readonly items: {
|
|
2365
|
+
readonly type: "object";
|
|
2366
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2367
|
+
readonly properties: {
|
|
2368
|
+
readonly kind: {
|
|
2369
|
+
readonly type: "string";
|
|
2370
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2371
|
+
};
|
|
2372
|
+
};
|
|
2373
|
+
readonly required: readonly ["kind"];
|
|
2374
|
+
readonly additionalProperties: true;
|
|
2375
|
+
};
|
|
2376
|
+
};
|
|
2377
|
+
};
|
|
2378
|
+
readonly required: readonly ["kind", "values"];
|
|
2379
|
+
readonly additionalProperties: false;
|
|
2380
|
+
}, {
|
|
2381
|
+
readonly type: "object";
|
|
2382
|
+
readonly properties: {
|
|
2383
|
+
readonly kind: {
|
|
2384
|
+
readonly const: "block";
|
|
2385
|
+
};
|
|
2386
|
+
readonly entries: {
|
|
2387
|
+
readonly type: "array";
|
|
2388
|
+
readonly maxItems: 256;
|
|
2389
|
+
readonly items: {
|
|
2390
|
+
readonly type: "object";
|
|
2391
|
+
readonly properties: {
|
|
2392
|
+
readonly key: {
|
|
2393
|
+
readonly type: "string";
|
|
2394
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2395
|
+
};
|
|
2396
|
+
readonly value: {
|
|
2397
|
+
readonly type: "object";
|
|
2398
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2399
|
+
readonly properties: {
|
|
2400
|
+
readonly kind: {
|
|
2401
|
+
readonly type: "string";
|
|
2402
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
readonly required: readonly ["kind"];
|
|
2406
|
+
readonly additionalProperties: true;
|
|
2407
|
+
};
|
|
2408
|
+
};
|
|
2409
|
+
readonly required: readonly ["key", "value"];
|
|
2410
|
+
readonly additionalProperties: false;
|
|
2411
|
+
};
|
|
2412
|
+
};
|
|
2413
|
+
};
|
|
2414
|
+
readonly required: readonly ["kind", "entries"];
|
|
2415
|
+
readonly additionalProperties: false;
|
|
2416
|
+
}];
|
|
2417
|
+
};
|
|
2418
|
+
};
|
|
2419
|
+
readonly required: readonly ["key", "value"];
|
|
2420
|
+
readonly additionalProperties: false;
|
|
2421
|
+
};
|
|
2422
|
+
};
|
|
2423
|
+
readonly containerPath: {
|
|
2424
|
+
readonly type: "array";
|
|
2425
|
+
readonly maxItems: 8;
|
|
2426
|
+
readonly items: {
|
|
2427
|
+
readonly type: "string";
|
|
2428
|
+
};
|
|
2429
|
+
};
|
|
2430
|
+
};
|
|
2431
|
+
readonly required: readonly ["operation", "target", "script"];
|
|
2432
|
+
readonly additionalProperties: false;
|
|
2433
|
+
}, {
|
|
2434
|
+
readonly type: "object";
|
|
2435
|
+
readonly properties: {
|
|
2436
|
+
readonly operation: {
|
|
2437
|
+
readonly const: "set_definition_field";
|
|
2438
|
+
};
|
|
2439
|
+
readonly target: {
|
|
2440
|
+
readonly type: "string";
|
|
2441
|
+
};
|
|
2442
|
+
readonly path: {
|
|
2443
|
+
readonly type: "array";
|
|
2444
|
+
readonly minItems: 1;
|
|
2445
|
+
readonly maxItems: 8;
|
|
2446
|
+
readonly items: {
|
|
2447
|
+
readonly type: "object";
|
|
2448
|
+
readonly properties: {
|
|
2449
|
+
readonly key: {
|
|
2450
|
+
readonly type: "string";
|
|
2451
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2452
|
+
};
|
|
2453
|
+
readonly occurrence: {
|
|
2454
|
+
readonly type: "integer";
|
|
2455
|
+
readonly minimum: 1;
|
|
2456
|
+
};
|
|
2457
|
+
};
|
|
2458
|
+
readonly required: readonly ["key", "occurrence"];
|
|
2459
|
+
readonly additionalProperties: false;
|
|
2460
|
+
};
|
|
2461
|
+
};
|
|
2462
|
+
readonly value: {
|
|
2463
|
+
readonly oneOf: readonly [{
|
|
2464
|
+
readonly type: "object";
|
|
2465
|
+
readonly properties: {
|
|
2466
|
+
readonly kind: {
|
|
2467
|
+
readonly const: "identifier";
|
|
2468
|
+
};
|
|
2469
|
+
readonly value: {
|
|
2470
|
+
readonly type: "string";
|
|
2471
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2472
|
+
};
|
|
2473
|
+
};
|
|
2474
|
+
readonly required: readonly ["kind", "value"];
|
|
2475
|
+
readonly additionalProperties: false;
|
|
2476
|
+
}, {
|
|
2477
|
+
readonly type: "object";
|
|
2478
|
+
readonly properties: {
|
|
2479
|
+
readonly kind: {
|
|
2480
|
+
readonly const: "string";
|
|
2481
|
+
};
|
|
2482
|
+
readonly value: {
|
|
2483
|
+
readonly type: "string";
|
|
2484
|
+
readonly maxLength: 4096;
|
|
2485
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2486
|
+
};
|
|
2487
|
+
};
|
|
2488
|
+
readonly required: readonly ["kind", "value"];
|
|
2489
|
+
readonly additionalProperties: false;
|
|
2490
|
+
}, {
|
|
2491
|
+
readonly type: "object";
|
|
2492
|
+
readonly properties: {
|
|
2493
|
+
readonly kind: {
|
|
2494
|
+
readonly const: "number";
|
|
2495
|
+
};
|
|
2496
|
+
readonly value: {
|
|
2497
|
+
readonly type: "number";
|
|
2498
|
+
};
|
|
2499
|
+
};
|
|
2500
|
+
readonly required: readonly ["kind", "value"];
|
|
2501
|
+
readonly additionalProperties: false;
|
|
2502
|
+
}, {
|
|
2503
|
+
readonly type: "object";
|
|
2504
|
+
readonly properties: {
|
|
2505
|
+
readonly kind: {
|
|
2506
|
+
readonly const: "boolean";
|
|
2507
|
+
};
|
|
2508
|
+
readonly value: {
|
|
2509
|
+
readonly type: "boolean";
|
|
2510
|
+
};
|
|
2511
|
+
};
|
|
2512
|
+
readonly required: readonly ["kind", "value"];
|
|
2513
|
+
readonly additionalProperties: false;
|
|
2514
|
+
}, {
|
|
2515
|
+
readonly type: "object";
|
|
2516
|
+
readonly properties: {
|
|
2517
|
+
readonly kind: {
|
|
2518
|
+
readonly const: "list";
|
|
2519
|
+
};
|
|
2520
|
+
readonly values: {
|
|
2521
|
+
readonly type: "array";
|
|
2522
|
+
readonly maxItems: 256;
|
|
2523
|
+
readonly items: {
|
|
2524
|
+
readonly type: "object";
|
|
2525
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2526
|
+
readonly properties: {
|
|
2527
|
+
readonly kind: {
|
|
2528
|
+
readonly type: "string";
|
|
2529
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2530
|
+
};
|
|
2531
|
+
};
|
|
2532
|
+
readonly required: readonly ["kind"];
|
|
2533
|
+
readonly additionalProperties: true;
|
|
2534
|
+
};
|
|
2535
|
+
};
|
|
2536
|
+
};
|
|
2537
|
+
readonly required: readonly ["kind", "values"];
|
|
2538
|
+
readonly additionalProperties: false;
|
|
2539
|
+
}, {
|
|
2540
|
+
readonly type: "object";
|
|
2541
|
+
readonly properties: {
|
|
2542
|
+
readonly kind: {
|
|
2543
|
+
readonly const: "block";
|
|
2544
|
+
};
|
|
2545
|
+
readonly entries: {
|
|
2546
|
+
readonly type: "array";
|
|
2547
|
+
readonly maxItems: 256;
|
|
2548
|
+
readonly items: {
|
|
2549
|
+
readonly type: "object";
|
|
2550
|
+
readonly properties: {
|
|
2551
|
+
readonly key: {
|
|
2552
|
+
readonly type: "string";
|
|
2553
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2554
|
+
};
|
|
2555
|
+
readonly value: {
|
|
2556
|
+
readonly type: "object";
|
|
2557
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2558
|
+
readonly properties: {
|
|
2559
|
+
readonly kind: {
|
|
2560
|
+
readonly type: "string";
|
|
2561
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2562
|
+
};
|
|
2563
|
+
};
|
|
2564
|
+
readonly required: readonly ["kind"];
|
|
2565
|
+
readonly additionalProperties: true;
|
|
2566
|
+
};
|
|
2567
|
+
};
|
|
2568
|
+
readonly required: readonly ["key", "value"];
|
|
2569
|
+
readonly additionalProperties: false;
|
|
2570
|
+
};
|
|
2571
|
+
};
|
|
2572
|
+
};
|
|
2573
|
+
readonly required: readonly ["kind", "entries"];
|
|
2574
|
+
readonly additionalProperties: false;
|
|
2575
|
+
}];
|
|
2576
|
+
};
|
|
2577
|
+
};
|
|
2578
|
+
readonly required: readonly ["operation", "target", "path", "value"];
|
|
2579
|
+
readonly additionalProperties: false;
|
|
2580
|
+
}, {
|
|
2581
|
+
readonly type: "object";
|
|
2582
|
+
readonly properties: {
|
|
2583
|
+
readonly operation: {
|
|
2584
|
+
readonly const: "delete_definition_field";
|
|
2585
|
+
};
|
|
2586
|
+
readonly target: {
|
|
2587
|
+
readonly type: "string";
|
|
2588
|
+
};
|
|
2589
|
+
readonly path: {
|
|
2590
|
+
readonly type: "array";
|
|
2591
|
+
readonly minItems: 1;
|
|
2592
|
+
readonly maxItems: 8;
|
|
2593
|
+
readonly items: {
|
|
2594
|
+
readonly type: "object";
|
|
2595
|
+
readonly properties: {
|
|
2596
|
+
readonly key: {
|
|
2597
|
+
readonly type: "string";
|
|
2598
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2599
|
+
};
|
|
2600
|
+
readonly occurrence: {
|
|
2601
|
+
readonly type: "integer";
|
|
2602
|
+
readonly minimum: 1;
|
|
2603
|
+
};
|
|
2604
|
+
};
|
|
2605
|
+
readonly required: readonly ["key", "occurrence"];
|
|
2606
|
+
readonly additionalProperties: false;
|
|
2607
|
+
};
|
|
2608
|
+
};
|
|
2609
|
+
};
|
|
2610
|
+
readonly required: readonly ["operation", "target", "path"];
|
|
2611
|
+
readonly additionalProperties: false;
|
|
2612
|
+
}, {
|
|
2613
|
+
readonly type: "object";
|
|
2614
|
+
readonly properties: {
|
|
2615
|
+
readonly operation: {
|
|
2616
|
+
readonly const: "add_definition_field";
|
|
2617
|
+
};
|
|
2618
|
+
readonly target: {
|
|
2619
|
+
readonly type: "string";
|
|
2620
|
+
};
|
|
2621
|
+
readonly path: {
|
|
2622
|
+
readonly type: "array";
|
|
2623
|
+
readonly minItems: 0;
|
|
2624
|
+
readonly maxItems: 8;
|
|
2625
|
+
readonly items: {
|
|
2626
|
+
readonly type: "object";
|
|
2627
|
+
readonly properties: {
|
|
2628
|
+
readonly key: {
|
|
2629
|
+
readonly type: "string";
|
|
2630
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2631
|
+
};
|
|
2632
|
+
readonly occurrence: {
|
|
2633
|
+
readonly type: "integer";
|
|
2634
|
+
readonly minimum: 1;
|
|
2635
|
+
};
|
|
2636
|
+
};
|
|
2637
|
+
readonly required: readonly ["key", "occurrence"];
|
|
2638
|
+
readonly additionalProperties: false;
|
|
2639
|
+
};
|
|
2640
|
+
};
|
|
2641
|
+
readonly entry: {
|
|
2642
|
+
readonly type: "object";
|
|
2643
|
+
readonly properties: {
|
|
2644
|
+
readonly key: {
|
|
2645
|
+
readonly type: "string";
|
|
2646
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2647
|
+
};
|
|
2648
|
+
readonly value: {
|
|
2649
|
+
readonly oneOf: readonly [{
|
|
2650
|
+
readonly type: "object";
|
|
2651
|
+
readonly properties: {
|
|
2652
|
+
readonly kind: {
|
|
2653
|
+
readonly const: "identifier";
|
|
2654
|
+
};
|
|
2655
|
+
readonly value: {
|
|
2656
|
+
readonly type: "string";
|
|
2657
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2658
|
+
};
|
|
2659
|
+
};
|
|
2660
|
+
readonly required: readonly ["kind", "value"];
|
|
2661
|
+
readonly additionalProperties: false;
|
|
2662
|
+
}, {
|
|
2663
|
+
readonly type: "object";
|
|
2664
|
+
readonly properties: {
|
|
2665
|
+
readonly kind: {
|
|
2666
|
+
readonly const: "string";
|
|
2667
|
+
};
|
|
2668
|
+
readonly value: {
|
|
2669
|
+
readonly type: "string";
|
|
2670
|
+
readonly maxLength: 4096;
|
|
2671
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2672
|
+
};
|
|
2673
|
+
};
|
|
2674
|
+
readonly required: readonly ["kind", "value"];
|
|
2675
|
+
readonly additionalProperties: false;
|
|
2676
|
+
}, {
|
|
2677
|
+
readonly type: "object";
|
|
2678
|
+
readonly properties: {
|
|
2679
|
+
readonly kind: {
|
|
2680
|
+
readonly const: "number";
|
|
2681
|
+
};
|
|
2682
|
+
readonly value: {
|
|
2683
|
+
readonly type: "number";
|
|
2684
|
+
};
|
|
2685
|
+
};
|
|
2686
|
+
readonly required: readonly ["kind", "value"];
|
|
2687
|
+
readonly additionalProperties: false;
|
|
2688
|
+
}, {
|
|
2689
|
+
readonly type: "object";
|
|
2690
|
+
readonly properties: {
|
|
2691
|
+
readonly kind: {
|
|
2692
|
+
readonly const: "boolean";
|
|
2693
|
+
};
|
|
2694
|
+
readonly value: {
|
|
2695
|
+
readonly type: "boolean";
|
|
2696
|
+
};
|
|
2697
|
+
};
|
|
2698
|
+
readonly required: readonly ["kind", "value"];
|
|
2699
|
+
readonly additionalProperties: false;
|
|
2700
|
+
}, {
|
|
2701
|
+
readonly type: "object";
|
|
2702
|
+
readonly properties: {
|
|
2703
|
+
readonly kind: {
|
|
2704
|
+
readonly const: "list";
|
|
2705
|
+
};
|
|
2706
|
+
readonly values: {
|
|
2707
|
+
readonly type: "array";
|
|
2708
|
+
readonly maxItems: 256;
|
|
2709
|
+
readonly items: {
|
|
2710
|
+
readonly type: "object";
|
|
2711
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2712
|
+
readonly properties: {
|
|
2713
|
+
readonly kind: {
|
|
2714
|
+
readonly type: "string";
|
|
2715
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2716
|
+
};
|
|
2717
|
+
};
|
|
2718
|
+
readonly required: readonly ["kind"];
|
|
2719
|
+
readonly additionalProperties: true;
|
|
2720
|
+
};
|
|
2721
|
+
};
|
|
2722
|
+
};
|
|
2723
|
+
readonly required: readonly ["kind", "values"];
|
|
2724
|
+
readonly additionalProperties: false;
|
|
2725
|
+
}, {
|
|
2726
|
+
readonly type: "object";
|
|
2727
|
+
readonly properties: {
|
|
2728
|
+
readonly kind: {
|
|
2729
|
+
readonly const: "block";
|
|
2730
|
+
};
|
|
2731
|
+
readonly entries: {
|
|
2732
|
+
readonly type: "array";
|
|
2733
|
+
readonly maxItems: 256;
|
|
2734
|
+
readonly items: {
|
|
2735
|
+
readonly type: "object";
|
|
2736
|
+
readonly properties: {
|
|
2737
|
+
readonly key: {
|
|
2738
|
+
readonly type: "string";
|
|
2739
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2740
|
+
};
|
|
2741
|
+
readonly value: {
|
|
2742
|
+
readonly type: "object";
|
|
2743
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2744
|
+
readonly properties: {
|
|
2745
|
+
readonly kind: {
|
|
2746
|
+
readonly type: "string";
|
|
2747
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2748
|
+
};
|
|
2749
|
+
};
|
|
2750
|
+
readonly required: readonly ["kind"];
|
|
2751
|
+
readonly additionalProperties: true;
|
|
2752
|
+
};
|
|
2753
|
+
};
|
|
2754
|
+
readonly required: readonly ["key", "value"];
|
|
2755
|
+
readonly additionalProperties: false;
|
|
2756
|
+
};
|
|
2757
|
+
};
|
|
2758
|
+
};
|
|
2759
|
+
readonly required: readonly ["kind", "entries"];
|
|
2760
|
+
readonly additionalProperties: false;
|
|
2761
|
+
}];
|
|
2762
|
+
};
|
|
2763
|
+
};
|
|
2764
|
+
readonly required: readonly ["key", "value"];
|
|
2765
|
+
readonly additionalProperties: false;
|
|
2766
|
+
};
|
|
2767
|
+
};
|
|
2768
|
+
readonly required: readonly ["operation", "target", "path", "entry"];
|
|
2769
|
+
readonly additionalProperties: false;
|
|
2770
|
+
}, {
|
|
2771
|
+
readonly type: "object";
|
|
2772
|
+
readonly properties: {
|
|
2773
|
+
readonly operation: {
|
|
2774
|
+
readonly const: "add_scripted_effect_call";
|
|
2775
|
+
};
|
|
2776
|
+
readonly target: {
|
|
2777
|
+
readonly type: "string";
|
|
2778
|
+
};
|
|
2779
|
+
readonly script: {
|
|
2780
|
+
readonly type: "string";
|
|
2781
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2782
|
+
};
|
|
2783
|
+
readonly arguments: {
|
|
2784
|
+
readonly type: "array";
|
|
2785
|
+
readonly maxItems: 256;
|
|
2786
|
+
readonly items: {
|
|
2787
|
+
readonly type: "object";
|
|
2788
|
+
readonly properties: {
|
|
2789
|
+
readonly key: {
|
|
2790
|
+
readonly type: "string";
|
|
2791
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2792
|
+
};
|
|
2793
|
+
readonly value: {
|
|
2794
|
+
readonly oneOf: readonly [{
|
|
2795
|
+
readonly type: "object";
|
|
2796
|
+
readonly properties: {
|
|
2797
|
+
readonly kind: {
|
|
2798
|
+
readonly const: "identifier";
|
|
2799
|
+
};
|
|
2800
|
+
readonly value: {
|
|
2801
|
+
readonly type: "string";
|
|
2802
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2803
|
+
};
|
|
2804
|
+
};
|
|
2805
|
+
readonly required: readonly ["kind", "value"];
|
|
2806
|
+
readonly additionalProperties: false;
|
|
2807
|
+
}, {
|
|
2808
|
+
readonly type: "object";
|
|
2809
|
+
readonly properties: {
|
|
2810
|
+
readonly kind: {
|
|
2811
|
+
readonly const: "string";
|
|
2812
|
+
};
|
|
2813
|
+
readonly value: {
|
|
2814
|
+
readonly type: "string";
|
|
2815
|
+
readonly maxLength: 4096;
|
|
2816
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2817
|
+
};
|
|
2818
|
+
};
|
|
2819
|
+
readonly required: readonly ["kind", "value"];
|
|
2820
|
+
readonly additionalProperties: false;
|
|
2821
|
+
}, {
|
|
2822
|
+
readonly type: "object";
|
|
2823
|
+
readonly properties: {
|
|
2824
|
+
readonly kind: {
|
|
2825
|
+
readonly const: "number";
|
|
2826
|
+
};
|
|
2827
|
+
readonly value: {
|
|
2828
|
+
readonly type: "number";
|
|
2829
|
+
};
|
|
2830
|
+
};
|
|
2831
|
+
readonly required: readonly ["kind", "value"];
|
|
2832
|
+
readonly additionalProperties: false;
|
|
2833
|
+
}, {
|
|
2834
|
+
readonly type: "object";
|
|
2835
|
+
readonly properties: {
|
|
2836
|
+
readonly kind: {
|
|
2837
|
+
readonly const: "boolean";
|
|
2838
|
+
};
|
|
2839
|
+
readonly value: {
|
|
2840
|
+
readonly type: "boolean";
|
|
2841
|
+
};
|
|
2842
|
+
};
|
|
2843
|
+
readonly required: readonly ["kind", "value"];
|
|
2844
|
+
readonly additionalProperties: false;
|
|
2845
|
+
}, {
|
|
2846
|
+
readonly type: "object";
|
|
2847
|
+
readonly properties: {
|
|
2848
|
+
readonly kind: {
|
|
2849
|
+
readonly const: "list";
|
|
2850
|
+
};
|
|
2851
|
+
readonly values: {
|
|
2852
|
+
readonly type: "array";
|
|
2853
|
+
readonly maxItems: 256;
|
|
2854
|
+
readonly items: {
|
|
2855
|
+
readonly type: "object";
|
|
2856
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2857
|
+
readonly properties: {
|
|
2858
|
+
readonly kind: {
|
|
2859
|
+
readonly type: "string";
|
|
2860
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2861
|
+
};
|
|
2862
|
+
};
|
|
2863
|
+
readonly required: readonly ["kind"];
|
|
2864
|
+
readonly additionalProperties: true;
|
|
2865
|
+
};
|
|
2866
|
+
};
|
|
2867
|
+
};
|
|
2868
|
+
readonly required: readonly ["kind", "values"];
|
|
2869
|
+
readonly additionalProperties: false;
|
|
2870
|
+
}, {
|
|
2871
|
+
readonly type: "object";
|
|
2872
|
+
readonly properties: {
|
|
2873
|
+
readonly kind: {
|
|
2874
|
+
readonly const: "block";
|
|
2875
|
+
};
|
|
2876
|
+
readonly entries: {
|
|
2877
|
+
readonly type: "array";
|
|
2878
|
+
readonly maxItems: 256;
|
|
2879
|
+
readonly items: {
|
|
2880
|
+
readonly type: "object";
|
|
2881
|
+
readonly properties: {
|
|
2882
|
+
readonly key: {
|
|
2883
|
+
readonly type: "string";
|
|
2884
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2885
|
+
};
|
|
2886
|
+
readonly value: {
|
|
2887
|
+
readonly type: "object";
|
|
2888
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2889
|
+
readonly properties: {
|
|
2890
|
+
readonly kind: {
|
|
2891
|
+
readonly type: "string";
|
|
2892
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2893
|
+
};
|
|
2894
|
+
};
|
|
2895
|
+
readonly required: readonly ["kind"];
|
|
2896
|
+
readonly additionalProperties: true;
|
|
2897
|
+
};
|
|
2898
|
+
};
|
|
2899
|
+
readonly required: readonly ["key", "value"];
|
|
2900
|
+
readonly additionalProperties: false;
|
|
2901
|
+
};
|
|
2902
|
+
};
|
|
2903
|
+
};
|
|
2904
|
+
readonly required: readonly ["kind", "entries"];
|
|
2905
|
+
readonly additionalProperties: false;
|
|
2906
|
+
}];
|
|
2907
|
+
};
|
|
2908
|
+
};
|
|
2909
|
+
readonly required: readonly ["key", "value"];
|
|
2910
|
+
readonly additionalProperties: false;
|
|
2911
|
+
};
|
|
2912
|
+
};
|
|
2913
|
+
readonly containerPath: {
|
|
2914
|
+
readonly type: "array";
|
|
2915
|
+
readonly maxItems: 8;
|
|
2916
|
+
readonly items: {
|
|
2917
|
+
readonly type: "string";
|
|
2918
|
+
};
|
|
2919
|
+
};
|
|
2920
|
+
};
|
|
2921
|
+
readonly required: readonly ["operation", "target", "script"];
|
|
2922
|
+
readonly additionalProperties: false;
|
|
2923
|
+
}, {
|
|
2924
|
+
readonly type: "object";
|
|
2925
|
+
readonly properties: {
|
|
2926
|
+
readonly operation: {
|
|
2927
|
+
readonly const: "add_scripted_trigger_call";
|
|
2928
|
+
};
|
|
2929
|
+
readonly target: {
|
|
2930
|
+
readonly type: "string";
|
|
2931
|
+
};
|
|
2932
|
+
readonly script: {
|
|
2933
|
+
readonly type: "string";
|
|
2934
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2935
|
+
};
|
|
2936
|
+
readonly arguments: {
|
|
2937
|
+
readonly type: "array";
|
|
2938
|
+
readonly maxItems: 256;
|
|
2939
|
+
readonly items: {
|
|
2940
|
+
readonly type: "object";
|
|
2941
|
+
readonly properties: {
|
|
2942
|
+
readonly key: {
|
|
2943
|
+
readonly type: "string";
|
|
2944
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2945
|
+
};
|
|
2946
|
+
readonly value: {
|
|
2947
|
+
readonly oneOf: readonly [{
|
|
2948
|
+
readonly type: "object";
|
|
2949
|
+
readonly properties: {
|
|
2950
|
+
readonly kind: {
|
|
2951
|
+
readonly const: "identifier";
|
|
2952
|
+
};
|
|
2953
|
+
readonly value: {
|
|
2954
|
+
readonly type: "string";
|
|
2955
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2956
|
+
};
|
|
2957
|
+
};
|
|
2958
|
+
readonly required: readonly ["kind", "value"];
|
|
2959
|
+
readonly additionalProperties: false;
|
|
2960
|
+
}, {
|
|
2961
|
+
readonly type: "object";
|
|
2962
|
+
readonly properties: {
|
|
2963
|
+
readonly kind: {
|
|
2964
|
+
readonly const: "string";
|
|
2965
|
+
};
|
|
2966
|
+
readonly value: {
|
|
2967
|
+
readonly type: "string";
|
|
2968
|
+
readonly maxLength: 4096;
|
|
2969
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2970
|
+
};
|
|
2971
|
+
};
|
|
2972
|
+
readonly required: readonly ["kind", "value"];
|
|
2973
|
+
readonly additionalProperties: false;
|
|
2974
|
+
}, {
|
|
2975
|
+
readonly type: "object";
|
|
2976
|
+
readonly properties: {
|
|
2977
|
+
readonly kind: {
|
|
2978
|
+
readonly const: "number";
|
|
2979
|
+
};
|
|
2980
|
+
readonly value: {
|
|
2981
|
+
readonly type: "number";
|
|
2982
|
+
};
|
|
2983
|
+
};
|
|
2984
|
+
readonly required: readonly ["kind", "value"];
|
|
2985
|
+
readonly additionalProperties: false;
|
|
2986
|
+
}, {
|
|
2987
|
+
readonly type: "object";
|
|
2988
|
+
readonly properties: {
|
|
2989
|
+
readonly kind: {
|
|
2990
|
+
readonly const: "boolean";
|
|
2991
|
+
};
|
|
2992
|
+
readonly value: {
|
|
2993
|
+
readonly type: "boolean";
|
|
2994
|
+
};
|
|
2995
|
+
};
|
|
2996
|
+
readonly required: readonly ["kind", "value"];
|
|
2997
|
+
readonly additionalProperties: false;
|
|
2998
|
+
}, {
|
|
2999
|
+
readonly type: "object";
|
|
3000
|
+
readonly properties: {
|
|
3001
|
+
readonly kind: {
|
|
3002
|
+
readonly const: "list";
|
|
3003
|
+
};
|
|
3004
|
+
readonly values: {
|
|
3005
|
+
readonly type: "array";
|
|
3006
|
+
readonly maxItems: 256;
|
|
3007
|
+
readonly items: {
|
|
3008
|
+
readonly type: "object";
|
|
3009
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3010
|
+
readonly properties: {
|
|
3011
|
+
readonly kind: {
|
|
3012
|
+
readonly type: "string";
|
|
3013
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3014
|
+
};
|
|
3015
|
+
};
|
|
3016
|
+
readonly required: readonly ["kind"];
|
|
3017
|
+
readonly additionalProperties: true;
|
|
3018
|
+
};
|
|
3019
|
+
};
|
|
3020
|
+
};
|
|
3021
|
+
readonly required: readonly ["kind", "values"];
|
|
3022
|
+
readonly additionalProperties: false;
|
|
3023
|
+
}, {
|
|
3024
|
+
readonly type: "object";
|
|
3025
|
+
readonly properties: {
|
|
3026
|
+
readonly kind: {
|
|
3027
|
+
readonly const: "block";
|
|
3028
|
+
};
|
|
3029
|
+
readonly entries: {
|
|
3030
|
+
readonly type: "array";
|
|
3031
|
+
readonly maxItems: 256;
|
|
3032
|
+
readonly items: {
|
|
3033
|
+
readonly type: "object";
|
|
3034
|
+
readonly properties: {
|
|
3035
|
+
readonly key: {
|
|
3036
|
+
readonly type: "string";
|
|
3037
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3038
|
+
};
|
|
3039
|
+
readonly value: {
|
|
3040
|
+
readonly type: "object";
|
|
3041
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3042
|
+
readonly properties: {
|
|
3043
|
+
readonly kind: {
|
|
3044
|
+
readonly type: "string";
|
|
3045
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3046
|
+
};
|
|
3047
|
+
};
|
|
3048
|
+
readonly required: readonly ["kind"];
|
|
3049
|
+
readonly additionalProperties: true;
|
|
3050
|
+
};
|
|
3051
|
+
};
|
|
3052
|
+
readonly required: readonly ["key", "value"];
|
|
3053
|
+
readonly additionalProperties: false;
|
|
3054
|
+
};
|
|
3055
|
+
};
|
|
3056
|
+
};
|
|
3057
|
+
readonly required: readonly ["kind", "entries"];
|
|
3058
|
+
readonly additionalProperties: false;
|
|
3059
|
+
}];
|
|
3060
|
+
};
|
|
3061
|
+
};
|
|
3062
|
+
readonly required: readonly ["key", "value"];
|
|
3063
|
+
readonly additionalProperties: false;
|
|
3064
|
+
};
|
|
3065
|
+
};
|
|
3066
|
+
readonly containerPath: {
|
|
3067
|
+
readonly type: "array";
|
|
3068
|
+
readonly maxItems: 8;
|
|
3069
|
+
readonly items: {
|
|
3070
|
+
readonly type: "string";
|
|
3071
|
+
};
|
|
3072
|
+
};
|
|
3073
|
+
};
|
|
3074
|
+
readonly required: readonly ["operation", "target", "script"];
|
|
3075
|
+
readonly additionalProperties: false;
|
|
3076
|
+
}, {
|
|
3077
|
+
readonly type: "object";
|
|
3078
|
+
readonly properties: {
|
|
3079
|
+
readonly operation: {
|
|
3080
|
+
readonly const: "add_on_action_entry";
|
|
3081
|
+
};
|
|
3082
|
+
readonly target: {
|
|
3083
|
+
readonly type: "string";
|
|
3084
|
+
};
|
|
3085
|
+
readonly entry: {
|
|
3086
|
+
readonly type: "object";
|
|
3087
|
+
readonly properties: {
|
|
3088
|
+
readonly key: {
|
|
3089
|
+
readonly type: "string";
|
|
3090
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3091
|
+
};
|
|
3092
|
+
readonly value: {
|
|
3093
|
+
readonly oneOf: readonly [{
|
|
3094
|
+
readonly type: "object";
|
|
3095
|
+
readonly properties: {
|
|
3096
|
+
readonly kind: {
|
|
3097
|
+
readonly const: "identifier";
|
|
3098
|
+
};
|
|
3099
|
+
readonly value: {
|
|
3100
|
+
readonly type: "string";
|
|
3101
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3102
|
+
};
|
|
3103
|
+
};
|
|
3104
|
+
readonly required: readonly ["kind", "value"];
|
|
3105
|
+
readonly additionalProperties: false;
|
|
3106
|
+
}, {
|
|
3107
|
+
readonly type: "object";
|
|
3108
|
+
readonly properties: {
|
|
3109
|
+
readonly kind: {
|
|
3110
|
+
readonly const: "string";
|
|
3111
|
+
};
|
|
3112
|
+
readonly value: {
|
|
3113
|
+
readonly type: "string";
|
|
3114
|
+
readonly maxLength: 4096;
|
|
3115
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
3116
|
+
};
|
|
3117
|
+
};
|
|
3118
|
+
readonly required: readonly ["kind", "value"];
|
|
3119
|
+
readonly additionalProperties: false;
|
|
3120
|
+
}, {
|
|
3121
|
+
readonly type: "object";
|
|
3122
|
+
readonly properties: {
|
|
3123
|
+
readonly kind: {
|
|
3124
|
+
readonly const: "number";
|
|
3125
|
+
};
|
|
3126
|
+
readonly value: {
|
|
3127
|
+
readonly type: "number";
|
|
3128
|
+
};
|
|
3129
|
+
};
|
|
3130
|
+
readonly required: readonly ["kind", "value"];
|
|
3131
|
+
readonly additionalProperties: false;
|
|
3132
|
+
}, {
|
|
3133
|
+
readonly type: "object";
|
|
3134
|
+
readonly properties: {
|
|
3135
|
+
readonly kind: {
|
|
3136
|
+
readonly const: "boolean";
|
|
3137
|
+
};
|
|
3138
|
+
readonly value: {
|
|
3139
|
+
readonly type: "boolean";
|
|
3140
|
+
};
|
|
3141
|
+
};
|
|
3142
|
+
readonly required: readonly ["kind", "value"];
|
|
3143
|
+
readonly additionalProperties: false;
|
|
3144
|
+
}, {
|
|
3145
|
+
readonly type: "object";
|
|
3146
|
+
readonly properties: {
|
|
3147
|
+
readonly kind: {
|
|
3148
|
+
readonly const: "list";
|
|
3149
|
+
};
|
|
3150
|
+
readonly values: {
|
|
3151
|
+
readonly type: "array";
|
|
3152
|
+
readonly maxItems: 256;
|
|
3153
|
+
readonly items: {
|
|
3154
|
+
readonly type: "object";
|
|
3155
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3156
|
+
readonly properties: {
|
|
3157
|
+
readonly kind: {
|
|
3158
|
+
readonly type: "string";
|
|
3159
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3160
|
+
};
|
|
3161
|
+
};
|
|
3162
|
+
readonly required: readonly ["kind"];
|
|
3163
|
+
readonly additionalProperties: true;
|
|
3164
|
+
};
|
|
3165
|
+
};
|
|
3166
|
+
};
|
|
3167
|
+
readonly required: readonly ["kind", "values"];
|
|
3168
|
+
readonly additionalProperties: false;
|
|
3169
|
+
}, {
|
|
3170
|
+
readonly type: "object";
|
|
3171
|
+
readonly properties: {
|
|
3172
|
+
readonly kind: {
|
|
3173
|
+
readonly const: "block";
|
|
3174
|
+
};
|
|
3175
|
+
readonly entries: {
|
|
3176
|
+
readonly type: "array";
|
|
3177
|
+
readonly maxItems: 256;
|
|
3178
|
+
readonly items: {
|
|
3179
|
+
readonly type: "object";
|
|
3180
|
+
readonly properties: {
|
|
3181
|
+
readonly key: {
|
|
3182
|
+
readonly type: "string";
|
|
3183
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3184
|
+
};
|
|
3185
|
+
readonly value: {
|
|
3186
|
+
readonly type: "object";
|
|
3187
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3188
|
+
readonly properties: {
|
|
3189
|
+
readonly kind: {
|
|
3190
|
+
readonly type: "string";
|
|
3191
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3192
|
+
};
|
|
3193
|
+
};
|
|
3194
|
+
readonly required: readonly ["kind"];
|
|
3195
|
+
readonly additionalProperties: true;
|
|
3196
|
+
};
|
|
3197
|
+
};
|
|
3198
|
+
readonly required: readonly ["key", "value"];
|
|
3199
|
+
readonly additionalProperties: false;
|
|
3200
|
+
};
|
|
3201
|
+
};
|
|
3202
|
+
};
|
|
3203
|
+
readonly required: readonly ["kind", "entries"];
|
|
3204
|
+
readonly additionalProperties: false;
|
|
3205
|
+
}];
|
|
3206
|
+
};
|
|
3207
|
+
};
|
|
3208
|
+
readonly required: readonly ["key", "value"];
|
|
3209
|
+
readonly additionalProperties: false;
|
|
3210
|
+
};
|
|
3211
|
+
};
|
|
3212
|
+
readonly required: readonly ["operation", "target", "entry"];
|
|
3213
|
+
readonly additionalProperties: false;
|
|
3214
|
+
}, {
|
|
3215
|
+
readonly type: "object";
|
|
3216
|
+
readonly properties: {
|
|
3217
|
+
readonly operation: {
|
|
3218
|
+
readonly const: "bind_event_target";
|
|
3219
|
+
};
|
|
3220
|
+
readonly target: {
|
|
3221
|
+
readonly type: "string";
|
|
3222
|
+
};
|
|
3223
|
+
readonly eventTarget: {
|
|
3224
|
+
readonly type: "string";
|
|
3225
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3226
|
+
};
|
|
3227
|
+
readonly containerPath: {
|
|
3228
|
+
readonly type: "array";
|
|
3229
|
+
readonly maxItems: 8;
|
|
3230
|
+
readonly items: {
|
|
3231
|
+
readonly type: "string";
|
|
3232
|
+
};
|
|
3233
|
+
};
|
|
3234
|
+
};
|
|
3235
|
+
readonly required: readonly ["operation", "target", "eventTarget"];
|
|
3236
|
+
readonly additionalProperties: false;
|
|
3237
|
+
}, {
|
|
3238
|
+
readonly type: "object";
|
|
3239
|
+
readonly properties: {
|
|
3240
|
+
readonly operation: {
|
|
3241
|
+
readonly const: "clear_event_target";
|
|
3242
|
+
};
|
|
3243
|
+
readonly target: {
|
|
3244
|
+
readonly type: "string";
|
|
3245
|
+
};
|
|
3246
|
+
readonly eventTarget: {
|
|
3247
|
+
readonly type: "string";
|
|
3248
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3249
|
+
};
|
|
3250
|
+
readonly containerPath: {
|
|
3251
|
+
readonly type: "array";
|
|
3252
|
+
readonly maxItems: 8;
|
|
3253
|
+
readonly items: {
|
|
3254
|
+
readonly type: "string";
|
|
3255
|
+
};
|
|
3256
|
+
};
|
|
3257
|
+
};
|
|
3258
|
+
readonly required: readonly ["operation", "target", "eventTarget"];
|
|
3259
|
+
readonly additionalProperties: false;
|
|
3260
|
+
}, {
|
|
3261
|
+
readonly type: "object";
|
|
3262
|
+
readonly properties: {
|
|
3263
|
+
readonly operation: {
|
|
3264
|
+
readonly const: "add_variable_transition";
|
|
3265
|
+
};
|
|
3266
|
+
readonly target: {
|
|
3267
|
+
readonly type: "string";
|
|
3268
|
+
};
|
|
3269
|
+
readonly transition: {
|
|
3270
|
+
readonly type: "string";
|
|
3271
|
+
readonly enum: readonly ["set_variable", "change_variable", "multiply_variable", "divide_variable"];
|
|
3272
|
+
};
|
|
3273
|
+
readonly variable: {
|
|
3274
|
+
readonly type: "string";
|
|
3275
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3276
|
+
};
|
|
3277
|
+
readonly value: {
|
|
3278
|
+
readonly oneOf: readonly [{
|
|
3279
|
+
readonly type: "object";
|
|
3280
|
+
readonly properties: {
|
|
3281
|
+
readonly kind: {
|
|
3282
|
+
readonly const: "identifier";
|
|
3283
|
+
};
|
|
3284
|
+
readonly value: {
|
|
3285
|
+
readonly type: "string";
|
|
3286
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3287
|
+
};
|
|
3288
|
+
};
|
|
3289
|
+
readonly required: readonly ["kind", "value"];
|
|
3290
|
+
readonly additionalProperties: false;
|
|
3291
|
+
}, {
|
|
3292
|
+
readonly type: "object";
|
|
3293
|
+
readonly properties: {
|
|
3294
|
+
readonly kind: {
|
|
3295
|
+
readonly const: "string";
|
|
3296
|
+
};
|
|
3297
|
+
readonly value: {
|
|
3298
|
+
readonly type: "string";
|
|
3299
|
+
readonly maxLength: 4096;
|
|
3300
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
3301
|
+
};
|
|
3302
|
+
};
|
|
3303
|
+
readonly required: readonly ["kind", "value"];
|
|
3304
|
+
readonly additionalProperties: false;
|
|
3305
|
+
}, {
|
|
3306
|
+
readonly type: "object";
|
|
3307
|
+
readonly properties: {
|
|
3308
|
+
readonly kind: {
|
|
3309
|
+
readonly const: "number";
|
|
3310
|
+
};
|
|
3311
|
+
readonly value: {
|
|
3312
|
+
readonly type: "number";
|
|
3313
|
+
};
|
|
3314
|
+
};
|
|
3315
|
+
readonly required: readonly ["kind", "value"];
|
|
3316
|
+
readonly additionalProperties: false;
|
|
3317
|
+
}, {
|
|
3318
|
+
readonly type: "object";
|
|
3319
|
+
readonly properties: {
|
|
3320
|
+
readonly kind: {
|
|
3321
|
+
readonly const: "boolean";
|
|
3322
|
+
};
|
|
3323
|
+
readonly value: {
|
|
3324
|
+
readonly type: "boolean";
|
|
3325
|
+
};
|
|
3326
|
+
};
|
|
3327
|
+
readonly required: readonly ["kind", "value"];
|
|
3328
|
+
readonly additionalProperties: false;
|
|
3329
|
+
}, {
|
|
3330
|
+
readonly type: "object";
|
|
3331
|
+
readonly properties: {
|
|
3332
|
+
readonly kind: {
|
|
3333
|
+
readonly const: "list";
|
|
3334
|
+
};
|
|
3335
|
+
readonly values: {
|
|
3336
|
+
readonly type: "array";
|
|
3337
|
+
readonly maxItems: 256;
|
|
3338
|
+
readonly items: {
|
|
3339
|
+
readonly type: "object";
|
|
3340
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3341
|
+
readonly properties: {
|
|
3342
|
+
readonly kind: {
|
|
3343
|
+
readonly type: "string";
|
|
3344
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3345
|
+
};
|
|
3346
|
+
};
|
|
3347
|
+
readonly required: readonly ["kind"];
|
|
3348
|
+
readonly additionalProperties: true;
|
|
3349
|
+
};
|
|
3350
|
+
};
|
|
3351
|
+
};
|
|
3352
|
+
readonly required: readonly ["kind", "values"];
|
|
3353
|
+
readonly additionalProperties: false;
|
|
3354
|
+
}, {
|
|
3355
|
+
readonly type: "object";
|
|
3356
|
+
readonly properties: {
|
|
3357
|
+
readonly kind: {
|
|
3358
|
+
readonly const: "block";
|
|
3359
|
+
};
|
|
3360
|
+
readonly entries: {
|
|
3361
|
+
readonly type: "array";
|
|
3362
|
+
readonly maxItems: 256;
|
|
3363
|
+
readonly items: {
|
|
3364
|
+
readonly type: "object";
|
|
3365
|
+
readonly properties: {
|
|
3366
|
+
readonly key: {
|
|
3367
|
+
readonly type: "string";
|
|
3368
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3369
|
+
};
|
|
3370
|
+
readonly value: {
|
|
3371
|
+
readonly type: "object";
|
|
3372
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3373
|
+
readonly properties: {
|
|
3374
|
+
readonly kind: {
|
|
3375
|
+
readonly type: "string";
|
|
3376
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3377
|
+
};
|
|
3378
|
+
};
|
|
3379
|
+
readonly required: readonly ["kind"];
|
|
3380
|
+
readonly additionalProperties: true;
|
|
3381
|
+
};
|
|
3382
|
+
};
|
|
3383
|
+
readonly required: readonly ["key", "value"];
|
|
3384
|
+
readonly additionalProperties: false;
|
|
3385
|
+
};
|
|
3386
|
+
};
|
|
3387
|
+
};
|
|
3388
|
+
readonly required: readonly ["kind", "entries"];
|
|
3389
|
+
readonly additionalProperties: false;
|
|
3390
|
+
}];
|
|
3391
|
+
};
|
|
3392
|
+
readonly containerPath: {
|
|
3393
|
+
readonly type: "array";
|
|
3394
|
+
readonly maxItems: 8;
|
|
3395
|
+
readonly items: {
|
|
3396
|
+
readonly type: "string";
|
|
3397
|
+
};
|
|
3398
|
+
};
|
|
3399
|
+
};
|
|
3400
|
+
readonly required: readonly ["operation", "target", "transition", "variable", "value"];
|
|
3401
|
+
readonly additionalProperties: false;
|
|
3402
|
+
}];
|
|
3403
|
+
readonly description: "One discriminated typed mutation. Raw code/oldString/newString fields are rejected.";
|
|
3404
|
+
};
|
|
3405
|
+
};
|
|
3406
|
+
readonly required: readonly ["filePath", "operation"];
|
|
3407
|
+
readonly additionalProperties: false;
|
|
3408
|
+
};
|
|
3409
|
+
};
|
|
3410
|
+
readonly registry: {
|
|
3411
|
+
readonly name: "typed_pdx_write";
|
|
3412
|
+
readonly isWrite: true;
|
|
3413
|
+
readonly isReadOnly: false;
|
|
3414
|
+
readonly effect: "workspace_write";
|
|
3415
|
+
readonly riskLevel: 2;
|
|
3416
|
+
readonly concurrencyClass: "per-file-write";
|
|
3417
|
+
readonly mcpSupportsCwtOnly: false;
|
|
3418
|
+
};
|
|
3419
|
+
}, {
|
|
3420
|
+
readonly tool: {
|
|
3421
|
+
readonly name: "candidate_transaction";
|
|
3422
|
+
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.";
|
|
3423
|
+
readonly inputSchema: {
|
|
3424
|
+
readonly type: "object";
|
|
3425
|
+
readonly properties: {
|
|
3426
|
+
readonly action: {
|
|
3427
|
+
readonly type: "string";
|
|
3428
|
+
readonly enum: readonly ["begin", "validate", "commit", "discard", "status"];
|
|
3429
|
+
};
|
|
3430
|
+
readonly transactionId: {
|
|
3431
|
+
readonly type: "string";
|
|
3432
|
+
readonly description: "Required after begin.";
|
|
3433
|
+
};
|
|
3434
|
+
readonly validationPassed: {
|
|
3435
|
+
readonly type: "boolean";
|
|
3436
|
+
readonly description: "Optional explicit veto for the exact staged fingerprint. The host always runs detached overlay validation and never trusts this flag as proof.";
|
|
3437
|
+
};
|
|
3438
|
+
};
|
|
3439
|
+
readonly required: readonly ["action"];
|
|
3440
|
+
};
|
|
3441
|
+
};
|
|
3442
|
+
readonly registry: {
|
|
3443
|
+
readonly name: "candidate_transaction";
|
|
3444
|
+
readonly isWrite: true;
|
|
3445
|
+
readonly isReadOnly: false;
|
|
3446
|
+
readonly effect: "workspace_write";
|
|
3447
|
+
readonly riskLevel: 2;
|
|
3448
|
+
readonly concurrencyClass: "per-file-write";
|
|
3449
|
+
readonly mcpSupportsCwtOnly: false;
|
|
3450
|
+
};
|
|
3451
|
+
}, {
|
|
3452
|
+
readonly tool: {
|
|
3453
|
+
readonly name: "convert_image_to_dds";
|
|
3454
|
+
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.ai.imageMagickPath setting.";
|
|
3455
|
+
readonly inputSchema: {
|
|
3456
|
+
readonly type: "object";
|
|
3457
|
+
readonly properties: {
|
|
3458
|
+
readonly sourcePath: {
|
|
3459
|
+
readonly type: "string";
|
|
3460
|
+
readonly description: "Absolute path to the source image file (PNG, JPG, or TGA).";
|
|
3461
|
+
};
|
|
3462
|
+
readonly outputDir: {
|
|
3463
|
+
readonly type: "string";
|
|
3464
|
+
readonly description: "Directory to write the converted DDS file to. Can be absolute or relative to workspace root (e.g. \"gfx/interface/icons/\").";
|
|
3465
|
+
};
|
|
3466
|
+
readonly compression: {
|
|
3467
|
+
readonly type: "string";
|
|
3468
|
+
readonly enum: readonly ["dxt5", "dxt1", "dxt3", "none"];
|
|
3469
|
+
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.";
|
|
3470
|
+
};
|
|
3471
|
+
readonly generateMipmaps: {
|
|
3472
|
+
readonly type: "boolean";
|
|
3473
|
+
readonly description: "Whether to generate mipmaps (default false).";
|
|
3474
|
+
};
|
|
3475
|
+
};
|
|
3476
|
+
readonly required: readonly ["sourcePath"];
|
|
3477
|
+
};
|
|
3478
|
+
};
|
|
3479
|
+
readonly registry: {
|
|
3480
|
+
readonly name: "convert_image_to_dds";
|
|
3481
|
+
readonly isWrite: false;
|
|
3482
|
+
readonly isReadOnly: false;
|
|
3483
|
+
readonly effect: "media";
|
|
3484
|
+
readonly riskLevel: 2;
|
|
3485
|
+
readonly concurrencyClass: "interactive";
|
|
3486
|
+
readonly mcpSupportsCwtOnly: false;
|
|
3487
|
+
};
|
|
3488
|
+
}, {
|
|
3489
|
+
readonly tool: {
|
|
3490
|
+
readonly name: "convert_audio";
|
|
3491
|
+
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.ai.ffmpegPath setting.";
|
|
3492
|
+
readonly inputSchema: {
|
|
3493
|
+
readonly type: "object";
|
|
3494
|
+
readonly properties: {
|
|
3495
|
+
readonly sourcePath: {
|
|
3496
|
+
readonly type: "string";
|
|
3497
|
+
readonly description: "Absolute path to the source audio file.";
|
|
3498
|
+
};
|
|
3499
|
+
readonly outputDir: {
|
|
3500
|
+
readonly type: "string";
|
|
3501
|
+
readonly description: "Directory to write the converted file to. Can be absolute or relative to workspace root (e.g. \"sound/vo/\").";
|
|
3502
|
+
};
|
|
3503
|
+
readonly targetFormat: {
|
|
3504
|
+
readonly type: "string";
|
|
3505
|
+
readonly enum: readonly ["ogg", "wav"];
|
|
3506
|
+
readonly description: "Target audio format. \"ogg\": Vorbis encoding for BGM and voice lines. \"wav\": 16-bit PCM for UI sound effects.";
|
|
3507
|
+
};
|
|
3508
|
+
readonly sampleRate: {
|
|
3509
|
+
readonly type: "number";
|
|
3510
|
+
readonly description: "Output sample rate in Hz (e.g. 44100, 48000). Default: keep original.";
|
|
3511
|
+
};
|
|
3512
|
+
readonly channels: {
|
|
3513
|
+
readonly type: "number";
|
|
3514
|
+
readonly description: "Number of audio channels. 1 = mono (recommended for voice/sfx), 2 = stereo (recommended for music). Default: keep original.";
|
|
3515
|
+
};
|
|
3516
|
+
};
|
|
3517
|
+
readonly required: readonly ["sourcePath", "targetFormat"];
|
|
3518
|
+
};
|
|
3519
|
+
};
|
|
3520
|
+
readonly registry: {
|
|
3521
|
+
readonly name: "convert_audio";
|
|
3522
|
+
readonly isWrite: false;
|
|
3523
|
+
readonly isReadOnly: false;
|
|
3524
|
+
readonly effect: "media";
|
|
3525
|
+
readonly riskLevel: 2;
|
|
3526
|
+
readonly concurrencyClass: "interactive";
|
|
3527
|
+
readonly mcpSupportsCwtOnly: false;
|
|
3528
|
+
};
|
|
3529
|
+
}, {
|
|
3530
|
+
readonly tool: {
|
|
3531
|
+
readonly name: "deploy_mod_asset";
|
|
3532
|
+
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/). The retract system can undo this operation.";
|
|
3533
|
+
readonly inputSchema: {
|
|
3534
|
+
readonly type: "object";
|
|
3535
|
+
readonly properties: {
|
|
3536
|
+
readonly sourcePath: {
|
|
3537
|
+
readonly type: "string";
|
|
3538
|
+
readonly description: "Absolute path to the source file to deploy.";
|
|
3539
|
+
};
|
|
3540
|
+
readonly targetRelativePath: {
|
|
3541
|
+
readonly type: "string";
|
|
3542
|
+
readonly description: "Target path relative to workspace root (e.g. \"gfx/interface/icons/tech/my_tech.dds\" or \"sound/vo/my_voice.ogg\").";
|
|
3543
|
+
};
|
|
3544
|
+
readonly overwrite: {
|
|
3545
|
+
readonly type: "boolean";
|
|
3546
|
+
readonly description: "If true, overwrite existing file at target. Default: false (fails if file exists).";
|
|
3547
|
+
};
|
|
3548
|
+
};
|
|
3549
|
+
readonly required: readonly ["sourcePath", "targetRelativePath"];
|
|
3550
|
+
};
|
|
3551
|
+
};
|
|
3552
|
+
readonly registry: {
|
|
3553
|
+
readonly name: "deploy_mod_asset";
|
|
3554
|
+
readonly isWrite: true;
|
|
3555
|
+
readonly isReadOnly: false;
|
|
3556
|
+
readonly effect: "media";
|
|
3557
|
+
readonly riskLevel: 2;
|
|
3558
|
+
readonly concurrencyClass: "interactive";
|
|
3559
|
+
readonly mcpSupportsCwtOnly: false;
|
|
1420
3560
|
};
|
|
1421
3561
|
}];
|