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.
|
||||
const haikuTitleAttemptedRef = useRef((initialMessages?.length ?? 0) > 0);
|
||||
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;
|
||||
// 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
|
||||
|
||||
@@ -985,7 +985,7 @@ export const connectToServer = memoize(
|
||||
const client = new Client(
|
||||
{
|
||||
name: 'claude-code',
|
||||
title: 'Claude Code',
|
||||
title: 'Open Claude',
|
||||
version: MACRO.VERSION ?? 'unknown',
|
||||
description: "Anthropic's agentic coding tool",
|
||||
websiteUrl: PRODUCT_URL,
|
||||
@@ -1054,9 +1054,9 @@ export const connectToServer = memoize(
|
||||
`Connection timeout triggered after ${elapsed}ms (limit: ${getConnectionTimeoutMs()}ms)`,
|
||||
)
|
||||
if (inProcessServer) {
|
||||
inProcessServer.close().catch(() => {})
|
||||
inProcessServer.close().catch(() => { })
|
||||
}
|
||||
transport.close().catch(() => {})
|
||||
transport.close().catch(() => { })
|
||||
reject(
|
||||
new TelemetrySafeError_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS(
|
||||
`MCP server "${name}" connection timed out after ${getConnectionTimeoutMs()}ms`,
|
||||
@@ -1145,9 +1145,9 @@ export const connectToServer = memoize(
|
||||
})
|
||||
}
|
||||
if (inProcessServer) {
|
||||
inProcessServer.close().catch(() => {})
|
||||
inProcessServer.close().catch(() => { })
|
||||
}
|
||||
transport.close().catch(() => {})
|
||||
transport.close().catch(() => { })
|
||||
if (stderrOutput) {
|
||||
logMCPError(name, `Server stderr: ${stderrOutput}`)
|
||||
}
|
||||
@@ -1627,7 +1627,7 @@ export const connectToServer = memoize(
|
||||
logMCPError(name, `Connection failed: ${errorMessage(error)}`)
|
||||
|
||||
if (inProcessServer) {
|
||||
inProcessServer.close().catch(() => {})
|
||||
inProcessServer.close().catch(() => { })
|
||||
}
|
||||
return {
|
||||
name,
|
||||
@@ -3280,7 +3280,7 @@ export async function setupSdkMcpClients(
|
||||
const client = new Client(
|
||||
{
|
||||
name: 'claude-code',
|
||||
title: 'Claude Code',
|
||||
title: 'Open Claude',
|
||||
version: MACRO.VERSION ?? 'unknown',
|
||||
description: "Anthropic's agentic coding tool",
|
||||
websiteUrl: PRODUCT_URL,
|
||||
|
||||
@@ -35,7 +35,7 @@ export async function sendNotification(
|
||||
})
|
||||
}
|
||||
|
||||
const DEFAULT_TITLE = 'Claude Code'
|
||||
const DEFAULT_TITLE = 'Open Claude'
|
||||
|
||||
async function sendToChannel(
|
||||
channel: string,
|
||||
|
||||
Reference in New Issue
Block a user