CLI/Gateway: restore qr flow with --remote support (clean) (#18091)

Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: 4bee77ce06bf30b3ecfdeb2e48f8aae8060f8e93
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Reviewed-by: @mbelinky
This commit is contained in:
Mariano
2026-02-16 14:48:14 +00:00
committed by GitHub
parent fec4be8dec
commit 599c890221
8 changed files with 957 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ describe("registerSubCliCommands", () => {
const names = program.commands.map((cmd) => cmd.name());
expect(names).toContain("acp");
expect(names).toContain("gateway");
expect(names).toContain("clawbot");
expect(registerAcpCli).not.toHaveBeenCalled();
});

View File

@@ -168,6 +168,22 @@ const entries: SubCliEntry[] = [
mod.registerWebhooksCli(program);
},
},
{
name: "qr",
description: "Generate iOS pairing QR/setup code",
register: async (program) => {
const mod = await import("../qr-cli.js");
mod.registerQrCli(program);
},
},
{
name: "clawbot",
description: "Legacy clawbot command aliases",
register: async (program) => {
const mod = await import("../clawbot-cli.js");
mod.registerClawbotCli(program);
},
},
{
name: "pairing",
description: "Pairing helpers",