Skip to content

refactor(pi-web-search): replace typebox with @earendil-works/pi-schema - #113

Open
GaganSD wants to merge 2 commits into
mainfrom
refactor/pi-web-search-pi-schema
Open

GaganSD wants to merge 2 commits into
mainfrom
refactor/pi-web-search-pi-schema

Conversation

@GaganSD

@GaganSD GaganSD commented Nov 3, 2026

Copy link
Copy Markdown
Owner
  • Replaces TypeBox schemas and validation with @earendil-works/pi-schema across search + output schemas and tests.
  • Adds @earendil-works/pi-schema@1.5.0 as the single runtime dependency (zero transitive deps); removes the typebox peer and dev dependency.
  • Keeps schema JSON equivalent: open/closed objects preserved, string enums keep type: "string", and only lit() loses the redundant type key.
  • Updates package-content guards to validate the schema dependency and reject any additional runtime dependency.
  • Verified with lint, typecheck, unit tests, integration tests, artifact build/smoke, schema snapshot comparison, and a clean npm ci.

This branch has not been deployed

No deployments
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.

1 participant