This website requires JavaScript.
Explore
Help
Sign In
okooooooo
/
magpie
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
1a0b1f9feafbcf6004770d32ca94f9fee0804e87
magpie
/
internal
/
gui
T
History
yetone
1a0b1f9fea
providers: smart routing, a Copilot subscription signed in from magpie, and import by app in tabs — Smart, now the default, keeps the first key or account while it has quota to spare and moves to the one with the most left as it runs low; one out of credit sits out half an hour, one out of quota until it says it resets, one rate limited as long as the vendor asks, and one failing a minute, longer each time; Copilot gets a tile of its own that signs in with GitHub's device code (the code shown in magpie), several accounts beside the editors' own; Import from other apps shows a tab per app it reads, each with how many providers it has to bring over
2026-09-24 19:41:34 +08:00
..
assets
providers: smart routing, a Copilot subscription signed in from magpie, and import by app in tabs — Smart, now the default, keeps the first key or account while it has quota to spare and moves to the one with the most left as it runs low; one out of credit sits out half an hour, one out of quota until it says it resets, one rate limited as long as the vendor asks, and one failing a minute, longer each time; Copilot gets a tile of its own that signs in with GitHub's device code (the code shown in magpie), several accounts beside the editors' own; Import from other apps shows a tab per app it reads, each with how many providers it has to bring over
2026-09-24 19:41:34 +08:00
api.go
gui: gofmt
2026-09-24 12:50:51 +08:00
app.go
window: the tabs and buttons in the header are plain clicks — only the header's empty space drags the window, instead of a native strip that dragged from anywhere across the top
2026-09-24 15:27:35 +08:00
bus_linux.go
import: magpie://import links add a provider after the user confirms
2026-09-24 12:17:45 +08:00
bus_other.go
import: magpie://import links add a provider after the user confirms
2026-09-24 12:17:45 +08:00
dev_off.go
gui: real vendor logos on every picker row, no monograms
2026-09-23 01:09:01 +08:00
dev_on.go
Rename dial to magpie, with a magpie for a logo
2026-09-23 23:55:11 +08:00
icon.png
logo: a round magpie in black and white, drawn from one SVG
2026-09-24 01:09:59 +08:00
importapps.go
providers: import from other apps — the add sheet's Import… reads the providers CC Switch (its database, or the older config.json) and Alma have set up, read-only, and lists them to pick from: what magpie has already is marked, a key for a vendor that is already here can join it as another key, an id in use is kept beside or replaced, and sign-ins, Azure, Gemini-protocol relays and entries pointing at magpie itself are shown but not offered; keys are read again on import and only reach the window masked
2026-09-24 18:48:08 +08:00
importlink_test.go
provider: an import link can name the vendor's own icon
2026-09-24 17:13:03 +08:00
importlink.go
provider: an import link can name the vendor's own icon
2026-09-24 17:13:03 +08:00
providers.go
providers: several accounts of every kind in use at once, and routing over them — a Grok subscription can add more accounts, each signed in by grok login in a home of magpie's so the CLI's own sign-in is never touched, one first and the rest behind it; a provider with several keys or accounts on picks how requests spread: in order (the next takes over on quota, rate limit or failure), in turn, or least used first (a subscription by the share of its allowance used, a key by the tokens magpie sent it lately); failing ones still rest a minute at the back
2026-09-24 19:06:46 +08:00
scheme_linux.go
import: magpie://import links add a provider after the user confirms
2026-09-24 12:17:45 +08:00
scheme_other.go
import: magpie://import links add a provider after the user confirms
2026-09-24 12:17:45 +08:00
scheme_windows.go
import: magpie://import links add a provider after the user confirms
2026-09-24 12:17:45 +08:00
tray.png
logo: a round magpie in black and white, drawn from one SVG
2026-09-24 01:09:59 +08:00
update.go
update: the download shows how far along it is — percent and megabytes in Settings — a dropped connection is tried twice more, and a failure says why instead of only that it failed (
#21
)
2026-09-24 15:07:35 +08:00
usage.go
usage: the page no longer waits on subscription quotas — they load on their own, in parallel, stale-while-revalidate (
#6
)
2026-09-24 12:49:51 +08:00