@viceme-ai/cli 0.11.0 → 0.12.0

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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.12.0] - 2026-08-12
4
+
5
+ ### Features
6
+
7
+ - 持久化自定义 API 地址 (`4c527fe`)
8
+ - 审核双语 Skill 使用说明 (`8849a7f`)
9
+ - 审核 Skill 使用说明 (`e91f5c7`)
10
+
11
+ ### Fixes
12
+
13
+ - 兼容 S3 发布校验协议 (`7e9d13b`)
14
+
15
+ ## [0.11.1] - 2026-08-12
16
+
17
+ ### Fixes
18
+
19
+ - 修复 S3 发布产物被 checkout 清理 (`4fcc6fe`)
20
+
3
21
  ## [0.11.0] - 2026-08-11
4
22
 
5
23
  ### Features
package/README.md CHANGED
@@ -57,7 +57,9 @@ Select a target explicitly with `viceme install --agent codex`, `claude`,
57
57
 
58
58
  ## Authentication and profiles
59
59
 
60
- Each profile is bound to one official region and one device-authorized account.
60
+ Each profile is bound to one region, one API endpoint, and one device-authorized
61
+ account. Profiles without a custom endpoint use the selected region's official
62
+ ViceMe API.
61
63
 
62
64
  ```bash
63
65
  viceme auth login
@@ -68,6 +70,24 @@ viceme profile list
68
70
  viceme profile use default
69
71
  ```
70
72
 
73
+ For a test or private ViceMe deployment, persist the endpoint in a dedicated
74
+ profile before signing in:
75
+
76
+ ```bash
77
+ viceme profile add \
78
+ --name shop-dev \
79
+ --region cn \
80
+ --api-base-url https://viceme-shop-web.preview.tencent-zeabur.cn/api \
81
+ --use
82
+ viceme auth login
83
+ ```
84
+
85
+ `profile list` reports the effective endpoint. `VICEME_API_BASE_URL` remains a
86
+ one-process CI/debug override and is never written to profile configuration.
87
+ Remote custom endpoints require HTTPS; only localhost and loopback development
88
+ may use HTTP. Remove and recreate a profile to change its endpoint so an
89
+ existing credential cannot silently move to another origin.
90
+
71
91
  For an Agent workflow that cannot wait in one turn:
72
92
 
73
93
  ```bash
@@ -76,7 +96,8 @@ viceme auth login --device-code <device-code>
76
96
  ```
77
97
 
78
98
  The user completes authorization in the browser. Never copy an access token
79
- into the conversation. Credentials are isolated by profile and API origin.
99
+ into the conversation. Credentials are isolated by profile and API origin, so
100
+ sign in again after creating a profile for a different endpoint.
80
101
 
81
102
  ## Publish a Skill
82
103
 
@@ -113,12 +134,13 @@ viceme publication confirm <publication-id> --review-digest <digest>
113
134
  viceme publication publish <publication-id> --review-digest <digest>
114
135
  ```
115
136
 
116
- The model proposes `summaryZhCn`, `summaryEnUs`, and package images, but it never
117
- confirms them or decides the price. Each summary has a maximum display width of
137
+ The model proposes `summaryZhCn`, `summaryEnUs`, `usageInstructionsZhCn`,
138
+ `usageInstructionsEnUs` derived from the validated `SKILL.md`, and package
139
+ images, but it never confirms them or decides the price. Each summary has a maximum display width of
118
140
  30: ASCII counts as 1 and Chinese/non-ASCII counts as 2. The Agent must show the
119
- exact bilingual summaries, price, cover, and ordered gallery to the user and
120
- receive explicit confirmation before `confirm` and again before public
121
- `publish`.
141
+ exact bilingual summaries, both usage instructions, price, cover, and ordered gallery
142
+ to the user and receive explicit confirmation before `confirm` and again before
143
+ public `publish`.
122
144
 
123
145
  Resume after a connection loss with the same publication:
124
146
 
package/README.zh.md CHANGED
@@ -54,7 +54,8 @@ npx --yes @viceme-ai/cli@latest install
54
54
 
55
55
  ## 登录与 Profile
56
56
 
57
- 每个 Profile 绑定一个官方区域和一个通过设备码授权的账户。
57
+ 每个 Profile 绑定一个区域、一个 API Endpoint 和一个通过设备码授权的账户。未配置
58
+ 自定义 Endpoint 的 Profile 使用对应区域的 ViceMe 官方 API。
58
59
 
59
60
  ```bash
60
61
  viceme auth login
@@ -65,6 +66,22 @@ viceme profile list
65
66
  viceme profile use default
66
67
  ```
67
68
 
69
+ 连接测试环境或私有 ViceMe 部署时,先把 Endpoint 持久化到独立 Profile,再登录:
70
+
71
+ ```bash
72
+ viceme profile add \
73
+ --name shop-dev \
74
+ --region cn \
75
+ --api-base-url https://viceme-shop-web.preview.tencent-zeabur.cn/api \
76
+ --use
77
+ viceme auth login
78
+ ```
79
+
80
+ `profile list` 会显示实际生效的 Endpoint。`VICEME_API_BASE_URL` 仅保留为单进程
81
+ CI / 调试覆盖,不会被写入 Profile。远程自定义 Endpoint 必须使用 HTTPS;只有
82
+ localhost 和 loopback 本地开发可以使用 HTTP。要修改 Endpoint,应删除并重新创建
83
+ Profile,不能把既有凭据静默迁移到另一个 Origin。
84
+
68
85
  Agent 无法在同一个回合等待浏览器授权时使用分段流程:
69
86
 
70
87
  ```bash
@@ -73,7 +90,7 @@ viceme auth login --device-code <device-code>
73
90
  ```
74
91
 
75
92
  用户在浏览器完成授权。不要在对话中复制 Access Token。凭据按 Profile 和 API
76
- Origin 隔离。
93
+ Origin 隔离,因此为新 Endpoint 创建 Profile 后需要单独登录一次。
77
94
 
78
95
  ## 发布 Skill
79
96
 
@@ -110,9 +127,10 @@ viceme publication confirm <publication-id> --review-digest <digest>
110
127
  viceme publication publish <publication-id> --review-digest <digest>
111
128
  ```
112
129
 
113
- 模型会建议 `summaryZhCn`、`summaryEnUs` 和包内图片,但不能替用户确认,也不能决定价格。
130
+ 模型会建议 `summaryZhCn`、`summaryEnUs`、根据已验证 `SKILL.md` 生成的
131
+ `usageInstructionsZhCn`、`usageInstructionsEnUs` 和包内图片,但不能替用户确认,也不能决定价格。
114
132
  每版短简介的最大显示宽度为 30:ASCII 计 1,中文及其他非 ASCII 计 2。Agent 必须把双语
115
- 短简介、价格、封面和有序展示素材的完整 Draft 展示给用户,在 `confirm` 前获得明确确认,
133
+ 短简介、中英文使用说明、价格、封面和有序展示素材的完整 Draft 展示给用户,在 `confirm` 前获得明确确认,
116
134
  并在真正公开的 `publish` 前再次确认。
117
135
 
118
136
  网络中断后继续同一个发布操作:
package/checksums.txt CHANGED
@@ -1,6 +1,6 @@
1
- 5bd74bd5cb445113c3c274f2eff8d0ce07e737d68d380c50f04a8e7cc4168f2c viceme_0.11.0_darwin_amd64
2
- 42ae8463a3868bb2a95306c5a2b0e993eafc9133e2dcd7beafa0854fa39e7e0c viceme_0.11.0_darwin_arm64
3
- ff8b8602fc9ebaadff4d926a5f588097821feafa3bdd435ccce5f4ef16a550e9 viceme_0.11.0_linux_amd64
4
- d18fa18118762deb7b11c3d444a7a4d53e4cdbc5e939195e2af7311b86c1708a viceme_0.11.0_linux_arm64
5
- d5ffe3a9ee6e2fac43c0186b505bf479c79b90b0dd3c8a3c1e2e6e38438cae27 viceme_0.11.0_windows_amd64.exe
6
- 0bcf956c93bc88639b796ccf163b44608e1c25f0e3d5bd01f519855d56a25e49 viceme_0.11.0_windows_arm64.exe
1
+ 1c43a8d75a2ba60650c3bc0debafaffe462d18bf0abf19c85eabb008cda8d69f viceme_0.12.0_darwin_amd64
2
+ 366bfa35719d7c6f1334e4850e8d80b7e746509f5000c1c814596cc85ad80e94 viceme_0.12.0_darwin_arm64
3
+ 8db7b84aa4c2ac973b329bf66bd281e4676aceabb7d83774704f073b676c0874 viceme_0.12.0_linux_amd64
4
+ 82a877b1e208722e8f59d29a0add223dfd39b48739810a370d68bbb8321ec9ee viceme_0.12.0_linux_arm64
5
+ c5b514aecdb2beb3f79623d6662af07b0cec9bc160a17ad4dd9b39a29df5e99a viceme_0.12.0_windows_amd64.exe
6
+ b60602288163e14d7c54d0fc36abe49af5320b9bba1e5263b872c07892a0ffd7 viceme_0.12.0_windows_arm64.exe
package/docs/releasing.md CHANGED
@@ -89,6 +89,12 @@ public npmmirror binary mirror. Registering `viceme-cli` with cnpmcore enables
89
89
  the public `/-/binary/viceme-cli/` mirror; it does not create another npm
90
90
  package.
91
91
 
92
+ The CN and Global release mirrors are S3-compatible origins rather than Amazon
93
+ S3 itself. The publication job sets AWS CLI request and response checksum
94
+ calculation to `WHEN_REQUIRED`: immutable artifacts are still compared
95
+ byte-for-byte on recovery, while optional AWS streaming checksum trailers that
96
+ the origins do not implement are not sent.
97
+
92
98
  `GITHUB_TOKEN` is provided by Actions and is used to maintain the Release PR
93
99
  and resolve a merged `main` commit back to its reviewed Release PR.
94
100
  `RELEASE_APP_ID` and `RELEASE_APP_PRIVATE_KEY` authenticate the narrowly scoped
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viceme-ai/cli",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Install the ViceMe creator CLI and official Agent Skills",
5
5
  "type": "module",
6
6
  "bin": {