refactor(cli): rename command references from 'claude --resume' to 'csc --resume'

This commit is contained in:
yhangf 2026-04-22 09:34:58 +08:00
parent bd150468b0
commit 5197e2d7cb
4 changed files with 5 additions and 5 deletions

View File

@ -135,7 +135,7 @@ export function UltraplanChoiceDialog({
if (transcriptSaved) { if (transcriptSaved) {
setMessages(prev => [ setMessages(prev => [
...prev, ...prev,
createSystemMessage(`Previous session saved · resume with: claude --resume ${previousSessionId}`, 'suggestion'), createSystemMessage(`Previous session saved · resume with: csc --resume ${previousSessionId}`, 'suggestion'),
]); ]);
} }

View File

@ -376,7 +376,7 @@ const externalTips: Tip[] = [
{ {
id: 'continue', id: 'continue',
content: async () => content: async () =>
'Run claude --continue or claude --resume to resume a conversation', 'Run csc --continue or csc --resume to resume a conversation',
cooldownSessions: 10, cooldownSessions: 10,
isRelevant: async () => true, isRelevant: async () => true,
}, },

View File

@ -41,7 +41,7 @@ export function checkCrossProjectResume(
// Gate worktree detection to ants only for staged rollout // Gate worktree detection to ants only for staged rollout
if (process.env.USER_TYPE !== 'ant') { if (process.env.USER_TYPE !== 'ant') {
const sessionId = getSessionIdFromLog(log) const sessionId = getSessionIdFromLog(log)
const command = `cd ${quote([log.projectPath])} && claude --resume ${sessionId}` const command = `cd ${quote([log.projectPath])} && csc --resume ${sessionId}`
return { return {
isCrossProject: true, isCrossProject: true,
isSameRepoWorktree: false, isSameRepoWorktree: false,
@ -65,7 +65,7 @@ export function checkCrossProjectResume(
// Different repo - generate cd command // Different repo - generate cd command
const sessionId = getSessionIdFromLog(log) const sessionId = getSessionIdFromLog(log)
const command = `cd ${quote([log.projectPath])} && claude --resume ${sessionId}` const command = `cd ${quote([log.projectPath])} && csc --resume ${sessionId}`
return { return {
isCrossProject: true, isCrossProject: true,
isSameRepoWorktree: false, isSameRepoWorktree: false,

View File

@ -156,7 +156,7 @@ function printResumeHint(): void {
writeSync( writeSync(
1, 1,
chalk.dim( chalk.dim(
`\nResume this session with:\nclaude --resume ${resumeArg}\n`, `\nResume this session with:\ncsc --resume ${resumeArg}\n`,
), ),
) )
resumeHintPrinted = true resumeHintPrinted = true