cwtools-shared 0.2.7 → 0.2.9
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 +2281 -0
- package/dist/generated/mcpTools.js +3003 -0
- package/dist/tools/mcpSchema.d.ts +3 -1
- package/dist/tools/mcpSchema.js +6 -2
- package/dist/tools/names.d.ts +8 -5
- package/dist/tools/names.js +24 -8
- package/dist/tools/toolHandlers.js +9 -0
- package/package.json +1 -1
|
@@ -633,6 +633,192 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
633
633
|
readonly riskLevel: 0;
|
|
634
634
|
readonly concurrencyClass: "lsp-limited";
|
|
635
635
|
};
|
|
636
|
+
}, {
|
|
637
|
+
readonly tool: {
|
|
638
|
+
readonly name: "query_targeting_weight";
|
|
639
|
+
readonly description: "Read-only. Compute the Stellaris 4.5.2 targeting weight chain for one attacker ship, one weapon component and one candidate target, returning the full multiplicative decomposition. Stage 1 W(ship) = size x tracking-evasion x distance x preset weight x low-health x unarmed/starbase x random, plus the whole-target veto; Stage 2 S(weapon) = (shield+armor+hull damage split) x hit chance x preset weight x kill bonus, then + target_weights. The stages are independent argmax passes, so use_ship_main_target = yes weapons never use Stage 2; ai_weight is unrelated.";
|
|
640
|
+
readonly inputSchema: {
|
|
641
|
+
readonly type: "object";
|
|
642
|
+
readonly properties: {
|
|
643
|
+
readonly attacker: {
|
|
644
|
+
readonly type: "object";
|
|
645
|
+
readonly description: "Attacking ship.";
|
|
646
|
+
readonly properties: {
|
|
647
|
+
readonly tracking: {
|
|
648
|
+
readonly type: "number";
|
|
649
|
+
readonly description: "Ship tracking 0..1, scaled by the ship tracking mult.";
|
|
650
|
+
};
|
|
651
|
+
readonly sizeMultiplier: {
|
|
652
|
+
readonly type: "number";
|
|
653
|
+
readonly description: "Attacker combat_size_multiplier; veto needs >= 8.";
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
readonly required: readonly ["tracking", "sizeMultiplier"];
|
|
657
|
+
readonly additionalProperties: false;
|
|
658
|
+
};
|
|
659
|
+
readonly weapon: {
|
|
660
|
+
readonly type: "object";
|
|
661
|
+
readonly description: "Weapon component template values, already modifier-corrected.";
|
|
662
|
+
readonly properties: {
|
|
663
|
+
readonly minDamage: {
|
|
664
|
+
readonly type: "number";
|
|
665
|
+
readonly description: "min_damage.";
|
|
666
|
+
};
|
|
667
|
+
readonly maxDamage: {
|
|
668
|
+
readonly type: "number";
|
|
669
|
+
readonly description: "max_damage; the path uses the interval midpoint.";
|
|
670
|
+
};
|
|
671
|
+
readonly accuracy: {
|
|
672
|
+
readonly type: "number";
|
|
673
|
+
readonly description: "accuracy 0..1; feeds hit chance p.";
|
|
674
|
+
};
|
|
675
|
+
readonly tracking: {
|
|
676
|
+
readonly type: "number";
|
|
677
|
+
readonly description: "tracking 0..1; weapon rate, not scaled by the ship mult.";
|
|
678
|
+
};
|
|
679
|
+
readonly shieldDamage: {
|
|
680
|
+
readonly type: "number";
|
|
681
|
+
readonly description: "shield_damage (ms), shield layer output mult.";
|
|
682
|
+
};
|
|
683
|
+
readonly armorDamage: {
|
|
684
|
+
readonly type: "number";
|
|
685
|
+
readonly description: "armor_damage (ma), armor layer output mult.";
|
|
686
|
+
};
|
|
687
|
+
readonly hullDamage: {
|
|
688
|
+
readonly type: "number";
|
|
689
|
+
readonly description: "hull_damage (mh), leftover hull output mult.";
|
|
690
|
+
};
|
|
691
|
+
readonly shieldPenetration: {
|
|
692
|
+
readonly type: "number";
|
|
693
|
+
readonly description: "shield_penetration 0..1; minus hardening, clamped [0,1].";
|
|
694
|
+
};
|
|
695
|
+
readonly armorPenetration: {
|
|
696
|
+
readonly type: "number";
|
|
697
|
+
readonly description: "armor_penetration 0..1; minus hardening, clamped [0,1].";
|
|
698
|
+
};
|
|
699
|
+
readonly sizeDamageFactor: {
|
|
700
|
+
readonly type: "number";
|
|
701
|
+
readonly description: "size_damage_factor; when > 0 scales damage by (1 + clamp(size,1,100)*factor).";
|
|
702
|
+
};
|
|
703
|
+
readonly targetWeights: {
|
|
704
|
+
readonly type: "object";
|
|
705
|
+
readonly description: "target_weights table: ship_size id -> additive wk, NOT a multiplier; it can outrank the chain.";
|
|
706
|
+
readonly additionalProperties: {
|
|
707
|
+
readonly type: "number";
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
readonly required: readonly ["minDamage", "maxDamage", "accuracy", "tracking", "shieldDamage", "armorDamage", "hullDamage"];
|
|
712
|
+
readonly additionalProperties: false;
|
|
713
|
+
};
|
|
714
|
+
readonly target: {
|
|
715
|
+
readonly type: "object";
|
|
716
|
+
readonly description: "Candidate target ship state at the modelled tick.";
|
|
717
|
+
readonly properties: {
|
|
718
|
+
readonly shipSizeId: {
|
|
719
|
+
readonly type: "string";
|
|
720
|
+
readonly description: "ship_size id; only used for weapon.targetWeights.";
|
|
721
|
+
};
|
|
722
|
+
readonly sizeMultiplier: {
|
|
723
|
+
readonly type: "number";
|
|
724
|
+
readonly description: "Target combat_size_multiplier.";
|
|
725
|
+
};
|
|
726
|
+
readonly evasion: {
|
|
727
|
+
readonly type: "number";
|
|
728
|
+
readonly description: "Target evasion 0..1 (cap SHIP_MAX_EVASION 0.9).";
|
|
729
|
+
};
|
|
730
|
+
readonly distance: {
|
|
731
|
+
readonly type: "number";
|
|
732
|
+
readonly description: "Distance in engine units; the factor floors at 450.";
|
|
733
|
+
};
|
|
734
|
+
readonly hull: {
|
|
735
|
+
readonly type: "number";
|
|
736
|
+
readonly description: "Current hull (Vtgt); right side of the kill test.";
|
|
737
|
+
};
|
|
738
|
+
readonly maxHull: {
|
|
739
|
+
readonly type: "number";
|
|
740
|
+
readonly description: "Hull maximum; omit to skip the low-health factor.";
|
|
741
|
+
};
|
|
742
|
+
readonly shield: {
|
|
743
|
+
readonly type: "number";
|
|
744
|
+
readonly description: "Current shields.";
|
|
745
|
+
};
|
|
746
|
+
readonly armor: {
|
|
747
|
+
readonly type: "number";
|
|
748
|
+
readonly description: "Current armor.";
|
|
749
|
+
};
|
|
750
|
+
readonly shieldHardening: {
|
|
751
|
+
readonly type: "number";
|
|
752
|
+
readonly description: "Shield hardening; minus shield_penetration.";
|
|
753
|
+
};
|
|
754
|
+
readonly armorHardening: {
|
|
755
|
+
readonly type: "number";
|
|
756
|
+
readonly description: "Armor hardening; minus armor_penetration.";
|
|
757
|
+
};
|
|
758
|
+
readonly armed: {
|
|
759
|
+
readonly type: "boolean";
|
|
760
|
+
readonly description: "Panel DPD > 0; when false both stages x the unarmed weight.";
|
|
761
|
+
};
|
|
762
|
+
readonly isStarbase: {
|
|
763
|
+
readonly type: "boolean";
|
|
764
|
+
readonly description: "Starbase or megastructure; x starbase weight unless it is the current main target.";
|
|
765
|
+
};
|
|
766
|
+
readonly isCurrentMainTarget: {
|
|
767
|
+
readonly type: "boolean";
|
|
768
|
+
readonly description: "Already the ship main target: x1.1 stickiness unless targetFocus is true.";
|
|
769
|
+
};
|
|
770
|
+
readonly isRecentNonLatest: {
|
|
771
|
+
readonly type: "boolean";
|
|
772
|
+
readonly description: "Recent-target memory, not the latest entry: x recent-target penalizer.";
|
|
773
|
+
};
|
|
774
|
+
};
|
|
775
|
+
readonly required: readonly ["sizeMultiplier", "evasion", "distance", "hull", "shield", "armor", "armed"];
|
|
776
|
+
readonly additionalProperties: false;
|
|
777
|
+
};
|
|
778
|
+
readonly defines: {
|
|
779
|
+
readonly type: "object";
|
|
780
|
+
readonly description: "Optional define overrides; omitted keys keep vanilla. Keys: sizeSlope, sizeMax, trackingMult, evasionWeight, lowHealthThreshold, lowHealthWeight, distanceWeight, distanceWeightMin, unarmedWeight, starbaseWeight, avoidMinShipSize, avoidThreshold, randomWeight, currentTargetMultiplier, recentTargetPenalizer. Every effective value is echoed in the result.";
|
|
781
|
+
readonly additionalProperties: {
|
|
782
|
+
readonly type: "number";
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
readonly rho: {
|
|
786
|
+
readonly type: "number";
|
|
787
|
+
readonly description: "Battle-start random in [0,1); preset weight = 1 + rho + mult. Default 0.";
|
|
788
|
+
};
|
|
789
|
+
readonly targetWeightMultModifier: {
|
|
790
|
+
readonly type: "number";
|
|
791
|
+
readonly description: "ship_target_weight_mult modifier (ship_sizes, auras), e.g. 0.5.";
|
|
792
|
+
};
|
|
793
|
+
readonly randomRoll: {
|
|
794
|
+
readonly type: "number";
|
|
795
|
+
readonly description: "Random perturbation r in [0,1); used only when useRandom is true.";
|
|
796
|
+
};
|
|
797
|
+
readonly useRandom: {
|
|
798
|
+
readonly type: "boolean";
|
|
799
|
+
readonly description: "Engine default is true (up to 4x). Default false for reproducible results.";
|
|
800
|
+
};
|
|
801
|
+
readonly fleetHasHittable: {
|
|
802
|
+
readonly type: "boolean";
|
|
803
|
+
readonly description: "Veto needs at least one hittable ship in the target fleet. Default false.";
|
|
804
|
+
};
|
|
805
|
+
readonly targetFocus: {
|
|
806
|
+
readonly type: "boolean";
|
|
807
|
+
readonly description: "target_focus = spread (engine 1): drops x1.1 stickiness, throttle 50 ticks. Default false.";
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
readonly required: readonly ["attacker", "weapon", "target"];
|
|
811
|
+
readonly additionalProperties: false;
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
|
+
readonly registry: {
|
|
815
|
+
readonly name: "query_targeting_weight";
|
|
816
|
+
readonly isWrite: false;
|
|
817
|
+
readonly isReadOnly: true;
|
|
818
|
+
readonly effect: "workspace_read";
|
|
819
|
+
readonly riskLevel: 0;
|
|
820
|
+
readonly concurrencyClass: "parallel";
|
|
821
|
+
};
|
|
636
822
|
}, {
|
|
637
823
|
readonly tool: {
|
|
638
824
|
readonly name: "query_localisation_index";
|
|
@@ -1232,4 +1418,2099 @@ export declare const GENERATED_MCP_TOOLS: readonly [{
|
|
|
1232
1418
|
readonly riskLevel: 0;
|
|
1233
1419
|
readonly concurrencyClass: "lsp-limited";
|
|
1234
1420
|
};
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly tool: {
|
|
1423
|
+
readonly name: "get_ide_context";
|
|
1424
|
+
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).";
|
|
1425
|
+
readonly inputSchema: {
|
|
1426
|
+
readonly type: "object";
|
|
1427
|
+
readonly properties: {
|
|
1428
|
+
readonly includeSelectionText: {
|
|
1429
|
+
readonly type: "boolean";
|
|
1430
|
+
readonly description: "Whether to include the selected text in the active editor (bounded to 4000 chars). Defaults to true.";
|
|
1431
|
+
};
|
|
1432
|
+
readonly includeActiveFileDiagnostics: {
|
|
1433
|
+
readonly type: "boolean";
|
|
1434
|
+
readonly description: "Whether to include current diagnostics for the active editor file. Defaults to true.";
|
|
1435
|
+
};
|
|
1436
|
+
};
|
|
1437
|
+
readonly required: readonly [];
|
|
1438
|
+
};
|
|
1439
|
+
};
|
|
1440
|
+
readonly registry: {
|
|
1441
|
+
readonly name: "get_ide_context";
|
|
1442
|
+
readonly isWrite: false;
|
|
1443
|
+
readonly isReadOnly: true;
|
|
1444
|
+
readonly effect: "workspace_read";
|
|
1445
|
+
readonly riskLevel: 0;
|
|
1446
|
+
readonly concurrencyClass: "parallel";
|
|
1447
|
+
};
|
|
1448
|
+
}, {
|
|
1449
|
+
readonly tool: {
|
|
1450
|
+
readonly name: "open_in_visual_editor";
|
|
1451
|
+
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.";
|
|
1452
|
+
readonly inputSchema: {
|
|
1453
|
+
readonly type: "object";
|
|
1454
|
+
readonly properties: {
|
|
1455
|
+
readonly file: {
|
|
1456
|
+
readonly type: "string";
|
|
1457
|
+
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.";
|
|
1458
|
+
};
|
|
1459
|
+
readonly editor: {
|
|
1460
|
+
readonly type: "string";
|
|
1461
|
+
readonly enum: readonly ["auto", "gui", "entity", "particle", "solar_system", "tech_tree", "event_chain", "target_weight"];
|
|
1462
|
+
readonly description: "Visual editor to open. Defaults to auto (inferred from file extension and directory).";
|
|
1463
|
+
};
|
|
1464
|
+
readonly line: {
|
|
1465
|
+
readonly type: "integer";
|
|
1466
|
+
readonly minimum: 1;
|
|
1467
|
+
readonly description: "Optional 1-based line number to focus (used by event_chain or target_weight cursor seeding).";
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
readonly required: readonly [];
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
readonly registry: {
|
|
1474
|
+
readonly name: "open_in_visual_editor";
|
|
1475
|
+
readonly isWrite: false;
|
|
1476
|
+
readonly isReadOnly: true;
|
|
1477
|
+
readonly effect: "workspace_read";
|
|
1478
|
+
readonly riskLevel: 0;
|
|
1479
|
+
readonly concurrencyClass: "parallel";
|
|
1480
|
+
};
|
|
1481
|
+
}, {
|
|
1482
|
+
readonly tool: {
|
|
1483
|
+
readonly name: "write_localisation";
|
|
1484
|
+
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.";
|
|
1485
|
+
readonly inputSchema: {
|
|
1486
|
+
readonly type: "object";
|
|
1487
|
+
readonly properties: {
|
|
1488
|
+
readonly filePath: {
|
|
1489
|
+
readonly type: "string";
|
|
1490
|
+
readonly description: "Path to the real .yml localisation file (absolute or relative to workspace), under localisation/ or localization/. Do not use .cwtools paths.";
|
|
1491
|
+
};
|
|
1492
|
+
readonly language: {
|
|
1493
|
+
readonly type: "string";
|
|
1494
|
+
readonly description: "Language header, e.g. \"l_english\", \"l_simp_chinese\", \"l_braz_por\". Used when creating a new file.";
|
|
1495
|
+
};
|
|
1496
|
+
readonly languages: {
|
|
1497
|
+
readonly type: "array";
|
|
1498
|
+
readonly items: {
|
|
1499
|
+
readonly type: "string";
|
|
1500
|
+
};
|
|
1501
|
+
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.";
|
|
1502
|
+
};
|
|
1503
|
+
readonly entries: {
|
|
1504
|
+
readonly type: "array";
|
|
1505
|
+
readonly description: "List of localisation key-value pairs to write";
|
|
1506
|
+
readonly items: {
|
|
1507
|
+
readonly type: "object";
|
|
1508
|
+
readonly properties: {
|
|
1509
|
+
readonly key: {
|
|
1510
|
+
readonly type: "string";
|
|
1511
|
+
readonly description: "Localisation key, e.g. \"my_event.1.title\"";
|
|
1512
|
+
};
|
|
1513
|
+
readonly value: {
|
|
1514
|
+
readonly type: "string";
|
|
1515
|
+
readonly description: "Localisation value text. Use \\n for in-game line breaks. Do NOT include surrounding quotes.";
|
|
1516
|
+
};
|
|
1517
|
+
readonly number: {
|
|
1518
|
+
readonly type: "integer";
|
|
1519
|
+
readonly description: "Version number after the colon (default: 0). Usually 0.";
|
|
1520
|
+
};
|
|
1521
|
+
readonly comment: {
|
|
1522
|
+
readonly type: "string";
|
|
1523
|
+
readonly description: "Optional section header comment to insert before this entry, e.g. \"### Site 1 Events ###\"";
|
|
1524
|
+
};
|
|
1525
|
+
};
|
|
1526
|
+
readonly required: readonly ["key", "value"];
|
|
1527
|
+
};
|
|
1528
|
+
};
|
|
1529
|
+
};
|
|
1530
|
+
readonly required: readonly ["filePath", "language", "entries"];
|
|
1531
|
+
};
|
|
1532
|
+
};
|
|
1533
|
+
readonly registry: {
|
|
1534
|
+
readonly name: "write_localisation";
|
|
1535
|
+
readonly isWrite: true;
|
|
1536
|
+
readonly isReadOnly: false;
|
|
1537
|
+
readonly effect: "workspace_write";
|
|
1538
|
+
readonly riskLevel: 2;
|
|
1539
|
+
readonly concurrencyClass: "per-file-write";
|
|
1540
|
+
};
|
|
1541
|
+
}, {
|
|
1542
|
+
readonly tool: {
|
|
1543
|
+
readonly name: "typed_pdx_write";
|
|
1544
|
+
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.";
|
|
1545
|
+
readonly inputSchema: {
|
|
1546
|
+
readonly type: "object";
|
|
1547
|
+
readonly properties: {
|
|
1548
|
+
readonly filePath: {
|
|
1549
|
+
readonly type: "string";
|
|
1550
|
+
readonly description: "Absolute workspace .txt file path.";
|
|
1551
|
+
};
|
|
1552
|
+
readonly expectedHash: {
|
|
1553
|
+
readonly type: "string";
|
|
1554
|
+
readonly pattern: "^[a-fA-F0-9]{64}$";
|
|
1555
|
+
readonly description: "Optional SHA-256 of the source content; stale candidates are rejected.";
|
|
1556
|
+
};
|
|
1557
|
+
readonly mode: {
|
|
1558
|
+
readonly type: "string";
|
|
1559
|
+
readonly enum: readonly ["preview", "stage"];
|
|
1560
|
+
readonly description: "Preview is read-only; stage requires an active candidate transaction.";
|
|
1561
|
+
};
|
|
1562
|
+
readonly transactionId: {
|
|
1563
|
+
readonly type: "string";
|
|
1564
|
+
readonly description: "Required when mode=stage.";
|
|
1565
|
+
};
|
|
1566
|
+
readonly operation: {
|
|
1567
|
+
readonly oneOf: readonly [{
|
|
1568
|
+
readonly type: "object";
|
|
1569
|
+
readonly properties: {
|
|
1570
|
+
readonly operation: {
|
|
1571
|
+
readonly const: "clone_definition";
|
|
1572
|
+
};
|
|
1573
|
+
readonly source: {
|
|
1574
|
+
readonly type: "string";
|
|
1575
|
+
};
|
|
1576
|
+
readonly newSymbol: {
|
|
1577
|
+
readonly type: "string";
|
|
1578
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1579
|
+
};
|
|
1580
|
+
readonly overrides: {
|
|
1581
|
+
readonly type: "array";
|
|
1582
|
+
readonly maxItems: 64;
|
|
1583
|
+
readonly items: {
|
|
1584
|
+
readonly oneOf: readonly [{
|
|
1585
|
+
readonly type: "object";
|
|
1586
|
+
readonly properties: {
|
|
1587
|
+
readonly path: {
|
|
1588
|
+
readonly type: "array";
|
|
1589
|
+
readonly minItems: 1;
|
|
1590
|
+
readonly maxItems: 8;
|
|
1591
|
+
readonly items: {
|
|
1592
|
+
readonly type: "object";
|
|
1593
|
+
readonly properties: {
|
|
1594
|
+
readonly key: {
|
|
1595
|
+
readonly type: "string";
|
|
1596
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1597
|
+
};
|
|
1598
|
+
readonly occurrence: {
|
|
1599
|
+
readonly type: "integer";
|
|
1600
|
+
readonly minimum: 1;
|
|
1601
|
+
};
|
|
1602
|
+
};
|
|
1603
|
+
readonly required: readonly ["key", "occurrence"];
|
|
1604
|
+
readonly additionalProperties: false;
|
|
1605
|
+
};
|
|
1606
|
+
};
|
|
1607
|
+
readonly value: {
|
|
1608
|
+
readonly oneOf: readonly [{
|
|
1609
|
+
readonly type: "object";
|
|
1610
|
+
readonly properties: {
|
|
1611
|
+
readonly kind: {
|
|
1612
|
+
readonly const: "identifier";
|
|
1613
|
+
};
|
|
1614
|
+
readonly value: {
|
|
1615
|
+
readonly type: "string";
|
|
1616
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1617
|
+
};
|
|
1618
|
+
};
|
|
1619
|
+
readonly required: readonly ["kind", "value"];
|
|
1620
|
+
readonly additionalProperties: false;
|
|
1621
|
+
}, {
|
|
1622
|
+
readonly type: "object";
|
|
1623
|
+
readonly properties: {
|
|
1624
|
+
readonly kind: {
|
|
1625
|
+
readonly const: "string";
|
|
1626
|
+
};
|
|
1627
|
+
readonly value: {
|
|
1628
|
+
readonly type: "string";
|
|
1629
|
+
readonly maxLength: 4096;
|
|
1630
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
1631
|
+
};
|
|
1632
|
+
};
|
|
1633
|
+
readonly required: readonly ["kind", "value"];
|
|
1634
|
+
readonly additionalProperties: false;
|
|
1635
|
+
}, {
|
|
1636
|
+
readonly type: "object";
|
|
1637
|
+
readonly properties: {
|
|
1638
|
+
readonly kind: {
|
|
1639
|
+
readonly const: "number";
|
|
1640
|
+
};
|
|
1641
|
+
readonly value: {
|
|
1642
|
+
readonly type: "number";
|
|
1643
|
+
};
|
|
1644
|
+
};
|
|
1645
|
+
readonly required: readonly ["kind", "value"];
|
|
1646
|
+
readonly additionalProperties: false;
|
|
1647
|
+
}, {
|
|
1648
|
+
readonly type: "object";
|
|
1649
|
+
readonly properties: {
|
|
1650
|
+
readonly kind: {
|
|
1651
|
+
readonly const: "boolean";
|
|
1652
|
+
};
|
|
1653
|
+
readonly value: {
|
|
1654
|
+
readonly type: "boolean";
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
readonly required: readonly ["kind", "value"];
|
|
1658
|
+
readonly additionalProperties: false;
|
|
1659
|
+
}, {
|
|
1660
|
+
readonly type: "object";
|
|
1661
|
+
readonly properties: {
|
|
1662
|
+
readonly kind: {
|
|
1663
|
+
readonly const: "list";
|
|
1664
|
+
};
|
|
1665
|
+
readonly values: {
|
|
1666
|
+
readonly type: "array";
|
|
1667
|
+
readonly maxItems: 256;
|
|
1668
|
+
readonly items: {
|
|
1669
|
+
readonly type: "object";
|
|
1670
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
1671
|
+
readonly properties: {
|
|
1672
|
+
readonly kind: {
|
|
1673
|
+
readonly type: "string";
|
|
1674
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
1675
|
+
};
|
|
1676
|
+
};
|
|
1677
|
+
readonly required: readonly ["kind"];
|
|
1678
|
+
readonly additionalProperties: true;
|
|
1679
|
+
};
|
|
1680
|
+
};
|
|
1681
|
+
};
|
|
1682
|
+
readonly required: readonly ["kind", "values"];
|
|
1683
|
+
readonly additionalProperties: false;
|
|
1684
|
+
}, {
|
|
1685
|
+
readonly type: "object";
|
|
1686
|
+
readonly properties: {
|
|
1687
|
+
readonly kind: {
|
|
1688
|
+
readonly const: "block";
|
|
1689
|
+
};
|
|
1690
|
+
readonly entries: {
|
|
1691
|
+
readonly type: "array";
|
|
1692
|
+
readonly maxItems: 256;
|
|
1693
|
+
readonly items: {
|
|
1694
|
+
readonly type: "object";
|
|
1695
|
+
readonly properties: {
|
|
1696
|
+
readonly key: {
|
|
1697
|
+
readonly type: "string";
|
|
1698
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1699
|
+
};
|
|
1700
|
+
readonly value: {
|
|
1701
|
+
readonly type: "object";
|
|
1702
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
1703
|
+
readonly properties: {
|
|
1704
|
+
readonly kind: {
|
|
1705
|
+
readonly type: "string";
|
|
1706
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
1707
|
+
};
|
|
1708
|
+
};
|
|
1709
|
+
readonly required: readonly ["kind"];
|
|
1710
|
+
readonly additionalProperties: true;
|
|
1711
|
+
};
|
|
1712
|
+
};
|
|
1713
|
+
readonly required: readonly ["key", "value"];
|
|
1714
|
+
readonly additionalProperties: false;
|
|
1715
|
+
};
|
|
1716
|
+
};
|
|
1717
|
+
};
|
|
1718
|
+
readonly required: readonly ["kind", "entries"];
|
|
1719
|
+
readonly additionalProperties: false;
|
|
1720
|
+
}];
|
|
1721
|
+
};
|
|
1722
|
+
readonly action: {
|
|
1723
|
+
readonly const: "set";
|
|
1724
|
+
};
|
|
1725
|
+
};
|
|
1726
|
+
readonly required: readonly ["action", "path", "value"];
|
|
1727
|
+
readonly additionalProperties: false;
|
|
1728
|
+
}, {
|
|
1729
|
+
readonly type: "object";
|
|
1730
|
+
readonly properties: {
|
|
1731
|
+
readonly path: {
|
|
1732
|
+
readonly type: "array";
|
|
1733
|
+
readonly minItems: 1;
|
|
1734
|
+
readonly maxItems: 8;
|
|
1735
|
+
readonly items: {
|
|
1736
|
+
readonly type: "object";
|
|
1737
|
+
readonly properties: {
|
|
1738
|
+
readonly key: {
|
|
1739
|
+
readonly type: "string";
|
|
1740
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1741
|
+
};
|
|
1742
|
+
readonly occurrence: {
|
|
1743
|
+
readonly type: "integer";
|
|
1744
|
+
readonly minimum: 1;
|
|
1745
|
+
};
|
|
1746
|
+
};
|
|
1747
|
+
readonly required: readonly ["key", "occurrence"];
|
|
1748
|
+
readonly additionalProperties: false;
|
|
1749
|
+
};
|
|
1750
|
+
};
|
|
1751
|
+
readonly action: {
|
|
1752
|
+
readonly const: "delete";
|
|
1753
|
+
};
|
|
1754
|
+
};
|
|
1755
|
+
readonly required: readonly ["action", "path"];
|
|
1756
|
+
readonly additionalProperties: false;
|
|
1757
|
+
}, {
|
|
1758
|
+
readonly type: "object";
|
|
1759
|
+
readonly properties: {
|
|
1760
|
+
readonly path: {
|
|
1761
|
+
readonly type: "array";
|
|
1762
|
+
readonly minItems: 0;
|
|
1763
|
+
readonly maxItems: 8;
|
|
1764
|
+
readonly items: {
|
|
1765
|
+
readonly type: "object";
|
|
1766
|
+
readonly properties: {
|
|
1767
|
+
readonly key: {
|
|
1768
|
+
readonly type: "string";
|
|
1769
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1770
|
+
};
|
|
1771
|
+
readonly occurrence: {
|
|
1772
|
+
readonly type: "integer";
|
|
1773
|
+
readonly minimum: 1;
|
|
1774
|
+
};
|
|
1775
|
+
};
|
|
1776
|
+
readonly required: readonly ["key", "occurrence"];
|
|
1777
|
+
readonly additionalProperties: false;
|
|
1778
|
+
};
|
|
1779
|
+
};
|
|
1780
|
+
readonly entry: {
|
|
1781
|
+
readonly type: "object";
|
|
1782
|
+
readonly properties: {
|
|
1783
|
+
readonly key: {
|
|
1784
|
+
readonly type: "string";
|
|
1785
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1786
|
+
};
|
|
1787
|
+
readonly value: {
|
|
1788
|
+
readonly oneOf: readonly [{
|
|
1789
|
+
readonly type: "object";
|
|
1790
|
+
readonly properties: {
|
|
1791
|
+
readonly kind: {
|
|
1792
|
+
readonly const: "identifier";
|
|
1793
|
+
};
|
|
1794
|
+
readonly value: {
|
|
1795
|
+
readonly type: "string";
|
|
1796
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1797
|
+
};
|
|
1798
|
+
};
|
|
1799
|
+
readonly required: readonly ["kind", "value"];
|
|
1800
|
+
readonly additionalProperties: false;
|
|
1801
|
+
}, {
|
|
1802
|
+
readonly type: "object";
|
|
1803
|
+
readonly properties: {
|
|
1804
|
+
readonly kind: {
|
|
1805
|
+
readonly const: "string";
|
|
1806
|
+
};
|
|
1807
|
+
readonly value: {
|
|
1808
|
+
readonly type: "string";
|
|
1809
|
+
readonly maxLength: 4096;
|
|
1810
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
1811
|
+
};
|
|
1812
|
+
};
|
|
1813
|
+
readonly required: readonly ["kind", "value"];
|
|
1814
|
+
readonly additionalProperties: false;
|
|
1815
|
+
}, {
|
|
1816
|
+
readonly type: "object";
|
|
1817
|
+
readonly properties: {
|
|
1818
|
+
readonly kind: {
|
|
1819
|
+
readonly const: "number";
|
|
1820
|
+
};
|
|
1821
|
+
readonly value: {
|
|
1822
|
+
readonly type: "number";
|
|
1823
|
+
};
|
|
1824
|
+
};
|
|
1825
|
+
readonly required: readonly ["kind", "value"];
|
|
1826
|
+
readonly additionalProperties: false;
|
|
1827
|
+
}, {
|
|
1828
|
+
readonly type: "object";
|
|
1829
|
+
readonly properties: {
|
|
1830
|
+
readonly kind: {
|
|
1831
|
+
readonly const: "boolean";
|
|
1832
|
+
};
|
|
1833
|
+
readonly value: {
|
|
1834
|
+
readonly type: "boolean";
|
|
1835
|
+
};
|
|
1836
|
+
};
|
|
1837
|
+
readonly required: readonly ["kind", "value"];
|
|
1838
|
+
readonly additionalProperties: false;
|
|
1839
|
+
}, {
|
|
1840
|
+
readonly type: "object";
|
|
1841
|
+
readonly properties: {
|
|
1842
|
+
readonly kind: {
|
|
1843
|
+
readonly const: "list";
|
|
1844
|
+
};
|
|
1845
|
+
readonly values: {
|
|
1846
|
+
readonly type: "array";
|
|
1847
|
+
readonly maxItems: 256;
|
|
1848
|
+
readonly items: {
|
|
1849
|
+
readonly type: "object";
|
|
1850
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
1851
|
+
readonly properties: {
|
|
1852
|
+
readonly kind: {
|
|
1853
|
+
readonly type: "string";
|
|
1854
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
1855
|
+
};
|
|
1856
|
+
};
|
|
1857
|
+
readonly required: readonly ["kind"];
|
|
1858
|
+
readonly additionalProperties: true;
|
|
1859
|
+
};
|
|
1860
|
+
};
|
|
1861
|
+
};
|
|
1862
|
+
readonly required: readonly ["kind", "values"];
|
|
1863
|
+
readonly additionalProperties: false;
|
|
1864
|
+
}, {
|
|
1865
|
+
readonly type: "object";
|
|
1866
|
+
readonly properties: {
|
|
1867
|
+
readonly kind: {
|
|
1868
|
+
readonly const: "block";
|
|
1869
|
+
};
|
|
1870
|
+
readonly entries: {
|
|
1871
|
+
readonly type: "array";
|
|
1872
|
+
readonly maxItems: 256;
|
|
1873
|
+
readonly items: {
|
|
1874
|
+
readonly type: "object";
|
|
1875
|
+
readonly properties: {
|
|
1876
|
+
readonly key: {
|
|
1877
|
+
readonly type: "string";
|
|
1878
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1879
|
+
};
|
|
1880
|
+
readonly value: {
|
|
1881
|
+
readonly type: "object";
|
|
1882
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
1883
|
+
readonly properties: {
|
|
1884
|
+
readonly kind: {
|
|
1885
|
+
readonly type: "string";
|
|
1886
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
1887
|
+
};
|
|
1888
|
+
};
|
|
1889
|
+
readonly required: readonly ["kind"];
|
|
1890
|
+
readonly additionalProperties: true;
|
|
1891
|
+
};
|
|
1892
|
+
};
|
|
1893
|
+
readonly required: readonly ["key", "value"];
|
|
1894
|
+
readonly additionalProperties: false;
|
|
1895
|
+
};
|
|
1896
|
+
};
|
|
1897
|
+
};
|
|
1898
|
+
readonly required: readonly ["kind", "entries"];
|
|
1899
|
+
readonly additionalProperties: false;
|
|
1900
|
+
}];
|
|
1901
|
+
};
|
|
1902
|
+
};
|
|
1903
|
+
readonly required: readonly ["key", "value"];
|
|
1904
|
+
readonly additionalProperties: false;
|
|
1905
|
+
};
|
|
1906
|
+
readonly action: {
|
|
1907
|
+
readonly const: "append";
|
|
1908
|
+
};
|
|
1909
|
+
};
|
|
1910
|
+
readonly required: readonly ["action", "path", "entry"];
|
|
1911
|
+
readonly additionalProperties: false;
|
|
1912
|
+
}];
|
|
1913
|
+
};
|
|
1914
|
+
};
|
|
1915
|
+
};
|
|
1916
|
+
readonly required: readonly ["operation", "source", "newSymbol"];
|
|
1917
|
+
readonly additionalProperties: false;
|
|
1918
|
+
}, {
|
|
1919
|
+
readonly type: "object";
|
|
1920
|
+
readonly properties: {
|
|
1921
|
+
readonly operation: {
|
|
1922
|
+
readonly const: "add_event_call";
|
|
1923
|
+
};
|
|
1924
|
+
readonly target: {
|
|
1925
|
+
readonly type: "string";
|
|
1926
|
+
};
|
|
1927
|
+
readonly callType: {
|
|
1928
|
+
readonly type: "string";
|
|
1929
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1930
|
+
};
|
|
1931
|
+
readonly eventId: {
|
|
1932
|
+
readonly type: "string";
|
|
1933
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1934
|
+
};
|
|
1935
|
+
readonly containerPath: {
|
|
1936
|
+
readonly type: "array";
|
|
1937
|
+
readonly maxItems: 8;
|
|
1938
|
+
readonly items: {
|
|
1939
|
+
readonly type: "string";
|
|
1940
|
+
};
|
|
1941
|
+
};
|
|
1942
|
+
readonly days: {
|
|
1943
|
+
readonly type: "integer";
|
|
1944
|
+
readonly minimum: 0;
|
|
1945
|
+
};
|
|
1946
|
+
};
|
|
1947
|
+
readonly required: readonly ["operation", "target", "callType", "eventId"];
|
|
1948
|
+
readonly additionalProperties: false;
|
|
1949
|
+
}, {
|
|
1950
|
+
readonly type: "object";
|
|
1951
|
+
readonly properties: {
|
|
1952
|
+
readonly operation: {
|
|
1953
|
+
readonly const: "add_event_option";
|
|
1954
|
+
};
|
|
1955
|
+
readonly target: {
|
|
1956
|
+
readonly type: "string";
|
|
1957
|
+
};
|
|
1958
|
+
readonly name: {
|
|
1959
|
+
readonly type: "string";
|
|
1960
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1961
|
+
};
|
|
1962
|
+
readonly fields: {
|
|
1963
|
+
readonly type: "array";
|
|
1964
|
+
readonly maxItems: 256;
|
|
1965
|
+
readonly items: {
|
|
1966
|
+
readonly type: "object";
|
|
1967
|
+
readonly properties: {
|
|
1968
|
+
readonly key: {
|
|
1969
|
+
readonly type: "string";
|
|
1970
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1971
|
+
};
|
|
1972
|
+
readonly value: {
|
|
1973
|
+
readonly oneOf: readonly [{
|
|
1974
|
+
readonly type: "object";
|
|
1975
|
+
readonly properties: {
|
|
1976
|
+
readonly kind: {
|
|
1977
|
+
readonly const: "identifier";
|
|
1978
|
+
};
|
|
1979
|
+
readonly value: {
|
|
1980
|
+
readonly type: "string";
|
|
1981
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
1982
|
+
};
|
|
1983
|
+
};
|
|
1984
|
+
readonly required: readonly ["kind", "value"];
|
|
1985
|
+
readonly additionalProperties: false;
|
|
1986
|
+
}, {
|
|
1987
|
+
readonly type: "object";
|
|
1988
|
+
readonly properties: {
|
|
1989
|
+
readonly kind: {
|
|
1990
|
+
readonly const: "string";
|
|
1991
|
+
};
|
|
1992
|
+
readonly value: {
|
|
1993
|
+
readonly type: "string";
|
|
1994
|
+
readonly maxLength: 4096;
|
|
1995
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
1996
|
+
};
|
|
1997
|
+
};
|
|
1998
|
+
readonly required: readonly ["kind", "value"];
|
|
1999
|
+
readonly additionalProperties: false;
|
|
2000
|
+
}, {
|
|
2001
|
+
readonly type: "object";
|
|
2002
|
+
readonly properties: {
|
|
2003
|
+
readonly kind: {
|
|
2004
|
+
readonly const: "number";
|
|
2005
|
+
};
|
|
2006
|
+
readonly value: {
|
|
2007
|
+
readonly type: "number";
|
|
2008
|
+
};
|
|
2009
|
+
};
|
|
2010
|
+
readonly required: readonly ["kind", "value"];
|
|
2011
|
+
readonly additionalProperties: false;
|
|
2012
|
+
}, {
|
|
2013
|
+
readonly type: "object";
|
|
2014
|
+
readonly properties: {
|
|
2015
|
+
readonly kind: {
|
|
2016
|
+
readonly const: "boolean";
|
|
2017
|
+
};
|
|
2018
|
+
readonly value: {
|
|
2019
|
+
readonly type: "boolean";
|
|
2020
|
+
};
|
|
2021
|
+
};
|
|
2022
|
+
readonly required: readonly ["kind", "value"];
|
|
2023
|
+
readonly additionalProperties: false;
|
|
2024
|
+
}, {
|
|
2025
|
+
readonly type: "object";
|
|
2026
|
+
readonly properties: {
|
|
2027
|
+
readonly kind: {
|
|
2028
|
+
readonly const: "list";
|
|
2029
|
+
};
|
|
2030
|
+
readonly values: {
|
|
2031
|
+
readonly type: "array";
|
|
2032
|
+
readonly maxItems: 256;
|
|
2033
|
+
readonly items: {
|
|
2034
|
+
readonly type: "object";
|
|
2035
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2036
|
+
readonly properties: {
|
|
2037
|
+
readonly kind: {
|
|
2038
|
+
readonly type: "string";
|
|
2039
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2040
|
+
};
|
|
2041
|
+
};
|
|
2042
|
+
readonly required: readonly ["kind"];
|
|
2043
|
+
readonly additionalProperties: true;
|
|
2044
|
+
};
|
|
2045
|
+
};
|
|
2046
|
+
};
|
|
2047
|
+
readonly required: readonly ["kind", "values"];
|
|
2048
|
+
readonly additionalProperties: false;
|
|
2049
|
+
}, {
|
|
2050
|
+
readonly type: "object";
|
|
2051
|
+
readonly properties: {
|
|
2052
|
+
readonly kind: {
|
|
2053
|
+
readonly const: "block";
|
|
2054
|
+
};
|
|
2055
|
+
readonly entries: {
|
|
2056
|
+
readonly type: "array";
|
|
2057
|
+
readonly maxItems: 256;
|
|
2058
|
+
readonly items: {
|
|
2059
|
+
readonly type: "object";
|
|
2060
|
+
readonly properties: {
|
|
2061
|
+
readonly key: {
|
|
2062
|
+
readonly type: "string";
|
|
2063
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2064
|
+
};
|
|
2065
|
+
readonly value: {
|
|
2066
|
+
readonly type: "object";
|
|
2067
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2068
|
+
readonly properties: {
|
|
2069
|
+
readonly kind: {
|
|
2070
|
+
readonly type: "string";
|
|
2071
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2072
|
+
};
|
|
2073
|
+
};
|
|
2074
|
+
readonly required: readonly ["kind"];
|
|
2075
|
+
readonly additionalProperties: true;
|
|
2076
|
+
};
|
|
2077
|
+
};
|
|
2078
|
+
readonly required: readonly ["key", "value"];
|
|
2079
|
+
readonly additionalProperties: false;
|
|
2080
|
+
};
|
|
2081
|
+
};
|
|
2082
|
+
};
|
|
2083
|
+
readonly required: readonly ["kind", "entries"];
|
|
2084
|
+
readonly additionalProperties: false;
|
|
2085
|
+
}];
|
|
2086
|
+
};
|
|
2087
|
+
};
|
|
2088
|
+
readonly required: readonly ["key", "value"];
|
|
2089
|
+
readonly additionalProperties: false;
|
|
2090
|
+
};
|
|
2091
|
+
};
|
|
2092
|
+
};
|
|
2093
|
+
readonly required: readonly ["operation", "target", "name"];
|
|
2094
|
+
readonly additionalProperties: false;
|
|
2095
|
+
}, {
|
|
2096
|
+
readonly type: "object";
|
|
2097
|
+
readonly properties: {
|
|
2098
|
+
readonly operation: {
|
|
2099
|
+
readonly const: "append_trigger_condition";
|
|
2100
|
+
};
|
|
2101
|
+
readonly target: {
|
|
2102
|
+
readonly type: "string";
|
|
2103
|
+
};
|
|
2104
|
+
readonly condition: {
|
|
2105
|
+
readonly type: "object";
|
|
2106
|
+
readonly properties: {
|
|
2107
|
+
readonly key: {
|
|
2108
|
+
readonly type: "string";
|
|
2109
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2110
|
+
};
|
|
2111
|
+
readonly value: {
|
|
2112
|
+
readonly oneOf: readonly [{
|
|
2113
|
+
readonly type: "object";
|
|
2114
|
+
readonly properties: {
|
|
2115
|
+
readonly kind: {
|
|
2116
|
+
readonly const: "identifier";
|
|
2117
|
+
};
|
|
2118
|
+
readonly value: {
|
|
2119
|
+
readonly type: "string";
|
|
2120
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2121
|
+
};
|
|
2122
|
+
};
|
|
2123
|
+
readonly required: readonly ["kind", "value"];
|
|
2124
|
+
readonly additionalProperties: false;
|
|
2125
|
+
}, {
|
|
2126
|
+
readonly type: "object";
|
|
2127
|
+
readonly properties: {
|
|
2128
|
+
readonly kind: {
|
|
2129
|
+
readonly const: "string";
|
|
2130
|
+
};
|
|
2131
|
+
readonly value: {
|
|
2132
|
+
readonly type: "string";
|
|
2133
|
+
readonly maxLength: 4096;
|
|
2134
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2135
|
+
};
|
|
2136
|
+
};
|
|
2137
|
+
readonly required: readonly ["kind", "value"];
|
|
2138
|
+
readonly additionalProperties: false;
|
|
2139
|
+
}, {
|
|
2140
|
+
readonly type: "object";
|
|
2141
|
+
readonly properties: {
|
|
2142
|
+
readonly kind: {
|
|
2143
|
+
readonly const: "number";
|
|
2144
|
+
};
|
|
2145
|
+
readonly value: {
|
|
2146
|
+
readonly type: "number";
|
|
2147
|
+
};
|
|
2148
|
+
};
|
|
2149
|
+
readonly required: readonly ["kind", "value"];
|
|
2150
|
+
readonly additionalProperties: false;
|
|
2151
|
+
}, {
|
|
2152
|
+
readonly type: "object";
|
|
2153
|
+
readonly properties: {
|
|
2154
|
+
readonly kind: {
|
|
2155
|
+
readonly const: "boolean";
|
|
2156
|
+
};
|
|
2157
|
+
readonly value: {
|
|
2158
|
+
readonly type: "boolean";
|
|
2159
|
+
};
|
|
2160
|
+
};
|
|
2161
|
+
readonly required: readonly ["kind", "value"];
|
|
2162
|
+
readonly additionalProperties: false;
|
|
2163
|
+
}, {
|
|
2164
|
+
readonly type: "object";
|
|
2165
|
+
readonly properties: {
|
|
2166
|
+
readonly kind: {
|
|
2167
|
+
readonly const: "list";
|
|
2168
|
+
};
|
|
2169
|
+
readonly values: {
|
|
2170
|
+
readonly type: "array";
|
|
2171
|
+
readonly maxItems: 256;
|
|
2172
|
+
readonly items: {
|
|
2173
|
+
readonly type: "object";
|
|
2174
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2175
|
+
readonly properties: {
|
|
2176
|
+
readonly kind: {
|
|
2177
|
+
readonly type: "string";
|
|
2178
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2179
|
+
};
|
|
2180
|
+
};
|
|
2181
|
+
readonly required: readonly ["kind"];
|
|
2182
|
+
readonly additionalProperties: true;
|
|
2183
|
+
};
|
|
2184
|
+
};
|
|
2185
|
+
};
|
|
2186
|
+
readonly required: readonly ["kind", "values"];
|
|
2187
|
+
readonly additionalProperties: false;
|
|
2188
|
+
}, {
|
|
2189
|
+
readonly type: "object";
|
|
2190
|
+
readonly properties: {
|
|
2191
|
+
readonly kind: {
|
|
2192
|
+
readonly const: "block";
|
|
2193
|
+
};
|
|
2194
|
+
readonly entries: {
|
|
2195
|
+
readonly type: "array";
|
|
2196
|
+
readonly maxItems: 256;
|
|
2197
|
+
readonly items: {
|
|
2198
|
+
readonly type: "object";
|
|
2199
|
+
readonly properties: {
|
|
2200
|
+
readonly key: {
|
|
2201
|
+
readonly type: "string";
|
|
2202
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2203
|
+
};
|
|
2204
|
+
readonly value: {
|
|
2205
|
+
readonly type: "object";
|
|
2206
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2207
|
+
readonly properties: {
|
|
2208
|
+
readonly kind: {
|
|
2209
|
+
readonly type: "string";
|
|
2210
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2211
|
+
};
|
|
2212
|
+
};
|
|
2213
|
+
readonly required: readonly ["kind"];
|
|
2214
|
+
readonly additionalProperties: true;
|
|
2215
|
+
};
|
|
2216
|
+
};
|
|
2217
|
+
readonly required: readonly ["key", "value"];
|
|
2218
|
+
readonly additionalProperties: false;
|
|
2219
|
+
};
|
|
2220
|
+
};
|
|
2221
|
+
};
|
|
2222
|
+
readonly required: readonly ["kind", "entries"];
|
|
2223
|
+
readonly additionalProperties: false;
|
|
2224
|
+
}];
|
|
2225
|
+
};
|
|
2226
|
+
};
|
|
2227
|
+
readonly required: readonly ["key", "value"];
|
|
2228
|
+
readonly additionalProperties: false;
|
|
2229
|
+
};
|
|
2230
|
+
readonly containerPath: {
|
|
2231
|
+
readonly type: "array";
|
|
2232
|
+
readonly maxItems: 8;
|
|
2233
|
+
readonly items: {
|
|
2234
|
+
readonly type: "string";
|
|
2235
|
+
};
|
|
2236
|
+
};
|
|
2237
|
+
};
|
|
2238
|
+
readonly required: readonly ["operation", "target", "condition"];
|
|
2239
|
+
readonly additionalProperties: false;
|
|
2240
|
+
}, {
|
|
2241
|
+
readonly type: "object";
|
|
2242
|
+
readonly properties: {
|
|
2243
|
+
readonly operation: {
|
|
2244
|
+
readonly const: "instantiate_inline_script";
|
|
2245
|
+
};
|
|
2246
|
+
readonly target: {
|
|
2247
|
+
readonly type: "string";
|
|
2248
|
+
};
|
|
2249
|
+
readonly script: {
|
|
2250
|
+
readonly type: "string";
|
|
2251
|
+
readonly pattern: "^[A-Za-z0-9_.:@/-]+$";
|
|
2252
|
+
};
|
|
2253
|
+
readonly arguments: {
|
|
2254
|
+
readonly type: "array";
|
|
2255
|
+
readonly maxItems: 256;
|
|
2256
|
+
readonly items: {
|
|
2257
|
+
readonly type: "object";
|
|
2258
|
+
readonly properties: {
|
|
2259
|
+
readonly key: {
|
|
2260
|
+
readonly type: "string";
|
|
2261
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2262
|
+
};
|
|
2263
|
+
readonly value: {
|
|
2264
|
+
readonly oneOf: readonly [{
|
|
2265
|
+
readonly type: "object";
|
|
2266
|
+
readonly properties: {
|
|
2267
|
+
readonly kind: {
|
|
2268
|
+
readonly const: "identifier";
|
|
2269
|
+
};
|
|
2270
|
+
readonly value: {
|
|
2271
|
+
readonly type: "string";
|
|
2272
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2273
|
+
};
|
|
2274
|
+
};
|
|
2275
|
+
readonly required: readonly ["kind", "value"];
|
|
2276
|
+
readonly additionalProperties: false;
|
|
2277
|
+
}, {
|
|
2278
|
+
readonly type: "object";
|
|
2279
|
+
readonly properties: {
|
|
2280
|
+
readonly kind: {
|
|
2281
|
+
readonly const: "string";
|
|
2282
|
+
};
|
|
2283
|
+
readonly value: {
|
|
2284
|
+
readonly type: "string";
|
|
2285
|
+
readonly maxLength: 4096;
|
|
2286
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2287
|
+
};
|
|
2288
|
+
};
|
|
2289
|
+
readonly required: readonly ["kind", "value"];
|
|
2290
|
+
readonly additionalProperties: false;
|
|
2291
|
+
}, {
|
|
2292
|
+
readonly type: "object";
|
|
2293
|
+
readonly properties: {
|
|
2294
|
+
readonly kind: {
|
|
2295
|
+
readonly const: "number";
|
|
2296
|
+
};
|
|
2297
|
+
readonly value: {
|
|
2298
|
+
readonly type: "number";
|
|
2299
|
+
};
|
|
2300
|
+
};
|
|
2301
|
+
readonly required: readonly ["kind", "value"];
|
|
2302
|
+
readonly additionalProperties: false;
|
|
2303
|
+
}, {
|
|
2304
|
+
readonly type: "object";
|
|
2305
|
+
readonly properties: {
|
|
2306
|
+
readonly kind: {
|
|
2307
|
+
readonly const: "boolean";
|
|
2308
|
+
};
|
|
2309
|
+
readonly value: {
|
|
2310
|
+
readonly type: "boolean";
|
|
2311
|
+
};
|
|
2312
|
+
};
|
|
2313
|
+
readonly required: readonly ["kind", "value"];
|
|
2314
|
+
readonly additionalProperties: false;
|
|
2315
|
+
}, {
|
|
2316
|
+
readonly type: "object";
|
|
2317
|
+
readonly properties: {
|
|
2318
|
+
readonly kind: {
|
|
2319
|
+
readonly const: "list";
|
|
2320
|
+
};
|
|
2321
|
+
readonly values: {
|
|
2322
|
+
readonly type: "array";
|
|
2323
|
+
readonly maxItems: 256;
|
|
2324
|
+
readonly items: {
|
|
2325
|
+
readonly type: "object";
|
|
2326
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2327
|
+
readonly properties: {
|
|
2328
|
+
readonly kind: {
|
|
2329
|
+
readonly type: "string";
|
|
2330
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2331
|
+
};
|
|
2332
|
+
};
|
|
2333
|
+
readonly required: readonly ["kind"];
|
|
2334
|
+
readonly additionalProperties: true;
|
|
2335
|
+
};
|
|
2336
|
+
};
|
|
2337
|
+
};
|
|
2338
|
+
readonly required: readonly ["kind", "values"];
|
|
2339
|
+
readonly additionalProperties: false;
|
|
2340
|
+
}, {
|
|
2341
|
+
readonly type: "object";
|
|
2342
|
+
readonly properties: {
|
|
2343
|
+
readonly kind: {
|
|
2344
|
+
readonly const: "block";
|
|
2345
|
+
};
|
|
2346
|
+
readonly entries: {
|
|
2347
|
+
readonly type: "array";
|
|
2348
|
+
readonly maxItems: 256;
|
|
2349
|
+
readonly items: {
|
|
2350
|
+
readonly type: "object";
|
|
2351
|
+
readonly properties: {
|
|
2352
|
+
readonly key: {
|
|
2353
|
+
readonly type: "string";
|
|
2354
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2355
|
+
};
|
|
2356
|
+
readonly value: {
|
|
2357
|
+
readonly type: "object";
|
|
2358
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2359
|
+
readonly properties: {
|
|
2360
|
+
readonly kind: {
|
|
2361
|
+
readonly type: "string";
|
|
2362
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2363
|
+
};
|
|
2364
|
+
};
|
|
2365
|
+
readonly required: readonly ["kind"];
|
|
2366
|
+
readonly additionalProperties: true;
|
|
2367
|
+
};
|
|
2368
|
+
};
|
|
2369
|
+
readonly required: readonly ["key", "value"];
|
|
2370
|
+
readonly additionalProperties: false;
|
|
2371
|
+
};
|
|
2372
|
+
};
|
|
2373
|
+
};
|
|
2374
|
+
readonly required: readonly ["kind", "entries"];
|
|
2375
|
+
readonly additionalProperties: false;
|
|
2376
|
+
}];
|
|
2377
|
+
};
|
|
2378
|
+
};
|
|
2379
|
+
readonly required: readonly ["key", "value"];
|
|
2380
|
+
readonly additionalProperties: false;
|
|
2381
|
+
};
|
|
2382
|
+
};
|
|
2383
|
+
readonly containerPath: {
|
|
2384
|
+
readonly type: "array";
|
|
2385
|
+
readonly maxItems: 8;
|
|
2386
|
+
readonly items: {
|
|
2387
|
+
readonly type: "string";
|
|
2388
|
+
};
|
|
2389
|
+
};
|
|
2390
|
+
};
|
|
2391
|
+
readonly required: readonly ["operation", "target", "script"];
|
|
2392
|
+
readonly additionalProperties: false;
|
|
2393
|
+
}, {
|
|
2394
|
+
readonly type: "object";
|
|
2395
|
+
readonly properties: {
|
|
2396
|
+
readonly operation: {
|
|
2397
|
+
readonly const: "set_definition_field";
|
|
2398
|
+
};
|
|
2399
|
+
readonly target: {
|
|
2400
|
+
readonly type: "string";
|
|
2401
|
+
};
|
|
2402
|
+
readonly path: {
|
|
2403
|
+
readonly type: "array";
|
|
2404
|
+
readonly minItems: 1;
|
|
2405
|
+
readonly maxItems: 8;
|
|
2406
|
+
readonly items: {
|
|
2407
|
+
readonly type: "object";
|
|
2408
|
+
readonly properties: {
|
|
2409
|
+
readonly key: {
|
|
2410
|
+
readonly type: "string";
|
|
2411
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2412
|
+
};
|
|
2413
|
+
readonly occurrence: {
|
|
2414
|
+
readonly type: "integer";
|
|
2415
|
+
readonly minimum: 1;
|
|
2416
|
+
};
|
|
2417
|
+
};
|
|
2418
|
+
readonly required: readonly ["key", "occurrence"];
|
|
2419
|
+
readonly additionalProperties: false;
|
|
2420
|
+
};
|
|
2421
|
+
};
|
|
2422
|
+
readonly value: {
|
|
2423
|
+
readonly oneOf: readonly [{
|
|
2424
|
+
readonly type: "object";
|
|
2425
|
+
readonly properties: {
|
|
2426
|
+
readonly kind: {
|
|
2427
|
+
readonly const: "identifier";
|
|
2428
|
+
};
|
|
2429
|
+
readonly value: {
|
|
2430
|
+
readonly type: "string";
|
|
2431
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2432
|
+
};
|
|
2433
|
+
};
|
|
2434
|
+
readonly required: readonly ["kind", "value"];
|
|
2435
|
+
readonly additionalProperties: false;
|
|
2436
|
+
}, {
|
|
2437
|
+
readonly type: "object";
|
|
2438
|
+
readonly properties: {
|
|
2439
|
+
readonly kind: {
|
|
2440
|
+
readonly const: "string";
|
|
2441
|
+
};
|
|
2442
|
+
readonly value: {
|
|
2443
|
+
readonly type: "string";
|
|
2444
|
+
readonly maxLength: 4096;
|
|
2445
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2446
|
+
};
|
|
2447
|
+
};
|
|
2448
|
+
readonly required: readonly ["kind", "value"];
|
|
2449
|
+
readonly additionalProperties: false;
|
|
2450
|
+
}, {
|
|
2451
|
+
readonly type: "object";
|
|
2452
|
+
readonly properties: {
|
|
2453
|
+
readonly kind: {
|
|
2454
|
+
readonly const: "number";
|
|
2455
|
+
};
|
|
2456
|
+
readonly value: {
|
|
2457
|
+
readonly type: "number";
|
|
2458
|
+
};
|
|
2459
|
+
};
|
|
2460
|
+
readonly required: readonly ["kind", "value"];
|
|
2461
|
+
readonly additionalProperties: false;
|
|
2462
|
+
}, {
|
|
2463
|
+
readonly type: "object";
|
|
2464
|
+
readonly properties: {
|
|
2465
|
+
readonly kind: {
|
|
2466
|
+
readonly const: "boolean";
|
|
2467
|
+
};
|
|
2468
|
+
readonly value: {
|
|
2469
|
+
readonly type: "boolean";
|
|
2470
|
+
};
|
|
2471
|
+
};
|
|
2472
|
+
readonly required: readonly ["kind", "value"];
|
|
2473
|
+
readonly additionalProperties: false;
|
|
2474
|
+
}, {
|
|
2475
|
+
readonly type: "object";
|
|
2476
|
+
readonly properties: {
|
|
2477
|
+
readonly kind: {
|
|
2478
|
+
readonly const: "list";
|
|
2479
|
+
};
|
|
2480
|
+
readonly values: {
|
|
2481
|
+
readonly type: "array";
|
|
2482
|
+
readonly maxItems: 256;
|
|
2483
|
+
readonly items: {
|
|
2484
|
+
readonly type: "object";
|
|
2485
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2486
|
+
readonly properties: {
|
|
2487
|
+
readonly kind: {
|
|
2488
|
+
readonly type: "string";
|
|
2489
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2490
|
+
};
|
|
2491
|
+
};
|
|
2492
|
+
readonly required: readonly ["kind"];
|
|
2493
|
+
readonly additionalProperties: true;
|
|
2494
|
+
};
|
|
2495
|
+
};
|
|
2496
|
+
};
|
|
2497
|
+
readonly required: readonly ["kind", "values"];
|
|
2498
|
+
readonly additionalProperties: false;
|
|
2499
|
+
}, {
|
|
2500
|
+
readonly type: "object";
|
|
2501
|
+
readonly properties: {
|
|
2502
|
+
readonly kind: {
|
|
2503
|
+
readonly const: "block";
|
|
2504
|
+
};
|
|
2505
|
+
readonly entries: {
|
|
2506
|
+
readonly type: "array";
|
|
2507
|
+
readonly maxItems: 256;
|
|
2508
|
+
readonly items: {
|
|
2509
|
+
readonly type: "object";
|
|
2510
|
+
readonly properties: {
|
|
2511
|
+
readonly key: {
|
|
2512
|
+
readonly type: "string";
|
|
2513
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2514
|
+
};
|
|
2515
|
+
readonly value: {
|
|
2516
|
+
readonly type: "object";
|
|
2517
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2518
|
+
readonly properties: {
|
|
2519
|
+
readonly kind: {
|
|
2520
|
+
readonly type: "string";
|
|
2521
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2522
|
+
};
|
|
2523
|
+
};
|
|
2524
|
+
readonly required: readonly ["kind"];
|
|
2525
|
+
readonly additionalProperties: true;
|
|
2526
|
+
};
|
|
2527
|
+
};
|
|
2528
|
+
readonly required: readonly ["key", "value"];
|
|
2529
|
+
readonly additionalProperties: false;
|
|
2530
|
+
};
|
|
2531
|
+
};
|
|
2532
|
+
};
|
|
2533
|
+
readonly required: readonly ["kind", "entries"];
|
|
2534
|
+
readonly additionalProperties: false;
|
|
2535
|
+
}];
|
|
2536
|
+
};
|
|
2537
|
+
};
|
|
2538
|
+
readonly required: readonly ["operation", "target", "path", "value"];
|
|
2539
|
+
readonly additionalProperties: false;
|
|
2540
|
+
}, {
|
|
2541
|
+
readonly type: "object";
|
|
2542
|
+
readonly properties: {
|
|
2543
|
+
readonly operation: {
|
|
2544
|
+
readonly const: "delete_definition_field";
|
|
2545
|
+
};
|
|
2546
|
+
readonly target: {
|
|
2547
|
+
readonly type: "string";
|
|
2548
|
+
};
|
|
2549
|
+
readonly path: {
|
|
2550
|
+
readonly type: "array";
|
|
2551
|
+
readonly minItems: 1;
|
|
2552
|
+
readonly maxItems: 8;
|
|
2553
|
+
readonly items: {
|
|
2554
|
+
readonly type: "object";
|
|
2555
|
+
readonly properties: {
|
|
2556
|
+
readonly key: {
|
|
2557
|
+
readonly type: "string";
|
|
2558
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2559
|
+
};
|
|
2560
|
+
readonly occurrence: {
|
|
2561
|
+
readonly type: "integer";
|
|
2562
|
+
readonly minimum: 1;
|
|
2563
|
+
};
|
|
2564
|
+
};
|
|
2565
|
+
readonly required: readonly ["key", "occurrence"];
|
|
2566
|
+
readonly additionalProperties: false;
|
|
2567
|
+
};
|
|
2568
|
+
};
|
|
2569
|
+
};
|
|
2570
|
+
readonly required: readonly ["operation", "target", "path"];
|
|
2571
|
+
readonly additionalProperties: false;
|
|
2572
|
+
}, {
|
|
2573
|
+
readonly type: "object";
|
|
2574
|
+
readonly properties: {
|
|
2575
|
+
readonly operation: {
|
|
2576
|
+
readonly const: "add_definition_field";
|
|
2577
|
+
};
|
|
2578
|
+
readonly target: {
|
|
2579
|
+
readonly type: "string";
|
|
2580
|
+
};
|
|
2581
|
+
readonly path: {
|
|
2582
|
+
readonly type: "array";
|
|
2583
|
+
readonly minItems: 0;
|
|
2584
|
+
readonly maxItems: 8;
|
|
2585
|
+
readonly items: {
|
|
2586
|
+
readonly type: "object";
|
|
2587
|
+
readonly properties: {
|
|
2588
|
+
readonly key: {
|
|
2589
|
+
readonly type: "string";
|
|
2590
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2591
|
+
};
|
|
2592
|
+
readonly occurrence: {
|
|
2593
|
+
readonly type: "integer";
|
|
2594
|
+
readonly minimum: 1;
|
|
2595
|
+
};
|
|
2596
|
+
};
|
|
2597
|
+
readonly required: readonly ["key", "occurrence"];
|
|
2598
|
+
readonly additionalProperties: false;
|
|
2599
|
+
};
|
|
2600
|
+
};
|
|
2601
|
+
readonly entry: {
|
|
2602
|
+
readonly type: "object";
|
|
2603
|
+
readonly properties: {
|
|
2604
|
+
readonly key: {
|
|
2605
|
+
readonly type: "string";
|
|
2606
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2607
|
+
};
|
|
2608
|
+
readonly value: {
|
|
2609
|
+
readonly oneOf: readonly [{
|
|
2610
|
+
readonly type: "object";
|
|
2611
|
+
readonly properties: {
|
|
2612
|
+
readonly kind: {
|
|
2613
|
+
readonly const: "identifier";
|
|
2614
|
+
};
|
|
2615
|
+
readonly value: {
|
|
2616
|
+
readonly type: "string";
|
|
2617
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2618
|
+
};
|
|
2619
|
+
};
|
|
2620
|
+
readonly required: readonly ["kind", "value"];
|
|
2621
|
+
readonly additionalProperties: false;
|
|
2622
|
+
}, {
|
|
2623
|
+
readonly type: "object";
|
|
2624
|
+
readonly properties: {
|
|
2625
|
+
readonly kind: {
|
|
2626
|
+
readonly const: "string";
|
|
2627
|
+
};
|
|
2628
|
+
readonly value: {
|
|
2629
|
+
readonly type: "string";
|
|
2630
|
+
readonly maxLength: 4096;
|
|
2631
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2632
|
+
};
|
|
2633
|
+
};
|
|
2634
|
+
readonly required: readonly ["kind", "value"];
|
|
2635
|
+
readonly additionalProperties: false;
|
|
2636
|
+
}, {
|
|
2637
|
+
readonly type: "object";
|
|
2638
|
+
readonly properties: {
|
|
2639
|
+
readonly kind: {
|
|
2640
|
+
readonly const: "number";
|
|
2641
|
+
};
|
|
2642
|
+
readonly value: {
|
|
2643
|
+
readonly type: "number";
|
|
2644
|
+
};
|
|
2645
|
+
};
|
|
2646
|
+
readonly required: readonly ["kind", "value"];
|
|
2647
|
+
readonly additionalProperties: false;
|
|
2648
|
+
}, {
|
|
2649
|
+
readonly type: "object";
|
|
2650
|
+
readonly properties: {
|
|
2651
|
+
readonly kind: {
|
|
2652
|
+
readonly const: "boolean";
|
|
2653
|
+
};
|
|
2654
|
+
readonly value: {
|
|
2655
|
+
readonly type: "boolean";
|
|
2656
|
+
};
|
|
2657
|
+
};
|
|
2658
|
+
readonly required: readonly ["kind", "value"];
|
|
2659
|
+
readonly additionalProperties: false;
|
|
2660
|
+
}, {
|
|
2661
|
+
readonly type: "object";
|
|
2662
|
+
readonly properties: {
|
|
2663
|
+
readonly kind: {
|
|
2664
|
+
readonly const: "list";
|
|
2665
|
+
};
|
|
2666
|
+
readonly values: {
|
|
2667
|
+
readonly type: "array";
|
|
2668
|
+
readonly maxItems: 256;
|
|
2669
|
+
readonly items: {
|
|
2670
|
+
readonly type: "object";
|
|
2671
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2672
|
+
readonly properties: {
|
|
2673
|
+
readonly kind: {
|
|
2674
|
+
readonly type: "string";
|
|
2675
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2676
|
+
};
|
|
2677
|
+
};
|
|
2678
|
+
readonly required: readonly ["kind"];
|
|
2679
|
+
readonly additionalProperties: true;
|
|
2680
|
+
};
|
|
2681
|
+
};
|
|
2682
|
+
};
|
|
2683
|
+
readonly required: readonly ["kind", "values"];
|
|
2684
|
+
readonly additionalProperties: false;
|
|
2685
|
+
}, {
|
|
2686
|
+
readonly type: "object";
|
|
2687
|
+
readonly properties: {
|
|
2688
|
+
readonly kind: {
|
|
2689
|
+
readonly const: "block";
|
|
2690
|
+
};
|
|
2691
|
+
readonly entries: {
|
|
2692
|
+
readonly type: "array";
|
|
2693
|
+
readonly maxItems: 256;
|
|
2694
|
+
readonly items: {
|
|
2695
|
+
readonly type: "object";
|
|
2696
|
+
readonly properties: {
|
|
2697
|
+
readonly key: {
|
|
2698
|
+
readonly type: "string";
|
|
2699
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2700
|
+
};
|
|
2701
|
+
readonly value: {
|
|
2702
|
+
readonly type: "object";
|
|
2703
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2704
|
+
readonly properties: {
|
|
2705
|
+
readonly kind: {
|
|
2706
|
+
readonly type: "string";
|
|
2707
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2708
|
+
};
|
|
2709
|
+
};
|
|
2710
|
+
readonly required: readonly ["kind"];
|
|
2711
|
+
readonly additionalProperties: true;
|
|
2712
|
+
};
|
|
2713
|
+
};
|
|
2714
|
+
readonly required: readonly ["key", "value"];
|
|
2715
|
+
readonly additionalProperties: false;
|
|
2716
|
+
};
|
|
2717
|
+
};
|
|
2718
|
+
};
|
|
2719
|
+
readonly required: readonly ["kind", "entries"];
|
|
2720
|
+
readonly additionalProperties: false;
|
|
2721
|
+
}];
|
|
2722
|
+
};
|
|
2723
|
+
};
|
|
2724
|
+
readonly required: readonly ["key", "value"];
|
|
2725
|
+
readonly additionalProperties: false;
|
|
2726
|
+
};
|
|
2727
|
+
};
|
|
2728
|
+
readonly required: readonly ["operation", "target", "path", "entry"];
|
|
2729
|
+
readonly additionalProperties: false;
|
|
2730
|
+
}, {
|
|
2731
|
+
readonly type: "object";
|
|
2732
|
+
readonly properties: {
|
|
2733
|
+
readonly operation: {
|
|
2734
|
+
readonly const: "add_scripted_effect_call";
|
|
2735
|
+
};
|
|
2736
|
+
readonly target: {
|
|
2737
|
+
readonly type: "string";
|
|
2738
|
+
};
|
|
2739
|
+
readonly script: {
|
|
2740
|
+
readonly type: "string";
|
|
2741
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2742
|
+
};
|
|
2743
|
+
readonly arguments: {
|
|
2744
|
+
readonly type: "array";
|
|
2745
|
+
readonly maxItems: 256;
|
|
2746
|
+
readonly items: {
|
|
2747
|
+
readonly type: "object";
|
|
2748
|
+
readonly properties: {
|
|
2749
|
+
readonly key: {
|
|
2750
|
+
readonly type: "string";
|
|
2751
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2752
|
+
};
|
|
2753
|
+
readonly value: {
|
|
2754
|
+
readonly oneOf: readonly [{
|
|
2755
|
+
readonly type: "object";
|
|
2756
|
+
readonly properties: {
|
|
2757
|
+
readonly kind: {
|
|
2758
|
+
readonly const: "identifier";
|
|
2759
|
+
};
|
|
2760
|
+
readonly value: {
|
|
2761
|
+
readonly type: "string";
|
|
2762
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2763
|
+
};
|
|
2764
|
+
};
|
|
2765
|
+
readonly required: readonly ["kind", "value"];
|
|
2766
|
+
readonly additionalProperties: false;
|
|
2767
|
+
}, {
|
|
2768
|
+
readonly type: "object";
|
|
2769
|
+
readonly properties: {
|
|
2770
|
+
readonly kind: {
|
|
2771
|
+
readonly const: "string";
|
|
2772
|
+
};
|
|
2773
|
+
readonly value: {
|
|
2774
|
+
readonly type: "string";
|
|
2775
|
+
readonly maxLength: 4096;
|
|
2776
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2777
|
+
};
|
|
2778
|
+
};
|
|
2779
|
+
readonly required: readonly ["kind", "value"];
|
|
2780
|
+
readonly additionalProperties: false;
|
|
2781
|
+
}, {
|
|
2782
|
+
readonly type: "object";
|
|
2783
|
+
readonly properties: {
|
|
2784
|
+
readonly kind: {
|
|
2785
|
+
readonly const: "number";
|
|
2786
|
+
};
|
|
2787
|
+
readonly value: {
|
|
2788
|
+
readonly type: "number";
|
|
2789
|
+
};
|
|
2790
|
+
};
|
|
2791
|
+
readonly required: readonly ["kind", "value"];
|
|
2792
|
+
readonly additionalProperties: false;
|
|
2793
|
+
}, {
|
|
2794
|
+
readonly type: "object";
|
|
2795
|
+
readonly properties: {
|
|
2796
|
+
readonly kind: {
|
|
2797
|
+
readonly const: "boolean";
|
|
2798
|
+
};
|
|
2799
|
+
readonly value: {
|
|
2800
|
+
readonly type: "boolean";
|
|
2801
|
+
};
|
|
2802
|
+
};
|
|
2803
|
+
readonly required: readonly ["kind", "value"];
|
|
2804
|
+
readonly additionalProperties: false;
|
|
2805
|
+
}, {
|
|
2806
|
+
readonly type: "object";
|
|
2807
|
+
readonly properties: {
|
|
2808
|
+
readonly kind: {
|
|
2809
|
+
readonly const: "list";
|
|
2810
|
+
};
|
|
2811
|
+
readonly values: {
|
|
2812
|
+
readonly type: "array";
|
|
2813
|
+
readonly maxItems: 256;
|
|
2814
|
+
readonly items: {
|
|
2815
|
+
readonly type: "object";
|
|
2816
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2817
|
+
readonly properties: {
|
|
2818
|
+
readonly kind: {
|
|
2819
|
+
readonly type: "string";
|
|
2820
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2821
|
+
};
|
|
2822
|
+
};
|
|
2823
|
+
readonly required: readonly ["kind"];
|
|
2824
|
+
readonly additionalProperties: true;
|
|
2825
|
+
};
|
|
2826
|
+
};
|
|
2827
|
+
};
|
|
2828
|
+
readonly required: readonly ["kind", "values"];
|
|
2829
|
+
readonly additionalProperties: false;
|
|
2830
|
+
}, {
|
|
2831
|
+
readonly type: "object";
|
|
2832
|
+
readonly properties: {
|
|
2833
|
+
readonly kind: {
|
|
2834
|
+
readonly const: "block";
|
|
2835
|
+
};
|
|
2836
|
+
readonly entries: {
|
|
2837
|
+
readonly type: "array";
|
|
2838
|
+
readonly maxItems: 256;
|
|
2839
|
+
readonly items: {
|
|
2840
|
+
readonly type: "object";
|
|
2841
|
+
readonly properties: {
|
|
2842
|
+
readonly key: {
|
|
2843
|
+
readonly type: "string";
|
|
2844
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2845
|
+
};
|
|
2846
|
+
readonly value: {
|
|
2847
|
+
readonly type: "object";
|
|
2848
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2849
|
+
readonly properties: {
|
|
2850
|
+
readonly kind: {
|
|
2851
|
+
readonly type: "string";
|
|
2852
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2853
|
+
};
|
|
2854
|
+
};
|
|
2855
|
+
readonly required: readonly ["kind"];
|
|
2856
|
+
readonly additionalProperties: true;
|
|
2857
|
+
};
|
|
2858
|
+
};
|
|
2859
|
+
readonly required: readonly ["key", "value"];
|
|
2860
|
+
readonly additionalProperties: false;
|
|
2861
|
+
};
|
|
2862
|
+
};
|
|
2863
|
+
};
|
|
2864
|
+
readonly required: readonly ["kind", "entries"];
|
|
2865
|
+
readonly additionalProperties: false;
|
|
2866
|
+
}];
|
|
2867
|
+
};
|
|
2868
|
+
};
|
|
2869
|
+
readonly required: readonly ["key", "value"];
|
|
2870
|
+
readonly additionalProperties: false;
|
|
2871
|
+
};
|
|
2872
|
+
};
|
|
2873
|
+
readonly containerPath: {
|
|
2874
|
+
readonly type: "array";
|
|
2875
|
+
readonly maxItems: 8;
|
|
2876
|
+
readonly items: {
|
|
2877
|
+
readonly type: "string";
|
|
2878
|
+
};
|
|
2879
|
+
};
|
|
2880
|
+
};
|
|
2881
|
+
readonly required: readonly ["operation", "target", "script"];
|
|
2882
|
+
readonly additionalProperties: false;
|
|
2883
|
+
}, {
|
|
2884
|
+
readonly type: "object";
|
|
2885
|
+
readonly properties: {
|
|
2886
|
+
readonly operation: {
|
|
2887
|
+
readonly const: "add_scripted_trigger_call";
|
|
2888
|
+
};
|
|
2889
|
+
readonly target: {
|
|
2890
|
+
readonly type: "string";
|
|
2891
|
+
};
|
|
2892
|
+
readonly script: {
|
|
2893
|
+
readonly type: "string";
|
|
2894
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2895
|
+
};
|
|
2896
|
+
readonly arguments: {
|
|
2897
|
+
readonly type: "array";
|
|
2898
|
+
readonly maxItems: 256;
|
|
2899
|
+
readonly items: {
|
|
2900
|
+
readonly type: "object";
|
|
2901
|
+
readonly properties: {
|
|
2902
|
+
readonly key: {
|
|
2903
|
+
readonly type: "string";
|
|
2904
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2905
|
+
};
|
|
2906
|
+
readonly value: {
|
|
2907
|
+
readonly oneOf: readonly [{
|
|
2908
|
+
readonly type: "object";
|
|
2909
|
+
readonly properties: {
|
|
2910
|
+
readonly kind: {
|
|
2911
|
+
readonly const: "identifier";
|
|
2912
|
+
};
|
|
2913
|
+
readonly value: {
|
|
2914
|
+
readonly type: "string";
|
|
2915
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2916
|
+
};
|
|
2917
|
+
};
|
|
2918
|
+
readonly required: readonly ["kind", "value"];
|
|
2919
|
+
readonly additionalProperties: false;
|
|
2920
|
+
}, {
|
|
2921
|
+
readonly type: "object";
|
|
2922
|
+
readonly properties: {
|
|
2923
|
+
readonly kind: {
|
|
2924
|
+
readonly const: "string";
|
|
2925
|
+
};
|
|
2926
|
+
readonly value: {
|
|
2927
|
+
readonly type: "string";
|
|
2928
|
+
readonly maxLength: 4096;
|
|
2929
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
2930
|
+
};
|
|
2931
|
+
};
|
|
2932
|
+
readonly required: readonly ["kind", "value"];
|
|
2933
|
+
readonly additionalProperties: false;
|
|
2934
|
+
}, {
|
|
2935
|
+
readonly type: "object";
|
|
2936
|
+
readonly properties: {
|
|
2937
|
+
readonly kind: {
|
|
2938
|
+
readonly const: "number";
|
|
2939
|
+
};
|
|
2940
|
+
readonly value: {
|
|
2941
|
+
readonly type: "number";
|
|
2942
|
+
};
|
|
2943
|
+
};
|
|
2944
|
+
readonly required: readonly ["kind", "value"];
|
|
2945
|
+
readonly additionalProperties: false;
|
|
2946
|
+
}, {
|
|
2947
|
+
readonly type: "object";
|
|
2948
|
+
readonly properties: {
|
|
2949
|
+
readonly kind: {
|
|
2950
|
+
readonly const: "boolean";
|
|
2951
|
+
};
|
|
2952
|
+
readonly value: {
|
|
2953
|
+
readonly type: "boolean";
|
|
2954
|
+
};
|
|
2955
|
+
};
|
|
2956
|
+
readonly required: readonly ["kind", "value"];
|
|
2957
|
+
readonly additionalProperties: false;
|
|
2958
|
+
}, {
|
|
2959
|
+
readonly type: "object";
|
|
2960
|
+
readonly properties: {
|
|
2961
|
+
readonly kind: {
|
|
2962
|
+
readonly const: "list";
|
|
2963
|
+
};
|
|
2964
|
+
readonly values: {
|
|
2965
|
+
readonly type: "array";
|
|
2966
|
+
readonly maxItems: 256;
|
|
2967
|
+
readonly items: {
|
|
2968
|
+
readonly type: "object";
|
|
2969
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
2970
|
+
readonly properties: {
|
|
2971
|
+
readonly kind: {
|
|
2972
|
+
readonly type: "string";
|
|
2973
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
2974
|
+
};
|
|
2975
|
+
};
|
|
2976
|
+
readonly required: readonly ["kind"];
|
|
2977
|
+
readonly additionalProperties: true;
|
|
2978
|
+
};
|
|
2979
|
+
};
|
|
2980
|
+
};
|
|
2981
|
+
readonly required: readonly ["kind", "values"];
|
|
2982
|
+
readonly additionalProperties: false;
|
|
2983
|
+
}, {
|
|
2984
|
+
readonly type: "object";
|
|
2985
|
+
readonly properties: {
|
|
2986
|
+
readonly kind: {
|
|
2987
|
+
readonly const: "block";
|
|
2988
|
+
};
|
|
2989
|
+
readonly entries: {
|
|
2990
|
+
readonly type: "array";
|
|
2991
|
+
readonly maxItems: 256;
|
|
2992
|
+
readonly items: {
|
|
2993
|
+
readonly type: "object";
|
|
2994
|
+
readonly properties: {
|
|
2995
|
+
readonly key: {
|
|
2996
|
+
readonly type: "string";
|
|
2997
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
2998
|
+
};
|
|
2999
|
+
readonly value: {
|
|
3000
|
+
readonly type: "object";
|
|
3001
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3002
|
+
readonly properties: {
|
|
3003
|
+
readonly kind: {
|
|
3004
|
+
readonly type: "string";
|
|
3005
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3006
|
+
};
|
|
3007
|
+
};
|
|
3008
|
+
readonly required: readonly ["kind"];
|
|
3009
|
+
readonly additionalProperties: true;
|
|
3010
|
+
};
|
|
3011
|
+
};
|
|
3012
|
+
readonly required: readonly ["key", "value"];
|
|
3013
|
+
readonly additionalProperties: false;
|
|
3014
|
+
};
|
|
3015
|
+
};
|
|
3016
|
+
};
|
|
3017
|
+
readonly required: readonly ["kind", "entries"];
|
|
3018
|
+
readonly additionalProperties: false;
|
|
3019
|
+
}];
|
|
3020
|
+
};
|
|
3021
|
+
};
|
|
3022
|
+
readonly required: readonly ["key", "value"];
|
|
3023
|
+
readonly additionalProperties: false;
|
|
3024
|
+
};
|
|
3025
|
+
};
|
|
3026
|
+
readonly containerPath: {
|
|
3027
|
+
readonly type: "array";
|
|
3028
|
+
readonly maxItems: 8;
|
|
3029
|
+
readonly items: {
|
|
3030
|
+
readonly type: "string";
|
|
3031
|
+
};
|
|
3032
|
+
};
|
|
3033
|
+
};
|
|
3034
|
+
readonly required: readonly ["operation", "target", "script"];
|
|
3035
|
+
readonly additionalProperties: false;
|
|
3036
|
+
}, {
|
|
3037
|
+
readonly type: "object";
|
|
3038
|
+
readonly properties: {
|
|
3039
|
+
readonly operation: {
|
|
3040
|
+
readonly const: "add_on_action_entry";
|
|
3041
|
+
};
|
|
3042
|
+
readonly target: {
|
|
3043
|
+
readonly type: "string";
|
|
3044
|
+
};
|
|
3045
|
+
readonly entry: {
|
|
3046
|
+
readonly type: "object";
|
|
3047
|
+
readonly properties: {
|
|
3048
|
+
readonly key: {
|
|
3049
|
+
readonly type: "string";
|
|
3050
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3051
|
+
};
|
|
3052
|
+
readonly value: {
|
|
3053
|
+
readonly oneOf: readonly [{
|
|
3054
|
+
readonly type: "object";
|
|
3055
|
+
readonly properties: {
|
|
3056
|
+
readonly kind: {
|
|
3057
|
+
readonly const: "identifier";
|
|
3058
|
+
};
|
|
3059
|
+
readonly value: {
|
|
3060
|
+
readonly type: "string";
|
|
3061
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3062
|
+
};
|
|
3063
|
+
};
|
|
3064
|
+
readonly required: readonly ["kind", "value"];
|
|
3065
|
+
readonly additionalProperties: false;
|
|
3066
|
+
}, {
|
|
3067
|
+
readonly type: "object";
|
|
3068
|
+
readonly properties: {
|
|
3069
|
+
readonly kind: {
|
|
3070
|
+
readonly const: "string";
|
|
3071
|
+
};
|
|
3072
|
+
readonly value: {
|
|
3073
|
+
readonly type: "string";
|
|
3074
|
+
readonly maxLength: 4096;
|
|
3075
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
3076
|
+
};
|
|
3077
|
+
};
|
|
3078
|
+
readonly required: readonly ["kind", "value"];
|
|
3079
|
+
readonly additionalProperties: false;
|
|
3080
|
+
}, {
|
|
3081
|
+
readonly type: "object";
|
|
3082
|
+
readonly properties: {
|
|
3083
|
+
readonly kind: {
|
|
3084
|
+
readonly const: "number";
|
|
3085
|
+
};
|
|
3086
|
+
readonly value: {
|
|
3087
|
+
readonly type: "number";
|
|
3088
|
+
};
|
|
3089
|
+
};
|
|
3090
|
+
readonly required: readonly ["kind", "value"];
|
|
3091
|
+
readonly additionalProperties: false;
|
|
3092
|
+
}, {
|
|
3093
|
+
readonly type: "object";
|
|
3094
|
+
readonly properties: {
|
|
3095
|
+
readonly kind: {
|
|
3096
|
+
readonly const: "boolean";
|
|
3097
|
+
};
|
|
3098
|
+
readonly value: {
|
|
3099
|
+
readonly type: "boolean";
|
|
3100
|
+
};
|
|
3101
|
+
};
|
|
3102
|
+
readonly required: readonly ["kind", "value"];
|
|
3103
|
+
readonly additionalProperties: false;
|
|
3104
|
+
}, {
|
|
3105
|
+
readonly type: "object";
|
|
3106
|
+
readonly properties: {
|
|
3107
|
+
readonly kind: {
|
|
3108
|
+
readonly const: "list";
|
|
3109
|
+
};
|
|
3110
|
+
readonly values: {
|
|
3111
|
+
readonly type: "array";
|
|
3112
|
+
readonly maxItems: 256;
|
|
3113
|
+
readonly items: {
|
|
3114
|
+
readonly type: "object";
|
|
3115
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3116
|
+
readonly properties: {
|
|
3117
|
+
readonly kind: {
|
|
3118
|
+
readonly type: "string";
|
|
3119
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3120
|
+
};
|
|
3121
|
+
};
|
|
3122
|
+
readonly required: readonly ["kind"];
|
|
3123
|
+
readonly additionalProperties: true;
|
|
3124
|
+
};
|
|
3125
|
+
};
|
|
3126
|
+
};
|
|
3127
|
+
readonly required: readonly ["kind", "values"];
|
|
3128
|
+
readonly additionalProperties: false;
|
|
3129
|
+
}, {
|
|
3130
|
+
readonly type: "object";
|
|
3131
|
+
readonly properties: {
|
|
3132
|
+
readonly kind: {
|
|
3133
|
+
readonly const: "block";
|
|
3134
|
+
};
|
|
3135
|
+
readonly entries: {
|
|
3136
|
+
readonly type: "array";
|
|
3137
|
+
readonly maxItems: 256;
|
|
3138
|
+
readonly items: {
|
|
3139
|
+
readonly type: "object";
|
|
3140
|
+
readonly properties: {
|
|
3141
|
+
readonly key: {
|
|
3142
|
+
readonly type: "string";
|
|
3143
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3144
|
+
};
|
|
3145
|
+
readonly value: {
|
|
3146
|
+
readonly type: "object";
|
|
3147
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3148
|
+
readonly properties: {
|
|
3149
|
+
readonly kind: {
|
|
3150
|
+
readonly type: "string";
|
|
3151
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3152
|
+
};
|
|
3153
|
+
};
|
|
3154
|
+
readonly required: readonly ["kind"];
|
|
3155
|
+
readonly additionalProperties: true;
|
|
3156
|
+
};
|
|
3157
|
+
};
|
|
3158
|
+
readonly required: readonly ["key", "value"];
|
|
3159
|
+
readonly additionalProperties: false;
|
|
3160
|
+
};
|
|
3161
|
+
};
|
|
3162
|
+
};
|
|
3163
|
+
readonly required: readonly ["kind", "entries"];
|
|
3164
|
+
readonly additionalProperties: false;
|
|
3165
|
+
}];
|
|
3166
|
+
};
|
|
3167
|
+
};
|
|
3168
|
+
readonly required: readonly ["key", "value"];
|
|
3169
|
+
readonly additionalProperties: false;
|
|
3170
|
+
};
|
|
3171
|
+
};
|
|
3172
|
+
readonly required: readonly ["operation", "target", "entry"];
|
|
3173
|
+
readonly additionalProperties: false;
|
|
3174
|
+
}, {
|
|
3175
|
+
readonly type: "object";
|
|
3176
|
+
readonly properties: {
|
|
3177
|
+
readonly operation: {
|
|
3178
|
+
readonly const: "bind_event_target";
|
|
3179
|
+
};
|
|
3180
|
+
readonly target: {
|
|
3181
|
+
readonly type: "string";
|
|
3182
|
+
};
|
|
3183
|
+
readonly eventTarget: {
|
|
3184
|
+
readonly type: "string";
|
|
3185
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3186
|
+
};
|
|
3187
|
+
readonly containerPath: {
|
|
3188
|
+
readonly type: "array";
|
|
3189
|
+
readonly maxItems: 8;
|
|
3190
|
+
readonly items: {
|
|
3191
|
+
readonly type: "string";
|
|
3192
|
+
};
|
|
3193
|
+
};
|
|
3194
|
+
};
|
|
3195
|
+
readonly required: readonly ["operation", "target", "eventTarget"];
|
|
3196
|
+
readonly additionalProperties: false;
|
|
3197
|
+
}, {
|
|
3198
|
+
readonly type: "object";
|
|
3199
|
+
readonly properties: {
|
|
3200
|
+
readonly operation: {
|
|
3201
|
+
readonly const: "clear_event_target";
|
|
3202
|
+
};
|
|
3203
|
+
readonly target: {
|
|
3204
|
+
readonly type: "string";
|
|
3205
|
+
};
|
|
3206
|
+
readonly eventTarget: {
|
|
3207
|
+
readonly type: "string";
|
|
3208
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3209
|
+
};
|
|
3210
|
+
readonly containerPath: {
|
|
3211
|
+
readonly type: "array";
|
|
3212
|
+
readonly maxItems: 8;
|
|
3213
|
+
readonly items: {
|
|
3214
|
+
readonly type: "string";
|
|
3215
|
+
};
|
|
3216
|
+
};
|
|
3217
|
+
};
|
|
3218
|
+
readonly required: readonly ["operation", "target", "eventTarget"];
|
|
3219
|
+
readonly additionalProperties: false;
|
|
3220
|
+
}, {
|
|
3221
|
+
readonly type: "object";
|
|
3222
|
+
readonly properties: {
|
|
3223
|
+
readonly operation: {
|
|
3224
|
+
readonly const: "add_variable_transition";
|
|
3225
|
+
};
|
|
3226
|
+
readonly target: {
|
|
3227
|
+
readonly type: "string";
|
|
3228
|
+
};
|
|
3229
|
+
readonly transition: {
|
|
3230
|
+
readonly type: "string";
|
|
3231
|
+
readonly enum: readonly ["set_variable", "change_variable", "multiply_variable", "divide_variable"];
|
|
3232
|
+
};
|
|
3233
|
+
readonly variable: {
|
|
3234
|
+
readonly type: "string";
|
|
3235
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3236
|
+
};
|
|
3237
|
+
readonly value: {
|
|
3238
|
+
readonly oneOf: readonly [{
|
|
3239
|
+
readonly type: "object";
|
|
3240
|
+
readonly properties: {
|
|
3241
|
+
readonly kind: {
|
|
3242
|
+
readonly const: "identifier";
|
|
3243
|
+
};
|
|
3244
|
+
readonly value: {
|
|
3245
|
+
readonly type: "string";
|
|
3246
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3247
|
+
};
|
|
3248
|
+
};
|
|
3249
|
+
readonly required: readonly ["kind", "value"];
|
|
3250
|
+
readonly additionalProperties: false;
|
|
3251
|
+
}, {
|
|
3252
|
+
readonly type: "object";
|
|
3253
|
+
readonly properties: {
|
|
3254
|
+
readonly kind: {
|
|
3255
|
+
readonly const: "string";
|
|
3256
|
+
};
|
|
3257
|
+
readonly value: {
|
|
3258
|
+
readonly type: "string";
|
|
3259
|
+
readonly maxLength: 4096;
|
|
3260
|
+
readonly pattern: "^[^\0-\u001F]*$";
|
|
3261
|
+
};
|
|
3262
|
+
};
|
|
3263
|
+
readonly required: readonly ["kind", "value"];
|
|
3264
|
+
readonly additionalProperties: false;
|
|
3265
|
+
}, {
|
|
3266
|
+
readonly type: "object";
|
|
3267
|
+
readonly properties: {
|
|
3268
|
+
readonly kind: {
|
|
3269
|
+
readonly const: "number";
|
|
3270
|
+
};
|
|
3271
|
+
readonly value: {
|
|
3272
|
+
readonly type: "number";
|
|
3273
|
+
};
|
|
3274
|
+
};
|
|
3275
|
+
readonly required: readonly ["kind", "value"];
|
|
3276
|
+
readonly additionalProperties: false;
|
|
3277
|
+
}, {
|
|
3278
|
+
readonly type: "object";
|
|
3279
|
+
readonly properties: {
|
|
3280
|
+
readonly kind: {
|
|
3281
|
+
readonly const: "boolean";
|
|
3282
|
+
};
|
|
3283
|
+
readonly value: {
|
|
3284
|
+
readonly type: "boolean";
|
|
3285
|
+
};
|
|
3286
|
+
};
|
|
3287
|
+
readonly required: readonly ["kind", "value"];
|
|
3288
|
+
readonly additionalProperties: false;
|
|
3289
|
+
}, {
|
|
3290
|
+
readonly type: "object";
|
|
3291
|
+
readonly properties: {
|
|
3292
|
+
readonly kind: {
|
|
3293
|
+
readonly const: "list";
|
|
3294
|
+
};
|
|
3295
|
+
readonly values: {
|
|
3296
|
+
readonly type: "array";
|
|
3297
|
+
readonly maxItems: 256;
|
|
3298
|
+
readonly items: {
|
|
3299
|
+
readonly type: "object";
|
|
3300
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3301
|
+
readonly properties: {
|
|
3302
|
+
readonly kind: {
|
|
3303
|
+
readonly type: "string";
|
|
3304
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3305
|
+
};
|
|
3306
|
+
};
|
|
3307
|
+
readonly required: readonly ["kind"];
|
|
3308
|
+
readonly additionalProperties: true;
|
|
3309
|
+
};
|
|
3310
|
+
};
|
|
3311
|
+
};
|
|
3312
|
+
readonly required: readonly ["kind", "values"];
|
|
3313
|
+
readonly additionalProperties: false;
|
|
3314
|
+
}, {
|
|
3315
|
+
readonly type: "object";
|
|
3316
|
+
readonly properties: {
|
|
3317
|
+
readonly kind: {
|
|
3318
|
+
readonly const: "block";
|
|
3319
|
+
};
|
|
3320
|
+
readonly entries: {
|
|
3321
|
+
readonly type: "array";
|
|
3322
|
+
readonly maxItems: 256;
|
|
3323
|
+
readonly items: {
|
|
3324
|
+
readonly type: "object";
|
|
3325
|
+
readonly properties: {
|
|
3326
|
+
readonly key: {
|
|
3327
|
+
readonly type: "string";
|
|
3328
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.:@-]*$";
|
|
3329
|
+
};
|
|
3330
|
+
readonly value: {
|
|
3331
|
+
readonly type: "object";
|
|
3332
|
+
readonly description: "Recursive PDX value. The host validates the exact discriminated shape, a maximum depth of 8, and a maximum of 256 nodes.";
|
|
3333
|
+
readonly properties: {
|
|
3334
|
+
readonly kind: {
|
|
3335
|
+
readonly type: "string";
|
|
3336
|
+
readonly enum: readonly ["identifier", "string", "number", "boolean", "list", "block"];
|
|
3337
|
+
};
|
|
3338
|
+
};
|
|
3339
|
+
readonly required: readonly ["kind"];
|
|
3340
|
+
readonly additionalProperties: true;
|
|
3341
|
+
};
|
|
3342
|
+
};
|
|
3343
|
+
readonly required: readonly ["key", "value"];
|
|
3344
|
+
readonly additionalProperties: false;
|
|
3345
|
+
};
|
|
3346
|
+
};
|
|
3347
|
+
};
|
|
3348
|
+
readonly required: readonly ["kind", "entries"];
|
|
3349
|
+
readonly additionalProperties: false;
|
|
3350
|
+
}];
|
|
3351
|
+
};
|
|
3352
|
+
readonly containerPath: {
|
|
3353
|
+
readonly type: "array";
|
|
3354
|
+
readonly maxItems: 8;
|
|
3355
|
+
readonly items: {
|
|
3356
|
+
readonly type: "string";
|
|
3357
|
+
};
|
|
3358
|
+
};
|
|
3359
|
+
};
|
|
3360
|
+
readonly required: readonly ["operation", "target", "transition", "variable", "value"];
|
|
3361
|
+
readonly additionalProperties: false;
|
|
3362
|
+
}];
|
|
3363
|
+
readonly description: "One discriminated typed mutation. Raw code/oldString/newString fields are rejected.";
|
|
3364
|
+
};
|
|
3365
|
+
};
|
|
3366
|
+
readonly required: readonly ["filePath", "operation"];
|
|
3367
|
+
readonly additionalProperties: false;
|
|
3368
|
+
};
|
|
3369
|
+
};
|
|
3370
|
+
readonly registry: {
|
|
3371
|
+
readonly name: "typed_pdx_write";
|
|
3372
|
+
readonly isWrite: true;
|
|
3373
|
+
readonly isReadOnly: false;
|
|
3374
|
+
readonly effect: "workspace_write";
|
|
3375
|
+
readonly riskLevel: 2;
|
|
3376
|
+
readonly concurrencyClass: "per-file-write";
|
|
3377
|
+
};
|
|
3378
|
+
}, {
|
|
3379
|
+
readonly tool: {
|
|
3380
|
+
readonly name: "candidate_transaction";
|
|
3381
|
+
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.";
|
|
3382
|
+
readonly inputSchema: {
|
|
3383
|
+
readonly type: "object";
|
|
3384
|
+
readonly properties: {
|
|
3385
|
+
readonly action: {
|
|
3386
|
+
readonly type: "string";
|
|
3387
|
+
readonly enum: readonly ["begin", "validate", "commit", "discard", "status"];
|
|
3388
|
+
};
|
|
3389
|
+
readonly transactionId: {
|
|
3390
|
+
readonly type: "string";
|
|
3391
|
+
readonly description: "Required after begin.";
|
|
3392
|
+
};
|
|
3393
|
+
readonly validationPassed: {
|
|
3394
|
+
readonly type: "boolean";
|
|
3395
|
+
readonly description: "Optional explicit veto for the exact staged fingerprint. The host always runs detached overlay validation and never trusts this flag as proof.";
|
|
3396
|
+
};
|
|
3397
|
+
};
|
|
3398
|
+
readonly required: readonly ["action"];
|
|
3399
|
+
};
|
|
3400
|
+
};
|
|
3401
|
+
readonly registry: {
|
|
3402
|
+
readonly name: "candidate_transaction";
|
|
3403
|
+
readonly isWrite: true;
|
|
3404
|
+
readonly isReadOnly: false;
|
|
3405
|
+
readonly effect: "workspace_write";
|
|
3406
|
+
readonly riskLevel: 2;
|
|
3407
|
+
readonly concurrencyClass: "per-file-write";
|
|
3408
|
+
};
|
|
3409
|
+
}, {
|
|
3410
|
+
readonly tool: {
|
|
3411
|
+
readonly name: "convert_image_to_dds";
|
|
3412
|
+
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.";
|
|
3413
|
+
readonly inputSchema: {
|
|
3414
|
+
readonly type: "object";
|
|
3415
|
+
readonly properties: {
|
|
3416
|
+
readonly sourcePath: {
|
|
3417
|
+
readonly type: "string";
|
|
3418
|
+
readonly description: "Absolute path to the source image file (PNG, JPG, or TGA).";
|
|
3419
|
+
};
|
|
3420
|
+
readonly outputDir: {
|
|
3421
|
+
readonly type: "string";
|
|
3422
|
+
readonly description: "Directory to write the converted DDS file to. Can be absolute or relative to workspace root (e.g. \"gfx/interface/icons/\").";
|
|
3423
|
+
};
|
|
3424
|
+
readonly compression: {
|
|
3425
|
+
readonly type: "string";
|
|
3426
|
+
readonly enum: readonly ["dxt5", "dxt1", "dxt3", "none"];
|
|
3427
|
+
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.";
|
|
3428
|
+
};
|
|
3429
|
+
readonly generateMipmaps: {
|
|
3430
|
+
readonly type: "boolean";
|
|
3431
|
+
readonly description: "Whether to generate mipmaps (default false).";
|
|
3432
|
+
};
|
|
3433
|
+
};
|
|
3434
|
+
readonly required: readonly ["sourcePath"];
|
|
3435
|
+
};
|
|
3436
|
+
};
|
|
3437
|
+
readonly registry: {
|
|
3438
|
+
readonly name: "convert_image_to_dds";
|
|
3439
|
+
readonly isWrite: false;
|
|
3440
|
+
readonly isReadOnly: false;
|
|
3441
|
+
readonly effect: "media";
|
|
3442
|
+
readonly riskLevel: 2;
|
|
3443
|
+
readonly concurrencyClass: "interactive";
|
|
3444
|
+
};
|
|
3445
|
+
}, {
|
|
3446
|
+
readonly tool: {
|
|
3447
|
+
readonly name: "convert_audio";
|
|
3448
|
+
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.";
|
|
3449
|
+
readonly inputSchema: {
|
|
3450
|
+
readonly type: "object";
|
|
3451
|
+
readonly properties: {
|
|
3452
|
+
readonly sourcePath: {
|
|
3453
|
+
readonly type: "string";
|
|
3454
|
+
readonly description: "Absolute path to the source audio file.";
|
|
3455
|
+
};
|
|
3456
|
+
readonly outputDir: {
|
|
3457
|
+
readonly type: "string";
|
|
3458
|
+
readonly description: "Directory to write the converted file to. Can be absolute or relative to workspace root (e.g. \"sound/vo/\").";
|
|
3459
|
+
};
|
|
3460
|
+
readonly targetFormat: {
|
|
3461
|
+
readonly type: "string";
|
|
3462
|
+
readonly enum: readonly ["ogg", "wav"];
|
|
3463
|
+
readonly description: "Target audio format. \"ogg\": Vorbis encoding for BGM and voice lines. \"wav\": 16-bit PCM for UI sound effects.";
|
|
3464
|
+
};
|
|
3465
|
+
readonly sampleRate: {
|
|
3466
|
+
readonly type: "number";
|
|
3467
|
+
readonly description: "Output sample rate in Hz (e.g. 44100, 48000). Default: keep original.";
|
|
3468
|
+
};
|
|
3469
|
+
readonly channels: {
|
|
3470
|
+
readonly type: "number";
|
|
3471
|
+
readonly description: "Number of audio channels. 1 = mono (recommended for voice/sfx), 2 = stereo (recommended for music). Default: keep original.";
|
|
3472
|
+
};
|
|
3473
|
+
};
|
|
3474
|
+
readonly required: readonly ["sourcePath", "targetFormat"];
|
|
3475
|
+
};
|
|
3476
|
+
};
|
|
3477
|
+
readonly registry: {
|
|
3478
|
+
readonly name: "convert_audio";
|
|
3479
|
+
readonly isWrite: false;
|
|
3480
|
+
readonly isReadOnly: false;
|
|
3481
|
+
readonly effect: "media";
|
|
3482
|
+
readonly riskLevel: 2;
|
|
3483
|
+
readonly concurrencyClass: "interactive";
|
|
3484
|
+
};
|
|
3485
|
+
}, {
|
|
3486
|
+
readonly tool: {
|
|
3487
|
+
readonly name: "deploy_mod_asset";
|
|
3488
|
+
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.";
|
|
3489
|
+
readonly inputSchema: {
|
|
3490
|
+
readonly type: "object";
|
|
3491
|
+
readonly properties: {
|
|
3492
|
+
readonly sourcePath: {
|
|
3493
|
+
readonly type: "string";
|
|
3494
|
+
readonly description: "Absolute path to the source file to deploy.";
|
|
3495
|
+
};
|
|
3496
|
+
readonly targetRelativePath: {
|
|
3497
|
+
readonly type: "string";
|
|
3498
|
+
readonly description: "Target path relative to workspace root (e.g. \"gfx/interface/icons/tech/my_tech.dds\" or \"sound/vo/my_voice.ogg\").";
|
|
3499
|
+
};
|
|
3500
|
+
readonly overwrite: {
|
|
3501
|
+
readonly type: "boolean";
|
|
3502
|
+
readonly description: "If true, overwrite existing file at target. Default: false (fails if file exists).";
|
|
3503
|
+
};
|
|
3504
|
+
};
|
|
3505
|
+
readonly required: readonly ["sourcePath", "targetRelativePath"];
|
|
3506
|
+
};
|
|
3507
|
+
};
|
|
3508
|
+
readonly registry: {
|
|
3509
|
+
readonly name: "deploy_mod_asset";
|
|
3510
|
+
readonly isWrite: true;
|
|
3511
|
+
readonly isReadOnly: false;
|
|
3512
|
+
readonly effect: "media";
|
|
3513
|
+
readonly riskLevel: 2;
|
|
3514
|
+
readonly concurrencyClass: "interactive";
|
|
3515
|
+
};
|
|
1235
3516
|
}];
|