Skip to content

fix(types): add hosted shell response stream events#1764

Open
theamodhshetty wants to merge 1 commit intoopenai:masterfrom
theamodhshetty:codex/add-shell-response-stream-event-types
Open

fix(types): add hosted shell response stream events#1764
theamodhshetty wants to merge 1 commit intoopenai:masterfrom
theamodhshetty:codex/add-shell-response-stream-event-types

Conversation

@theamodhshetty
Copy link

Summary

  • add the missing hosted shell stream event interfaces to the Responses API types
  • include them in both ResponseStreamEvent and the parsed stream event union used by responses.stream()
  • add a compile-time regression test covering the raw union and the typed .on(...) listener surface

Fixes #1750.

Testing

  • ./node_modules/.bin/jest tests/responses.test.ts --runInBand
  • ./scripts/build
  • ./node_modules/.bin/eslint src/lib/responses/EventTypes.ts src/resources/responses/responses.ts tests/responses.test.ts

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.

Hosted shell types and streaming events missing

1 participant