cwtools-shared 0.2.7 → 0.2.8
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 +186 -0
- package/dist/generated/mcpTools.js +210 -0
- package/dist/tools/names.d.ts +2 -2
- package/dist/tools/names.js +1 -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";
|
|
@@ -718,6 +718,216 @@ exports.GENERATED_MCP_TOOLS = [
|
|
|
718
718
|
"concurrencyClass": "lsp-limited"
|
|
719
719
|
}
|
|
720
720
|
},
|
|
721
|
+
{
|
|
722
|
+
"tool": {
|
|
723
|
+
"name": "query_targeting_weight",
|
|
724
|
+
"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.",
|
|
725
|
+
"inputSchema": {
|
|
726
|
+
"type": "object",
|
|
727
|
+
"properties": {
|
|
728
|
+
"attacker": {
|
|
729
|
+
"type": "object",
|
|
730
|
+
"description": "Attacking ship.",
|
|
731
|
+
"properties": {
|
|
732
|
+
"tracking": {
|
|
733
|
+
"type": "number",
|
|
734
|
+
"description": "Ship tracking 0..1, scaled by the ship tracking mult."
|
|
735
|
+
},
|
|
736
|
+
"sizeMultiplier": {
|
|
737
|
+
"type": "number",
|
|
738
|
+
"description": "Attacker combat_size_multiplier; veto needs >= 8."
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
"required": [
|
|
742
|
+
"tracking",
|
|
743
|
+
"sizeMultiplier"
|
|
744
|
+
],
|
|
745
|
+
"additionalProperties": false
|
|
746
|
+
},
|
|
747
|
+
"weapon": {
|
|
748
|
+
"type": "object",
|
|
749
|
+
"description": "Weapon component template values, already modifier-corrected.",
|
|
750
|
+
"properties": {
|
|
751
|
+
"minDamage": {
|
|
752
|
+
"type": "number",
|
|
753
|
+
"description": "min_damage."
|
|
754
|
+
},
|
|
755
|
+
"maxDamage": {
|
|
756
|
+
"type": "number",
|
|
757
|
+
"description": "max_damage; the path uses the interval midpoint."
|
|
758
|
+
},
|
|
759
|
+
"accuracy": {
|
|
760
|
+
"type": "number",
|
|
761
|
+
"description": "accuracy 0..1; feeds hit chance p."
|
|
762
|
+
},
|
|
763
|
+
"tracking": {
|
|
764
|
+
"type": "number",
|
|
765
|
+
"description": "tracking 0..1; weapon rate, not scaled by the ship mult."
|
|
766
|
+
},
|
|
767
|
+
"shieldDamage": {
|
|
768
|
+
"type": "number",
|
|
769
|
+
"description": "shield_damage (ms), shield layer output mult."
|
|
770
|
+
},
|
|
771
|
+
"armorDamage": {
|
|
772
|
+
"type": "number",
|
|
773
|
+
"description": "armor_damage (ma), armor layer output mult."
|
|
774
|
+
},
|
|
775
|
+
"hullDamage": {
|
|
776
|
+
"type": "number",
|
|
777
|
+
"description": "hull_damage (mh), leftover hull output mult."
|
|
778
|
+
},
|
|
779
|
+
"shieldPenetration": {
|
|
780
|
+
"type": "number",
|
|
781
|
+
"description": "shield_penetration 0..1; minus hardening, clamped [0,1]."
|
|
782
|
+
},
|
|
783
|
+
"armorPenetration": {
|
|
784
|
+
"type": "number",
|
|
785
|
+
"description": "armor_penetration 0..1; minus hardening, clamped [0,1]."
|
|
786
|
+
},
|
|
787
|
+
"sizeDamageFactor": {
|
|
788
|
+
"type": "number",
|
|
789
|
+
"description": "size_damage_factor; when > 0 scales damage by (1 + clamp(size,1,100)*factor)."
|
|
790
|
+
},
|
|
791
|
+
"targetWeights": {
|
|
792
|
+
"type": "object",
|
|
793
|
+
"description": "target_weights table: ship_size id -> additive wk, NOT a multiplier; it can outrank the chain.",
|
|
794
|
+
"additionalProperties": {
|
|
795
|
+
"type": "number"
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
"required": [
|
|
800
|
+
"minDamage",
|
|
801
|
+
"maxDamage",
|
|
802
|
+
"accuracy",
|
|
803
|
+
"tracking",
|
|
804
|
+
"shieldDamage",
|
|
805
|
+
"armorDamage",
|
|
806
|
+
"hullDamage"
|
|
807
|
+
],
|
|
808
|
+
"additionalProperties": false
|
|
809
|
+
},
|
|
810
|
+
"target": {
|
|
811
|
+
"type": "object",
|
|
812
|
+
"description": "Candidate target ship state at the modelled tick.",
|
|
813
|
+
"properties": {
|
|
814
|
+
"shipSizeId": {
|
|
815
|
+
"type": "string",
|
|
816
|
+
"description": "ship_size id; only used for weapon.targetWeights."
|
|
817
|
+
},
|
|
818
|
+
"sizeMultiplier": {
|
|
819
|
+
"type": "number",
|
|
820
|
+
"description": "Target combat_size_multiplier."
|
|
821
|
+
},
|
|
822
|
+
"evasion": {
|
|
823
|
+
"type": "number",
|
|
824
|
+
"description": "Target evasion 0..1 (cap SHIP_MAX_EVASION 0.9)."
|
|
825
|
+
},
|
|
826
|
+
"distance": {
|
|
827
|
+
"type": "number",
|
|
828
|
+
"description": "Distance in engine units; the factor floors at 450."
|
|
829
|
+
},
|
|
830
|
+
"hull": {
|
|
831
|
+
"type": "number",
|
|
832
|
+
"description": "Current hull (Vtgt); right side of the kill test."
|
|
833
|
+
},
|
|
834
|
+
"maxHull": {
|
|
835
|
+
"type": "number",
|
|
836
|
+
"description": "Hull maximum; omit to skip the low-health factor."
|
|
837
|
+
},
|
|
838
|
+
"shield": {
|
|
839
|
+
"type": "number",
|
|
840
|
+
"description": "Current shields."
|
|
841
|
+
},
|
|
842
|
+
"armor": {
|
|
843
|
+
"type": "number",
|
|
844
|
+
"description": "Current armor."
|
|
845
|
+
},
|
|
846
|
+
"shieldHardening": {
|
|
847
|
+
"type": "number",
|
|
848
|
+
"description": "Shield hardening; minus shield_penetration."
|
|
849
|
+
},
|
|
850
|
+
"armorHardening": {
|
|
851
|
+
"type": "number",
|
|
852
|
+
"description": "Armor hardening; minus armor_penetration."
|
|
853
|
+
},
|
|
854
|
+
"armed": {
|
|
855
|
+
"type": "boolean",
|
|
856
|
+
"description": "Panel DPD > 0; when false both stages x the unarmed weight."
|
|
857
|
+
},
|
|
858
|
+
"isStarbase": {
|
|
859
|
+
"type": "boolean",
|
|
860
|
+
"description": "Starbase or megastructure; x starbase weight unless it is the current main target."
|
|
861
|
+
},
|
|
862
|
+
"isCurrentMainTarget": {
|
|
863
|
+
"type": "boolean",
|
|
864
|
+
"description": "Already the ship main target: x1.1 stickiness unless targetFocus is true."
|
|
865
|
+
},
|
|
866
|
+
"isRecentNonLatest": {
|
|
867
|
+
"type": "boolean",
|
|
868
|
+
"description": "Recent-target memory, not the latest entry: x recent-target penalizer."
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
"required": [
|
|
872
|
+
"sizeMultiplier",
|
|
873
|
+
"evasion",
|
|
874
|
+
"distance",
|
|
875
|
+
"hull",
|
|
876
|
+
"shield",
|
|
877
|
+
"armor",
|
|
878
|
+
"armed"
|
|
879
|
+
],
|
|
880
|
+
"additionalProperties": false
|
|
881
|
+
},
|
|
882
|
+
"defines": {
|
|
883
|
+
"type": "object",
|
|
884
|
+
"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.",
|
|
885
|
+
"additionalProperties": {
|
|
886
|
+
"type": "number"
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
"rho": {
|
|
890
|
+
"type": "number",
|
|
891
|
+
"description": "Battle-start random in [0,1); preset weight = 1 + rho + mult. Default 0."
|
|
892
|
+
},
|
|
893
|
+
"targetWeightMultModifier": {
|
|
894
|
+
"type": "number",
|
|
895
|
+
"description": "ship_target_weight_mult modifier (ship_sizes, auras), e.g. 0.5."
|
|
896
|
+
},
|
|
897
|
+
"randomRoll": {
|
|
898
|
+
"type": "number",
|
|
899
|
+
"description": "Random perturbation r in [0,1); used only when useRandom is true."
|
|
900
|
+
},
|
|
901
|
+
"useRandom": {
|
|
902
|
+
"type": "boolean",
|
|
903
|
+
"description": "Engine default is true (up to 4x). Default false for reproducible results."
|
|
904
|
+
},
|
|
905
|
+
"fleetHasHittable": {
|
|
906
|
+
"type": "boolean",
|
|
907
|
+
"description": "Veto needs at least one hittable ship in the target fleet. Default false."
|
|
908
|
+
},
|
|
909
|
+
"targetFocus": {
|
|
910
|
+
"type": "boolean",
|
|
911
|
+
"description": "target_focus = spread (engine 1): drops x1.1 stickiness, throttle 50 ticks. Default false."
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
"required": [
|
|
915
|
+
"attacker",
|
|
916
|
+
"weapon",
|
|
917
|
+
"target"
|
|
918
|
+
],
|
|
919
|
+
"additionalProperties": false
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"registry": {
|
|
923
|
+
"name": "query_targeting_weight",
|
|
924
|
+
"isWrite": false,
|
|
925
|
+
"isReadOnly": true,
|
|
926
|
+
"effect": "workspace_read",
|
|
927
|
+
"riskLevel": 0,
|
|
928
|
+
"concurrencyClass": "parallel"
|
|
929
|
+
}
|
|
930
|
+
},
|
|
721
931
|
{
|
|
722
932
|
"tool": {
|
|
723
933
|
"name": "query_localisation_index",
|
package/dist/tools/names.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const MCP_TOOL_NAMES: readonly ["query_types", "query_rules", "query_cwt_schema", "search_rule_capabilities", "explain_scope", "parse_pdx_fragment", "query_scope", "get_diagnostics", "analyze_diagnostic_error", "query_project_profile", "query_project_knowledge", "query_workspace_index", "explore_pdx_project", "query_inline_instantiation", "analyze_pdx_flow", "compare_definition_with_vanilla", "query_localisation_index", "get_pdx_block", "get_completion_at", "document_symbols", "workspace_symbols", "go_to_definition", "find_references", "query_scripted_effects", "query_scripted_triggers", "query_enums", "query_static_modifiers", "query_variables", "get_entity_info", "query_shader_symbol", "query_shader_compile_unit", "query_shader_platform_variants", "query_shader_callers", "explain_shader_reachability", "validate_shader", "compare_shader_with_vanilla"];
|
|
1
|
+
export declare const MCP_TOOL_NAMES: readonly ["query_types", "query_rules", "query_cwt_schema", "search_rule_capabilities", "explain_scope", "parse_pdx_fragment", "query_scope", "get_diagnostics", "analyze_diagnostic_error", "query_project_profile", "query_project_knowledge", "query_workspace_index", "explore_pdx_project", "query_inline_instantiation", "analyze_pdx_flow", "compare_definition_with_vanilla", "query_targeting_weight", "query_localisation_index", "get_pdx_block", "get_completion_at", "document_symbols", "workspace_symbols", "go_to_definition", "find_references", "query_scripted_effects", "query_scripted_triggers", "query_enums", "query_static_modifiers", "query_variables", "get_entity_info", "query_shader_symbol", "query_shader_compile_unit", "query_shader_platform_variants", "query_shader_callers", "explain_shader_reachability", "validate_shader", "compare_shader_with_vanilla"];
|
|
2
2
|
export type McpToolName = typeof MCP_TOOL_NAMES[number];
|
|
3
3
|
export declare const MCP_WRITE_TOOL_NAMES: readonly [];
|
|
4
|
-
export declare const MCP_READONLY_TOOL_NAMES: readonly ["query_types", "query_rules", "query_cwt_schema", "search_rule_capabilities", "explain_scope", "parse_pdx_fragment", "query_scope", "get_diagnostics", "analyze_diagnostic_error", "query_project_profile", "query_project_knowledge", "query_workspace_index", "explore_pdx_project", "query_inline_instantiation", "analyze_pdx_flow", "compare_definition_with_vanilla", "query_localisation_index", "get_pdx_block", "get_completion_at", "document_symbols", "workspace_symbols", "go_to_definition", "find_references", "query_scripted_effects", "query_scripted_triggers", "query_enums", "query_static_modifiers", "query_variables", "get_entity_info", "query_shader_symbol", "query_shader_compile_unit", "query_shader_platform_variants", "query_shader_callers", "explain_shader_reachability", "validate_shader", "compare_shader_with_vanilla"];
|
|
4
|
+
export declare const MCP_READONLY_TOOL_NAMES: readonly ["query_types", "query_rules", "query_cwt_schema", "search_rule_capabilities", "explain_scope", "parse_pdx_fragment", "query_scope", "get_diagnostics", "analyze_diagnostic_error", "query_project_profile", "query_project_knowledge", "query_workspace_index", "explore_pdx_project", "query_inline_instantiation", "analyze_pdx_flow", "compare_definition_with_vanilla", "query_targeting_weight", "query_localisation_index", "get_pdx_block", "get_completion_at", "document_symbols", "workspace_symbols", "go_to_definition", "find_references", "query_scripted_effects", "query_scripted_triggers", "query_enums", "query_static_modifiers", "query_variables", "get_entity_info", "query_shader_symbol", "query_shader_compile_unit", "query_shader_platform_variants", "query_shader_callers", "explain_shader_reachability", "validate_shader", "compare_shader_with_vanilla"];
|
|
5
5
|
export declare function isMcpToolName(value: string): value is McpToolName;
|
|
6
6
|
export declare function isMcpWriteToolName(value: string): value is typeof MCP_WRITE_TOOL_NAMES[number];
|
package/dist/tools/names.js
CHANGED