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

Wyświetl plik

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