mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-17 15:27:15 +00:00
feat(processors): add explicitly bound plugin event processors
This commit is contained in:
@@ -378,17 +378,15 @@ const zhHans = {
|
||||
commonScenarios: '常用场景',
|
||||
dragEventRoute: '拖动第 {{index}} 条路由',
|
||||
behaviorReplyMessages: '回复收到的消息',
|
||||
behaviorReplyMessagesDescription:
|
||||
'把收到的消息交给 Agent 或 Pipeline 处理。',
|
||||
behaviorReplyMessagesDescription: '把收到的消息交给处理器。',
|
||||
behaviorWelcomeMembers: '欢迎新成员',
|
||||
behaviorWelcomeMembersDescription: '有人加入群组时运行 Agent。',
|
||||
behaviorWelcomeMembersDescription: '有人加入群组时运行处理器。',
|
||||
behaviorHandleDepartures: '处理成员离群',
|
||||
behaviorHandleDeparturesDescription: '有人离开或被移出群组时运行 Agent。',
|
||||
behaviorHandleDeparturesDescription: '有人离开或被移出群组时运行处理器。',
|
||||
behaviorReviewFriendRequests: '审核好友请求',
|
||||
behaviorReviewFriendRequestsDescription:
|
||||
'让 Agent 决定如何处理新的好友请求。',
|
||||
behaviorReviewFriendRequestsDescription: '把新的好友请求交给处理器。',
|
||||
behaviorHandleModeration: '处理群管理事件',
|
||||
behaviorHandleModerationDescription: '群成员受到限制时运行 Agent。',
|
||||
behaviorHandleModerationDescription: '群成员受到限制时运行处理器。',
|
||||
behaviorCustom: '配置其他事件',
|
||||
behaviorCustomDescription: '添加路由,并从此适配器支持的全部事件中选择。',
|
||||
eventPattern: '事件',
|
||||
@@ -670,6 +668,36 @@ const zhHans = {
|
||||
},
|
||||
},
|
||||
agents: {
|
||||
eventProcessor: {
|
||||
type: '事件处理器',
|
||||
description: '通过插件代码处理平台事件。',
|
||||
component: '插件组件',
|
||||
selectComponent: '选择事件处理器组件',
|
||||
unavailable: '组件不可用',
|
||||
noComponents: '尚未安装事件处理器组件。',
|
||||
installPlugin: '安装插件',
|
||||
loadError: '无法加载处理器详情。',
|
||||
refresh: '刷新',
|
||||
runs: '运行记录',
|
||||
noRuns: '暂无运行记录,绑定机器人事件后开始处理。',
|
||||
bindBot: '绑定机器人事件',
|
||||
trace: '日志与消息流向',
|
||||
selectRun: '选择一条运行记录查看详情。',
|
||||
input: '传入事件',
|
||||
destination: '投递目标',
|
||||
loadMore: '加载更多',
|
||||
activation: '安装插件,创建实例,再绑定机器人事件。',
|
||||
status_pending: '待执行',
|
||||
status_running: '运行中',
|
||||
status_completed: '已完成',
|
||||
status_failed: '失败',
|
||||
status_cancelled: '已取消',
|
||||
status_queued: '排队中',
|
||||
trace_run_completed: '运行完成',
|
||||
trace_run_failed: '运行失败',
|
||||
trace_tool_call_started: '开始执行动作',
|
||||
trace_tool_call_completed: '动作结果',
|
||||
},
|
||||
debugData: {
|
||||
title: '事件数据',
|
||||
form: '常用字段',
|
||||
@@ -701,7 +729,7 @@ const zhHans = {
|
||||
description: '创建可复用的处理器,并在机器人事件路由中使用',
|
||||
create: '创建处理器',
|
||||
editAgent: '编辑 Agent',
|
||||
selectFromSidebar: '从侧边栏选择一个 Agent 或 Pipeline',
|
||||
selectFromSidebar: '从侧边栏选择一个处理器',
|
||||
agentType: 'Agent',
|
||||
agentTypeDescription:
|
||||
'通过运行器处理消息、群成员、好友、反馈等平台事件。适合需要自主判断、调用工具或响应非消息事件的场景。',
|
||||
|
||||
Reference in New Issue
Block a user