@tpsdev-ai/flair 0.33.0 → 0.35.0
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/config.yaml +17 -0
- package/dist/cli.js +570 -83
- package/dist/component-env.js +286 -0
- package/dist/deploy.js +190 -3
- package/dist/doctor-client.js +370 -8
- package/dist/engine-version.js +239 -0
- package/dist/hook-install.js +39 -9
- package/dist/lib/auth-resolve.js +85 -2
- package/dist/lib/launchd-management.js +328 -0
- package/dist/lib/mcp-enable.js +19 -0
- package/dist/resources/AdminInstance.js +26 -8
- package/dist/resources/OAuth.js +41 -25
- package/dist/resources/auth-middleware.js +26 -0
- package/dist/resources/dcr-gate.js +194 -0
- package/dist/resources/mcp-handler.js +91 -4
- package/dist/resources/mcp-oauth.js +136 -7
- package/dist/resources/oauth-discovery.js +242 -0
- package/dist/resources/oauth-wellknown.js +111 -0
- package/dist/resources/rate-limit.js +400 -0
- package/docs/auth.md +122 -5
- package/docs/deploying-on-fabric.md +35 -2
- package/docs/deployment.md +1 -1
- package/docs/hosted-on-fabric.md +1 -1
- package/docs/mcp-clients.md +24 -2
- package/docs/troubleshooting.md +36 -0
- package/package.json +1 -1
package/config.yaml
CHANGED
|
@@ -81,3 +81,20 @@ authentication:
|
|
|
81
81
|
# own risk.
|
|
82
82
|
authorizeLocal: false
|
|
83
83
|
enableSessions: true
|
|
84
|
+
|
|
85
|
+
# @harperfast/oauth — authorization server component declaration.
|
|
86
|
+
# Commented out by default: the plugin is only needed when FLAIR_MCP_OAUTH=on.
|
|
87
|
+
# When you enable the flag without uncommenting this block, the boot guard
|
|
88
|
+
# (resources/mcp-oauth.ts) logs an error with the exact YAML to add — uncomment
|
|
89
|
+
# the block below and add mcp.* config. The issuer is derived at runtime from
|
|
90
|
+
# FLAIR_MCP_ISSUER / FLAIR_PUBLIC_URL; do not hardcode one here.
|
|
91
|
+
#
|
|
92
|
+
# "@harperfast/oauth":
|
|
93
|
+
# providers:
|
|
94
|
+
# default:
|
|
95
|
+
# authorizationEndpoint: "/OAuthAuthorize"
|
|
96
|
+
# tokenEndpoint: "/OAuthToken"
|
|
97
|
+
# revocationEndpoint: "/OAuthRevoke"
|
|
98
|
+
# registrationEndpoint: "/OAuthRegister"
|
|
99
|
+
# jwksUri: "/.well-known/jwks.json"
|
|
100
|
+
# discoveryEndpoint: "/.well-known/oauth-authorization-server"
|