Convert inspector chat Message[] to provider-neutral ProviderMessage[].
Assistant messages with completed tool invocations are expanded into an
assistant message (bearing toolCalls) followed by one tool message per
invocation carrying the serialized result. This mirrors what the inspector
previously built using LangChain's AIMessage + ToolMessage pair.
Inspector messages in conversation order.
Provider-neutral messages, including completed tool call/result pairs.
@mcp-use/agent— Native cross-platform MCP agent.Inspector → MCPAgent → loop → raw fetch +
@mcp-use/client. LangChain integration lives in@mcp-use/agent/langchain.