发布说明

更新日志

按时间查看 MuseMVP 的里程碑、产品更新与文档变更。

产品

注册安全修复,以及更快的首次上手

固定链接

密码注册接口现在始终关闭。新项目一条命令就能在本地跑起来,不需要任何第三方密钥;muse:doctor 会告诉你和你的 AI 助手哪些功能已经就绪。

本次更新修复了一个注册相关的安全问题,并大幅缩短了第一次上手 MuseMVP 的时间,无论是你本人还是 AI 编码助手。

安全修复:密码注册接口

当 config.auth.gates.allowRegister 设为 false 时,注册页面虽然隐藏了,但 POST /api/auth/sign-up/email 仍然可以调用。任何人都能用未验证的邮箱创建账号并直接登录。

  • 密码注册接口现在始终关闭。新账号只能通过邮箱验证码创建,从而保证邮箱真实。
  • 种子账号和管理员创建的账号仍然可以用密码登录;未验证邮箱的账号无法登录。
  • 如果你的产品已经上线,请合并提交 fix(auth): close the password sign-up endpoint,或者在 packages/auth/src/create-auth.ts 的 emailAndPassword 中设置 disableSignUp: true、autoSignIn: false、requireEmailVerification: true。

更快的首次上手

  • pnpm muse:init --app cloudflare(或 --app node --docker)一次完成本地配置:环境文件、密钥、数据库迁移和种子账号。重复执行会保留你已有的值和自定义变量。
  • pnpm muse:doctor 把每项功能标记为 ready、local、disabled 或 missing。--json 为 AI 助手输出同样的报告,不包含任何密钥值。
  • 两个应用默认都把邮件打印到 dev 服务器终端,本地不配置邮件服务也能收到注册验证码。
  • 默认开放注册。
  • 开发环境下,localhost 的任意端口都能正常登录和调用接口,可以同时运行多个项目。
  • BILLING_DEFAULT_GATEWAY="dodo" 现在按文档生效。以前只识别 muse_dodo。

文档

  • 新增上手指南,覆盖从克隆仓库到上线的全过程,标明需要本人完成的步骤(API Key、OAuth 应用、wrangler login),并列出最能减少手工操作的 MCP。
里程碑

MuseMVP 1.0 正式发布

固定链接

MuseMVP 于 2026-03-10 正式发布,已具备生产可用的 SaaS 基础能力。

MuseMVP 已于 2026-03-10 正式发布。

从这一版本开始,项目已经可以作为真实 SaaS 产品的基础,而不只是启动模板。

相关链接

相关提交(节选)

  • 91260b7 feat(admin-users): implement user ban and unban functionality
  • e29f9b1 docs(spec): add admin user ban design
  • 45bf4ef feat(two-factor-auth): enhance TwoFactorVerifyForm with data-testid attributes for improved testability
  • d655ee4 feat(password-input): refactor PasswordInput component to use forwardRef and improve type safety
  • 91be374 feat(settings): add data-testid attributes for improved testability in confirmation and delete account components
  • e470adb refactor(auth): streamline redirect handling and enhance type safety
  • 8a9bc25 refactor: enhance muse-billing module with improved documentation (#45)
  • 9050bb6 feat(agents): enhance feature delivery and testing guidelines (#41)
  • 36eb81d chore(deps): update package versions in package.json and pnpm-lock.yaml
  • 0f69648 feat(api): implement avatar upload with signed URL and enhance test coverage (#40)
  • dc08c88 feat: implement avatar upload functionality with signed URL generation
  • 383e1c0 chore: enhance API key management and update related tests
  • 6cf1d0d feat: add test framework module + optimize AI rules file + update nextjs and better-auth. (#31)
  • 43175cd refactor: restructure blog and legal related pages; optimize landing page rendering (#29)
  • cbc4963 feat: introduce MuseMVP skill for customizing SaaS app home route
  • 7f96f88 refactor: migrate from content-collections to Fumadocs MDX and update related configurations
  • a0ac45f feat: enable conditional display of DeleteAccountForm based on configuration
  • d563264 feat: implement API tokens feature with conditional rendering
  • 546c9a0 feat: add hideBorderX configuration option for header
  • 50855ce feat: add new skills and documentation for brainstorming and better-auth practices
  • fd14861 refactor: restructure landing page components for improved modularity
  • ec953dc fix: update pricing section configuration based on billing settings
  • dfc11be feat: add discount code functionality to pricing and error handling
  • ···