@ycodium-ai/plugin-im 0.2.2968 → 0.2.2974
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/README.md +61 -3
- package/dist/index.js +1409 -739
- package/locales/en.json +30 -4
- package/locales/zh-CN.json +30 -4
- package/package.json +2 -2
package/locales/en.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"bots": "Bots",
|
|
6
6
|
"language": {
|
|
7
7
|
"label": "Reply language",
|
|
8
|
-
"description": "The language of the bot's own sentences in the chat: help, status, confirmations and notices. Chinese shortcut commands only work when this is Chinese.
|
|
8
|
+
"description": "The language of the bot's own sentences in the chat: help, status, confirmations and notices. Chinese shortcut commands only work when this is Chinese. A change applies from the bot's next sentence.",
|
|
9
9
|
"zhCN": "中文",
|
|
10
10
|
"en": "English"
|
|
11
11
|
},
|
|
@@ -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": {
|
|
@@ -137,6 +137,10 @@
|
|
|
137
137
|
"label": "Command panel",
|
|
138
138
|
"description": "Which commands /panel (or typing /) lists. Minimal hides low-frequency system items; typing the same command still works."
|
|
139
139
|
},
|
|
140
|
+
"larkTopicOnMention": {
|
|
141
|
+
"label": "Open a topic when mentioned",
|
|
142
|
+
"description": "When someone @-mentions the bot, its answer opens a Lark topic under that message, so the question and the answer stay together. Messages already inside a topic are answered in that topic either way."
|
|
143
|
+
},
|
|
140
144
|
"wecomNumberedHints": {
|
|
141
145
|
"label": "Numbered-reply hints",
|
|
142
146
|
"description": "WeCom has no buttons; approvals and questions use reply numbers. When on, include fuller usage hints."
|
|
@@ -366,7 +370,8 @@
|
|
|
366
370
|
"working": "Working on it…",
|
|
367
371
|
"done": "Done",
|
|
368
372
|
"error": "Something went wrong",
|
|
369
|
-
"interrupted": "Interrupted"
|
|
373
|
+
"interrupted": "Interrupted",
|
|
374
|
+
"continued": "Continues in the card below"
|
|
370
375
|
},
|
|
371
376
|
"step": {
|
|
372
377
|
"think": "think",
|
|
@@ -552,7 +557,13 @@
|
|
|
552
557
|
"running": "Checking {{rowId}}…",
|
|
553
558
|
"done": "Connection OK",
|
|
554
559
|
"failed": "Connection failed (ref {{ref}})",
|
|
555
|
-
"notSaved": "Save this row first (credentials are read from saved config only)."
|
|
560
|
+
"notSaved": "Save this row first (credentials are read from saved config only).",
|
|
561
|
+
"hint": {
|
|
562
|
+
"badToken": "This does not look like a bot token. Copy it again from BotFather: digits, a colon, then the key (ref {{ref}})",
|
|
563
|
+
"unauthorized": "Telegram does not accept this token. It may have been revoked; get the current one from BotFather (ref {{ref}})",
|
|
564
|
+
"notBot": "This token does not belong to a bot. Use the token BotFather gave you (ref {{ref}})",
|
|
565
|
+
"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}})"
|
|
566
|
+
}
|
|
556
567
|
},
|
|
557
568
|
"copyDiagnostics": {
|
|
558
569
|
"label": "Copy diagnostics",
|
|
@@ -579,5 +590,20 @@
|
|
|
579
590
|
"failed": "Could not verify the Lark app (ref {{ref}})",
|
|
580
591
|
"notLark": "This row is not a saved Lark bot."
|
|
581
592
|
}
|
|
593
|
+
},
|
|
594
|
+
"menu": {
|
|
595
|
+
"new": "Start a new session with the next message",
|
|
596
|
+
"stop": "Stop the turn that is running",
|
|
597
|
+
"continue": "Resume sending after a stop or a failure",
|
|
598
|
+
"status": "What is going on right now",
|
|
599
|
+
"sessions": "List the sessions for this chat's project",
|
|
600
|
+
"resume": "Switch to a session (number from /sessions)",
|
|
601
|
+
"model": "See or switch the model",
|
|
602
|
+
"plan": "Toggle plan mode",
|
|
603
|
+
"repo": "Pick the project this chat works on",
|
|
604
|
+
"team": "Send the next messages to a team",
|
|
605
|
+
"thread": "Go back to a normal session",
|
|
606
|
+
"panel": "Open the command panel",
|
|
607
|
+
"help": "Show all commands"
|
|
582
608
|
}
|
|
583
609
|
}
|
package/locales/zh-CN.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"bots": "机器人",
|
|
6
6
|
"language": {
|
|
7
7
|
"label": "回话语言",
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "机器人在聊天里自己说的话用什么语言:帮助、状态、确认和各种提示。中文快捷命令只在选中文时认。改了之后从机器人的下一句话起生效。",
|
|
9
9
|
"zhCN": "中文",
|
|
10
10
|
"en": "English"
|
|
11
11
|
},
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
},
|
|
127
127
|
"deliveryPlatformChatId": {
|
|
128
128
|
"label": "平台聊天 ID",
|
|
129
|
-
"description": "飞书 open_id/chat_id、Telegram chat id
|
|
129
|
+
"description": "飞书 open_id/chat_id、Telegram chat id(论坛话题填 群号:话题号)、企微用户/群 id 等。",
|
|
130
130
|
"placeholder": "oc_… / ou_… / -100…"
|
|
131
131
|
},
|
|
132
132
|
"queueMode": {
|
|
@@ -137,6 +137,10 @@
|
|
|
137
137
|
"label": "指令面板",
|
|
138
138
|
"description": "聊天里 /panel 或打 / 时列出的命令范围。精简隐藏低频系统项;手动输入同一命令仍可用。"
|
|
139
139
|
},
|
|
140
|
+
"larkTopicOnMention": {
|
|
141
|
+
"label": "被 @ 时开话题",
|
|
142
|
+
"description": "有人 @ 机器人提问时,答复在那条消息下开一个飞书话题,一问一答收在话题里。已经在话题里的消息,不管开不开,答复都留在该话题里。"
|
|
143
|
+
},
|
|
140
144
|
"wecomNumberedHints": {
|
|
141
145
|
"label": "编号应答提示",
|
|
142
146
|
"description": "企微没有按钮,审批与提问靠回编号。开启时附带更完整的用法说明。"
|
|
@@ -366,7 +370,8 @@
|
|
|
366
370
|
"working": "处理中…",
|
|
367
371
|
"done": "已完成",
|
|
368
372
|
"error": "出错了",
|
|
369
|
-
"interrupted": "已中断"
|
|
373
|
+
"interrupted": "已中断",
|
|
374
|
+
"continued": "后续见下方卡片"
|
|
370
375
|
},
|
|
371
376
|
"step": {
|
|
372
377
|
"think": "思考",
|
|
@@ -552,7 +557,13 @@
|
|
|
552
557
|
"running": "正在检查 {{rowId}} …",
|
|
553
558
|
"done": "连接正常",
|
|
554
559
|
"failed": "连接失败(参考号 {{ref}})",
|
|
555
|
-
"notSaved": "请先保存这一行再检查连接(凭据只从已保存配置读取)。"
|
|
560
|
+
"notSaved": "请先保存这一行再检查连接(凭据只从已保存配置读取)。",
|
|
561
|
+
"hint": {
|
|
562
|
+
"badToken": "这不像机器人的 token。到 BotFather 重新复制一份:数字、冒号,后面是密钥(参考号 {{ref}})",
|
|
563
|
+
"unauthorized": "Telegram 不认这个 token,可能已经作废。到 BotFather 取现在的那一份(参考号 {{ref}})",
|
|
564
|
+
"notBot": "这个 token 不是机器人的。请用 BotFather 给的那一份(参考号 {{ref}})",
|
|
565
|
+
"webhookActive": "这个机器人被别的服务设了 webhook,在这里收不到消息。先到那边撤掉 webhook,再检查一次(参考号 {{ref}})"
|
|
566
|
+
}
|
|
556
567
|
},
|
|
557
568
|
"copyDiagnostics": {
|
|
558
569
|
"label": "复制诊断",
|
|
@@ -579,5 +590,20 @@
|
|
|
579
590
|
"failed": "无法验证飞书应用(参考号 {{ref}})",
|
|
580
591
|
"notLark": "这一行不是已保存的飞书机器人。"
|
|
581
592
|
}
|
|
593
|
+
},
|
|
594
|
+
"menu": {
|
|
595
|
+
"new": "下一句开一个新会话",
|
|
596
|
+
"stop": "停掉正在跑的这一轮",
|
|
597
|
+
"continue": "停下或失败之后接着发",
|
|
598
|
+
"status": "看现在在干什么",
|
|
599
|
+
"sessions": "列出这个聊天所在项目的会话",
|
|
600
|
+
"resume": "切到某个会话(/sessions 里的编号)",
|
|
601
|
+
"model": "看或换模型",
|
|
602
|
+
"plan": "开关计划模式",
|
|
603
|
+
"repo": "选这个聊天在哪个项目上干活",
|
|
604
|
+
"team": "把接下来的话发给一支团队",
|
|
605
|
+
"thread": "切回普通会话",
|
|
606
|
+
"panel": "打开命令面板",
|
|
607
|
+
"help": "列出全部命令"
|
|
582
608
|
}
|
|
583
609
|
}
|
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.2974",
|
|
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.
|
|
32
|
+
"@ycodium-ai/plugin-api": "0.2.2974"
|
|
33
33
|
},
|
|
34
34
|
"ycodium": {
|
|
35
35
|
"plugin": "./dist/index.js",
|