You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correct command suggestions to match the arguments accepted by Magic, including the current prefix and applicable permission or sender context.
MAGIC-01: ResonanceCommand is an explicit empty completer, including the res alias via PluginCommand executor fallback.
MAGIC-02: Artifact path completes magic.artifact plus finite primary/element/rarity keys, registered values, extra type keys and closing/continuation delimiters. It preserves the typed token, respects selected type rarity brackets and leaves numeric caps manual.
MAGIC-04: Weapon parts follow selected archetype, already occupied categories and selected core limits; incompatible core choices and terminal extra parts are suppressed.
MAGIC-05: Artifact roll/give rarities follow enabled selected types and hasRarity. Random primaries require an eligible finite positive-weight type in the configured random pool.
MAGIC-06: Non-player completion keeps console-capable reload, weapon give, artifact roll/give/path and resonance administration, excluding player-only actions at every depth.
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
📝 Summary
Summary by CodeRabbit
Improvements
Artifact path suggestions now guide you through valid types, supported rarities and available keys, while filtering out invalid or duplicate selections.
Artifact roll suggestions now reflect enabled types, supported rarities and eligibility for random rolls.
Weapon assembly suggestions now show applicable elements and parts based on the selected weapon, existing parts and available slots.
Console command suggestions are limited to supported commands; resonance commands no longer show tab-completion suggestions.
Tab completion now filters command suggestions by sender and input context. Artifact suggestions follow path grammar and available types. Weapon suggestions follow element visibility and assembly constraints.
Command suggestions are restricted by sender type and command depth. ResonanceCommand returns no suggestions. Regression tests cover console routes and resonance aliases.
Artifact path completion validates prior segments and suggests valid continuations. Roll rarity suggestions depend on matching enabled types and, for random, pool membership and finite positive weight. Tests cover valid and invalid completion inputs.
Element suggestions exclude elements not shown on charge. Part suggestions account for archetype, enabled status, compatibility, selected categories, and core slots.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size:L100-499 effective changed lines (tests excluded in mixed PRs).
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Correct command suggestions to match the arguments accepted by Magic, including the current prefix and applicable permission or sender context.
MAGIC-01: ResonanceCommand is an explicit empty completer, including the res alias via PluginCommand executor fallback.MAGIC-02: Artifact path completes magic.artifact plus finite primary/element/rarity keys, registered values, extra type keys and closing/continuation delimiters. It preserves the typed token, respects selected type rarity brackets and leaves numeric caps manual.MAGIC-03: Weapon attunement suggestions apply ElementVisibility.shownOnCharge.MAGIC-04: Weapon parts follow selected archetype, already occupied categories and selected core limits; incompatible core choices and terminal extra parts are suppressed.MAGIC-05: Artifact roll/give rarities follow enabled selected types and hasRarity. Random primaries require an eligible finite positive-weight type in the configured random pool.MAGIC-06: Non-player completion keeps console-capable reload, weapon give, artifact roll/give/path and resonance administration, excluding player-only actions at every depth.Validation:
tfmc-mvn -o -B --no-transfer-progress clean verifypassed (643 tests, zero failures/errors; 0 skips), including command-completion regressions.git diff --checkpassed.Documentation: TF-Minecraft/Docs#266.