Skip to main content

sessionbin CLI

CLI for uploading and managing sessionbin transcripts.

Supported harnesses

Claude Code sessions are read as files from ~/.claude/projects/.

Codex sessions are read as files from ~/.codex/sessions/. Sub-agent rollouts (reviews, spawned agents) are skipped.

Pi sessions are read as files from ~/.pi/agent/sessions/.

OpenCode sessions live in a local SQLite database rather than as files, so uploading one shells out to opencode export. The opencode binary must be on your PATH (or at ~/.opencode/bin/opencode).

Installation

uv tool install sessionbin
# or
pip install --user sessionbin

Usage

Upload a session

Upload a specific file:

sessionbin upload ~/.claude/projects/-home-user-repos-myproject/abc123.jsonl

Or pick from recent sessions interactively (Claude Code, Codex, OpenCode, and Pi):

sessionbin upload

Upload the most recent session directly:

sessionbin upload --latest

Use -y to skip the confirmation prompt:

sessionbin upload --latest -y

List uploads

sessionbin list

Shows locally-tracked uploads (URL, filename, upload time).

Delete an upload

sessionbin delete <slug>

Deletes the paste on the server and removes the local record.

Configuration

On first run, you'll be prompted for a server URL (defaults to https://sessionbin.dev). The choice is saved to ~/.config/sessionbin/config.toml.

You can override the server URL per-command:

sessionbin upload --server http://localhost:8000

Or via environment variable:

export SESSIONBIN_URL=http://localhost:8000

Priority: --server flag > SESSIONBIN_URL env var > config.toml > interactive prompt.

Session data

Upload metadata (slugs, delete tokens) is stored in ~/.config/sessionbin/sessions.json with 0600 permissions. This file is local-only — the list command reads from it without contacting the server.

Metadata

Release files for sessionbin 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sessionbin 0.3.0
File Size Uploaded
sessionbin-0.3.0.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sessionbin 0.3.0
File Interpreter ABI Platform
sessionbin-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.5 kB

Release files / sessionbin-0.3.0.tar.gz

Download URL sessionbin-0.3.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7b19abefdfcaeb22257cab5a359c8fae68c204584b6705fc83fa48c50de04da5
BLAKE2b-256 checksum
How to use checksums
e1efd5278c20144763fb90336bfca21c4ea595bea49535c1e4ba749231210d6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release files / sessionbin-0.3.0-py3-none-any.whl

Download URL sessionbin-0.3.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
67b6af37b78de353444cc7364bf64bfd8577b3463a193f492a0c9024e4351edd
BLAKE2b-256 checksum
How to use checksums
741cdc0397f37ae39426c96a4849fc002b59cbe3b01554371c72091685ca0b1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page