refactor(cli): show only loaded items in startup status line
Changes the startup status line to only display items that were actually loaded, instead of showing dots for missing items. Before: " · README · AGENTS.md ✓ Memory" After: " ✓ Memory" Also adds include prompt to the status line when specified: " ✓ prompt.md ✓ Memory" The order matches the load order: README → AGENTS.md → include prompt → Memory
This commit is contained in:
@@ -1910,7 +1910,7 @@ fn test_code_fence_no_trailing_newline() {
|
||||
let mut fmt = StreamingMarkdownFormatter::new(skin);
|
||||
|
||||
// Note: no newline after closing ```
|
||||
let input = "Done!\n\n```\n>> agent mode | fowler\n-> ~/src/g3\n ✓ README | ✓ AGENTS.md | ✓ Memory\n```";
|
||||
let input = "Done!\n\n```\n>> agent mode | fowler\n-> ~/src/g3\n ✓ README ✓ AGENTS.md ✓ Memory\n```";
|
||||
|
||||
let mut output = String::new();
|
||||
for ch in input.chars() {
|
||||
|
||||
Reference in New Issue
Block a user