Feature/in progress#14
Merged
Merged
Conversation
added 2 commits
February 11, 2026 17:07
…ture/inProgress # Conflicts: # src/sessions/claude.ts # src/sessions/multiSession.ts
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
!ask명령어 실행 시 Claude Code가 어떤 작업을 하고 있는지 Discord 채팅에 실시간으로 표시되도록 개선변경 내용
실시간 진행 상태 표시 (
src/sessions/claude.ts)SDK
query()의 async generator가 내보내는 중간 메시지를 캡처하여onProgress콜백으로 전달assistant(tool_use) — Claude가 도구를 호출할 때 도구명 + 대상 파일/명령어 표시tool_progress— 도구 실행 경과 시간 표시stream_event(content_block_start) — 도구 사용 시작 시점 표시도구별 이모지 매핑:
파일명파일명명령어패턴Discord 진행 메시지 관리 (
src/commands/ask.ts)!ask실행 시⏳ 작업 시작...메시지 전송onProgress콜백에서 동일 메시지를.edit()으로 갱신 (2초 throttle로 rate limit 방지)인터페이스 변경 (
src/types.ts,src/sessions/multiSession.ts)ISessionManager.sendMessage()에 optionalonProgress콜백 파라미터 추가MultiSessionManager에서 내부 세션으로onProgress전달Test plan
npx tsc --noEmit타입 체크 통과npm test전체 테스트 (108개) 통과!ask로 파일 읽기/수정 등 여러 도구 사용하는 요청 테스트