Skip to content

Implement SEP-1330: Elicitation Enum Schema Improvements #1056

@felixweinberger

Description

@felixweinberger

This is a tracking issue for implementation of SEP-1330.

Summary

This SEP improves enum schema definitions in elicitation by deprecating the non-standard enumNames property in favor of JSON Schema 2020-12 compliant patterns using oneOf with const and title. The TypeScript SDK needs to implement new schema types (UntitledSingleSelectEnumSchema, TitledSingleSelectEnumSchema, UntitledMultiSelectEnumSchema, TitledMultiSelectEnumSchema), extend ElicitResult to support string arrays in the content field for multi-select responses, and maintain backward compatibility with the deprecated enumNames approach while supporting the new standardized patterns.

Related Issues & PRs

  • Implementation PRs: #844, #1012
  • Related PRs: n/a
  • Related Issues: n/a

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions