@ycodium-ai/plugin-im 0.2.3244 → 0.2.3252
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 +11 -7
- package/assets/ui.js +1 -1
- package/dist/index.js +807 -271
- package/locales/en.json +24 -1
- package/locales/zh-CN.json +24 -1
- package/package.json +3 -3
package/locales/en.json
CHANGED
|
@@ -262,6 +262,8 @@
|
|
|
262
262
|
"sendingFile": "Sending {{name}}:",
|
|
263
263
|
"notAllowedYet": "You are not on the allow list yet. Your user id is {{id}}. Add it under Settings → Plugins → Chat, in this bot's \"Allowed people\" box.",
|
|
264
264
|
"received": "Got it, working on it.",
|
|
265
|
+
"inboundFailed": "This message couldn't be handled. Please send it again later.",
|
|
266
|
+
"inboundDeferred": "No need to send this again — it will be handled automatically the next time the machine starts.",
|
|
265
267
|
"welcome": "Connected. Send text or images to get started, or send /help to see the available commands."
|
|
266
268
|
},
|
|
267
269
|
"approval": {
|
|
@@ -338,17 +340,23 @@
|
|
|
338
340
|
"project": "Project: {{title}}",
|
|
339
341
|
"noProject": "No project picked yet. Send /repo to pick one."
|
|
340
342
|
},
|
|
343
|
+
"version": {
|
|
344
|
+
"current": "Ycodium Chat bridge v{{version}}",
|
|
345
|
+
"usage": "Usage: /version (no arguments)."
|
|
346
|
+
},
|
|
341
347
|
"help": {
|
|
342
348
|
"title": "Commands:",
|
|
343
349
|
"continue": "· /continue — resume sending after /stop or a failure paused it; the waiting messages go out",
|
|
344
350
|
"stop": "· /stop — stop the turn that is running; the session stays",
|
|
345
351
|
"status": "· /status — what is going on right now",
|
|
352
|
+
"version": "· /version — the chat bridge's version (no arguments)",
|
|
346
353
|
"new": "· /new — forget the current session; the next message starts a new one",
|
|
347
354
|
"team": "· /team — give this project's team a goal with each message; use /repo to pick the project first",
|
|
348
355
|
"thread": "· /thread — go back to a normal session",
|
|
349
|
-
"aliases": "Chinese shortcuts (停 / 继续发送 / 状态 / 新对话 / 会话列表 / 切换会话 / 换模型 / 计划模式 / 换项目 / 建群 / 换团队 / 换对话) work when the reply language is Chinese.",
|
|
356
|
+
"aliases": "Chinese shortcuts (停 / 继续发送 / 状态 / 新对话 / 会话列表 / 切换会话 / 会话历史 / 换模型 / 计划模式 / 换项目 / 建群 / 换团队 / 换对话) work when the reply language is Chinese.",
|
|
350
357
|
"sessions": "· /sessions — list this project's sessions; add a project number from /repo to list the ones this bot opened in another project",
|
|
351
358
|
"resume": "· /resume number-or-id-prefix — switch sessions; one from another project switches the project too",
|
|
359
|
+
"history": "· /history [count] — preview recent messages in the current session, in private chats only (default {{defaultCount}}, maximum {{maxCount}})",
|
|
352
360
|
"model": "· /model — see the model this chat uses; /model number or /model instance/model switches it",
|
|
353
361
|
"preset": "· /preset — see the preset this chat uses for new sessions; /preset number or /preset name-or-id switches it; /preset none clears the chat choice",
|
|
354
362
|
"plan": "· /plan — toggle plan mode (the agent proposes a plan instead of acting); /plan on, /plan off set it",
|
|
@@ -357,6 +365,21 @@
|
|
|
357
365
|
"group": "· /group name — Lark only: the bot creates a group and adds you (bots on other platforms cannot)",
|
|
358
366
|
"syncNote": "· After a private chat attaches a session, web user text and final assistant text sync here (groups never sync)."
|
|
359
367
|
},
|
|
368
|
+
"history": {
|
|
369
|
+
"usage": "Usage: /history [count] — 1 to {{maxCount}} (larger numbers count as {{maxCount}}), default {{defaultCount}}.",
|
|
370
|
+
"directOnly": "In a group this would show the session to everyone. Send /history in a private chat with the bot.",
|
|
371
|
+
"noSession": "This chat has no current session. Send a message to start one, or use /sessions to find a session and /resume to switch to it.",
|
|
372
|
+
"empty": "No messages to show in this session yet.",
|
|
373
|
+
"noneRecent": "Nothing to show among this session's most recent messages (older ones were not checked).",
|
|
374
|
+
"failed": "Could not read the recent messages. Try again in a moment.",
|
|
375
|
+
"title": "Recent messages in this session ({{count}}):",
|
|
376
|
+
"user": "User",
|
|
377
|
+
"assistant": "Assistant",
|
|
378
|
+
"image": "[Image]",
|
|
379
|
+
"file": "[File]",
|
|
380
|
+
"noText": "[No previewable text]",
|
|
381
|
+
"truncated": "[Remaining text omitted]"
|
|
382
|
+
},
|
|
360
383
|
"sessions": {
|
|
361
384
|
"title": "This project's sessions ({{count}}):",
|
|
362
385
|
"empty": "This bot has not opened any session in this project yet. Send a message to start one.",
|
package/locales/zh-CN.json
CHANGED
|
@@ -262,6 +262,8 @@
|
|
|
262
262
|
"sendingFile": "正在发送 {{name}}:",
|
|
263
263
|
"notAllowedYet": "你还不在允许名单里,你的用户 id 是 {{id}},请把它填进 设置 → 插件 → 聊天 → 这个机器人的「允许的人」。",
|
|
264
264
|
"received": "收到,在处理。",
|
|
265
|
+
"inboundFailed": "这条消息处理时出了错,请稍后重发。",
|
|
266
|
+
"inboundDeferred": "不用重发:机器下次启动时会自动处理这条消息。",
|
|
265
267
|
"welcome": "已连上。直接发文字或图片就能开始,发 /help 看能用的命令。"
|
|
266
268
|
},
|
|
267
269
|
"approval": {
|
|
@@ -338,17 +340,23 @@
|
|
|
338
340
|
"project": "项目:{{title}}",
|
|
339
341
|
"noProject": "还没选项目。发 /repo 选一个。"
|
|
340
342
|
},
|
|
343
|
+
"version": {
|
|
344
|
+
"current": "Ycodium 聊天桥 v{{version}}",
|
|
345
|
+
"usage": "用法:/version(不带参数)。"
|
|
346
|
+
},
|
|
341
347
|
"help": {
|
|
342
348
|
"title": "能用的命令:",
|
|
343
349
|
"continue": "· /continue —— /stop 或出错暂停了发送之后,用它恢复,排着的消息继续发出",
|
|
344
350
|
"stop": "· /stop —— 停掉正在跑的这一轮,会话留着",
|
|
345
351
|
"status": "· /status —— 现在在干什么",
|
|
352
|
+
"version": "· /version —— 聊天桥的版本(不带参数)",
|
|
346
353
|
"new": "· /new —— 忘掉当前会话,下一句开新的",
|
|
347
354
|
"team": "· /team —— 每条消息都给这个项目的团队开一个目标;先用 /repo 选项目",
|
|
348
355
|
"thread": "· /thread —— 切回普通会话",
|
|
349
|
-
"aliases": "中文也行:停 / 继续发送 / 状态 / 新对话 / 会话列表 / 切换会话 / 换模型 / 计划模式 / 换项目 / 建群 / 换团队 / 换对话。",
|
|
356
|
+
"aliases": "中文也行:停 / 继续发送 / 状态 / 新对话 / 会话列表 / 切换会话 / 会话历史 / 换模型 / 计划模式 / 换项目 / 建群 / 换团队 / 换对话。",
|
|
350
357
|
"sessions": "· /sessions —— 列出本项目的会话;加 /repo 里的项目编号,列出本机器人在别的项目开过的",
|
|
351
358
|
"resume": "· /resume 编号或 id 开头 —— 切会话;别的项目的会话会连同项目一起切",
|
|
359
|
+
"history": "· /history [数量] —— 仅私聊:查看当前会话最近的消息(默认 {{defaultCount}} 条,最多 {{maxCount}} 条)",
|
|
352
360
|
"model": "· /model —— 看这个聊天用的模型;/model 编号 或 /model 实例/模型 切换",
|
|
353
361
|
"preset": "· /preset —— 看这个聊天新会话用的预设;/preset 编号 或 /preset 名字或 id 切换;/preset none 清掉聊天选择",
|
|
354
362
|
"plan": "· /plan —— 开关计划模式(agent 先出计划、不动手);/plan on、/plan off 明确设定",
|
|
@@ -357,6 +365,21 @@
|
|
|
357
365
|
"group": "· /group 群名 —— 仅飞书:机器人建一个群并把你拉进去(别的平台的机器人建不了群)",
|
|
358
366
|
"syncNote": "· 私聊附着会话后,网页上的用户文字与终态助手文字会同步到此(群聊不同步)。"
|
|
359
367
|
},
|
|
368
|
+
"history": {
|
|
369
|
+
"usage": "用法:/history [数量] —— 1–{{maxCount}} 条(超出按 {{maxCount}} 条算),默认 {{defaultCount}} 条。",
|
|
370
|
+
"directOnly": "在群里会把会话内容发给所有人。在与机器人的私聊里发 /history。",
|
|
371
|
+
"noSession": "这个聊天还没有当前会话。发一句话开一个,或先用 /sessions 找到会话,再用 /resume 切过去。",
|
|
372
|
+
"empty": "当前会话还没有能查看的消息。",
|
|
373
|
+
"noneRecent": "当前会话最近的消息里没有能查看的(更早的没有往前翻)。",
|
|
374
|
+
"failed": "没能读取最近的消息,稍后再试。",
|
|
375
|
+
"title": "当前会话最近的消息({{count}} 条):",
|
|
376
|
+
"user": "用户",
|
|
377
|
+
"assistant": "助手",
|
|
378
|
+
"image": "[图片]",
|
|
379
|
+
"file": "[文件]",
|
|
380
|
+
"noText": "[没有可预览的文字]",
|
|
381
|
+
"truncated": "[其余文字已省略]"
|
|
382
|
+
},
|
|
360
383
|
"sessions": {
|
|
361
384
|
"title": "本项目的会话({{count}} 条):",
|
|
362
385
|
"empty": "本机器人还没在本项目开过会话,发一句话就会开一条。",
|
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.3252",
|
|
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
|
-
"
|
|
36
|
-
"ycodium-
|
|
35
|
+
"ycodium-react-test-harness": "0.0.0",
|
|
36
|
+
"@ycodium-ai/plugin-api": "0.2.3252"
|
|
37
37
|
},
|
|
38
38
|
"ycodium": {
|
|
39
39
|
"plugin": "./dist/index.js",
|