@ycodium-ai/plugin-im 0.2.3220 → 0.2.3232
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 +14 -4
- package/dist/index.js +2496 -1231
- package/locales/en.json +73 -2
- package/locales/zh-CN.json +73 -2
- package/package.json +3 -3
package/locales/en.json
CHANGED
|
@@ -199,6 +199,7 @@
|
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
201
|
"reply": {
|
|
202
|
+
"deliveryFailed": "The reply could not be delivered. Check this bot's connection and permissions, then try again.",
|
|
202
203
|
"wecomDeliveryFailed": "This reply didn't reach {{recipient}} in WeCom: they are outside this app's visible range. Add them to the app's visible range in the WeCom admin console, then ask the agent to send it again.",
|
|
203
204
|
"conclusionRecovered": "(Finished while restarting; delivered now)",
|
|
204
205
|
"notAllowed": "You are not on this bot's allow list, so this tap had no effect.",
|
|
@@ -206,7 +207,8 @@
|
|
|
206
207
|
"projectArchived": "Project \"{{title}}\" is archived. Restore it, or send /repo to pick another project, then message again.",
|
|
207
208
|
"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.",
|
|
208
209
|
"threadGone": "The earlier session was deleted or archived, so this chat now starts a new one.",
|
|
209
|
-
"
|
|
210
|
+
"dispatchFailed": "This message couldn't be dispatched. Please send it again later.",
|
|
211
|
+
"turnFailedToStart": "{{message}} Reference {{ref}}.",
|
|
210
212
|
"turnFailedToStartQuoted": "This message (starting with \"{{excerpt}}\") couldn't be dispatched. Please send it again later. Reference {{ref}}.",
|
|
211
213
|
"turnFailedToStartAttachment": "This message (with the attachment \"{{excerpt}}\") couldn't be dispatched. Please send it again later. Reference {{ref}}.",
|
|
212
214
|
"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}}.",
|
|
@@ -214,6 +216,13 @@
|
|
|
214
216
|
"turnFailedNoDetail": "This turn didn't finish. Reference {{ref}}. Send the message again; if it keeps failing, send /new to start a new conversation.",
|
|
215
217
|
"turnFailedBrief": "This turn didn't finish: {{detail}}\nSend the message again; if it keeps failing, send /new to start a new conversation.",
|
|
216
218
|
"turnFailedBriefNoDetail": "This turn didn't finish. Send the message again; if it keeps failing, send /new to start a new conversation.",
|
|
219
|
+
"turnFailedWithReference": "{{message}}\nReference {{ref}}.",
|
|
220
|
+
"turnFailedQuota": "The model quota or balance is insufficient, so this turn didn't finish. Send /model to switch to another model, or ask an administrator to add quota, then try again.",
|
|
221
|
+
"turnFailedRateLimit": "The model service is rate-limiting requests, so this turn didn't finish. Please try again later.",
|
|
222
|
+
"turnFailedContextLimit": "This conversation exceeds the model context limit, so this turn didn't finish. Send /new to start a new conversation, then send your request again.",
|
|
223
|
+
"turnFailedAuth": "The model credentials are missing or invalid, so this turn didn't finish. Ask an administrator to check the model settings, then try again.",
|
|
224
|
+
"turnFailedModelUnavailable": "The current model does not exist or does not support the selected settings, so this turn didn't finish. Send /model to list models, then send /model followed by a number (for example /model 2) to pick one for this chat, and send your request again.",
|
|
225
|
+
"turnFailedTransport": "The model service is temporarily unreachable, so this turn didn't finish. Please try again later.",
|
|
217
226
|
"attachmentReceived": "Got {{names}} ({{count}} waiting). Tell me what to do with them.",
|
|
218
227
|
"attachmentFailed": "Could not take {{name}}: {{reason}}.",
|
|
219
228
|
"attachmentReason": {
|
|
@@ -446,12 +455,29 @@
|
|
|
446
455
|
"picked": "{{title}}\nSend /repo to change it."
|
|
447
456
|
}
|
|
448
457
|
},
|
|
458
|
+
"wecomSetup": {
|
|
459
|
+
"action": {
|
|
460
|
+
"label": "Scan to create a WeCom smart bot",
|
|
461
|
+
"description": "Scan with WeCom to create a smart bot. Ycodium saves its Bot ID and Secret in the bot list on this machine."
|
|
462
|
+
},
|
|
463
|
+
"status": {
|
|
464
|
+
"waiting": "Scan the QR code with WeCom, then confirm in WeCom to create the smart bot."
|
|
465
|
+
},
|
|
466
|
+
"done": "The WeCom smart bot was created and saved. Message it in WeCom to try it, then pick a project in the chat.",
|
|
467
|
+
"doneNeedsAllowList": "The WeCom smart bot was created and saved. Three steps to start using it:",
|
|
468
|
+
"nextSteps": "1. Message it in WeCom; it replies with your WeCom user id (the QR result doesn't include it).\n2. Put that id in “Allowed people” on the bot's row and save.\n3. Pick a project in the chat.",
|
|
469
|
+
"failure": {
|
|
470
|
+
"expired": "This QR code expired before the bot was created. Click “Try again” to get a new one.",
|
|
471
|
+
"failed": "Could not create the WeCom smart bot. Click “Try again” to start over.",
|
|
472
|
+
"saveFailed": "The smart bot was created, but it could not be saved on this machine. Find the bot in WeCom, copy its Bot ID and Secret, and add it with “Add a bot”. If WeCom doesn't show the Secret, click “Try again” to create a new bot instead; the bot from this attempt stays in WeCom, and you can delete it there."
|
|
473
|
+
}
|
|
474
|
+
},
|
|
449
475
|
"setup": {
|
|
450
476
|
"action": {
|
|
451
477
|
"label": "Connect a Lark bot",
|
|
452
478
|
"description": "Scan once with the Lark app. Ycodium creates a bot app under your account, publishes it for you only, and adds the bot to the list with its credentials saved. Nothing to fill in.",
|
|
453
479
|
"badge": "Beta",
|
|
454
|
-
"warning": "
|
|
480
|
+
"warning": "Lark QR setup relies on Lark developer console interfaces that are not public, so it may stop working. If it does, set the app up by hand in the developer console."
|
|
455
481
|
},
|
|
456
482
|
"manual": {
|
|
457
483
|
"createApp": {
|
|
@@ -565,6 +591,16 @@
|
|
|
565
591
|
"failed": "Connection failed",
|
|
566
592
|
"notSaved": "Save this row first (credentials are read from saved config only).",
|
|
567
593
|
"hint": {
|
|
594
|
+
"networkMultipleCauses": "This failure has more than one network cause. Check this machine's network and this bot's Proxy setting, then check again.",
|
|
595
|
+
"networkDns": "The service's domain name could not be resolved. Check this machine's DNS and network settings, then check again.",
|
|
596
|
+
"networkRefused": "The connection was refused. Check whether a firewall or security software on this machine or its network is blocking it, then check again.",
|
|
597
|
+
"networkReset": "The connection was cut off by the other side. Check this machine's network and whether the target service is running normally, then check again.",
|
|
598
|
+
"networkUnreachable": "The target network is unreachable. Check this machine's outbound network access and access restrictions, then check again.",
|
|
599
|
+
"networkTls": "TLS or certificate validation failed. Check this machine's system clock, certificate chain and network settings, and whether a proxy or security software is intercepting HTTPS, then check again.",
|
|
600
|
+
"networkTimeout": "The request timed out. Check whether the target service is running normally and check this machine's network, then check again.",
|
|
601
|
+
"networkProxy": "Proxy connection or authentication failed. Check this row's Proxy setting and the selected proxy's configuration on this machine; if no proxy is set, check other proxies on this machine or its network, then check again.",
|
|
602
|
+
"platformRateLimited": "The platform is rate limiting requests. Try again later.",
|
|
603
|
+
"platformUnavailable": "The target service is temporarily having problems. Try again later.",
|
|
568
604
|
"connecting": "Still connecting. There is usually a result within 20 seconds; check again in a moment.",
|
|
569
605
|
"badToken": "This does not look like a bot token. Copy it again from BotFather: digits, a colon, then the key.",
|
|
570
606
|
"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.",
|
|
@@ -617,6 +653,32 @@
|
|
|
617
653
|
"diagnostic": {
|
|
618
654
|
"ref": "Reference: {{ref}}\n{{detail}}"
|
|
619
655
|
},
|
|
656
|
+
"larkCallbackProbe": {
|
|
657
|
+
"label": "Verify card buttons",
|
|
658
|
+
"description": "Send a private test card to the first person in this bot's allowlist (usually you) and wait up to {{seconds}} seconds for your click.",
|
|
659
|
+
"step": "Send a private test card and wait for the click",
|
|
660
|
+
"waiting": "Test card sent privately to the first person in the allowlist ({{id}}, usually you). Click its button in Lark within {{seconds}} seconds.",
|
|
661
|
+
"notConnected": "Skipped: this bot is not connected on this machine. Use “Reconnect” on this row to connect it, then verify again.",
|
|
662
|
+
"noRecipient": "Skipped: nobody to send the test card to. Set this bot up with “Connect a Lark bot” (the QR scan) first; it adds you to the allowlist for you.",
|
|
663
|
+
"sendFailed": "Could not send the test card. Use “Repair scopes” on this row to check the messaging permissions, make sure the bot is connected, then verify again.",
|
|
664
|
+
"timeout": "No test-card callback arrived within {{seconds}} seconds. If you didn't click the card in time, just click “Verify card buttons” again. If you did, open Events & Callbacks in the developer console, set callback subscriptions to Long connection, and add {{callbacks}}, then verify again.\nDeveloper console URL:\n{{url}}",
|
|
665
|
+
"toast": "Click received. Card buttons are working.",
|
|
666
|
+
"staleToast": "This test card's check has ended; the result is in the settings panel and your private message. To check again, click “Verify card buttons” in settings.",
|
|
667
|
+
"notYoursToast": "This test card was sent to the first person in the bot's allowlist; your click doesn't count toward the check. You can ignore it.",
|
|
668
|
+
"verified": "Received card.action.trigger from the test card. Card buttons are working.",
|
|
669
|
+
"aborted": "Verification was interrupted because the bot disconnected. Wait for it to reconnect, or use “Reconnect” on this row, then verify again.",
|
|
670
|
+
"card": {
|
|
671
|
+
"title": "🧪 Verify card buttons",
|
|
672
|
+
"body": "Click the button below within {{seconds}} seconds. Verification passes only after the machine running this bot confirms it received your click.",
|
|
673
|
+
"button": "Complete verification"
|
|
674
|
+
},
|
|
675
|
+
"notice": {
|
|
676
|
+
"verified": "✅ Verification passed: your click on the test card arrived as card.action.trigger. Card buttons are working.",
|
|
677
|
+
"timeout": "⚠️ Verification timed out: no card.action.trigger arrived from the test card, so buttons are still unverified. If you didn't click in time, click “Verify card buttons” again. If you did, open Events & Callbacks in the developer console, set callback subscriptions to Long connection, add card.action.trigger, then click “Verify card buttons” again.\nDeveloper console URL:\n{{url}}",
|
|
678
|
+
"sendFailed": "⚠️ Verification failed: the test card could not be sent, so card.action.trigger is still unverified. Use “Repair scopes” on the bot's row in settings to check messaging permissions, then click “Verify card buttons” again.",
|
|
679
|
+
"aborted": "⚠️ Verification interrupted: the bot disconnected before card.action.trigger was confirmed. Wait for the bot to reconnect, or use “Reconnect” on its row in settings, then click “Verify card buttons” again."
|
|
680
|
+
}
|
|
681
|
+
},
|
|
620
682
|
"larkRepair": {
|
|
621
683
|
"label": "Repair scopes",
|
|
622
684
|
"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.",
|
|
@@ -655,6 +717,12 @@
|
|
|
655
717
|
"help": "Show all commands"
|
|
656
718
|
},
|
|
657
719
|
"settingsSection": {
|
|
720
|
+
"lastMessageError": {
|
|
721
|
+
"title": "Last message failed",
|
|
722
|
+
"separator": ": ",
|
|
723
|
+
"code": "Error code {{code}}",
|
|
724
|
+
"reference": "Reference {{referenceId}}"
|
|
725
|
+
},
|
|
658
726
|
"empty": "No bots yet",
|
|
659
727
|
"unavailable": "This machine doesn't have the chat bridge right now.",
|
|
660
728
|
"loadFailed": "Couldn't load the chat-bridge settings.",
|
|
@@ -679,7 +747,10 @@
|
|
|
679
747
|
"connected": "Connected",
|
|
680
748
|
"notConnected": "Not connected"
|
|
681
749
|
},
|
|
750
|
+
"online": "{{connected}} / {{configured}} online",
|
|
751
|
+
"onlineLabel": "{{configured}} configured bots, {{connected}} online",
|
|
682
752
|
"connection": {
|
|
753
|
+
"since": "Since {{time}}",
|
|
683
754
|
"failed": "The last connection attempt failed.",
|
|
684
755
|
"details": "Details: {{error}}",
|
|
685
756
|
"reconnect": "You can try again with Reconnect below.",
|
package/locales/zh-CN.json
CHANGED
|
@@ -199,6 +199,7 @@
|
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
201
|
"reply": {
|
|
202
|
+
"deliveryFailed": "回复未能送达。请检查这个机器人的连接与权限,然后重试。",
|
|
202
203
|
"wecomDeliveryFailed": "这条回复没送到企业微信里的 {{recipient}}:对方不在这个应用的可见范围。到企业微信管理后台把他们加进应用的可见范围,再让 agent 重发一次。",
|
|
203
204
|
"conclusionRecovered": "(重启期间完成,现在补发)",
|
|
204
205
|
"notAllowed": "你不在这个机器人的允许名单里,这次点击没有生效。",
|
|
@@ -206,7 +207,8 @@
|
|
|
206
207
|
"projectArchived": "项目「{{title}}」已归档。恢复它,或发 /repo 换个项目,再发消息。",
|
|
207
208
|
"projectMissing": "这个聊天原来做的项目已经不在这台机器上了(可能被删了),开不了会话。发 /repo 重新选一个。",
|
|
208
209
|
"threadGone": "之前那条会话已被删除或归档,这个聊天改为开一条新会话。",
|
|
209
|
-
"
|
|
210
|
+
"dispatchFailed": "这条消息没能派出去,请稍后重发。",
|
|
211
|
+
"turnFailedToStart": "{{message}}参考号 {{ref}}。",
|
|
210
212
|
"turnFailedToStartQuoted": "这条消息(开头是「{{excerpt}}」)没能派出去,请稍后重发。参考号 {{ref}}。",
|
|
211
213
|
"turnFailedToStartAttachment": "这条消息(带附件「{{excerpt}}」)没能派出去,请稍后重发。参考号 {{ref}}。",
|
|
212
214
|
"turnRetrying": "这条消息暂时没能派出去,会在后台自动重试,不用再发一次;还是不行会再告诉你。参考号 {{ref}}。",
|
|
@@ -214,6 +216,13 @@
|
|
|
214
216
|
"turnFailedNoDetail": "这一轮没能完成。参考号 {{ref}}。可以直接再发一次;一直不行就发 /new 开个新会话。",
|
|
215
217
|
"turnFailedBrief": "这一轮没能完成:{{detail}}\n可以直接再发一次;一直不行就发 /new 开个新会话。",
|
|
216
218
|
"turnFailedBriefNoDetail": "这一轮没能完成。可以直接再发一次;一直不行就发 /new 开个新会话。",
|
|
219
|
+
"turnFailedWithReference": "{{message}}\n参考号 {{ref}}。",
|
|
220
|
+
"turnFailedQuota": "模型额度或余额不足,这一轮没能完成。可以发 /model 换个模型再试,或请管理员补充额度后重试。",
|
|
221
|
+
"turnFailedRateLimit": "模型服务正在限流,这一轮没能完成。请稍后重试。",
|
|
222
|
+
"turnFailedContextLimit": "当前会话内容超过模型上下文上限,这一轮没能完成。请发 /new 开个新会话,再把请求重新发一遍。",
|
|
223
|
+
"turnFailedAuth": "模型凭据缺失或无效,这一轮没能完成。请管理员检查模型配置,之后你再发一次。",
|
|
224
|
+
"turnFailedModelUnavailable": "当前模型不存在或不支持所选配置,这一轮没能完成。请发 /model 查看可选模型,再发 /model 加编号(例如 /model 2)为这个聊天选一个,然后重发请求。",
|
|
225
|
+
"turnFailedTransport": "暂时无法连接模型服务,这一轮没能完成。请稍后重试。",
|
|
217
226
|
"attachmentReceived": "收到 {{names}}(现有 {{count}} 个待处理)。说一句想让我怎么处理。",
|
|
218
227
|
"attachmentFailed": "没能收下 {{name}}:{{reason}}。",
|
|
219
228
|
"attachmentReason": {
|
|
@@ -446,12 +455,29 @@
|
|
|
446
455
|
"picked": "{{title}}\n发 /repo 可以更换。"
|
|
447
456
|
}
|
|
448
457
|
},
|
|
458
|
+
"wecomSetup": {
|
|
459
|
+
"action": {
|
|
460
|
+
"label": "扫码创建企业微信智能机器人",
|
|
461
|
+
"description": "用企业微信扫码创建智能机器人。Ycodium 会把 Bot ID 和 Secret 存进这台机器的机器人列表。"
|
|
462
|
+
},
|
|
463
|
+
"status": {
|
|
464
|
+
"waiting": "用企业微信扫描二维码,再在企业微信里确认创建智能机器人。"
|
|
465
|
+
},
|
|
466
|
+
"done": "企业微信智能机器人已创建并保存。去企业微信给它发一条消息试试,再在聊天里选项目。",
|
|
467
|
+
"doneNeedsAllowList": "企业微信智能机器人已创建并保存。按下面三步就能开始用:",
|
|
468
|
+
"nextSteps": "1. 去企业微信给它发一条消息,它会回你的企业微信用户 id(扫码结果里没有这个 id)。\n2. 把 id 填进这个机器人那一行的「允许的人」,保存。\n3. 在聊天里选项目。",
|
|
469
|
+
"failure": {
|
|
470
|
+
"expired": "二维码在创建完成前过期了。点「再试一次」换一个新二维码。",
|
|
471
|
+
"failed": "没能创建企业微信智能机器人。点「再试一次」重新来一遍。",
|
|
472
|
+
"saveFailed": "智能机器人已创建,但没能存到这台机器上。请到企业微信里找到这个智能机器人,复制它的 Bot ID 和 Secret,点「添加机器人」手动补上。企业微信里看不到 Secret 的话,点「再试一次」重新创建一个;这次建出的机器人会留在企业微信里,可以到企业微信里删掉。"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
449
475
|
"setup": {
|
|
450
476
|
"action": {
|
|
451
477
|
"label": "连接飞书机器人",
|
|
452
478
|
"description": "用飞书 App 扫一次码。Ycodium 会在你的账号下建好机器人应用,发布为仅自己可见,并把这个机器人连同凭据直接存进机器人列表,不用手填。",
|
|
453
479
|
"badge": "测试版",
|
|
454
|
-
"warning": "
|
|
480
|
+
"warning": "飞书扫码依赖飞书开发者后台的非公开接口,可能会失效。失效时请到开发者后台手动配置应用。"
|
|
455
481
|
},
|
|
456
482
|
"manual": {
|
|
457
483
|
"createApp": {
|
|
@@ -565,6 +591,16 @@
|
|
|
565
591
|
"failed": "连接失败",
|
|
566
592
|
"notSaved": "请先保存这一行再检查连接(凭据只从已保存配置读取)。",
|
|
567
593
|
"hint": {
|
|
594
|
+
"networkMultipleCauses": "这次失败背后不止一种网络问题。请检查这台机器的网络和这个机器人的「代理」设置,再检查一次。",
|
|
595
|
+
"networkDns": "服务域名解析失败。请检查这台机器的 DNS 和网络设置,再检查一次。",
|
|
596
|
+
"networkRefused": "目标拒绝了连接。请检查这台机器和所在网络的防火墙、安全软件是否拦了这个连接,再检查一次。",
|
|
597
|
+
"networkReset": "连接被对方中断。请检查这台机器的网络,以及目标服务是否在正常运行,再检查一次。",
|
|
598
|
+
"networkUnreachable": "目标网络不可达。请检查这台机器的网络出口和访问限制,再检查一次。",
|
|
599
|
+
"networkTls": "TLS 或证书校验失败。请检查这台机器的系统时间、证书链和网络设置,以及代理或安全软件是否拦截了 HTTPS 连接,再检查一次。",
|
|
600
|
+
"networkTimeout": "请求超时。请确认目标服务是否在正常运行,并检查这台机器的网络,再检查一次。",
|
|
601
|
+
"networkProxy": "代理连接或认证失败。请检查这一行的「代理」设置和所选代理在这台机器上的配置;没设代理的话,检查这台机器或所在网络上的其他代理,再检查一次。",
|
|
602
|
+
"platformRateLimited": "平台正在限流。请稍后重试。",
|
|
603
|
+
"platformUnavailable": "目标服务暂时异常。请稍后重试。",
|
|
568
604
|
"connecting": "还在连接,一般 20 秒内会有结果,稍后再检查一次。",
|
|
569
605
|
"badToken": "这不像机器人的 token。到 BotFather 重新复制一份:数字、冒号,后面是密钥。",
|
|
570
606
|
"unauthorized": "Telegram 不认这个 token,可能已经作废。到 BotFather 取现在的那一份。改好后在这里保存,机器人会自动重新连接;没有要改的也可以点下方的「重新连接」。",
|
|
@@ -617,6 +653,32 @@
|
|
|
617
653
|
"diagnostic": {
|
|
618
654
|
"ref": "参考号:{{ref}}\n{{detail}}"
|
|
619
655
|
},
|
|
656
|
+
"larkCallbackProbe": {
|
|
657
|
+
"label": "验证卡片按钮",
|
|
658
|
+
"description": "私发测试卡给这一行允许名单里的第一个人(通常就是你),等你在 {{seconds}} 秒内点击卡上的按钮。",
|
|
659
|
+
"step": "私发测试卡并等待点击",
|
|
660
|
+
"waiting": "测试卡已私发给允许名单里的第一个人({{id}},通常就是你)。请在 {{seconds}} 秒内到飞书里点卡上的按钮。",
|
|
661
|
+
"notConnected": "跳过:这个机器人还没在这台机器上连上。请先用这一行的「重新连接」连上,再验证。",
|
|
662
|
+
"noRecipient": "跳过:没有可接收测试卡的人。请先用「连接飞书机器人」扫码配置,扫码会自动把你加进这一行的允许名单。",
|
|
663
|
+
"sendFailed": "发不出测试卡。请用这一行的「补全权限」核对消息权限,确认机器人连着,再验证。",
|
|
664
|
+
"timeout": "{{seconds}} 秒内没收到测试卡的按钮回调。要是没来得及点,直接再点「验证卡片按钮」;要是点了还超时,请到开发者后台的「事件与回调」,把回调订阅设为「使用长连接」,添加 {{callbacks}} 后再验证。\n开发者后台地址:\n{{url}}",
|
|
665
|
+
"toast": "已收到点击,卡片按钮可用。",
|
|
666
|
+
"staleToast": "这张测试卡的验证已经结束,结果以设置面板和私信为准。要再验证,请在设置里点「验证卡片按钮」。",
|
|
667
|
+
"notYoursToast": "这张测试卡是发给允许名单里第一个人的,你的点击不算在验证里,忽略就好。",
|
|
668
|
+
"verified": "已收到测试卡的 card.action.trigger,卡片按钮可用。",
|
|
669
|
+
"aborted": "机器人断开,验证中断。请等它恢复连接,或用这一行的「重新连接」,再验证。",
|
|
670
|
+
"card": {
|
|
671
|
+
"title": "🧪 验证卡片按钮",
|
|
672
|
+
"body": "请在 {{seconds}} 秒内点击下方按钮;机器人所在的机器确认收到这次点击后,验证才算通过。",
|
|
673
|
+
"button": "完成验证"
|
|
674
|
+
},
|
|
675
|
+
"notice": {
|
|
676
|
+
"verified": "✅ 验证通过:已收到你点击测试卡发来的 card.action.trigger,卡片按钮可用。",
|
|
677
|
+
"timeout": "⚠️ 验证超时:没收到测试卡的 card.action.trigger,还不能确认按钮可用。要是没来得及点,再点一次「验证卡片按钮」就行;要是点了还超时,请先到开发者后台的「事件与回调」,把回调订阅设为「使用长连接」并添加 card.action.trigger,再点一次「验证卡片按钮」。\n开发者后台地址:\n{{url}}",
|
|
678
|
+
"sendFailed": "⚠️ 验证失败:发不出测试卡,还不能确认 card.action.trigger 可用。请在设置里用这个机器人那一行的「补全权限」核对消息权限,再点「验证卡片按钮」。",
|
|
679
|
+
"aborted": "⚠️ 验证中断:机器人在确认 card.action.trigger 之前断开了。请等它恢复连接,或在设置里用这个机器人那一行的「重新连接」,再点「验证卡片按钮」。"
|
|
680
|
+
}
|
|
681
|
+
},
|
|
620
682
|
"larkRepair": {
|
|
621
683
|
"label": "补全权限",
|
|
622
684
|
"description": "列出缺少的必需权限和飞书开放平台申请链接,再由管理员手动发布应用版本。",
|
|
@@ -655,6 +717,12 @@
|
|
|
655
717
|
"help": "列出全部命令"
|
|
656
718
|
},
|
|
657
719
|
"settingsSection": {
|
|
720
|
+
"lastMessageError": {
|
|
721
|
+
"title": "最近一条消息处理失败",
|
|
722
|
+
"separator": ":",
|
|
723
|
+
"code": "错误码 {{code}}",
|
|
724
|
+
"reference": "参考号 {{referenceId}}"
|
|
725
|
+
},
|
|
658
726
|
"empty": "还没有机器人",
|
|
659
727
|
"unavailable": "这台机器现在没有聊天桥。",
|
|
660
728
|
"loadFailed": "聊天桥的设置没能读出来。",
|
|
@@ -679,7 +747,10 @@
|
|
|
679
747
|
"connected": "已连接",
|
|
680
748
|
"notConnected": "未连接"
|
|
681
749
|
},
|
|
750
|
+
"online": "{{connected}} / {{configured}} 在线",
|
|
751
|
+
"onlineLabel": "已配齐 {{configured}} 个机器人,其中 {{connected}} 个在线",
|
|
682
752
|
"connection": {
|
|
753
|
+
"since": "状态自 {{time}} 起",
|
|
683
754
|
"failed": "上次连接没有成功。",
|
|
684
755
|
"details": "详情:{{error}}",
|
|
685
756
|
"reconnect": "可以点下方的「重新连接」再试。",
|
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.3232",
|
|
4
4
|
"description": "Talk to your agents from Telegram, WeCom, Lark, or WeChat (experimental).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"im",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"markdown-it": "^15.0.2",
|
|
33
33
|
"react": "19.2.6",
|
|
34
34
|
"vite-plus": "0.2.2",
|
|
35
|
-
"ycodium-
|
|
36
|
-
"
|
|
35
|
+
"@ycodium-ai/plugin-api": "0.2.3232",
|
|
36
|
+
"ycodium-react-test-harness": "0.0.0"
|
|
37
37
|
},
|
|
38
38
|
"ycodium": {
|
|
39
39
|
"plugin": "./dist/index.js",
|