You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
color_print::cstr! {"Use <green!>/tangent</green!> or <green!>ctrl + t</green!> (customizable) to start isolated conversations ( ↯ ) that don't affect your main chat history"},
498
498
color_print::cstr! {"Ask me directly about my capabilities! Try questions like <green!>\"What can you do?\"</green!> or <green!>\"Can you save conversations?\"</green!>"},
499
499
color_print::cstr! {"Stay up to date with the latest features and improvements! Use <green!>/changelog</green!> to see what's new in Amazon Q CLI"},
500
+
color_print::cstr! {"Enable workspace checkpoints to snapshot & restore changes. Just run <green!>q</green!> <green!>settings chat.enableCheckpoint true</green!>"},
500
501
];
501
502
502
503
constGREETING_BREAK_POINT:usize = 80;
@@ -1336,46 +1337,29 @@ impl ChatSession {
1336
1337
.get_bool(Setting::EnabledCheckpoint)
1337
1338
.unwrap_or(false)
1338
1339
{
1339
-
if os
1340
-
.database
1341
-
.settings
1342
-
.get_bool(Setting::EnabledTangentMode)
1343
-
.unwrap_or(false)
1344
-
{
1345
-
execute!(
1346
-
self.stderr,
1347
-
style::SetForegroundColor(Color::Yellow),
1348
-
style::Print(
1349
-
"⚠️ Checkpoint is disabled while in tangent mode. Disable tangent mode with: q settings -d chat.enableTangentMode.\n\n"
1350
-
),
1351
-
style::SetForegroundColor(Color::Reset),
1352
-
)?;
1353
-
}else{
1354
-
let path = get_shadow_repo_dir(os,self.conversation.conversation_id().to_string())?;
0 commit comments