Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 23:30 UTC
Add CLI runtime headers to Composio client (#3222)
## Summary - Add CLI-specific default headers to Composio client requests, including `x-framework`, `x-source`, `x-runtime`, and `x-sdk-version`. - Detect runtime as `BUN`, `NODEJS`, or `UNKNOWN` when building headers. - Extend singleton tests to verify the new headers are present for user-auth requests. ## Testing - Added unit test coverage for CLI header construction in `ts/packages/cli/test/src/services/composio-client-singleton.test.ts`. - Verified `x-runtime` resolves to `NODEJS` in the test environment. - Not run: full package test suite / CI.