feat: telegram·discord·line 핵심 API 도구 확장 (5→19 도구)#5
Merged
Conversation
각 서비스 MVP(전송 1개)를 공식 핵심 API까지 확장. 머지 전 독립·적대적 검증 통과. 코어: - http: patch_json / delete_json 동사 추가(편집·삭제 패턴 공용) telegram (+5): get_me(헬스체크) · send_photo · send_document(URL·file_id) · edit_message_text · delete_message discord (+5): send_embed · edit_message · delete_message(Webhook) · create_message · list_messages(Bot 토큰, DISCORD_BOT_TOKEN) line (+4): reply_text · multicast_text(userId≤500) · broadcast_text · get_profile 독립 검증에서 발견·교정: - telegram editMessageText: chat_id/message_id를 무조건 필수로 좁혔던 것을 공식의 조건부·상호배타(chat_id+message_id ⊕ inline_message_id)로 충실히 수정 (inline 편집 경로도 지원). - discord: API 버전 주석 정정 + list_messages 우회 코드 정리. 모든 신규 엔드포인트·필드·제약은 공식 문서로 검증(provenance 주석). 새 서드파티 의존 없음. 검증: pytest 94 passed, ruff clean, 카탈로그 19도구. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ArcSolver
added a commit
that referenced
this pull request
Jun 4, 2026
각 서비스 MVP(전송 1개)를 공식 핵심 API까지 확장. 머지 전 독립·적대적 검증 통과. 코어: - http: patch_json / delete_json 동사 추가(편집·삭제 패턴 공용) telegram (+5): get_me(헬스체크) · send_photo · send_document(URL·file_id) · edit_message_text · delete_message discord (+5): send_embed · edit_message · delete_message(Webhook) · create_message · list_messages(Bot 토큰, DISCORD_BOT_TOKEN) line (+4): reply_text · multicast_text(userId≤500) · broadcast_text · get_profile 독립 검증에서 발견·교정: - telegram editMessageText: chat_id/message_id를 무조건 필수로 좁혔던 것을 공식의 조건부·상호배타(chat_id+message_id ⊕ inline_message_id)로 충실히 수정 (inline 편집 경로도 지원). - discord: API 버전 주석 정정 + list_messages 우회 코드 정리. 모든 신규 엔드포인트·필드·제약은 공식 문서로 검증(provenance 주석). 새 서드파티 의존 없음. 검증: pytest 94 passed, ruff clean, 카탈로그 19도구. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.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.
세 서비스의 MVP(전송 1개)를 각 provider의 핵심 API까지 확장한다. 이번엔 머지 전에 독립·적대적 계약 검증을 거쳤다.
코어
arcsolve/http.py:patch_json/delete_json추가(편집·삭제 패턴 공용, +테스트 2)확장된 도구 (5 → 19)
get_me·send_photo·send_document·edit_message_text·delete_messagesend_embed·edit_message·delete_message(Webhook) /create_message·list_messages(Bot)DISCORD_BOT_TOKENreply_text·multicast_text(≤500)·broadcast_text·get_profile사진/문서는 URL·file_id만(로컬 업로드 multipart는 코어 동사 추가 후 — 의도적 보류, providers.md 명시).
머지 전 독립 검증에서 발견·교정
editMessageText:chat_id/message_id를 무조건 필수로 좁혔던 모델을, 공식의 조건부·상호배타(chat_id+message_id⊕inline_message_id)로 충실히 수정(model_validator). inline 편집 경로도 지원.list_messages우회 코드 정리.sentMessages[], multicast/broadcast={}, profile 필수/선택 모두 공식 일치).검증
uv run pytest -q→ 94 passed (50 → 94)uv run ruff check .→ cleanarcsolve-mcp list→ 4서비스 · 카탈로그 19 도구🤖 Generated with Claude Code