Skip to content

bridge

Bridge owns adapter-safe DTOs for moving legacy boundary data into Core.

Language: rust

Path: crates/bridge

Owns:

  • migration DTOs
  • boundary-safe snapshot shape
  • legacy-to-core value conversion
  • command conversion helpers

Must Not:

  • depend on legacy skrun crates
  • read or write durable storage
  • execute runtime behavior
  • own UI interaction state

Inputs:

  • legacy-compatible model references
  • legacy-compatible skills
  • legacy-compatible sessions
  • legacy-compatible tasks and runs
  • legacy-compatible profiles
  • legacy-compatible tool calls

Outputs:

  • CoreSnapshot
  • CoreCommand
  • core domain values

Depends On:

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

Verify:

  • cargo check -p bridge