@echostash/shared

v0.1.2

Published

Echostash's shared contract: zod schemas and types for prompts, MCP tool surfaces, audit reports, baselines and the server-runner eval protocol.

Readme

@echostash/shared

The Echostash contract: zod schemas and TypeScript types for everything the other packages exchange. Prompts, MCP tool surfaces, audit reports and findings, baselines, and the server-to-runner eval protocol.

Every Echostash package validates at its edges with these schemas. If you consume the CLI's --json output or write tooling around @echostash/mcp and @echostash/analyzer, this is where the shapes live.

import { McpAuditReport, McpToolSurface } from '@echostash/shared'

const surface = McpToolSurface.parse(JSON.parse(await readFile('tools-list.json', 'utf8')))
const report = McpAuditReport.parse(JSON.parse(cliJsonOutput))

Part of Echostash: agentless prompt change intelligence and eval. MIT.