Repository navigation
[fix][post-commit] Tokens-Used 세션별 커서와 응답 단위 계상 (GF-139) - #42
Merged
Merged
Conversation
Task-Id: GF-139 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: 3086381 Tool-Calls: 6 Hooks-Commit: 0724249 Signed-off-by: cpu-once <231006716+cpu-once@users.noreply.github.com>
Task-Id: GF-139 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: 3419214 Tool-Calls: 6 Hooks-Commit: 3d4c286 Signed-off-by: cpu-once <231006716+cpu-once@users.noreply.github.com>
Task-Id: GF-139 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: 265086 Tool-Calls: 0 Hooks-Commit: 085c5f0 Signed-off-by: cpu-once <231006716+cpu-once@users.noreply.github.com>
Task-Id: GF-139 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: 25915492 Tool-Calls: 135 Hooks-Commit: cb74ec2 Signed-off-by: cpu-once <231006716+cpu-once@users.noreply.github.com>
Task-Id: GF-139 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: 0 Tool-Calls: 0 Hooks-Commit: af0e19b Signed-off-by: cpu-once <231006716+cpu-once@users.noreply.github.com>
Task-Id: GF-139 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: 813177 Tool-Calls: 3 Hooks-Commit: 8ffc7ee Signed-off-by: cpu-once <231006716+cpu-once@users.noreply.github.com>
Task-Id: GF-139 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: 1657842 Tool-Calls: 6 Hooks-Commit: 32a923e Signed-off-by: cpu-once <231006716+cpu-once@users.noreply.github.com>
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.
요약
Tokens-Used 측정의 두 버그를 고칩니다(GF-139).
<세션 ID> <줄 수>를 저장합니다. 세션이 바뀌거나 예전 형식이면 0줄부터 셉니다. 새 세션 첫 커밋이 0으로 찍히던 문제가 없어집니다.(requestId, message.id)를 가진 줄은 usage를 한 번만 더합니다. 커밋 경계를 걸친 응답도 다시 더하지 않습니다. 2~3배 부풀던 값이 바로잡힙니다.검증
Tokens-Used: 813177,Tool-Calls: 3이 트랜스크립트를 응답 단위로 따로 합산한 값과 일치합니다(줄 단위로 더했다면 1,893,217).🤖 Generated with Claude Code