cloudflare-workers-ai 0.0.3: the provider shows Cloudflare's own cloud mark (#344)

cloudflare-workers-ai 0.0.3: the provider shows Cloudflare's own cloud mark (#344, Guislabert)

package.json's magpie.icon points at https://www.cloudflare.com/favicon.ico, and the READMEs' version moves to 0.0.3.

Checked at 42903e3:
- The URL answers 200 with a 99x96 PNG of 908 bytes. Go's http.DetectContentType reads it as image/png, which magpie's FetchIcon accepts (MaxIcon is 1 MiB), and it is on a public https host.
- The PR's test and on-npm checks pass.

Not tried: installing 0.0.3 in a running magpie and seeing the mark drawn.
This commit is contained in:
Guislabert
2026-10-23 23:48:23 +08:00
committed by GitHub
parent 44036e2fcc
commit a1689b1b6f
4 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
[English](README.md) | [简体中文](README.zh-CN.md) | 日本語
[![npm version](https://img.shields.io/badge/npm%20version-0.0.2-EA4335.svg)](https://www.npmjs.com/package/@magpie-community/opencode-cloudflare-workers-ai-auth)
[![npm version](https://img.shields.io/badge/npm%20version-0.0.3-EA4335.svg)](https://www.npmjs.com/package/@magpie-community/opencode-cloudflare-workers-ai-auth)
[![License: MIT](https://img.shields.io/badge/License-MIT-FBBC05.svg)](https://opensource.org/licenses/MIT)
[OpenCode](https://opencode.ai) 1.x と [magpie](https://usemagpie.ai) 向けのプロバイダー
@@ -145,7 +145,7 @@ sh scripts/sandbox.sh json # サンドボックス内で plugin --json
| | |
|---|---|
| **バージョン** | 0.0.2 |
| **バージョン** | 0.0.3 |
| **ライセンス** | [MIT](LICENSE) — Copyright (c) 2026 Guislabert |
| **ランタイム** | Node.js >= 20、ESM のみ |
| **作者** | [@Guislabert](https://github.com/Guislabert) |
+2 -2
View File
@@ -2,7 +2,7 @@
English | [简体中文](README.zh-CN.md) | [日本語](README.ja.md)
[![npm version](https://img.shields.io/badge/npm%20version-0.0.2-EA4335.svg)](https://www.npmjs.com/package/@magpie-community/opencode-cloudflare-workers-ai-auth)
[![npm version](https://img.shields.io/badge/npm%20version-0.0.3-EA4335.svg)](https://www.npmjs.com/package/@magpie-community/opencode-cloudflare-workers-ai-auth)
[![License: MIT](https://img.shields.io/badge/License-MIT-FBBC05.svg)](https://opensource.org/licenses/MIT)
A provider plugin for [OpenCode](https://opencode.ai) 1.x and
@@ -152,7 +152,7 @@ magpie, agents and sign-ins are never touched.
| | |
|---|---|
| **Version** | 0.0.2 |
| **Version** | 0.0.3 |
| **License** | [MIT](LICENSE) — Copyright (c) 2026 Guislabert |
| **Runtime** | Node.js >= 20, ESM only |
| **Author** | [@Guislabert](https://github.com/Guislabert) |
@@ -2,7 +2,7 @@
[English](README.md) | 简体中文 | [日本語](README.ja.md)
[![npm version](https://img.shields.io/badge/npm%20version-0.0.2-EA4335.svg)](https://www.npmjs.com/package/@magpie-community/opencode-cloudflare-workers-ai-auth)
[![npm version](https://img.shields.io/badge/npm%20version-0.0.3-EA4335.svg)](https://www.npmjs.com/package/@magpie-community/opencode-cloudflare-workers-ai-auth)
[![License: MIT](https://img.shields.io/badge/License-MIT-FBBC05.svg)](https://opensource.org/licenses/MIT)
面向 [OpenCode](https://opencode.ai) 1.x 和 [magpie](https://usemagpie.ai) 的供应商插件:
@@ -145,7 +145,7 @@ sh scripts/sandbox.sh json # 沙盒内 plugin --json
| | |
|---|---|
| **版本** | 0.0.2 |
| **版本** | 0.0.3 |
| **许可证** | [MIT](LICENSE) — Copyright (c) 2026 Guislabert |
| **运行时** | Node.js >= 20,仅 ESM |
| **作者** | [@Guislabert](https://github.com/Guislabert) |
+3 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@magpie-community/opencode-cloudflare-workers-ai-auth",
"version": "0.0.2",
"version": "0.0.3",
"private": false,
"type": "module",
"main": "./index.mjs",
@@ -36,6 +36,7 @@
"node": ">=20"
},
"magpie": {
"maxConcurrency": 3
"maxConcurrency": 3,
"icon": "https://www.cloudflare.com/favicon.ico"
}
}