Skip to content

chore: drop leftover aliases and rename wallet credits - #134

Merged
recombyn merged 2 commits into
mainfrom
chore/sync-contracts-docs
Aug 19, 2026
Merged

recombyn merged 2 commits into
mainfrom
chore/sync-contracts-docs

Conversation

@recombyn

Copy link
Copy Markdown
Owner

Summary

  • Drop remaining dual-read aliases so FE, API, and docs share one contract.
  • Rename wallet 积分 internals from tokens to credits (DB columns, /adjust-credits, FE helpers). LLM usage tokens is unchanged.

Test plan

  • API starts and alembic 0018 renames user_balances / card_keys columns (or wipe local DB).
  • Wallet balance UI still shows credits; image tools charge path still works.
  • Admin POST /admin/users/{id}/adjust-credits adjusts balance (recombyn-admin PR should land together).
  • Design run still maps insufficient balance to insufficient_credits.

Made with Cursor

Ask chips, plugin manifests, and intelligence usability now have one name each; docs and ADRs no longer describe re-exports or dual keys.
Keep one name through DB columns, admin adjust path, and FE helpers so wallet balance is not still called tokens.
@recombyn
recombyn merged commit 745e324 into main Aug 19, 2026
10 of 11 checks passed
@recombyn
recombyn deleted the chore/sync-contracts-docs branch August 21, 2026 13:04
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