@kevlns/v-cli 0.7.9 → 0.7.11
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 +3 -1
- package/LICENSE +1 -1
- package/README.md +3 -1
- package/dist/cli.mjs +2 -2
- package/dist/sdk.d.ts +1 -1
- package/dist/sdk.mjs +1 -1
- package/docs/documentation.md +3 -1
- package/docs/execution-identities.md +2 -0
- package/docs/project-storage-roots.md +2 -0
- package/docs/provider-development.md +2 -0
- package/docs/provider-protocols.md +2 -0
- package/docs/registration-execution.md +2 -0
- package/package.json +6 -6
- package/skills/v-cli/SKILL.md +2 -0
- package/skills/v-cli/references/project.md +9 -7
package/AGENTS.md
CHANGED
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Copyright © 2026 Vant <sl_kevln@163.com> -->
|
|
2
|
+
|
|
1
3
|
# Vant 工具命令入口
|
|
2
4
|
|
|
3
5
|
`@kevlns/v-cli`
|
|
@@ -185,4 +187,4 @@ npm run test:package
|
|
|
185
187
|
|
|
186
188
|
## 许可与版权
|
|
187
189
|
|
|
188
|
-
本工具采用 [MIT 许可](LICENSE)。Copyright © 2026 Vant
|
|
190
|
+
本工具采用 [MIT 许可](LICENSE)。Copyright © 2026 Vant <sl_kevln@163.com>。Vant 为工具集品牌;Figma、Unity、Steam、微信及其组件归各自权利人所有,第三方组件适用各自许可。
|
package/dist/cli.mjs
CHANGED
|
@@ -633,7 +633,7 @@ function validateLocalCommand(candidate, options = {}) {
|
|
|
633
633
|
if (cmd.apiVersion !== 1) {
|
|
634
634
|
const got = cmd.apiVersion === void 0 ? "\u7F3A\u5931" : JSON.stringify(cmd.apiVersion);
|
|
635
635
|
errors.push(
|
|
636
|
-
`apiVersion \u5FC5\u987B\u4E3A 1\uFF08\u5F53\u524D: ${got}\uFF09\
|
|
636
|
+
`apiVersion \u5FC5\u987B\u4E3A 1\uFF08\u5F53\u524D: ${got}\uFF09\uFF0C\u8BF7\u5728\u63D2\u4EF6\u5BFC\u51FA\u4E2D\u58F0\u660E apiVersion: 1`
|
|
637
637
|
);
|
|
638
638
|
}
|
|
639
639
|
if (typeof cmd.name !== "string" || cmd.name.length === 0) {
|
|
@@ -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.11";
|
|
769
769
|
|
|
770
770
|
// src/commands/agent.ts
|
|
771
771
|
function buildAgentIndex(builtin, local, official) {
|
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.11";
|
|
1211
1211
|
|
|
1212
1212
|
declare function syncManagedSkills({ dryRun, home, resolvePackage }?: {
|
|
1213
1213
|
dryRun?: boolean;
|
package/dist/sdk.mjs
CHANGED
package/docs/documentation.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
<!-- Copyright © 2026 Vant <sl_kevln@163.com> -->
|
|
2
|
+
|
|
1
3
|
# Vant 文档规范
|
|
2
4
|
|
|
3
5
|
## 定位
|
|
4
6
|
|
|
5
|
-
所有包以简体中文为默认语言。包名、命令、参数、路径、协议、字段、错误码、第三方产品名与许可原文保留必要英文。品牌统一使用 Vant,版权统一为 Copyright © 2026 Vant
|
|
7
|
+
所有包以简体中文为默认语言。包名、命令、参数、路径、协议、字段、错误码、第三方产品名与许可原文保留必要英文。品牌统一使用 Vant,版权统一为 Copyright © 2026 Vant <sl_kevln@163.com>;第三方归属声明保持准确。
|
|
6
8
|
|
|
7
9
|
## 结构
|
|
8
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kevlns/v-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.11",
|
|
4
4
|
"description": "提供工具发现、插件路由、工程绑定、结构化能力执行和操作证据管理。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
"toolbox"
|
|
59
59
|
],
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@kevlns/art-workshop": "0.6.
|
|
62
|
-
"@kevlns/figma-to-uprefab": "0.1.
|
|
63
|
-
"@kevlns/ship-cli": "0.1.
|
|
64
|
-
"@kevlns/u-cli-mod": "0.3.
|
|
65
|
-
"@kevlns/xlmerge": "2.0.
|
|
61
|
+
"@kevlns/art-workshop": "0.6.10",
|
|
62
|
+
"@kevlns/figma-to-uprefab": "0.1.7",
|
|
63
|
+
"@kevlns/ship-cli": "0.1.5",
|
|
64
|
+
"@kevlns/u-cli-mod": "0.3.4",
|
|
65
|
+
"@kevlns/xlmerge": "2.0.9",
|
|
66
66
|
"commander": "^12.1.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
package/skills/v-cli/SKILL.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Copyright © 2026 Vant <sl_kevln@163.com> -->
|
|
2
|
+
|
|
1
3
|
# Vant 工具命令入口 Agent 规范
|
|
2
4
|
|
|
3
5
|
## 定位
|
|
@@ -18,7 +20,7 @@
|
|
|
18
20
|
|
|
19
21
|
### 核心约定(v-cli 本体)
|
|
20
22
|
|
|
21
|
-
- 环境要求 Node.js >= 20;v-cli 版本 @kevlns/v-cli@0.7.
|
|
23
|
+
- 环境要求 Node.js >= 20;v-cli 版本 @kevlns/v-cli@0.7.11
|
|
22
24
|
- 命令分三类:builtin(内置)、local(~/.vant/tools/v-cli/commands/ 下的本地插件)、official(官方插件白名单);
|
|
23
25
|
- 单个命令的完整元数据用 `v-cli agent describe <命令名> --json` 查看
|
|
24
26
|
- AI Agent 引导文档:`v-cli agent docs` 输出运行技能入口(`--json` 含 sha256/content);
|
|
@@ -42,7 +44,7 @@
|
|
|
42
44
|
|
|
43
45
|
### @kevlns/art-workshop — 命令 `v-cli art …`
|
|
44
46
|
|
|
45
|
-
**版本**:0.6.
|
|
47
|
+
**版本**:0.6.10
|
|
46
48
|
**描述**:管理图片、视频与 Spine 骨骼动画制作。
|
|
47
49
|
**平台**:win32, linux, darwin
|
|
48
50
|
|
|
@@ -253,7 +255,7 @@
|
|
|
253
255
|
- `v-cli art spine capture --input <file>` 使用 WebGL 捕获指定姿势的 PNG 和对照图
|
|
254
256
|
### @kevlns/figma-to-uprefab — 命令 `v-cli figma …`
|
|
255
257
|
|
|
256
|
-
**版本**:0.1.
|
|
258
|
+
**版本**:0.1.7
|
|
257
259
|
**描述**:将 Figma 标记画板导出为源数据和图片,通过 Unity 转换器生成 UGUI 预制体。
|
|
258
260
|
**平台**:win32(仅 Windows 主机可用;非 Windows 上 v-cli 会拒绝路由)
|
|
259
261
|
|
|
@@ -276,7 +278,7 @@
|
|
|
276
278
|
- `v-cli figma build [options]` 通过 Unity 批处理运行 C# 转换器;未安装、回执缺失或编辑器占用时拒绝执行。
|
|
277
279
|
### @kevlns/ship-cli — 命令 `v-cli ship …`
|
|
278
280
|
|
|
279
|
-
**版本**:0.1.
|
|
281
|
+
**版本**:0.1.5
|
|
280
282
|
**描述**:校验已构建的游戏产物,执行 Steam 上传、微信小游戏预览和开发版上传。
|
|
281
283
|
**平台**:win32, linux, darwin
|
|
282
284
|
|
|
@@ -300,7 +302,7 @@
|
|
|
300
302
|
- `v-cli ship wx open <target>` 在浏览器打开微信公众平台后台。
|
|
301
303
|
### @kevlns/u-cli-mod — 命令 `v-cli unity …`
|
|
302
304
|
|
|
303
|
-
**版本**:0.3.
|
|
305
|
+
**版本**:0.3.4
|
|
304
306
|
**描述**:按 Unity Editor 精确版本定位工具链,校验和安装 com.unity.pipeline,并执行工程命令。
|
|
305
307
|
**平台**:win32(仅 Windows 主机可用;非 Windows 上 v-cli 会拒绝路由)
|
|
306
308
|
|
|
@@ -318,7 +320,7 @@
|
|
|
318
320
|
- `v-cli unity cache clean [options]` 清理下载缓存与生成的适配包
|
|
319
321
|
### @kevlns/xlmerge — 命令 `v-cli xlmerge …`
|
|
320
322
|
|
|
321
|
-
**版本**:2.0.
|
|
323
|
+
**版本**:2.0.9
|
|
322
324
|
**描述**:处理 Git 中的 Excel 三方冲突,支持 Agent 根据项目规则裁决并写回,也支持浏览器逐项审阅。
|
|
323
325
|
**平台**:darwin, linux, win32
|
|
324
326
|
|
|
@@ -349,4 +351,4 @@
|
|
|
349
351
|
|
|
350
352
|
## 许可与版权
|
|
351
353
|
|
|
352
|
-
MIT。Copyright © 2026 Vant
|
|
354
|
+
MIT。Copyright © 2026 Vant <sl_kevln@163.com>。
|