fix: parse uname output for arch/os

This commit is contained in:
Yeuoly
2026-01-21 16:09:57 +08:00
parent 699650565e
commit c4943ff4f5
2 changed files with 10 additions and 4 deletions

View File

@ -5,7 +5,7 @@
## Key Decisions
- Sandbox metadata is gathered during `_construct_environment` using the E2B SDK before returning `Metadata`.
- Architecture/OS detection uses a single `uname -m -s` call split into two lines to reduce round-trips.
- Architecture/OS detection uses a single `uname -m -s` call split by whitespace to reduce round-trips.
- Command execution streams stdout/stderr through `QueueTransportReadCloser`; stdin is unsupported.
## Edge Cases