feat(composio-direct): cover Composio v3 API domains#163
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: xlabtg#162
composio-direct plugin for full Composio API v3 compliance
Solution summaryImplemented and pushed the fix for issue #162. PR #163 is ready for review: #163 What changed:
Verification:
One local caveat: Docs checked from official Composio references: v3 overview, Tools, Connected Accounts, Auth Configs, and Meta Tools. Next useful follow-ups:
This summary was automatically extracted from the AI working session output. |
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (211.9K + 8.1M cached) input tokens, 28.5K output tokens, $5.735434 cost 🤖 Models used:
📎 Log file uploaded as Gist (19623KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
✅ Ready to mergeThis pull request is now ready to be merged:
Monitored by hive-mind with --auto-restart-until-mergeable flag |
|
Thanks for the work here — this is a useful improvement, especially the new schema lookup and connection reuse flow. However, I don’t think PR #163 fully completes issue #162 yet. A few gaps still remain before the task can be considered fully done:
So my recommendation would be one of two paths:
At the moment, this looks like a strong partial implementation, but not a full completion of #162. |
|
🤖 AI Work Session Started Starting automated work session at 2026-04-19T18:38:00.218Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait for the session to finish, and provide your feedback. |
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (286.8K + 8.8M cached) input tokens, 48.0K output tokens, $6.931314 cost 🤖 Models used:
📎 Log file uploaded as Repository (52556KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
✅ Ready to mergeThis pull request is now ready to be merged:
Monitored by hive-mind with --auto-restart-until-mergeable flag |
Summary
Fixes #162.
This expands
composio-directinto a broader Composio v3 client surface for Teleton Agent while keeping the existing direct-HTTP/plugin style. The plugin now covers tool discovery/schema/execution, auth links, connection reuse, toolkits, files, triggers, webhooks, and the applicable meta-tool wrappers.What changed
GET /api/v3/tools,GET /api/v3/tools/{tool_slug},POST /api/v3/tools/execute/{tool_slug},GET/POST /api/v3/auth_configs, andPOST /api/v3/connected_accounts/link.composio_list_connectionsandcomposio_get_connection, with current-user filtering by default.composio_list_toolkitsandcomposio_get_toolkitfor catalog/application discovery.composio_list_filesandcomposio_request_file_upload.COMPOSIO_MANAGE_CONNECTIONS,COMPOSIO_REMOTE_BASH_TOOL, andCOMPOSIO_REMOTE_WORKBENCH.state/connection_datavalues, triggerstatevalues, or webhook signing secrets by default.composio-directto1.8.0.API v3 audit notes
Reviewed the requested official Composio reference areas: v3 overview, auth configs, authentication, connected accounts, files, toolkits, tools, triggers, webhooks, errors, and meta-tools (
search_tools,get_tool_schemas,multi_execute_tool,manage_connections,remote_bash_tool,remote_workbench).Core mapping now covered:
manage_connectionsmeta-tool wrapper.Reproduction
Before this continuation, the new tests failed because the plugin did not export the requested toolkit/files/triggers/webhooks/remote-meta surfaces. The pre-implementation run failed at
plugins/composio-direct/tests/index.test.json the missing new tools/version expectations.Tests
node --test plugins/composio-direct/tests/index.test.jsinitially failed, then passes after the v3 domain implementation.node --test plugins/composio-direct/tests/index.test.js plugins/composio-direct/test/unit/composio-direct.test.js plugins/composio-direct/test/integration/composio-api.test.jsnpm run lintpasses with existing warnings outside this change.npm run typechecknpm testnpm run validateconfirmscomposio-direct: 27 tool(s) validated, but the repo-wide command still exits non-zero because unrelated optional plugins are missing root dependencies:@evaafi/sdk,@tonkite/highload-wallet-v3, and@ston-fi/api.