feat: add imessage rpc adapter
This commit is contained in:
@@ -20,6 +20,7 @@ import {
|
||||
import { GATEWAY_LAUNCH_AGENT_LABEL } from "../daemon/constants.js";
|
||||
import { resolveGatewayProgramArguments } from "../daemon/program-args.js";
|
||||
import { resolveGatewayService } from "../daemon/service.js";
|
||||
import { pickPrimaryTailnetIPv4 } from "../infra/tailnet.js";
|
||||
import type { RuntimeEnv } from "../runtime.js";
|
||||
import { defaultRuntime } from "../runtime.js";
|
||||
import { resolveUserPath, sleep } from "../utils.js";
|
||||
@@ -478,5 +479,20 @@ export async function runInteractiveOnboarding(
|
||||
"Optional apps",
|
||||
);
|
||||
|
||||
note(
|
||||
(() => {
|
||||
const tailnetIPv4 = pickPrimaryTailnetIPv4();
|
||||
const host =
|
||||
bind === "tailnet" || (bind === "auto" && tailnetIPv4)
|
||||
? (tailnetIPv4 ?? "127.0.0.1")
|
||||
: "127.0.0.1";
|
||||
return [
|
||||
`Control UI: http://${host}:${port}/`,
|
||||
`Gateway WS: ws://${host}:${port}`,
|
||||
].join("\n");
|
||||
})(),
|
||||
"Open the Control UI",
|
||||
);
|
||||
|
||||
outro("Onboarding complete.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user