Skip to content

Add TypeScript Vercel schema-selection example#5

Merged
rlippmann merged 1 commit into
mainfrom
codex/move-vercel
Jun 19, 2026
Merged

Add TypeScript Vercel schema-selection example#5
rlippmann merged 1 commit into
mainfrom
codex/move-vercel

Conversation

@rlippmann

Copy link
Copy Markdown
Owner

Summary

  • add a small TypeScript schema-selection example under typescript/examples/schema_selection/vercel_ai_sdk_generate_object
  • keep schema selection as the enforcement point and treat Vercel AI SDK generateObject as downstream host behavior
  • use published @rlippmann/context-compiler with deterministic tests and no directive-drafter dependency

Preserved behavior

  • compiler state selects the host-offered schema
  • selected schema becomes downstream request config
  • no authorized schema means the host omits schema selection and skips downstream generation
  • no model output mutates compiler state

Validation

  • npm install
  • npm run build
  • npm run typecheck
  • npm test
  • npm run example

@rlippmann rlippmann marked this pull request as ready for review June 19, 2026 03:43
@rlippmann rlippmann merged commit ab6c6ac into main Jun 19, 2026
1 check passed
@rlippmann rlippmann deleted the codex/move-vercel branch June 19, 2026 03:43
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