@kevlns/v-cli 0.2.9 → 0.2.10
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 +1 -1
- package/README.md +1 -1
- package/dist/cli.mjs +1 -1
- package/package.json +1 -1
- package/skills/v-cli/SKILL.md +1 -2
package/AGENTS.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
## 核心约定(v-cli 本体)
|
|
9
9
|
|
|
10
|
-
- 环境要求 Node.js >= 20;v-cli 版本 @kevlns/v-cli@0.2.
|
|
10
|
+
- 环境要求 Node.js >= 20;v-cli 版本 @kevlns/v-cli@0.2.10
|
|
11
11
|
- 命令分三类:builtin(内置)、local(~/.v-cli/commands/ 下的本地插件)、official(官方插件白名单);
|
|
12
12
|
**最新、live 的命令集合以实际发现为准**:先运行 `v-cli agent index --json` 获取全部命令与 agent 元数据
|
|
13
13
|
- 单个命令的完整元数据用 `v-cli agent describe <命令名> --json` 查看
|
package/README.md
CHANGED
|
@@ -214,7 +214,7 @@ kevlns 工具家族共享同一套发布约定(tag 驱动、CI 护栏、MIT)
|
|
|
214
214
|
|
|
215
215
|
| Package | Purpose | Status |
|
|
216
216
|
| --- | --- | --- |
|
|
217
|
-
| [`v-cli`](https://github.com/kevlns/v-cli) | 个人工具箱 CLI(本仓库) | v0.2.
|
|
217
|
+
| [`v-cli`](https://github.com/kevlns/v-cli) | 个人工具箱 CLI(本仓库) | v0.2.10 |
|
|
218
218
|
| [`xlmerge`](https://github.com/kevlns/xlmerge) | Git 中 .xlsx/.xlsm 冲突可视化解决工具 | v2.0.0 |
|
|
219
219
|
| [`u-cli-mod`](https://github.com/kevlns/u-cli-mod) | Unity 精确版本路由 + CLI + pipeline 包(Windows-first) | v0.2.0 |
|
|
220
220
|
|
package/dist/cli.mjs
CHANGED
|
@@ -627,7 +627,7 @@ import { createHash, randomBytes } from "crypto";
|
|
|
627
627
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
628
628
|
|
|
629
629
|
// src/version.ts
|
|
630
|
-
var VERSION = "0.2.
|
|
630
|
+
var VERSION = "0.2.10";
|
|
631
631
|
|
|
632
632
|
// src/core/agent-docs.ts
|
|
633
633
|
var BUNDLED_DOCS_FILE = "AGENTS.md";
|
package/package.json
CHANGED
package/skills/v-cli/SKILL.md
CHANGED
|
@@ -107,12 +107,11 @@ receipt 属工程本地生成物:新克隆 / 清理 Library 后即使 `Package
|
|
|
107
107
|
|
|
108
108
|
### 长任务命令:启动即让出,用状态命令轮询
|
|
109
109
|
|
|
110
|
-
-
|
|
110
|
+
- `run_tests` 这类同步长任务默认只等 **5 秒**:到点后任务仍在 Editor 内继续执行,工具打印输出日志路径(`<工程>/Library/editor-pipeline-cli/exec-logs/*.log`)并立即返回(退出码 0)。
|
|
111
111
|
- 让出后**不要重复发起同一命令**,改用状态命令轮询:测试 `-- command test_status`(直到读到 `summary`),烘焙 `-- command <xxx>_bake_status`。
|
|
112
112
|
- 需要同步拿到完整 `Summary` 时用 `--wait <秒>` 扩大等待(写在 `--` 之前,u-cli-mod 自行剥离,不会透传给 Unity CLI);`--wait 0` = 立即返回。
|
|
113
113
|
- **优先缩小范围**(最省事):`run_tests --mode EditMode --filter <命名空间或测试类>` 通常数秒内就同步返回完整 `Summary`,无需轮询。
|
|
114
114
|
- 让出后任务仍在跑,不要重复发起;如需取消用 `-- command cancel_tests`(运行中可能被拒,稍后重试)。
|
|
115
|
-
- 若仍见到 `Pipeline command 'run_tests' timed out after 30000ms`,说明本机 v-cli/u-cli-mod 尚未升级到 0.2.0;升级后该提示消失。
|
|
116
115
|
|
|
117
116
|
## 典型流程
|
|
118
117
|
|