feat: update mcp gateway diagram

pull/721/head
Travis Fischer 2025-07-03 06:18:14 -05:00
rodzic 7023219503
commit e9a0dd893c
3 zmienionych plików z 23 dodań i 86 usunięć

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 201 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 213 KiB

Wyświetl plik

@ -34,7 +34,7 @@
"format": "uri",
"description": "Optional URL to the source code of the project (eg, GitHub repo)."
},
"websiteUrl": {
"homepageUrl": {
"type": "string",
"format": "uri",
"description": "Optional URL to the product's website."
@ -63,11 +63,7 @@
"description": "Local file path, URL, or JSON stringified OpenAPI spec describing the origin API server."
}
},
"required": [
"url",
"type",
"spec"
],
"required": ["url", "type", "spec"],
"additionalProperties": false
},
{
@ -84,10 +80,7 @@
"const": "mcp"
}
},
"required": [
"url",
"type"
],
"required": ["url", "type"],
"additionalProperties": false
},
{
@ -104,10 +97,7 @@
"const": "raw"
}
},
"required": [
"url",
"type"
],
"required": ["url", "type"],
"additionalProperties": false
}
],
@ -130,12 +120,7 @@
},
"interval": {
"type": "string",
"enum": [
"day",
"week",
"month",
"year"
],
"enum": ["day", "week", "month", "year"],
"description": "The frequency at which a subscription is billed."
},
"description": {
@ -161,9 +146,7 @@
"const": false
}
},
"required": [
"enabled"
],
"required": ["enabled"],
"additionalProperties": false
},
{
@ -189,10 +172,7 @@
},
"mode": {
"type": "string",
"enum": [
"strict",
"approximate"
],
"enum": ["strict", "approximate"],
"default": "approximate",
"description": "How to enforce the rate limit: \"strict\" (more precise but slower) or \"approximate\" (the default; faster and asynchronous but less precise)."
},
@ -201,10 +181,7 @@
"default": true
}
},
"required": [
"interval",
"limit"
],
"required": ["interval", "limit"],
"additionalProperties": false
}
]
@ -231,11 +208,7 @@
"minimum": 0
}
},
"required": [
"slug",
"usageType",
"amount"
],
"required": ["slug", "usageType", "amount"],
"additionalProperties": false
},
{
@ -256,10 +229,7 @@
},
"billingScheme": {
"type": "string",
"enum": [
"per_unit",
"tiered"
]
"enum": ["per_unit", "tiered"]
},
"unitAmount": {
"type": "number",
@ -267,10 +237,7 @@
},
"tiersMode": {
"type": "string",
"enum": [
"graduated",
"volume"
]
"enum": ["graduated", "volume"]
},
"tiers": {
"type": "array",
@ -295,9 +262,7 @@
]
}
},
"required": [
"upTo"
],
"required": ["upTo"],
"additionalProperties": false
},
"minItems": 1
@ -307,10 +272,7 @@
"properties": {
"formula": {
"type": "string",
"enum": [
"sum",
"count"
],
"enum": ["sum", "count"],
"default": "sum"
}
},
@ -325,24 +287,14 @@
},
"round": {
"type": "string",
"enum": [
"down",
"up"
]
"enum": ["down", "up"]
}
},
"required": [
"divideBy",
"round"
],
"required": ["divideBy", "round"],
"additionalProperties": false
}
},
"required": [
"slug",
"usageType",
"billingScheme"
],
"required": ["slug", "usageType", "billingScheme"],
"additionalProperties": false
}
],
@ -352,11 +304,7 @@
"maxItems": 20
}
},
"required": [
"name",
"slug",
"lineItems"
],
"required": ["name", "slug", "lineItems"],
"additionalProperties": false,
"description": "Represents the config for a Stripe subscription with one or more PricingPlanLineItems."
},
@ -389,9 +337,7 @@
},
"minItems": 1,
"description": "Optional list of billing intervals to enable in the pricingPlans.\n\nDefaults to a single monthly interval `['month']`.\n\nTo add support for annual pricing plans, for example, you can use: `['month', 'year']`.",
"default": [
"month"
]
"default": ["month"]
},
"defaultRateLimit": {
"$ref": "#/properties/pricingPlans/items/properties/rateLimit",
@ -487,28 +433,19 @@
"description": "A description of the example."
}
},
"required": [
"name",
"prompt",
"args"
],
"required": ["name", "prompt", "args"],
"additionalProperties": false
},
"description": "Examples of how to use this tool. Used to generate example usage in the tool's docs."
}
},
"required": [
"name"
],
"required": ["name"],
"additionalProperties": false
},
"default": []
}
},
"required": [
"name",
"origin"
],
"required": ["name", "origin"],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Agentic Project Config Schema",

Wyświetl plik

@ -515,10 +515,10 @@ function ProjectHeader({
{/* TODO: <CopyIcon className='w-4 h-4' /> */}
</div>
{project.lastPublishedDeployment?.websiteUrl && (
{project.lastPublishedDeployment?.homepageUrl && (
<Button asChild variant='link'>
<Link
href={project.lastPublishedDeployment.websiteUrl}
href={project.lastPublishedDeployment.homepageUrl}
className='text-sm flex flex-row gap-1.5! items-center text-muted-foreground! py-1! px-2!'
target='_blank'
rel='noopener noreferrer'