@imthekaiwen/agent-protocol
v0.1.0-alpha.1
Published
Versioned contracts for the Kaiwen Agent Platform
Downloads
34
Maintainers
Readme
@imthekaiwen/agent-protocol
Canonical TypeScript types and JSON Schemas shared by Kaiwen agent backends, browser runtimes, tests, and product applications.
npm install @imthekaiwen/agent-protocolimport type { AgentArtifact, AgentEvent, ClientAction } from "@imthekaiwen/agent-protocol";The package exports runtime AGENT_EVENT_TYPES and SCHEMA_VERSION constants.
JSON Schemas are available through subpaths such as:
import eventSchema from "@imthekaiwen/agent-protocol/schemas/event-envelope.schema.json";Do not copy these contracts into product repositories. Depend on an explicit package version so protocol changes remain observable and testable.
