@unity-china/codely-cli 1.0.0-rc.43 → 1.0.0-rc.46

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.
@@ -43,8 +43,8 @@ Core VFS rules:
43
43
 
44
44
  Tool choice:
45
45
  - `vfs_ls(path, depth?)`: discover structure.
46
- - `vfs_glob(pattern, type, path?, limit?)`: path/node discovery; use it for GameObjects/hierarchy. `type` is required; prefer precise types (`Scene`, `Prefab`, `Script`, `GameObject`, `Component`, etc.) because they are pushed into the graph query. Do not use `ALL` unless necessary; it disables type filtering and can be slow.
47
- - `vfs_grep(pattern, type, path?, include?, ignore_case?, limit?)`: indexed content search. `query` is deprecated. `type` is required; prefer precise types (`Class`, `Method`, `Property`, `GameObject`, `Component`, `Script`, `Scene`, `Prefab`, `Material`, `Texture`, `Mesh`, `Model`, `AnimationClip`, `AnimatorController`) because they are pushed into the graph query. `ALL` disables type filtering and can be slow; use it only as a fallback. Do not vfs_grep texture filenames inside `.mat` directories—use `vfs_refs(in)` on textures (HARD RULES B).
46
+ - `vfs_glob(pattern, type, path?, ignore_case, limit?)`: path/node discovery; use it for GameObjects/hierarchy. `type` is required; prefer precise types (`Scene`, `Prefab`, `Script`, `GameObject`, `Component`, etc.) because they are pushed into the graph query. Do not use `ALL` unless necessary; it disables type filtering and can be slow. `ignore_case` (boolean, required): case-insensitive glob pattern match when true.
47
+ - `vfs_grep(pattern, type, path?, include?, ignore_case, limit?)`: indexed content search. `query` is deprecated. `type` is required; prefer precise types (`Class`, `Method`, `Property`, `GameObject`, `Component`, `Script`, `Scene`, `Prefab`, `Material`, `Texture`, `Mesh`, `Model`, `AnimationClip`, `AnimatorController`) because they are pushed into the graph query. `ALL` disables type filtering and can be slow; use it only as a fallback. `ignore_case` (boolean, required): case-insensitive regex match when true. Do not vfs_grep texture filenames inside `.mat` directories—use `vfs_refs(in)` on textures (HARD RULES B).
48
48
  - `vfs_read(path, depth?)`: asset/folder `.meta`; `:/...` node indexed snippet; `file:/.content` for full text bodies (scripts, shaders, `.hlsl`, etc.). Use `depth` on node paths to read descendant contents in one call.
49
49
  - `vfs_refs(path, direction?, filter?)`: inferred mode only. `.cs` file => script bindings (incoming). `:/Class` or `:/Method` => CALL refs. Other paths => asset refs. `filter` is `File`, `Component`, `GameObject`, or `ALL`; prefer concrete filters and do not use `ALL` unless necessary because it disables result-side filtering. For `direction: in` on ordinary assets, unions Component `DEPENDS_ON` chains, direct `DEPENDS_ON`, and for models also `INSTANCE_OF`, `RENDERS_MESH`, `PREFAB_INSTANCE_GUID`. Use `filter: File` for scene/asset paths only; `filter: Component` for renderer/component paths; `filter: GameObject` for instance roots.
50
50