feat(cabana,pier): add Media Library admin API, mediafinder, Mail Images unification, and MCP tools

This commit is contained in:
Jakub Zych
2026-11-27 13:05:22 +01:00
parent 052aac4312
commit 2f0a44e504
32 changed files with 3882 additions and 69 deletions

View File

@@ -34,8 +34,9 @@ const streamRecheckInterval = time.Minute
// frameworkModule is the module path whose version names the server.
const frameworkModule = "git.golem15.com/golem15/summercms"
// maxRequestBody bounds one MCP request body, as the SDK's default does.
const maxRequestBody = 4 << 20
// maxRequestBody bounds one MCP request body. Raised to 8 MiB so a 5 MiB
// decoded base64 media_upload JSON-RPC call (~6.7 MiB encoded) fits cleanly.
const maxRequestBody = 8 << 20
// wellKnownPRM is the RFC 9728 well-known path.
const wellKnownPRM = "/.well-known/oauth-protected-resource"