You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: bundle version-matched docs into @modern-js/app-tools and generate AGENTS.md / CLAUDE.md pointing at them, so AI coding agents read docs matching the installed version in #8781
feat: agent knowledge supply — bundle version-matched English docs into the app-tools tarball (docs/) on publish, and generate AGENTS.md / CLAUDE.md in new projects created by @modern-js/create (skip with --no-agents-md). Existing projects can run npx @modern-js/create --agents-md-only to add or idempotently refresh these files after an upgrade (managed marker block is updated in place, user content is preserved). Also fixes boolean flags swallowing the following positional argument (e.g. create --sub my-app). in #8781
feat: support configuring the Mock directory through dev.mockDir in #8780
Bug Fixes 🐞
fix: guard language detector process access for edge runtimes in #8751
fix(server-core): share the hono request context storage across duplicated module copies via a process-global AsyncLocalStorage, so BFF handlers no longer fail with "Can't call useContext out of server scope" when the host and plugin resolve different server-core instances in #8776
fix: make custom server output runnable under native ESM (pass moduleType, resolve .tsx / .jsx entries, transform JSX) in #8784
fix: respect output.module for service-worker environment output in #8752
Other Changes ✨
Export the programmatic deploy API and make it own the build, server plugin in #8783
Export closeServer from the package root. Programmatic dev and start in #8783
Export the programmatic build API and its options from the package root, initialize the builder when build is supplied through the app-context command, and close completed non-watch builds before returning. The onPrepare dist cleanup now also recognizes the programmatic appContext.command, so programmatic dev/build clean stale output the same way the CLI does (still honoring output.cleanDistPath and running before nestedRoutes.json is generated). in #8783
更新内容
新特性 🎉
feat: 随包分发与安装版本一致的文档,并生成指向它的 AGENTS.md / CLAUDE.md,让 AI 编码助手读到与所装版本匹配的文档, 详情可查看 #8781