@ycodium-ai/plugin-im 0.2.3208 → 0.2.3214
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.
- package/assets/ui.js +17 -4
- package/dist/index.js +9559 -2463
- package/locales/en.json +82 -15
- package/locales/zh-CN.json +83 -16
- package/package.json +2 -2
package/locales/en.json
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
"source": {
|
|
3
3
|
"fromChat": "From {{name}} in {{chat}}:",
|
|
4
4
|
"from": "From {{name}}:",
|
|
5
|
-
"member": "member {{code}}"
|
|
5
|
+
"member": "member {{code}}",
|
|
6
|
+
"delayedDelivery": "(Originally received at {{time}}; delivered late after a dispatch failure)"
|
|
6
7
|
},
|
|
7
8
|
"settings": {
|
|
8
9
|
"title": "Chat",
|
|
@@ -205,6 +206,10 @@
|
|
|
205
206
|
"projectArchived": "Project \"{{title}}\" is archived. Restore it, or send /repo to pick another project, then message again.",
|
|
206
207
|
"projectMissing": "The project this chat was working on is no longer on this machine (it may have been deleted), so a thread cannot be started. Send /repo to pick another one.",
|
|
207
208
|
"threadGone": "The earlier session was deleted or archived, so this chat now starts a new one.",
|
|
209
|
+
"turnFailedToStart": "This message couldn't be dispatched. Please send it again later. Reference {{ref}}.",
|
|
210
|
+
"turnFailedToStartQuoted": "This message (starting with \"{{excerpt}}\") couldn't be dispatched. Please send it again later. Reference {{ref}}.",
|
|
211
|
+
"turnFailedToStartAttachment": "This message (with the attachment \"{{excerpt}}\") couldn't be dispatched. Please send it again later. Reference {{ref}}.",
|
|
212
|
+
"turnRetrying": "Couldn't dispatch this message yet. Retrying automatically in the background, so there's no need to send it again. You'll get another message if it still fails. Reference {{ref}}.",
|
|
208
213
|
"turnFailed": "This turn didn't finish: {{detail}}\nReference {{ref}}. Send the message again; if it keeps failing, send /new to start a new conversation.",
|
|
209
214
|
"turnFailedNoDetail": "This turn didn't finish. Reference {{ref}}. Send the message again; if it keeps failing, send /new to start a new conversation.",
|
|
210
215
|
"turnFailedBrief": "This turn didn't finish: {{detail}}\nSend the message again; if it keeps failing, send /new to start a new conversation.",
|
|
@@ -221,9 +226,11 @@
|
|
|
221
226
|
"attachmentsNoTeam": "Files cannot be sent to a team yet, so they were left out. Send /thread to go back to a normal session.",
|
|
222
227
|
"unsupportedType": "I can't process {{type}} messages yet.",
|
|
223
228
|
"unsupportedFolder": "Folders can't be downloaded. Zip it and send the archive instead.",
|
|
229
|
+
"unsupportedVoice": "Voice messages aren't supported yet. Please send text.",
|
|
224
230
|
"sendingFile": "Sending {{name}}:",
|
|
225
231
|
"notAllowedYet": "You are not on the allow list yet. Your user id is {{id}}. Add it under Settings → Plugins → Chat, in this bot's \"Allowed people\" box.",
|
|
226
|
-
"received": "Got it, working on it."
|
|
232
|
+
"received": "Got it, working on it.",
|
|
233
|
+
"welcome": "Connected. Send text or images to get started, or send /help to see the available commands."
|
|
227
234
|
},
|
|
228
235
|
"approval": {
|
|
229
236
|
"allow": "Allow",
|
|
@@ -558,21 +565,53 @@
|
|
|
558
565
|
"failed": "Connection failed",
|
|
559
566
|
"notSaved": "Save this row first (credentials are read from saved config only).",
|
|
560
567
|
"hint": {
|
|
568
|
+
"connecting": "Still connecting. There is usually a result within 20 seconds; check again in a moment.",
|
|
561
569
|
"badToken": "This does not look like a bot token. Copy it again from BotFather: digits, a colon, then the key.",
|
|
562
|
-
"unauthorized": "Telegram does not accept this token. It may have been revoked; get the current one from BotFather.",
|
|
570
|
+
"unauthorized": "Telegram does not accept this token. It may have been revoked; get the current one from BotFather. Save the corrected token here to reconnect automatically; if nothing needs changing, use Reconnect below.",
|
|
563
571
|
"notBot": "This token does not belong to a bot. Use the token BotFather gave you.",
|
|
564
572
|
"webhookActive": "This bot has a webhook set by another service, so it cannot receive messages here. Remove the webhook there, then check again.",
|
|
573
|
+
"larkCredentials": "Lark does not accept this App ID or App Secret. Copy both from Credentials & Basic Info for your self-built app in the Lark developer console. Save the corrected App ID and App Secret here to reconnect automatically; if nothing needs changing, use Reconnect below.",
|
|
574
|
+
"larkScope": "This app is missing a required permission. In the Lark developer console, open Permission Management, add the permissions listed in the details, then publish a version.",
|
|
575
|
+
"larkBotOff": "This app's bot capability is not enabled. In the Lark developer console, open App Capabilities → Bot, enable the bot, then publish a version.",
|
|
576
|
+
"larkAppUnavailable": "This app is unavailable in your organization. In the Lark developer console, check that the app is enabled and published; ask your administrator to confirm it is installed and enabled for your organization.",
|
|
577
|
+
"wecomBotCredentials": "WeCom does not accept this Bot ID or Secret. Open this smart bot's configuration in the WeCom admin console, select API mode → Long connection, and copy its Bot ID and Secret. These are not the callback Token or EncodingAESKey. Save the corrected Bot ID and Secret here to reconnect automatically; if nothing needs changing, use Reconnect below.",
|
|
578
|
+
"wecomLongConnOff": "This smart bot's long connection mode is not enabled. Open its configuration in the WeCom admin console, select API mode → Long connection and save; the bot reconnects on its own within a minute, or use Reconnect below.",
|
|
579
|
+
"wecomTakenOver": "Another machine or program is using the same Bot ID. Stop using this smart bot there, then use Reconnect below.",
|
|
565
580
|
"wecomTrustedIp": "Add this machine's outbound public IP to the app's trusted IP list in the WeCom admin console.",
|
|
566
581
|
"wecomInvalidUser": "Check that the recipient, department or tag exists and is in this app's visible range.",
|
|
567
|
-
"wecomInvalidAgent": "Check the AgentId against this self-built application in the WeCom admin console."
|
|
582
|
+
"wecomInvalidAgent": "Check the AgentId against this self-built application in the WeCom admin console.",
|
|
583
|
+
"wecomCallbackNotSeen": "Credentials are valid, but no verified callback has arrived since this startup. In the app's Receive messages settings in the WeCom admin console, paste the callback URL shown on this bot's settings card and save; WeCom will send a verification request. This machine must be reachable by WeCom over the public internet.",
|
|
584
|
+
"wecomCallbackSignature": "A callback arrived, but its signature or decryption failed; no verified callback has arrived since this startup. Match the Callback Token and EncodingAESKey to this app's Receive messages settings in the WeCom admin console, then save there to verify again."
|
|
568
585
|
}
|
|
569
586
|
},
|
|
587
|
+
"reconnect": {
|
|
588
|
+
"label": "Reconnect",
|
|
589
|
+
"description": "Disconnect and reconnect this bot using its saved settings.",
|
|
590
|
+
"notAvailable": "This platform can't be connected yet, so reconnecting won't help.",
|
|
591
|
+
"running": "Starting to reconnect {{rowId}}…",
|
|
592
|
+
"done": "Reconnection started. Check the bot's connection status for the result.",
|
|
593
|
+
"notSaved": "Save this row first before reconnecting. Only saved settings are used.",
|
|
594
|
+
"notConfigured": "Complete and save this bot's settings before reconnecting.",
|
|
595
|
+
"duplicate": "Another bot row uses these credentials. Resolve the duplicate before reconnecting.",
|
|
596
|
+
"inactive": "The chat bridge is turned off. Enable it before reconnecting."
|
|
597
|
+
},
|
|
598
|
+
"resetInbox": {
|
|
599
|
+
"label": "Reset inbox",
|
|
600
|
+
"confirm": "Reset inbox",
|
|
601
|
+
"description": "Reset only this bot's inbox and reconnect using its saved settings. Its unprocessed messages will be lost and duplicate-delivery records cleared.",
|
|
602
|
+
"telegramOffline": "Telegram will skip messages sent while the machine was offline.",
|
|
603
|
+
"alreadyReadable": "This bot's inbox can be read. No reset was performed.",
|
|
604
|
+
"running": "Resetting the inbox for {{rowId}}…",
|
|
605
|
+
"done": "Inbox reset and reconnection started; check the bot's connection status. Its unprocessed messages have been lost and duplicate-delivery records cleared.",
|
|
606
|
+
"notSaved": "Save this bot before resetting its inbox.",
|
|
607
|
+
"failed": "Could not reset this bot's inbox. It remains stopped; check that the machine can read and write its saved data, then try again.",
|
|
608
|
+
"reconnectFailed": "Inbox reset, but reconnection could not start. Its unprocessed messages have been lost and duplicate-delivery records cleared."
|
|
609
|
+
},
|
|
570
610
|
"copyDiagnostics": {
|
|
571
611
|
"label": "Copy diagnostics",
|
|
572
612
|
"description": "Run a connection probe and produce copy-paste diagnostics (no secrets).",
|
|
573
613
|
"running": "Building diagnostics for {{rowId}}…",
|
|
574
|
-
"done": "
|
|
575
|
-
"failed": "Diagnostics failed",
|
|
614
|
+
"done": "Diagnostic report ready — see details below",
|
|
576
615
|
"notSaved": "Save this row first before copying diagnostics."
|
|
577
616
|
},
|
|
578
617
|
"diagnostic": {
|
|
@@ -580,16 +619,23 @@
|
|
|
580
619
|
},
|
|
581
620
|
"larkRepair": {
|
|
582
621
|
"label": "Repair scopes",
|
|
583
|
-
"description": "
|
|
622
|
+
"description": "List missing required scopes and a link to request them on the Feishu open platform; an app administrator then publishes the app version manually.",
|
|
584
623
|
"step": {
|
|
585
|
-
"
|
|
586
|
-
"
|
|
587
|
-
"publish": "Publishing — not checked",
|
|
588
|
-
"verify": "Verify the app can still mint a tenant token"
|
|
624
|
+
"token": "Get a tenant token with the saved credentials",
|
|
625
|
+
"scopes": "Check the app's granted tenant scopes"
|
|
589
626
|
},
|
|
590
|
-
"
|
|
591
|
-
"
|
|
592
|
-
"
|
|
627
|
+
"missing": "Some required scopes are missing.",
|
|
628
|
+
"allGranted": "All required scopes are enabled.",
|
|
629
|
+
"unverified": "Unable to check scopes automatically.",
|
|
630
|
+
"missingScopes": "Missing scopes:\n{{scopes}}",
|
|
631
|
+
"requiredScopes": "Required scopes — check each one manually:\n{{scopes}}\n\nApps without application:application:self_manage cannot report their granted scopes, so this list could not be checked automatically.",
|
|
632
|
+
"openApplyLink": "Request scopes on the Feishu open platform",
|
|
633
|
+
"openCheckLink": "Check and request scopes on the Feishu open platform",
|
|
634
|
+
"applyLink": "Open platform URL:\n{{url}}",
|
|
635
|
+
"publishHint": "As an app administrator, select the scopes at that link. Then publish a version via App release → Version management & release → Create version, and return here to click “Check connection”.",
|
|
636
|
+
"botHint": "To enable the bot, go to App → Add app capability → Bot. Bot capability is not checked here.",
|
|
637
|
+
"eventHint": "To receive messages, set both subscriptions in Events & Callbacks to Long connection, then add these (not checked here):\nEvents: {{events}}\nCallbacks: {{callbacks}}",
|
|
638
|
+
"failed": "Could not check the app's required scopes. Review the error details and try again.",
|
|
593
639
|
"notLark": "This row is not a saved Lark bot."
|
|
594
640
|
}
|
|
595
641
|
},
|
|
@@ -636,11 +682,14 @@
|
|
|
636
682
|
"connection": {
|
|
637
683
|
"failed": "The last connection attempt failed.",
|
|
638
684
|
"details": "Details: {{error}}",
|
|
685
|
+
"reconnect": "You can try again with Reconnect below.",
|
|
639
686
|
"reason": {
|
|
687
|
+
"inbox-unreadable": "This bot's inbox cannot be read, so it has stopped receiving messages. Use “Reset inbox” on this card to recover.",
|
|
640
688
|
"not-available": "This platform can't be connected yet.",
|
|
641
689
|
"invalid-app-id": "The App ID isn't in the right format.",
|
|
642
690
|
"disconnected": "The connection to the platform is down.",
|
|
643
691
|
"subscription-failed": "The platform didn't confirm the subscription.",
|
|
692
|
+
"taken-over": "This connection was taken over elsewhere, so automatic reconnection has stopped here.",
|
|
644
693
|
"token-unavailable": "Couldn't get an access token.",
|
|
645
694
|
"credentials-rejected": "The platform rejected the credentials."
|
|
646
695
|
},
|
|
@@ -664,7 +713,7 @@
|
|
|
664
713
|
"done": "Done.",
|
|
665
714
|
"close": "Close",
|
|
666
715
|
"failedToRun": "Couldn't run this on the machine.",
|
|
667
|
-
"saveFirst": "Save or undo your changes first. These
|
|
716
|
+
"saveFirst": "Save or undo your changes first. These actions use the saved settings.",
|
|
668
717
|
"qrTitle": "QR code to scan with the Lark app"
|
|
669
718
|
},
|
|
670
719
|
"step": {
|
|
@@ -690,6 +739,24 @@
|
|
|
690
739
|
"callbackFollowsKeys": "This URL changes when Token or EncodingAESKey changes. Paste it into WeCom again after changing them."
|
|
691
740
|
}
|
|
692
741
|
},
|
|
742
|
+
"mergeForward": {
|
|
743
|
+
"title": "[Forwarded chat history, messages: {{count}}]",
|
|
744
|
+
"nested": "[Nested forward, messages: {{count}}]",
|
|
745
|
+
"someone": "Someone",
|
|
746
|
+
"bot": "A bot",
|
|
747
|
+
"unknownTime": "[unknown time]",
|
|
748
|
+
"resource": {
|
|
749
|
+
"image": "Image",
|
|
750
|
+
"file": "File",
|
|
751
|
+
"audio": "Audio",
|
|
752
|
+
"video": "Video",
|
|
753
|
+
"folder": "Folder"
|
|
754
|
+
},
|
|
755
|
+
"unavailable": "[{{type}}: could not be retrieved]",
|
|
756
|
+
"unavailableNamed": "[{{type}} {{name}}: could not be retrieved]",
|
|
757
|
+
"omitted": "… not shown: {{count}} more",
|
|
758
|
+
"truncated": "… [message truncated]"
|
|
759
|
+
},
|
|
693
760
|
"team": {
|
|
694
761
|
"noRoster": "This project has no team roster yet. Save a roster in the Teams tab and choose a lead first.",
|
|
695
762
|
"unavailable": "Could not read this project's team roster. Check that the Teams plugin is enabled and try again.",
|
package/locales/zh-CN.json
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
"source": {
|
|
3
3
|
"fromChat": "来自 {{name}}({{chat}}):",
|
|
4
4
|
"from": "来自 {{name}}:",
|
|
5
|
-
"member": "成员 {{code}}"
|
|
5
|
+
"member": "成员 {{code}}",
|
|
6
|
+
"delayedDelivery": "(这条消息于 {{time}} 收到,因派发失败延后送达)"
|
|
6
7
|
},
|
|
7
8
|
"settings": {
|
|
8
9
|
"title": "聊天",
|
|
@@ -205,6 +206,10 @@
|
|
|
205
206
|
"projectArchived": "项目「{{title}}」已归档。恢复它,或发 /repo 换个项目,再发消息。",
|
|
206
207
|
"projectMissing": "这个聊天原来做的项目已经不在这台机器上了(可能被删了),开不了会话。发 /repo 重新选一个。",
|
|
207
208
|
"threadGone": "之前那条会话已被删除或归档,这个聊天改为开一条新会话。",
|
|
209
|
+
"turnFailedToStart": "这条消息没能派出去,请稍后重发。参考号 {{ref}}。",
|
|
210
|
+
"turnFailedToStartQuoted": "这条消息(开头是「{{excerpt}}」)没能派出去,请稍后重发。参考号 {{ref}}。",
|
|
211
|
+
"turnFailedToStartAttachment": "这条消息(带附件「{{excerpt}}」)没能派出去,请稍后重发。参考号 {{ref}}。",
|
|
212
|
+
"turnRetrying": "这条消息暂时没能派出去,会在后台自动重试,不用再发一次;还是不行会再告诉你。参考号 {{ref}}。",
|
|
208
213
|
"turnFailed": "这一轮没能完成:{{detail}}\n参考号 {{ref}}。可以直接再发一次;一直不行就发 /new 开个新会话。",
|
|
209
214
|
"turnFailedNoDetail": "这一轮没能完成。参考号 {{ref}}。可以直接再发一次;一直不行就发 /new 开个新会话。",
|
|
210
215
|
"turnFailedBrief": "这一轮没能完成:{{detail}}\n可以直接再发一次;一直不行就发 /new 开个新会话。",
|
|
@@ -221,9 +226,11 @@
|
|
|
221
226
|
"attachmentsNoTeam": "文件还发不到团队,这次没带上。发 /thread 回到普通会话。",
|
|
222
227
|
"unsupportedType": "我还不能处理 {{type}} 类型的消息。",
|
|
223
228
|
"unsupportedFolder": "文件夹没法下载,请打包成压缩文件再发。",
|
|
229
|
+
"unsupportedVoice": "暂时不支持语音,请发文字。",
|
|
224
230
|
"sendingFile": "正在发送 {{name}}:",
|
|
225
231
|
"notAllowedYet": "你还不在允许名单里,你的用户 id 是 {{id}},请把它填进 设置 → 插件 → 聊天 → 这个机器人的「允许的人」。",
|
|
226
|
-
"received": "收到,在处理。"
|
|
232
|
+
"received": "收到,在处理。",
|
|
233
|
+
"welcome": "已连上。直接发文字或图片就能开始,发 /help 看能用的命令。"
|
|
227
234
|
},
|
|
228
235
|
"approval": {
|
|
229
236
|
"allow": "允许",
|
|
@@ -558,21 +565,53 @@
|
|
|
558
565
|
"failed": "连接失败",
|
|
559
566
|
"notSaved": "请先保存这一行再检查连接(凭据只从已保存配置读取)。",
|
|
560
567
|
"hint": {
|
|
568
|
+
"connecting": "还在连接,一般 20 秒内会有结果,稍后再检查一次。",
|
|
561
569
|
"badToken": "这不像机器人的 token。到 BotFather 重新复制一份:数字、冒号,后面是密钥。",
|
|
562
|
-
"unauthorized": "Telegram 不认这个 token,可能已经作废。到 BotFather
|
|
570
|
+
"unauthorized": "Telegram 不认这个 token,可能已经作废。到 BotFather 取现在的那一份。改好后在这里保存,机器人会自动重新连接;没有要改的也可以点下方的「重新连接」。",
|
|
563
571
|
"notBot": "这个 token 不是机器人的。请用 BotFather 给的那一份。",
|
|
564
572
|
"webhookActive": "这个机器人被别的服务设了 webhook,在这里收不到消息。先到那边撤掉 webhook,再检查一次。",
|
|
573
|
+
"larkCredentials": "飞书不认这个 App ID 或 App Secret。到飞书开放平台这个企业自建应用的「凭证与基础信息」重新复制两项。改好后在这里保存,机器人会自动重新连接;没有要改的也可以点下方的「重新连接」。",
|
|
574
|
+
"larkScope": "这个应用缺少所需权限。到飞书开放平台的「权限管理」,添加详情中列出的权限,再发布一个版本。",
|
|
575
|
+
"larkBotOff": "这个应用没有启用机器人能力。到飞书开放平台的「应用能力 → 机器人」启用机器人,再发布一个版本。",
|
|
576
|
+
"larkAppUnavailable": "这个应用在当前企业不可用。到飞书开放平台确认应用已启用并发布,再请管理员确认当前企业已安装并启用这个应用。",
|
|
577
|
+
"wecomBotCredentials": "企业微信不认这个 Bot ID 或 Secret。到企业微信后台这个智能机器人的配置页,选择「API 模式 → 长连接」,重新复制 Bot ID 和 Secret;这里用的不是回调模式的 Token 或 EncodingAESKey。改好后在这里保存,智能机器人会自动重新连接;没有要改的也可以点下方的「重新连接」。",
|
|
578
|
+
"wecomLongConnOff": "这个智能机器人没有开启长连接模式。到企业微信后台这个智能机器人的配置页选择「API 模式 → 长连接」并保存,这里会在一分钟内自动重新连上;也可以直接点下方的「重新连接」。",
|
|
579
|
+
"wecomTakenOver": "另一台机器或程序在用同一个 Bot ID。让它停用这个智能机器人后,点下方的「重新连接」。",
|
|
565
580
|
"wecomTrustedIp": "把这台机器的出站公网 IP 加进企业微信后台这个应用的企业可信 IP。",
|
|
566
581
|
"wecomInvalidUser": "确认收件人、部门或标签存在,并在这个自建应用的可见范围内。",
|
|
567
|
-
"wecomInvalidAgent": "核对企业微信后台这个自建应用的 AgentId。"
|
|
582
|
+
"wecomInvalidAgent": "核对企业微信后台这个自建应用的 AgentId。",
|
|
583
|
+
"wecomCallbackNotSeen": "凭据有效,但自本次启动以来还没收到过通过校验的回调。到企业微信后台这个应用的「接收消息」,填入机器人设置卡上显示的回调地址并保存;企微会发来一次校验请求。这台机器必须能被企微从公网访问到。",
|
|
584
|
+
"wecomCallbackSignature": "收到过回调,但签名校验或解密失败;自本次启动以来还没收到过通过校验的回调。请把回调 Token 和 EncodingAESKey 与企业微信后台这个应用的「接收消息」设置保持一致,再到后台保存一次以重新校验。"
|
|
568
585
|
}
|
|
569
586
|
},
|
|
587
|
+
"reconnect": {
|
|
588
|
+
"label": "重新连接",
|
|
589
|
+
"description": "按已保存的设置断开并重新连接这个机器人。",
|
|
590
|
+
"notAvailable": "这个平台还不能连接,重新连接也连不上。",
|
|
591
|
+
"running": "正在重新连接 {{rowId}} …",
|
|
592
|
+
"done": "已开始重新连接,结果请看机器人的连接状态。",
|
|
593
|
+
"notSaved": "请先保存这一行再重新连接,动作只使用已保存的设置。",
|
|
594
|
+
"notConfigured": "请先补全并保存这个机器人的设置,再重新连接。",
|
|
595
|
+
"duplicate": "另一个机器人行正在使用这份凭据,请先处理重复配置再重新连接。",
|
|
596
|
+
"inactive": "聊天桥已停用,请先启用再重新连接。"
|
|
597
|
+
},
|
|
598
|
+
"resetInbox": {
|
|
599
|
+
"label": "重置收件箱",
|
|
600
|
+
"confirm": "重置收件箱",
|
|
601
|
+
"description": "只重置这个机器人的收件箱,并按已保存的设置重新连接。它还没处理的消息会丢失,去重记录会清空。",
|
|
602
|
+
"telegramOffline": "Telegram 会跳过机器停机期间的积压消息。",
|
|
603
|
+
"alreadyReadable": "这个机器人的收件箱已可读取,本次没有重置。",
|
|
604
|
+
"running": "正在重置 {{rowId}} 的收件箱 …",
|
|
605
|
+
"done": "收件箱已重置并开始重新连接,结果请看机器人的连接状态。它还没处理的消息已丢失,去重记录已清空。",
|
|
606
|
+
"notSaved": "请先保存这个机器人,再重置收件箱。",
|
|
607
|
+
"failed": "没能重置这个机器人的收件箱,它仍停止接收。请检查机器能否读写已保存的数据,再重试。",
|
|
608
|
+
"reconnectFailed": "收件箱已重置,但没能开始重新连接。它还没处理的消息已丢失,去重记录已清空。"
|
|
609
|
+
},
|
|
570
610
|
"copyDiagnostics": {
|
|
571
611
|
"label": "复制诊断",
|
|
572
612
|
"description": "跑一次连接探测,生成可复制的诊断文本(不含密钥)。",
|
|
573
613
|
"running": "正在生成诊断 {{rowId}} …",
|
|
574
|
-
"done": "
|
|
575
|
-
"failed": "诊断失败",
|
|
614
|
+
"done": "诊断报告已生成,见下方详情",
|
|
576
615
|
"notSaved": "请先保存这一行再复制诊断。"
|
|
577
616
|
},
|
|
578
617
|
"diagnostic": {
|
|
@@ -580,16 +619,23 @@
|
|
|
580
619
|
},
|
|
581
620
|
"larkRepair": {
|
|
582
621
|
"label": "补全权限",
|
|
583
|
-
"description": "
|
|
622
|
+
"description": "列出缺少的必需权限和飞书开放平台申请链接,再由管理员手动发布应用版本。",
|
|
584
623
|
"step": {
|
|
585
|
-
"
|
|
586
|
-
"
|
|
587
|
-
"publish": "发布:未检查",
|
|
588
|
-
"verify": "验证应用仍可换取 tenant token"
|
|
624
|
+
"token": "用已保存的凭据换取 tenant token",
|
|
625
|
+
"scopes": "核对应用已开通的租户权限"
|
|
589
626
|
},
|
|
590
|
-
"
|
|
591
|
-
"
|
|
592
|
-
"
|
|
627
|
+
"missing": "有必需权限尚未开通。",
|
|
628
|
+
"allGranted": "必需权限都已开通。",
|
|
629
|
+
"unverified": "无法自动核对权限。",
|
|
630
|
+
"missingScopes": "缺少的权限:\n{{scopes}}",
|
|
631
|
+
"requiredScopes": "必需权限清单,请逐项手动核对:\n{{scopes}}\n\n应用缺少 application:application:self_manage 时无法查询自身已开通的权限,所以这份清单没能自动核对。",
|
|
632
|
+
"openApplyLink": "打开飞书开放平台申请这些权限",
|
|
633
|
+
"openCheckLink": "打开飞书开放平台核对并申请这些权限",
|
|
634
|
+
"applyLink": "开放平台地址:\n{{url}}",
|
|
635
|
+
"publishHint": "请应用管理员打开上述链接勾选权限,再到「应用发布 → 版本管理与发布 → 创建版本」发布新版本,回来点「检查连接」确认。",
|
|
636
|
+
"botHint": "启用机器人请到「应用 → 添加应用能力 → 机器人」;这里不检查机器人能力。",
|
|
637
|
+
"eventHint": "收消息需要在「事件与回调」里把事件订阅和回调订阅都设为「使用长连接」,再添加下面这些(这里不检查):\n事件:{{events}}\n回调:{{callbacks}}",
|
|
638
|
+
"failed": "未能核对应用的必需权限,请查看错误详情后重试。",
|
|
593
639
|
"notLark": "这一行不是已保存的飞书机器人。"
|
|
594
640
|
}
|
|
595
641
|
},
|
|
@@ -619,7 +665,7 @@
|
|
|
619
665
|
"revert": "撤销改动",
|
|
620
666
|
"saveFailed": "没能存上。",
|
|
621
667
|
"remove": "删除",
|
|
622
|
-
"removeConfirm": "
|
|
668
|
+
"removeConfirm": "删除这个机器人",
|
|
623
669
|
"cancel": "取消",
|
|
624
670
|
"removeHint": "删掉这个机器人后,它下面所有会话的绑定都会一起丢掉。",
|
|
625
671
|
"copy": "复制",
|
|
@@ -636,11 +682,14 @@
|
|
|
636
682
|
"connection": {
|
|
637
683
|
"failed": "上次连接没有成功。",
|
|
638
684
|
"details": "详情:{{error}}",
|
|
685
|
+
"reconnect": "可以点下方的「重新连接」再试。",
|
|
639
686
|
"reason": {
|
|
687
|
+
"inbox-unreadable": "这个机器人的收件箱读不出,已停止接收消息。可以用这张卡上的「重置收件箱」恢复。",
|
|
640
688
|
"not-available": "这个平台还不能连接。",
|
|
641
689
|
"invalid-app-id": "App ID 格式不正确。",
|
|
642
690
|
"disconnected": "和平台的连接断了。",
|
|
643
691
|
"subscription-failed": "平台没有确认订阅。",
|
|
692
|
+
"taken-over": "这里的连接已被别处取代,已停止自动重连。",
|
|
644
693
|
"token-unavailable": "没能换到访问令牌。",
|
|
645
694
|
"credentials-rejected": "平台拒绝了凭据。"
|
|
646
695
|
},
|
|
@@ -664,7 +713,7 @@
|
|
|
664
713
|
"done": "完成。",
|
|
665
714
|
"close": "关闭",
|
|
666
715
|
"failedToRun": "没能在这台机器上运行。",
|
|
667
|
-
"saveFirst": "
|
|
716
|
+
"saveFirst": "先保存或撤销改动。这些动作使用已保存的设置。",
|
|
668
717
|
"qrTitle": "用飞书 App 扫的二维码"
|
|
669
718
|
},
|
|
670
719
|
"step": {
|
|
@@ -690,6 +739,24 @@
|
|
|
690
739
|
"callbackFollowsKeys": "改了 Token 或 EncodingAESKey,这个地址会变,要重新贴进企业微信。"
|
|
691
740
|
}
|
|
692
741
|
},
|
|
742
|
+
"mergeForward": {
|
|
743
|
+
"title": "[合并转发的聊天记录,共 {{count}} 条]",
|
|
744
|
+
"nested": "[嵌套转发,共 {{count}} 条]",
|
|
745
|
+
"someone": "某人",
|
|
746
|
+
"bot": "机器人",
|
|
747
|
+
"unknownTime": "[时间未知]",
|
|
748
|
+
"resource": {
|
|
749
|
+
"image": "图片",
|
|
750
|
+
"file": "文件",
|
|
751
|
+
"audio": "语音",
|
|
752
|
+
"video": "视频",
|
|
753
|
+
"folder": "文件夹"
|
|
754
|
+
},
|
|
755
|
+
"unavailable": "[{{type}}:没能取到]",
|
|
756
|
+
"unavailableNamed": "[{{type}} {{name}}:没能取到]",
|
|
757
|
+
"omitted": "……还有 {{count}} 条没列出",
|
|
758
|
+
"truncated": "……[正文已截断]"
|
|
759
|
+
},
|
|
693
760
|
"team": {
|
|
694
761
|
"noRoster": "这个项目还没有团队名单,先在 Teams 标签里保存名单并选一名负责人。",
|
|
695
762
|
"unavailable": "暂时读不到这个项目的团队名单,请确认 Teams 插件已启用后重试。",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/plugin-im",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3214",
|
|
4
4
|
"description": "Talk to your agents from Telegram, WeCom, Lark, or WeChat (experimental).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"im",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"markdown-it": "^15.0.2",
|
|
33
33
|
"react": "19.2.6",
|
|
34
34
|
"vite-plus": "0.2.2",
|
|
35
|
-
"@ycodium-ai/plugin-api": "0.2.
|
|
35
|
+
"@ycodium-ai/plugin-api": "0.2.3214"
|
|
36
36
|
},
|
|
37
37
|
"ycodium": {
|
|
38
38
|
"plugin": "./dist/index.js",
|