@viceme-ai/cli 0.37.3 → 0.38.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,28 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.38.1] - 2026-09-09
4
+
5
+ ### Fixes
6
+
7
+ - 试用扣次成功后锁释放失败仍交付本次使用 (`bc51b5e`)
8
+ - 修正付费Skill发布的来源选择与人类可见文案 (`aae9ccf`)
9
+ - scope trial recovery state to market (`e4eee1f`)
10
+
11
+ ## [0.38.0] - 2026-09-09
12
+
13
+ ### Features
14
+
15
+ - 按托管状态返回做同款作品展示方式 (`fbade28`)
16
+
17
+ ### Fixes
18
+
19
+ - 在同款交付失败时保留已确认支付状态 (`fb15b6f`)
20
+ - 安全恢复同款目录丢失的预留标记 (`67ee53b`)
21
+ - 自购被拒绝后释放无订单的同款恢复状态 (`8ac25fb`)
22
+ - 按来源固定托管开发环境的 Commerce 公钥 (`f61b872`)
23
+ - 清理托管页面的重复做同款入口 (`43e5be4`)
24
+ - 用活动页面状态判定做同款托管页 (`880b387`)
25
+
3
26
  ## [0.37.3] - 2026-09-08
4
27
 
5
28
  ### Fixes
package/README.md CHANGED
@@ -251,6 +251,15 @@ Remote custom endpoints require HTTPS; only localhost and loopback development
251
251
  may use HTTP. Credentials are isolated by Profile authority, and an Agent
252
252
  must never switch to another Profile merely because it is already signed in.
253
253
 
254
+ The official hosted development environment uses API `https://dev.viceme.cn/api`,
255
+ Web `https://dev.viceme.cn`, and market `cn`. The CLI pins its Commerce signing
256
+ key to that HTTPS origin for paid Skills and Website Replica licenses. Select
257
+ an existing `dev` Profile, or substitute these addresses and name in the
258
+ `profile add` example above. The development key is not trusted on production
259
+ origins, other domains, or other ports. Unknown remote keys are never fetched
260
+ and trusted dynamically. Key rotation requires a CLI release first; see
261
+ [the release guide](docs/releasing.md).
262
+
254
263
  `viceme auth login` intentionally keeps running until browser authorization
255
264
  finishes or its bounded timeout expires. Keep the command active, show the
256
265
  one-time complete URL to the user, and wait for the final result. The page signs
package/README.zh.md CHANGED
@@ -221,6 +221,13 @@ viceme auth login
221
221
  Endpoint 必须使用 HTTPS;只有 localhost 和 loopback 本地开发可以使用 HTTP。
222
222
  凭据按完整 Profile authority 隔离;Agent 不能因为另一个 Profile 已登录就擅自切换。
223
223
 
224
+ 官方托管测试环境使用 API `https://dev.viceme.cn/api`、Web
225
+ `https://dev.viceme.cn` 和 `cn` 市场。CLI 内置该 HTTPS Origin 专属的 Commerce
226
+ 签名公钥,支持测试环境的付费 Skill 与网站同款许可证验证。切换现有 `dev` Profile
227
+ 即可使用;首次配置时用上述 `profile add` 命令替换地址及名称。测试公钥不适用于
228
+ 生产地址、其他域名或其他端口,也不接受远程接口临时返回的未知公钥。
229
+ 公钥轮换须先发布包含新公钥的 CLI,规则见 [发布文档](docs/releasing.md)。
230
+
224
231
  `viceme auth login` 会一直等待,直到浏览器授权完成或达到有界超时。Agent 必须保持
225
232
  命令运行,向用户展示一次性完整链接并等待最终结果。页面会在必要时先完成登录,随后
226
233
  自动授权 CLI;用户不需要输入设备码。等待超时后重新运行 `viceme auth login` 发起新
package/checksums.txt CHANGED
@@ -1,6 +1,6 @@
1
- db0a52fa241826261d4fd4e309c9f2984354a4604b7aae03fdf8dcbce9501761 viceme_0.37.3_darwin_amd64
2
- 6dce1d87d2ce01ade835a3b13f29d969a5c344f4a6cd860be1a8d63e40515ace viceme_0.37.3_darwin_arm64
3
- 665ed9880fb4ff0db7905370f4c0a4e0f3a07f6304bda20ec6c77cb82a5b26af viceme_0.37.3_linux_amd64
4
- 0ff87b7be0a0d34afe18f7e02063678e2906a4c7281e87e7bb15c317c0baa038 viceme_0.37.3_linux_arm64
5
- 9bddba97745cd545892c7a7271b16cedfb99fc25451df68aba7f16f6b0d5e6da viceme_0.37.3_windows_amd64.exe
6
- 4a8806d93b33e3158a325527576346405fee7c036a6b5eec2b851f13a0a2a0a6 viceme_0.37.3_windows_arm64.exe
1
+ ab1ea7e09a7dfe268f2fc5771e7714e7b9e02c7693d033863f5d83e2e339d98e viceme_0.38.1_darwin_amd64
2
+ 2a15295bf4c6d62014050cb54239109fac731270eeb8a45119f2ffaee9936469 viceme_0.38.1_darwin_arm64
3
+ 68f1a1dbe2787a6735e5d844d380d669f79c08c78ed51cc549fc200122a1ee8e viceme_0.38.1_linux_amd64
4
+ c692187919e825c77a4b9b60f9ec82ffaedb9d280f4b760b299cd8056f04a9c3 viceme_0.38.1_linux_arm64
5
+ 2037549964d83215bbe6e23f10d5fc5e3a7e2d75b7b6f038ce3084a60aa28a18 viceme_0.38.1_windows_amd64.exe
6
+ bae3f5e9822d472048b2b2780490b654bd3dc2e67711dba3283fbfb0f762a02d viceme_0.38.1_windows_arm64.exe
package/docs/releasing.md CHANGED
@@ -70,6 +70,23 @@ Shop signs with the new key. Never replace key material under an existing ID;
70
70
  remove an old public key only after every Release signed by it is no longer
71
71
  installable.
72
72
 
73
+ **Hosted development Commerce signer.**
74
+
75
+ `https://dev.viceme.cn` has a separate source-pinned Commerce trust entry in
76
+ `internal/command/commerce_install.go`. Its `v1` public Ed25519 SPKI SHA-256 is
77
+ `20f58035b232eef096699009db4301ad708cf2ae962cdbece04b62d26dd16196`.
78
+ The entry matches the normalized HTTPS origin, including its port, and applies
79
+ to both Commerce Skill releases and Website Replica licenses. It does not
80
+ relax document signatures, artifact checks, or the existing loopback policy.
81
+
82
+ Do not put this development key in the origin-independent production
83
+ `COMMERCE_SKILL_TRUST_KEYS` variable. For development key rotation, verify the
84
+ new public key against the intended development deployment, allocate a new
85
+ key ID, add another entry scoped to the same origin, and release the CLI before
86
+ switching the development signer. Retain old entries while their signed
87
+ releases or paid licenses remain recoverable. A remote endpoint response alone
88
+ never changes an installed CLI's trust policy.
89
+
73
90
  Keep `main` as the repository default branch, but target normal feature and fix
74
91
  pull requests explicitly at `dev`. Repository settings allow merge commits only;
75
92
  squash and rebase merging are disabled so an administrator bypass cannot detach
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viceme-ai/cli",
3
- "version": "0.37.3",
3
+ "version": "0.38.1",
4
4
  "description": "Install the ViceMe creator CLI and official Agent Skills",
5
5
  "type": "module",
6
6
  "bin": {