UpgradeLens
npm/PyPI/Django dependency upgrades: security, runtime compatibility, migration, package ranking.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"upgradelens": {
"url": "https://upgradelens.mattpicone.workers.dev/mcp"
}
}
}Puntos de conexión remotos
https://upgradelens.mattpicone.workers.dev/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (4)
🟢review_dependency_upgrade(ecosystem, package, current_version, target_version, runtime, ...)
Use when an agent reviews a Dependabot, Renovate, npm, or PyPI version change before merge. One cited result combines security delta, runtime compatibility, breaking changes, go/no-go risk, and ordered migration actions for exact current and target versions. Do not use for new installs, unknown versions, general documentation, or other ecosystems. Read-only and safe to retry.
Esquema de entrada
{
"type": "object",
"properties": {
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi"
],
"description": "Package ecosystem. Only npm and pypi are supported."
},
"package": {
"type": "string",
"maxLength": 214,
"description": "Exact registry package name."
},
"current_version": {
"type": "string",
"maxLength": 64,
"description": "Exact installed version."
},
"target_version": {
"type": "string",
"maxLength": 64,
"description": "Exact candidate version."
},
"runtime": {
"type": "object",
"additionalProperties": false,
"properties": {
"node": {
"type": "string"
},
"python": {
"type": "string"
}
}
},
"detail": {
"type": "string",
"enum": [
"compact",
"full"
],
"default": "compact",
"description": "compact is optimized for agent decisions; full includes the complete legacy plan payload."
}
},
"required": [
"ecosystem",
"package",
"current_version",
"target_version"
],
"additionalProperties": false
}Esquema de salida
{
"type": "object",
"properties": {
"next_action": {
"type": "string"
},
"recommended_target": {
"type": [
"string",
"null"
]
},
"action_allowed": {
"type": "boolean"
},
"billing": {
"type": "object",
"required": [
"mode",
"units",
"price_usd",
"trial_remaining",
"network",
"payment_status"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"validation",
"testnet",
"mainnet",
"paused"
]
},
"units": {
"type": "integer",
"minimum": 1
},
"price_usd": {
"type": "number"
},
"trial_remaining": {
"type": [
"integer",
"null"
]
},
"network": {
"type": [
"string",
"null"
]
},
"payment_status": {
"type": "string"
}
}
},
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi"
]
},
"package": {
"type": "string"
},
"current_version": {
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"coverage": {
"type": "object"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"freshness": {
"type": "string"
},
"analysis_version": {
"type": "string"
},
"decision": {
"type": "string",
"enum": [
"proceed",
"review_required",
"block",
"unknown"
]
},
"risk_score": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"target_version": {
"type": "string"
},
"latest_stable": {
"type": [
"string",
"null"
]
},
"repository_url": {
"type": [
"string",
"null"
]
},
"version_facts": {
"type": "object"
},
"security_delta": {
"type": "object"
},
"compatibility": {
"type": "object"
},
"breaking_changes": {
"type": "array",
"items": {
"type": "object"
}
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"claim_evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"cache_hit": {
"type": "boolean"
},
"migration_actions": {
"type": "array",
"items": {
"type": "object"
}
},
"changelog_urls": {
"type": "array",
"items": {
"type": "string"
}
},
"detail": {
"type": "string",
"enum": [
"compact",
"full"
]
},
"headline": {
"type": "string"
},
"citations": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": true,
"anyOf": [
{
"type": "object",
"additionalProperties": true,
"required": [
"next_action",
"billing",
"detail",
"headline",
"decision",
"action_allowed",
"risk_score",
"ecosystem",
"package",
"current_version",
"target_version",
"security_delta",
"compatibility",
"breaking_changes",
"migration_actions",
"coverage",
"confidence",
"freshness",
"analysis_version"
],
"properties": {
"next_action": {
"type": "string"
},
"recommended_target": {
"type": [
"string",
"null"
]
},
"action_allowed": {
"type": "boolean"
},
"billing": {
"type": "object",
"required": [
"mode",
"units",
"price_usd",
"trial_remaining",
"network",
"payment_status"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"validation",
"testnet",
"mainnet",
"paused"
]
},
"units": {
"type": "integer",
"minimum": 1
},
"price_usd": {
"type": "number"
},
"trial_remaining": {
"type": [
"integer",
"null"
]
},
"network": {
"type": [
"string",
"null"
]
},
"payment_status": {
"type": "string"
}
}
},
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi"
]
},
"package": {
"type": "string"
},
"current_version": {
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"coverage": {
"type": "object"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"freshness": {
"type": "string"
},
"analysis_version": {
"type": "string"
},
"decision": {
"type": "string",
"enum": [
"proceed",
"review_required",
"block",
"unknown"
]
},
"risk_score": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"target_version": {
"type": "string"
},
"latest_stable": {
"type": [
"string",
"null"
]
},
"repository_url": {
"type": [
"string",
"null"
]
},
"version_facts": {
"type": "object"
},
"security_delta": {
"type": "object"
},
"compatibility": {
"type": "object"
},
"breaking_changes": {
"type": "array",
"items": {
"type": "object"
}
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"claim_evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"cache_hit": {
"type": "boolean"
},
"migration_actions": {
"type": "array",
"items": {
"type": "object"
}
},
"changelog_urls": {
"type": "array",
"items": {
"type": "string"
}
},
"detail": {
"type": "string",
"enum": [
"compact",
"full"
]
},
"headline": {
"type": "string"
},
"citations": {
"type": "array",
"items": {
"type": "object"
}
}
}
},
{
"type": "object",
"additionalProperties": true,
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"additionalProperties": true,
"required": [
"code",
"message",
"retryable"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"field": {
"type": "string"
},
"details": {
"type": "object"
}
}
}
}
},
{
"type": "object",
"additionalProperties": true,
"required": [
"x402Version",
"resource",
"accepts"
],
"properties": {
"x402Version": {
"const": 2
},
"error": {
"type": "string"
},
"resource": {
"type": "object"
},
"accepts": {
"type": "array",
"minItems": 1,
"items": {
"type": "object"
}
},
"extensions": {
"type": "object"
}
}
}
]
}🟢check_dependency_upgrade(ecosystem, package, current_version, target_version, runtime)
Use when a coding agent needs a cited go/no-go risk decision without steps before changing an existing npm or PyPI dependency between two exact versions. Returns action_allowed, vulnerability delta, compatibility, EOL, and breaking-change evidence. Use plan_dependency_upgrade instead for ordered migration work. Do not use to choose a target, install a new package, search general docs, or analyze another ecosystem. Read-only and safe to retry.
Esquema de entrada
{
"type": "object",
"properties": {
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi"
],
"description": "Package ecosystem. Only npm and pypi are supported."
},
"package": {
"type": "string",
"maxLength": 214,
"description": "Exact registry package name."
},
"current_version": {
"type": "string",
"maxLength": 64,
"description": "Exact installed version."
},
"target_version": {
"type": "string",
"maxLength": 64,
"description": "Exact candidate version."
},
"runtime": {
"type": "object",
"additionalProperties": false,
"properties": {
"node": {
"type": "string"
},
"python": {
"type": "string"
}
}
}
},
"required": [
"ecosystem",
"package",
"current_version",
"target_version"
],
"additionalProperties": false
}Esquema de salida
{
"type": "object",
"properties": {
"next_action": {
"type": "string"
},
"recommended_target": {
"type": [
"string",
"null"
]
},
"action_allowed": {
"type": "boolean"
},
"billing": {
"type": "object",
"required": [
"mode",
"units",
"price_usd",
"trial_remaining",
"network",
"payment_status"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"validation",
"testnet",
"mainnet",
"paused"
]
},
"units": {
"type": "integer",
"minimum": 1
},
"price_usd": {
"type": "number"
},
"trial_remaining": {
"type": [
"integer",
"null"
]
},
"network": {
"type": [
"string",
"null"
]
},
"payment_status": {
"type": "string"
}
}
},
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi"
]
},
"package": {
"type": "string"
},
"current_version": {
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"coverage": {
"type": "object"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"freshness": {
"type": "string"
},
"analysis_version": {
"type": "string"
},
"decision": {
"type": "string",
"enum": [
"proceed",
"review_required",
"block",
"unknown"
]
},
"risk_score": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"target_version": {
"type": "string"
},
"latest_stable": {
"type": [
"string",
"null"
]
},
"repository_url": {
"type": [
"string",
"null"
]
},
"version_facts": {
"type": "object"
},
"security_delta": {
"type": "object"
},
"compatibility": {
"type": "object"
},
"breaking_changes": {
"type": "array",
"items": {
"type": "object"
}
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"claim_evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"cache_hit": {
"type": "boolean"
}
},
"additionalProperties": true,
"anyOf": [
{
"type": "object",
"additionalProperties": true,
"required": [
"next_action",
"billing",
"decision",
"action_allowed",
"risk_score",
"ecosystem",
"package",
"current_version",
"target_version",
"evidence",
"coverage",
"confidence",
"freshness",
"analysis_version"
],
"properties": {
"next_action": {
"type": "string"
},
"recommended_target": {
"type": [
"string",
"null"
]
},
"action_allowed": {
"type": "boolean"
},
"billing": {
"type": "object",
"required": [
"mode",
"units",
"price_usd",
"trial_remaining",
"network",
"payment_status"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"validation",
"testnet",
"mainnet",
"paused"
]
},
"units": {
"type": "integer",
"minimum": 1
},
"price_usd": {
"type": "number"
},
"trial_remaining": {
"type": [
"integer",
"null"
]
},
"network": {
"type": [
"string",
"null"
]
},
"payment_status": {
"type": "string"
}
}
},
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi"
]
},
"package": {
"type": "string"
},
"current_version": {
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"coverage": {
"type": "object"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"freshness": {
"type": "string"
},
"analysis_version": {
"type": "string"
},
"decision": {
"type": "string",
"enum": [
"proceed",
"review_required",
"block",
"unknown"
]
},
"risk_score": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"target_version": {
"type": "string"
},
"latest_stable": {
"type": [
"string",
"null"
]
},
"repository_url": {
"type": [
"string",
"null"
]
},
"version_facts": {
"type": "object"
},
"security_delta": {
"type": "object"
},
"compatibility": {
"type": "object"
},
"breaking_changes": {
"type": "array",
"items": {
"type": "object"
}
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"claim_evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"cache_hit": {
"type": "boolean"
}
}
},
{
"type": "object",
"additionalProperties": true,
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"additionalProperties": true,
"required": [
"code",
"message",
"retryable"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"field": {
"type": "string"
},
"details": {
"type": "object"
}
}
}
}
},
{
"type": "object",
"additionalProperties": true,
"required": [
"x402Version",
"resource",
"accepts"
],
"properties": {
"x402Version": {
"const": 2
},
"error": {
"type": "string"
},
"resource": {
"type": "object"
},
"accepts": {
"type": "array",
"minItems": 1,
"items": {
"type": "object"
}
},
"extensions": {
"type": "object"
}
}
}
]
}🟢find_safe_upgrade_target(ecosystem, package, current_version, max_major_jump, allow_prerelease)
Use only when an existing npm or PyPI dependency has an exact current version but no chosen target. Ranks candidates; candidates are not declared safe and require check_dependency_upgrade or plan_dependency_upgrade. Do not use when a target is stated, for a new install, or as authorization to edit files. Read-only and safe to retry.
Esquema de entrada
{
"type": "object",
"properties": {
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi"
],
"description": "Package ecosystem. Only npm and pypi are supported."
},
"package": {
"type": "string",
"maxLength": 214,
"description": "Exact registry package name."
},
"current_version": {
"type": "string",
"maxLength": 64,
"description": "Exact installed version."
},
"max_major_jump": {
"type": "integer",
"minimum": 0,
"description": "Optional major-version jump cap. 0 = stay in the same major."
},
"allow_prerelease": {
"type": "boolean"
}
},
"required": [
"ecosystem",
"package",
"current_version"
],
"additionalProperties": false
}Esquema de salida
{
"type": "object",
"properties": {
"next_action": {
"type": "string"
},
"recommended_target": {
"type": [
"string",
"null"
]
},
"action_allowed": {
"type": "boolean"
},
"billing": {
"type": "object",
"required": [
"mode",
"units",
"price_usd",
"trial_remaining",
"network",
"payment_status"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"validation",
"testnet",
"mainnet",
"paused"
]
},
"units": {
"type": "integer",
"minimum": 1
},
"price_usd": {
"type": "number"
},
"trial_remaining": {
"type": [
"integer",
"null"
]
},
"network": {
"type": [
"string",
"null"
]
},
"payment_status": {
"type": "string"
}
}
},
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi"
]
},
"package": {
"type": "string"
},
"current_version": {
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"coverage": {
"type": "object"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"freshness": {
"type": "string"
},
"analysis_version": {
"type": "string"
},
"latest_stable": {
"type": [
"string",
"null"
]
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"version",
"decision",
"requires_full_check",
"rationale"
],
"properties": {
"version": {
"type": "string"
},
"decision": {
"type": "string",
"enum": [
"review_required",
"block",
"unknown"
]
},
"requires_full_check": {
"const": true
},
"rationale": {
"type": "array",
"items": {
"type": "string"
}
},
"score": {
"type": "number",
"description": "Ranking score, not a safety verdict."
},
"fixes_advisories": {
"type": "array",
"items": {
"type": "string"
}
},
"introduces_advisories": {
"type": "array",
"items": {
"type": "string"
}
},
"semver_jump": {
"type": "string"
},
"published_at": {
"type": [
"string",
"null"
]
}
}
}
}
},
"additionalProperties": true,
"anyOf": [
{
"type": "object",
"additionalProperties": true,
"required": [
"next_action",
"recommended_target",
"billing",
"ecosystem",
"package",
"current_version",
"action_allowed",
"candidates",
"evidence",
"coverage",
"confidence",
"freshness",
"analysis_version"
],
"properties": {
"next_action": {
"type": "string"
},
"recommended_target": {
"type": [
"string",
"null"
]
},
"action_allowed": {
"type": "boolean"
},
"billing": {
"type": "object",
"required": [
"mode",
"units",
"price_usd",
"trial_remaining",
"network",
"payment_status"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"validation",
"testnet",
"mainnet",
"paused"
]
},
"units": {
"type": "integer",
"minimum": 1
},
"price_usd": {
"type": "number"
},
"trial_remaining": {
"type": [
"integer",
"null"
]
},
"network": {
"type": [
"string",
"null"
]
},
"payment_status": {
"type": "string"
}
}
},
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi"
]
},
"package": {
"type": "string"
},
"current_version": {
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"coverage": {
"type": "object"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"freshness": {
"type": "string"
},
"analysis_version": {
"type": "string"
},
"latest_stable": {
"type": [
"string",
"null"
]
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"version",
"decision",
"requires_full_check",
"rationale"
],
"properties": {
"version": {
"type": "string"
},
"decision": {
"type": "string",
"enum": [
"review_required",
"block",
"unknown"
]
},
"requires_full_check": {
"const": true
},
"rationale": {
"type": "array",
"items": {
"type": "string"
}
},
"score": {
"type": "number",
"description": "Ranking score, not a safety verdict."
},
"fixes_advisories": {
"type": "array",
"items": {
"type": "string"
}
},
"introduces_advisories": {
"type": "array",
"items": {
"type": "string"
}
},
"semver_jump": {
"type": "string"
},
"published_at": {
"type": [
"string",
"null"
]
}
}
}
}
}
},
{
"type": "object",
"additionalProperties": true,
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"additionalProperties": true,
"required": [
"code",
"message",
"retryable"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"field": {
"type": "string"
},
"details": {
"type": "object"
}
}
}
}
},
{
"type": "object",
"additionalProperties": true,
"required": [
"x402Version",
"resource",
"accepts"
],
"properties": {
"x402Version": {
"const": 2
},
"error": {
"type": "string"
},
"resource": {
"type": "object"
},
"accepts": {
"type": "array",
"minItems": 1,
"items": {
"type": "object"
}
},
"extensions": {
"type": "object"
}
}
}
]
}🟢plan_dependency_upgrade(ecosystem, package, current_version, target_version, runtime)
Use when a coding agent needs a migration checklist, refactor actions, ordered review actions, changelog links, or test steps for exact current and target npm/PyPI versions. Use check_dependency_upgrade instead for a go/no-go without steps. Do not use to choose a target, install a package, or provide a general tutorial. Read-only and safe to retry.
Esquema de entrada
{
"type": "object",
"properties": {
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi"
],
"description": "Package ecosystem. Only npm and pypi are supported."
},
"package": {
"type": "string",
"maxLength": 214,
"description": "Exact registry package name."
},
"current_version": {
"type": "string",
"maxLength": 64,
"description": "Exact installed version."
},
"target_version": {
"type": "string",
"maxLength": 64,
"description": "Exact candidate version."
},
"runtime": {
"type": "object",
"additionalProperties": false,
"properties": {
"node": {
"type": "string"
},
"python": {
"type": "string"
}
}
}
},
"required": [
"ecosystem",
"package",
"current_version",
"target_version"
],
"additionalProperties": false
}Esquema de salida
{
"type": "object",
"properties": {
"next_action": {
"type": "string"
},
"recommended_target": {
"type": [
"string",
"null"
]
},
"action_allowed": {
"type": "boolean"
},
"billing": {
"type": "object",
"required": [
"mode",
"units",
"price_usd",
"trial_remaining",
"network",
"payment_status"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"validation",
"testnet",
"mainnet",
"paused"
]
},
"units": {
"type": "integer",
"minimum": 1
},
"price_usd": {
"type": "number"
},
"trial_remaining": {
"type": [
"integer",
"null"
]
},
"network": {
"type": [
"string",
"null"
]
},
"payment_status": {
"type": "string"
}
}
},
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi"
]
},
"package": {
"type": "string"
},
"current_version": {
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"coverage": {
"type": "object"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"freshness": {
"type": "string"
},
"analysis_version": {
"type": "string"
},
"decision": {
"type": "string",
"enum": [
"proceed",
"review_required",
"block",
"unknown"
]
},
"risk_score": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"target_version": {
"type": "string"
},
"latest_stable": {
"type": [
"string",
"null"
]
},
"repository_url": {
"type": [
"string",
"null"
]
},
"version_facts": {
"type": "object"
},
"security_delta": {
"type": "object"
},
"compatibility": {
"type": "object"
},
"breaking_changes": {
"type": "array",
"items": {
"type": "object"
}
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"claim_evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"cache_hit": {
"type": "boolean"
},
"migration_actions": {
"type": "array",
"items": {
"type": "object"
}
},
"changelog_urls": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true,
"anyOf": [
{
"type": "object",
"additionalProperties": true,
"required": [
"next_action",
"billing",
"decision",
"action_allowed",
"risk_score",
"ecosystem",
"package",
"current_version",
"target_version",
"evidence",
"coverage",
"confidence",
"freshness",
"analysis_version",
"migration_actions",
"changelog_urls"
],
"properties": {
"next_action": {
"type": "string"
},
"recommended_target": {
"type": [
"string",
"null"
]
},
"action_allowed": {
"type": "boolean"
},
"billing": {
"type": "object",
"required": [
"mode",
"units",
"price_usd",
"trial_remaining",
"network",
"payment_status"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"validation",
"testnet",
"mainnet",
"paused"
]
},
"units": {
"type": "integer",
"minimum": 1
},
"price_usd": {
"type": "number"
},
"trial_remaining": {
"type": [
"integer",
"null"
]
},
"network": {
"type": [
"string",
"null"
]
},
"payment_status": {
"type": "string"
}
}
},
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi"
]
},
"package": {
"type": "string"
},
"current_version": {
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"coverage": {
"type": "object"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"freshness": {
"type": "string"
},
"analysis_version": {
"type": "string"
},
"decision": {
"type": "string",
"enum": [
"proceed",
"review_required",
"block",
"unknown"
]
},
"risk_score": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"target_version": {
"type": "string"
},
"latest_stable": {
"type": [
"string",
"null"
]
},
"repository_url": {
"type": [
"string",
"null"
]
},
"version_facts": {
"type": "object"
},
"security_delta": {
"type": "object"
},
"compatibility": {
"type": "object"
},
"breaking_changes": {
"type": "array",
"items": {
"type": "object"
}
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"claim_evidence": {
"type": "array",
"items": {
"type": "object"
}
},
"cache_hit": {
"type": "boolean"
},
"migration_actions": {
"type": "array",
"items": {
"type": "object"
}
},
"changelog_urls": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
{
"type": "object",
"additionalProperties": true,
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"additionalProperties": true,
"required": [
"code",
"message",
"retryable"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"field": {
"type": "string"
},
"details": {
"type": "object"
}
}
}
}
},
{
"type": "object",
"additionalProperties": true,
"required": [
"x402Version",
"resource",
"accepts"
],
"properties": {
"x402Version": {
"const": 2
},
"error": {
"type": "string"
},
"resource": {
"type": "object"
},
"accepts": {
"type": "array",
"minItems": 1,
"items": {
"type": "object"
}
},
"extensions": {
"type": "object"
}
}
}
]
}Comunidad
Evidencia