Skip to content

[Bug] 配置异常 #1

Description

@waterif

Describe the bug / 描述问题
完成配置后,向导会自动关闭。
或按 Ctrl+C 跳过向导,稍后手动配置。

[wizard] Config saved to /Users/tongcheng/.xyvaclaw/.wizard-config.json
[wizard] Env saved to /Users/tongcheng/.xyvaclaw/.env
[wizard] Configuration complete. Shutting down wizard server...
ℹ 应用向导配置...
Traceback (most recent call last):
File "/Users/tongcheng/XyvaClaw/installer/restore-config.py", line 236, in
main()
~~~~^^
File "/Users/tongcheng/XyvaClaw/installer/restore-config.py", line 208, in main
data = apply_wizard(data, wizard)
File "/Users/tongcheng/XyvaClaw/installer/restore-config.py", line 167, in apply_wizard
name = prov.get('name', '')
^^^^^^^^
AttributeError: 'str' object has no attribute 'get'

To Reproduce / 复现步骤

  1. Run '...'
  2. See error '...'

Expected behavior / 期望行为
What you expected to happen.

Environment / 环境信息

  • OS: [e.g. macOS 14.3, Ubuntu 22.04]
  • Node.js version: [e.g. 22.1.0]
  • xyvaClaw version: [e.g. v1.1.0]
  • Install method: [git clone / ZIP download]

Logs / 日志

Paste relevant logs from ~/.xyvaclaw/logs/ here

Screenshots / 截图
If applicable, add screenshots.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions