Skip to content

feat: add Alibaba Cloud Coding Plan provider#47

Open
harrisonk0 wants to merge 1 commit intonumman-ali:mainfrom
harrisonk0:feat/add-alibaba-cloud-provider
Open

feat: add Alibaba Cloud Coding Plan provider#47
harrisonk0 wants to merge 1 commit intonumman-ali:mainfrom
harrisonk0:feat/add-alibaba-cloud-provider

Conversation

@harrisonk0
Copy link
Copy Markdown

Summary

This PR adds support for Alibaba Cloud Coding Plan (DashScope) as a new provider for cc-mirror.

Changes

New Provider: Alibaba Cloud

  • Endpoint: https://coding-intl.dashscope.aliyuncs.com/apps/anthropic (Anthropic-compatible)
  • Authentication: API key
  • Model mappings:
    • opusglm-5
    • sonnetkimi-k2.5
    • haikuqwen3.5-plus

New Brand Theme: Alibaba Aurora

  • Dark theme with purple, dark blue, and aqua accent colors
  • Custom thinking verbs and spinner style
  • Consistent with other cc-mirror brand presets

Files Modified

  • src/providers/index.ts - Added alibaba provider template
  • src/brands/alibaba.ts - New brand theme (new file)
  • src/brands/index.ts - Registered alibaba brand preset
  • src/cli/help.ts - Updated help text and examples

Testing

  • All 205 existing tests pass
  • TypeScript compilation succeeds with no errors
  • Prettier formatting verified
  • Follows existing provider/brand patterns

Usage

npx cc-mirror quick --provider alibaba --api-key "$ALIBABA_API_KEY"

Docs Reference

- Add alibaba provider with DashScope Anthropic-compatible endpoint
- Add Alibaba Aurora brand theme (purple, dark blue, aqua palette)
- Add colored ASCII art splash for alibaba provider
- Model mappings: opus→glm-5, sonnet→kimi-k2.5, haiku→qwen3.5-plus
- Update CLI help text and provider display order
- All tests passing
@harrisonk0 harrisonk0 force-pushed the feat/add-alibaba-cloud-provider branch from d87496f to 422c914 Compare March 17, 2026 13:18
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.

1 participant