Skip to content

Fix read_files normalized path results#699

Merged
jahooma merged 1 commit into
mainfrom
jahooma/fix-read-files-empty-haspaces
May 17, 2026
Merged

Fix read_files normalized path results#699
jahooma merged 1 commit into
mainfrom
jahooma/fix-read-files-empty-haspaces

Conversation

@jahooma
Copy link
Copy Markdown
Contributor

@jahooma jahooma commented May 17, 2026

Fixes read_files results getting dropped when the SDK normalizes absolute or ./ paths to project-relative keys. The runtime now consumes the returned file map keys directly, while still filtering missing file results. The read_files schema description now reflects that in-project absolute paths are accepted, and a regression test covers normalized returned paths.\n\nValidation: bun test sdk/src/tests/read-files.test.ts packages/agent-runtime/src/tests/get-file-reading-updates.test.ts; bun run typecheck in packages/agent-runtime.

@jahooma jahooma merged commit 25c2b3a into main May 17, 2026
35 checks passed
@jahooma jahooma deleted the jahooma/fix-read-files-empty-haspaces branch May 17, 2026 07:04
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