@paintless/protocol
v0.1.0
Published
Shared types, Zod schemas and adapter interfaces for Paintless
Maintainers
Readme
@paintless/protocol
The shared contract: Zod schemas, types and adapter interfaces every Paintless package speaks.
import { ChangeRequestSchema, buildAgentPrompt, formatRequest } from '@paintless/protocol'
const request = ChangeRequestSchema.parse(payload)
const { title, body } = formatRequest(request)Schemas are the source of truth — schema = type = validation. Adapters depend on this package and nothing else, which is what keeps the ecosystem compatible.
Part of Paintless — click an element in a running app, describe the change, let an agent make it. Docs: https://kyechan99.github.io/paintless/
MIT © kyechan99
