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
- Multi-agent thread resolution:
Amp
Codex
Claude
Gemini
Pi
OpenCode
- Default output is timeline markdown with user/assistant messages and compact markers.
--rawoutputs raw thread records.--listoutputs subagent status aggregation for providers that support subagent transcripts.- For Pi,
--listoutputs session entries with leaf markers and entry URIs.
- For Pi,
- Subagent markdown views always print full parent/subagent URIs (
<provider>://<main>and<provider>://<main>/<agent>). - Non-fatal diagnostics are kept internal; only fatal errors are printed to
stderr. - Automatically respects official environment variables and default local data roots for each supported agent.
Install
npx skills add Xuanwo/turl
Agents
Amp
- Supported URI:
amp://<thread_id>
- Thread id format:
T-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
- Resolution:
XDG_DATA_HOME/amp/threads/<thread_id>.json- fallback:
~/.local/share/amp/threads/<thread_id>.json
- Example:
turl amp://T-019c0797-c402-7389-bd80-d785c98df295
Codex
- Supported URIs:
codex://<session_id>codex://threads/<session_id>codex://<main_session_id>/<agent_id>
- Subagent modes:
- Aggregate:
turl codex://<main_session_id> --list - Drill-down:
turl codex://<main_session_id>/<agent_id>
- Aggregate:
- Resolution order:
- SQLite thread index under
CODEX_HOME(state_<version>.sqlitefirst, thenstate.sqlite) viathreads(id, rollout_path, archived). - Filesystem fallback under
sessions/andarchived_sessions/forrollout-*.jsonl.
- SQLite thread index under
- Examples:
turl codex://019c871c-b1f9-7f60-9c4f-87ed09f13592
turl codex://threads/019c871c-b1f9-7f60-9c4f-87ed09f13592
turl codex://019c871c-b1f9-7f60-9c4f-87ed09f13592 --list
turl codex://019c871c-b1f9-7f60-9c4f-87ed09f13592/019c87fb-38b9-7843-92b1-832f02598495
Claude
- Supported URIs:
claude://<session_id>claude://<main_session_id>/<agent_id>
- Subagent modes:
- Aggregate:
turl claude://<main_session_id> --list - Drill-down:
turl claude://<main_session_id>/<agent_id>
- Aggregate:
- Example:
turl claude://2823d1df-720a-4c31-ac55-ae8ba726721f
turl claude://2823d1df-720a-4c31-ac55-ae8ba726721f --list
turl claude://2823d1df-720a-4c31-ac55-ae8ba726721f/acompact-69d537
OpenCode
- Supported URI:
opencode://<session_id>
- Example:
turl opencode://ses_43a90e3adffejRgrTdlJa48CtE
Gemini
- Supported URI:
gemini://<session_id>
- Session id format:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
- Resolution:
GEMINI_CLI_HOME/.gemini/tmp/*/chats/session-*.json- fallback:
~/.gemini/tmp/*/chats/session-*.json
- Example:
turl gemini://29d207db-ca7e-40ba-87f7-e14c9de60613
Pi
- Supported URIs:
pi://<session_id>pi://<session_id>/<entry_id>
- Session id format:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
- Resolution:
PI_CODING_AGENT_DIR/sessions/**/*.jsonl- fallback:
~/.pi/agent/sessions/**/*.jsonl
- Rendering:
pi://<session_id>renders the latest leaf branch in the session tree.pi://<session_id>/<entry_id>renders the branch ending at the specified entry id.pi://<session_id> --listlists all entries and marks leaf entries that are good drill-down targets.
- Example:
turl pi://12cb4c19-2774-4de4-a0d0-9fa32fbae29f
turl pi://12cb4c19-2774-4de4-a0d0-9fa32fbae29f/d1b2c3d4
turl pi://12cb4c19-2774-4de4-a0d0-9fa32fbae29f --list
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.7.tar.gz.
File metadata
- Download URL: xuanwo_turl-0.0.7.tar.gz
- Upload date:
- Size: 104.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 |
89df0dfe6fd97d73e275f3917968127bf85d1a970c7d886731e6b636879497c3
|
|
| MD5 |
7f3ec511a2cf08834f0dfc8b63ce7bf4
|
|
| BLAKE2b-256 |
c4b5e4940fa313acbb6cdb824f5b18a464f9feb493791509ceb25fe1d06f3d09
|
Provenance
The following attestation bundles were made for xuanwo_turl-0.0.7.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.7.tar.gz -
Subject digest:
89df0dfe6fd97d73e275f3917968127bf85d1a970c7d886731e6b636879497c3 - Sigstore transparency entry: 982792854
- Sigstore integration time:
-
Permalink:
Xuanwo/turl@3cc7b63e20fe0ccff63a3c15453b9b670bccdbd7 -
Branch / Tag:
refs/tags/v0.0.7 - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@3cc7b63e20fe0ccff63a3c15453b9b670bccdbd7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xuanwo_turl-0.0.7-py3-none-win_amd64.whl.
File metadata
- Download URL: xuanwo_turl-0.0.7-py3-none-win_amd64.whl
- Upload date:
- Size: 2.0 MB
- 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 |
e94ab41a9cee8488a689b79382c864f7be9304ccc025ffc1f2e3d0d6eda8d197
|
|
| MD5 |
944e501f6d5f383330e9c20bc14fe36b
|
|
| BLAKE2b-256 |
e04930d9e86ebb3630a3506619174172fd6a4217706f0a9e64c565f25eb9ef2e
|
Provenance
The following attestation bundles were made for xuanwo_turl-0.0.7-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.7-py3-none-win_amd64.whl -
Subject digest:
e94ab41a9cee8488a689b79382c864f7be9304ccc025ffc1f2e3d0d6eda8d197 - Sigstore transparency entry: 982792857
- Sigstore integration time:
-
Permalink:
Xuanwo/turl@3cc7b63e20fe0ccff63a3c15453b9b670bccdbd7 -
Branch / Tag:
refs/tags/v0.0.7 - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@3cc7b63e20fe0ccff63a3c15453b9b670bccdbd7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xuanwo_turl-0.0.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: xuanwo_turl-0.0.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.2 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 |
5aa4b9472f8be137bc092c4e90c87d8afbd9d6bfdb5eb8865911f59aca2ddbb3
|
|
| MD5 |
3452286b0b7cf98af01a85aa1d60af8a
|
|
| BLAKE2b-256 |
9b5a9ef19cd31ac31b02ee970fc6902cd0c706f90b8662a6c64f9e5fec731f20
|
Provenance
The following attestation bundles were made for xuanwo_turl-0.0.7-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.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
5aa4b9472f8be137bc092c4e90c87d8afbd9d6bfdb5eb8865911f59aca2ddbb3 - Sigstore transparency entry: 982792867
- Sigstore integration time:
-
Permalink:
Xuanwo/turl@3cc7b63e20fe0ccff63a3c15453b9b670bccdbd7 -
Branch / Tag:
refs/tags/v0.0.7 - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@3cc7b63e20fe0ccff63a3c15453b9b670bccdbd7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xuanwo_turl-0.0.7-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: xuanwo_turl-0.0.7-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- 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 |
d52b701afc63fe6eeb38d3ef70190180d537cabcb6d9d240452bf6b4f4e3bc88
|
|
| MD5 |
3292a3fa93800d741ec23db088122e89
|
|
| BLAKE2b-256 |
305238afd3a0a7134f3a1f3b088bbcdf1f1f60c6af150ba3430ee1baa1a8089f
|
Provenance
The following attestation bundles were made for xuanwo_turl-0.0.7-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.7-py3-none-macosx_11_0_arm64.whl -
Subject digest:
d52b701afc63fe6eeb38d3ef70190180d537cabcb6d9d240452bf6b4f4e3bc88 - Sigstore transparency entry: 982792866
- Sigstore integration time:
-
Permalink:
Xuanwo/turl@3cc7b63e20fe0ccff63a3c15453b9b670bccdbd7 -
Branch / Tag:
refs/tags/v0.0.7 - Owner: https://github.com/Xuanwo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@3cc7b63e20fe0ccff63a3c15453b9b670bccdbd7 -
Trigger Event:
push
-
Statement type: