Repository navigation
docs(statusline): describe the session cost comment on linked PRs - #11
Merged
Merged
Conversation
When the ShellTime GitHub App is installed on the repository, ShellTime's server comments on each PR the mod links with the session's cost, tokens, time, model, prompts and lines changed, plus a link to the session. It edits that comment 30 minutes and 24 hours later. The comment leaves out USD amounts for users who hide their AI cost, only goes on PRs opened by a GitHub account linked to the user, and is not re-posted once deleted. The mod and CLI are unchanged; the server does the work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012CKCiQAwSSCboscCPfwoR4
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Summary
This PR only changes docs. shelltime/server#518 makes ShellTime's server comment on the PRs this mod links, as the ShellTime GitHub App. The comment shows the session's cost, tokens, time, model, prompts and lines changed, and links to the session on shelltime.xyz.
This updates the root README and the
shelltime-statuslineREADME ("Pull request links" → "Session cost comment") to explain:The mod and the CLI need no code change: the existing
PostToolUsehook already sends the PR URL with the session id, and the server does the rest.Merge after shelltime/server#518 is deployed.
🤖 Generated with Claude Code
https://claude.ai/code/session_012CKCiQAwSSCboscCPfwoR4
Generated by Claude Code