@viceme-ai/cli 0.12.2 → 0.12.3

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.12.3] - 2026-08-12
4
+
5
+ ### Fixes
6
+
7
+ - 前置发布登录并支持批量清理 Profile (`73c7e85`)
8
+
3
9
  ## [0.12.2] - 2026-08-12
4
10
 
5
11
  ### 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
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。
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
+ f7b35e7b98e207a72201c3bfd18837e952c823542b0f1ba637ab2e4426119ee6 viceme_0.12.3_darwin_amd64
2
+ ccb377e6718b4b14a75af03215eed5dff7bbb9ce3c9394ce7467cf20ba6d2575 viceme_0.12.3_darwin_arm64
3
+ aba9c1ba8573a8dd736e046c5e24aa9c094a8c00f72894b910187b91d106f24d viceme_0.12.3_linux_amd64
4
+ 5f87b9db7e9495c9466993803ae9af1b9b59684cf555807d5105fcb51360890a viceme_0.12.3_linux_arm64
5
+ 7c74f5a002e7ee99e68e4d4b08be8533265c6a637cccf501c0103d781639b86f viceme_0.12.3_windows_amd64.exe
6
+ 61f5a8d1a13467bbd870e8533ba1e0ab049706910dff7cc967eb9f9bab007f78 viceme_0.12.3_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.3",
4
4
  "description": "Install the ViceMe creator CLI and official Agent Skills",
5
5
  "type": "module",
6
6
  "bin": {