mail4agent-api 0.1.0

Wire types for the mail4agent mailbox: addresses, messages, requests and named refusals.
Documentation
  • Coverage
  • 35.91%
    65 out of 181 items documented0 out of 68 items with examples
  • Size
  • Source code size: 75.2 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.6 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 6s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ZENG3LD

Wire types for the mail4agent mailbox: addresses, messages, requests and named refusals.

This crate is the wire contract only -- serde and nothing else. It knows about participants, addresses and messages; it knows nothing about tasks, schedulers, runs, grants, workspaces, nodes, or any particular system that happens to run agents (see mail4agent/CLAUDE.md).

Ported from gate4agent-harness-protocol's mail surface (docs/gate4agent/research/mailbox-code-inventory-2026-09-16.md section 1.1): the discipline is kept -- bounded, validated on both encode and decode, versioned by convention, legacy-tolerant on read -- while every name that leaked a harness/task-kernel concept (HarnessRecordRef, HarnessMailAddressV1::Session/Task, task_id) is replaced by a general shape a standalone mailbox can own outright.

The rule that defines this service: a sender is never a field the caller fills in. See [SendRequest].