Skip to content

feat(rust,python,typescript): add session export JSONL support#76

Merged
chaliy merged 2 commits intomainfrom
claude/process-sdk-issues-QHflG
Apr 6, 2026
Merged

feat(rust,python,typescript): add session export JSONL support#76
chaliy merged 2 commits intomainfrom
claude/process-sdk-issues-QHflG

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Apr 6, 2026

Summary

  • Add sessions.export() method to Rust, Python, and TypeScript SDKs
  • Calls GET /v1/sessions/{id}/export returning raw JSONL string
  • Follows existing agents.export() pattern using get_text/fetchText

Closes #75

Test Plan

  • Added test_session_export to all three SDK test suites

  • Mocks verify correct URL construction and response handling

  • Tests pass locally

  • Coverage ≥80%

  • Linting passes

Checklist

  • Follows SDK API consistency guidelines
  • Updated relevant specs (if applicable)
  • Added/updated tests
  • Updated documentation (if applicable)

chaliy added 2 commits April 6, 2026 04:53
Add sessions.export() method to all three SDKs that calls
GET /v1/sessions/{id}/export and returns the raw JSONL string.

Closes #75
@chaliy chaliy merged commit 6ac40e9 into main Apr 6, 2026
12 checks passed
@chaliy chaliy deleted the claude/process-sdk-issues-QHflG branch April 6, 2026 12:17
chaliy added a commit that referenced this pull request Apr 16, 2026
## Summary

- bump Rust, Python, and TypeScript SDK package versions to `0.1.8`
- add the `0.1.8` changelog entry for PRs `#80`, `#79`, `#78`, and `#76`
- refresh language lockfiles generated by the release verification steps

## Test Plan

- [x] Tests pass locally (`just pre-pr`)
- [x] Coverage ≥80%
- [x] Linting passes
- [x] `just pre-push`
- [x] `just publish-dry-run`

## Checklist

- [x] Follows SDK API consistency guidelines
- [x] Updated relevant specs (if applicable)
- [x] Added/updated tests
- [x] Updated documentation (if applicable)
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.

feat(sdk): add session export JSONL support to everruns-sdk

1 participant