Merged
Conversation
Set up justfile with install/test/lint/typecheck/pre-commit recipes. Add serve optional dependency (fastapi + uvicorn) and pytest dev group. Update README with install and development instructions. Migrate FastAPI lifecycle to lifespan context manager. Fix type annotations and remove unused imports across codebase. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Make list columns configurable with --fields and auto-size snippet to terminal width. Show conversation names from ~/.claude/sessions/. Display friendly project names using cwd basename instead of raw keys. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If you're not interested in pull requests, I'm good with you closing this :D.
I'd also be willing to split this up into 2 PRs if you'd prefer as it is kind of 2 different things.
I ended up getting use out of this today and I think it's a neat tool!
I'm a big fan of
justfileanduvto make it easy for me (and claude) to quickly install/use things. Most of the additions are theuv.lockfile.Summary
Two commits that normalize the project tooling and add features to
cchat list.Commit 1: Add uv/just tooling, dev dependencies, and type cleanup
[project.optional-dependencies]for serve (fastapi + uvicorn) and[dependency-groups]for dev (pytest)cchat serveerror message to referenceuvinstead ofpipon_eventtolifespancontext managerCommit 2: Add configurable list columns, session names, and workspace display
-f/--fieldsflag tocchat listfor choosing which columns to display-prefix to remove fields from defaults (e.g.-f=-project,-tokens) - need to use-f=or--fields=when negative.--fieldsto narrow when neededworkspacecolumn showing cwd basename (repo or worktree directory name)projectcolumn retains the original raw project key behavior~/.claude/sessions/My work laptop is a 13" macbook pro, so the text was wrapping at all but the smallest sizes. This helps me fit it nicely on any monitor. I also wanted the
namefield for those sessions that I/renameUsage examples:
Available fields:
workspace,project,snippet,first,last,turns,agents,model,tokens,cost,name,slug.Test plan
just checkpasses (tests, lint, typecheck)cchat listdisplays all columns by defaultcchat list -f -project,-tokensremoves those columnscchat list -f name,cost,slugshows only specified columnscchat list | headdoes not truncate snippetcchat servestarts without errors afterjust install