Files
openclaw/apps/linux/src-tauri/tauri.conf.json
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

103 lines
3.0 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "OpenClaw",
"version": "0.1.0",
"identifier": "ai.openclaw.linux",
"build": {
"frontendDist": "../ui"
},
"plugins": {
"deep-link": {
"desktop": {
"schemes": ["openclaw"]
}
},
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDRDODJFMzU1QTQ0MUMwNkYKUldSdndFR2tWZU9DVE9RYnlIcHFoNG1xUlQzUlloa0plQmZjY0dPbHpjWlEzWFozdmt0cHBlY2gK",
"endpoints": [
"https://github.com/openclaw/openclaw/releases/latest/download/latest.json"
]
}
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"label": "main",
"title": "OpenClaw",
"url": "index.html",
"width": 1080,
"height": 720,
"minWidth": 720,
"minHeight": 520,
"center": true,
"visible": true
}
],
"security": {
"csp": "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:; connect-src ipc: http://ipc.localhost",
"capabilities": [
{
"identifier": "local-companion",
"description": "Local setup screens can invoke app commands and receive installer progress.",
"local": true,
"windows": ["main"],
"permissions": [
"allow-bootstrap",
"allow-build-info",
"allow-check-for-updates",
"allow-connect-discovered-gateway",
"allow-discover-gateways",
"allow-gateway-action",
"allow-install-cli",
"allow-open-release-page",
"allow-relaunch",
"allow-updater-ready",
"core:event:allow-listen",
"core:event:allow-unlisten",
"process:allow-restart",
"updater:default"
]
},
{
"identifier": "canvas-renderer",
"description": "The bundled Canvas renderer can relay A2UI actions.",
"local": true,
"windows": ["canvas"],
"permissions": ["allow-canvas-a2ui-action"]
},
{
"identifier": "quickchat",
"description": "Quick Chat can load the default agent, send a message, and receive window events.",
"local": true,
"windows": ["quickchat"],
"permissions": [
"allow-quickchat",
"core:event:allow-listen",
"core:event:allow-unlisten"
]
}
]
}
},
"bundle": {
"active": true,
"createUpdaterArtifacts": true,
"category": "Utility",
"shortDescription": "OpenClaw Linux companion",
"longDescription": "Installs OpenClaw, manages the local Gateway service, and hosts the Control UI.",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.png"
],
"resources": {
"../../../scripts/install-cli.sh": "install-cli.sh"
},
"macOS": {
"minimumSystemVersion": "13.0"
}
}
}