mirror of
https://github.com/ComposioHQ/composio.git
synced 2026-09-22 11:46:35 +08:00
17a20be892
This PR: - adds `userApiKey` and `orgApiKey` to `ComposioConfig` and forwards them to the underlying `@composio/client`, which sends each one only on operations whose security scheme requires it and never beside the project key - keeps both on `getConfig()` / `createSession()`; env fallbacks (`COMPOSIO_USER_API_KEY`, `COMPOSIO_ORG_API_KEY`) stay in the client - adds `user_api_key` / `org_api_key` to the Python `Composio` constructor for parity - adds a minor changeset for `@composio/core` - a project `apiKey` is still required; widening that is out of scope ## Context Org, consumer and user-scoped endpoints were only reachable from core through `getClient()` plus hand-placed headers. This lands on `main` (beta) only because `next` still pins the Stainless client, which has no user/org credential support. Hackathon feedback (area 8).
13 KiB
13 KiB