Skip to content

feat(sdk): Python and JS SDKs for API v1.3.0#137

Merged
Oanakiaja merged 2 commits intomainfrom
release/1.3.0
Mar 9, 2026
Merged

feat(sdk): Python and JS SDKs for API v1.3.0#137
Oanakiaja merged 2 commits intomainfrom
release/1.3.0

Conversation

@Oanakiaja
Copy link
Collaborator

@Oanakiaja Oanakiaja commented Mar 2, 2026

Summary

  • Add 7 new Bash session management endpoints (exec, output, write, kill, sessions, create, close)
  • Python SDK: agent-sandbox 0.0.24 → 0.0.25
  • JS SDK: @agent-infra/sandbox 1.0.10 → 1.0.11
  • Fix fern-generated type issues (BodyInit, isFailedResponse, error handling patterns)
  • API version: 1.0.0.143 → 1.3.0

New Bash Endpoints

Endpoint Method Description
/v1/bash/exec POST Execute bash command (sync/async)
/v1/bash/output POST Read output (offset-based streaming)
/v1/bash/write POST Write to stdin
/v1/bash/kill POST Send signal (SIGTERM/SIGKILL/SIGINT)
/v1/bash/sessions GET List active sessions
/v1/bash/sessions/create POST Create session
/v1/bash/sessions/{id}/close POST Close session

Test

  • JS SDK: 51 passed, 16 skipped (e2e), 0 failed

…ment

- Add 7 new Bash endpoints: exec, output, write, kill, sessions, create, close
- Python SDK: agent-sandbox 0.0.24 -> 0.0.25
- JS SDK: @agent-infra/sandbox 1.0.10 -> 1.0.11
- Fix fern-generated type issues (BodyInit, isFailedResponse, error handling)
- Regenerated SDKs with Fern (python-sdk, js-sdk)
- Fixed JS SDK type issues: restored APIResponse type guards, BodyInit types, and error handling patterns
- Python SDK: 0.0.25 → 0.0.26
- JS SDK: 1.0.11 → 1.0.12
@Oanakiaja Oanakiaja merged commit d6e1af7 into main Mar 9, 2026
6 checks passed
@Oanakiaja Oanakiaja deleted the release/1.3.0 branch March 9, 2026 09:20
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.

2 participants