Refactor: Migrate ClaudeDeveloper to Anthropic Agent SDK #39
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.
목표
ClaudeDeveloper 클래스를 Anthropic Agent SDK 기반으로 마이그레이션하여 코드 복잡도를 90% 감소시키고 유지보수성 향상
주요 변경 사항
1. ClaudeDeveloperSDK 클래스 추가 ✅
@anthropic-ai/claude-agent-sdk) 활용2. Factory 패턴 적용 ✅
DeveloperConfig.useSDK플래그로 SDK/CLI 모드 선택3. 타입 시스템 확장 ✅
DeveloperConfig에useSDK?: boolean추가4. 단위 테스트 완비 ✅
claude-developer-sdk.test.ts추가developer-factory.test.ts확장기술적 개선
코드 복잡도 감소
유지보수성 향상
하위 호환성 유지
useSDK=false또는 미설정 시 기존 동작 유지테스트 결과
구현 체크리스트
참고 문서
src/services/developer/claude-developer.tssrc/services/developer/claude-developer-sdk.tsCloses #38
🤖 Generated with Claude Code