From 685f2765012382e6bbb750c74ff8aed17c81c2a6 Mon Sep 17 00:00:00 2001 From: Boris Starkov Date: Wed, 25 Mar 2026 11:40:06 +0000 Subject: [PATCH 1/4] feat: swap default UI mode to plain text (agent-first) Most CLI users are agents/CI, not humans. Invert the default so plain text output is the default and interactive Ink UI requires opting in with --human-friendly. Keep --no-ui for backwards compatibility (no-op). Co-Authored-By: Claude Opus 4.6 (1M context) --- src/agents/commands/add.ts | 9 ++--- src/agents/commands/branches.ts | 7 ++-- src/agents/commands/delete.ts | 7 ++-- src/agents/commands/index.ts | 44 ++++++++++++++++++++++--- src/agents/commands/init.ts | 7 ++-- src/agents/commands/list.ts | 7 ++-- src/agents/commands/pull.ts | 7 ++-- src/agents/commands/push.ts | 7 ++-- src/agents/commands/status.ts | 7 ++-- src/agents/commands/test.ts | 5 +-- src/agents/ui/AgentsHelpView.tsx | 2 +- src/auth/commands/index.ts | 32 +++++++++++++++--- src/auth/commands/login.ts | 7 ++-- src/auth/commands/logout.ts | 7 ++-- src/auth/commands/residency.ts | 9 ++--- src/auth/commands/whoami.ts | 7 ++-- src/auth/ui/AuthHelpView.tsx | 2 +- src/cli.ts | 56 +++++++++++++++++++++++++------- src/completion/scripts.ts | 5 +-- src/components/commands/index.ts | 29 ++++++++++++++--- src/tests/commands/add.ts | 7 ++-- src/tests/commands/delete.ts | 7 ++-- src/tests/commands/index.ts | 37 ++++++++++++++++++--- src/tests/commands/pull.ts | 5 +-- src/tests/commands/push.ts | 5 +-- src/tests/ui/TestsHelpView.tsx | 2 +- src/tools/commands/delete.ts | 7 ++-- src/tools/commands/index.ts | 37 ++++++++++++++++++--- src/tools/commands/pull.ts | 7 ++-- src/tools/commands/push.ts | 5 +-- src/tools/ui/ToolsHelpView.tsx | 2 +- src/ui/views/HelpView.tsx | 2 +- 32 files changed, 284 insertions(+), 102 deletions(-) diff --git a/src/agents/commands/add.ts b/src/agents/commands/add.ts index e9091f6..617db98 100644 --- a/src/agents/commands/add.ts +++ b/src/agents/commands/add.ts @@ -35,10 +35,11 @@ export function createAddCommand(): Command { .option('--output-path ', 'Custom output path for the config file (optional)') .option('--template