@viceme-ai/cli 0.9.3 → 0.10.0
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 +23 -0
- package/README.md +5 -5
- package/README.zh.md +5 -5
- package/checksums.txt +6 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.10.0] - 2026-07-30
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- 支持过期发布动作原地续签 (`1d3269a`)
|
|
8
|
+
- 更新 Skill 稳定分享链接预览引导 (`f72f45d`)
|
|
9
|
+
|
|
10
|
+
### Fixes
|
|
11
|
+
|
|
12
|
+
- 对齐私有预览链接合同 (`02b1f89`)
|
|
13
|
+
- 从 inspect 恢复已有发布任务 (`02d165b`)
|
|
14
|
+
|
|
15
|
+
## [0.9.4] - 2026-07-29
|
|
16
|
+
|
|
17
|
+
### Fixes
|
|
18
|
+
|
|
19
|
+
- 避免规范化 Skill 二进制资源 (`c30d422`)
|
|
20
|
+
- 修复 Windows CI 平台差异 (`bf8c3d0`)
|
|
21
|
+
- 加固 Windows 配置 ACL 继承 (`ab929c1`)
|
|
22
|
+
- 修正 Windows 更新目录提示 (`f99bf6c`)
|
|
23
|
+
- 收紧 Windows 配置加载校验 (`6f42059`)
|
|
24
|
+
- 修复 Windows 配置加载 (`3760b07`)
|
|
25
|
+
|
|
3
26
|
## [0.9.3] - 2026-07-29
|
|
4
27
|
|
|
5
28
|
### Fixes
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ The official command-line client and Agent Skill for publishing external Skills
|
|
|
10
10
|
|
|
11
11
|
[Install](#installation--quick-start) · [AI Agent Skills](#agent-skills) · [Auth](#authentication) · [Regions & profiles](#regions--profiles) · [Commands](#command-overview) · [Output contract](#json-output-contract) · [Security](#security-and-risk-controls) · [Development](#development)
|
|
12
12
|
|
|
13
|
-
> **Rollout status:** the Core publication transport and stable-link path are implemented
|
|
13
|
+
> **Rollout status:** the Core publication transport and stable-link path are implemented. After `--yes`, a publication first parks at `meta_review` for metadata confirmation, then at `awaiting_action` for interaction-step confirmation. `confirm_publish` returns an owner-only `preview_share_url` under `/p/{code}`. The creator completes one ordinary successful run there, returns to the Agent Host, and explicitly confirms. After release, the durable receipt returns the official `/v/{code}` `share_url`; the old preview URL redirects to it. The CLI no longer exposes a separate PreviewRun surface. Preview inputs, outputs, files, sessions, and Runner history are temporary, are purged after resolution, and never enter public usage or work history.
|
|
14
14
|
|
|
15
15
|
## Why ViceMe CLI?
|
|
16
16
|
|
|
@@ -120,7 +120,7 @@ Continue only when authentication is valid and `skills doctor` reports a healthy
|
|
|
120
120
|
viceme skill inspect https://github.com/acme/poster-skill --skill-root .
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
Inspection is read-only. Follow the bundled `viceme` Skill for source-specific handling, Target selection, confirmation, bounded job waiting, and result reporting. If a publication ends at `binding_required`, run `viceme job bind <publication-id>`, give the signed ViceMe URL to the user, and stop. Downloading or forking is only an informational alternative; the CLI never performs it automatically. After the user binds the exact GitHub/Xiaohongshu channel account, inspect again and create a fresh ordinary
|
|
123
|
+
Inspection is read-only. Follow the bundled `viceme` Skill for source-specific handling, Target selection, confirmation, bounded job waiting, and result reporting. If `destination.recovery.mode=resume_existing_publication`, run `job get` with its `publication_id` and resume that nonterminal Publication instead of publishing the new inspection resolution. If a publication ends at `binding_required`, run `viceme job bind <publication-id>`, give the signed ViceMe URL to the user, and stop. Downloading or forking is only an informational alternative; the CLI never performs it automatically. After the user binds the exact GitHub/Xiaohongshu channel account, inspect again and create a fresh ordinary Publication rather than resuming the terminal one. At `meta_review`, show and resolve the metadata using the exact action ID and payload digest, then wait again. At `awaiting_action`, confirm the interaction steps, open the private `preview_share_url`, and complete one successful ordinary use on the preview page. If a `confirm_steps` or `confirm_publish` action expires, read the same Publication with `job get`, then explicitly run `viceme job renew <publication-id> --action-id <expired-action-id>` and continue with the returned `next_action`; do not create a second Publication. Return to the conversation for an explicit confirm or cancel decision. After confirm, wait until `share_published` and return the official `data.result.share_url`; do not require it to equal the private preview URL.
|
|
124
124
|
|
|
125
125
|
## Regions & Profiles
|
|
126
126
|
|
|
@@ -157,9 +157,9 @@ viceme profile configure local --clear-api-base-url
|
|
|
157
157
|
|
|
158
158
|
Normal `viceme auth login` never writes a credential into a profile. A local Profile credential is set, replaced, or cleared only by the explicit `profile add/configure` flags, is reported only as `source=local_profile`, and is never returned by list/status output. Because `--access-token` is visible in argv and may enter shell history, use it only in the controlled local/internal environment described here.
|
|
159
159
|
|
|
160
|
-
Credential priority is process (`VICEME_ACCESS_TOKEN`) → selected local Profile → device login. Every publication credential must use `vpa1.<audience>.<secret>`: `cn-prod` is accepted only for `https://api.viceme.cn`, `global-prod` only for `https://api.viceme.ai`, `dev-preview` only for `https://viceme-envoy-dev.preview.tencent-zeabur.cn`, and `local-dev` Profile credentials only for loopback endpoints. A process `local-dev` credential additionally requires `VICEME_CLI_ALLOW_LOCAL_PROCESS_CREDENTIAL=1`. `VICEME_CLI_CONFIG_DIR` can override the config root
|
|
160
|
+
Credential priority is process (`VICEME_ACCESS_TOKEN`) → selected local Profile → device login. Every publication credential must use `vpa1.<audience>.<secret>`: `cn-prod` is accepted only for `https://api.viceme.cn`, `global-prod` only for `https://api.viceme.ai`, `dev-preview` only for `https://viceme-envoy-dev.preview.tencent-zeabur.cn`, and `local-dev` Profile credentials only for loopback endpoints. A process `local-dev` credential additionally requires `VICEME_CLI_ALLOW_LOCAL_PROCESS_CREDENTIAL=1`. Configuration defaults to `~/.viceme-cli` on macOS and Linux and `%LOCALAPPDATA%\ViceMe\Config` on Windows; an existing Windows `~/.viceme-cli/config.json` remains in use until it is explicitly migrated. `VICEME_CLI_CONFIG_DIR` can override the config root. `VICEME_API_BASE_URL` remains a one-process endpoint override and never widens a Profile credential's origin. API and presigned-upload redirects fail closed.
|
|
161
161
|
|
|
162
|
-
Update checks query the npm registry directly and store only the last successful version result
|
|
162
|
+
Update checks query the npm registry directly and store only the last successful version result as `update-state.json` in the configuration directory. A result is used as a fallback for at most 24 hours when the registry is temporarily unavailable. Normal npm-managed CLI invocations read this cache synchronously and refresh it in the background at most once per 24 hours, so commands never wait for update discovery. When a newer release is known, structured success and error objects include `_notice.update` with `current`, `latest`, `message`, and the exact `viceme update` command so AI Agents can notify the user. The advisory never changes the command exit status and does not trigger an automatic update. Set `VICEME_NO_UPDATE_NOTIFIER=1` to suppress it outside CI; standard CI environments are skipped automatically. npm operations launched by `viceme install` or `viceme update` use the isolated `npm-cache` subdirectory there, so a broken user-level npm cache does not block the CLI. Both locations are non-secret and can be deleted safely; credentials never enter either cache.
|
|
163
163
|
|
|
164
164
|
## Agent Skills
|
|
165
165
|
|
|
@@ -261,7 +261,7 @@ viceme skill publish --file ./poster-skill-v2.zip \
|
|
|
261
261
|
| `viceme skill inspect` | Freeze and inspect a source candidate without publishing |
|
|
262
262
|
| `viceme skill publish` | Create or update a stable Skill Agent publication |
|
|
263
263
|
| `viceme skill target` | Resolve existing logical Agent Targets and versions |
|
|
264
|
-
| `viceme job` | Read or wait for a publication, review metadata,
|
|
264
|
+
| `viceme job` | Read or wait for a publication, review metadata and the frozen summary, edit its Candidate, show stable preview/public and signed channel-binding URLs, resume an action, explicitly retry, or cancel |
|
|
265
265
|
| `viceme skills` | Read, install, and diagnose the bundled Agent Skill |
|
|
266
266
|
| `viceme update` | Update the npm launcher, verified binary, and bundled Skill together |
|
|
267
267
|
|
package/README.zh.md
CHANGED
|
@@ -10,7 +10,7 @@ ViceMe 官方命令行客户端与 Agent Skill,用于将外部 Skill 发布为
|
|
|
10
10
|
|
|
11
11
|
[安装](#安装与快速开始) · [AI Agent Skills](#agent-skills) · [认证](#认证) · [区域与-profile](#区域与-profile) · [命令](#命令概览) · [输出契约](#json-输出契约) · [安全](#安全与风险控制) · [开发](#开发)
|
|
12
12
|
|
|
13
|
-
> **开放状态:** Core
|
|
13
|
+
> **开放状态:** Core 发布传输和稳定链接链路已经实现。`--yes` 后,Publication 先停在 `meta_review` 完成基本信息确认,再在 `awaiting_action` 中确认交互步骤。之后 `confirm_publish` 返回仅创作者可访问的 `/p/{code}` `preview_share_url`;创作者在该页面完成一次真实使用,回到 Agent Host 明确确认。发布完成后,持久回执返回正式 `/v/{code}` `share_url`,旧预览地址会重定向到它。CLI 不再提供独立 PreviewRun 命令。预览阶段的输入、输出、文件、会话和 Runner 历史均为临时数据,终态后会被清理,不进入公开统计或作品历史。
|
|
14
14
|
|
|
15
15
|
## 为什么选择 ViceMe CLI?
|
|
16
16
|
|
|
@@ -120,7 +120,7 @@ viceme skills list
|
|
|
120
120
|
viceme skill inspect https://github.com/acme/poster-skill --skill-root .
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
inspect 是只读操作。后续应按照随包发布的 `viceme` Skill 处理不同来源、Target 选择、用户确认、有界任务等待和结果返回。若 Publication 终结为 `binding_required`,运行 `viceme job bind <publication-id>`,把服务端签名的 ViceMe 链接交给用户后停止;下载或 Fork 仅为提示,CLI 不会自动执行。用户完成精确 GitHub/小红书渠道绑定后,必须重新 inspect 并创建新的普通 Publication,不能恢复旧任务。进入 `meta_review` 后,使用同一 action ID 与 payload digest 展示并决议信息,然后再次等待;进入 `awaiting_action`
|
|
123
|
+
inspect 是只读操作。后续应按照随包发布的 `viceme` Skill 处理不同来源、Target 选择、用户确认、有界任务等待和结果返回。若 `destination.recovery.mode=resume_existing_publication`,必须用其中的 `publication_id` 运行 `job get` 并恢复该非终态 Publication,不能用本次 inspect resolution 再次发布。若 Publication 终结为 `binding_required`,运行 `viceme job bind <publication-id>`,把服务端签名的 ViceMe 链接交给用户后停止;下载或 Fork 仅为提示,CLI 不会自动执行。用户完成精确 GitHub/小红书渠道绑定后,必须重新 inspect 并创建新的普通 Publication,不能恢复旧任务。进入 `meta_review` 后,使用同一 action ID 与 payload digest 展示并决议信息,然后再次等待;进入 `awaiting_action` 后,确认交互步骤,打开私有 `preview_share_url` 在预览页完成一次成功使用。若 `confirm_steps` 或 `confirm_publish` action 过期,先用 `job get` 读取同一 Publication,再显式运行 `viceme job renew <publication-id> --action-id <expired-action-id>`,只使用返回的新 `next_action` 继续,不能创建第二条 Publication。最后回到对话明确确认或取消。确认后继续等待到 `share_published`,返回正式 `data.result.share_url`;不要要求它与私有预览地址相同。
|
|
124
124
|
|
|
125
125
|
## 区域与 Profile
|
|
126
126
|
|
|
@@ -157,9 +157,9 @@ viceme profile configure local --clear-api-base-url
|
|
|
157
157
|
|
|
158
158
|
正常 `viceme auth login` 永远不会向 Profile 写入凭证。本地 Profile credential 只能通过显式的 `profile add/configure` flag 设置、替换或清除,list/status 只报告 `source=local_profile`,不会返回 token。`--access-token` 会出现在 argv 中且可能进入 shell history,因此只能用于本文约定的受控本地/内部环境。
|
|
159
159
|
|
|
160
|
-
凭证优先级为进程 `VICEME_ACCESS_TOKEN` → 当前本地 Profile → 设备登录。publication credential 必须使用 `vpa1.<audience>.<secret>`:`cn-prod` 只能访问 `https://api.viceme.cn`,`global-prod` 只能访问 `https://api.viceme.ai`,`dev-preview` 只能访问 `https://viceme-envoy-dev.preview.tencent-zeabur.cn`,Profile 中的 `local-dev` 只能访问 loopback endpoint;进程 `local-dev` 还要求 `VICEME_CLI_ALLOW_LOCAL_PROCESS_CREDENTIAL=1
|
|
160
|
+
凭证优先级为进程 `VICEME_ACCESS_TOKEN` → 当前本地 Profile → 设备登录。publication credential 必须使用 `vpa1.<audience>.<secret>`:`cn-prod` 只能访问 `https://api.viceme.cn`,`global-prod` 只能访问 `https://api.viceme.ai`,`dev-preview` 只能访问 `https://viceme-envoy-dev.preview.tencent-zeabur.cn`,Profile 中的 `local-dev` 只能访问 loopback endpoint;进程 `local-dev` 还要求 `VICEME_CLI_ALLOW_LOCAL_PROCESS_CREDENTIAL=1`。macOS 和 Linux 的配置默认位于 `~/.viceme-cli`,Windows 默认位于 `%LOCALAPPDATA%\ViceMe\Config`;Windows 上既有的 `~/.viceme-cli/config.json` 会继续使用,直到显式迁移。`VICEME_CLI_CONFIG_DIR` 可覆盖配置根目录。`VICEME_API_BASE_URL` 仍只是单进程 endpoint 覆盖,不能放宽 Profile credential 的 origin。API 与预签名上传重定向一律 fail closed。
|
|
161
161
|
|
|
162
|
-
更新检查直接请求 npm registry
|
|
162
|
+
更新检查直接请求 npm registry,并且只把最近一次成功查询到的版本写入配置目录中的 `update-state.json`;registry 暂时不可用时,该结果最多回退使用 24 小时。npm 管理的 CLI 在普通命令中只同步读取本地缓存,并且最多每 24 小时在后台刷新一次,因此命令不会等待版本发现。当缓存确认存在新版本时,结构化成功与错误对象都会携带 `_notice.update`,其中包含 `current`、`latest`、`message` 和精确的 `viceme update` 命令,AI Agent 可以据此提醒用户。该提醒不会改变命令退出码,也不会自动执行更新。非 CI 环境可以设置 `VICEME_NO_UPDATE_NOTIFIER=1` 关闭提醒;标准 CI 环境会自动跳过。`viceme install` 和 `viceme update` 启动的 npm 操作统一使用该目录下隔离的 `npm-cache` 子目录,不会因为用户级 npm 缓存损坏而失败。这两个位置都不包含秘密信息,可以安全删除;凭证不会进入任何更新缓存。
|
|
163
163
|
|
|
164
164
|
## Agent Skills
|
|
165
165
|
|
|
@@ -258,7 +258,7 @@ viceme skill publish --file ./poster-skill-v2.zip \
|
|
|
258
258
|
| `viceme skill inspect` | 固化并检查来源候选,不执行发布 |
|
|
259
259
|
| `viceme skill publish` | 创建或更新具有稳定链接的 Skill Agent 发布 |
|
|
260
260
|
| `viceme skill target` | 解析现有逻辑 Agent Target 及其版本 |
|
|
261
|
-
| `viceme job` |
|
|
261
|
+
| `viceme job` | 读取或等待发布任务,审阅信息与冻结摘要,编辑 Candidate,展示稳定预览/正式分享链接和签名渠道绑定链接,决议 action,以及显式重试或取消 |
|
|
262
262
|
| `viceme skills` | 读取、安装和诊断随包发布的 Agent Skill |
|
|
263
263
|
| `viceme update` | 同时更新 npm 启动器、已校验二进制文件和随包发布的 Skill |
|
|
264
264
|
|
package/checksums.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
6d454f9368ff7081972fe829a73c347b11266f0d62c7a39e4aae92fcfe5f3536 viceme_0.10.0_darwin_amd64
|
|
2
|
+
3d1f8424ccf2a58aa1b6ce62180b05e8c1d5ca1a1225961b388223ba49ae328b viceme_0.10.0_darwin_arm64
|
|
3
|
+
4ed234b553c43f0fe30d9d87f69bc12ad7843beedebfa48079de3f1f75d0b4ac viceme_0.10.0_linux_amd64
|
|
4
|
+
bafd04033a4faa2e0216293adc0df8aa2e0d13f8f51ef011f9b249bd937594b6 viceme_0.10.0_linux_arm64
|
|
5
|
+
786e589c8a8879735668045570e2aa58743ab0f607a315dfcdf435e92f653ae6 viceme_0.10.0_windows_amd64.exe
|
|
6
|
+
ec9c369b1f9606110038bbb5ce6c2dfe05ff4fb6caaeb68f1bf148141dfb000b viceme_0.10.0_windows_arm64.exe
|