dsh-rayrun-bots 0.1.1-alpha → 0.1.1-alpha.2
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 +111 -255
- package/client.js +570 -146
- package/cloud-host/README.md +7 -1
- package/cloud-host/lib/host.mjs +13 -0
- package/cloud-host/lib/proposal.mjs +13 -6
- package/index.js +79 -10
- package/lib/cloud-host-runtime.js +19 -3
- package/lib/computer-update.js +322 -0
- package/lib/dependency.js +19 -0
- package/lib/errors.js +3 -0
- package/lib/rayrun-detached-runtime.js +128 -6
- package/lib/sessions.js +147 -9
- package/lib/update-check.js +117 -0
- package/locale/en.json +73 -25
- package/locale/zh.json +73 -25
- package/package.json +1 -1
package/locale/en.json
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "Rayrun Bot",
|
|
4
|
-
"description": "Adds a Bots entry and the v0.1 three-column shell: chat list, conversation with approval cards, details, setup and settings.
|
|
4
|
+
"description": "Adds a Bots entry and the v0.1 three-column shell: chat list, conversation with approval cards, details, setup and settings. Real bots and sessions run on your own Rayrun cloud computer. Sample data is available only in the explicit ?preview=1 demo."
|
|
5
5
|
},
|
|
6
6
|
"panel": {
|
|
7
7
|
"label": "Bots"
|
|
8
8
|
},
|
|
9
9
|
"brand": "Rayrun Bot",
|
|
10
10
|
"preview": {
|
|
11
|
-
"badge": "Preview"
|
|
11
|
+
"badge": "Preview",
|
|
12
|
+
"demoBadge": "Demo",
|
|
13
|
+
"sample": "Sample",
|
|
14
|
+
"demoBanner": "Demo data. Nothing here is real.",
|
|
15
|
+
"demoSnippet": "Sample conversation"
|
|
12
16
|
},
|
|
13
17
|
"chat": {
|
|
14
18
|
"working": "Working…",
|
|
@@ -21,15 +25,18 @@
|
|
|
21
25
|
"sendFailed": "Could not send. Try again.",
|
|
22
26
|
"runtimeUnavailable": "The cloud runtime is unavailable. Install dsh-rayrun-computer and reload DSH.",
|
|
23
27
|
"connectRayrun": "Connect Rayrun in setup before sending.",
|
|
24
|
-
"noComputer": "No cloud computer yet. Create one in setup first.",
|
|
25
28
|
"machineBusy": "The cloud computer is busy. Try again shortly.",
|
|
26
29
|
"balanceLow": "The Rayrun balance is low. Add credit before sending.",
|
|
27
30
|
"queueFull": "Too many messages are queued. Wait for a reply.",
|
|
28
31
|
"messageInvalid": "That message can't be sent: it is empty, too long, or invalid.",
|
|
29
32
|
"historyFailed": "Could not load this conversation. Reload the page to retry.",
|
|
30
|
-
"turnTimeout": "The cloud turn
|
|
33
|
+
"turnTimeout": "The page stopped waiting, but the cloud turn may still be running. Refresh to check the result.",
|
|
31
34
|
"turnInterrupted": "The previous turn was interrupted. Send it again.",
|
|
32
|
-
"errorTitle": "Turn failed"
|
|
35
|
+
"errorTitle": "Turn failed",
|
|
36
|
+
"machineStopped": "Your cloud computer is stopped or unavailable. Open it from Details or the cloud-computer plugin, then send again.",
|
|
37
|
+
"imageUnsupported": "This cloud computer image is missing or does not start a DSH worker, so no task was started. Use an image such as deepseek-harness@1.",
|
|
38
|
+
"imageOutdated": "This cloud computer's image is too old for the cloud bot host. Update the computer in Settings → Bot, then send again.",
|
|
39
|
+
"workerNoReply": "The cloud worker ended without writing reply.md. Check its session for the provider error; a missing DeepSeek credential (MISSING_CREDENTIAL) prevents a reply. Add a model credential or recreate the computer with one."
|
|
33
40
|
},
|
|
34
41
|
"list": {
|
|
35
42
|
"search": "Search",
|
|
@@ -78,7 +85,18 @@
|
|
|
78
85
|
"waitingSide": "Waiting to execute",
|
|
79
86
|
"failedSide": "Execution failed",
|
|
80
87
|
"continue": "Continue bot",
|
|
81
|
-
"continuePrompt": "Continue from the approval result above. Do not repeat the approved action; ask before another controlled action."
|
|
88
|
+
"continuePrompt": "Continue from the approval result above. Do not repeat the approved action; ask before another controlled action.",
|
|
89
|
+
"riskStart": "Starts your computer and spends machine time.",
|
|
90
|
+
"riskResume": "Resumes your computer and spends machine time.",
|
|
91
|
+
"riskStop": "Stops your computer. Running work stops.",
|
|
92
|
+
"riskPause": "Pauses your computer. Running work pauses.",
|
|
93
|
+
"riskUnknown": "Approves a controlled action on your computer.",
|
|
94
|
+
"parseError": "The bot's approval request could not be parsed. No action was requested.",
|
|
95
|
+
"expiredRunning": "This background request expired, but your cloud computer may still be running.",
|
|
96
|
+
"stopComputer": "Stop computer",
|
|
97
|
+
"stopConfirm": "Stop the cloud computer? Running work will stop.",
|
|
98
|
+
"stopConfirmAction": "Stop",
|
|
99
|
+
"cancel": "Cancel"
|
|
82
100
|
},
|
|
83
101
|
"draft": {
|
|
84
102
|
"send": "Send",
|
|
@@ -134,7 +152,6 @@
|
|
|
134
152
|
"reconnecting": "reconnecting…",
|
|
135
153
|
"unreachable": "Couldn't reach the computer.",
|
|
136
154
|
"sleeping": "sleeping",
|
|
137
|
-
"takeOver": "Take over",
|
|
138
155
|
"open": "Open",
|
|
139
156
|
"view": "View",
|
|
140
157
|
"onComputer": "On the computer · {where}",
|
|
@@ -150,26 +167,32 @@
|
|
|
150
167
|
"stopTimeout": "The computer is still stopping.",
|
|
151
168
|
"stopFailed": "Could not stop the computer: {message}",
|
|
152
169
|
"connectFirst": "Connect Rayrun first (Settings → Set up).",
|
|
153
|
-
"popupBlocked": "
|
|
170
|
+
"popupBlocked": "Pop-ups are blocked. Open the desktop from the link below.",
|
|
154
171
|
"starting": "Starting the computer…",
|
|
155
172
|
"startTimeout": "The computer did not start in time.",
|
|
156
173
|
"noDesktop": "This computer has no remote desktop.",
|
|
157
174
|
"openFailed": "Could not open the computer: {message}",
|
|
158
175
|
"opened": "Computer opened in a new tab.",
|
|
176
|
+
"openDesktop": "Open desktop",
|
|
159
177
|
"passwordTitle": "Desktop password",
|
|
160
178
|
"passwordBody": "Use this password on the desktop page.",
|
|
161
179
|
"passwordEmpty": "No desktop password found.",
|
|
162
180
|
"copy": "Copy",
|
|
163
181
|
"copied": "Copied",
|
|
164
182
|
"copyFailed": "Copy failed. Select the password manually.",
|
|
165
|
-
"close": "Close"
|
|
183
|
+
"close": "Close",
|
|
184
|
+
"hostManaged": "Managed by host",
|
|
185
|
+
"burnLine": "Running now · {rate}/h · {hours} machine-hours to date",
|
|
186
|
+
"image": "Image · {image}",
|
|
187
|
+
"imageUnread": "Image could not be read. Detached turns will not start until it is known."
|
|
166
188
|
},
|
|
167
189
|
"notice": {
|
|
168
190
|
"recovering": "The bot host is restarting. This conversation resumes on its own.",
|
|
169
191
|
"reconnecting": "Computer reconnecting… retrying in 5s",
|
|
170
192
|
"sleeping": "Computer is sleeping. Open it in the cloud-computer plugin to wake it.",
|
|
171
|
-
"attach": "Attachments
|
|
172
|
-
"preview": "In-memory preview. Nothing on this page is saved, and approvals are not sent to a worker."
|
|
193
|
+
"attach": "Attachments are not available yet.",
|
|
194
|
+
"preview": "In-memory preview. Nothing on this page is saved, and approvals are not sent to a worker.",
|
|
195
|
+
"cloud": "Bots run on your own Rayrun cloud computer. Approval decisions stay on your local host."
|
|
173
196
|
},
|
|
174
197
|
"composer": {
|
|
175
198
|
"placeholder": "Message {name}…",
|
|
@@ -178,8 +201,8 @@
|
|
|
178
201
|
},
|
|
179
202
|
"usage": {
|
|
180
203
|
"balanceLine": "Balance {balance} · {hours} machine-hours",
|
|
181
|
-
"weekLine": "This week {spend}
|
|
182
|
-
"liveLine": "Live from your Rayrun account
|
|
204
|
+
"weekLine": "This week {spend}",
|
|
205
|
+
"liveLine": "Live from your Rayrun account",
|
|
183
206
|
"sampleBalance": "¥41.20",
|
|
184
207
|
"sampleHours": "38.4",
|
|
185
208
|
"sampleSpend": "¥6.80"
|
|
@@ -252,21 +275,22 @@
|
|
|
252
275
|
"computerLoadFailed": "Could not read your Rayrun computers: {message}",
|
|
253
276
|
"computerName": "Computer name",
|
|
254
277
|
"computerKeyPlaceholder": "Paste a DeepSeek API key (optional)",
|
|
255
|
-
"computerKeyHint": "
|
|
278
|
+
"computerKeyHint": "New computers need a DeepSeek credential for cloud DSH turns. Leave this blank only if this computer or your Rayrun defaults already provide one.",
|
|
256
279
|
"computerCreate": "Create cloud computer",
|
|
257
280
|
"computerCreating": "Creating… about 15 seconds",
|
|
258
281
|
"computerCreated": "Created · {name}",
|
|
259
282
|
"computerCreateFailed": "Could not create the computer: {message}",
|
|
260
283
|
"computerCost": "Creates a billable machine on your Rayrun account. Bots never destroys it.",
|
|
261
284
|
"botTitle": "First bot",
|
|
262
|
-
"botBody": "Give it a name and one job. It is
|
|
285
|
+
"botBody": "Give it a name and one job. It is saved to your local roster and runs on your cloud computer.",
|
|
286
|
+
"open": "Set up Rayrun Bot",
|
|
287
|
+
"imageUnsupported": "This image runs a shell oneshot and will not start a DSH worker. Use deepseek-harness@1 or another image that starts DSH headless."
|
|
263
288
|
},
|
|
264
289
|
"settings": {
|
|
265
290
|
"title": "Settings",
|
|
266
291
|
"sub": "Account, usage, and the few settings this plugin owns.",
|
|
267
292
|
"account": "Account",
|
|
268
293
|
"usage": "Usage",
|
|
269
|
-
"notifications": "Notifications",
|
|
270
294
|
"appearance": "Appearance",
|
|
271
295
|
"rayrunAccount": "Rayrun account",
|
|
272
296
|
"rayrunHint": "Token stays in the DSH vault · host side only",
|
|
@@ -280,7 +304,7 @@
|
|
|
280
304
|
"hostDepVersion": "Cloud-computer plugin {version} is not supported (need {required}).",
|
|
281
305
|
"retry": "Retry",
|
|
282
306
|
"plugin": "Cloud-computer plugin",
|
|
283
|
-
"pluginHint": "dsh-rayrun-computer
|
|
307
|
+
"pluginHint": "dsh-rayrun-computer v{version}",
|
|
284
308
|
"pluginOk": "OK",
|
|
285
309
|
"pluginMissing": "Missing",
|
|
286
310
|
"pluginIncompatible": "Incompatible",
|
|
@@ -289,19 +313,39 @@
|
|
|
289
313
|
"usageLine": "Balance {balance} · {hours} machine-hours · {machines} machines",
|
|
290
314
|
"usageConnect": "Connect Rayrun to see usage.",
|
|
291
315
|
"usageFailed": "Could not read usage: {message}",
|
|
292
|
-
"idle": "Idle stop",
|
|
293
|
-
"idleHint": "Stop the computer when idle. Never destroy it.",
|
|
294
|
-
"idle15": "15 minutes",
|
|
295
|
-
"idle30": "30 minutes",
|
|
296
|
-
"idleOff": "Off",
|
|
297
316
|
"lowBalance": "Low-balance reminder",
|
|
298
317
|
"lowBalanceHint": "Show a notice when the balance drops below this.",
|
|
299
|
-
"notify": "Notifications",
|
|
300
|
-
"notifyHint": "Notify when a bot finishes or needs you.",
|
|
301
318
|
"language": "Language",
|
|
302
319
|
"languageHint": "Chinese is primary; English is available.",
|
|
303
320
|
"langEn": "English",
|
|
304
|
-
"langZh": "简体中文"
|
|
321
|
+
"langZh": "简体中文",
|
|
322
|
+
"updates": "Updates",
|
|
323
|
+
"updatesHint": "Check the npm registry for a newer dsh-rayrun-bots build. Nothing is downloaded or installed and no token is sent.",
|
|
324
|
+
"checkUpdates": "Check for updates",
|
|
325
|
+
"checkingUpdates": "Checking npm…",
|
|
326
|
+
"updateAvailable": "{latest} is available (you have {current}).",
|
|
327
|
+
"upToDate": "You are on the newest {channel} build (v{current}).",
|
|
328
|
+
"updateCheckFailed": "Could not check npm: {message}",
|
|
329
|
+
"updateCommandHint": "Run this in a terminal, then restart DSH. The cloud-computer plugin stays installed:",
|
|
330
|
+
"copyUpdateCommand": "Copy command",
|
|
331
|
+
"updateCopied": "Command copied",
|
|
332
|
+
"updateCopyFailed": "Copy failed. Select the command manually.",
|
|
333
|
+
"updateRestart": "This is a notice only; nothing is downloaded or installed automatically.",
|
|
334
|
+
"computer": "Bot's computer",
|
|
335
|
+
"computerHint": "Updates the computer all bots share. Files and sign-ins are kept; installed apps and packages are removed. After a successful update, the old computer and its workspace are destroyed. All bots update together.",
|
|
336
|
+
"computerCurrent": "Current · {name} · {image}",
|
|
337
|
+
"computerUpdate": "Update",
|
|
338
|
+
"computerUpdateHint": "Creates a new computer and copies the preserved paths. After a successful update, the old computer and its workspace are destroyed (irreversible).",
|
|
339
|
+
"computerTarget": "New image: {image}. Bots keeps the DeepSeek credential already bound to this computer, or uses the account's model credential.",
|
|
340
|
+
"computerNoMachine": "No cloud computer found.",
|
|
341
|
+
"computerNotConnected": "Connect Rayrun to manage the bot computer.",
|
|
342
|
+
"computerBillable": "This creates a billable computer on your Rayrun account. On success the old computer is destroyed and cannot be recovered.",
|
|
343
|
+
"computerConfirm": "Update computer (billable)",
|
|
344
|
+
"computerCancel": "Cancel",
|
|
345
|
+
"computerUpdating": "Updating… creating the new computer and copying data. Do not close this page.",
|
|
346
|
+
"computerUpdated": "Computer updated to {image}. The previous computer {name} was destroyed.",
|
|
347
|
+
"computerUpdateFailed": "Could not update the computer: {message}",
|
|
348
|
+
"computerUpdatedKept": "Computer updated to {image}. The previous computer {name} could not be destroyed and is stopped; clean it up manually."
|
|
305
349
|
},
|
|
306
350
|
"sample": {
|
|
307
351
|
"user": {
|
|
@@ -377,5 +421,9 @@
|
|
|
377
421
|
"error": {
|
|
378
422
|
"hostDown": "The bot host is not responding.",
|
|
379
423
|
"botCreate": "Could not save the bot: {message}"
|
|
424
|
+
},
|
|
425
|
+
"user": {
|
|
426
|
+
"you": "You",
|
|
427
|
+
"youInitials": "Y"
|
|
380
428
|
}
|
|
381
429
|
}
|
package/locale/zh.json
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "Rayrun Bot",
|
|
4
|
-
"description": "在侧边栏加入 Bots 入口和 v0.1
|
|
4
|
+
"description": "在侧边栏加入 Bots 入口和 v0.1 三栏界面:会话列表、带审批卡的对话、详情面板、初始化与设置。真实 bot 和会话运行在你自己的 Rayrun 云电脑上;示例数据只出现在显式的 ?preview=1 演示中。"
|
|
5
5
|
},
|
|
6
6
|
"panel": {
|
|
7
7
|
"label": "Bots"
|
|
8
8
|
},
|
|
9
9
|
"brand": "Rayrun Bot",
|
|
10
10
|
"preview": {
|
|
11
|
-
"badge": "预览"
|
|
11
|
+
"badge": "预览",
|
|
12
|
+
"demoBadge": "演示",
|
|
13
|
+
"sample": "示例",
|
|
14
|
+
"demoBanner": "演示数据,内容不是真的。",
|
|
15
|
+
"demoSnippet": "示例对话"
|
|
12
16
|
},
|
|
13
17
|
"chat": {
|
|
14
18
|
"working": "正在处理…",
|
|
@@ -21,15 +25,18 @@
|
|
|
21
25
|
"sendFailed": "发送失败,请重试。",
|
|
22
26
|
"runtimeUnavailable": "云端 runtime 不可用。请安装 dsh-rayrun-computer 并重启 DSH。",
|
|
23
27
|
"connectRayrun": "请先在设置里连接 Rayrun。",
|
|
24
|
-
"noComputer": "还没有云电脑。请先在设置里创建一台。",
|
|
25
28
|
"machineBusy": "云电脑正忙,请稍后再试。",
|
|
26
29
|
"balanceLow": "Rayrun 余额偏低,请先充值。",
|
|
27
30
|
"queueFull": "排队消息太多,请等回复后再发送。",
|
|
28
31
|
"messageInvalid": "这条消息无法发送:为空、过长或格式无效。",
|
|
29
32
|
"historyFailed": "无法加载这段对话。刷新页面后重试。",
|
|
30
|
-
"turnTimeout": "
|
|
33
|
+
"turnTimeout": "页面已停止等待,但云端回合可能仍在运行。刷新页面查看结果。",
|
|
31
34
|
"turnInterrupted": "上一回合被中断了。请重新发送。",
|
|
32
|
-
"errorTitle": "回合失败"
|
|
35
|
+
"errorTitle": "回合失败",
|
|
36
|
+
"machineStopped": "云电脑已停止或不可用。请在详情面板或云电脑插件里打开它,再重新发送。",
|
|
37
|
+
"imageUnsupported": "这台云电脑的镜像读不到,或者不会启动 DSH worker,因此没有创建任务。请使用 deepseek-harness@1 之类的镜像。",
|
|
38
|
+
"imageOutdated": "这台云电脑的镜像太旧,无法运行云端 bot host。请在设置 → Bot 更新电脑后重试。",
|
|
39
|
+
"workerNoReply": "云端 worker 结束了,但没有写 reply.md。请检查 worker session 的 provider 错误;缺少 DeepSeek 凭据(MISSING_CREDENTIAL)会导致无法回复。请添加模型凭据,或用带凭据的电脑重建。"
|
|
33
40
|
},
|
|
34
41
|
"list": {
|
|
35
42
|
"search": "搜索",
|
|
@@ -78,7 +85,18 @@
|
|
|
78
85
|
"waitingSide": "等待执行",
|
|
79
86
|
"failedSide": "执行失败",
|
|
80
87
|
"continue": "让 bot 继续",
|
|
81
|
-
"continuePrompt": "根据上面的审批结果继续。不要重复已批准的动作;下一个受控动作前先询问。"
|
|
88
|
+
"continuePrompt": "根据上面的审批结果继续。不要重复已批准的动作;下一个受控动作前先询问。",
|
|
89
|
+
"riskStart": "启动你的电脑;运行期间消耗机时。",
|
|
90
|
+
"riskResume": "恢复你的电脑;运行期间消耗机时。",
|
|
91
|
+
"riskStop": "停止你的电脑;正在运行的工作会停止。",
|
|
92
|
+
"riskPause": "暂停你的电脑;正在运行的工作会暂停。",
|
|
93
|
+
"riskUnknown": "批准在你的电脑上执行一个受控动作。",
|
|
94
|
+
"parseError": "bot 的审批请求无法解析,未执行任何动作。",
|
|
95
|
+
"expiredRunning": "这个后台请求已过期,但云电脑可能仍在运行。",
|
|
96
|
+
"stopComputer": "停止电脑",
|
|
97
|
+
"stopConfirm": "停止云电脑?正在运行的工作会停止。",
|
|
98
|
+
"stopConfirmAction": "停止",
|
|
99
|
+
"cancel": "取消"
|
|
82
100
|
},
|
|
83
101
|
"draft": {
|
|
84
102
|
"send": "发送",
|
|
@@ -134,7 +152,6 @@
|
|
|
134
152
|
"reconnecting": "正在重连…",
|
|
135
153
|
"unreachable": "连不上电脑。",
|
|
136
154
|
"sleeping": "休眠",
|
|
137
|
-
"takeOver": "接管",
|
|
138
155
|
"open": "打开",
|
|
139
156
|
"view": "查看",
|
|
140
157
|
"onComputer": "电脑上 · {where}",
|
|
@@ -150,26 +167,32 @@
|
|
|
150
167
|
"stopTimeout": "云电脑仍在停止中。",
|
|
151
168
|
"stopFailed": "停止云电脑失败:{message}",
|
|
152
169
|
"connectFirst": "先连接 Rayrun(设置 → 首次设置)。",
|
|
153
|
-
"popupBlocked": "
|
|
170
|
+
"popupBlocked": "弹窗被拦截了。用下面的链接打开桌面。",
|
|
154
171
|
"starting": "正在启动云电脑…",
|
|
155
172
|
"startTimeout": "云电脑没有在预期时间内启动。",
|
|
156
173
|
"noDesktop": "这台云电脑没有远程桌面。",
|
|
157
174
|
"openFailed": "打开云电脑失败:{message}",
|
|
158
175
|
"opened": "云电脑已在新标签打开。",
|
|
176
|
+
"openDesktop": "打开桌面",
|
|
159
177
|
"passwordTitle": "桌面密码",
|
|
160
178
|
"passwordBody": "在桌面页面输入这个密码。",
|
|
161
179
|
"passwordEmpty": "没有读到桌面密码。",
|
|
162
180
|
"copy": "复制",
|
|
163
181
|
"copied": "已复制",
|
|
164
182
|
"copyFailed": "复制失败,请手动选中密码。",
|
|
165
|
-
"close": "关闭"
|
|
183
|
+
"close": "关闭",
|
|
184
|
+
"hostManaged": "由 host 管理",
|
|
185
|
+
"burnLine": "正在运行 · {rate}/小时 · 累计 {hours} 机时",
|
|
186
|
+
"image": "镜像 · {image}",
|
|
187
|
+
"imageUnread": "读不到这台云电脑的镜像。在能核对镜像之前,detached 回合不会启动。"
|
|
166
188
|
},
|
|
167
189
|
"notice": {
|
|
168
190
|
"recovering": "Bot host 正在重启,这个会话会自动恢复。",
|
|
169
191
|
"reconnecting": "电脑正在重连… 5 秒后重试",
|
|
170
192
|
"sleeping": "电脑正在休眠。打开云电脑插件即可唤醒。",
|
|
171
|
-
"attach": "
|
|
172
|
-
"preview": "这是页内预览。内容不会保存,审批也不会发给 worker。"
|
|
193
|
+
"attach": "暂时还不能添加附件。",
|
|
194
|
+
"preview": "这是页内预览。内容不会保存,审批也不会发给 worker。",
|
|
195
|
+
"cloud": "Bot 运行在你自己的 Rayrun 云电脑上;审批决定留在本地 host。"
|
|
173
196
|
},
|
|
174
197
|
"composer": {
|
|
175
198
|
"placeholder": "给 {name} 发消息…",
|
|
@@ -178,8 +201,8 @@
|
|
|
178
201
|
},
|
|
179
202
|
"usage": {
|
|
180
203
|
"balanceLine": "余额 {balance} · {hours} 机时",
|
|
181
|
-
"weekLine": "本周 {spend}
|
|
182
|
-
"liveLine": "来自你的 Rayrun 账号
|
|
204
|
+
"weekLine": "本周 {spend}",
|
|
205
|
+
"liveLine": "来自你的 Rayrun 账号",
|
|
183
206
|
"sampleBalance": "¥41.20",
|
|
184
207
|
"sampleHours": "38.4",
|
|
185
208
|
"sampleSpend": "¥6.80"
|
|
@@ -252,21 +275,22 @@
|
|
|
252
275
|
"computerLoadFailed": "读取 Rayrun 云电脑失败:{message}",
|
|
253
276
|
"computerName": "云电脑名称",
|
|
254
277
|
"computerKeyPlaceholder": "粘贴 DeepSeek API key(可选)",
|
|
255
|
-
"computerKeyHint": "
|
|
278
|
+
"computerKeyHint": "新电脑需要 DeepSeek 凭据才能运行云端 DSH 回合。只有当这台电脑或你的 Rayrun 默认配置已提供凭据时才留空。",
|
|
256
279
|
"computerCreate": "创建云电脑",
|
|
257
280
|
"computerCreating": "创建中…约 15 秒",
|
|
258
281
|
"computerCreated": "已创建 · {name}",
|
|
259
282
|
"computerCreateFailed": "创建云电脑失败:{message}",
|
|
260
283
|
"computerCost": "会在你的 Rayrun 账号上创建一台计费机器。Bots 永不销毁它。",
|
|
261
284
|
"botTitle": "第一个 Bot",
|
|
262
|
-
"botBody": "
|
|
285
|
+
"botBody": "给它一个名字和一项职责。它会保存到本地名册,并在你的云电脑上运行。",
|
|
286
|
+
"open": "首次设置",
|
|
287
|
+
"imageUnsupported": "这个镜像的 oneshot 是 shell 命令,不会启动 DSH worker。请使用 deepseek-harness@1 或其他会启动 DSH headless 的镜像。"
|
|
263
288
|
},
|
|
264
289
|
"settings": {
|
|
265
290
|
"title": "设置",
|
|
266
291
|
"sub": "账号、用量,以及这个插件自己的少量设置。",
|
|
267
292
|
"account": "账号",
|
|
268
293
|
"usage": "用量",
|
|
269
|
-
"notifications": "通知",
|
|
270
294
|
"appearance": "外观",
|
|
271
295
|
"rayrunAccount": "Rayrun 账号",
|
|
272
296
|
"rayrunHint": "token 存在 DSH 凭证库 · 只在 Host 侧",
|
|
@@ -280,7 +304,7 @@
|
|
|
280
304
|
"hostDepVersion": "云电脑插件 {version} 不受支持(需要 {required})。",
|
|
281
305
|
"retry": "重试",
|
|
282
306
|
"plugin": "云电脑插件",
|
|
283
|
-
"pluginHint": "dsh-rayrun-computer
|
|
307
|
+
"pluginHint": "dsh-rayrun-computer v{version}",
|
|
284
308
|
"pluginOk": "正常",
|
|
285
309
|
"pluginMissing": "缺失",
|
|
286
310
|
"pluginIncompatible": "不兼容",
|
|
@@ -289,19 +313,39 @@
|
|
|
289
313
|
"usageLine": "余额 {balance} · {hours} 机时 · {machines} 台云电脑",
|
|
290
314
|
"usageConnect": "连接 Rayrun 后显示用量。",
|
|
291
315
|
"usageFailed": "读取用量失败:{message}",
|
|
292
|
-
"idle": "空闲停机",
|
|
293
|
-
"idleHint": "空闲时停止电脑,绝不销毁。",
|
|
294
|
-
"idle15": "15 分钟",
|
|
295
|
-
"idle30": "30 分钟",
|
|
296
|
-
"idleOff": "关闭",
|
|
297
316
|
"lowBalance": "低余额提醒",
|
|
298
317
|
"lowBalanceHint": "余额低于该值时显示提示。",
|
|
299
|
-
"notify": "通知",
|
|
300
|
-
"notifyHint": "Bot 完成或等你处理时通知。",
|
|
301
318
|
"language": "语言",
|
|
302
319
|
"languageHint": "以简体中文为主,可切换 English。",
|
|
303
320
|
"langEn": "English",
|
|
304
|
-
"langZh": "简体中文"
|
|
321
|
+
"langZh": "简体中文",
|
|
322
|
+
"updates": "更新",
|
|
323
|
+
"updatesHint": "从 npm registry 检查更新的 dsh-rayrun-bots 构建。不会下载或安装,也不会发送 token。",
|
|
324
|
+
"checkUpdates": "检查更新",
|
|
325
|
+
"checkingUpdates": "正在检查 npm…",
|
|
326
|
+
"updateAvailable": "有新版本 {latest}(当前 {current})。",
|
|
327
|
+
"upToDate": "已是最新的 {channel} 构建(v{current})。",
|
|
328
|
+
"updateCheckFailed": "无法检查 npm:{message}",
|
|
329
|
+
"updateCommandHint": "在终端执行下面的命令,然后重启 DSH;云电脑插件保持已安装:",
|
|
330
|
+
"copyUpdateCommand": "复制命令",
|
|
331
|
+
"updateCopied": "命令已复制",
|
|
332
|
+
"updateCopyFailed": "复制失败,请手动选中命令。",
|
|
333
|
+
"updateRestart": "这里只做提示;页面不会自动下载或安装。",
|
|
334
|
+
"computer": "Bot 的电脑",
|
|
335
|
+
"computerHint": "更新你的 Bot 共用的电脑。你的文件和登录信息会保留,但已安装的应用和软件包会被移除;更新成功后,旧电脑及其 workspace 会被销毁。所有 Bot 会一起更新。",
|
|
336
|
+
"computerCurrent": "当前 · {name} · {image}",
|
|
337
|
+
"computerUpdate": "更新",
|
|
338
|
+
"computerUpdateHint": "创建一台新电脑并复制保留的路径。更新成功后,旧电脑及其 workspace 会被销毁(不可恢复)。",
|
|
339
|
+
"computerTarget": "新镜像:{image}。会自动沿用这台电脑已绑定的 DeepSeek 凭据,或使用账号里的模型凭据。",
|
|
340
|
+
"computerNoMachine": "没有找到云电脑。",
|
|
341
|
+
"computerNotConnected": "连接 Rayrun 后才能管理 Bot 的电脑。",
|
|
342
|
+
"computerBillable": "这会在你的 Rayrun 账号上创建一台计费电脑。更新成功后旧电脑会被销毁,无法恢复。",
|
|
343
|
+
"computerConfirm": "更新电脑(计费)",
|
|
344
|
+
"computerCancel": "取消",
|
|
345
|
+
"computerUpdating": "正在更新… 正在创建新电脑并复制数据。请不要关闭页面。",
|
|
346
|
+
"computerUpdated": "电脑已更新到 {image}。旧电脑 {name} 已销毁。",
|
|
347
|
+
"computerUpdateFailed": "更新电脑失败:{message}",
|
|
348
|
+
"computerUpdatedKept": "电脑已更新到 {image}。旧电脑 {name} 未能销毁,已停止;请手动清理。"
|
|
305
349
|
},
|
|
306
350
|
"sample": {
|
|
307
351
|
"user": {
|
|
@@ -377,5 +421,9 @@
|
|
|
377
421
|
"error": {
|
|
378
422
|
"hostDown": "Bot host 没有响应。",
|
|
379
423
|
"botCreate": "无法保存 Bot:{message}"
|
|
424
|
+
},
|
|
425
|
+
"user": {
|
|
426
|
+
"you": "你",
|
|
427
|
+
"youInitials": "你"
|
|
380
428
|
}
|
|
381
429
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-rayrun-bots",
|
|
3
|
-
"version": "0.1.1-alpha",
|
|
3
|
+
"version": "0.1.1-alpha.2",
|
|
4
4
|
"description": "Rayrun cloud bots for DeepSeek Harness: named bots that live on your own Rayrun cloud computer, run on your DeepSeek key, and come back for approvals.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|