@coremail/lunkr-openclaw 1.0.10 → 1.1.3
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/bin/lunkr-cli.js +18 -5
- package/i18n/locales/en-US.json +58 -0
- package/i18n/locales/zh-CN.json +58 -0
- package/index.js +86 -28
- package/openclaw.plugin.json +23 -6
- package/package.json +2 -2
- package/skills/lunkr/SKILL.md +21 -5
package/i18n/locales/en-US.json
CHANGED
|
@@ -281,6 +281,8 @@
|
|
|
281
281
|
"cancelled": "Cancelled.",
|
|
282
282
|
"plugin_already_registered": "Plugin '{{id}}' already registered in plugins.allow",
|
|
283
283
|
"plugin_registered": "Plugin '{{id}}' added to plugins.allow",
|
|
284
|
+
"channel_already_registered": "Channel '{{id}}' already registered in channels config",
|
|
285
|
+
"channel_registered": "Channel '{{id}}' added to channels config",
|
|
284
286
|
"tool_already_registered": "Tool '{{name}}' already registered in tools.alsoAllow",
|
|
285
287
|
"tool_registered": "Tool '{{name}}' added to tools.alsoAllow",
|
|
286
288
|
"skill_already_registered": "Skill '{{name}}' already registered",
|
|
@@ -335,5 +337,61 @@
|
|
|
335
337
|
"relogin_no_cookie": "Re-login failed to obtain Coremail cookie",
|
|
336
338
|
"otp_verified_getting_session": "OTP verified, getting Lunkr session...",
|
|
337
339
|
"session_expired_relogin": "Session expired. Please re-login."
|
|
340
|
+
},
|
|
341
|
+
"policy": {
|
|
342
|
+
"title": "Policy Configuration",
|
|
343
|
+
"account": "Account",
|
|
344
|
+
"dm_policy": "DM Policy",
|
|
345
|
+
"group_policy": "Group Policy",
|
|
346
|
+
"allow_from": "Allow From",
|
|
347
|
+
"groups": "Groups",
|
|
348
|
+
"group_type_rules": "Group Type Rules",
|
|
349
|
+
"discussions": "Discussions",
|
|
350
|
+
"none": "(none)",
|
|
351
|
+
"no_overrides": "(no overrides)",
|
|
352
|
+
"enabled": "Enabled",
|
|
353
|
+
"policy": "Policy",
|
|
354
|
+
"require_mention": "Require Mention",
|
|
355
|
+
"set_requires_option": "Error: --dm or --group option is required",
|
|
356
|
+
"allow_requires_option": "Error: --dm or --group option is required",
|
|
357
|
+
"deny_requires_option": "Error: --dm or --group option is required",
|
|
358
|
+
"invalid_dm_policy": "Invalid DM policy: {{value}} (expected: open, allowlist, disabled)",
|
|
359
|
+
"invalid_group_policy": "Invalid group policy: {{value}} (expected: open, allowlist, disabled)",
|
|
360
|
+
"invalid_type_policy": "Invalid type policy: {{value}} (expected: disabled, mentionOnly, open)",
|
|
361
|
+
"dm_policy_set": "DM policy set to: {{value}}",
|
|
362
|
+
"group_policy_set": "Group policy set to: {{value}}",
|
|
363
|
+
"config_saved": "Policy config saved.",
|
|
364
|
+
"already_in_allowlist": "Already in allowlist: {{uid}}",
|
|
365
|
+
"not_in_allowlist": "Not found in allowlist: {{uid}}",
|
|
366
|
+
"added_to_dm_allowlist": "Added to DM allowlist: {{uid}}",
|
|
367
|
+
"removed_from_dm_allowlist": "Removed from DM allowlist: {{uid}}",
|
|
368
|
+
"added_to_group_allowlist": "Added to group allowlist: {{uid}}",
|
|
369
|
+
"removed_from_group_allowlist": "Removed from group allowlist: {{uid}}",
|
|
370
|
+
"added_to_discussion_allowlist": "Added to discussion {{gid}} allowlist: {{uid}}",
|
|
371
|
+
"removed_from_discussion_allowlist": "Removed from discussion {{gid}} allowlist: {{uid}}",
|
|
372
|
+
"gid_required": "Error: discussion GID is required",
|
|
373
|
+
"no_discussion_rules": "No discussion rules for: {{gid}}",
|
|
374
|
+
"discussion_rules_title": "Discussion rules for: {{gid}}",
|
|
375
|
+
"discussion_removed": "Discussion rules removed for: {{gid}}",
|
|
376
|
+
"discussion_policy_set": "Discussion {{gid}} policy set to: {{value}}",
|
|
377
|
+
"discussion_enabled": "Discussion {{gid}} enabled",
|
|
378
|
+
"discussion_disabled": "Discussion {{gid}} disabled",
|
|
379
|
+
"discussion_require_mention": "Discussion {{gid}} requireMention set to: {{value}}",
|
|
380
|
+
"suffix_required": "Error: group type suffix is required",
|
|
381
|
+
"no_type_rule": "No type rule for suffix: {{suffix}}",
|
|
382
|
+
"type_rule_current": "Type rule for {{suffix}}: {{value}}",
|
|
383
|
+
"type_rule_set": "Type rule for {{suffix}} set to: {{value}}",
|
|
384
|
+
"type_rule_removed": "Type rule removed for suffix: {{suffix}}",
|
|
385
|
+
"reset_confirm": "Reset all policy config for {{account}}? This cannot be undone. (y/N)",
|
|
386
|
+
"reset_cancelled": "Cancelled.",
|
|
387
|
+
"reset_done": "Policy config reset for: {{account}}"
|
|
388
|
+
},
|
|
389
|
+
"commands": {
|
|
390
|
+
"help": {
|
|
391
|
+
"text": "/help - Show this help\n/new - Start a new conversation (clears current session context)"
|
|
392
|
+
},
|
|
393
|
+
"new": {
|
|
394
|
+
"done": "New conversation started."
|
|
395
|
+
}
|
|
338
396
|
}
|
|
339
397
|
}
|
package/i18n/locales/zh-CN.json
CHANGED
|
@@ -281,6 +281,8 @@
|
|
|
281
281
|
"cancelled": "已取消。",
|
|
282
282
|
"plugin_already_registered": "插件 '{{id}}' 已注册到 plugins.allow",
|
|
283
283
|
"plugin_registered": "插件 '{{id}}' 已添加到 plugins.allow",
|
|
284
|
+
"channel_already_registered": "通道 '{{id}}' 已注册到 channels 配置",
|
|
285
|
+
"channel_registered": "通道 '{{id}}' 已添加到 channels 配置",
|
|
284
286
|
"tool_already_registered": "工具 '{{name}}' 已注册到 tools.alsoAllow",
|
|
285
287
|
"tool_registered": "工具 '{{name}}' 已添加到 tools.alsoAllow",
|
|
286
288
|
"skill_already_registered": "技能 '{{name}}' 已注册",
|
|
@@ -335,5 +337,61 @@
|
|
|
335
337
|
"relogin_no_cookie": "重新登录未获取到 Coremail cookie",
|
|
336
338
|
"otp_verified_getting_session": "OTP 验证成功,获取 Lunkr session...",
|
|
337
339
|
"session_expired_relogin": "会话已过期。请重新登录。"
|
|
340
|
+
},
|
|
341
|
+
"policy": {
|
|
342
|
+
"title": "策略配置",
|
|
343
|
+
"account": "账号",
|
|
344
|
+
"dm_policy": "私聊策略",
|
|
345
|
+
"group_policy": "群组策略",
|
|
346
|
+
"allow_from": "允许列表",
|
|
347
|
+
"groups": "群组",
|
|
348
|
+
"group_type_rules": "群组类型规则",
|
|
349
|
+
"discussions": "讨论规则",
|
|
350
|
+
"none": "(无)",
|
|
351
|
+
"no_overrides": "(无覆盖)",
|
|
352
|
+
"enabled": "启用",
|
|
353
|
+
"policy": "策略",
|
|
354
|
+
"require_mention": "需要@提及",
|
|
355
|
+
"set_requires_option": "错误:需要 --dm 或 --group 选项",
|
|
356
|
+
"allow_requires_option": "错误:需要 --dm 或 --group 选项",
|
|
357
|
+
"deny_requires_option": "错误:需要 --dm 或 --group 选项",
|
|
358
|
+
"invalid_dm_policy": "无效的私聊策略:{{value}}(可选:open, allowlist, disabled)",
|
|
359
|
+
"invalid_group_policy": "无效的群组策略:{{value}}(可选:open, allowlist, disabled)",
|
|
360
|
+
"invalid_type_policy": "无效的类型策略:{{value}}(可选:disabled, mentionOnly, open)",
|
|
361
|
+
"dm_policy_set": "私聊策略已设置为:{{value}}",
|
|
362
|
+
"group_policy_set": "群组策略已设置为:{{value}}",
|
|
363
|
+
"config_saved": "策略配置已保存。",
|
|
364
|
+
"already_in_allowlist": "已在允许列表中:{{uid}}",
|
|
365
|
+
"not_in_allowlist": "未在允许列表中:{{uid}}",
|
|
366
|
+
"added_to_dm_allowlist": "已添加到私聊允许列表:{{uid}}",
|
|
367
|
+
"removed_from_dm_allowlist": "已从私聊允许列表移除:{{uid}}",
|
|
368
|
+
"added_to_group_allowlist": "已添加到群组允许列表:{{uid}}",
|
|
369
|
+
"removed_from_group_allowlist": "已从群组允许列表移除:{{uid}}",
|
|
370
|
+
"added_to_discussion_allowlist": "已添加到讨论 {{gid}} 允许列表:{{uid}}",
|
|
371
|
+
"removed_from_discussion_allowlist": "已从讨论 {{gid}} 允许列表移除:{{uid}}",
|
|
372
|
+
"gid_required": "错误:需要讨论组 GID",
|
|
373
|
+
"no_discussion_rules": "讨论组无规则:{{gid}}",
|
|
374
|
+
"discussion_rules_title": "讨论组规则:{{gid}}",
|
|
375
|
+
"discussion_removed": "已移除讨论组规则:{{gid}}",
|
|
376
|
+
"discussion_policy_set": "讨论 {{gid}} 策略已设置为:{{value}}",
|
|
377
|
+
"discussion_enabled": "讨论 {{gid}} 已启用",
|
|
378
|
+
"discussion_disabled": "讨论 {{gid}} 已禁用",
|
|
379
|
+
"discussion_require_mention": "讨论 {{gid}} 需要@提及已设置为:{{value}}",
|
|
380
|
+
"suffix_required": "错误:需要群组类型后缀",
|
|
381
|
+
"no_type_rule": "后缀无类型规则:{{suffix}}",
|
|
382
|
+
"type_rule_current": "后缀 {{suffix}} 的类型规则:{{value}}",
|
|
383
|
+
"type_rule_set": "后缀 {{suffix}} 的类型规则已设置为:{{value}}",
|
|
384
|
+
"type_rule_removed": "已移除后缀 {{suffix}} 的类型规则",
|
|
385
|
+
"reset_confirm": "重置 {{account}} 的所有策略配置?此操作不可撤销。(y/N)",
|
|
386
|
+
"reset_cancelled": "已取消。",
|
|
387
|
+
"reset_done": "已重置策略配置:{{account}}"
|
|
388
|
+
},
|
|
389
|
+
"commands": {
|
|
390
|
+
"help": {
|
|
391
|
+
"text": "/help - 显示此帮助\n/new - 开启新对话(清除当前会话上下文)"
|
|
392
|
+
},
|
|
393
|
+
"new": {
|
|
394
|
+
"done": "已开启新对话。"
|
|
395
|
+
}
|
|
338
396
|
}
|
|
339
397
|
}
|