Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 863 Bytes

File metadata and controls

33 lines (24 loc) · 863 Bytes

@kairohq/shared

Shared TypeScript types and Zod schemas for Kairo packages.

Use this package when an integration needs to validate or exchange Kairo events, sessions, memory answers, AI configuration, source adapters, or symbol metadata.

Public surface

import {
  KairoEventSchema,
  MemoryAnswerSchema,
  SessionSchema,
} from "@kairohq/shared";

import type { KairoEvent, MemoryAnswer, Session } from "@kairohq/shared";

Subpath exports

import { AiProviderConfigSchema } from "@kairohq/shared/ai";
import { KairoEventSchema } from "@kairohq/shared/events";
import { SessionSchema } from "@kairohq/shared/session";
import { StaticSymbolSchema } from "@kairohq/shared/symbol";

Contract

Types and schemas used by more than one package belong here. Runtime logic, storage, observation, and rendering belong in @kairohq/core.