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.
  • 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>
  • 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

Claude

  • Supported URI:
    • claude://<session_id>
  • Example:
turl claude://2823d1df-720a-4c31-ac55-ae8ba726721f

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.5.tar.gz (31.6 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.5-py3-none-win_amd64.whl (1.9 MB view details)

Uploaded Python 3Windows x86-64

xuanwo_turl-0.0.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

xuanwo_turl-0.0.5-py3-none-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: xuanwo_turl-0.0.5.tar.gz
  • Upload date:
  • Size: 31.6 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.5.tar.gz
Algorithm Hash digest
SHA256 9fc115b9cee7e29f793b3e238fb2b039bce07a72e81e42d6d3770d71860d3216
MD5 d62d8f027f37f4f94dde4bbcf65ea4c1
BLAKE2b-256 75bd88215f47f350f7cdc3276c263953727d3ab7f8fdca9c3b0990a77e5cb036

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: xuanwo_turl-0.0.5-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 92805ebc95c6560042ecc47dcc48446a8d07ca3b779974d89069a7fabd16ab4e
MD5 dffa09b1057a5506aaaa0e62eae6f310
BLAKE2b-256 e25162c33f2332da5a498fef86a8d165f7d923a7a2b1548c615655b2ce7d67a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for xuanwo_turl-0.0.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a0deedb6933fd84fb6dc8aad06225e8efedd9ec99141e28768a251301bfe0124
MD5 d4c5b41fa4b0bf8051d74da6315a383b
BLAKE2b-256 9cf10de6e3891ef84938d76ed15ea317bec49c1533881e66e0db13a512f1da20

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for xuanwo_turl-0.0.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 004b52627039ec28a4a8e4bf406d7199d83c7f20e623d86efd2497453f5ed1ae
MD5 ea85a62a37cbfa96df11a0c7602b2960
BLAKE2b-256 bb54805ecec0d581e1603c604834d0e76be81eb0d23d5ded1338726d64f1d18c

See more details on using hashes here.

Provenance

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