@ycodium-ai/plugin-im 0.2.3216 → 0.2.3230
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 +3 -3
- package/dist/index.js +882 -372
- package/locales/en.json +17 -0
- package/locales/zh-CN.json +17 -0
- package/package.json +3 -2
package/locales/en.json
CHANGED
|
@@ -214,6 +214,13 @@
|
|
|
214
214
|
"turnFailedNoDetail": "This turn didn't finish. Reference {{ref}}. Send the message again; if it keeps failing, send /new to start a new conversation.",
|
|
215
215
|
"turnFailedBrief": "This turn didn't finish: {{detail}}\nSend the message again; if it keeps failing, send /new to start a new conversation.",
|
|
216
216
|
"turnFailedBriefNoDetail": "This turn didn't finish. Send the message again; if it keeps failing, send /new to start a new conversation.",
|
|
217
|
+
"turnFailedWithReference": "{{message}}\nReference {{ref}}.",
|
|
218
|
+
"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.",
|
|
219
|
+
"turnFailedRateLimit": "The model service is rate-limiting requests, so this turn didn't finish. Please try again later.",
|
|
220
|
+
"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.",
|
|
221
|
+
"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.",
|
|
222
|
+
"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.",
|
|
223
|
+
"turnFailedTransport": "The model service is temporarily unreachable, so this turn didn't finish. Please try again later.",
|
|
217
224
|
"attachmentReceived": "Got {{names}} ({{count}} waiting). Tell me what to do with them.",
|
|
218
225
|
"attachmentFailed": "Could not take {{name}}: {{reason}}.",
|
|
219
226
|
"attachmentReason": {
|
|
@@ -565,6 +572,16 @@
|
|
|
565
572
|
"failed": "Connection failed",
|
|
566
573
|
"notSaved": "Save this row first (credentials are read from saved config only).",
|
|
567
574
|
"hint": {
|
|
575
|
+
"networkMultipleCauses": "This failure has more than one network cause. Check this machine's network and this bot's Proxy setting, then check again.",
|
|
576
|
+
"networkDns": "The service's domain name could not be resolved. Check this machine's DNS and network settings, then check again.",
|
|
577
|
+
"networkRefused": "The connection was refused. Check whether a firewall or security software on this machine or its network is blocking it, then check again.",
|
|
578
|
+
"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.",
|
|
579
|
+
"networkUnreachable": "The target network is unreachable. Check this machine's outbound network access and access restrictions, then check again.",
|
|
580
|
+
"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.",
|
|
581
|
+
"networkTimeout": "The request timed out. Check whether the target service is running normally and check this machine's network, then check again.",
|
|
582
|
+
"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.",
|
|
583
|
+
"platformRateLimited": "The platform is rate limiting requests. Try again later.",
|
|
584
|
+
"platformUnavailable": "The target service is temporarily having problems. Try again later.",
|
|
568
585
|
"connecting": "Still connecting. There is usually a result within 20 seconds; check again in a moment.",
|
|
569
586
|
"badToken": "This does not look like a bot token. Copy it again from BotFather: digits, a colon, then the key.",
|
|
570
587
|
"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.",
|
package/locales/zh-CN.json
CHANGED
|
@@ -214,6 +214,13 @@
|
|
|
214
214
|
"turnFailedNoDetail": "这一轮没能完成。参考号 {{ref}}。可以直接再发一次;一直不行就发 /new 开个新会话。",
|
|
215
215
|
"turnFailedBrief": "这一轮没能完成:{{detail}}\n可以直接再发一次;一直不行就发 /new 开个新会话。",
|
|
216
216
|
"turnFailedBriefNoDetail": "这一轮没能完成。可以直接再发一次;一直不行就发 /new 开个新会话。",
|
|
217
|
+
"turnFailedWithReference": "{{message}}\n参考号 {{ref}}。",
|
|
218
|
+
"turnFailedQuota": "模型额度或余额不足,这一轮没能完成。可以发 /model 换个模型再试,或请管理员补充额度后重试。",
|
|
219
|
+
"turnFailedRateLimit": "模型服务正在限流,这一轮没能完成。请稍后重试。",
|
|
220
|
+
"turnFailedContextLimit": "当前会话内容超过模型上下文上限,这一轮没能完成。请发 /new 开个新会话,再把请求重新发一遍。",
|
|
221
|
+
"turnFailedAuth": "模型凭据缺失或无效,这一轮没能完成。请管理员检查模型配置,之后你再发一次。",
|
|
222
|
+
"turnFailedModelUnavailable": "当前模型不存在或不支持所选配置,这一轮没能完成。请发 /model 查看可选模型,再发 /model 加编号(例如 /model 2)为这个聊天选一个,然后重发请求。",
|
|
223
|
+
"turnFailedTransport": "暂时无法连接模型服务,这一轮没能完成。请稍后重试。",
|
|
217
224
|
"attachmentReceived": "收到 {{names}}(现有 {{count}} 个待处理)。说一句想让我怎么处理。",
|
|
218
225
|
"attachmentFailed": "没能收下 {{name}}:{{reason}}。",
|
|
219
226
|
"attachmentReason": {
|
|
@@ -565,6 +572,16 @@
|
|
|
565
572
|
"failed": "连接失败",
|
|
566
573
|
"notSaved": "请先保存这一行再检查连接(凭据只从已保存配置读取)。",
|
|
567
574
|
"hint": {
|
|
575
|
+
"networkMultipleCauses": "这次失败背后不止一种网络问题。请检查这台机器的网络和这个机器人的「代理」设置,再检查一次。",
|
|
576
|
+
"networkDns": "服务域名解析失败。请检查这台机器的 DNS 和网络设置,再检查一次。",
|
|
577
|
+
"networkRefused": "目标拒绝了连接。请检查这台机器和所在网络的防火墙、安全软件是否拦了这个连接,再检查一次。",
|
|
578
|
+
"networkReset": "连接被对方中断。请检查这台机器的网络,以及目标服务是否在正常运行,再检查一次。",
|
|
579
|
+
"networkUnreachable": "目标网络不可达。请检查这台机器的网络出口和访问限制,再检查一次。",
|
|
580
|
+
"networkTls": "TLS 或证书校验失败。请检查这台机器的系统时间、证书链和网络设置,以及代理或安全软件是否拦截了 HTTPS 连接,再检查一次。",
|
|
581
|
+
"networkTimeout": "请求超时。请确认目标服务是否在正常运行,并检查这台机器的网络,再检查一次。",
|
|
582
|
+
"networkProxy": "代理连接或认证失败。请检查这一行的「代理」设置和所选代理在这台机器上的配置;没设代理的话,检查这台机器或所在网络上的其他代理,再检查一次。",
|
|
583
|
+
"platformRateLimited": "平台正在限流。请稍后重试。",
|
|
584
|
+
"platformUnavailable": "目标服务暂时异常。请稍后重试。",
|
|
568
585
|
"connecting": "还在连接,一般 20 秒内会有结果,稍后再检查一次。",
|
|
569
586
|
"badToken": "这不像机器人的 token。到 BotFather 重新复制一份:数字、冒号,后面是密钥。",
|
|
570
587
|
"unauthorized": "Telegram 不认这个 token,可能已经作废。到 BotFather 取现在的那一份。改好后在这里保存,机器人会自动重新连接;没有要改的也可以点下方的「重新连接」。",
|
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.3230",
|
|
4
4
|
"description": "Talk to your agents from Telegram, WeCom, Lark, or WeChat (experimental).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"im",
|
|
@@ -32,7 +32,8 @@
|
|
|
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.3230",
|
|
36
|
+
"ycodium-react-test-harness": "0.0.0"
|
|
36
37
|
},
|
|
37
38
|
"ycodium": {
|
|
38
39
|
"plugin": "./dist/index.js",
|