@magpie-community/opencode-zen-free-auth 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,6 +19,12 @@ magpie plugin login opencode-zen-free
19
19
  ## Sign in
20
20
 
21
21
  Enter `public` in the key field. No personal API key is needed.
22
+
23
+ Whatever is typed in the key field, the plugin signs in with the one
24
+ shared `public` credential: a key made under your own OpenCode account
25
+ does nothing here, and several of them don't make several accounts. Your
26
+ own Zen keys go in magpie's built-in OpenCode Zen provider (or OpenCode's
27
+ `opencode` provider), which takes several keys.
22
28
  The credential is kept in OpenCode's `auth.json` or magpie's
23
29
  `plugin-auth.json`.
24
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magpie-community/opencode-zen-free-auth",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "OpenCode Zen free models through the public credential, with native streaming protocols",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",
package/provider.mjs CHANGED
@@ -257,7 +257,7 @@ async function server(_input, options = {}) {
257
257
  methods: [
258
258
  {
259
259
  type: "api",
260
- label: "Zen 免费访问(密钥填写 public)",
260
+ label: "Zen 免费访问(密钥填 public;自己的 OpenCode Key 请加到内置的 OpenCode Zen)",
261
261
  placeholder: "public",
262
262
  async authorize() {
263
263
  return { type: "success", key: "public" };