#protocols #schemars #tool #magic-coder

magic-coder-types

Shared protocol + tool schemas for Magic Coder

11 breaking releases

Uses new Rust 2024

new 0.12.0 Feb 26, 2026
0.10.0 Feb 17, 2026

#1236 in Development tools

Download history 115/week @ 2026-02-05 134/week @ 2026-02-12 122/week @ 2026-02-19

371 downloads per month

MIT/Apache

28KB
601 lines

CI

magic-coder-types is a small shared crate that contains:

  • WebSocket protocol message types (protocol::types)
  • Tool argument structs + JSON Schema helpers for tool definitions (tools)

Features

  • schemars (default): enables JSON Schema derivation + tool parameters generation

License

Licensed under either of:

  • Apache License, Version 2.0 (LICENSE-APACHE)
  • MIT license (LICENSE-MIT)

Dependencies

~1–1.9MB
~38K SLoC