Skip to content

proto

Proto owns the command and response protocol model.

Language: rust

Path: crates/proto

Owns:

  • CoreCommand
  • CoreResponse
  • CoreSnapshot
  • tagged JSON protocol shape

Must Not:

  • execute commands
  • own transport details
  • own storage
  • render UI

Inputs:

  • domain records from model/auth/skill/chat/run/tool/event

Outputs:

  • protocol-safe command, response, and snapshot values

Depends On:

  • auth
  • chat
  • event
  • model
  • run
  • skill
  • tool

Used By:

  • engine
  • server
  • Python native bridge

Verify:

  • cargo check -p proto