xonecas.io
60255
Zn

Zoea-Nova / commit 748d124

Merge pull request #1 from sacenox/ui-fix-and-final-form

UI fix and final form

xonecas2026-02-05 748d1243b76fbd4c0ce5a32185f2756c2114ba1f parent fb1d0b6parent 8491b5b

24 files changed

AGENTS.md+1−0
@@ -8,6 +8,7 @@ Guidelines for AI agents working on the Zoea Nova codebase—a TUI-based swarm c
88
99 **YOU MUST**:
1010
11+- **NEVER edit `documentation/TODO.md`** - This file is managed exclusively by the user. If you believe items should be added or removed, ask the user to update it. This rule has no exceptions.
1112 - Not change the game servers api, if we detect an issue with the api, document it in `documentation/KNOWN_SERVER_ISSUES.md`
1213 - Use Go 1.22+ idioms. No CGO dependencies.
1314 - Keep all application code in `internal/` packages. Only `cmd/zoea/main.go` is public.
UI_LAYOUT_REPORT.md+275−0
@@ -0,0 +1,275 @@
1+# Zoea Nova UI Layout Report
2+
3+Generated: 2026-02-05
4+
5+## Dashboard View (Main Screen)
6+
7+### Layout Structure (Top to Bottom)
8+
9+```
10+┌─────────────────────────────────────────────────────────┐
11+│ 1. HEADER (3 lines) │
12+│ 2. SWARM BROADCAST SECTION (header + variable content) │
13+│ 3. MYSIS SWARM SECTION (header + bordered panel) │
14+│ 4. FOOTER (1 line) │
15+└─────────────────────────────────────────────────────────┘
16+```
17+
18+---
19+
20+## Panel Details
21+
22+### 1. HEADER (Lines 1-3)
23+**Location:** `dashboard.go` lines 33-56
24+**Rendering:** `headerStyle.Width(width).Render(headerText)`
25+
26+```
27+ ⬥═══════════════════════════════════════════════════════⬥
28+ ⬡ Z O E A N O V A ⬡ COMMAND CENTER
29+ ⬥═══════════════════════════════════════════════════════⬥
30+```
31+
32+**Components:**
33+- Top border: ` ⬥` + `═` repeated + `⬥`
34+- Title: Centered text with hexagonal motifs (`⬡`)
35+- Bottom border: Same as top border
36+- **Style:** `headerStyle` (defined in `styles.go`)
37+
38+---
39+
40+### 2. SWARM BROADCAST SECTION (Lines 6-8)
41+**Location:** `dashboard.go` lines 91-122
42+**Always visible:** Yes (shows placeholder when empty)
43+
44+#### Header (Line 6)
45+```
46+⬧────────────────── SWARM BROADCAST ──────────────────⬧
47+```
48+**Rendering:** `renderSectionTitle("SWARM BROADCAST", width)`
49+
50+#### Content (Lines 7-8, variable)
51+**When empty:**
52+```
53+No broadcasts yet. Press 'b' to broadcast.
54+```
55+
56+**When populated (up to 10 messages):**
57+```
58+11:00:00 All units: proceed to sector 7
59+11:05:00 Target rich environment detected
60+```
61+
62+**Format per message:**
63+- Timestamp: `HH:MM:SS` (dimmed style)
64+- Content: Single line, truncated if > `width - 15` characters
65+- Newlines replaced with spaces
66+- Truncation: `...` suffix if content too long
67+
68+**Max messages:** 10 (constant `maxSwarmMessages`)
69+**Order:** Most recent first
70+
71+---
72+
73+### 3. MYSIS SWARM SECTION (Lines 9-40)
74+**Location:** `dashboard.go` lines 124-161
75+
76+#### Header (Line 9)
77+```
78+⬧──────────────────── MYSIS SWARM ────────────────────⬧
79+```
80+**Rendering:** `renderSectionTitle("MYSIS SWARM", width)`
81+
82+#### Panel (Lines 10-40, bordered box)
83+**Border style:** Double-line box (`╔═╗║╚═╝`)
84+**Rendering:** `mysisListStyle.Width(width - 2).Height(mysisListHeight).Render(content)`
85+
86+**Height calculation:**
87+```
88+usedHeight = 5 (header + mysis header + footer)
89+ + 1 (swarm header)
90+ + len(msgLines) (swarm content)
91+ + 2 (panel borders)
92+mysisListHeight = height - usedHeight
93+```
94+
95+**When empty:**
96+```
97+╔════════════════════════════════════════════════════╗
98+║No myses. Press 'n' to create one. ║
99+║ ║
100+╚════════════════════════════════════════════════════╝
101+```
102+
103+**When populated:**
104+```
105+╔════════════════════════════════════════════════════╗
106+║ ⠋ alpha running [ollama] @crab_warrior │ ... ║
107+║ ◦ beta idle [zen] @crab_trader │ ... ║
108+╚════════════════════════════════════════════════════╝
109+```
110+
111+#### Mysis Line Format
112+**Location:** `dashboard.go` lines 170-243
113+**Function:** `renderMysisLine()`
114+
115+**Structure:**
116+```
117+[space] [indicator] [space] [styled content]
118+```
119+
120+**Indicator (outside styled area):**
121+- Running: Animated spinner (e.g., `⠋`)
122+- Idle: `◦` (white bullet)
123+- Stopped: `◌` (dotted circle)
124+- Errored: `✖` (heavy X)
125+- Loading: Animated spinner
126+
127+**Content (inside styled area):**
128+```
129+[name(16)] [state(8)] [provider] [account] │ [last message]
130+```
131+
132+**Fields:**
133+- **Name:** Max 16 chars, truncated with `...` if longer
134+- **State:** 8 chars, padded, colored by state
135+- **Provider:** `[ollama]` or `[opencode_zen]`, dimmed
136+- **Account:** `@username` or `(no account)`, dimmed
137+- **Last message:** Remaining width, truncated with `...`, dimmed, prefixed with ` │ `
138+
139+**Selection styling:**
140+- Selected: `mysisItemSelectedStyle` (background color applied)
141+- Unselected: `mysisItemStyle` (no background)
142+
143+**Note:** Indicator is rendered OUTSIDE the styled content to prevent background color from applying to it (fix from commit fb1d0b6).
144+
145+---
146+
147+### 4. FOOTER (Line 41)
148+**Location:** `dashboard.go` lines 163-165
149+**Rendering:** `dimmedStyle.Render(hint)`
150+
151+```
152+[ ? ] HELP · [ n ] NEW MYSIS · [ b ] BROADCAST
153+```
154+
155+**Components:**
156+- Help hint: `[ ? ] HELP`
157+- New mysis hint: `[ n ] NEW MYSIS`
158+- Broadcast hint: `[ b ] BROADCAST`
159+- Separator: ` · ` (middle dot)
160+
161+**Style:** `dimmedStyle` (gray/dimmed color)
162+
163+---
164+
165+## Focus View (Detailed Mysis View)
166+
167+### Layout Structure
168+
169+```
170+┌─────────────────────────────────────────────────────────┐
171+│ 1. HEADER (mysis name + account + state) │
172+│ 2. CONVERSATION VIEWPORT (scrollable) │
173+│ 3. FOOTER (help hints) │
174+└─────────────────────────────────────────────────────────┘
175+```
176+
177+### Components
178+
179+#### 1. Header
180+**Location:** `focus.go` `renderFocusHeader()`
181+
182+```
183+⬧──────────────────── MYSIS: alpha ────────────────────⬧
184+@crab_warrior · running
185+```
186+
187+**Components:**
188+- Title bar: `⬧` + `─` repeated + `MYSIS: [name]` + `─` repeated + `⬧`
189+- Account + state: `@username · state` (dimmed)
190+
191+#### 2. Conversation Viewport
192+**Location:** `focus.go` `RenderFocusViewWithViewport()`
193+
194+**Scrollable content showing log entries:**
195+
196+**Entry types:**
197+- **System messages:** Cyan color, `[SYSTEM]` prefix
198+- **User messages:** Green color, `[USER]` or `[BROADCAST]` prefix
199+- **Assistant messages:** Magenta color, `[AI]` prefix
200+- **Tool calls:** Yellow color, `[TOOL_CALL]` prefix
201+- **Tool results:** Yellow color, `[TOOL_RESULT]` prefix
202+
203+**Broadcast labels:**
204+- Self broadcast: `[BROADCAST (self)]`
205+- Swarm broadcast: `[SWARM BROADCAST]`
206+
207+**Reasoning display:**
208+- When verbose mode enabled (`v` key)
209+- Shows reasoning content in dimmed style
210+- Prefix: `[REASONING]`
211+
212+**JSON rendering:**
213+- Tool results with JSON are rendered as tree structure
214+- Collapsible/expandable (when verbose mode enabled)
215+- Syntax highlighting with colors
216+
217+**Scrollbar:**
218+- Visual indicator on right edge
219+- Shows scroll position
220+- Characters: `█` (thumb), `│` (track)
221+
222+#### 3. Footer
223+```
224+[ ESC ] BACK · [ v ] VERBOSE · [ ? ] HELP
225+```
226+
227+---
228+
229+## Key Observations
230+
231+### Current Issues Identified
232+
233+1. **Swarm Broadcast Section:**
234+ - Always visible (shows placeholder when empty)
235+ - Takes variable height based on message count (max 10)
236+ - Positioned between header and mysis list
237+
238+2. **Mysis List Panel:**
239+ - Bordered box with double-line style
240+ - Height dynamically calculated to fill remaining space
241+ - Each mysis line shows: indicator, name, state, provider, account, last message
242+
243+---
244+
245+## Code References
246+
247+### Main Files
248+- `internal/tui/dashboard.go` - Dashboard rendering
249+- `internal/tui/focus.go` - Focus view rendering
250+- `internal/tui/styles.go` - Style definitions
251+- `internal/tui/app.go` - Model and update logic
252+
253+### Key Functions
254+- `RenderDashboard()` - Main dashboard render (line 30)
255+- `renderMysisLine()` - Individual mysis line (line 170)
256+- `renderSectionTitle()` - Section headers (in `styles.go`)
257+- `RenderFocusViewWithViewport()` - Focus view with scrolling
258+
259+### Test Files
260+- `internal/tui/testdata/TestDashboard/with_swarm_messages/Stripped.golden`
261+- `internal/tui/testdata/TestDashboard/empty_swarm/Stripped.golden`
262+
263+---
264+
265+## Summary
266+
267+The current UI has **4 main sections** in the dashboard:
268+
269+1. **Header** (3 lines) - Retro-futuristic banner
270+2. **Swarm Broadcast** (variable) - Recent broadcast messages
271+3. **Mysis Swarm** (variable) - Bordered list of myses
272+4. **Footer** (1 line) - Keyboard hints
273+
274+**Total fixed height:** 5 lines (header + footer + 2 section headers)
275+**Variable height:** Swarm messages + Mysis list (fills remaining space)
documentation/TODO.md+4−0
@@ -17,3 +17,7 @@
1717
1818 - Make install command that places the binary in the user's zoea config folder
1919 - check ollama logs, llms are stopping the loop.
20+
21+- mysis are calculating tick wrong.
22+│ │ AI: Waiting for travel to sol_base to complete (arrival_tick: 38549). Will sell ore once arrived at base to conver│ │ │
23+│ │ resources into credits.
internal/tui/dashboard.go+26−53
@@ -31,63 +31,36 @@ func RenderDashboard(myses []MysisInfo, swarmMessages []SwarmMessageInfo, select
3131 var sections []string
3232
3333 // Header - retro-futuristic command center banner with hexagonal motif (matching logo)
34- // Build width-spanning lines (exactly `width` characters)
3534 if width < 20 {
3635 width = 20
3736 }
38- topLine := " ⬥" + strings.Repeat("═", width-3) + "⬥"
39- titleText := " ⬡ Z O E A N O V A ⬡ COMMAND CENTER"
40- // Center the title and pad to full width - use lipgloss.Width() for Unicode
41- titleDisplayWidth := lipgloss.Width(titleText)
42- titlePadding := (width - titleDisplayWidth) / 2
43- if titlePadding < 0 {
44- titlePadding = 0
45- }
46- titleLine := strings.Repeat(" ", titlePadding) + titleText
47- // Pad right side to fill width
48- titleLineWidth := lipgloss.Width(titleLine)
49- if titleLineWidth < width {
50- titleLine += strings.Repeat(" ", width-titleLineWidth)
51- }
52- bottomLine := " ⬥" + strings.Repeat("═", width-3) + "⬥"
5337
54- headerText := topLine + "\n" + titleLine + "\n" + bottomLine
55- header := headerStyle.Width(width).Render(headerText)
38+ // Define custom border with empty sides but diamonds in corners
39+ // We enable all borders to get the corners, but set sides to empty strings
40+ headerBorder := lipgloss.Border{
41+ Top: "═",
42+ Bottom: "═",
43+ Left: " ",
44+ Right: " ",
45+ TopLeft: "⬥",
46+ TopRight: "⬥",
47+ BottomLeft: "⬥",
48+ BottomRight: "⬥",
49+ }
50+
51+ headerStyle := lipgloss.NewStyle().
52+ Bold(true).
53+ Foreground(colorBrand).
54+ Background(colorBgAlt).
55+ Width(width-2). // Subtract 2 for the corner characters
56+ Align(lipgloss.Center).
57+ Border(headerBorder, true, true, true, true).
58+ BorderForeground(colorBrand)
59+
60+ titleText := "⬡ Z O E A N O V A ⬡ COMMAND CENTER"
61+ header := headerStyle.Render(titleText)
5662 sections = append(sections, header)
5763
58- // Stats bar
59- var running, stopped, errored, loading int
60- for _, m := range myses {
61- if loadingSet[m.ID] {
62- loading++
63- }
64- switch m.State {
65- case "running":
66- running++
67- case "stopped":
68- stopped++
69- case "errored":
70- errored++
71- }
72- }
73- stats := fmt.Sprintf(
74- " %s %d %s %d %s %d %s %d",
75- stateRunningStyle.Render("∙"),
76- running,
77- stateIdleStyle.Render("◦"),
78- len(myses)-running-stopped-errored,
79- stateStoppedStyle.Render("◌"),
80- stopped,
81- stateErroredStyle.Render("✖"),
82- errored,
83- )
84- // Add loading indicator if any myses are loading
85- if loading > 0 {
86- stats += fmt.Sprintf(" %s %d", spinnerView, loading)
87- }
88- statsBar := statusBarStyle.Width(width).Render(stats)
89- sections = append(sections, statsBar)
90-
9164 // Swarm message history - always visible with fixed height
9265 swarmHeader := renderSectionTitle("SWARM BROADCAST", width)
9366 sections = append(sections, swarmHeader)
@@ -126,8 +99,8 @@ func RenderDashboard(myses []MysisInfo, swarmMessages []SwarmMessageInfo, select
12699 sections = append(sections, mysisHeader)
127100
128101 // Calculate height used by other elements to fill remaining space
129- // Header: 3 lines + margin, Stats: 1 line, Swarm: header + content, Mysis header: 1 line, Footer: 1 line
130- usedHeight := 6 // header (3 + margin) + stats (1) + mysis header (1) + footer (1)
102+ // Header: 3 lines + margin, Swarm: header + content, Mysis header: 1 line, Footer: 1 line
103+ usedHeight := 5 // header (3 + margin) + mysis header (1) + footer (1)
131104 // Swarm section: header (1) + content lines (at least 1 for placeholder or messages)
132105 usedHeight += 1 + len(msgLines)
133106 // Account for panel borders (top + bottom = 2 lines)
internal/tui/json_tree.go+2−1
@@ -3,6 +3,7 @@ package tui
33 import (
44 "encoding/json"
55 "fmt"
6+ "sort"
67 "strings"
78
89 "github.com/charmbracelet/lipgloss"
@@ -75,7 +76,7 @@ func renderObject(obj map[string]interface{}, prefix string, isLast bool, verbos
7576 for k := range obj {
7677 keys = append(keys, k)
7778 }
78- // Note: Not sorting to preserve JSON order, but could add sort.Strings(keys) here
79+ sort.Strings(keys)
7980
8081 for i, key := range keys {
8182 isLastField := i == len(keys)-1
internal/tui/styles.go+0−6
@@ -57,12 +57,6 @@ var (
5757 Bold(true).
5858 Foreground(colorBrand)
5959
60- // Status bar - teal on dark, command center vibe
61- statusBarStyle = lipgloss.NewStyle().
62- Foreground(colorTeal).
63- Background(colorBgAlt).
64- Padding(0, 1)
65-
6660 // Mysis list - double border for that 80s terminal aesthetic
6761 mysisListStyle = lipgloss.NewStyle().
6862 Border(lipgloss.DoubleBorder()).
internal/tui/testdata/TestDashboard/empty_swarm/ANSI.golden+4−5
@@ -1,8 +1,6 @@
1- ⬥═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
2- ⬡ Z O E A N O V A ⬡ COMMAND CENTER 
3- ⬥═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
4-
5-  ∙ 0 ◦ 0 ◌ 0 ✖ 0  
1+⬥══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
2+  ⬡ Z O E A N O V A ⬡ COMMAND CENTER  
3+⬥══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
64 ⬧────────────────────────────────────────────────── SWARM BROADCAST ───────────────────────────────────────────────────⬧
75 No broadcasts yet. Press 'b' to broadcast.
86 ⬧──────────────────────────────────────────────────── MYSIS SWARM ─────────────────────────────────────────────────────⬧
@@ -37,5 +35,6 @@
3735 ║ ║
3836 ║ ║
3937 ║ ║
38+║ ║
4039 ╚══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
4140 [ ? ] HELP · [ n ] NEW MYSIS · [ b ] BROADCAST
internal/tui/testdata/TestDashboard/empty_swarm/Stripped.golden+3−4
@@ -1,8 +1,6 @@
1- ⬥═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
1+⬥══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
22 ⬡ Z O E A N O V A ⬡ COMMAND CENTER
3- ⬥═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
4-
5- ∙ 0 ◦ 0 ◌ 0 ✖ 0
3+⬥══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
64 ⬧────────────────────────────────────────────────── SWARM BROADCAST ───────────────────────────────────────────────────⬧
75 No broadcasts yet. Press 'b' to broadcast.
86 ⬧──────────────────────────────────────────────────── MYSIS SWARM ─────────────────────────────────────────────────────⬧
@@ -37,5 +35,6 @@ No broadcasts yet. Press 'b' to broadcast.
3735 ║ ║
3836 ║ ║
3937 ║ ║
38+║ ║
4039 ╚══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
4140 [ ? ] HELP · [ n ] NEW MYSIS · [ b ] BROADCAST
internal/tui/testdata/TestDashboard/with_swarm_messages/ANSI.golden+4−5
@@ -1,8 +1,6 @@
1- ⬥═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
2- ⬡ Z O E A N O V A ⬡ COMMAND CENTER 
3- ⬥═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
4-
5-  ∙ 1 ◦ 1 ◌ 0 ✖ 0  
1+⬥══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
2+  ⬡ Z O E A N O V A ⬡ COMMAND CENTER  
3+⬥══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
64 ⬧────────────────────────────────────────────────── SWARM BROADCAST ───────────────────────────────────────────────────⬧
75 11:00:00 All units: proceed to sector 7
86 11:05:00 Target rich environment detected
@@ -37,5 +35,6 @@
3735 ║ ║
3836 ║ ║
3937 ║ ║
38+║ ║
4039 ╚══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
4140 [ ? ] HELP · [ n ] NEW MYSIS · [ b ] BROADCAST
internal/tui/testdata/TestDashboard/with_swarm_messages/Stripped.golden+3−4
@@ -1,8 +1,6 @@
1- ⬥═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
1+⬥══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
22 ⬡ Z O E A N O V A ⬡ COMMAND CENTER
3- ⬥═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
4-
5- ∙ 1 ◦ 1 ◌ 0 ✖ 0
3+⬥══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════⬥
64 ⬧────────────────────────────────────────────────── SWARM BROADCAST ───────────────────────────────────────────────────⬧
75 11:00:00 All units: proceed to sector 7
86 11:05:00 Target rich environment detected
@@ -37,5 +35,6 @@
3735 ║ ║
3836 ║ ║
3937 ║ ║
38+║ ║
4039 ╚══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
4140 [ ? ] HELP · [ n ] NEW MYSIS · [ b ] BROADCAST
internal/tui/testdata/TestFocusView/with_all_roles/ANSI.golden+4−4
@@ -1,9 +1,9 @@
1- ◆───────────────────────────────────────────────── ⬡ MYSIS: alpha ⬡ ──────────────────────────────────────────────────◆
1+ ⬥───────────────────────────────────────────────── ⬡ MYSIS: alpha ⬡ ──────────────────────────────────────────────────⬥
22
33 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
44 │ ID: test-mysis State: running Provider: ollama Account: crab_explorer  │
55 ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
6-◈────────────────────────────────────────────────── CONVERSATION LOG ──────────────────────────────────────────────────◈
6+⬧────────────────────────────────────────────────── CONVERSATION LOG ──────────────────────────────────────────────────⬧
77 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
88 │ │
99 │ SYS:  You are a space exploration AI controlling a ship in the Crustacean Cosmos. │
@@ -15,8 +15,8 @@
1515 │ REASONING: The ship sensors show stable orbit. Fuel at 75%. Cargo hold empty.  │
1616 │ │
1717 │ TOOL: { │
18-│ ├─"name": alpha │
19-│ └─"fuel": 75 │
18+│ ├─"fuel": 75 │
19+│ └─"name": alpha │
2020 │ } │
2121 │ │
2222 │ │
internal/tui/testdata/TestFocusView/with_all_roles/Stripped.golden+4−4
@@ -1,9 +1,9 @@
1- ◆───────────────────────────────────────────────── ⬡ MYSIS: alpha ⬡ ──────────────────────────────────────────────────◆
1+ ⬥───────────────────────────────────────────────── ⬡ MYSIS: alpha ⬡ ──────────────────────────────────────────────────⬥
22
33 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
44 │ ID: test-mysis State: running Provider: ollama Account: crab_explorer │
55 ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
6-◈────────────────────────────────────────────────── CONVERSATION LOG ──────────────────────────────────────────────────◈
6+⬧────────────────────────────────────────────────── CONVERSATION LOG ──────────────────────────────────────────────────⬧
77 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
88 │ │
99 │ SYS: You are a space exploration AI controlling a ship in the Crustacean Cosmos. │
@@ -15,8 +15,8 @@
1515 │ REASONING: The ship sensors show stable orbit. Fuel at 75%. Cargo hold empty. │
1616 │ │
1717 │ TOOL: { │
18-│ ├─"name": alpha │
19-│ └─"fuel": 75 │
18+│ ├─"fuel": 75 │
19+│ └─"name": alpha │
2020 │ } │
2121 │ │
2222 │ │
internal/tui/testdata/TestFocusView/with_scrollbar/ANSI.golden+2−2
@@ -1,9 +1,9 @@
1- ◆────────────────────────────────────────────────── ⬡ MYSIS: beta ⬡ ──────────────────────────────────────────────────◆
1+ ⬥────────────────────────────────────────────────── ⬡ MYSIS: beta ⬡ ──────────────────────────────────────────────────⬥
22
33 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
44 │ ID: test-mysis State: running Provider: ollama Account: (not logged in)  │
55 ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
6-◈────────────────────────────────────────────────── CONVERSATION LOG ──────────────────────────────────────────────────◈
6+⬧────────────────────────────────────────────────── CONVERSATION LOG ──────────────────────────────────────────────────⬧
77 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
88 │ │
99 │ YOU:  Test message line Q │
internal/tui/testdata/TestFocusView/with_scrollbar/Stripped.golden+2−2
@@ -1,9 +1,9 @@
1- ◆────────────────────────────────────────────────── ⬡ MYSIS: beta ⬡ ──────────────────────────────────────────────────◆
1+ ⬥────────────────────────────────────────────────── ⬡ MYSIS: beta ⬡ ──────────────────────────────────────────────────⬥
22
33 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
44 │ ID: test-mysis State: running Provider: ollama Account: (not logged in) │
55 ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
6-◈────────────────────────────────────────────────── CONVERSATION LOG ──────────────────────────────────────────────────◈
6+⬧────────────────────────────────────────────────── CONVERSATION LOG ──────────────────────────────────────────────────⬧
77 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
88 │ │
99 │ YOU: Test message line Q │
internal/tui/testdata/TestFocusViewWithViewport/with_scrollbar/ANSI.golden+2−2
@@ -1,9 +1,9 @@
1- ◆─────────────────────────────────────────────── ⬡ MYSIS: test-mysis ⬡ ───────────────────────────────────────────────◆
1+ ⬥─────────────────────────────────────────────── ⬡ MYSIS: test-mysis ⬡ ───────────────────────────────────────────────⬥
22
33 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
44 │ ID: test-id State: running Provider: ollama Account: crab_pilot  │
55 ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
6-◈────────────────────────────────────────────────── CONVERSATION LOG ──────────────────────────────────────────────────◈
6+⬧────────────────────────────────────────────────── CONVERSATION LOG ──────────────────────────────────────────────────⬧
77 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
88 │ │
99 │ █ │
internal/tui/testdata/TestFocusViewWithViewport/with_scrollbar/Stripped.golden+2−2
@@ -1,9 +1,9 @@
1- ◆─────────────────────────────────────────────── ⬡ MYSIS: test-mysis ⬡ ───────────────────────────────────────────────◆
1+ ⬥─────────────────────────────────────────────── ⬡ MYSIS: test-mysis ⬡ ───────────────────────────────────────────────⬥
22
33 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
44 │ ID: test-id State: running Provider: ollama Account: crab_pilot │
55 ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
6-◈────────────────────────────────────────────────── CONVERSATION LOG ──────────────────────────────────────────────────◈
6+⬧────────────────────────────────────────────────── CONVERSATION LOG ──────────────────────────────────────────────────⬧
77 ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
88 │ │
99 │ █ │
internal/tui/testdata/TestHelp/content/ANSI.golden+1−1
@@ -9,7 +9,7 @@
99
1010 ╔═══════════════════════════════════════════════╗
1111 ║ ║
12- ║  ◆═══ ⬡ COMMAND REFERENCE ⬡ ═══◆  ║
12+ ║  ⬥═══ ⬡ COMMAND REFERENCE ⬡ ═══⬥  ║
1313 ║   ║
1414 ║ q / Ctrl+C  Quit  ║
1515 ║ n  New mysis  ║
internal/tui/testdata/TestHelp/content/Stripped.golden+1−1
@@ -9,7 +9,7 @@
99
1010 ╔═══════════════════════════════════════════════╗
1111 ║ ║
12- ║ ◆═══ ⬡ COMMAND REFERENCE ⬡ ═══◆ ║
12+ ║ ⬥═══ ⬡ COMMAND REFERENCE ⬡ ═══⬥ ║
1313 ║ ║
1414 ║ q / Ctrl+C Quit ║
1515 ║ n New mysis ║
internal/tui/testdata/TestJSONTree/simple_object/ANSI.golden+2−2
@@ -1,5 +1,5 @@
11 {
2+ ├─"id": abc123
23 ├─"name": mysis-1
3- ├─"state": running
4- └─"id": abc123
4+ └─"state": running
55 }
internal/tui/testdata/TestJSONTree/simple_object/Stripped.golden+2−2
@@ -1,5 +1,5 @@
11 {
2+ ├─"id": abc123
23 ├─"name": mysis-1
3- ├─"state": running
4- └─"id": abc123
4+ └─"state": running
55 }
internal/tui/testdata/TestLogEntry/tool_with_json/ANSI.golden+2−2
@@ -1,6 +1,6 @@
11
22 TOOL: {
3+ ├─"fuel": 100
34 ├─"name": mysis-1
4- ├─"state": running
5- └─"fuel": 100
5+ └─"state": running
66 }
internal/tui/testdata/TestLogEntry/tool_with_json/Stripped.golden+2−2
@@ -1,6 +1,6 @@
11
22 TOOL: {
3+ ├─"fuel": 100
34 ├─"name": mysis-1
4- ├─"state": running
5- └─"fuel": 100
5+ └─"state": running
66 }
internal/tui/testdata/TestLogEntry/tool_with_prefixed_json/ANSI.golden+2−2
@@ -1,6 +1,6 @@
11
22 TOOL: {
3- ├─"total": 1
43 ├─"max": 16
5- └─"status": ok
4+ ├─"status": ok
5+ └─"total": 1
66 }
internal/tui/testdata/TestLogEntry/tool_with_prefixed_json/Stripped.golden+2−2
@@ -1,6 +1,6 @@
11
22 TOOL: {
3- ├─"total": 1
43 ├─"max": 16
5- └─"status": ok
4+ ├─"status": ok
5+ └─"total": 1
66 }