ampless 1.0.0-beta.59 → 1.0.0-beta.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1660,6 +1660,15 @@ interface AiConfig {
|
|
|
1660
1660
|
llmsTxt?: boolean | {
|
|
1661
1661
|
limit?: number;
|
|
1662
1662
|
};
|
|
1663
|
+
/**
|
|
1664
|
+
* Expose an anonymous, read-only MCP endpoint at `/api/mcp`
|
|
1665
|
+
* (JSON-RPC 2.0 over POST). Serves published posts only and can never
|
|
1666
|
+
* write. **Default: false** — because the endpoint is unauthenticated,
|
|
1667
|
+
* it is opt-in. The route ships a coarse warm-instance circuit breaker,
|
|
1668
|
+
* not a per-IP rate limiter; pair it with CloudFront / WAF for real
|
|
1669
|
+
* abuse protection.
|
|
1670
|
+
*/
|
|
1671
|
+
publicMcp?: boolean;
|
|
1663
1672
|
}
|
|
1664
1673
|
type Role = 'reader' | 'editor' | 'admin';
|
|
1665
1674
|
interface AuthContext {
|