@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 +22 -0
- package/README.md +27 -26
- package/README.zh.md +24 -27
- package/checksums.txt +6 -6
- package/docs/releasing.md +2 -1
- package/package.json +1 -1
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
|
|
63
|
-
|
|
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
|
|
70
|
-
→
|
|
70
|
+
Local Skill → Login → Validate and private upload → Owner 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
|
-
#
|
|
88
|
-
viceme skill
|
|
88
|
+
# Upload the real private draft and open its Owner Preview before pricing.
|
|
89
|
+
viceme skill publish --path ./my-skill
|
|
89
90
|
|
|
90
|
-
#
|
|
91
|
-
viceme 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
|
|
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 |
|
|
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
|
-
|
|
|
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
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
viceme auth login
|
|
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
|
|
241
|
-
| `viceme skill publish --
|
|
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
|
-
"
|
|
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
|
|
59
|
-
|
|
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
|
|
80
|
+
# 定价前先上传真实私有草稿,并打开创作者预览。
|
|
81
|
+
viceme skill publish --path ./my-skill
|
|
82
82
|
|
|
83
|
-
#
|
|
84
|
-
viceme 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
|
|
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
|
-
| 登录 |
|
|
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
|
-
|
|
204
|
-
|
|
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
|
|
223
|
-
| `viceme skill publish --
|
|
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
|
-
"
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
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
|