发布

  • Add CLI runtime headers to Composio client (#3222)

    frostbyte_neo 发布于 2026-04-16 10:43:39 +00:00

    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.
    下载附件