Files
Alem Tuzlak 79ce60c580 chore: migrate from eslint+prettier to oxlint+oxfmt
Replace eslint and prettier with oxlint and oxfmt for faster linting
and formatting across the monorepo. Remove all eslint and prettier
configs, dependencies, and related packages. Add .oxlintrc.json and
.oxfmtrc.json for the new tooling. Update CI workflows and lefthook
hooks accordingly. Reformat codebase with oxfmt.

https://claude.ai/code/session_01GMkSf29p78HuMR1mbXn8He
2026-04-02 16:39:05 +02:00
..

CopilotKit v2 Client Example

This is a minimal Next.js client that connects to the v2 Express runtime.

Setup

pnpm -C ../../ install

Create a local env file:

cp .env.example .env.local

Optionally edit NEXT_PUBLIC_COPILOTKIT_RUNTIME_URL in .env.local.

Run

pnpm -C ../../ --filter next-pages-router example-dev

Then open:

http://localhost:3000

Build

pnpm -C ../../ --filter next-pages-router example-build

Notes

  • This example uses the Next.js App Router (app/ directory).
  • The client sets useSingleEndpoint to match the Express runtime.