Files
openclaw/apps/linux/ui/quickchat.html
Peter Steinberger 277f009cc9 feat(linux): Quick Chat floating composer for the Tauri companion (#109947)
* feat(linux): add Quick Chat floating composer to the Tauri companion

- frameless transparent always-on-top quickchat window (on-demand, canvas
  pattern), positioned top-third on the cursor monitor, CSS fade+zoom in/out
- global shortcut Ctrl+Shift+Space on X11 (GNOME reserves Alt+Space); tray
  'Quick Chat' item is the Wayland entry point; blur/Esc/close-request hide
- sends via the CLI agent turn with --message-file staged 0600 (argv is
  world-readable procfs) and cleaned up after the turn; failures surface as
  desktop notifications; Ctrl+Enter also opens the dashboard
- default-agent identity chip (emoji/monogram) from agents list --json, 60s cache
- window-scoped capability + permission set; window-state denylist; docs

* chore(linux): register quickchat.js as a knip native-asset entry
2026-07-17 18:25:27 +01:00

30 lines
966 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="dark" />
<title>Quick Chat</title>
<link rel="stylesheet" href="quickchat.css" />
</head>
<body>
<main id="composer" class="composer">
<div class="composer-row">
<span id="agent-chip" class="agent-chip" aria-hidden="true">A</span>
<input
id="message"
type="text"
placeholder="Message Agent"
aria-label="Quick Chat message"
autocomplete="off"
/>
<button id="send" class="send" type="button" aria-label="Send message" disabled>
<span id="send-icon" class="send-icon" aria-hidden="true"></span>
</button>
</div>
<p id="status" class="status" role="alert"></p>
</main>
<script type="module" src="quickchat.js"></script>
</body>
</html>