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

  • Multi-agent thread resolution:
    • Amp logo Amp
    • Codex logo Codex
    • Claude logo Claude
    • Gemini logo Gemini
    • OpenCode logo OpenCode
  • Default output is timeline markdown with user/assistant messages and compact markers.
  • --raw outputs raw thread records.
  • --list outputs subagent status aggregation for providers that support subagent transcripts.
  • 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>
  • Resolution order:
    • SQLite thread index under CODEX_HOME (state_<version>.sqlite first, then state.sqlite) via threads(id, rollout_path, archived).
    • Filesystem fallback under sessions/ and archived_sessions/ for rollout-*.jsonl.
  • 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>
  • 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

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.6.tar.gz (98.1 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.6-py3-none-win_amd64.whl (2.0 MB view details)

Uploaded Python 3Windows x86-64

xuanwo_turl-0.0.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

xuanwo_turl-0.0.6-py3-none-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: xuanwo_turl-0.0.6.tar.gz
  • Upload date:
  • Size: 98.1 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.6.tar.gz
Algorithm Hash digest
SHA256 c845ad17b9000fed6cf966d1df0799532d12064d81ad463f134d1179060d9f01
MD5 ae62d263edf76081835fefb823e36d6e
BLAKE2b-256 01f9f50cd819460d24784523c629a08bdf3680f9201f262b77a452c9d5381683

See more details on using hashes here.

Provenance

The following attestation bundles were made for xuanwo_turl-0.0.6.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.6-py3-none-win_amd64.whl.

File metadata

  • Download URL: xuanwo_turl-0.0.6-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

Hashes for xuanwo_turl-0.0.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 92339d185ac553e3612cb07564283f8c80c00f876b2107dd94f4ed6f204f69a5
MD5 dc8c4a2ad6570f10c1b60df136fa803a
BLAKE2b-256 046229ab47eccf9295653924c85534dabee649d5d8f2b7aced868364885c1a0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for xuanwo_turl-0.0.6-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.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for xuanwo_turl-0.0.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 99bc0384b9e0463773070a15c389f2a4d98504b199753eb6886ed60840a84f8e
MD5 a284b3e9ba7b44123cba16bb0ea2bb2e
BLAKE2b-256 856256554e92d667942e28e53c854579c691f80e48b3b955b740b9ec4e54fb08

See more details on using hashes here.

Provenance

The following attestation bundles were made for xuanwo_turl-0.0.6-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.6-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for xuanwo_turl-0.0.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 29a894110479f3530928cbe5382604a525732fa8a24da61747c835bb44234e89
MD5 01e9591c13536760fa4d12ca5d439ba1
BLAKE2b-256 dce4226b4a1493815aea948acedbaa35df37d9d7df45bb618189b487f13eb6e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for xuanwo_turl-0.0.6-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