Skip to content

Conversation

@0xRaduan
Copy link
Contributor

@0xRaduan 0xRaduan commented Nov 9, 2025

The TypeScript SDK's README incorrectly claimed that runStreamed() emits "file diffs". However, the FileChangeItem type only contains metadata (path, kind, status) without actual diff content.

Updated line 36 to accurately describe the SDK as providing "file change notifications" instead of "file diffs" to match the actual implementation in items.ts.

Fixes #5850

@github-actions
Copy link

github-actions bot commented Nov 9, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

…ations'

The TypeScript SDK's README incorrectly claimed that runStreamed()
emits "file diffs". However, the FileChangeItem type only contains
metadata (path, kind, status) without actual diff content.

Updated line 36 to accurately describe the SDK as providing "file
change notifications" instead of "file diffs" to match the actual
implementation in items.ts.

Fixes openai#5850
@0xRaduan 0xRaduan force-pushed the claude/fix-sdk-file-diffs-docs-011CUxDANBGo8jkERnfX1uKa branch from c78787b to c8b000e Compare November 9, 2025 11:11
@0xRaduan 0xRaduan changed the title Fix SDK documentation: replace 'file diffs' with 'file change notifications Fix SDK documentation: replace 'file diffs' with 'file change notifications' Nov 9, 2025
@etraut-openai
Copy link
Collaborator

Thanks for the spotting that issue and fixing it!

@etraut-openai etraut-openai merged commit 8b80a0a into openai:main Nov 9, 2025
10 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SDK does not expose file diffs despite npm docs stating “streaming responses include file diffs”

2 participants