Skip to content

Conversation

@bokelley
Copy link
Contributor

Summary

  • Sync 140 schemas from upstream (61 updated) with filter ref splits
  • Export filter types: CreativeFilters, ProductFilters, SignalFilters
  • Consolidate stable.py into types/init.py for simpler architecture
  • Add backward compatibility for 15+ renamed types

Test plan

  • ✓ All 268 tests passing
  • ✓ Filter types accessible from main package
  • ✓ Imports updated throughout codebase

🤖 Generated with Claude Code

- Sync 140 schemas from upstream (61 updated) including filter ref splits
- Regenerate all Pydantic types with new schema structure
- Add backward compatibility aliases for renamed types (e.g., Action → CreativeAction)
- Export filter types (CreativeFilters, ProductFilters, SignalFilters)
- Consolidate stable.py into types/__init__.py (eliminate redundant layer)
- Update all imports from adcp.types.stable → adcp.types

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@bokelley bokelley changed the title Sync AdCP schema updates and simplify type architecture feat: sync AdCP schema updates and simplify type architecture Nov 21, 2025
bokelley and others added 3 commits November 21, 2025 10:57
Schema updated with latest changes from adcontextprotocol.org

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
- Fix import ordering in adcp/__init__.py
- Remove duplicate ReportingFrequency import
- Add GeneratedTaskStatus to __all__ exports
- Organize imports according to ruff standards

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
The core TaskStatus enum was shadowing GeneratedTaskStatus, causing mypy
to see the wrong type when client.py tried to access GeneratedTaskStatus
enum members.

Changes:
- Remove TaskStatus from adcp.types exports to avoid shadowing
- Import GeneratedTaskStatus directly instead of aliasing
- Update imports in client.py and __init__.py
- Fix import ordering per ruff standards

This resolves mypy errors about TaskStatus not having .completed, .submitted, etc.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@bokelley bokelley merged commit 58e0d24 into main Nov 21, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants