uloop-cli 0.46.0 → 0.48.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 +107 -43
- package/dist/cli.bundle.cjs.map +4 -4
- package/package.json +4 -2
- package/scripts/generate-bundled-skills.ts +159 -0
- package/src/default-tools.json +27 -3
- package/src/skills/bundled-skills.ts +66 -24
- package/src/skills/skill-definitions/uloop-capture-unity-window/SKILL.md +81 -0
- package/src/skills/skill-definitions/uloop-control-play-mode/SKILL.md +48 -0
- package/src/skills/skill-definitions/uloop-focus-window/SKILL.md +1 -1
- package/src/skills/skill-definitions/uloop-get-project-info/SKILL.md +1 -0
- package/src/skills/skill-definitions/uloop-get-version/SKILL.md +1 -0
- package/src/version.ts +1 -1
- package/src/skills/skill-definitions/uloop-capture-gameview/SKILL.md +0 -39
package/dist/cli.bundle.cjs
CHANGED
|
@@ -5621,7 +5621,7 @@ var import_path3 = require("path");
|
|
|
5621
5621
|
|
|
5622
5622
|
// src/default-tools.json
|
|
5623
5623
|
var default_tools_default = {
|
|
5624
|
-
version: "0.
|
|
5624
|
+
version: "0.48.0",
|
|
5625
5625
|
tools: [
|
|
5626
5626
|
{
|
|
5627
5627
|
name: "compile",
|
|
@@ -5896,11 +5896,16 @@ var default_tools_default = {
|
|
|
5896
5896
|
}
|
|
5897
5897
|
},
|
|
5898
5898
|
{
|
|
5899
|
-
name: "capture-
|
|
5900
|
-
description: "Capture Unity
|
|
5899
|
+
name: "capture-unity-window",
|
|
5900
|
+
description: "Capture Unity EditorWindow and save as PNG image",
|
|
5901
5901
|
inputSchema: {
|
|
5902
5902
|
type: "object",
|
|
5903
5903
|
properties: {
|
|
5904
|
+
WindowName: {
|
|
5905
|
+
type: "string",
|
|
5906
|
+
description: "Window name to capture (e.g., 'Game', 'Scene', 'Console', 'Inspector', 'Project', 'Hierarchy')",
|
|
5907
|
+
default: "Game"
|
|
5908
|
+
},
|
|
5904
5909
|
ResolutionScale: {
|
|
5905
5910
|
type: "number",
|
|
5906
5911
|
description: "Resolution scale (0.1 to 1.0)",
|
|
@@ -5972,6 +5977,25 @@ var default_tools_default = {
|
|
|
5972
5977
|
type: "object",
|
|
5973
5978
|
properties: {}
|
|
5974
5979
|
}
|
|
5980
|
+
},
|
|
5981
|
+
{
|
|
5982
|
+
name: "control-play-mode",
|
|
5983
|
+
description: "Control Unity Editor play mode (play/stop/pause)",
|
|
5984
|
+
inputSchema: {
|
|
5985
|
+
type: "object",
|
|
5986
|
+
properties: {
|
|
5987
|
+
Action: {
|
|
5988
|
+
type: "string",
|
|
5989
|
+
description: "Action to perform: Play - Start play mode, Stop - Stop play mode, Pause - Pause play mode",
|
|
5990
|
+
enum: [
|
|
5991
|
+
"Play",
|
|
5992
|
+
"Stop",
|
|
5993
|
+
"Pause"
|
|
5994
|
+
],
|
|
5995
|
+
default: "Play"
|
|
5996
|
+
}
|
|
5997
|
+
}
|
|
5998
|
+
}
|
|
5975
5999
|
}
|
|
5976
6000
|
]
|
|
5977
6001
|
};
|
|
@@ -6018,7 +6042,7 @@ function getCacheFilePath() {
|
|
|
6018
6042
|
}
|
|
6019
6043
|
|
|
6020
6044
|
// src/version.ts
|
|
6021
|
-
var VERSION = "0.
|
|
6045
|
+
var VERSION = "0.48.0";
|
|
6022
6046
|
|
|
6023
6047
|
// src/spinner.ts
|
|
6024
6048
|
var SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
|
|
@@ -6309,79 +6333,119 @@ var import_fs4 = require("fs");
|
|
|
6309
6333
|
var import_path5 = require("path");
|
|
6310
6334
|
var import_os = require("os");
|
|
6311
6335
|
|
|
6336
|
+
// src/skills/skill-definitions/uloop-capture-unity-window/SKILL.md
|
|
6337
|
+
var SKILL_default = '---\nname: uloop-capture-unity-window\ndescription: Capture Unity EditorWindow and save as PNG image. Use when you need to: (1) Take a screenshot of Game View, Scene View, Console, Inspector, etc., (2) Capture visual state for debugging or verification, (3) Save editor output as an image file.\n---\n\n# uloop capture-unity-window\n\nCapture any Unity EditorWindow by name and save as PNG image.\n\n## Usage\n\n```bash\nuloop capture-unity-window [--window-name <name>] [--resolution-scale <scale>]\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--window-name` | string | `Game` | Window name to capture (e.g., "Game", "Scene", "Console", "Inspector", "Project", "Hierarchy", or any EditorWindow title) |\n| `--resolution-scale` | number | `1.0` | Resolution scale (0.1 to 1.0) |\n\n## Window Name\n\nThe window name is the text displayed in the window\'s title bar (tab). The user (human) will tell you which window to capture. Common window names include:\n\n- **Game**: Game View window\n- **Scene**: Scene View window\n- **Console**: Console window\n- **Inspector**: Inspector window\n- **Project**: Project browser window\n- **Hierarchy**: Hierarchy window\n- **Animation**: Animation window\n- **Animator**: Animator window\n- **Profiler**: Profiler window\n- **Audio Mixer**: Audio Mixer window\n\nYou can also specify custom EditorWindow titles (e.g., "EditorWindow Capture Test").\n\n## Examples\n\n```bash\n# Capture Game View at full resolution\nuloop capture-unity-window\n\n# Capture Game View at half resolution\nuloop capture-unity-window --window-name Game --resolution-scale 0.5\n\n# Capture Scene View\nuloop capture-unity-window --window-name Scene\n\n# Capture Console window\nuloop capture-unity-window --window-name Console\n\n# Capture Inspector window\nuloop capture-unity-window --window-name Inspector\n\n# Capture Project browser\nuloop capture-unity-window --window-name Project\n\n# Capture custom EditorWindow by title\nuloop capture-unity-window --window-name "My Custom Window"\n```\n\n## Output\n\nReturns JSON with:\n- `CapturedCount`: Number of windows captured\n- `CapturedWindows`: Array of captured window info, each containing:\n - `ImagePath`: Absolute path to the saved PNG image\n - `FileSizeBytes`: Size of the saved file in bytes\n - `Width`: Captured image width in pixels\n - `Height`: Captured image height in pixels\n\nWhen multiple windows of the same type are open (e.g., multiple Inspector windows), all matching windows are captured with numbered filenames (e.g., `Inspector_1_*.png`, `Inspector_2_*.png`).\n\n## Notes\n\n- Use `uloop focus-window` first if needed\n- Target window must be open in Unity Editor\n- Window name matching is case-insensitive\n';
|
|
6338
|
+
|
|
6339
|
+
// src/skills/skill-definitions/uloop-clear-console/SKILL.md
|
|
6340
|
+
var SKILL_default2 = "---\nname: uloop-clear-console\ndescription: Clear Unity console logs via uloop CLI. Use when you need to: (1) Clear the console before running tests, (2) Start a fresh debugging session, (3) Clean up log output for better readability.\n---\n\n# uloop clear-console\n\nClear Unity console logs.\n\n## Usage\n\n```bash\nuloop clear-console [--add-confirmation-message]\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--add-confirmation-message` | boolean | `false` | Add confirmation message after clearing |\n\n## Examples\n\n```bash\n# Clear console\nuloop clear-console\n\n# Clear with confirmation\nuloop clear-console --add-confirmation-message\n```\n\n## Output\n\nReturns JSON confirming the console was cleared.\n";
|
|
6341
|
+
|
|
6312
6342
|
// src/skills/skill-definitions/uloop-compile/SKILL.md
|
|
6313
|
-
var
|
|
6343
|
+
var SKILL_default3 = '---\nname: uloop-compile\ndescription: Compile Unity project via uloop CLI. Use when you need to: (1) Verify C# code compiles successfully after editing scripts, (2) Check for compile errors or warnings, (3) Validate script changes before running tests.\n---\n\n# uloop compile\n\nExecute Unity project compilation.\n\n## Usage\n\n```bash\nuloop compile [--force-recompile]\n```\n\n## Parameters\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `--force-recompile` | boolean | Force full recompilation (triggers Domain Reload) |\n\n## Examples\n\n```bash\n# Check compilation\nuloop compile\n\n# Force full recompilation\nuloop compile --force-recompile\n```\n\n## Output\n\nReturns JSON:\n- `Success`: boolean\n- `ErrorCount`: number\n- `WarningCount`: number\n\n## Troubleshooting\n\nIf CLI hangs or shows "Unity is busy" errors after compilation, stale lock files may be preventing connection. Run the following to clean them up:\n\n```bash\nuloop fix\n```\n\nThis removes any leftover lock files (`compiling.lock`, `domainreload.lock`, `serverstarting.lock`) from the Unity project\'s Temp directory.\n';
|
|
6314
6344
|
|
|
6315
|
-
// src/skills/skill-definitions/uloop-
|
|
6316
|
-
var
|
|
6345
|
+
// src/skills/skill-definitions/uloop-control-play-mode/SKILL.md
|
|
6346
|
+
var SKILL_default4 = "---\nname: uloop-control-play-mode\ndescription: Control Unity Editor play mode via uloop CLI. Use when you need to: (1) Start play mode for testing, (2) Stop play mode after testing, (3) Pause play mode for debugging.\n---\n\n# uloop control-play-mode\n\nControl Unity Editor play mode (play/stop/pause).\n\n## Usage\n\n```bash\nuloop control-play-mode [options]\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--action` | string | `Play` | Action to perform: `Play`, `Stop`, `Pause` |\n\n## Examples\n\n```bash\n# Start play mode\nuloop control-play-mode --action Play\n\n# Stop play mode\nuloop control-play-mode --action Stop\n\n# Pause play mode\nuloop control-play-mode --action Pause\n```\n\n## Output\n\nReturns JSON with the current play mode state:\n- `IsPlaying`: Whether Unity is currently in play mode\n- `IsPaused`: Whether play mode is paused\n- `Message`: Description of the action performed\n\n## Notes\n\n- Play action starts the game in the Unity Editor (also resumes from pause)\n- Stop action exits play mode and returns to edit mode\n- Pause action pauses the game while remaining in play mode\n- Useful for automated testing workflows\n\n";
|
|
6317
6347
|
|
|
6318
|
-
// src/skills/skill-definitions/uloop-
|
|
6319
|
-
var
|
|
6348
|
+
// src/skills/skill-definitions/uloop-execute-dynamic-code/SKILL.md
|
|
6349
|
+
var SKILL_default5 = "---\nname: uloop-execute-dynamic-code\ndescription: Execute C# code dynamically in Unity Editor via uloop CLI. Use for editor automation: (1) Prefab/material wiring and AddComponent operations, (2) Reference wiring with SerializedObject, (3) Scene/hierarchy edits and batch operations. NOT for file I/O or script authoring.\n---\n\n# uloop execute-dynamic-code\n\nExecute C# code dynamically in Unity Editor.\n\n## Usage\n\n```bash\nuloop execute-dynamic-code --code '<c# code>'\n```\n\n## Parameters\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `--code` | string | C# code to execute (direct statements, no class wrapper) |\n| `--compile-only` | boolean | Compile without execution |\n| `--auto-qualify-unity-types-once` | boolean | Auto-qualify Unity types |\n\n## Code Format\n\nWrite direct statements only (no classes/namespaces/methods). Return is optional.\n\n```csharp\n// Using directives at top are hoisted\nusing UnityEngine;\nvar x = Mathf.PI;\nreturn x;\n```\n\n## String Literals (Shell-specific)\n\n| Shell | Method |\n|-------|--------|\n| bash/zsh/MINGW64/Git Bash | `'Debug.Log(\"Hello!\");'` |\n| PowerShell | `'Debug.Log(\"\"Hello!\"\");'` |\n\n## Allowed Operations\n\n- Prefab/material wiring (PrefabUtility)\n- AddComponent + reference wiring (SerializedObject)\n- Scene/hierarchy edits\n- Inspector modifications\n\n## Forbidden Operations\n\n- System.IO.* (File/Directory/Path)\n- AssetDatabase.CreateFolder / file writes\n- Create/edit .cs/.asmdef files\n\n## Examples\n\n### bash / zsh / MINGW64 / Git Bash\n\n```bash\nuloop execute-dynamic-code --code 'return Selection.activeGameObject?.name;'\nuloop execute-dynamic-code --code 'new GameObject(\"MyObject\");'\nuloop execute-dynamic-code --code 'UnityEngine.Debug.Log(\"Hello from CLI!\");'\n```\n\n### PowerShell\n\n```powershell\nuloop execute-dynamic-code --code 'return Selection.activeGameObject?.name;'\nuloop execute-dynamic-code --code 'new GameObject(\"\"MyObject\"\");'\nuloop execute-dynamic-code --code 'UnityEngine.Debug.Log(\"\"Hello from CLI!\"\");'\n```\n\n## Output\n\nReturns JSON with execution result or compile errors.\n\n## Notes\n\nFor file/directory operations, use terminal commands instead.\n";
|
|
6320
6350
|
|
|
6321
|
-
// src/skills/skill-definitions/uloop-
|
|
6322
|
-
var
|
|
6351
|
+
// src/skills/skill-definitions/uloop-execute-menu-item/SKILL.md
|
|
6352
|
+
var SKILL_default6 = '---\nname: uloop-execute-menu-item\ndescription: 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.\n---\n\n# uloop execute-menu-item\n\nExecute Unity MenuItem.\n\n## Usage\n\n```bash\nuloop execute-menu-item --menu-item-path "<path>"\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--menu-item-path` | string | - | Menu item path (e.g., "GameObject/Create Empty") |\n| `--use-reflection-fallback` | boolean | `true` | Use reflection fallback |\n\n## Examples\n\n```bash\n# Create empty GameObject\nuloop execute-menu-item --menu-item-path "GameObject/Create Empty"\n\n# Save scene\nuloop execute-menu-item --menu-item-path "File/Save"\n\n# Open project settings\nuloop execute-menu-item --menu-item-path "Edit/Project Settings..."\n```\n\n## Output\n\nReturns JSON with execution result.\n\n## Notes\n\n- Use `uloop get-menu-items` to discover available menu paths\n- Some menu items may require specific context or selection\n';
|
|
6353
|
+
|
|
6354
|
+
// src/skills/skill-definitions/uloop-find-game-objects/SKILL.md
|
|
6355
|
+
var SKILL_default7 = '---\nname: uloop-find-game-objects\ndescription: 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.\n---\n\n# uloop find-game-objects\n\nFind GameObjects with search criteria.\n\n## Usage\n\n```bash\nuloop find-game-objects [options]\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--name-pattern` | string | - | Name pattern to search |\n| `--search-mode` | string | `Contains` | Search mode: `Exact`, `Path`, `Regex`, `Contains` |\n| `--required-components` | array | - | Required components |\n| `--tag` | string | - | Tag filter |\n| `--layer` | string | - | Layer filter |\n| `--max-results` | integer | `20` | Maximum number of results |\n| `--include-inactive` | boolean | `false` | Include inactive GameObjects |\n\n## Examples\n\n```bash\n# Find by name\nuloop find-game-objects --name-pattern "Player"\n\n# Find with component\nuloop find-game-objects --required-components Rigidbody\n\n# Find by tag\nuloop find-game-objects --tag "Enemy"\n\n# Regex search\nuloop find-game-objects --name-pattern "UI_.*" --search-mode Regex\n```\n\n## Output\n\nReturns JSON array of matching GameObjects with paths and components.\n';
|
|
6323
6356
|
|
|
6324
6357
|
// src/skills/skill-definitions/uloop-focus-window/SKILL.md
|
|
6325
|
-
var
|
|
6358
|
+
var SKILL_default8 = "---\nname: uloop-focus-window\ndescription: 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.\n---\n\n# uloop focus-window\n\nBring Unity Editor window to front.\n\n## Usage\n\n```bash\nuloop focus-window\n```\n\n## Parameters\n\nNone.\n\n## Examples\n\n```bash\n# Focus Unity Editor\nuloop focus-window\n```\n\n## Output\n\nReturns JSON confirming the window was focused.\n\n## Notes\n\n- Useful before `uloop capture-unity-window` to ensure the target window is visible\n- Brings the main Unity Editor window to the foreground\n";
|
|
6326
6359
|
|
|
6327
6360
|
// src/skills/skill-definitions/uloop-get-hierarchy/SKILL.md
|
|
6328
|
-
var
|
|
6361
|
+
var SKILL_default9 = '---\nname: uloop-get-hierarchy\ndescription: 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.\n---\n\n# uloop get-hierarchy\n\nGet Unity Hierarchy structure.\n\n## Usage\n\n```bash\nuloop get-hierarchy [options]\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--root-path` | string | - | Root GameObject path to start from |\n| `--max-depth` | integer | `-1` | Maximum depth (-1 for unlimited) |\n| `--include-components` | boolean | `true` | Include component information |\n| `--include-inactive` | boolean | `true` | Include inactive GameObjects |\n| `--include-paths` | boolean | `false` | Include full path information |\n\n## Examples\n\n```bash\n# Get entire hierarchy\nuloop get-hierarchy\n\n# Get hierarchy from specific root\nuloop get-hierarchy --root-path "Canvas/UI"\n\n# Limit depth\nuloop get-hierarchy --max-depth 2\n\n# Without components\nuloop get-hierarchy --include-components false\n```\n\n## Output\n\nReturns JSON with hierarchical structure of GameObjects and their components.\n';
|
|
6329
6362
|
|
|
6330
|
-
// src/skills/skill-definitions/uloop-
|
|
6331
|
-
var
|
|
6363
|
+
// src/skills/skill-definitions/uloop-get-logs/SKILL.md
|
|
6364
|
+
var SKILL_default10 = '---\nname: uloop-get-logs\ndescription: 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.\n---\n\n# uloop get-logs\n\nRetrieve logs from Unity Console.\n\n## Usage\n\n```bash\nuloop get-logs [options]\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--log-type` | string | `All` | Log type filter: `Error`, `Warning`, `Log`, `All` |\n| `--max-count` | integer | `100` | Maximum number of logs to retrieve |\n| `--search-text` | string | - | Text to search within logs |\n| `--include-stack-trace` | boolean | `true` | Include stack trace in output |\n| `--use-regex` | boolean | `false` | Use regex for search |\n| `--search-in-stack-trace` | boolean | `false` | Search within stack trace |\n\n## Examples\n\n```bash\n# Get all logs\nuloop get-logs\n\n# Get only errors\nuloop get-logs --log-type Error\n\n# Search for specific text\nuloop get-logs --search-text "NullReference"\n\n# Regex search\nuloop get-logs --search-text "Missing.*Component" --use-regex\n```\n\n## Output\n\nReturns JSON array of log entries with message, type, and optional stack trace.\n';
|
|
6332
6365
|
|
|
6333
6366
|
// src/skills/skill-definitions/uloop-get-menu-items/SKILL.md
|
|
6334
|
-
var
|
|
6335
|
-
|
|
6336
|
-
// src/skills/skill-definitions/uloop-execute-menu-item/SKILL.md
|
|
6337
|
-
var SKILL_default9 = '---\nname: uloop-execute-menu-item\ndescription: 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.\n---\n\n# uloop execute-menu-item\n\nExecute Unity MenuItem.\n\n## Usage\n\n```bash\nuloop execute-menu-item --menu-item-path "<path>"\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--menu-item-path` | string | - | Menu item path (e.g., "GameObject/Create Empty") |\n| `--use-reflection-fallback` | boolean | `true` | Use reflection fallback |\n\n## Examples\n\n```bash\n# Create empty GameObject\nuloop execute-menu-item --menu-item-path "GameObject/Create Empty"\n\n# Save scene\nuloop execute-menu-item --menu-item-path "File/Save"\n\n# Open project settings\nuloop execute-menu-item --menu-item-path "Edit/Project Settings..."\n```\n\n## Output\n\nReturns JSON with execution result.\n\n## Notes\n\n- Use `uloop get-menu-items` to discover available menu paths\n- Some menu items may require specific context or selection\n';
|
|
6367
|
+
var SKILL_default11 = '---\nname: uloop-get-menu-items\ndescription: 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.\n---\n\n# uloop get-menu-items\n\nRetrieve Unity MenuItems.\n\n## Usage\n\n```bash\nuloop get-menu-items [options]\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--filter-text` | string | - | Filter text |\n| `--filter-type` | string | `contains` | Filter type: `contains`, `exact`, `startswith` |\n| `--max-count` | integer | `200` | Maximum number of items |\n| `--include-validation` | boolean | `false` | Include validation functions |\n\n## Examples\n\n```bash\n# List all menu items\nuloop get-menu-items\n\n# Filter by text\nuloop get-menu-items --filter-text "GameObject"\n\n# Exact match\nuloop get-menu-items --filter-text "File/Save" --filter-type exact\n```\n\n## Output\n\nReturns JSON array of menu items with paths and metadata.\n\n## Notes\n\nUse with `uloop execute-menu-item` to run discovered menu commands.\n';
|
|
6338
6368
|
|
|
6339
|
-
// src/skills/skill-definitions/uloop-
|
|
6340
|
-
var
|
|
6341
|
-
|
|
6342
|
-
// src/skills/skill-definitions/uloop-capture-gameview/SKILL.md
|
|
6343
|
-
var SKILL_default11 = "---\nname: uloop-capture-gameview\ndescription: Capture Unity Game View as PNG via uloop CLI. Use when you need to: (1) Take a screenshot of the current Game View, (2) Capture visual state for debugging or verification, (3) Save game output as an image file.\n---\n\n# uloop capture-gameview\n\nCapture Unity Game View and save as PNG image.\n\n## Usage\n\n```bash\nuloop capture-gameview [--resolution-scale <scale>]\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--resolution-scale` | number | `1.0` | Resolution scale (0.1 to 1.0) |\n\n## Examples\n\n```bash\n# Capture at full resolution\nuloop capture-gameview\n\n# Capture at half resolution\nuloop capture-gameview --resolution-scale 0.5\n```\n\n## Output\n\nReturns JSON with file path to the saved PNG image.\n\n## Notes\n\n- Use `uloop focus-window` first if needed\n- Game View must be visible in Unity Editor\n";
|
|
6369
|
+
// src/skills/skill-definitions/uloop-get-provider-details/SKILL.md
|
|
6370
|
+
var SKILL_default12 = "---\nname: uloop-get-provider-details\ndescription: 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.\n---\n\n# uloop get-provider-details\n\nGet detailed information about Unity Search providers.\n\n## Usage\n\n```bash\nuloop get-provider-details [options]\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--provider-id` | string | - | Specific provider ID to query |\n| `--active-only` | boolean | `false` | Only show active providers |\n| `--include-descriptions` | boolean | `true` | Include descriptions |\n| `--sort-by-priority` | boolean | `true` | Sort by priority |\n\n## Examples\n\n```bash\n# List all providers\nuloop get-provider-details\n\n# Get specific provider\nuloop get-provider-details --provider-id asset\n\n# Active providers only\nuloop get-provider-details --active-only\n```\n\n## Output\n\nReturns JSON:\n- `Providers`: array of provider info (ID, name, description, priority)\n\n## Notes\n\nUse provider IDs with `uloop unity-search --providers` option.\n";
|
|
6344
6371
|
|
|
6345
|
-
// src/skills/skill-definitions/uloop-
|
|
6346
|
-
var
|
|
6372
|
+
// src/skills/skill-definitions/uloop-run-tests/SKILL.md
|
|
6373
|
+
var SKILL_default13 = '---\nname: uloop-run-tests\ndescription: 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.\n---\n\n# uloop run-tests\n\nExecute Unity Test Runner.\n\n## Usage\n\n```bash\nuloop run-tests [options]\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--test-mode` | string | `EditMode` | Test mode: `EditMode`, `PlayMode` |\n| `--filter-type` | string | `all` | Filter type: `all`, `exact`, `regex`, `assembly` |\n| `--filter-value` | string | - | Filter value (test name, pattern, or assembly) |\n| `--save-xml` | boolean | `false` | Save test results as XML |\n\n## Examples\n\n```bash\n# Run all EditMode tests\nuloop run-tests\n\n# Run PlayMode tests\nuloop run-tests --test-mode PlayMode\n\n# Run specific test\nuloop run-tests --filter-type exact --filter-value "MyTest.TestMethod"\n\n# Run tests matching pattern\nuloop run-tests --filter-type regex --filter-value ".*Integration.*"\n```\n\n## Output\n\nReturns JSON with test results including pass/fail counts and details.\n';
|
|
6347
6374
|
|
|
6348
|
-
// src/skills/skill-definitions/uloop-
|
|
6349
|
-
var
|
|
6375
|
+
// src/skills/skill-definitions/uloop-unity-search/SKILL.md
|
|
6376
|
+
var SKILL_default14 = '---\nname: uloop-unity-search\ndescription: 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.\n---\n\n# uloop unity-search\n\nSearch Unity project using Unity Search.\n\n## Usage\n\n```bash\nuloop unity-search [options]\n```\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--search-query` | string | - | Search query |\n| `--providers` | array | - | Search providers (e.g., `asset`, `scene`, `find`) |\n| `--max-results` | integer | `50` | Maximum number of results |\n| `--save-to-file` | boolean | `false` | Save results to file |\n\n## Examples\n\n```bash\n# Search for assets\nuloop unity-search --search-query "Player"\n\n# Search with specific provider\nuloop unity-search --search-query "t:Prefab" --providers asset\n\n# Limit results\nuloop unity-search --search-query "*.cs" --max-results 20\n```\n\n## Output\n\nReturns JSON array of search results with paths and metadata.\n\n## Notes\n\nUse `uloop get-provider-details` to discover available search providers.\n';
|
|
6350
6377
|
|
|
6351
6378
|
// src/skills/bundled-skills.ts
|
|
6352
6379
|
var BUNDLED_SKILLS = [
|
|
6353
|
-
{
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
{
|
|
6359
|
-
|
|
6360
|
-
|
|
6380
|
+
{
|
|
6381
|
+
name: "uloop-capture-unity-window",
|
|
6382
|
+
dirName: "uloop-capture-unity-window",
|
|
6383
|
+
content: SKILL_default
|
|
6384
|
+
},
|
|
6385
|
+
{
|
|
6386
|
+
name: "uloop-clear-console",
|
|
6387
|
+
dirName: "uloop-clear-console",
|
|
6388
|
+
content: SKILL_default2
|
|
6389
|
+
},
|
|
6390
|
+
{
|
|
6391
|
+
name: "uloop-compile",
|
|
6392
|
+
dirName: "uloop-compile",
|
|
6393
|
+
content: SKILL_default3
|
|
6394
|
+
},
|
|
6395
|
+
{
|
|
6396
|
+
name: "uloop-control-play-mode",
|
|
6397
|
+
dirName: "uloop-control-play-mode",
|
|
6398
|
+
content: SKILL_default4
|
|
6399
|
+
},
|
|
6400
|
+
{
|
|
6401
|
+
name: "uloop-execute-dynamic-code",
|
|
6402
|
+
dirName: "uloop-execute-dynamic-code",
|
|
6403
|
+
content: SKILL_default5
|
|
6404
|
+
},
|
|
6361
6405
|
{
|
|
6362
6406
|
name: "uloop-execute-menu-item",
|
|
6363
6407
|
dirName: "uloop-execute-menu-item",
|
|
6364
|
-
content:
|
|
6408
|
+
content: SKILL_default6
|
|
6365
6409
|
},
|
|
6366
6410
|
{
|
|
6367
6411
|
name: "uloop-find-game-objects",
|
|
6368
6412
|
dirName: "uloop-find-game-objects",
|
|
6413
|
+
content: SKILL_default7
|
|
6414
|
+
},
|
|
6415
|
+
{
|
|
6416
|
+
name: "uloop-focus-window",
|
|
6417
|
+
dirName: "uloop-focus-window",
|
|
6418
|
+
content: SKILL_default8
|
|
6419
|
+
},
|
|
6420
|
+
{
|
|
6421
|
+
name: "uloop-get-hierarchy",
|
|
6422
|
+
dirName: "uloop-get-hierarchy",
|
|
6423
|
+
content: SKILL_default9
|
|
6424
|
+
},
|
|
6425
|
+
{
|
|
6426
|
+
name: "uloop-get-logs",
|
|
6427
|
+
dirName: "uloop-get-logs",
|
|
6369
6428
|
content: SKILL_default10
|
|
6370
6429
|
},
|
|
6371
6430
|
{
|
|
6372
|
-
name: "uloop-
|
|
6373
|
-
dirName: "uloop-
|
|
6431
|
+
name: "uloop-get-menu-items",
|
|
6432
|
+
dirName: "uloop-get-menu-items",
|
|
6374
6433
|
content: SKILL_default11
|
|
6375
6434
|
},
|
|
6376
6435
|
{
|
|
6377
|
-
name: "uloop-
|
|
6378
|
-
dirName: "uloop-
|
|
6436
|
+
name: "uloop-get-provider-details",
|
|
6437
|
+
dirName: "uloop-get-provider-details",
|
|
6379
6438
|
content: SKILL_default12
|
|
6380
6439
|
},
|
|
6381
6440
|
{
|
|
6382
|
-
name: "uloop-
|
|
6383
|
-
dirName: "uloop-
|
|
6441
|
+
name: "uloop-run-tests",
|
|
6442
|
+
dirName: "uloop-run-tests",
|
|
6384
6443
|
content: SKILL_default13
|
|
6444
|
+
},
|
|
6445
|
+
{
|
|
6446
|
+
name: "uloop-unity-search",
|
|
6447
|
+
dirName: "uloop-unity-search",
|
|
6448
|
+
content: SKILL_default14
|
|
6385
6449
|
}
|
|
6386
6450
|
];
|
|
6387
6451
|
|