Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

chore: update statusline ANSI color palette

Kris Pahel50ac061f9e72
diff --git a/scripts/hooks/ecc-statusline.js b/scripts/hooks/ecc-statusline.js
index 825b8f4d8..413dbda49 100644
--- a/scripts/hooks/ecc-statusline.js
+++ b/scripts/hooks/ecc-statusline.js
@@ -52,7 +52,7 @@ function buildContextBar(remaining) {
if (used < 50) return ` \x1b[32m${bar} ${used}%\x1b[0m`;
if (used < 65) return ` \x1b[33m${bar} ${used}%\x1b[0m`;
if (used < 80) return ` \x1b[38;5;208m${bar} ${used}%\x1b[0m`;
- return ` \x1b[5;31m${bar} ${used}%\x1b[0m`;
+ return ` \x1b[1;31m${bar} ${used}%\x1b[0m`;
}
/**
@@ -137,7 +137,7 @@ function runStatusline() {
parts.push(dur);
}
if (parts.length > 0) {
- metricsStr = `\x1b[36m${parts.join(' ')}\x1b[0m`;
+ metricsStr = `\x1b[38;5;117m${parts.join(' ')}\x1b[0m`;
}
}
@@ -149,7 +149,7 @@ function runStatusline() {
const segments = [`\x1b[2m${model}\x1b[0m`];
if (task) {
- segments.push(`\x1b[1m${task}\x1b[0m`);
+ segments.push(`\x1b[1;97m${task}\x1b[0m`);
}
if (metricsStr) {
segments.push(metricsStr);
diff --git a/tests/hooks/ecc-statusline.test.js b/tests/hooks/ecc-statusline.test.js
index f7cfacd77..f22dcae09 100644
--- a/tests/hooks/ecc-statusline.test.js
+++ b/tests/hooks/ecc-statusline.test.js
@@ -131,9 +131,9 @@ function runTests() {
else failed++;
if (
- test('20% remaining contains red blink ANSI code', () => {
+ test('20% remaining contains bold red ANSI code', () => {
const bar = buildContextBar(20);
- assert.ok(bar.includes('\x1b[5;31m'), `Expected red blink ANSI in: ${JSON.stringify(bar)}`);
+ assert.ok(bar.includes('\x1b[1;31m'), `Expected bold red ANSI in: ${JSON.stringify(bar)}`);
})
)
passed++;