@viceme-ai/cli 0.15.0 → 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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.15.1] - 2026-08-17
4
+
5
+ ### Fixes
6
+
7
+ - 先上传真实草稿并持续拉起预览 (`8cb4a09`)
8
+ - 明确执行进程版本元数据 (`8b950d0`)
9
+
3
10
  ## [0.15.0] - 2026-08-16
4
11
 
5
12
  ### Features
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
@@ -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. |
@@ -234,8 +233,8 @@ Never copy an access token into the conversation.
234
233
  | `viceme skill listing prepare --path <path>` | Create or recover the stable private owner preview and persist the local binding. |
235
234
  | `viceme skill listing get <listing-id>` | Read the authoritative private Listing state. |
236
235
  | `viceme skill listing bind <listing-id> --path <path>` | Explicitly bind a source to a selected owned Listing. |
237
- | `viceme skill publish --path <path> --price-minor <fen> --dry-run` | Preview the exact deterministic package and price. |
238
- | `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. |
239
238
  | `viceme publication wait <id>` | Wait for background analysis without re-uploading. |
240
239
  | `viceme publication review <id>` | Read the authoritative bilingual copy, price, selected media, and review state. |
241
240
  | `viceme publication asset upload ...` | Replace or add a cover or gallery image before confirmation. |
@@ -258,12 +257,17 @@ text.
258
257
  "ok": true,
259
258
  "data": {},
260
259
  "meta": {
261
- "cliVersion": "<version>",
260
+ "executingCliVersion": "<version>",
262
261
  "requestId": "optional"
263
262
  }
264
263
  }
265
264
  ```
266
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
+
267
271
  Released installations check their authoritative release channel at most once
268
272
  every 24 hours. When a newer version is available, ordinary JSON responses
269
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
  最初的“帮我发布”不等于授权公开上架。只有完整审核稿已经展示、用户明确确认后,
@@ -77,14 +77,11 @@ viceme auth status
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
  ## 安装
@@ -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
  | 公开发布 | 用户只需做一次最终明确确认;随后完成审核确认并立即、不可逆地公开上架。 |
@@ -215,8 +213,8 @@ Endpoint 必须使用 HTTPS;只有 localhost 和 loopback 本地开发可以
215
213
  | `viceme skill listing prepare --path <path>` | 创建或恢复稳定的创作者私有预览,并保存本地绑定。 |
216
214
  | `viceme skill listing get <listing-id>` | 读取权威的私有 Listing 状态。 |
217
215
  | `viceme skill listing bind <listing-id> --path <path>` | 将来源明确绑定到用户选定且拥有的 Listing。 |
218
- | `viceme skill publish --path <path> --price-minor <fen> --dry-run` | 预览确定性发布包与价格。 |
219
- | `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 定价、上传媒体候选并启动分析。 |
220
218
  | `viceme publication wait <id>` | 等待后台分析,不重复上传。 |
221
219
  | `viceme publication review <id>` | 读取权威双语文案、价格、选定素材和审核状态。 |
222
220
  | `viceme publication asset upload ...` | 确认前替换或新增封面、画廊图片。 |
@@ -237,12 +235,15 @@ Endpoint 必须使用 HTTPS;只有 localhost 和 loopback 本地开发可以
237
235
  "ok": true,
238
236
  "data": {},
239
237
  "meta": {
240
- "cliVersion": "<version>",
238
+ "executingCliVersion": "<version>",
241
239
  "requestId": "optional"
242
240
  }
243
241
  }
244
242
  ```
245
243
 
244
+ `meta.executingCliVersion` 表示输出本次响应的进程版本。对于 `viceme update`,
245
+ 新安装版本单独由 `data.cli_version` 返回,因为最终响应仍由启动更新的旧进程输出。
246
+
246
247
  正式安装最多每 24 小时读取一次权威发布渠道。发现新版本后,普通 JSON 响应通过
247
248
  `_notice.update` 返回当前版本、最新版本和 `viceme update`。检查失败不会改变业务
248
249
  命令的退出码。
package/checksums.txt CHANGED
@@ -1,6 +1,6 @@
1
- b71fb51997b02123a4b037c138ccaeb94541c3f3a79330d8752c805eba7c2a81 viceme_0.15.0_darwin_amd64
2
- 2161a55792565efa14baa402c30cdaecd97c331ff89d07b10ec1eed342fda6f4 viceme_0.15.0_darwin_arm64
3
- 7aefb24616c39798cd8a1efb95b26a3c89cd320dbba141cadba51f2b618b84f5 viceme_0.15.0_linux_amd64
4
- 8c34bd131249448cd17b892d6b241fa5507dfd231f4e3bc955b71d735e9ce3bd viceme_0.15.0_linux_arm64
5
- 54c80ac055b7c46e6644a769dea381bef0a5108c90dc9e35cdf9c2b67b0566a0 viceme_0.15.0_windows_amd64.exe
6
- a51945e2b57a25132181578f70b9d01964a86b2855f71cc1cbef562fac3907d3 viceme_0.15.0_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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viceme-ai/cli",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "Install the ViceMe creator CLI and official Agent Skills",
5
5
  "type": "module",
6
6
  "bin": {