diff --git a/package.json b/package.json index 5212863b..d85c1e18 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@gitlawb/openclaude", "version": "0.6.0", - "description": "Claude Code opened to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models", + "description": "OpenClaude opens coding-agent workflows to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models", "type": "module", "bin": { "openclaude": "./bin/openclaude" diff --git a/src/bridge/bridgeEnabled.ts b/src/bridge/bridgeEnabled.ts index add3187d..6a57bda4 100644 --- a/src/bridge/bridgeEnabled.ts +++ b/src/bridge/bridgeEnabled.ts @@ -70,13 +70,13 @@ export async function isBridgeEnabledBlocking(): Promise { export async function getBridgeDisabledReason(): Promise { if (feature('BRIDGE_MODE')) { if (!isClaudeAISubscriber()) { - return 'Remote Control requires a claude.ai subscription. Run `claude auth login` to sign in with your claude.ai account.' + return 'Remote Control requires a claude.ai subscription. Run `openclaude auth login` to sign in with your claude.ai account.' } if (!hasProfileScope()) { - return 'Remote Control requires a full-scope login token. Long-lived tokens (from `claude setup-token` or CLAUDE_CODE_OAUTH_TOKEN) are limited to inference-only for security reasons. Run `claude auth login` to use Remote Control.' + return 'Remote Control requires a full-scope login token. Long-lived tokens (from `openclaude setup-token` or CLAUDE_CODE_OAUTH_TOKEN) are limited to inference-only for security reasons. Run `openclaude auth login` to use Remote Control.' } if (!getOauthAccountInfo()?.organizationUuid) { - return 'Unable to determine your organization for Remote Control eligibility. Run `claude auth login` to refresh your account information.' + return 'Unable to determine your organization for Remote Control eligibility. Run `openclaude auth login` to refresh your account information.' } if (!(await checkGate_CACHED_OR_BLOCKING('tengu_ccr_bridge'))) { return 'Remote Control is not yet enabled for your account.' @@ -166,7 +166,7 @@ export function checkBridgeMinVersion(): string | null { minVersion: string }>('tengu_bridge_min_version', { minVersion: '0.0.0' }) if (config.minVersion && lt(MACRO.VERSION, config.minVersion)) { - return `Your version of Claude Code (${MACRO.VERSION}) is too old for Remote Control.\nVersion ${config.minVersion} or higher is required. Run \`claude update\` to update.` + return `Your version of OpenClaude (${MACRO.VERSION}) is too old for Remote Control.\nVersion ${config.minVersion} or higher is required. Run \`openclaude update\` to update.` } } return null diff --git a/src/bridge/bridgeMain.ts b/src/bridge/bridgeMain.ts index d7314da5..7ec81c92 100644 --- a/src/bridge/bridgeMain.ts +++ b/src/bridge/bridgeMain.ts @@ -2248,7 +2248,7 @@ export async function bridgeMain(args: string[]): Promise { }) // biome-ignore lint/suspicious/noConsole: intentional dialog output console.log( - `\nClaude Remote Control is launching in spawn mode which lets you create new sessions in this project from Claude Code on Web or your Mobile app. Learn more here: https://code.claude.com/docs/en/remote-control\n\n` + + `\nClaude Remote Control is launching in spawn mode which lets you create new sessions in this project from OpenClaude on the web or your mobile app. Learn more here: https://code.claude.com/docs/en/remote-control\n\n` + `Spawn mode for this project:\n` + ` [1] same-dir \u2014 sessions share the current directory (default)\n` + ` [2] worktree \u2014 each session gets an isolated git worktree\n\n` + diff --git a/src/bridge/envLessBridgeConfig.ts b/src/bridge/envLessBridgeConfig.ts index de0cb5e1..cb85f4e5 100644 --- a/src/bridge/envLessBridgeConfig.ts +++ b/src/bridge/envLessBridgeConfig.ts @@ -147,7 +147,7 @@ export async function getEnvLessBridgeConfig(): Promise { export async function checkEnvLessBridgeMinVersion(): Promise { const cfg = await getEnvLessBridgeConfig() if (cfg.min_version && lt(MACRO.VERSION, cfg.min_version)) { - return `Your version of Claude Code (${MACRO.VERSION}) is too old for Remote Control.\nVersion ${cfg.min_version} or higher is required. Run \`claude update\` to update.` + return `Your version of OpenClaude (${MACRO.VERSION}) is too old for Remote Control.\nVersion ${cfg.min_version} or higher is required. Run \`openclaude update\` to update.` } return null } diff --git a/src/bridge/initReplBridge.ts b/src/bridge/initReplBridge.ts index 65f1edf1..339e373d 100644 --- a/src/bridge/initReplBridge.ts +++ b/src/bridge/initReplBridge.ts @@ -415,7 +415,7 @@ export async function initReplBridge( `[bridge:repl] Skipping: ${versionError}`, true, ) - onStateChange?.('failed', 'run `claude update` to upgrade') + onStateChange?.('failed', 'run `openclaude update` to upgrade') return null } logForDebugging( @@ -456,7 +456,7 @@ export async function initReplBridge( const versionError = checkBridgeMinVersion() if (versionError) { logBridgeSkip('version_too_old', `[bridge:repl] Skipping: ${versionError}`) - onStateChange?.('failed', 'run `claude update` to upgrade') + onStateChange?.('failed', 'run `openclaude update` to upgrade') return null } diff --git a/src/bridge/trustedDevice.ts b/src/bridge/trustedDevice.ts index 21ecb9da..ba389854 100644 --- a/src/bridge/trustedDevice.ts +++ b/src/bridge/trustedDevice.ts @@ -147,7 +147,7 @@ export async function enrollTrustedDevice(): Promise { device_id?: string }>( `${baseUrl}/api/auth/trusted_devices`, - { display_name: `Claude Code on ${hostname()} · ${process.platform}` }, + { display_name: `OpenClaude on ${hostname()} · ${process.platform}` }, { headers: { Authorization: `Bearer ${accessToken}`, diff --git a/src/cli/handlers/auth.ts b/src/cli/handlers/auth.ts index c4cba5d0..d470f786 100644 --- a/src/cli/handlers/auth.ts +++ b/src/cli/handlers/auth.ts @@ -287,7 +287,7 @@ export async function authStatus(opts: { } if (!loggedIn) { process.stdout.write( - 'Not logged in. Run claude auth login to authenticate.\n', + 'Not logged in. Run openclaude auth login to authenticate.\n', ) } } else { diff --git a/src/cli/handlers/autoMode.ts b/src/cli/handlers/autoMode.ts index 86bff197..72c2cc6e 100644 --- a/src/cli/handlers/autoMode.ts +++ b/src/cli/handlers/autoMode.ts @@ -83,7 +83,7 @@ export async function autoModeCritiqueHandler(options: { process.stdout.write( 'No custom auto mode rules found.\n\n' + 'Add rules to your settings file under autoMode.{allow, soft_deny, environment}.\n' + - 'Run `claude auto-mode defaults` to see the default rules for reference.\n', + 'Run `openclaude auto-mode defaults` to see the default rules for reference.\n', ) return } diff --git a/src/cli/handlers/mcp.tsx b/src/cli/handlers/mcp.tsx index 230c9dfd..8c34b241 100644 --- a/src/cli/handlers/mcp.tsx +++ b/src/cli/handlers/mcp.tsx @@ -233,7 +233,7 @@ export async function mcpRemoveHandler(name: string, options: { }); process.stderr.write('\nTo remove from a specific scope, use:\n'); scopes.forEach(scope => { - process.stderr.write(` claude mcp remove "${name}" -s ${scope}\n`); + process.stderr.write(` openclaude mcp remove "${name}" -s ${scope}\n`); }); cliError(); } @@ -250,7 +250,7 @@ export async function mcpListHandler(): Promise { } = await getAllMcpConfigs(); if (Object.keys(configs).length === 0) { // biome-ignore lint/suspicious/noConsole:: intentional console output - console.log('No MCP servers configured. Use `claude mcp add` to add a server.'); + console.log('No MCP servers configured. Use `openclaude mcp add` to add a server.'); } else { // biome-ignore lint/suspicious/noConsole:: intentional console output console.log('Checking MCP server health...\n'); @@ -374,7 +374,7 @@ export async function mcpGetHandler(name: string): Promise { } } // biome-ignore lint/suspicious/noConsole:: intentional console output - console.log(`\nTo remove this server, run: claude mcp remove "${name}" -s ${server.scope}`); + console.log(`\nTo remove this server, run: openclaude mcp remove "${name}" -s ${server.scope}`); // Use gracefulShutdown to properly clean up MCP server connections // (process.exit bypasses cleanup handlers, leaving child processes orphaned) await gracefulShutdown(0); @@ -455,5 +455,5 @@ export async function mcpResetChoicesHandler(): Promise { disabledMcpjsonServers: [], enableAllProjectMcpServers: false })); - cliOk('All project-scoped (.mcp.json) server approvals and rejections have been reset.\n' + 'You will be prompted for approval next time you start Claude Code.'); + cliOk('All project-scoped (.mcp.json) server approvals and rejections have been reset.\n' + 'You will be prompted for approval next time you start OpenClaude.'); } diff --git a/src/cli/handlers/plugins.ts b/src/cli/handlers/plugins.ts index 9236abe0..0369da0c 100644 --- a/src/cli/handlers/plugins.ts +++ b/src/cli/handlers/plugins.ts @@ -352,7 +352,7 @@ export async function pluginListHandler(options: { // through to the session section so the failure is visible. if (inlineLoadErrors.length === 0) { cliOk( - 'No plugins installed. Use `claude plugin install` to install a plugin.', + 'No plugins installed. Use `openclaude plugin install` to install a plugin.', ) } } diff --git a/src/cli/print.ts b/src/cli/print.ts index 00b5c834..344691d0 100644 --- a/src/cli/print.ts +++ b/src/cli/print.ts @@ -5026,7 +5026,7 @@ async function loadInitialMessages( ) if (!parsedSessionId) { let errorMessage = - 'Error: --resume requires a valid session ID when used with --print. Usage: claude -p --resume ' + 'Error: --resume requires a valid session ID when used with --print. Usage: openclaude -p --resume ' if (typeof options.resume === 'string') { errorMessage += `. Session IDs must be in UUID format (e.g., 550e8400-e29b-41d4-a716-446655440000). Provided value "${options.resume}" is not a valid UUID` } diff --git a/src/cli/update.ts b/src/cli/update.ts index fbdc8a22..7570d778 100644 --- a/src/cli/update.ts +++ b/src/cli/update.ts @@ -276,7 +276,7 @@ export async function update() { } catch (error) { process.stderr.write('Error: Failed to install native update\n') process.stderr.write(String(error) + '\n') - process.stderr.write('Try running "claude doctor" for diagnostics\n') + process.stderr.write('Try running "openclaude doctor" for diagnostics\n') await gracefulShutdown(1) } } diff --git a/src/commands.ts b/src/commands.ts index 0a55d993..7d238748 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -199,7 +199,7 @@ import stats from './commands/stats/index.js' const usageReport: Command = { type: 'prompt', name: 'insights', - description: 'Generate a report analyzing your Claude Code sessions', + description: 'Generate a report analyzing your OpenClaude sessions', contentLength: 0, progressMessage: 'analyzing your sessions', source: 'builtin', diff --git a/src/commands/buddy/index.ts b/src/commands/buddy/index.ts index 84b14dd3..bd45b171 100644 --- a/src/commands/buddy/index.ts +++ b/src/commands/buddy/index.ts @@ -3,7 +3,7 @@ import type { Command } from '../../commands.js' const buddy = { type: 'local-jsx', name: 'buddy', - description: 'Hatch, pet, and manage your Open Claude companion', + description: 'Hatch, pet, and manage your OpenClaude companion', immediate: true, argumentHint: '[status|mute|unmute|help]', load: () => import('./buddy.js'), diff --git a/src/commands/chrome/chrome.tsx b/src/commands/chrome/chrome.tsx index abf31c74..c2f2b634 100644 --- a/src/commands/chrome/chrome.tsx +++ b/src/commands/chrome/chrome.tsx @@ -197,7 +197,7 @@ function ClaudeInChromeMenu(t0) { } let t6; if ($[20] === Symbol.for("react.memo_cache_sentinel")) { - t6 = Claude in Chrome works with the Chrome extension to let you control your browser directly from Claude Code. Navigate websites, fill forms, capture screenshots, record GIFs, and debug with console logs and network requests.; + t6 = Claude in Chrome works with the Chrome extension to let you control your browser directly from OpenClaude. Navigate websites, fill forms, capture screenshots, record GIFs, and debug with console logs and network requests.; $[20] = t6; } else { t6 = $[20]; diff --git a/src/commands/createMovedToPluginCommand.ts b/src/commands/createMovedToPluginCommand.ts index 08dee296..d94a8829 100644 --- a/src/commands/createMovedToPluginCommand.ts +++ b/src/commands/createMovedToPluginCommand.ts @@ -48,7 +48,7 @@ export function createMovedToPluginCommand({ text: `This command has been moved to a plugin. Tell the user: 1. To install the plugin, run: - claude plugin install ${pluginName}@claude-code-marketplace + openclaude plugin install ${pluginName}@claude-code-marketplace 2. After installation, use /${pluginName}:${pluginCommand} to run this command diff --git a/src/commands/doctor/index.ts b/src/commands/doctor/index.ts index 6a0b0899..a47bcda5 100644 --- a/src/commands/doctor/index.ts +++ b/src/commands/doctor/index.ts @@ -3,7 +3,7 @@ import { isEnvTruthy } from '../../utils/envUtils.js' const doctor: Command = { name: 'doctor', - description: 'Diagnose and verify your Claude Code installation and settings', + description: 'Diagnose and verify your OpenClaude installation and settings', isEnabled: () => !isEnvTruthy(process.env.DISABLE_DOCTOR_COMMAND), type: 'local-jsx', load: () => import('./doctor.js'), diff --git a/src/commands/feedback/index.ts b/src/commands/feedback/index.ts index ec092c8c..c58df886 100644 --- a/src/commands/feedback/index.ts +++ b/src/commands/feedback/index.ts @@ -7,7 +7,7 @@ const feedback = { aliases: ['bug'], type: 'local-jsx', name: 'feedback', - description: `Submit feedback about Claude Code`, + description: `Submit feedback about OpenClaude`, argumentHint: '[report]', isEnabled: () => !( diff --git a/src/commands/insights.ts b/src/commands/insights.ts index 882e01d3..114ed8d6 100644 --- a/src/commands/insights.ts +++ b/src/commands/insights.ts @@ -247,7 +247,7 @@ function getSessionMetaDir(): string { return join(getDataDir(), 'session-meta') } -const FACET_EXTRACTION_PROMPT = `Analyze this Claude Code session and extract structured facets. +const FACET_EXTRACTION_PROMPT = `Analyze this OpenClaude session and extract structured facets. CRITICAL GUIDELINES: @@ -687,7 +687,7 @@ function formatTranscriptForFacets(log: LogOption): string { return lines.join('\n') } -const SUMMARIZE_CHUNK_PROMPT = `Summarize this portion of a Claude Code session transcript. Focus on: +const SUMMARIZE_CHUNK_PROMPT = `Summarize this portion of a OpenClaude session transcript. Focus on: 1. What the user asked for 2. What Claude did (tools used, files modified) 3. Any friction or issues @@ -1156,12 +1156,12 @@ type InsightSection = { const INSIGHT_SECTIONS: InsightSection[] = [ { name: 'project_areas', - prompt: `Analyze this Claude Code usage data and identify project areas. + prompt: `Analyze this OpenClaude usage data and identify project areas. RESPOND WITH ONLY A VALID JSON OBJECT: { "areas": [ - {"name": "Area name", "session_count": N, "description": "2-3 sentences about what was worked on and how Claude Code was used."} + {"name": "Area name", "session_count": N, "description": "2-3 sentences about what was worked on and how OpenClaude was used."} ] } @@ -1170,18 +1170,18 @@ Include 4-5 areas. Skip internal CC operations.`, }, { name: 'interaction_style', - prompt: `Analyze this Claude Code usage data and describe the user's interaction style. + prompt: `Analyze this OpenClaude usage data and describe the user's interaction style. RESPOND WITH ONLY A VALID JSON OBJECT: { - "narrative": "2-3 paragraphs analyzing HOW the user interacts with Claude Code. Use second person 'you'. Describe patterns: iterate quickly vs detailed upfront specs? Interrupt often or let Claude run? Include specific examples. Use **bold** for key insights.", + "narrative": "2-3 paragraphs analyzing HOW the user interacts with OpenClaude. Use second person 'you'. Describe patterns: iterate quickly vs detailed upfront specs? Interrupt often or let Claude run? Include specific examples. Use **bold** for key insights.", "key_pattern": "One sentence summary of most distinctive interaction style" }`, maxTokens: 8192, }, { name: 'what_works', - prompt: `Analyze this Claude Code usage data and identify what's working well for this user. Use second person ("you"). + prompt: `Analyze this OpenClaude usage data and identify what's working well for this user. Use second person ("you"). RESPOND WITH ONLY A VALID JSON OBJECT: { @@ -1196,7 +1196,7 @@ Include 3 impressive workflows.`, }, { name: 'friction_analysis', - prompt: `Analyze this Claude Code usage data and identify friction points for this user. Use second person ("you"). + prompt: `Analyze this OpenClaude usage data and identify friction points for this user. Use second person ("you"). RESPOND WITH ONLY A VALID JSON OBJECT: { @@ -1211,7 +1211,7 @@ Include 3 friction categories with 2 examples each.`, }, { name: 'suggestions', - prompt: `Analyze this Claude Code usage data and suggest improvements. + prompt: `Analyze this OpenClaude usage data and suggest improvements. ## CC FEATURES REFERENCE (pick from these for features_to_try): 1. **MCP Servers**: Connect Claude to external tools, databases, and APIs via Model Context Protocol. @@ -1254,7 +1254,7 @@ IMPORTANT for features_to_try: Pick 2-3 from the CC FEATURES REFERENCE above. In }, { name: 'on_the_horizon', - prompt: `Analyze this Claude Code usage data and identify future opportunities. + prompt: `Analyze this OpenClaude usage data and identify future opportunities. RESPOND WITH ONLY A VALID JSON OBJECT: { @@ -1271,7 +1271,7 @@ Include 3 opportunities. Think BIG - autonomous workflows, parallel agents, iter ? [ { name: 'cc_team_improvements', - prompt: `Analyze this Claude Code usage data and suggest product improvements for the CC team. + prompt: `Analyze this OpenClaude usage data and suggest product improvements for the CC team. RESPOND WITH ONLY A VALID JSON OBJECT: { @@ -1285,7 +1285,7 @@ Include 2-3 improvements based on friction patterns observed.`, }, { name: 'model_behavior_improvements', - prompt: `Analyze this Claude Code usage data and suggest model behavior improvements. + prompt: `Analyze this OpenClaude usage data and suggest model behavior improvements. RESPOND WITH ONLY A VALID JSON OBJECT: { @@ -1301,7 +1301,7 @@ Include 2-3 improvements based on friction patterns observed.`, : []), { name: 'fun_ending', - prompt: `Analyze this Claude Code usage data and find a memorable moment. + prompt: `Analyze this OpenClaude usage data and find a memorable moment. RESPOND WITH ONLY A VALID JSON OBJECT: { @@ -1555,7 +1555,7 @@ async function generateParallelInsights( .join('\n') || '' // Now generate "At a Glance" with access to other sections' outputs - const atAGlancePrompt = `You're writing an "At a Glance" summary for a Claude Code usage insights report for Claude Code users. The goal is to help them understand their usage and improve how they can use Claude better, especially as models improve. + const atAGlancePrompt = `You're writing an "At a Glance" summary for a OpenClaude usage insights report for OpenClaude users. The goal is to help them understand their usage and improve how they can use Claude better, especially as models improve. Use this 4-part structure: @@ -1563,7 +1563,7 @@ Use this 4-part structure: 2. **What's hindering you** - Split into (a) Claude's fault (misunderstandings, wrong approaches, bugs) and (b) user-side friction (not providing enough context, environment issues -- ideally more general than just one project). Be honest but constructive. -3. **Quick wins to try** - Specific Claude Code features they could try from the examples below, or a workflow technique if you think it's really compelling. (Avoid stuff like "Ask Claude to confirm before taking actions" or "Type out more context up front" which are less compelling.) +3. **Quick wins to try** - Specific OpenClaude features they could try from the examples below, or a workflow technique if you think it's really compelling. (Avoid stuff like "Ask Claude to confirm before taking actions" or "Type out more context up front" which are less compelling.) 4. **Ambitious workflows for better models** - As we move to much more capable models over the next 3-6 months, what should they prepare for? What workflows that seem impossible now will become possible? Draw from the appropriate section below. @@ -1826,7 +1826,7 @@ function generateHtmlReport( const interactionStyle = insights.interaction_style const interactionHtml = interactionStyle?.narrative ? ` -

How You Use Claude Code

+

How You Use OpenClaude

${markdownToHtml(interactionStyle.narrative)} ${interactionStyle.key_pattern ? `
Key pattern: ${escapeHtml(interactionStyle.key_pattern)}
` : ''} @@ -1890,7 +1890,7 @@ function generateHtmlReport(

Existing CC Features to Try

Suggested CLAUDE.md Additions

-

Just copy this into Claude Code to add it to your CLAUDE.md.

+

Just copy this into OpenClaude to add it to your CLAUDE.md.

@@ -1915,7 +1915,7 @@ function generateHtmlReport( ${ suggestions.features_to_try && suggestions.features_to_try.length > 0 ? ` -

Just copy this into Claude Code and it'll set it up for you.

+

Just copy this into OpenClaude and it'll set it up for you.

${suggestions.features_to_try .map( @@ -1949,8 +1949,8 @@ function generateHtmlReport( ${ suggestions.usage_patterns && suggestions.usage_patterns.length > 0 ? ` -

New Ways to Use Claude Code

-

Just copy this into Claude Code and it'll walk you through it.

+

New Ways to Use OpenClaude

+

Just copy this into OpenClaude and it'll walk you through it.

${suggestions.usage_patterns .map( @@ -1963,7 +1963,7 @@ function generateHtmlReport( pat.copyable_prompt ? `
-
Paste into Claude Code:
+
Paste into OpenClaude:
${escapeHtml(pat.copyable_prompt)} @@ -1998,7 +1998,7 @@ function generateHtmlReport(
${escapeHtml(opp.title || '')}
${escapeHtml(opp.whats_possible || '')}
${opp.how_to_try ? `
Getting started: ${escapeHtml(opp.how_to_try)}
` : ''} - ${opp.copyable_prompt ? `
Paste into Claude Code:
${escapeHtml(opp.copyable_prompt)}
` : ''} + ${opp.copyable_prompt ? `
Paste into OpenClaude:
${escapeHtml(opp.copyable_prompt)}
` : ''}
`, ) @@ -2305,13 +2305,13 @@ function generateHtmlReport( - Claude Code Insights + OpenClaude Insights
-

Claude Code Insights

+

OpenClaude Insights

${data.total_messages.toLocaleString()} messages across ${data.total_sessions} sessions${data.total_sessions_scanned && data.total_sessions_scanned > data.total_sessions ? ` (${data.total_sessions_scanned.toLocaleString()} total)` : ''} | ${data.date_range.start} to ${data.date_range.end}

${atAGlanceHtml} @@ -2377,7 +2377,7 @@ function generateHtmlReport( data.multi_clauding.overlap_events === 0 ? `

- No parallel session usage detected. You typically work with one Claude Code session at a time. + No parallel session usage detected. You typically work with one OpenClaude session at a time.

` : ` @@ -2396,7 +2396,7 @@ function generateHtmlReport(

- You run multiple Claude Code sessions simultaneously. Multi-clauding is detected when sessions + You run multiple OpenClaude sessions simultaneously. Multi-clauding is detected when sessions overlap in time, suggesting parallel workflows.

` @@ -2836,7 +2836,7 @@ function safeKeys(obj: Record | undefined | null): string[] { const usageReport: Command = { type: 'prompt', name: 'insights', - description: 'Generate a report analyzing your Claude Code sessions', + description: 'Generate a report analyzing your OpenClaude sessions', contentLength: 0, // Dynamic content progressMessage: 'analyzing your sessions', source: 'builtin', @@ -2874,7 +2874,7 @@ ${atAGlance.quick_wins ? `**Quick wins to try:** ${atAGlance.quick_wins} See _Fe ${atAGlance.ambitious_workflows ? `**Ambitious workflows:** ${atAGlance.ambitious_workflows} See _On the Horizon_.` : ''}` : '_No insights generated_' - const header = `# Claude Code Insights + const header = `# OpenClaude Insights ${stats} ${data.date_range.start} to ${data.date_range.end} @@ -2888,7 +2888,7 @@ Your full shareable insights report is ready: ${reportUrl}${uploadHint}` return [ { type: 'text', - text: `The user just ran /insights to generate a usage report analyzing their Claude Code sessions. + text: `The user just ran /insights to generate a usage report analyzing their OpenClaude sessions. Here is the full insights data: ${jsonStringify(insights, null, 2)} diff --git a/src/commands/install.tsx b/src/commands/install.tsx index 0ea7a84a..c04fc168 100644 --- a/src/commands/install.tsx +++ b/src/commands/install.tsx @@ -210,12 +210,12 @@ function Install({ useEffect(() => { if (state.type === 'success') { // Give success message time to render before exiting - setTimeout(onDone, 2000, 'Claude Code installation completed successfully', { + setTimeout(onDone, 2000, 'OpenClaude installation completed successfully', { display: 'system' as const }); } else if (state.type === 'error') { // Give error message time to render before exiting - setTimeout(onDone, 3000, 'Claude Code installation failed', { + setTimeout(onDone, 3000, 'OpenClaude installation failed', { display: 'system' as const }); } @@ -226,7 +226,7 @@ function Install({ {state.type === 'cleaning-npm' && Cleaning up old npm installations...} {state.type === 'installing' && - Installing Claude Code native build {state.version}... + Installing OpenClaude native build {state.version}... } {state.type === 'setting-up' && Setting up launcher and shell integration...} @@ -237,7 +237,7 @@ function Install({ - Claude Code successfully installed! + OpenClaude successfully installed! @@ -254,7 +254,7 @@ function Install({ Next: Run - claude --help + openclaude --help to get started @@ -279,7 +279,7 @@ function Install({ export const install = { type: 'local-jsx' as const, name: 'install', - description: 'Install Claude Code native build', + description: 'Install OpenClaude native build', argumentHint: '[options]', async call(onDone: (result: string, options?: { display?: CommandResultDisplay; diff --git a/src/commands/mcp/addCommand.ts b/src/commands/mcp/addCommand.ts index aeb3bc05..d0d75ee0 100644 --- a/src/commands/mcp/addCommand.ts +++ b/src/commands/mcp/addCommand.ts @@ -34,16 +34,16 @@ export function registerMcpAddCommand(mcp: Command): void { mcp .command('add [args...]') .description( - 'Add an MCP server to Claude Code.\n\n' + + 'Add an MCP server to OpenClaude.\n\n' + 'Examples:\n' + ' # Add HTTP server:\n' + - ' claude mcp add --transport http sentry https://mcp.sentry.dev/mcp\n\n' + + ' openclaude mcp add --transport http sentry https://mcp.sentry.dev/mcp\n\n' + ' # Add HTTP server with headers:\n' + - ' claude mcp add --transport http corridor https://app.corridor.dev/api/mcp --header "Authorization: Bearer ..."\n\n' + + ' openclaude mcp add --transport http corridor https://app.corridor.dev/api/mcp --header "Authorization: Bearer ..."\n\n' + ' # Add stdio server with environment variables:\n' + - ' claude mcp add -e API_KEY=xxx my-server -- npx my-mcp-server\n\n' + + ' openclaude mcp add -e API_KEY=xxx my-server -- npx my-mcp-server\n\n' + ' # Add stdio server with subprocess flags:\n' + - ' claude mcp add my-server -- my-command --some-flag arg1', + ' openclaude mcp add my-server -- my-command --some-flag arg1', ) .option( '-s, --scope ', @@ -75,7 +75,7 @@ export function registerMcpAddCommand(mcp: Command): void { .addOption( new Option( '--xaa', - "Enable XAA (SEP-990) for this server. Requires 'claude mcp xaa setup' first. Also requires --client-id and --client-secret (for the MCP server's AS).", + "Enable XAA (SEP-990) for this server. Requires 'openclaude mcp xaa setup' first. Also requires --client-id and --client-secret (for the MCP server's AS).", ).hideHelp(!isXaaEnabled()), ) .action(async (name, commandOrUrl, args, options) => { @@ -87,12 +87,12 @@ export function registerMcpAddCommand(mcp: Command): void { if (!name) { cliError( 'Error: Server name is required.\n' + - 'Usage: claude mcp add [args...]', + 'Usage: openclaude mcp add [args...]', ) } else if (!actualCommand) { cliError( 'Error: Command is required when server name is provided.\n' + - 'Usage: claude mcp add [args...]', + 'Usage: openclaude mcp add [args...]', ) } @@ -113,7 +113,7 @@ export function registerMcpAddCommand(mcp: Command): void { if (!options.clientSecret) missing.push('--client-secret') if (!getXaaIdpSettings()) { missing.push( - "'claude mcp xaa setup' (settings.xaaIdp not configured)", + "'openclaude mcp xaa setup' (settings.xaaIdp not configured)", ) } if (missing.length) { @@ -254,10 +254,10 @@ export function registerMcpAddCommand(mcp: Command): void { `\nWarning: The command "${actualCommand}" looks like a URL, but is being interpreted as a stdio server as --transport was not specified.\n`, ) process.stderr.write( - `If this is an HTTP server, use: claude mcp add --transport http ${name} ${actualCommand}\n`, + `If this is an HTTP server, use: openclaude mcp add --transport http ${name} ${actualCommand}\n`, ) process.stderr.write( - `If this is an SSE server, use: claude mcp add --transport sse ${name} ${actualCommand}\n`, + `If this is an SSE server, use: openclaude mcp add --transport sse ${name} ${actualCommand}\n`, ) } diff --git a/src/commands/mcp/xaaIdpCommand.ts b/src/commands/mcp/xaaIdpCommand.ts index df8a8881..e208e8d2 100644 --- a/src/commands/mcp/xaaIdpCommand.ts +++ b/src/commands/mcp/xaaIdpCommand.ts @@ -170,7 +170,7 @@ export function registerMcpXaaIdpCommand(mcp: Command): void { const idp = getXaaIdpSettings() if (!idp) { return cliError( - "Error: no XAA IdP connection. Run 'claude mcp xaa setup' first.", + "Error: no XAA IdP connection. Run 'openclaude mcp xaa setup' first.", ) } @@ -235,7 +235,7 @@ export function registerMcpXaaIdpCommand(mcp: Command): void { `Client secret: ${hasSecret ? '(stored in keychain)' : '(not set — PKCE-only)'}\n`, ) process.stdout.write( - `Logged in: ${hasIdToken ? 'yes (id_token cached)' : "no — run 'claude mcp xaa login'"}\n`, + `Logged in: ${hasIdToken ? 'yes (id_token cached)' : "no — run 'openclaude mcp xaa login'"}\n`, ) cliOk() }) diff --git a/src/commands/model/index.ts b/src/commands/model/index.ts index 5554906e..dc70bab2 100644 --- a/src/commands/model/index.ts +++ b/src/commands/model/index.ts @@ -6,7 +6,7 @@ export default { type: 'local-jsx', name: 'model', get description() { - return `Set the AI model for Claude Code (currently ${renderModelName(getMainLoopModel())})` + return `Set the AI model for OpenClaude (currently ${renderModelName(getMainLoopModel())})` }, argumentHint: '[model]', get immediate() { diff --git a/src/commands/plugin/DiscoverPlugins.tsx b/src/commands/plugin/DiscoverPlugins.tsx index 370344c3..7cd26214 100644 --- a/src/commands/plugin/DiscoverPlugins.tsx +++ b/src/commands/plugin/DiscoverPlugins.tsx @@ -713,7 +713,7 @@ function EmptyStateMessage(t0) { { let t1; if ($[0] === Symbol.for("react.memo_cache_sentinel")) { - t1 = <>Git is required to install marketplaces.Please install git and restart Claude Code.; + t1 = <>Git is required to install marketplaces.Please install git and restart OpenClaude.; $[0] = t1; } else { t1 = $[0]; diff --git a/src/commands/plugin/index.tsx b/src/commands/plugin/index.tsx index 64383573..6719a8e6 100644 --- a/src/commands/plugin/index.tsx +++ b/src/commands/plugin/index.tsx @@ -3,7 +3,7 @@ const plugin = { type: 'local-jsx', name: 'plugin', aliases: ['plugins', 'marketplace'], - description: 'Manage Claude Code plugins', + description: 'Manage OpenClaude plugins', immediate: true, load: () => import('./plugin.js') } satisfies Command; diff --git a/src/commands/remote-setup/index.ts b/src/commands/remote-setup/index.ts index 7b291df1..1dbd6536 100644 --- a/src/commands/remote-setup/index.ts +++ b/src/commands/remote-setup/index.ts @@ -6,7 +6,7 @@ const web = { type: 'local-jsx', name: 'web-setup', description: - 'Setup Claude Code on the web (requires connecting your GitHub account)', + 'Setup OpenClaude on the web (requires connecting your GitHub account)', availability: ['claude-ai'], isEnabled: () => getFeatureValue_CACHED_MAY_BE_STALE('tengu_cobalt_lantern', false) && diff --git a/src/commands/review.ts b/src/commands/review.ts index f86ada0b..85ebd847 100644 --- a/src/commands/review.ts +++ b/src/commands/review.ts @@ -48,7 +48,7 @@ const review: Command = { const ultrareview: Command = { type: 'local-jsx', name: 'ultrareview', - description: `~10–20 min · Finds and verifies bugs in your branch. Runs in Claude Code on the web. See ${CCR_TERMS_URL}`, + description: `~10–20 min · Finds and verifies bugs in your branch. Runs in OpenClaude on the web. See ${CCR_TERMS_URL}`, isEnabled: () => isUltrareviewEnabled(), load: () => import('./review/ultrareviewCommand.js'), } diff --git a/src/commands/session/session.tsx b/src/commands/session/session.tsx index 243c973b..56b387b4 100644 --- a/src/commands/session/session.tsx +++ b/src/commands/session/session.tsx @@ -57,7 +57,7 @@ function SessionInfo(t0) { if (!remoteSessionUrl) { let t4; if ($[4] === Symbol.for("react.memo_cache_sentinel")) { - t4 = Not in remote mode. Start with `claude --remote` to use this command.(press esc to close); + t4 = Not in remote mode. Start with `openclaude --remote` to use this command.(press esc to close); $[4] = t4; } else { t4 = $[4]; diff --git a/src/commands/stats/index.ts b/src/commands/stats/index.ts index c9680d62..d109f870 100644 --- a/src/commands/stats/index.ts +++ b/src/commands/stats/index.ts @@ -3,7 +3,7 @@ import type { Command } from '../../commands.js' const stats = { type: 'local-jsx', name: 'stats', - description: 'Show your Claude Code usage statistics and activity', + description: 'Show your OpenClaude usage statistics and activity', load: () => import('./stats.js'), } satisfies Command diff --git a/src/commands/status/index.ts b/src/commands/status/index.ts index 768b3582..12b7ca21 100644 --- a/src/commands/status/index.ts +++ b/src/commands/status/index.ts @@ -4,7 +4,7 @@ const status = { type: 'local-jsx', name: 'status', description: - 'Show Claude Code status including version, model, account, API connectivity, and tool statuses', + 'Show OpenClaude status including version, model, account, API connectivity, and tool statuses', immediate: true, load: () => import('./status.js'), } satisfies Command diff --git a/src/commands/statusline.tsx b/src/commands/statusline.tsx index 2e577815..78e0131d 100644 --- a/src/commands/statusline.tsx +++ b/src/commands/statusline.tsx @@ -3,7 +3,7 @@ import type { Command } from '../commands.js'; import { AGENT_TOOL_NAME } from '../tools/AgentTool/constants.js'; const statusline = { type: 'prompt', - description: "Set up Claude Code's status line UI", + description: "Set up OpenClaude's status line UI", contentLength: 0, // Dynamic content aliases: [], diff --git a/src/commands/stickers/index.ts b/src/commands/stickers/index.ts index ebca4530..e8fbe67d 100644 --- a/src/commands/stickers/index.ts +++ b/src/commands/stickers/index.ts @@ -3,7 +3,7 @@ import type { Command } from '../../commands.js' const stickers = { type: 'local', name: 'stickers', - description: 'Order Claude Code stickers', + description: 'Order OpenClaude stickers', supportsNonInteractive: false, load: () => import('./stickers.js'), } satisfies Command diff --git a/src/commands/thinkback/index.ts b/src/commands/thinkback/index.ts index eceddde8..23666628 100644 --- a/src/commands/thinkback/index.ts +++ b/src/commands/thinkback/index.ts @@ -4,7 +4,7 @@ import { checkStatsigFeatureGate_CACHED_MAY_BE_STALE } from '../../services/anal const thinkback = { type: 'local-jsx', name: 'think-back', - description: 'Your 2025 Claude Code Year in Review', + description: 'Your 2025 OpenClaude Year in Review', isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE('tengu_thinkback'), load: () => import('./thinkback.js'), diff --git a/src/commands/ultraplan.tsx b/src/commands/ultraplan.tsx index d3b5e083..3e935cad 100644 --- a/src/commands/ultraplan.tsx +++ b/src/commands/ultraplan.tsx @@ -115,7 +115,7 @@ function startDetachedPoll(taskId: string, sessionId: string, url: string, getAp ultraplanSessionUrl: undefined } : prev); enqueuePendingNotification({ - value: [`Ultraplan approved — executing in Claude Code on the web. Follow along at: ${url}`, '', 'Results will land as a pull request when the remote session finishes. There is nothing to do here.'].join('\n'), + value: [`Ultraplan approved — executing in OpenClaude on the web. Follow along at: ${url}`, '', 'Results will land as a pull request when the remote session finishes. There is nothing to do here.'].join('\n'), mode: 'task-notification' }); } else { @@ -184,10 +184,10 @@ function startDetachedPoll(taskId: string, sessionId: string, url: string, getAp // multi-second teleportToRemote round-trip. function buildLaunchMessage(disconnectedBridge?: boolean): string { const prefix = disconnectedBridge ? `${REMOTE_CONTROL_DISCONNECTED_MSG} ` : ''; - return `${DIAMOND_OPEN} ultraplan\n${prefix}Starting Claude Code on the web…`; + return `${DIAMOND_OPEN} ultraplan\n${prefix}Starting OpenClaude on the web…`; } function buildSessionReadyMessage(url: string): string { - return `${DIAMOND_OPEN} ultraplan · Monitor progress in Claude Code on the web ${url}\nYou can continue working — when the ${DIAMOND_OPEN} fills, press ↓ to view results`; + return `${DIAMOND_OPEN} ultraplan · Monitor progress in OpenClaude on the web ${url}\nYou can continue working — when the ${DIAMOND_OPEN} fills, press ↓ to view results`; } function buildAlreadyActiveMessage(url: string | undefined): string { return url ? `ultraplan: already polling. Open ${url} to check status, or wait for the plan to land here.` : 'ultraplan: already launching. Please wait for the session to start.'; @@ -272,7 +272,7 @@ export async function launchUltraplan(opts: { return [ // Rendered via ; raw is tokenized as HTML // and dropped. Backslash-escape the brackets. - 'Usage: /ultraplan \\, or include "ultraplan" anywhere', 'in your prompt', '', 'Advanced multi-agent plan mode with our most powerful model', '(Opus). Runs in Claude Code on the web. When the plan is ready,', 'you can execute it in the web session or send it back here.', 'Terminal stays free while the remote plans.', 'Requires /login.', '', `Terms: ${CCR_TERMS_URL}`].join('\n'); + 'Usage: /ultraplan \\, or include "ultraplan" anywhere', 'in your prompt', '', 'Advanced multi-agent plan mode with our most powerful model', '(Opus). Runs in OpenClaude on the web. When the plan is ready,', 'you can execute it in the web session or send it back here.', 'Terminal stays free while the remote plans.', 'Requires /login.', '', `Terms: ${CCR_TERMS_URL}`].join('\n'); } // Set synchronously before the detached flow to prevent duplicate launches @@ -461,7 +461,7 @@ const call: LocalJSXCommandCall = async (onDone, context, args) => { export default { type: 'local-jsx', name: 'ultraplan', - description: `~10–30 min · Claude Code on the web drafts an advanced plan you can edit and approve. See ${CCR_TERMS_URL}`, + description: `~10–30 min · OpenClaude on the web drafts an advanced plan you can edit and approve. See ${CCR_TERMS_URL}`, argumentHint: '', isEnabled: () => "external" === 'ant', load: () => Promise.resolve({ diff --git a/src/components/ClaudeInChromeOnboarding.tsx b/src/components/ClaudeInChromeOnboarding.tsx index 94bbad41..61686d4c 100644 --- a/src/components/ClaudeInChromeOnboarding.tsx +++ b/src/components/ClaudeInChromeOnboarding.tsx @@ -56,7 +56,7 @@ export function ClaudeInChromeOnboarding(t0) { } let t5; if ($[6] !== t4) { - t5 = Claude in Chrome works with the Chrome extension to let you control your browser directly from Claude Code. You can navigate websites, fill forms, capture screenshots, record GIFs, and debug with console logs and network requests.{t4}; + t5 = Claude in Chrome works with the Chrome extension to let you control your browser directly from OpenClaude. You can navigate websites, fill forms, capture screenshots, record GIFs, and debug with console logs and network requests.{t4}; $[6] = t4; $[7] = t5; } else { diff --git a/src/components/ConsoleOAuthFlow.tsx b/src/components/ConsoleOAuthFlow.tsx index 99b05c8f..65a06ce4 100644 --- a/src/components/ConsoleOAuthFlow.tsx +++ b/src/components/ConsoleOAuthFlow.tsx @@ -262,7 +262,7 @@ export function ConsoleOAuthFlow({ state: 'success' }); void sendNotification({ - message: 'Claude Code login successful', + message: 'OpenClaude login successful', notificationType: 'auth_success' }, terminal); } @@ -384,7 +384,7 @@ function OAuthStatusMessage({ case 'idle': { const promptText = startingMessage || - 'Claude Code can be used with your Claude subscription or billed based on API usage through your Console account.' + 'OpenClaude can be used with your Claude subscription or billed based on API usage through your Console account.' const loginOptions = [ { @@ -512,7 +512,7 @@ function OAuthStatusMessage({ - Creating API key for Claude Code… + Creating API key for OpenClaude… ) diff --git a/src/components/DesktopUpsell/DesktopUpsellStartup.tsx b/src/components/DesktopUpsell/DesktopUpsellStartup.tsx index 3355245f..25576bb4 100644 --- a/src/components/DesktopUpsell/DesktopUpsellStartup.tsx +++ b/src/components/DesktopUpsell/DesktopUpsellStartup.tsx @@ -90,7 +90,7 @@ export function DesktopUpsellStartup(t0) { let t3; if ($[5] === Symbol.for("react.memo_cache_sentinel")) { t3 = { - label: "Open in Claude Code Desktop", + label: "Open in Claude desktop app", value: "try" as const }; $[5] = t3; @@ -120,7 +120,7 @@ export function DesktopUpsellStartup(t0) { const options = t5; let t6; if ($[8] === Symbol.for("react.memo_cache_sentinel")) { - t6 = Same Claude Code with visual diffs, live app preview, parallel sessions, and more.; + t6 = Use OpenClaude in the Claude desktop app for visual diffs, live app preview, parallel sessions, and more.; $[8] = t6; } else { t6 = $[8]; @@ -135,7 +135,7 @@ export function DesktopUpsellStartup(t0) { } let t8; if ($[11] !== handleSelect || $[12] !== t7) { - t8 = {t6}; $[11] = handleSelect; $[12] = t7; $[13] = t8; diff --git a/src/components/HelpV2/HelpV2.tsx b/src/components/HelpV2/HelpV2.tsx index 15205ba3..7a88c924 100644 --- a/src/components/HelpV2/HelpV2.tsx +++ b/src/components/HelpV2/HelpV2.tsx @@ -138,7 +138,7 @@ export function HelpV2(t0) { const t5 = insideModal ? undefined : maxHeight; let t6; if ($[31] !== tabs) { - t6 = {tabs}; + t6 = {tabs}; $[31] = tabs; $[32] = t6; } else { @@ -146,7 +146,7 @@ export function HelpV2(t0) { } let t7; if ($[33] === Symbol.for("react.memo_cache_sentinel")) { - t7 = For more help:{" "}; + t7 = For more help:{" "}; $[33] = t7; } else { t7 = $[33]; diff --git a/src/components/IdeOnboardingDialog.tsx b/src/components/IdeOnboardingDialog.tsx index 3ede8b4c..fd94ebb0 100644 --- a/src/components/IdeOnboardingDialog.tsx +++ b/src/components/IdeOnboardingDialog.tsx @@ -70,7 +70,7 @@ export function IdeOnboardingDialog(t0) { } let t6; if ($[8] !== ideName) { - t6 = <>{t5}Welcome to Claude Code for {ideName}; + t6 = <>{t5}Welcome to OpenClaude for {ideName}; $[8] = ideName; $[9] = t6; } else { diff --git a/src/components/LogoV2/ChannelsNotice.tsx b/src/components/LogoV2/ChannelsNotice.tsx index bdbc9e5f..39f5d91c 100644 --- a/src/components/LogoV2/ChannelsNotice.tsx +++ b/src/components/LogoV2/ChannelsNotice.tsx @@ -135,7 +135,7 @@ export function ChannelsNotice() { } let t2; if ($[24] !== flag) { - t2 = Experimental · inbound messages will be pushed into this session, this carries prompt injection risks. Restart Claude Code without {flag} to disable.; + t2 = Experimental · inbound messages will be pushed into this session, this carries prompt injection risks. Restart OpenClaude without {flag} to disable.; $[24] = flag; $[25] = t2; } else { diff --git a/src/components/LogoV2/LogoV2.tsx b/src/components/LogoV2/LogoV2.tsx index 883cb9f8..b42e8dac 100644 --- a/src/components/LogoV2/LogoV2.tsx +++ b/src/components/LogoV2/LogoV2.tsx @@ -250,8 +250,8 @@ export function LogoV2() { } const layoutMode = getLayoutMode(columns); const userTheme = resolveThemeSetting(getGlobalConfig().theme); - const borderTitle = ` ${color("text", userTheme)("Open Claude")} ${color("inactive", userTheme)(`v${version}`)} `; - const compactBorderTitle = color("text", userTheme)(" Open Claude "); + const borderTitle = ` ${color("text", userTheme)("OpenClaude")} ${color("inactive", userTheme)(`v${version}`)} `; + const compactBorderTitle = color("text", userTheme)(" OpenClaude "); if (layoutMode === "compact") { let welcomeMessage = formatWelcomeMessage(username); if (stringWidth(welcomeMessage) > columns - 4) { diff --git a/src/components/LogoV2/WelcomeV2.tsx b/src/components/LogoV2/WelcomeV2.tsx index 0eecb93c..b68ad966 100644 --- a/src/components/LogoV2/WelcomeV2.tsx +++ b/src/components/LogoV2/WelcomeV2.tsx @@ -9,7 +9,7 @@ export function WelcomeV2() { if (env.terminal === "Apple_Terminal") { let t0; if ($[0] !== theme) { - t0 = ; + t0 = ; $[0] = theme; $[1] = t0; } else { @@ -28,7 +28,7 @@ export function WelcomeV2() { let t7; let t8; if ($[2] === Symbol.for("react.memo_cache_sentinel")) { - t0 = {"Welcome to Open Claude"} v{MACRO.DISPLAY_VERSION ?? MACRO.VERSION} ; + t0 = {"Welcome to OpenClaude"} v{MACRO.DISPLAY_VERSION ?? MACRO.VERSION} ; t1 = {"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"}; t2 = {" "}; t3 = {" "}; @@ -113,7 +113,7 @@ export function WelcomeV2() { let t5; let t6; if ($[18] === Symbol.for("react.memo_cache_sentinel")) { - t0 = {"Welcome to Open Claude"} v{MACRO.DISPLAY_VERSION ?? MACRO.VERSION} ; + t0 = {"Welcome to OpenClaude"} v{MACRO.DISPLAY_VERSION ?? MACRO.VERSION} ; t1 = {"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"}; t2 = {" "}; t3 = {" * \u2588\u2588\u2588\u2588\u2588\u2593\u2593\u2591 "}; diff --git a/src/components/LogoV2/feedConfigs.tsx b/src/components/LogoV2/feedConfigs.tsx index a1a834b3..97d22d94 100644 --- a/src/components/LogoV2/feedConfigs.tsx +++ b/src/components/LogoV2/feedConfigs.tsx @@ -41,7 +41,7 @@ export function createWhatsNewFeed(releaseNotes: string[]): FeedConfig { }); const emptyMessage = "external" === 'ant' ? 'Unable to fetch latest claude-cli-internal commits' : 'Check /release-notes for recent updates'; return { - title: "external" === 'ant' ? "Open Claude Updates [internal-only: Latest CC commits]" : "Open Claude Updates", + title: "external" === 'ant' ? "OpenClaude Updates [internal-only: Latest CC commits]" : "OpenClaude Updates", lines, footer: lines.length > 0 ? '/release-notes for more' : undefined, emptyMessage @@ -60,7 +60,7 @@ export function createProjectOnboardingFeed(steps: Step[]): FeedConfig { text: `${checkmark}${text}` }; }); - const warningText = getCwd() === homedir() ? 'Note: You have launched claude in your home directory. For the best experience, launch it in a project directory instead.' : undefined; + const warningText = getCwd() === homedir() ? 'Note: You have launched openclaude in your home directory. For the best experience, launch it in a project directory instead.' : undefined; if (warningText) { lines.push({ text: warningText @@ -73,7 +73,7 @@ export function createProjectOnboardingFeed(steps: Step[]): FeedConfig { } export function createGuestPassesFeed(): FeedConfig { const reward = getCachedReferrerReward(); - const subtitle = reward ? `Share Open Claude and earn ${formatCreditAmount(reward)} of extra usage` : 'Share Open Claude with friends'; + const subtitle = reward ? `Share OpenClaude and earn ${formatCreditAmount(reward)} of extra usage` : 'Share OpenClaude with friends'; return { title: '3 guest passes', lines: [], diff --git a/src/components/ModelPicker.tsx b/src/components/ModelPicker.tsx index 54adbb4d..c35e4544 100644 --- a/src/components/ModelPicker.tsx +++ b/src/components/ModelPicker.tsx @@ -265,7 +265,7 @@ export function ModelPicker(t0) { } else { t15 = $[41]; } - const t16 = headerText ?? "Switch between Claude models. Applies to this session and future Claude Code sessions. For other/previous model names, specify with --model."; + const t16 = headerText ?? "Switch between Claude models. Applies to this session and future OpenClaude sessions. For other/previous model names, specify with --model."; let t17; if ($[42] !== t16) { t17 = {t16}; diff --git a/src/components/Onboarding.tsx b/src/components/Onboarding.tsx index 5da01afa..fc129d13 100644 --- a/src/components/Onboarding.tsx +++ b/src/components/Onboarding.tsx @@ -146,7 +146,7 @@ export function Onboarding({ steps.push({ id: 'terminal-setup', component: - Use Claude Code's terminal setup? + Use OpenClaude's terminal setup? For the optimal coding experience, enable the recommended settings diff --git a/src/components/OutputStylePicker.tsx b/src/components/OutputStylePicker.tsx index 0d603406..b9753772 100644 --- a/src/components/OutputStylePicker.tsx +++ b/src/components/OutputStylePicker.tsx @@ -80,7 +80,7 @@ export function OutputStylePicker(t0) { const t6 = !isStandaloneCommand; let t7; if ($[5] === Symbol.for("react.memo_cache_sentinel")) { - t7 = This changes how Claude Code communicates with you; + t7 = This changes how OpenClaude communicates with you; $[5] = t7; } else { t7 = $[5]; diff --git a/src/components/PromptInput/PromptInput.tsx b/src/components/PromptInput/PromptInput.tsx index 4fea0001..66f934d6 100644 --- a/src/components/PromptInput/PromptInput.tsx +++ b/src/components/PromptInput/PromptInput.tsx @@ -773,7 +773,7 @@ function PromptInput({ if (feature('ULTRAPLAN') && ultraplanTriggers.length) { addNotification({ key: 'ultraplan-active', - text: 'This prompt will launch an ultraplan session in Claude Code on the web', + text: 'This prompt will launch an ultraplan session in OpenClaude on the web', priority: 'immediate', timeoutMs: 5000 }); diff --git a/src/components/ResumeTask.tsx b/src/components/ResumeTask.tsx index b8f5e824..b6ffdc51 100644 --- a/src/components/ResumeTask.tsx +++ b/src/components/ResumeTask.tsx @@ -119,17 +119,17 @@ export function ResumeTask({ return - Loading Claude Code sessions… + Loading OpenClaude sessions… - {retrying ? 'Retrying…' : 'Fetching your Claude Code sessions…'} + {retrying ? 'Retrying…' : 'Fetching your OpenClaude sessions…'} ; } if (loadErrorType) { return - Error loading Claude Code sessions + Error loading OpenClaude sessions {renderErrorSpecificGuidance(loadErrorType)} @@ -143,7 +143,7 @@ export function ResumeTask({ if (sessions.length === 0) { return - No Claude Code sessions found + No OpenClaude sessions found {currentRepo && for {currentRepo}} @@ -261,7 +261,7 @@ function renderErrorSpecificGuidance(errorType: LoadErrorType): React.ReactNode ; case 'other': return - Sorry, Claude Code encountered an error + Sorry, OpenClaude encountered an error ; } } diff --git a/src/components/Stats.tsx b/src/components/Stats.tsx index 8efbe8bd..766fe3ad 100644 --- a/src/components/Stats.tsx +++ b/src/components/Stats.tsx @@ -94,7 +94,7 @@ export function Stats(t0) { const allTimePromise = t1; let t2; if ($[1] === Symbol.for("react.memo_cache_sentinel")) { - t2 = Loading your Claude Code stats…; + t2 = Loading your OpenClaude stats…; $[1] = t2; } else { t2 = $[1]; @@ -242,7 +242,7 @@ function StatsContent(t0) { if (allTimeResult.type === "empty") { let t7; if ($[15] === Symbol.for("react.memo_cache_sentinel")) { - t7 = No stats available yet. Start using Claude Code!; + t7 = No stats available yet. Start using OpenClaude!; $[15] = t7; } else { t7 = $[15]; diff --git a/src/components/TeleportRepoMismatchDialog.tsx b/src/components/TeleportRepoMismatchDialog.tsx index 97d4315d..665322fa 100644 --- a/src/components/TeleportRepoMismatchDialog.tsx +++ b/src/components/TeleportRepoMismatchDialog.tsx @@ -73,7 +73,7 @@ export function TeleportRepoMismatchDialog(t0) { const options = t2; let t3; if ($[8] !== availablePaths.length || $[9] !== errorMessage || $[10] !== handleChange || $[11] !== options || $[12] !== targetRepo || $[13] !== validating) { - t3 = availablePaths.length > 0 ? <>{errorMessage && {errorMessage}}Open Claude Code in {targetRepo}:{validating ? Validating repository… : void handleChange(value_0)} />} : {errorMessage && {errorMessage}}Run openclaude --teleport from a checkout of {targetRepo}; $[8] = availablePaths.length; $[9] = errorMessage; $[10] = handleChange; diff --git a/src/components/TrustDialog/TrustDialog.tsx b/src/components/TrustDialog/TrustDialog.tsx index 782f0807..c7d27aa8 100644 --- a/src/components/TrustDialog/TrustDialog.tsx +++ b/src/components/TrustDialog/TrustDialog.tsx @@ -206,7 +206,7 @@ export function TrustDialog(t0) { if ($[20] === Symbol.for("react.memo_cache_sentinel")) { t16 = {getFsImplementation().cwd()}; t17 = Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what{"'"}s in this folder first.; - t18 = Claude Code{"'"}ll be able to read, edit, and execute files here.; + t18 = OpenClaude{"'"}ll be able to read, edit, and execute files here.; $[20] = t16; $[21] = t17; $[22] = t18; diff --git a/src/components/mcp/ElicitationDialog.tsx b/src/components/mcp/ElicitationDialog.tsx index 518226a5..1e833c5d 100644 --- a/src/components/mcp/ElicitationDialog.tsx +++ b/src/components/mcp/ElicitationDialog.tsx @@ -254,7 +254,7 @@ function ElicitationFormDialog({ // Text fields are always in edit mode when focused — no Enter-to-edit step. const isEditingTextField = currentFieldIsText && !focusedButton; useRegisterOverlay('elicitation'); - useNotifyAfterTimeout('Claude Code needs your input', 'elicitation_dialog'); + useNotifyAfterTimeout('OpenClaude needs your input', 'elicitation_dialog'); // Sync textInputValue when the focused field changes const syncTextInput = useCallback((fieldIndex: number | undefined) => { @@ -1004,7 +1004,7 @@ function ElicitationURLDialog({ const phaseRef = useRef<'prompt' | 'waiting'>('prompt'); const [focusedButton, setFocusedButton] = useState<'accept' | 'decline' | 'open' | 'action' | 'cancel'>('accept'); const showCancel = waitingState?.showCancel ?? false; - useNotifyAfterTimeout('Claude Code needs your input', 'elicitation_url_dialog'); + useNotifyAfterTimeout('OpenClaude needs your input', 'elicitation_url_dialog'); useRegisterOverlay('elicitation-url'); // Keep refs in sync for use in abort handler (avoids re-registering listener) diff --git a/src/components/mcp/MCPRemoteServerMenu.tsx b/src/components/mcp/MCPRemoteServerMenu.tsx index e8d8a6a3..b2fb6b7f 100644 --- a/src/components/mcp/MCPRemoteServerMenu.tsx +++ b/src/components/mcp/MCPRemoteServerMenu.tsx @@ -102,9 +102,9 @@ export function MCPRemoteServerMenu({ if (success) { onComplete?.(`Authentication successful. Connected to ${server.name}.`); } else if (result.client.type === 'needs-auth') { - onComplete?.('Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.'); + onComplete?.('Authentication successful, but server still requires authentication. You may need to manually restart OpenClaude.'); } else { - onComplete?.('Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.'); + onComplete?.('Authentication successful, but server reconnection failed. You may need to manually restart OpenClaude for the changes to take effect.'); } } catch (err) { logEvent('tengu_claudeai_mcp_auth_completed', { @@ -281,11 +281,11 @@ export function MCPRemoteServerMenu({ const message = isEffectivelyAuthenticated ? `Authentication successful. Reconnected to ${server.name}.` : `Authentication successful. Connected to ${server.name}.`; onComplete?.(message); } else if (result_0.client.type === 'needs-auth') { - onComplete?.('Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.'); + onComplete?.('Authentication successful, but server still requires authentication. You may need to manually restart OpenClaude.'); } else { // result.client.type === 'failed' logMCPDebug(server.name, `Reconnection failed after authentication`); - onComplete?.('Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.'); + onComplete?.('Authentication successful, but server reconnection failed. You may need to manually restart OpenClaude for the changes to take effect.'); } } } catch (err_1) { diff --git a/src/components/mcp/MCPSettings.tsx b/src/components/mcp/MCPSettings.tsx index 85545fee..112e6de4 100644 --- a/src/components/mcp/MCPSettings.tsx +++ b/src/components/mcp/MCPSettings.tsx @@ -147,7 +147,7 @@ export function MCPSettings(t0) { return; } if (servers.length === 0 && agentMcpServers.length === 0) { - onComplete("No MCP servers configured. Please run /doctor if this is unexpected. Otherwise, run `claude mcp --help` or visit https://code.claude.com/docs/en/mcp to learn more."); + onComplete("No MCP servers configured. Please run /doctor if this is unexpected. Otherwise, run `openclaude mcp --help` or visit https://github.com/Gitlawb/openclaude to learn more."); } }; t8 = [servers.length, filteredClients.length, agentMcpServers.length, onComplete]; diff --git a/src/components/permissions/ComputerUseApproval/ComputerUseApproval.tsx b/src/components/permissions/ComputerUseApproval/ComputerUseApproval.tsx index 468d4ff4..1f45cf60 100644 --- a/src/components/permissions/ComputerUseApproval/ComputerUseApproval.tsx +++ b/src/components/permissions/ComputerUseApproval/ComputerUseApproval.tsx @@ -161,7 +161,7 @@ function ComputerUseTccPanel(t0) { } let t7; if ($[15] === Symbol.for("react.memo_cache_sentinel")) { - t7 = Grant the missing permissions in System Settings, then select "Try again". macOS may require you to restart Claude Code after granting Screen Recording.; + t7 = Grant the missing permissions in System Settings, then select "Try again". macOS may require you to restart OpenClaude after granting Screen Recording.; $[15] = t7; } else { t7 = $[15]; diff --git a/src/components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx b/src/components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx index e1c0d9c2..48682451 100644 --- a/src/components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx +++ b/src/components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx @@ -730,7 +730,7 @@ export function buildPlanApprovalOptions({ }); if (showUltraplan) { options.push({ - label: 'No, refine with Ultraplan on Claude Code on the web', + label: 'No, refine with Ultraplan on OpenClaude on the web', value: 'ultraplan' }); } diff --git a/src/components/permissions/PermissionRequest.tsx b/src/components/permissions/PermissionRequest.tsx index 209d16d3..7737533b 100644 --- a/src/components/permissions/PermissionRequest.tsx +++ b/src/components/permissions/PermissionRequest.tsx @@ -128,18 +128,18 @@ export type ToolUseConfirm = { function getNotificationMessage(toolUseConfirm: ToolUseConfirm): string { const toolName = toolUseConfirm.tool.userFacingName(toolUseConfirm.input as never); if (toolUseConfirm.tool === ExitPlanModeV2Tool) { - return 'Claude Code needs your approval for the plan'; + return 'OpenClaude needs your approval for the plan'; } if (toolUseConfirm.tool === EnterPlanModeTool) { - return 'Claude Code wants to enter plan mode'; + return 'OpenClaude wants to enter plan mode'; } if (feature('REVIEW_ARTIFACT') && toolUseConfirm.tool === ReviewArtifactTool) { - return 'Claude needs your approval for a review artifact'; + return 'OpenClaude needs your approval for a review artifact'; } if (!toolName || toolName.trim() === '') { - return 'Claude Code needs your attention'; + return 'OpenClaude needs your attention'; } - return `Claude needs your permission to use ${toolName}`; + return `OpenClaude needs your permission to use ${toolName}`; } // TODO: Move this to Tool.renderPermissionRequest diff --git a/src/components/permissions/rules/AddWorkspaceDirectory.tsx b/src/components/permissions/rules/AddWorkspaceDirectory.tsx index 45c6e913..29c02241 100644 --- a/src/components/permissions/rules/AddWorkspaceDirectory.tsx +++ b/src/components/permissions/rules/AddWorkspaceDirectory.tsx @@ -40,7 +40,7 @@ function PermissionDescription() { const $ = _c(1); let t0; if ($[0] === Symbol.for("react.memo_cache_sentinel")) { - t0 = Claude Code will be able to read files in this directory and make edits when auto-accept edits is on.; + t0 = OpenClaude will be able to read files in this directory and make edits when auto-accept edits is on.; $[0] = t0; } else { t0 = $[0]; diff --git a/src/components/permissions/rules/PermissionRuleList.tsx b/src/components/permissions/rules/PermissionRuleList.tsx index 8d02b4dd..0c1f0547 100644 --- a/src/components/permissions/rules/PermissionRuleList.tsx +++ b/src/components/permissions/rules/PermissionRuleList.tsx @@ -388,9 +388,9 @@ function PermissionRulesTab(t0) { let t8; if ($[10] === Symbol.for("react.memo_cache_sentinel")) { t8 = { - allow: "Claude Code won't ask before using allowed tools.", - ask: "Claude Code will always ask for confirmation before using these tools.", - deny: "Claude Code will always reject requests to use denied tools." + allow: "OpenClaude won't ask before using allowed tools.", + ask: "OpenClaude will always ask for confirmation before using these tools.", + deny: "OpenClaude will always reject requests to use denied tools." }; $[10] = t8; } else { @@ -1098,7 +1098,7 @@ export function PermissionRuleList(t0) { } let t28; if ($[89] === Symbol.for("react.memo_cache_sentinel")) { - t28 = Claude Code can read files in the workspace, and make edits when auto-accept edits is on.; + t28 = OpenClaude can read files in the workspace, and make edits when auto-accept edits is on.; $[89] = t28; } else { t28 = $[89]; diff --git a/src/components/permissions/rules/RemoveWorkspaceDirectory.tsx b/src/components/permissions/rules/RemoveWorkspaceDirectory.tsx index 29f0d143..7e6384a0 100644 --- a/src/components/permissions/rules/RemoveWorkspaceDirectory.tsx +++ b/src/components/permissions/rules/RemoveWorkspaceDirectory.tsx @@ -68,7 +68,7 @@ export function RemoveWorkspaceDirectory(t0) { } let t4; if ($[10] === Symbol.for("react.memo_cache_sentinel")) { - t4 = Claude Code will no longer have access to files in this directory.; + t4 = OpenClaude will no longer have access to files in this directory.; $[10] = t4; } else { t4 = $[10]; diff --git a/src/components/tasks/RemoteSessionDetailDialog.tsx b/src/components/tasks/RemoteSessionDetailDialog.tsx index d5f4e4f9..1791acfa 100644 --- a/src/components/tasks/RemoteSessionDetailDialog.tsx +++ b/src/components/tasks/RemoteSessionDetailDialog.tsx @@ -44,7 +44,7 @@ type Props = { export function formatToolUseSummary(name: string, input: unknown): string { // plan_ready phase is only reached via ExitPlanMode tool if (name === EXIT_PLAN_MODE_V2_TOOL_NAME) { - return 'Review the plan in Claude Code on the web'; + return 'Review the plan in OpenClaude on the web'; } if (!input || typeof input !== 'object') return name; // AskUserQuestion: show the question text as a CTA, not the tool name. @@ -168,7 +168,7 @@ function UltraplanSessionDetail(t0) { } let t7; if ($[12] === Symbol.for("react.memo_cache_sentinel")) { - t7 = This will terminate the Claude Code on the web session.; + t7 = This will terminate the OpenClaude on the web session.; $[12] = t7; } else { t7 = $[12]; @@ -311,7 +311,7 @@ function UltraplanSessionDetail(t0) { let t19; if ($[47] === Symbol.for("react.memo_cache_sentinel")) { t19 = { - label: "Review in Claude Code on the web", + label: "Review in OpenClaude on the web", value: "open" as const }; $[47] = t19; @@ -595,13 +595,13 @@ function ReviewSessionDetail(t0) { let t3; if ($[11] !== completed || $[12] !== onKill || $[13] !== running) { t3 = completed ? [{ - label: "Open in Claude Code on the web", + label: "Open in OpenClaude on the web", value: "open" }, { label: "Dismiss", value: "dismiss" }] : [{ - label: "Open in Claude Code on the web", + label: "Open in OpenClaude on the web", value: "open" }, ...(onKill && running ? [{ label: "Stop ultrareview", diff --git a/src/entrypoints/cli.tsx b/src/entrypoints/cli.tsx index ca5f925c..0f6260bd 100644 --- a/src/entrypoints/cli.tsx +++ b/src/entrypoints/cli.tsx @@ -80,7 +80,7 @@ async function main(): Promise { if (args.length === 1 && (args[0] === '--version' || args[0] === '-v' || args[0] === '-V')) { // MACRO.VERSION is inlined at build time // biome-ignore lint/suspicious/noConsole:: intentional console output - console.log(`${MACRO.DISPLAY_VERSION ?? MACRO.VERSION} (Open Claude)`); + console.log(`${MACRO.DISPLAY_VERSION ?? MACRO.VERSION} (OpenClaude)`); return; } diff --git a/src/hooks/notifs/useNpmDeprecationNotification.tsx b/src/hooks/notifs/useNpmDeprecationNotification.tsx index 345eefd4..a086223d 100644 --- a/src/hooks/notifs/useNpmDeprecationNotification.tsx +++ b/src/hooks/notifs/useNpmDeprecationNotification.tsx @@ -2,7 +2,7 @@ import { isInBundledMode } from 'src/utils/bundledMode.js'; import { getCurrentInstallationType } from 'src/utils/doctorDiagnostic.js'; import { isEnvTruthy } from 'src/utils/envUtils.js'; import { useStartupNotification } from './useStartupNotification.js'; -const NPM_DEPRECATION_MESSAGE = 'Claude Code has switched from npm to native installer. Run `claude install` or see https://docs.anthropic.com/en/docs/claude-code/getting-started for more options.'; +const NPM_DEPRECATION_MESSAGE = 'OpenClaude has switched from npm to the native installer. Run `openclaude install` or see https://github.com/Gitlawb/openclaude#quick-start for more options.'; export function useNpmDeprecationNotification() { useStartupNotification(_temp); } diff --git a/src/hooks/useDiffInIDE.ts b/src/hooks/useDiffInIDE.ts index 8fb0d106..cd20b3cf 100644 --- a/src/hooks/useDiffInIDE.ts +++ b/src/hooks/useDiffInIDE.ts @@ -60,7 +60,7 @@ export function useDiffInIDE({ const sha = useMemo(() => randomUUID().slice(0, 6), []) const tabName = useMemo( - () => `✻ [Claude Code] ${basename(filePath)} (${sha}) ⧉`, + () => `✻ [OpenClaude] ${basename(filePath)} (${sha}) ⧉`, [filePath, sha], ) diff --git a/src/hooks/useVoice.ts b/src/hooks/useVoice.ts index 30c09917..6387c109 100644 --- a/src/hooks/useVoice.ts +++ b/src/hooks/useVoice.ts @@ -501,7 +501,7 @@ export function useVoice({ } else if (!hadAudioSignal) { // Distinguish silent mic (capture issue) from speech not recognized. onErrorRef.current?.( - 'No audio detected from microphone. Check that the correct input device is selected and that Claude Code has microphone access.', + 'No audio detected from microphone. Check that the correct input device is selected and that OpenClaude has microphone access.', ) } else { onErrorRef.current?.('No speech detected.') diff --git a/src/main.tsx b/src/main.tsx index f37101ca..a64b465c 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -785,7 +785,7 @@ export async function main() { // Headless (-p) mode is not supported with SSH in v1 — reject early // so the flag doesn't silently cause local execution. if (rest.includes('-p') || rest.includes('--print')) { - process.stderr.write('Error: headless (-p/--print) mode is not supported with claude ssh\n'); + process.stderr.write('Error: headless (-p/--print) mode is not supported with openclaude ssh\n'); gracefulShutdownSync(1); return; } @@ -959,7 +959,7 @@ async function run(): Promise { } profileCheckpoint('preAction_after_settings_sync'); }); - program.name('claude').description(`Claude Code - starts an interactive session by default, use -p/--print for non-interactive output`).argument('[prompt]', 'Your prompt', String) + program.name('openclaude').description(`OpenClaude - starts an interactive session by default, use -p/--print for non-interactive output`).argument('[prompt]', 'Your prompt', String) // Subcommands inherit helpOption via commander's copyInheritedSettings — // setting it once here covers mcp, plugin, auth, and all other subcommands. .helpOption('-h, --help', 'Display help for command').option('-d, --debug [filter]', 'Enable debug mode with optional category filtering (e.g., "api,hooks" or "!1p,!file")', (_value: string | true) => { @@ -1013,7 +1013,7 @@ async function run(): Promise { if (prompt === 'code') { logEvent('tengu_code_prompt_ignored', {}); // biome-ignore lint/suspicious/noConsole:: intentional console output - console.warn(chalk.yellow('Tip: You can launch Claude Code with just `claude`')); + console.warn(chalk.yellow('Tip: You can launch OpenClaude with just `openclaude`')); prompt = undefined; } @@ -3275,7 +3275,7 @@ async function run(): Promise { } // The daemon needs a few seconds to spin up its worker and // establish a bridge session before discovery will find it. - return await exitWithMessage(root, `Assistant installed in ${installedDir}. The daemon is starting up — run \`claude assistant\` again in a few seconds to connect.`, { + return await exitWithMessage(root, `Assistant installed in ${installedDir}. The daemon is starting up — run \`openclaude assistant\` again in a few seconds to connect.`, { exitCode: 0, beforeExit: () => gracefulShutdown(0) }); @@ -3401,7 +3401,7 @@ async function run(): Promise { // Check if TUI mode is enabled - description is only optional in TUI mode const isRemoteTuiEnabled = getFeatureValue_CACHED_MAY_BE_STALE('tengu_remote_backend', false); if (!isRemoteTuiEnabled && !hasInitialPrompt) { - return await exitWithError(root, 'Error: --remote requires a description.\nUsage: claude --remote "your task description"', () => gracefulShutdown(1)); + return await exitWithError(root, 'Error: --remote requires a description.\nUsage: openclaude --remote "your task description"', () => gracefulShutdown(1)); } logEvent('tengu_remote_create_session', { has_initial_prompt: String(hasInitialPrompt) as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS @@ -3425,7 +3425,7 @@ async function run(): Promise { // Original behavior: print session info and exit process.stdout.write(`Created remote session: ${createdSession.title}\n`); process.stdout.write(`View: ${getRemoteSessionUrl(createdSession.id)}?m=0\n`); - process.stdout.write(`Resume with: claude --teleport ${createdSession.id}\n`); + process.stdout.write(`Resume with: openclaude --teleport ${createdSession.id}\n`); await gracefulShutdown(0); process.exit(0); } @@ -3537,7 +3537,7 @@ async function run(): Promise { } } else { // No known paths - show original error - throw new TeleportOperationError(`You must run claude --teleport ${teleport} from a checkout of ${sessionRepo}.`, chalk.red(`You must run claude --teleport ${teleport} from a checkout of ${chalk.bold(sessionRepo)}.\n`)); + throw new TeleportOperationError(`You must run openclaude --teleport ${teleport} from a checkout of ${sessionRepo}.`, chalk.red(`You must run openclaude --teleport ${teleport} from a checkout of ${chalk.bold(sessionRepo)}.\n`)); } } } else if (repoValidation.status === 'error') { @@ -3789,7 +3789,7 @@ async function run(): Promise { pendingHookMessages }, renderAndRun); } - }).version(`${MACRO.DISPLAY_VERSION ?? MACRO.VERSION} (Open Claude)`, '-v, --version', 'Output the version number'); + }).version(`${MACRO.DISPLAY_VERSION ?? MACRO.VERSION} (OpenClaude)`, '-v, --version', 'Output the version number'); // Worktree flags program.option('-w, --worktree [name]', 'Create a new git worktree for this session (optionally specify a name)'); @@ -3876,7 +3876,7 @@ async function run(): Promise { // claude mcp const mcp = program.command('mcp').description('Configure and manage MCP servers').configureHelp(createSortedHelpConfig()).enablePositionalOptions(); - mcp.command('serve').description(`Start the Claude Code MCP server`).option('-d, --debug', 'Enable debug mode', () => true).option('--verbose', 'Override verbose mode setting from config', () => true).action(async ({ + mcp.command('serve').description(`Start the OpenClaude MCP server`).option('-d, --debug', 'Enable debug mode', () => true).option('--verbose', 'Override verbose mode setting from config', () => true).action(async ({ debug, verbose }: { @@ -3944,7 +3944,7 @@ async function run(): Promise { // claude server if (feature('DIRECT_CONNECT')) { - program.command('server').description('Start a Claude Code session server').option('--port ', 'HTTP port', '0').option('--host ', 'Bind address', '0.0.0.0').option('--auth-token ', 'Bearer token for auth').option('--unix ', 'Listen on a unix domain socket').option('--workspace ', 'Default working directory for sessions that do not specify cwd').option('--idle-timeout ', 'Idle timeout for detached sessions in ms (0 = never expire)', '600000').option('--max-sessions ', 'Maximum concurrent sessions (0 = unlimited)', '32').action(async (opts: { + program.command('server').description('Start an OpenClaude session server').option('--port ', 'HTTP port', '0').option('--host ', 'Bind address', '0.0.0.0').option('--auth-token ', 'Bearer token for auth').option('--unix ', 'Listen on a unix domain socket').option('--workspace ', 'Default working directory for sessions that do not specify cwd').option('--idle-timeout ', 'Idle timeout for detached sessions in ms (0 = never expire)', '600000').option('--max-sessions ', 'Maximum concurrent sessions (0 = unlimited)', '32').action(async (opts: { port: string; host: string; authToken?: string; @@ -3978,7 +3978,7 @@ async function run(): Promise { } = await import('./server/lockfile.js'); const existing = await probeRunningServer(); if (existing) { - process.stderr.write(`A claude server is already running (pid ${existing.pid}) at ${existing.httpUrl}\n`); + process.stderr.write(`An OpenClaude server is already running (pid ${existing.pid}) at ${existing.httpUrl}\n`); process.exit(1); } const authToken = opts.authToken ?? `sk-ant-cc-${randomBytes(16).toString('base64url')}`; @@ -4028,11 +4028,11 @@ async function run(): Promise { // this action it means the argv rewrite didn't fire (e.g. user ran // `claude ssh` with no host) — just print usage. if (feature('SSH_REMOTE')) { - program.command('ssh [dir]').description('Run Claude Code on a remote host over SSH. Deploys the binary and ' + 'tunnels API auth back through your local machine — no remote setup needed.').option('--permission-mode ', 'Permission mode for the remote session').option('--dangerously-skip-permissions', 'Skip all permission prompts on the remote (dangerous)').option('--local', 'e2e test mode — spawn the child CLI locally (skip ssh/deploy). ' + 'Exercises the auth proxy and unix-socket plumbing without a remote host.').action(async () => { + program.command('ssh [dir]').description('Run OpenClaude on a remote host over SSH. Deploys the binary and ' + 'tunnels API auth back through your local machine — no remote setup needed.').option('--permission-mode ', 'Permission mode for the remote session').option('--dangerously-skip-permissions', 'Skip all permission prompts on the remote (dangerous)').option('--local', 'e2e test mode — spawn the child CLI locally (skip ssh/deploy). ' + 'Exercises the auth proxy and unix-socket plumbing without a remote host.').action(async () => { // Argv rewriting in main() should have consumed `ssh ` before // commander runs. Reaching here means host was missing or the // rewrite predicate didn't match. - process.stderr.write('Usage: claude ssh [dir]\n\n' + "Runs Claude Code on a remote Linux host. You don't need to install\n" + 'anything on the remote or run `claude auth login` there — the binary is\n' + 'deployed over SSH and API auth tunnels back through your local machine.\n'); + process.stderr.write('Usage: openclaude ssh [dir]\n\n' + "Runs OpenClaude on a remote Linux host. You don't need to install\n" + 'anything on the remote or run `openclaude auth login` there — the binary is\n' + 'deployed over SSH and API auth tunnels back through your local machine.\n'); process.exit(1); }); } @@ -4041,7 +4041,7 @@ async function run(): Promise { // Interactive mode (without -p) is handled by early argv rewriting in main() // which redirects to the main command with full TUI support. if (feature('DIRECT_CONNECT')) { - program.command('open ').description('Connect to a Claude Code server (internal — use cc:// URLs)').option('-p, --print [prompt]', 'Print mode (headless)').option('--output-format ', 'Output format: text, json, stream-json', 'text').action(async (ccUrl: string, opts: { + program.command('open ').description('Connect to an OpenClaude server (internal — use cc:// URLs)').option('-p, --print [prompt]', 'Print mode (headless)').option('--output-format ', 'Output format: text, json, stream-json', 'text').action(async (ccUrl: string, opts: { print?: string | boolean; outputFormat: string; }) => { @@ -4130,7 +4130,7 @@ async function run(): Promise { const coworkOption = () => new Option('--cowork', 'Use cowork_plugins directory').hideHelp(); // Plugin validate command - const pluginCmd = program.command('plugin').alias('plugins').description('Manage Claude Code plugins').configureHelp(createSortedHelpConfig()); + const pluginCmd = program.command('plugin').alias('plugins').description('Manage OpenClaude plugins').configureHelp(createSortedHelpConfig()); pluginCmd.command('validate ').description('Validate a plugin or marketplace manifest').addOption(coworkOption()).action(async (manifestPath: string, options: { cowork?: boolean; }) => { @@ -4153,7 +4153,7 @@ async function run(): Promise { }); // Marketplace subcommands - const marketplaceCmd = pluginCmd.command('marketplace').description('Manage Claude Code marketplaces').configureHelp(createSortedHelpConfig()); + const marketplaceCmd = pluginCmd.command('marketplace').description('Manage OpenClaude marketplaces').configureHelp(createSortedHelpConfig()); marketplaceCmd.command('add ').description('Add a marketplace from a URL, path, or GitHub repo').addOption(coworkOption()).option('--sparse ', 'Limit checkout to specific directories via git sparse-checkout (for monorepos). Example: --sparse .claude-plugin plugins').option('--scope ', 'Where to declare the marketplace: user (default), project, or local').action(async (source: string, options: { cowork?: boolean; sparse?: string[]; @@ -4322,13 +4322,13 @@ async function run(): Promise { // before commander runs. Reaching here means a root flag came first // (e.g. `--debug assistant`) and the position-0 predicate // didn't match. Print usage like the ssh stub does. - process.stderr.write('Usage: claude assistant [sessionId]\n\n' + 'Attach the REPL as a viewer client to a running bridge session.\n' + 'Omit sessionId to discover and pick from available sessions.\n'); + process.stderr.write('Usage: openclaude assistant [sessionId]\n\n' + 'Attach the REPL as a viewer client to a running bridge session.\n' + 'Omit sessionId to discover and pick from available sessions.\n'); process.exit(1); }); } // Doctor command - check installation health - program.command('doctor').description('Check the health of your Claude Code auto-updater. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.').action(async () => { + program.command('doctor').description('Check the health of your OpenClaude auto-updater. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.').action(async () => { const [{ doctorHandler }, { @@ -4377,7 +4377,7 @@ async function run(): Promise { } // claude install - program.command('install [target]').description('Install Claude Code native build. Use [target] to specify version (stable, latest, or specific version)').option('--force', 'Force installation even if already installed').action(async (target: string | undefined, options: { + program.command('install [target]').description('Install OpenClaude native build. Use [target] to specify version (stable, latest, or specific version)').option('--force', 'Force installation even if already installed').action(async (target: string | undefined, options: { force?: boolean; }) => { const { diff --git a/src/screens/Doctor.tsx b/src/screens/Doctor.tsx index 32de9dea..376b8747 100644 --- a/src/screens/Doctor.tsx +++ b/src/screens/Doctor.tsx @@ -222,7 +222,7 @@ export function Doctor(t0) { let t7; if ($[11] !== onDone) { t7 = () => { - onDone("Claude Code diagnostics dismissed", { + onDone("OpenClaude diagnostics dismissed", { display: "system" }); }; diff --git a/src/screens/REPL.tsx b/src/screens/REPL.tsx index 72ddec53..175e98ef 100644 --- a/src/screens/REPL.tsx +++ b/src/screens/REPL.tsx @@ -1136,7 +1136,7 @@ export function REPL({ // session from mid-conversation context. const haikuTitleAttemptedRef = useRef((initialMessages?.length ?? 0) > 0); const agentTitle = mainThreadAgentDefinition?.agentType; - const terminalTitle = sessionTitle ?? agentTitle ?? haikuTitle ?? 'Open Claude'; + const terminalTitle = sessionTitle ?? agentTitle ?? haikuTitle ?? 'OpenClaude'; const isWaitingForApproval = toolUseConfirmQueue.length > 0 || promptQueue.length > 0 || pendingWorkerRequest || pendingSandboxRequest; // Local-jsx commands (like /plugin, /config) show user-facing dialogs that // wait for input. Require jsx != null — if the flag is stuck true but jsx @@ -4189,7 +4189,7 @@ export function REPL({ useEffect(() => { const handleSuspend = () => { // Print suspension instructions - process.stdout.write(`\nClaude Code has been suspended. Run \`fg\` to bring Claude Code back.\nNote: ctrl + z now suspends Claude Code, ctrl + _ undoes input.\n`); + process.stdout.write(`\nOpenClaude has been suspended. Run \`fg\` to bring OpenClaude back.\nNote: ctrl + z now suspends OpenClaude, ctrl + _ undoes input.\n`); }; const handleResume = () => { // Force complete component tree replacement instead of terminal clear diff --git a/src/services/api/errors.ts b/src/services/api/errors.ts index 09249c53..09fd497a 100644 --- a/src/services/api/errors.ts +++ b/src/services/api/errors.ts @@ -302,7 +302,7 @@ export function getRequestTooLargeErrorMessage(): string { : `Request too large (${limits}). Double press esc to go back and try with a smaller file.` } export const OAUTH_ORG_NOT_ALLOWED_ERROR_MESSAGE = - 'Your account does not have access to Claude Code. Please run /login.' + 'Your account does not have access to OpenClaude. Please run /login.' export function getTokenRevokedErrorMessage(): string { return getIsNonInteractiveSession() @@ -1346,8 +1346,8 @@ export function getErrorMessageIfRefusal( : "your provider's acceptable use policy" const baseMessage = getIsNonInteractiveSession() - ? `${API_ERROR_MESSAGE_PREFIX}: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (${usagePolicyUrl}). Try rephrasing the request or attempting a different approach.` - : `${API_ERROR_MESSAGE_PREFIX}: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (${usagePolicyUrl}). Please double press esc to edit your last message or start a new session for Claude Code to assist with a different task.` + ? `${API_ERROR_MESSAGE_PREFIX}: OpenClaude is unable to respond to this request, which appears to violate our Usage Policy (${usagePolicyUrl}). Try rephrasing the request or attempting a different approach.` + : `${API_ERROR_MESSAGE_PREFIX}: OpenClaude is unable to respond to this request, which appears to violate our Usage Policy (${usagePolicyUrl}). Please double press esc to edit your last message or start a new session for OpenClaude to assist with a different task.` const modelSuggestion = model !== 'claude-sonnet-4-20250514' diff --git a/src/services/api/grove.ts b/src/services/api/grove.ts index f8af7897..d1d5a6f5 100644 --- a/src/services/api/grove.ts +++ b/src/services/api/grove.ts @@ -343,13 +343,13 @@ export async function checkGroveForNonInteractive(): Promise { if (config === null || config.notice_is_grace_period) { // Grace period is still active - show informational message and continue writeToStderr( - '\nAn update to our Consumer Terms and Privacy Policy will take effect on October 8, 2025. Run `claude` to review the updated terms.\n\n', + '\nAn update to our Consumer Terms and Privacy Policy will take effect on October 8, 2025. Run `openclaude` to review the updated terms.\n\n', ) await markGroveNoticeViewed() } else { // Grace period has ended - show error message and exit writeToStderr( - '\n[ACTION REQUIRED] An update to our Consumer Terms and Privacy Policy has taken effect on October 8, 2025. You must run `claude` to review the updated terms.\n\n', + '\n[ACTION REQUIRED] An update to our Consumer Terms and Privacy Policy has taken effect on October 8, 2025. You must run `openclaude` to review the updated terms.\n\n', ) await gracefulShutdown(1) } diff --git a/src/services/mcp/auth.ts b/src/services/mcp/auth.ts index 99dfe764..76da8d4d 100644 --- a/src/services/mcp/auth.ts +++ b/src/services/mcp/auth.ts @@ -1209,7 +1209,7 @@ export async function performMCPOAuthFlow( res.writeHead(200, { 'Content-Type': 'text/html' }) res.end( - `

Authentication Successful

You can close this window. Return to Claude Code.

`, + `

Authentication Successful

You can close this window. Return to OpenClaude.

`, ) cleanup() resolveOnce(result.code) diff --git a/src/services/mcp/client.ts b/src/services/mcp/client.ts index 50db733b..7cdc1c17 100644 --- a/src/services/mcp/client.ts +++ b/src/services/mcp/client.ts @@ -1001,10 +1001,12 @@ export const connectToServer = memoize( const client = new Client( { + // name stays 'claude-code' for compatibility with MCP servers that + // gate features on the upstream client identifier. name: 'claude-code', - title: 'Open Claude', + title: 'OpenClaude', version: MACRO.VERSION ?? 'unknown', - description: "Anthropic's agentic coding tool", + description: 'OpenClaude — coding-agent CLI for any LLM provider', websiteUrl: PRODUCT_URL, }, { @@ -3329,10 +3331,12 @@ export async function setupSdkMcpClients( const client = new Client( { + // name stays 'claude-code' for compatibility with MCP servers that + // gate features on the upstream client identifier. name: 'claude-code', - title: 'Open Claude', + title: 'OpenClaude', version: MACRO.VERSION ?? 'unknown', - description: "Anthropic's agentic coding tool", + description: 'OpenClaude — coding-agent CLI for any LLM provider', websiteUrl: PRODUCT_URL, }, { diff --git a/src/services/notifier.ts b/src/services/notifier.ts index b2136a4e..a7ed0901 100644 --- a/src/services/notifier.ts +++ b/src/services/notifier.ts @@ -35,7 +35,7 @@ export async function sendNotification( }) } -const DEFAULT_TITLE = 'Open Claude' +const DEFAULT_TITLE = 'OpenClaude' async function sendToChannel( channel: string, diff --git a/src/services/rateLimitMessages.ts b/src/services/rateLimitMessages.ts index f63c837c..7af1e432 100644 --- a/src/services/rateLimitMessages.ts +++ b/src/services/rateLimitMessages.ts @@ -279,7 +279,7 @@ function getWarningUpsellText( // Pro/Max users: prompt to upgrade if (subscriptionType === 'pro' || subscriptionType === 'max') { - return '/upgrade to keep using Claude Code' + return '/upgrade to keep using OpenClaude' } } diff --git a/src/services/tips/tipRegistry.ts b/src/services/tips/tipRegistry.ts index 4b28173a..cf736edd 100644 --- a/src/services/tips/tipRegistry.ts +++ b/src/services/tips/tipRegistry.ts @@ -96,7 +96,7 @@ const externalTips: Tip[] = [ { id: 'new-user-warmup', content: async () => - `Start with small features or bug fixes, tell Claude to propose a plan, and verify its suggested edits`, + `Start with small features or bug fixes, tell OpenClaude to propose a plan, and verify its suggested edits`, cooldownSessions: 3, async isRelevant() { const config = getGlobalConfig() @@ -142,7 +142,7 @@ const externalTips: Tip[] = [ { id: 'git-worktrees', content: async () => - 'Use git worktrees to run multiple Claude sessions in parallel.', + 'Use git worktrees to run multiple OpenClaude sessions in parallel.', cooldownSessions: 10, isRelevant: async () => { try { @@ -157,7 +157,7 @@ const externalTips: Tip[] = [ { id: 'color-when-multi-clauding', content: async () => - 'Running multiple Claude sessions? Use /color and /rename to tell them apart at a glance.', + 'Running multiple OpenClaude sessions? Use /color and /rename to tell them apart at a glance.', cooldownSessions: 10, isRelevant: async () => { if (getCurrentSessionAgentColor()) return false @@ -215,7 +215,7 @@ const externalTips: Tip[] = [ }, { id: 'memory-command', - content: async () => 'Use /memory to view and manage Claude memory', + content: async () => 'Use /memory to view and manage OpenClaude memory', cooldownSessions: 15, async isRelevant() { const config = getGlobalConfig() @@ -254,7 +254,7 @@ const externalTips: Tip[] = [ { id: 'prompt-queue', content: async () => - 'Hit Enter to queue up additional messages while Claude is working.', + 'Hit Enter to queue up additional messages while OpenClaude is working.', cooldownSessions: 5, async isRelevant() { const config = getGlobalConfig() @@ -264,14 +264,14 @@ const externalTips: Tip[] = [ { id: 'enter-to-steer-in-relatime', content: async () => - 'Send messages to Claude while it works to steer Claude in real-time', + 'Send messages to OpenClaude while it works to steer OpenClaude in real-time', cooldownSessions: 20, isRelevant: async () => true, }, { id: 'todo-list', content: async () => - 'Ask Claude to create a todo list when working on complex tasks to track progress and remain on track', + 'Ask OpenClaude to create a todo list when working on complex tasks to track progress and remain on track', cooldownSessions: 20, isRelevant: async () => true, }, @@ -304,7 +304,7 @@ const externalTips: Tip[] = [ }, { id: 'ide-upsell-external-terminal', - content: async () => 'Connect Claude to your IDE · /ide', + content: async () => 'Connect OpenClaude to your IDE · /ide', cooldownSessions: 4, async isRelevant() { if (isSupportedTerminal()) { @@ -324,13 +324,13 @@ const externalTips: Tip[] = [ { id: 'install-github-app', content: async () => - 'Run /install-github-app to tag @claude right from your Github issues and PRs', + 'Run /install-github-app to enable GitHub issue and PR tagging from OpenClaude', cooldownSessions: 10, isRelevant: async () => !getGlobalConfig().githubActionSetupCount, }, { id: 'install-slack-app', - content: async () => 'Run /install-slack-app to use Claude in Slack', + content: async () => 'Run /install-slack-app to use OpenClaude in Slack', cooldownSessions: 10, isRelevant: async () => !getGlobalConfig().slackAppInstallCount, }, @@ -354,7 +354,7 @@ const externalTips: Tip[] = [ { id: 'paste-images-mac', content: async () => - 'Paste images into Claude Code using control+v (not cmd+v!)', + 'Paste images into OpenClaude using control+v (not cmd+v!)', cooldownSessions: 10, isRelevant: async () => getPlatform() === 'macos', }, @@ -375,7 +375,7 @@ const externalTips: Tip[] = [ { id: 'continue', content: async () => - 'Run claude --continue or claude --resume to resume a conversation', + 'Run openclaude --continue or openclaude --resume to resume a conversation', cooldownSessions: 10, isRelevant: async () => true, }, @@ -434,7 +434,7 @@ const externalTips: Tip[] = [ { id: 'desktop-app', content: async () => - 'Run Claude Code locally or remotely using the Claude desktop app: clau.de/desktop', + 'Run OpenClaude locally or remotely with /desktop', cooldownSessions: 15, isRelevant: async () => getPlatform() !== 'linux', }, @@ -442,7 +442,7 @@ const externalTips: Tip[] = [ id: 'desktop-shortcut', content: async ctx => { const blue = color('suggestion', ctx.theme) - return `Continue your session in Claude Code Desktop with ${blue('/desktop')}` + return `Continue your session with ${blue('/desktop')}` }, cooldownSessions: 15, isRelevant: async () => { @@ -456,21 +456,21 @@ const externalTips: Tip[] = [ { id: 'web-app', content: async () => - 'Run tasks in the cloud while you keep coding locally · clau.de/web', + 'Run tasks in the cloud while you keep coding locally · /web', cooldownSessions: 15, isRelevant: async () => true, }, { id: 'mobile-app', content: async () => - '/mobile to use Claude Code from the Claude app on your phone', + '/mobile to continue from your phone', cooldownSessions: 15, isRelevant: async () => true, }, { id: 'opusplan-mode-reminder', content: async () => - `Your default model setting is Opus Plan Mode. Press ${getShortcutDisplay('chat:cycleMode', 'Chat', 'shift+tab')} twice to activate Plan Mode and plan with Claude Opus.`, + `Your default model setting is Opus Plan Mode. Press ${getShortcutDisplay('chat:cycleMode', 'Chat', 'shift+tab')} twice to activate Plan Mode and plan with Opus.`, cooldownSessions: 2, async isRelevant() { const config = getGlobalConfig() @@ -517,7 +517,7 @@ const externalTips: Tip[] = [ 'off' | 'copy_a' | 'copy_b' >('tengu_tide_elm', 'off') return variant === 'copy_b' - ? `Use ${cmd} for better one-shot answers. Claude thinks it through first.` + ? `Use ${cmd} for better one-shot answers. OpenClaude thinks it through first.` : `Working on something tricky? ${cmd} gives better first answers` }, cooldownSessions: 3, @@ -546,8 +546,8 @@ const externalTips: Tip[] = [ 'off' | 'copy_a' | 'copy_b' >('tengu_tern_alloy', 'off') return variant === 'copy_b' - ? `For big tasks, tell Claude to ${blue('use subagents')}. They work in parallel and keep your main thread clean.` - : `Say ${blue('"fan out subagents"')} and Claude sends a team. Each one digs deep so nothing gets missed.` + ? `For big tasks, tell OpenClaude to ${blue('use subagents')}. They work in parallel and keep your main thread clean.` + : `Say ${blue('"fan out subagents"')} and OpenClaude sends a team. Each one digs deep so nothing gets missed.` }, cooldownSessions: 3, isRelevant: async () => { @@ -589,7 +589,7 @@ const externalTips: Tip[] = [ const claude = color('claude', ctx.theme) const reward = getCachedReferrerReward() return reward - ? `Share Claude Code and earn ${claude(formatCreditAmount(reward))} of extra usage · ${claude('/passes')}` + ? `Share OpenClaude and earn ${claude(formatCreditAmount(reward))} of extra usage · ${claude('/passes')}` : `You have free guest passes to share · ${claude('/passes')}` }, cooldownSessions: 3, diff --git a/src/services/voice.ts b/src/services/voice.ts index 349138e7..53e70722 100644 --- a/src/services/voice.ts +++ b/src/services/voice.ts @@ -262,7 +262,7 @@ export async function checkRecordingAvailability(): Promise { `Unable to verify organization for the current authentication token.\n` + `This machine requires organization ${requiredOrgUuid} but the profile could not be fetched.\n` + `This may be a network error, or the token may lack the user:profile scope required for\n` + - `verification (tokens from 'claude setup-token' do not include this scope).\n` + - `Try again, or obtain a full-scope token via 'claude auth login'.`, + `verification (tokens from 'openclaude setup-token' do not include this scope).\n` + + `Try again, or obtain a full-scope token via 'openclaude auth login'.`, } } @@ -2020,7 +2020,7 @@ export async function validateForceLoginOrg(): Promise { message: `Your authentication token belongs to organization ${tokenOrgUuid},\n` + `but this machine requires organization ${requiredOrgUuid}.\n\n` + - `Please log in with the correct organization: claude auth login`, + `Please log in with the correct organization: openclaude auth login`, } } diff --git a/src/utils/logoV2Utils.ts b/src/utils/logoV2Utils.ts index c49381d7..985b81ba 100644 --- a/src/utils/logoV2Utils.ts +++ b/src/utils/logoV2Utils.ts @@ -96,7 +96,7 @@ export function calculateOptimalLeftWidth( */ export function formatWelcomeMessage(username: string | null): string { if (!username || username.length > MAX_USERNAME_LENGTH) { - return 'Welcome to Open Claude' + return 'Welcome to OpenClaude' } return `Welcome back, ${username}` } diff --git a/src/utils/sessionTitle.ts b/src/utils/sessionTitle.ts index 141833b4..313237a6 100644 --- a/src/utils/sessionTitle.ts +++ b/src/utils/sessionTitle.ts @@ -127,7 +127,7 @@ export async function generateSessionTitle( // Fallback: When using 3P providers without a compatible schema, // default to the application name. - return 'Open Claude' + return 'OpenClaude' } } diff --git a/src/utils/statusNoticeDefinitions.tsx b/src/utils/statusNoticeDefinitions.tsx index 74185e7e..89b9f897 100644 --- a/src/utils/statusNoticeDefinitions.tsx +++ b/src/utils/statusNoticeDefinitions.tsx @@ -90,7 +90,7 @@ const apiKeyConflictNotice: StatusNoticeDefinition = { {figures.warning} Auth conflict: Using {apiKeySource} instead of Anthropic Console key. - Either unset {apiKeySource}, or run `claude /logout`. + Either unset {apiKeySource}, or run `openclaude /logout`. ; } diff --git a/src/utils/teleport.tsx b/src/utils/teleport.tsx index 0ae3432f..a18f67f8 100644 --- a/src/utils/teleport.tsx +++ b/src/utils/teleport.tsx @@ -466,7 +466,7 @@ export async function teleportResumeCodeSession(sessionId: string, onProgress?: }); // Include host for GHE users so they know which instance the repo is on const notInRepoDisplay = repoValidation.sessionHost && repoValidation.sessionHost.toLowerCase() !== 'github.com' ? `${repoValidation.sessionHost}/${repoValidation.sessionRepo}` : repoValidation.sessionRepo; - throw new TeleportOperationError(`You must run claude --teleport ${sessionId} from a checkout of ${notInRepoDisplay}.`, chalk.red(`You must run claude --teleport ${sessionId} from a checkout of ${chalk.bold(notInRepoDisplay)}.\n`)); + throw new TeleportOperationError(`You must run openclaude --teleport ${sessionId} from a checkout of ${notInRepoDisplay}.`, chalk.red(`You must run openclaude --teleport ${sessionId} from a checkout of ${chalk.bold(notInRepoDisplay)}.\n`)); } case 'mismatch': { @@ -478,7 +478,7 @@ export async function teleportResumeCodeSession(sessionId: string, onProgress?: const hostsDiffer = repoValidation.sessionHost && repoValidation.currentHost && repoValidation.sessionHost.replace(/:\d+$/, '').toLowerCase() !== repoValidation.currentHost.replace(/:\d+$/, '').toLowerCase(); const sessionDisplay = hostsDiffer ? `${repoValidation.sessionHost}/${repoValidation.sessionRepo}` : repoValidation.sessionRepo; const currentDisplay = hostsDiffer ? `${repoValidation.currentHost}/${repoValidation.currentRepo}` : repoValidation.currentRepo; - throw new TeleportOperationError(`You must run claude --teleport ${sessionId} from a checkout of ${sessionDisplay}.\nThis repo is ${currentDisplay}.`, chalk.red(`You must run claude --teleport ${sessionId} from a checkout of ${chalk.bold(sessionDisplay)}.\nThis repo is ${chalk.bold(currentDisplay)}.\n`)); + throw new TeleportOperationError(`You must run openclaude --teleport ${sessionId} from a checkout of ${sessionDisplay}.\nThis repo is ${currentDisplay}.`, chalk.red(`You must run openclaude --teleport ${sessionId} from a checkout of ${chalk.bold(sessionDisplay)}.\nThis repo is ${chalk.bold(currentDisplay)}.\n`)); } case 'error': throw new TeleportOperationError(repoValidation.errorMessage || 'Failed to validate session repository', chalk.red(`Error: ${repoValidation.errorMessage || 'Failed to validate session repository'}\n`));