Files
claude-code-router/src
d-kimsuon 023e4bfa0f feat: add ccr activate command for Agent SDK integration
This commit adds a new `ccr activate` command that outputs environment
variables in shell-friendly format, making it easy to integrate
claude-code-router with Agent SDK applications.

Usage:
  eval $(ccr activate)

This sets the following environment variables:
- ANTHROPIC_AUTH_TOKEN
- ANTHROPIC_API_KEY
- ANTHROPIC_BASE_URL
- NO_PROXY
- DISABLE_TELEMETRY
- DISABLE_COST_WARNINGS
- API_TIMEOUT_MS
- CLAUDE_CODE_USE_BEDROCK

The implementation refactors the environment variable creation logic
from `ccr code` into a shared `createEnvVariables()` function in
`src/utils/createEnvVariables.ts`, ensuring consistency between both
commands.

Related: #855
2025-11-04 13:55:43 +09:00
..
2025-10-20 22:18:06 +08:00
2025-09-25 23:11:24 +08:00
2025-10-20 22:18:06 +08:00
2025-10-09 09:00:12 +08:00
2025-10-06 08:35:26 +08:00