@viceme-ai/cli 0.12.2 → 0.12.4

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,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.12.4] - 2026-08-12
4
+
5
+ ### Fixes
6
+
7
+ - 避免旧 Profile 阻断安装升级 (`05f9d3d`)
8
+
9
+ ## [0.12.3] - 2026-08-12
10
+
11
+ ### Fixes
12
+
13
+ - 前置发布登录并支持批量清理 Profile (`73c7e85`)
14
+
3
15
  ## [0.12.2] - 2026-08-12
4
16
 
5
17
  ### Fixes
package/README.md CHANGED
@@ -70,6 +70,16 @@ viceme profile list
70
70
  viceme profile use default
71
71
  ```
72
72
 
73
+ To remove every legacy/test Profile and all of their local credentials before
74
+ creating a clean test Profile:
75
+
76
+ ```bash
77
+ viceme profile remove --all --yes
78
+ ```
79
+
80
+ This destructive command recreates one unauthenticated `default` Profile; it
81
+ does not leave the CLI with an invalid empty configuration.
82
+
73
83
  For a test or private ViceMe deployment, persist the endpoint in a dedicated
74
84
  profile before signing in:
75
85
 
@@ -104,22 +114,31 @@ sign in again after creating a profile for a different endpoint.
104
114
  The first release accepts a local directory containing `SKILL.md` or a local
105
115
  ZIP. GitHub URLs, remote downloads, and multi-Skill bundles are not accepted.
106
116
 
117
+ Authenticate before inspecting the package, then keep every command pinned to
118
+ the Profile returned by `auth status`. An Agent must not switch to another
119
+ Profile merely because that Profile is already signed in.
120
+
121
+ ```bash
122
+ viceme auth status
123
+ viceme --profile <publication-profile> auth login # only when unauthenticated
124
+ ```
125
+
107
126
  Inspect without side effects:
108
127
 
109
128
  ```bash
110
- viceme skill inspect --path ./my-skill
129
+ viceme --profile <publication-profile> skill inspect --path ./my-skill
111
130
  ```
112
131
 
113
132
  Show the exact deterministic package and price plan:
114
133
 
115
134
  ```bash
116
- viceme skill publish --path ./my-skill --price-minor 100 --dry-run
135
+ viceme --profile <publication-profile> skill publish --path ./my-skill --price-minor 100 --dry-run
117
136
  ```
118
137
 
119
138
  Start the resumable upload and listing analysis:
120
139
 
121
140
  ```bash
122
- viceme skill publish --path ./my-skill --price-minor 100
141
+ viceme --profile <publication-profile> skill publish --path ./my-skill --price-minor 100
123
142
  ```
124
143
 
125
144
  Then follow the authoritative publication state:
@@ -145,7 +164,7 @@ public `publish`.
145
164
  Resume after a connection loss with the same publication:
146
165
 
147
166
  ```bash
148
- viceme skill publish --resume <publication-id>
167
+ viceme --profile <publication-profile> skill publish --resume <publication-id>
149
168
  ```
150
169
 
151
170
  Do not create a second publication when the server response is unknown. Query
@@ -204,9 +223,10 @@ target version; its member lock prevents a parent crash from admitting a newer
204
223
  generation while the child still commits. A committed target is only cleaned up
205
224
  after a crash—it is never reapplied or rolled back. Private
206
225
  journals can therefore only restore the complete previous generation or finish
207
- the complete target generation. `viceme doctor`
208
- validates Skill/version integrity and an unauthenticated API readiness probe
209
- before installation commits.
226
+ the complete target generation. Installation commits after local Skill/version
227
+ integrity checks; an unavailable active-profile API is reported as a warning so
228
+ stale profile state cannot block an upgrade. `viceme doctor` remains the
229
+ explicit network-readiness check before business commands.
210
230
 
211
231
  ## First-phase implementation status
212
232
 
package/README.zh.md CHANGED
@@ -66,6 +66,15 @@ viceme profile list
66
66
  viceme profile use default
67
67
  ```
68
68
 
69
+ 需要清除历史/测试 Profile 及其本地凭据时,使用一次批量清理:
70
+
71
+ ```bash
72
+ viceme profile remove --all --yes
73
+ ```
74
+
75
+ 该破坏性命令会重新创建一个未登录的 `default` Profile,不会让 CLI 留在无有效
76
+ Profile 的状态。
77
+
69
78
  连接测试环境或私有 ViceMe 部署时,先把 Endpoint 持久化到独立 Profile,再登录:
70
79
 
71
80
  ```bash
@@ -97,22 +106,30 @@ Origin 隔离,因此为新 Endpoint 创建 Profile 后需要单独登录一次
97
106
  第一版接受包含 `SKILL.md` 的本地目录或本地 ZIP,不接受 GitHub URL、远程下载和
98
107
  多 Skill 批量包。
99
108
 
109
+ 解析 Skill 之前先完成登录,并把后续所有命令固定到 `auth status` 返回的 Profile。
110
+ Agent 不得因为另一个 Profile 已经登录就擅自切换过去。
111
+
112
+ ```bash
113
+ viceme auth status
114
+ viceme --profile <publication-profile> auth login # 仅在未登录时执行
115
+ ```
116
+
100
117
  只读检查:
101
118
 
102
119
  ```bash
103
- viceme skill inspect --path ./my-skill
120
+ viceme --profile <publication-profile> skill inspect --path ./my-skill
104
121
  ```
105
122
 
106
123
  查看确定性发布包和价格计划:
107
124
 
108
125
  ```bash
109
- viceme skill publish --path ./my-skill --price-minor 100 --dry-run
126
+ viceme --profile <publication-profile> skill publish --path ./my-skill --price-minor 100 --dry-run
110
127
  ```
111
128
 
112
129
  开始可恢复的上传与 Listing 分析:
113
130
 
114
131
  ```bash
115
- viceme skill publish --path ./my-skill --price-minor 100
132
+ viceme --profile <publication-profile> skill publish --path ./my-skill --price-minor 100
116
133
  ```
117
134
 
118
135
  之后以服务端 Publication 状态为准:
@@ -136,7 +153,7 @@ viceme publication publish <publication-id> --review-digest <digest>
136
153
  网络中断后继续同一个发布操作:
137
154
 
138
155
  ```bash
139
- viceme skill publish --resume <publication-id>
156
+ viceme --profile <publication-profile> skill publish --resume <publication-id>
140
157
  ```
141
158
 
142
159
  响应未知时不能创建第二个 Publication,应先查询或恢复原 ID。
@@ -181,8 +198,9 @@ Journal 做相同仲裁,避免通过启动检查后暂停的旧进程引入第
181
198
  恢复协议混合使用。每个 Skills/配置事务都必须持有同一代际权限,或在最终提交前重新验证。
182
199
  npm 内部安装子进程必须匹配 Journal 中的一次性 nonce、目标版本和 Skill 目标;成员提交锁会阻止
183
200
  父进程崩溃后,新一代在旧子进程尚未提交完毕时进入。目标一旦越过语义提交点,崩溃恢复只能完成本地清理,不能重新联网安装或回滚。私有
184
- Journal 因此只能完整恢复上一代或完整完成目标版本;安装提交前,`viceme doctor` 同时校验
185
- Skill/版本完整性和不携带凭据的 API readiness。
201
+ Journal 因此只能完整恢复上一代或完整完成目标版本。安装提交前必须通过本地 Skill/版本完整性
202
+ 校验;当前 Profile 的 API 不可达只产生警告,避免旧 Profile 阻断升级。正式业务命令前再用
203
+ `viceme doctor` 明确检查网络 readiness。
186
204
 
187
205
  ## 第一阶段实施状态
188
206
 
package/checksums.txt CHANGED
@@ -1,6 +1,6 @@
1
- 239f31a4b557bbe0129af7c7b0c88e72c70d2405e0866a422ad4ffb4f8787a00 viceme_0.12.2_darwin_amd64
2
- f6d80b8ee5bda6d7532b10a0c249591b7cfcf281af50add82407905ab2fd46e6 viceme_0.12.2_darwin_arm64
3
- d6d939e89ff5236d69bbfce55ce9e9ab510786fe59e34796ced3c7e92425433e viceme_0.12.2_linux_amd64
4
- cd3337a572166e219bf8ac3f5e1f524918179581aec7b88ba4bac71be809c066 viceme_0.12.2_linux_arm64
5
- f79b9143d030979283a4be444d0f4ddadf8db35f92293f01ad33cf86b1348c9e viceme_0.12.2_windows_amd64.exe
6
- 0909ae1bf1a66e3aaab6dbe2311ead847ae56afa29435b0f681cf52a656b1869 viceme_0.12.2_windows_arm64.exe
1
+ b5332a80252b7fca1bbd0858480c4ecb6a930aaa302f6f2639367db7e18ab140 viceme_0.12.4_darwin_amd64
2
+ 483b0c62d1f2152aebd0e0fc39f58fc8833fb44dd14376bb357435275a98a0eb viceme_0.12.4_darwin_arm64
3
+ 425b99abf6b693de528a83173f820764c17c8407d86c471418b8511776ea685d viceme_0.12.4_linux_amd64
4
+ 4d963ac9ee5eaa2aac7922f35627d7c078b3f87fa5af7af2eb498c818ffb9d6c viceme_0.12.4_linux_arm64
5
+ d915728cbb43022d281970701cab848c277b2e254ce0772f3de4ccd17244f32c viceme_0.12.4_windows_amd64.exe
6
+ a12d40f8da67009a683727a3edbedf2696764972d4c028e3be14825f5f19b01e viceme_0.12.4_windows_arm64.exe
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viceme-ai/cli",
3
- "version": "0.12.2",
3
+ "version": "0.12.4",
4
4
  "description": "Install the ViceMe creator CLI and official Agent Skills",
5
5
  "type": "module",
6
6
  "bin": {