Swap 'Completed' and 'Learned' output formatting in context hook for clarity; adjust color coding accordingly
This commit is contained in:
@@ -98,15 +98,6 @@ export function contextHook(input?: SessionStartInput, useColors: boolean = fals
|
||||
}
|
||||
}
|
||||
|
||||
if (summary.completed) {
|
||||
if (useColors) {
|
||||
output.push(`${colors.bright}${colors.green}Completed:${colors.reset} ${summary.completed}`);
|
||||
output.push('');
|
||||
} else {
|
||||
output.push(`**Completed:** ${summary.completed}`);
|
||||
}
|
||||
}
|
||||
|
||||
if (summary.learned) {
|
||||
if (useColors) {
|
||||
output.push(`${colors.bright}${colors.blue}Learned:${colors.reset} ${summary.learned}`);
|
||||
@@ -116,6 +107,15 @@ export function contextHook(input?: SessionStartInput, useColors: boolean = fals
|
||||
}
|
||||
}
|
||||
|
||||
if (summary.completed) {
|
||||
if (useColors) {
|
||||
output.push(`${colors.bright}${colors.green}Completed:${colors.reset} ${summary.completed}`);
|
||||
output.push('');
|
||||
} else {
|
||||
output.push(`**Completed:** ${summary.completed}`);
|
||||
}
|
||||
}
|
||||
|
||||
if (summary.next_steps) {
|
||||
if (useColors) {
|
||||
output.push(`${colors.bright}${colors.magenta}Next Steps:${colors.reset} ${summary.next_steps}`);
|
||||
|
||||
Reference in New Issue
Block a user