Files
plugins/packages/zed/package.json
T
yetone 47a8bb40d2 zed 0.1.8: a free account's card says "No plan", as the built-in's did, and the README says what the plugin and magpie now do
What changed:
- usage: magpie's built-in zedLoginQuota showed a free account's card
  (plan_v3 zed_free, or none) as "No plan", unless an overdue invoice was
  its error, while the account row kept zed.PlanName's "Free". magpie's
  card knows "No plan" (app.js noPlan) and translates it. The plugin's card
  said "Free". It now says "No plan" in the same case; the sign-in still
  saves planName "Free", and an overdue free card keeps "Free" with its
  error, as the built-in's switch did.
- README: "Not included" listed the plan display, which the usage hook has
  shown since 0.1.x, and several accounts and the web-search stand-in,
  which magpie gives a plugin provider itself (plugin_accounts.go, the
  gateway's generic searchReply path). It is now a "Usage" section and an
  "In magpie, not the plugin" section.

What was run:
- usage.test.mjs: the free-account test (zed_free, "" and an overdue free
  account) fails on 0.1.7's index.mjs ("Free" for "No plan"), passes now.
- packages/zed under a scratch HOME: 31 pass, 0 fail (4 files).
- bun scripts/check.mjs zed passes.

Not tried: a real free Zed account.
2026-10-16 17:36:24 +08:00

12 lines
478 B
JSON

{
"name": "@magpie-community/opencode-zed-auth",
"version": "0.1.8",
"description": "Sign in to a Zed subscription (Zed Pro, trial, student, business) from OpenCode or magpie",
"type": "module",
"main": "./index.mjs",
"files": ["index.mjs", "README.md"],
"keywords": ["opencode", "opencode-plugin", "magpie", "zed"],
"license": "MIT",
"repository": { "type": "git", "url": "git+https://github.com/magpie-community/plugins.git", "directory": "packages/zed" }
}