@ycodium-ai/plugin-im 0.2.3232 → 0.2.3236
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 +9 -4
- package/dist/index.js +369 -150
- package/locales/en.json +18 -4
- package/locales/zh-CN.json +18 -4
- package/package.json +2 -2
package/locales/en.json
CHANGED
|
@@ -324,8 +324,8 @@
|
|
|
324
324
|
"team": "· /team — give this project's team a goal with each message; use /repo to pick the project first",
|
|
325
325
|
"thread": "· /thread — go back to a normal session",
|
|
326
326
|
"aliases": "Chinese shortcuts (停 / 继续发送 / 状态 / 新对话 / 会话列表 / 切换会话 / 换模型 / 计划模式 / 换项目 / 建群 / 换团队 / 换对话) work when the reply language is Chinese.",
|
|
327
|
-
"sessions": "· /sessions — list
|
|
328
|
-
"resume": "· /resume number — switch
|
|
327
|
+
"sessions": "· /sessions — list this project's sessions; add a project number from /repo to list the ones this bot opened in another project",
|
|
328
|
+
"resume": "· /resume number-or-id-prefix — switch sessions; one from another project switches the project too",
|
|
329
329
|
"model": "· /model — see the model this chat uses; /model number or /model instance/model switches it",
|
|
330
330
|
"plan": "· /plan — toggle plan mode (the agent proposes a plan instead of acting); /plan on, /plan off set it",
|
|
331
331
|
"panel": "Send /panel to open the command panel with a button for every command.",
|
|
@@ -334,12 +334,18 @@
|
|
|
334
334
|
"syncNote": "· After a private chat attaches a session, web user text and final assistant text sync here (groups never sync)."
|
|
335
335
|
},
|
|
336
336
|
"sessions": {
|
|
337
|
-
"title": "
|
|
338
|
-
"empty": "This bot has not opened any session
|
|
337
|
+
"title": "This project's sessions ({{count}}):",
|
|
338
|
+
"empty": "This bot has not opened any session in this project yet. Send a message to start one.",
|
|
339
339
|
"more": "{{count}} more not shown — reach them with /resume and the start of an id.",
|
|
340
340
|
"footer": "Switch with /resume number, or /resume and the start of an id.",
|
|
341
341
|
"untitled": "Untitled",
|
|
342
342
|
"unavailable": "Could not read the session list right now. Try again in a moment.",
|
|
343
|
+
"projectNotFound": "That project number does not exist. Send /repo to see the numbers.",
|
|
344
|
+
"projectNumberExpected": "Put a project number after /sessions (a number from /repo), for example /sessions 2.",
|
|
345
|
+
"project": "Project: \"{{title}}\"",
|
|
346
|
+
"otherProjectTitle": "Sessions this bot opened in project \"{{project}}\" ({{count}}):",
|
|
347
|
+
"otherProjectFooter": "You are still in this chat's current project. /resume number, or /resume with the start of an id (also an unlisted one this bot opened), switches there and switches the chat's project too.",
|
|
348
|
+
"projectEmpty": "This bot has not opened any session in that project yet. To start one there, send /repo with that project number to move this chat there, then send a message.",
|
|
343
349
|
"badge": {
|
|
344
350
|
"current": "★ current",
|
|
345
351
|
"running": "● running",
|
|
@@ -355,11 +361,14 @@
|
|
|
355
361
|
},
|
|
356
362
|
"resume": {
|
|
357
363
|
"notFound": "No session matches \"{{query}}\". Use /sessions to see the list.",
|
|
364
|
+
"ambiguous": "More than one session starts with \"{{query}}\". Give a few more characters of the id.",
|
|
358
365
|
"busy": "A turn is running in this chat — send /stop first, then switch.",
|
|
359
366
|
"already": "This chat is already on that session.",
|
|
360
367
|
"gone": "That session was deleted or archived, so it cannot be resumed.",
|
|
361
368
|
"runningElsewhere": "That session is running a turn in another chat — stop it there first.",
|
|
362
369
|
"done": "Switched to \"{{title}}\". Send a message to keep going from there.",
|
|
370
|
+
"doneInProject": "Switched to project \"{{project}}\", session \"{{title}}\". Send a message to keep going from there.",
|
|
371
|
+
"switchFailed": "Could not switch to that session. The chat's project and session have not changed; send that /resume again in a moment.",
|
|
363
372
|
"confirmWeb": "\"{{title}}\" was opened on the web. Send /resume with the same number again (or /resume confirm) to attach; /resume cancel to abort.",
|
|
364
373
|
"cancelled": "Attach cancelled.",
|
|
365
374
|
"nothingPending": "No web session is waiting for confirm. Use /sessions to see the list."
|
|
@@ -392,6 +401,8 @@
|
|
|
392
401
|
"interrupted": "Interrupted",
|
|
393
402
|
"continued": "Continues in the card below"
|
|
394
403
|
},
|
|
404
|
+
"thinking": "Thinking…",
|
|
405
|
+
"usingTool": "Using {{name}}…",
|
|
395
406
|
"step": {
|
|
396
407
|
"think": "think",
|
|
397
408
|
"command": "command",
|
|
@@ -724,11 +735,14 @@
|
|
|
724
735
|
"reference": "Reference {{referenceId}}"
|
|
725
736
|
},
|
|
726
737
|
"empty": "No bots yet",
|
|
738
|
+
"emptyGuide": "Use \"{{larkLabel}}\" or \"{{wecomLabel}}\" to scan and create a bot in one step. For other platforms, choose \"{{addBotLabel}}\" and enter the credentials from that platform's developer console.",
|
|
727
739
|
"unavailable": "This machine doesn't have the chat bridge right now.",
|
|
728
740
|
"loadFailed": "Couldn't load the chat-bridge settings.",
|
|
729
741
|
"retry": "Try again",
|
|
730
742
|
"general": "General",
|
|
731
743
|
"addBot": "Add a bot",
|
|
744
|
+
"moreSettings": "More settings",
|
|
745
|
+
"moreSettingsIssues": "More settings ({{count}} to fix)",
|
|
732
746
|
"save": "Save",
|
|
733
747
|
"revert": "Undo changes",
|
|
734
748
|
"saveFailed": "Couldn't save.",
|
package/locales/zh-CN.json
CHANGED
|
@@ -324,8 +324,8 @@
|
|
|
324
324
|
"team": "· /team —— 每条消息都给这个项目的团队开一个目标;先用 /repo 选项目",
|
|
325
325
|
"thread": "· /thread —— 切回普通会话",
|
|
326
326
|
"aliases": "中文也行:停 / 继续发送 / 状态 / 新对话 / 会话列表 / 切换会话 / 换模型 / 计划模式 / 换项目 / 建群 / 换团队 / 换对话。",
|
|
327
|
-
"sessions": "· /sessions ——
|
|
328
|
-
"resume": "· /resume
|
|
327
|
+
"sessions": "· /sessions —— 列出本项目的会话;加 /repo 里的项目编号,列出本机器人在别的项目开过的",
|
|
328
|
+
"resume": "· /resume 编号或 id 开头 —— 切会话;别的项目的会话会连同项目一起切",
|
|
329
329
|
"model": "· /model —— 看这个聊天用的模型;/model 编号 或 /model 实例/模型 切换",
|
|
330
330
|
"plan": "· /plan —— 开关计划模式(agent 先出计划、不动手);/plan on、/plan off 明确设定",
|
|
331
331
|
"panel": "发 /panel 打开可点的命令面板。",
|
|
@@ -334,12 +334,18 @@
|
|
|
334
334
|
"syncNote": "· 私聊附着会话后,网页上的用户文字与终态助手文字会同步到此(群聊不同步)。"
|
|
335
335
|
},
|
|
336
336
|
"sessions": {
|
|
337
|
-
"title": "
|
|
338
|
-
"empty": "
|
|
337
|
+
"title": "本项目的会话({{count}} 条):",
|
|
338
|
+
"empty": "本机器人还没在本项目开过会话,发一句话就会开一条。",
|
|
339
339
|
"more": "还有 {{count}} 条没列出——用 /resume 加会话 id 的开头也能切到。",
|
|
340
340
|
"footer": "用 /resume 编号 切换,或 /resume 加会话 id 的开头。",
|
|
341
341
|
"untitled": "(无标题)",
|
|
342
342
|
"unavailable": "现在读不出会话列表,稍后再试。",
|
|
343
|
+
"projectNotFound": "项目编号不存在。发 /repo 看有哪些编号。",
|
|
344
|
+
"projectNumberExpected": "/sessions 后面跟项目编号(/repo 列出的数字),例如 /sessions 2。",
|
|
345
|
+
"project": "项目:「{{title}}」",
|
|
346
|
+
"otherProjectTitle": "本机器人在项目「{{project}}」里开过的会话({{count}} 条):",
|
|
347
|
+
"otherProjectFooter": "你仍在这个聊天当前的项目里。发 /resume 编号,或 /resume 加会话 id 的开头(本机器人开过但没列出的也行),就能切过去,聊天的项目会一起切。",
|
|
348
|
+
"projectEmpty": "本机器人还没在那个项目里开过会话。想在那里开,发 /repo 加那个项目编号换过去,再发一句话。",
|
|
343
349
|
"badge": {
|
|
344
350
|
"current": "★ 当前",
|
|
345
351
|
"running": "● 在跑",
|
|
@@ -355,11 +361,14 @@
|
|
|
355
361
|
},
|
|
356
362
|
"resume": {
|
|
357
363
|
"notFound": "没有哪条会话对得上「{{query}}」。用 /sessions 看看有哪些。",
|
|
364
|
+
"ambiguous": "对得上「{{query}}」的会话不止一条,id 开头再多给几位。",
|
|
358
365
|
"busy": "这个聊天有一轮正在跑——先 /stop,再切换。",
|
|
359
366
|
"already": "这个聊天已经在那条会话里了。",
|
|
360
367
|
"gone": "那条会话已被删除或归档,接不上了。",
|
|
361
368
|
"runningElsewhere": "那条会话正在别的聊天里跑着一轮——先到那边停掉它。",
|
|
362
369
|
"done": "已切到「{{title}}」。发一句话就从那里接着聊。",
|
|
370
|
+
"doneInProject": "已切到项目「{{project}}」的会话「{{title}}」。发一句话就从那里接着聊。",
|
|
371
|
+
"switchFailed": "没能切到那条会话,聊天的项目和会话都没变,稍后重发刚才那条 /resume。",
|
|
363
372
|
"confirmWeb": "「{{title}}」是网页开的会话。再发一次 /resume 同一编号(或 /resume confirm)确认附着;/resume cancel 取消。",
|
|
364
373
|
"cancelled": "已取消附着。",
|
|
365
374
|
"nothingPending": "没有待确认的网页会话。用 /sessions 看看有哪些。"
|
|
@@ -392,6 +401,8 @@
|
|
|
392
401
|
"interrupted": "已中断",
|
|
393
402
|
"continued": "后续见下方卡片"
|
|
394
403
|
},
|
|
404
|
+
"thinking": "正在思考中…",
|
|
405
|
+
"usingTool": "正在使用 {{name}}…",
|
|
395
406
|
"step": {
|
|
396
407
|
"think": "思考",
|
|
397
408
|
"command": "命令",
|
|
@@ -724,11 +735,14 @@
|
|
|
724
735
|
"reference": "参考号 {{referenceId}}"
|
|
725
736
|
},
|
|
726
737
|
"empty": "还没有机器人",
|
|
738
|
+
"emptyGuide": "用「{{larkLabel}}」或「{{wecomLabel}}」扫一下就能建好机器人。其他平台点「{{addBotLabel}}」,填入在该平台开发者后台拿到的凭据。",
|
|
727
739
|
"unavailable": "这台机器现在没有聊天桥。",
|
|
728
740
|
"loadFailed": "聊天桥的设置没能读出来。",
|
|
729
741
|
"retry": "再试一次",
|
|
730
742
|
"general": "通用设置",
|
|
731
743
|
"addBot": "添加机器人",
|
|
744
|
+
"moreSettings": "更多设置",
|
|
745
|
+
"moreSettingsIssues": "更多设置({{count}} 项待修正)",
|
|
732
746
|
"save": "保存",
|
|
733
747
|
"revert": "撤销改动",
|
|
734
748
|
"saveFailed": "没能存上。",
|
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.3236",
|
|
4
4
|
"description": "Talk to your agents from Telegram, WeCom, Lark, or WeChat (experimental).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"im",
|
|
@@ -32,7 +32,7 @@
|
|
|
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.3236",
|
|
36
36
|
"ycodium-react-test-harness": "0.0.0"
|
|
37
37
|
},
|
|
38
38
|
"ycodium": {
|