@neeter/types
v0.18.0
Published
Shared protocol types for neeter
Downloads
3,860
Readme
@neeter/types
Shared TypeScript types for the neeter toolkit.
Install
pnpm add @neeter/typesMost users don't need this package directly — all types are re-exported from
@neeter/server,@neeter/core, and@neeter/react.
What's inside
- SSE protocol —
SSEEvent,CustomEvent<T>,SessionInitEvent - Content blocks —
TextBlock,ImageBlock,ContentBlock,UserMessageContent,Base64ImageSource - Chat messages —
ChatMessage,ToolCallInfo,ToolCallPhase - Permissions —
PermissionRequest,PermissionResponse,ToolApprovalRequest,ToolApprovalResponse,UserQuestion,UserQuestionRequest,UserQuestionResponse - Persistence —
SessionStore,SessionRecord,SessionHistoryEntry
Documentation
See the API Reference for all type definitions and the neeter README for usage guides.
License
MIT
