Skip to content

Commit b4149bb

Browse files
authored
Merge pull request #1294 from ylfeng250/fix/claude_cli_to_ccb
Fix/claude cli to ccb
1 parent 5adea0c commit b4149bb

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

src/components/ultraplan/UltraplanChoiceDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export function UltraplanChoiceDialog({
139139
setMessages(prev => [
140140
...prev,
141141
createSystemMessage(
142-
`Previous session saved · resume with: claude --resume ${previousSessionId}`,
142+
`Previous session saved · resume with: ccb --resume ${previousSessionId}`,
143143
'suggestion',
144144
),
145145
]);

src/services/tips/tipRegistry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ const externalTips: Tip[] = [
375375
{
376376
id: 'continue',
377377
content: async () =>
378-
'Run claude --continue or claude --resume to resume a conversation',
378+
'Run ccb --continue or ccb --resume to resume a conversation',
379379
cooldownSessions: 10,
380380
isRelevant: async () => true,
381381
},

src/utils/crossProjectResume.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function checkCrossProjectResume(
4141
// Gate worktree detection to ants only for staged rollout
4242
if (process.env.USER_TYPE !== 'ant') {
4343
const sessionId = getSessionIdFromLog(log)
44-
const command = `cd ${quote([log.projectPath])} && claude --resume ${sessionId}`
44+
const command = `cd ${quote([log.projectPath])} && ccb --resume ${sessionId}`
4545
return {
4646
isCrossProject: true,
4747
isSameRepoWorktree: false,
@@ -65,7 +65,7 @@ export function checkCrossProjectResume(
6565

6666
// Different repo - generate cd command
6767
const sessionId = getSessionIdFromLog(log)
68-
const command = `cd ${quote([log.projectPath])} && claude --resume ${sessionId}`
68+
const command = `cd ${quote([log.projectPath])} && ccb --resume ${sessionId}`
6969
return {
7070
isCrossProject: true,
7171
isSameRepoWorktree: false,

src/utils/gracefulShutdown.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,7 @@ function printResumeHint(): void {
169169

170170
writeSync(
171171
1,
172-
chalk.dim(
173-
`\nResume this session with:\nclaude --resume ${resumeArg}\n`,
174-
),
172+
chalk.dim(`\nResume this session with:\nccb --resume ${resumeArg}\n`),
175173
)
176174
resumeHintPrinted = true
177175
} catch {

0 commit comments

Comments
 (0)