Skip to content

feat: group token abilities into sections with per-group select all - #6

Merged
scottgrayson merged 4 commits into
mainfrom
feat/grouped-abilities
Nov 19, 2026
Merged

scottgrayson merged 4 commits into
mainfrom
feat/grouped-abilities

Conversation

@scottgrayson

Copy link
Copy Markdown
Contributor

Groups the token form's abilities into sections.

  • New #[AbilityGroup('LMS')] attribute on a tool. Untagged tools fall under General, abilities.extra under Other.
  • McpServer::groupedAbilities() and McpServerRegistry::groupedAbilities() return group => [ability => label]; abilities() is unchanged.
  • Create and edit forms show a top Select all, then a section per group with its own select-all. One group renders the flat list as before. Tokens still store a flat abilities array.
  • Pest tests for declared/fallback groups, saving the union, edit pre-fill, extras.
  • Checked in real headless Chromium against a testbench host app.

No tag or release in this PR.

@scottgrayson
scottgrayson merged commit 07038fb into main Nov 19, 2026
52 of 53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant