@viceme-ai/cli 0.12.1 → 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 +12 -0
- package/README.md +27 -8
- package/README.zh.md +25 -8
- package/checksums.txt +6 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -15,25 +15,25 @@ one immutable release.
|
|
|
15
15
|
China, macOS or Linux:
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
curl -fsSL https://s3.viceme.cn/install.sh | sh
|
|
18
|
+
curl -fsSL https://s3.viceme.cn/start/install.sh | sh
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
International, macOS or Linux:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
VICEME_REGION=global sh -c "$(curl -fsSL https://s3.viceme.ai/install.sh)"
|
|
24
|
+
VICEME_REGION=global sh -c "$(curl -fsSL https://s3.viceme.ai/start/install.sh)"
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
China, Windows PowerShell:
|
|
28
28
|
|
|
29
29
|
```powershell
|
|
30
|
-
irm https://s3.viceme.cn/install.ps1 | iex
|
|
30
|
+
irm https://s3.viceme.cn/start/install.ps1 | iex
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
International, Windows PowerShell:
|
|
34
34
|
|
|
35
35
|
```powershell
|
|
36
|
-
$env:VICEME_REGION="global"; irm https://s3.viceme.ai/install.ps1 | iex
|
|
36
|
+
$env:VICEME_REGION="global"; irm https://s3.viceme.ai/start/install.ps1 | iex
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
If the bootstrap cannot be used, npm is the fallback:
|
|
@@ -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
|
@@ -13,25 +13,25 @@ Code 和 WorkBuddy 通过 Skills 引导用户;CLI 负责安装、设备授权
|
|
|
13
13
|
中国区 macOS / Linux:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
curl -fsSL https://s3.viceme.cn/install.sh | sh
|
|
16
|
+
curl -fsSL https://s3.viceme.cn/start/install.sh | sh
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
海外 macOS / Linux:
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
VICEME_REGION=global sh -c "$(curl -fsSL https://s3.viceme.ai/install.sh)"
|
|
22
|
+
VICEME_REGION=global sh -c "$(curl -fsSL https://s3.viceme.ai/start/install.sh)"
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
中国区 Windows PowerShell:
|
|
26
26
|
|
|
27
27
|
```powershell
|
|
28
|
-
irm https://s3.viceme.cn/install.ps1 | iex
|
|
28
|
+
irm https://s3.viceme.cn/start/install.ps1 | iex
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
海外 Windows PowerShell:
|
|
32
32
|
|
|
33
33
|
```powershell
|
|
34
|
-
$env:VICEME_REGION="global"; irm https://s3.viceme.ai/install.ps1 | iex
|
|
34
|
+
$env:VICEME_REGION="global"; irm https://s3.viceme.ai/start/install.ps1 | iex
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
不能使用 Bootstrap 时,以 npm 作为备用入口:
|
|
@@ -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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|