Typed Nisaba domain adapter package for the OSHUN shell.
Included#
- Nisaba API adapter contracts (
NisabaApiAdapter) - Canonical shell-facing Nisaba adapter contract (
NisabaDomainAdapter) - Passage, concept, reminder, save, workspace, and search response models
- Canonical adapter factory (
createCanonicalNisabaDomainAdapter) behind the shared shell interface - Home and Explore Nisaba card model builders for OSHUN shell surfaces
- Nisaba launch-action mapping helpers for library, passage, concept, source, and workspace flows
- Canonical Nisaba deep-link and web-link builders
- Canonical Nisaba adapter helpers for metadata, availability, continuation, search composition, launch resolution, saved-passage toggling, reminder-state handling, and cross-domain bridge companions
- Shared concept-graph linkage helpers for carrying Nisaba passages and concept threads into canonical Tara, Arete, Veritas, and Nyx paths
Usage#
ts
import { createCanonicalNisabaDomainAdapter } from '@oshun/domain-nisaba';
const nisaba = createCanonicalNisabaDomainAdapter({
apiAdapter,
searchUserId: 'user-123',
});
const cards = await nisaba.getHomeCards({ userId: 'user-123' });