Files
chat_rebot-connect-with-one…/config/openclawbridge/config.toml
Claw 4068869217 feat(plugin): 集成 OpenClaw Bridge + QQ 操作技能套件
新增 openclaw_bridge 插件,实现 QQ ↔ OpenClaw Gateway 桥接:

src/process.py:
  - QQ 消息自动转发 OpenClaw Gateway
  - 内置安全检测(高危词、管理员白名单、MC指令过滤)
  - 高危词库外部化到 config.toml [security] section
  - 群昵称自动解析
  - Session 隔离(按群×用户)

config/openclawbridge/config.toml:
  - 插件配置模板(已脱敏:占位符替代个人信息)

scripts/qq_*.py (×15):
  - 消息发送/文件传输/群管理/好友管理
  - 信息查询/历史回溯/OCR/点赞
  - 全部脱敏(QQ号→YOUR_ADMIN_QQ, IP→YOUR_NAPCAT_HOST等)

skills/*/SKILL.md (×8):
  - AgentSkills 使用指导
  - qq-messenger / qq-management / qq-resolver / qq-napcat-extras
  - browser / file-process / mc-query / nix-helper

SKILL.md:
  - AgentSkill 入口,完整架构说明和部署步骤
2026-05-04 16:28:12 +08:00

35 lines
1.3 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[plugin]
name = "openclaw_bridge"
version = "1.0.0"
# qqrebot 插件框架测试用
[test]
message = "openclaw_bridge_loaded"
# ── 核心配置(使用前必须修改) ──────────────────────────
# 克隆本仓库后,将此文件放在 config/openclawbridge/config.toml
# 或在目标主机上打包后首次加载插件时会生成此路径
[openclaw]
# OpenClaw Gateway 地址
# 如果使用同机部署的 OpenClaw默认 http://127.0.0.1:18789
gateway_url = "http://127.0.0.1:18789"
# Gateway 认证 Token必填从 OpenClaw 配置中获取)
gateway_token = "your_gateway_token_here"
# 管理员 QQ 号(唯一可发敏感指令、不受 MC 指令过滤限制)
allowed_sender = "your_admin_qq"
# 要调用的 agent 模型 ID
# 默认openclaw/qq-agent对应 qq-agent 配置)
model = "openclaw/qq-agent"
# Agent ID与 OpenClaw 配置中 agent id 一致)
agent_id = "qq-agent"
# ── 安全配置 ──────────────────────────────────────────
# HIGH_RISK_WORDS 也可以在此配置,内容较多时建议放外部文件
# 如不配置则使用 process.py 中的内置默认词库
# [security]
# high_risk_words = ["word1", "word2", ...]