Skip to content

refactor(core): tag read outputs - #39122

Merged
rekram1-node merged 1 commit into
v2from
adjust-read
Jul 27, 2026
Merged

refactor(core): tag read outputs#39122
rekram1-node merged 1 commit into
v2from
adjust-read

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • add explicit file, text-page, and list-page discriminators to Read outputs
  • keep the shared FileSystem.Content schema unchanged
  • replace structural encoding checks with direct output-type narrowing

Testing

  • bun test test/tool-read-filesystem.test.ts test/tool-read.test.ts
  • bun test test/session-instructions.test.ts
  • bun typecheck
  • git diff --check

@rekram1-node
rekram1-node merged commit 9977ef0 into v2 Jul 27, 2026
7 of 9 checks passed
@rekram1-node
rekram1-node deleted the adjust-read branch July 27, 2026 14:09
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