daaain / daaain/claude-code-log

Support messages for setting session title, name, and color

Open
#94 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

List of "properties":

  • custom-title (customTitle),
  • agent-name (agentName),
  • agent-color (agentColor),
  • pr-link (prNumber, prUrl, prRepository),
  • mode (mode)

It could be interesting to show the point where they are set.

Likewise, for version, model, cwd, gitBranch (attributes on most messages), it would be interesting to show the point where they change/

Examples
Line 1 of .../067ee208-cb06-4e58-b48c-228e1f2ff87d.jsonl is not a recognised message type: {"type":"custom-title","customTitle":"Main","sessionId":"067ee208-cb06-4e58-b48c-228e1f2ff87d"}
Line 2 of .../067ee208-cb06-4e58-b48c-228e1f2ff87d.jsonl is not a recognised message type: {"type":"agent-name","agentName":"Main","sessionId":"067ee208-cb06-4e58-b48c-228e1f2ff87d"}
Line 8 of .../067ee208-cb06-4e58-b48c-228e1f2ff87d.jsonl is not a recognised message type: {"type":"agent-color","agentColor":"orange","sessionId":"067ee208-cb06-4e58-b48c-228e1f2ff87d"}
{"type":"pr-link","sessionId":"5ec93f15-d651-432a-ab1b-a96171669461","prNumber":96,"prUrl":"https://github.com/daaain/claude-code-log/pull/96","prRepository":"daaain/claude-code-log","timestamp":"2026-04-19T18:30:11.705Z"}
Line 570 of /home/cboos/.claude/projects/-home-cboos-Workspace-github-daain-claude-code-log-main/20ddae6f-e4e5-4a68-a8d6-0c8e6a88554a.jsonl: unrecognized message type 'mode'

570: {"type":"mode","mode":"normal","sessionId":"20ddae6f-e4e5-4a68-a8d6-0c8e6a88554a"}

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 locating the JSONL message-type handling and the CLI output path for unrecognized messages. Use the examples in the issue as input and verify that custom-title, agent-name, agent-color, pr-link, and mode are supported, with changes to version, model, cwd, and gitBranch shown where applicable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.