@rcp-protocol/types
v0.1.0
Published
TypeScript type definitions for RCP (Robot Context Protocol) — the open standard for AI-to-robot-controller communication.
Maintainers
Readme
@rcp-protocol/types
TypeScript type definitions for RCP (Robot Context Protocol) — the open standard for AI-to-robot-controller communication.
Install
npm install @rcp-protocol/typesUsage
import type {
RobotIdentity,
AdapterCapabilities,
JointState,
TcpPosition,
IoState,
IoSignal,
ProgramInfo,
} from "@rcp-protocol/types";
const identity: RobotIdentity = {
manufacturer: "Universal Robots",
model: "UR5e",
firmware_version: "5.15.0",
serial: "1234567890",
};Types
All types mirror the canonical Pydantic models from the Python SDK (rcp-sdk). Regeneration runs python generate.py against the Python source.
License
Apache 2.0 — see LICENSE in the root repo.
