chore: rename default terminal title to Open Claude
This commit is contained in:
@@ -1127,7 +1127,7 @@ export function REPL({
|
|||||||
// session from mid-conversation context.
|
// session from mid-conversation context.
|
||||||
const haikuTitleAttemptedRef = useRef((initialMessages?.length ?? 0) > 0);
|
const haikuTitleAttemptedRef = useRef((initialMessages?.length ?? 0) > 0);
|
||||||
const agentTitle = mainThreadAgentDefinition?.agentType;
|
const agentTitle = mainThreadAgentDefinition?.agentType;
|
||||||
const terminalTitle = sessionTitle ?? agentTitle ?? haikuTitle ?? 'Claude Code';
|
const terminalTitle = sessionTitle ?? agentTitle ?? haikuTitle ?? 'Open Claude';
|
||||||
const isWaitingForApproval = toolUseConfirmQueue.length > 0 || promptQueue.length > 0 || pendingWorkerRequest || pendingSandboxRequest;
|
const isWaitingForApproval = toolUseConfirmQueue.length > 0 || promptQueue.length > 0 || pendingWorkerRequest || pendingSandboxRequest;
|
||||||
// Local-jsx commands (like /plugin, /config) show user-facing dialogs that
|
// 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
|
// wait for input. Require jsx != null — if the flag is stuck true but jsx
|
||||||
|
|||||||
@@ -985,7 +985,7 @@ export const connectToServer = memoize(
|
|||||||
const client = new Client(
|
const client = new Client(
|
||||||
{
|
{
|
||||||
name: 'claude-code',
|
name: 'claude-code',
|
||||||
title: 'Claude Code',
|
title: 'Open Claude',
|
||||||
version: MACRO.VERSION ?? 'unknown',
|
version: MACRO.VERSION ?? 'unknown',
|
||||||
description: "Anthropic's agentic coding tool",
|
description: "Anthropic's agentic coding tool",
|
||||||
websiteUrl: PRODUCT_URL,
|
websiteUrl: PRODUCT_URL,
|
||||||
@@ -3280,7 +3280,7 @@ export async function setupSdkMcpClients(
|
|||||||
const client = new Client(
|
const client = new Client(
|
||||||
{
|
{
|
||||||
name: 'claude-code',
|
name: 'claude-code',
|
||||||
title: 'Claude Code',
|
title: 'Open Claude',
|
||||||
version: MACRO.VERSION ?? 'unknown',
|
version: MACRO.VERSION ?? 'unknown',
|
||||||
description: "Anthropic's agentic coding tool",
|
description: "Anthropic's agentic coding tool",
|
||||||
websiteUrl: PRODUCT_URL,
|
websiteUrl: PRODUCT_URL,
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ export async function sendNotification(
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const DEFAULT_TITLE = 'Claude Code'
|
const DEFAULT_TITLE = 'Open Claude'
|
||||||
|
|
||||||
async function sendToChannel(
|
async function sendToChannel(
|
||||||
channel: string,
|
channel: string,
|
||||||
|
|||||||
Reference in New Issue
Block a user