@neeter/types
Shared TypeScript types for the neeter toolkit.
Install
pnpm add @neeter/types
Most users don't need this package directly — all types are re-exported from @neeter/server and @neeter/react.
What's inside
- SSE protocol —
SSEEvent, CustomEvent<T>, SessionInitEvent
- Chat messages —
ChatMessage, ToolCallInfo, ToolCallPhase
- Permissions —
PermissionRequest, PermissionResponse, ToolApprovalRequest, ToolApprovalResponse, UserQuestion, UserQuestionRequest, UserQuestionResponse
- Persistence —
SessionStore, SessionRecord, SessionHistoryEntry
Documentation
See the neeter README for full API reference and usage guides.
License
MIT