)]}'
{
  "commit": "df47afa37ffb60e34aa49b03ff6dac0a14a70e24",
  "tree": "1dc8e8c9e89c7edf293e6264505549f5924066f3",
  "parents": [
    "db6e26c7c765016b1e314443484d7996e7cea186"
  ],
  "author": {
    "name": "Rich Bowen",
    "email": "rbowen@rcbowen.com",
    "time": "Tue Jun 16 17:08:58 2026 -0400"
  },
  "committer": {
    "name": "Rich Bowen",
    "email": "rbowen@rcbowen.com",
    "time": "Tue Jun 16 17:08:58 2026 -0400"
  },
  "message": "Fix get_thread, add get_source, make API suffix configurable\n\nThe original MCP was built from an outdated and inaccurate version of\nthe PonyMail API documentation. With accurate docs now available\n(see apache/incubator-ponymail-foal#313), update the MCP to match\nthe actual Foal API:\n\n- get_thread: Use the dedicated /api/thread endpoint instead of\n  fetching a single email via /api/email and hoping for the best.\n  Now returns the full threaded tree + flat email array. Add\n  find_parent parameter to navigate to thread root from any message.\n\n- get_source: New tool — fetches raw RFC 2822 email source via\n  /api/source. Includes restriction/privacy checks.\n\n- API suffix: New PONYMAIL_API_SUFFIX env var (default \".lua\").\n  Set to \".json\" for native Foal deployments without the legacy\n  compat layer. All endpoint paths now use the configurable suffix.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e30093c8ee94dbc9a9ccaf7ff011e15a668524d2",
      "old_mode": 33188,
      "old_path": "mcp/ponymail-mcp/index.js",
      "new_id": "5159a68fb629e2926e2a2fbc624b1c51744a9693",
      "new_mode": 33188,
      "new_path": "mcp/ponymail-mcp/index.js"
    }
  ]
}
