@coremail/lunkr-openclaw 1.0.7 → 1.0.9
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 +43 -0
- package/bin/lunkr-cli.js +4 -4
- package/i18n/locales/en-US.json +102 -3
- package/i18n/locales/zh-CN.json +100 -3
- package/index.js +26 -22
- package/package.json +1 -1
package/i18n/locales/en-US.json
CHANGED
|
@@ -122,7 +122,21 @@
|
|
|
122
122
|
"reinstall": "To reinstall:",
|
|
123
123
|
"reinstall_step1": "Run: openclaw lunkr login",
|
|
124
124
|
"reinstall_step2": "Enable the channel in ~/.openclaw/config.json",
|
|
125
|
-
"reinstall_step3": "Run: openclaw lunkr create <name>"
|
|
125
|
+
"reinstall_step3": "Run: openclaw lunkr create <name>",
|
|
126
|
+
"removed_plugin_allow": "Removed '{{id}}' from plugins.allow",
|
|
127
|
+
"plugin_allow_not_found": "'{{id}}' not found in plugins.allow",
|
|
128
|
+
"removed_plugin_entry": "Removed plugins.entries.{{id}}",
|
|
129
|
+
"plugin_entry_not_found": "'{{id}}' not found in plugins.entries",
|
|
130
|
+
"removed_tool": "Removed '{{name}}' from tools.alsoAllow",
|
|
131
|
+
"tool_not_found": "'{{name}}' not found in tools.alsoAllow",
|
|
132
|
+
"removed_skill_entry": "Removed skills.entries.{{name}}",
|
|
133
|
+
"skill_entry_not_found": "'{{name}}' not found in skills.entries",
|
|
134
|
+
"removed_skill_dir": "Removed skill directory from skills.load.extraDirs",
|
|
135
|
+
"skill_dir_not_found": "Skill directory not found in skills.load.extraDirs",
|
|
136
|
+
"not_found_dir": "Not found: {{path}}",
|
|
137
|
+
"removed_legacy": "Removed legacy path: {{path}}",
|
|
138
|
+
"remove_legacy_failed": "Failed to remove legacy session data:",
|
|
139
|
+
"purge_hint": "To completely remove extension files:"
|
|
126
140
|
},
|
|
127
141
|
"tools": {
|
|
128
142
|
"already_installed": "Tool '{{name}}' is already installed.",
|
|
@@ -164,7 +178,15 @@
|
|
|
164
178
|
"upload_invalid_response": "Invalid response from upload: {{data}}",
|
|
165
179
|
"upload_data_failed": "Failed to upload data: {{code}}",
|
|
166
180
|
"upload_move_failed": "Failed to move file: {{code}}",
|
|
167
|
-
"upload_no_file_id": "Move file did not return fileId"
|
|
181
|
+
"upload_no_file_id": "Move file did not return fileId",
|
|
182
|
+
"recipient_not_found": "Contact or group not found: {{name}}",
|
|
183
|
+
"download_http_failed": "File download failed (HTTP {{status}}): {{body}}",
|
|
184
|
+
"download_failed": "Download failed: {{error}}",
|
|
185
|
+
"filename_required": "Filename is required. Please provide it from message attachment metadata (attachment.title)",
|
|
186
|
+
"create_group_failed": "Failed to create group: {{code}} - {{msg}}",
|
|
187
|
+
"session_expired_relogin": "Session expired. Please re-login using:",
|
|
188
|
+
"session_expired_qrcode": " lunkr login (QR code)",
|
|
189
|
+
"session_expired_password": " lunkr login-bypwd (password)"
|
|
168
190
|
},
|
|
169
191
|
"login": {
|
|
170
192
|
"token_login_failed": "API token login failed: {{error}}",
|
|
@@ -179,7 +201,18 @@
|
|
|
179
201
|
"qrcode_login_failed_short": "QR code login failed: {{error}}",
|
|
180
202
|
"password_login_intro": "Lunkr Login (Password)",
|
|
181
203
|
"qrcode_login_intro": "Lunkr Login (QR Code)",
|
|
182
|
-
"logout_intro": "Lunkr Logout"
|
|
204
|
+
"logout_intro": "Lunkr Logout",
|
|
205
|
+
"password_prompt": "Password: ",
|
|
206
|
+
"token_login_failed_warn": "Warning: Failed to get API token: {{error}}",
|
|
207
|
+
"session_saved_without_token": "Session will be saved without API token (temporary mode).",
|
|
208
|
+
"result_email": " Email: {{email}}",
|
|
209
|
+
"result_uid": " UID: {{uid}}",
|
|
210
|
+
"result_server": " Server: {{server}}",
|
|
211
|
+
"logout_failed": "Logout failed: {{error}}",
|
|
212
|
+
"qrcode_title": "🦞 OpenClaw · Lunkr QR Code Login",
|
|
213
|
+
"qrcode_scan_prompt": "Scan the QR code above with the Lunkr App",
|
|
214
|
+
"qrcode_scanned": "QR code scanned, waiting for confirmation...",
|
|
215
|
+
"clock_error": "Authentication failed: local clock is inaccurate. Please adjust your system clock and try again."
|
|
183
216
|
},
|
|
184
217
|
"create": {
|
|
185
218
|
"welcome_title": "Bot discussion created successfully!",
|
|
@@ -217,6 +250,29 @@
|
|
|
217
250
|
"bot_list": {
|
|
218
251
|
"title": "Bot Discussions ({{count}}):"
|
|
219
252
|
},
|
|
253
|
+
"agent": {
|
|
254
|
+
"add_title": "Add Agent Account",
|
|
255
|
+
"add_success": "Agent account added: {{email}}",
|
|
256
|
+
"add_already_exists": "Account {{email}} already exists",
|
|
257
|
+
"list_title": "Agent Accounts ({{count}}):",
|
|
258
|
+
"list_empty": "No agent accounts configured.",
|
|
259
|
+
"list_role": "Role",
|
|
260
|
+
"list_agent_id": "Agent ID",
|
|
261
|
+
"list_session": "Session",
|
|
262
|
+
"list_session_valid": "Valid",
|
|
263
|
+
"list_session_expired": "Expired",
|
|
264
|
+
"list_session_none": "None",
|
|
265
|
+
"remove_success": "Removed agent account: {{email}}",
|
|
266
|
+
"remove_not_found": "Agent account not found: {{email}}",
|
|
267
|
+
"remove_not_agent": "Account {{email}} is not an agent account (role: {{role}})",
|
|
268
|
+
"bind_success": "Bound agent: {{email}} → {{agentId}}",
|
|
269
|
+
"bind_unbind_success": "Unbound agent from {{email}}, role restored to standard",
|
|
270
|
+
"bind_not_found": "Account not found: {{email}}",
|
|
271
|
+
"bind_self_upgrade": "Standard account upgraded to standard+agent dual role",
|
|
272
|
+
"bind_self_downgrade": "Standard account restored to standard role",
|
|
273
|
+
"bind_agent_id_required": "Error: --agent-id is required",
|
|
274
|
+
"bind_email_required": "Error: specify email or --self"
|
|
275
|
+
},
|
|
220
276
|
"setup": {
|
|
221
277
|
"title": "Lunkr One-Click Setup",
|
|
222
278
|
"disclaimer": "Usage Notice & Risk Disclaimer\n\nThis plugin (@coremail/lunkr-openclaw) is an OpenClaw\ncommunication channel extension that uses Lunkr platform\nAPIs for messaging. Please be aware:\n\n1. This plugin does not provide additional network\n services. All messages are transmitted and stored via\n the Lunkr platform; IM functionality is provided by\n Lunkr.\n2. Local saving of chat history and files is performed\n by the AI agent, not by this plugin. All files\n originate from user-to-user transfers. This plugin\n bears no responsibility for damage caused by saving\n files or downloading virus-infected files.\n3. This plugin does not forward chat content to third-party\n platforms beyond Lunkr. Forwarding by AI or other\n plugins is unrelated to this plugin.\n4. Messages are generated and sent automatically by AI\n agents based on user instructions or conversation\n context. The plugin itself does not initiate communication.\n5. Auto-sent AI messages may contain sensitive information.\n Users assume all privacy risks arising from this.\n\nEnter y to confirm you have read and understood the above\nand agree to assume the associated risks.",
|
|
@@ -235,5 +291,48 @@
|
|
|
235
291
|
"done_title": "Setup complete! Run the following to start the gateway:",
|
|
236
292
|
"done_gateway_cmd": "openclaw gateway restart",
|
|
237
293
|
"done_rename_hint": "Tip: Run openclaw lunkr rename <name> to customize the Bot display name"
|
|
294
|
+
},
|
|
295
|
+
"attachment": {
|
|
296
|
+
"voice": "[Voice message{{duration}}]",
|
|
297
|
+
"image": "[Image: {{title}}]",
|
|
298
|
+
"video": "[Video: {{title}}]",
|
|
299
|
+
"file": "[File: {{title}}]",
|
|
300
|
+
"voice_short": "Voice({{duration}}s)",
|
|
301
|
+
"image_short": "Image({{title}})",
|
|
302
|
+
"video_short": "Video({{title}})",
|
|
303
|
+
"file_short": "File({{title}})"
|
|
304
|
+
},
|
|
305
|
+
"message": {
|
|
306
|
+
"prefix": "[@!{{sender}}'s {{bot}}:]"
|
|
307
|
+
},
|
|
308
|
+
"meta": {
|
|
309
|
+
"selection_label": "Lunkr (Enterprise Collaboration)",
|
|
310
|
+
"detail_label": "Lunkr Enterprise Collaboration",
|
|
311
|
+
"blurb": "Enterprise email and collaboration platform with messaging, contacts, and discussion groups."
|
|
312
|
+
},
|
|
313
|
+
"create_group": {
|
|
314
|
+
"created": "Discussion Group Created",
|
|
315
|
+
"result_name": " Name: {{name}}"
|
|
316
|
+
},
|
|
317
|
+
"rename": {
|
|
318
|
+
"bot_name_changed": " Bot name: {{oldName}} → {{name}}",
|
|
319
|
+
"restart_hint": " Run the following command to apply changes:"
|
|
320
|
+
},
|
|
321
|
+
"auth": {
|
|
322
|
+
"captcha_required": "Verification required! Error code: {{code}}\nPlease log in manually in a browser to unlock:\n {{uri}}",
|
|
323
|
+
"otp_required": "Two-factor authentication (OTP) required...",
|
|
324
|
+
"otp_trigger_failed": "Failed to trigger OTP: {{code}}",
|
|
325
|
+
"otp_verify_prompt": "Please complete OTP verification on another device...",
|
|
326
|
+
"otp_trust_hint": "(If you choose \"Trust this device\", OTP won't be required next time)",
|
|
327
|
+
"otp_press_enter": "Press Enter to continue after completion...",
|
|
328
|
+
"otp_query_failed": "Failed to query OTP status: {{code}}",
|
|
329
|
+
"otp_not_completed": "OTP not completed, current stage: {{stage}}",
|
|
330
|
+
"otp_success": "Two-factor authentication successful!",
|
|
331
|
+
"relogin": "Re-logging in...",
|
|
332
|
+
"relogin_failed": "Re-login failed: {{code}}",
|
|
333
|
+
"relogin_no_sid": "Re-login did not return sid",
|
|
334
|
+
"relogin_no_cookie": "Re-login failed to obtain Coremail cookie",
|
|
335
|
+
"otp_verified_getting_session": "OTP verified, getting Lunkr session...",
|
|
336
|
+
"session_expired_relogin": "Session expired. Please re-login."
|
|
238
337
|
}
|
|
239
338
|
}
|
package/i18n/locales/zh-CN.json
CHANGED
|
@@ -122,7 +122,21 @@
|
|
|
122
122
|
"reinstall": "重新安装:",
|
|
123
123
|
"reinstall_step1": "运行: openclaw lunkr login",
|
|
124
124
|
"reinstall_step2": "在 ~/.openclaw/config.json 中启用频道",
|
|
125
|
-
"reinstall_step3": "运行: openclaw lunkr create <名称>"
|
|
125
|
+
"reinstall_step3": "运行: openclaw lunkr create <名称>",
|
|
126
|
+
"removed_plugin_allow": "已从 plugins.allow 移除 '{{id}}'",
|
|
127
|
+
"plugin_allow_not_found": "plugins.allow 中未找到 '{{id}}'",
|
|
128
|
+
"removed_plugin_entry": "已删除 plugins.entries.{{id}}",
|
|
129
|
+
"plugin_entry_not_found": "plugins.entries 中未找到 '{{id}}'",
|
|
130
|
+
"removed_tool": "已从 tools.alsoAllow 移除 '{{name}}'",
|
|
131
|
+
"tool_not_found": "tools.alsoAllow 中未找到 '{{name}}'",
|
|
132
|
+
"removed_skill_entry": "已删除 skills.entries.{{name}}",
|
|
133
|
+
"skill_entry_not_found": "skills.entries 中未找到 '{{name}}'",
|
|
134
|
+
"removed_skill_dir": "已从 skills.load.extraDirs 移除技能目录",
|
|
135
|
+
"skill_dir_not_found": "skills.load.extraDirs 中未找到技能目录",
|
|
136
|
+
"not_found_dir": "未找到 {{path}}",
|
|
137
|
+
"removed_legacy": "已删除旧路径 {{path}}",
|
|
138
|
+
"remove_legacy_failed": "删除旧会话数据失败:",
|
|
139
|
+
"purge_hint": "彻底移除扩展文件:"
|
|
126
140
|
},
|
|
127
141
|
"tools": {
|
|
128
142
|
"already_installed": "工具 '{{name}}' 已安装。",
|
|
@@ -165,8 +179,14 @@
|
|
|
165
179
|
"upload_data_failed": "上传数据失败:{{code}}",
|
|
166
180
|
"upload_move_failed": "移动文件失败:{{code}}",
|
|
167
181
|
"upload_no_file_id": "移动文件未返回 fileId",
|
|
182
|
+
"recipient_not_found": "未找到联系人或讨论组:{{name}}",
|
|
183
|
+
"download_http_failed": "文件下载失败 (HTTP {{status}}):{{body}}",
|
|
168
184
|
"download_failed": "下载失败:{{error}}",
|
|
169
|
-
"filename_required": "文件名是必需的,请从消息附件元数据获取文件名"
|
|
185
|
+
"filename_required": "文件名是必需的,请从消息附件元数据获取文件名",
|
|
186
|
+
"create_group_failed": "创建讨论组失败:{{code}} - {{msg}}",
|
|
187
|
+
"session_expired_relogin": "Session 已失效,请使用以下命令重新登录:",
|
|
188
|
+
"session_expired_qrcode": " lunkr login (扫码登录)",
|
|
189
|
+
"session_expired_password": " lunkr login-bypwd (密码登录)"
|
|
170
190
|
},
|
|
171
191
|
"login": {
|
|
172
192
|
"token_login_failed": "API 令牌登录失败:{{error}}",
|
|
@@ -181,7 +201,18 @@
|
|
|
181
201
|
"qrcode_login_failed_short": "二维码登录失败:{{error}}",
|
|
182
202
|
"password_login_intro": "Lunkr 登录(密码)",
|
|
183
203
|
"qrcode_login_intro": "Lunkr 登录(二维码)",
|
|
184
|
-
"logout_intro": "Lunkr 登出"
|
|
204
|
+
"logout_intro": "Lunkr 登出",
|
|
205
|
+
"password_prompt": "密码:",
|
|
206
|
+
"token_login_failed_warn": "警告:获取 API 令牌失败:{{error}}",
|
|
207
|
+
"session_saved_without_token": "会话将在没有 API 令牌的情况下保存(临时模式)。",
|
|
208
|
+
"result_email": " 邮箱: {{email}}",
|
|
209
|
+
"result_uid": " UID: {{uid}}",
|
|
210
|
+
"result_server": " 服务器: {{server}}",
|
|
211
|
+
"logout_failed": "登出失败:{{error}}",
|
|
212
|
+
"qrcode_title": "🦞 OpenClaw · 论客扫码登录",
|
|
213
|
+
"qrcode_scan_prompt": "请使用论客 App 扫描上方二维码",
|
|
214
|
+
"qrcode_scanned": "已扫码,等待确认...",
|
|
215
|
+
"clock_error": "认证失败:本地时钟不准确,请调整本地时钟后重试。"
|
|
185
216
|
},
|
|
186
217
|
"create": {
|
|
187
218
|
"welcome_title": "Bot 讨论已创建成功!",
|
|
@@ -219,6 +250,29 @@
|
|
|
219
250
|
"bot_list": {
|
|
220
251
|
"title": "Bot 讨论 ({{count}}):"
|
|
221
252
|
},
|
|
253
|
+
"agent": {
|
|
254
|
+
"add_title": "添加智能体账号",
|
|
255
|
+
"add_success": "智能体账号已添加:{{email}}",
|
|
256
|
+
"add_already_exists": "账号 {{email}} 已存在",
|
|
257
|
+
"list_title": "智能体账号 ({{count}}):",
|
|
258
|
+
"list_empty": "未配置智能体账号。",
|
|
259
|
+
"list_role": "角色",
|
|
260
|
+
"list_agent_id": "Agent ID",
|
|
261
|
+
"list_session": "会话",
|
|
262
|
+
"list_session_valid": "有效",
|
|
263
|
+
"list_session_expired": "已过期",
|
|
264
|
+
"list_session_none": "无",
|
|
265
|
+
"remove_success": "已移除智能体账号:{{email}}",
|
|
266
|
+
"remove_not_found": "未找到智能体账号:{{email}}",
|
|
267
|
+
"remove_not_agent": "账号 {{email}} 不是智能体账号(角色为 {{role}})",
|
|
268
|
+
"bind_success": "已绑定 agent:{{email}} → {{agentId}}",
|
|
269
|
+
"bind_unbind_success": "已解除 {{email}} 的智能体绑定,角色恢复为 standard",
|
|
270
|
+
"bind_not_found": "未找到账号:{{email}}",
|
|
271
|
+
"bind_self_upgrade": "标准账号已升级为 standard+agent 双重角色",
|
|
272
|
+
"bind_self_downgrade": "标准账号已恢复为 standard 角色",
|
|
273
|
+
"bind_agent_id_required": "错误:需要 --agent-id 参数",
|
|
274
|
+
"bind_email_required": "错误:需要指定邮箱或 --self"
|
|
275
|
+
},
|
|
222
276
|
"setup": {
|
|
223
277
|
"title": "Lunkr 一键配置",
|
|
224
278
|
"disclaimer": "使用须知与风险声明\n\n本插件(@coremail/lunkr-openclaw)是 OpenClaw 的\n通信通道扩展,通过调用论客(Lunkr)平台接口实现\n消息收发功能。使用前请知悉:\n\n1. 本插件不提供额外的网络服务,所有消息均通过\n 论客平台传输和存储,IM 交互功能由论客提供。\n2. 聊天记录和文件的本地保存是 AI 代理的行为,\n 非本插件所为。文件均来自用户之间的传输,因\n 保存文件或下载含病毒的文件而造成的损害,本\n 插件不承担责任。\n3. 本插件不会将聊天内容经由自身转发至论客以外\n 的第三方平台。AI 或其他插件的转发行为与本插\n 件无关。\n4. 消息由 AI 代理根据用户指令或对话上下文自动\n 生成并发送,插件本身不会主动发起通信。\n5. AI 自动发送的消息可能包含敏感信息,由此产生\n 的隐私风险由使用者自行承担。\n\n输入 y 表示您已阅读并理解上述内容,愿意自行\n承担相关风险。",
|
|
@@ -237,5 +291,48 @@
|
|
|
237
291
|
"done_title": "设置完成!运行以下命令启动网关:",
|
|
238
292
|
"done_gateway_cmd": "openclaw gateway restart",
|
|
239
293
|
"done_rename_hint": "提示:运行 openclaw lunkr rename <名称> 自定义 Bot 显示名称"
|
|
294
|
+
},
|
|
295
|
+
"attachment": {
|
|
296
|
+
"voice": "[语音消息{{duration}}]",
|
|
297
|
+
"image": "[图片: {{title}}]",
|
|
298
|
+
"video": "[视频: {{title}}]",
|
|
299
|
+
"file": "[文件: {{title}}]",
|
|
300
|
+
"voice_short": "语音({{duration}}秒)",
|
|
301
|
+
"image_short": "图片({{title}})",
|
|
302
|
+
"video_short": "视频({{title}})",
|
|
303
|
+
"file_short": "文件({{title}})"
|
|
304
|
+
},
|
|
305
|
+
"message": {
|
|
306
|
+
"prefix": "[@!{{sender}}的{{bot}}:]"
|
|
307
|
+
},
|
|
308
|
+
"meta": {
|
|
309
|
+
"selection_label": "Lunkr (企业协作)",
|
|
310
|
+
"detail_label": "Lunkr 企业协作",
|
|
311
|
+
"blurb": "企业邮件和协作平台,支持消息、联系人、讨论组。"
|
|
312
|
+
},
|
|
313
|
+
"create_group": {
|
|
314
|
+
"created": "讨论组已创建",
|
|
315
|
+
"result_name": " 名称: {{name}}"
|
|
316
|
+
},
|
|
317
|
+
"rename": {
|
|
318
|
+
"bot_name_changed": " Bot 名称: {{oldName}} → {{name}}",
|
|
319
|
+
"restart_hint": " 运行以下命令使更改生效:"
|
|
320
|
+
},
|
|
321
|
+
"auth": {
|
|
322
|
+
"captcha_required": "需要验证! 错误码: {{code}}\n请在浏览器中访问以下地址手工登录以解除限制:\n {{uri}}",
|
|
323
|
+
"otp_required": "需要二次认证 (OTP)...",
|
|
324
|
+
"otp_trigger_failed": "触发二次认证失败: {{code}}",
|
|
325
|
+
"otp_verify_prompt": "请在其他设备上完成 OTP 验证...",
|
|
326
|
+
"otp_trust_hint": "(如果选择\"信任此设备\",下次登录将不需要再次验证)",
|
|
327
|
+
"otp_press_enter": "完成后按回车继续...",
|
|
328
|
+
"otp_query_failed": "查询二次认证状态失败: {{code}}",
|
|
329
|
+
"otp_not_completed": "二次认证未完成,当前状态: {{stage}}",
|
|
330
|
+
"otp_success": "二次认证成功!",
|
|
331
|
+
"relogin": "重新登录...",
|
|
332
|
+
"relogin_failed": "重新登录失败: {{code}}",
|
|
333
|
+
"relogin_no_sid": "重新登录未返回 sid",
|
|
334
|
+
"relogin_no_cookie": "重新登录未获取到 Coremail cookie",
|
|
335
|
+
"otp_verified_getting_session": "OTP 验证成功,获取 Lunkr session...",
|
|
336
|
+
"session_expired_relogin": "会话已过期。请重新登录。"
|
|
240
337
|
}
|
|
241
338
|
}
|