From a1689b1b6feb37f9de4c213fee276bc9be4676cb Mon Sep 17 00:00:00 2001 From: Guislabert Date: Fri, 23 Oct 2026 11:48:23 -0400 Subject: [PATCH] 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. --- packages/cloudflare-workers-ai/README.ja.md | 4 ++-- packages/cloudflare-workers-ai/README.md | 4 ++-- packages/cloudflare-workers-ai/README.zh-CN.md | 4 ++-- packages/cloudflare-workers-ai/package.json | 5 +++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/packages/cloudflare-workers-ai/README.ja.md b/packages/cloudflare-workers-ai/README.ja.md index b8b680a..26e09ca 100644 --- a/packages/cloudflare-workers-ai/README.ja.md +++ b/packages/cloudflare-workers-ai/README.ja.md @@ -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) | diff --git a/packages/cloudflare-workers-ai/README.md b/packages/cloudflare-workers-ai/README.md index 66b12d2..dd2018d 100644 --- a/packages/cloudflare-workers-ai/README.md +++ b/packages/cloudflare-workers-ai/README.md @@ -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) | diff --git a/packages/cloudflare-workers-ai/README.zh-CN.md b/packages/cloudflare-workers-ai/README.zh-CN.md index 9c8674f..7f165e5 100644 --- a/packages/cloudflare-workers-ai/README.zh-CN.md +++ b/packages/cloudflare-workers-ai/README.zh-CN.md @@ -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) | diff --git a/packages/cloudflare-workers-ai/package.json b/packages/cloudflare-workers-ai/package.json index 132c46b..6ccc283 100644 --- a/packages/cloudflare-workers-ai/package.json +++ b/packages/cloudflare-workers-ai/package.json @@ -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" } }