From e36f0c15e27cf2268565c41bb61897dcd39c3269 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Thu, 18 Dec 2025 11:34:46 -0600 Subject: [PATCH 1/4] Update uv's JSON schema (#5232) This updates uv's JSON schema to [44d1a302c885d034c7712834270e34706b2d1de5](https://github.com/astral-sh/uv/commit/44d1a302c885d034c7712834270e34706b2d1de5) --- src/schemas/json/uv.json | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/src/schemas/json/uv.json b/src/schemas/json/uv.json index 7e6359db52c..d7599f3ec6a 100644 --- a/src/schemas/json/uv.json +++ b/src/schemas/json/uv.json @@ -176,7 +176,7 @@ } }, "exclude-newer": { - "description": "Limit candidate packages to those that were uploaded prior to a given point in time.\n\nAccepts a superset of [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html) (e.g.,\n`2006-12-02T02:07:43Z`). A full timestamp is required to ensure that the resolver will\nbehave consistently across timezones.", + "description": "Limit candidate packages to those that were uploaded prior to the given date.\n\nAccepts RFC 3339 timestamps (e.g., `2006-12-02T02:07:43Z`), a \"friendly\" duration (e.g.,\n`24 hours`, `1 week`, `30 days`), or an ISO 8601 duration (e.g., `PT24H`, `P7D`, `P30D`).\n\nDurations do not respect semantics of the local time zone and are always resolved to a fixed\nnumber of seconds assuming that a day is 24 hours (e.g., DST transitions are ignored).\nCalendar units such as months and years are not allowed.", "anyOf": [ { "$ref": "#/definitions/ExcludeNewerTimestamp" @@ -187,7 +187,7 @@ ] }, "exclude-newer-package": { - "description": "Limit candidate packages for specific packages to those that were uploaded prior to the given date.\n\nAccepts package-date pairs in a dictionary format.", + "description": "Limit candidate packages for specific packages to those that were uploaded prior to the\ngiven date.\n\nAccepts a dictionary format of `PACKAGE = \"DATE\"` pairs, where `DATE` is an RFC 3339\ntimestamp (e.g., `2006-12-02T02:07:43Z`), a \"friendly\" duration (e.g., `24 hours`, `1 week`,\n`30 days`), or a ISO 8601 duration (e.g., `PT24H`, `P7D`, `P30D`).\n\nDurations do not respect semantics of the local time zone and are always resolved to a fixed\nnumber of seconds assuming that a day is 24 hours (e.g., DST transitions are ignored).\nCalendar units such as months and years are not allowed.", "anyOf": [ { "$ref": "#/definitions/ExcludeNewerPackage" @@ -416,7 +416,7 @@ ] }, "python-downloads-json-url": { - "description": "URL pointing to JSON of custom Python installations.\n\nNote that currently, only local paths are supported.", + "description": "URL pointing to JSON of custom Python installations.", "type": ["string", "null"] }, "python-install-mirror": { @@ -485,6 +485,17 @@ } ] }, + "torch-backend": { + "description": "The backend to use when fetching packages in the PyTorch ecosystem.\n\nWhen set, uv will ignore the configured index URLs for packages in the PyTorch ecosystem,\nand will instead use the defined backend.\n\nFor example, when set to `cpu`, uv will use the CPU-only PyTorch index; when set to `cu126`,\nuv will use the PyTorch index for CUDA 12.6.\n\nThe `auto` mode will attempt to detect the appropriate PyTorch index based on the currently\ninstalled CUDA drivers.\n\nThis setting is only respected by `uv pip` commands.\n\nThis option is in preview and may change in any future release.", + "anyOf": [ + { + "$ref": "#/definitions/TorchMode" + }, + { + "type": "null" + } + ] + }, "trusted-publishing": { "description": "Configure trusted publishing.\n\nBy default, uv checks for trusted publishing when running in a supported environment, but\nignores it if it isn't configured.\n\nuv's supported environments for trusted publishing include GitHub Actions and GitLab CI/CD.", "anyOf": [ @@ -628,7 +639,7 @@ "default": false }, "source-exclude": { - "description": "Glob expressions which files and directories to exclude from the source distribution.", + "description": "Glob expressions which files and directories to exclude from the source distribution.\n\nThese exclusions are also applied to wheels to ensure that a wheel built from a source tree\nis consistent with a wheel built from a source distribution.", "type": "array", "default": [], "items": { @@ -765,9 +776,8 @@ } }, "ExcludeNewerTimestamp": { - "description": "Exclude distributions uploaded after the given timestamp.\n\nAccepts both RFC 3339 timestamps (e.g., `2006-12-02T02:07:43Z`) and local dates in the same format (e.g., `2006-12-02`).", - "type": "string", - "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}:\\d{2}(Z|[+-]\\d{2}:\\d{2}))?$" + "description": "Exclude distributions uploaded after the given timestamp.\n\nAccepts both RFC 3339 timestamps (e.g., `2006-12-02T02:07:43Z`) and local dates in the same format (e.g., `2006-12-02`), as well as relative durations (e.g., `1 week`, `30 days`, `6 months`). Relative durations are resolved to a timestamp at lock time.", + "type": "string" }, "ExtraBuildDependencies": { "type": "object", @@ -1448,7 +1458,7 @@ "type": ["string", "null"] }, "torch-backend": { - "description": "The backend to use when fetching packages in the PyTorch ecosystem.\n\nWhen set, uv will ignore the configured index URLs for packages in the PyTorch ecosystem,\nand will instead use the defined backend.\n\nFor example, when set to `cpu`, uv will use the CPU-only PyTorch index; when set to `cu126`,\nuv will use the PyTorch index for CUDA 12.6.\n\nThe `auto` mode will attempt to detect the appropriate PyTorch index based on the currently\ninstalled CUDA drivers.\n\nThis option is in preview and may change in any future release.", + "description": "The backend to use when fetching packages in the PyTorch ecosystem.\n\nWhen set, uv will ignore the configured index URLs for packages in the PyTorch ecosystem,\nand will instead use the defined backend.\n\nFor example, when set to `cpu`, uv will use the CPU-only PyTorch index; when set to `cu126`,\nuv will use the PyTorch index for CUDA 12.6.\n\nThe `auto` mode will attempt to detect the appropriate PyTorch index based on the currently\ninstalled CUDA drivers.\n\nThis setting is only respected by `uv pip` commands.\n\nThis option is in preview and may change in any future release.", "anyOf": [ { "$ref": "#/definitions/TorchMode" @@ -1681,6 +1691,10 @@ } ] }, + "lfs": { + "description": "Whether to use Git LFS when cloning the repository.", + "type": ["boolean", "null"] + }, "marker": { "$ref": "#/definitions/MarkerTree" }, @@ -2324,6 +2338,11 @@ "type": "string", "const": "cu80" }, + { + "description": "Use the PyTorch index for ROCm 6.4.", + "type": "string", + "const": "rocm6.4" + }, { "description": "Use the PyTorch index for ROCm 6.3.", "type": "string", From 19d03fb98dce434df14edd8f8294cac5dd0c9049 Mon Sep 17 00:00:00 2001 From: DavidAD Date: Thu, 18 Dec 2025 10:35:20 -0700 Subject: [PATCH 2/4] Add ACP (AI Context Protocol) schemas to catalog (#5233) Add three schema entries for the AI Context Protocol specification: - ACP Cache File (.acp.cache.json) - indexed codebase metadata - ACP Configuration File (.acp.config.json) - project settings - ACP Variables File (.acp.vars.json) - reusable context variables Schemas are self-hosted at https://acp-protocol.dev/schemas/v1/ --- src/api/json/catalog.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/api/json/catalog.json b/src/api/json/catalog.json index 58dcef1f656..90149d9887d 100644 --- a/src/api/json/catalog.json +++ b/src/api/json/catalog.json @@ -193,6 +193,24 @@ "11.2.0": "https://www.schemastore.org/abc-supply-plan-11.2.0.json" } }, + { + "name": "ACP Cache File", + "description": "AI Context Protocol cache file format for storing indexed codebase metadata", + "fileMatch": [".acp.cache.json"], + "url": "https://acp-protocol.dev/schemas/v1/cache.schema.json" + }, + { + "name": "ACP Configuration File", + "description": "AI Context Protocol configuration file for project-level settings", + "fileMatch": [".acp.config.json"], + "url": "https://acp-protocol.dev/schemas/v1/config.schema.json" + }, + { + "name": "ACP Variables File", + "description": "AI Context Protocol variables file for reusable context variables", + "fileMatch": [".acp.vars.json"], + "url": "https://acp-protocol.dev/schemas/v1/vars.schema.json" + }, { "name": "AIConfig", "description": "AIConfig that is used to store generative AI prompts, models and model parameters", From 5c7329c0467cbd5ca9e63b28c6f9b060758499df Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 18 Dec 2025 12:35:58 -0500 Subject: [PATCH 3/4] feat: adds overlay documents to the store (#5234) * feat: adds overlay documents to the store Signed-off-by: Vincent Biret * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Vincent Biret Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- src/api/json/catalog.json | 13 +++++++++++ src/schema-validation.jsonc | 3 ++- src/schemas/json/openapi-overlay-1.X.json | 28 +++++++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 src/schemas/json/openapi-overlay-1.X.json diff --git a/src/api/json/catalog.json b/src/api/json/catalog.json index 90149d9887d..6b9ea79f8e9 100644 --- a/src/api/json/catalog.json +++ b/src/api/json/catalog.json @@ -4445,6 +4445,19 @@ "fileMatch": ["openapi.json", "openapi.yml", "openapi.yaml"], "url": "https://www.schemastore.org/openapi-3.X.json" }, + { + "name": "overlay.json", + "description": "An OpenAPI Overlay document", + "fileMatch": [ + "overlay.json", + "overlay.yml", + "overlay.yaml", + "*.overlay.json", + "*.overlay.yml", + "*.overlay.yaml" + ], + "url": "https://www.schemastore.org/openapi-overlay-1.X.json" + }, { "name": "openrpc.json", "description": "An OpenRPC document. Documentation: https://open-rpc.org for more information", diff --git a/src/schema-validation.jsonc b/src/schema-validation.jsonc index a6b6196296c..13d1761de15 100644 --- a/src/schema-validation.jsonc +++ b/src/schema-validation.jsonc @@ -392,7 +392,8 @@ "lazygit.json", "circleciconfig.json", "ogen.json", - "openapi-3.X.json" // uses external references + "openapi-3.X.json", // uses external references + "openapi-overlay-1.X.json" // uses external references ], "catalogEntryNoLintNameOrDescription": [ "https://json-schema.org/draft-04/schema", diff --git a/src/schemas/json/openapi-overlay-1.X.json b/src/schemas/json/openapi-overlay-1.X.json new file mode 100644 index 00000000000..63253776c86 --- /dev/null +++ b/src/schemas/json/openapi-overlay-1.X.json @@ -0,0 +1,28 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://www.schemastore.org/openapi-overlay-1.X.json", + "title": "OpenAPI Overlay Document v1.X", + "type": "object", + "required": ["overlay"], + "properties": { + "overlay": { + "pattern": "^1\\.0\\.", + "type": "string" + } + }, + "allOf": [ + { + "if": { + "properties": { + "overlay": { + "pattern": "^1\\.0\\.", + "type": "string" + } + } + }, + "then": { + "$ref": "https://spec.openapis.org/overlay/1.0/schema/2024-10-22" + } + } + ] +} From e5f001472b02790d2904d58ea10668a5dfb4f40e Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 18 Dec 2025 13:06:22 -0500 Subject: [PATCH 4/4] feat: add OpenAPI Arazzo schema (#5235) * feat: add OpenAPI Arazzo schema Signed-off-by: Vincent Biret * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Vincent Biret Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- src/api/json/catalog.json | 6 +++++ src/schema-validation.jsonc | 3 ++- src/schemas/json/openapi-arazzo-1.X.json | 28 ++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 src/schemas/json/openapi-arazzo-1.X.json diff --git a/src/api/json/catalog.json b/src/api/json/catalog.json index 6b9ea79f8e9..fed7cfb8475 100644 --- a/src/api/json/catalog.json +++ b/src/api/json/catalog.json @@ -333,6 +333,12 @@ "fileMatch": [], "url": "https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/registry.json" }, + { + "name": "arazzo.json", + "description": "An OpenAPI Arazzo document", + "fileMatch": ["arazzo.json", "arazzo.yml", "arazzo.yaml"], + "url": "https://www.schemastore.org/openapi-arazzo-1.X.json" + }, { "name": "arb.json", "description": "Application Resource Bundle", diff --git a/src/schema-validation.jsonc b/src/schema-validation.jsonc index 13d1761de15..31eb5b2d9c4 100644 --- a/src/schema-validation.jsonc +++ b/src/schema-validation.jsonc @@ -393,7 +393,8 @@ "circleciconfig.json", "ogen.json", "openapi-3.X.json", // uses external references - "openapi-overlay-1.X.json" // uses external references + "openapi-overlay-1.X.json", // uses external references + "openapi-arazzo-1.X.json" // uses external references ], "catalogEntryNoLintNameOrDescription": [ "https://json-schema.org/draft-04/schema", diff --git a/src/schemas/json/openapi-arazzo-1.X.json b/src/schemas/json/openapi-arazzo-1.X.json new file mode 100644 index 00000000000..3f9907afb8d --- /dev/null +++ b/src/schemas/json/openapi-arazzo-1.X.json @@ -0,0 +1,28 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://www.schemastore.org/openapi-arazzo-1.X.json", + "title": "OpenAPI Arazzo Document v1.X", + "type": "object", + "required": ["arazzo"], + "properties": { + "arazzo": { + "pattern": "^1\\.0\\.", + "type": "string" + } + }, + "allOf": [ + { + "if": { + "properties": { + "arazzo": { + "pattern": "^1\\.0\\.", + "type": "string" + } + } + }, + "then": { + "$ref": "https://spec.openapis.org/arazzo/1.0/schema/2025-10-15" + } + } + ] +}