magpie-plugin-loomy-auth 0.1.16 → 0.1.18

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/AGENTS.md CHANGED
@@ -8,6 +8,27 @@
8
8
 
9
9
  ---
10
10
 
11
+ ## 零、magpie 升级时:只看稳定版
12
+
13
+ **判断「要不要跟着 magpie 改这个插件」看稳定渠道,不看每版本渠道。**
14
+ magpie 设置里有「更新渠道:每个版本 / 稳定版」,用户默认跑后者,插件要跟的也是后者。
15
+
16
+ ```bash
17
+ curl -s "https://usemagpie.ai/api/latest?channel=stable" | grep -o '"version":"[^"]*"'
18
+ ```
19
+
20
+ 实测(2026-10-28):两档差 **400 多个版本**(每版本 0.1.1763 / 稳定版 0.1.1327),
21
+ 但把两边内嵌契约都提取出来逐字段比对后 —— **插件相关的字段一条不差**。
22
+ 多出来的段是 GUI 历史,不是插件契约。⇒ 追每版本几乎全是白跑。
23
+
24
+ **稳定版版本号变了**,才需要重提取契约(脚手架的 `extract-contract.py`)→
25
+ 跑 `contract-diff.mjs` → 看差集里有没有「不写会关掉某个能力」的字段。
26
+ 完整判据见脚手架的
27
+ [HOOKS.md](https://github.com/MYCF711/magpie-plugin-scaffold/blob/main/HOOKS.md) 顶部
28
+ 与 [UPDATING.md](https://github.com/MYCF711/magpie-plugin-scaffold/blob/main/UPDATING.md) 第七节。
29
+
30
+ ---
31
+
11
32
  ## 一、先定位你在哪一步
12
33
 
13
34
  | 你在做什么 | 必读(按顺序) | 做完的判据 |
@@ -61,9 +82,9 @@ npm pack --dry-run
61
82
  # 发布(包内 name 是 Loomy,npm 包名是 magpie-plugin-loomy-auth)
62
83
  npm run publish:npm
63
84
 
64
- # Release(本仓库没有 .github/workflows,手工建)
85
+ # Release:本仓库有 release.yml,推 tag 后 workflow 自动建(不用手工 POST)
65
86
  git tag v0.1.16 && git push origin v0.1.16
66
- # 然后 POST /repos/MYCF711/magpie-loomy-auth/releases
87
+ # (workflow 会自动建 Release;约 1 分钟后查 /releases/tags/v<version>)
67
88
  ```
68
89
 
69
90
  ---
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  > 每个版本一节,**一条一行**,说用户能感知的变化。
4
4
  > 格式与发布流程见 [magpie-plugin-scaffold](https://github.com/MYCF711/magpie-plugin-scaffold) 的 [UPDATING.md](https://github.com/MYCF711/magpie-plugin-scaffold/blob/main/UPDATING.md)。
5
5
 
6
+ ## 0.1.18 — 2026-10-28
7
+
8
+ - **修正文档里的错误说法**:AGENTS 与 CHECKLIST 都写着「本仓库没有 .github/workflows ⇒ Release 手工建」,实际本仓库**有** `release.yml` —— 推 tag 后 workflow 自动建 Release。上一版发布时 `release.mjs` 打出「交给 release.yml」才暴露出来
9
+
10
+ ## 0.1.17 — 2026-10-28
11
+
12
+ - **AGENTS 新增「零、magpie 升级时:只看稳定版」** —— magpie 有「更新渠道:每个版本 / 稳定版」,用户默认跑稳定版。两渠道实测差 **400 多个版本**(每版本 0.1.1763 / 稳定版 0.1.1327),但插件相关的契约字段**一条不差** ⇒ 追每版本几乎全是白跑。判断依据只有一条:**稳定版版本号变了**才需要重新同步
13
+
6
14
  ## 0.1.16 — 2026-10-28
7
15
 
8
16
  - **新增 `AGENTS.md`** —— 给 AI 执行者的入口:按「你在哪一步」给阅读顺序,外加本仓库 15 条会静默出错的坑(症状 → 判据 → 出处)。核心那条就是本插件存在的理由:`usage` 不上报 `used` 会让**被用空的号以「满额」排队首**
package/CHECKLIST.md CHANGED
@@ -78,8 +78,8 @@
78
78
  判据:返回 + magpie-plugin-loomy-auth@<版本>;package.json 的 name 已还原成 Loomy
79
79
  □ 第 6 步 · tag + Release
80
80
  命令:git tag v<version> && git push origin v<version>
81
- 本仓库**没有** .github/workflows ⇒ Release 手工建:
82
- POST /repos/MYCF711/magpie-loomy-auth/releases
81
+ 本仓库**有** .github/workflows/release.yml ⇒ 推 tag 后 workflow 自动建,不用手工 POST
82
+ 判据:约 1 分钟后 GET /releases/tags/v<version> 为 200
83
83
  □ 第 7 步 · 四条验证
84
84
  ① npm view magpie-plugin-loomy-auth version
85
85
  ② 下载 dist.tarball 解包看内容(不只看版本号)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magpie-plugin-loomy-auth",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "Loomy (iFlytek) for magpie: desktop-session import / SMS / session sign-in, live model catalog with reasoning efforts, chat with tools and images, and the two credit pools reported as the host routes them — the daily pool counts, the permanent one is shown aside.",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",