feat(flutter): add 4 general-purpose official agents to home page
New agents (shown first in horizontal scroll): - 日常办公助手 / Office Assistant - 在线客服智能体 / Customer Service Bot - 市场营销助手 / Marketing Assistant - 外语学习助手 / Language Tutor All 4 agents fully localized in en/zh/zh_TW. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b666bed740
commit
49e48d7b3e
|
|
@ -278,6 +278,34 @@ class _OfficialAgentsRow extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
final l = AppLocalizations.of(context);
|
||||
final agents = [
|
||||
_AgentCard(
|
||||
name: l.officialAgent4Name,
|
||||
desc: l.officialAgent4Desc,
|
||||
icon: Icons.work_outline,
|
||||
color: const Color(0xFFF59E0B),
|
||||
isOfficial: true,
|
||||
),
|
||||
_AgentCard(
|
||||
name: l.officialAgent5Name,
|
||||
desc: l.officialAgent5Desc,
|
||||
icon: Icons.support_agent_outlined,
|
||||
color: const Color(0xFF10B981),
|
||||
isOfficial: true,
|
||||
),
|
||||
_AgentCard(
|
||||
name: l.officialAgent6Name,
|
||||
desc: l.officialAgent6Desc,
|
||||
icon: Icons.campaign_outlined,
|
||||
color: const Color(0xFFEC4899),
|
||||
isOfficial: true,
|
||||
),
|
||||
_AgentCard(
|
||||
name: l.officialAgent7Name,
|
||||
desc: l.officialAgent7Desc,
|
||||
icon: Icons.translate_outlined,
|
||||
color: const Color(0xFF8B5CF6),
|
||||
isOfficial: true,
|
||||
),
|
||||
_AgentCard(
|
||||
name: l.officialAgent1Name,
|
||||
desc: l.officialAgent1Desc,
|
||||
|
|
|
|||
|
|
@ -46,6 +46,14 @@
|
|||
"officialAgent2Desc": "Vulnerability scanning, permission review, compliance",
|
||||
"officialAgent3Name": "Database Inspector",
|
||||
"officialAgent3Desc": "Slow query analysis, index optimization, backup verification",
|
||||
"officialAgent4Name": "Office Assistant",
|
||||
"officialAgent4Desc": "Draft emails, summarize docs, schedule meetings, manage tasks",
|
||||
"officialAgent5Name": "Customer Service Bot",
|
||||
"officialAgent5Desc": "24/7 auto-reply, FAQ handling, order & complaint routing",
|
||||
"officialAgent6Name": "Marketing Assistant",
|
||||
"officialAgent6Desc": "Copywriting, social media posts, campaign ideas, ad scripts",
|
||||
"officialAgent7Name": "Language Tutor",
|
||||
"officialAgent7Desc": "Conversation practice, grammar correction, vocabulary building",
|
||||
|
||||
"noOwnAgentsTitle": "No agents yet",
|
||||
"noOwnAgentsDesc": "Tap the robot button below and tell iAgent:\n\"Recruit an OpenClaw agent for me\"",
|
||||
|
|
|
|||
|
|
@ -303,6 +303,54 @@ abstract class AppLocalizations {
|
|||
/// **'慢查询分析、索引优化、备份验证'**
|
||||
String get officialAgent3Desc;
|
||||
|
||||
/// No description provided for @officialAgent4Name.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'日常办公助手'**
|
||||
String get officialAgent4Name;
|
||||
|
||||
/// No description provided for @officialAgent4Desc.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'起草邮件、整理文档、安排会议、管理待办事项'**
|
||||
String get officialAgent4Desc;
|
||||
|
||||
/// No description provided for @officialAgent5Name.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'在线客服智能体'**
|
||||
String get officialAgent5Name;
|
||||
|
||||
/// No description provided for @officialAgent5Desc.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'7×24 小时自动回复、常见问题处理、工单与投诉转接'**
|
||||
String get officialAgent5Desc;
|
||||
|
||||
/// No description provided for @officialAgent6Name.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'市场营销助手'**
|
||||
String get officialAgent6Name;
|
||||
|
||||
/// No description provided for @officialAgent6Desc.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'文案撰写、社媒内容、营销策划、广告脚本生成'**
|
||||
String get officialAgent6Desc;
|
||||
|
||||
/// No description provided for @officialAgent7Name.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'外语学习助手'**
|
||||
String get officialAgent7Name;
|
||||
|
||||
/// No description provided for @officialAgent7Desc.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'对话练习、语法纠错、词汇积累、发音指导'**
|
||||
String get officialAgent7Desc;
|
||||
|
||||
/// No description provided for @noOwnAgentsTitle.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
|
|
@ -312,7 +360,7 @@ abstract class AppLocalizations {
|
|||
/// No description provided for @noOwnAgentsDesc.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'点击下方机器人按钮,告诉 我智能体\n\"帮我招募一个 OpenClaw 智能体\"'**
|
||||
/// **'点击下方机器人按钮,告诉 我智能体\n\"帮我招募一个 小龙虾 智能体\"'**
|
||||
String get noOwnAgentsDesc;
|
||||
|
||||
/// No description provided for @quickTipsHeader.
|
||||
|
|
@ -330,7 +378,7 @@ abstract class AppLocalizations {
|
|||
/// No description provided for @quickTip2.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'🔧 \"把我的 OpenClaw 配置导出为 JSON\"'**
|
||||
/// **'🔧 \"把我的 小龙虾 配置导出为 JSON\"'**
|
||||
String get quickTip2;
|
||||
|
||||
/// No description provided for @quickTip3.
|
||||
|
|
@ -360,7 +408,7 @@ abstract class AppLocalizations {
|
|||
/// No description provided for @myAgentsEmptyDesc.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'通过与 我智能体 对话,你可以招募各种智能体:\nOpenClaw 编程助手、运维机器人、数据分析师...'**
|
||||
/// **'通过与 我智能体 对话,你可以招募各种智能体:\n小龙虾 编程助手、运维机器人、数据分析师...'**
|
||||
String get myAgentsEmptyDesc;
|
||||
|
||||
/// No description provided for @myAgentsStep1Title.
|
||||
|
|
@ -384,7 +432,7 @@ abstract class AppLocalizations {
|
|||
/// No description provided for @myAgentsStep2Desc.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'例如:\"帮我招募一个 OpenClaw 编程助手\"'**
|
||||
/// **'例如:\"帮我招募一个 小龙虾 编程助手\"'**
|
||||
String get myAgentsStep2Desc;
|
||||
|
||||
/// No description provided for @myAgentsStep3Title.
|
||||
|
|
|
|||
|
|
@ -115,6 +115,34 @@ class AppLocalizationsEn extends AppLocalizations {
|
|||
String get officialAgent3Desc =>
|
||||
'Slow query analysis, index optimization, backup verification';
|
||||
|
||||
@override
|
||||
String get officialAgent4Name => 'Office Assistant';
|
||||
|
||||
@override
|
||||
String get officialAgent4Desc =>
|
||||
'Draft emails, summarize docs, schedule meetings, manage tasks';
|
||||
|
||||
@override
|
||||
String get officialAgent5Name => 'Customer Service Bot';
|
||||
|
||||
@override
|
||||
String get officialAgent5Desc =>
|
||||
'24/7 auto-reply, FAQ handling, order & complaint routing';
|
||||
|
||||
@override
|
||||
String get officialAgent6Name => 'Marketing Assistant';
|
||||
|
||||
@override
|
||||
String get officialAgent6Desc =>
|
||||
'Copywriting, social media posts, campaign ideas, ad scripts';
|
||||
|
||||
@override
|
||||
String get officialAgent7Name => 'Language Tutor';
|
||||
|
||||
@override
|
||||
String get officialAgent7Desc =>
|
||||
'Conversation practice, grammar correction, vocabulary building';
|
||||
|
||||
@override
|
||||
String get noOwnAgentsTitle => 'No agents yet';
|
||||
|
||||
|
|
|
|||
|
|
@ -112,6 +112,30 @@ class AppLocalizationsZh extends AppLocalizations {
|
|||
@override
|
||||
String get officialAgent3Desc => '慢查询分析、索引优化、备份验证';
|
||||
|
||||
@override
|
||||
String get officialAgent4Name => '日常办公助手';
|
||||
|
||||
@override
|
||||
String get officialAgent4Desc => '起草邮件、整理文档、安排会议、管理待办事项';
|
||||
|
||||
@override
|
||||
String get officialAgent5Name => '在线客服智能体';
|
||||
|
||||
@override
|
||||
String get officialAgent5Desc => '7×24 小时自动回复、常见问题处理、工单与投诉转接';
|
||||
|
||||
@override
|
||||
String get officialAgent6Name => '市场营销助手';
|
||||
|
||||
@override
|
||||
String get officialAgent6Desc => '文案撰写、社媒内容、营销策划、广告脚本生成';
|
||||
|
||||
@override
|
||||
String get officialAgent7Name => '外语学习助手';
|
||||
|
||||
@override
|
||||
String get officialAgent7Desc => '对话练习、语法纠错、词汇积累、发音指导';
|
||||
|
||||
@override
|
||||
String get noOwnAgentsTitle => '还没有自己的智能体';
|
||||
|
||||
|
|
@ -1135,6 +1159,30 @@ class AppLocalizationsZhTw extends AppLocalizationsZh {
|
|||
@override
|
||||
String get officialAgent1Desc => '伺服器管理、SSH 執行、日誌分析';
|
||||
|
||||
@override
|
||||
String get officialAgent4Name => '日常辦公助手';
|
||||
|
||||
@override
|
||||
String get officialAgent4Desc => '草擬郵件、整理文件、安排會議、管理待辦事項';
|
||||
|
||||
@override
|
||||
String get officialAgent5Name => '線上客服智能體';
|
||||
|
||||
@override
|
||||
String get officialAgent5Desc => '7×24 小時自動回覆、常見問題處理、工單與投訴轉接';
|
||||
|
||||
@override
|
||||
String get officialAgent6Name => '市場行銷助手';
|
||||
|
||||
@override
|
||||
String get officialAgent6Desc => '文案撰寫、社群內容、行銷企劃、廣告腳本生成';
|
||||
|
||||
@override
|
||||
String get officialAgent7Name => '外語學習助手';
|
||||
|
||||
@override
|
||||
String get officialAgent7Desc => '對話練習、語法糾錯、詞彙積累、發音指導';
|
||||
|
||||
@override
|
||||
String get noOwnAgentsTitle => '還沒有自己的智能體';
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,14 @@
|
|||
"officialAgent2Desc": "漏洞扫描、权限审查、合规检查",
|
||||
"officialAgent3Name": "数据库巡检",
|
||||
"officialAgent3Desc": "慢查询分析、索引优化、备份验证",
|
||||
"officialAgent4Name": "日常办公助手",
|
||||
"officialAgent4Desc": "起草邮件、整理文档、安排会议、管理待办事项",
|
||||
"officialAgent5Name": "在线客服智能体",
|
||||
"officialAgent5Desc": "7×24 小时自动回复、常见问题处理、工单与投诉转接",
|
||||
"officialAgent6Name": "市场营销助手",
|
||||
"officialAgent6Desc": "文案撰写、社媒内容、营销策划、广告脚本生成",
|
||||
"officialAgent7Name": "外语学习助手",
|
||||
"officialAgent7Desc": "对话练习、语法纠错、词汇积累、发音指导",
|
||||
|
||||
"noOwnAgentsTitle": "还没有自己的智能体",
|
||||
"noOwnAgentsDesc": "点击下方机器人按钮,告诉 我智能体\n\"帮我招募一个 小龙虾 智能体\"",
|
||||
|
|
|
|||
|
|
@ -9,6 +9,14 @@
|
|||
"homeSubtitle": "我智能體 隨時為你服務",
|
||||
"officialAgent1Name": "我智能體 運維助手",
|
||||
"officialAgent1Desc": "伺服器管理、SSH 執行、日誌分析",
|
||||
"officialAgent4Name": "日常辦公助手",
|
||||
"officialAgent4Desc": "草擬郵件、整理文件、安排會議、管理待辦事項",
|
||||
"officialAgent5Name": "線上客服智能體",
|
||||
"officialAgent5Desc": "7×24 小時自動回覆、常見問題處理、工單與投訴轉接",
|
||||
"officialAgent6Name": "市場行銷助手",
|
||||
"officialAgent6Desc": "文案撰寫、社群內容、行銷企劃、廣告腳本生成",
|
||||
"officialAgent7Name": "外語學習助手",
|
||||
"officialAgent7Desc": "對話練習、語法糾錯、詞彙積累、發音指導",
|
||||
"myAgentsSection": "我的智能體",
|
||||
"noOwnAgentsTitle": "還沒有自己的智能體",
|
||||
"noOwnAgentsDesc": "點擊下方機器人按鈕,告訴 我智能體\n\"幫我招募一個 小龍蝦 智能體\"",
|
||||
|
|
|
|||
Loading…
Reference in New Issue