web: gated access, anchored viewers, mobile tabs and chat colour

- serve.mjs requires a signed session cookie for every page, artifact and the
  WebSocket, with a password file, 30-day sessions, login throttling and public
  brand assets for the sign-in page.
- The diff viewer is a fixed-height top-anchored panel whose toolbar (modes,
  copy, previous, next, close as icons) is its first row; the artifact viewer is
  likewise a fixed frame so its navigation never moves.
- The audit's selected tab uses the app's normal selected surface and bottom
  accent. Sessions that were not recorded say so plainly.
- Chat code blocks are syntax-coloured; graph pinch-zoom works with two fingers
  while a single pointer still pans and clicks nodes.
- Phones always keep the destination bar (pane collapse is wide-only), with the
  destinations spread evenly and Search on the right; the list default width is
  narrower; the theme colour matches the app.
- Code-format and layout tests, plus the full browser suite, pass.
This commit is contained in:
2026-10-20 02:21:51 +01:00
parent d7763ec466
commit ebf02c3bed
17 changed files with 558 additions and 42 deletions
+16 -1
View File
@@ -820,5 +820,20 @@
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
overflow: hidden;
}
.chat-tools-modal-panel .chat-tool-panel { position: static; max-height: none; border: 0; box-shadow: none; background: transparent; }
.chat-tools-modal-panel .chat-tool-panel {
position: static;
width: 100%;
max-height: none;
border: 0;
box-shadow: none;
background: transparent;
}
.chat-tools-modal-panel .chat-tool-list { overflow: auto; }
/* Code in agent replies keeps the terminal's colour grammar: comments muted,
strings green, numbers amber, keywords blue, literals pink. */
.tok-comment { color: var(--color-muted); font-style: italic; }
.tok-string { color: #9ecb8f; }
.tok-number { color: #d8b46a; }
.tok-keyword { color: #93add0; font-weight: 600; }
.tok-literal { color: #c58fb0; }