@kevlns/v-cli 0.7.5 → 0.7.6
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 +12 -3
- package/dist/sdk.d.ts +1 -1
- package/dist/sdk.mjs +12 -3
- package/package.json +2 -2
- package/skills/v-cli/references/project.md +3 -3
package/dist/cli.mjs
CHANGED
|
@@ -765,7 +765,7 @@ function exportToolSkill(command, options) {
|
|
|
765
765
|
}
|
|
766
766
|
|
|
767
767
|
// src/version.ts
|
|
768
|
-
var VERSION = "0.7.
|
|
768
|
+
var VERSION = "0.7.6";
|
|
769
769
|
|
|
770
770
|
// src/commands/agent.ts
|
|
771
771
|
function buildAgentIndex(builtin, local, official) {
|
|
@@ -7103,6 +7103,15 @@ var videoActions = [
|
|
|
7103
7103
|
var videoReads = /* @__PURE__ */ new Set(["describe", "snapshot", "settings.get", "settings.presets.h3", "runtime.status", "task.list", "task.read", "operation.validate", "script.read", "script.plan", "material.list", "image", "media.status", "execution.status"]);
|
|
7104
7104
|
var videoNoInput = /* @__PURE__ */ new Set(["describe", "snapshot", "settings.get", "settings.presets.h3", "runtime.status", "runtime.start", "runtime.stop", "task.list", "material.list", "media.status"]);
|
|
7105
7105
|
var videoNetwork = /* @__PURE__ */ new Set(["describe", "snapshot", "settings.get", "settings.save", "runtime.status", "runtime.start", "runtime.stop", "operation.create", "operation.update", "operation.derive", "operation.validate", "operation.run", "operation.resume", "operation.cancel", "script.plan", "script.apply", "film.refine"]);
|
|
7106
|
+
var spineDefinitions = ["describe", "parts", "build", "capture"].map((action) => ({
|
|
7107
|
+
id: "spine-" + action,
|
|
7108
|
+
command: ["spine", action],
|
|
7109
|
+
channel: "spine",
|
|
7110
|
+
fields: action === "describe" ? {} : { input: file },
|
|
7111
|
+
required: action === "describe" ? [] : ["input"],
|
|
7112
|
+
readonly: action === "describe",
|
|
7113
|
+
global: true
|
|
7114
|
+
}));
|
|
7106
7115
|
var videoDefinitions = videoActions.map((action) => ({
|
|
7107
7116
|
id: "video-" + action.replaceAll(".", "-"),
|
|
7108
7117
|
channel: "video",
|
|
@@ -7117,7 +7126,7 @@ function createArtProvider(deps) {
|
|
|
7117
7126
|
const discover = deps.discoverBackend ?? (() => discoverOfficialPlugin(
|
|
7118
7127
|
OFFICIAL_PLUGINS.find((s) => s.command === "art")
|
|
7119
7128
|
));
|
|
7120
|
-
const registrations = [...definitions3, ...imageDefinitions, ...videoDefinitions].map((d) => ({
|
|
7129
|
+
const registrations = [...definitions3, ...imageDefinitions, ...videoDefinitions, ...spineDefinitions].map((d) => ({
|
|
7121
7130
|
descriptor: {
|
|
7122
7131
|
id: "art." + (d.channel === "image" ? "image-" : "") + d.id,
|
|
7123
7132
|
commands: [d.command],
|
|
@@ -7209,7 +7218,7 @@ function createArtProvider(deps) {
|
|
|
7209
7218
|
const plan = JSON.parse(readFileSync(file2, "utf8"));
|
|
7210
7219
|
if (plan.project !== ctx.binding.projectId || plan.module !== businessCommand[0]) return fail("art-plan-scope-mismatch", "\u8BA1\u5212\u4E0D\u5C5E\u4E8E\u5F53\u524D art \u5DE5\u7A0B\u6216\u6267\u884C\u7C7B\u578B");
|
|
7211
7220
|
}
|
|
7212
|
-
const argv = d.channel === "video" ? [
|
|
7221
|
+
const argv = d.channel === "spine" ? [...d.command, "--workspace", ctx.projectAnchor.root] : d.channel === "video" ? [
|
|
7213
7222
|
...d.command,
|
|
7214
7223
|
"--workspace",
|
|
7215
7224
|
ctx.projectAnchor.storageRoot,
|
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.
|
|
1210
|
+
declare const VERSION = "0.7.6";
|
|
1211
1211
|
|
|
1212
1212
|
/** 已发布命令清单与真实注册表逐项对照,不从命名猜测覆盖。 */
|
|
1213
1213
|
declare function capabilityCoverage(registry: CapabilityRegistry): {
|
package/dist/sdk.mjs
CHANGED
|
@@ -6556,6 +6556,15 @@ var videoActions = [
|
|
|
6556
6556
|
var videoReads = /* @__PURE__ */ new Set(["describe", "snapshot", "settings.get", "settings.presets.h3", "runtime.status", "task.list", "task.read", "operation.validate", "script.read", "script.plan", "material.list", "image", "media.status", "execution.status"]);
|
|
6557
6557
|
var videoNoInput = /* @__PURE__ */ new Set(["describe", "snapshot", "settings.get", "settings.presets.h3", "runtime.status", "runtime.start", "runtime.stop", "task.list", "material.list", "media.status"]);
|
|
6558
6558
|
var videoNetwork = /* @__PURE__ */ new Set(["describe", "snapshot", "settings.get", "settings.save", "runtime.status", "runtime.start", "runtime.stop", "operation.create", "operation.update", "operation.derive", "operation.validate", "operation.run", "operation.resume", "operation.cancel", "script.plan", "script.apply", "film.refine"]);
|
|
6559
|
+
var spineDefinitions = ["describe", "parts", "build", "capture"].map((action) => ({
|
|
6560
|
+
id: "spine-" + action,
|
|
6561
|
+
command: ["spine", action],
|
|
6562
|
+
channel: "spine",
|
|
6563
|
+
fields: action === "describe" ? {} : { input: file },
|
|
6564
|
+
required: action === "describe" ? [] : ["input"],
|
|
6565
|
+
readonly: action === "describe",
|
|
6566
|
+
global: true
|
|
6567
|
+
}));
|
|
6559
6568
|
var videoDefinitions = videoActions.map((action) => ({
|
|
6560
6569
|
id: "video-" + action.replaceAll(".", "-"),
|
|
6561
6570
|
channel: "video",
|
|
@@ -6570,7 +6579,7 @@ function createArtProvider(deps) {
|
|
|
6570
6579
|
const discover = deps.discoverBackend ?? (() => discoverOfficialPlugin(
|
|
6571
6580
|
OFFICIAL_PLUGINS.find((s) => s.command === "art")
|
|
6572
6581
|
));
|
|
6573
|
-
const registrations = [...definitions3, ...imageDefinitions, ...videoDefinitions].map((d) => ({
|
|
6582
|
+
const registrations = [...definitions3, ...imageDefinitions, ...videoDefinitions, ...spineDefinitions].map((d) => ({
|
|
6574
6583
|
descriptor: {
|
|
6575
6584
|
id: "art." + (d.channel === "image" ? "image-" : "") + d.id,
|
|
6576
6585
|
commands: [d.command],
|
|
@@ -6662,7 +6671,7 @@ function createArtProvider(deps) {
|
|
|
6662
6671
|
const plan = JSON.parse(readFileSync(file2, "utf8"));
|
|
6663
6672
|
if (plan.project !== ctx.binding.projectId || plan.module !== businessCommand[0]) return fail("art-plan-scope-mismatch", "\u8BA1\u5212\u4E0D\u5C5E\u4E8E\u5F53\u524D art \u5DE5\u7A0B\u6216\u6267\u884C\u7C7B\u578B");
|
|
6664
6673
|
}
|
|
6665
|
-
const argv = d.channel === "video" ? [
|
|
6674
|
+
const argv = d.channel === "spine" ? [...d.command, "--workspace", ctx.projectAnchor.root] : d.channel === "video" ? [
|
|
6666
6675
|
...d.command,
|
|
6667
6676
|
"--workspace",
|
|
6668
6677
|
ctx.projectAnchor.storageRoot,
|
|
@@ -7656,7 +7665,7 @@ function exportToolSkill(command, options) {
|
|
|
7656
7665
|
}
|
|
7657
7666
|
|
|
7658
7667
|
// src/version.ts
|
|
7659
|
-
var VERSION = "0.7.
|
|
7668
|
+
var VERSION = "0.7.6";
|
|
7660
7669
|
|
|
7661
7670
|
// src/capability-coverage.ts
|
|
7662
7671
|
function capabilityCoverage(registry) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kevlns/v-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6",
|
|
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.
|
|
61
|
+
"@kevlns/art-workshop": "0.6.5",
|
|
62
62
|
"@kevlns/figma-to-uprefab": "0.1.5",
|
|
63
63
|
"@kevlns/ship-cli": "0.1.3",
|
|
64
64
|
"@kevlns/u-cli-mod": "0.3.2",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
### 核心约定(v-cli 本体)
|
|
20
20
|
|
|
21
|
-
- 环境要求 Node.js >= 20;v-cli 版本 @kevlns/v-cli@0.7.
|
|
21
|
+
- 环境要求 Node.js >= 20;v-cli 版本 @kevlns/v-cli@0.7.6
|
|
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,8 +45,8 @@
|
|
|
45
45
|
|
|
46
46
|
### @kevlns/art-workshop — 命令 `v-cli art …`
|
|
47
47
|
|
|
48
|
-
**版本**:0.6.
|
|
49
|
-
|
|
48
|
+
**版本**:0.6.5
|
|
49
|
+
**描述**:管理图片、视频与 Spine 骨骼动画制作。
|
|
50
50
|
**平台**:win32, linux, darwin
|
|
51
51
|
|
|
52
52
|
**何时使用**:读取对象和版本,保存规则即更新当前风格。按规则生成样张,在图片卡片上定版后自动加入风格运行时参考;原始分主题参考只用于分析。生成先编译预演,未知运行只恢复原身份。
|