@yoonion/mimi-seed-mcp 0.29.0 → 0.30.0
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/README.md +12 -4
- package/assets/agent-guide.md +26 -9
- package/dist/checks/appstore-submission.d.ts +4 -4
- package/dist/checks/plan.d.ts +2 -2
- package/dist/checks/release-readiness.d.ts +3 -3
- package/dist/checks/risks.d.ts +1 -1
- package/dist/gsc/tools.d.ts +3 -3
- package/dist/i18n/manifest-en.js +3 -0
- package/dist/i18n/tools-en/auth.d.ts +1 -1
- package/dist/i18n/tools-en/auth.js +1 -1
- package/dist/i18n/tools-en/index.js +2 -0
- package/dist/i18n/tools-en/social.d.ts +5 -0
- package/dist/i18n/tools-en/social.js +4 -0
- package/dist/index.js +2 -0
- package/dist/jenkins/builds.d.ts +2 -2
- package/dist/lib/package-root.d.ts +15 -0
- package/dist/lib/package-root.js +30 -0
- package/dist/lib/tool-menu.d.ts +9 -2
- package/dist/lib/tool-menu.js +19 -3
- package/dist/playstore/releases.d.ts +2 -2
- package/dist/prompts.js +2 -2
- package/dist/registers/auth.js +5 -86
- package/dist/registers/social-status.d.ts +2 -0
- package/dist/registers/social-status.js +143 -0
- package/dist/resources.js +4 -3
- package/dist/server.js +4 -13
- package/dist/social/profile-store.js +1 -1
- package/dist/social-index.d.ts +2 -0
- package/dist/social-index.js +31 -0
- package/dist/social-server.d.ts +11 -0
- package/dist/social-server.js +49 -0
- package/dist/tiktok-business/config.js +1 -1
- package/dist/tools-cli.js +13 -5
- package/dist/video/research.d.ts +1 -1
- package/dist/video/schemas.d.ts +3 -3
- package/npm-shrinkwrap.json +3 -2
- package/package.json +2 -1
- package/tool-manifest.json +26 -11
package/README.md
CHANGED
|
@@ -80,6 +80,13 @@ args = ["-y", "@yoonion/mimi-seed-mcp@latest"]
|
|
|
80
80
|
enabled = true
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
+
소셜 게시(Facebook · Instagram · Threads · TikTok · 통합 게시)는 같은 패키지의 **별도 서버**다. 게시할 때만 등록한다
|
|
84
|
+
(명령 `npx`, 인자 `-y @yoonion/mimi-seed-mcp@latest mimi-seed-social-mcp`):
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
claude mcp add mimi-seed-social -s user -- npx -y @yoonion/mimi-seed-mcp@latest mimi-seed-social-mcp
|
|
88
|
+
```
|
|
89
|
+
|
|
83
90
|
Claude Desktop (`claude_desktop_config.json`):
|
|
84
91
|
|
|
85
92
|
```json
|
|
@@ -142,11 +149,11 @@ export ANTHROPIC_API_KEY=sk-ant-...
|
|
|
142
149
|
|
|
143
150
|
---
|
|
144
151
|
|
|
145
|
-
<!-- generated:readme-tools-heading:start —
|
|
146
|
-
## 제공 도구 (150+ 개 ·
|
|
152
|
+
<!-- generated:readme-tools-heading:start — from tool-manifest.json + scripts/docs-spec.mjs; edit those, then npm run plugin:sync -->
|
|
153
|
+
## 제공 도구 (150+ 개 · 28개 영역)
|
|
147
154
|
<!-- generated:readme-tools-heading:end -->
|
|
148
155
|
|
|
149
|
-
<!-- generated:readme-tools-table:start —
|
|
156
|
+
<!-- generated:readme-tools-table:start — from tool-manifest.json + scripts/docs-spec.mjs; edit those, then npm run plugin:sync -->
|
|
150
157
|
| 영역 | 도구 수 | 주요 도구 |
|
|
151
158
|
|------|---------|-----------|
|
|
152
159
|
| App Store Connect | 64 | `appstore_submit_for_review` / `appstore_get_weekly_insight` / `appstore_update_product_review_note` / `appstore_upload_product_review_screenshot` |
|
|
@@ -169,6 +176,7 @@ export ANTHROPIC_API_KEY=sk-ant-...
|
|
|
169
176
|
| Threads | 7 | `threads_post` / `threads_post_video` / `threads_post_carousel` / `threads_refresh_token` |
|
|
170
177
|
| TikTok Business | 7 | `tiktok_business_plan_video_post` / `tiktok_business_publish_video` / `tiktok_business_get_publish_status` |
|
|
171
178
|
| 소셜 통합 게시 | 1 | `social_publish` |
|
|
179
|
+
| 소셜 연결/진단 | 1 | `social_status` |
|
|
172
180
|
| 출시 점검 | 5 | `playstore_check_submission_risks` / `appstore_check_submission_risks` / `android_check_billing_compliance` / `screenshot_validate` / `release_status` |
|
|
173
181
|
| Instagram | 4 | `instagram_post_image` / `instagram_post_carousel` / `instagram_save_config` |
|
|
174
182
|
| Android 서명 | 3 | `android_signing_setup` / `android_generate_keystore` / `jenkins_upload_playstore_sa` |
|
|
@@ -310,7 +318,7 @@ Claude가 연쇄 호출:
|
|
|
310
318
|
| `PEXELS_API_KEY` | Pexels 스톡 영상 검색 (선택) |
|
|
311
319
|
| `OPENAI_API_KEY` | 장면 이미지 생성 (선택) |
|
|
312
320
|
| `MIMI_SEED_FFMPEG_PATH` / `MIMI_SEED_FFPROBE_PATH` | FFmpeg/ffprobe가 PATH에 없을 때 실행 파일 경로 (선택) |
|
|
313
|
-
| `MIMI_SEED_TOOLSETS` / `MIMI_SEED_TOOLSETS_EXCLUDE` | 노출할 도구 영역만 고른다 — 도메인 키(`playstore,appstore` …) 또는 그룹 `store` · `google` · `
|
|
321
|
+
| `MIMI_SEED_TOOLSETS` / `MIMI_SEED_TOOLSETS_EXCLUDE` | 노출할 도구 영역만 고른다 — 도메인 키(`playstore,appstore` …) 또는 그룹 `store` · `google` · `search` · `media` · `build` · `all` 쉼표 구분. 미지정 = 전체. 서버마다 자기 도메인만 거른다 (소셜 서버: `facebook` · `instagram` · `threads` · `tiktok` · `crosspost`). `auth`·`checks` 는 항상 켜짐, 모르는 키는 stderr 경고 후 무시 (선택) |
|
|
314
322
|
| `MIMI_SEED_APPROVAL` | 확정된 쓰기 작업(`confirm` 류 플래그 true)의 사용자 승인 방식 — `auto`(기본: elicitation 지원 클라이언트에서 승인 대화상자, 미지원이면 confirm 만으로 실행) · `required`(미지원 클라이언트에서 거부, 알 수 없는 값도 여기) · `telegram`(대화상자 대신 승인 전용 텔레그램 봇으로 묻는다 — 봇·헤드리스 에이전트용, `MIMI_SEED_APPROVAL_TELEGRAM_*`) · `off`(묻지 않음, 무인 실행 전용) (선택) |
|
|
315
323
|
|
|
316
324
|
---
|
package/assets/agent-guide.md
CHANGED
|
@@ -17,7 +17,12 @@ and which actions are irreversible.
|
|
|
17
17
|
## 0. The one thing that trips every agent: deferred tools
|
|
18
18
|
|
|
19
19
|
Mimi Seed exposes **150+ MCP tools** across every store, cloud, CI, social, and video domain (full inventory:
|
|
20
|
-
[`docs/domain/tool-catalog.md`](domain/tool-catalog.md)).
|
|
20
|
+
[`docs/domain/tool-catalog.md`](domain/tool-catalog.md)). They come from **two MCP servers** in one package: the
|
|
21
|
+
main server (app operations) and the **social server** (`mimi-seed-social-mcp` — Facebook, Instagram, Threads,
|
|
22
|
+
TikTok, `social_publish`, `social_status`). The social server is registered separately under its own name, so its
|
|
23
|
+
tools carry that name's prefix (e.g. `mcp__mimi-seed-social__social_publish`). If the user asks to post and no
|
|
24
|
+
social tools are listed even as deferred, it is not registered — tell the user how to add it
|
|
25
|
+
([social guide](user-guide/social.md#0-register-the-social-server)) instead of concluding posting is unsupported. Harnesses that lazy-load large tool catalogs —
|
|
21
26
|
**Claude Code most notably** — register these tools as **deferred**: the tool *names*
|
|
22
27
|
are visible (in a system reminder), but the **input schemas are not loaded**. If you
|
|
23
28
|
call a deferred tool directly, it fails with `InputValidationError` ("schema not
|
|
@@ -52,9 +57,9 @@ choices. Keep operation-specific approvals in effect.
|
|
|
52
57
|
|
|
53
58
|
### Ready-made `select:` batches
|
|
54
59
|
|
|
55
|
-
Use the table to find tool names, then select only the active tools needed for the current step. The table is generated from the full manifest. Check the runtime catalog if this server limits its toolsets.
|
|
60
|
+
Use the table to find tool names, then select only the active tools needed for the current step. The table is generated from the full manifest. Check the runtime catalog if this server limits its toolsets. Rows marked **social server** load from the social server's registration.
|
|
56
61
|
|
|
57
|
-
<!-- generated:select-batches:start —
|
|
62
|
+
<!-- generated:select-batches:start — from tool-manifest.json + scripts/docs-spec.mjs; edit those, then npm run plugin:sync -->
|
|
58
63
|
| Goal | `ToolSearch` query |
|
|
59
64
|
|------|--------------------|
|
|
60
65
|
| First contact / "what's connected?" | `select:mimi_seed_status,mimi_seed_auth_status,mimi_seed_auth_start,mimi_seed_remote_sync_credentials` |
|
|
@@ -91,9 +96,9 @@ Use the table to find tool names, then select only the active tools needed for t
|
|
|
91
96
|
| Google Ads (UAC) | `select:googleads_config_status,googleads_save_config,googleads_list_accessible_customers,googleads_list_campaigns,googleads_get_campaign_report,googleads_get_uac_report` |
|
|
92
97
|
| Search indexing (Search Console / Naver) | `select:gsc_list_sites,gsc_list_sitemaps,gsc_get_sitemap,gsc_submit_sitemap,gsc_inspect_url,gsc_search_analytics,naver_check_page,naver_indexnow_submit` |
|
|
93
98
|
| Competitor apps (App Store public data) | `select:market_search_apps,market_lookup_app,market_list_reviews,market_watch_app,market_save_baseline` |
|
|
94
|
-
| Social posting (Facebook / Instagram / Threads) | `select:facebook_current_config,facebook_save_config,facebook_list_pages,facebook_get_page,facebook_post_photo,facebook_post_multi_photo,instagram_save_config,instagram_get_account,instagram_post_image,instagram_post_carousel,threads_current_config,threads_save_config,threads_refresh_token,threads_get_account,threads_post,threads_post_video,threads_post_carousel` |
|
|
95
|
-
| TikTok Business video publish | `select:tiktok_business_auth_status,tiktok_business_get_account,tiktok_business_get_video_settings,tiktok_business_plan_video_post,tiktok_business_publish_video,tiktok_business_get_publish_status,tiktok_business_list_publish_audits` |
|
|
96
|
-
| Cross-post one announcement to several platforms | `select:
|
|
99
|
+
| Social posting (Facebook / Instagram / Threads) — social server | `select:social_status,facebook_current_config,facebook_save_config,facebook_list_pages,facebook_get_page,facebook_post_photo,facebook_post_multi_photo,instagram_save_config,instagram_get_account,instagram_post_image,instagram_post_carousel,threads_current_config,threads_save_config,threads_refresh_token,threads_get_account,threads_post,threads_post_video,threads_post_carousel` |
|
|
100
|
+
| TikTok Business video publish — social server | `select:social_status,tiktok_business_auth_status,tiktok_business_get_account,tiktok_business_get_video_settings,tiktok_business_plan_video_post,tiktok_business_publish_video,tiktok_business_get_publish_status,tiktok_business_list_publish_audits` |
|
|
101
|
+
| Cross-post one announcement to several platforms — social server | `select:social_status,tiktok_business_plan_video_post,social_publish` |
|
|
97
102
|
| Jenkins credentials + jobs | `select:jenkins_status,jenkins_save_config,jenkins_list_credentials,jenkins_create_credential,jenkins_delete_credential,jenkins_upload_keystore,jenkins_upload_playstore_sa,jenkins_list_jobs,jenkins_get_job_config,jenkins_create_job,jenkins_update_job` |
|
|
98
103
|
| Jenkins build run + track | `select:jenkins_status,jenkins_trigger_build,jenkins_get_queue_item,jenkins_get_build_status` |
|
|
99
104
|
| CI (GitHub/GitLab) | `select:ci_save_config,ci_list_workflows,ci_trigger_build,ci_get_build_status,ci_list_recent_builds,ci_cancel_build` |
|
|
@@ -141,11 +146,12 @@ every credential, which also tells them where to obtain each token
|
|
|
141
146
|
all three Meta platforms in one pass. `mimi-seed auth social` does the same for every posting channel (YouTube,
|
|
142
147
|
Facebook, Instagram, Threads, TikTok), skipping connected ones and reconnecting expiring tokens. It connects YouTube to
|
|
143
148
|
the `youtube` Google profile, so pass `profile: "youtube"` to `youtube_*` tools when `mimi_seed_status` names it.
|
|
149
|
+
The posting tools below are on the **social server**; check its connections with `social_status`.
|
|
144
150
|
|
|
145
151
|
**Posting to several platforms.** When the user wants the same announcement on more than one platform, use
|
|
146
152
|
`social_publish` instead of calling each `*_post_*` tool:
|
|
147
153
|
|
|
148
|
-
1. Call `
|
|
154
|
+
1. Call `social_status` to see which channels are connected (and which Google profile holds YouTube).
|
|
149
155
|
2. For TikTok, first make a plan with `tiktok_business_plan_video_post` and pass its `planId` as `tiktok.planId`.
|
|
150
156
|
3. Call `social_publish` **without** `confirm`. It returns a plan per target, and `ok: false` with `problems` if any
|
|
151
157
|
target cannot post. Fix those (per-platform `text`, images, `youtube.title`, …) and preview again.
|
|
@@ -239,14 +245,25 @@ The server can expose only the domains a project needs — set these in the MCP
|
|
|
239
245
|
|
|
240
246
|
| Variable | Meaning |
|
|
241
247
|
|----------|---------|
|
|
242
|
-
| `MIMI_SEED_TOOLSETS` | Comma-separated domain keys from `mimi-seed://tools/catalog` (`playstore`, `appstore`, `firebase`, …) and/or groups
|
|
248
|
+
| `MIMI_SEED_TOOLSETS` | Comma-separated domain keys from `mimi-seed://tools/catalog` (`playstore`, `appstore`, `firebase`, …) and/or the groups listed below the table. Unset = everything (default). Each server filters only its own domains — on the social server use `facebook`, `instagram`, `threads`, `tiktok`, `crosspost`. |
|
|
243
249
|
| `MIMI_SEED_TOOLSETS_EXCLUDE` | Same syntax; removed from the include set. |
|
|
244
250
|
| `MIMI_SEED_TOOLS` | Optional exact tool names for a launcher to supply at startup. Names must be available under the toolset settings. The server registers only the supplied names, including any auth or checks tools explicitly selected. |
|
|
245
251
|
|
|
252
|
+
Toolset groups (a domain can sit in more than one):
|
|
253
|
+
|
|
254
|
+
<!-- generated:toolset-groups:start — from tool-manifest.json + scripts/docs-spec.mjs; edit those, then npm run plugin:sync -->
|
|
255
|
+
- `store` — playstore · appstore · onestore · android · ai · market
|
|
256
|
+
- `google` — firebase · admob · iam · billing · bigquery · ga4 · gsc · googleads · drive
|
|
257
|
+
- `search` — gsc · naver
|
|
258
|
+
- `media` — video · youtube
|
|
259
|
+
- `build` — ci · jenkins · android
|
|
260
|
+
- `all` — every domain this server serves
|
|
261
|
+
<!-- generated:toolset-groups:end -->
|
|
262
|
+
|
|
246
263
|
A few tools also belong to a second toolset: `youtube_upload_video` / `youtube_get_video_status` /
|
|
247
264
|
`youtube_update_video_privacy` (`video` domain) are also in `youtube`, and `jenkins_upload_playstore_sa` (`android`)
|
|
248
265
|
is also in `jenkins` — a tool is on when any of its toolsets is included and off when any is excluded.
|
|
249
|
-
`auth` and `checks` are always on. Unknown keys are ignored with a warning on stderr (and if no include key is
|
|
266
|
+
`auth` and `checks` (and `social` on the social server) are always on. Unknown keys are ignored with a warning on stderr (and if no include key is
|
|
250
267
|
valid, everything stays on). `mimi_seed_status` prints the active toolsets on its second line — if a tool you
|
|
251
268
|
expect is missing from the deferred list, check that line before concluding the tool doesn't exist.
|
|
252
269
|
|
|
@@ -23,7 +23,7 @@ export declare function checkAppStoreSubmission(appId: string, opts?: {
|
|
|
23
23
|
canSubmit: boolean;
|
|
24
24
|
blockingCodes: string[];
|
|
25
25
|
risks: {
|
|
26
|
-
level: "
|
|
26
|
+
level: "warning" | "info" | "blocker";
|
|
27
27
|
code: string;
|
|
28
28
|
title: string;
|
|
29
29
|
detail: string;
|
|
@@ -34,14 +34,14 @@ export declare function checkAppStoreSubmission(appId: string, opts?: {
|
|
|
34
34
|
status: "selected";
|
|
35
35
|
version: import("../appstore/release-target.js").AppStoreVersionCandidate;
|
|
36
36
|
buildRisk: {
|
|
37
|
-
level: "
|
|
37
|
+
level: "warning" | "info" | "blocker";
|
|
38
38
|
code: string;
|
|
39
39
|
title: string;
|
|
40
40
|
detail: string;
|
|
41
41
|
fixUrl?: string | undefined;
|
|
42
42
|
} | undefined;
|
|
43
43
|
versionRisks: {
|
|
44
|
-
level: "
|
|
44
|
+
level: "warning" | "info" | "blocker";
|
|
45
45
|
code: string;
|
|
46
46
|
title: string;
|
|
47
47
|
detail: string;
|
|
@@ -65,7 +65,7 @@ export declare function checkAppStoreSubmission(appId: string, opts?: {
|
|
|
65
65
|
canSubmit: boolean;
|
|
66
66
|
blockingCodes: string[];
|
|
67
67
|
risks: {
|
|
68
|
-
level: "
|
|
68
|
+
level: "warning" | "info" | "blocker";
|
|
69
69
|
code: string;
|
|
70
70
|
title: string;
|
|
71
71
|
detail: string;
|
package/dist/checks/plan.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export declare function buildPlayStoreReleasePlan(opts: {
|
|
|
34
34
|
canSubmit: boolean;
|
|
35
35
|
blockingCodes: string[];
|
|
36
36
|
risks: {
|
|
37
|
-
level: "
|
|
37
|
+
level: "warning" | "info" | "blocker";
|
|
38
38
|
code: string;
|
|
39
39
|
title: string;
|
|
40
40
|
detail: string;
|
|
@@ -67,7 +67,7 @@ export declare function buildAppStoreReleasePlan(opts: {
|
|
|
67
67
|
canSubmit: boolean;
|
|
68
68
|
blockingCodes: string[];
|
|
69
69
|
risks: {
|
|
70
|
-
level: "
|
|
70
|
+
level: "warning" | "info" | "blocker";
|
|
71
71
|
code: string;
|
|
72
72
|
title: string;
|
|
73
73
|
detail: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const submissionRiskSchema: z.ZodObject<{
|
|
3
3
|
level: z.ZodEnum<{
|
|
4
|
+
warning: "warning";
|
|
4
5
|
info: "info";
|
|
5
6
|
blocker: "blocker";
|
|
6
|
-
warning: "warning";
|
|
7
7
|
}>;
|
|
8
8
|
code: z.ZodString;
|
|
9
9
|
title: z.ZodString;
|
|
@@ -55,9 +55,9 @@ export declare const releaseReadinessShape: {
|
|
|
55
55
|
blockingCodes: z.ZodArray<z.ZodString>;
|
|
56
56
|
risks: z.ZodArray<z.ZodObject<{
|
|
57
57
|
level: z.ZodEnum<{
|
|
58
|
+
warning: "warning";
|
|
58
59
|
info: "info";
|
|
59
60
|
blocker: "blocker";
|
|
60
|
-
warning: "warning";
|
|
61
61
|
}>;
|
|
62
62
|
code: z.ZodString;
|
|
63
63
|
title: z.ZodString;
|
|
@@ -93,7 +93,7 @@ export declare function releaseReadinessResult(text: string, readiness: ReleaseR
|
|
|
93
93
|
canSubmit: boolean;
|
|
94
94
|
blockingCodes: string[];
|
|
95
95
|
risks: {
|
|
96
|
-
level: "
|
|
96
|
+
level: "warning" | "info" | "blocker";
|
|
97
97
|
code: string;
|
|
98
98
|
title: string;
|
|
99
99
|
detail: string;
|
package/dist/checks/risks.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare function checkPlayStoreRisks(auth: OAuth2Client, packageName: str
|
|
|
27
27
|
canSubmit: boolean;
|
|
28
28
|
blockingCodes: string[];
|
|
29
29
|
risks: {
|
|
30
|
-
level: "
|
|
30
|
+
level: "warning" | "info" | "blocker";
|
|
31
31
|
code: string;
|
|
32
32
|
title: string;
|
|
33
33
|
detail: string;
|
package/dist/gsc/tools.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export declare function searchAnalytics(auth: GscAuth, siteUrl: string, params:
|
|
|
75
75
|
startDate: string;
|
|
76
76
|
endDate: string;
|
|
77
77
|
};
|
|
78
|
-
type: "
|
|
78
|
+
type: "image" | "video" | "web" | "news" | "discover" | "googleNews";
|
|
79
79
|
dimensions: string[];
|
|
80
80
|
} | {
|
|
81
81
|
rows?: searchconsole_v1.Schema$ApiDataRow[] | undefined;
|
|
@@ -91,7 +91,7 @@ export declare function searchAnalytics(auth: GscAuth, siteUrl: string, params:
|
|
|
91
91
|
startDate: string;
|
|
92
92
|
endDate: string;
|
|
93
93
|
};
|
|
94
|
-
type: "
|
|
94
|
+
type: "image" | "video" | "web" | "news" | "discover" | "googleNews";
|
|
95
95
|
dimensions: string[];
|
|
96
96
|
} | {
|
|
97
97
|
summary: {
|
|
@@ -121,7 +121,7 @@ export declare function searchAnalytics(auth: GscAuth, siteUrl: string, params:
|
|
|
121
121
|
startDate: string;
|
|
122
122
|
endDate: string;
|
|
123
123
|
};
|
|
124
|
-
type: "
|
|
124
|
+
type: "image" | "video" | "web" | "news" | "discover" | "googleNews";
|
|
125
125
|
dimensions: string[];
|
|
126
126
|
}>;
|
|
127
127
|
export interface SearchAnalyticsRow {
|
package/dist/i18n/manifest-en.js
CHANGED
|
@@ -52,6 +52,9 @@ export const MANIFEST_TEXT_EN = {
|
|
|
52
52
|
'소셜 통합 게시': 'Cross-platform social publishing',
|
|
53
53
|
'플랫폼별 연결 (mimi-seed auth social)': 'Each platform connected (mimi-seed auth social)',
|
|
54
54
|
'여러 소셜 플랫폼에 한 번에 게시·중복 게시 방지': 'Publish one post to several social platforms; duplicate-post protection',
|
|
55
|
+
'소셜 연결/진단': 'Social connections and diagnostics',
|
|
56
|
+
'없음 (소셜 서버의 상태 도구)': "None (the social server's status tool)",
|
|
57
|
+
'Facebook·Instagram·Threads·TikTok·YouTube 게시 연결 상태 스캔(social_status)': 'Scan the Facebook, Instagram, Threads, TikTok, and YouTube posting connections (social_status)',
|
|
55
58
|
'영상 제작': 'Video production',
|
|
56
59
|
'기능별 API 키 + Google OAuth(YouTube 게시) + FFmpeg': 'Per-feature API keys + Google OAuth (YouTube publishing) + FFmpeg',
|
|
57
60
|
'story 스토리보드·영상 리서치/제작·YouTube 업로드와 공개 상태 관리': 'story storyboards, video research/production, YouTube upload and privacy management',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** auth 도구 · 파라미터 설명의 영어 — 키는 한국어 원문 (lib/tool-text.ts). 원문을 고치면 키도 고친다. */
|
|
2
2
|
declare const _default: {
|
|
3
|
-
'\uCD08\uAE30 \uC124\uC815, \uC804\uCCB4 \uC5F0\uACB0 \uD655\uC778 \uB610\uB294 \uC778\uC99D \uBB38\uC81C \uC9C4\uB2E8\uC5D0 \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \
|
|
3
|
+
'\uCD08\uAE30 \uC124\uC815, \uC804\uCCB4 \uC5F0\uACB0 \uD655\uC778 \uB610\uB294 \uC778\uC99D \uBB38\uC81C \uC9C4\uB2E8\uC5D0 \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uC571 \uC6B4\uC601 \uC11C\uBE44\uC2A4(Google OAuth / Play SA / App Store / Jenkins / CI / Google Ads / BigQuery) \uC124\uC815 \uC0C1\uD0DC\uB97C \uD55C \uBC88\uC5D0 \uC2A4\uCE94\uD574 \u2705 / \u274C \uD2B8\uB798\uD53D \uB77C\uC774\uD2B8 \uB9AC\uD3EC\uD2B8\uC640 \uBC88\uD638 \uB9E4\uAE34 \uB2E4\uC74C \uB2E8\uACC4\uB97C \uBC18\uD658\uD569\uB2C8\uB2E4. \uBBF8\uC124\uC815 \uC11C\uBE44\uC2A4\uB9C8\uB2E4 \uC5B4\uB5A4 \uB3C4\uAD6C\uB97C \uD638\uCD9C\uD558\uBA74 \uB418\uB294\uC9C0 \uAD6C\uCCB4\uC801\uC73C\uB85C \uC54C\uB824\uC90D\uB2C8\uB2E4.': string;
|
|
4
4
|
'Google OAuth \uB85C\uADF8\uC778 \uB9C1\uD06C\uB97C \uBC1C\uAE09\uD558\uACE0 \uBC31\uADF8\uB77C\uC6B4\uB4DC \uCF5C\uBC31 \uC11C\uBC84\uB97C \uC2DC\uC791. \uC751\uB2F5\uC5D0 \uD3EC\uD568\uB41C URL\uC744 \uBE0C\uB77C\uC6B0\uC800\uC5D0\uC11C \uC5F4\uACE0 \uC2B9\uC778\uD558\uBA74 localhost:9876\uC73C\uB85C \uC790\uB3D9 \uCF5C\uBC31 \u2192 \uD1A0\uD070\uC774 ~/.mimi-seed/tokens.json\uC5D0 \uC800\uC7A5\uB428. \uC774\uD6C4 playstore_*, firebase_*, admob_* \uB4F1 \uB2E4\uB978 MCP \uB3C4\uAD6C \uBC14\uB85C \uD638\uCD9C \uAC00\uB2A5. domains \uB85C \uD544\uC694\uD55C \uAD8C\uD55C \uB3C4\uBA54\uC778\uB9CC \uACE8\uB77C \uC694\uCCAD \uAC00\uB2A5 (\uBBF8\uC9C0\uC815 \uC2DC \uC804\uCCB4). \uC7AC\uB85C\uADF8\uC778 \uC2DC \uAE30\uC874 \uBD80\uC5EC \uAD8C\uD55C\uC740 \uC720\uC9C0\uB418\uACE0 \uC0C8 \uAD8C\uD55C\uB9CC \uCD94\uAC00\uB428(incremental). \uD1A0\uD070 \uB9CC\uB8CC(invalid_rapt) / \uC7AC\uC778\uC99D \uD544\uC694 \uC2DC \uC0AC\uC6A9. 10\uBD84 \uB0B4 \uC644\uB8CC\uD574\uC57C \uD568.': string;
|
|
5
5
|
'\uACC4\uC815/\uCC44\uB110\uBCC4 Google \uB85C\uADF8\uC778 \uD504\uB85C\uD544. \uC0DD\uB7B5\uD558\uBA74 \uAE30\uC874 \uAE30\uBCF8 \uB85C\uADF8\uC778.': string;
|
|
6
6
|
'\uC774 \uCC44\uB110\uB85C \uB85C\uADF8\uC778\uD588\uB294\uC9C0 \uAC80\uC99D\uD55C \uB4A4 \uC800\uC7A5. profile \uD544\uC218. Google \uB85C\uADF8\uC778\uC5D0\uC11C \uD574\uB2F9 \uAC1C\uC778/\uBE0C\uB79C\uB4DC \uCC44\uB110\uC744 \uC120\uD0DD\uD558\uC138\uC694.': string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** auth 도구 · 파라미터 설명의 영어 — 키는 한국어 원문 (lib/tool-text.ts). 원문을 고치면 키도 고친다. */
|
|
2
2
|
export default {
|
|
3
|
-
'초기 설정, 전체 연결 확인 또는 인증 문제 진단에 사용합니다.
|
|
3
|
+
'초기 설정, 전체 연결 확인 또는 인증 문제 진단에 사용합니다. 앱 운영 서비스(Google OAuth / Play SA / App Store / Jenkins / CI / Google Ads / BigQuery) 설정 상태를 한 번에 스캔해 ✅ / ❌ 트래픽 라이트 리포트와 번호 매긴 다음 단계를 반환합니다. 미설정 서비스마다 어떤 도구를 호출하면 되는지 구체적으로 알려줍니다.': 'Use for initial setup, checking all connections, or diagnosing authentication problems. Scans the configuration status of the app-operations services (Google OAuth / Play SA / App Store / Jenkins / CI / Google Ads / BigQuery) at once and returns a ✅ / ❌ traffic-light report with numbered next steps. For each unconfigured service, it states specifically which tool to call.',
|
|
4
4
|
'Google OAuth 로그인 링크를 발급하고 백그라운드 콜백 서버를 시작. 응답에 포함된 URL을 브라우저에서 열고 승인하면 localhost:9876으로 자동 콜백 → 토큰이 ~/.mimi-seed/tokens.json에 저장됨. 이후 playstore_*, firebase_*, admob_* 등 다른 MCP 도구 바로 호출 가능. domains 로 필요한 권한 도메인만 골라 요청 가능 (미지정 시 전체). 재로그인 시 기존 부여 권한은 유지되고 새 권한만 추가됨(incremental). 토큰 만료(invalid_rapt) / 재인증 필요 시 사용. 10분 내 완료해야 함.': 'Issues a Google OAuth sign-in link and starts a background callback server. Open the URL in the response in a browser and approve; it calls back to localhost:9876 automatically → the token is saved to ~/.mimi-seed/tokens.json. After that, other MCP tools such as playstore_*, firebase_*, admob_* can be called right away. Use domains to request only the permission domains you need (all when not specified). On re-login, previously granted permissions are kept and only the new ones are added (incremental). Use it when the token has expired (invalid_rapt) or re-authentication is needed. Must be completed within 10 minutes.',
|
|
5
5
|
'계정/채널별 Google 로그인 프로필. 생략하면 기존 기본 로그인.': 'Google sign-in profile per account/channel. When omitted, the existing default sign-in.',
|
|
6
6
|
'이 채널로 로그인했는지 검증한 뒤 저장. profile 필수. Google 로그인에서 해당 개인/브랜드 채널을 선택하세요.': 'Verifies that the sign-in was with this channel before saving. profile is required. Select that personal/brand channel during Google sign-in.',
|
|
@@ -21,6 +21,7 @@ import jenkins from './jenkins.js';
|
|
|
21
21
|
import playstore from './playstore.js';
|
|
22
22
|
import onestore from './onestore.js';
|
|
23
23
|
import crosspost from './crosspost.js';
|
|
24
|
+
import social from './social.js';
|
|
24
25
|
import threads from './threads.js';
|
|
25
26
|
import tiktok from './tiktok.js';
|
|
26
27
|
import video from './video.js';
|
|
@@ -55,6 +56,7 @@ export const TOOL_TEXT_EN_SOURCES = {
|
|
|
55
56
|
playstore,
|
|
56
57
|
onestore,
|
|
57
58
|
crosspost,
|
|
59
|
+
social,
|
|
58
60
|
threads,
|
|
59
61
|
tiktok,
|
|
60
62
|
video,
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** social 도구 · 파라미터 설명의 영어 — 키는 한국어 원문 (lib/tool-text.ts). 원문을 고치면 키도 고친다. */
|
|
2
|
+
declare const _default: {
|
|
3
|
+
'\uC18C\uC15C \uAC8C\uC2DC \uCD08\uAE30 \uC124\uC815, \uC5F0\uACB0 \uD655\uC778 \uB610\uB294 \uC778\uC99D \uBB38\uC81C \uC9C4\uB2E8\uC5D0 \uC0AC\uC6A9\uD569\uB2C8\uB2E4. Facebook / Instagram / Threads / TikTok Business / YouTube(\uD1B5\uD569 \uAC8C\uC2DC \uB300\uC0C1) \uC5F0\uACB0 \uC0C1\uD0DC\uB97C \uD55C \uBC88\uC5D0 \uC2A4\uCE94\uD574 \u2705 / \u274C \uB9AC\uD3EC\uD2B8\uC640 \uBBF8\uC124\uC815 \uC11C\uBE44\uC2A4\uB9C8\uB2E4 \uC2E4\uD589\uD560 \uBA85\uB839\uC744 \uBC18\uD658\uD569\uB2C8\uB2E4.': string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** social 도구 · 파라미터 설명의 영어 — 키는 한국어 원문 (lib/tool-text.ts). 원문을 고치면 키도 고친다. */
|
|
2
|
+
export default {
|
|
3
|
+
'소셜 게시 초기 설정, 연결 확인 또는 인증 문제 진단에 사용합니다. Facebook / Instagram / Threads / TikTok Business / YouTube(통합 게시 대상) 연결 상태를 한 번에 스캔해 ✅ / ❌ 리포트와 미설정 서비스마다 실행할 명령을 반환합니다.': 'Use for social-posting setup, checking connections, or diagnosing authentication problems. Scans the Facebook / Instagram / Threads / TikTok Business / YouTube (cross-post target) connections at once and returns a ✅ / ❌ report with the command to run for each unconfigured service.',
|
|
4
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -8,6 +8,8 @@ const { version } = JSON.parse(readPackageRootText('package.json'));
|
|
|
8
8
|
// 추가 인자(`mimi-seed-auth` 등)는 여기 argv로 흘러들어온다. 이전엔 MCP 서버가
|
|
9
9
|
// stdin을 기다리며 영구 hang 됐다 — 이제 sub-CLI로 위임한다.
|
|
10
10
|
const SUBCOMMANDS = {
|
|
11
|
+
// 소셜 게시 MCP 서버 — 메인 서버와 따로 등록한다 (social-index.ts).
|
|
12
|
+
'mimi-seed-social-mcp': () => import('./social-index.js'),
|
|
11
13
|
'mimi-seed-auth': () => import('./auth/cli.js'),
|
|
12
14
|
'mimi-seed-playstore-auth': () => import('./auth/playstore-setup-cli.js'),
|
|
13
15
|
'mimi-seed-onestore-auth': () => import('./auth/onestore-setup-cli.js'),
|
package/dist/jenkins/builds.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare function triggerBuild(cfg: JenkinsConfig, input: TriggerInput): P
|
|
|
39
39
|
queue_id?: number | undefined;
|
|
40
40
|
queue_url?: string | undefined;
|
|
41
41
|
request_id: string;
|
|
42
|
-
state: "pending" | "
|
|
42
|
+
state: "pending" | "unknown" | "queued" | "rejected";
|
|
43
43
|
replayed: boolean;
|
|
44
44
|
} | {
|
|
45
45
|
persisted: boolean;
|
|
@@ -48,7 +48,7 @@ export declare function triggerBuild(cfg: JenkinsConfig, input: TriggerInput): P
|
|
|
48
48
|
queue_id?: number | undefined;
|
|
49
49
|
queue_url?: string | undefined;
|
|
50
50
|
request_id: string;
|
|
51
|
-
state: "pending" | "
|
|
51
|
+
state: "pending" | "unknown" | "queued" | "rejected";
|
|
52
52
|
replayed: boolean;
|
|
53
53
|
}>;
|
|
54
54
|
export declare function getQueueItem(cfg: JenkinsConfig, queueId: number): Promise<{
|
|
@@ -38,7 +38,16 @@ export type DomainEntry = {
|
|
|
38
38
|
approval?: string[];
|
|
39
39
|
/** 같은 인자로 반복 호출해도 추가 효과가 없는 **쓰기** 도구. 읽기 도구는 자동으로 idempotent. */
|
|
40
40
|
idempotent?: string[];
|
|
41
|
+
/** 이 도메인을 등록하는 MCP 서버. 생략 = `main`(mimi-seed-mcp). `social` 은 mimi-seed-social-mcp 가 등록한다. */
|
|
42
|
+
server?: McpServerId;
|
|
41
43
|
};
|
|
44
|
+
/**
|
|
45
|
+
* 한 패키지가 띄우는 MCP 서버들. `main` 은 앱 운영(스토어 · 클라우드 · CI · 영상),
|
|
46
|
+
* `social` 은 Facebook · Instagram · Threads · TikTok · 통합 게시 — 쓰는 사람만 따로 등록한다.
|
|
47
|
+
*/
|
|
48
|
+
export declare const MCP_SERVER_IDS: readonly ["main", "social"];
|
|
49
|
+
export type McpServerId = (typeof MCP_SERVER_IDS)[number];
|
|
50
|
+
export declare const domainServer: (entry: DomainEntry) => McpServerId;
|
|
42
51
|
/** tool-manifest.json 의 형태 — 도구 인벤토리 + 도메인 메타데이터의 SSOT. */
|
|
43
52
|
export type ToolManifest = {
|
|
44
53
|
total: number;
|
|
@@ -60,3 +69,9 @@ export type ToolManifest = {
|
|
|
60
69
|
};
|
|
61
70
|
/** tool-manifest.json 을 읽고 최소 형태를 검증한다. 손상/형태이상이면 throw. */
|
|
62
71
|
export declare function readToolManifest(): ToolManifest;
|
|
72
|
+
/**
|
|
73
|
+
* 한 서버가 보는 manifest — 그 서버의 도메인만 남기고, toolset 그룹 · alwaysOn · alsoInToolsets · 폐기 별칭도
|
|
74
|
+
* 그 도메인으로 좁힌다. 레지스트라 · toolset 필터 · 카탈로그 · 메뉴 · status 는 이 뷰만 받으므로
|
|
75
|
+
* 서버마다 따로 알 필요가 없다. 원본 `total` 은 패키지 전체 수이고, 뷰의 `total` 은 그 서버의 수다.
|
|
76
|
+
*/
|
|
77
|
+
export declare function manifestForServer(manifest: ToolManifest, id: McpServerId): ToolManifest;
|
package/dist/lib/package-root.js
CHANGED
|
@@ -9,6 +9,12 @@ import { readFileSync } from 'node:fs';
|
|
|
9
9
|
export function readPackageRootText(relativePath) {
|
|
10
10
|
return readFileSync(new URL(`../../${relativePath}`, import.meta.url), 'utf8');
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* 한 패키지가 띄우는 MCP 서버들. `main` 은 앱 운영(스토어 · 클라우드 · CI · 영상),
|
|
14
|
+
* `social` 은 Facebook · Instagram · Threads · TikTok · 통합 게시 — 쓰는 사람만 따로 등록한다.
|
|
15
|
+
*/
|
|
16
|
+
export const MCP_SERVER_IDS = ['main', 'social'];
|
|
17
|
+
export const domainServer = (entry) => entry.server ?? 'main';
|
|
12
18
|
/** tool-manifest.json 을 읽고 최소 형태를 검증한다. 손상/형태이상이면 throw. */
|
|
13
19
|
export function readToolManifest() {
|
|
14
20
|
const manifest = JSON.parse(readPackageRootText('tool-manifest.json'));
|
|
@@ -19,3 +25,27 @@ export function readToolManifest() {
|
|
|
19
25
|
}
|
|
20
26
|
return manifest;
|
|
21
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* 한 서버가 보는 manifest — 그 서버의 도메인만 남기고, toolset 그룹 · alwaysOn · alsoInToolsets · 폐기 별칭도
|
|
30
|
+
* 그 도메인으로 좁힌다. 레지스트라 · toolset 필터 · 카탈로그 · 메뉴 · status 는 이 뷰만 받으므로
|
|
31
|
+
* 서버마다 따로 알 필요가 없다. 원본 `total` 은 패키지 전체 수이고, 뷰의 `total` 은 그 서버의 수다.
|
|
32
|
+
*/
|
|
33
|
+
export function manifestForServer(manifest, id) {
|
|
34
|
+
const domains = Object.fromEntries(Object.entries(manifest.domains).filter(([, entry]) => domainServer(entry) === id));
|
|
35
|
+
const tools = new Set(Object.values(domains).flatMap((d) => d.tools));
|
|
36
|
+
const toolsets = Object.fromEntries(Object.entries(manifest.toolsets ?? {})
|
|
37
|
+
.map(([group, list]) => [group, list.filter((d) => domains[d])])
|
|
38
|
+
.filter(([, list]) => list.length > 0));
|
|
39
|
+
const alsoInToolsets = Object.fromEntries(Object.entries(manifest.alsoInToolsets ?? {})
|
|
40
|
+
.filter(([tool]) => tools.has(tool))
|
|
41
|
+
.map(([tool, list]) => [tool, list.filter((d) => domains[d])]));
|
|
42
|
+
return {
|
|
43
|
+
...manifest,
|
|
44
|
+
total: tools.size,
|
|
45
|
+
domains,
|
|
46
|
+
toolsets,
|
|
47
|
+
alsoInToolsets,
|
|
48
|
+
alwaysOn: (manifest.alwaysOn ?? []).filter((d) => domains[d]),
|
|
49
|
+
deprecated: Object.fromEntries(Object.entries(manifest.deprecated ?? {}).filter(([alias]) => tools.has(alias))),
|
|
50
|
+
};
|
|
51
|
+
}
|
package/dist/lib/tool-menu.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ToolManifest } from './package-root.js';
|
|
2
2
|
import type { ToolsetSelection } from './toolsets.js';
|
|
3
3
|
export declare const TOOL_MENU_URI = "mimi-seed://tools/menu";
|
|
4
4
|
export declare const TOOL_SELECTION_URI = "mimi-seed://tools/menu/{areas*}";
|
|
@@ -9,7 +9,14 @@ export interface ToolMenuArea {
|
|
|
9
9
|
tools: string[];
|
|
10
10
|
}
|
|
11
11
|
export declare function buildToolMenu(manifest: ToolManifest, selection: ToolsetSelection, lang: MenuLanguage): ToolMenuArea[];
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* 이 매니페스트 뷰에 소셜 서버 도메인이 하나도 없으면(= 메인 서버) 메뉴 끝에서 소셜 서버를 가리킨다.
|
|
14
|
+
* 메인 서버만 등록한 사용자는 게시 도구를 찾다 메뉴에서 막힌다 — 어디 있는지 메뉴가 말해야 한다.
|
|
15
|
+
*/
|
|
16
|
+
export declare function lacksSocialServer(manifest: ToolManifest): boolean;
|
|
17
|
+
export declare function formatToolMenu(menu: readonly ToolMenuArea[], lang: MenuLanguage, options?: {
|
|
18
|
+
pointToSocialServer?: boolean;
|
|
19
|
+
}): string;
|
|
13
20
|
export declare function selectToolMenu(menu: readonly ToolMenuArea[], input: string): {
|
|
14
21
|
areas: {
|
|
15
22
|
id: string;
|
package/dist/lib/tool-menu.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { domainServer } from './package-root.js';
|
|
1
2
|
export const TOOL_MENU_URI = 'mimi-seed://tools/menu';
|
|
2
3
|
export const TOOL_SELECTION_URI = `${TOOL_MENU_URI}/{areas*}`;
|
|
3
4
|
const menuOrder = [
|
|
4
5
|
'ga4', 'bigquery', 'playstore', 'appstore', 'onestore', 'video', 'youtube', 'firebase', 'googleads',
|
|
5
|
-
'admob', 'drive', 'gsc', 'naver', 'market', 'instagram', 'threads', 'facebook', 'tiktok', 'crosspost',
|
|
6
|
+
'admob', 'drive', 'gsc', 'naver', 'market', 'instagram', 'threads', 'facebook', 'tiktok', 'crosspost', 'social',
|
|
6
7
|
'ci', 'jenkins', 'checks', 'android', 'iam', 'billing', 'ai', 'auth',
|
|
7
8
|
];
|
|
8
9
|
const labels = {
|
|
@@ -15,6 +16,7 @@ const labels = {
|
|
|
15
16
|
naver: { ko: '네이버 서치어드바이저', en: 'Naver Search Advisor' },
|
|
16
17
|
market: { ko: 'Mobile Store · 경쟁 앱 관찰 (App Store 공개 데이터)', en: 'Mobile Store · Competitor apps (App Store public data)' },
|
|
17
18
|
crosspost: { ko: '소셜 통합 게시', en: 'Cross-post to several social platforms' },
|
|
19
|
+
social: { ko: '소셜 연결·진단', en: 'Social connections and diagnostics' },
|
|
18
20
|
checks: { ko: '출시 상태·제출 전 점검', en: 'Release status and submission checks' },
|
|
19
21
|
android: { ko: 'Android 서명', en: 'Android signing' },
|
|
20
22
|
ai: { ko: 'AI 초안 · 릴리스 노트 / 리뷰 답변', en: 'AI drafts · Release notes and review replies' },
|
|
@@ -43,11 +45,25 @@ export function buildToolMenu(manifest, selection, lang) {
|
|
|
43
45
|
return tools && domain ? [{ id, label: labels[id]?.[lang] ?? domain.label, tools }] : [];
|
|
44
46
|
});
|
|
45
47
|
}
|
|
46
|
-
|
|
48
|
+
/**
|
|
49
|
+
* 이 매니페스트 뷰에 소셜 서버 도메인이 하나도 없으면(= 메인 서버) 메뉴 끝에서 소셜 서버를 가리킨다.
|
|
50
|
+
* 메인 서버만 등록한 사용자는 게시 도구를 찾다 메뉴에서 막힌다 — 어디 있는지 메뉴가 말해야 한다.
|
|
51
|
+
*/
|
|
52
|
+
export function lacksSocialServer(manifest) {
|
|
53
|
+
return !Object.values(manifest.domains).some((domain) => domainServer(domain) === 'social');
|
|
54
|
+
}
|
|
55
|
+
const socialServerNote = {
|
|
56
|
+
ko: 'Facebook · Instagram · Threads · TikTok 게시는 별도 MCP 서버(mimi-seed-social)에 있습니다. 등록: claude mcp add mimi-seed-social -s user -- npx -y @yoonion/mimi-seed-mcp@latest mimi-seed-social-mcp',
|
|
57
|
+
en: 'Facebook · Instagram · Threads · TikTok posting lives on a separate MCP server (mimi-seed-social). Register it with: claude mcp add mimi-seed-social -s user -- npx -y @yoonion/mimi-seed-mcp@latest mimi-seed-social-mcp',
|
|
58
|
+
};
|
|
59
|
+
export function formatToolMenu(menu, lang, options = {}) {
|
|
47
60
|
const question = lang === 'ko'
|
|
48
61
|
? '이번에 사용할 서비스를 골라주세요. 여러 개를 선택할 수 있습니다.'
|
|
49
62
|
: 'Which services would you like to use? You can choose more than one.';
|
|
50
|
-
|
|
63
|
+
const lines = [question, '', ...menu.map(({ id, label }, index) => `${index + 1}. ${label} (${id})`)];
|
|
64
|
+
if (options.pointToSocialServer)
|
|
65
|
+
lines.push('', socialServerNote[lang]);
|
|
66
|
+
return lines.join('\n');
|
|
51
67
|
}
|
|
52
68
|
export function selectToolMenu(menu, input) {
|
|
53
69
|
const entries = input.split(',').map((value) => value.trim().toLowerCase());
|
|
@@ -25,7 +25,7 @@ export declare function submitRelease(auth: OAuth2Client | JWT, packageName: str
|
|
|
25
25
|
track: string;
|
|
26
26
|
versionCode: string;
|
|
27
27
|
previousStatus: string | null | undefined;
|
|
28
|
-
newStatus: "completed" | "
|
|
28
|
+
newStatus: "completed" | "inProgress" | "draft" | "halted";
|
|
29
29
|
committed: boolean;
|
|
30
30
|
result: import("@googleapis/androidpublisher").androidpublisher_v3.Schema$Track;
|
|
31
31
|
}>;
|
|
@@ -47,7 +47,7 @@ export declare function promoteRelease(auth: OAuth2Client | JWT, packageName: st
|
|
|
47
47
|
fromTrack: string;
|
|
48
48
|
toTrack: string;
|
|
49
49
|
versionCode: string;
|
|
50
|
-
newStatus: "completed" | "
|
|
50
|
+
newStatus: "completed" | "inProgress" | "draft" | "halted";
|
|
51
51
|
userFraction: number | undefined;
|
|
52
52
|
releaseName: string | null | undefined;
|
|
53
53
|
releaseNotesLanguages: (string | null | undefined)[];
|
package/dist/prompts.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { androidPackageName } from './lib/package-name.js';
|
|
3
3
|
import { catalog, resolveLang } from '#core/lang.js';
|
|
4
|
-
import { buildToolMenu, formatToolMenu } from './lib/tool-menu.js';
|
|
4
|
+
import { buildToolMenu, formatToolMenu, lacksSocialServer } from './lib/tool-menu.js';
|
|
5
5
|
const stores = [
|
|
6
6
|
{
|
|
7
7
|
target: 'packageName',
|
|
@@ -163,7 +163,7 @@ export function registerPrompts(server, toolsets, manifest) {
|
|
|
163
163
|
const lang = resolveLang();
|
|
164
164
|
return promptMessage([
|
|
165
165
|
'Show the following service menu and wait for the user to choose. Accept multiple numbers, service names, or a free-form description of the work.',
|
|
166
|
-
formatToolMenu(buildToolMenu(manifest, toolsets, lang), lang),
|
|
166
|
+
formatToolMenu(buildToolMenu(manifest, toolsets, lang), lang, { pointToSocialServer: lacksSocialServer(manifest) }),
|
|
167
167
|
'Map the reply to the service IDs in parentheses. If the intent is unclear, ask a short follow-up before loading tools.',
|
|
168
168
|
'Read mimi-seed://tools/menu/{areas} with the selected comma-separated IDs. Load only the tools needed for the stated task using host discovery. Keep all publish, write, and destructive confirmations in effect.',
|
|
169
169
|
]);
|