You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DESIGN.md
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,24 +11,27 @@ space.
11
11
| --- | --- | --- |
12
12
|`idle`| Transparent panel; a smooth 2D virtual-streamer Miku walks slowly along the lower-right wallpaper area and reveals a terminal bubble on hover | Stopped |
13
13
|`opening`| Same panel transitions to the active composition | Stopped |
14
-
|`terminal`| Screen-sized, borderless, normal-level panel with a large speech-bubble PTY terminal and Miku right rail | Running and directly focused |
14
+
|`terminal`| Screen-sized, borderless, normal-level panel with a large speech-bubble PTY terminal, compact MikuCode header, and Miku right rail | Running and directly focused |
15
15
|`closing`| Active composition leaves the same panel | Stopped, drained, and persisted |
16
16
17
17
Repeated or out-of-order events are no-ops. Command-W and panel-close requests
18
18
use the close transition and return to `idle`.
19
19
20
20
## Composition
21
21
22
-
- The active terminal occupies 74% of display width and 84% of display height;
22
+
- The active terminal occupies 77% of display width and 84% of display height;
23
23
the Miku rail is right-aligned and occupies the remaining region.
24
24
- The idle panel is fully transparent, shadowless, and passes pointer events
25
-
through outside its documented 200 × 340 point lower-right Miku region.
25
+
through outside its documented 220 × 360 point lower-right Miku region.
26
26
- Hover shifts Miku's focus toward the user and reveals a small speech-bubble
27
27
terminal affordance. Her artwork switches to a direct, attentive gaze.
28
28
Clicking either Miku herself or that bubble begins the terminal transition.
29
-
- The terminal is the only visible active control. It has no title bar,
30
-
traffic lights, toolbar, status chips, text fields, paging/search controls,
31
-
or permanent Clear, Interrupt, or Send buttons.
29
+
- In terminal state, the bubble header contains `miku-code` and one close
30
+
control. Clicking it or expanded Miku closes the terminal and returns to idle.
31
+
- The terminal header is an agent-workspace cue, not a toolbar: it contains the
32
+
app name, the actual PTY state, and one close control. There are no traffic
33
+
lights, provider selectors, text fields, paging/search controls, or permanent
34
+
Clear, Interrupt, or Send buttons.
32
35
- Terminal output remains selectable through AppKit accessibility text even
33
36
when Metal renders the visible glyphs.
34
37
@@ -48,10 +51,12 @@ on terminal exit.
48
51
## Visual tokens
49
52
50
53
The visual system uses a 4-point spacing base. Idle is transparent; active
51
-
surfaces use a blue-black two-stop bubble, a translucent rim, a restrained
52
-
teal shadow, and white terminal text. The app icon is a separate
54
+
surfaces use a graphite two-stop bubble, a translucent rim, a restrained teal
55
+
shadow, and white terminal text. The header uses compact rounded app type with
56
+
monospaced `agent terminal` and PTY state labels, making the surface read as a
57
+
coding-agent workspace rather than a generic terminal emulator. The app icon is a separate
53
58
terminal-and-Miku asset; the desktop companion contains only the 2D Miku
54
59
character. Idle artwork crossfades between left and right walking frames while
55
-
moving horizontally; hover and terminal states use the focus frame. ANSI colors
60
+
moving horizontally above a subtle teal ground shadow; hover and terminal states use the focus frame. ANSI colors
56
61
are confined to terminal output. Reduce Motion removes companion float and
0 commit comments