SIGN IN SIGN UP

fix(examples): fix harness example runner bug so that examples reading stdin cannot mess up the overall example execution loop (#19841)

## Background

The `with-client-side-tool.ts` example which all harnesses have reads
from stdin. Since the tool runner was also gathering the example files
to iterate over in the same loop as running them, this example file's
execution could mess up the runner loop, therefore stopping.

## Summary

Update the runner script to first gather all files in a loop, then run
them in a second loop.

**Example/tooling only change.** No changeset needed.

## Checklist

- [x] All commits are signed (PRs with unsigned commits cannot be
merged)
- [ ] Tests have been added / updated (for bug fixes / features)
- [ ] Documentation has been added / updated (for bug fixes / features)
- [ ] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)
- [x] I have reviewed this pull request (self-review)
F
Felix Arntz committed
c427238aa68d452262f99674f17d02de5ef79949
Parent: e0d7cfb
Committed by GitHub <noreply@github.com> on 8/27/2026, 5:43:46 PM