@nexusclawhq/cli 0.3.48 → 0.3.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6916,6 +6916,7 @@ export declare const locales: {
6916
6916
  editInstruction: string;
6917
6917
  evidenceRequired: string;
6918
6918
  executionHistory: string;
6919
+ externalConversations: string;
6919
6920
  executionIdentity: string;
6920
6921
  executionSteps: string;
6921
6922
  executionStepsEmpty: string;
@@ -18545,6 +18546,27 @@ export declare const locales: {
18545
18546
  REDIRECT_REQUIRED: string;
18546
18547
  };
18547
18548
  connectivityCode: {
18549
+ FEISHU_TOKEN_OK: string;
18550
+ FEISHU_TOKEN_REJECTED: string;
18551
+ FEISHU_MESSAGE_DELIVERY_OK: string;
18552
+ FEISHU_MESSAGE_DELIVERY_REJECTED: string;
18553
+ FEISHU_TEST_INPUT_REQUIRED: string;
18554
+ FEISHU_TEST_INPUT_INVALID: string;
18555
+ WECOM_TOKEN_OK: string;
18556
+ WECOM_TOKEN_REJECTED: string;
18557
+ WECOM_SMART_BOT_CALLBACK_VERIFICATION_REQUIRED: string;
18558
+ DINGTALK_TOKEN_OK: string;
18559
+ DINGTALK_STREAM_CREDENTIALS_OK_RUNTIME_PENDING: string;
18560
+ DINGTALK_TOKEN_REJECTED: string;
18561
+ SLACK_CREDENTIALS_OK_ADAPTER_PENDING: string;
18562
+ SLACK_CREDENTIALS_REJECTED: string;
18563
+ TEAMS_CREDENTIALS_OK_ADAPTER_PENDING: string;
18564
+ TEAMS_CREDENTIALS_REJECTED: string;
18565
+ API_CREDENTIALS_SAVED_CLIENT_TEST_REQUIRED: string;
18566
+ API_CALLBACK_OK: string;
18567
+ API_CALLBACK_REJECTED: string;
18568
+ WEB_CHAT_WIDGET_TEST_REQUIRED: string;
18569
+ TELEPHONY_TEST_REQUIRED: string;
18548
18570
  WEBHOOK_DELIVERY_OK: string;
18549
18571
  WEBHOOK_HTTP_REJECTED: string;
18550
18572
  WEBHOOK_PROVIDER_REJECTED: string;
@@ -18556,8 +18578,35 @@ export declare const locales: {
18556
18578
  };
18557
18579
  webhookTestTitle: string;
18558
18580
  webhookTestDescription: string;
18559
- webhookTestPlaceholder: string;
18560
- webhookTestSend: string;
18581
+ deliveryTestEmployeeLabel: string;
18582
+ deliveryTestEmployeePlaceholder: string;
18583
+ deliveryTestGenerateAndSend: string;
18584
+ deliveryTestScenarioLabel: string;
18585
+ deliveryTestScenario: {
18586
+ welcome: {
18587
+ label: string;
18588
+ prompt: string;
18589
+ };
18590
+ event_reminder: {
18591
+ label: string;
18592
+ prompt: string;
18593
+ };
18594
+ service_follow_up: {
18595
+ label: string;
18596
+ prompt: string;
18597
+ };
18598
+ };
18599
+ deliveryTestGenerationPrompt: string;
18600
+ deliveryTestGenerationFailed: string;
18601
+ sendTestMessage: string;
18602
+ testCredentials: string;
18603
+ credentialTestTitle: string;
18604
+ credentialTestScopeTitle: string;
18605
+ credentialTestScopeDescription: string;
18606
+ startCredentialTest: string;
18607
+ feishuMessageTestTitle: string;
18608
+ feishuMessageTestDescription: string;
18609
+ feishuChatIdPlaceholder: string;
18561
18610
  toolLabel: {
18562
18611
  recordQuery: string;
18563
18612
  recordAggregate: string;
@@ -18629,11 +18678,11 @@ export declare const locales: {
18629
18678
  field: {
18630
18679
  webhook: {
18631
18680
  webhookUrl: string;
18681
+ dingtalkSigningSecret: string;
18632
18682
  };
18633
18683
  wecom: {
18634
- corpId: string;
18635
- agentId: string;
18636
- secret: string;
18684
+ token: string;
18685
+ aesKey: string;
18637
18686
  };
18638
18687
  };
18639
18688
  simNoReply: string;
@@ -18698,6 +18747,18 @@ export declare const locales: {
18698
18747
  copyCallbackUrl: string;
18699
18748
  copyCallbackUrlAria: string;
18700
18749
  callbackUrlCopied: string;
18750
+ callbackUrlCopyFailed: string;
18751
+ connectionModeLabel: string;
18752
+ connectionMode: {
18753
+ stream: string;
18754
+ callback: string;
18755
+ streamHelp: string;
18756
+ callbackHelp: string;
18757
+ };
18758
+ dingtalkStreamReady: string;
18759
+ dingtalkStreamError: string;
18760
+ dingtalkStreamStepTitle: string;
18761
+ dingtalkStreamStepDescription: string;
18701
18762
  confirmDelete: string;
18702
18763
  delete: string;
18703
18764
  cancel: string;
@@ -18721,6 +18782,7 @@ export declare const locales: {
18721
18782
  fillIn: string;
18722
18783
  webhookFillIn: string;
18723
18784
  webhookUrlRequired: string;
18785
+ credentialFieldRequired: string;
18724
18786
  webhookSetupTitle: string;
18725
18787
  webhookSetupDescription: string;
18726
18788
  webhookStepAdd: string;
@@ -27256,6 +27318,7 @@ export declare const locales: {
27256
27318
  editInstruction: string;
27257
27319
  evidenceRequired: string;
27258
27320
  executionHistory: string;
27321
+ externalConversations: string;
27259
27322
  executionIdentity: string;
27260
27323
  executionSteps: string;
27261
27324
  executionStepsEmpty: string;
@@ -38885,6 +38948,27 @@ export declare const locales: {
38885
38948
  REDIRECT_REQUIRED: string;
38886
38949
  };
38887
38950
  connectivityCode: {
38951
+ FEISHU_TOKEN_OK: string;
38952
+ FEISHU_TOKEN_REJECTED: string;
38953
+ FEISHU_MESSAGE_DELIVERY_OK: string;
38954
+ FEISHU_MESSAGE_DELIVERY_REJECTED: string;
38955
+ FEISHU_TEST_INPUT_REQUIRED: string;
38956
+ FEISHU_TEST_INPUT_INVALID: string;
38957
+ WECOM_TOKEN_OK: string;
38958
+ WECOM_TOKEN_REJECTED: string;
38959
+ WECOM_SMART_BOT_CALLBACK_VERIFICATION_REQUIRED: string;
38960
+ DINGTALK_TOKEN_OK: string;
38961
+ DINGTALK_STREAM_CREDENTIALS_OK_RUNTIME_PENDING: string;
38962
+ DINGTALK_TOKEN_REJECTED: string;
38963
+ SLACK_CREDENTIALS_OK_ADAPTER_PENDING: string;
38964
+ SLACK_CREDENTIALS_REJECTED: string;
38965
+ TEAMS_CREDENTIALS_OK_ADAPTER_PENDING: string;
38966
+ TEAMS_CREDENTIALS_REJECTED: string;
38967
+ API_CREDENTIALS_SAVED_CLIENT_TEST_REQUIRED: string;
38968
+ API_CALLBACK_OK: string;
38969
+ API_CALLBACK_REJECTED: string;
38970
+ WEB_CHAT_WIDGET_TEST_REQUIRED: string;
38971
+ TELEPHONY_TEST_REQUIRED: string;
38888
38972
  WEBHOOK_DELIVERY_OK: string;
38889
38973
  WEBHOOK_HTTP_REJECTED: string;
38890
38974
  WEBHOOK_PROVIDER_REJECTED: string;
@@ -38896,8 +38980,35 @@ export declare const locales: {
38896
38980
  };
38897
38981
  webhookTestTitle: string;
38898
38982
  webhookTestDescription: string;
38899
- webhookTestPlaceholder: string;
38900
- webhookTestSend: string;
38983
+ deliveryTestEmployeeLabel: string;
38984
+ deliveryTestEmployeePlaceholder: string;
38985
+ deliveryTestGenerateAndSend: string;
38986
+ deliveryTestScenarioLabel: string;
38987
+ deliveryTestScenario: {
38988
+ welcome: {
38989
+ label: string;
38990
+ prompt: string;
38991
+ };
38992
+ event_reminder: {
38993
+ label: string;
38994
+ prompt: string;
38995
+ };
38996
+ service_follow_up: {
38997
+ label: string;
38998
+ prompt: string;
38999
+ };
39000
+ };
39001
+ deliveryTestGenerationPrompt: string;
39002
+ deliveryTestGenerationFailed: string;
39003
+ sendTestMessage: string;
39004
+ testCredentials: string;
39005
+ credentialTestTitle: string;
39006
+ credentialTestScopeTitle: string;
39007
+ credentialTestScopeDescription: string;
39008
+ startCredentialTest: string;
39009
+ feishuMessageTestTitle: string;
39010
+ feishuMessageTestDescription: string;
39011
+ feishuChatIdPlaceholder: string;
38901
39012
  toolLabel: {
38902
39013
  recordQuery: string;
38903
39014
  recordAggregate: string;
@@ -38969,11 +39080,11 @@ export declare const locales: {
38969
39080
  field: {
38970
39081
  webhook: {
38971
39082
  webhookUrl: string;
39083
+ dingtalkSigningSecret: string;
38972
39084
  };
38973
39085
  wecom: {
38974
- corpId: string;
38975
- agentId: string;
38976
- secret: string;
39086
+ token: string;
39087
+ aesKey: string;
38977
39088
  };
38978
39089
  };
38979
39090
  simNoReply: string;
@@ -39038,6 +39149,18 @@ export declare const locales: {
39038
39149
  copyCallbackUrl: string;
39039
39150
  copyCallbackUrlAria: string;
39040
39151
  callbackUrlCopied: string;
39152
+ callbackUrlCopyFailed: string;
39153
+ connectionModeLabel: string;
39154
+ connectionMode: {
39155
+ stream: string;
39156
+ callback: string;
39157
+ streamHelp: string;
39158
+ callbackHelp: string;
39159
+ };
39160
+ dingtalkStreamReady: string;
39161
+ dingtalkStreamError: string;
39162
+ dingtalkStreamStepTitle: string;
39163
+ dingtalkStreamStepDescription: string;
39041
39164
  confirmDelete: string;
39042
39165
  delete: string;
39043
39166
  cancel: string;
@@ -39061,6 +39184,7 @@ export declare const locales: {
39061
39184
  fillIn: string;
39062
39185
  webhookFillIn: string;
39063
39186
  webhookUrlRequired: string;
39187
+ credentialFieldRequired: string;
39064
39188
  webhookSetupTitle: string;
39065
39189
  webhookSetupDescription: string;
39066
39190
  webhookStepAdd: string;
@@ -6912,6 +6912,7 @@ declare const _default: {
6912
6912
  editInstruction: string;
6913
6913
  evidenceRequired: string;
6914
6914
  executionHistory: string;
6915
+ externalConversations: string;
6915
6916
  executionIdentity: string;
6916
6917
  executionSteps: string;
6917
6918
  executionStepsEmpty: string;
@@ -18541,6 +18542,27 @@ declare const _default: {
18541
18542
  REDIRECT_REQUIRED: string;
18542
18543
  };
18543
18544
  connectivityCode: {
18545
+ FEISHU_TOKEN_OK: string;
18546
+ FEISHU_TOKEN_REJECTED: string;
18547
+ FEISHU_MESSAGE_DELIVERY_OK: string;
18548
+ FEISHU_MESSAGE_DELIVERY_REJECTED: string;
18549
+ FEISHU_TEST_INPUT_REQUIRED: string;
18550
+ FEISHU_TEST_INPUT_INVALID: string;
18551
+ WECOM_TOKEN_OK: string;
18552
+ WECOM_TOKEN_REJECTED: string;
18553
+ WECOM_SMART_BOT_CALLBACK_VERIFICATION_REQUIRED: string;
18554
+ DINGTALK_TOKEN_OK: string;
18555
+ DINGTALK_STREAM_CREDENTIALS_OK_RUNTIME_PENDING: string;
18556
+ DINGTALK_TOKEN_REJECTED: string;
18557
+ SLACK_CREDENTIALS_OK_ADAPTER_PENDING: string;
18558
+ SLACK_CREDENTIALS_REJECTED: string;
18559
+ TEAMS_CREDENTIALS_OK_ADAPTER_PENDING: string;
18560
+ TEAMS_CREDENTIALS_REJECTED: string;
18561
+ API_CREDENTIALS_SAVED_CLIENT_TEST_REQUIRED: string;
18562
+ API_CALLBACK_OK: string;
18563
+ API_CALLBACK_REJECTED: string;
18564
+ WEB_CHAT_WIDGET_TEST_REQUIRED: string;
18565
+ TELEPHONY_TEST_REQUIRED: string;
18544
18566
  WEBHOOK_DELIVERY_OK: string;
18545
18567
  WEBHOOK_HTTP_REJECTED: string;
18546
18568
  WEBHOOK_PROVIDER_REJECTED: string;
@@ -18552,8 +18574,35 @@ declare const _default: {
18552
18574
  };
18553
18575
  webhookTestTitle: string;
18554
18576
  webhookTestDescription: string;
18555
- webhookTestPlaceholder: string;
18556
- webhookTestSend: string;
18577
+ deliveryTestEmployeeLabel: string;
18578
+ deliveryTestEmployeePlaceholder: string;
18579
+ deliveryTestGenerateAndSend: string;
18580
+ deliveryTestScenarioLabel: string;
18581
+ deliveryTestScenario: {
18582
+ welcome: {
18583
+ label: string;
18584
+ prompt: string;
18585
+ };
18586
+ event_reminder: {
18587
+ label: string;
18588
+ prompt: string;
18589
+ };
18590
+ service_follow_up: {
18591
+ label: string;
18592
+ prompt: string;
18593
+ };
18594
+ };
18595
+ deliveryTestGenerationPrompt: string;
18596
+ deliveryTestGenerationFailed: string;
18597
+ sendTestMessage: string;
18598
+ testCredentials: string;
18599
+ credentialTestTitle: string;
18600
+ credentialTestScopeTitle: string;
18601
+ credentialTestScopeDescription: string;
18602
+ startCredentialTest: string;
18603
+ feishuMessageTestTitle: string;
18604
+ feishuMessageTestDescription: string;
18605
+ feishuChatIdPlaceholder: string;
18557
18606
  toolLabel: {
18558
18607
  recordQuery: string;
18559
18608
  recordAggregate: string;
@@ -18625,11 +18674,11 @@ declare const _default: {
18625
18674
  field: {
18626
18675
  webhook: {
18627
18676
  webhookUrl: string;
18677
+ dingtalkSigningSecret: string;
18628
18678
  };
18629
18679
  wecom: {
18630
- corpId: string;
18631
- agentId: string;
18632
- secret: string;
18680
+ token: string;
18681
+ aesKey: string;
18633
18682
  };
18634
18683
  };
18635
18684
  simNoReply: string;
@@ -18694,6 +18743,18 @@ declare const _default: {
18694
18743
  copyCallbackUrl: string;
18695
18744
  copyCallbackUrlAria: string;
18696
18745
  callbackUrlCopied: string;
18746
+ callbackUrlCopyFailed: string;
18747
+ connectionModeLabel: string;
18748
+ connectionMode: {
18749
+ stream: string;
18750
+ callback: string;
18751
+ streamHelp: string;
18752
+ callbackHelp: string;
18753
+ };
18754
+ dingtalkStreamReady: string;
18755
+ dingtalkStreamError: string;
18756
+ dingtalkStreamStepTitle: string;
18757
+ dingtalkStreamStepDescription: string;
18697
18758
  confirmDelete: string;
18698
18759
  delete: string;
18699
18760
  cancel: string;
@@ -18717,6 +18778,7 @@ declare const _default: {
18717
18778
  fillIn: string;
18718
18779
  webhookFillIn: string;
18719
18780
  webhookUrlRequired: string;
18781
+ credentialFieldRequired: string;
18720
18782
  webhookSetupTitle: string;
18721
18783
  webhookSetupDescription: string;
18722
18784
  webhookStepAdd: string;
@@ -6927,6 +6927,7 @@ const messages = {
6927
6927
  editInstruction: "编辑指令",
6928
6928
  evidenceRequired: "需证据",
6929
6929
  executionHistory: "执行记录",
6930
+ externalConversations: "外部渠道会话",
6930
6931
  executionIdentity: "执行身份与职权",
6931
6932
  executionSteps: "执行步骤",
6932
6933
  executionStepsEmpty: "等待工具调用记录。",
@@ -18595,6 +18596,27 @@ const messages = {
18595
18596
  REDIRECT_REQUIRED: "请前往对应功能模块完成联调",
18596
18597
  },
18597
18598
  connectivityCode: {
18599
+ FEISHU_TOKEN_OK: "飞书 App ID 与 App Secret 验证通过,平台令牌服务可访问",
18600
+ FEISHU_TOKEN_REJECTED: "飞书拒绝了当前 App ID 或 App Secret",
18601
+ FEISHU_MESSAGE_DELIVERY_OK: "飞书已接受测试消息,目标返回 HTTP {status}",
18602
+ FEISHU_MESSAGE_DELIVERY_REJECTED: "飞书拒绝了测试消息,请检查 chat_id、机器人是否在群内及应用权限",
18603
+ FEISHU_TEST_INPUT_REQUIRED: "请同时填写飞书群 chat_id 和测试内容",
18604
+ FEISHU_TEST_INPUT_INVALID: "chat_id 或测试内容超过长度限制",
18605
+ WECOM_TOKEN_OK: "企业微信应用凭证验证通过,令牌服务可访问",
18606
+ WECOM_TOKEN_REJECTED: "企业微信拒绝了当前应用凭证",
18607
+ WECOM_SMART_BOT_CALLBACK_VERIFICATION_REQUIRED: "Token 和 EncodingAESKey 已保存,请到企业微信智能机器人中保存回调地址完成验证",
18608
+ DINGTALK_TOKEN_OK: "钉钉 AppKey 与 AppSecret 验证通过,令牌服务可访问",
18609
+ DINGTALK_STREAM_CREDENTIALS_OK_RUNTIME_PENDING: "钉钉凭证验证通过;还需在钉钉中向机器人发送一条真实消息,确认 Stream 长连接和回复链路",
18610
+ DINGTALK_TOKEN_REJECTED: "钉钉拒绝了当前 AppKey 或 AppSecret",
18611
+ SLACK_CREDENTIALS_OK_ADAPTER_PENDING: "Slack 凭证有效,但入站运行适配器尚未接通",
18612
+ SLACK_CREDENTIALS_REJECTED: "Slack 拒绝了当前凭证",
18613
+ TEAMS_CREDENTIALS_OK_ADAPTER_PENDING: "Microsoft Teams 凭证有效,但入站运行适配器尚未接通",
18614
+ TEAMS_CREDENTIALS_REJECTED: "Microsoft 拒绝了当前 Teams 凭证",
18615
+ API_CREDENTIALS_SAVED_CLIENT_TEST_REQUIRED: "API 凭证已保存,还需从调用端发起请求验证",
18616
+ API_CALLBACK_OK: "API 回调地址可访问,调用凭证还需客户端验证",
18617
+ API_CALLBACK_REJECTED: "API 回调地址拒绝了测试请求",
18618
+ WEB_CHAT_WIDGET_TEST_REQUIRED: "请在网页客服组件中完成端到端测试",
18619
+ TELEPHONY_TEST_REQUIRED: "请到语音设置中执行话务服务商连接测试",
18598
18620
  WEBHOOK_DELIVERY_OK: "测试消息已成功推送,目标返回 HTTP {status}",
18599
18621
  WEBHOOK_HTTP_REJECTED: "Webhook 地址返回 HTTP {status},未接受测试消息",
18600
18622
  WEBHOOK_PROVIDER_REJECTED: "外部平台拒绝了测试消息,请检查 Webhook 地址和平台安全规则",
@@ -18604,10 +18626,37 @@ const messages = {
18604
18626
  TEST_MESSAGE_REQUIRED: "请先输入测试内容",
18605
18627
  TEST_MESSAGE_TOO_LONG: "测试内容不能超过 2000 个字符",
18606
18628
  },
18607
- webhookTestTitle: "发送 Webhook 测试消息",
18608
- webhookTestDescription: "输入要推送到外部群或系统的测试内容。点击发送后,平台将从后端主动调用已保存的 Webhook 地址。",
18609
- webhookTestPlaceholder: "例如:NexusClaw Webhook 联调测试,收到请回复确认。",
18610
- webhookTestSend: "发送测试消息",
18629
+ webhookTestTitle: "让数字员工发送 Webhook 测试消息",
18630
+ webhookTestDescription: "选择已授权的数字员工;该员工会先生成一条测试消息,再由平台投递到已保存的 Webhook 地址。",
18631
+ deliveryTestEmployeeLabel: "生成测试消息的数字员工",
18632
+ deliveryTestEmployeePlaceholder: "选择已授权的数字员工",
18633
+ deliveryTestGenerateAndSend: "生成并发送测试消息",
18634
+ deliveryTestScenarioLabel: "消息场景",
18635
+ deliveryTestScenario: {
18636
+ welcome: {
18637
+ label: "欢迎语",
18638
+ prompt: "面向新客户的简短欢迎语,语气友好自然",
18639
+ },
18640
+ event_reminder: {
18641
+ label: "活动提醒",
18642
+ prompt: "提醒客户即将开始的活动,包含简洁的行动引导",
18643
+ },
18644
+ service_follow_up: {
18645
+ label: "服务跟进",
18646
+ prompt: "客服完成服务后的温和跟进,邀请客户反馈",
18647
+ },
18648
+ },
18649
+ deliveryTestGenerationPrompt: "请生成一条简短、专业、自然的业务消息,场景是:{scenario}。只输出待发送的正文,不要解释,也不要提及测试、Webhook 或系统。",
18650
+ deliveryTestGenerationFailed: "数字员工未能生成测试消息,请稍后重试。",
18651
+ sendTestMessage: "发送测试消息",
18652
+ testCredentials: "测试凭证与平台连接",
18653
+ credentialTestTitle: "测试凭证与平台连接",
18654
+ credentialTestScopeTitle: "本次不会向群聊发送消息",
18655
+ credentialTestScopeDescription: "此类应用渠道只验证平台凭证和令牌服务。如需发送群消息,还必须配置平台的群 ID 或接收人 ID;当前渠道未保存这类投递目标。",
18656
+ startCredentialTest: "开始测试",
18657
+ feishuMessageTestTitle: "让数字员工发送飞书群测试消息",
18658
+ feishuMessageTestDescription: "输入飞书群 chat_id 并选择已授权的数字员工;该员工会生成消息正文后投递。应用机器人必须已加入该群,并拥有发送消息权限。",
18659
+ feishuChatIdPlaceholder: "请输入飞书群 chat_id,例如 oc_xxxxxxxxx",
18611
18660
  toolLabel: {
18612
18661
  recordQuery: "查询 CRM",
18613
18662
  recordAggregate: "统计 CRM",
@@ -18623,22 +18672,22 @@ const messages = {
18623
18672
  label: "钉钉",
18624
18673
  step1: "登录钉钉开放平台(open-dev.dingtalk.com),在「应用开发」中创建一个企业内部应用。",
18625
18674
  step2: "在「凭证与基础信息」页面复制 AppKey(Client ID)和 AppSecret(Client Secret)。",
18626
- step3: "在「添加应用能力」中开启「机器人」,消息接收地址填工作区 IM 网关回调地址。",
18675
+ step3: "在「添加应用能力」中开启「机器人」:推荐选 Stream 模式;如选 Callback,保存后复制工作区回调地址。",
18627
18676
  step4: "发布应用版本并授权到企业,然后在下方填入凭证完成接入。",
18628
18677
  },
18629
18678
  feishu: {
18630
18679
  label: "飞书",
18631
18680
  step1: "登录飞书开放平台(open.feishu.cn),在「开发者后台」创建一个企业自建应用。",
18632
18681
  step2: "在「凭证与基础信息」页面复制 App ID 和 App Secret。",
18633
- step3: "在「添加应用能力」中开启「机器人」,订阅接收消息事件并配置回调地址。",
18634
- step4: "创建应用版本并发布,然后在下方填入凭证完成接入。",
18682
+ step3: "在「事件与回调」中选择「将事件发送至开发者服务器」,订阅接收消息事件,并配置回调地址。",
18683
+ step4: "在加密策略复制 Encrypt Key 和 Verification Token,填入下方后创建并发布应用版本。",
18635
18684
  },
18636
18685
  wecom: {
18637
- label: "企业微信",
18638
- step1: "登录企业微信管理后台(work.weixin.qq.com),在「应用管理」中创建一个自建应用。",
18639
- step2: "在应用详情页复制 CorpId、AgentId Secret。",
18640
- step3: "在「接收消息」页配置 Token EncodingAESKey,回调 URL 填工作区 IM 网关地址并完成校验。",
18641
- note: "回调校验需要后端 IM 网关在线;若校验失败请先确认工作区默认 IM 网关已启用,再重试。",
18686
+ label: "企业微信智能机器人",
18687
+ step1: "在企业微信管理后台创建智能机器人,进入「API 配置」并选择「使用 URL 回调」。",
18688
+ step2: "填写下方 Token EncodingAESKey 并保存渠道,然后复制平台生成的回调 URL。",
18689
+ step3: "把回调 URL、同一 Token EncodingAESKey 填入企业微信,保存完成 URL 校验后将智能机器人加入目标群。",
18690
+ note: "这是智能机器人 URL 回调模式,不需要 CorpId、AgentId 或应用 Secret。企业微信保存配置时会发起 GET 校验。",
18642
18691
  },
18643
18692
  slack: {
18644
18693
  label: "Slack",
@@ -18679,11 +18728,11 @@ const messages = {
18679
18728
  field: {
18680
18729
  webhook: {
18681
18730
  webhookUrl: "Webhook 地址",
18731
+ dingtalkSigningSecret: "钉钉机器人加签密钥(启用加签时填写)",
18682
18732
  },
18683
18733
  wecom: {
18684
- corpId: "企业 ID(CorpId)",
18685
- agentId: "应用 AgentId",
18686
- secret: "应用 Secret",
18734
+ token: "Token",
18735
+ aesKey: "EncodingAESKey",
18687
18736
  },
18688
18737
  },
18689
18738
  simNoReply: "(无回复)",
@@ -18748,6 +18797,18 @@ const messages = {
18748
18797
  copyCallbackUrl: "复制回调地址",
18749
18798
  copyCallbackUrlAria: "复制回调地址",
18750
18799
  callbackUrlCopied: "回调地址已复制,请粘贴到开放平台的消息接收/回调地址配置中",
18800
+ callbackUrlCopyFailed: "浏览器未允许自动复制,请使用 HTTPS 访问后重试",
18801
+ connectionModeLabel: "机器人接入方式",
18802
+ connectionMode: {
18803
+ stream: "Stream 推送(推荐)",
18804
+ callback: "Callback 回调",
18805
+ streamHelp: "NexusClaw 主动建立长连接接收消息,无需公网回调地址。启用渠道后连接自动启动并断线重连。",
18806
+ callbackHelp: "钉钉通过公网 HTTPS 地址推送消息。保存后需复制平台回调地址到钉钉后台。",
18807
+ },
18808
+ dingtalkStreamReady: "Stream 模式会在后端保持长连接;无需复制回调地址。请确保钉钉应用的机器人能力也已选择 Stream 并发布。",
18809
+ dingtalkStreamError: "Stream 连接异常,请检查 AppKey/AppSecret、机器人 Stream 模式和后端出网能力。",
18810
+ dingtalkStreamStepTitle: "确认 Stream 连接",
18811
+ dingtalkStreamStepDescription: "启用渠道后直接向钉钉机器人发送消息",
18751
18812
  confirmDelete: "确定删除这个接入?",
18752
18813
  delete: "删除",
18753
18814
  cancel: "取消",
@@ -18771,6 +18832,7 @@ const messages = {
18771
18832
  fillIn: "③ 填写配置",
18772
18833
  webhookFillIn: "③ 填写 Webhook 推送配置",
18773
18834
  webhookUrlRequired: "请填写外部 Webhook 消息推送地址",
18835
+ credentialFieldRequired: "请填写{field}",
18774
18836
  webhookSetupTitle: "配置 Webhook 主动推送",
18775
18837
  webhookSetupDescription: "Webhook 仅用于由已授权的 AI 员工主动向外部地址投递消息;它不接收外部消息,也不需要复制平台回调地址或完成回调验证。",
18776
18838
  webhookStepAdd: "添加 Webhook",
@@ -18801,7 +18863,7 @@ const messages = {
18801
18863
  flow: {
18802
18864
  inbound_callback: {
18803
18865
  title: "入站应用回调渠道",
18804
- description: "企业微信、飞书和钉钉已接通真实入站回调。外部平台收到的消息会按显式员工名单交给 AI 员工处理。",
18866
+ description: "企业微信智能机器人、飞书和钉钉已接通真实入站回调。外部平台收到的消息会按显式员工名单交给 AI 员工处理。",
18805
18867
  howTo: "② 配置开放平台应用与回调",
18806
18868
  configure: "③ 填写应用凭证和接待配置",
18807
18869
  employeesLabel: "允许对外接待的 AI 员工",