Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
GLFzr
/
dsh-opencode-go-quota
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
5
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Releases
v0.2.0
v0.2.0
Compare
Choose a tag to compare
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
Uh oh!
There was an error while loading.
Please reload this page
.
No results found
GLFzr
released this
14 Aug 20:41
·
17 commits
to main since this release
v0.2.0
acf2c2b
v0.2.0 更新内容(相对 v0.1.0)
对话内额度提醒(Codex CLI 式,分级 + 每档只提醒一次)
动态注入 system prompt,
低于 warnAt(60%)零注入
(省 token、prompt 前缀稳定、利于缓存命中)
60%~79%
:注意档,提醒一次——建议在合适节点提醒用户、暂停待恢复
80%~89%
:告急档,提醒一次——主动提醒、任务边界暂停
90% 起每 +2% 递进一档
,措辞紧急程度递增:严重(90) → 濒临耗尽(92) → 即将耗尽(94) → 几乎耗尽(96) → 近极限(98) → 已用尽(100),每档只提醒一次
窗口重置回 60% 以下后升档记忆自动清除,下次爬升重新按档提醒
圆环警示按窗口独立阈值
5小时 ≥80%(唯一参与 prompt 注入)
周 ≥90%、月 ≥95%(仅 UI 警示,不注入 prompt)
警示行与文案跟随当前窗口(修复切换 5/W/M 后警示不刷新的问题)
配置(cordis.yml)
\warnAt\ / \criticalAt\ / \escalateFrom\ / \escalateStep\(默认 60/80/90/2)
\weeklyWarnAt\ / \monthlyWarnAt\(默认 90/95)
工程
新增 \lib/usage-text.js\(纯函数:档位计算、一次宣告门控、文案渲染)与 \ ests/usage-text.test.mjs\(10 个单测)
You can’t perform that action at this time.