@viceme-ai/cli 0.9.4 → 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 CHANGED
@@ -1,5 +1,17 @@
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
+
3
15
  ## [0.9.4] - 2026-07-29
4
16
 
5
17
  ### 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, and the metadata review plus exact Candidate preview → test run → result-confirmation gates are enforced. After `--yes`, the publication first parks at `meta_review` for `job metadata`, then at `awaiting_action` for `job preview`, optional `job edit`, `job run`, `job accept`, and `job resume`. Confirm is accepted only after the exact Candidate has a succeeded, owner-accepted preview run (otherwise 409 `preview_run_required`). A confirm receipt authorizes release but does not contain the final share link; run another bounded `job wait` until `share_published`. `--yes` confirms only the publication request, not the metadata or final Candidate.
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 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`, show the frozen Candidate summary, run and accept one exact-Candidate test result, and obtain the user's decision before `job resume`. After confirm, wait again until `share_published` before returning the share link.
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
 
@@ -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, preview/edit/test/accept its Candidate, show a signed channel-binding URL, resume an action, explicitly retry, or cancel |
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 发布传输和稳定链接链路已经实现,信息确认门以及精确 Candidate 的预览 → 试跑 → 结果确认门均已生效。`--yes` 后,Publication 先停在 `meta_review`,由 `job metadata` 完成信息确认;随后停在 `awaiting_action`,依次使用 `job preview`、可选的 `job edit`、`job run`、`job accept` `job resume`。只有同一 Candidate 的试跑成功且结果已由发布者接受时才能确认,否则返回 409 `preview_run_required`。确认回执只授权发布,不包含最终分享链接;需要再次有界执行 `job wait` 直到 `share_published`。`--yes` 只确认发起发布请求,不代表用户已确认信息或最终 Candidate。
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` 后,展示冻结摘要、完成同一 Candidate 的试跑与结果接受,并取得用户决定后再执行 `job resume`。确认后还需再次等待到 `share_published`,才能返回分享链接。
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
 
@@ -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` | 读取或等待发布任务,审阅信息,预览、编辑、试跑并接受 Candidate,展示签名渠道绑定链接,决议 action,以及显式重试或取消 |
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
- f5cb8b9f29b93b569dfb6e7a4d50f94a1f8331338547c7acdb7954245bbaaa08 viceme_0.9.4_darwin_amd64
2
- 945e5846f1056acebfd001312045395cf2f37a8b0bb3e0645dce4deed6106264 viceme_0.9.4_darwin_arm64
3
- 83cf35d72801442c547742b64654577e6db8ad1e25e2195d9b0ab901dcb0c81a viceme_0.9.4_linux_amd64
4
- f53e91c6d4c1229792ffa46af9013a83eec614939e63ce62dec0588d066eac72 viceme_0.9.4_linux_arm64
5
- 3cc29f334f4e8d31ce032310ef706506318df87d6615b9ac45e62d2acfcf5b9b viceme_0.9.4_windows_amd64.exe
6
- 13660169eacc8bb84ce91ccd3684f0a7eb3b68db56c6c8bb7e251a328529b0c9 viceme_0.9.4_windows_arm64.exe
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viceme-ai/cli",
3
- "version": "0.9.4",
3
+ "version": "0.10.0",
4
4
  "description": "Install and run the ViceMe CLI and ViceMe Agent Skill",
5
5
  "type": "module",
6
6
  "bin": {