Major changes: - Add HandList.tsx component for left sidebar - Add HandTaskPanel.tsx for middle content area - Restructure Sidebar tabs: 分身/HANDS/Workflow - Remove Hands tab from RightPanel - Localize all UI text to Chinese - Archive legacy OpenClaw documentation - Add Hands integration lessons document - Update feature checklist with new components UI improvements: - Left sidebar now shows Hands list with status icons - Middle area shows selected Hand's tasks and results - Consistent styling with Tailwind CSS - Chinese status labels and buttons Documentation: - Create docs/archive/openclaw-legacy/ for old docs - Add docs/knowledge-base/hands-integration-lessons.md - Update docs/knowledge-base/feature-checklist.md - Update docs/knowledge-base/README.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
97 lines
2.0 KiB
TOML
97 lines
2.0 KiB
TOML
# Researcher Hand - 深度研究和分析能力包
|
|
#
|
|
# OpenFang Hand 配置示例
|
|
# 这个 Hand 提供深度研究、信息收集和分析能力
|
|
|
|
[hand]
|
|
name = "researcher"
|
|
version = "1.0.0"
|
|
description = "深度研究和分析能力包 - 执行复杂的多步研究任务"
|
|
author = "ZCLAW Team"
|
|
|
|
# Hand 类型: research, automation, data, communication
|
|
type = "research"
|
|
|
|
# 是否需要人工审批才能执行
|
|
requires_approval = false
|
|
|
|
# 默认超时时间(秒)
|
|
timeout = 300
|
|
|
|
# 最大并发执行数
|
|
max_concurrent = 3
|
|
|
|
# 能力标签
|
|
tags = ["research", "analysis", "web-search", "information-gathering"]
|
|
|
|
[hand.config]
|
|
# 搜索引擎配置
|
|
search_engine = "auto" # auto, google, bing, duckduckgo
|
|
max_search_results = 10
|
|
search_timeout = 30
|
|
|
|
# 研究深度: quick, standard, deep
|
|
depth = "standard"
|
|
|
|
# 是否保存研究历史
|
|
save_history = true
|
|
|
|
# 输出格式: markdown, json, summary
|
|
output_format = "markdown"
|
|
|
|
[hand.triggers]
|
|
# 触发器配置
|
|
manual = true # 允许手动触发
|
|
schedule = false # 不允许定时触发
|
|
webhook = false # 不允许 webhook 触发
|
|
|
|
# 事件触发器
|
|
[[hand.triggers.events]]
|
|
type = "chat.intent"
|
|
pattern = "研究|调查|分析|查找|search|research|investigate"
|
|
priority = 5
|
|
|
|
[hand.permissions]
|
|
# 权限要求
|
|
requires = [
|
|
"web.search",
|
|
"web.fetch",
|
|
"file.read",
|
|
"file.write"
|
|
]
|
|
|
|
# RBAC 角色要求
|
|
roles = ["operator.read", "operator.write"]
|
|
|
|
# 速率限制
|
|
[hand.rate_limit]
|
|
max_requests = 20
|
|
window_seconds = 3600 # 1 hour
|
|
|
|
# 审计配置
|
|
[hand.audit]
|
|
log_inputs = true
|
|
log_outputs = true
|
|
retention_days = 30
|
|
|
|
# 示例工作流步骤
|
|
[[hand.workflow]]
|
|
id = "search"
|
|
name = "搜索信息"
|
|
description = "使用搜索引擎查找相关信息"
|
|
|
|
[[hand.workflow]]
|
|
id = "extract"
|
|
name = "提取内容"
|
|
description = "从搜索结果中提取关键内容"
|
|
|
|
[[hand.workflow]]
|
|
id = "analyze"
|
|
name = "分析整理"
|
|
description = "分析和整理提取的信息"
|
|
|
|
[[hand.workflow]]
|
|
id = "report"
|
|
name = "生成报告"
|
|
description = "生成结构化的研究报告"
|