ferrin-message 0.2.0

Ferrin application-level messages, conversion to provider prompts, and message pruning.
Documentation

ferrin-message

Application-level messages for Ferrin: Message (system/user/assistant/tool with string-or-parts content), user/assistant/tool parts, FileSource (bytes, base64, URL, provider reference, inline text, local path), RFC 2397 data: URL parsing and prune for trimming reasoning, tool calls and empty messages from a history.

Conversion to provider prompts lives in ferrin-core.

Part of the Ferrin workspace. Design: docs/01-architecture/03-core-data-model.md §7, docs/01-architecture/05-prompt-conversion.md.

License

Apache-2.0. See LICENSE and NOTICE. Portions of this crate are derived from the Vercel AI SDK (Apache-2.0); the crate and module documentation carry the attribution.