From 4429b758132cd8750c69a561beb140463c0a6aeb Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 18 Jan 2026 23:27:33 +0000 Subject: [PATCH] fix: refine Anthropic token hints (#1185) (thanks @KrauseFx) --- CHANGELOG.md | 1 + README.md | 3 ++- src/commands/auth-choice-options.test.ts | 2 +- src/commands/auth-choice-options.ts | 8 ++++---- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f09fb1dd96c..7bb47537dc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Docs: https://docs.clawd.bot ### Changes - Dependencies: update core + plugin deps (grammy, vitest, openai, Microsoft agents hosting, etc.). +- Onboarding: clarify Anthropic token option hints in the onboarding wizard. (#1185) — thanks @KrauseFx. - Onboarding: add allowlist prompts and username-to-id resolution across core and extension channels. - Docs: clarify allowlist input types and onboarding behavior for messaging channels. diff --git a/README.md b/README.md index 446c366efba..91837b18acc 100644 --- a/README.md +++ b/README.md @@ -494,5 +494,6 @@ Thanks to all clawtributors: loukotal martinpucik Miles mrdbstn MSch Mustafa Tag Eldeen ndraiman nexty5870 prathamdby reeltimeapps RLTCmpe rodrigouroz Rolf Fredheim Rony Kelner Samrat Jha siraht snopoke suminhthanh The Admiral thesash Ubuntu voidserf wstock Zach Knickerbocker Alphonse-arianee Azade carlulsoe ddyo Erik latitudeki5223 - Manuel Maly Mourad Boustani pcty-nextgen-ios-builder Quentin Randy Torres rhjoh ronak-guliani William Stock + Manuel Maly Mourad Boustani pcty-nextgen-ios-builder Quentin Randy Torres rhjoh ronak-guliani William Stock KrauseFx +

diff --git a/src/commands/auth-choice-options.test.ts b/src/commands/auth-choice-options.test.ts index db529761fa6..33bfad1e02a 100644 --- a/src/commands/auth-choice-options.test.ts +++ b/src/commands/auth-choice-options.test.ts @@ -26,7 +26,7 @@ describe("buildAuthChoiceOptions", () => { const claudeCli = options.find((opt) => opt.value === "claude-cli"); expect(claudeCli).toBeDefined(); - expect(claudeCli?.hint).toBe("reuses existing Claude Code auth · requires Keychain access"); + expect(claudeCli?.hint).toBe("Uses Claude Code auth · requires Keychain access"); }); it("skips missing Claude Code CLI option off macOS", () => { diff --git a/src/commands/auth-choice-options.ts b/src/commands/auth-choice-options.ts index b15a3e6443f..9468514f8c7 100644 --- a/src/commands/auth-choice-options.ts +++ b/src/commands/auth-choice-options.ts @@ -160,26 +160,26 @@ export function buildAuthChoiceOptions(params: { options.push({ value: "claude-cli", label: "Anthropic token (Claude Code CLI)", - hint: `reuses existing Claude Code auth · ${formatOAuthHint(claudeCli.expires)}`, + hint: `Reuses existing Claude Code auth · ${formatOAuthHint(claudeCli.expires)}`, }); } else if (params.includeClaudeCliIfMissing && platform === "darwin") { options.push({ value: "claude-cli", label: "Anthropic token (Claude Code CLI)", - hint: "reuses existing Claude Code auth · requires Keychain access", + hint: "Uses Claude Code auth · requires Keychain access", }); } options.push({ value: "setup-token", label: "Anthropic token (run setup-token)", - hint: "runs `claude setup-token` · opens browser for fresh OAuth login", + hint: "Runs `claude setup-token` · opens browser for fresh OAuth login", }); options.push({ value: "token", label: "Anthropic token (paste setup-token)", - hint: "run `claude setup-token` elsewhere, then paste the token here", + hint: "Run `claude setup-token` elsewhere, then paste the token here", }); options.push({