Skip to content

v0.4.0

Latest

Choose a tag to compare

@HEXUXIU HEXUXIU released this 18 Aug 08:59

v0.4.0 — MCP Native Tool Discovery + Account-Bound Proxy

MCP Integration

  • Mount /v1/mcp/sse, /v1/mcp/message, /v1/mcp/tools endpoints
  • When request has tools, register to MCP registry and inject mcp-gateway plugin
  • M365 Copilot discovers tools natively via plugins list — no more large prompt injection
  • toolProtocolPrompt simplified: hasPlugins=true returns text as-is

Account-Bound Proxy (One-Account-One-IP)

  • AccountToken.BoundProxy field persisted in accounts.json
  • Per-proxy chathub.Client cache with dedicated connection pool
  • /api/accounts/bind-proxy API endpoint (admin-only)
  • Web UI: Proxy column + Bind button in accounts table

Bug Fixes

  • Web files embedded into binary — exe works standalone without web/ folder
  • MergeTools prevents concurrent request tool registry overwrite
  • Stuck tool loop detection: same call 3x or same failure 2x blocks further tool rounds
  • Conversation list returns empty instead of error when M365 API structure varies
  • bindProxy unbind correctly clears proxyClients cache
  • clientForProxy inherits Trace callback from global client