Skip to content

feat(typescript): add TypeScript namespace client and align architecture with Python#312

Open
Xuanwo wants to merge 3 commits intomainfrom
xuanwo/namespace-client
Open

feat(typescript): add TypeScript namespace client and align architecture with Python#312
Xuanwo wants to merge 3 commits intomainfrom
xuanwo/namespace-client

Conversation

@Xuanwo
Copy link
Copy Markdown
Contributor

@Xuanwo Xuanwo commented Feb 23, 2026

This PR follows the python's pattern and added a ts namespace client.

Key design points

  • core package only provides abstractions and class-path based implementation loading
  • NATIVE_IMPLS follows Python-style aliases (rest, dir) and dynamic loading
  • REST implementation lives in a separate package and is wired through class paths
  • OpenAPI generation is post-processed by typescript/scripts/patch-fetch-client.mjs to keep build/lint/test and exports stable after regen

Validation

  • make -C typescript build
  • make -C typescript lint

Parts of this PR were drafted with assistance from Codex (with gpt-5.3-codex) and fully reviewed and edited by me. I take full responsibility for all changes.

@github-actions github-actions bot added the enhancement New feature or request label Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant