@ycodium-ai/plugin-im 0.2.3210 → 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 +4 -4
- package/dist/index.js +8638 -2255
- package/locales/en.json +18 -1
- package/locales/zh-CN.json +19 -2
- 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",
|
|
@@ -206,6 +207,9 @@
|
|
|
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.",
|
|
208
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}}.",
|
|
209
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.",
|
|
210
214
|
"turnFailedNoDetail": "This turn didn't finish. Reference {{ref}}. Send the message again; if it keeps failing, send /new to start a new conversation.",
|
|
211
215
|
"turnFailedBrief": "This turn didn't finish: {{detail}}\nSend the message again; if it keeps failing, send /new to start a new conversation.",
|
|
@@ -591,6 +595,18 @@
|
|
|
591
595
|
"duplicate": "Another bot row uses these credentials. Resolve the duplicate before reconnecting.",
|
|
592
596
|
"inactive": "The chat bridge is turned off. Enable it before reconnecting."
|
|
593
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
|
+
},
|
|
594
610
|
"copyDiagnostics": {
|
|
595
611
|
"label": "Copy diagnostics",
|
|
596
612
|
"description": "Run a connection probe and produce copy-paste diagnostics (no secrets).",
|
|
@@ -668,6 +684,7 @@
|
|
|
668
684
|
"details": "Details: {{error}}",
|
|
669
685
|
"reconnect": "You can try again with Reconnect below.",
|
|
670
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.",
|
|
671
688
|
"not-available": "This platform can't be connected yet.",
|
|
672
689
|
"invalid-app-id": "The App ID isn't in the right format.",
|
|
673
690
|
"disconnected": "The connection to the platform is down.",
|
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": "聊天",
|
|
@@ -206,6 +207,9 @@
|
|
|
206
207
|
"projectMissing": "这个聊天原来做的项目已经不在这台机器上了(可能被删了),开不了会话。发 /repo 重新选一个。",
|
|
207
208
|
"threadGone": "之前那条会话已被删除或归档,这个聊天改为开一条新会话。",
|
|
208
209
|
"turnFailedToStart": "这条消息没能派出去,请稍后重发。参考号 {{ref}}。",
|
|
210
|
+
"turnFailedToStartQuoted": "这条消息(开头是「{{excerpt}}」)没能派出去,请稍后重发。参考号 {{ref}}。",
|
|
211
|
+
"turnFailedToStartAttachment": "这条消息(带附件「{{excerpt}}」)没能派出去,请稍后重发。参考号 {{ref}}。",
|
|
212
|
+
"turnRetrying": "这条消息暂时没能派出去,会在后台自动重试,不用再发一次;还是不行会再告诉你。参考号 {{ref}}。",
|
|
209
213
|
"turnFailed": "这一轮没能完成:{{detail}}\n参考号 {{ref}}。可以直接再发一次;一直不行就发 /new 开个新会话。",
|
|
210
214
|
"turnFailedNoDetail": "这一轮没能完成。参考号 {{ref}}。可以直接再发一次;一直不行就发 /new 开个新会话。",
|
|
211
215
|
"turnFailedBrief": "这一轮没能完成:{{detail}}\n可以直接再发一次;一直不行就发 /new 开个新会话。",
|
|
@@ -591,6 +595,18 @@
|
|
|
591
595
|
"duplicate": "另一个机器人行正在使用这份凭据,请先处理重复配置再重新连接。",
|
|
592
596
|
"inactive": "聊天桥已停用,请先启用再重新连接。"
|
|
593
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
|
+
},
|
|
594
610
|
"copyDiagnostics": {
|
|
595
611
|
"label": "复制诊断",
|
|
596
612
|
"description": "跑一次连接探测,生成可复制的诊断文本(不含密钥)。",
|
|
@@ -649,7 +665,7 @@
|
|
|
649
665
|
"revert": "撤销改动",
|
|
650
666
|
"saveFailed": "没能存上。",
|
|
651
667
|
"remove": "删除",
|
|
652
|
-
"removeConfirm": "
|
|
668
|
+
"removeConfirm": "删除这个机器人",
|
|
653
669
|
"cancel": "取消",
|
|
654
670
|
"removeHint": "删掉这个机器人后,它下面所有会话的绑定都会一起丢掉。",
|
|
655
671
|
"copy": "复制",
|
|
@@ -668,6 +684,7 @@
|
|
|
668
684
|
"details": "详情:{{error}}",
|
|
669
685
|
"reconnect": "可以点下方的「重新连接」再试。",
|
|
670
686
|
"reason": {
|
|
687
|
+
"inbox-unreadable": "这个机器人的收件箱读不出,已停止接收消息。可以用这张卡上的「重置收件箱」恢复。",
|
|
671
688
|
"not-available": "这个平台还不能连接。",
|
|
672
689
|
"invalid-app-id": "App ID 格式不正确。",
|
|
673
690
|
"disconnected": "和平台的连接断了。",
|
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",
|