@kevlns/v-cli 0.7.0 → 0.7.2

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/dist/cli.mjs CHANGED
@@ -761,7 +761,7 @@ function exportToolSkill(command, options) {
761
761
  }
762
762
 
763
763
  // src/version.ts
764
- var VERSION = "0.7.0";
764
+ var VERSION = "0.7.2";
765
765
 
766
766
  // src/commands/agent.ts
767
767
  function buildAgentIndex(builtin, local, official) {
@@ -6877,7 +6877,6 @@ var definitions3 = [
6877
6877
  ...["status", "cancel", "resume", "close"].map((action) => ({ id: "conversation-" + action, command: ["conversation", action], fields: { session: { type: "string", minLength: 1 }, request: { type: "string", minLength: 1 } }, required: ["session", "request"], readonly: action === "status", network: action !== "status", global: true })),
6878
6878
  ...["style", "job"].map((kind) => ({ id: kind + "-migration-complete", command: [kind, "migration-complete"], fields: objectFields, required: ["id", "revision", "input"] })),
6879
6879
  { id: "list", command: ["list"], fields: {}, readonly: true, global: true },
6880
- { id: "style-validate", command: ["style", "validate"], fields: { report: file }, required: ["report"], readonly: true },
6881
6880
  { id: "style-show", command: ["style", "show"], fields: { core: identifier }, required: ["core"], readonly: true },
6882
6881
  ...["generate", "edit"].map((kind) => ({ id: kind + "-show", command: [kind, "show"], fields: { job: identifier }, required: ["job"], readonly: true })),
6883
6882
  { id: "check", command: ["check"], fields: { run: file }, required: ["run"], positional: ["run"], readonly: true, global: true },
@@ -6918,13 +6917,6 @@ var definitions3 = [
6918
6917
  fields: { input: file },
6919
6918
  required: ["input"]
6920
6919
  },
6921
- {
6922
- id: "style-analyze",
6923
- command: ["style", "analyze"],
6924
- fields: { id: identifier, revision, dry: { type: "boolean" } },
6925
- required: ["id", "revision"],
6926
- start: true
6927
- },
6928
6920
  {
6929
6921
  id: "job-analyze",
6930
6922
  command: ["job", "analyze"],
@@ -6935,17 +6927,20 @@ var definitions3 = [
6935
6927
  { id: "style-export", command: ["style", "export"], fields: { id: identifier, out: file }, required: ["id", "out"] },
6936
6928
  { id: "style-import", command: ["style", "import"], fields: { file }, required: ["file"] },
6937
6929
  { id: "style-sources", command: ["style", "sources"], fields: { input: file }, required: ["input"], readonly: true, global: true },
6938
- { id: "style-revise", command: ["style", "revise"], fields: objectFields, required: ["id", "revision", "input"] },
6939
- { id: "style-sample-job", command: ["style", "sample-job"], fields: { id: identifier, revision, name: { type: "string", minLength: 1 }, count: { type: "integer", minimum: 1, maximum: 4 } }, required: ["id", "revision"] },
6940
- { id: "style-sample-select", command: ["style", "sample-select"], fields: { id: identifier, revision, job: identifier, run: identifier, candidate: { type: "string", pattern: "^[a-f0-9]{64}$" }, note: { type: "string", maxLength: 2e3 } }, required: ["id", "revision", "job", "run", "candidate"] },
6941
- { id: "style-sample-remove", command: ["style", "sample-remove"], fields: { id: identifier, revision, sample: identifier }, required: ["id", "revision", "sample"] },
6942
- { id: "style-resolve", command: ["style", "resolve"], fields: objectFields, required: ["id", "revision", "input"] },
6943
6930
  {
6944
- id: "style-adopt",
6945
- command: ["style", "adopt"],
6946
- fields: { id: identifier, revision, note: { type: "string" } },
6931
+ id: "style-confirm",
6932
+ command: ["style", "confirm"],
6933
+ fields: { id: identifier, revision },
6934
+ required: ["id", "revision"]
6935
+ },
6936
+ {
6937
+ id: "style-sample-job",
6938
+ command: ["style", "sample-job"],
6939
+ fields: { id: identifier, revision, input: file, name: { type: "string", minLength: 1 }, count: { type: "integer", minimum: 1, maximum: 4 } },
6947
6940
  required: ["id", "revision"]
6948
6941
  },
6942
+ { id: "style-sample-select", command: ["style", "sample-select"], fields: { id: identifier, revision, job: identifier, run: identifier, candidate: { type: "string", pattern: "^[a-f0-9]{64}$" }, note: { type: "string", maxLength: 2e3 } }, required: ["id", "revision", "job", "run", "candidate"] },
6943
+ { id: "style-sample-remove", command: ["style", "sample-remove"], fields: { id: identifier, revision, sample: identifier }, required: ["id", "revision", "sample"] },
6949
6944
  {
6950
6945
  id: "style-recover",
6951
6946
  command: ["style", "recover"],
package/dist/sdk.d.ts CHANGED
@@ -1207,7 +1207,7 @@ declare function redactArgv(argv: string[]): RedactionResult<string[]>;
1207
1207
  declare const REDACTION_PLACEHOLDER = "***redacted***";
1208
1208
 
1209
1209
  /** 版本常量:与 package.json 保持一致(有测试保证) */
1210
- declare const VERSION = "0.7.0";
1210
+ declare const VERSION = "0.7.2";
1211
1211
 
1212
1212
  /** 已发布命令清单与真实注册表逐项对照,不从命名猜测覆盖。 */
1213
1213
  declare function capabilityCoverage(registry: CapabilityRegistry): {
package/dist/sdk.mjs CHANGED
@@ -6334,7 +6334,6 @@ var definitions3 = [
6334
6334
  ...["status", "cancel", "resume", "close"].map((action) => ({ id: "conversation-" + action, command: ["conversation", action], fields: { session: { type: "string", minLength: 1 }, request: { type: "string", minLength: 1 } }, required: ["session", "request"], readonly: action === "status", network: action !== "status", global: true })),
6335
6335
  ...["style", "job"].map((kind) => ({ id: kind + "-migration-complete", command: [kind, "migration-complete"], fields: objectFields, required: ["id", "revision", "input"] })),
6336
6336
  { id: "list", command: ["list"], fields: {}, readonly: true, global: true },
6337
- { id: "style-validate", command: ["style", "validate"], fields: { report: file }, required: ["report"], readonly: true },
6338
6337
  { id: "style-show", command: ["style", "show"], fields: { core: identifier }, required: ["core"], readonly: true },
6339
6338
  ...["generate", "edit"].map((kind) => ({ id: kind + "-show", command: [kind, "show"], fields: { job: identifier }, required: ["job"], readonly: true })),
6340
6339
  { id: "check", command: ["check"], fields: { run: file }, required: ["run"], positional: ["run"], readonly: true, global: true },
@@ -6375,13 +6374,6 @@ var definitions3 = [
6375
6374
  fields: { input: file },
6376
6375
  required: ["input"]
6377
6376
  },
6378
- {
6379
- id: "style-analyze",
6380
- command: ["style", "analyze"],
6381
- fields: { id: identifier, revision, dry: { type: "boolean" } },
6382
- required: ["id", "revision"],
6383
- start: true
6384
- },
6385
6377
  {
6386
6378
  id: "job-analyze",
6387
6379
  command: ["job", "analyze"],
@@ -6392,17 +6384,20 @@ var definitions3 = [
6392
6384
  { id: "style-export", command: ["style", "export"], fields: { id: identifier, out: file }, required: ["id", "out"] },
6393
6385
  { id: "style-import", command: ["style", "import"], fields: { file }, required: ["file"] },
6394
6386
  { id: "style-sources", command: ["style", "sources"], fields: { input: file }, required: ["input"], readonly: true, global: true },
6395
- { id: "style-revise", command: ["style", "revise"], fields: objectFields, required: ["id", "revision", "input"] },
6396
- { id: "style-sample-job", command: ["style", "sample-job"], fields: { id: identifier, revision, name: { type: "string", minLength: 1 }, count: { type: "integer", minimum: 1, maximum: 4 } }, required: ["id", "revision"] },
6397
- { id: "style-sample-select", command: ["style", "sample-select"], fields: { id: identifier, revision, job: identifier, run: identifier, candidate: { type: "string", pattern: "^[a-f0-9]{64}$" }, note: { type: "string", maxLength: 2e3 } }, required: ["id", "revision", "job", "run", "candidate"] },
6398
- { id: "style-sample-remove", command: ["style", "sample-remove"], fields: { id: identifier, revision, sample: identifier }, required: ["id", "revision", "sample"] },
6399
- { id: "style-resolve", command: ["style", "resolve"], fields: objectFields, required: ["id", "revision", "input"] },
6400
6387
  {
6401
- id: "style-adopt",
6402
- command: ["style", "adopt"],
6403
- fields: { id: identifier, revision, note: { type: "string" } },
6388
+ id: "style-confirm",
6389
+ command: ["style", "confirm"],
6390
+ fields: { id: identifier, revision },
6391
+ required: ["id", "revision"]
6392
+ },
6393
+ {
6394
+ id: "style-sample-job",
6395
+ command: ["style", "sample-job"],
6396
+ fields: { id: identifier, revision, input: file, name: { type: "string", minLength: 1 }, count: { type: "integer", minimum: 1, maximum: 4 } },
6404
6397
  required: ["id", "revision"]
6405
6398
  },
6399
+ { id: "style-sample-select", command: ["style", "sample-select"], fields: { id: identifier, revision, job: identifier, run: identifier, candidate: { type: "string", pattern: "^[a-f0-9]{64}$" }, note: { type: "string", maxLength: 2e3 } }, required: ["id", "revision", "job", "run", "candidate"] },
6400
+ { id: "style-sample-remove", command: ["style", "sample-remove"], fields: { id: identifier, revision, sample: identifier }, required: ["id", "revision", "sample"] },
6406
6401
  {
6407
6402
  id: "style-recover",
6408
6403
  command: ["style", "recover"],
@@ -7655,7 +7650,7 @@ function exportToolSkill(command, options) {
7655
7650
  }
7656
7651
 
7657
7652
  // src/version.ts
7658
- var VERSION = "0.7.0";
7653
+ var VERSION = "0.7.2";
7659
7654
 
7660
7655
  // src/capability-coverage.ts
7661
7656
  function capabilityCoverage(registry) {
@@ -38,7 +38,7 @@ src/providers/figma/protocol.ts 按 stdout/stderr 分流解释真实工具输出
38
38
 
39
39
  src/providers/art/index.ts 解释工具 JSON,保留原 taskId/deploymentId、状态、停止确认与诊断。启动仅生成可追踪句柄,不把 queued/running 当完成。status/cancel/resume 先校验原 handle,按原 backendTaskId 路由。
40
40
 
41
- 运行结果透传 itemStates 和 resultVersion,按提交的资产及变体记录进度;批次仍 running 时已有对象可以完成,不能用批次状态覆盖逐项结果。归档与恢复使用 job-discard/job-restore,收藏使用 candidate-favorite/candidate-favorites,规则修订使用 style-revise,均通过同一结构化能力契约。
41
+ 运行结果透传 itemStates 和 resultVersion,按提交的资产及变体记录进度。批次仍 running 时已有对象可以完成,不能用批次状态覆盖逐项结果。归档与恢复使用 job-discard/job-restore,收藏使用 candidate-favorite/candidate-favorites。style-update 保存配置,style-confirm 核对版本并编译确认。style-sample-job 接收项目内的样张方案文件,创建样张任务。generate-plan 将已确认风格、样张方案和生成设置编译为运行计划。
42
42
 
43
43
  图片协议与参数由 art 工具的 model-registry/generation-policy/adapters 负责。v-cli 不根据 Qwen/Wan 名称、provider 名或订阅渠道猜测请求格式。明确失败、停止未知、上游已完成待下载分别保留,不自动重发。
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kevlns/v-cli",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "提供工具发现、插件路由、工程绑定、结构化能力执行和操作证据管理。",
5
5
  "type": "module",
6
6
  "bin": {
@@ -58,7 +58,7 @@
58
58
  "toolbox"
59
59
  ],
60
60
  "dependencies": {
61
- "@kevlns/art-workshop": "0.6.0",
61
+ "@kevlns/art-workshop": "0.6.2",
62
62
  "@kevlns/figma-to-uprefab": "0.1.4",
63
63
  "@kevlns/ship-cli": "0.1.2",
64
64
  "@kevlns/u-cli-mod": "0.3.1",
@@ -18,7 +18,7 @@
18
18
 
19
19
  ### 核心约定(v-cli 本体)
20
20
 
21
- - 环境要求 Node.js >= 20;v-cli 版本 @kevlns/v-cli@0.7.0
21
+ - 环境要求 Node.js >= 20;v-cli 版本 @kevlns/v-cli@0.7.2
22
22
  - 命令分三类:builtin(内置)、local(~/.vant/tools/v-cli/commands/ 下的本地插件)、official(官方插件白名单);
23
23
  **命令集合以实际发现为准**:先运行 `v-cli agent index --json` 获取全部命令与 agent 元数据
24
24
  - 单个命令的完整元数据用 `v-cli agent describe <命令名> --json` 查看
@@ -45,7 +45,7 @@
45
45
 
46
46
  ### @kevlns/art-workshop — 命令 `v-cli art …`
47
47
 
48
- **版本**:0.6.0
48
+ **版本**:0.6.2
49
49
  **描述**:管理图片与视频两个独立制作通道;图片旧命令兼容,视频复用项目状态、CAS及原执行身份。
50
50
  **平台**:win32, linux, darwin
51
51