pixifact-cli 0.8.0 → 0.10.0

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/README.md CHANGED
@@ -29,7 +29,13 @@ pixifact scene validate --all
29
29
 
30
30
  默认使用当前工作目录作为项目根目录;不在项目根目录运行时再加 `--project-root <path>`。
31
31
 
32
- 其他命令是辅助入口:`scene create` 用于新建 Scene;`node inspect` 用于查看 `scene inspect` 返回的已知 locator;`editor context` 用于读取当前 Scene 和 selection;`editor screenshot --output <png-path>` 用于截取当前 Authoring Scene。不要使用 `scene get`,file mode 只保留 `scene inspect`。旧 `live ...` 命令已经删除。
32
+ 新建空 Scene 文件对使用:
33
+
34
+ ```bash
35
+ pixifact scene create src/scenes/Hud.scene
36
+ ```
37
+
38
+ 路径必须是项目相对的 `.scene` 路径。命令会按路径 basename 推导 `Hud`,并创建 `Hud.scene` 和 `Hud.ts`。其他辅助入口包括:`node inspect` 用于查看 `scene inspect` 返回的已知 locator;`editor context` 用于读取当前 Scene 和 selection;`editor screenshot --output <png-path>` 用于截取当前 Authoring Scene。不要使用 `scene get`,file mode 只保留 `scene inspect`。旧 `live ...` 命令已经删除。
33
39
 
34
40
  ## Agent Runtime
35
41
 
@@ -0,0 +1 @@
1
+ import{a as e,c as t,i as n,l as r,o as i,s as a,u as o}from"./index-6LBx8iFz.js";import"./init-DHo1Vvn0.js";o.add(t),o.mixin(r,a),o.add(i),o.add(e),o.mixin(r,n);