@pafi-dev/agent-contracts
v0.1.0-poc.20
Published
Browser-safe Zod schemas and JSON DTOs for the PAFI agent API.
Readme
@pafi-dev/agent-contracts
Browser-safe Zod schemas and JSON DTOs for the PAFI agent API.
Install the exact version published by the PAFI team, then import schemas from the narrow API entry point:
import {
ChatRequestSchema,
ChatResponseSchema,
PreviewRequestSchema,
ExecuteRequestSchema,
ExecuteResponseSchema,
} from "@pafi-dev/agent-contracts/api";This package is safe for both frontend and backend code. It contains no signer, RPC client, model provider, private key, or persistence implementation.
See the repository root HANDOFF.md for the production integration sequence.
