@ycodium-ai/plugin-im 0.2.2966 → 0.2.2972

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/locales/en.json CHANGED
@@ -126,7 +126,7 @@
126
126
  },
127
127
  "deliveryPlatformChatId": {
128
128
  "label": "Platform chat ID",
129
- "description": "Lark open_id/chat_id, Telegram chat id, WeCom user/group id, etc.",
129
+ "description": "Lark open_id/chat_id, Telegram chat id (a forum topic: chat id:topic id), WeCom user/group id, etc.",
130
130
  "placeholder": "oc_… / ou_… / -100…"
131
131
  },
132
132
  "queueMode": {
@@ -166,7 +166,7 @@
166
166
  },
167
167
  "wecomAppApiBaseUrl": {
168
168
  "label": "API proxy base (optional)",
169
- "description": "Base URL for gettoken / message/send. Leave empty for qyapi.weixin.qq.com. Outbound IP must be on the trusted IP list.",
169
+ "description": "Base URL for WeCom API calls (tokens, messages, images and files). Leave empty for qyapi.weixin.qq.com. The outbound IP must be on the app's trusted IP list.",
170
170
  "placeholder": "https://qyapi.weixin.qq.com"
171
171
  },
172
172
  "wecomAppListenPort": {
@@ -189,6 +189,10 @@
189
189
  "projectArchived": "Project \"{{title}}\" is archived. Restore it, or send /repo to pick another project, then message again.",
190
190
  "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.",
191
191
  "threadGone": "The earlier session was deleted or archived, so this chat now starts a new one.",
192
+ "turnFailed": "This turn didn't finish: {{detail}}\nReference {{ref}}. Send the message again; if it keeps failing, send /new to start a new conversation.",
193
+ "turnFailedNoDetail": "This turn didn't finish. Reference {{ref}}. Send the message again; if it keeps failing, send /new to start a new conversation.",
194
+ "turnFailedBrief": "This turn didn't finish: {{detail}}\nSend the message again; if it keeps failing, send /new to start a new conversation.",
195
+ "turnFailedBriefNoDetail": "This turn didn't finish. Send the message again; if it keeps failing, send /new to start a new conversation.",
192
196
  "teamGone": "The team this chat was sending to no longer exists, so messages go to a normal session again.",
193
197
  "attachmentReceived": "Got {{names}} ({{count}} waiting). Tell me what to do with them.",
194
198
  "attachmentFailed": "Could not take {{name}}: {{reason}}.",
@@ -548,7 +552,13 @@
548
552
  "running": "Checking {{rowId}}…",
549
553
  "done": "Connection OK",
550
554
  "failed": "Connection failed (ref {{ref}})",
551
- "notSaved": "Save this row first (credentials are read from saved config only)."
555
+ "notSaved": "Save this row first (credentials are read from saved config only).",
556
+ "hint": {
557
+ "badToken": "This does not look like a bot token. Copy it again from BotFather: digits, a colon, then the key (ref {{ref}})",
558
+ "unauthorized": "Telegram does not accept this token. It may have been revoked; get the current one from BotFather (ref {{ref}})",
559
+ "notBot": "This token does not belong to a bot. Use the token BotFather gave you (ref {{ref}})",
560
+ "webhookActive": "This bot has a webhook set by another service, so it cannot receive messages here. Remove the webhook there, then check again (ref {{ref}})"
561
+ }
552
562
  },
553
563
  "copyDiagnostics": {
554
564
  "label": "Copy diagnostics",
@@ -575,5 +585,20 @@
575
585
  "failed": "Could not verify the Lark app (ref {{ref}})",
576
586
  "notLark": "This row is not a saved Lark bot."
577
587
  }
588
+ },
589
+ "menu": {
590
+ "new": "Start a new session with the next message",
591
+ "stop": "Stop the turn that is running",
592
+ "continue": "Resume sending after a stop or a failure",
593
+ "status": "What is going on right now",
594
+ "sessions": "List the sessions for this chat's project",
595
+ "resume": "Switch to a session (number from /sessions)",
596
+ "model": "See or switch the model",
597
+ "plan": "Toggle plan mode",
598
+ "repo": "Pick the project this chat works on",
599
+ "team": "Send the next messages to a team",
600
+ "thread": "Go back to a normal session",
601
+ "panel": "Open the command panel",
602
+ "help": "Show all commands"
578
603
  }
579
604
  }
@@ -126,7 +126,7 @@
126
126
  },
127
127
  "deliveryPlatformChatId": {
128
128
  "label": "平台聊天 ID",
129
- "description": "飞书 open_id/chat_id、Telegram chat id、企微用户/群 id 等。",
129
+ "description": "飞书 open_id/chat_id、Telegram chat id(论坛话题填 群号:话题号)、企微用户/群 id 等。",
130
130
  "placeholder": "oc_… / ou_… / -100…"
131
131
  },
132
132
  "queueMode": {
@@ -166,7 +166,7 @@
166
166
  },
167
167
  "wecomAppApiBaseUrl": {
168
168
  "label": "API 代理地址(可选)",
169
- "description": "出站调用 gettoken / message/send 的基址。海外机器可填反代;留空直连 qyapi.weixin.qq.com。出站 IP 须在企业可信 IP 列表。",
169
+ "description": "企业微信接口的基址(换 token、发消息、收发图片和文件)。留空就直连 qyapi.weixin.qq.com。出站 IP 要在这个应用的企业可信 IP 里。",
170
170
  "placeholder": "https://qyapi.weixin.qq.com"
171
171
  },
172
172
  "wecomAppListenPort": {
@@ -189,6 +189,10 @@
189
189
  "projectArchived": "项目「{{title}}」已归档。恢复它,或发 /repo 换个项目,再发消息。",
190
190
  "projectMissing": "这个聊天原来做的项目已经不在这台机器上了(可能被删了),开不了会话。发 /repo 重新选一个。",
191
191
  "threadGone": "之前那条会话已被删除或归档,这个聊天改为开一条新会话。",
192
+ "turnFailed": "这一轮没能完成:{{detail}}\n参考号 {{ref}}。可以直接再发一次;一直不行就发 /new 开个新会话。",
193
+ "turnFailedNoDetail": "这一轮没能完成。参考号 {{ref}}。可以直接再发一次;一直不行就发 /new 开个新会话。",
194
+ "turnFailedBrief": "这一轮没能完成:{{detail}}\n可以直接再发一次;一直不行就发 /new 开个新会话。",
195
+ "turnFailedBriefNoDetail": "这一轮没能完成。可以直接再发一次;一直不行就发 /new 开个新会话。",
192
196
  "teamGone": "这个聊天原来派给的队已经不在了,接下来改回普通会话。",
193
197
  "attachmentReceived": "收到 {{names}}(现有 {{count}} 个待处理)。说一句想让我怎么处理。",
194
198
  "attachmentFailed": "没能收下 {{name}}:{{reason}}。",
@@ -548,7 +552,13 @@
548
552
  "running": "正在检查 {{rowId}} …",
549
553
  "done": "连接正常",
550
554
  "failed": "连接失败(参考号 {{ref}})",
551
- "notSaved": "请先保存这一行再检查连接(凭据只从已保存配置读取)。"
555
+ "notSaved": "请先保存这一行再检查连接(凭据只从已保存配置读取)。",
556
+ "hint": {
557
+ "badToken": "这不像机器人的 token。到 BotFather 重新复制一份:数字、冒号,后面是密钥(参考号 {{ref}})",
558
+ "unauthorized": "Telegram 不认这个 token,可能已经作废。到 BotFather 取现在的那一份(参考号 {{ref}})",
559
+ "notBot": "这个 token 不是机器人的。请用 BotFather 给的那一份(参考号 {{ref}})",
560
+ "webhookActive": "这个机器人被别的服务设了 webhook,在这里收不到消息。先到那边撤掉 webhook,再检查一次(参考号 {{ref}})"
561
+ }
552
562
  },
553
563
  "copyDiagnostics": {
554
564
  "label": "复制诊断",
@@ -575,5 +585,20 @@
575
585
  "failed": "无法验证飞书应用(参考号 {{ref}})",
576
586
  "notLark": "这一行不是已保存的飞书机器人。"
577
587
  }
588
+ },
589
+ "menu": {
590
+ "new": "下一句开一个新会话",
591
+ "stop": "停掉正在跑的这一轮",
592
+ "continue": "停下或失败之后接着发",
593
+ "status": "看现在在干什么",
594
+ "sessions": "列出这个聊天所在项目的会话",
595
+ "resume": "切到某个会话(/sessions 里的编号)",
596
+ "model": "看或换模型",
597
+ "plan": "开关计划模式",
598
+ "repo": "选这个聊天在哪个项目上干活",
599
+ "team": "把接下来的话发给一支团队",
600
+ "thread": "切回普通会话",
601
+ "panel": "打开命令面板",
602
+ "help": "列出全部命令"
578
603
  }
579
604
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-im",
3
- "version": "0.2.2966",
3
+ "version": "0.2.2972",
4
4
  "description": "Talk to your agents from Telegram, WeCom, Lark, or WeChat (experimental).",
5
5
  "keywords": [
6
6
  "im",
@@ -29,7 +29,7 @@
29
29
  "esbuild": "0.28.1",
30
30
  "markdown-it": "^15.0.2",
31
31
  "vite-plus": "0.2.2",
32
- "@ycodium-ai/plugin-api": "0.2.2966"
32
+ "@ycodium-ai/plugin-api": "0.2.2972"
33
33
  },
34
34
  "ycodium": {
35
35
  "plugin": "./dist/index.js",