fix(quotas): unifier le décompte IA (BYOK, rollback) et combler les fuites
All checks were successful
CI / Lint, Unit Tests & Build (push) Successful in 6m55s
CI / Deploy production (on server) (push) Successful in 36s

Centralise la réserve via ai-quota, corrige admin unavailable (-1), brancher les routes sans quota et le host-pays brainstorm, avec usage-meter élargi, noms de clusters, MCP et ajustements dashboard/insights.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Antigravity
2026-07-15 20:42:25 +00:00
parent 30da592ba2
commit 4fe31ebc99
75 changed files with 2949 additions and 785 deletions

View File

@@ -1718,6 +1718,8 @@
"mcpSettings": {
"title": "MCP",
"description": "API 키 관리 및 외부 도구 구성",
"tierRequired": "Pro+ 전용",
"upgradeHint": "MCP 액세스(Cursor, Claude Desktop 등의 API 키)에는 Pro 플랜 이상이 필요합니다. 결제에서 업그레이드하여 이 기능을 잠금 해제하세요.",
"whatIsMcp": {
"title": "MCP란 무엇인가요?",
"description": "Model Context Protocol(MCP)은 AI 모델이 외부 도구 및 데이터 소스와 안전하게 상호 작용할 수 있게 하는 오픈 프로토콜입니다. MCP를 사용하면 Claude Code, Cursor, N8N 등의 도구를 Memento 인스턴스에 연결하여 프로그래밍 방식으로 노트를 읽고, 만들고, 정리할 수 있습니다.",
@@ -1743,7 +1745,12 @@
"lastUsed": "마지막 사용",
"never": "없음",
"confirmRevoke": "이 키를 취소하시겠습니까? 이 키를 사용하는 도구의 접근이 차단됩니다.",
"confirmDelete": "이 키를 영구적으로 삭제하시겠습니까?"
"confirmDelete": "이 키를 영구적으로 삭제하시겠습니까?",
"errors": {
"generate": "키 생성 실패",
"revoke": "키 취소 실패",
"delete": "키 삭제 실패"
}
},
"createDialog": {
"title": "API 키 생성",
@@ -1773,6 +1780,15 @@
"title": "N8N",
"description": "N8N MCP 노드에서 다음 자격 증명을 사용하세요:"
}
},
"helpBox": {
"title": "MCP(Model Context Protocol)란 무엇인가요?",
"step1": "MCP는 Memento의 AI 에이전트가 외부 도구(데이터베이스, API, 파일 등)에 연결할 수 있게 해주는 프로토콜입니다.",
"step2": "Memento는 22개의 도구를 갖춘 MCP 서버를 제공합니다 — 에이전트가 노트를 읽고/만들고, 데이터베이스를 검색하고, 노트북을 관리할 수 있습니다.",
"step3": "여기서 API 키를 생성한 후 MCP 클라이언트(Claude Desktop, Cursor, Continue.dev…)에서 서버 URL과 함께 설정하세요.",
"step4": "설정 형식: MCP 서버 URL + Authorization 헤더에 키.",
"step4Link": "MCP 문서",
"step5": "사용 사례: Claude Desktop에 Memento에 노트 작성, 노트북 검색 또는 에이전트 생성을 요청하세요."
}
},
"agents": {
@@ -2500,7 +2516,23 @@
"instantActivation": "즉시 활성화",
"secureDesc": "Stripe를 통한 안전한 결제",
"secureTransactions": "보안 거래",
"satisfactionGuarantee": "30일 환불 보장"
"satisfactionGuarantee": "30일 환불 보장",
"cancelConfirm": "구독을 취소하시겠습니까? 현재 청구 기간이 끝날 때까지 Pro/Business 액세스가 유지됩니다.",
"cancelSuccess": "구독이 성공적으로 취소되었습니다. 현재 청구 기간이 끝나면 종료됩니다.",
"invoices": "청구서 및 영수증",
"invoiceAmount": "금액",
"invoiceDate": "날짜",
"invoiceNumber": "번호",
"invoiceStatus": "상태",
"noInvoices": "사용 가능한 청구서가 없습니다.",
"checkoutFailed": "결제를 시작할 수 없습니다. 다시 시도해 주세요.",
"portalFailed": "결제 포털을 열 수 없습니다.",
"cancelFailed": "구독을 취소할 수 없습니다.",
"downloadPdf": "PDF 다운로드",
"fetchStatusFailed": "결제 상태를 가져올 수 없습니다",
"fetchQuotasFailed": "할당량을 가져올 수 없습니다",
"fetchInvoicesFailed": "결제 내역을 불러올 수 없습니다.",
"savePercent": "~17% 절약"
},
"landing": {
"nav": {
@@ -3029,5 +3061,13 @@
"hintNavigate": "탐색",
"hintOpen": "열기",
"hintClose": "닫기"
},
"quotaPaywall": {
"title": "월별 한도에 도달했습니다",
"description": "이번 달 {feature} 크레딧을 모두 사용했습니다.",
"upgrade": "플랜 업그레이드",
"useOwnKey": "자체 API 키 사용",
"later": "나중에",
"closingIn": "{n}초 후 닫기"
}
}