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/assistantmessages - filters tool-call related records
- includes only
--rawoutputs 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, renderingturl-cli: CLI wrapper aroundturl-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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bd1f53fafffdb3910c53218702724f3e88461cc7d417f51fd572225e0c06336
|
|
| MD5 |
e8e968b73987fc9d5d6c75919801bbf1
|
|
| BLAKE2b-256 |
ad5475ea075de7940299393fa13a9f9176aef8be7c1e3870d03655ab09943050
|
Provenance
The following attestation bundles were made for xuanwo_turl-0.0.1.tar.gz:
Publisher:
pypi-publish.yml on Xuanwo/turl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xuanwo_turl-0.0.1.tar.gz -
Subject digest:
6bd1f53fafffdb3910c53218702724f3e88461cc7d417f51fd572225e0c06336 - Sigstore transparency entry: 976768235
- Sigstore integration time:
-
Permalink:
Xuanwo/turl@9ca4087809f2e939bf9352995a25977ecf3a928c -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9ca4087809f2e939bf9352995a25977ecf3a928c -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9037e1fc74e7487f1eab63320d24d5baaed09245d98de8f5a31c636ade8481fa
|
|
| MD5 |
b23c78865ac4b30bcdba1c89a8225798
|
|
| BLAKE2b-256 |
689635f77bba48f2351a486fe12ce41126119dd7edcac1dcb09a5741c07431ab
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xuanwo_turl-0.0.1-py3-none-win_amd64.whl -
Subject digest:
9037e1fc74e7487f1eab63320d24d5baaed09245d98de8f5a31c636ade8481fa - Sigstore transparency entry: 976768341
- Sigstore integration time:
-
Permalink:
Xuanwo/turl@9ca4087809f2e939bf9352995a25977ecf3a928c -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9ca4087809f2e939bf9352995a25977ecf3a928c -
Trigger Event:
push
-
Statement type:
File details
Details for the file xuanwo_turl-0.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: xuanwo_turl-0.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6eb053d898f642a9b2488bc5a4f5f4da979100458fcfad0a02538f3ddf3d6455
|
|
| MD5 |
6040b169ce2fb3bc67f242e5a02c452a
|
|
| BLAKE2b-256 |
873ac2d03532e233641377a9923e6cca17d60b9841eb0180bf7b1907e4d99c1b
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xuanwo_turl-0.0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
6eb053d898f642a9b2488bc5a4f5f4da979100458fcfad0a02538f3ddf3d6455 - Sigstore transparency entry: 976768393
- Sigstore integration time:
-
Permalink:
Xuanwo/turl@9ca4087809f2e939bf9352995a25977ecf3a928c -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9ca4087809f2e939bf9352995a25977ecf3a928c -
Trigger Event:
push
-
Statement type:
File details
Details for the file xuanwo_turl-0.0.1-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: xuanwo_turl-0.0.1-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 965.9 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3bd46a5c75a1db17ca0493d98748806083483da543a26b9b57438807eb6d883
|
|
| MD5 |
1201ac9e381847a3bb0912ee4ae345d3
|
|
| BLAKE2b-256 |
8550a732da9a5920498a3c58b9c824b6d236a918a978247d326b06bfb6b80e82
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xuanwo_turl-0.0.1-py3-none-macosx_11_0_arm64.whl -
Subject digest:
f3bd46a5c75a1db17ca0493d98748806083483da543a26b9b57438807eb6d883 - Sigstore transparency entry: 976768284
- Sigstore integration time:
-
Permalink:
Xuanwo/turl@9ca4087809f2e939bf9352995a25977ecf3a928c -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9ca4087809f2e939bf9352995a25977ecf3a928c -
Trigger Event:
push
-
Statement type: