| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(config): allow empty user.name so init/update/web run without a name (#1221) UserConfig.Name carried validate:"required" plus a validateRequired gate, so a fresh project with an empty user.yaml name failed ConfigManager.Load and blocked moai init/update/web. The wizard (wizard/types.go, "empty allowed"), init, update, and profile/sync.go all treat an unset name as the normal "not yet set" state that may be populated later, so validation must not reject it. - pkg/models/config.go: drop validate:"required" from UserConfig.Name - internal/config/validation.go: remove validateRequired and the User.Name required-skip inside runStructValidation - tests: assert an empty user.name is allowed (no error) rather than required, matching the design contract shared by wizard/init/update 🗿 MoAI Co-authored-by: Goos Kim <manager-develop@mo.ai> | 1 个月前 | |
chore: bump version to v3.1.3 Version stamps across pkg/version/version.go, the four README release badges, and .moai/config/sections/system.yaml (moai.version and moai.template_version). | 23 天前 |