Skip to content

feat: enrich /status with context and quota details#13

Merged
ttiee merged 7 commits intomainfrom
feat/status-rate-limit-panel
Mar 18, 2026
Merged

feat: enrich /status with context and quota details#13
ttiee merged 7 commits intomainfrom
feat/status-rate-limit-panel

Conversation

@ttiee
Copy link
Copy Markdown
Owner

@ttiee ttiee commented Mar 18, 2026

Closes #12

Summary

  • replace the old /status morning-afternoon quota view with context usage and two quota buckets
  • persist native thread token-usage updates so /status can show current context used vs total context window
  • render both rate-limit buckets with used/remaining percentages and refresh times

Verification

  • pdm run pytest -q
  • pdm run ruff check .

@ttiee ttiee force-pushed the feat/status-rate-limit-panel branch from bba565e to 04be6d7 Compare March 18, 2026 05:44
ttiee added 5 commits March 18, 2026 13:59
修正 native 主 agent 在 delta-only 场景下的最终文本 fallback,避免子 agent 出错后主流程看起来提前结束。
调整 Telegram 主进度面板在无最终文本时的收口文案,不再误报为已正常完成。
补全 /status 面板、回调处理和命令描述,展示额度窗口、使用比例、剩余比例与刷新时间。
补充 native、service、telegram、commands 层回归测试,并更新相关维护记录。
修正 native 协议解析只应由主线程的 turn/completed 结束当前轮次,避免子 agent 提前收口主流程。
移除把子 agent final/status 文本回填为主 agent 最终答案的错误回退,避免后续对话误绑定到子 agent。
补充主线程等待、主文本归属和子线程完成顺序的回归测试,并更新维护记录。
@ttiee ttiee force-pushed the feat/status-rate-limit-panel branch from 04be6d7 to 1cdc78e Compare March 18, 2026 06:04
@ttiee ttiee merged commit 39a1ec9 into main Mar 18, 2026
5 checks passed
@ttiee ttiee deleted the feat/status-rate-limit-panel branch March 18, 2026 09:43
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.

feat:增强 /status 展示额度百分比与刷新时间

1 participant