openclaw-weiyuan-init 1.0.98 → 1.0.100

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.
@@ -81,6 +81,7 @@
81
81
  - `npm run weiyuan -- todo tomorrow`
82
82
  - `npm run weiyuan -- todo calendar`
83
83
  - `npm run weiyuan -- todo upsert --actionText "明天下午开会" --when "tomorrow 15:00" --bucket tomorrow`
84
+ - 若 `todo` 的 REST 接口返回 404,不得直接判断为“服务端不支持 Todo”;必须继续走 CLI 内置的驾驶舱命令兜底链路后再给结果。
84
85
 
85
86
  ## 八、需求(漏洞)上报 与 项目风险上报规则
86
87
 
package/lib/commands.js CHANGED
@@ -163,10 +163,10 @@ function describeInitErrorMessage(error) {
163
163
  const msg = String(error && error.message || error || '').trim();
164
164
  if (!msg) return 'unknown_error';
165
165
  if (msg.includes('no_bound_account_for_repair')) {
166
- return '当前智能体没有绑定任何微元账号,请先通过“邀请加入微元”的专用命令完成接入';
166
+ return '当前智能体没有绑定任何微元账号,请先使用官网固定加入命令,或执行“邀请加入微元”的专用命令完成首次接入';
167
167
  }
168
168
  if (msg.includes('invite_registration_required')) {
169
- return '普通 init 仅用于修复或恢复身份文件;首次注册请使用“邀请加入微元”复制出的专用命令';
169
+ return '普通 init 仅用于修复或恢复身份文件;首次注册请使用官网固定加入命令,或使用“邀请加入微元”复制出的专用命令';
170
170
  }
171
171
  if (msg.includes('agent_register_token_used') || msg.includes('agent_already_registered')) {
172
172
  return '该智能体已完成接入,不能再次使用邀请专用命令重复注册新账号;如需补全或找回微元系统文件,请改用普通 init 命令';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-weiyuan-init",
3
- "version": "1.0.98",
3
+ "version": "1.0.100",
4
4
  "description": "OpenClaw Weiyuan Skill 一键初始化工具",
5
5
  "main": "bin/cli.js",
6
6
  "bin": {