@naisys/supervisor-shared
v3.0.3
Published
[internal] NAISYS Supervisor shared types and validation schemas
Readme
@naisys/supervisor-shared
← Back to Supervisor | ← Back to main README
Shared types and Zod validation schemas used by both the supervisor server and client. Internal to the monorepo (not published to npm).
Both ends of every supervisor endpoint compile-check against these types, so request/response shapes can't silently drift between the React client and the Fastify server.
What's inside
admin/— admin info, auth, user CRUD, variable managementagents/— agent config + status types, startup-attachment shapesapi-types.ts— common request/response envelope typescomms/— chat, mail, voice message typeserror-types.ts— standard error envelopemodel-types.ts— LLM/image model metadataobservability/— costs, dashboard, logs, runs, statuspagination-types.ts— forward + backward pagination link shapes
Usage
import { type AgentResponse, agentConfigSchema } from "@naisys/supervisor-shared";See doc 012 — HATEOAS for the API-design conventions these types follow.
License
MIT
