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/dist/cli.bundle.cjs +73 -2
- package/dist/cli.bundle.cjs.map +2 -2
- package/package.json +7 -7
- package/src/default-tools.json +72 -1
- package/src/version.ts +1 -1
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: "0.
|
|
5889
|
+
version: "0.70.0",
|
|
5890
5890
|
tools: [
|
|
5891
5891
|
{
|
|
5892
5892
|
name: "compile",
|
|
@@ -6287,6 +6287,25 @@ var default_tools_default = {
|
|
|
6287
6287
|
type: "string",
|
|
6288
6288
|
description: "Output directory path for saving screenshots. When empty, uses default path (.uloop/outputs/Screenshots/). Accepts absolute paths.",
|
|
6289
6289
|
default: ""
|
|
6290
|
+
},
|
|
6291
|
+
CaptureMode: {
|
|
6292
|
+
type: "string",
|
|
6293
|
+
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.",
|
|
6294
|
+
enum: [
|
|
6295
|
+
"window",
|
|
6296
|
+
"rendering"
|
|
6297
|
+
],
|
|
6298
|
+
default: "window"
|
|
6299
|
+
},
|
|
6300
|
+
AnnotateElements: {
|
|
6301
|
+
type: "boolean",
|
|
6302
|
+
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.",
|
|
6303
|
+
default: false
|
|
6304
|
+
},
|
|
6305
|
+
ElementsOnly: {
|
|
6306
|
+
type: "boolean",
|
|
6307
|
+
description: "Return only annotated element JSON without capturing a screenshot image. Requires AnnotateElements=true and CaptureMode=rendering in PlayMode.",
|
|
6308
|
+
default: false
|
|
6290
6309
|
}
|
|
6291
6310
|
}
|
|
6292
6311
|
}
|
|
@@ -6346,6 +6365,58 @@ var default_tools_default = {
|
|
|
6346
6365
|
}
|
|
6347
6366
|
}
|
|
6348
6367
|
}
|
|
6368
|
+
},
|
|
6369
|
+
{
|
|
6370
|
+
name: "simulate-mouse",
|
|
6371
|
+
description: "Simulate mouse click and drag on PlayMode UI elements via screen coordinates",
|
|
6372
|
+
inputSchema: {
|
|
6373
|
+
type: "object",
|
|
6374
|
+
properties: {
|
|
6375
|
+
Action: {
|
|
6376
|
+
type: "string",
|
|
6377
|
+
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",
|
|
6378
|
+
enum: [
|
|
6379
|
+
"Click",
|
|
6380
|
+
"Drag",
|
|
6381
|
+
"DragStart",
|
|
6382
|
+
"DragMove",
|
|
6383
|
+
"DragEnd",
|
|
6384
|
+
"LongPress"
|
|
6385
|
+
],
|
|
6386
|
+
default: "Click"
|
|
6387
|
+
},
|
|
6388
|
+
X: {
|
|
6389
|
+
type: "number",
|
|
6390
|
+
description: "Target X position in screen pixels (origin: top-left). For Drag action, this is the destination.",
|
|
6391
|
+
default: 0
|
|
6392
|
+
},
|
|
6393
|
+
Y: {
|
|
6394
|
+
type: "number",
|
|
6395
|
+
description: "Target Y position in screen pixels (origin: top-left). For Drag action, this is the destination.",
|
|
6396
|
+
default: 0
|
|
6397
|
+
},
|
|
6398
|
+
FromX: {
|
|
6399
|
+
type: "number",
|
|
6400
|
+
description: "Start X position for Drag action (origin: top-left). Drag starts here and moves to X,Y.",
|
|
6401
|
+
default: 0
|
|
6402
|
+
},
|
|
6403
|
+
FromY: {
|
|
6404
|
+
type: "number",
|
|
6405
|
+
description: "Start Y position for Drag action (origin: top-left). Drag starts here and moves to X,Y.",
|
|
6406
|
+
default: 0
|
|
6407
|
+
},
|
|
6408
|
+
DragSpeed: {
|
|
6409
|
+
type: "number",
|
|
6410
|
+
description: "Drag speed in pixels per second (0 for instant). Applies to Drag, DragMove, and DragEnd actions.",
|
|
6411
|
+
default: 2e3
|
|
6412
|
+
},
|
|
6413
|
+
Duration: {
|
|
6414
|
+
type: "number",
|
|
6415
|
+
description: "Hold duration in seconds for LongPress action.",
|
|
6416
|
+
default: 0.5
|
|
6417
|
+
}
|
|
6418
|
+
}
|
|
6419
|
+
}
|
|
6349
6420
|
}
|
|
6350
6421
|
]
|
|
6351
6422
|
};
|
|
@@ -6415,7 +6486,7 @@ function getCachedServerVersion() {
|
|
|
6415
6486
|
}
|
|
6416
6487
|
|
|
6417
6488
|
// src/version.ts
|
|
6418
|
-
var VERSION = "0.
|
|
6489
|
+
var VERSION = "0.70.0";
|
|
6419
6490
|
|
|
6420
6491
|
// src/spinner.ts
|
|
6421
6492
|
var SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
|