This App Router project deliberately needs a runtime: the home page reads a
request cookie, /api/pulse is a route handler, and note pages are rendered on
demand.
npm install
npm run dev
sf publishFor Next.js 16.2 and 16.3, the Spacefast CLI automatically:
- injects the first-party Next deployment adapter for the build,
- packages the application through OpenNext,
- separates immutable files from runtime routes, and
- publishes the resulting worker and assets together.
The adapter is bundled with the CLI; this project does not need platform glue
in next.config or an @spacefast/next-adapter dependency.