/** * The official TypeScript client for the PersistMemory API. * * See the README for a quickstart. The three things worth knowing before you * read the types: * * remember is asynchronous it returns a job id, not a memory. Extraction * and consolidation run afterwards and may * produce one memory, several, or none. * * search degrades it falls back to deterministic retrieval when * embeddings are unavailable, and says so in * `diagnostics.degraded`. Read it. * * POSTs are not retried unless you pass an `idempotencyKey`. A POST * that timed out may already have been processed, * and this client will not guess. */ export { PersistMemory } from "./client.js"; export type { ClientOptions, RequestOptions } from "./http.js"; export type { BackoffOptions } from "./backoff.js"; export { backoffMs, delayFor, DEFAULT_BACKOFF } from "./backoff.js"; export { Paginated } from "./pagination.js"; export { PersistMemoryError, AuthenticationError, PermissionDeniedError, NotFoundError, ValidationError, ConflictError, RateLimitError, ServerError, ConnectionError, TimeoutError, AbortError } from "./errors.js"; export type { ErrorCode } from "./errors.js"; export type * from "./types.js";