github yetone/magpie-releases v0.1.684
magpie v0.1.684

latest releases: v0.1.4384, v0.1.4383, v0.1.4382...
one month ago

Features

  • Plugins can now provide an auth.refresh hook so Magpie renews their sign-ins automatically before they expire.
  • Renewals are coordinated per account, so multiple requests sharing the same account don’t trigger duplicate renewals or spend refresh tokens more than once.
  • Refreshed sign-in details are saved automatically and related caches are cleared so the updated credentials take effect immediately.

Improvements

  • Renewal failures no longer block requests: the request continues with the existing token, expired accounts are not retried until the user signs in again, and other errors are retried after 30 seconds.
  • Plugin renewal behavior is documented in /docs/plugins in English and Chinese.

Install

Download from usemagpie.ai, or curl -fsSL https://usemagpie.ai/install.sh | sh. An installed magpie updates itself.

  • macOS (Apple Silicon): magpie-darwin-arm64.dmg
  • macOS (Intel): magpie-darwin-amd64.dmg
  • Windows: magpie-windows-amd64.exe (ARM: magpie-windows-arm64.exe)
  • Linux: magpie-linux-amd64 / magpie-linux-arm64 (needs GTK 3 and WebKitGTK 4.1)
  • Terminal only: magpie-cli-<os>-<arch>

功能

  • 插件现在可以提供 auth.refresh 钩子,以便 Magpie 在登录过期前自动续期。
  • 续期按账户协调进行,因此共享同一账户的多个请求不会触发重复续期,也不会多次消耗刷新令牌。
  • 刷新后的登录信息会自动保存,并清除相关缓存,使更新后的凭证立即生效。

改进

  • 续期失败不再阻塞请求:请求继续使用现有令牌,过期账户在用户重新登录前不会重试,其他错误在 30 秒后重试。
  • 插件续期行为已记录在 /docs/plugins(英文和中文)中。

安装

从 usemagpie.ai 下载,或运行 curl -fsSL https://usemagpie.ai/install.sh | sh。已安装的 magpie 会自动更新。

Don't miss a new magpie-releases release

NewReleases is sending notifications on new releases.