Skip to content

Prefer Carbon dashboard env vars#36

Merged
Yapie0 merged 8 commits into
Yapie0:mainfrom
w287346141:codex/prefer-carbon-dashboard-env
May 26, 2026
Merged

Prefer Carbon dashboard env vars#36
Yapie0 merged 8 commits into
Yapie0:mainfrom
w287346141:codex/prefer-carbon-dashboard-env

Conversation

@w287346141
Copy link
Copy Markdown

Summary

  • Prefer CARBONCODE_DASHBOARD_HOST and CARBONCODE_DASHBOARD_TOKEN for dashboard configuration.
  • Keep REASONIX_DASHBOARD_HOST and REASONIX_DASHBOARD_TOKEN as legacy fallbacks.
  • Move dashboard host/token resolution into a small helper module so the env priority can be tested without importing the CLI entrypoint.
  • Add tests for flag precedence, Carbon env priority, legacy fallback behavior, and short-token rejection.

Validation

  • npm.cmd test -- --run tests/dashboard-options.test.ts
  • npm.cmd run typecheck
  • npm.cmd run lint

@Yapie0 Yapie0 merged commit 3582542 into Yapie0:main May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants