Repository navigation
feat(call): 통화당 메시지 횟수 제한 - #25
Closed
Lee-Soyeon wants to merge 1 commit into
Closed
Lee-Soyeon wants to merge 1 commit into
Lee-Soyeon wants to merge 1 commit into
Conversation
AgentCall takes messageLimit / onMessageLimitReached so a host app can cap guest messages and react once the idol has answered the last one (20s fallback if no answer). The placeholder shows the messages left. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DmBmpFCjUN5yzz3WPSEWva
This was referenced Oct 16, 2026
Contributor
Author
|
@ywkim #17 분할의 F(메시지 횟수 제한)입니다. 재리뷰 부탁드립니다. 선행은 C(#22)이고 D·E와 독립입니다. 두 목적이 섞여 있던 Generated by Claude Code |
This was referenced Oct 16, 2026
Contributor
Author
This was referenced Oct 22, 2026
Contributor
Author
|
@ywkim 이 PR을 올린 이유 남깁니다.
|
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.
요약
AgentCall에 메시지 횟수 제한을 추가합니다. 호스트 앱(buppy 게스트 체험)이 횟수를 정하면, 마지막 메시지에 대한 아이돌 답이 끝난 뒤 콜백을 부릅니다.목적
buppy 게스트 체험에서 메시지 수를 제한하고 가입을 유도하려면, 제한에 도달한 시점을 호스트 앱이 알아야 합니다.
변경 사항
AgentCall에messageLimit,onMessageLimitReachedprop 추가 (없으면 무제한, 기존 동작 그대로).MESSAGE_LIMIT_FALLBACK_MS) 부릅니다.agentCall.chat.remaining,limitReached).MESSAGE_LIMIT_FALLBACK_MS를 export.17e5bbf는 "메시지 제한"과 "연락처 export"가 섞인 커밋이었습니다. 연락처 쪽 export는 D(feat(call): 연락처에서 아이돌을 골라 영상통화 걸기 #23)·E(feat(call): 미리 만든 반응 클립으로 통화 영상 재생 #24)로 옮겼고, 이 PR에는 메시지 제한만 남겼습니다.알려진 사항
테스트
npm run format / lint:fix / type-check,next build통과 (프런트 단위 테스트는 레포에 없음)messageLimit={3}일 때 입력창에 남은 횟수가 줄어드는지onMessageLimitReached가 불리는지messageLimit을 주지 않으면 기존처럼 무제한인지🤖 Generated with Claude Code
https://claude.ai/code/session_01DmBmpFCjUN5yzz3WPSEWva
Generated by Claude Code