Repository navigation
Turn the model square into a CNY price list - #8
Merged
Merged
Conversation
/pricing now leads with a pricing-rules strip, group cards with their discount, and a table of each model's four Claude Code prices in CNY beside the struck-through official price and the share saved. The filter sidebar, toolbar and card views are no longer rendered; their upstream components stay in the tree to keep upstream syncs clean. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
/pricingnow uses the reference page's layout:官方价格按 $1 = ¥6.8 折算 · 充值 ¥1 得 $1 额度, plus the 「计费说明」 button.Claude 满血 2.2折 · 1.5x 倍率), with the group description underneath.All figures come from live configuration: group price = official USD × group ratio ×
Price; official price = official USD ×USDExchangeRate.The filter sidebar, toolbar and card/table views are no longer rendered. Their components are upstream new-api code, so they stay in the tree to keep upstream syncs free of modify/delete conflicts. The reasoning is in
.agents/notes/implemented/feature/2026-10-22-model-square-price-board.md.Checks
bun run typecheck: passesbunx vitest run src/features/pricing: 17 files, 301 tests pass, including newunit-pricesandprice-boardtestsoxfmt --checkon the changed files: clean🤖 Generated with Claude Code