Files
magpie/internal
yetone 05ea29ac84 provider: the minute's look for model lists due reads only the user's own providers, not every agent's sign-in (#3185)
KeepListsFresh called provider.All() every minute to find the lists due.
All builds every provider, signed-in subscriptions among them, and so
asks each agent for its accounts: the Claude keychain through an exec of
`security` too. An idle magpie woke ~134 times in a burst for it once a
minute. Only providers of the user's own (with an endpoint) have lists
to fetch, so refreshDueLists now reads those from the file (ownOf, the
split allProviders already made).

Run at this head (19253f67b + this):
- TestKeepListsFreshFetchesWhatIsDue asserts a look with nothing due
  builds All 0 times: red on the old autolist.go ("built All 1 times"),
  green now.
- go test ./internal/provider -skip TestUnreadLoginsWriteErrorsKeepCredentials:
  ok (that test crashes the package on main too: #3632, filememo).
- gofmt; go vet darwin, GOOS=linux and GOOS=windows -tags nogui.
2026-10-26 10:19:29 +08:00
..
…
…
…
…
…