Xiangfang Chen
a3d73a8b67
feat(quota): add Zhipu AI Coding Plan usage tracking ( #756 )
...
- Add zhipuai-coding-plan provider for quota monitoring
- Support TOKENS_LIMIT (5-hour window) and TIME_LIMIT (MCP tools monthly)
- Update UI provider list and TypeScript types
- Register provider in server quota registry
2026-04-11 22:15:19 +03:00
nzlov
2af782b4da
Update minimax-cn-coding-plan.js ( #864 )
...
* Update minimax-cn-coding-plan.js
Signed-off-by: nzlov <wfhtqp@gmail.com >
* Update minimax-cn-coding-plan.js
Signed-off-by: nzlov <wfhtqp@gmail.com >
---------
Signed-off-by: nzlov <wfhtqp@gmail.com >
2026-04-07 14:05:22 +03:00
kalac2232
086cf26cd7
feat: add ZhipuAI provider to quota tracking system ( #793 )
2026-04-01 09:46:19 +03:00
Baruch Vitorino
060b37777c
fix(quota): correct minimax coding plan URL and usage calculation ( #796 )
...
* fix(quota): correct minimax coding plan URL and usage calculation
Fixes #759
- Change endpoint from www.minimax.io to api.minimax.io (fixes 403 error)
- Fix usage calculation: use intervalUsage/weeklyUsage directly instead of
computing remaining (total - usage), which was showing inverted percentage
- Remove minimax-shared.js - providers are now completely independent
- minimax-coding-plan.js: complete provider for minimax.io
- minimax-cn-coding-plan.js: complete provider for minimaxi.com
* Update packages/web/server/lib/quota/providers/minimax-coding-plan.js
Signed-off-by: Baruch Vitorino <9778282+baruchvitorino@users.noreply.github.com >
* Update packages/web/server/lib/quota/providers/minimax-cn-coding-plan.js
Signed-off-by: Baruch Vitorino <9778282+baruchvitorino@users.noreply.github.com >
---------
Signed-off-by: Baruch Vitorino <9778282+baruchvitorino@users.noreply.github.com >
2026-04-01 09:44:58 +03:00
Ariel Sandor and Ariel Sandor
1f21ab0886
fix(quota): show actual overusage percentage for GitHub Copilot ( #805 )
...
Remove the Math.min(100, ...) clamp on usedPercent in the Copilot quota
provider so overusage flows through as the real value (e.g. 353%).
Update formatPercent to display values above 100% instead of clamping,
matching what the GitHub Copilot settings page reports.
The progress bar remains capped at 100% width via its own independent
clampPercent call, so only the label text is affected.
Co-authored-by: Ariel Sandor <39200214+arielsandor@users.noreply.github.com >
2026-04-01 09:39:16 +03:00
nzlov and nzlov
a346d3f3da
feat: minimax weekly ( #719 )
...
* feat: minimax weekly limit
* feat: unify MiniMax quota providers and add weekly usage window
---------
Co-authored-by: nzlov <me@nzlov.com >
2026-03-20 12:37:53 +02:00
Henry Moran
654d49067f
feat: add Ollama Cloud quota provider ( #544 )
...
* feat: add Ollama Cloud quota provider
Adds ollama-cloud quota provider that reads auth cookie from
~/.config/ollama-quota/cookie and fetches usage from ollama.com/settings.
Returns 3 windows: session, weekly, and premium (X/Y). Reuses Ollama
logo via provider alias.
* docs(quota): add ollama-cloud provider entry to DOCUMENTATION.md
2026-02-28 01:38:28 +02:00
nzlov
1b64c826ee
feat: add MiniMax coding plan quota providers ( #516 )
...
Add separate MiniMax quota providers for minimax.io and minimaxi.com
Register and export both MiniMax providers in the web quota dispatcher
Update UI quota provider types/list and quota module documentation
2026-02-26 11:36:30 +02:00
Nelson Pires
073f44de2a
refactor(server): split opencode config/auth/ui-auth into domain modules ( #454 )
...
* docs(agents): map opencode module documentation
* docs(opencode): document split module responsibilities
* refactor(opencode): centralize shared config and file helpers
* refactor(opencode): move auth storage helpers into domain module
* refactor(opencode): move UI auth implementation into domain module
* refactor(opencode): isolate agent scope and CRUD logic
* refactor(opencode): isolate command scope and CRUD logic
* refactor(opencode): isolate provider config helpers
* refactor(opencode): isolate skill discovery and CRUD logic
* refactor(opencode): define single public module entrypoint
* refactor(opencode): remove legacy opencode-config module
* refactor(opencode): remove obsolete opencode-config typings
* refactor(opencode): remove legacy opencode-auth module
* refactor(opencode): remove legacy ui-auth shim
* refactor(server): import opencode APIs from new module paths
* refactor(tts): consume auth helpers from opencode domain module
* refactor(quota): point claude provider auth import to opencode domain
* refactor(quota): point codex provider auth import to opencode domain
* refactor(quota): point copilot provider auth import to opencode domain
* refactor(quota): point google auth import to opencode domain
* refactor(quota): point kimi provider auth import to opencode domain
* refactor(quota): point nanogpt provider auth import to opencode domain
* refactor(quota): point openai provider auth import to opencode domain
* refactor(quota): point openrouter provider auth import to opencode domain
* refactor(quota): point zai provider auth import to opencode domain
* fix(opencode): restore provider source and disconnect semantics
2026-02-20 15:57:44 +02:00
Iuliia Ivashko
50a66bb6f1
fix(auth): show actionable provider re-auth errors ( #450 )
2026-02-20 00:34:34 +02:00
Nelson Pires
243abe9d16
refactor(quota): modularize quota providers and add docs map ( #427 )
...
* refactor(quota): migrate server quota providers to modular registry architecture
* docs: add quota module documentation
Explain the quota module purpose and runtime signals.
List entrypoints, provider registry, and response shape.
Outline steps to add a new provider and testing commands.
2026-02-15 16:19:10 +02:00