fix: restore connected app discovery and mentions - #280
Merged
Conversation
Expose active connected apps in the composer. Relax over-specific Composio searches into bounded ranked candidates so enabled accounts remain usable without guessed action slugs.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
@catalog.@never waits on Composio./v1/skillscontract for safe, independent Worker and Vercel rollouts.Context
Direct production bug report; no separate Linear issue or plan document exists.
Architecture
The gateway projects tenant-scoped custom skills and distinct active integration slugs from Postgres in one signed user transaction. The web composer validates and caches this bounded catalog. At execution time, the agent still uses the generic, version-aware Composio list/execute boundary; only an exact zero-result query triggers a bounded broad lookup and local rank.
Decisions Made
/v1/composer/skillsendpoint/v1/skills; call integration catalog separatelyEdge Cases Handled
/v1/skillsresponse remains unchanged.toolsTruncatedremains true so the model can refine with a shorter keyword.How to Review
packages/agent-core/src/mastra/tool-defs/composio-tool.tsfor discovery semantics.apps/gateway-worker/src/skills-routes.tsandpackages/db/src/integrations.tsfor the catalog boundary.apps/web/src/components/composer/use-composer-menu.tsandmention-skill-source.tsfor@behavior.Verification
pnpm lintpnpm typecheckpnpm turbo build --forcepnpm deadcodepnpm architecture:checkpnpm turbo skills:build@catalog shows active Gmail and Notion connections after merge/deploy.