Spaces:
Running
Running
|
Download docs/adapters.md from warenterprise/trace2mcp: direct link, hf CLI and curl.
- Browser
- Download file 537 Bytes
-
https://huggingface.co/spaces/warenterprise/trace2mcp/resolve/main/docs/adapters.md
- Command line
-
hf download hf://spaces/warenterprise/trace2mcp/docs/adapters.md
-
curl -L -o adapters.md https://huggingface.co/spaces/warenterprise/trace2mcp/resolve/main/docs/adapters.md
537 Bytes
Trace adapters
Trace2MCP accepts native TraceIR JSON and Hugging Face Session Trace JSONL. Adapters
normalize provider fields into TraceIR, redact known secret patterns, and classify calls
conservatively. If a provider format does not include trustworthy effect metadata, the
call becomes unknown and automatic compilation stops.
New adapters should be deterministic, preserve stable call IDs and ordering, reject incomplete calls, never execute trace content, and include fixture-based tests for both valid and adversarial input.