uloop-cli 1.2.0 → 1.3.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 +74 -2
- package/dist/cli.bundle.cjs.map +2 -2
- package/package.json +3 -3
- package/src/default-tools.json +73 -1
- package/src/version.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uloop-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"//version": "x-release-please-version",
|
|
5
5
|
"description": "CLI tool for Unity Editor communication via Unity CLI Loop",
|
|
6
6
|
"main": "dist/cli.bundle.cjs",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"@types/node": "25.5.0",
|
|
53
53
|
"@types/semver": "7.7.1",
|
|
54
54
|
"esbuild": "0.27.4",
|
|
55
|
-
"eslint": "10.0
|
|
55
|
+
"eslint": "10.1.0",
|
|
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
59
|
"jest": "30.3.0",
|
|
60
|
-
"knip": "
|
|
60
|
+
"knip": "6.0.2",
|
|
61
61
|
"prettier": "3.8.1",
|
|
62
62
|
"ts-jest": "29.4.6",
|
|
63
63
|
"typescript": "5.9.3",
|
package/src/default-tools.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.3.0",
|
|
3
3
|
"tools": [
|
|
4
4
|
{
|
|
5
5
|
"name": "compile",
|
|
@@ -634,6 +634,78 @@
|
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "record-input",
|
|
640
|
+
"description": "Record keyboard and mouse input during PlayMode. Captures key presses, mouse clicks, mouse delta, and scroll events frame-by-frame. Saves to JSON for later replay.",
|
|
641
|
+
"inputSchema": {
|
|
642
|
+
"type": "object",
|
|
643
|
+
"properties": {
|
|
644
|
+
"Action": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"enum": [
|
|
647
|
+
"Start",
|
|
648
|
+
"Stop"
|
|
649
|
+
],
|
|
650
|
+
"description": "Recording action: Start - begin recording input, Stop - stop recording and save to file",
|
|
651
|
+
"default": "Start"
|
|
652
|
+
},
|
|
653
|
+
"OutputPath": {
|
|
654
|
+
"type": "string",
|
|
655
|
+
"description": "Output file path for the recording JSON. If empty, auto-generates under .uloop/outputs/InputRecordings/",
|
|
656
|
+
"default": ""
|
|
657
|
+
},
|
|
658
|
+
"Keys": {
|
|
659
|
+
"type": "string",
|
|
660
|
+
"description": "Comma-separated key filter. Only record specified keys (e.g. 'W,A,S,D,Space'). Empty means record all common game keys.",
|
|
661
|
+
"default": ""
|
|
662
|
+
},
|
|
663
|
+
"DelaySeconds": {
|
|
664
|
+
"type": "number",
|
|
665
|
+
"description": "Countdown delay in seconds before recording starts (0-10). Gives time to switch focus to Game View.",
|
|
666
|
+
"default": 3
|
|
667
|
+
},
|
|
668
|
+
"ShowOverlay": {
|
|
669
|
+
"type": "boolean",
|
|
670
|
+
"description": "Show recording overlay (countdown + REC indicator)",
|
|
671
|
+
"default": true
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "replay-input",
|
|
678
|
+
"description": "Replay recorded keyboard and mouse input during PlayMode. Injects recorded events frame-by-frame via Input System to reproduce exact input sequences.",
|
|
679
|
+
"inputSchema": {
|
|
680
|
+
"type": "object",
|
|
681
|
+
"properties": {
|
|
682
|
+
"Action": {
|
|
683
|
+
"type": "string",
|
|
684
|
+
"enum": [
|
|
685
|
+
"Start",
|
|
686
|
+
"Stop",
|
|
687
|
+
"Status"
|
|
688
|
+
],
|
|
689
|
+
"description": "Replay action: Start - begin replaying, Stop - stop mid-way, Status - check progress",
|
|
690
|
+
"default": "Start"
|
|
691
|
+
},
|
|
692
|
+
"InputPath": {
|
|
693
|
+
"type": "string",
|
|
694
|
+
"description": "Path to recording JSON file. If empty, auto-detects the latest recording in .uloop/outputs/InputRecordings/",
|
|
695
|
+
"default": ""
|
|
696
|
+
},
|
|
697
|
+
"ShowOverlay": {
|
|
698
|
+
"type": "boolean",
|
|
699
|
+
"description": "Show visualization overlay during replay",
|
|
700
|
+
"default": true
|
|
701
|
+
},
|
|
702
|
+
"Loop": {
|
|
703
|
+
"type": "boolean",
|
|
704
|
+
"description": "Loop replay continuously",
|
|
705
|
+
"default": false
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
637
709
|
}
|
|
638
710
|
]
|
|
639
711
|
}
|
package/src/version.ts
CHANGED