Files
openclaw/apps/linux/src-tauri/tauri.conf.json
Peter Steinberger b65a2d836a feat(linux): discover gateways via Bonjour and open their dashboard (#108115)
New discovery.rs browses _openclaw-gw._tcp with a lifetime mdns-sd
browser, keeps a fullname-keyed snapshot (resolved updates replace,
goodbye/TTL removes), and mirrors the native clients' TXT contract and
direct-selection gate (resolved SRV endpoint routing; tailnetDns is a
hint only). The bootstrap page lists discovered gateways and connecting
navigates the dashboard WebView to the resolved endpoint, validated
against the live snapshot; remote selection cancels the local watchdog
so an in-flight local bootstrap cannot steal the WebView back.
2026-07-15 01:22:36 -07:00

68 lines
1.9 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "OpenClaw",
"version": "0.1.0",
"identifier": "ai.openclaw.linux",
"build": {
"frontendDist": "../ui"
},
"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-connect-discovered-gateway",
"allow-discover-gateways",
"allow-gateway-action",
"allow-install-cli",
"core:event:allow-listen",
"core:event:allow-unlisten"
]
},
{
"identifier": "canvas-renderer",
"description": "The bundled Canvas renderer can relay A2UI actions.",
"local": true,
"windows": ["canvas"],
"permissions": ["allow-canvas-a2ui-action"]
}
]
}
},
"bundle": {
"active": 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"
}
}
}