daaain / daaain/claude-code-log

Support different project / config location paths

Open
#62 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.2k
Forks
98
Avg merge
3d 2h
Merged PRs (30d)
13

Description

I found out from ccusage's docs that Claude Code can store its config and sessions in multiple directories depending on the version.

It's an utter mess though, the change was shipped and unshipped.

There are lots if issues in their Github, this one has a bit more convo / info.

Ultimately, we might also need to support XDG: https://github.com/anthropics/claude-code/issues/2350

This PR is a good starting point for implementation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked PR 112 and ccusage's data-sources documentation, then compare the directory variants discussed in the linked Claude Code issues. Identify which project and configuration paths this CLI should support, including the possible XDG location. Done means the tool finds and processes supported Claude Code data across those locations.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.