@viceme-ai/cli 0.14.2 → 0.15.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.15.1] - 2026-08-17
4
+
5
+ ### Fixes
6
+
7
+ - 先上传真实草稿并持续拉起预览 (`8cb4a09`)
8
+ - 明确执行进程版本元数据 (`8b950d0`)
9
+
10
+ ## [0.15.0] - 2026-08-16
11
+
12
+ ### Features
13
+
14
+ - 增加 Owner Preview 展示意图 (`0d5225f`)
15
+
16
+ ### Fixes
17
+
18
+ - 修复 Agent 安装文档 UTF-8 响应头 (`ad1f9d5`)
19
+ - 登录流程始终等待浏览器授权 (`3738239`)
20
+
21
+ ### Other Changes
22
+
23
+ - 统一浏览器登录措辞 (`87e432b`)
24
+
3
25
  ## [0.14.2] - 2026-08-15
4
26
 
5
27
  ### Fixes
package/README.md CHANGED
@@ -59,15 +59,16 @@
59
59
 
60
60
  > Publish this Skill to ViceMe for CNY 1.00.
61
61
 
62
- The Agent checks login before reading the package, keeps the selected Profile
63
- fixed throughout the workflow, validates the Skill, and asks before uploading.
62
+ The Agent checks login, keeps the selected Profile fixed throughout the
63
+ workflow, validates the Skill, immediately uploads the private Draft, and opens
64
+ its real Owner Preview before asking for a price.
64
65
  After ViceMe prepares the bilingual copy and media suggestions, the Agent shows
65
66
  the complete review—including the images—and asks once whether to confirm and
66
67
  publish it publicly.
67
68
 
68
69
  ```text
69
- Local Skill → Login → Validate Confirm priceUploadPlatform analysis
70
- Visual review → Confirm and publish → Public product URL
70
+ Local Skill → Login → Validate and private uploadOwner Preview Set price
71
+ Platform analysis → Final review → Confirm and publish → Public URL
71
72
  ```
72
73
 
73
74
  The initial request to “publish” is not permission to make the listing public.
@@ -84,14 +85,11 @@ viceme auth status
84
85
  # Sign in only when auth status reports unauthenticated.
85
86
  viceme auth login
86
87
 
87
- # Inspect without uploading anything.
88
- viceme skill inspect --path ./my-skill
88
+ # Upload the real private draft and open its Owner Preview before pricing.
89
+ viceme skill publish --path ./my-skill
89
90
 
90
- # Create or recover the stable private owner preview before pricing
91
- viceme skill listing prepare --path ./my-skill
92
-
93
- # Preview the exact package and CNY 1.00 price plan.
94
- viceme skill publish --path ./my-skill --price-minor 100 --dry-run
91
+ # Set CNY 1.00 on the same draft, then continue media and analysis.
92
+ viceme skill publish --resume <publication-id> --price-minor 100
95
93
  ```
96
94
 
97
95
  ## Installation
@@ -149,7 +147,7 @@ Select a target explicitly with `viceme install --agent codex`, `claude`,
149
147
 
150
148
  | Skill | Use it when you want to... |
151
149
  | --- | --- |
152
- | `viceme-shared` | install ViceMe, sign in with a device code, manage Profiles, update, diagnose, or repair the local setup. |
150
+ | `viceme-shared` | install ViceMe, sign in through the browser, manage Profiles, update, diagnose, or repair the local setup. |
153
151
  | `viceme-publish` | validate, upload, review, resume, or publish a local Skill directory or ZIP as a paid ViceMe listing. |
154
152
  | `viceme-danmaku` | build or adapt the bundled production React and Tailwind CSS v4 danmaku component in an existing project. |
155
153
 
@@ -167,9 +165,10 @@ are not accepted.
167
165
 
168
166
  | Stage | Responsibility |
169
167
  | --- | --- |
170
- | Login | Device authorization happens before package inspection. Every command remains pinned to the same Profile and API origin. |
168
+ | Login | Browser authorization happens before protected API work. Every command remains pinned to the same Profile and API origin. |
171
169
  | Inspect | Local validation rejects unsafe paths, special files, excessive content, sensitive files, and common secret patterns. |
172
- | Price and upload | The user supplies an exact CNY price in fen and explicitly allows the deterministic package to be uploaded. |
170
+ | Private upload and preview | The initial publish request authorizes the private Draft upload. The real package is verified and its Owner Preview opens before pricing. |
171
+ | Price | The user supplies an exact CNY price in fen on the same Publication. |
173
172
  | Analysis | ViceMe proposes short Chinese and English summaries, bilingual usage instructions, a cover, and an ordered gallery. Suggestions are never treated as user decisions. |
174
173
  | Review | The Agent displays the exact copy, price, cover, and gallery images. A short summary has a maximum display width of 30; ASCII counts as 1 and Chinese/non-ASCII as 2. |
175
174
  | Publish | One explicit final confirmation authorizes review confirmation followed by immediate, irreversible public publication. |
@@ -215,15 +214,12 @@ Remote custom endpoints require HTTPS; only localhost and loopback development
215
214
  may use HTTP. Credentials are isolated by Profile and API origin, and an Agent
216
215
  must never switch to another Profile merely because it is already signed in.
217
216
 
218
- For an Agent that cannot wait in one turn:
219
-
220
- ```bash
221
- viceme auth login --no-wait
222
- viceme auth login --device-code <device-code>
223
- ```
224
-
225
- The user completes authorization in the browser. Never copy an access token
226
- into the conversation.
217
+ `viceme auth login` intentionally keeps running until browser authorization
218
+ finishes or its bounded timeout expires. Keep the command active, show the
219
+ one-time complete URL to the user, and wait for the final result. The page signs
220
+ the user in when necessary and authorizes the CLI automatically; the user never
221
+ types a device code. If the wait expires, start a fresh `viceme auth login`.
222
+ Never copy an access token into the conversation.
227
223
 
228
224
  ## Command reference
229
225
 
@@ -237,8 +233,8 @@ into the conversation.
237
233
  | `viceme skill listing prepare --path <path>` | Create or recover the stable private owner preview and persist the local binding. |
238
234
  | `viceme skill listing get <listing-id>` | Read the authoritative private Listing state. |
239
235
  | `viceme skill listing bind <listing-id> --path <path>` | Explicitly bind a source to a selected owned Listing. |
240
- | `viceme skill publish --path <path> --price-minor <fen> --dry-run` | Preview the exact deterministic package and price. |
241
- | `viceme skill publish --path <path> --price-minor <fen>` | Upload the package and start listing analysis. |
236
+ | `viceme skill publish --path <path>` | Upload the real private package and return its Owner Preview before pricing. |
237
+ | `viceme skill publish --resume <id> --price-minor <fen>` | Price the same Draft, upload media candidates, and start analysis. |
242
238
  | `viceme publication wait <id>` | Wait for background analysis without re-uploading. |
243
239
  | `viceme publication review <id>` | Read the authoritative bilingual copy, price, selected media, and review state. |
244
240
  | `viceme publication asset upload ...` | Replace or add a cover or gallery image before confirmation. |
@@ -261,12 +257,17 @@ text.
261
257
  "ok": true,
262
258
  "data": {},
263
259
  "meta": {
264
- "cliVersion": "<version>",
260
+ "executingCliVersion": "<version>",
265
261
  "requestId": "optional"
266
262
  }
267
263
  }
268
264
  ```
269
265
 
266
+ `meta.executingCliVersion` is the version of the process that emitted the
267
+ response. For `viceme update`, the newly installed version is reported
268
+ separately as `data.cli_version` because the response is still emitted by the
269
+ process that started the update.
270
+
270
271
  Released installations check their authoritative release channel at most once
271
272
  every 24 hours. When a newer version is available, ordinary JSON responses
272
273
  include `_notice.update` with the current version, latest version, and
package/README.zh.md CHANGED
@@ -55,13 +55,13 @@
55
55
 
56
56
  > 帮我把这个 Skill 以人民币 1 元发布到 ViceMe。
57
57
 
58
- Agent 会先检查登录状态,在整个流程中固定使用同一个 Profile,再校验 Skill,并在
59
- 上传前询问许可。ViceMe 完成双语文案和素材建议后,Agent 会把完整审核稿和图片直接
60
- 展示出来,最后只询问一次是否确认并立即公开发布。
58
+ Agent 会先检查登录状态,在整个流程中固定使用同一个 Profile,校验 Skill 后立即
59
+ 上传私有草稿并打开真实创作者预览,然后再询问价格。ViceMe 完成双语文案和素材建议后,
60
+ Agent 会把完整成品和图片直接展示出来,最后只询问一次是否确认并立即公开发布。
61
61
 
62
62
  ```text
63
- 本地 Skill → 登录 → 校验确认价格上传 → 平台分析
64
- 图文审核 → 确认并发布 → 公开商品链接
63
+ 本地 Skill → 登录 → 校验并私有上传创作者预览定价
64
+ 平台分析最终成品 → 确认并发布 → 公开商品链接
65
65
  ```
66
66
 
67
67
  最初的“帮我发布”不等于授权公开上架。只有完整审核稿已经展示、用户明确确认后,
@@ -74,17 +74,14 @@ Agent 会先检查登录状态,在整个流程中固定使用同一个 Profile
74
74
  viceme doctor
75
75
  viceme auth status
76
76
 
77
- # 仅在未登录时发起设备码登录。
77
+ # 仅在未登录时发起浏览器登录。
78
78
  viceme auth login
79
79
 
80
- # 只读校验,不上传任何内容。
81
- viceme skill inspect --path ./my-skill
80
+ # 定价前先上传真实私有草稿,并打开创作者预览。
81
+ viceme skill publish --path ./my-skill
82
82
 
83
- # 定价前先创建或恢复稳定的创作者私有预览
84
- viceme skill listing prepare --path ./my-skill
85
-
86
- # 预览确定性发布包与人民币 1 元的价格计划。
87
- viceme skill publish --path ./my-skill --price-minor 100 --dry-run
83
+ # 在同一草稿上设置人民币 1 元,并继续媒体上传与分析。
84
+ viceme skill publish --resume <publication-id> --price-minor 100
88
85
  ```
89
86
 
90
87
  ## 安装
@@ -140,7 +137,7 @@ npx --yes @viceme-ai/cli@latest install
140
137
 
141
138
  | Skill | 适用场景 |
142
139
  | --- | --- |
143
- | `viceme-shared` | 安装 ViceMe、设备码登录、管理 Profile、更新、诊断或修复本地环境。 |
140
+ | `viceme-shared` | 安装 ViceMe、通过浏览器登录、管理 Profile、更新、诊断或修复本地环境。 |
144
141
  | `viceme-publish` | 把本地 Skill 目录或 ZIP 校验、上传、审核、恢复或发布为 ViceMe 付费商品。 |
145
142
  | `viceme-danmaku` | 在已有项目中构建或适配随包提供的生产级 React 与 Tailwind CSS v4 弹幕组件。 |
146
143
 
@@ -154,9 +151,10 @@ Agent Skills 负责对话流程和授权规则;CLI 负责确定性本地操作
154
151
 
155
152
  | 阶段 | 责任边界 |
156
153
  | --- | --- |
157
- | 登录 | 解析包之前先完成设备码授权;所有后续命令固定使用同一个 Profile 与 API Origin。 |
154
+ | 登录 | 受保护 API 操作前完成浏览器授权;所有后续命令固定使用同一个 Profile 与 API Origin。 |
158
155
  | 校验 | 本地拒绝危险路径、特殊文件、超限内容、敏感文件和常见 Secret 模式。 |
159
- | 定价与上传 | 用户以“分”为单位提供人民币价格,并明确允许上传确定性发布包。 |
156
+ | 私有上传与预览 | 用户发起发布即授权上传私有草稿;真实包验证后先打开创作者预览。 |
157
+ | 定价 | 用户随后在同一 Publication 上以“分”为单位提供人民币价格。 |
160
158
  | 平台分析 | ViceMe 建议中英文短简介、中英文使用说明、封面和有序画廊;建议不能替代用户决定。 |
161
159
  | 图文审核 | Agent 展示精确文案、价格、封面和所有画廊图片。短简介最大显示宽度为 30:ASCII 计 1,中文及其他非 ASCII 计 2。 |
162
160
  | 公开发布 | 用户只需做一次最终明确确认;随后完成审核确认并立即、不可逆地公开上架。 |
@@ -198,14 +196,10 @@ viceme auth login
198
196
  Endpoint 必须使用 HTTPS;只有 localhost 和 loopback 本地开发可以使用 HTTP。
199
197
  凭据按 Profile 和 API Origin 隔离;Agent 不能因为另一个 Profile 已登录就擅自切换。
200
198
 
201
- Agent 无法在同一回合等待浏览器授权时使用分段流程:
202
-
203
- ```bash
204
- viceme auth login --no-wait
205
- viceme auth login --device-code <device-code>
206
- ```
207
-
208
- 用户在浏览器完成授权。不要在对话中复制 Access Token。
199
+ `viceme auth login` 会一直等待,直到浏览器授权完成或达到有界超时。Agent 必须保持
200
+ 命令运行,向用户展示一次性完整链接并等待最终结果。页面会在必要时先完成登录,随后
201
+ 自动授权 CLI;用户不需要输入设备码。等待超时后重新运行 `viceme auth login` 发起新
202
+ 流程。不要在对话中复制 Access Token。
209
203
 
210
204
  ## 命令参考
211
205
 
@@ -219,8 +213,8 @@ viceme auth login --device-code <device-code>
219
213
  | `viceme skill listing prepare --path <path>` | 创建或恢复稳定的创作者私有预览,并保存本地绑定。 |
220
214
  | `viceme skill listing get <listing-id>` | 读取权威的私有 Listing 状态。 |
221
215
  | `viceme skill listing bind <listing-id> --path <path>` | 将来源明确绑定到用户选定且拥有的 Listing。 |
222
- | `viceme skill publish --path <path> --price-minor <fen> --dry-run` | 预览确定性发布包与价格。 |
223
- | `viceme skill publish --path <path> --price-minor <fen>` | 上传发布包并启动 Listing 分析。 |
216
+ | `viceme skill publish --path <path>` | 定价前上传真实私有包并返回创作者预览。 |
217
+ | `viceme skill publish --resume <id> --price-minor <fen>` | 为同一 Draft 定价、上传媒体候选并启动分析。 |
224
218
  | `viceme publication wait <id>` | 等待后台分析,不重复上传。 |
225
219
  | `viceme publication review <id>` | 读取权威双语文案、价格、选定素材和审核状态。 |
226
220
  | `viceme publication asset upload ...` | 确认前替换或新增封面、画廊图片。 |
@@ -241,12 +235,15 @@ viceme auth login --device-code <device-code>
241
235
  "ok": true,
242
236
  "data": {},
243
237
  "meta": {
244
- "cliVersion": "<version>",
238
+ "executingCliVersion": "<version>",
245
239
  "requestId": "optional"
246
240
  }
247
241
  }
248
242
  ```
249
243
 
244
+ `meta.executingCliVersion` 表示输出本次响应的进程版本。对于 `viceme update`,
245
+ 新安装版本单独由 `data.cli_version` 返回,因为最终响应仍由启动更新的旧进程输出。
246
+
250
247
  正式安装最多每 24 小时读取一次权威发布渠道。发现新版本后,普通 JSON 响应通过
251
248
  `_notice.update` 返回当前版本、最新版本和 `viceme update`。检查失败不会改变业务
252
249
  命令的退出码。
package/checksums.txt CHANGED
@@ -1,6 +1,6 @@
1
- a5f39465c4aef0ddfdf15b6487498fbbe2909389aaaf1590269780e6ff79de90 viceme_0.14.2_darwin_amd64
2
- 97f01a59e674279821ad6d58f7b642b7bb55bfc51e270661eccd384ee85410fd viceme_0.14.2_darwin_arm64
3
- 060d0879e85bebdc7ba9673fa06208a139ab13fd1e01c3f440d3f46723b4bf09 viceme_0.14.2_linux_amd64
4
- f607618c5e1c0a3feedbe00050c12ecb8ce1115e0993659ddafefef27c9fa747 viceme_0.14.2_linux_arm64
5
- 5bddaa26d8dfdfa642c61356af122d6bf138ea66e0b4d9663a227a920c9a0124 viceme_0.14.2_windows_amd64.exe
6
- 5aa0c15a0abfaa8d0128840c618180af2144b4bf5d7fdc5a12d5ed3f5e5f6165 viceme_0.14.2_windows_arm64.exe
1
+ 60176995905d6d4f1f845d94d0138ee53c41d20c76c233a0b7c3c4dfd1a7e2d7 viceme_0.15.1_darwin_amd64
2
+ 2a1e28a6719f3bc4b94a611ae2baf8609879abfbad56e97962c7c6198c281bd9 viceme_0.15.1_darwin_arm64
3
+ fc1ac1aa5ab83ca94ee6d03c371d2dcf797a57e1cc57d3031c8ffefcc3ea43db viceme_0.15.1_linux_amd64
4
+ 3f1ac9fc26e9197a8f94296a6c8b7690b581c7de3afac3dec2dc5f09701dbdde viceme_0.15.1_linux_arm64
5
+ b3ac5a42207913326cd7079098f2c69b1078990918fea802cbc64cc0ec276d2b viceme_0.15.1_windows_amd64.exe
6
+ c6943ba2d4ad2bdd2cfb8bec7e3501e9f257be15181716ff0f7ff93477591afa viceme_0.15.1_windows_arm64.exe
package/docs/releasing.md CHANGED
@@ -117,7 +117,8 @@ Agent Manifest, signature bundle, and document.
117
117
 
118
118
  The publication job verifies both public origins after upload. It compares the
119
119
  versioned document, Manifest, and signature bundle with the release artifacts,
120
- checks immutable and root cache policies, compares the CN and Global root
120
+ checks immutable and root cache policies, requires the public root Agent
121
+ document to use `text/markdown; charset=utf-8`, compares the CN and Global root
121
122
  documents, and proves that an uploaded object outside the installation
122
123
  allowlist is not anonymously readable. Anonymous bucket listing must also stay
123
124
  disabled. The allowlist is limited to `agent-install.md`, the existing root
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viceme-ai/cli",
3
- "version": "0.14.2",
3
+ "version": "0.15.1",
4
4
  "description": "Install the ViceMe creator CLI and official Agent Skills",
5
5
  "type": "module",
6
6
  "bin": {