@yoonion/mimi-seed-mcp 0.21.6 → 0.21.8
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/dist/jenkins/builds.d.ts +5 -13
- package/dist/registers/ci.js +1 -1
- package/dist/video/research.d.ts +12 -54
- package/dist/video/schemas.d.ts +87 -490
- package/dist/video/schemas.js +3 -3
- package/package.json +4 -4
package/dist/jenkins/builds.d.ts
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { JenkinsConfig } from './config.js';
|
|
3
|
-
export declare const buildJobSchema: z.
|
|
3
|
+
export declare const buildJobSchema: z.ZodString;
|
|
4
4
|
export declare const buildIdSchema: z.ZodNumber;
|
|
5
5
|
export declare const requestIdSchema: z.ZodString;
|
|
6
6
|
export declare const buildParametersSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7
7
|
export declare const triggerBuildSchema: z.ZodObject<{
|
|
8
|
-
job: z.
|
|
8
|
+
job: z.ZodString;
|
|
9
9
|
request_id: z.ZodString;
|
|
10
10
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
11
|
-
},
|
|
12
|
-
job: string;
|
|
13
|
-
request_id: string;
|
|
14
|
-
parameters?: Record<string, string> | undefined;
|
|
15
|
-
}, {
|
|
16
|
-
job: string;
|
|
17
|
-
request_id: string;
|
|
18
|
-
parameters?: Record<string, string> | undefined;
|
|
19
|
-
}>;
|
|
11
|
+
}, z.core.$strip>;
|
|
20
12
|
type TriggerInput = z.infer<typeof triggerBuildSchema>;
|
|
21
13
|
/**
|
|
22
14
|
* 예약이 이보다 젊으면 결과가 없는 재호출을 `pending`(다른 호출이 처리 중)으로, 더 오래됐으면 `unknown`
|
|
@@ -81,10 +73,10 @@ export declare function getBuildStatus(cfg: JenkinsConfig, job: string, buildNum
|
|
|
81
73
|
build_url: string;
|
|
82
74
|
} | {
|
|
83
75
|
number: number;
|
|
84
|
-
result: "SUCCESS" | "FAILURE" | "UNSTABLE" | "ABORTED" | "NOT_BUILT" | null;
|
|
85
76
|
building: boolean;
|
|
86
|
-
|
|
77
|
+
result: "SUCCESS" | "FAILURE" | "UNSTABLE" | "ABORTED" | "NOT_BUILT" | null;
|
|
87
78
|
timestamp?: number | undefined;
|
|
79
|
+
duration?: number | undefined;
|
|
88
80
|
job: string;
|
|
89
81
|
build_number: number;
|
|
90
82
|
build_url: string;
|
package/dist/registers/ci.js
CHANGED
|
@@ -46,7 +46,7 @@ export function registerCiTools(server) {
|
|
|
46
46
|
].join(' '), {
|
|
47
47
|
ref: z.string().default('main').describe('브랜치 또는 태그 (기본: main)'),
|
|
48
48
|
workflow: z.string().optional().describe('GitHub 전용: 워크플로 파일명 또는 ID (예: deploy.yml)'),
|
|
49
|
-
inputs: z.record(z.string()).optional().describe('워크플로 입력값 (GitHub inputs / GitLab variables)'),
|
|
49
|
+
inputs: z.record(z.string(), z.string()).optional().describe('워크플로 입력값 (GitHub inputs / GitLab variables)'),
|
|
50
50
|
}, async ({ ref, workflow, inputs }) => {
|
|
51
51
|
const cfg = requireCiConfig();
|
|
52
52
|
let result;
|
package/dist/video/research.d.ts
CHANGED
|
@@ -3,64 +3,22 @@ declare const briefSchema: z.ZodObject<{
|
|
|
3
3
|
summary: z.ZodString;
|
|
4
4
|
patterns: z.ZodArray<z.ZodObject<{
|
|
5
5
|
pattern: z.ZodString;
|
|
6
|
-
evidence: z.ZodArray<z.ZodString
|
|
7
|
-
confidence: z.ZodEnum<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
pattern: string;
|
|
14
|
-
evidence: string[];
|
|
15
|
-
confidence: "high" | "low" | "medium";
|
|
16
|
-
}>, "many">;
|
|
6
|
+
evidence: z.ZodArray<z.ZodString>;
|
|
7
|
+
confidence: z.ZodEnum<{
|
|
8
|
+
high: "high";
|
|
9
|
+
low: "low";
|
|
10
|
+
medium: "medium";
|
|
11
|
+
}>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
17
13
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
18
14
|
sceneId: z.ZodOptional<z.ZodString>;
|
|
19
15
|
action: z.ZodString;
|
|
20
16
|
rationale: z.ZodString;
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
action: string;
|
|
27
|
-
rationale: string;
|
|
28
|
-
sceneId?: string | undefined;
|
|
29
|
-
}>, "many">;
|
|
30
|
-
avoidCopying: z.ZodArray<z.ZodString, "many">;
|
|
31
|
-
referenceUrls: z.ZodArray<z.ZodString, "many">;
|
|
32
|
-
limitations: z.ZodArray<z.ZodString, "many">;
|
|
33
|
-
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
summary: string;
|
|
35
|
-
patterns: {
|
|
36
|
-
pattern: string;
|
|
37
|
-
evidence: string[];
|
|
38
|
-
confidence: "high" | "low" | "medium";
|
|
39
|
-
}[];
|
|
40
|
-
recommendations: {
|
|
41
|
-
action: string;
|
|
42
|
-
rationale: string;
|
|
43
|
-
sceneId?: string | undefined;
|
|
44
|
-
}[];
|
|
45
|
-
avoidCopying: string[];
|
|
46
|
-
referenceUrls: string[];
|
|
47
|
-
limitations: string[];
|
|
48
|
-
}, {
|
|
49
|
-
summary: string;
|
|
50
|
-
patterns: {
|
|
51
|
-
pattern: string;
|
|
52
|
-
evidence: string[];
|
|
53
|
-
confidence: "high" | "low" | "medium";
|
|
54
|
-
}[];
|
|
55
|
-
recommendations: {
|
|
56
|
-
action: string;
|
|
57
|
-
rationale: string;
|
|
58
|
-
sceneId?: string | undefined;
|
|
59
|
-
}[];
|
|
60
|
-
avoidCopying: string[];
|
|
61
|
-
referenceUrls: string[];
|
|
62
|
-
limitations: string[];
|
|
63
|
-
}>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
avoidCopying: z.ZodArray<z.ZodString>;
|
|
19
|
+
referenceUrls: z.ZodArray<z.ZodString>;
|
|
20
|
+
limitations: z.ZodArray<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>;
|
|
64
22
|
export interface ReferenceObservation {
|
|
65
23
|
referenceUrl: string;
|
|
66
24
|
notes: string;
|
package/dist/video/schemas.d.ts
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const aspectRatioSchema: z.ZodEnum<
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare const aspectRatioSchema: z.ZodEnum<{
|
|
3
|
+
"9:16": "9:16";
|
|
4
|
+
"16:9": "16:9";
|
|
5
|
+
"1:1": "1:1";
|
|
6
|
+
}>;
|
|
7
|
+
export declare const assetKindSchema: z.ZodEnum<{
|
|
8
|
+
image: "image";
|
|
9
|
+
audio: "audio";
|
|
10
|
+
video: "video";
|
|
11
|
+
}>;
|
|
12
|
+
export declare const assetSourceSchema: z.ZodEnum<{
|
|
13
|
+
stock: "stock";
|
|
14
|
+
generated: "generated";
|
|
15
|
+
"user-owned": "user-owned";
|
|
16
|
+
licensed: "licensed";
|
|
17
|
+
"reference-only": "reference-only";
|
|
18
|
+
}>;
|
|
5
19
|
export declare const scenePlanSchema: z.ZodObject<{
|
|
6
20
|
id: z.ZodString;
|
|
7
21
|
durationSec: z.ZodNumber;
|
|
@@ -9,22 +23,8 @@ export declare const scenePlanSchema: z.ZodObject<{
|
|
|
9
23
|
onScreenText: z.ZodString;
|
|
10
24
|
visualPrompt: z.ZodString;
|
|
11
25
|
searchQuery: z.ZodString;
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
durationSec: number;
|
|
15
|
-
narration: string;
|
|
16
|
-
onScreenText: string;
|
|
17
|
-
visualPrompt: string;
|
|
18
|
-
searchQuery: string;
|
|
19
|
-
}, {
|
|
20
|
-
id: string;
|
|
21
|
-
durationSec: number;
|
|
22
|
-
narration: string;
|
|
23
|
-
onScreenText: string;
|
|
24
|
-
visualPrompt: string;
|
|
25
|
-
searchQuery: string;
|
|
26
|
-
}>;
|
|
27
|
-
export declare const projectSchema: z.ZodEffects<z.ZodObject<{
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
export declare const projectSchema: z.ZodObject<{
|
|
28
28
|
version: z.ZodLiteral<1>;
|
|
29
29
|
projectId: z.ZodString;
|
|
30
30
|
title: z.ZodString;
|
|
@@ -32,27 +32,17 @@ export declare const projectSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32
32
|
language: z.ZodString;
|
|
33
33
|
createdAt: z.ZodString;
|
|
34
34
|
settings: z.ZodObject<{
|
|
35
|
-
aspectRatio: z.ZodEnum<
|
|
35
|
+
aspectRatio: z.ZodEnum<{
|
|
36
|
+
"9:16": "9:16";
|
|
37
|
+
"16:9": "16:9";
|
|
38
|
+
"1:1": "1:1";
|
|
39
|
+
}>;
|
|
36
40
|
width: z.ZodNumber;
|
|
37
41
|
height: z.ZodNumber;
|
|
38
42
|
fps: z.ZodNumber;
|
|
39
43
|
targetDurationSec: z.ZodNumber;
|
|
40
44
|
style: z.ZodOptional<z.ZodString>;
|
|
41
|
-
},
|
|
42
|
-
width: number;
|
|
43
|
-
height: number;
|
|
44
|
-
aspectRatio: "9:16" | "16:9" | "1:1";
|
|
45
|
-
fps: number;
|
|
46
|
-
targetDurationSec: number;
|
|
47
|
-
style?: string | undefined;
|
|
48
|
-
}, {
|
|
49
|
-
width: number;
|
|
50
|
-
height: number;
|
|
51
|
-
aspectRatio: "9:16" | "16:9" | "1:1";
|
|
52
|
-
fps: number;
|
|
53
|
-
targetDurationSec: number;
|
|
54
|
-
style?: string | undefined;
|
|
55
|
-
}>;
|
|
45
|
+
}, z.core.$strip>;
|
|
56
46
|
scenes: z.ZodArray<z.ZodObject<{
|
|
57
47
|
id: z.ZodString;
|
|
58
48
|
durationSec: z.ZodNumber;
|
|
@@ -60,118 +50,22 @@ export declare const projectSchema: z.ZodEffects<z.ZodObject<{
|
|
|
60
50
|
onScreenText: z.ZodString;
|
|
61
51
|
visualPrompt: z.ZodString;
|
|
62
52
|
searchQuery: z.ZodString;
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
narration: string;
|
|
67
|
-
onScreenText: string;
|
|
68
|
-
visualPrompt: string;
|
|
69
|
-
searchQuery: string;
|
|
70
|
-
}, {
|
|
71
|
-
id: string;
|
|
72
|
-
durationSec: number;
|
|
73
|
-
narration: string;
|
|
74
|
-
onScreenText: string;
|
|
75
|
-
visualPrompt: string;
|
|
76
|
-
searchQuery: string;
|
|
77
|
-
}>, "many">;
|
|
78
|
-
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
version: 1;
|
|
80
|
-
projectId: string;
|
|
81
|
-
title: string;
|
|
82
|
-
language: string;
|
|
83
|
-
story: string;
|
|
84
|
-
createdAt: string;
|
|
85
|
-
settings: {
|
|
86
|
-
width: number;
|
|
87
|
-
height: number;
|
|
88
|
-
aspectRatio: "9:16" | "16:9" | "1:1";
|
|
89
|
-
fps: number;
|
|
90
|
-
targetDurationSec: number;
|
|
91
|
-
style?: string | undefined;
|
|
92
|
-
};
|
|
93
|
-
scenes: {
|
|
94
|
-
id: string;
|
|
95
|
-
durationSec: number;
|
|
96
|
-
narration: string;
|
|
97
|
-
onScreenText: string;
|
|
98
|
-
visualPrompt: string;
|
|
99
|
-
searchQuery: string;
|
|
100
|
-
}[];
|
|
101
|
-
}, {
|
|
102
|
-
version: 1;
|
|
103
|
-
projectId: string;
|
|
104
|
-
title: string;
|
|
105
|
-
language: string;
|
|
106
|
-
story: string;
|
|
107
|
-
createdAt: string;
|
|
108
|
-
settings: {
|
|
109
|
-
width: number;
|
|
110
|
-
height: number;
|
|
111
|
-
aspectRatio: "9:16" | "16:9" | "1:1";
|
|
112
|
-
fps: number;
|
|
113
|
-
targetDurationSec: number;
|
|
114
|
-
style?: string | undefined;
|
|
115
|
-
};
|
|
116
|
-
scenes: {
|
|
117
|
-
id: string;
|
|
118
|
-
durationSec: number;
|
|
119
|
-
narration: string;
|
|
120
|
-
onScreenText: string;
|
|
121
|
-
visualPrompt: string;
|
|
122
|
-
searchQuery: string;
|
|
123
|
-
}[];
|
|
124
|
-
}>, {
|
|
125
|
-
version: 1;
|
|
126
|
-
projectId: string;
|
|
127
|
-
title: string;
|
|
128
|
-
language: string;
|
|
129
|
-
story: string;
|
|
130
|
-
createdAt: string;
|
|
131
|
-
settings: {
|
|
132
|
-
width: number;
|
|
133
|
-
height: number;
|
|
134
|
-
aspectRatio: "9:16" | "16:9" | "1:1";
|
|
135
|
-
fps: number;
|
|
136
|
-
targetDurationSec: number;
|
|
137
|
-
style?: string | undefined;
|
|
138
|
-
};
|
|
139
|
-
scenes: {
|
|
140
|
-
id: string;
|
|
141
|
-
durationSec: number;
|
|
142
|
-
narration: string;
|
|
143
|
-
onScreenText: string;
|
|
144
|
-
visualPrompt: string;
|
|
145
|
-
searchQuery: string;
|
|
146
|
-
}[];
|
|
147
|
-
}, {
|
|
148
|
-
version: 1;
|
|
149
|
-
projectId: string;
|
|
150
|
-
title: string;
|
|
151
|
-
language: string;
|
|
152
|
-
story: string;
|
|
153
|
-
createdAt: string;
|
|
154
|
-
settings: {
|
|
155
|
-
width: number;
|
|
156
|
-
height: number;
|
|
157
|
-
aspectRatio: "9:16" | "16:9" | "1:1";
|
|
158
|
-
fps: number;
|
|
159
|
-
targetDurationSec: number;
|
|
160
|
-
style?: string | undefined;
|
|
161
|
-
};
|
|
162
|
-
scenes: {
|
|
163
|
-
id: string;
|
|
164
|
-
durationSec: number;
|
|
165
|
-
narration: string;
|
|
166
|
-
onScreenText: string;
|
|
167
|
-
visualPrompt: string;
|
|
168
|
-
searchQuery: string;
|
|
169
|
-
}[];
|
|
170
|
-
}>;
|
|
171
|
-
export declare const assetSchema: z.ZodEffects<z.ZodObject<{
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
export declare const assetSchema: z.ZodObject<{
|
|
172
56
|
id: z.ZodString;
|
|
173
|
-
kind: z.ZodEnum<
|
|
174
|
-
|
|
57
|
+
kind: z.ZodEnum<{
|
|
58
|
+
image: "image";
|
|
59
|
+
audio: "audio";
|
|
60
|
+
video: "video";
|
|
61
|
+
}>;
|
|
62
|
+
sourceType: z.ZodEnum<{
|
|
63
|
+
stock: "stock";
|
|
64
|
+
generated: "generated";
|
|
65
|
+
"user-owned": "user-owned";
|
|
66
|
+
licensed: "licensed";
|
|
67
|
+
"reference-only": "reference-only";
|
|
68
|
+
}>;
|
|
175
69
|
path: z.ZodString;
|
|
176
70
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
177
71
|
license: z.ZodString;
|
|
@@ -182,70 +76,24 @@ export declare const assetSchema: z.ZodEffects<z.ZodObject<{
|
|
|
182
76
|
createdAt: z.ZodString;
|
|
183
77
|
provider: z.ZodOptional<z.ZodString>;
|
|
184
78
|
prompt: z.ZodOptional<z.ZodString>;
|
|
185
|
-
},
|
|
186
|
-
id: string;
|
|
187
|
-
path: string;
|
|
188
|
-
kind: "image" | "audio" | "video";
|
|
189
|
-
sha256: string;
|
|
190
|
-
createdAt: string;
|
|
191
|
-
sourceType: "stock" | "generated" | "user-owned" | "licensed" | "reference-only";
|
|
192
|
-
license: string;
|
|
193
|
-
allowedForRendering: boolean;
|
|
194
|
-
prompt?: string | undefined;
|
|
195
|
-
author?: string | undefined;
|
|
196
|
-
provider?: string | undefined;
|
|
197
|
-
sourceUrl?: string | undefined;
|
|
198
|
-
attribution?: string | undefined;
|
|
199
|
-
}, {
|
|
200
|
-
id: string;
|
|
201
|
-
path: string;
|
|
202
|
-
kind: "image" | "audio" | "video";
|
|
203
|
-
sha256: string;
|
|
204
|
-
createdAt: string;
|
|
205
|
-
sourceType: "stock" | "generated" | "user-owned" | "licensed" | "reference-only";
|
|
206
|
-
license: string;
|
|
207
|
-
allowedForRendering: boolean;
|
|
208
|
-
prompt?: string | undefined;
|
|
209
|
-
author?: string | undefined;
|
|
210
|
-
provider?: string | undefined;
|
|
211
|
-
sourceUrl?: string | undefined;
|
|
212
|
-
attribution?: string | undefined;
|
|
213
|
-
}>, {
|
|
214
|
-
id: string;
|
|
215
|
-
path: string;
|
|
216
|
-
kind: "image" | "audio" | "video";
|
|
217
|
-
sha256: string;
|
|
218
|
-
createdAt: string;
|
|
219
|
-
sourceType: "stock" | "generated" | "user-owned" | "licensed" | "reference-only";
|
|
220
|
-
license: string;
|
|
221
|
-
allowedForRendering: boolean;
|
|
222
|
-
prompt?: string | undefined;
|
|
223
|
-
author?: string | undefined;
|
|
224
|
-
provider?: string | undefined;
|
|
225
|
-
sourceUrl?: string | undefined;
|
|
226
|
-
attribution?: string | undefined;
|
|
227
|
-
}, {
|
|
228
|
-
id: string;
|
|
229
|
-
path: string;
|
|
230
|
-
kind: "image" | "audio" | "video";
|
|
231
|
-
sha256: string;
|
|
232
|
-
createdAt: string;
|
|
233
|
-
sourceType: "stock" | "generated" | "user-owned" | "licensed" | "reference-only";
|
|
234
|
-
license: string;
|
|
235
|
-
allowedForRendering: boolean;
|
|
236
|
-
prompt?: string | undefined;
|
|
237
|
-
author?: string | undefined;
|
|
238
|
-
provider?: string | undefined;
|
|
239
|
-
sourceUrl?: string | undefined;
|
|
240
|
-
attribution?: string | undefined;
|
|
241
|
-
}>;
|
|
79
|
+
}, z.core.$strip>;
|
|
242
80
|
export declare const assetManifestSchema: z.ZodObject<{
|
|
243
81
|
version: z.ZodLiteral<1>;
|
|
244
82
|
projectId: z.ZodString;
|
|
245
|
-
assets: z.ZodArray<z.
|
|
83
|
+
assets: z.ZodArray<z.ZodObject<{
|
|
246
84
|
id: z.ZodString;
|
|
247
|
-
kind: z.ZodEnum<
|
|
248
|
-
|
|
85
|
+
kind: z.ZodEnum<{
|
|
86
|
+
image: "image";
|
|
87
|
+
audio: "audio";
|
|
88
|
+
video: "video";
|
|
89
|
+
}>;
|
|
90
|
+
sourceType: z.ZodEnum<{
|
|
91
|
+
stock: "stock";
|
|
92
|
+
generated: "generated";
|
|
93
|
+
"user-owned": "user-owned";
|
|
94
|
+
licensed: "licensed";
|
|
95
|
+
"reference-only": "reference-only";
|
|
96
|
+
}>;
|
|
249
97
|
path: z.ZodString;
|
|
250
98
|
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
251
99
|
license: z.ZodString;
|
|
@@ -256,146 +104,33 @@ export declare const assetManifestSchema: z.ZodObject<{
|
|
|
256
104
|
createdAt: z.ZodString;
|
|
257
105
|
provider: z.ZodOptional<z.ZodString>;
|
|
258
106
|
prompt: z.ZodOptional<z.ZodString>;
|
|
259
|
-
},
|
|
260
|
-
|
|
261
|
-
path: string;
|
|
262
|
-
kind: "image" | "audio" | "video";
|
|
263
|
-
sha256: string;
|
|
264
|
-
createdAt: string;
|
|
265
|
-
sourceType: "stock" | "generated" | "user-owned" | "licensed" | "reference-only";
|
|
266
|
-
license: string;
|
|
267
|
-
allowedForRendering: boolean;
|
|
268
|
-
prompt?: string | undefined;
|
|
269
|
-
author?: string | undefined;
|
|
270
|
-
provider?: string | undefined;
|
|
271
|
-
sourceUrl?: string | undefined;
|
|
272
|
-
attribution?: string | undefined;
|
|
273
|
-
}, {
|
|
274
|
-
id: string;
|
|
275
|
-
path: string;
|
|
276
|
-
kind: "image" | "audio" | "video";
|
|
277
|
-
sha256: string;
|
|
278
|
-
createdAt: string;
|
|
279
|
-
sourceType: "stock" | "generated" | "user-owned" | "licensed" | "reference-only";
|
|
280
|
-
license: string;
|
|
281
|
-
allowedForRendering: boolean;
|
|
282
|
-
prompt?: string | undefined;
|
|
283
|
-
author?: string | undefined;
|
|
284
|
-
provider?: string | undefined;
|
|
285
|
-
sourceUrl?: string | undefined;
|
|
286
|
-
attribution?: string | undefined;
|
|
287
|
-
}>, {
|
|
288
|
-
id: string;
|
|
289
|
-
path: string;
|
|
290
|
-
kind: "image" | "audio" | "video";
|
|
291
|
-
sha256: string;
|
|
292
|
-
createdAt: string;
|
|
293
|
-
sourceType: "stock" | "generated" | "user-owned" | "licensed" | "reference-only";
|
|
294
|
-
license: string;
|
|
295
|
-
allowedForRendering: boolean;
|
|
296
|
-
prompt?: string | undefined;
|
|
297
|
-
author?: string | undefined;
|
|
298
|
-
provider?: string | undefined;
|
|
299
|
-
sourceUrl?: string | undefined;
|
|
300
|
-
attribution?: string | undefined;
|
|
301
|
-
}, {
|
|
302
|
-
id: string;
|
|
303
|
-
path: string;
|
|
304
|
-
kind: "image" | "audio" | "video";
|
|
305
|
-
sha256: string;
|
|
306
|
-
createdAt: string;
|
|
307
|
-
sourceType: "stock" | "generated" | "user-owned" | "licensed" | "reference-only";
|
|
308
|
-
license: string;
|
|
309
|
-
allowedForRendering: boolean;
|
|
310
|
-
prompt?: string | undefined;
|
|
311
|
-
author?: string | undefined;
|
|
312
|
-
provider?: string | undefined;
|
|
313
|
-
sourceUrl?: string | undefined;
|
|
314
|
-
attribution?: string | undefined;
|
|
315
|
-
}>, "many">;
|
|
316
|
-
}, "strip", z.ZodTypeAny, {
|
|
317
|
-
version: 1;
|
|
318
|
-
projectId: string;
|
|
319
|
-
assets: {
|
|
320
|
-
id: string;
|
|
321
|
-
path: string;
|
|
322
|
-
kind: "image" | "audio" | "video";
|
|
323
|
-
sha256: string;
|
|
324
|
-
createdAt: string;
|
|
325
|
-
sourceType: "stock" | "generated" | "user-owned" | "licensed" | "reference-only";
|
|
326
|
-
license: string;
|
|
327
|
-
allowedForRendering: boolean;
|
|
328
|
-
prompt?: string | undefined;
|
|
329
|
-
author?: string | undefined;
|
|
330
|
-
provider?: string | undefined;
|
|
331
|
-
sourceUrl?: string | undefined;
|
|
332
|
-
attribution?: string | undefined;
|
|
333
|
-
}[];
|
|
334
|
-
}, {
|
|
335
|
-
version: 1;
|
|
336
|
-
projectId: string;
|
|
337
|
-
assets: {
|
|
338
|
-
id: string;
|
|
339
|
-
path: string;
|
|
340
|
-
kind: "image" | "audio" | "video";
|
|
341
|
-
sha256: string;
|
|
342
|
-
createdAt: string;
|
|
343
|
-
sourceType: "stock" | "generated" | "user-owned" | "licensed" | "reference-only";
|
|
344
|
-
license: string;
|
|
345
|
-
allowedForRendering: boolean;
|
|
346
|
-
prompt?: string | undefined;
|
|
347
|
-
author?: string | undefined;
|
|
348
|
-
provider?: string | undefined;
|
|
349
|
-
sourceUrl?: string | undefined;
|
|
350
|
-
attribution?: string | undefined;
|
|
351
|
-
}[];
|
|
352
|
-
}>;
|
|
107
|
+
}, z.core.$strip>>;
|
|
108
|
+
}, z.core.$strip>;
|
|
353
109
|
export declare const hexColorSchema: z.ZodString;
|
|
354
110
|
export declare const captionStyleSchema: z.ZodObject<{
|
|
355
|
-
preset: z.ZodOptional<z.ZodEnum<
|
|
111
|
+
preset: z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
shorts: "shorts";
|
|
113
|
+
box: "box";
|
|
114
|
+
}>>;
|
|
356
115
|
fontName: z.ZodOptional<z.ZodString>;
|
|
357
116
|
fontSizePx: z.ZodOptional<z.ZodNumber>;
|
|
358
117
|
textColor: z.ZodOptional<z.ZodString>;
|
|
359
118
|
outlineColor: z.ZodOptional<z.ZodString>;
|
|
360
119
|
highlightColor: z.ZodOptional<z.ZodString>;
|
|
361
|
-
position: z.ZodOptional<z.ZodEnum<
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
outlineColor?: string | undefined;
|
|
368
|
-
highlightColor?: string | undefined;
|
|
369
|
-
position?: "lower" | "lower-middle" | "center" | undefined;
|
|
370
|
-
}, {
|
|
371
|
-
preset?: "shorts" | "box" | undefined;
|
|
372
|
-
fontName?: string | undefined;
|
|
373
|
-
fontSizePx?: number | undefined;
|
|
374
|
-
textColor?: string | undefined;
|
|
375
|
-
outlineColor?: string | undefined;
|
|
376
|
-
highlightColor?: string | undefined;
|
|
377
|
-
position?: "lower" | "lower-middle" | "center" | undefined;
|
|
378
|
-
}>;
|
|
120
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
121
|
+
lower: "lower";
|
|
122
|
+
"lower-middle": "lower-middle";
|
|
123
|
+
center: "center";
|
|
124
|
+
}>>;
|
|
125
|
+
}, z.core.$strip>;
|
|
379
126
|
export declare const timelineSceneSchema: z.ZodObject<{
|
|
380
127
|
id: z.ZodString;
|
|
381
128
|
assetId: z.ZodString;
|
|
382
129
|
durationSec: z.ZodNumber;
|
|
383
130
|
onScreenText: z.ZodOptional<z.ZodString>;
|
|
384
131
|
narration: z.ZodOptional<z.ZodString>;
|
|
385
|
-
},
|
|
386
|
-
|
|
387
|
-
durationSec: number;
|
|
388
|
-
assetId: string;
|
|
389
|
-
narration?: string | undefined;
|
|
390
|
-
onScreenText?: string | undefined;
|
|
391
|
-
}, {
|
|
392
|
-
id: string;
|
|
393
|
-
durationSec: number;
|
|
394
|
-
assetId: string;
|
|
395
|
-
narration?: string | undefined;
|
|
396
|
-
onScreenText?: string | undefined;
|
|
397
|
-
}>;
|
|
398
|
-
export declare const timelineSchema: z.ZodEffects<z.ZodObject<{
|
|
132
|
+
}, z.core.$strip>;
|
|
133
|
+
export declare const timelineSchema: z.ZodObject<{
|
|
399
134
|
version: z.ZodLiteral<1>;
|
|
400
135
|
projectId: z.ZodString;
|
|
401
136
|
createdAt: z.ZodString;
|
|
@@ -409,149 +144,33 @@ export declare const timelineSchema: z.ZodEffects<z.ZodObject<{
|
|
|
409
144
|
durationSec: z.ZodNumber;
|
|
410
145
|
onScreenText: z.ZodOptional<z.ZodString>;
|
|
411
146
|
narration: z.ZodOptional<z.ZodString>;
|
|
412
|
-
},
|
|
413
|
-
id: string;
|
|
414
|
-
durationSec: number;
|
|
415
|
-
assetId: string;
|
|
416
|
-
narration?: string | undefined;
|
|
417
|
-
onScreenText?: string | undefined;
|
|
418
|
-
}, {
|
|
419
|
-
id: string;
|
|
420
|
-
durationSec: number;
|
|
421
|
-
assetId: string;
|
|
422
|
-
narration?: string | undefined;
|
|
423
|
-
onScreenText?: string | undefined;
|
|
424
|
-
}>, "many">;
|
|
147
|
+
}, z.core.$strip>>;
|
|
425
148
|
audioAssetId: z.ZodOptional<z.ZodString>;
|
|
426
149
|
captionStyle: z.ZodOptional<z.ZodObject<{
|
|
427
|
-
preset: z.ZodOptional<z.ZodEnum<
|
|
150
|
+
preset: z.ZodOptional<z.ZodEnum<{
|
|
151
|
+
shorts: "shorts";
|
|
152
|
+
box: "box";
|
|
153
|
+
}>>;
|
|
428
154
|
fontName: z.ZodOptional<z.ZodString>;
|
|
429
155
|
fontSizePx: z.ZodOptional<z.ZodNumber>;
|
|
430
156
|
textColor: z.ZodOptional<z.ZodString>;
|
|
431
157
|
outlineColor: z.ZodOptional<z.ZodString>;
|
|
432
158
|
highlightColor: z.ZodOptional<z.ZodString>;
|
|
433
|
-
position: z.ZodOptional<z.ZodEnum<
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
highlightColor?: string | undefined;
|
|
441
|
-
position?: "lower" | "lower-middle" | "center" | undefined;
|
|
442
|
-
}, {
|
|
443
|
-
preset?: "shorts" | "box" | undefined;
|
|
444
|
-
fontName?: string | undefined;
|
|
445
|
-
fontSizePx?: number | undefined;
|
|
446
|
-
textColor?: string | undefined;
|
|
447
|
-
outlineColor?: string | undefined;
|
|
448
|
-
highlightColor?: string | undefined;
|
|
449
|
-
position?: "lower" | "lower-middle" | "center" | undefined;
|
|
450
|
-
}>>;
|
|
451
|
-
}, "strip", z.ZodTypeAny, {
|
|
452
|
-
version: 1;
|
|
453
|
-
projectId: string;
|
|
454
|
-
width: number;
|
|
455
|
-
height: number;
|
|
456
|
-
createdAt: string;
|
|
457
|
-
fps: number;
|
|
458
|
-
scenes: {
|
|
459
|
-
id: string;
|
|
460
|
-
durationSec: number;
|
|
461
|
-
assetId: string;
|
|
462
|
-
narration?: string | undefined;
|
|
463
|
-
onScreenText?: string | undefined;
|
|
464
|
-
}[];
|
|
465
|
-
totalDurationSec: number;
|
|
466
|
-
audioAssetId?: string | undefined;
|
|
467
|
-
captionStyle?: {
|
|
468
|
-
preset?: "shorts" | "box" | undefined;
|
|
469
|
-
fontName?: string | undefined;
|
|
470
|
-
fontSizePx?: number | undefined;
|
|
471
|
-
textColor?: string | undefined;
|
|
472
|
-
outlineColor?: string | undefined;
|
|
473
|
-
highlightColor?: string | undefined;
|
|
474
|
-
position?: "lower" | "lower-middle" | "center" | undefined;
|
|
475
|
-
} | undefined;
|
|
476
|
-
}, {
|
|
477
|
-
version: 1;
|
|
478
|
-
projectId: string;
|
|
479
|
-
width: number;
|
|
480
|
-
height: number;
|
|
481
|
-
createdAt: string;
|
|
482
|
-
fps: number;
|
|
483
|
-
scenes: {
|
|
484
|
-
id: string;
|
|
485
|
-
durationSec: number;
|
|
486
|
-
assetId: string;
|
|
487
|
-
narration?: string | undefined;
|
|
488
|
-
onScreenText?: string | undefined;
|
|
489
|
-
}[];
|
|
490
|
-
totalDurationSec: number;
|
|
491
|
-
audioAssetId?: string | undefined;
|
|
492
|
-
captionStyle?: {
|
|
493
|
-
preset?: "shorts" | "box" | undefined;
|
|
494
|
-
fontName?: string | undefined;
|
|
495
|
-
fontSizePx?: number | undefined;
|
|
496
|
-
textColor?: string | undefined;
|
|
497
|
-
outlineColor?: string | undefined;
|
|
498
|
-
highlightColor?: string | undefined;
|
|
499
|
-
position?: "lower" | "lower-middle" | "center" | undefined;
|
|
500
|
-
} | undefined;
|
|
501
|
-
}>, {
|
|
502
|
-
version: 1;
|
|
503
|
-
projectId: string;
|
|
504
|
-
width: number;
|
|
505
|
-
height: number;
|
|
506
|
-
createdAt: string;
|
|
507
|
-
fps: number;
|
|
508
|
-
scenes: {
|
|
509
|
-
id: string;
|
|
510
|
-
durationSec: number;
|
|
511
|
-
assetId: string;
|
|
512
|
-
narration?: string | undefined;
|
|
513
|
-
onScreenText?: string | undefined;
|
|
514
|
-
}[];
|
|
515
|
-
totalDurationSec: number;
|
|
516
|
-
audioAssetId?: string | undefined;
|
|
517
|
-
captionStyle?: {
|
|
518
|
-
preset?: "shorts" | "box" | undefined;
|
|
519
|
-
fontName?: string | undefined;
|
|
520
|
-
fontSizePx?: number | undefined;
|
|
521
|
-
textColor?: string | undefined;
|
|
522
|
-
outlineColor?: string | undefined;
|
|
523
|
-
highlightColor?: string | undefined;
|
|
524
|
-
position?: "lower" | "lower-middle" | "center" | undefined;
|
|
525
|
-
} | undefined;
|
|
526
|
-
}, {
|
|
527
|
-
version: 1;
|
|
528
|
-
projectId: string;
|
|
529
|
-
width: number;
|
|
530
|
-
height: number;
|
|
531
|
-
createdAt: string;
|
|
532
|
-
fps: number;
|
|
533
|
-
scenes: {
|
|
534
|
-
id: string;
|
|
535
|
-
durationSec: number;
|
|
536
|
-
assetId: string;
|
|
537
|
-
narration?: string | undefined;
|
|
538
|
-
onScreenText?: string | undefined;
|
|
539
|
-
}[];
|
|
540
|
-
totalDurationSec: number;
|
|
541
|
-
audioAssetId?: string | undefined;
|
|
542
|
-
captionStyle?: {
|
|
543
|
-
preset?: "shorts" | "box" | undefined;
|
|
544
|
-
fontName?: string | undefined;
|
|
545
|
-
fontSizePx?: number | undefined;
|
|
546
|
-
textColor?: string | undefined;
|
|
547
|
-
outlineColor?: string | undefined;
|
|
548
|
-
highlightColor?: string | undefined;
|
|
549
|
-
position?: "lower" | "lower-middle" | "center" | undefined;
|
|
550
|
-
} | undefined;
|
|
551
|
-
}>;
|
|
159
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
160
|
+
lower: "lower";
|
|
161
|
+
"lower-middle": "lower-middle";
|
|
162
|
+
center: "center";
|
|
163
|
+
}>>;
|
|
164
|
+
}, z.core.$strip>>;
|
|
165
|
+
}, z.core.$strip>;
|
|
552
166
|
export declare const renderJobSchema: z.ZodObject<{
|
|
553
167
|
id: z.ZodString;
|
|
554
|
-
status: z.ZodEnum<
|
|
168
|
+
status: z.ZodEnum<{
|
|
169
|
+
failed: "failed";
|
|
170
|
+
completed: "completed";
|
|
171
|
+
queued: "queued";
|
|
172
|
+
running: "running";
|
|
173
|
+
}>;
|
|
555
174
|
createdAt: z.ZodString;
|
|
556
175
|
updatedAt: z.ZodString;
|
|
557
176
|
projectDir: z.ZodString;
|
|
@@ -560,27 +179,5 @@ export declare const renderJobSchema: z.ZodObject<{
|
|
|
560
179
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
561
180
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
562
181
|
error: z.ZodOptional<z.ZodString>;
|
|
563
|
-
},
|
|
564
|
-
status: "failed" | "completed" | "queued" | "running";
|
|
565
|
-
id: string;
|
|
566
|
-
createdAt: string;
|
|
567
|
-
updatedAt: string;
|
|
568
|
-
projectDir: string;
|
|
569
|
-
outputPath: string;
|
|
570
|
-
logPath: string;
|
|
571
|
-
error?: string | undefined;
|
|
572
|
-
pid?: number | undefined;
|
|
573
|
-
exitCode?: number | null | undefined;
|
|
574
|
-
}, {
|
|
575
|
-
status: "failed" | "completed" | "queued" | "running";
|
|
576
|
-
id: string;
|
|
577
|
-
createdAt: string;
|
|
578
|
-
updatedAt: string;
|
|
579
|
-
projectDir: string;
|
|
580
|
-
outputPath: string;
|
|
581
|
-
logPath: string;
|
|
582
|
-
error?: string | undefined;
|
|
583
|
-
pid?: number | undefined;
|
|
584
|
-
exitCode?: number | null | undefined;
|
|
585
|
-
}>;
|
|
182
|
+
}, z.core.$strip>;
|
|
586
183
|
export declare function parseFile<T>(schema: z.ZodType<T>, value: unknown, filePath: string): T;
|
package/dist/video/schemas.js
CHANGED
|
@@ -29,7 +29,7 @@ export const projectSchema = z.object({
|
|
|
29
29
|
}).superRefine((project, ctx) => {
|
|
30
30
|
const total = project.scenes.reduce((sum, scene) => sum + scene.durationSec, 0);
|
|
31
31
|
if (Math.abs(total - project.settings.targetDurationSec) > 0.11) {
|
|
32
|
-
ctx.addIssue({ code:
|
|
32
|
+
ctx.addIssue({ code: 'custom', message: '장면 길이 합계가 targetDurationSec와 다릅니다.' });
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
export const assetSchema = z.object({
|
|
@@ -48,7 +48,7 @@ export const assetSchema = z.object({
|
|
|
48
48
|
prompt: z.string().max(100_000).optional(),
|
|
49
49
|
}).superRefine((asset, ctx) => {
|
|
50
50
|
if (asset.sourceType === 'reference-only' && asset.allowedForRendering) {
|
|
51
|
-
ctx.addIssue({ code:
|
|
51
|
+
ctx.addIssue({ code: 'custom', message: 'reference-only 자산은 렌더링을 허용할 수 없습니다.' });
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
export const assetManifestSchema = z.object({
|
|
@@ -87,7 +87,7 @@ export const timelineSchema = z.object({
|
|
|
87
87
|
}).superRefine((timeline, ctx) => {
|
|
88
88
|
const calculated = timeline.scenes.reduce((sum, scene) => sum + scene.durationSec, 0);
|
|
89
89
|
if (Math.abs(calculated - timeline.totalDurationSec) > 0.01) {
|
|
90
|
-
ctx.addIssue({ code:
|
|
90
|
+
ctx.addIssue({ code: 'custom', message: 'totalDurationSec가 장면 길이 합계와 다릅니다.' });
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
93
|
export const renderJobSchema = z.object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yoonion/mimi-seed-mcp",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.8",
|
|
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": {
|
|
@@ -70,13 +70,13 @@
|
|
|
70
70
|
"gaxios": "7.1.5"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@anthropic-ai/sdk": "^0.
|
|
73
|
+
"@anthropic-ai/sdk": "^0.137.0",
|
|
74
74
|
"@modelcontextprotocol/sdk": "^1.30.1",
|
|
75
|
-
"@onesub/providers": "^0.
|
|
75
|
+
"@onesub/providers": "^0.5.0",
|
|
76
76
|
"googleapis": "~178.0.0",
|
|
77
77
|
"jose": "^6.2.12",
|
|
78
78
|
"open": "^11.0.4",
|
|
79
|
-
"zod": "^
|
|
79
|
+
"zod": "^4.6.7"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@eslint/js": "^10.0.1",
|