mirror of
https://gitcode.com/waxgourd/addons
synced 2026-03-29 03:18:27 +08:00
首次推出opendaw;
This commit is contained in:
4
openclaw/CHANGELOG.md
Normal file
4
openclaw/CHANGELOG.md
Normal file
@@ -0,0 +1,4 @@
|
||||
### 2026.2.12 (2026-02-12)
|
||||
- 版本升级
|
||||
### 2026.2.6 (2026-02-12)
|
||||
- 首次推出
|
||||
62
openclaw/DOCS.md
Normal file
62
openclaw/DOCS.md
Normal file
@@ -0,0 +1,62 @@
|
||||
# OpenClaw WG
|
||||
|
||||
|
||||
## ✨ 核心能力
|
||||
|
||||
OpenClaw 将大模型能力无缝集成到主流即时通讯软件中,为您打造可靠、可扩展的对话式智能基础设施。
|
||||
- **多渠道 Gateway 网关** — 通过单个 Gateway 网关进程连接 WhatsApp、Telegram、Discord 和 iMessage。
|
||||
- **插件渠道** — 通过扩展包添加 Mattermost 等更多渠道。
|
||||
- **多智能体路由** — 按智能体、工作区或发送者隔离会话。
|
||||
- **媒体支持** — 发送和接收图片、音频和文档。
|
||||
- **Web 控制界面** — 浏览器仪表板,用于聊天、配置、会话和节点管理。
|
||||
- **移动节点** — 配对 iOS 和 Android 节点,支持 Canvas。
|
||||
## 📥 安装与使用
|
||||
|
||||
- 这是一个 Home Assistant Add-on,安装后即可在 Home Assistant 中运行 OpenClaw WG。
|
||||
- 设置-应用-安装应用-搜索 OpenClaw WG - 安装
|
||||
- 启动 OpenClaw WG (打开网页界面)
|
||||
|
||||
## ⚙️ 配置
|
||||
|
||||
```yaml
|
||||
#时区设置
|
||||
timezone: "Asia/Shanghai"
|
||||
|
||||
#网关绑定模式:loopback=仅本地, lan=局域网访问
|
||||
gateway_bind_mode: "lan"
|
||||
|
||||
#网关端口(默认 18789)
|
||||
gateway_port: 18789
|
||||
|
||||
#允许 HTTP 认证(仅在无法使用 HTTPS 时启用,存在安全风险)
|
||||
allow_insecure_auth: true
|
||||
|
||||
#网关公开 URL(用于在新标签页中打开网关 UI)
|
||||
gateway_public_url: ""
|
||||
|
||||
#Home Assistant 长效令牌(用于 HA API 集成)
|
||||
homeassistant_token: ""
|
||||
|
||||
#启用 Web 终端(在 Home Assistant 内嵌的终端)
|
||||
enable_terminal: true
|
||||
|
||||
#清理会话锁(启动时/退出时)
|
||||
clean_session_locks_on_start: true
|
||||
clean_session_locks_on_exit: true```
|
||||
```
|
||||
## 聊天命令
|
||||
|
||||
通过WhatsApp/Telegram/Slack/Google Chat/Microsoft Teams/WebChat发送这些(群组命令仅限所有者):
|
||||
|
||||
- /status— 紧凑会话状态(模型 + 代币,可用时成本)
|
||||
- /new或者——重置会话/reset
|
||||
- /compact— 紧凑会话上下文(摘要)
|
||||
- /think <level>— off|minimal|low|medium|high|xhigh(仅限GPT-5.2 + Codex模型)
|
||||
- /verbose on|off
|
||||
- /usage off|tokens|full—— 按响应使用页脚
|
||||
- /restart— 重启网关(组内仅限所有者)
|
||||
- /activation mention|always— 组激活切换(仅限组组)
|
||||
|
||||
## 📚 文档
|
||||
- [OpenClaw WG 文档](https://openclaw-wg.readthedocs.io/zh_CN/latest/)
|
||||
安装完成后,请访问 `http://<your-home-assistant-ip>:8099` 进入管理后台。
|
||||
11
openclaw/README.md
Normal file
11
openclaw/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# 冬瓜甄选addons:OpenClaw WG
|
||||
|
||||
## 🦞 关于
|
||||
|
||||
AI 智能助手,深度集成 Home Assistant。支持本地/云端混合模型。
|
||||
|
||||
## 源
|
||||
- Website https://openclaw.ai
|
||||
- GitHub https://github.com/openclaw/openclaw
|
||||
- Docs https://docs.openclaw.ai/zh-CN
|
||||
|
||||
64
openclaw/config.yaml
Normal file
64
openclaw/config.yaml
Normal file
@@ -0,0 +1,64 @@
|
||||
name: "OpenClaw WG"
|
||||
version: "2026.2.12"
|
||||
slug: "openclaw_wg"
|
||||
description: "AI 智能助手,深度集成 Home Assistant。支持本地/云端混合模型"
|
||||
url: "https://github.com/openclaw/openclaw"
|
||||
arch:
|
||||
- amd64
|
||||
- aarch64
|
||||
startup: services
|
||||
boot: auto
|
||||
init: false
|
||||
host_network: true
|
||||
image: r.hassbus.com/wghaos/addons-openclaw-{arch}
|
||||
ingress: true
|
||||
ingress_port: 8099
|
||||
panel_title: "OpenClaw HA"
|
||||
panel_icon: "mdi:robot"
|
||||
map:
|
||||
- addon_config:rw
|
||||
- share:rw
|
||||
options:
|
||||
# ==================== 网关配置 ====================
|
||||
# 时区设置
|
||||
timezone: "Asia/Shanghai"
|
||||
|
||||
# 网关绑定模式:loopback=仅本地, lan=局域网访问
|
||||
gateway_bind_mode: "lan"
|
||||
|
||||
# 网关端口(默认 18789)
|
||||
gateway_port: 18789
|
||||
|
||||
# 允许 HTTP 认证(仅在无法使用 HTTPS 时启用,存在安全风险)
|
||||
allow_insecure_auth: true
|
||||
|
||||
# 网关公开 URL(用于在新标签页中打开网关 UI)
|
||||
gateway_public_url: ""
|
||||
|
||||
# Home Assistant 长效令牌(用于 HA API 集成)
|
||||
homeassistant_token: ""
|
||||
|
||||
# ==================== 基础设置 ====================
|
||||
# 启用 Web 终端(在 Home Assistant 内嵌的终端)
|
||||
enable_terminal: true
|
||||
|
||||
# ==================== 高级设置 ====================
|
||||
# 清理会话锁(启动时/退出时)
|
||||
clean_session_locks_on_start: true
|
||||
clean_session_locks_on_exit: true
|
||||
|
||||
schema:
|
||||
# 网关配置
|
||||
timezone: str
|
||||
gateway_bind_mode: list(loopback|lan)?
|
||||
gateway_port: int(1,65535)?
|
||||
allow_insecure_auth: bool?
|
||||
gateway_public_url: str?
|
||||
homeassistant_token: password?
|
||||
# 基础设置
|
||||
enable_terminal: bool?
|
||||
|
||||
# 高级设置
|
||||
clean_session_locks_on_start: bool?
|
||||
clean_session_locks_on_exit: bool?
|
||||
|
||||
BIN
openclaw/icon.png
Normal file
BIN
openclaw/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 265 B |
BIN
openclaw/logo.png
Normal file
BIN
openclaw/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 130 KiB |
85
openclaw/translations/en.yaml
Normal file
85
openclaw/translations/en.yaml
Normal 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"
|
||||
85
openclaw/translations/zh-Hans.yaml
Normal file
85
openclaw/translations/zh-Hans.yaml
Normal 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: "代码仓库"
|
||||
Reference in New Issue
Block a user