@raidiant/notifai-protocol
v8.3.2
Published
Client-visible Notifai wire contract: notification drafts, REST v1 request/response types, status vocabulary, and capability negotiation.
Maintainers
Readme
@raidiant/notifai-protocol
The public wire contract used by the Notifai CLI and service. It provides TypeBox schemas and TypeScript types for notification drafts, ordered media collections, structured source context, REST v1 requests and responses, status vocabulary, lifecycle hints, and platform capabilities.
import { CAPABILITIES_V1, validateDraft } from '@raidiant/notifai-protocol'The package has no service implementation or private configuration. Node-only
helpers are available from @raidiant/notifai-protocol/node.
The exported Notification Request contract fingerprint is generated during the package build. Release compatibility checks therefore prepare the candidate artifact before comparing that export with the deployed service.
Presentation content has two separate roles: summary is required one-line
plain text (maximum 240 Unicode code points) for banners and list surfaces;
body is optional non-empty Markdown for focused detail. Provider envelopes
carry summary and has_body, never a derived or truncated Body excerpt.
Licensed under Apache-2.0. See the repository-level LICENSE and NOTICE.
