Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions changelog/unreleased/codearts-credits-and-brand-marks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### English

- Fixed Huawei Cloud CodeArts (码道) integration for the 2026-10 upstream changes: removed the retired free benefit channel, use the credit-only model catalog, reject unknown model ids before sending a billable request, and claim only server-eligible daily credit campaigns.
- Replaced placeholder provider icons with the official product marks for CodeArts, Command Code, Devin, Kimi, Muse (Meta), QwenWork and Trae in the account picker.

### 中文

- 修复华为云码道在 2026-10 上游变更后的兼容问题:移除已下线的免费权益通道,仅使用积分模型目录,发送计费请求前拒绝未知模型 ID,并只领取服务端明确允许的活动积分。
- 将账号选择器中 CodeArts、Command Code、Devin、Kimi、Muse (Meta)、QwenWork 和 Trae 的占位图标替换为各自产品的官方标识。
Binary file added frontend/src/assets/codearts-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/command-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/devin-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/kimi-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/muse-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/qwenwork-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/trae-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions frontend/src/components/CodeArtsMark.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import codeArtsMark from '@/assets/codearts-mark.png'

type Props = {
size?: number
className?: string
}

// Huawei Cloud CodeArts (码道) brand mark: the Huawei flower emblem.
export function CodeArtsMark({ size = 16, className = '' }: Props) {
return (
<img
src={codeArtsMark}
alt=""
width={size}
height={size}
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
18 changes: 11 additions & 7 deletions frontend/src/components/CommandMark.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
import commandMark from '@/assets/command-mark.png'

type Props = {
size?: number
className?: string
}

// Command Code brand mark: official commandcode.ai favicon.
export function CommandMark({ size = 16, className = '' }: Props) {
return (
<span
className={`inline-flex shrink-0 items-center justify-center rounded-[22%] bg-[#0a84ff] text-white ${className}`.trim()}
style={{ width: size, height: size, fontSize: Math.max(9, Math.round(size * 0.55)), fontWeight: 650, lineHeight: 1 }}
aria-hidden="true"
>
C
</span>
<img
src={commandMark}
alt=""
width={size}
height={size}
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
18 changes: 11 additions & 7 deletions frontend/src/components/DevinMark.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
import devinMark from '@/assets/devin-mark.png'

type Props = {
size?: number
className?: string
}

// Devin brand mark: official devin.ai favicon.
export function DevinMark({ size = 16, className = '' }: Props) {
return (
<span
className={`inline-flex shrink-0 items-center justify-center rounded-[22%] bg-[#1a1a1a] text-white ${className}`.trim()}
style={{ width: size, height: size, fontSize: Math.max(9, Math.round(size * 0.55)), fontWeight: 650, lineHeight: 1 }}
aria-hidden="true"
>
D
</span>
<img
src={devinMark}
alt=""
width={size}
height={size}
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
21 changes: 9 additions & 12 deletions frontend/src/components/KimiMark.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
import kimiMark from '@/assets/kimi-mark.png'

type Props = {
size?: number
className?: string
}

// Kimi crescent mark. Kimi's own glyph is a crescent, so the console reuses that
// silhouette instead of inventing a letterform for the provider row.
// Kimi brand mark: official kimi.com favicon.
export function KimiMark({ size = 16, className = '' }: Props) {
return (
<svg
<img
src={kimiMark}
alt=""
width={size}
height={size}
viewBox="0 0 24 24"
className={`block shrink-0 text-foreground ${className}`.trim()}
aria-hidden="true"
>
<path
fill="currentColor"
d="M21 12.79A9 9 0 1 1 11.21 3a7 7 0 0 0 9.79 9.79Z"
/>
</svg>
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
23 changes: 9 additions & 14 deletions frontend/src/components/MuseMark.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
import museMark from '@/assets/muse-mark.png'

type Props = {
size?: number
className?: string
}

// Muse (Meta) mark — simple infinity/loop glyph matching the Magpie tile style
// (currentColor, no decorative brand chrome).
// Muse (Meta) brand mark: official meta.ai favicon.
export function MuseMark({ size = 16, className = '' }: Props) {
return (
<svg
<img
src={museMark}
alt=""
width={size}
height={size}
viewBox="0 0 24 24"
className={`block shrink-0 text-foreground ${className}`.trim()}
aria-hidden="true"
>
<path
fill="currentColor"
fillRule="evenodd"
d="M8 6a4 4 0 0 0 0 8c.9 0 1.7-.3 2.4-.8L14 16.8A4 4 0 1 0 16 8a3.9 3.9 0 0 0-2.4.8L10 5.2A4 4 0 0 0 8 6Zm0 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm8 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z"
clipRule="evenodd"
/>
</svg>
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
4 changes: 4 additions & 0 deletions frontend/src/components/ProviderMark.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CommandMark } from '@/components/CommandMark'
import { CodeArtsMark } from '@/components/CodeArtsMark'
import { CodexMark } from '@/components/CodexMark'
import { DevinMark } from '@/components/DevinMark'
import { KiroMark } from '@/components/KiroMark'
Expand Down Expand Up @@ -37,6 +38,9 @@ export function ProviderMark({ provider, size = 16, className = '' }: Props) {
if (id === 'zhipu') {
return <ZhipuMark size={size} className={className} />
}
if (id === 'codearts') {
return <CodeArtsMark size={size} className={className} />
}
if (id === 'qwenwork') {
return <QwenworkMark size={size} className={className} />
}
Expand Down
31 changes: 11 additions & 20 deletions frontend/src/components/QwenworkMark.tsx
Original file line number Diff line number Diff line change
@@ -1,29 +1,20 @@
import qwenworkMark from '@/assets/qwenwork-mark.png'

type Props = {
size?: number
className?: string
}

// QwenWork mark: an ink tile, a Q glyph, and a Signal Cyan terminal dot —
// a simple geometric placeholder, deliberately not the official trademark.
// QwenWork / 千问办公 brand mark: official qwenwork favicon.
export function QwenworkMark({ size = 16, className = '' }: Props) {
const dot = Math.max(2, Math.round(size * 0.14))
return (
<span
className={`inline-flex shrink-0 items-baseline justify-center rounded-[22%] bg-[#18181B] text-white ${className}`.trim()}
style={{ width: size, height: size, fontSize: Math.max(9, Math.round(size * 0.5)), fontWeight: 650, lineHeight: 1 }}
aria-hidden="true"
>
<span style={{ alignSelf: 'center' }}>Q</span>
<span
style={{
alignSelf: 'center',
width: dot,
height: dot,
marginLeft: Math.max(0, Math.round(size * 0.03)),
borderRadius: '50%',
background: '#22D3EE',
}}
/>
</span>
<img
src={qwenworkMark}
alt=""
width={size}
height={size}
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
18 changes: 11 additions & 7 deletions frontend/src/components/TraeMark.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
import traeMark from '@/assets/trae-mark.png'

type Props = {
size?: number
className?: string
}

// Trae brand mark: official trae.ai favicon.
export function TraeMark({ size = 16, className = '' }: Props) {
return (
<span
className={`inline-flex shrink-0 items-center justify-center rounded-[22%] bg-[#1a1a1a] text-white ${className}`.trim()}
style={{ width: size, height: size, fontSize: Math.max(9, Math.round(size * 0.55)), fontWeight: 650, lineHeight: 1 }}
aria-hidden="true"
>
T
</span>
<img
src={traeMark}
alt=""
width={size}
height={size}
className={`block shrink-0 rounded-[22%] ${className}`.trim()}
draggable={false}
/>
)
}
Loading