mimi-seed 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +75 -75
- package/README.md +300 -300
- package/dist/chunk-Q5YGYAFK.js +0 -0
- package/dist/index.js +19 -13
- package/dist/mcp-client-26VCPY4L.js +0 -0
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
# PolyForm Noncommercial License 1.0.0
|
|
2
|
-
|
|
3
|
-
<https://polyformproject.org/licenses/noncommercial/1.0.0>
|
|
4
|
-
|
|
5
|
-
Required Notice: Copyright 2026 Pryzm GG (https://mimi-seed.pryzm.gg)
|
|
6
|
-
|
|
7
|
-
## Acceptance
|
|
8
|
-
|
|
9
|
-
In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
|
|
10
|
-
|
|
11
|
-
## Copyright License
|
|
12
|
-
|
|
13
|
-
The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to [Distribution License](#distribution-license) and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license).
|
|
14
|
-
|
|
15
|
-
## Distribution License
|
|
16
|
-
|
|
17
|
-
The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license).
|
|
18
|
-
|
|
19
|
-
## Notices
|
|
20
|
-
|
|
21
|
-
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
|
|
22
|
-
|
|
23
|
-
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
|
|
24
|
-
|
|
25
|
-
## Changes and New Works License
|
|
26
|
-
|
|
27
|
-
The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
|
|
28
|
-
|
|
29
|
-
## Patent License
|
|
30
|
-
|
|
31
|
-
The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
|
|
32
|
-
|
|
33
|
-
## Noncommercial Purposes
|
|
34
|
-
|
|
35
|
-
Any noncommercial purpose is a permitted purpose.
|
|
36
|
-
|
|
37
|
-
## Personal Uses
|
|
38
|
-
|
|
39
|
-
Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.
|
|
40
|
-
|
|
41
|
-
## Noncommercial Organizations
|
|
42
|
-
|
|
43
|
-
Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.
|
|
44
|
-
|
|
45
|
-
## Fair Use
|
|
46
|
-
|
|
47
|
-
You may have "fair use" rights for the software under the law. These terms do not limit them.
|
|
48
|
-
|
|
49
|
-
## No Other Rights
|
|
50
|
-
|
|
51
|
-
These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
|
|
52
|
-
|
|
53
|
-
## Patent Defense
|
|
54
|
-
|
|
55
|
-
If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
|
|
56
|
-
|
|
57
|
-
## Violations
|
|
58
|
-
|
|
59
|
-
The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
|
|
60
|
-
|
|
61
|
-
## No Liability
|
|
62
|
-
|
|
63
|
-
***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
|
|
64
|
-
|
|
65
|
-
## Definitions
|
|
66
|
-
|
|
67
|
-
The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
|
|
68
|
-
|
|
69
|
-
**You** refers to the individual or entity agreeing to these terms.
|
|
70
|
-
|
|
71
|
-
**Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
|
|
72
|
-
|
|
73
|
-
**Your licenses** are all the licenses granted to you for the software under these terms.
|
|
74
|
-
|
|
75
|
-
**Use** means anything you do with the software requiring one of your licenses.
|
|
1
|
+
# PolyForm Noncommercial License 1.0.0
|
|
2
|
+
|
|
3
|
+
<https://polyformproject.org/licenses/noncommercial/1.0.0>
|
|
4
|
+
|
|
5
|
+
Required Notice: Copyright 2026 Pryzm GG (https://mimi-seed.pryzm.gg)
|
|
6
|
+
|
|
7
|
+
## Acceptance
|
|
8
|
+
|
|
9
|
+
In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
|
|
10
|
+
|
|
11
|
+
## Copyright License
|
|
12
|
+
|
|
13
|
+
The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to [Distribution License](#distribution-license) and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license).
|
|
14
|
+
|
|
15
|
+
## Distribution License
|
|
16
|
+
|
|
17
|
+
The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license).
|
|
18
|
+
|
|
19
|
+
## Notices
|
|
20
|
+
|
|
21
|
+
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
|
|
22
|
+
|
|
23
|
+
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
|
|
24
|
+
|
|
25
|
+
## Changes and New Works License
|
|
26
|
+
|
|
27
|
+
The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
|
|
28
|
+
|
|
29
|
+
## Patent License
|
|
30
|
+
|
|
31
|
+
The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
|
|
32
|
+
|
|
33
|
+
## Noncommercial Purposes
|
|
34
|
+
|
|
35
|
+
Any noncommercial purpose is a permitted purpose.
|
|
36
|
+
|
|
37
|
+
## Personal Uses
|
|
38
|
+
|
|
39
|
+
Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.
|
|
40
|
+
|
|
41
|
+
## Noncommercial Organizations
|
|
42
|
+
|
|
43
|
+
Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.
|
|
44
|
+
|
|
45
|
+
## Fair Use
|
|
46
|
+
|
|
47
|
+
You may have "fair use" rights for the software under the law. These terms do not limit them.
|
|
48
|
+
|
|
49
|
+
## No Other Rights
|
|
50
|
+
|
|
51
|
+
These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
|
|
52
|
+
|
|
53
|
+
## Patent Defense
|
|
54
|
+
|
|
55
|
+
If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
|
|
56
|
+
|
|
57
|
+
## Violations
|
|
58
|
+
|
|
59
|
+
The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
|
|
60
|
+
|
|
61
|
+
## No Liability
|
|
62
|
+
|
|
63
|
+
***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
|
|
64
|
+
|
|
65
|
+
## Definitions
|
|
66
|
+
|
|
67
|
+
The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
|
|
68
|
+
|
|
69
|
+
**You** refers to the individual or entity agreeing to these terms.
|
|
70
|
+
|
|
71
|
+
**Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
|
|
72
|
+
|
|
73
|
+
**Your licenses** are all the licenses granted to you for the software under these terms.
|
|
74
|
+
|
|
75
|
+
**Use** means anything you do with the software requiring one of your licenses.
|
package/README.md
CHANGED
|
@@ -1,275 +1,275 @@
|
|
|
1
|
-
# mimi-seed
|
|
2
|
-
|
|
1
|
+
# mimi-seed
|
|
2
|
+
|
|
3
3
|
**Mimi Seed CLI** — Claude Code와 Codex에서 앱 출시를 자동화하는 커맨드라인 도구.
|
|
4
|
-
|
|
5
|
-
git log에서 릴리즈 노트를 생성하고, 출시 전 위험 요소를 자동 점검하며, Play Store / App Store에 바로 적용합니다.
|
|
6
|
-
|
|
7
|
-
## 빠른 시작
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npx mimi-seed init
|
|
11
|
-
```
|
|
12
|
-
|
|
4
|
+
|
|
5
|
+
git log에서 릴리즈 노트를 생성하고, 출시 전 위험 요소를 자동 점검하며, Play Store / App Store에 바로 적용합니다.
|
|
6
|
+
|
|
7
|
+
## 빠른 시작
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx mimi-seed init
|
|
11
|
+
```
|
|
12
|
+
|
|
13
13
|
현재 디렉토리에서 Android/iOS 앱을 자동 감지해 Mimi Seed 워크스페이스에 등록하고, PAT를 `~/.mimi-seed/config.json`에 저장합니다. 프로젝트 컨텍스트는 Claude Code용 `.claude/mimi-seed.md`와 Codex용 `AGENTS.md`에 함께 기록됩니다.
|
|
14
|
-
|
|
15
|
-
## 명령어
|
|
16
|
-
|
|
17
|
-
| 명령어 | 설명 |
|
|
18
|
-
|--------|------|
|
|
14
|
+
|
|
15
|
+
## 명령어
|
|
16
|
+
|
|
17
|
+
| 명령어 | 설명 |
|
|
18
|
+
|--------|------|
|
|
19
19
|
| `mimi-seed init` | 프로젝트를 Mimi Seed에 연결 (PAT 발급 + 앱 자동 등록 + `.claude/mimi-seed.md` / `AGENTS.md` 주입) |
|
|
20
|
-
| `mimi-seed status` | 연결 상태 + 등록 앱 목록 |
|
|
21
|
-
| `mimi-seed auth` | Google OAuth 인증 (Firebase / AdMob / Play). `login` / `status` / `refresh` / `logout` 서브명령 |
|
|
22
|
-
| `mimi-seed doctor` | 환경 진단 (토큰·Git·앱·CI 한 번에 체크) |
|
|
23
|
-
| `mimi-seed check` | 출시 전 Readiness 점검 (점수 + 블로커) |
|
|
24
|
-
| `mimi-seed notes` | AI 릴리즈 노트 생성 (git log → 3 톤 → 다국어 → 적용) |
|
|
25
|
-
| `mimi-seed review` | AI 리뷰 답변 초안 생성 및 Play Store 게시 |
|
|
26
|
-
| `mimi-seed deploy` | 앱 자동 배포 파이프라인 (CI 빌드 → 릴리즈 노트 → 스토어 적용) |
|
|
27
|
-
| `mimi-seed restart` | MCP 서버 프로세스 재시작 |
|
|
28
|
-
| `mimi-seed logout` | 로컬 설정 삭제 |
|
|
29
|
-
|
|
20
|
+
| `mimi-seed status` | 연결 상태 + 등록 앱 목록 |
|
|
21
|
+
| `mimi-seed auth` | Google OAuth 인증 (Firebase / AdMob / Play). `login` / `status` / `refresh` / `logout` 서브명령 |
|
|
22
|
+
| `mimi-seed doctor` | 환경 진단 (토큰·Git·앱·CI 한 번에 체크) |
|
|
23
|
+
| `mimi-seed check` | 출시 전 Readiness 점검 (점수 + 블로커) |
|
|
24
|
+
| `mimi-seed notes` | AI 릴리즈 노트 생성 (git log → 3 톤 → 다국어 → 적용) |
|
|
25
|
+
| `mimi-seed review` | AI 리뷰 답변 초안 생성 및 Play Store 게시 |
|
|
26
|
+
| `mimi-seed deploy` | 앱 자동 배포 파이프라인 (CI 빌드 → 릴리즈 노트 → 스토어 적용) |
|
|
27
|
+
| `mimi-seed restart` | MCP 서버 프로세스 재시작 |
|
|
28
|
+
| `mimi-seed logout` | 로컬 설정 삭제 |
|
|
29
|
+
|
|
30
30
|
> `init`은 `.claude/mimi-seed.md`와 `AGENTS.md`를 함께 생성해 Claude Code와 Codex 세션마다 에이전트 컨텍스트(출시 워크플로우 + 슬래시 커맨드)를 자동 활성화합니다.
|
|
31
|
-
|
|
32
|
-
---
|
|
33
|
-
|
|
34
|
-
## mimi-seed notes
|
|
35
|
-
|
|
36
|
-
git 커밋 내역으로 앱 스토어 릴리즈 노트를 자동 생성합니다.
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
# 기본: 최신 태그 이후 커밋 → 간결/상세/마케팅 3 톤 생성
|
|
40
|
-
mimi-seed notes
|
|
41
|
-
|
|
42
|
-
# 태그 범위 지정
|
|
43
|
-
mimi-seed notes --from v1.2.0 --to HEAD
|
|
44
|
-
|
|
45
|
-
# 다국어 동시 생성 (AI 필요)
|
|
46
|
-
mimi-seed notes --locale ko,en-US,ja
|
|
47
|
-
|
|
48
|
-
# 생성 후 Play Store 바로 적용
|
|
49
|
-
mimi-seed notes --apply
|
|
50
|
-
|
|
51
|
-
# CI 모드 (프롬프트 없음)
|
|
52
|
-
mimi-seed notes --no-interactive --apply
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
**AI 생성 활성화** (`ANTHROPIC_API_KEY` 설정 시):
|
|
56
|
-
```bash
|
|
57
|
-
export ANTHROPIC_API_KEY=sk-ant-...
|
|
58
|
-
mimi-seed notes --locale ko,en-US,ja
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
설정하지 않으면 커밋 메시지 자동 포맷팅으로 동작합니다.
|
|
62
|
-
|
|
63
|
-
### 옵션
|
|
64
|
-
|
|
65
|
-
| 옵션 | 기본값 | 설명 |
|
|
66
|
-
|------|--------|------|
|
|
67
|
-
| `--from <ref>` | 최신 태그 | 시작 커밋 또는 태그 |
|
|
68
|
-
| `--to <ref>` | `HEAD` | 끝 커밋 |
|
|
69
|
-
| `--locale <list>` | `ko,en-US` | 다국어 로케일 (쉼표 구분) |
|
|
70
|
-
| `--apply` | false | 생성 후 스토어에 바로 적용 |
|
|
71
|
-
| `--no-interactive` | false | CI 모드 (프롬프트 없음) |
|
|
72
|
-
| `--limit <n>` | 30 | 최대 커밋 수 |
|
|
73
|
-
|
|
74
|
-
---
|
|
75
|
-
|
|
76
|
-
## mimi-seed check
|
|
77
|
-
|
|
78
|
-
출시 전 Readiness 점수와 블로커를 확인합니다.
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
mimi-seed check
|
|
82
|
-
|
|
83
|
-
# CI에서 블로커 있으면 exit 1
|
|
84
|
-
mimi-seed check --fail-on-blocker
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
### 옵션
|
|
88
|
-
|
|
89
|
-
| 옵션 | 설명 |
|
|
90
|
-
|------|------|
|
|
91
|
-
| `--app <id>` | 앱 ID 지정 (기본: 첫 번째 등록 앱) |
|
|
92
|
-
| `--fail-on-blocker` | 블로커 존재 시 exit 1 (CI/CD용) |
|
|
93
|
-
|
|
94
|
-
---
|
|
95
|
-
|
|
96
|
-
## mimi-seed doctor
|
|
97
|
-
|
|
98
|
-
로컬 환경 전체를 진단합니다.
|
|
99
|
-
|
|
100
|
-
```bash
|
|
101
|
-
mimi-seed doctor
|
|
102
|
-
# ✓ 토큰 저장됨 prs_abc1... (2026-04-25)
|
|
103
|
-
# ✓ 엔드포인트 https://mimi-seed.pryzm.gg/api/mcp
|
|
104
|
-
# ✓ Mimi Seed 서버 연결됨 앱 2개
|
|
105
|
-
#
|
|
106
|
-
# ── 로컬 환경 ──
|
|
107
|
-
# ✓ Node.js v22.17.0
|
|
108
|
-
# ✓ Git 저장소 최신 태그: v1.3.0
|
|
109
|
-
# ⚠ ANTHROPIC_API_KEY 없음 설정 시 AI 릴리즈 노트/리뷰 답변 생성 가능
|
|
110
|
-
#
|
|
111
|
-
# ── 앱 감지 ──
|
|
112
|
-
# ✓ MyApp android:com.example.myapp ios:com.example.myapp
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
## mimi-seed review
|
|
118
|
-
|
|
119
|
-
스토어 리뷰에 대한 AI 답변 초안을 생성합니다. `ANTHROPIC_API_KEY` 필요.
|
|
120
|
-
|
|
121
|
-
```bash
|
|
122
|
-
# 대화형 — 리뷰 입력 후 답변 생성
|
|
123
|
-
mimi-seed review
|
|
124
|
-
|
|
125
|
-
# 리뷰 텍스트 직접 지정
|
|
126
|
-
mimi-seed review --text "앱이 자꾸 튕겨요" --rating 2
|
|
127
|
-
|
|
128
|
-
# 톤·언어 지정
|
|
129
|
-
mimi-seed review --text "Great app!" --rating 5 --tone professional --language en
|
|
130
|
-
|
|
131
|
-
# 생성 후 Play Store 바로 게시
|
|
132
|
-
mimi-seed review --text "버그 있어요" --rating 2 \
|
|
133
|
-
--apply --package-name com.example.app --review-id <reviewId>
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
### 옵션
|
|
137
|
-
|
|
138
|
-
| 옵션 | 기본값 | 설명 |
|
|
139
|
-
|------|--------|------|
|
|
140
|
-
| `--text <내용>` | (프롬프트) | 리뷰 원문 |
|
|
141
|
-
| `--rating <1-5>` | — | 별점 (맥락용) |
|
|
142
|
-
| `--tone <tone>` | `friendly` | `friendly` / `professional` / `empathetic` / `brief` |
|
|
143
|
-
| `--language <코드>` | `ko` | 답변 언어 (`ko`, `en`, `ja` 등) |
|
|
144
|
-
| `--app-name <이름>` | — | 앱 이름 (프롬프트 맥락용) |
|
|
145
|
-
| `--apply` | false | 답변을 Play Store에 바로 게시 |
|
|
146
|
-
| `--review-id <id>` | — | 게시 대상 리뷰 ID (`--apply` 시 필요) |
|
|
147
|
-
| `--package-name <p>` | — | Android 패키지명 (`--apply` 시 필요) |
|
|
148
|
-
| `--no-interactive` | false | CI 모드 (프롬프트 없음) |
|
|
149
|
-
|
|
150
|
-
> AI 생성 답변은 초안입니다. 게시 전 반드시 검토하세요.
|
|
151
|
-
|
|
152
|
-
---
|
|
153
|
-
|
|
154
|
-
## mimi-seed auth
|
|
155
|
-
|
|
156
|
-
Firebase · AdMob · Play Store 도구에 필요한 Google OAuth 인증을 처리합니다. 내부적으로 `@yoonion/mimi-seed-mcp`의 `mimi-seed-auth` CLI를 호출합니다.
|
|
157
|
-
|
|
158
|
-
```bash
|
|
159
|
-
mimi-seed auth login # 브라우저로 로그인 (이미 있으면 자동 refresh 시도)
|
|
160
|
-
mimi-seed auth status # 현재 토큰 상태
|
|
161
|
-
mimi-seed auth refresh # refresh_token으로 갱신만 시도 (브라우저 X)
|
|
162
|
-
mimi-seed auth logout # 토큰 삭제
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
### login 옵션
|
|
166
|
-
|
|
167
|
-
| 옵션 | 설명 |
|
|
168
|
-
|------|------|
|
|
169
|
-
| `--no-browser` | URL 자동 오픈 안 함 (직접 복붙) |
|
|
170
|
-
| `--timeout <초>` | 콜백 대기 시간 (기본: 600) |
|
|
171
|
-
| `--force` | 기존 토큰 무시하고 강제 재로그인 |
|
|
172
|
-
|
|
173
|
-
토큰은 `~/.mimi-seed/tokens.json`에 저장되고 자동 갱신됩니다.
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
## mimi-seed deploy
|
|
178
|
-
|
|
179
|
-
CI 빌드부터 스토어 적용까지 출시 파이프라인 전체를 자동화합니다. 단계: **init → verify(블로커 점검) → notes(릴리즈 노트) → apply(스토어 적용) → promote**.
|
|
180
|
-
|
|
181
|
-
```bash
|
|
182
|
-
# Android 기본 배포 (CI 빌드 자동 감지 → Play Store)
|
|
183
|
-
mimi-seed deploy
|
|
184
|
-
|
|
185
|
-
# iOS 배포
|
|
186
|
-
mimi-seed deploy --platform ios
|
|
187
|
-
|
|
188
|
-
# 이미 빌드된 버전으로 노트만 적용 (CI 빌드 건너뜀)
|
|
189
|
-
mimi-seed deploy --skip-build --version-code 142
|
|
190
|
-
|
|
191
|
-
# 실제 배포 없이 파이프라인만 테스트
|
|
192
|
-
mimi-seed deploy --dry-run
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
지원 CI: **Jenkins · GitHub Actions · GitLab CI** (`--ci`로 강제 선택, 기본은 자동 감지).
|
|
196
|
-
|
|
197
|
-
### CI 설정 등록 (최초 1회)
|
|
198
|
-
|
|
199
|
-
```bash
|
|
200
|
-
mimi-seed deploy setup-jenkins # Jenkins URL·토큰·잡 이름 대화형 등록
|
|
201
|
-
mimi-seed deploy setup-github # GitHub Actions repo·workflow 등록
|
|
202
|
-
mimi-seed deploy setup-gitlab # GitLab project·trigger 등록
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
### 옵션
|
|
206
|
-
|
|
207
|
-
| 옵션 | 기본값 | 설명 |
|
|
208
|
-
|------|--------|------|
|
|
209
|
-
| `--platform android\|ios` | `android` | 배포 플랫폼 |
|
|
210
|
-
| `--app <id>` | 첫 등록 앱 | 앱 ID 지정 |
|
|
211
|
-
| `--version-code <n>` | — | 빌드 번호 직접 지정 (`--skip-build`와 함께) |
|
|
212
|
-
| `--from <ref>` / `--to <ref>` | 최신 태그 / `HEAD` | 릴리즈 노트용 커밋 범위 |
|
|
213
|
-
| `--language <코드>` | `ko-KR` | 릴리즈 노트 언어 |
|
|
214
|
-
| `--dry-run` | false | 실제 배포 없이 파이프라인 테스트 |
|
|
215
|
-
| `--skip-build` | false | CI 빌드 건너뜀 (`--version-code` 필수) |
|
|
216
|
-
| `--ci jenkins\|github\|gitlab` | auto | CI 강제 선택 |
|
|
217
|
-
| `--workflow <file>` | — | GitHub workflow 파일 (예: `deploy.yml`) |
|
|
218
|
-
| `--ref <branch\|tag>` | `main` | GitHub/GitLab 브랜치/태그 |
|
|
219
|
-
|
|
220
|
-
---
|
|
221
|
-
|
|
222
|
-
## CI/CD 사용
|
|
223
|
-
|
|
224
|
-
### 방법 1 — 재사용 가능 워크플로우 (권장)
|
|
225
|
-
|
|
226
|
-
`.github/workflows/release.yml` 파일 하나만 추가하면 끝납니다.
|
|
227
|
-
|
|
228
|
-
```yaml
|
|
229
|
-
name: App Release
|
|
230
|
-
|
|
231
|
-
on:
|
|
232
|
-
push:
|
|
233
|
-
tags: ['v*'] # v1.2.3 태그 push 시 자동 실행
|
|
234
|
-
workflow_dispatch: # 수동 실행 버튼
|
|
235
|
-
|
|
236
|
-
jobs:
|
|
237
|
-
release:
|
|
238
|
-
uses: jeonghwanko/mimi-seed/.github/workflows/mimi-seed-release.yml@master
|
|
239
|
-
with:
|
|
240
|
-
locales: 'ko,en-US' # 다국어 릴리즈 노트
|
|
241
|
-
apply-notes: true # 스토어에 자동 적용
|
|
242
|
-
fail-on-blocker: true # 블로커 있으면 실패
|
|
243
|
-
secrets:
|
|
244
|
-
MIMI_SEED_TOKEN: ${{ secrets.MIMI_SEED_TOKEN }}
|
|
245
|
-
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} # 선택: AI 생성
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
### 방법 2 — 기존 워크플로우에 스텝 추가
|
|
249
|
-
|
|
250
|
-
```yaml
|
|
251
|
-
- name: 릴리즈 노트 생성 및 적용
|
|
252
|
-
env:
|
|
253
|
-
MIMI_SEED_TOKEN: ${{ secrets.MIMI_SEED_TOKEN }}
|
|
254
|
-
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
255
|
-
run: |
|
|
256
|
-
npx mimi-seed notes --apply --no-interactive --locale ko,en-US
|
|
257
|
-
npx mimi-seed check --fail-on-blocker
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
`MIMI_SEED_TOKEN`은 [대시보드 → API 토큰](https://mimi-seed.pryzm.gg/workspace/api-tokens)에서 발급하세요.
|
|
261
|
-
|
|
262
|
-
---
|
|
263
|
-
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## mimi-seed notes
|
|
35
|
+
|
|
36
|
+
git 커밋 내역으로 앱 스토어 릴리즈 노트를 자동 생성합니다.
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# 기본: 최신 태그 이후 커밋 → 간결/상세/마케팅 3 톤 생성
|
|
40
|
+
mimi-seed notes
|
|
41
|
+
|
|
42
|
+
# 태그 범위 지정
|
|
43
|
+
mimi-seed notes --from v1.2.0 --to HEAD
|
|
44
|
+
|
|
45
|
+
# 다국어 동시 생성 (AI 필요)
|
|
46
|
+
mimi-seed notes --locale ko,en-US,ja
|
|
47
|
+
|
|
48
|
+
# 생성 후 Play Store 바로 적용
|
|
49
|
+
mimi-seed notes --apply
|
|
50
|
+
|
|
51
|
+
# CI 모드 (프롬프트 없음)
|
|
52
|
+
mimi-seed notes --no-interactive --apply
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
**AI 생성 활성화** (`ANTHROPIC_API_KEY` 설정 시):
|
|
56
|
+
```bash
|
|
57
|
+
export ANTHROPIC_API_KEY=sk-ant-...
|
|
58
|
+
mimi-seed notes --locale ko,en-US,ja
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
설정하지 않으면 커밋 메시지 자동 포맷팅으로 동작합니다.
|
|
62
|
+
|
|
63
|
+
### 옵션
|
|
64
|
+
|
|
65
|
+
| 옵션 | 기본값 | 설명 |
|
|
66
|
+
|------|--------|------|
|
|
67
|
+
| `--from <ref>` | 최신 태그 | 시작 커밋 또는 태그 |
|
|
68
|
+
| `--to <ref>` | `HEAD` | 끝 커밋 |
|
|
69
|
+
| `--locale <list>` | `ko,en-US` | 다국어 로케일 (쉼표 구분) |
|
|
70
|
+
| `--apply` | false | 생성 후 스토어에 바로 적용 |
|
|
71
|
+
| `--no-interactive` | false | CI 모드 (프롬프트 없음) |
|
|
72
|
+
| `--limit <n>` | 30 | 최대 커밋 수 |
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## mimi-seed check
|
|
77
|
+
|
|
78
|
+
출시 전 Readiness 점수와 블로커를 확인합니다.
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
mimi-seed check
|
|
82
|
+
|
|
83
|
+
# CI에서 블로커 있으면 exit 1
|
|
84
|
+
mimi-seed check --fail-on-blocker
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### 옵션
|
|
88
|
+
|
|
89
|
+
| 옵션 | 설명 |
|
|
90
|
+
|------|------|
|
|
91
|
+
| `--app <id>` | 앱 ID 지정 (기본: 첫 번째 등록 앱) |
|
|
92
|
+
| `--fail-on-blocker` | 블로커 존재 시 exit 1 (CI/CD용) |
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## mimi-seed doctor
|
|
97
|
+
|
|
98
|
+
로컬 환경 전체를 진단합니다.
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
mimi-seed doctor
|
|
102
|
+
# ✓ 토큰 저장됨 prs_abc1... (2026-04-25)
|
|
103
|
+
# ✓ 엔드포인트 https://mimi-seed.pryzm.gg/api/mcp
|
|
104
|
+
# ✓ Mimi Seed 서버 연결됨 앱 2개
|
|
105
|
+
#
|
|
106
|
+
# ── 로컬 환경 ──
|
|
107
|
+
# ✓ Node.js v22.17.0
|
|
108
|
+
# ✓ Git 저장소 최신 태그: v1.3.0
|
|
109
|
+
# ⚠ ANTHROPIC_API_KEY 없음 설정 시 AI 릴리즈 노트/리뷰 답변 생성 가능
|
|
110
|
+
#
|
|
111
|
+
# ── 앱 감지 ──
|
|
112
|
+
# ✓ MyApp android:com.example.myapp ios:com.example.myapp
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## mimi-seed review
|
|
118
|
+
|
|
119
|
+
스토어 리뷰에 대한 AI 답변 초안을 생성합니다. `ANTHROPIC_API_KEY` 필요.
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
# 대화형 — 리뷰 입력 후 답변 생성
|
|
123
|
+
mimi-seed review
|
|
124
|
+
|
|
125
|
+
# 리뷰 텍스트 직접 지정
|
|
126
|
+
mimi-seed review --text "앱이 자꾸 튕겨요" --rating 2
|
|
127
|
+
|
|
128
|
+
# 톤·언어 지정
|
|
129
|
+
mimi-seed review --text "Great app!" --rating 5 --tone professional --language en
|
|
130
|
+
|
|
131
|
+
# 생성 후 Play Store 바로 게시
|
|
132
|
+
mimi-seed review --text "버그 있어요" --rating 2 \
|
|
133
|
+
--apply --package-name com.example.app --review-id <reviewId>
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### 옵션
|
|
137
|
+
|
|
138
|
+
| 옵션 | 기본값 | 설명 |
|
|
139
|
+
|------|--------|------|
|
|
140
|
+
| `--text <내용>` | (프롬프트) | 리뷰 원문 |
|
|
141
|
+
| `--rating <1-5>` | — | 별점 (맥락용) |
|
|
142
|
+
| `--tone <tone>` | `friendly` | `friendly` / `professional` / `empathetic` / `brief` |
|
|
143
|
+
| `--language <코드>` | `ko` | 답변 언어 (`ko`, `en`, `ja` 등) |
|
|
144
|
+
| `--app-name <이름>` | — | 앱 이름 (프롬프트 맥락용) |
|
|
145
|
+
| `--apply` | false | 답변을 Play Store에 바로 게시 |
|
|
146
|
+
| `--review-id <id>` | — | 게시 대상 리뷰 ID (`--apply` 시 필요) |
|
|
147
|
+
| `--package-name <p>` | — | Android 패키지명 (`--apply` 시 필요) |
|
|
148
|
+
| `--no-interactive` | false | CI 모드 (프롬프트 없음) |
|
|
149
|
+
|
|
150
|
+
> AI 생성 답변은 초안입니다. 게시 전 반드시 검토하세요.
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## mimi-seed auth
|
|
155
|
+
|
|
156
|
+
Firebase · AdMob · Play Store 도구에 필요한 Google OAuth 인증을 처리합니다. 내부적으로 `@yoonion/mimi-seed-mcp`의 `mimi-seed-auth` CLI를 호출합니다.
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
mimi-seed auth login # 브라우저로 로그인 (이미 있으면 자동 refresh 시도)
|
|
160
|
+
mimi-seed auth status # 현재 토큰 상태
|
|
161
|
+
mimi-seed auth refresh # refresh_token으로 갱신만 시도 (브라우저 X)
|
|
162
|
+
mimi-seed auth logout # 토큰 삭제
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### login 옵션
|
|
166
|
+
|
|
167
|
+
| 옵션 | 설명 |
|
|
168
|
+
|------|------|
|
|
169
|
+
| `--no-browser` | URL 자동 오픈 안 함 (직접 복붙) |
|
|
170
|
+
| `--timeout <초>` | 콜백 대기 시간 (기본: 600) |
|
|
171
|
+
| `--force` | 기존 토큰 무시하고 강제 재로그인 |
|
|
172
|
+
|
|
173
|
+
토큰은 `~/.mimi-seed/tokens.json`에 저장되고 자동 갱신됩니다.
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
## mimi-seed deploy
|
|
178
|
+
|
|
179
|
+
CI 빌드부터 스토어 적용까지 출시 파이프라인 전체를 자동화합니다. 단계: **init → verify(블로커 점검) → notes(릴리즈 노트) → apply(스토어 적용) → promote**.
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
# Android 기본 배포 (CI 빌드 자동 감지 → Play Store)
|
|
183
|
+
mimi-seed deploy
|
|
184
|
+
|
|
185
|
+
# iOS 배포
|
|
186
|
+
mimi-seed deploy --platform ios
|
|
187
|
+
|
|
188
|
+
# 이미 빌드된 버전으로 노트만 적용 (CI 빌드 건너뜀)
|
|
189
|
+
mimi-seed deploy --skip-build --version-code 142
|
|
190
|
+
|
|
191
|
+
# 실제 배포 없이 파이프라인만 테스트
|
|
192
|
+
mimi-seed deploy --dry-run
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
지원 CI: **Jenkins · GitHub Actions · GitLab CI** (`--ci`로 강제 선택, 기본은 자동 감지).
|
|
196
|
+
|
|
197
|
+
### CI 설정 등록 (최초 1회)
|
|
198
|
+
|
|
199
|
+
```bash
|
|
200
|
+
mimi-seed deploy setup-jenkins # Jenkins URL·토큰·잡 이름 대화형 등록
|
|
201
|
+
mimi-seed deploy setup-github # GitHub Actions repo·workflow 등록
|
|
202
|
+
mimi-seed deploy setup-gitlab # GitLab project·trigger 등록
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### 옵션
|
|
206
|
+
|
|
207
|
+
| 옵션 | 기본값 | 설명 |
|
|
208
|
+
|------|--------|------|
|
|
209
|
+
| `--platform android\|ios` | `android` | 배포 플랫폼 |
|
|
210
|
+
| `--app <id>` | 첫 등록 앱 | 앱 ID 지정 |
|
|
211
|
+
| `--version-code <n>` | — | 빌드 번호 직접 지정 (`--skip-build`와 함께) |
|
|
212
|
+
| `--from <ref>` / `--to <ref>` | 최신 태그 / `HEAD` | 릴리즈 노트용 커밋 범위 |
|
|
213
|
+
| `--language <코드>` | `ko-KR` | 릴리즈 노트 언어 |
|
|
214
|
+
| `--dry-run` | false | 실제 배포 없이 파이프라인 테스트 |
|
|
215
|
+
| `--skip-build` | false | CI 빌드 건너뜀 (`--version-code` 필수) |
|
|
216
|
+
| `--ci jenkins\|github\|gitlab` | auto | CI 강제 선택 |
|
|
217
|
+
| `--workflow <file>` | — | GitHub workflow 파일 (예: `deploy.yml`) |
|
|
218
|
+
| `--ref <branch\|tag>` | `main` | GitHub/GitLab 브랜치/태그 |
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## CI/CD 사용
|
|
223
|
+
|
|
224
|
+
### 방법 1 — 재사용 가능 워크플로우 (권장)
|
|
225
|
+
|
|
226
|
+
`.github/workflows/release.yml` 파일 하나만 추가하면 끝납니다.
|
|
227
|
+
|
|
228
|
+
```yaml
|
|
229
|
+
name: App Release
|
|
230
|
+
|
|
231
|
+
on:
|
|
232
|
+
push:
|
|
233
|
+
tags: ['v*'] # v1.2.3 태그 push 시 자동 실행
|
|
234
|
+
workflow_dispatch: # 수동 실행 버튼
|
|
235
|
+
|
|
236
|
+
jobs:
|
|
237
|
+
release:
|
|
238
|
+
uses: jeonghwanko/mimi-seed/.github/workflows/mimi-seed-release.yml@master
|
|
239
|
+
with:
|
|
240
|
+
locales: 'ko,en-US' # 다국어 릴리즈 노트
|
|
241
|
+
apply-notes: true # 스토어에 자동 적용
|
|
242
|
+
fail-on-blocker: true # 블로커 있으면 실패
|
|
243
|
+
secrets:
|
|
244
|
+
MIMI_SEED_TOKEN: ${{ secrets.MIMI_SEED_TOKEN }}
|
|
245
|
+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} # 선택: AI 생성
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### 방법 2 — 기존 워크플로우에 스텝 추가
|
|
249
|
+
|
|
250
|
+
```yaml
|
|
251
|
+
- name: 릴리즈 노트 생성 및 적용
|
|
252
|
+
env:
|
|
253
|
+
MIMI_SEED_TOKEN: ${{ secrets.MIMI_SEED_TOKEN }}
|
|
254
|
+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
255
|
+
run: |
|
|
256
|
+
npx mimi-seed notes --apply --no-interactive --locale ko,en-US
|
|
257
|
+
npx mimi-seed check --fail-on-blocker
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
`MIMI_SEED_TOKEN`은 [대시보드 → API 토큰](https://mimi-seed.pryzm.gg/workspace/api-tokens)에서 발급하세요.
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
|
|
264
264
|
## Claude Code / Codex MCP 등록
|
|
265
|
-
|
|
266
|
-
`init` 후 1회 실행:
|
|
267
|
-
|
|
268
|
-
```bash
|
|
269
|
-
claude mcp add --transport http mimi-seed https://mimi-seed.pryzm.gg/api/mcp \
|
|
270
|
-
--header "Authorization: Bearer <PAT>"
|
|
271
|
-
```
|
|
272
|
-
|
|
265
|
+
|
|
266
|
+
`init` 후 1회 실행:
|
|
267
|
+
|
|
268
|
+
```bash
|
|
269
|
+
claude mcp add --transport http mimi-seed https://mimi-seed.pryzm.gg/api/mcp \
|
|
270
|
+
--header "Authorization: Bearer <PAT>"
|
|
271
|
+
```
|
|
272
|
+
|
|
273
273
|
Codex는 자동 쓰기 명령을 사용할 수 있습니다.
|
|
274
274
|
|
|
275
275
|
```bash
|
|
@@ -277,37 +277,37 @@ mimi-seed mcp codex --write
|
|
|
277
277
|
```
|
|
278
278
|
|
|
279
279
|
등록 후 Claude Code 또는 Codex에서 대화로 제어:
|
|
280
|
-
|
|
281
|
-
```
|
|
282
|
-
"내 앱 출시 준비됐어?"
|
|
283
|
-
"릴리즈 노트 써줘"
|
|
284
|
-
"스크린샷 검수해줘"
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
---
|
|
288
|
-
|
|
289
|
-
## 앱 감지 대상
|
|
290
|
-
|
|
291
|
-
- `app.json` / `app.config.json` (Expo, React Native)
|
|
292
|
-
- `**/build.gradle(.kts)` — `applicationId`
|
|
293
|
-
- `**/Info.plist` — `CFBundleIdentifier`
|
|
294
|
-
- `**/project.pbxproj` — `PRODUCT_BUNDLE_IDENTIFIER`
|
|
295
|
-
- `package.json` — 앱 이름 보충
|
|
296
|
-
|
|
297
|
-
---
|
|
298
|
-
|
|
299
|
-
## 환경변수
|
|
300
|
-
|
|
301
|
-
| 변수 | 설명 |
|
|
302
|
-
|------|------|
|
|
303
|
-
| `MIMI_SEED_TOKEN` | PAT 토큰 — CI/CD 무인증 모드 |
|
|
304
|
-
| `MIMI_SEED_WEB_BASE` | 서버 주소 (기본: `https://mimi-seed.pryzm.gg`) |
|
|
305
|
-
| `ANTHROPIC_API_KEY` | AI 릴리즈 노트/리뷰 답변 생성 활성화 (선택) |
|
|
306
|
-
| `DEBUG` | `1` 설정 시 오류 스택 트레이스 출력 |
|
|
307
|
-
|
|
308
|
-
---
|
|
309
|
-
|
|
310
|
-
## 관련 패키지
|
|
311
|
-
|
|
280
|
+
|
|
281
|
+
```
|
|
282
|
+
"내 앱 출시 준비됐어?"
|
|
283
|
+
"릴리즈 노트 써줘"
|
|
284
|
+
"스크린샷 검수해줘"
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
## 앱 감지 대상
|
|
290
|
+
|
|
291
|
+
- `app.json` / `app.config.json` (Expo, React Native)
|
|
292
|
+
- `**/build.gradle(.kts)` — `applicationId`
|
|
293
|
+
- `**/Info.plist` — `CFBundleIdentifier`
|
|
294
|
+
- `**/project.pbxproj` — `PRODUCT_BUNDLE_IDENTIFIER`
|
|
295
|
+
- `package.json` — 앱 이름 보충
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
## 환경변수
|
|
300
|
+
|
|
301
|
+
| 변수 | 설명 |
|
|
302
|
+
|------|------|
|
|
303
|
+
| `MIMI_SEED_TOKEN` | PAT 토큰 — CI/CD 무인증 모드 |
|
|
304
|
+
| `MIMI_SEED_WEB_BASE` | 서버 주소 (기본: `https://mimi-seed.pryzm.gg`) |
|
|
305
|
+
| `ANTHROPIC_API_KEY` | AI 릴리즈 노트/리뷰 답변 생성 활성화 (선택) |
|
|
306
|
+
| `DEBUG` | `1` 설정 시 오류 스택 트레이스 출력 |
|
|
307
|
+
|
|
308
|
+
---
|
|
309
|
+
|
|
310
|
+
## 관련 패키지
|
|
311
|
+
|
|
312
312
|
- [`@yoonion/mimi-seed-mcp`](https://www.npmjs.com/package/@yoonion/mimi-seed-mcp) — Claude Code / Codex / Cursor용 로컬 MCP 서버 (Firebase · Play Store · App Store · AdMob)
|
|
313
|
-
- [mimi-seed.pryzm.gg/tool](https://mimi-seed.pryzm.gg/tool) — 웹 콘솔 (스크린샷 검수, Copy Studio, 팀 워크스페이스)
|
|
313
|
+
- [mimi-seed.pryzm.gg/tool](https://mimi-seed.pryzm.gg/tool) — 웹 콘솔 (스크린샷 검수, Copy Studio, 팀 워크스페이스)
|
package/dist/chunk-Q5YGYAFK.js
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -427,7 +427,7 @@ async function cmdDoctor() {
|
|
|
427
427
|
bigquery: "mimi-seed auth bigquery",
|
|
428
428
|
playstore: "mimi-seed auth playstore",
|
|
429
429
|
appstore: "mimi-seed auth appstore",
|
|
430
|
-
jenkins: "claude mcp add
|
|
430
|
+
jenkins: "claude mcp add <your-jenkins-mcp> -s user"
|
|
431
431
|
};
|
|
432
432
|
for (const [id, svc] of manifestServiceEntries(loaded.manifest)) {
|
|
433
433
|
const required = svc.required !== false;
|
|
@@ -441,10 +441,12 @@ async function cmdDoctor() {
|
|
|
441
441
|
section("\uB85C\uCEEC \uD658\uACBD");
|
|
442
442
|
const nodeVer = process.version;
|
|
443
443
|
const [, major] = nodeVer.match(/v(\d+)/) ?? [];
|
|
444
|
-
if (Number(major) >=
|
|
444
|
+
if (Number(major) >= 20) {
|
|
445
445
|
ok("Node.js", nodeVer);
|
|
446
|
+
} else if (Number(major) >= 18) {
|
|
447
|
+
warn("Node.js", `${nodeVer} \u2014 CLI \uB294 \uB3D9\uC791\uD558\uC9C0\uB9CC Local MCP \uC11C\uBC84(@yoonion/mimi-seed-mcp)\uB294 v20 \uC774\uC0C1 \uD544\uC694`);
|
|
446
448
|
} else {
|
|
447
|
-
fail("Node.js", `${nodeVer} \u2014 v18 \uC774\uC0C1 \uD544\uC694`);
|
|
449
|
+
fail("Node.js", `${nodeVer} \u2014 v18 \uC774\uC0C1(CLI) / v20 \uC774\uC0C1(Local MCP) \uD544\uC694`);
|
|
448
450
|
}
|
|
449
451
|
if (isGitRepo(cwd)) {
|
|
450
452
|
const latestTag = getLatestTag(cwd);
|
|
@@ -1701,12 +1703,16 @@ function replaceTomlBlock(input, tableName, block) {
|
|
|
1701
1703
|
const end = next < 0 ? input.length : start + header.length + next + 1;
|
|
1702
1704
|
return `${input.slice(0, start)}${block}${input.slice(end).replace(/^\n+/, "\n")}`;
|
|
1703
1705
|
}
|
|
1706
|
+
var CONFIG_LOCATION_HINT = "~/.mimi-seed/config.json";
|
|
1707
|
+
function claudeMcpAddCommand(cfg) {
|
|
1708
|
+
return `claude mcp add --transport http ${SERVER_NAME} ${cfg.endpoint} --header "Authorization: Bearer ${cfg.token}"`;
|
|
1709
|
+
}
|
|
1704
1710
|
function printMcpSetup(cfg) {
|
|
1705
1711
|
process.stdout.write(
|
|
1706
1712
|
[
|
|
1707
|
-
kleur8.
|
|
1708
|
-
kleur8.
|
|
1709
|
-
kleur8.dim(`
|
|
1713
|
+
kleur8.bold("Claude Code MCP \uB4F1\uB85D \u2014 \uC544\uB798 \uD55C \uC904\uC744 \uADF8\uB300\uB85C \uC2E4\uD589\uD558\uC138\uC694:"),
|
|
1714
|
+
kleur8.cyan(` ${claudeMcpAddCommand(cfg)}`),
|
|
1715
|
+
kleur8.dim(` \u26A0 \uC2E4\uC81C \uD1A0\uD070\uC774 \uD3EC\uD568\uB41C \uBA85\uB839\uC785\uB2C8\uB2E4 (\uC178 \uD788\uC2A4\uD1A0\uB9AC\uC5D0 \uB0A8\uC74C). \uD1A0\uD070\uC740 ${CONFIG_LOCATION_HINT} \uC5D0\uB3C4 \uC800\uC7A5\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.`),
|
|
1710
1716
|
"",
|
|
1711
1717
|
kleur8.dim("Codex MCP \uB4F1\uB85D:"),
|
|
1712
1718
|
kleur8.dim(" mimi-seed mcp codex --write"),
|
|
@@ -1921,7 +1927,7 @@ async function cmdInit(args) {
|
|
|
1921
1927
|
if (local) {
|
|
1922
1928
|
log4("");
|
|
1923
1929
|
log4(kleur9.bold("\u2500\u2500 \uB85C\uCEEC MCP \uCD94\uAC00 \uC124\uC815 (--local) \u2500\u2500"));
|
|
1924
|
-
log4(kleur9.dim("\uC6D0\uACA9 MCP(
|
|
1930
|
+
log4(kleur9.dim("\uC6D0\uACA9 MCP(PAT, \uC77D\uAE30\xB7\uC9C4\uB2E8)\uB294 \uC704\uC5D0\uC11C \uB05D. \uB85C\uCEEC MCP\uB294 Google OAuth\uB85C \uC2A4\uD1A0\uC5B4 \uC4F0\uAE30 \uB3C4\uAD6C \uC804\uCCB4\uB97C \uC9C1\uC811 \uC2E4\uD589\uD569\uB2C8\uB2E4 (Node 20+)."));
|
|
1925
1931
|
log4("");
|
|
1926
1932
|
log4("1) Google \uB85C\uADF8\uC778 (Firebase / AdMob / Play / Ads):");
|
|
1927
1933
|
await cmdAuth(["login"]);
|
|
@@ -1976,17 +1982,17 @@ async function cmdMcp(args) {
|
|
|
1976
1982
|
log4("\uC790\uB3D9 \uB4F1\uB85D:");
|
|
1977
1983
|
log4(kleur9.cyan(" mimi-seed mcp codex --write"));
|
|
1978
1984
|
log4("");
|
|
1979
|
-
log4("\uC218\uB3D9 \uB4F1\uB85D \uC608\uC2DC (~/.codex/config.toml):");
|
|
1985
|
+
log4("\uC218\uB3D9 \uB4F1\uB85D \uC608\uC2DC (~/.codex/config.toml) \u2014 \uC2E4\uC81C \uD1A0\uD070 \uD3EC\uD568:");
|
|
1980
1986
|
log4(`[mcp_servers.mimi-seed]
|
|
1981
1987
|
url = "${cfg.endpoint}"
|
|
1982
1988
|
enabled = true
|
|
1983
|
-
http_headers = { Authorization = "Bearer ${cfg.
|
|
1989
|
+
http_headers = { Authorization = "Bearer ${cfg.token}" }`);
|
|
1984
1990
|
return;
|
|
1985
1991
|
}
|
|
1986
1992
|
if (target === "claude") {
|
|
1987
|
-
log4(kleur9.bold("Claude Code MCP \uB4F1\uB85D"));
|
|
1988
|
-
log4(kleur9.cyan(`
|
|
1989
|
-
log4(kleur9.
|
|
1993
|
+
log4(kleur9.bold("Claude Code MCP \uB4F1\uB85D \u2014 \uC544\uB798 \uD55C \uC904\uC744 \uADF8\uB300\uB85C \uC2E4\uD589\uD558\uC138\uC694:"));
|
|
1994
|
+
log4(kleur9.cyan(` ${claudeMcpAddCommand(cfg)}`));
|
|
1995
|
+
log4(kleur9.dim(" \u26A0 \uC2E4\uC81C \uD1A0\uD070\uC774 \uD3EC\uD568\uB41C \uBA85\uB839\uC785\uB2C8\uB2E4 (\uC178 \uD788\uC2A4\uD1A0\uB9AC\uC5D0 \uB0A8\uC74C). \uD1A0\uD070\uC740 ~/.mimi-seed/config.json \uC5D0\uB3C4 \uC800\uC7A5\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."));
|
|
1990
1996
|
return;
|
|
1991
1997
|
}
|
|
1992
1998
|
printMcpSetup(cfg);
|
|
@@ -1998,7 +2004,7 @@ var CMD_USAGE = {
|
|
|
1998
2004
|
+ .claude/mimi-seed.md, AGENTS.md, docs/releases.json \uC0DD\uC131/\uD655\uC778.
|
|
1999
2005
|
|
|
2000
2006
|
\uC635\uC158:
|
|
2001
|
-
--local \uCD94\uAC00\uB85C Google OAuth \uB85C\uADF8\uC778 + \uB85C\uCEEC
|
|
2007
|
+
--local \uCD94\uAC00\uB85C Google OAuth \uB85C\uADF8\uC778 + \uB85C\uCEEC MCP(\uC2A4\uD1A0\uC5B4 \uC4F0\uAE30 \uB3C4\uAD6C \uC804\uCCB4) \uB4F1\uB85D \uC548\uB0B4`,
|
|
2002
2008
|
status: `${kleur9.bold("mimi-seed status")} \u2014 \uC5F0\uACB0 \uC0C1\uD0DC + \uB4F1\uB85D \uC571 \uBAA9\uB85D. \uC635\uC158 \uC5C6\uC74C.`,
|
|
2003
2009
|
doctor: `${kleur9.bold("mimi-seed doctor")} \u2014 \uD658\uACBD \uC9C4\uB2E8 (\uD1A0\uD070\xB7Node\xB7Git\xB7\uD504\uB85C\uC81D\uD2B8\xB7CI). \uC635\uC158 \uC5C6\uC74C.`,
|
|
2004
2010
|
logout: `${kleur9.bold("mimi-seed logout")} \u2014 \uB85C\uCEEC \uC124\uC815(config.json) \uC0AD\uC81C. \uC635\uC158 \uC5C6\uC74C.`,
|
|
File without changes
|