From cc79629eaf3cecba4d224409e4f160599071dad2 Mon Sep 17 00:00:00 2001 From: iamnbutler Date: Thu, 22 Oct 2026 17:10:40 -0400 Subject: [PATCH 1/4] fix(host): print a sign-in link from ace serve and one-line errors for bad flags and demo scripts Help and --version name the command as installed, such as ace-canary. Why: apps/host/src/gateway.ts#function serve | Only a command-line host prints the sign-in link; Ace Helper's console is its log file, which must never hold the token --- apps/host/src/cli.ts | 88 +++++++++++++++++++++++++--------------- apps/host/src/config.ts | 2 + apps/host/src/demo.ts | 60 ++++++++++++++++++++++++++- apps/host/src/gateway.ts | 11 ++++- apps/host/src/helper.ts | 1 + 5 files changed, 125 insertions(+), 37 deletions(-) diff --git a/apps/host/src/cli.ts b/apps/host/src/cli.ts index 50c0876b..999f20dc 100755 --- a/apps/host/src/cli.ts +++ b/apps/host/src/cli.ts @@ -50,7 +50,7 @@ import { } from "./manage"; import { move } from "./move"; -const HELP = `ace — channels on this host +const USAGE = `ace — channels on this host ace new [--project ] [--name ] [--model ] ace ls [--all] [--team] --team adds reachable teammates' channels @@ -88,14 +88,15 @@ const HELP = `ace — channels on this host ace directory [ | off] the team's directory, which lists every host's channels; a running host checks it with ACE_SECRET first ace web [ | off] the deployed web app your devices may use with this host - ace serve [--port 4140] [--loopback] [--demo