@jixing475/magpie-marvis 0.3.0 → 0.3.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +12 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,31 @@
3
3
  > 每个版本一节,**一条一行**,说用户能感知的变化。
4
4
  > 格式与规矩见 [UPDATING.md](./UPDATING.md)。
5
5
 
6
+ ## 0.3.1 — 2026-12-04
7
+
8
+ **修(0.3.0 的 npm 包里 README 是发布前的旧版)**
9
+
10
+ - 只改文档,代码与 0.3.0 完全相同
11
+
12
+ ## 0.3.0 — 2026-12-04
13
+
14
+ **加(macOS 原生出票,不再需要中转网关)**
15
+
16
+ - 客户端自带 `beacon_napi.node`(Mach-O arm64),导出 `init / getQimei / getUskey`。它的 LC_RPATH 含
17
+ `@loader_path`,所以把 `BeaconAPI_Base.framework` 复制到 `.node` 旁边就能被动态链接器找到,
18
+ **不需要任何 `DYLD_*` 环境变量**
19
+ - 新增 `src/marvis/beacon-mac.mjs`:运行时从客户端复制 `.node` + framework 到插件 `native/`,按请求现签
20
+ - 新增 `src/marvis/desktop-mac.mjs`:「从本机导入」支持 macOS —— 解 Chromium v10 cookie(Keychain
21
+ 取密钥)拿到 openid / accesstoken,guid 取日志里的 36 位 qimei36
22
+ - 新增「粘贴 token」登录方式(`openid:accesstoken:guid`),供 Keychain 授权拿不到时兜底
23
+ - `protocol.mjs` 的 `osVersion` / `clientPlatform` 跟随真实系统,不再硬编码 Windows
24
+ - 平台支持表:macOS **完整支持**;Linux/容器仍只能浏览器登录
25
+
26
+ **改(包名与分发)**
27
+
28
+ - npm 包名改为 `@jixing475/magpie-marvis`,`publishConfig.access = public`
29
+ - README 按平台重写安装与排障
30
+
6
31
  ## 0.2.58 — 2026-11-22
7
32
 
8
33
  **修(`/v1/chat/completions` 持续 4100404:随机 uskey 不再被上游接受)**
package/README.md CHANGED
@@ -68,12 +68,24 @@ Marvis 免费账号 **一个号每天 1000 万计费 token**(`total_tokens`)
68
68
 
69
69
  ## 装
70
70
 
71
+ 从 npm 装(推荐,能自动更新):
72
+
73
+ ```bash
74
+ magpie plugin add @jixing475/magpie-marvis
75
+ ```
76
+
77
+ 从 GitHub 装(等同,但 magpie 拉的是仓库快照):
78
+
71
79
  ```bash
72
80
  magpie plugin add github:jixing475/magpie-marvis
73
81
  ```
74
82
 
75
83
  装完在 magpie 设置里 **供应商 → 添加 → 腾讯 Marvis**,选登录方式。
76
84
 
85
+ > 两种来源**只能装一个**。两个都装会互相抢 `marvis` 这个 provider 的签名权,
86
+ > magpie 会提示 `also signed in to by …`。卸掉多余的那份:
87
+ > `magpie plugin rm github:jixing475/magpie-marvis`
88
+
77
89
  ## 登录:按平台选
78
90
 
79
91
  ### macOS(推荐:从本机导入)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jixing475/magpie-marvis",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "腾讯 Marvis → magpie / OpenCode 供应商插件:Claude Opus/Sonnet 4.6、DeepSeek V4 Pro/Flash、GPT-5.4、Hy3、HY Vision。macOS 原生出票,不用粘贴 API key,QQ / 微信登录。",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",