uloop-cli 0.48.3 → 0.49.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/dist/cli.bundle.cjs +211 -22
- package/dist/cli.bundle.cjs.map +3 -3
- package/jest.config.cjs +2 -1
- package/md-transformer.cjs +11 -0
- package/package.json +1 -1
- package/scripts/generate-bundled-skills.ts +87 -31
- package/src/__tests__/cli-e2e.test.ts +76 -10
- package/src/__tests__/skills-manager.test.ts +158 -0
- package/src/cli.ts +44 -2
- package/src/default-tools.json +1 -1
- package/src/skills/bundled-skills.ts +19 -16
- package/src/skills/skill-definitions/cli-only/uloop-get-version/SKILL.md +37 -0
- package/src/skills/skills-manager.ts +232 -9
- package/src/version.ts +1 -1
- package/CLAUDE.md +0 -61
- package/src/skills/skill-definitions/uloop-capture-unity-window/SKILL.md +0 -81
- package/src/skills/skill-definitions/uloop-clear-console/SKILL.md +0 -34
- package/src/skills/skill-definitions/uloop-compile/SKILL.md +0 -47
- package/src/skills/skill-definitions/uloop-control-play-mode/SKILL.md +0 -48
- package/src/skills/skill-definitions/uloop-execute-dynamic-code/SKILL.md +0 -79
- package/src/skills/skill-definitions/uloop-execute-menu-item/SKILL.md +0 -43
- package/src/skills/skill-definitions/uloop-find-game-objects/SKILL.md +0 -46
- package/src/skills/skill-definitions/uloop-focus-window/SKILL.md +0 -34
- package/src/skills/skill-definitions/uloop-get-hierarchy/SKILL.md +0 -44
- package/src/skills/skill-definitions/uloop-get-logs/SKILL.md +0 -45
- package/src/skills/skill-definitions/uloop-get-menu-items/SKILL.md +0 -44
- package/src/skills/skill-definitions/uloop-get-provider-details/SKILL.md +0 -45
- package/src/skills/skill-definitions/uloop-get-version/SKILL.md +0 -32
- package/src/skills/skill-definitions/uloop-run-tests/SKILL.md +0 -43
- package/src/skills/skill-definitions/uloop-unity-search/SKILL.md +0 -44
- /package/src/skills/skill-definitions/{uloop-get-project-info → cli-only/uloop-get-project-info}/SKILL.md +0 -0
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: uloop-execute-menu-item
|
|
3
|
-
description: Execute Unity MenuItem via uloop CLI. Use when you need to: (1) Trigger menu commands programmatically, (2) Automate editor actions (save, build, refresh), (3) Run custom menu items defined in scripts.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# uloop execute-menu-item
|
|
7
|
-
|
|
8
|
-
Execute Unity MenuItem.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
uloop execute-menu-item --menu-item-path "<path>"
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
| Parameter | Type | Default | Description |
|
|
19
|
-
|-----------|------|---------|-------------|
|
|
20
|
-
| `--menu-item-path` | string | - | Menu item path (e.g., "GameObject/Create Empty") |
|
|
21
|
-
| `--use-reflection-fallback` | boolean | `true` | Use reflection fallback |
|
|
22
|
-
|
|
23
|
-
## Examples
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
# Create empty GameObject
|
|
27
|
-
uloop execute-menu-item --menu-item-path "GameObject/Create Empty"
|
|
28
|
-
|
|
29
|
-
# Save scene
|
|
30
|
-
uloop execute-menu-item --menu-item-path "File/Save"
|
|
31
|
-
|
|
32
|
-
# Open project settings
|
|
33
|
-
uloop execute-menu-item --menu-item-path "Edit/Project Settings..."
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Output
|
|
37
|
-
|
|
38
|
-
Returns JSON with execution result.
|
|
39
|
-
|
|
40
|
-
## Notes
|
|
41
|
-
|
|
42
|
-
- Use `uloop get-menu-items` to discover available menu paths
|
|
43
|
-
- Some menu items may require specific context or selection
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: uloop-find-game-objects
|
|
3
|
-
description: Find GameObjects with search criteria via uloop CLI. Use when you need to: (1) Locate GameObjects by name pattern, (2) Find objects by tag or layer, (3) Search for objects with specific component types.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# uloop find-game-objects
|
|
7
|
-
|
|
8
|
-
Find GameObjects with search criteria.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
uloop find-game-objects [options]
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
| Parameter | Type | Default | Description |
|
|
19
|
-
|-----------|------|---------|-------------|
|
|
20
|
-
| `--name-pattern` | string | - | Name pattern to search |
|
|
21
|
-
| `--search-mode` | string | `Contains` | Search mode: `Exact`, `Path`, `Regex`, `Contains` |
|
|
22
|
-
| `--required-components` | array | - | Required components |
|
|
23
|
-
| `--tag` | string | - | Tag filter |
|
|
24
|
-
| `--layer` | string | - | Layer filter |
|
|
25
|
-
| `--max-results` | integer | `20` | Maximum number of results |
|
|
26
|
-
| `--include-inactive` | boolean | `false` | Include inactive GameObjects |
|
|
27
|
-
|
|
28
|
-
## Examples
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
# Find by name
|
|
32
|
-
uloop find-game-objects --name-pattern "Player"
|
|
33
|
-
|
|
34
|
-
# Find with component
|
|
35
|
-
uloop find-game-objects --required-components Rigidbody
|
|
36
|
-
|
|
37
|
-
# Find by tag
|
|
38
|
-
uloop find-game-objects --tag "Enemy"
|
|
39
|
-
|
|
40
|
-
# Regex search
|
|
41
|
-
uloop find-game-objects --name-pattern "UI_.*" --search-mode Regex
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Output
|
|
45
|
-
|
|
46
|
-
Returns JSON array of matching GameObjects with paths and components.
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: uloop-focus-window
|
|
3
|
-
description: Bring Unity Editor window to front via uloop CLI. Use when you need to: (1) Focus Unity Editor before capturing screenshots, (2) Ensure Unity window is visible for visual checks, (3) Bring Unity to foreground for user interaction.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# uloop focus-window
|
|
7
|
-
|
|
8
|
-
Bring Unity Editor window to front.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
uloop focus-window
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
None.
|
|
19
|
-
|
|
20
|
-
## Examples
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
# Focus Unity Editor
|
|
24
|
-
uloop focus-window
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Output
|
|
28
|
-
|
|
29
|
-
Returns JSON confirming the window was focused.
|
|
30
|
-
|
|
31
|
-
## Notes
|
|
32
|
-
|
|
33
|
-
- Useful before `uloop capture-unity-window` to ensure the target window is visible
|
|
34
|
-
- Brings the main Unity Editor window to the foreground
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: uloop-get-hierarchy
|
|
3
|
-
description: Get Unity Hierarchy structure via uloop CLI. Use when you need to: (1) Inspect scene structure and GameObject tree, (2) Find GameObjects and their parent-child relationships, (3) Check component attachments on objects.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# uloop get-hierarchy
|
|
7
|
-
|
|
8
|
-
Get Unity Hierarchy structure.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
uloop get-hierarchy [options]
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
| Parameter | Type | Default | Description |
|
|
19
|
-
|-----------|------|---------|-------------|
|
|
20
|
-
| `--root-path` | string | - | Root GameObject path to start from |
|
|
21
|
-
| `--max-depth` | integer | `-1` | Maximum depth (-1 for unlimited) |
|
|
22
|
-
| `--include-components` | boolean | `true` | Include component information |
|
|
23
|
-
| `--include-inactive` | boolean | `true` | Include inactive GameObjects |
|
|
24
|
-
| `--include-paths` | boolean | `false` | Include full path information |
|
|
25
|
-
|
|
26
|
-
## Examples
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
# Get entire hierarchy
|
|
30
|
-
uloop get-hierarchy
|
|
31
|
-
|
|
32
|
-
# Get hierarchy from specific root
|
|
33
|
-
uloop get-hierarchy --root-path "Canvas/UI"
|
|
34
|
-
|
|
35
|
-
# Limit depth
|
|
36
|
-
uloop get-hierarchy --max-depth 2
|
|
37
|
-
|
|
38
|
-
# Without components
|
|
39
|
-
uloop get-hierarchy --include-components false
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Output
|
|
43
|
-
|
|
44
|
-
Returns JSON with hierarchical structure of GameObjects and their components.
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: uloop-get-logs
|
|
3
|
-
description: Retrieve Unity Console logs via uloop CLI. Use when you need to: (1) Check for errors or warnings after operations, (2) Debug runtime issues in Unity Editor, (3) Investigate unexpected behavior or exceptions.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# uloop get-logs
|
|
7
|
-
|
|
8
|
-
Retrieve logs from Unity Console.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
uloop get-logs [options]
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
| Parameter | Type | Default | Description |
|
|
19
|
-
|-----------|------|---------|-------------|
|
|
20
|
-
| `--log-type` | string | `All` | Log type filter: `Error`, `Warning`, `Log`, `All` |
|
|
21
|
-
| `--max-count` | integer | `100` | Maximum number of logs to retrieve |
|
|
22
|
-
| `--search-text` | string | - | Text to search within logs |
|
|
23
|
-
| `--include-stack-trace` | boolean | `true` | Include stack trace in output |
|
|
24
|
-
| `--use-regex` | boolean | `false` | Use regex for search |
|
|
25
|
-
| `--search-in-stack-trace` | boolean | `false` | Search within stack trace |
|
|
26
|
-
|
|
27
|
-
## Examples
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
# Get all logs
|
|
31
|
-
uloop get-logs
|
|
32
|
-
|
|
33
|
-
# Get only errors
|
|
34
|
-
uloop get-logs --log-type Error
|
|
35
|
-
|
|
36
|
-
# Search for specific text
|
|
37
|
-
uloop get-logs --search-text "NullReference"
|
|
38
|
-
|
|
39
|
-
# Regex search
|
|
40
|
-
uloop get-logs --search-text "Missing.*Component" --use-regex
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Output
|
|
44
|
-
|
|
45
|
-
Returns JSON array of log entries with message, type, and optional stack trace.
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: uloop-get-menu-items
|
|
3
|
-
description: Retrieve Unity MenuItems via uloop CLI. Use when you need to: (1) Discover available menu commands in Unity Editor, (2) Find menu paths for automation, (3) Prepare for executing menu items programmatically.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# uloop get-menu-items
|
|
7
|
-
|
|
8
|
-
Retrieve Unity MenuItems.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
uloop get-menu-items [options]
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
| Parameter | Type | Default | Description |
|
|
19
|
-
|-----------|------|---------|-------------|
|
|
20
|
-
| `--filter-text` | string | - | Filter text |
|
|
21
|
-
| `--filter-type` | string | `contains` | Filter type: `contains`, `exact`, `startswith` |
|
|
22
|
-
| `--max-count` | integer | `200` | Maximum number of items |
|
|
23
|
-
| `--include-validation` | boolean | `false` | Include validation functions |
|
|
24
|
-
|
|
25
|
-
## Examples
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
# List all menu items
|
|
29
|
-
uloop get-menu-items
|
|
30
|
-
|
|
31
|
-
# Filter by text
|
|
32
|
-
uloop get-menu-items --filter-text "GameObject"
|
|
33
|
-
|
|
34
|
-
# Exact match
|
|
35
|
-
uloop get-menu-items --filter-text "File/Save" --filter-type exact
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Output
|
|
39
|
-
|
|
40
|
-
Returns JSON array of menu items with paths and metadata.
|
|
41
|
-
|
|
42
|
-
## Notes
|
|
43
|
-
|
|
44
|
-
Use with `uloop execute-menu-item` to run discovered menu commands.
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: uloop-get-provider-details
|
|
3
|
-
description: Get Unity Search provider details via uloop CLI. Use when you need to: (1) Discover available search providers, (2) Understand search capabilities and filters, (3) Configure searches with specific provider options.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# uloop get-provider-details
|
|
7
|
-
|
|
8
|
-
Get detailed information about Unity Search providers.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
uloop get-provider-details [options]
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
| Parameter | Type | Default | Description |
|
|
19
|
-
|-----------|------|---------|-------------|
|
|
20
|
-
| `--provider-id` | string | - | Specific provider ID to query |
|
|
21
|
-
| `--active-only` | boolean | `false` | Only show active providers |
|
|
22
|
-
| `--include-descriptions` | boolean | `true` | Include descriptions |
|
|
23
|
-
| `--sort-by-priority` | boolean | `true` | Sort by priority |
|
|
24
|
-
|
|
25
|
-
## Examples
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
# List all providers
|
|
29
|
-
uloop get-provider-details
|
|
30
|
-
|
|
31
|
-
# Get specific provider
|
|
32
|
-
uloop get-provider-details --provider-id asset
|
|
33
|
-
|
|
34
|
-
# Active providers only
|
|
35
|
-
uloop get-provider-details --active-only
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Output
|
|
39
|
-
|
|
40
|
-
Returns JSON:
|
|
41
|
-
- `Providers`: array of provider info (ID, name, description, priority)
|
|
42
|
-
|
|
43
|
-
## Notes
|
|
44
|
-
|
|
45
|
-
Use provider IDs with `uloop unity-search --providers` option.
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: uloop-get-version
|
|
3
|
-
description: Get uLoopMCP version information via uloop CLI. Use when you need to: (1) Check uLoopMCP package version, (2) Verify installation is working correctly, (3) Troubleshoot version compatibility issues.
|
|
4
|
-
internal: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# uloop get-version
|
|
8
|
-
|
|
9
|
-
Get uLoopMCP version information.
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
uloop get-version
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Parameters
|
|
18
|
-
|
|
19
|
-
None.
|
|
20
|
-
|
|
21
|
-
## Examples
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
# Get version info
|
|
25
|
-
uloop get-version
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Output
|
|
29
|
-
|
|
30
|
-
Returns JSON with version information:
|
|
31
|
-
- uLoopMCP package version
|
|
32
|
-
- CLI version
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: uloop-run-tests
|
|
3
|
-
description: Execute Unity Test Runner via uloop CLI. Use when you need to: (1) Run unit tests (EditMode tests), (2) Run integration tests (PlayMode tests), (3) Verify code changes don't break existing functionality.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# uloop run-tests
|
|
7
|
-
|
|
8
|
-
Execute Unity Test Runner.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
uloop run-tests [options]
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
| Parameter | Type | Default | Description |
|
|
19
|
-
|-----------|------|---------|-------------|
|
|
20
|
-
| `--test-mode` | string | `EditMode` | Test mode: `EditMode`, `PlayMode` |
|
|
21
|
-
| `--filter-type` | string | `all` | Filter type: `all`, `exact`, `regex`, `assembly` |
|
|
22
|
-
| `--filter-value` | string | - | Filter value (test name, pattern, or assembly) |
|
|
23
|
-
| `--save-xml` | boolean | `false` | Save test results as XML |
|
|
24
|
-
|
|
25
|
-
## Examples
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
# Run all EditMode tests
|
|
29
|
-
uloop run-tests
|
|
30
|
-
|
|
31
|
-
# Run PlayMode tests
|
|
32
|
-
uloop run-tests --test-mode PlayMode
|
|
33
|
-
|
|
34
|
-
# Run specific test
|
|
35
|
-
uloop run-tests --filter-type exact --filter-value "MyTest.TestMethod"
|
|
36
|
-
|
|
37
|
-
# Run tests matching pattern
|
|
38
|
-
uloop run-tests --filter-type regex --filter-value ".*Integration.*"
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Output
|
|
42
|
-
|
|
43
|
-
Returns JSON with test results including pass/fail counts and details.
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: uloop-unity-search
|
|
3
|
-
description: Search Unity project via uloop CLI. Use when you need to: (1) Find assets by name or type (scenes, prefabs, scripts, materials), (2) Search for project resources using Unity's search system, (3) Locate files within the Unity project.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# uloop unity-search
|
|
7
|
-
|
|
8
|
-
Search Unity project using Unity Search.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
uloop unity-search [options]
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
| Parameter | Type | Default | Description |
|
|
19
|
-
|-----------|------|---------|-------------|
|
|
20
|
-
| `--search-query` | string | - | Search query |
|
|
21
|
-
| `--providers` | array | - | Search providers (e.g., `asset`, `scene`, `find`) |
|
|
22
|
-
| `--max-results` | integer | `50` | Maximum number of results |
|
|
23
|
-
| `--save-to-file` | boolean | `false` | Save results to file |
|
|
24
|
-
|
|
25
|
-
## Examples
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
# Search for assets
|
|
29
|
-
uloop unity-search --search-query "Player"
|
|
30
|
-
|
|
31
|
-
# Search with specific provider
|
|
32
|
-
uloop unity-search --search-query "t:Prefab" --providers asset
|
|
33
|
-
|
|
34
|
-
# Limit results
|
|
35
|
-
uloop unity-search --search-query "*.cs" --max-results 20
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Output
|
|
39
|
-
|
|
40
|
-
Returns JSON array of search results with paths and metadata.
|
|
41
|
-
|
|
42
|
-
## Notes
|
|
43
|
-
|
|
44
|
-
Use `uloop get-provider-details` to discover available search providers.
|
|
File without changes
|