Add, remove, and reorder chat turns. Each turn has a role (system, user, or assistant) and content. Export a valid OpenAI-style and Anthropic-style messages array with a rough token estimate. Everything runs locally.
Token count is a rough estimate (about 4 characters per token). Real tokenizers differ by model.