Skip to content

Conversation

@bokelley
Copy link
Contributor

Summary

  • Expose all 202 generated types through the stable public API
  • Add union type aliases for discriminated unions (Deployment, Destination, AuthorizedAgent, PublisherProperties)
  • Add 4 semantic aliases for AuthorizedAgents variants
  • Eliminate need for users to import from internal modules

Test Plan

  • All 295 tests passing
  • Type exports verified across stable.py, aliases.py, and init.py

bokelley and others added 2 commits November 18, 2025 22:13
- Add 134 missing base types to stable.py exports (202 total)
- Add 4 semantic aliases for AuthorizedAgents discriminated union variants
- Add 4 union type aliases (Deployment, Destination, AuthorizedAgent, PublisherProperties)
- Update types/__init__.py to export all types from stable and aliases modules
- Fix test imports to use _generated instead of generated_poc
- All 295 tests passing

Users can now import all types from adcp.types or adcp package without accessing internal modules. Union type aliases simplify type hints for discriminated unions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Run ruff --fix to auto-format import statements
- Add GeneratedTaskStatus to __all__ exports

All 295 tests passing. Fixes CI linting failures.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@bokelley bokelley merged commit 3abef14 into main Nov 19, 2025
7 checks passed
@bokelley bokelley deleted the expose-all-types branch November 19, 2025 03:17
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