diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b5cbba..9ecba06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Urda's Forged Status Line CHANGELOG +## [1.0.1] - 2026-08-03 + +### Changed + +- README badge work: consistent badge styles, an embedded Antigravity mark, + and trimmed values from the README that should not be user touched most + days. + +### Fixed + +- Light theme now retints cyan to a dark teal (`38;5;30`); palette cyan + washed out on white backgrounds. Affects the context-window badge, the + effort readout, and the update badge. + ## [1.0.0] - 2026-07-28 First public release of Urda's Forged Status Line (`FSL`, `fsl`). @@ -33,4 +47,5 @@ First public release of Urda's Forged Status Line (`FSL`, `fsl`). favor of a normal render. - Bash 3.2 and `jq` 1.6 minimums, both asserted by CI rather than assumed. +[1.0.1]: https://github.com/urda/forged-statusline/releases/tag/v1.0.1 [1.0.0]: https://github.com/urda/forged-statusline/releases/tag/v1.0.0 diff --git a/README.md b/README.md index 616261b..cba26c5 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,11 @@ Urda Anvil AI Logo

-[![CI/CD](https://github.com/urda/forged-statusline/actions/workflows/cicd.yaml/badge.svg)](https://github.com/urda/forged-statusline/actions/workflows/cicd.yaml) -[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE) +[![Claude Code - Native](https://img.shields.io/badge/Claude_Code-Native-D97757?logo=claudecode&logoColor=D97757&logoSize=auto)](#install) +[![Antigravity CLI - Supported](https://img.shields.io/badge/Antigravity_CLI-Supported-a56cc1?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI%2BPHBhdGggZmlsbD0iI2E1NmNjMSIgZD0iTTIxLjc1MSAyMi41NTJjMS4zNCAxLjAwNSAzLjM1LjMzNSAxLjUwOC0xLjUwNy01LjUyOC01LjM2LTQuMzU1LTIwLjEtMTEuMjIyLTIwLjFTNi4zNDIgMTUuNjg2LjgxNSAyMS4wNDZjLTIuMDEgMi4wMS4xNjcgMi41MTIgMS41MDcgMS41MDcgNS4xOTItMy41MTcgNC44NTctOS43MTUgOS43MTUtOS43MTVzNC41MjIgNi4xOTggOS43MTQgOS43MTUiLz48L3N2Zz4%3D&logoSize=auto)](#other-hosts) +[![Copilot CLI - Supported](https://img.shields.io/badge/Copilot_CLI-Supported-000000?logo=githubcopilot&logoColor=000000&logoSize=auto)](#other-hosts) +[![CI/CD](https://img.shields.io/github/actions/workflow/status/urda/forged-statusline/cicd.yaml?branch=master&logo=githubactions&logoColor=white&logoSize=auto&label=CI/CD)](https://github.com/urda/forged-statusline/actions/workflows/cicd.yaml) +[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue?logo=apache&logoColor=blue&logoSize=auto)](LICENSE) **A two-row status line for Claude Code: model and modes above, live context and rate-limit gauges below.** @@ -168,10 +171,10 @@ Set configuration in the `env` block of `~/.claude/settings.json`: ### Display -| Variable | Default | Effect | -| ---------------------------------- | ------- | ---------------------------------------------------------- | -| `URDA_AI_FORGED_STATUS_LINE_ICONS` | `1` | `0` hides every icon; other values keep icons on | -| `URDA_AI_FORGED_STATUS_LINE_THEME` | `dark` | `light` retints gray and model text; other values use dark | +| Variable | Default | Effect | +| ---------------------------------- | ------- | ------------------------------------------------------------------------ | +| `URDA_AI_FORGED_STATUS_LINE_ICONS` | `1` | `0` hides every icon; other values keep icons on | +| `URDA_AI_FORGED_STATUS_LINE_THEME` | `dark` | `light` retints gray, model text, and cyan badges; other values use dark | Icons remain swap-only: use the master switch to hide them without leaving spacing gaps. @@ -274,8 +277,6 @@ are throttled like successful checks. | Variable | Default | Effect | | --------------------------------------------- | ------------------------------------------------------------------------------------------------ | ---------------------------------- | | `URDA_AI_FORGED_STATUS_LINE_UPDATE_CHECK` | `1` | `0` disables fetches and the badge | -| `URDA_AI_FORGED_STATUS_LINE_VERSION_URL` | `https://raw.githubusercontent.com/urda/forged-statusline/release/VERSION` | Published version | -| `URDA_AI_FORGED_STATUS_LINE_UPDATE_URL` | `https://raw.githubusercontent.com/urda/forged-statusline/release/urda-com-forged-statusline.sh` | Self-update source | The checker state directory matches the rate-limit cache directory. @@ -305,7 +306,7 @@ are deterministic. ## License -[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE) +[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue?logo=apache&logoColor=blue&logoSize=auto)](LICENSE) Copyright 2026 Peter Urda diff --git a/VERSION b/VERSION index 3eefcb9..7dea76e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.0 +1.0.1 diff --git a/scripts/test-urda-com-forged-statusline.sh b/scripts/test-urda-com-forged-statusline.sh index 1ead70d..b85b703 100755 --- a/scripts/test-urda-com-forged-statusline.sh +++ b/scripts/test-urda-com-forged-statusline.sh @@ -2083,6 +2083,9 @@ run_theme_case "Default (theme unset) stays dark" \ run_theme_case "Junk theme stays dark" \ chartreuse $'\033[90m' $'\033[38;5;240m' \ '{"model":{"display_name":"Opus"},"workspace":{"current_dir":"__HOME__/dev/urda/forged-statusline"},"context_window":{"used_percentage":20}}' +run_theme_case "Light retints cyan badges to dark teal (36m -> 38;5;30m)" \ + light $'\033[38;5;30m' $'\033[36m' \ + '{"model":{"display_name":"Opus"},"workspace":{"current_dir":"__HOME__/dev/urda/forged-statusline"},"context_window":{"used_percentage":20,"context_window_size":200000},"effort":{"level":"high"}}' # Light mode and icon removal remain independent. export URDA_AI_FORGED_STATUS_LINE_ICONS=0 run_theme_case "Light survives icons-off (retint holds, line non-empty)" \ diff --git a/urda-com-forged-statusline.sh b/urda-com-forged-statusline.sh index 3e506c3..872ec58 100755 --- a/urda-com-forged-statusline.sh +++ b/urda-com-forged-statusline.sh @@ -15,7 +15,7 @@ # No `set -e`: a non-zero exit or empty stdout blanks the status line. # # Self-overridable so tests can compare cached and local versions. -URDA_AI_FORGED_STATUS_LINE_VERSION="${URDA_AI_FORGED_STATUS_LINE_VERSION:-1.0.0}" +URDA_AI_FORGED_STATUS_LINE_VERSION="${URDA_AI_FORGED_STATUS_LINE_VERSION:-1.0.1}" # --- manual self-update (user-invoked) -------------------------------------- update_self() { @@ -128,6 +128,7 @@ YELLOW=$'\033[33m' # Light mode retints only colors that wash out on white. case "${URDA_AI_FORGED_STATUS_LINE_THEME:-dark}" in light) + CYAN=$'\033[38;5;30m' # palette cyan is pale on white; dark teal reads GRAY=$'\033[38;5;240m' # bright-black is faint on white; mid-gray reads WHITE=$'\033[39m' # default fg adapts; forced bright-white washes out ;;