a2ui-project / a2ui-project/a2ui
[FEATURE]: add strong types for py and ts
- Dominant language
- TypeScript
- Stars
- 16.4k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 134
Description
Add strong types to the A2UI SDK?
I'm currently manipulating dictionaries which is error prone and tedious. At least for things like the A2UI metadata which is fixed per A2UI version.
Contributor guide
Research direction
Look at the A2UI SDK codebase, likely in an 'sdk' or 'client' directory, to understand the current dictionary-based interfaces for metadata. Identify the fixed metadata structure per A2UI version. Create TypeScript type definitions (interfaces/types) and Python type hints (likely using typing module or pydantic) for these structures. Ensure the types are exported/imported correctly. Test by updating a sample usage to use the new types instead of dictionaries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100