@super-one/cli 0.69.0-alpha.1 → 0.69.0-alpha.2
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/MANIFEST.json +2 -2
- package/lib/cli.mjs +57 -2
- package/package.json +1 -1
package/MANIFEST.json
CHANGED
package/lib/cli.mjs
CHANGED
|
@@ -3965,6 +3965,60 @@ var init_host_action_device_descriptors = __esm({
|
|
|
3965
3965
|
"additionalProperties": false
|
|
3966
3966
|
}
|
|
3967
3967
|
},
|
|
3968
|
+
{
|
|
3969
|
+
"name": "device_configure",
|
|
3970
|
+
"description": `Read or set a controlled simulator's environment: light/dark appearance, system text size, simulated GPS location, iOS location clear, or an Android fold posture. Requires device_request_control before changing anything. Use kind=get to read current appearance, text size, available text-size values, and the emulator's posture ids; location and current posture cannot be read reliably. Android does not support clear_location. See read_manual({ domain: "product", topic: "devices" }).`,
|
|
3971
|
+
"inputSchema": {
|
|
3972
|
+
"type": "object",
|
|
3973
|
+
"properties": {
|
|
3974
|
+
"description": {
|
|
3975
|
+
"type": "string",
|
|
3976
|
+
"minLength": 1,
|
|
3977
|
+
"maxLength": 160,
|
|
3978
|
+
"description": "Short explanation of this step for the user watching, in the conversation's language (e.g. 'Open the profile tab'). Shown in place of refs and coordinates."
|
|
3979
|
+
},
|
|
3980
|
+
"device": {
|
|
3981
|
+
"description": "Device id or name from device_list. Optional while this session controls exactly one; required once it holds more. Use device_request_control to be granted another.",
|
|
3982
|
+
"type": "string"
|
|
3983
|
+
},
|
|
3984
|
+
"kind": {
|
|
3985
|
+
"type": "string",
|
|
3986
|
+
"enum": ["get", "appearance", "text_size", "location", "clear_location", "posture"]
|
|
3987
|
+
},
|
|
3988
|
+
"appearance": {
|
|
3989
|
+
"description": "Required for kind=appearance.",
|
|
3990
|
+
"type": "string",
|
|
3991
|
+
"enum": ["light", "dark"]
|
|
3992
|
+
},
|
|
3993
|
+
"textSize": {
|
|
3994
|
+
"description": "Required for kind=text_size. Use one of textSizeOptions returned by kind=get; iOS category or Android scale string.",
|
|
3995
|
+
"type": "string",
|
|
3996
|
+
"minLength": 1,
|
|
3997
|
+
"maxLength": 40
|
|
3998
|
+
},
|
|
3999
|
+
"latitude": {
|
|
4000
|
+
"description": "Required for kind=location. Decimal degrees.",
|
|
4001
|
+
"type": "number",
|
|
4002
|
+
"minimum": -90,
|
|
4003
|
+
"maximum": 90
|
|
4004
|
+
},
|
|
4005
|
+
"longitude": {
|
|
4006
|
+
"description": "Required for kind=location. Decimal degrees.",
|
|
4007
|
+
"type": "number",
|
|
4008
|
+
"minimum": -180,
|
|
4009
|
+
"maximum": 180
|
|
4010
|
+
},
|
|
4011
|
+
"postureId": {
|
|
4012
|
+
"description": "Required for kind=posture; first get this device's available ids.",
|
|
4013
|
+
"type": "integer",
|
|
4014
|
+
"minimum": 1,
|
|
4015
|
+
"maximum": 9007199254740991
|
|
4016
|
+
}
|
|
4017
|
+
},
|
|
4018
|
+
"required": ["description", "kind"],
|
|
4019
|
+
"additionalProperties": false
|
|
4020
|
+
}
|
|
4021
|
+
},
|
|
3968
4022
|
{
|
|
3969
4023
|
"name": "device_release",
|
|
3970
4024
|
"description": "Let go of a device this session controls, once you are done with it \u2014 the close-tab of device_request_control. Call it at the end of every device task rather than leaving a simulator running. Default puts the device back the way it was found: a simulator or emulator SuperOne started is shut down, one the user already had running is left running and only unbound, a real phone is only ever disconnected. shutdown=true stops any device that can stop. Afterwards the other device_* tools fail with NO_DEVICE for it until device_request_control grants it again.",
|
|
@@ -11438,6 +11492,7 @@ var init_superone_host_owned_tools = __esm({
|
|
|
11438
11492
|
"device_snapshot",
|
|
11439
11493
|
"device_query",
|
|
11440
11494
|
"device_act",
|
|
11495
|
+
"device_configure",
|
|
11441
11496
|
"device_run",
|
|
11442
11497
|
"device_wait_for",
|
|
11443
11498
|
"device_release"
|
|
@@ -73388,8 +73443,8 @@ import { fileURLToPath } from "node:url";
|
|
|
73388
73443
|
function resolveCliReleaseVersion() {
|
|
73389
73444
|
const fromEnv = process.env.SUPERONE_CLI_VERSION?.trim();
|
|
73390
73445
|
if (fromEnv) return fromEnv;
|
|
73391
|
-
if ("0.69.0-alpha.
|
|
73392
|
-
return "0.69.0-alpha.
|
|
73446
|
+
if ("0.69.0-alpha.2".trim()) {
|
|
73447
|
+
return "0.69.0-alpha.2".trim();
|
|
73393
73448
|
}
|
|
73394
73449
|
const fromDist = readDistManifestVersion();
|
|
73395
73450
|
if (fromDist) return fromDist;
|
package/package.json
CHANGED