feat(hands): restructure Hands UI with Chinese localization
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>
This commit is contained in:
73
hands/lead.HAND.toml
Normal file
73
hands/lead.HAND.toml
Normal file
@@ -0,0 +1,73 @@
|
||||
# Lead Hand - 销售线索发现能力包
|
||||
#
|
||||
# OpenFang Hand 配置示例
|
||||
# 这个 Hand 自动发现和筛选销售线索
|
||||
|
||||
[hand]
|
||||
name = "lead"
|
||||
version = "1.0.0"
|
||||
description = "销售线索发现和筛选能力包 - 自动识别潜在客户"
|
||||
author = "ZCLAW Team"
|
||||
|
||||
type = "automation"
|
||||
requires_approval = true # 线索操作需要审批
|
||||
timeout = 600
|
||||
max_concurrent = 1
|
||||
|
||||
tags = ["sales", "leads", "automation", "discovery", "qualification"]
|
||||
|
||||
[hand.config]
|
||||
# 线索来源
|
||||
sources = ["linkedin", "company_website", "crunchbase", "public_records"]
|
||||
|
||||
# 筛选条件
|
||||
[hand.config.filters]
|
||||
# 最小公司规模
|
||||
min_company_size = 10
|
||||
# 目标行业
|
||||
industries = ["technology", "saas", "fintech", "healthcare"]
|
||||
# 目标地区
|
||||
regions = ["china", "north_america", "europe"]
|
||||
|
||||
# 评分权重
|
||||
[hand.config.scoring]
|
||||
company_fit = 0.4
|
||||
engagement_likelihood = 0.3
|
||||
budget_indication = 0.2
|
||||
timing_signals = 0.1
|
||||
|
||||
[hand.triggers]
|
||||
manual = true
|
||||
schedule = true # 允许定时触发
|
||||
webhook = true
|
||||
|
||||
# 定时触发:每天早上 9 点
|
||||
[[hand.triggers.schedules]]
|
||||
cron = "0 9 * * 1-5" # 工作日 9:00
|
||||
enabled = true
|
||||
timezone = "Asia/Shanghai"
|
||||
|
||||
[hand.permissions]
|
||||
requires = [
|
||||
"web.search",
|
||||
"web.fetch",
|
||||
"api.external",
|
||||
"database.write"
|
||||
]
|
||||
|
||||
roles = ["operator.read", "operator.write", "sales.read"]
|
||||
|
||||
[hand.approval]
|
||||
# 审批流程配置
|
||||
timeout_hours = 24
|
||||
approvers = ["sales_manager", "admin"]
|
||||
auto_approve_after_hours = 0 # 不自动批准
|
||||
|
||||
[hand.rate_limit]
|
||||
max_requests = 100
|
||||
window_seconds = 86400 # 每天
|
||||
|
||||
[hand.audit]
|
||||
log_inputs = true
|
||||
log_outputs = true
|
||||
retention_days = 90 # 销售数据保留更久
|
||||
Reference in New Issue
Block a user