Skip to content

Commit 4df12e7

Browse files
author
Yogthos
committed
Refine TUI mock: drop AGENT STATUS box, add input row, gray left / amber right
- Left column is now just CONTEXT + ACTIVITY (no AGENT STATUS / banner). - Context & activity text renders dim gray; right-side panels (SYSTEM LOAD, MCP, LSP, MODIFIED) and all panel labels render amber, matching the TUI. - Add the bottom input row: [$_$] status face + prompt field with cursor.
1 parent 94f1d94 commit 4df12e7

1 file changed

Lines changed: 31 additions & 14 deletions

File tree

index.html

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,10 @@
236236
.tui-bar .t{font-size:11px;color:#8b949e;letter-spacing:0.04em;font-family:var(--mono)}
237237

238238
.tui{
239-
--ph-bg:#04080c;--ph-line:#1c7a3f;--ph-label:#46d479;
239+
--ph-bg:#04080c;--ph-line:#1c7a3f;--ph-label:#d8b24a;
240240
--ph-fg:#83e3a3;--ph-bright:#d6f9e3;--ph-dim:#4f7a60;
241241
--ph-add-bg:#0c3a1d;--ph-add:#74e58f;--ph-del-bg:#3a1416;--ph-del:#ef8e8e;
242-
--ph-amber:#d8c45a;--ph-cyan:#5fd0d0;
242+
--ph-amber:#d8b24a;--ph-cyan:#5fd0d0;--ph-gray:#7c858d;
243243
background:var(--ph-bg);color:var(--ph-fg);
244244
font-family:var(--mono);font-size:11px;line-height:1.5;padding:15px 14px 12px;
245245
}
@@ -252,12 +252,28 @@
252252
padding:0 5px;color:var(--ph-label);font-size:8.5px;letter-spacing:0.14em;white-space:nowrap;
253253
}
254254
.pnl p{margin:0;color:var(--ph-fg);line-height:1.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
255+
/* Left panels (context / activity) read in dim gray; right panels
256+
(system / mcp / lsp / modified) read in amber — matching the TUI. */
257+
.lcol .pnl p{color:var(--ph-gray)}
258+
.rcol .pnl p{color:var(--ph-amber)}
255259
.dimt{color:var(--ph-dim)}
256260
.brt{color:var(--ph-bright)}
257261
.amb{color:var(--ph-amber)}
258262
.cy{color:var(--ph-cyan)}
259263
.ok{color:var(--ph-add)}
260-
.banner{color:var(--ph-bright);letter-spacing:0.42em;font-size:13px;text-align:center;padding:5px 0 3px}
264+
265+
/* Bottom input row: status face + prompt field */
266+
.tui-input{display:grid;grid-template-columns:88px 1fr;gap:11px;margin-top:14px}
267+
.tui-face{
268+
border:1px solid var(--ph-line);border-radius:3px;
269+
display:flex;align-items:center;justify-content:center;
270+
color:var(--ph-fg);font-size:12px;letter-spacing:0.08em;
271+
}
272+
.tui-field{
273+
border:1px solid var(--ph-line);border-radius:3px;
274+
padding:0 10px;color:var(--ph-fg);
275+
display:flex;align-items:center;min-height:34px;
276+
}
261277

262278
.log p{white-space:normal;margin-bottom:2px}
263279
.log .step{padding-left:12px;text-indent:-12px}
@@ -487,22 +503,18 @@ <h1><em>dirge</em> — The Minimal<br>Rust Coding Agent</h1>
487503
<div class="tui-grid">
488504

489505
<!-- LEFT -->
490-
<div class="tui-col side">
491-
<div class="pnl">
492-
<span class="pl">AGENT STATUS</span>
493-
<div class="banner">D I R G E</div>
494-
</div>
506+
<div class="tui-col side lcol">
495507
<div class="pnl">
496508
<span class="pl">CONTEXT</span>
497-
<p>ctx <span class="ok">▓▓░░░░░░░░</span> 1%</p>
498-
<p class="dimt">11.5k / 1.0M · cmp:0</p>
509+
<p>ctx [██░░░░░░░░] 1%</p>
510+
<p>11.5k / 1.0M · cmp:0</p>
499511
</div>
500512
<div class="pnl">
501513
<span class="pl">ACTIVITY</span>
502514
<p>edit voxel.html</p>
503515
<p>read voxel.html</p>
504516
<p>skill paren-check</p>
505-
<p class="dimt">bash cd …/scittle</p>
517+
<p>bash cd …/scittle</p>
506518
</div>
507519
</div>
508520

@@ -531,11 +543,11 @@ <h1><em>dirge</em> — The Minimal<br>Rust Coding Agent</h1>
531543
</div>
532544

533545
<!-- RIGHT -->
534-
<div class="tui-col side">
546+
<div class="tui-col side rcol">
535547
<div class="pnl">
536548
<span class="pl">SYSTEM LOAD</span>
537-
<p>CPU <span class="dimt">[##......]</span> 24%</p>
538-
<p>MEM <span class="dimt">[####....]</span> 55%</p>
549+
<p>CPU [██░░░░░░] 24%</p>
550+
<p>MEM [████░░░░] 55%</p>
539551
</div>
540552
<div class="pnl">
541553
<span class="pl">MCP</span>
@@ -556,6 +568,11 @@ <h1><em>dirge</em> — The Minimal<br>Rust Coding Agent</h1>
556568

557569
</div>
558570

571+
<div class="tui-input">
572+
<div class="tui-face">[$_$]</div>
573+
<div class="tui-field"><span class="tcur"></span></div>
574+
</div>
575+
559576
<div class="tui-status">
560577
<span>scittle-voxel</span><span class="dimt">·</span>
561578
<span>deepseek-v4-pro</span><span class="dimt">·</span>

0 commit comments

Comments
 (0)