@viceme-ai/cli 0.16.1 → 0.18.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,46 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.18.0] - 2026-08-27
4
+
5
+ ### Features
6
+
7
+ - 恢复创作者访问接入 (`2c89405`)
8
+
9
+ ## [0.17.0] - 2026-08-25
10
+
11
+ ### Features
12
+
13
+ - 支持公开互动能力自助接入 (#144) (`21ff78b`)
14
+ - 支持网站功能独立定价 (`14cf4ae`)
15
+ - 上传网站发布封面 (`af88653`)
16
+ - 完善网站发布展示信息 (`16f8926`)
17
+ - 统一 Skill 与网站发布流程 (`9ec8ca3`)
18
+ - 支持网站发布补齐创作者身份 (`602bd70`)
19
+ - 支持外部网站发布与作品售卖 (`d2f694b`)
20
+ - 限制创作者接入 Work (`3958862`)
21
+ - 自动选择唯一创作者作品 (`b6caeac`)
22
+ - 一步完成创作者接入 (`832aa4d`)
23
+ - 移除接入 Origin 配置 (`0f12281`)
24
+ - 提供创作者网页接入命令 (`e3a0e75`)
25
+
26
+ ### Fixes
27
+
28
+ - 更新创作者访问发布摘要 (`9d42715`)
29
+ - 明确发布先于网站能力接入 (`fdf8b61`)
30
+ - 接入初始化时引导完成网站发布 (`4820b26`)
31
+ - 按发布源类型路由发布流程 (`c5fd6ae`)
32
+ - 允许无域名发布网站作品 (`88a15dc`)
33
+
34
+ ### Other Changes
35
+
36
+ - 同步创作者授权弹层说明 (`3959f1c`)
37
+ - 同步创作者授权弹层交互 (`53a2a40`)
38
+ - 更新网站授权接入规则 (`d4a038c`)
39
+ - 支持普通用户创建 Work (`fc4d210`)
40
+ - 同步创作者访问交互 (`4be32a6`)
41
+ - 固定创作者接入交互样式 (`cde115d`)
42
+ - 更新权限交互集成流程 (`3df2a0a`)
43
+
3
44
  ## [0.16.1] - 2026-08-19
4
45
 
5
46
  ### Fixes
package/README.md CHANGED
@@ -39,7 +39,9 @@
39
39
  | Capability | What ViceMe provides |
40
40
  | --- | --- |
41
41
  | Publish a Skill | Validate a local Skill directory or ZIP, set a CNY price, upload it, review platform suggestions, and publish a paid listing. |
42
- | Build a component | Ask an Agent to integrate the bundled production danmaku blueprint into a React and Tailwind CSS v4 project. |
42
+ | Publish a website | Register a creator website with a stable Work identity, optional URL, bilingual descriptions, and cover. |
43
+ | Add creator access | Add host-native login, follow gates, and independently priced one-time feature access. |
44
+ | Add website engagement | Create a creator-owned public danmaku Work, bind a tip-enabled Creator App, and install the CLI-generated hosted script. |
43
45
  | Set up an Agent | Install, authenticate, update, diagnose, and repair the CLI and official Skills as one compatible release. |
44
46
  | Recover safely | Continue the same publication after a network or process interruption without uploading a duplicate product. |
45
47
 
@@ -160,8 +162,11 @@ Select a target explicitly with `viceme install --agent codex`, `claude`,
160
162
  | Skill | Use it when you want to... |
161
163
  | --- | --- |
162
164
  | `viceme-shared` | install ViceMe, sign in through the browser, manage Profiles, update, diagnose, or repair the local setup. |
163
- | `viceme-publish` | validate, upload, review, resume, or publish a local Skill directory or ZIP as a paid ViceMe listing. |
164
- | `viceme-danmaku` | build or adapt the bundled production React and Tailwind CSS v4 danmaku component in an existing project. |
165
+ | `viceme-publish` | publish a local Skill directory, ZIP, or creator website while preserving its stable work identity. |
166
+ | `viceme-access` | integrate host-native login, follow, and one-time purchase entry points without changing the website's original action. |
167
+ | `viceme-danmaku` | create a public danmaku Work and install the CLI-generated hosted SDK snippet. |
168
+ | `viceme-tip` | sign in, bind a creator work and verified domain, and add the hosted ViceMe tip checkout to one HTML page. |
169
+ | `viceme-engagement` | create hosted danmaku, bind tips, and install one authoritative combined engagement script. |
165
170
 
166
171
  The Agent Skills own the conversational workflow and approval rules. The CLI
167
172
  owns deterministic local work and API calls. This separation lets an Agent
@@ -196,9 +201,9 @@ unknown. Query or resume the existing ID first.
196
201
 
197
202
  ## Authentication and Profiles
198
203
 
199
- Each Profile binds one explicit API endpoint and one device-authorized account.
200
- The separately stored distribution region selects only the CLI and bundled
201
- Skill download source; it never selects a publication market.
204
+ Each Profile binds one API base URL, Web base URL, market region, and
205
+ device-authorized account as one authority. The separately stored distribution
206
+ region selects only the CLI and bundled Skill download source.
202
207
 
203
208
  ```bash
204
209
  viceme auth login
@@ -216,13 +221,16 @@ dedicated Profile before signing in:
216
221
  viceme profile add \
217
222
  --name private-cn \
218
223
  --api-base-url https://api.example.com \
224
+ --web-base-url https://www.example.com \
225
+ --market-region cn \
219
226
  --use
220
227
  viceme auth login
221
228
  ```
222
229
 
223
- `VICEME_API_BASE_URL` is a one-process CI/debug override, not Profile state.
230
+ `VICEME_API_BASE_URL` is an API-only one-process CI/debug override, not Profile
231
+ state. Persistent login and website embed generation are disabled while it is set.
224
232
  Remote custom endpoints require HTTPS; only localhost and loopback development
225
- may use HTTP. Credentials are isolated by Profile and API origin, and an Agent
233
+ may use HTTP. Credentials are isolated by Profile authority, and an Agent
226
234
  must never switch to another Profile merely because it is already signed in.
227
235
 
228
236
  `viceme auth login` intentionally keeps running until browser authorization
@@ -239,7 +247,12 @@ Never copy an access token into the conversation.
239
247
  | `viceme version` | Show the CLI and bundled Skill versions. |
240
248
  | `viceme doctor` | Check the CLI, active Profile, credentials, API readiness, and installed official Skills. |
241
249
  | `viceme auth status` | Show whether the active Profile is signed in. |
242
- | `viceme profile list` | Show Profiles and their effective API endpoints. |
250
+ | `viceme website publish --path <dir> --name <name> [--url <url>] [--description-zh-cn ...] [--description-en-us ...] [--cover <image>]` | Publish or update a website while preserving `.viceme/website.json` as its stable identity. |
251
+ | `viceme access init --website <dir> [--name <name>] [--follow key] [--purchase key --price-minor fen]...` | Configure follow and independently priced access for an explicitly published website. |
252
+ | `viceme access init --name <name> --danmaku` | Create and activate a creator-owned public hosted danmaku Work. |
253
+ | `viceme access inspect` / `viceme access apply` | Inspect or explicitly reconcile the Profile-bound capability config. |
254
+ | `viceme creator-app show <app-id> --work-key <work-key> --locale <locale>` | Validate both owned resources and emit the authoritative combined engagement snippet for the selected `zh-CN` or `en-US` page locale. |
255
+ | `viceme profile list` | Show Profiles and their API, Web, and market authorities. |
243
256
  | `viceme skill inspect --path <path>` | Validate a local Skill without side effects. |
244
257
  | `viceme skill listing prepare --path <path>` | Create or recover the stable private owner preview and persist the local binding. |
245
258
  | `viceme skill listing get <listing-id>` | Read the authoritative private Listing state. |
package/README.zh.md CHANGED
@@ -35,7 +35,9 @@
35
35
  | 能力 | ViceMe 提供的内容 |
36
36
  | --- | --- |
37
37
  | 发布 Skill | 校验本地 Skill 目录或 ZIP、设置人民币价格、上传、审核平台建议,并发布付费商品。 |
38
- | 构建组件 | Agent 把随包提供的生产级弹幕蓝图接入 React 与 Tailwind CSS v4 项目。 |
38
+ | 发布网站 | 使用稳定 Work 身份登记创作者网站,并可附带网址、双语描述和封面。 |
39
+ | 接入创作者访问 | 在原站接入登录、关注门槛和按功能独立定价的一次性访问权限。 |
40
+ | 接入网站互动 | 创建创作者自有的公开弹幕 Work,绑定支持赞赏的 Creator App,并安装 CLI 生成的托管脚本。 |
39
41
  | 配置 Agent | 把 CLI 与官方 Skills 作为同一个兼容版本安装、登录、更新、诊断和修复。 |
40
42
  | 安全恢复 | 网络或进程中断后继续原发布任务,不重复上传和创建商品。 |
41
43
 
@@ -150,8 +152,11 @@ npx --yes @viceme-ai/cli@latest install
150
152
  | Skill | 适用场景 |
151
153
  | --- | --- |
152
154
  | `viceme-shared` | 安装 ViceMe、通过浏览器登录、管理 Profile、更新、诊断或修复本地环境。 |
153
- | `viceme-publish` | 把本地 Skill 目录或 ZIP 校验、上传、审核、恢复或发布为 ViceMe 付费商品。 |
154
- | `viceme-danmaku` | 在已有项目中构建或适配随包提供的生产级 React 与 Tailwind CSS v4 弹幕组件。 |
155
+ | `viceme-publish` | 发布本地 Skill 目录、ZIP 或创作者网站,并维护稳定作品身份。 |
156
+ | `viceme-access` | 在不改变原站业务动作的前提下,接入原生登录、关注和一次性购买入口。 |
157
+ | `viceme-danmaku` | 创建公开弹幕 Work,并安装 CLI 生成的托管 SDK 片段。 |
158
+ | `viceme-tip` | 完成登录、绑定创作者作品与验证域名,并把 ViceMe 托管赞赏接入一个 HTML 页面。 |
159
+ | `viceme-engagement` | 创建托管弹幕、绑定赞赏,并安装唯一权威的组合交互脚本。 |
155
160
 
156
161
  Agent Skills 负责对话流程和授权规则;CLI 负责确定性本地操作与 API 调用。因此 Agent
157
162
  可以解释每一步决策,而相同的命令契约仍可在终端或自动化中复现。
@@ -181,8 +186,8 @@ viceme skill publish --resume <publication-id>
181
186
 
182
187
  ## 登录与 Profile
183
188
 
184
- 每个 Profile 绑定一个明确的 API Endpoint 和一个通过浏览器授权的账户。发布目标完全
185
- 由当前 Profile 的 Endpoint 决定;单独的分发区域只选择 CLI 与官方 Skills 的下载来源。
189
+ 每个 Profile API Base URL、Web Base URL、市场区域和浏览器授权账户绑定为一个完整
190
+ authority;单独的分发区域只选择 CLI 与官方 Skills 的下载来源。
186
191
 
187
192
  ```bash
188
193
  viceme auth login
@@ -199,13 +204,16 @@ viceme profile use default
199
204
  viceme profile add \
200
205
  --name private-cn \
201
206
  --api-base-url https://api.example.com \
207
+ --web-base-url https://www.example.com \
208
+ --market-region cn \
202
209
  --use
203
210
  viceme auth login
204
211
  ```
205
212
 
206
- `VICEME_API_BASE_URL` 只是单进程 CI / 调试覆盖,不是 Profile 状态。远程自定义
213
+ `VICEME_API_BASE_URL` 只是 API-only 的单进程 CI / 调试覆盖,不是 Profile 状态;
214
+ 设置时禁止持久化登录和生成网站嵌入片段。远程自定义
207
215
  Endpoint 必须使用 HTTPS;只有 localhost 和 loopback 本地开发可以使用 HTTP。
208
- 凭据按 Profile API Origin 隔离;Agent 不能因为另一个 Profile 已登录就擅自切换。
216
+ 凭据按完整 Profile authority 隔离;Agent 不能因为另一个 Profile 已登录就擅自切换。
209
217
 
210
218
  `viceme auth login` 会一直等待,直到浏览器授权完成或达到有界超时。Agent 必须保持
211
219
  命令运行,向用户展示一次性完整链接并等待最终结果。页面会在必要时先完成登录,随后
@@ -219,7 +227,12 @@ Endpoint 必须使用 HTTPS;只有 localhost 和 loopback 本地开发可以
219
227
  | `viceme version` | 显示 CLI 与随包 Skills 版本。 |
220
228
  | `viceme doctor` | 检查 CLI、当前 Profile、凭据、API readiness 和已安装官方 Skills。 |
221
229
  | `viceme auth status` | 显示当前 Profile 是否已登录。 |
222
- | `viceme profile list` | 显示 Profile 及其实际 API Endpoint。 |
230
+ | `viceme website publish --path <目录> --name <名称> [--url <网址>] [--description-zh-cn ...] [--description-en-us ...] [--cover <图片>]` | 发布或更新网站,并通过 `.viceme/website.json` 保持稳定作品身份。 |
231
+ | `viceme access init --website <目录> [--name <名称>] [--follow key] [--purchase key --price-minor 分]...` | 为已显式发布的网站配置关注和按功能独立定价的访问权限。 |
232
+ | `viceme access init --name <名称> --danmaku` | 创建并激活创作者自有的公开托管弹幕 Work。 |
233
+ | `viceme access inspect` / `viceme access apply` | 检查或显式协调绑定 Profile 的功能配置。 |
234
+ | `viceme creator-app show <app-id> --work-key <work-key> --locale <locale>` | 校验两个自有资源,并按页面的 `zh-CN` 或 `en-US` 语言生成权威组合交互片段。 |
235
+ | `viceme profile list` | 显示 Profile 的 API、Web 与市场 authority。 |
223
236
  | `viceme skill inspect --path <path>` | 无副作用校验本地 Skill。 |
224
237
  | `viceme skill listing prepare --path <path>` | 创建或恢复稳定的创作者私有预览,并保存本地绑定。 |
225
238
  | `viceme skill listing get <listing-id>` | 读取权威的私有 Listing 状态。 |
package/checksums.txt CHANGED
@@ -1,6 +1,6 @@
1
- 3d6f752fb10b3b8b90b0a76158115c74994da96d1aac71b842f4496dca245ec1 viceme_0.16.1_darwin_amd64
2
- 310dd511ea791a37d4307efc8e7d48900fc8daf63a83288fcbc7d3b56823711c viceme_0.16.1_darwin_arm64
3
- 5689186a71e6cba254258f50397ea6f95872a8e2abfd56d41bdea97cf3167a9f viceme_0.16.1_linux_amd64
4
- ed9d84c0a9cdc6a771a80d605b936d8aaa39ab2894270ecb962274f5729ddc10 viceme_0.16.1_linux_arm64
5
- bba8e0b483b27041b86983cf42922099d29deeb2aabf212b3b433cbd9492a010 viceme_0.16.1_windows_amd64.exe
6
- 4896b58a6412f71d81b6129bcfd46ec80290799ac4aa02dd7063795ed80bef18 viceme_0.16.1_windows_arm64.exe
1
+ 7372dac1935aa78f3cd091f22aef63953ff7400349d141f0baf4a7257007d4ff viceme_0.18.0_darwin_amd64
2
+ 00e751bdfc95a0625cbe98f3a711568d6816b6bf3d34e334a13c71641896d7cf viceme_0.18.0_darwin_arm64
3
+ c55739a73bc5fb1158343c68fd5e224fccaec19e3b783c7943523c5c327031c0 viceme_0.18.0_linux_amd64
4
+ 9389ae6129ed9f96c1e0b20a250e792a27dff659ec4c1014d86c3cca3042114f viceme_0.18.0_linux_arm64
5
+ 4844f3326d09c3c5a5f13e251dd19b8e67800c7c4d06c8c2f3e7a39198955728 viceme_0.18.0_windows_amd64.exe
6
+ 9076b494736eeb30deb0632856f45b10db42a93dba0d3640c2bf838e4504c79e viceme_0.18.0_windows_arm64.exe
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viceme-ai/cli",
3
- "version": "0.16.1",
3
+ "version": "0.18.0",
4
4
  "description": "Install the ViceMe creator CLI and official Agent Skills",
5
5
  "type": "module",
6
6
  "bin": {