Sources: clarity:SDK/notification/python/, clarity:SDK/notification/typescript/
Two thin client libraries for the Notifications Engine — they wrap its HTTP CRUD endpoints and its SSE stream (GET /exactapi/notifications/stream). Wire-compatible with each other and with the backend. Full HTTP + SSE spec: clarity:docs/developer/NOTIFICATIONS_API.md.
SDK/notification/python/A synchronous HTTP client + SSE consumer. Only runtime dependency is requests; Python 3.8+. clarity:SDK/notification/python/README.md:1-19
NotificationsClient — list / get / mark_read / create / create_simple / unread_count. clarity:SDK/notification/python/README.md:89-97NotificationStream — a context manager exposing iter_events() / subscribe(...), with automatic reconnect and exponential backoff (1 s → 30 s). clarity:SDK/notification/python/README.md:57-85NotificationsError. clarity:SDK/notification/python/README.md:148-156client.py, stream.py, models.py, exceptions.py. Ships 39 mocked (no-network) tests across tests/test_client.py + tests/test_stream.py. clarity:SDK/notification/python/README.md:206-218No framework bindings (plain Python).
SDK/notification/typescript/A zero-runtime-dependency core built on the platform fetch, with optional framework bindings. clarity:SDK/notification/typescript/README.md:1-18
/react, and /angular. clarity:SDK/notification/typescript/README.md:5-9NotificationsClient and NotificationStream — same surface as the Python client. clarity:SDK/notification/typescript/README.md:135-162react.tsx): NotificationProvider, useNotifications, useNotificationStream, plus a fireOsToast Tauri helper.angular.ts): NotificationStreamService exposing events$() as an RxJS Observable<SseEvent>. clarity:SDK/notification/typescript/README.md:25-32client.ts, stream.ts, types.ts, exceptions.ts, index.ts, react.tsx, angular.ts. Tests in tests/client.test.ts + tests/stream.test.ts.NOTE: the TypeScript README states "~35 tests" (
clarity:SDK/notification/typescript/README.md:196-197), but theit/testcount is closer to 45 — treat the README figure as approximate.
Last updated: 2026-07-17 from commit 6800acc