@shulex/cxclawctl 0.1.9 → 0.1.10

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/README.md CHANGED
@@ -33,7 +33,7 @@ codex plugin marketplace add SolveaCX/cx_claw_codex --ref marketplace/stable
33
33
  codex plugin add cxclaw@cxclaw
34
34
  ```
35
35
 
36
- 安装后不需要单独执行登录命令。首次使用任何需要服务端访问的 CXClaw 能力时,CLI 会自动打开钉钉授权页并持续监听授权结果;授权成功后自动继续原命令,不需要再对 Codex 回复“已授权”。
36
+ 安装后不需要单独执行登录命令。首次使用任何需要服务端访问的 CXClaw 能力时,CLI 会自动打开钉钉授权页并持续监听授权结果;授权成功后自动继续原命令,不需要再对 Codex 回复“已授权”。浏览器成功打开时,CLI 不会把授权链接输出给 Agent;只有浏览器无法打开时才显示备用链接和设备码。插件内置的 Stop hook 会在授权仍进行时阻止 Codex 提前结束当前轮次;首次安装或 hook 内容变化后,需要在 Codex 中审查并信任该 hook。
37
37
 
38
38
  CLI 固定连接生产授权服务 `https://ai.solvea.cx/api_v2/ticket`,不接受用户指定服务地址或登录环境。一次登录即可访问获准的测试和生产租户。需要人工诊断授权时,可以执行:
39
39
 
@@ -176,41 +176,15 @@ bun run check:capabilities
176
176
 
177
177
  ## 发布
178
178
 
179
- 使用版本准备脚本同步修改 npm、插件清单和能力清单中的版本:
179
+ 稳定版使用一条命令创建发布 PR,日常修复默认使用 `patch`:
180
180
 
181
181
  ```bash
182
- bun run release:prepare <版本号>
182
+ bun run release:create patch
183
183
  ```
184
184
 
185
- 版本规则:
185
+ 也支持 `minor`、`major` 或明确版本号,例如 `bun run release:create 0.2.0`。命令会统一版本、执行完整检查并创建 `release/vX.Y.Z` PR。PR 合入后,发布流水线才会发布 npm、创建 GitHub Release 并推进 `marketplace/stable`;PR 创建成功不等于已经发布。
186
186
 
187
- - `vX.Y.Z` 发布到 `stable`
188
- - `vX.Y.Z-canary.N` 发布到 `canary`
189
- - `vX.Y.Z-dev.N` 发布到 `dev`
190
-
191
- 稳定版必须在 `release/vX.Y.Z` 分支准备版本并创建 PR。PR 经过评审并合入 `main` 后,GitHub Actions 才会创建 tag 和发布。不要直接推送稳定版 tag。
192
-
193
- `canary` 和 `dev` 预发布版在通过 CI 的提交上推送对应 tag 后发布:
194
-
195
- ```bash
196
- git push origin vX.Y.Z-canary.N
197
- git push origin vX.Y.Z-dev.N
198
- ```
199
-
200
- 发布流水线会固定到触发发布的 Git commit,并依次执行测试、构建、能力校验、npm 发布、GitHub Release 和 Marketplace 通道推进。只有前一步成功才会执行下一步;npm 包未发布时不会推进 `marketplace/<channel>`。
201
-
202
- npm 发布需要在 GitHub 的 `npm-publish` Environment 或仓库中配置 Secret `NPM_TOKEN`。缺少凭据会让发布失败,不会跳过。
203
-
204
- 发布产物包括:
205
-
206
- ```text
207
- cxclaw-agent-plugin.zip
208
- cxclaw-agent-plugin.json
209
- cxclaw-agent-plugin.sha256
210
- cxclaw-codex-plugin.zip
211
- ```
212
-
213
- 插件 ZIP 只从已提交的 Git 快照生成,不会包含本地未提交文件。
187
+ 维护者和 AI 在操作前必须阅读完整的[发布手册](./docs/releasing.md)。手册包含版本选择、预发布、合并后验收、失败恢复和禁止操作。仓库根目录的 [`AGENTS.md`](./AGENTS.md) 记录了 AI 每次进入仓库都会读取的强制规则。
214
188
 
215
189
  ## 仓库结构
216
190
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "plugin": {
4
- "pluginVersion": "0.1.9",
5
- "cliVersion": "0.1.9",
4
+ "pluginVersion": "0.1.10",
5
+ "cliVersion": "0.1.10",
6
6
  "toolSchemaVersion": "1",
7
7
  "serverApiVersion": "1"
8
8
  },