uloop-cli 0.69.6 → 0.70.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uloop-cli",
3
- "version": "0.69.6",
3
+ "version": "0.70.0",
4
4
  "//version": "x-release-please-version",
5
5
  "description": "CLI tool for Unity Editor communication via uLoopMCP",
6
6
  "main": "dist/cli.bundle.cjs",
@@ -49,19 +49,19 @@
49
49
  "devDependencies": {
50
50
  "@eslint/js": "10.0.1",
51
51
  "@types/jest": "30.0.0",
52
- "@types/node": "25.3.5",
52
+ "@types/node": "25.5.0",
53
53
  "@types/semver": "7.7.1",
54
- "esbuild": "0.27.3",
55
- "eslint": "10.0.2",
54
+ "esbuild": "0.27.4",
55
+ "eslint": "10.0.3",
56
56
  "eslint-config-prettier": "10.1.8",
57
57
  "eslint-plugin-prettier": "5.5.5",
58
58
  "eslint-plugin-security": "4.0.0",
59
- "jest": "30.2.0",
60
- "knip": "5.85.0",
59
+ "jest": "30.3.0",
60
+ "knip": "5.86.0",
61
61
  "prettier": "3.8.1",
62
62
  "ts-jest": "29.4.6",
63
63
  "typescript": "5.9.3",
64
- "typescript-eslint": "8.56.1"
64
+ "typescript-eslint": "8.57.0"
65
65
  },
66
66
  "overrides": {
67
67
  "minimatch": "10.2.4"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.69.6",
2
+ "version": "0.70.0",
3
3
  "tools": [
4
4
  {
5
5
  "name": "compile",
@@ -400,6 +400,25 @@
400
400
  "type": "string",
401
401
  "description": "Output directory path for saving screenshots. When empty, uses default path (.uloop/outputs/Screenshots/). Accepts absolute paths.",
402
402
  "default": ""
403
+ },
404
+ "CaptureMode": {
405
+ "type": "string",
406
+ "description": "Capture mode: window=capture EditorWindow including toolbar, rendering=capture game rendering only (PlayMode required). Response includes CoordinateSystem ('gameView' or 'window'), ResolutionScale, and YOffset. For gameView: sim_x = image_x / ResolutionScale, sim_y = image_y / ResolutionScale + YOffset.",
407
+ "enum": [
408
+ "window",
409
+ "rendering"
410
+ ],
411
+ "default": "window"
412
+ },
413
+ "AnnotateElements": {
414
+ "type": "boolean",
415
+ "description": "Annotate interactive UI elements with index labels (A, B, C...) on the screenshot. Only works with CaptureMode=rendering in PlayMode. Response includes AnnotatedElements array with element metadata sorted by z-order.",
416
+ "default": false
417
+ },
418
+ "ElementsOnly": {
419
+ "type": "boolean",
420
+ "description": "Return only annotated element JSON without capturing a screenshot image. Requires AnnotateElements=true and CaptureMode=rendering in PlayMode.",
421
+ "default": false
403
422
  }
404
423
  }
405
424
  }
@@ -459,6 +478,58 @@
459
478
  }
460
479
  }
461
480
  }
481
+ },
482
+ {
483
+ "name": "simulate-mouse",
484
+ "description": "Simulate mouse click and drag on PlayMode UI elements via screen coordinates",
485
+ "inputSchema": {
486
+ "type": "object",
487
+ "properties": {
488
+ "Action": {
489
+ "type": "string",
490
+ "description": "Mouse action: Click - left click, Drag - one-shot drag, DragStart - begin drag and hold, DragMove - move while holding drag, DragEnd - release drag, LongPress - press and hold for Duration seconds",
491
+ "enum": [
492
+ "Click",
493
+ "Drag",
494
+ "DragStart",
495
+ "DragMove",
496
+ "DragEnd",
497
+ "LongPress"
498
+ ],
499
+ "default": "Click"
500
+ },
501
+ "X": {
502
+ "type": "number",
503
+ "description": "Target X position in screen pixels (origin: top-left). For Drag action, this is the destination.",
504
+ "default": 0
505
+ },
506
+ "Y": {
507
+ "type": "number",
508
+ "description": "Target Y position in screen pixels (origin: top-left). For Drag action, this is the destination.",
509
+ "default": 0
510
+ },
511
+ "FromX": {
512
+ "type": "number",
513
+ "description": "Start X position for Drag action (origin: top-left). Drag starts here and moves to X,Y.",
514
+ "default": 0
515
+ },
516
+ "FromY": {
517
+ "type": "number",
518
+ "description": "Start Y position for Drag action (origin: top-left). Drag starts here and moves to X,Y.",
519
+ "default": 0
520
+ },
521
+ "DragSpeed": {
522
+ "type": "number",
523
+ "description": "Drag speed in pixels per second (0 for instant). Applies to Drag, DragMove, and DragEnd actions.",
524
+ "default": 2000
525
+ },
526
+ "Duration": {
527
+ "type": "number",
528
+ "description": "Hold duration in seconds for LongPress action.",
529
+ "default": 0.5
530
+ }
531
+ }
532
+ }
462
533
  }
463
534
  ]
464
535
  }
package/src/version.ts CHANGED
@@ -4,4 +4,4 @@
4
4
  * This file exists to avoid bundling the entire package.json into the CLI bundle.
5
5
  * This version is automatically updated by release-please.
6
6
  */
7
- export const VERSION = '0.69.6'; // x-release-please-version
7
+ export const VERSION = '0.70.0'; // x-release-please-version