adyou 0.3.0 → 0.5.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/dist/adapters/meta.d.ts +2 -0
- package/dist/adapters/meta.js +121 -44
- package/dist/adapters/mock.js +24 -10
- package/dist/adapters/types.d.ts +30 -0
- package/dist/adapters/types.js +16 -0
- package/dist/cli.js +2 -2
- package/dist/core/brief.js +12 -3
- package/dist/core/creatives/copy.d.ts +12 -3
- package/dist/core/creatives/copy.js +27 -6
- package/dist/core/creatives/factory.d.ts +29 -0
- package/dist/core/creatives/factory.js +183 -0
- package/dist/core/creatives/images.d.ts +31 -2
- package/dist/core/creatives/images.js +126 -57
- package/dist/core/creatives/media.d.ts +118 -0
- package/dist/core/creatives/media.js +91 -0
- package/dist/core/creatives/playbook.d.ts +40 -0
- package/dist/core/creatives/playbook.js +61 -0
- package/dist/core/creatives/render.d.ts +23 -2
- package/dist/core/creatives/render.js +80 -5
- package/dist/core/creatives/siteshots.d.ts +9 -0
- package/dist/core/creatives/siteshots.js +53 -0
- package/dist/core/creatives/storyboard.d.ts +70 -0
- package/dist/core/creatives/storyboard.js +149 -0
- package/dist/core/creatives/video.d.ts +35 -0
- package/dist/core/creatives/video.js +177 -0
- package/dist/core/creatives/videofx.d.ts +59 -0
- package/dist/core/creatives/videofx.js +125 -0
- package/dist/core/llm.js +9 -2
- package/dist/core/ops.d.ts +6 -0
- package/dist/core/ops.js +38 -6
- package/dist/core/site.d.ts +2 -0
- package/dist/core/site.js +5 -1
- package/dist/core/state.d.ts +43 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +7 -0
- package/dist/mcp.js +2 -2
- package/package.json +1 -1
package/dist/mcp.js
CHANGED
|
@@ -34,9 +34,9 @@ export async function startMcp() {
|
|
|
34
34
|
catch (e) {
|
|
35
35
|
return err(e);
|
|
36
36
|
} });
|
|
37
|
-
server.registerTool('adyou_creatives', { description: '컨셉·카피 생성 + 배경 이미지 + 12규격 소재 합성 + 규격 검사. feedback을 주면 그 방향으로 전부 다시 만든다.', inputSchema: { project: z.string().optional(), concepts: z.number().optional(), feedback: z.string().optional(), imagesFolder: z.string().optional(), noImages: z.boolean().optional() } }, async (a) => { try {
|
|
37
|
+
server.registerTool('adyou_creatives', { description: '컨셉·카피 생성 + 배경 이미지 + 12규격 소재 합성 + 규격 검사. feedback을 주면 그 방향으로 전부 다시 만든다.', inputSchema: { project: z.string().optional(), concepts: z.number().optional(), feedback: z.string().optional(), mode: z.enum(['auto', 'image', 'video', 'text']).optional(), video: z.boolean().optional(), videoSeconds: z.number().optional(), requirements: z.string().optional(), imagesFolder: z.string().optional(), noImages: z.boolean().optional() } }, async (a) => { try {
|
|
38
38
|
const logs = [];
|
|
39
|
-
const { project, report } = await opCreatives(proj(a.project), { count: a.concepts, feedback: a.feedback, images: a.imagesFolder, noImages: a.noImages, log: (s) => logs.push(s) });
|
|
39
|
+
const { project, report } = await opCreatives(proj(a.project), { count: a.concepts, feedback: a.feedback, images: a.imagesFolder, noImages: a.noImages, mode: a.mode, video: a.video, videoSeconds: a.videoSeconds, requirements: a.requirements, log: (s) => logs.push(s) });
|
|
40
40
|
return text(`컨셉 ${project.concepts.length} · 소재 ${project.assets.length}장\n${project.concepts.map((c) => `· ${c.name}(${c.key}) — ${c.headlines[0]} / ${c.bodies[0]}`).join('\n')}\n${report.length ? `규격 경고:\n${report.join('\n')}\n` : ''}갤러리: ~/.adpilot/projects/${project.slug}/creatives/index.html`);
|
|
41
41
|
}
|
|
42
42
|
catch (e) {
|
package/package.json
CHANGED