@ycodium-ai/plugin-im 0.2.2596 → 0.2.2634
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 +28 -6
- package/dist/index.js +1118 -11
- package/locales/en.json +44 -1
- package/locales/zh-CN.json +44 -1
- package/package.json +7 -3
package/locales/en.json
CHANGED
|
@@ -90,6 +90,44 @@
|
|
|
90
90
|
"alreadyHandled": "Already handled",
|
|
91
91
|
"replyHint": "Reply with the number."
|
|
92
92
|
},
|
|
93
|
+
"question": {
|
|
94
|
+
"title": "❓ Question",
|
|
95
|
+
"planTitle": "📝 Plan review",
|
|
96
|
+
"freeformHint": "Or reply with a message to answer in your own words.",
|
|
97
|
+
"replyOne": "Reply with the number.",
|
|
98
|
+
"replyMany": "Reply with the numbers, separated by commas.",
|
|
99
|
+
"submit": "✅ Submit",
|
|
100
|
+
"pickFirst": "Pick at least one option first.",
|
|
101
|
+
"answered": "Answer: {{answer}}",
|
|
102
|
+
"elsewhere": "Already answered elsewhere (the web app or another client).",
|
|
103
|
+
"cancelled": "This question was closed without an answer.",
|
|
104
|
+
"alreadyHandled": "Already handled",
|
|
105
|
+
"sendFailed": "Could not hand your answer to the agent. The question may have been answered elsewhere or already closed."
|
|
106
|
+
},
|
|
107
|
+
"queue": {
|
|
108
|
+
"title": "⏳ Queued",
|
|
109
|
+
"waitRunning": "It goes out when the current reply finishes. To add it to the reply in progress now, tap Steer.",
|
|
110
|
+
"waitPaused": "Sending is paused (the last reply was stopped or failed). Tap Resume sending to carry on.",
|
|
111
|
+
"waitIdle": "It goes out shortly.",
|
|
112
|
+
"steer": "➡️ Steer",
|
|
113
|
+
"withdraw": "↩️ Withdraw",
|
|
114
|
+
"resume": "▶️ Resume sending",
|
|
115
|
+
"steeringTitle": "⏳ Steering…",
|
|
116
|
+
"steering": "💬 Adding it to the current reply…",
|
|
117
|
+
"sendingTitle": "📤 Sending…",
|
|
118
|
+
"sending": "Sending it now.",
|
|
119
|
+
"steeredTitle": "✅ Steered",
|
|
120
|
+
"steered": "Added to the current reply.",
|
|
121
|
+
"sentTitle": "📤 Sent",
|
|
122
|
+
"sent": "It went out as its own turn.",
|
|
123
|
+
"removedTitle": "🗑️ Withdrawn",
|
|
124
|
+
"removed": "Withdrawn. It will not be sent.",
|
|
125
|
+
"steerFailed": "Could not add it to the current reply (the reply may have just ended or changed). It stays queued and goes out when the reply finishes.",
|
|
126
|
+
"withdrawFailed": "Could not withdraw it: it has already started sending.",
|
|
127
|
+
"resumeFailed": "Could not resume sending. Try again in a moment.",
|
|
128
|
+
"alreadyHandled": "Already handled",
|
|
129
|
+
"plainNotice": "Queued: this message goes out when the current reply finishes."
|
|
130
|
+
},
|
|
93
131
|
"command": {
|
|
94
132
|
"teamSelected": "OK. From now on messages go to \"{{title}}\".",
|
|
95
133
|
"threadSelected": "OK. From now on messages start a normal session.",
|
|
@@ -98,6 +136,9 @@
|
|
|
98
136
|
"newSession": "OK. The next message starts a new session.",
|
|
99
137
|
"stopNoSession": "Nothing is running in this group.",
|
|
100
138
|
"stopNoTurn": "No turn is running right now.",
|
|
139
|
+
"continued": "Resumed. The waiting messages are being sent.",
|
|
140
|
+
"continueNothing": "Nothing to resume: sending is not paused in this group.",
|
|
141
|
+
"continueFailed": "Could not resume sending. Try again in a moment.",
|
|
101
142
|
"stopped": "Stopped. The session is still there — just keep talking."
|
|
102
143
|
},
|
|
103
144
|
"status": {
|
|
@@ -119,12 +160,13 @@
|
|
|
119
160
|
},
|
|
120
161
|
"help": {
|
|
121
162
|
"title": "Commands:",
|
|
163
|
+
"continue": "· /continue — resume sending after /stop or a failure paused it; the waiting messages go out",
|
|
122
164
|
"stop": "· /stop — stop the turn that is running; the session stays",
|
|
123
165
|
"status": "· /status — what is going on right now",
|
|
124
166
|
"new": "· /new — forget the current session; the next message starts a new one",
|
|
125
167
|
"team": "· /team name — send the next messages to a team; /team alone lists the teams",
|
|
126
168
|
"thread": "· /thread — go back to a normal session",
|
|
127
|
-
"aliases": "Chinese shortcuts (停 / 状态 / 新对话 / 会话列表 / 切换会话 / 换模型 / 计划模式 / 换团队 / 换对话) work when the reply language is Chinese.",
|
|
169
|
+
"aliases": "Chinese shortcuts (停 / 继续发送 / 状态 / 新对话 / 会话列表 / 切换会话 / 换模型 / 计划模式 / 换团队 / 换对话) work when the reply language is Chinese.",
|
|
128
170
|
"sessions": "· /sessions — list the sessions this bot opened for this group's project",
|
|
129
171
|
"resume": "· /resume number — switch to one of them (a number from /sessions, or the start of its id)",
|
|
130
172
|
"model": "· /model — see the model this group uses; /model number or /model instance/model switches it",
|
|
@@ -213,6 +255,7 @@
|
|
|
213
255
|
},
|
|
214
256
|
"cmd": {
|
|
215
257
|
"new": "New session",
|
|
258
|
+
"continue": "Resume sending",
|
|
216
259
|
"stop": "Stop this turn",
|
|
217
260
|
"sessions": "Sessions",
|
|
218
261
|
"team": "Send to a team",
|
package/locales/zh-CN.json
CHANGED
|
@@ -90,6 +90,44 @@
|
|
|
90
90
|
"alreadyHandled": "已处理",
|
|
91
91
|
"replyHint": "回复编号即可。"
|
|
92
92
|
},
|
|
93
|
+
"question": {
|
|
94
|
+
"title": "❓ 提问",
|
|
95
|
+
"planTitle": "📝 计划确认",
|
|
96
|
+
"freeformHint": "也可以直接回复一条消息,用自己的话作答。",
|
|
97
|
+
"replyOne": "回复编号即可。",
|
|
98
|
+
"replyMany": "回复编号,多个用逗号隔开。",
|
|
99
|
+
"submit": "✅ 提交",
|
|
100
|
+
"pickFirst": "先选一项再提交。",
|
|
101
|
+
"answered": "回答:{{answer}}",
|
|
102
|
+
"elsewhere": "已在别处回答(网页或其他客户端)。",
|
|
103
|
+
"cancelled": "这道提问已结束,没有收到回答。",
|
|
104
|
+
"alreadyHandled": "已处理",
|
|
105
|
+
"sendFailed": "没能把你的回答交给 agent。这道提问可能已在别处回答,或已经结束。"
|
|
106
|
+
},
|
|
107
|
+
"queue": {
|
|
108
|
+
"title": "⏳ 已排队",
|
|
109
|
+
"waitRunning": "当前这一轮回复结束后自动发出。想现在就送进正在进行的这一轮,点「插话」。",
|
|
110
|
+
"waitPaused": "发送已暂停(上一轮被停止或出错了)。点「恢复发送」继续。",
|
|
111
|
+
"waitIdle": "马上发出。",
|
|
112
|
+
"steer": "➡️ 插话",
|
|
113
|
+
"withdraw": "↩️ 撤回",
|
|
114
|
+
"resume": "▶️ 恢复发送",
|
|
115
|
+
"steeringTitle": "⏳ 插话中…",
|
|
116
|
+
"steering": "💬 正在送进当前这一轮…",
|
|
117
|
+
"sendingTitle": "📤 发送中…",
|
|
118
|
+
"sending": "正在发出。",
|
|
119
|
+
"steeredTitle": "✅ 已插话",
|
|
120
|
+
"steered": "已送进当前这一轮。",
|
|
121
|
+
"sentTitle": "📤 已发送",
|
|
122
|
+
"sent": "已作为单独的一轮发出。",
|
|
123
|
+
"removedTitle": "🗑️ 已撤回",
|
|
124
|
+
"removed": "已撤回,不会发出。",
|
|
125
|
+
"steerFailed": "没能送进当前这一轮(这一轮可能刚结束或已经换了)。消息仍在排队,这一轮结束后发出。",
|
|
126
|
+
"withdrawFailed": "没能撤回:这条消息已经开始发送了。",
|
|
127
|
+
"resumeFailed": "没能恢复发送,稍后再试。",
|
|
128
|
+
"alreadyHandled": "已处理",
|
|
129
|
+
"plainNotice": "已排队:当前这一轮回复结束后发出。"
|
|
130
|
+
},
|
|
93
131
|
"command": {
|
|
94
132
|
"teamSelected": "好,接下来派给「{{title}}」。",
|
|
95
133
|
"threadSelected": "好,接下来开普通会话。",
|
|
@@ -98,6 +136,9 @@
|
|
|
98
136
|
"newSession": "好,下一句话开一条新会话。",
|
|
99
137
|
"stopNoSession": "这个群现在没有在跑的活儿。",
|
|
100
138
|
"stopNoTurn": "现在没有在跑的一轮。",
|
|
139
|
+
"continued": "已恢复,排着的消息开始发送。",
|
|
140
|
+
"continueNothing": "没有可恢复的:这个群的发送没有被暂停。",
|
|
141
|
+
"continueFailed": "没能恢复发送,稍后再试。",
|
|
101
142
|
"stopped": "停了。会话还在,接着说就行。"
|
|
102
143
|
},
|
|
103
144
|
"status": {
|
|
@@ -119,12 +160,13 @@
|
|
|
119
160
|
},
|
|
120
161
|
"help": {
|
|
121
162
|
"title": "能用的命令:",
|
|
163
|
+
"continue": "· /continue —— /stop 或出错暂停了发送之后,用它恢复,排着的消息继续发出",
|
|
122
164
|
"stop": "· /stop —— 停掉正在跑的这一轮,会话留着",
|
|
123
165
|
"status": "· /status —— 现在在干什么",
|
|
124
166
|
"new": "· /new —— 忘掉当前会话,下一句开新的",
|
|
125
167
|
"team": "· /team 队名 —— 把接下来的活派给一支队;/team 不带名字看有哪些队",
|
|
126
168
|
"thread": "· /thread —— 切回普通会话",
|
|
127
|
-
"aliases": "中文也行:停 / 状态 / 新对话 / 会话列表 / 切换会话 / 换模型 / 计划模式 / 换团队 / 换对话。",
|
|
169
|
+
"aliases": "中文也行:停 / 继续发送 / 状态 / 新对话 / 会话列表 / 切换会话 / 换模型 / 计划模式 / 换团队 / 换对话。",
|
|
128
170
|
"sessions": "· /sessions —— 列出本机器人为这个群的项目开过的会话",
|
|
129
171
|
"resume": "· /resume 编号 —— 切到其中一条(/sessions 里的编号,或会话 id 的开头)",
|
|
130
172
|
"model": "· /model —— 看这个群用的模型;/model 编号 或 /model 实例/模型 切换",
|
|
@@ -213,6 +255,7 @@
|
|
|
213
255
|
},
|
|
214
256
|
"cmd": {
|
|
215
257
|
"new": "新会话",
|
|
258
|
+
"continue": "恢复发送",
|
|
216
259
|
"stop": "停止本轮",
|
|
217
260
|
"sessions": "会话列表",
|
|
218
261
|
"team": "派给团队",
|
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.2634",
|
|
4
4
|
"description": "Talk to your agents from Telegram, WeCom or Lark.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"im",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"esbuild": "0.28.1",
|
|
28
28
|
"markdown-it": "^15.0.2",
|
|
29
29
|
"vite-plus": "0.2.2",
|
|
30
|
-
"@ycodium-ai/plugin-api": "0.2.
|
|
30
|
+
"@ycodium-ai/plugin-api": "0.2.2634"
|
|
31
31
|
},
|
|
32
32
|
"ycodium": {
|
|
33
33
|
"plugin": "./dist/index.js",
|
|
@@ -42,7 +42,11 @@
|
|
|
42
42
|
"thread.meta.update",
|
|
43
43
|
"thread.turn.start",
|
|
44
44
|
"thread.turn.interrupt",
|
|
45
|
-
"thread.approval.respond"
|
|
45
|
+
"thread.approval.respond",
|
|
46
|
+
"thread.user-input.respond",
|
|
47
|
+
"thread.turn-intent.run",
|
|
48
|
+
"thread.turn-intent.cancel",
|
|
49
|
+
"thread.turn-queue.resume"
|
|
46
50
|
]
|
|
47
51
|
}
|
|
48
52
|
]
|