refactor: migrate server provisioning to Cloud Orchestrator service

- Remove Queue-based server provisioning (moved to cloud-orchestrator)
- Add manage_server tool with Service Binding to Cloud Orchestrator
- Add CDN cache hit rate estimation based on tech_stack
- Always display bandwidth info (show "포함 범위 내" when no overage)
- Add language auto-detection (ko, ja, zh, en)
- Update system prompt to always call tools fresh
- Add Server System documentation to CLAUDE.md

BREAKING: Server provisioning now requires cloud-orchestrator service

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
kappa
2026-01-26 12:26:21 +09:00
parent 5413605347
commit 87c92e1ed1
27 changed files with 695 additions and 4584 deletions

View File

@@ -23,6 +23,7 @@
* 🌐 **도메인 관리**: 도메인 검색, 추천(AI), 가격 조회, 등록, DNS 관리 통합
* 🖥️ **서버 관리 (Queue 기반)**: Linode/Vultr 인스턴스 검색, 비교, 주문, 비동기 프로비저닝
***서버리스**: Cloudflare Workers + Queues로 긴 작업도 안정적 처리
* 🌐 **웹 채팅 UI**: 브라우저와 API로 봇 테스트 가능 ([telegram-cli](./telegram-cli/README.md))
### 🚀 성능 최적화
@@ -216,6 +217,65 @@ npx @apidevtools/swagger-cli validate openapi.yaml
---
## 🌐 웹 채팅 인터페이스 (telegram-cli)
별도 Cloudflare Worker로 배포된 웹 채팅 UI 및 JSON API입니다.
### 엔드포인트
**배포 URL**: https://telegram-cli-web.kappa-d8e.workers.dev
| 엔드포인트 | 메서드 | 설명 |
|-----------|--------|------|
| `/` | GET | 웹 채팅 UI (브라우저 인터페이스) |
| `/api/chat` | POST | JSON API (프로그래밍 방식 접근) |
| `/health` | GET | Health check |
### 사용 예시
#### 웹 브라우저
```
https://telegram-cli-web.kappa-d8e.workers.dev
```
브라우저에서 접속하여 봇과 실시간 대화
#### JSON API (curl)
```bash
curl -s -X POST 'https://telegram-cli-web.kappa-d8e.workers.dev/api/chat' \
-H 'Content-Type: application/json' \
-d '{"message": "안녕"}'
```
**응답:**
```json
{
"response": "안녕하세요! 무엇을 도와드릴까요?",
"time_ms": 1234
}
```
#### Claude Code 사용
Claude는 이 API를 사용하여 봇과 대화하고 기능을 테스트할 수 있습니다.
```bash
# 예치금 기능 테스트
curl -X POST 'https://telegram-cli-web.kappa-d8e.workers.dev/api/chat' \
-H 'Content-Type: application/json' \
-d '{"message": "잔액 조회"}'
# 도메인 기능 테스트
curl -X POST 'https://telegram-cli-web.kappa-d8e.workers.dev/api/chat' \
-H 'Content-Type: application/json' \
-d '{"message": "example.com 조회"}'
```
### 배포 방법
자세한 내용은 [telegram-cli/README.md](./telegram-cli/README.md)를 참조하세요.
---
## 🧪 테스트
### 자동화된 단위 테스트