-
Add CLI runtime headers to Composio client (#3222)
发布于
2026-04-16 10:43:39 +00:00 Summary
- Add CLI-specific default headers to Composio client requests,
includingx-framework,x-source,x-runtime, andx-sdk-version. - Detect runtime as
BUN,NODEJS, orUNKNOWNwhen 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-runtimeresolves toNODEJSin the test environment. - Not run: full package test suite / CI.
下载附件
- Add CLI-specific default headers to Composio client requests,