维护者确认:设置页展示 DeepSeek / OpenRouter 余额与用量
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
PR #3472 给官方 DeepSeek / OpenRouter 快速接入新增账户余额与密钥用量查询,并在「设置 → 模型供应商」详情卡展示。
请维护者确认:
1. 产品:是否接受在供应商详情里展示余额/配额,以及当前只覆盖新建官方预设、不回填存量连接的范围。
2. 架构:Main 新增固定端点查询服务、新 IPC、catalog 增加 `accountUsage.integrationId` 是否按这个方向落地。
3. 安全:Renderer 不得拿到 URL/headers/integration ID;凭证与原始响应不得进 Renderer、日志或持久化。请对照 diff 确认这条边界成立。
确认方式:直接在 PR 上 Approve。需要修改就 Request Changes,作者改完后重新 Approve 即放行。
---
关联 PR:#3472(作者 @eleven-1101);本 issue 由 review-pr 流程自动创建,用于先讨论该 PR 涉及的产品 / UI 变更,维护者确认后 PR 会恢复推进。
Contributor guide
Research direction
Open PR #3472 and inspect its diff first, focusing on the Main query service, IPC boundary, catalog accountUsage.integrationId, and settings provider card. Verify the listed product scope and that URLs, headers, integration IDs, credentials, and raw responses stay out of the Renderer, logs, and persistence. Done means Approve on the PR, or Request Changes with the needed corrections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100