hinacode 0.3.0-alpha.13 → 0.3.0-alpha.15
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/out/server/chunks/{remote-CbR5LZB6.js → remote-DCThFXFz.js} +320 -110
- package/out/server/cli.js +1 -1
- package/out/server/daemon.js +6921 -5896
- package/package.json +1 -1
|
@@ -15986,7 +15986,7 @@ function defaultShouldQuit(input) {
|
|
|
15986
15986
|
}
|
|
15987
15987
|
const layer$1 = layer$2;
|
|
15988
15988
|
const layer = /* @__PURE__ */ provideMerge(layer$b, /* @__PURE__ */ mergeAll$1(layer$7, layer$9, layer$5, layer$3, layer$1));
|
|
15989
|
-
const version = "0.3.0-alpha.
|
|
15989
|
+
const version = "0.3.0-alpha.15";
|
|
15990
15990
|
const packageJson = {
|
|
15991
15991
|
version
|
|
15992
15992
|
};
|
|
@@ -16281,9 +16281,20 @@ const toolArgument = (input, key) => {
|
|
|
16281
16281
|
const record2 = input;
|
|
16282
16282
|
return key in record2 ? record2[key] : toolArgument(record2["arguments"], key);
|
|
16283
16283
|
};
|
|
16284
|
+
const DeviceClient = Struct({
|
|
16285
|
+
id: String$1.check(isMaxLength(200)),
|
|
16286
|
+
name: String$1.check(isMaxLength(200))
|
|
16287
|
+
});
|
|
16284
16288
|
const DevicePlatform = Literals(["ios", "android"]);
|
|
16285
16289
|
const DeviceId = String$1.check(isPattern(/^(ios:[0-9A-F-]{36}|android:[\w.-]{1,100})$/));
|
|
16286
16290
|
const devicePlatformOf = (id) => id.startsWith("ios:") ? "ios" : "android";
|
|
16291
|
+
const DeviceHolder = Struct({
|
|
16292
|
+
client: String$1,
|
|
16293
|
+
threadId: String$1,
|
|
16294
|
+
threadTitle: NullOr(String$1),
|
|
16295
|
+
clientId: String$1,
|
|
16296
|
+
seenAt: Number$1
|
|
16297
|
+
});
|
|
16287
16298
|
const Device = Struct({
|
|
16288
16299
|
id: DeviceId,
|
|
16289
16300
|
platform: DevicePlatform,
|
|
@@ -16292,7 +16303,8 @@ const Device = Struct({
|
|
|
16292
16303
|
state: Literals(["shutdown", "booting", "booted"]),
|
|
16293
16304
|
slim: NullOr(Struct({ disabled: Int, total: Int })),
|
|
16294
16305
|
memoryBytes: NullOr(Number$1),
|
|
16295
|
-
ownerThreadId: NullOr(String$1)
|
|
16306
|
+
ownerThreadId: NullOr(String$1),
|
|
16307
|
+
holders: ArraySchema(DeviceHolder).pipe(withDecodingDefaultKey(succeed$3([])))
|
|
16296
16308
|
});
|
|
16297
16309
|
const PlatformSupport = Union2([
|
|
16298
16310
|
Struct({ kind: Literal2("ready") }),
|
|
@@ -16307,10 +16319,36 @@ const SimulatorModel = Struct({
|
|
|
16307
16319
|
family: String$1,
|
|
16308
16320
|
osVersion: String$1
|
|
16309
16321
|
});
|
|
16322
|
+
const Requirement = Literals([
|
|
16323
|
+
"xcode",
|
|
16324
|
+
"iosRuntime",
|
|
16325
|
+
"simslim",
|
|
16326
|
+
"axe",
|
|
16327
|
+
"androidSdk",
|
|
16328
|
+
"androidImage",
|
|
16329
|
+
"avd",
|
|
16330
|
+
"audioCapture"
|
|
16331
|
+
]);
|
|
16332
|
+
const DeviceCheck = Struct({
|
|
16333
|
+
requirement: Requirement,
|
|
16334
|
+
state: Literals(["ready", "missing", "unsupported"]),
|
|
16335
|
+
needed: Literals(["ios", "android", "recommended"]),
|
|
16336
|
+
fix: Literals(["install", "manual"])
|
|
16337
|
+
});
|
|
16338
|
+
const requirementPlatform = {
|
|
16339
|
+
xcode: "ios",
|
|
16340
|
+
iosRuntime: "ios",
|
|
16341
|
+
simslim: "ios",
|
|
16342
|
+
axe: "ios",
|
|
16343
|
+
audioCapture: "ios",
|
|
16344
|
+
androidSdk: "android",
|
|
16345
|
+
androidImage: "android",
|
|
16346
|
+
avd: "android"
|
|
16347
|
+
};
|
|
16310
16348
|
const DeviceHost = Struct({
|
|
16311
16349
|
ios: PlatformSupport,
|
|
16312
16350
|
android: PlatformSupport,
|
|
16313
|
-
|
|
16351
|
+
checks: ArraySchema(DeviceCheck),
|
|
16314
16352
|
devices: ArraySchema(Device),
|
|
16315
16353
|
models: ArraySchema(SimulatorModel)
|
|
16316
16354
|
});
|
|
@@ -16415,6 +16453,26 @@ const PickedDeviceElement = Struct({
|
|
|
16415
16453
|
platform: DevicePlatform,
|
|
16416
16454
|
element: DeviceElement
|
|
16417
16455
|
});
|
|
16456
|
+
const DeviceTarget = String$1.check(isMaxLength(200));
|
|
16457
|
+
const AgentOutcome = Literals(["done", "handedBack"]);
|
|
16458
|
+
const Steps = ArraySchema(ArraySchema(DeviceCommand).check(isMaxLength(128))).check(isMaxLength(64));
|
|
16459
|
+
const AgentInput = Struct({
|
|
16460
|
+
steps: Steps,
|
|
16461
|
+
gapMs: optionalKey(Number$1.check(isBetween({ minimum: 0, maximum: 5e3 }))),
|
|
16462
|
+
release: optionalKey(ArraySchema(DeviceCommand).check(isMaxLength(128)))
|
|
16463
|
+
});
|
|
16464
|
+
const InstallKind = Literals(["app", "apk"]);
|
|
16465
|
+
const MAX_INSTALL_BYTES = 2 * 1024 * 1024 * 1024;
|
|
16466
|
+
const INSTALL_CHUNK_BYTES = 4 * 1024 * 1024;
|
|
16467
|
+
const AudioChunk = Struct({
|
|
16468
|
+
sequence: Int,
|
|
16469
|
+
data: String$1.check(isMaxLength(1024 * 1024))
|
|
16470
|
+
});
|
|
16471
|
+
const DeviceAudio = Struct({
|
|
16472
|
+
rate: Int,
|
|
16473
|
+
channels: Int,
|
|
16474
|
+
chunks: ArraySchema(AudioChunk)
|
|
16475
|
+
});
|
|
16418
16476
|
const PULL_REQUEST_REFRESH = minutes(1);
|
|
16419
16477
|
const OWNER = /^[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?$/;
|
|
16420
16478
|
const NAME = /^(?!\.{1,2}$)[A-Za-z0-9._-]+$/;
|
|
@@ -16919,7 +16977,8 @@ const ExperimentalSettings = Struct({
|
|
|
16919
16977
|
tinyVmProfile: Boolean$1,
|
|
16920
16978
|
tinyVmEnv: Record(String$1, String$1),
|
|
16921
16979
|
tinyVmSetupScript: String$1,
|
|
16922
|
-
devices: Boolean$1
|
|
16980
|
+
devices: Boolean$1,
|
|
16981
|
+
devicesOn: NullOr(String$1).pipe(withDecodingDefaultKey(succeed$3(null)))
|
|
16923
16982
|
});
|
|
16924
16983
|
const OpenerId = Literals([
|
|
16925
16984
|
"vscode",
|
|
@@ -17051,6 +17110,7 @@ const defaultSettings = {
|
|
|
17051
17110
|
tinyVmTemplate: "default",
|
|
17052
17111
|
tinyVmProfile: false,
|
|
17053
17112
|
devices: false,
|
|
17113
|
+
devicesOn: null,
|
|
17054
17114
|
tinyVmEnv: {},
|
|
17055
17115
|
tinyVmSetupScript: ""
|
|
17056
17116
|
},
|
|
@@ -17063,6 +17123,7 @@ const Machine = Struct({
|
|
|
17063
17123
|
name: String$1,
|
|
17064
17124
|
projectIds: ArraySchema(String$1)
|
|
17065
17125
|
});
|
|
17126
|
+
const MachineName = String$1.check(isTrimmed(), isNonEmpty(), isMaxLength(80));
|
|
17066
17127
|
const Environment = Struct({
|
|
17067
17128
|
id: String$1,
|
|
17068
17129
|
name: String$1,
|
|
@@ -21172,6 +21233,12 @@ const Dimension = Int.check(isBetween({ minimum: 1, maximum: 2560 }));
|
|
|
21172
21233
|
const Coordinate = Number$1.check(isBetween({ minimum: 0, maximum: 2560 }));
|
|
21173
21234
|
const Modifiers = Int.check(isBetween({ minimum: 0, maximum: 15 }));
|
|
21174
21235
|
const BrowserViewport = Struct({ width: Dimension, height: Dimension });
|
|
21236
|
+
const WindowCoordinate = Number$1.check(isBetween({ minimum: 0, maximum: 16384 }));
|
|
21237
|
+
const BrowserTouch = Struct({
|
|
21238
|
+
type: Literals(["touchStart", "touchMove", "touchEnd", "touchCancel"]),
|
|
21239
|
+
x: WindowCoordinate,
|
|
21240
|
+
y: WindowCoordinate
|
|
21241
|
+
});
|
|
21175
21242
|
const BrowserUrl = String$1.check(
|
|
21176
21243
|
makeFilter((value2) => {
|
|
21177
21244
|
const url = URL.parse(value2);
|
|
@@ -21257,10 +21324,18 @@ const settingsPatch = (settings) => Struct(
|
|
|
21257
21324
|
const rpc = (request2, response) => ({ request: request2, response });
|
|
21258
21325
|
const RpcMethods = {
|
|
21259
21326
|
"devices.list": rpc(Struct({ threadId: String$1 }), DeviceHost),
|
|
21327
|
+
"devices.checks": rpc(Void2, ArraySchema(DeviceCheck)),
|
|
21260
21328
|
"device.get": rpc(Struct({ threadId: String$1 }), ThreadDevices),
|
|
21261
|
-
"device.attach": rpc(
|
|
21329
|
+
"device.attach": rpc(
|
|
21330
|
+
Struct({ threadId: String$1, deviceId: DeviceId, client: optionalKey(DeviceClient) }),
|
|
21331
|
+
ThreadDevice
|
|
21332
|
+
),
|
|
21262
21333
|
"device.create": rpc(
|
|
21263
|
-
Struct({
|
|
21334
|
+
Struct({
|
|
21335
|
+
threadId: String$1,
|
|
21336
|
+
model: optional(SimulatorModelId),
|
|
21337
|
+
client: optionalKey(DeviceClient)
|
|
21338
|
+
}),
|
|
21264
21339
|
ThreadDevice
|
|
21265
21340
|
),
|
|
21266
21341
|
"device.detach": rpc(Struct({ threadId: String$1, deviceId: NullOr(DeviceId) }), Void2),
|
|
@@ -21300,6 +21375,99 @@ const RpcMethods = {
|
|
|
21300
21375
|
Struct({ threadId: String$1, dataUrl: String$1, name: String$1 }),
|
|
21301
21376
|
Attachment
|
|
21302
21377
|
),
|
|
21378
|
+
"devices.claim": rpc(
|
|
21379
|
+
Struct({
|
|
21380
|
+
client: DeviceClient,
|
|
21381
|
+
threads: ArraySchema(Struct({ id: String$1, title: NullOr(String$1) }))
|
|
21382
|
+
}),
|
|
21383
|
+
Void2
|
|
21384
|
+
),
|
|
21385
|
+
"devices.release": rpc(Struct({ threadId: String$1, clientId: String$1 }), Void2),
|
|
21386
|
+
"devices.setup": rpc(Struct({ threadId: String$1, requirement: Requirement }), DeviceHost),
|
|
21387
|
+
"device.act": rpc(
|
|
21388
|
+
Struct({
|
|
21389
|
+
threadId: String$1,
|
|
21390
|
+
device: optionalKey(DeviceTarget),
|
|
21391
|
+
action: AgentAction,
|
|
21392
|
+
input: AgentInput,
|
|
21393
|
+
client: optionalKey(DeviceClient)
|
|
21394
|
+
}),
|
|
21395
|
+
AgentOutcome
|
|
21396
|
+
),
|
|
21397
|
+
"device.look": rpc(
|
|
21398
|
+
Struct({
|
|
21399
|
+
threadId: String$1,
|
|
21400
|
+
device: optionalKey(DeviceTarget),
|
|
21401
|
+
client: optionalKey(DeviceClient)
|
|
21402
|
+
}),
|
|
21403
|
+
Struct({
|
|
21404
|
+
frame: DeviceFrame,
|
|
21405
|
+
device: Device,
|
|
21406
|
+
screen: Struct({ width: Number$1, height: Number$1 })
|
|
21407
|
+
})
|
|
21408
|
+
),
|
|
21409
|
+
"device.describe": rpc(
|
|
21410
|
+
Struct({
|
|
21411
|
+
threadId: String$1,
|
|
21412
|
+
device: optionalKey(DeviceTarget),
|
|
21413
|
+
client: optionalKey(DeviceClient)
|
|
21414
|
+
}),
|
|
21415
|
+
ArraySchema(DeviceElement)
|
|
21416
|
+
),
|
|
21417
|
+
"device.launch": rpc(
|
|
21418
|
+
Struct({
|
|
21419
|
+
threadId: String$1,
|
|
21420
|
+
device: optionalKey(DeviceTarget),
|
|
21421
|
+
app: String$1.check(isMaxLength(300)),
|
|
21422
|
+
client: optionalKey(DeviceClient)
|
|
21423
|
+
}),
|
|
21424
|
+
AgentOutcome
|
|
21425
|
+
),
|
|
21426
|
+
"device.logs": rpc(
|
|
21427
|
+
Struct({
|
|
21428
|
+
threadId: String$1,
|
|
21429
|
+
device: optionalKey(DeviceTarget),
|
|
21430
|
+
app: optionalKey(String$1.check(isMaxLength(300))),
|
|
21431
|
+
sinceSeconds: Int.check(isBetween({ minimum: 1, maximum: 3600 })),
|
|
21432
|
+
client: optionalKey(DeviceClient)
|
|
21433
|
+
}),
|
|
21434
|
+
Struct({ device: String$1, text: String$1 })
|
|
21435
|
+
),
|
|
21436
|
+
"device.install.begin": rpc(
|
|
21437
|
+
Struct({
|
|
21438
|
+
threadId: String$1,
|
|
21439
|
+
device: optionalKey(DeviceTarget),
|
|
21440
|
+
kind: InstallKind,
|
|
21441
|
+
bytes: Int.check(isBetween({ minimum: 1, maximum: MAX_INSTALL_BYTES })),
|
|
21442
|
+
client: optionalKey(DeviceClient)
|
|
21443
|
+
}),
|
|
21444
|
+
Struct({ uploadId: String$1 })
|
|
21445
|
+
),
|
|
21446
|
+
"device.install.chunk": rpc(
|
|
21447
|
+
Struct({
|
|
21448
|
+
threadId: String$1,
|
|
21449
|
+
uploadId: String$1.check(isMaxLength(64)),
|
|
21450
|
+
index: Int.check(isGreaterThanOrEqualTo(0)),
|
|
21451
|
+
data: String$1.check(isMaxLength(6 * 1024 * 1024))
|
|
21452
|
+
}),
|
|
21453
|
+
Void2
|
|
21454
|
+
),
|
|
21455
|
+
"device.install.end": rpc(
|
|
21456
|
+
Struct({
|
|
21457
|
+
threadId: String$1,
|
|
21458
|
+
uploadId: String$1.check(isMaxLength(64)),
|
|
21459
|
+
sha256: String$1.check(isPattern(/^[0-9a-f]{64}$/))
|
|
21460
|
+
}),
|
|
21461
|
+
Struct({ device: String$1, app: NullOr(String$1) })
|
|
21462
|
+
),
|
|
21463
|
+
"device.audio": rpc(
|
|
21464
|
+
Struct({
|
|
21465
|
+
threadId: String$1,
|
|
21466
|
+
deviceId: DeviceId,
|
|
21467
|
+
after: Int.check(isGreaterThanOrEqualTo(-1))
|
|
21468
|
+
}),
|
|
21469
|
+
DeviceAudio
|
|
21470
|
+
),
|
|
21303
21471
|
"app.ready": rpc(Void2, Void2),
|
|
21304
21472
|
"app.focus": rpc(Void2, Void2),
|
|
21305
21473
|
"windows.openPullRequest": rpc(Struct({ threadId: String$1, url: String$1 }), Void2),
|
|
@@ -21326,6 +21494,8 @@ const RpcMethods = {
|
|
|
21326
21494
|
BrowserSnapshot
|
|
21327
21495
|
),
|
|
21328
21496
|
"browser.close": rpc(BrowserSession, Void2),
|
|
21497
|
+
"browser.emulateTouch": rpc(Struct({ webContentsId: Int, enabled: Boolean$1 }), Void2),
|
|
21498
|
+
"browser.touch": rpc(Struct({ webContentsId: Int, ...BrowserTouch.fields }), Void2),
|
|
21329
21499
|
"projects.list": rpc(Void2, ArraySchema(Project)),
|
|
21330
21500
|
"projects.create": rpc(
|
|
21331
21501
|
Struct({
|
|
@@ -21467,6 +21637,11 @@ const RpcMethods = {
|
|
|
21467
21637
|
"shell.reveal": rpc(Struct({ path: String$1 }), Void2),
|
|
21468
21638
|
"shell.openers": rpc(Void2, ArraySchema(Opener)),
|
|
21469
21639
|
"shell.openWith": rpc(Struct({ path: String$1, opener: OpenerId }), Void2),
|
|
21640
|
+
"shell.dragFile": rpc(Struct({ root: String$1, path: String$1 }), Void2),
|
|
21641
|
+
"shell.download": rpc(
|
|
21642
|
+
Struct({ root: String$1, path: String$1 }),
|
|
21643
|
+
Struct({ path: String$1 })
|
|
21644
|
+
),
|
|
21470
21645
|
"settings.get": rpc(Void2, Settings),
|
|
21471
21646
|
"notifications.permission": rpc(Void2, NotificationPermission),
|
|
21472
21647
|
"notifications.askPermission": rpc(
|
|
@@ -21480,6 +21655,7 @@ const RpcMethods = {
|
|
|
21480
21655
|
"machines.list": rpc(Void2, ArraySchema(Machine)),
|
|
21481
21656
|
"environments.add": rpc(Struct({ name: String$1, pairingUrl: String$1 }), Environment),
|
|
21482
21657
|
"environments.remove": rpc(Struct({ id: String$1 }), Void2),
|
|
21658
|
+
"environments.rename": rpc(Struct({ id: String$1, name: MachineName }), Void2),
|
|
21483
21659
|
"environments.reconnect": rpc(Struct({ id: String$1 }), Void2),
|
|
21484
21660
|
"relayAccount.status": rpc(Void2, RelayAccountStatus),
|
|
21485
21661
|
"relayAccount.signIn": rpc(Void2, RelayAccountStatus),
|
|
@@ -21541,6 +21717,14 @@ const RpcMethods = {
|
|
|
21541
21717
|
Struct({ root: String$1, path: String$1 }),
|
|
21542
21718
|
Struct({ dataUrl: String$1 })
|
|
21543
21719
|
),
|
|
21720
|
+
"fs.readChunk": rpc(
|
|
21721
|
+
Struct({
|
|
21722
|
+
root: String$1,
|
|
21723
|
+
path: String$1,
|
|
21724
|
+
offset: Int.check(isGreaterThanOrEqualTo(0))
|
|
21725
|
+
}),
|
|
21726
|
+
Struct({ data: String$1, size: Number$1 })
|
|
21727
|
+
),
|
|
21544
21728
|
"fs.write": rpc(
|
|
21545
21729
|
Struct({
|
|
21546
21730
|
root: String$1,
|
|
@@ -21609,7 +21793,7 @@ const RpcMethods = {
|
|
|
21609
21793
|
"subagents.list": rpc(Struct({ threadId: String$1 }), ArraySchema(Subagent)),
|
|
21610
21794
|
"subagents.stop": rpc(Struct({ threadId: String$1, subagentId: String$1 }), Void2),
|
|
21611
21795
|
"subagents.transcript": rpc(
|
|
21612
|
-
Struct({ threadId: String$1, callId: String$1 }),
|
|
21796
|
+
Struct({ threadId: String$1, callId: String$1, compact: optional(Boolean$1) }),
|
|
21613
21797
|
Struct({
|
|
21614
21798
|
spawn: NullOr(MessagePart),
|
|
21615
21799
|
calls: ArraySchema(MessagePart),
|
|
@@ -21818,7 +22002,10 @@ const methodKind = {
|
|
|
21818
22002
|
"browser.command": "mutation",
|
|
21819
22003
|
"browser.frame": "read",
|
|
21820
22004
|
"browser.close": "mutation",
|
|
22005
|
+
"browser.emulateTouch": "mutation",
|
|
22006
|
+
"browser.touch": "mutation",
|
|
21821
22007
|
"devices.list": "read",
|
|
22008
|
+
"devices.checks": "read",
|
|
21822
22009
|
"device.get": "read",
|
|
21823
22010
|
"device.attach": "mutation",
|
|
21824
22011
|
"device.create": "mutation",
|
|
@@ -21830,6 +22017,18 @@ const methodKind = {
|
|
|
21830
22017
|
"device.control": "mutation",
|
|
21831
22018
|
"device.pick": "mutation",
|
|
21832
22019
|
"device.screenshot.save": "mutation",
|
|
22020
|
+
"devices.claim": "mutation",
|
|
22021
|
+
"devices.release": "mutation",
|
|
22022
|
+
"devices.setup": "mutation",
|
|
22023
|
+
"device.act": "mutation",
|
|
22024
|
+
"device.look": "read",
|
|
22025
|
+
"device.describe": "read",
|
|
22026
|
+
"device.launch": "mutation",
|
|
22027
|
+
"device.logs": "read",
|
|
22028
|
+
"device.install.begin": "mutation",
|
|
22029
|
+
"device.install.chunk": "mutation",
|
|
22030
|
+
"device.install.end": "mutation",
|
|
22031
|
+
"device.audio": "read",
|
|
21833
22032
|
"app.ready": "mutation",
|
|
21834
22033
|
"app.focus": "mutation",
|
|
21835
22034
|
"windows.openPullRequest": "mutation",
|
|
@@ -21879,6 +22078,8 @@ const methodKind = {
|
|
|
21879
22078
|
"shell.reveal": "mutation",
|
|
21880
22079
|
"shell.openers": "read",
|
|
21881
22080
|
"shell.openWith": "mutation",
|
|
22081
|
+
"shell.dragFile": "mutation",
|
|
22082
|
+
"shell.download": "mutation",
|
|
21882
22083
|
"settings.get": "read",
|
|
21883
22084
|
"notifications.permission": "read",
|
|
21884
22085
|
"notifications.askPermission": "mutation",
|
|
@@ -21889,6 +22090,7 @@ const methodKind = {
|
|
|
21889
22090
|
"machines.list": "read",
|
|
21890
22091
|
"environments.add": "mutation",
|
|
21891
22092
|
"environments.remove": "mutation",
|
|
22093
|
+
"environments.rename": "mutation",
|
|
21892
22094
|
"environments.reconnect": "mutation",
|
|
21893
22095
|
"relayAccount.status": "read",
|
|
21894
22096
|
"relayAccount.signIn": "mutation",
|
|
@@ -21920,6 +22122,7 @@ const methodKind = {
|
|
|
21920
22122
|
"fs.list": "read",
|
|
21921
22123
|
"fs.read": "read",
|
|
21922
22124
|
"fs.preview": "read",
|
|
22125
|
+
"fs.readChunk": "read",
|
|
21923
22126
|
"fs.write": "mutation",
|
|
21924
22127
|
"fs.create": "mutation",
|
|
21925
22128
|
"fs.rename": "mutation",
|
|
@@ -22045,6 +22248,8 @@ const desktopOnlyMethods = /* @__PURE__ */ new Set([
|
|
|
22045
22248
|
"windows.addLineComment",
|
|
22046
22249
|
"app.setBadgeCount",
|
|
22047
22250
|
"app.setColorScheme",
|
|
22251
|
+
"browser.emulateTouch",
|
|
22252
|
+
"browser.touch",
|
|
22048
22253
|
"dialog.pickFolder",
|
|
22049
22254
|
"dialog.pickFiles",
|
|
22050
22255
|
"artifacts.export",
|
|
@@ -22052,6 +22257,8 @@ const desktopOnlyMethods = /* @__PURE__ */ new Set([
|
|
|
22052
22257
|
"shell.reveal",
|
|
22053
22258
|
"shell.openers",
|
|
22054
22259
|
"shell.openWith",
|
|
22260
|
+
"shell.dragFile",
|
|
22261
|
+
"shell.download",
|
|
22055
22262
|
"notifications.permission",
|
|
22056
22263
|
"notifications.askPermission",
|
|
22057
22264
|
"fs.watch",
|
|
@@ -22064,6 +22271,7 @@ const desktopOnlyMethods = /* @__PURE__ */ new Set([
|
|
|
22064
22271
|
"environments.list",
|
|
22065
22272
|
"environments.add",
|
|
22066
22273
|
"environments.remove",
|
|
22274
|
+
"environments.rename",
|
|
22067
22275
|
"environments.reconnect",
|
|
22068
22276
|
"relayAccount.status",
|
|
22069
22277
|
"relayAccount.signIn",
|
|
@@ -22781,7 +22989,7 @@ export {
|
|
|
22781
22989
|
provideContext as gy,
|
|
22782
22990
|
Opaque as gz,
|
|
22783
22991
|
hasInterruptsOnly as h,
|
|
22784
|
-
|
|
22992
|
+
Message as h$,
|
|
22785
22993
|
decode$1 as h0,
|
|
22786
22994
|
decodeUnknownResult as h1,
|
|
22787
22995
|
fn as h2,
|
|
@@ -22795,30 +23003,30 @@ export {
|
|
|
22795
23003
|
isMaxLength as hA,
|
|
22796
23004
|
makeFilter as hB,
|
|
22797
23005
|
isPattern as hC,
|
|
22798
|
-
|
|
22799
|
-
|
|
22800
|
-
|
|
22801
|
-
|
|
22802
|
-
|
|
22803
|
-
|
|
22804
|
-
|
|
22805
|
-
|
|
22806
|
-
|
|
22807
|
-
|
|
22808
|
-
|
|
22809
|
-
|
|
22810
|
-
|
|
22811
|
-
|
|
22812
|
-
|
|
22813
|
-
|
|
22814
|
-
|
|
22815
|
-
|
|
22816
|
-
|
|
22817
|
-
|
|
22818
|
-
|
|
22819
|
-
|
|
22820
|
-
|
|
22821
|
-
|
|
23006
|
+
timeoutOption as hD,
|
|
23007
|
+
runLast as hE,
|
|
23008
|
+
fromOption as hF,
|
|
23009
|
+
decodeUnknownSync as hG,
|
|
23010
|
+
spawnsSubagent as hH,
|
|
23011
|
+
isPublishArtifactTool as hI,
|
|
23012
|
+
outputText as hJ,
|
|
23013
|
+
publishedArtifact as hK,
|
|
23014
|
+
toolArgument as hL,
|
|
23015
|
+
isPublishDocumentTool as hM,
|
|
23016
|
+
commonjsGlobal as hN,
|
|
23017
|
+
isRunAgentTool as hO,
|
|
23018
|
+
presetModels as hP,
|
|
23019
|
+
filter as hQ,
|
|
23020
|
+
take as hR,
|
|
23021
|
+
runDrain as hS,
|
|
23022
|
+
min$1 as hT,
|
|
23023
|
+
ChildProcessSpawner as hU,
|
|
23024
|
+
make$b as hV,
|
|
23025
|
+
mkString as hW,
|
|
23026
|
+
decodeText as hX,
|
|
23027
|
+
ForkPoint as hY,
|
|
23028
|
+
TokenUsage as hZ,
|
|
23029
|
+
MessagePart as h_,
|
|
22822
23030
|
unwrap$3 as ha,
|
|
22823
23031
|
CurrentMemoMap as hb,
|
|
22824
23032
|
fromIterable$1 as hc,
|
|
@@ -22847,50 +23055,50 @@ export {
|
|
|
22847
23055
|
toEncoded as hz,
|
|
22848
23056
|
isEffect as i,
|
|
22849
23057
|
RoutineRun as i$,
|
|
22850
|
-
|
|
22851
|
-
|
|
22852
|
-
|
|
22853
|
-
|
|
22854
|
-
|
|
22855
|
-
|
|
22856
|
-
|
|
22857
|
-
|
|
22858
|
-
|
|
22859
|
-
|
|
22860
|
-
|
|
22861
|
-
|
|
22862
|
-
|
|
22863
|
-
|
|
22864
|
-
|
|
22865
|
-
|
|
22866
|
-
|
|
22867
|
-
|
|
22868
|
-
|
|
22869
|
-
|
|
22870
|
-
|
|
22871
|
-
|
|
22872
|
-
|
|
22873
|
-
|
|
22874
|
-
|
|
22875
|
-
|
|
22876
|
-
|
|
22877
|
-
|
|
22878
|
-
|
|
22879
|
-
|
|
22880
|
-
|
|
22881
|
-
|
|
22882
|
-
|
|
23058
|
+
parseGitHubPullRequestUrl as i0,
|
|
23059
|
+
PullRequestReviewer as i1,
|
|
23060
|
+
PullRequestLabel as i2,
|
|
23061
|
+
PullRequestComment as i3,
|
|
23062
|
+
DiffSide as i4,
|
|
23063
|
+
subtract as i5,
|
|
23064
|
+
PULL_REQUEST_REFRESH as i6,
|
|
23065
|
+
parseGitHubIssueUrl as i7,
|
|
23066
|
+
parseGitHubRepository as i8,
|
|
23067
|
+
request as i9,
|
|
23068
|
+
DIRECT_CHECK_TIMEOUT_MS as iA,
|
|
23069
|
+
WAIT_AGENT_TOOL as iB,
|
|
23070
|
+
enabledProviders as iC,
|
|
23071
|
+
transcriptThreadId$1 as iD,
|
|
23072
|
+
resumeGraceMs as iE,
|
|
23073
|
+
fail$2 as iF,
|
|
23074
|
+
isDoneUnsafe as iG,
|
|
23075
|
+
filter$2 as iH,
|
|
23076
|
+
startingProvider as iI,
|
|
23077
|
+
kilobytes as iJ,
|
|
23078
|
+
monotonicTimeNanos as iK,
|
|
23079
|
+
retry as iL,
|
|
23080
|
+
die as iM,
|
|
23081
|
+
snakeToCamel as iN,
|
|
23082
|
+
camelToSnake as iO,
|
|
23083
|
+
UpdatableProviderId as iP,
|
|
23084
|
+
filter$4 as iQ,
|
|
23085
|
+
AgentAccount as iR,
|
|
23086
|
+
schedule as iS,
|
|
23087
|
+
BrowserFrame as iT,
|
|
23088
|
+
PagePick as iU,
|
|
23089
|
+
defaultClientSettings as iV,
|
|
23090
|
+
ClientSettings as iW,
|
|
22883
23091
|
next as iX,
|
|
22884
23092
|
bytes as iY,
|
|
22885
23093
|
Timestamp as iZ,
|
|
22886
23094
|
RoutineSchedule as i_,
|
|
22887
|
-
|
|
22888
|
-
|
|
22889
|
-
|
|
22890
|
-
|
|
22891
|
-
|
|
22892
|
-
|
|
22893
|
-
|
|
23095
|
+
Class$1 as ia,
|
|
23096
|
+
AgentProfile as ib,
|
|
23097
|
+
AccountProviderId as ic,
|
|
23098
|
+
ProjectAction as id,
|
|
23099
|
+
Project as ie,
|
|
23100
|
+
BooleanFromBit as ig,
|
|
23101
|
+
Worktree as ih,
|
|
22894
23102
|
ScheduledMessage as ii,
|
|
22895
23103
|
QueuedMessage as ij,
|
|
22896
23104
|
UsageLimit as ik,
|
|
@@ -22898,16 +23106,16 @@ export {
|
|
|
22898
23106
|
PullRequestWatch as im,
|
|
22899
23107
|
PullRequestLink as io,
|
|
22900
23108
|
allWatchEventKinds as ip,
|
|
22901
|
-
|
|
22902
|
-
|
|
22903
|
-
|
|
22904
|
-
|
|
22905
|
-
|
|
22906
|
-
|
|
22907
|
-
|
|
22908
|
-
|
|
22909
|
-
|
|
22910
|
-
|
|
23109
|
+
parsePairingUrl as iq,
|
|
23110
|
+
pairingUrl as ir,
|
|
23111
|
+
Environment as is,
|
|
23112
|
+
relayWebSocketUrl as it,
|
|
23113
|
+
remoteWebSocketUrl as iu,
|
|
23114
|
+
CHALLENGE_WAIT_MS as iv,
|
|
23115
|
+
dialPlan as iw,
|
|
23116
|
+
REMOTE_PROTOCOL_VERSION as ix,
|
|
23117
|
+
spaced as iy,
|
|
23118
|
+
DIRECT_CHECK_INTERVAL_MS as iz,
|
|
22911
23119
|
toCodecStringTree as j,
|
|
22912
23120
|
launch as j0,
|
|
22913
23121
|
uninterruptible as j1,
|
|
@@ -22917,35 +23125,37 @@ export {
|
|
|
22917
23125
|
when as j5,
|
|
22918
23126
|
threadDeviceId as j6,
|
|
22919
23127
|
shownScreen as j7,
|
|
22920
|
-
|
|
22921
|
-
|
|
22922
|
-
|
|
22923
|
-
|
|
22924
|
-
|
|
22925
|
-
|
|
23128
|
+
requirementPlatform as j8,
|
|
23129
|
+
devicePlatformOf as j9,
|
|
23130
|
+
NativeSpan as jA,
|
|
23131
|
+
currentTimeNanos as jB,
|
|
23132
|
+
isPortInUse as jC,
|
|
23133
|
+
BoatVmSize as ja,
|
|
23134
|
+
RUN_AGENT_TOOL as jb,
|
|
23135
|
+
ARTIFACT_THEME_GUIDE as jc,
|
|
22926
23136
|
DeviceApp as jd,
|
|
22927
|
-
|
|
22928
|
-
|
|
22929
|
-
|
|
22930
|
-
|
|
22931
|
-
|
|
22932
|
-
|
|
22933
|
-
|
|
22934
|
-
|
|
22935
|
-
|
|
22936
|
-
|
|
22937
|
-
|
|
22938
|
-
|
|
22939
|
-
|
|
22940
|
-
|
|
22941
|
-
|
|
22942
|
-
|
|
22943
|
-
|
|
22944
|
-
|
|
22945
|
-
|
|
22946
|
-
|
|
22947
|
-
|
|
22948
|
-
|
|
23137
|
+
DeviceUrl as je,
|
|
23138
|
+
INSTALL_CHUNK_BYTES as jf,
|
|
23139
|
+
DeviceButton as jg,
|
|
23140
|
+
WatchEventKind as jh,
|
|
23141
|
+
GuideGroup as ji,
|
|
23142
|
+
PullRequestGuide as jj,
|
|
23143
|
+
flatten$4 as jk,
|
|
23144
|
+
diskFullness as jl,
|
|
23145
|
+
pretty as jm,
|
|
23146
|
+
min as jn,
|
|
23147
|
+
exponential as jo,
|
|
23148
|
+
desktopOnlyPushes as jp,
|
|
23149
|
+
reachesPhone as jq,
|
|
23150
|
+
mutations as jr,
|
|
23151
|
+
desktopOnlyMethods as js,
|
|
23152
|
+
isAddressNotUpYet as jt,
|
|
23153
|
+
ClientFrame as ju,
|
|
23154
|
+
empty$2 as jv,
|
|
23155
|
+
RemoteFeature as jw,
|
|
23156
|
+
BindHost as jx,
|
|
23157
|
+
getAugmentedNamespace as jy,
|
|
23158
|
+
make$t as jz,
|
|
22949
23159
|
decodeUnknownEffect as k,
|
|
22950
23160
|
logError as l,
|
|
22951
23161
|
identity as m,
|
package/out/server/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module";
|
|
2
2
|
globalThis.require ??= __createRequire(import.meta.url);
|
|
3
|
-
import { d as dual, r as runFork, t as tapCause, h as hasInterruptsOnly, v as void_, s as squash, l as logError, c as constVoid, i as isEffect, a as isSuccess, w as withFiber, C as ConsoleRef, b as sync, T as TaggedError, A as ArraySchema, S as String$6, U as Union, e as hasProperty, o as optional$3, L as Literal, f as optionalKey, D as Defect, g as format, j as toCodecStringTree, k as decodeUnknownEffect, m as identity, n as succeed$2, p as fail, q as is, u as TrueLiterals, F as FalseLiterals, x as mapError, B as BooleanLiterals, I as Int$4, R as Reference, y as fnUntraced, z as scoped, Q as QuitError, E as Terminal, G as cached, H as suspend, P as Prototype, J as getOrElse, K as some, M as match, N as none, O as make$2, V as map$2, W as taggedEnum, X as match$1, Y as map$3, Z as isSome, _ as flatMap$1, $ as sync$1, a0 as empty, a1 as reduce, a2 as pipe, a3 as match$2, a4 as findFirstIndex, a5 as findFirst, a6 as findLast, a7 as isReadonlyArrayNonEmpty, a8 as ensuring, a9 as orDie, aa as take, ab as raceFirst, ac as round, ad as pipeArguments, ae as catchTags, af as fromUndefinedOr, ag as isNotUndefined, ah as getOrUndefined, ai as assignProperty, aj as Service, ak as empty$1, al as exists, am as gen, an as isNone, ao as succeed$3, ap as value, aq as provideService, ar as Stdio, as as catchFilter, at as isQuitError, au as succeed$4, av as fail$1, aw as interrupt, ax as andThen, ay as catchTag, az as result, aA as make$3, aB as provideContext, aC as MinimumLogLevel, aD as Struct, aE as ApprovalRequest, aF as QuestionRequest, aG as SecretRequest, aH as Thread, aI as TaggedError$1, aJ as seconds, aK as decodeUnknownExit, aL as fromJsonString, aM as ServerFrame, aN as acquireRelease, aO as unbounded, aP as endUnsafe, aQ as encodeUnknownEffect, aR as RpcMethods, aS as timeoutOrElse, aT as callback, aU as methodKind, aV as offerUnsafe, aW as WebSocket, aX as REMOTE_PATH, aY as REMOTE_MAX_FRAME_BYTES, aZ as succeedNone, a_ as cliSocketPath, a$ as all, b0 as fromResult, b1 as Number$2, b2 as forEach, b3 as NullOr, b4 as Routine, b5 as AccessMode, b6 as ProviderId, b7 as promise, b8 as isFailure, b9 as toCheckoutTarget, ba as noticeEvents, bb as PushEvent, bc as ThreadStatus, bd as try_, be as as, bf as isThreadBusy, bg as tryPromise, bh as map$4, bi as packageJson, bj as tapError, bk as provide, bl as layer$1 } from "./chunks/remote-
|
|
3
|
+
import { d as dual, r as runFork, t as tapCause, h as hasInterruptsOnly, v as void_, s as squash, l as logError, c as constVoid, i as isEffect, a as isSuccess, w as withFiber, C as ConsoleRef, b as sync, T as TaggedError, A as ArraySchema, S as String$6, U as Union, e as hasProperty, o as optional$3, L as Literal, f as optionalKey, D as Defect, g as format, j as toCodecStringTree, k as decodeUnknownEffect, m as identity, n as succeed$2, p as fail, q as is, u as TrueLiterals, F as FalseLiterals, x as mapError, B as BooleanLiterals, I as Int$4, R as Reference, y as fnUntraced, z as scoped, Q as QuitError, E as Terminal, G as cached, H as suspend, P as Prototype, J as getOrElse, K as some, M as match, N as none, O as make$2, V as map$2, W as taggedEnum, X as match$1, Y as map$3, Z as isSome, _ as flatMap$1, $ as sync$1, a0 as empty, a1 as reduce, a2 as pipe, a3 as match$2, a4 as findFirstIndex, a5 as findFirst, a6 as findLast, a7 as isReadonlyArrayNonEmpty, a8 as ensuring, a9 as orDie, aa as take, ab as raceFirst, ac as round, ad as pipeArguments, ae as catchTags, af as fromUndefinedOr, ag as isNotUndefined, ah as getOrUndefined, ai as assignProperty, aj as Service, ak as empty$1, al as exists, am as gen, an as isNone, ao as succeed$3, ap as value, aq as provideService, ar as Stdio, as as catchFilter, at as isQuitError, au as succeed$4, av as fail$1, aw as interrupt, ax as andThen, ay as catchTag, az as result, aA as make$3, aB as provideContext, aC as MinimumLogLevel, aD as Struct, aE as ApprovalRequest, aF as QuestionRequest, aG as SecretRequest, aH as Thread, aI as TaggedError$1, aJ as seconds, aK as decodeUnknownExit, aL as fromJsonString, aM as ServerFrame, aN as acquireRelease, aO as unbounded, aP as endUnsafe, aQ as encodeUnknownEffect, aR as RpcMethods, aS as timeoutOrElse, aT as callback, aU as methodKind, aV as offerUnsafe, aW as WebSocket, aX as REMOTE_PATH, aY as REMOTE_MAX_FRAME_BYTES, aZ as succeedNone, a_ as cliSocketPath, a$ as all, b0 as fromResult, b1 as Number$2, b2 as forEach, b3 as NullOr, b4 as Routine, b5 as AccessMode, b6 as ProviderId, b7 as promise, b8 as isFailure, b9 as toCheckoutTarget, ba as noticeEvents, bb as PushEvent, bc as ThreadStatus, bd as try_, be as as, bf as isThreadBusy, bg as tryPromise, bh as map$4, bi as packageJson, bj as tapError, bk as provide, bl as layer$1 } from "./chunks/remote-DCThFXFz.js";
|
|
4
4
|
import { homedir } from "node:os";
|
|
5
5
|
import { resolve, sep, join } from "node:path";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|