@yoonion/mimi-seed-mcp 0.21.7 → 0.22.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 +2 -1
- package/assets/agent-guide.md +1 -0
- package/dist/auth/drive-auth.d.ts +26 -0
- package/dist/auth/drive-auth.js +91 -0
- package/dist/auth/drive-setup-cli.d.ts +2 -0
- package/dist/auth/drive-setup-cli.js +157 -0
- package/dist/auth/scopes.d.ts +7 -0
- package/dist/auth/scopes.js +10 -0
- package/dist/drive/tools.d.ts +122 -0
- package/dist/drive/tools.js +281 -0
- package/dist/index.js +23 -9
- package/dist/jenkins/builds.d.ts +5 -13
- package/dist/lib/googleapis-lite.d.ts +2 -0
- package/dist/lib/googleapis-lite.js +3 -0
- package/dist/registers/ci.js +1 -1
- package/dist/registers/drive.d.ts +2 -0
- package/dist/registers/drive.js +108 -0
- package/dist/registers/video.js +4 -1
- package/dist/server.js +2 -0
- package/dist/video/research.d.ts +12 -54
- package/dist/video/schemas.d.ts +87 -490
- package/dist/video/schemas.js +3 -3
- package/dist/video/youtube-publish.d.ts +14 -0
- package/dist/video/youtube-publish.js +6 -0
- package/dist/youtube/tools.d.ts +2 -0
- package/dist/youtube/tools.js +2 -0
- package/package.json +3 -2
- package/tool-manifest.json +37 -3
|
@@ -10,6 +10,8 @@ export interface UploadYouTubeVideoInput {
|
|
|
10
10
|
description?: string;
|
|
11
11
|
tags?: string[];
|
|
12
12
|
categoryId?: string;
|
|
13
|
+
defaultLanguage?: string;
|
|
14
|
+
defaultAudioLanguage?: string;
|
|
13
15
|
privacyStatus?: YouTubePrivacyStatus;
|
|
14
16
|
madeForKids?: boolean;
|
|
15
17
|
containsSyntheticMedia?: boolean;
|
|
@@ -39,6 +41,10 @@ export declare function getYouTubeVideoStatus(auth: OAuth2Client, videoId: strin
|
|
|
39
41
|
title: string | null;
|
|
40
42
|
channelId: string | null;
|
|
41
43
|
channelTitle: string | null;
|
|
44
|
+
categoryId: string | null;
|
|
45
|
+
defaultLanguage: string | null;
|
|
46
|
+
defaultAudioLanguage: string | null;
|
|
47
|
+
commentModerationVerification: "requires_youtube_studio";
|
|
42
48
|
privacyStatus: string | null;
|
|
43
49
|
publishAt: string | null;
|
|
44
50
|
uploadStatus: string | null;
|
|
@@ -67,6 +73,10 @@ export declare function uploadYouTubeVideo(auth: OAuth2Client, input: UploadYouT
|
|
|
67
73
|
title: string | null;
|
|
68
74
|
channelId: string | null;
|
|
69
75
|
channelTitle: string | null;
|
|
76
|
+
categoryId: string | null;
|
|
77
|
+
defaultLanguage: string | null;
|
|
78
|
+
defaultAudioLanguage: string | null;
|
|
79
|
+
commentModerationVerification: "requires_youtube_studio";
|
|
70
80
|
privacyStatus: string | null;
|
|
71
81
|
publishAt: string | null;
|
|
72
82
|
uploadStatus: string | null;
|
|
@@ -82,6 +92,10 @@ export declare function updateYouTubeVideoPrivacy(auth: OAuth2Client, input: Upd
|
|
|
82
92
|
title: string | null;
|
|
83
93
|
channelId: string | null;
|
|
84
94
|
channelTitle: string | null;
|
|
95
|
+
categoryId: string | null;
|
|
96
|
+
defaultLanguage: string | null;
|
|
97
|
+
defaultAudioLanguage: string | null;
|
|
98
|
+
commentModerationVerification: "requires_youtube_studio";
|
|
85
99
|
privacyStatus: string | null;
|
|
86
100
|
publishAt: string | null;
|
|
87
101
|
uploadStatus: string | null;
|
|
@@ -62,6 +62,10 @@ function safeStatus(video) {
|
|
|
62
62
|
title: video.snippet?.title ?? null,
|
|
63
63
|
channelId: video.snippet?.channelId ?? null,
|
|
64
64
|
channelTitle: video.snippet?.channelTitle ?? null,
|
|
65
|
+
categoryId: video.snippet?.categoryId ?? null,
|
|
66
|
+
defaultLanguage: video.snippet?.defaultLanguage ?? null,
|
|
67
|
+
defaultAudioLanguage: video.snippet?.defaultAudioLanguage ?? null,
|
|
68
|
+
commentModerationVerification: 'requires_youtube_studio',
|
|
65
69
|
privacyStatus: video.status?.privacyStatus ?? null,
|
|
66
70
|
publishAt: video.status?.publishAt ?? null,
|
|
67
71
|
uploadStatus: video.status?.uploadStatus ?? null,
|
|
@@ -121,6 +125,8 @@ export async function uploadYouTubeVideo(auth, input) {
|
|
|
121
125
|
description: input.description ?? '',
|
|
122
126
|
tags: input.tags ?? [],
|
|
123
127
|
categoryId: input.categoryId ?? '24',
|
|
128
|
+
...(input.defaultLanguage ? { defaultLanguage: input.defaultLanguage } : {}),
|
|
129
|
+
...(input.defaultAudioLanguage ? { defaultAudioLanguage: input.defaultAudioLanguage } : {}),
|
|
124
130
|
},
|
|
125
131
|
status: {
|
|
126
132
|
privacyStatus,
|
package/dist/youtube/tools.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare function updateYouTubeVideoMetadata(auth: OAuth2Client, input: Up
|
|
|
22
22
|
tags: string[];
|
|
23
23
|
categoryId: string;
|
|
24
24
|
defaultLanguage: string | null;
|
|
25
|
+
defaultAudioLanguage: string | null;
|
|
25
26
|
};
|
|
26
27
|
after: youtube_v3.Schema$VideoSnippet;
|
|
27
28
|
status: "preview";
|
|
@@ -42,6 +43,7 @@ export declare function updateYouTubeVideoMetadata(auth: OAuth2Client, input: Up
|
|
|
42
43
|
tags: string[];
|
|
43
44
|
categoryId: string;
|
|
44
45
|
defaultLanguage: string | null;
|
|
46
|
+
defaultAudioLanguage: string | null;
|
|
45
47
|
};
|
|
46
48
|
after: youtube_v3.Schema$VideoSnippet;
|
|
47
49
|
status: "updated";
|
package/dist/youtube/tools.js
CHANGED
|
@@ -51,11 +51,13 @@ export async function updateYouTubeVideoMetadata(auth, input) {
|
|
|
51
51
|
const snippet = {
|
|
52
52
|
title, description, categoryId: old.categoryId, tags,
|
|
53
53
|
...(old.defaultLanguage ? { defaultLanguage: old.defaultLanguage } : {}),
|
|
54
|
+
...(old.defaultAudioLanguage ? { defaultAudioLanguage: old.defaultAudioLanguage } : {}),
|
|
54
55
|
};
|
|
55
56
|
const preview = {
|
|
56
57
|
videoId: input.videoId, channel, before: {
|
|
57
58
|
title: old.title, description: old.description ?? '', tags: old.tags ?? [],
|
|
58
59
|
categoryId: old.categoryId, defaultLanguage: old.defaultLanguage ?? null,
|
|
60
|
+
defaultAudioLanguage: old.defaultAudioLanguage ?? null,
|
|
59
61
|
}, after: snippet,
|
|
60
62
|
};
|
|
61
63
|
if (input.confirm !== true)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yoonion/mimi-seed-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "Mimi Seed MCP server — Firebase + AdMob + Google Play + App Store management for Claude Code / Codex / Cursor / any MCP client.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"imports": {
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"mimi-seed-appstore-auth": "dist/appstore/setup-cli.js",
|
|
13
13
|
"mimi-seed-playstore-auth": "dist/auth/playstore-setup-cli.js",
|
|
14
14
|
"mimi-seed-bigquery-auth": "dist/auth/bigquery-setup-cli.js",
|
|
15
|
+
"mimi-seed-drive-auth": "dist/auth/drive-setup-cli.js",
|
|
15
16
|
"mimi-seed-jenkins-auth": "dist/jenkins/setup-cli.js",
|
|
16
17
|
"mimi-seed-googleads-auth": "dist/googleads/setup-cli.js",
|
|
17
18
|
"mimi-seed-social-auth": "dist/social/setup-cli.js",
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
"googleapis": "~178.0.0",
|
|
77
78
|
"jose": "^6.2.12",
|
|
78
79
|
"open": "^11.0.4",
|
|
79
|
-
"zod": "^
|
|
80
|
+
"zod": "^4.6.7"
|
|
80
81
|
},
|
|
81
82
|
"devDependencies": {
|
|
82
83
|
"@eslint/js": "^10.0.1",
|
package/tool-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$comment": "등록된 MCP 도구 + 도메인 메타데이터(label·credential·summary) + 도구 분류(write·destructive·local·idempotent → MCP annotations·confirm 가드) + toolset 그룹·폐기 별칭의 SSOT (src/lib/tool-registrar.ts 가 읽는다). src/__tests__/tool-manifest.test.ts 가 실제 서버 등록 목록과 diff 하고 메타데이터 정합성을 검사한다. 도구 추가/삭제/개명 시 이 파일을 함께 갱신할 것 — 산문 문서에는 정확한 개수를 쓰지 말고 이 파일을 가리킬 것. mimi-seed://tools/catalog 리소스가 이 파일을 그대로 서빙한다.",
|
|
3
|
-
"total":
|
|
3
|
+
"total": 255,
|
|
4
4
|
"alwaysOn": [
|
|
5
5
|
"auth",
|
|
6
6
|
"checks"
|
|
@@ -34,7 +34,8 @@
|
|
|
34
34
|
"bigquery",
|
|
35
35
|
"ga4",
|
|
36
36
|
"gsc",
|
|
37
|
-
"googleads"
|
|
37
|
+
"googleads",
|
|
38
|
+
"drive"
|
|
38
39
|
],
|
|
39
40
|
"social": [
|
|
40
41
|
"facebook",
|
|
@@ -45,7 +46,8 @@
|
|
|
45
46
|
],
|
|
46
47
|
"media": [
|
|
47
48
|
"video",
|
|
48
|
-
"youtube"
|
|
49
|
+
"youtube",
|
|
50
|
+
"drive"
|
|
49
51
|
],
|
|
50
52
|
"build": [
|
|
51
53
|
"ci",
|
|
@@ -848,6 +850,38 @@
|
|
|
848
850
|
"youtube_set_thumbnail",
|
|
849
851
|
"youtube_schedule_video"
|
|
850
852
|
]
|
|
853
|
+
},
|
|
854
|
+
"drive": {
|
|
855
|
+
"label": "Google Drive",
|
|
856
|
+
"credential": "Drive 서비스 계정 (또는 Google OAuth drive.file)",
|
|
857
|
+
"summary": "폴더 생성·파일 업로드·내용 교체·이름 변경/이동·휴지통·목록 조회",
|
|
858
|
+
"tools": [
|
|
859
|
+
"drive_auth_status",
|
|
860
|
+
"drive_list_files",
|
|
861
|
+
"drive_get_file",
|
|
862
|
+
"drive_create_folder",
|
|
863
|
+
"drive_upload_file",
|
|
864
|
+
"drive_update_file_content",
|
|
865
|
+
"drive_update_file_metadata",
|
|
866
|
+
"drive_trash_file"
|
|
867
|
+
],
|
|
868
|
+
"write": [
|
|
869
|
+
"drive_create_folder",
|
|
870
|
+
"drive_upload_file",
|
|
871
|
+
"drive_update_file_metadata"
|
|
872
|
+
],
|
|
873
|
+
"destructive": [
|
|
874
|
+
"drive_update_file_content",
|
|
875
|
+
"drive_trash_file"
|
|
876
|
+
],
|
|
877
|
+
"ownGate": [],
|
|
878
|
+
"local": [
|
|
879
|
+
"drive_auth_status"
|
|
880
|
+
],
|
|
881
|
+
"idempotent": [
|
|
882
|
+
"drive_create_folder",
|
|
883
|
+
"drive_update_file_metadata"
|
|
884
|
+
]
|
|
851
885
|
}
|
|
852
886
|
}
|
|
853
887
|
}
|