uloop-cli 1.1.0 → 1.2.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.
@@ -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.1.0",
5889
+ version: "1.2.0",
5890
5890
  tools: [
5891
5891
  {
5892
5892
  name: "compile",
@@ -6367,14 +6367,14 @@ var default_tools_default = {
6367
6367
  }
6368
6368
  },
6369
6369
  {
6370
- name: "simulate-mouse",
6371
- description: "Simulate mouse click and drag on PlayMode UI elements via screen coordinates",
6370
+ name: "simulate-mouse-ui",
6371
+ description: "Simulate mouse click, long-press, and drag on PlayMode UI elements via EventSystem screen coordinates",
6372
6372
  inputSchema: {
6373
6373
  type: "object",
6374
6374
  properties: {
6375
6375
  Action: {
6376
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",
6377
+ description: "Mouse action: Click - click at position, 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
6378
  enum: [
6379
6379
  "Click",
6380
6380
  "Drag",
@@ -6414,6 +6414,82 @@ var default_tools_default = {
6414
6414
  type: "number",
6415
6415
  description: "Hold duration in seconds for LongPress action.",
6416
6416
  default: 0.5
6417
+ },
6418
+ Button: {
6419
+ type: "string",
6420
+ description: "Mouse button: Left (default), Right, Middle.",
6421
+ enum: [
6422
+ "Left",
6423
+ "Right",
6424
+ "Middle"
6425
+ ],
6426
+ default: "Left"
6427
+ }
6428
+ }
6429
+ }
6430
+ },
6431
+ {
6432
+ name: "simulate-mouse-input",
6433
+ description: "Simulate mouse input in PlayMode via Input System. Injects button clicks, mouse delta, and scroll wheel directly into Mouse.current for game logic that reads Input System. Requires the Input System package and Active Input Handling set to 'Input System Package (New)' or 'Both'.",
6434
+ inputSchema: {
6435
+ type: "object",
6436
+ properties: {
6437
+ Action: {
6438
+ type: "string",
6439
+ description: "Mouse input action: Click - inject button press+release, LongPress - inject button hold for Duration seconds, MoveDelta - inject mouse delta (one-shot), SmoothDelta - inject mouse delta smoothly over Duration seconds, Scroll - inject scroll wheel",
6440
+ enum: [
6441
+ "Click",
6442
+ "LongPress",
6443
+ "MoveDelta",
6444
+ "SmoothDelta",
6445
+ "Scroll"
6446
+ ],
6447
+ default: "Click"
6448
+ },
6449
+ X: {
6450
+ type: "number",
6451
+ description: "Target X position in screen pixels (origin: top-left). Used by Click and LongPress.",
6452
+ default: 0
6453
+ },
6454
+ Y: {
6455
+ type: "number",
6456
+ description: "Target Y position in screen pixels (origin: top-left). Used by Click and LongPress.",
6457
+ default: 0
6458
+ },
6459
+ Button: {
6460
+ type: "string",
6461
+ description: "Mouse button: Left (default), Right, Middle. Used by Click and LongPress.",
6462
+ enum: [
6463
+ "Left",
6464
+ "Right",
6465
+ "Middle"
6466
+ ],
6467
+ default: "Left"
6468
+ },
6469
+ Duration: {
6470
+ type: "number",
6471
+ description: "Duration in seconds for LongPress hold, SmoothDelta interpolation, or minimum hold time for Click (0 = one-shot tap).",
6472
+ default: 0
6473
+ },
6474
+ DeltaX: {
6475
+ type: "number",
6476
+ description: "Delta X in pixels for MoveDelta/SmoothDelta action. Positive = right.",
6477
+ default: 0
6478
+ },
6479
+ DeltaY: {
6480
+ type: "number",
6481
+ description: "Delta Y in pixels for MoveDelta/SmoothDelta action. Positive = up.",
6482
+ default: 0
6483
+ },
6484
+ ScrollX: {
6485
+ type: "number",
6486
+ description: "Horizontal scroll delta for Scroll action.",
6487
+ default: 0
6488
+ },
6489
+ ScrollY: {
6490
+ type: "number",
6491
+ description: "Vertical scroll delta for Scroll action. Positive = up, negative = down. Typically 120 per notch.",
6492
+ default: 0
6417
6493
  }
6418
6494
  }
6419
6495
  }
@@ -6514,7 +6590,7 @@ function getCachedServerVersion() {
6514
6590
  }
6515
6591
 
6516
6592
  // src/version.ts
6517
- var VERSION = "1.1.0";
6593
+ var VERSION = "1.2.0";
6518
6594
 
6519
6595
  // src/spinner.ts
6520
6596
  var SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];