@dorokuma/magpie-gemini-web 0.15.1 → 0.15.2
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/CHANGELOG.md +8 -0
- package/README.en.md +16 -0
- package/README.md +16 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
本文件按版本倒序记录 `magpie-gemini-web`(0.15.0 起为 `@dorokuma/magpie-gemini-web`)的全部已发布与待发变更,依据本仓 `git log` 与 tag 事实编写。
|
|
4
4
|
|
|
5
|
+
## 0.15.2
|
|
6
|
+
|
|
7
|
+
### 文档
|
|
8
|
+
- README(中英)增补 Fork 声明与致谢章节:注明 fork 自 `BUKOWSKIREAL/magpie-gemini-web` 的上游归属、MIT 许可继承与与原版的主要差异。
|
|
9
|
+
|
|
10
|
+
### CI
|
|
11
|
+
- 发版链路迁移 npm **Trusted Publishing (OIDC)**:`pack-and-upload` 作业显式升级 npm(OIDC 要求 ≥ 11.5.1);npm 首包发布经由作用域包 + token staging 引导完成(npm 侧历史占位 `0.0.0-stage` 为 staged-publishing 机制产物)。
|
|
12
|
+
|
|
5
13
|
## 0.15.1
|
|
6
14
|
|
|
7
15
|
### 修复
|
package/README.en.md
CHANGED
|
@@ -8,6 +8,22 @@ Use **Google AI Studio** and **Gemini on the web** through your Google account i
|
|
|
8
8
|
|
|
9
9
|
> **New model support:** **Google AI Studio (`ai-studio`)** automatically follows official stable backend releases and supports **`gemini-4-hydrogen`** (including the `xhigh` thinking tier), **`gemini-4-carbon`** (requires an eligible account tier such as Google AI Ultra), and **`gemini-4-argon`**. **Gemini Web (`gemini-web`)** is backed by [`dorokuma/gemini-web2api-go` `v5.0.0`](https://github.com/dorokuma/gemini-web2api-go/releases/tag/v5.0.0), which natively supports dedicated `gemini-4-carbon` / `gemini-4-hydrogen` model IDs (including `-thinking` variants) and mutually recognizes slot upgrades/downgrades under `strict_model`; signed-in `gemini-4-argon` still has a known hang issue in [#53](https://github.com/dorokuma/magpie-gemini-web/issues/53), so `ai-studio` is recommended.
|
|
10
10
|
|
|
11
|
+
## Fork Notice & Acknowledgements
|
|
12
|
+
|
|
13
|
+
This project is an actively maintained **fork of [BUKOWSKIREAL/magpie-gemini-web](https://github.com/BUKOWSKIREAL/magpie-gemini-web)**, released under the original MIT license ([LICENSE](LICENSE)). Thanks to the original author [@bukowskiiiiii](https://github.com/bukowskiiiiii) and the upstream backend/ecosystem authors:
|
|
14
|
+
|
|
15
|
+
- Gemini Web backend: [zexadev/gemini-web2api-go](https://github.com/zexadev/gemini-web2api-go) (the pinned official prebuilt source of this repo, see [LICENSE-UPSTREAM](LICENSE-UPSTREAM))
|
|
16
|
+
- AI Studio backend: [Mag1cFall/AIStudio2API](https://github.com/Mag1cFall/AIStudio2API)
|
|
17
|
+
- Host gateway: [Magpie](https://usemagpie.ai/)
|
|
18
|
+
|
|
19
|
+
**Key differences from upstream** (full history in [CHANGELOG](CHANGELOG.md)):
|
|
20
|
+
|
|
21
|
+
1. npm package renamed to the scoped **`@dorokuma/magpie-gemini-web`**; the original unscoped `magpie-gemini-web` remains maintained by the upstream author as an independent npm package.
|
|
22
|
+
2. The Gemini Web backend is pinned to the **official Release prebuilt binaries** of `dorokuma/gemini-web2api-go` (currently `v5.0.0`, SHA-256 synced one-way by script); the local patch-and-rebuild pipeline was retired.
|
|
23
|
+
3. Gemini Web adds `gemini-4-carbon` / `gemini-4-hydrogen` model IDs with slot cross-validation; fixes include phantom session cleanup, AI Studio proxy precedence, and atomic publish/self-healing for update locks.
|
|
24
|
+
4. Release process: strict `vX.Y.Z` tags + `make release-check` gate; CI runs `make check`, backend pin online verification, and 6-platform smoke tests.
|
|
25
|
+
|
|
26
|
+
|
|
11
27
|
## Which Provider Should I Choose?
|
|
12
28
|
|
|
13
29
|
The plugin provides two independent providers that can be used individually or together:
|
package/README.md
CHANGED
|
@@ -8,6 +8,22 @@
|
|
|
8
8
|
|
|
9
9
|
> **新模型支持说明**:**Google AI Studio (`ai-studio`)** 默认自动跟随官方最新稳定版后端,现已直接支持 **`gemini-4-hydrogen`**(含 `xhigh` 思考档位)、**`gemini-4-carbon`**(需账号具备对应权益,如 Google AI Ultra)与 **`gemini-4-argon`**。**Gemini Web (`gemini-web`)** 由后端 [`dorokuma/gemini-web2api-go` `v5.0.0`](https://github.com/dorokuma/gemini-web2api-go/releases/tag/v5.0.0) 原生支持 `gemini-4-carbon` / `gemini-4-hydrogen` 专用模型 ID(含 `-thinking` 思考变体),`strict_model` 开启时也能正确互认槽位升降级;登录态 `gemini-4-argon` 仍存在生成挂起已知问题 [#53](https://github.com/dorokuma/magpie-gemini-web/issues/53),建议优先使用 `ai-studio`。
|
|
10
10
|
|
|
11
|
+
## Fork 声明与致谢
|
|
12
|
+
|
|
13
|
+
本项目是 **[BUKOWSKIREAL/magpie-gemini-web](https://github.com/BUKOWSKIREAL/magpie-gemini-web)** 的活跃分支,基于原版 MIT 许可开源([LICENSE](LICENSE))。感谢原作者 [@bukowskiiiiii](https://github.com/bukowskiiiiii),以及上游后端与生态作者:
|
|
14
|
+
|
|
15
|
+
- Gemini Web 后端:[zexadev/gemini-web2api-go](https://github.com/zexadev/gemini-web2api-go)(本仓 pin 的官方预编译来源,许可见 [LICENSE-UPSTREAM](LICENSE-UPSTREAM))
|
|
16
|
+
- AI Studio 后端:[Mag1cFall/AIStudio2API](https://github.com/Mag1cFall/AIStudio2API)
|
|
17
|
+
- 宿主网关:[Magpie](https://usemagpie.ai/)
|
|
18
|
+
|
|
19
|
+
**与原版的主要差异**(完整历史见 [CHANGELOG](CHANGELOG.md)):
|
|
20
|
+
|
|
21
|
+
1. npm 包名迁移为作用域包 **`@dorokuma/magpie-gemini-web`**;原版无作用域包 `magpie-gemini-web` 仍由原作者维护,两者在 npm 上是相互独立的包。
|
|
22
|
+
2. Gemini Web 后端固定使用 `dorokuma/gemini-web2api-go` 的**官方 Release 预编译二进制**(当前 `v5.0.0`,SHA-256 由脚本单向同步、禁止手改),移除本地补丁重编流水线。
|
|
23
|
+
3. Gemini Web 新增 `gemini-4-carbon` / `gemini-4-hydrogen` 模型 ID 与互认槽位校验;修复幻影会话、AI Studio 代理优先级、更新锁原子发布与自愈等问题。
|
|
24
|
+
4. 发版流程:tag 严格 `vX.Y.Z` + `make release-check` 门禁,CI 跑 `make check`、后端 pin 联网校验与 6 平台冒烟。
|
|
25
|
+
|
|
26
|
+
|
|
11
27
|
## 怎么选?
|
|
12
28
|
|
|
13
29
|
插件提供两个互相独立的 Provider,可按使用场景选择(也可同时配置):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dorokuma/magpie-gemini-web",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"description": "Google AI Studio and Gemini Web provider for Magpie (Gemini 4 Carbon / Hydrogen / Argon, Nano Banana image generation, Deep Research), backed by AIStudio2API and gemini-web2api-go",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.mjs",
|