#protocols #schemars #tool #magic-coder

magic-coder-types

Shared protocol + tool schemas for Magic Coder

4 releases (2 breaking)

Uses new Rust 2024

new 0.3.0 Feb 9, 2026
0.2.1 Feb 6, 2026
0.2.0 Feb 5, 2026
0.1.0 Feb 4, 2026

#1344 in Development tools

41 downloads per month

MIT/Apache

15KB
301 lines

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–2MB
~39K SLoC