a2ui-project / a2ui-project/a2ui

[FEATURE]: add strong types for py and ts

Open
#1,975 6 comments 0 reactions 0 assignees View on GitHub
P2
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.