@nextclaw/agent-chat-ui
v0.2.13
Published
Reusable Nextclaw agent chat UI primitives and default skin.
Maintainers
Readme
@nextclaw/agent-chat-ui
Reusable Nextclaw agent chat UI package.
This package contains the reusable chat presentation layer extracted from @nextclaw/ui:
- chat input bar components
- chat message list components
- chat view-model types
- chat-local hooks and utilities
- default skin primitives used by the chat package itself
It intentionally does not include Nextclaw host wiring such as presenter/store access, runtime adapters, page shells, or product-specific business logic.
Install
npm i @nextclaw/agent-chat-uiDevelopment
pnpm -C packages/nextclaw-agent-chat-ui tsc
pnpm -C packages/nextclaw-agent-chat-ui test
pnpm -C packages/nextclaw-agent-chat-ui buildPublic API
import {
ChatInputBar,
ChatMessageList,
useStickyBottomScroll,
useCopyFeedback,
copyText,
type ChatInputBarProps,
type ChatMessageListProps
} from '@nextclaw/agent-chat-ui';Scope
- Reusable: presentation, local interaction hooks, UI-owned utils, view-model contracts
- Not included: Nextclaw containers, adapters to runtime/store types, presenter wiring, page-level chat panels
Links
- Repository: https://github.com/Peiiii/nextclaw
- Package source: https://github.com/Peiiii/nextclaw/tree/master/packages/nextclaw-agent-chat-ui
- Product docs: https://docs.nextclaw.io
