townmouse 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +72 -2
- package/DESIGN.md +26 -42
- package/README.md +286 -54
- package/SECURITY.md +3 -0
- package/TOWNMOUSE.md +1 -1
- package/bin/townmouse +2 -2
- package/docs/PACKAGING.md +104 -8
- package/docs/browser-workspace.md +62 -9
- package/docs/panes.md +199 -9
- package/native/TownmouseApp.swift +5 -5
- package/npm-shrinkwrap.json +1282 -0
- package/package.json +11 -7
- package/public/browser-picture.mjs +159 -0
- package/public/features/app-version.mjs +35 -0
- package/public/features/autosave.mjs +5 -1
- package/public/features/multi-window-sync.mjs +3 -1
- package/public/features/osc-bridge.mjs +8 -3
- package/public/features/session-manager.mjs +202 -100
- package/public/features/status-metrics.mjs +23 -0
- package/public/features/tab-reorder.mjs +8 -0
- package/public/features/window-title.mjs +10 -3
- package/public/index.html +617 -78
- package/public/input-guard.mjs +10 -2
- package/public/panes.css +189 -13
- package/public/panes.html +4 -1
- package/public/panes.mjs +667 -109
- package/public/workspace.css +198 -24
- package/public/workspace.mjs +346 -106
- package/scripts/install-service.sh +97 -63
- package/scripts/panes +134 -5
- package/scripts/retire-legacy-service.sh +76 -0
- package/scripts/{t1.sh → townmouse.sh} +60 -21
- package/scripts/uninstall-service.sh +31 -15
- package/src/agent-guide.js +72 -3
- package/src/attachments.js +2 -2
- package/src/browser-dom.js +5 -2
- package/src/browser-workspace.js +549 -62
- package/src/owner-page.js +43 -0
- package/src/request-boundary.js +1 -1
- package/src/server.js +588 -128
- package/src/workspace-panes.js +423 -91
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,77 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to Townmouse and the TerminalOne engine it embeds.
|
|
4
4
|
|
|
5
|
-
Townmouse is version 0.
|
|
5
|
+
Townmouse is version 0.4.0 and is licensed AGPL-3.0-only. The 1.0.x entries below are the engine's inherited release history; the version numbers and dates stay exactly where history put them.
|
|
6
|
+
|
|
7
|
+
## [0.4.0] — 2026-11-29
|
|
8
|
+
|
|
9
|
+
This release carries everything in 0.3.0, which was never published, and what is listed here.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **A browser pane keeps one size whether it is active or not.** Its editing rows used to be removed from an inactive pane, so the picture shrank on a click and the page inside was laid out again. The rows now keep their place, hidden, and clicking into a pane or away from it changes only which pane is active.
|
|
14
|
+
- **A pinch or a zoom key no longer zooms the pane workspace**, wherever the fingers or the keyboard are: over the picture, the title bar, a terminal pane, the bottom bar or inside an open sheet. A plain scroll over the picture still scrolls the page inside, and the menu's Larger text and Smaller text still change the terminal's text size.
|
|
15
|
+
- **A new browser pane is ready for its address.** After "Add browser pane" the pane is active and the address box has the focus, and keys typed in the half-second before the pane exists are kept for it. Before, the focus stayed in the terminal and a typed address ran there as a command.
|
|
16
|
+
- **The keyboard stays where the person put it.** Typing with the Menu open no longer reaches the terminal, and a change made by an agent no longer throws away a half-typed address.
|
|
17
|
+
- On a phone a browser pane keeps its height: at 393 wide the picture is 383×337 again (it had become 383×227).
|
|
18
|
+
- A blank pane's address box no longer reads "about:blank", which turned a typed address into an invalid one.
|
|
19
|
+
- The block that could appear before a prompt in a narrow terminal pane is gone. It was the mark zsh prints before a prompt, drawn at the shell's width in a pane a column narrower. Earlier output is now shown at the shell's width, and the pane fits to its own afterwards.
|
|
20
|
+
- **The top row lists the shells that exist, one chip each.** Two parts of the page each kept a record of sessions in the browser's storage, under two different keys per session, so the row grew two chips per shell, showed only the last five, and kept chips for shells that had ended. A chip labelled with the short session code could not be resumed, and clicking it printed `[resume unavailable — starting fresh shell]` and started another shell. The row is now the server's list, sent to the page whenever it changes and rebuilt on every load. A chip is a named button that switches to its shell and never starts one.
|
|
21
|
+
- **A shell is no longer killed five minutes after nobody is looking.** A shell with no viewer was cleaned up while its chip stayed. A shell now keeps running until it is closed, its shell exits, or the app stops.
|
|
22
|
+
- **Shells can be closed.** Every shell has a close control on its chip and in the Sessions list, and Tools keeps Close terminal. Each asks first, names the shell and says what the window will show next; confirming ends the shell process. Until now nothing could end a shell short of stopping the app.
|
|
23
|
+
- **A shell that cannot be resumed is announced, not replaced.** A page whose shell was gone started a new one with a line of yellow text. It now says what happened, as far as that is known (the app was restarted; the shell was closed), and lands on a shell that exists or on one clear action. A window with no shell no longer reconnects into a new shell on its own.
|
|
24
|
+
- The title names the shell being viewed. It was fixed text, so it could disagree with the footer. The footer also keeps the shell and folder after a first load.
|
|
25
|
+
- Reloading a page no longer pastes a saved copy of the last screen on top of the resumed shell.
|
|
26
|
+
- Opening the Sessions list no longer wraps the + button onto a second line.
|
|
27
|
+
- **A shell shows its recent output every time it is rejoined.** The output used to be handed to the first page that rejoined the shell and then dropped, so the second time (switching back from another shell, a reload, a window opened anew) only a prompt was left on screen, which reads as "my session is gone". Each shell now keeps its most recent output (up to 512K characters, whole lines) and every rejoin shows it: once, in order, at whatever width. The store is a list of blocks, so a shell that prints a lot costs almost nothing to keep.
|
|
28
|
+
- **A shell takes typing again after it is rejoined.** The page waits for a resumed shell's replay to be fully on screen before it fits the terminal to the window. That word was lost on the way: a feature that watches for clipboard and notification instructions had replaced the terminal's write with one that dropped it. After any rejoin that replayed something, nothing the shell printed next was shown and the terminal stopped following the window's size until the person switched away and back. 0.3.0 has this too.
|
|
29
|
+
- **A replay is not answered or obeyed a second time.** Old output can ask the terminal where the cursor is. Answered again at a rejoin, the answer was typed into the shell and sat at the prompt as stray characters. Old output can tell the page to set the clipboard or raise a notification; obeyed again at each rejoin, the clipboard was overwritten with something old. The page no longer answers a question from a replay, and an instruction is carried only with output nobody has seen yet.
|
|
30
|
+
- **The terminal's line spacing no longer depends on when its web font arrived.** The grid is measured when the terminal is opened, and the terminal library measures it again only when its font setting changes. If the font was still on its way at that moment, the grid kept the stand-in font's tighter line spacing until the next rejoin: lines 19 px apart and 39 rows, where the font gives 21 px and 35 rows, on about two first loads in five. Each time a font finishes loading, the terminal is now measured again and fitted.
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- **The app says which version it is.** The tab title carries the version on both surfaces, Menu and Settings show it under their title where nothing scrolls, and `/health` reports it. It used to be known only to `townmouse --version`.
|
|
35
|
+
- **No change ships without a version.** `npm run version:check` is the one definition of "the version is right": the version agrees in `package.json`, both lockfiles, the changelog and the release notes, each with one release date. Every pull request runs it against the last release tag and refuses a change to what ships unless the version is higher. At release time the same check runs before publishing. `npm run version:bump <version>` writes a new version into every place at once. The rule is written in `docs/PACKAGING.md`, under Versioning.
|
|
36
|
+
- **The browser pane is smooth while a person watches it and quiet while they do not.** Chrome sends a picture each time the page repaints, up to 30 a second for one pane and 48 across all panes; before, one picture was taken a second, watched or not. On a Mac with two panes changing: 1.9 pictures a second before, 29 after, and a click reaches the page in about 6 ms instead of about 250. A pane that cannot be seen is not pictured at all. An agent's `observe` still takes its own picture and never waits behind a person's.
|
|
37
|
+
- **Agents reach a pane only as far as the owner grants.** A pane belongs to whoever opened it. One the owner opened is Private to agents until the owner chooses View only or Allow control in that pane's header; the server enforces it on every route, not only in the page, so an agent cannot read, type into, move, resize or close a Private pane and sees none of its title, address, folder or output. An agent asks with `panes pane request <pane-id> --level view|control`, and the ask is shown under that pane's header. An agent's own panes, and the Orchestrator pane, are every agent's to use.
|
|
38
|
+
- **A password field's value never comes back from a page**, on any route: not in an element catalog, not in the result of a click or of typing, not in the report of the focused field, and a password field cannot be waited on. Typing into the field still works, and the page still receives what was typed.
|
|
39
|
+
- Shells have names (`Shell 1`, `Shell 2`, or a name chosen in the Sessions list), and the Sessions list states how many of the ten sessions are in use.
|
|
40
|
+
- Agents can list, start, rename, show and close the shells they start in the terminal row: `panes session list|create|rename|activate|close` and `/api/sessions`, with the pane API's token. The agent guide describes them.
|
|
41
|
+
- `tests/session-row.test.cjs` covers the row, closing (the real shell process), a reload, the agent API, the limit, three layouts and an app restart.
|
|
42
|
+
- `tests/resume-replay.test.cjs` covers a shell rejoined again and again (switching, a reload, a new window, phone and desktop widths), output printed while nobody watched, typing after a rejoin, the cap on what is replayed, and a replay that asks a question or sets the clipboard.
|
|
43
|
+
- `tests/pane-stability.test.cjs`, `tests/browser-picture-rate.test.cjs`, `tests/pane-access.test.cjs`, `tests/pane-access-ui.test.cjs`, `tests/password-results.test.cjs`, `tests/owner-key.test.cjs`, `tests/terminal-fit.test.cjs` and `tests/check-version.test.mjs` cover the rest of the above; each fails on the version before.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- Session chips can no longer be dragged to reorder. The drag was announced only by the pointer shape, its order was never kept past a redraw, and neither keyboard nor touch could reach it. The row follows the order the shells were opened in.
|
|
48
|
+
|
|
49
|
+
### Security
|
|
50
|
+
|
|
51
|
+
- `GET /admin/sessions` and `POST /admin/sessions/:id/kill` are removed. Either could be called by any local process that could reach loopback, without the workspace token. The session list and close now live under `/api/sessions` behind the token; the owner's page uses its own WebSocket.
|
|
52
|
+
- **A shell in the terminal row belongs to whoever started it**, as a pane does. The key decides whose shell a new one is (`createdBy` in the body is ignored); on a shell the person started, rename, show and close answer an agent with 403 `OWNER_ONLY` and leave the shell as it was; and an agent's `session list` holds only the shells agents started, with `ownerStarted` counting the rest. An agent's `session list` therefore shows none of the person's shell names or folders. At the cap, an agent holding no shell it may close is told that the person started them all. This is a rule for agents using this API: it does not read or type into any shell, and it does not change the page's own WebSocket, which has never asked for a secret.
|
|
53
|
+
- Who is asking is read from the key presented, never from a field in the request. The person's page holds a key of its own that lives for one run of the server; agents hold the workspace token.
|
|
54
|
+
- **The owner's key is not had by ordinary requests.** The page is handed its key only when it was opened as a navigation and asks from its own page. A program that merely fetches the page and then asks for the workspace is refused, in words that tell an agent what to do instead (`panes state`, then `panes pane request`). The single-browser workspace's route is guarded the same way.
|
|
55
|
+
- **What these rules do not do.** They hold for agents that use the tools Townmouse gives them: the `panes` command, a pane's environment and the pane API. They do not hold against a program on the same Mac that presents itself as the owner's page, by sending a browser's navigation details on purpose, or that drives a real browser. That is what the next stage, agents separated from the owner, is for.
|
|
56
|
+
|
|
57
|
+
## [0.3.0] — 2026-11-28
|
|
58
|
+
|
|
59
|
+
### Changed
|
|
60
|
+
|
|
61
|
+
- **Townmouse has its own service identity on macOS.** The always-on service is installed as `com.floyd.townmouse` on port 11002, its launcher is `townmouse`, and the app bundle's identifier is `com.floyd.townmouse`. Until now the service installer was TerminalOne's with the name swapped: it wrote `com.floyd.terminalone`, took port 11001 and wrote a `t1` launcher, so on a Mac that also had TerminalOne, `t1` and TerminalOne.app opened Townmouse. TerminalOne keeps its label, its port and `t1`.
|
|
62
|
+
- **The default port is 11002 everywhere**: the server, the `townmouse` command, the macOS wrapper, `scripts/panes`, `start.sh` and the container (`EXPOSE 11002`). Set `PORT` to use another port when you start the server yourself; the macOS service, its launcher and its icon stay on 11002. Update any bookmark, proxy front or `docker run -p` mapping that named 11001.
|
|
63
|
+
- **Upgrading retires the service 0.2.x left behind.** `scripts/install-service.sh` and `scripts/uninstall-service.sh` stop and remove a Townmouse service that 0.2.x installed under TerminalOne's label, and remove the `t1` launcher 0.2.x wrote. The old service is recognised by the package beside its server, whatever its folder is called. A TerminalOne service or launcher is never touched, and neither is a `townmouse` command the installer did not write, such as the one npm creates for the package. If 0.2.x displaced TerminalOne on your Mac, run TerminalOne's own `scripts/install-service.sh` afterwards to restore it.
|
|
64
|
+
- `scripts/t1.sh` is now `scripts/townmouse.sh`. The installed `townmouse` launcher accepts `--port <n>`, `--no-open`, `--version` and `--help` like the npm command, starts the service when it is not healthy, and only then opens the workspace.
|
|
65
|
+
- The macOS wrapper no longer falls back to a `t1` launcher.
|
|
66
|
+
|
|
67
|
+
### Fixed
|
|
68
|
+
|
|
69
|
+
- The service installer test still looked for the engine's pre-rename source file and could not pass, and neither it nor the launcher test ran as part of `npm test`. Both are repaired, extended to prove TerminalOne's service and launcher are left alone, and run in `npm test`, in CI and in a new macOS CI job.
|
|
70
|
+
- The smoke and feature tests start their servers on ports of their own instead of product ports, so the test suite cannot collide with an installed service.
|
|
71
|
+
- The macOS wrapper is compiled for macOS 13 and newer, as its bundle declares. The compiler had stamped its own default (macOS 28 on one toolchain), so Launch Services refused to open the icon with `kLSIncompatibleSystemVersionErr` while the program ran when started by hand. A macOS CI job now compiles the wrapper with the real compiler and checks that stamp.
|
|
72
|
+
|
|
73
|
+
### Unchanged
|
|
74
|
+
|
|
75
|
+
- `TERMINALONE_*` environment variable names.
|
|
6
76
|
|
|
7
77
|
## [0.2.1] — 2026-11-21
|
|
8
78
|
|
|
@@ -123,4 +193,4 @@ This is the first public release of TerminalOne, the browser-based terminal engi
|
|
|
123
193
|
|
|
124
194
|
- 6 test suites (input-guard, smoke, feature, feature-behavior, voice, responsive)
|
|
125
195
|
- Install/uninstall/reinstall verified end-to-end
|
|
126
|
-
- Beta release review cleared with no blockers
|
|
196
|
+
- Beta release review cleared with no blockers
|
package/DESIGN.md
CHANGED
|
@@ -69,6 +69,8 @@ This follows the Chrome split-view model — live tabs sharing one surface with
|
|
|
69
69
|
|
|
70
70
|
The pane workspace is the same product, not a second identity. It uses the graphite family (`#0a0d12` / `#11161d`) and the one Townmouse blue as `--accent` (#8ab4ff, the dark-surface step of `#175cbb`). The old mint-on-green palette is retired.
|
|
71
71
|
|
|
72
|
+
Recorded 2026-11-29, after using the workspace as a person. A browser pane keeps one size whether it is active or not; on a phone it is taller than a stacked pane by exactly its two rows, so the page keeps the height it had. The keyboard stays where the person put it: a rebuild of the panes never moves it, and an open sheet owns it until the person closes it. The sheets stay non-modal, as the docked panels do. The running version is a quiet muted line under the title of Menu and of Settings, in the part that never scrolls.
|
|
73
|
+
|
|
72
74
|
## Surface protection (Or: A Menu May Never Cover a Live Face)
|
|
73
75
|
|
|
74
76
|
Recorded 2026-11-18. This is a hard invariant, not a preference: **no menu, sheet, dialog, toast, or panel may paint over a live terminal or browser surface.** Chrome either docks and reflows the surface, or replaces it as a first-class mode with an explicit way back. Scope of this pass: the workspace chrome and pane surfaces listed below. The inherited command palette, shortcut help, search, recent-commands popover, and session-lock overlays are not yet ported and remain known exceptions.
|
|
@@ -84,22 +86,37 @@ Recorded 2026-11-18. This is a hard invariant, not a preference: **no menu, shee
|
|
|
84
86
|
|
|
85
87
|
## Navigation and browser model (Or: Who Can See What, and Who Can Touch It)
|
|
86
88
|
|
|
87
|
-
- The
|
|
89
|
+
- The top row holds one chip per live shell, in the order the shells were opened. A chip is a button named for its shell (a default such as `Shell 2`, or a name the person gives it; the session code stays as secondary detail in the footer), shows whether that shell is current, and carries a close control. Activating a chip switches to that shell and never starts another. The row scrolls sideways when it is full and never wraps; it gives way before the title, which names the current shell.
|
|
90
|
+
- The session pill is a button. It names the current shell and opens a Sessions sheet that lists every shell with Rename and Close, marks the current one, states how many of the ten sessions are in use, and offers New session. The footer keeps the shell command, working directory, and uptime.
|
|
88
91
|
- Human and agent browser tabs share one tab strip. Each tab advertises Human or Agent; the persistent state row shows the active kind and permission.
|
|
89
92
|
- Human tabs start Private. View only and Allow control rotate the connection token. Private revokes subsequent token requests. Close tab destroys the context.
|
|
90
93
|
- The agent browser has control granted and keeps running when its view is hidden.
|
|
94
|
+
- On the pane workspace the same three levels exist, in the same words, per pane. The server decides whose pane it is from the key that asks (the page's key or an agent's workspace token), never from a field in a request, and enforces the level on every route. A pane the person opens starts Private; an agent's own pane, and the Orchestrator pane, are the agents'. Each of the person's panes carries **Agent access** in its header, beside its kind, as one control that both states and changes the level: Private in the quiet tone, View only and Allow control in the agent tone that already marks an agent's pane. It is a native select, named for assistive technology, 44pt on a touch screen, and in a half-width pane its caption gives way to the pane's title. The bottom bar is unchanged. Lowering a level ends what agents hold on the pane at once (their output stream closes, pending waits and queued actions stop), the way the terminal surface rotates its token; the grant lives in memory and does not survive a restart. An agent's ask docks between a pane's header and its body, in the pane it is about, and the pane's content gives up the row: nothing is drawn over a live surface. Its content arrives in place (opacity and 4px of travel, 200ms, `cubic-bezier(.2,.8,.2,1)`; reduced motion: immediate); the control takes its new tone over 180ms with the same easing. The ask clears itself after five minutes, and "Not now" holds further asks on that pane for five minutes. No password field's value leaves a page in any result.
|
|
91
95
|
|
|
92
96
|
State is not a badge in a corner. It is the answer to the only question that matters: what can this thing see and do?
|
|
93
97
|
|
|
94
|
-
##
|
|
98
|
+
## Shell sessions (Or: nothing runs in the ether)
|
|
99
|
+
|
|
100
|
+
Recorded 2026-11-29. The row is the server's list and nothing else: the page keeps no names or ids of its own, so a chip can exist only for a shell that is running. One list feeds the row, the Sessions sheet, `GET /health` and the agent's `GET /api/sessions`.
|
|
101
|
+
|
|
102
|
+
- **A shell lives until it is closed.** Switching away, closing the browser or letting the computer sleep does not end it. Until this date a shell with no viewer was killed after five minutes while its chip stayed, and clicking that chip started a new shell in its place. At most ten run at once; the cap is stated in the Sessions sheet, where it would be hit.
|
|
103
|
+
- **The page never starts a shell on the quiet.** A shell is started by the + button, by New session, by Start a shell, or by an opening window that finds none. When the shell a window was viewing ends, the window moves to the next one in the row (to the right, else to the left) and says which shell it left and why; with none left it shows the no-shell state with one action. A session that cannot be resumed is announced, never swapped for a fresh one in silence.
|
|
104
|
+
- **The title and the current chip are the same session.** Both are drawn from the server's description of the shell this window is viewing.
|
|
105
|
+
- **An app restart ends every shell**, because each is a process of the app. Nothing is recreated: the window opens one new shell and says the earlier ones ended. Their processes, their state and their running jobs are gone, and a fresh prompt shown under an old name would be a lie.
|
|
106
|
+
- **Order is the order of opening.** The same order appears in the row, in the Sessions sheet and in the agent's list. Chips are not draggable: a grabbing pointer was the only thing that announced it, the order was never kept past a redraw, and neither keyboard nor touch could reach it. Sessions are told apart by name.
|
|
107
|
+
- **A shell belongs to whoever started it**, as a pane does. An agent reaches the shells agents started (`panes session`): it may list, start, rename, show and close those, and its list counts the person's without naming them. On a shell the person started, rename, show and close are the person's alone. `session activate` on one of its own shells moves every open window to it, and exists for when the person asked to see it. Its creates and renames leave the person's view alone.
|
|
108
|
+
- **A shell rejoined shows what it last showed.** Each shell keeps its most recent output, and every rejoin shows it once, in order, whatever route brought the person back: a switch, a reload, a window opened anew. A replay is not answered: nothing is typed into the shell on account of old output, and an instruction in output already shown (to set the clipboard, to raise a notice) is not carried out again.
|
|
95
109
|
|
|
96
|
-
|
|
110
|
+
## Motions (Or: Six Motions, Then We Stop)
|
|
111
|
+
|
|
112
|
+
Six motions, all with a job. The house style is arrive, do not perform.
|
|
97
113
|
|
|
98
114
|
1. **Drawer reveal** — Tools opens and closes; 260ms; `cubic-bezier(.2,.8,.2,1)`; reduced-motion: immediate, no transform.
|
|
99
115
|
2. **Surface switch** — terminal or browser surface enters; 220ms; `cubic-bezier(.2,.8,.2,1)`; reduced-motion: immediate.
|
|
100
116
|
3. **Control press** — pointer down/up on controls; 180ms; `cubic-bezier(.2,.8,.2,1)`; reduced-motion: no transform/transition.
|
|
101
|
-
4. **Active tab feedback** — selected tab background and border; 200ms; `cubic-bezier(.2,.8,.2,1)`; reduced-motion: immediate.
|
|
117
|
+
4. **Active tab feedback** — selected tab background and border; 200ms; `cubic-bezier(.2,.8,.2,1)`; reduced-motion: immediate. The current shell's chip uses this motion.
|
|
102
118
|
5. **Tool state** — active tool row fill, white text, and checkmark; 180ms; `cubic-bezier(.2,.8,.2,1)`; reduced-motion: immediate.
|
|
119
|
+
6. **Ask arrival** — an agent's access ask docks under a pane's header: the row is there at once and its content arrives in place, opacity 0 to 1 and 4px up to rest; 200ms; `cubic-bezier(.2,.8,.2,1)`; reduced-motion: immediate.
|
|
103
120
|
|
|
104
121
|
Reduced motion also disables the xterm cursor blink and the two-finger inertia scroller. No parallax or continuous motion is used.
|
|
105
122
|
|
|
@@ -110,7 +127,7 @@ Reduced motion also disables the xterm cursor blink and the two-finger inertia s
|
|
|
110
127
|
- The phone permission select keeps an accessible name; the visual label is present when Share is open.
|
|
111
128
|
- Primary controls and tab close are at least 44pt. The split separator is a visible line with a grip, pointer and touch drag, and keyboard support: Left and Right arrows on the desktop vertical separator, Up and Down on the tablet horizontal separator, with Home and End jumping to the bounds. Safe-area insets are respected at the top, bottom, and around the phone sheet.
|
|
112
129
|
- The phone's collapsed state is not a trap: keydown wakes the chrome, the bottom navigation remains reachable, and the first touch on the content only restores the chrome instead of activating the page or terminal underneath.
|
|
113
|
-
-
|
|
130
|
+
- Closing a shell is destructive, from a chip, from the Sessions sheet or from Tools, and always uses the same in-design confirmation with Cancel and Close terminal. It names the shell and says what the window will show next. The settings dialog uses the workspace type system and 44px fields.
|
|
114
131
|
- Text and controls meet contrast on the porcelain chrome; the terminal keeps its own theme.
|
|
115
132
|
|
|
116
133
|
This is load-bearing. None of it is a nice-to-have, and none of it is negotiable.
|
|
@@ -129,41 +146,8 @@ That is the review. It was not a vibe check.
|
|
|
129
146
|
|
|
130
147
|
## Evidence (Or: Math. Not Vibes.)
|
|
131
148
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
- The adversarial secondary-model grade is recorded in the stewardship `EVIDENCE.md`.
|
|
137
|
-
|
|
138
|
-
If you do not believe us, run it yourself.
|
|
139
|
-
|
|
140
|
-
## Known limits (Or: The Honest Part)
|
|
141
|
-
|
|
142
|
-
- The browser viewer is image-based; it is remote interaction, not a native DOM exposed to the viewer's assistive technology. Agents use `/content` for text.
|
|
143
|
-
- Browser sessions and grants are in memory; a server restart closes them.
|
|
144
|
-
- Browser audio, file dialogs, extensions, and password managers are not provided.
|
|
145
|
-
- At most 32 browser contexts can remain open.
|
|
146
|
-
- Real Safari/iPadOS behavior and an authenticated remote proxy are not verified by the headless test matrix.
|
|
147
|
-
|
|
148
|
-
These are limits, not features waiting for a better slide.
|
|
149
|
-
|
|
150
|
-
```
|
|
151
|
-
┌──────────────────────────────────────────────────────────┐
|
|
152
|
-
│ DOCUMENT METADATA │
|
|
153
|
-
├──────────────────────────────────────────────────────────┤
|
|
154
|
-
│ Layouts: 3 (desktop, tablet, phone) │
|
|
155
|
-
│ Panes per tab: 1-4, 2x2 grid │
|
|
156
|
-
│ Chrome accents: 1 (blue #175cbb) │
|
|
157
|
-
│ Emoji: 0 │
|
|
158
|
-
│ Cat Supervision: Bella approved / Bowser monitoring │
|
|
159
|
-
│ Corporate Feelings: HURT (intended) │
|
|
160
|
-
└──────────────────────────────────────────────────────────┘
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
**DOCUMENT ENDS**
|
|
164
|
-
|
|
165
|
-
*— The Design Record That Would Like a Monocle for the Edge Cases*
|
|
166
|
-
|
|
167
|
-
*Floyd’s Labs — Townmouse Design Division*
|
|
149
|
+
The layout, surface-clearance, contrast, and interaction claims above were
|
|
150
|
+
verified with the project's own test suite and device captures at 393×852,
|
|
151
|
+
820×1180, 1440×900, and 1920×1080. The suite is retained for release gating and
|
|
152
|
+
is not part of the installed package.
|
|
168
153
|
|
|
169
|
-
*"Quiet chrome, black terminal, uncropped mouse. The rest is negotiation."*
|