@kevlns/v-cli 0.4.8 → 0.4.9

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/AGENTS.md CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  ### 核心约定(v-cli 本体)
20
20
 
21
- - 环境要求 Node.js >= 20;v-cli 版本 @kevlns/v-cli@0.4.8
21
+ - 环境要求 Node.js >= 20;v-cli 版本 @kevlns/v-cli@0.4.9
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` 查看
@@ -48,7 +48,7 @@
48
48
 
49
49
  ### @kevlns/art-workshop — 命令 `v-cli art …`
50
50
 
51
- **版本**:0.3.9
51
+ **版本**:0.3.11
52
52
  **描述**:管理项目风格、参考图、图片生成、编辑和定版。支持本地 ComfyUI 与远程图片模型。
53
53
  **平台**:win32, linux, darwin
54
54
 
package/dist/cli.mjs CHANGED
@@ -658,7 +658,7 @@ import { createHash, randomBytes } from "crypto";
658
658
  import { fileURLToPath as fileURLToPath2 } from "url";
659
659
 
660
660
  // src/version.ts
661
- var VERSION = "0.4.8";
661
+ var VERSION = "0.4.9";
662
662
 
663
663
  // src/core/agent-docs.ts
664
664
  var BUNDLED_DOCS_FILE = "AGENTS.md";
@@ -7282,6 +7282,9 @@ var definitions3 = [
7282
7282
  required: ["id", "revision"],
7283
7283
  start: true
7284
7284
  },
7285
+ { id: "style-export", command: ["style", "export"], fields: { id: identifier, out: file }, required: ["id", "out"] },
7286
+ { id: "style-import", command: ["style", "import"], fields: { file }, required: ["file"] },
7287
+ { id: "style-sources", command: ["style", "sources"], fields: { input: file }, required: ["input"], readonly: true, global: true },
7285
7288
  { id: "style-resolve", command: ["style", "resolve"], fields: objectFields, required: ["id", "revision", "input"] },
7286
7289
  {
7287
7290
  id: "style-adopt",
@@ -7516,7 +7519,7 @@ function createArtProvider(deps) {
7516
7519
  for (const key of d.positional ?? []) argv.push(resolveInsideProject(ctx.projectAnchor, String(input[key]), "art." + key).path);
7517
7520
  for (const [key, value] of Object.entries(input)) {
7518
7521
  if (key === "handle" || d.positional?.includes(key) || value === false) continue;
7519
- const actual = ["input", "source", "plan", "out", "report", "mapping", ...d.id === "agent-init" ? ["directory"] : []].includes(key) ? resolveInsideProject(
7522
+ const actual = ["input", "file", "source", "plan", "out", "report", "mapping", ...d.id === "agent-init" ? ["directory"] : []].includes(key) ? resolveInsideProject(
7520
7523
  ctx.projectAnchor,
7521
7524
  String(value),
7522
7525
  "art." + key
package/dist/sdk.d.ts CHANGED
@@ -1150,7 +1150,7 @@ declare function redactArgv(argv: string[]): RedactionResult<string[]>;
1150
1150
  declare const REDACTION_PLACEHOLDER = "***redacted***";
1151
1151
 
1152
1152
  /** 版本常量:与 package.json 保持一致(有测试保证) */
1153
- declare const VERSION = "0.4.8";
1153
+ declare const VERSION = "0.4.9";
1154
1154
 
1155
1155
  /** 已发布命令清单与真实注册表逐项对照,不从命名猜测覆盖。 */
1156
1156
  declare function capabilityCoverage(registry: CapabilityRegistry): {
package/dist/sdk.mjs CHANGED
@@ -6323,6 +6323,9 @@ var definitions3 = [
6323
6323
  required: ["id", "revision"],
6324
6324
  start: true
6325
6325
  },
6326
+ { id: "style-export", command: ["style", "export"], fields: { id: identifier, out: file }, required: ["id", "out"] },
6327
+ { id: "style-import", command: ["style", "import"], fields: { file }, required: ["file"] },
6328
+ { id: "style-sources", command: ["style", "sources"], fields: { input: file }, required: ["input"], readonly: true, global: true },
6326
6329
  { id: "style-resolve", command: ["style", "resolve"], fields: objectFields, required: ["id", "revision", "input"] },
6327
6330
  {
6328
6331
  id: "style-adopt",
@@ -6557,7 +6560,7 @@ function createArtProvider(deps) {
6557
6560
  for (const key of d.positional ?? []) argv.push(resolveInsideProject(ctx.projectAnchor, String(input[key]), "art." + key).path);
6558
6561
  for (const [key, value] of Object.entries(input)) {
6559
6562
  if (key === "handle" || d.positional?.includes(key) || value === false) continue;
6560
- const actual = ["input", "source", "plan", "out", "report", "mapping", ...d.id === "agent-init" ? ["directory"] : []].includes(key) ? resolveInsideProject(
6563
+ const actual = ["input", "file", "source", "plan", "out", "report", "mapping", ...d.id === "agent-init" ? ["directory"] : []].includes(key) ? resolveInsideProject(
6561
6564
  ctx.projectAnchor,
6562
6565
  String(value),
6563
6566
  "art." + key
@@ -7389,7 +7392,7 @@ function createDefaultRegistry(options = {}) {
7389
7392
  }
7390
7393
 
7391
7394
  // src/version.ts
7392
- var VERSION = "0.4.8";
7395
+ var VERSION = "0.4.9";
7393
7396
 
7394
7397
  // src/capability-coverage.ts
7395
7398
  function capabilityCoverage(registry) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kevlns/v-cli",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
4
4
  "description": "提供工具发现、插件路由、工程绑定、结构化能力执行和操作证据管理。",
5
5
  "type": "module",
6
6
  "bin": {
@@ -56,7 +56,7 @@
56
56
  "toolbox"
57
57
  ],
58
58
  "dependencies": {
59
- "@kevlns/art-workshop": "0.3.9",
59
+ "@kevlns/art-workshop": "0.3.11",
60
60
  "@kevlns/figma-to-uprefab": "0.1.4",
61
61
  "@kevlns/ship-cli": "0.1.2",
62
62
  "@kevlns/u-cli-mod": "0.3.1",