Skip to content

v1.3.2

Choose a tag to compare

@tuaris tuaris released this 30 Sep 07:21
· 7 commits to master since this release

v1.3.2

Fixes stdio stalls with hosts that close or never drain their pipes (observed with Zed on Windows), and makes the IMAP and OAuth paths event-driven:

  • Re-vendored Tortilla StdioTransport: bounded no-EOF read retries; diagnostics go through EnchiladaMCP\Logger (silent by default, MAIL_MCP_LOG / MAIL_MCP_LOG_STDERR opt-in). Adds --log / --log-level / --io-mode flags.
  • Re-vendored OAuthCallbackServer from Enchilada/Extras master (#49): handleConnection() is fully non-blocking, so the authorization-callback listener can no longer stall the MCP channel when an SSH-forwarded request trickles in.
  • IMAP socket I/O is now event-driven (SocketImapClient): permanently non-blocking after connect, buffered reads, writes via writability wait (large APPEND literals included). With the reactor loop, network waits park the dispatch fiber so pings keep being answered mid-call; otherwise a bounded poll emits progress notifications. STARTTLS and async connect share the same wait machinery.
  • New functional I/O test (SocketImapClientIoTest) pins the non-blocking engine against an in-process fake IMAP server.