uloop-cli 1.4.0 → 1.5.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 +0 -56
- package/README_ja.md +0 -56
- package/dist/cli.bundle.cjs +9 -146
- package/dist/cli.bundle.cjs.map +2 -2
- package/package.json +1 -1
- package/src/__tests__/cli-e2e.test.ts +0 -54
- package/src/default-tools.json +1 -144
- package/src/skills/deprecated-skills.ts +3 -0
- package/src/version.ts +1 -1
package/README.md
CHANGED
|
@@ -43,7 +43,6 @@ After installing Skills, LLM tools can automatically handle instructions like:
|
|
|
43
43
|
| "Fix the compile errors" | `/uloop-compile` |
|
|
44
44
|
| "Run the tests and tell me why they failed" | `/uloop-run-tests` |
|
|
45
45
|
| "Check the scene hierarchy" | `/uloop-get-hierarchy` |
|
|
46
|
-
| "Search for prefabs" | `/uloop-unity-search` |
|
|
47
46
|
|
|
48
47
|
> **No MCP configuration required!** As long as the server is running in the uLoopMCP Window, LLM tools communicate directly with Unity through Skills.
|
|
49
48
|
|
|
@@ -57,8 +56,6 @@ Skills are dynamically loaded from the uLoopMCP package in your Unity project. T
|
|
|
57
56
|
- `/uloop-clear-console` - Clear console
|
|
58
57
|
- `/uloop-focus-window` - Bring Unity Editor to front
|
|
59
58
|
- `/uloop-get-hierarchy` - Get scene hierarchy
|
|
60
|
-
- `/uloop-unity-search` - Unity Search
|
|
61
|
-
- `/uloop-get-menu-items` - Get menu items
|
|
62
59
|
- `/uloop-execute-menu-item` - Execute menu item
|
|
63
60
|
- `/uloop-find-game-objects` - Find GameObjects
|
|
64
61
|
- `/uloop-screenshot` - Take a screenshot of EditorWindow
|
|
@@ -226,59 +223,6 @@ uloop get-hierarchy --use-selection true
|
|
|
226
223
|
**Output:**
|
|
227
224
|
- `hierarchyFilePath` (string) - Path to saved JSON file containing hierarchy data
|
|
228
225
|
|
|
229
|
-
### unity-search
|
|
230
|
-
|
|
231
|
-
Search Unity project.
|
|
232
|
-
|
|
233
|
-
| Flag | Type | Default | Description |
|
|
234
|
-
|------|------|---------|-------------|
|
|
235
|
-
| `--search-query` | string | | Search query (Unity Search syntax) |
|
|
236
|
-
| `--providers` | array | | Search providers (e.g., `asset`, `scene`, `menu`) |
|
|
237
|
-
| `--max-results` | integer | `50` | Maximum number of results |
|
|
238
|
-
| `--include-description` | boolean | `true` | Include detailed descriptions in results |
|
|
239
|
-
| `--include-metadata` | boolean | `false` | Include file metadata (size, modified date) |
|
|
240
|
-
| `--search-flags` | enum | `Default` | Search flags: `Default`, `Synchronous`, `WantsMore`, `Packages`, `Sorted` |
|
|
241
|
-
| `--save-to-file` | boolean | `false` | Save results to file |
|
|
242
|
-
| `--output-format` | enum | `JSON` | Output format when saving: `JSON`, `CSV`, `TSV` |
|
|
243
|
-
| `--auto-save-threshold` | integer | `100` | Auto-save threshold (0 to disable) |
|
|
244
|
-
| `--file-extensions` | array | | Filter by file extension (e.g., `cs`, `prefab`, `mat`) |
|
|
245
|
-
| `--asset-types` | array | | Filter by asset type (e.g., `Texture2D`, `GameObject`) |
|
|
246
|
-
| `--path-filter` | string | | Filter by path pattern (supports wildcards) |
|
|
247
|
-
|
|
248
|
-
```bash
|
|
249
|
-
uloop unity-search --search-query "*.prefab"
|
|
250
|
-
uloop unity-search --search-query "t:Texture2D" --max-results 10
|
|
251
|
-
uloop unity-search --search-query "t:MonoScript *.cs" --save-to-file true
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
**Output:**
|
|
255
|
-
- `TotalCount` (integer) - Total results found
|
|
256
|
-
- `DisplayedCount` (integer) - Results returned
|
|
257
|
-
- `Results` (array) - Search result items
|
|
258
|
-
- `SearchDurationMs` (integer) - Search time in milliseconds
|
|
259
|
-
- `ResultsFilePath` (string) - File path when results are saved to file
|
|
260
|
-
|
|
261
|
-
### get-menu-items
|
|
262
|
-
|
|
263
|
-
Retrieve Unity MenuItems.
|
|
264
|
-
|
|
265
|
-
| Flag | Type | Default | Description |
|
|
266
|
-
|------|------|---------|-------------|
|
|
267
|
-
| `--filter-text` | string | | Text to filter MenuItem paths |
|
|
268
|
-
| `--filter-type` | enum | `contains` | Filter type: `contains`, `exact`, `startswith` |
|
|
269
|
-
| `--max-count` | integer | `200` | Maximum number of items |
|
|
270
|
-
| `--include-validation` | boolean | `false` | Include validation functions |
|
|
271
|
-
|
|
272
|
-
```bash
|
|
273
|
-
uloop get-menu-items
|
|
274
|
-
uloop get-menu-items --filter-text "GameObject" --filter-type startswith
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
**Output:**
|
|
278
|
-
- `TotalCount` (integer) - Total MenuItems before filtering
|
|
279
|
-
- `FilteredCount` (integer) - MenuItems after filtering
|
|
280
|
-
- `MenuItems` (array) - Items with `Path`, `Priority`, `MethodName` fields
|
|
281
|
-
|
|
282
226
|
### execute-menu-item
|
|
283
227
|
|
|
284
228
|
Execute Unity MenuItem by path.
|
package/README_ja.md
CHANGED
|
@@ -43,7 +43,6 @@ Skills をインストールすると、LLMツールが以下のような指示
|
|
|
43
43
|
| 「コンパイルエラーを直して」 | `/uloop-compile` |
|
|
44
44
|
| 「テストを実行して、失敗の原因を教えて」 | `/uloop-run-tests` |
|
|
45
45
|
| 「シーンの階層構造を確認して」 | `/uloop-get-hierarchy` |
|
|
46
|
-
| 「プレハブを検索して」 | `/uloop-unity-search` |
|
|
47
46
|
|
|
48
47
|
> **MCP の設定は不要です!** uLoopMCP Window でサーバーが起動していれば、LLMツールは Skills を通じてUnityと直接通信します。
|
|
49
48
|
|
|
@@ -57,8 +56,6 @@ Skills はUnityプロジェクト内の uLoopMCP パッケージから動的に
|
|
|
57
56
|
- `/uloop-clear-console` - コンソールのクリア
|
|
58
57
|
- `/uloop-focus-window` - Unity Editor を前面に表示
|
|
59
58
|
- `/uloop-get-hierarchy` - シーン階層の取得
|
|
60
|
-
- `/uloop-unity-search` - Unity 検索
|
|
61
|
-
- `/uloop-get-menu-items` - メニューアイテムの取得
|
|
62
59
|
- `/uloop-execute-menu-item` - メニューアイテムの実行
|
|
63
60
|
- `/uloop-find-game-objects` - GameObject の検索
|
|
64
61
|
- `/uloop-screenshot` - EditorWindow のスクリーンショット
|
|
@@ -226,59 +223,6 @@ uloop get-hierarchy --use-selection true
|
|
|
226
223
|
**Output:**
|
|
227
224
|
- `hierarchyFilePath` (string) - 階層データを含む JSON ファイルのパス
|
|
228
225
|
|
|
229
|
-
### unity-search
|
|
230
|
-
|
|
231
|
-
Unity プロジェクトを検索します。
|
|
232
|
-
|
|
233
|
-
| フラグ | 型 | デフォルト | 説明 |
|
|
234
|
-
|--------|------|---------|-------------|
|
|
235
|
-
| `--search-query` | string | | 検索クエリ(Unity Search 構文) |
|
|
236
|
-
| `--providers` | array | | 検索プロバイダー(例: `asset`, `scene`, `menu`) |
|
|
237
|
-
| `--max-results` | integer | `50` | 結果の最大数 |
|
|
238
|
-
| `--include-description` | boolean | `true` | 結果に詳細な説明を含める |
|
|
239
|
-
| `--include-metadata` | boolean | `false` | ファイルメタデータ(サイズ、更新日)を含める |
|
|
240
|
-
| `--search-flags` | enum | `Default` | 検索フラグ: `Default`, `Synchronous`, `WantsMore`, `Packages`, `Sorted` |
|
|
241
|
-
| `--save-to-file` | boolean | `false` | 結果をファイルに保存 |
|
|
242
|
-
| `--output-format` | enum | `JSON` | 保存時の出力形式: `JSON`, `CSV`, `TSV` |
|
|
243
|
-
| `--auto-save-threshold` | integer | `100` | 自動保存の閾値(0 で無効化) |
|
|
244
|
-
| `--file-extensions` | array | | ファイル拡張子でフィルタ(例: `cs`, `prefab`, `mat`) |
|
|
245
|
-
| `--asset-types` | array | | アセットタイプでフィルタ(例: `Texture2D`, `GameObject`) |
|
|
246
|
-
| `--path-filter` | string | | パスパターンでフィルタ(ワイルドカード対応) |
|
|
247
|
-
|
|
248
|
-
```bash
|
|
249
|
-
uloop unity-search --search-query "*.prefab"
|
|
250
|
-
uloop unity-search --search-query "t:Texture2D" --max-results 10
|
|
251
|
-
uloop unity-search --search-query "t:MonoScript *.cs" --save-to-file true
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
**Output:**
|
|
255
|
-
- `TotalCount` (integer) - 見つかった結果の総数
|
|
256
|
-
- `DisplayedCount` (integer) - 返された結果数
|
|
257
|
-
- `Results` (array) - 検索結果アイテム
|
|
258
|
-
- `SearchDurationMs` (integer) - 検索時間(ミリ秒)
|
|
259
|
-
- `ResultsFilePath` (string) - ファイル保存時のファイルパス
|
|
260
|
-
|
|
261
|
-
### get-menu-items
|
|
262
|
-
|
|
263
|
-
Unity MenuItem を取得します。
|
|
264
|
-
|
|
265
|
-
| フラグ | 型 | デフォルト | 説明 |
|
|
266
|
-
|--------|------|---------|-------------|
|
|
267
|
-
| `--filter-text` | string | | MenuItem パスのフィルタテキスト |
|
|
268
|
-
| `--filter-type` | enum | `contains` | フィルタタイプ: `contains`, `exact`, `startswith` |
|
|
269
|
-
| `--max-count` | integer | `200` | アイテムの最大数 |
|
|
270
|
-
| `--include-validation` | boolean | `false` | 検証関数を含める |
|
|
271
|
-
|
|
272
|
-
```bash
|
|
273
|
-
uloop get-menu-items
|
|
274
|
-
uloop get-menu-items --filter-text "GameObject" --filter-type startswith
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
**Output:**
|
|
278
|
-
- `TotalCount` (integer) - フィルタ前の MenuItem 総数
|
|
279
|
-
- `FilteredCount` (integer) - フィルタ後の MenuItem 数
|
|
280
|
-
- `MenuItems` (array) - `Path`, `Priority`, `MethodName` フィールドを含むアイテム
|
|
281
|
-
|
|
282
226
|
### execute-menu-item
|
|
283
227
|
|
|
284
228
|
パスを指定して Unity MenuItem を実行します。
|
package/dist/cli.bundle.cjs
CHANGED
|
@@ -5886,7 +5886,7 @@ var import_path4 = require("path");
|
|
|
5886
5886
|
|
|
5887
5887
|
// src/default-tools.json
|
|
5888
5888
|
var default_tools_default = {
|
|
5889
|
-
version: "1.
|
|
5889
|
+
version: "1.5.0",
|
|
5890
5890
|
tools: [
|
|
5891
5891
|
{
|
|
5892
5892
|
name: "compile",
|
|
@@ -6043,149 +6043,6 @@ var default_tools_default = {
|
|
|
6043
6043
|
}
|
|
6044
6044
|
}
|
|
6045
6045
|
},
|
|
6046
|
-
{
|
|
6047
|
-
name: "unity-search",
|
|
6048
|
-
description: "Search Unity project",
|
|
6049
|
-
inputSchema: {
|
|
6050
|
-
type: "object",
|
|
6051
|
-
properties: {
|
|
6052
|
-
SearchQuery: {
|
|
6053
|
-
type: "string",
|
|
6054
|
-
description: "Search query"
|
|
6055
|
-
},
|
|
6056
|
-
Providers: {
|
|
6057
|
-
type: "array",
|
|
6058
|
-
description: "Search providers",
|
|
6059
|
-
items: {
|
|
6060
|
-
type: "string"
|
|
6061
|
-
}
|
|
6062
|
-
},
|
|
6063
|
-
MaxResults: {
|
|
6064
|
-
type: "integer",
|
|
6065
|
-
description: "Maximum number of results",
|
|
6066
|
-
default: 50
|
|
6067
|
-
},
|
|
6068
|
-
IncludeDescription: {
|
|
6069
|
-
type: "boolean",
|
|
6070
|
-
description: "Include detailed descriptions in results",
|
|
6071
|
-
default: true
|
|
6072
|
-
},
|
|
6073
|
-
IncludeMetadata: {
|
|
6074
|
-
type: "boolean",
|
|
6075
|
-
description: "Include file metadata (size, modified date)"
|
|
6076
|
-
},
|
|
6077
|
-
SearchFlags: {
|
|
6078
|
-
type: "string",
|
|
6079
|
-
description: "Search flags (Default, Synchronous, WantsMore, Packages, Sorted)",
|
|
6080
|
-
enum: [
|
|
6081
|
-
"Default",
|
|
6082
|
-
"Synchronous",
|
|
6083
|
-
"WantsMore",
|
|
6084
|
-
"Packages",
|
|
6085
|
-
"Sorted"
|
|
6086
|
-
],
|
|
6087
|
-
default: "Default"
|
|
6088
|
-
},
|
|
6089
|
-
SaveToFile: {
|
|
6090
|
-
type: "boolean",
|
|
6091
|
-
description: "Save results to file"
|
|
6092
|
-
},
|
|
6093
|
-
OutputFormat: {
|
|
6094
|
-
type: "string",
|
|
6095
|
-
description: "Output file format when SaveToFile is enabled",
|
|
6096
|
-
enum: [
|
|
6097
|
-
"JSON",
|
|
6098
|
-
"CSV",
|
|
6099
|
-
"TSV"
|
|
6100
|
-
],
|
|
6101
|
-
default: "JSON"
|
|
6102
|
-
},
|
|
6103
|
-
AutoSaveThreshold: {
|
|
6104
|
-
type: "integer",
|
|
6105
|
-
description: "Threshold for automatic file saving (0 to disable)",
|
|
6106
|
-
default: 100
|
|
6107
|
-
},
|
|
6108
|
-
FileExtensions: {
|
|
6109
|
-
type: "array",
|
|
6110
|
-
description: "Filter results by file extension (e.g., cs, prefab, mat)",
|
|
6111
|
-
items: {
|
|
6112
|
-
type: "string"
|
|
6113
|
-
}
|
|
6114
|
-
},
|
|
6115
|
-
AssetTypes: {
|
|
6116
|
-
type: "array",
|
|
6117
|
-
description: "Filter results by asset type (e.g., Texture2D, GameObject, MonoScript)",
|
|
6118
|
-
items: {
|
|
6119
|
-
type: "string"
|
|
6120
|
-
}
|
|
6121
|
-
},
|
|
6122
|
-
PathFilter: {
|
|
6123
|
-
type: "string",
|
|
6124
|
-
description: "Filter results by path pattern (supports wildcards)"
|
|
6125
|
-
}
|
|
6126
|
-
}
|
|
6127
|
-
}
|
|
6128
|
-
},
|
|
6129
|
-
{
|
|
6130
|
-
name: "get-unity-search-providers",
|
|
6131
|
-
description: "Get detailed information about Unity Search providers including display names, descriptions, active status, and capabilities",
|
|
6132
|
-
inputSchema: {
|
|
6133
|
-
type: "object",
|
|
6134
|
-
properties: {
|
|
6135
|
-
ProviderId: {
|
|
6136
|
-
type: "string",
|
|
6137
|
-
description: "Specific provider ID to get details for (empty = all providers). Examples: 'asset', 'scene', 'menu', 'settings'"
|
|
6138
|
-
},
|
|
6139
|
-
ActiveOnly: {
|
|
6140
|
-
type: "boolean",
|
|
6141
|
-
description: "Whether to include only active providers",
|
|
6142
|
-
default: false
|
|
6143
|
-
},
|
|
6144
|
-
SortByPriority: {
|
|
6145
|
-
type: "boolean",
|
|
6146
|
-
description: "Sort providers by priority (lower number = higher priority)",
|
|
6147
|
-
default: true
|
|
6148
|
-
},
|
|
6149
|
-
IncludeDescriptions: {
|
|
6150
|
-
type: "boolean",
|
|
6151
|
-
description: "Include detailed descriptions for each provider",
|
|
6152
|
-
default: true
|
|
6153
|
-
}
|
|
6154
|
-
}
|
|
6155
|
-
}
|
|
6156
|
-
},
|
|
6157
|
-
{
|
|
6158
|
-
name: "get-menu-items",
|
|
6159
|
-
description: "Retrieve Unity MenuItems",
|
|
6160
|
-
inputSchema: {
|
|
6161
|
-
type: "object",
|
|
6162
|
-
properties: {
|
|
6163
|
-
FilterText: {
|
|
6164
|
-
type: "string",
|
|
6165
|
-
description: "Filter text"
|
|
6166
|
-
},
|
|
6167
|
-
FilterType: {
|
|
6168
|
-
type: "string",
|
|
6169
|
-
description: "Filter type",
|
|
6170
|
-
enum: [
|
|
6171
|
-
"contains",
|
|
6172
|
-
"exact",
|
|
6173
|
-
"startswith"
|
|
6174
|
-
],
|
|
6175
|
-
default: "contains"
|
|
6176
|
-
},
|
|
6177
|
-
MaxCount: {
|
|
6178
|
-
type: "integer",
|
|
6179
|
-
description: "Maximum number of items",
|
|
6180
|
-
default: 200
|
|
6181
|
-
},
|
|
6182
|
-
IncludeValidation: {
|
|
6183
|
-
type: "boolean",
|
|
6184
|
-
description: "Include validation functions"
|
|
6185
|
-
}
|
|
6186
|
-
}
|
|
6187
|
-
}
|
|
6188
|
-
},
|
|
6189
6046
|
{
|
|
6190
6047
|
name: "execute-menu-item",
|
|
6191
6048
|
description: "Execute Unity MenuItem",
|
|
@@ -6662,7 +6519,7 @@ function getCachedServerVersion() {
|
|
|
6662
6519
|
}
|
|
6663
6520
|
|
|
6664
6521
|
// src/version.ts
|
|
6665
|
-
var VERSION = "1.
|
|
6522
|
+
var VERSION = "1.5.0";
|
|
6666
6523
|
|
|
6667
6524
|
// src/spinner.ts
|
|
6668
6525
|
var SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
|
|
@@ -7273,8 +7130,14 @@ var import_os = require("os");
|
|
|
7273
7130
|
var DEPRECATED_SKILLS = [
|
|
7274
7131
|
"uloop-capture-window",
|
|
7275
7132
|
// renamed to uloop-screenshot in v0.54.0
|
|
7276
|
-
"uloop-get-provider-details"
|
|
7133
|
+
"uloop-get-provider-details",
|
|
7277
7134
|
// renamed to uloop-get-unity-search-providers
|
|
7135
|
+
"uloop-unity-search",
|
|
7136
|
+
// removed: replaceable by execute-dynamic-code
|
|
7137
|
+
"uloop-get-menu-items",
|
|
7138
|
+
// removed: replaceable by execute-dynamic-code
|
|
7139
|
+
"uloop-get-unity-search-providers"
|
|
7140
|
+
// removed: replaceable by execute-dynamic-code
|
|
7278
7141
|
];
|
|
7279
7142
|
|
|
7280
7143
|
// src/tool-settings-loader.ts
|