Skip to content

Next.js adapter (App Router + Pages Router) #80

@PAMulligan

Description

@PAMulligan

Goal

First-class Next.js integration so embedders can drop Claudius into App Router or Pages Router projects without manually wiring the worker route and the client component.

Acceptance criteria

  • @pmds/claudius-next package with <Claudius /> component
  • Server route handler factory for /api/claudius/*
  • Streaming responses verified end-to-end
  • Example app in examples/next-app-router
  • Example app in examples/next-pages-router
  • README quickstart section

Milestone

v1.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestwidgetChat widget UI and embed functionality
    No fields configured for Feature.

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions