feat(cabana,pier): add Media Library admin API, mediafinder, Mail Images unification, and MCP tools
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user