feat(python-sdk): wrap sandboxd ProcessService.Start and SendSignal

Merged
WJ
1mo ago
+1112-3

What this PR does / why we need it:

Add Python SDK wrappers for two sandboxd ProcessService gRPC RPCs that aren’t yet exposed:

Start — server-streaming exec that yields stdout/stderr events in real time
SendSignal — POSIX signal delivery for cancellation

Which issue(s) this PR is related to:

fixes #1603

Release Note

Summary by CodeRabbit

  • New Features
    • Added synchronous and asynchronous streaming command execution, with output and exit events, signal support, and automatic cancellation when a handle is closed before completion.
    • Added options to set environment variables, working directory, and optional terminal dimensions.
  • Documentation
    • Added guidance for streaming commands and reference details for process events and terminal sizing.