0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00

fix(factory-ui): read repository limits only from AND groups, and let Enter pick a matching repository

The owner/repo warning paired a provider and a repository anywhere in one
group, so an OR of "GitHub" and "ENG" warned though ENG can match a Linear
card, while a provider limit around an OR of repositories was missed. It
now uses the same AND-group limits as the suggestion narrowing, from one
shared helper.

The typed "Use …" option now comes after the suggestions it matches, so
typing mastra and pressing Enter picks mastra-ai/mastra. The open value
control stays mounted while suggestions load, so a value being typed is
kept, and a key two providers share (Linear and Jira ENG) shows once.

Co-Authored-By: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
wardpeet 2026-11-12 00:35:47 +01:00
commit 7fa791378d
No known key found for this signature in database
GPG key ID: 83C4BF648CC58AB7
7 changed files with 209 additions and 62 deletions