@devries-cameron20 / composio-1 / commits / b80808606
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(cli): use staging dashboard URL (#4129)

This PR: - updates `constants.STAGING_WEB_URL` so `COMPOSIO_ENVIRONMENT=staging` uses `https://staging-dashboard.composio.dev/` - adds literal regression assertions for map-backed and process-environment config loading - records the user-facing CLI fix in the unreleased changelog Verification: - `pnpm --filter @composio/cli exec vitest run test/src/services/config.test.ts` (23 passed) - `pnpm typecheck` - `pnpm lint:packages` (passes with pre-existing warnings)

Alberto Schiabel committed Aug 13, 2026 at 20:20 UTC b80808606a9917e7f3147a05970ef8c11d5486a6
3 files changed +5 -3
ts/packages/cli/CHANGELOG.md
+2
@@ -4,6 +4,8 @@
4
5 ### Patch Changes
6
7 +- `COMPOSIO_ENVIRONMENT=staging` now opens the staging dashboard at
8 + `https://staging-dashboard.composio.dev/`.
9 - `composio dev auth-configs create` now sends custom OAuth credentials and scopes
10 in the API's expected shape instead of failing validation.
11
ts/packages/cli/src/constants.ts
+1 -1
@@ -17,7 +17,7 @@ export const STAGING_BASE_URL = 'https://staging-backend.composio.dev';
17 * Staging base URL for the Composio web app (frontend).
18 * Used when `COMPOSIO_ENVIRONMENT=staging`.
19 */
20 -export const STAGING_WEB_URL = 'https://staging-platform.composio.dev';
20 +export const STAGING_WEB_URL = 'https://staging-dashboard.composio.dev/';
21
22 /**
23 * Prefix for user environment variable keys used by the Composio CLI.
ts/packages/cli/test/src/services/config.test.ts
+2 -2
@@ -168,7 +168,7 @@ describe('Config', () => {
168 USER_API_KEY: Option.none(),
169 ENVIRONMENT: Option.some('staging'),
170 BASE_URL: constants.STAGING_BASE_URL,
171 - WEB_URL: constants.STAGING_WEB_URL,
171 + WEB_URL: 'https://staging-dashboard.composio.dev/',
172 CACHE_DIR: Option.none(),
173 LOG_LEVEL: Option.none(),
174 ORG_ID: Option.none(),
@@ -490,7 +490,7 @@ describe('Config', () => {
490 USER_API_KEY: Option.none(),
491 ENVIRONMENT: Option.some('staging'),
492 BASE_URL: constants.STAGING_BASE_URL,
493 - WEB_URL: constants.STAGING_WEB_URL,
493 + WEB_URL: 'https://staging-dashboard.composio.dev/',
494 CACHE_DIR: Option.none(),
495 LOG_LEVEL: Option.none(),
496 ORG_ID: Option.none(),