Skip to main content

Locate and read local code-agent thread files

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

turl

turl is a Rust CLI and library for locating and reading local code-agent thread files.

Features

  • Supports URI input:
    • codex://<session_id>
    • claude://<session_id>
  • Resolves thread files from local storage roots.
  • Default output is markdown:
    • includes only user / assistant messages
    • filters tool-call related records
  • --raw outputs original JSONL content.

CLI

turl codex://019c871c-b1f9-7f60-9c4f-87ed09f13592
turl claude://2823d1df-720a-4c31-ac55-ae8ba726721f
turl codex://019c871c-b1f9-7f60-9c4f-87ed09f13592 --raw

Install from PyPI

pip install xuanwo-turl
turl codex://019c871c-b1f9-7f60-9c4f-87ed09f13592

PyPI package name is xuanwo-turl, and installed CLI command remains turl.

Environment Variables

  • CODEX_HOME: official Codex home directory

  • Codex default root: ~/.codex

  • CLAUDE_CONFIG_DIR: official Claude Code config/data directory

  • Claude default root: ~/.claude

Resolution precedence:

  • Codex: CODEX_HOME > ~/.codex
  • Claude: CLAUDE_CONFIG_DIR > ~/.claude

URI Rules

  • URI format must be <scheme>://<session_id>
  • Supported schemes: codex, claude
  • Only session IDs are accepted (UUID-like format)

Exit Behavior

  • success: exit code 0
  • failure (not found, empty/unreadable file, invalid URI, etc.): non-zero exit code and error message on stderr

Project Layout

  • turl-core: URI parsing, provider resolvers, reading, rendering
  • turl-cli: CLI wrapper around turl-core

Current Scope

  • local filesystem only
  • providers: Codex and Claude
  • no remote fetching

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xuanwo_turl-0.0.1.tar.gz (21.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

xuanwo_turl-0.0.1-py3-none-win_amd64.whl (967.7 kB view details)

Uploaded Python 3Windows x86-64

xuanwo_turl-0.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

xuanwo_turl-0.0.1-py3-none-macosx_11_0_arm64.whl (965.9 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file xuanwo_turl-0.0.1.tar.gz.

File metadata

  • Download URL: xuanwo_turl-0.0.1.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xuanwo_turl-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6bd1f53fafffdb3910c53218702724f3e88461cc7d417f51fd572225e0c06336
MD5 e8e968b73987fc9d5d6c75919801bbf1
BLAKE2b-256 ad5475ea075de7940299393fa13a9f9176aef8be7c1e3870d03655ab09943050

See more details on using hashes here.

Provenance

The following attestation bundles were made for xuanwo_turl-0.0.1.tar.gz:

Publisher: pypi-publish.yml on Xuanwo/turl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xuanwo_turl-0.0.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: xuanwo_turl-0.0.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 967.7 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xuanwo_turl-0.0.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9037e1fc74e7487f1eab63320d24d5baaed09245d98de8f5a31c636ade8481fa
MD5 b23c78865ac4b30bcdba1c89a8225798
BLAKE2b-256 689635f77bba48f2351a486fe12ce41126119dd7edcac1dcb09a5741c07431ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for xuanwo_turl-0.0.1-py3-none-win_amd64.whl:

Publisher: pypi-publish.yml on Xuanwo/turl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xuanwo_turl-0.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for xuanwo_turl-0.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6eb053d898f642a9b2488bc5a4f5f4da979100458fcfad0a02538f3ddf3d6455
MD5 6040b169ce2fb3bc67f242e5a02c452a
BLAKE2b-256 873ac2d03532e233641377a9923e6cca17d60b9841eb0180bf7b1907e4d99c1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for xuanwo_turl-0.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: pypi-publish.yml on Xuanwo/turl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xuanwo_turl-0.0.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for xuanwo_turl-0.0.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f3bd46a5c75a1db17ca0493d98748806083483da543a26b9b57438807eb6d883
MD5 1201ac9e381847a3bb0912ee4ae345d3
BLAKE2b-256 8550a732da9a5920498a3c58b9c824b6d236a918a978247d326b06bfb6b80e82

See more details on using hashes here.

Provenance

The following attestation bundles were made for xuanwo_turl-0.0.1-py3-none-macosx_11_0_arm64.whl:

Publisher: pypi-publish.yml on Xuanwo/turl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page