Skip to content

Commit c3f6937

Browse files
authored
Merge pull request #165 from adcontextprotocol/bokelley/adcp-rc3-spec
feat: ADCP 3.0.0-rc3 spec + full registry support
2 parents 99496ac + a45cdf5 commit c3f6937

File tree

820 files changed

+48893
-32250
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

820 files changed

+48893
-32250
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ uv.lock
152152
# Temporary schema processing directory
153153
.schema_temp/
154154

155+
# RegistrySync cursor file (written by FileCursorStore)
156+
.adcp-sync-cursor.json
157+
155158
# Working/status documents (not for commit)
156159
IMPLEMENTATION_PLAN.md
157160
IMPLEMENTATION_SUMMARY.md

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ test-generation: ## Run only code generation tests
4141
$(PYTEST) tests/test_code_generation.py -v
4242
@echo "✓ Code generation tests passed"
4343

44+
regenerate-registry: ## Regenerate registry types from OpenAPI spec
45+
@echo "Generating registry types from OpenAPI spec..."
46+
$(PYTHON) scripts/generate_registry_types.py
47+
@echo "✓ Registry types regenerated"
48+
4449
regenerate-schemas: ## Download latest schemas and regenerate models
4550
@echo "Downloading latest schemas..."
4651
$(PYTHON) scripts/sync_schemas.py

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ line-length = 100
7373
target-version = "py310"
7474
extend-exclude = [
7575
"src/adcp/types/_generated.py",
76+
"src/adcp/types/registry.py",
7677
"src/adcp/types/tasks.py",
7778
"src/adcp/types/generated_poc/",
7879
"examples/",

schemas/cache/.hashes.json

Lines changed: 420 additions & 405 deletions
Large diffs are not rendered by default.

schemas/cache/a2ui/bound-value.json

Lines changed: 0 additions & 70 deletions
This file was deleted.

schemas/cache/a2ui/component.json

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,32 @@
11
{
2+
"$id": "/schemas/3.0.0-rc.3/a2ui/component.json",
23
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "/schemas/3.0.0-rc.2/a2ui/component.json",
4-
"title": "A2UI Component",
4+
"additionalProperties": true,
55
"description": "A component in an A2UI surface",
6-
"type": "object",
76
"properties": {
8-
"id": {
9-
"type": "string",
10-
"description": "Unique identifier for this component within the surface"
11-
},
12-
"parentId": {
13-
"type": "string",
14-
"description": "ID of the parent component (null for root)"
15-
},
167
"component": {
17-
"type": "object",
8+
"additionalProperties": {
9+
"description": "Component properties",
10+
"type": "object"
11+
},
1812
"description": "Component definition (keyed by component type)",
19-
"minProperties": 1,
2013
"maxProperties": 1,
21-
"additionalProperties": {
22-
"type": "object",
23-
"description": "Component properties"
24-
}
14+
"minProperties": 1,
15+
"type": "object"
16+
},
17+
"id": {
18+
"description": "Unique identifier for this component within the surface",
19+
"type": "string"
20+
},
21+
"parentId": {
22+
"description": "ID of the parent component (null for root)",
23+
"type": "string"
2524
}
2625
},
27-
"required": ["id", "component"],
28-
"additionalProperties": true
29-
}
26+
"required": [
27+
"id",
28+
"component"
29+
],
30+
"title": "A2UI Component",
31+
"type": "object"
32+
}

0 commit comments

Comments
 (0)