feat(composio-direct): add Composio direct integration plugin#106
Merged
xlabtg merged 2 commits intoxlabtg:mainfrom Apr 5, 2026
Merged
feat(composio-direct): add Composio direct integration plugin#106xlabtg merged 2 commits intoxlabtg:mainfrom
xlabtg merged 2 commits intoxlabtg:mainfrom
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: xlabtg#105
Implements the composio-direct plugin as specified in issue xlabtg#105. Provides direct access to 1000+ Composio automation tools without MCP transport. 4 tools: - composio_search_tools: search tools by query/toolkit with limit and param schema options - composio_execute_tool: execute a single tool; returns structured auth error with connect_url on 401/403 - composio_multi_execute: parallel batch execution with fail_fast and configurable concurrency - composio_auth_link: generate OAuth connect links with dynamic URL from Composio initiate endpoint Technical: - 3-retry exponential backoff (1s, 2s, 4s) for network and 5xx errors - 30s configurable default timeout per request - API key and OAuth tokens never written to logs - composio_execute_tool and composio_multi_execute scoped to dm-only - 30 unit + integration tests covering success, auth errors, retries, batching, and validation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
composio-direct: Прямая интеграция с 1000+ инструментами Composio
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:Claude Sonnet 4.6:
Total input tokens: 54.8K + 1.8M cached Claude Haiku 4.5:
Total input tokens: 60.1K + 260.4K cached 🤖 Models used:
📎 Log file uploaded as Gist (1034KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
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
Implements the
composio-directplugin as specified in #105.4 tools for direct Composio API access without MCP/SSE transport:
composio_search_tools— discover tools by query or toolkit namecomposio_execute_tool— execute a single tool; returns structuredauth_requirederror withconnect_urlon 401/403composio_multi_execute— parallel batch execution withfail_fastand configurable concurrencycomposio_auth_link— generate OAuth connect links (dynamic URL from Composio initiate endpoint with fallback)Retry logic — 3 attempts with exponential backoff (1 s, 2 s, 4 s) for network errors and 5xx responses
Security —
composio_api_keyand OAuth tokens are never written to logs; action tools scoped todm-only30 automated tests (23 unit + 7 integration) covering success paths, auth errors, retries, batching, fail_fast, and validation
How to reproduce the issue and verify the fix
Prerequisite: Set
COMPOSIO_API_KEYenv var or configurecomposio_api_keysecret in Teleton.Manual verification checklist:
Test plan
node --test plugins/composio-direct/test/unit/composio-direct.test.jsnode --test plugins/composio-direct/test/integration/composio-api.test.jsCOMPOSIO_API_KEY🤖 Generated with Claude Code
Fixes #105