ulysses/static
pewdiepie-archdaemon e0af7bd8a0 Chat: show Chat/Agent tag next to message timestamp
Sometimes the user lands in chat mode without realizing — surface the
mode the message went out on as a small uppercase pill right after the
timestamp in the role header.

- roleTimestamp(when, mode) gains an optional mode arg. Agent renders
  in accent; Chat renders in muted/neutral. Other values render
  nothing (back-compat for older history without the field).
- The three roleTimestamp call sites pass metadata?.mode through.
- chat.js writes mode into the user-message metadata at send time and
  into the assistant metadata when the active-stream render lands,
  reading toggleState.mode so research/agent overrides upstream still
  flow through correctly.

Historical messages from before this change just don't show the pill —
graceful fallback, no migration needed.
2026-06-11 20:44:18 +09:00
..
fonts Odysseus v1.0 2026-05-31 23:58:26 +09:00
js Chat: show Chat/Agent tag next to message timestamp 2026-06-11 20:44:18 +09:00
lib Odysseus v1.0 2026-05-31 23:58:26 +09:00
app.js Settings overhaul + UI polish pass 2026-06-10 15:15:13 +09:00
index.html Agent email safety: stage drafts for user approval instead of auto-send 2026-06-11 08:50:06 +09:00
login.html fix(login): keep inputs >=16px on touch so iOS doesn't zoom on focus (#1632) 2026-06-03 14:23:24 +09:00
manifest.json Odysseus v1.0 2026-05-31 23:58:26 +09:00
style.css Chat: show Chat/Agent tag next to message timestamp 2026-06-11 20:44:18 +09:00
sw.js fix(ui): modal drag + removed startDrag func (#2430) 2026-06-04 20:34:18 +02:00