feat: add motion design pipeline and restore Korean showcase corpus
This commit is contained in:
parent
b5f59ca87a
commit
047df4d08b
63 changed files with 2181 additions and 919 deletions
|
|
@ -23,6 +23,8 @@ const exec = promisify(execFile);
|
|||
export const TOOL_VERSIONS = {
|
||||
playwright: "1.62.1",
|
||||
playwrightMcp: "0.0.83",
|
||||
remotionCli: "4.0.539",
|
||||
lottieMcp: "0.2.3",
|
||||
} as const;
|
||||
|
||||
/**
|
||||
|
|
@ -86,6 +88,10 @@ async function exists(p: string): Promise<boolean> {
|
|||
export interface OptionalTool {
|
||||
id: string;
|
||||
label: string;
|
||||
/** 도구 분류. 생략하면 브라우저 도구로 취급한다 */
|
||||
category?: "browser" | "motion";
|
||||
/** 온보딩 기본 체크 여부. 생략하면 true */
|
||||
defaultSelected?: boolean;
|
||||
/** 이게 없으면 무엇을 못 하는가 — 고르는 사람이 판단할 수 있게 */
|
||||
why: string;
|
||||
/** 설치 크기 어림값. 수백 MB 를 말없이 받게 하지 않는다 */
|
||||
|
|
@ -157,7 +163,53 @@ const playwrightMcp: OptionalTool = {
|
|||
},
|
||||
};
|
||||
|
||||
export const OPTIONAL_TOOLS: OptionalTool[] = [playwright, playwrightMcp];
|
||||
/**
|
||||
* Remotion CLI — 코드 기반 모션 그래픽 영상(MP4/WebM) 렌더와 5지점 정지 프레임 추출에 쓴다.
|
||||
*/
|
||||
const remotionCli: OptionalTool = {
|
||||
id: "remotion-cli",
|
||||
label: "Remotion CLI (모션 그래픽 영상 렌더러)",
|
||||
category: "motion",
|
||||
defaultSelected: false,
|
||||
why: "React/CSS 토큰으로 모션 그래픽 영상(MP4/WebM)을 렌더하고 5지점 정지 프레임을 뽑아 자가 검수한다",
|
||||
size: "약 45MB",
|
||||
followUp: "npx skills add remotion-dev/skills",
|
||||
|
||||
async detect() {
|
||||
const root = await npmRoot();
|
||||
if (!root) return false;
|
||||
return exists(path.join(root, "@remotion", "cli"));
|
||||
},
|
||||
|
||||
async install() {
|
||||
await runNpm("npm", ["install", "-g", `@remotion/cli@${TOOL_VERSIONS.remotionCli}`]);
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
* Lottie Creator MCP — 프롬프트·벡터에서 Lottie/dotLottie 상태 애니메이션을 만들고 편집한다.
|
||||
*/
|
||||
const lottieMcp: OptionalTool = {
|
||||
id: "lottie-mcp",
|
||||
label: "Lottie Creator MCP 서버",
|
||||
category: "motion",
|
||||
defaultSelected: false,
|
||||
why: "에이전트가 벡터 모션(Lottie/dotLottie) 에셋을 생성·편집하고 테마 색 토큰에 맞춘다",
|
||||
size: "약 5MB",
|
||||
followUp: `claude mcp add lottie-creator -- npx @lottiefiles/creator-mcp@${TOOL_VERSIONS.lottieMcp}`,
|
||||
|
||||
async detect() {
|
||||
const root = await npmRoot();
|
||||
if (!root) return false;
|
||||
return exists(path.join(root, "@lottiefiles", "creator-mcp"));
|
||||
},
|
||||
|
||||
async install() {
|
||||
await runNpm("npm", ["install", "-g", `@lottiefiles/creator-mcp@${TOOL_VERSIONS.lottieMcp}`]);
|
||||
},
|
||||
};
|
||||
|
||||
export const OPTIONAL_TOOLS: OptionalTool[] = [playwright, playwrightMcp, remotionCli, lottieMcp];
|
||||
|
||||
export interface ToolStatus {
|
||||
tool: OptionalTool;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue