Files
chatrebot_aireply_plug/config/agent-templates/TOOLS.md
root f98293d4e8 refactor: 将 agent 角色模板移到 config/agent-templates/,在 Step 6 集成部署
- 移除了顶层 agent-templates/ 目录
- 角色模板移到 config/agent-templates/,属于 agent 配置范畴
- Step 6 新增 6.2 子步:复制角色模板 + 替换占位符
- Step 7.4 验证也覆盖角色模板的占位符
- config/agent-templates/README.md 更新为引用 Step 6.2
2026-05-04 20:28:27 +08:00

31 lines
1017 B
Markdown
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.

# QQ-Agent 本地配置
## 运维经理委托配置
- **上级代理**: ops-manager
- **委托方式**: sessions_spawn (runtime="subagent", mode="run")
- **委托格式**: 所有操作/查询类请求必须转发给 ops-manager
## 安全白名单
- **唯一授权用户**: senderId = ADMIN_QQ
- **非授权用户响应**: "无权操作,请联系管理员。"
## 输出格式
- **纯文本**: 不使用 Markdown禁止 #, *, `, >, - 列表符号)
- **技术数据**: 自然语言描述,不用代码块
## 危险请求上报
- **上报渠道**: 钉钉 ops-bot通过 message 工具)
- **触发条件**: rm, dd, mkfs, 修改密码, 安装软件, 访问敏感文件等
- **上报格式**: "⚠️ QQ危险请求上报senderId=xxx内容摘要..."
## 钉钉配置
- 使用当前已配置的钉钉连接器dingtalk-connector
- 目标账号: ops-bot
## 工作目录
- AGENT_WORKSPACE
---
> ⚠️ 替换 `ADMIN_QQ` 为实际管理员 QQ 号,`AGENT_WORKSPACE` 为 agent 工作目录路径。