#protocols #schemars #tool #magic-coder

magic-coder-types

Shared protocol + tool schemas for Magic Coder

12 breaking releases

Uses new Rust 2024

new 0.13.0 Mar 11, 2026
0.11.0 Feb 18, 2026

#1232 in Development tools

Download history 103/week @ 2026-02-04 115/week @ 2026-02-11 115/week @ 2026-02-18 165/week @ 2026-02-25 178/week @ 2026-03-04

591 downloads per month

MIT/Apache

28KB
598 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