Repository navigation
feat(frontend): AgentDispatchRequest에 phoneCall·openingMessage 추가 - #39
Lee-Soyeon wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M2SZrtXYdBdJSKU8QivWNj
📦 fancall 개발은 buppy 모노레포로 옮겼습니다fancall은 이제 algorima/buppy 안의 모듈(
이 PR백엔드 경로 대응
옮기는 방법algorima/buppy#1499와 같은 경로 매핑으로 이 PR의 커밋을 다시 쓴 뒤 buppy에 cherry-pick합니다. 작성자와 커밋 메시지가 그대로 남고, 메시지의 git clone https://github.com/algorima/fancall.git fancall-buppy && cd fancall-buppy
BASE=main; PR_BRANCH=feat/dispatch-request-phone-call
for b in "$BASE" "$PR_BRANCH"; do git show-ref -q --verify "refs/heads/$b" || git branch "$b" "origin/$b"; done
git filter-repo --force --refs "$BASE" "$PR_BRANCH" \
--path backend/fancall/ --path backend/tests/unit/ \
--path frontend/src/client.ts --path frontend/src/index.ts --path frontend/src/schemas.ts \
--path frontend/src/components/ --path frontend/src/i18n/translations.ts \
--path frontend/src/i18n/locales/ --path frontend/src/repositories/ \
--path-rename backend/tests/unit/:backend/tests/unit/test_fancall/ \
--path-rename frontend/src/:frontend/src/fancall/ \
--message-callback 'import re
return re.sub(rb"\(#(\d+)\)", rb"(aioiahq/fancall#\1)", message)'cd ../buppy && git fetch origin main && git switch -c <새 브랜치> origin/main
git fetch ../fancall-buppy "$BASE:fancall/$BASE" "$PR_BRANCH:fancall/$PR_BRANCH"
git cherry-pick "fancall/$BASE..fancall/$PR_BRANCH"buppy에서 달라진 점
옮긴 뒤에는 이 PR에 buppy PR 링크를 남기고 닫아 주세요. Generated by Claude Code · session session_01T5SeyErbjJvce4P8rjmZzs Generated by Claude Code |
|
이 변경은 buppy에서 백엔드 쪽만 옮긴 algorima/buppy#1504( Generated by Claude Code · session session_01T5SeyErbjJvce4P8rjmZzs Generated by Claude Code |
|
이 변경을 algorima/buppy#1504에 옮겼습니다(커밋 8eaf5386, Generated by Claude Code · session session_01T5SeyErbjJvce4P8rjmZzs Generated by Claude Code |
|
@ywkim 이 PR을 닫습니다. 🤖 Generated with Claude Code |
요약
호스트 앱이 **
phoneCall·openingMessage**를 타입 오류 없이 dispatch 요청에 넘길 수 있게 합니다. #38 리뷰 요청에 따라 해당 PR에서 분리했습니다.목적
백엔드 요청은
phone_call·opening_message를 받지만 TSAgentDispatchRequest에 없어, 호스트 앱(buppy)이 타입으로 넘길 수 없었습니다.변경 사항
frontend/src/schemas.tsAgentDispatchRequest에 추가phoneCall?: boolean(백엔드phone_call: bool = False)openingMessage?: string | null(백엔드opening_message: str | None = None)camelizealias와 같고, 설명은 백엔드Field(description=...)과 맞췄습니다.테스트
type-check·check-format통과phoneCall: true,openingMessage를 넣어 dispatch 호출 시 타입 오류 없이 전달되는지 확인Generated by Claude Code