首次推出opendaw;

This commit is contained in:
waxgourd
2026-02-25 11:53:08 +08:00
parent b655a04bd2
commit a9cda35529
8 changed files with 311 additions and 0 deletions

View File

@@ -0,0 +1,85 @@
---
configuration:
timezone:
name: "Timezone"
description: "Set the timezone for the add-on"
enable_terminal:
name: "Enable Web Terminal"
description: "Enable web-based terminal access inside Home Assistant"
gateway_public_url:
name: "Gateway Public URL"
description: "Public URL for the Gateway Web UI (opens in new tab)"
homeassistant_token:
name: "Home Assistant Token"
description: "Long-lived access token for Home Assistant API"
model_source:
name: "Model Source"
description: "Select the AI model source to use"
items:
local: "Local Model"
cloud: "Cloud Model"
hybrid: "Hybrid Mode"
model_url:
name: "Model API URL"
description: "Model API URL (e.g., http://host.docker.internal:11434 for local, or cloud API URL)"
model_name:
name: "Model Name"
description: "Model name (e.g., qwen2.5, gpt-4o, etc.)"
api_key:
name: "API Key"
description: "Cloud API key (required for cloud/hybrid mode)"
sandbox_mode:
name: "Sandbox Mode"
description: "Enable sandbox mode for enhanced security"
gateway_bind_mode:
name: "Gateway Bind Mode"
description: "Gateway bind mode (loopback = local only, lan = local network)"
items:
loopback: "Local Only (loopback)"
lan: "LAN Access (lan)"
gateway_port:
name: "Gateway Port"
description: "Gateway listening port"
allow_insecure_auth:
name: "Allow Insecure HTTP Auth"
description: "Allow browser to access Gateway UI (port 18789) via HTTP. Only enable if HTTPS is unavailable, security risk."
clean_session_locks_on_start:
name: "Clean Session Locks on Start"
description: "Clean stale session lock files on startup"
clean_session_locks_on_exit:
name: "Clean Session Locks on Exit"
description: "Clean session lock files on exit"
options:
title: "Configuration Options"
submit: "Save"
cancel: "Cancel"
reset: "Reset"
errors:
title: "Error"
connection_failed: "Connection failed"
invalid_config: "Invalid configuration"
api_key_required: "API key required"
model_not_available: "Model not available"
services:
restart: "Restart"
update: "Update"
logs: "View Logs"
terminal: "Terminal"
status:
running: "Running"
stopped: "Stopped"
starting: "Starting"
stopping: "Stopping"
error: "Error"
info:
title: "OpenClaw Assistant"
description: "AI-powered assistant deeply integrated with Home Assistant"
version: "Version"
documentation: "Documentation"
issues: "Issue Tracker"
repository: "Repository"

View File

@@ -0,0 +1,85 @@
---
configuration:
timezone:
name: "时区"
description: "设置 add-on 的时区"
enable_terminal:
name: "启用 Web 终端"
description: "在 Home Assistant 中启用基于 Web 的终端访问"
gateway_public_url:
name: "网关公开 URL"
description: "网关 Web UI 的公开 URL用于在新标签页中打开"
homeassistant_token:
name: "Home Assistant 令牌"
description: "用于访问 Home Assistant API 的长效令牌"
model_source:
name: "模型源"
description: "选择使用的 AI 模型源"
items:
local: "本地模型"
cloud: "云端模型"
hybrid: "混合模式"
model_url:
name: "模型 API 地址"
description: "模型 API 地址(本地如 http://host.docker.internal:11434或云端 API URL"
model_name:
name: "模型名称"
description: "模型名称(如 qwen2.5、gpt-4o 等)"
api_key:
name: "API 密钥"
description: "云端 API 密钥(仅云端/混合模式需要)"
sandbox_mode:
name: "沙盒模式"
description: "启用沙盒模式以增强安全性"
gateway_bind_mode:
name: "网关绑定模式"
description: "网关绑定模式loopback = 仅本地lan = 局域网)"
items:
loopback: "仅本地访问 (loopback)"
lan: "局域网访问 (lan)"
gateway_port:
name: "网关端口"
description: "网关监听端口"
allow_insecure_auth:
name: "允许不安全的 HTTP 认证"
description: "允许浏览器通过 HTTP 直接访问网关 UI端口 18789。仅在无法使用 HTTPS 时启用,存在安全风险。"
clean_session_locks_on_start:
name: "启动时清理会话锁"
description: "启动时清理过时的会话锁文件"
clean_session_locks_on_exit:
name: "退出时清理会话锁"
description: "退出时清理会话锁文件"
options:
title: "配置选项"
submit: "保存"
cancel: "取消"
reset: "重置"
errors:
title: "错误"
connection_failed: "连接失败"
invalid_config: "配置无效"
api_key_required: "需要 API 密钥"
model_not_available: "模型不可用"
services:
restart: "重启"
update: "更新"
logs: "查看日志"
terminal: "终端"
status:
running: "正在运行"
stopped: "已停止"
starting: "正在启动"
stopping: "正在停止"
error: "错误"
info:
title: "OpenClaw Assistant"
description: "AI 智能助手,深度集成 Home Assistant"
version: "版本"
documentation: "文档"
issues: "问题反馈"
repository: "代码仓库"