Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 82437bd4b9 | |||
| ac690c11d5 | |||
| d845b20efd |
@@ -32,9 +32,9 @@ separate dev team rather than an in-tree Worldtree tool.
|
|||||||
|
|
||||||
## Current state / in-flight
|
## Current state / in-flight
|
||||||
|
|
||||||
_As of 2026-05-24 (post-v0.6.1 picker contrast + thinking inline):_
|
_As of 2026-05-24 (post-v0.6.4 picker Aurora-blue highlight):_
|
||||||
|
|
||||||
**Status: v0.6.1 shipped.** Nine core issues complete (`sse_client`
|
**Status: v0.6.4 shipped.** Nine core issues complete (`sse_client`
|
||||||
#1, `sessions` #2, `cli` #3, `tui` #4, `--end-user-id` #5, TUI
|
#1, `sessions` #2, `cli` #3, `tui` #4, `--end-user-id` #5, TUI
|
||||||
startup error visibility #6, presenter contract semantics amendment
|
startup error visibility #6, presenter contract semantics amendment
|
||||||
#12, startup agent picker #8, §5 layout reshape + Tools pane #13)
|
#12, startup agent picker #8, §5 layout reshape + Tools pane #13)
|
||||||
@@ -51,7 +51,10 @@ Static in the footer (static "Tools" v1; dynamic when more tabs
|
|||||||
land). CLI mode (--send) unaffected by design — INV-018.
|
land). CLI mode (--send) unaffected by design — INV-018.
|
||||||
|
|
||||||
Last commits on `main`:
|
Last commits on `main`:
|
||||||
- v0.6.1 style(tui): kill remaining blue + thinking-current into Thinking pane
|
- v0.6.4 style(tui): picker highlighted item → Aurora blue (brand selection treatment)
|
||||||
|
- `ac690c1` style(tui): restore Australis palette, only $background → pure black (v0.6.3)
|
||||||
|
- `d845b20` style(tui): neutralize Australis dark palette (v0.6.2, reverted)
|
||||||
|
- `8463eb2` style(tui): kill remaining blue + thinking-current into pane (v0.6.1)
|
||||||
- `cfee89a` refactor(tui): streaming + turn headers + Thinking pane (v0.6.0)
|
- `cfee89a` refactor(tui): streaming + turn headers + Thinking pane (v0.6.0)
|
||||||
- `7106af5` style(tui): UI polish pass — terminal label colors, placeholders (v0.5.1)
|
- `7106af5` style(tui): UI polish pass — terminal label colors, placeholders (v0.5.1)
|
||||||
- `ffd22fb` refactor(tui): content-only main pane + Debug tab + chrome dark (v0.5.0)
|
- `ffd22fb` refactor(tui): content-only main pane + Debug tab + chrome dark (v0.5.0)
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "ratatoskr"
|
name = "ratatoskr"
|
||||||
version = "0.6.1"
|
version = "0.6.4"
|
||||||
description = "Worldtree Conversation API debug TUI — multi-pane observability dashboard"
|
description = "Worldtree Conversation API debug TUI — multi-pane observability dashboard"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
+38
-17
@@ -68,16 +68,25 @@ from ratatoskr.sse_client import (
|
|||||||
# for primary surfaces; Dawn accents (red/yellow/magenta) used sparingly for
|
# for primary surfaces; Dawn accents (red/yellow/magenta) used sparingly for
|
||||||
# terminal-event labels (error/cancelled).
|
# terminal-event labels (error/cancelled).
|
||||||
#
|
#
|
||||||
|
# **v0.6.3 single deviation from spec**: `$background` is `#000000` (pure
|
||||||
|
# black), NOT Australis Ice black `#222531`. The Ice black is RGB(34,37,49)
|
||||||
|
# — blue dominant — and at App-wide scale the cumulative cast reads as
|
||||||
|
# "the whole app is blue" to operators (even though no single surface is
|
||||||
|
# "blue" in the strict-color sense). Pure black for the App background
|
||||||
|
# kills that perception. EVERY OTHER Australis value — Aurora accents,
|
||||||
|
# Sea darks for chrome (surface/panel), Ice white foreground, Dawn
|
||||||
|
# accents — stays verbatim per spec.
|
||||||
|
#
|
||||||
# Mapping to Textual's Theme semantic tokens:
|
# Mapping to Textual's Theme semantic tokens:
|
||||||
# primary = Aurora blue (#6388D8) — focus rings, active selection.
|
# primary = Aurora blue (#6388D8) — focus rings, active selection.
|
||||||
# secondary = Aurora cyan (#00b1a8) — secondary highlights.
|
# secondary = Aurora cyan (#00b1a8) — secondary highlights.
|
||||||
# accent = Aurora bright cyan (#42dcd1) — bright accents (pane-name, prompt echo).
|
# accent = Aurora bright cyan (#42dcd1) — bright accents.
|
||||||
# success = Aurora green (#16B866) — [done] label.
|
# success = Aurora green (#16B866) — [done] label.
|
||||||
# warning = Dawn yellow (#e1c631) — [cancelled] label.
|
# warning = Dawn yellow (#e1c631) — [cancelled] label.
|
||||||
# error = Dawn red (#ff491a) — [error] label.
|
# error = Dawn red (#ff491a) — [error] label.
|
||||||
# foreground = Ice white (#a9bcc3) — default text.
|
# foreground = Ice white (#a9bcc3) — default text.
|
||||||
# background = Ice black (#222531) — App background.
|
# background = pure black (#000000) — App background (v0.6.3 deviation).
|
||||||
# surface = Sea bright black (#373b46) — raised chrome (header/footer/input).
|
# surface = Sea bright black (#373b46) — raised chrome.
|
||||||
# panel = Sea dark 30 (#414751) — borders, separators.
|
# panel = Sea dark 30 (#414751) — borders, separators.
|
||||||
|
|
||||||
AUSTRALIS_THEME = Theme(
|
AUSTRALIS_THEME = Theme(
|
||||||
@@ -89,7 +98,7 @@ AUSTRALIS_THEME = Theme(
|
|||||||
warning="#e1c631",
|
warning="#e1c631",
|
||||||
error="#ff491a",
|
error="#ff491a",
|
||||||
foreground="#a9bcc3",
|
foreground="#a9bcc3",
|
||||||
background="#222531",
|
background="#000000",
|
||||||
surface="#373b46",
|
surface="#373b46",
|
||||||
panel="#414751",
|
panel="#414751",
|
||||||
dark=True,
|
dark=True,
|
||||||
@@ -115,9 +124,9 @@ AUSTRALIS_THEME = Theme(
|
|||||||
_AU_SUCCESS = "#16B866"
|
_AU_SUCCESS = "#16B866"
|
||||||
_AU_ERROR = "#ff491a"
|
_AU_ERROR = "#ff491a"
|
||||||
_AU_WARNING = "#e1c631"
|
_AU_WARNING = "#e1c631"
|
||||||
_AU_USER_ECHO = "#42dcd1" # bright cyan — operator's voice
|
_AU_USER_ECHO = "#42dcd1" # Aurora bright cyan — operator's voice
|
||||||
_AU_DEMOTED = "#86929d" # dark 60 — demoted telemetry (was bare "dim")
|
_AU_DEMOTED = "#86929d" # Sea dark 60 — demoted telemetry
|
||||||
_AU_DEMOTED_FAINT = "#6e7882" # dark 50 — empty-state placeholder text
|
_AU_DEMOTED_FAINT = "#6e7882" # Sea dark 50 — empty-state placeholders
|
||||||
|
|
||||||
|
|
||||||
# ---- Issue #12 presenter contract semantics amendment -------------------------
|
# ---- Issue #12 presenter contract semantics amendment -------------------------
|
||||||
@@ -416,22 +425,34 @@ class AgentPickerApp(App[str | None]):
|
|||||||
background: $background;
|
background: $background;
|
||||||
}
|
}
|
||||||
/* Multi-line agent items. Each ListItem is auto-height so the full
|
/* Multi-line agent items. Each ListItem is auto-height so the full
|
||||||
description wraps below the agent_id/name line — no truncation. */
|
description wraps below the agent_id/name line — no truncation.
|
||||||
|
v0.6.4: lock bg to $background so Textual's auto background-tint on
|
||||||
|
focus doesn't bleed through unwanted color into the non-highlighted
|
||||||
|
items. */
|
||||||
#agent-list > ListItem {
|
#agent-list > ListItem {
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 1 1;
|
padding: 1 1;
|
||||||
background: $background;
|
background: $background;
|
||||||
}
|
}
|
||||||
/* v0.6.1: override Textual's default ListView:focus highlight, which
|
/* v0.6.4: highlighted item gets Aurora blue background (Textual's
|
||||||
defaults to $primary (Aurora blue) and made the picker unreadable.
|
default $block-cursor-background = $primary). Override only the
|
||||||
Both selectors needed — focused state has higher specificity in
|
text-color descendants so id-line/desc stay readable on blue. The
|
||||||
Textual's defaults. */
|
background itself comes from Textual's default ListItem.-highlight
|
||||||
ListView > ListItem.--highlight,
|
rule — we removed our previous overriding selectors.
|
||||||
ListView:focus > ListItem.--highlight {
|
|
||||||
background: $au-dark-30;
|
Textual's class is `-highlight` (single dash). Use plain descendant
|
||||||
|
combinator to bypass internal DOM wrappers. */
|
||||||
|
#agent-list:focus ListItem.-highlight {
|
||||||
|
background: $primary;
|
||||||
}
|
}
|
||||||
/* Children of highlighted items keep their colors — the dark-30 bg
|
#agent-list:focus ListItem.-highlight .agent-id-line {
|
||||||
provides enough contrast for bright-blue id + dark-60 desc text. */
|
color: $au-bright-white;
|
||||||
|
text-style: bold;
|
||||||
|
}
|
||||||
|
#agent-list:focus ListItem.-highlight .agent-desc {
|
||||||
|
color: $au-bright-80;
|
||||||
|
}
|
||||||
|
/* Default (unhighlighted) item text styling. */
|
||||||
.agent-id-line {
|
.agent-id-line {
|
||||||
color: $au-bright-blue;
|
color: $au-bright-blue;
|
||||||
text-style: bold;
|
text-style: bold;
|
||||||
|
|||||||
Reference in New Issue
Block a user