@ycodium-ai/plugin-im 0.2.3272 → 0.2.3306
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 +12 -4
- package/dist/index.js +7944 -7349
- package/locales/en.json +48 -1
- package/locales/zh-CN.json +48 -1
- package/package.json +2 -2
package/locales/en.json
CHANGED
|
@@ -233,7 +233,9 @@
|
|
|
233
233
|
"noDefaultModel": "Project \"{{title}}\" has no agent selected yet, so a thread cannot be started. Send /model to pick one, or set a default in the project settings, then message again.",
|
|
234
234
|
"projectArchived": "Project \"{{title}}\" is archived. Restore it, or send /repo to pick another project, then message again.",
|
|
235
235
|
"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.",
|
|
236
|
-
"threadGone": "The earlier
|
|
236
|
+
"threadGone": "The earlier thread is no longer available here, so this chat now starts a new one.",
|
|
237
|
+
"threadArchived": "This chat's thread \"{{title}}\" is archived. Messages sent while it is archived are not passed to the agent, not even after it is unarchived. Send /new to start a new thread, or unarchive it on the web or in another client and send again.",
|
|
238
|
+
"threadStillArchived": "The thread is still archived, so this message was not passed to the agent either.",
|
|
237
239
|
"dispatchFailed": "This message couldn't be dispatched. Please send it again later.",
|
|
238
240
|
"turnFailedToStart": "{{message}} Reference {{ref}}.",
|
|
239
241
|
"turnFailedToStartQuoted": "This message (starting with \"{{excerpt}}\") couldn't be dispatched. Please send it again later. Reference {{ref}}.",
|
|
@@ -272,6 +274,8 @@
|
|
|
272
274
|
},
|
|
273
275
|
"approval": {
|
|
274
276
|
"timedOut": "No one handled this within the {{minutes}}-minute limit, so it was denied automatically.",
|
|
277
|
+
"timedOutReason": "No one handled this within the {{minutes}}-minute limit.",
|
|
278
|
+
"timedOutWithSubject": "Approval “{{subject}}”: no one handled it within the {{minutes}}-minute limit, so it was denied automatically.",
|
|
275
279
|
"allow": "Allow",
|
|
276
280
|
"deny": "Deny",
|
|
277
281
|
"alreadyHandled": "Already handled",
|
|
@@ -293,6 +297,8 @@
|
|
|
293
297
|
"submit": "✅ Submit",
|
|
294
298
|
"pickFirst": "Pick at least one option first.",
|
|
295
299
|
"answered": "Answer: {{answer}}",
|
|
300
|
+
"answerWithAttachments": "{{answer}} ({{count}} attached)",
|
|
301
|
+
"attachmentsHeld": "This question only takes the listed options, so {{names}} will be kept and sent with your next message.",
|
|
296
302
|
"elsewhere": "Already answered elsewhere (the web app or another client).",
|
|
297
303
|
"cancelled": "This question was closed without an answer.",
|
|
298
304
|
"alreadyHandled": "Already handled",
|
|
@@ -349,6 +355,42 @@
|
|
|
349
355
|
"current": "Ycodium Chat bridge v{{version}}",
|
|
350
356
|
"usage": "Usage: /version (no arguments)."
|
|
351
357
|
},
|
|
358
|
+
"batch": {
|
|
359
|
+
"usage": "Usage: /{{command}} (no arguments).",
|
|
360
|
+
"noSubmission": "There is no batch to submit. Send /batch first.",
|
|
361
|
+
"noBatch": "There is no batch input in progress.",
|
|
362
|
+
"commandTextOnly": "Batch input commands take text only. Remove the images or files and send it again.",
|
|
363
|
+
"started": "Batch input mode is on. Send up to {{limit}} text messages; each one is collected without a reply until you submit, and restarting Ycodium clears them.\nWhen finished, send /send; to cancel, send /cancel.",
|
|
364
|
+
"progress": "Batch input mode is already on, with {{count}}/{{limit}} messages collected.\nWhen finished, send /send; to cancel, send /cancel.",
|
|
365
|
+
"progressFull": "Batch input mode is already on, with {{count}}/{{limit}} messages collected; the batch is full.\nSend /send to submit or /cancel to cancel.",
|
|
366
|
+
"submittingSend": "This batch is being submitted. Do not send /send again.",
|
|
367
|
+
"submittingCancel": "The batch has already been submitted and cannot be cancelled.\nTo stop the current task, send /stop.",
|
|
368
|
+
"submittingBatch": "This batch is being submitted. Wait until it finishes before starting another batch.",
|
|
369
|
+
"cancelledEmpty": "Batch input cancelled.",
|
|
370
|
+
"cancelled": "Batch input cancelled; {{count}} messages discarded.",
|
|
371
|
+
"empty": "This batch has no content yet. Send text first, or use /cancel to cancel.",
|
|
372
|
+
"introduction": "The user sent the following messages through batch input mode. Process them in order together as a single input.",
|
|
373
|
+
"message": "[Message {{index}}]",
|
|
374
|
+
"textOnly": "Batch input mode currently supports text only, not images or files. This message was not collected.\nKeep sending text, or use /send or /cancel.",
|
|
375
|
+
"blockedCommand": "Batch input is in progress, so that command was not run.\nSend /send to submit, or /cancel to cancel (this discards the collected messages), then resend the command.",
|
|
376
|
+
"full": "This batch is full. This message was not collected.\nSend /send to submit or /cancel to cancel first, then resend this message.",
|
|
377
|
+
"reachedLimit": "Collected {{count}}/{{limit}} messages; the batch is full.\nSend /send to submit or /cancel to cancel.",
|
|
378
|
+
"failed": "Could not submit the batch. All {{count}} messages were kept.\nSend /send again to retry or /cancel to cancel.",
|
|
379
|
+
"noProject": "Pick a project with /repo before starting batch input.",
|
|
380
|
+
"projectArchived": "Project “{{title}}” is archived, so nothing was submitted; the batch was kept.\nUnarchive it in the web app or another client, then send /send again.\nTo use another project, send /cancel (this discards the collected messages), pick one with /repo, then start again with /batch.",
|
|
381
|
+
"threadArchived": "This chat's thread “{{title}}” is archived, so nothing was submitted; the batch was kept.\nUnarchive it in the web app or another client, then send /send again.\nTo start a new thread, send /cancel (this discards the collected messages), then /new, then start again with /batch.",
|
|
382
|
+
"projectMissing": "This chat's project is no longer on this machine, so nothing was submitted; the batch was kept.\nTo use another project, send /cancel (this discards the collected messages), pick one with /repo, then start again with /batch.",
|
|
383
|
+
"teamTarget": "Batch input is not available while this chat talks to a team. Send /thread to switch back, then /batch.",
|
|
384
|
+
"privateOnly": "Batch input mode only works in private chats. Open a direct chat with the bot to use it.",
|
|
385
|
+
"busy": "This chat has a running task, an unanswered question or a pending approval.\nFinish the current interaction or send /stop before using /batch."
|
|
386
|
+
},
|
|
387
|
+
"steer": {
|
|
388
|
+
"usage": "Usage: /steer instruction.",
|
|
389
|
+
"textOnly": "/steer takes text only. Remove the images or files and send it again.",
|
|
390
|
+
"pending": "The current turn is waiting for your answer or approval, so the instruction was not sent. Handle that first, or send /stop, then send /steer again.",
|
|
391
|
+
"noTurn": "Nothing is running, so the instruction was not sent. Send it as a normal message to start a new turn.",
|
|
392
|
+
"sent": "Sent. If the current turn is still running, the agent reads it at its next step; if that turn just ended, it is handled as your next message."
|
|
393
|
+
},
|
|
352
394
|
"compact": {
|
|
353
395
|
"usage": "Usage: /compact (no arguments).",
|
|
354
396
|
"busy": "A reply is in progress. Wait until this turn finishes, then send /compact again.",
|
|
@@ -369,6 +411,10 @@
|
|
|
369
411
|
"title": "Commands:",
|
|
370
412
|
"continue": "· /continue — resume sending after /stop or a failure paused it; the waiting messages go out",
|
|
371
413
|
"stop": "· /stop — stop the turn that is running; the session stays",
|
|
414
|
+
"steer": "· /steer instruction — steer: add it to the turn that is running",
|
|
415
|
+
"batch": "· /batch — collect up to {{limit}} text messages in a private chat",
|
|
416
|
+
"send": "· /send — submit the collected messages as one input",
|
|
417
|
+
"cancel": "· /cancel — cancel batch input and discard its messages",
|
|
372
418
|
"compact": "· /compact — compact the current session's context (no arguments)",
|
|
373
419
|
"status": "· /status — what is going on right now",
|
|
374
420
|
"version": "· /version — the chat bridge's version (no arguments)",
|
|
@@ -552,6 +598,7 @@
|
|
|
552
598
|
"approval": {
|
|
553
599
|
"doneTitle": "Handled",
|
|
554
600
|
"timedOutTitle": "Denied automatically",
|
|
601
|
+
"originalLabel": "Original approval:",
|
|
555
602
|
"chosen": "Chosen: {{label}}",
|
|
556
603
|
"elsewhere": "Already handled elsewhere (the web app or another client)."
|
|
557
604
|
}
|
package/locales/zh-CN.json
CHANGED
|
@@ -233,7 +233,9 @@
|
|
|
233
233
|
"noDefaultModel": "项目「{{title}}」还没选 agent,开不了会话。发 /model 选一个,或者到项目设置里设个默认,再发一次消息。",
|
|
234
234
|
"projectArchived": "项目「{{title}}」已归档。恢复它,或发 /repo 换个项目,再发消息。",
|
|
235
235
|
"projectMissing": "这个聊天原来做的项目已经不在这台机器上了(可能被删了),开不了会话。发 /repo 重新选一个。",
|
|
236
|
-
"threadGone": "
|
|
236
|
+
"threadGone": "之前那条会话用不了了,这个聊天改为开一条新会话。",
|
|
237
|
+
"threadArchived": "这个聊天的会话「{{title}}」已归档,归档期间发来的消息不会交给 agent,取消归档后也不会补交。发 /new 开一条新会话,或在网页或其他客户端里取消归档后再发。",
|
|
238
|
+
"threadStillArchived": "会话仍是归档状态,这句也没有交给 agent。",
|
|
237
239
|
"dispatchFailed": "这条消息没能派出去,请稍后重发。",
|
|
238
240
|
"turnFailedToStart": "{{message}}参考号 {{ref}}。",
|
|
239
241
|
"turnFailedToStartQuoted": "这条消息(开头是「{{excerpt}}」)没能派出去,请稍后重发。参考号 {{ref}}。",
|
|
@@ -272,6 +274,8 @@
|
|
|
272
274
|
},
|
|
273
275
|
"approval": {
|
|
274
276
|
"timedOut": "{{minutes}} 分钟时限内没人处理,已自动拒绝。",
|
|
277
|
+
"timedOutReason": "{{minutes}} 分钟时限内没人处理。",
|
|
278
|
+
"timedOutWithSubject": "审批「{{subject}}」:{{minutes}} 分钟时限内没人处理,已自动拒绝。",
|
|
275
279
|
"allow": "允许",
|
|
276
280
|
"deny": "拒绝",
|
|
277
281
|
"alreadyHandled": "已处理",
|
|
@@ -293,6 +297,8 @@
|
|
|
293
297
|
"submit": "✅ 提交",
|
|
294
298
|
"pickFirst": "先选一项再提交。",
|
|
295
299
|
"answered": "回答:{{answer}}",
|
|
300
|
+
"answerWithAttachments": "{{answer}}(带 {{count}} 个附件)",
|
|
301
|
+
"attachmentsHeld": "这道题只能从选项里选,{{names}} 先留着,会跟你下一条消息一起发出。",
|
|
296
302
|
"elsewhere": "已在别处回答(网页或其他客户端)。",
|
|
297
303
|
"cancelled": "这道提问已结束,没有收到回答。",
|
|
298
304
|
"alreadyHandled": "已处理",
|
|
@@ -349,6 +355,42 @@
|
|
|
349
355
|
"current": "Ycodium 聊天桥 v{{version}}",
|
|
350
356
|
"usage": "用法:/version(不带参数)。"
|
|
351
357
|
},
|
|
358
|
+
"batch": {
|
|
359
|
+
"usage": "用法:/{{command}}(不带参数)。",
|
|
360
|
+
"noSubmission": "当前没有待提交的批次,请先发送 /batch。",
|
|
361
|
+
"noBatch": "当前没有正在进行的批量输入。",
|
|
362
|
+
"commandTextOnly": "批量输入命令只支持文字,去掉图片或文件后再发。",
|
|
363
|
+
"started": "已进入批量输入模式,最多可发送 {{limit}} 条文字;收集期间不逐条回复,Ycodium 重启会清空已收集的内容。\n完成后发送 /send,取消请发送 /cancel。",
|
|
364
|
+
"progress": "当前已处于批量输入模式,已收集 {{count}}/{{limit}} 条。\n完成后发送 /send,取消请发送 /cancel。",
|
|
365
|
+
"progressFull": "当前已处于批量输入模式,已收集 {{count}}/{{limit}} 条,批次已满。\n请发送 /send 提交或 /cancel 取消。",
|
|
366
|
+
"submittingSend": "当前批次正在提交,请勿重复发送 /send。",
|
|
367
|
+
"submittingCancel": "批次已经提交,无法取消。\n如需停止当前任务,请发送 /stop。",
|
|
368
|
+
"submittingBatch": "当前批次正在提交,请等待处理完成后再开启新批次。",
|
|
369
|
+
"cancelledEmpty": "已取消批量输入。",
|
|
370
|
+
"cancelled": "已取消批量输入,共丢弃 {{count}} 条消息。",
|
|
371
|
+
"empty": "当前批次还没有内容,请先发送文字,或使用 /cancel 取消。",
|
|
372
|
+
"introduction": "以下是用户通过批量输入模式发送的多条内容,请按顺序作为同一次输入统一处理。",
|
|
373
|
+
"message": "[消息 {{index}}]",
|
|
374
|
+
"textOnly": "批量输入模式目前只支持文字,不支持图片或文件,这条消息没有被收集。\n请继续发送文字,或使用 /send、/cancel。",
|
|
375
|
+
"blockedCommand": "当前正在批量输入,这条命令没有被执行。\n请先发送 /send 提交,或 /cancel 取消(会丢弃已收集的消息),然后再发送刚才的命令。",
|
|
376
|
+
"full": "当前批次已满,这条消息没有被收集。\n请先发送 /send 提交或 /cancel 取消,然后重新发送这条消息。",
|
|
377
|
+
"reachedLimit": "已收集 {{count}}/{{limit}} 条,批次已满。\n请发送 /send 提交或 /cancel 取消。",
|
|
378
|
+
"failed": "批次提交失败,已保留 {{count}} 条消息。\n请再次发送 /send 重试或 /cancel 取消。",
|
|
379
|
+
"noProject": "先用 /repo 选好项目,再开始批量输入。",
|
|
380
|
+
"projectArchived": "项目「{{title}}」已归档,这次没有提交,批次已保留。\n在网页或其他客户端里取消归档后,可以再发 /send。\n要换项目,先发 /cancel(会丢弃已收集的消息),用 /repo 选好项目后再重新 /batch。",
|
|
381
|
+
"threadArchived": "这个聊天的会话「{{title}}」已归档,这次没有提交,批次已保留。\n在网页或其他客户端里取消归档后,可以再发 /send。\n要开新会话,先发 /cancel(会丢弃已收集的消息),再发 /new,然后重新 /batch。",
|
|
382
|
+
"projectMissing": "这个聊天的项目已经不在这台机器上了,这次没有提交,批次已保留。\n要换项目,先发 /cancel(会丢弃已收集的消息),用 /repo 选好项目后再重新 /batch。",
|
|
383
|
+
"teamTarget": "批量输入不支持团队会话。请先发 /thread 切回普通会话,再发 /batch。",
|
|
384
|
+
"privateOnly": "批量输入模式只支持私聊,请在与机器人的私聊中使用。",
|
|
385
|
+
"busy": "当前聊天有正在运行的任务、待回答问题或待审批请求。\n请先完成当前交互或发送 /stop,再使用 /batch。"
|
|
386
|
+
},
|
|
387
|
+
"steer": {
|
|
388
|
+
"usage": "用法:/steer 补充指令。",
|
|
389
|
+
"textOnly": "/steer 只支持文字,去掉图片或文件后再发。",
|
|
390
|
+
"pending": "当前这一轮在等你的回答或审批,补充指令没发出。先处理完(或者发 /stop),然后再发一次 /steer。",
|
|
391
|
+
"noTurn": "现在没有正在跑的这一轮,补充指令没发出。直接发消息就能开始新的一轮。",
|
|
392
|
+
"sent": "补充指令已发出:这一轮还在跑就会在下一步读到,刚结束的话会作为下一条消息处理。"
|
|
393
|
+
},
|
|
352
394
|
"compact": {
|
|
353
395
|
"usage": "用法:/compact(不带参数)。",
|
|
354
396
|
"busy": "正在回复,等这一轮结束后再发一次 /compact。",
|
|
@@ -369,6 +411,10 @@
|
|
|
369
411
|
"title": "能用的命令:",
|
|
370
412
|
"continue": "· /continue —— /stop 或出错暂停了发送之后,用它恢复,排着的消息继续发出",
|
|
371
413
|
"stop": "· /stop —— 停掉正在跑的这一轮,会话留着",
|
|
414
|
+
"steer": "· /steer 补充指令 —— 插话:给正在跑的这一轮补一句",
|
|
415
|
+
"batch": "· /batch —— 在私聊中收集最多 {{limit}} 条文字",
|
|
416
|
+
"send": "· /send —— 将已收集的消息作为一次输入提交",
|
|
417
|
+
"cancel": "· /cancel —— 取消批量输入并丢弃消息",
|
|
372
418
|
"compact": "· /compact —— 压缩当前会话的上下文(不带参数)",
|
|
373
419
|
"status": "· /status —— 现在在干什么",
|
|
374
420
|
"version": "· /version —— 聊天桥的版本(不带参数)",
|
|
@@ -552,6 +598,7 @@
|
|
|
552
598
|
"approval": {
|
|
553
599
|
"doneTitle": "已处理",
|
|
554
600
|
"timedOutTitle": "已自动拒绝",
|
|
601
|
+
"originalLabel": "原审批内容:",
|
|
555
602
|
"chosen": "已选:{{label}}",
|
|
556
603
|
"elsewhere": "已在别处处理(网页或其他客户端)。"
|
|
557
604
|
}
|
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.3306",
|
|
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.3306",
|
|
36
36
|
"ycodium-react-test-harness": "0.0.0"
|
|
37
37
|
},
|
|
38
38
|
"ycodium": {
|