Files
deckcraft/crates/engine
Zinadin Zidan 108ee6be28 Add txt to the MCP export tool's format enum
MCP clients that validate the `export` tool's input schema against its `format` enum refused `txt`, even though the engine's `file.export` has accepted it since #2421 (`crates/engine/src/cmd/file.rs:398` → `outline_txt_bytes`, CRLF line ends). The MCP tool forwards its arguments straight to `file.export`, so the stale enum was the only thing in the way.

Added `txt` to the enum and the tool description in `crates/mcp/src/tools.rs`, and to the `file.export` params doc in `crates/engine/src/cmd/file.rs`, which had the same gap. The new test `crate::tests::export_tool_lists_txt_and_writes_crlf` pins the enum entry and the CRLF output through the MCP tool.

Fixes #2625
2026-12-05 16:43:59 +06:00
..
2026-12-04 14:48:40 +00:00