ai-remote 0.4.18 → 0.5.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-chunk-SGEG6DMQ.mjs → cli-chunk-F2TSY3YW.mjs} +33 -1
- package/dist/{cli-chunk-R2ZEHRBG.mjs → cli-chunk-OZG2CODR.mjs} +1 -1
- package/dist/{cli-daemon-6XQDFK3P.mjs → cli-daemon-3BBFQCML.mjs} +3 -3
- package/dist/{cli-window-B6ICRJVI.mjs → cli-window-ZKAXEHQV.mjs} +2 -2
- package/dist/cli.mjs +5 -5
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
openWindow,
|
|
5
5
|
readCurrentDisplaySize,
|
|
6
6
|
runWindow
|
|
7
|
-
} from "./cli-chunk-
|
|
8
|
-
import "./cli-chunk-
|
|
7
|
+
} from "./cli-chunk-F2TSY3YW.mjs";
|
|
8
|
+
import "./cli-chunk-OZG2CODR.mjs";
|
|
9
9
|
export {
|
|
10
10
|
detectCurrentDisplaySize,
|
|
11
11
|
nativeWindowAvailable,
|
package/dist/cli.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
metaPath,
|
|
14
14
|
sessionName,
|
|
15
15
|
socketPath
|
|
16
|
-
} from "./cli-chunk-
|
|
16
|
+
} from "./cli-chunk-OZG2CODR.mjs";
|
|
17
17
|
|
|
18
18
|
// src/cli/cli.ts
|
|
19
19
|
import { resolve as resolvePath } from "node:path";
|
|
@@ -436,7 +436,7 @@ async function startSession(args, name, host, port, secret) {
|
|
|
436
436
|
const explicitHeight = flag(args, "H", "height");
|
|
437
437
|
let fullscreenSize = null;
|
|
438
438
|
if (mode === "rdp" && has(args, "fullscreen") && (!explicitWidth || !explicitHeight)) {
|
|
439
|
-
const { detectCurrentDisplaySize } = await import("./cli-window-
|
|
439
|
+
const { detectCurrentDisplaySize } = await import("./cli-window-ZKAXEHQV.mjs");
|
|
440
440
|
const display = await detectCurrentDisplaySize();
|
|
441
441
|
if (display) fullscreenSize = fullscreenRdpSize(display, has(args, "side-panel"));
|
|
442
442
|
}
|
|
@@ -559,7 +559,7 @@ async function main() {
|
|
|
559
559
|
}
|
|
560
560
|
const json = has(args, "json");
|
|
561
561
|
if (args.command === "__display-size") {
|
|
562
|
-
const { readCurrentDisplaySize } = await import("./cli-window-
|
|
562
|
+
const { readCurrentDisplaySize } = await import("./cli-window-ZKAXEHQV.mjs");
|
|
563
563
|
const size = await readCurrentDisplaySize();
|
|
564
564
|
if (size) process.stdout.write(`${JSON.stringify(size)}
|
|
565
565
|
`);
|
|
@@ -568,7 +568,7 @@ async function main() {
|
|
|
568
568
|
if (args.command === "__session") {
|
|
569
569
|
const mode = modeFor(args, args.rest[0]);
|
|
570
570
|
const { host, port } = splitTarget(args.rest[0] ?? "", defaultPort(mode));
|
|
571
|
-
const { runDaemon } = await import("./cli-daemon-
|
|
571
|
+
const { runDaemon } = await import("./cli-daemon-3BBFQCML.mjs");
|
|
572
572
|
await runDaemon({
|
|
573
573
|
name: sessionName(host, port, flag(args, "name", "session")),
|
|
574
574
|
host,
|
|
@@ -601,7 +601,7 @@ async function main() {
|
|
|
601
601
|
return;
|
|
602
602
|
}
|
|
603
603
|
if (args.command === "__window") {
|
|
604
|
-
const { runWindow } = await import("./cli-window-
|
|
604
|
+
const { runWindow } = await import("./cli-window-ZKAXEHQV.mjs");
|
|
605
605
|
await runWindow(process.argv.slice(3));
|
|
606
606
|
return;
|
|
607
607
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-remote",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "RDP, VNC and SSH protocol engines that run in Node, a Worker or a browser -- plus `npx ai-remote`, a CLI that drives a machine and shows you what it is doing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|