Files
Claude 0d9e3b88f6 chore(post-release): update version to 1.55.0-next.8
The previous publish workflow released 1.55.0-next.8 to npm but the
post-release commit failed to push to main (blocked by branch
protection). This applies the version bumps and pre.json updates that
the workflow would have committed, unblocking future releases.

https://claude.ai/code/session_01N8sLK9h9p6FdRjyHqzKzVV
2026-04-02 02:23:27 +00:00
..

CopilotKit v2 Express Example (Single Route)

This example hosts a CopilotKit v2 runtime using Express and the single-route helper.

Setup

pnpm -C ../../ install

Create a local env file:

cp .env.example .env

Set OPENAI_API_KEY in .env.

Run

pnpm -C ../../ --filter node-express example-dev

The runtime will be available at:

http://localhost:4000/api/copilotkit

Build

pnpm -C ../../ --filter node-express example-build

Notes

  • This example uses createCopilotEndpointSingleRouteExpress.
  • TypeScript uses moduleResolution: node16 to resolve the @copilotkit/runtime/express export correctly.