Logo
Explore Help
Sign In
okooooooo/magpie
Watch 1
Star 0 Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
1,926 Commits 1 Branch 0 Tags
9abfbff6073ab33bb2c2e8e0692c35dc0be411b5
Commit Graph
2 Commits
Author SHA1 Message Date
yetone 9abfbff607 cleanup: gofmt the 15 Go files main had unformatted — whitespace, comment alignment and three one-line funcs gofmt opens up; nothing else. go build and vet -tags nogui pass. 2026-10-06 07:43:47 +08:00
yetone 20c086d1f6 provider: a ClinePass API key's card shows its 5-hour, weekly and monthly limits and its credits (zRain on Discord) — a ClinePass added with a key had no usage card: we took GET /users/me/plan/usage-limits for a signed-in account's alone. AxonHub (looplj/axonhub, its Cline channel; verified there against a live account) reads it, /users/me and /users/{id}/balance with the channel's key as a Bearer, so magpie now does the same for a Cline key with no Balance URL of its own: windows 5 hours, Weekly and Month as the Cline plugin names them, percentUsed and resetsAt, and the balance in dollars (millionths). An account without ClinePass (usage-limits 404) shows its credits alone; a key Cline refuses says so on its card. Not tried with a real Cline key. TestClineKeyUsage fails without the change; go vet, go build (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui ./... under a temp HOME pass. 2026-10-05 17:02:19 +08:00
Powered by Gitea Version: 28.3.0 Page: 423ms Template: 4ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API