makecc 0.1.0 → 0.2.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 +76 -0
- package/bin/cli.js +10 -1
- package/dist/client/assets/index-C3whdqo5.css +1 -0
- package/dist/client/assets/index-sLSbr7SJ.js +134 -0
- package/dist/client/index.html +2 -2
- package/package.json +1 -1
- package/server/services/fileService.ts +2 -1
- package/server/services/skillExecutionService.ts +2 -1
- package/dist/client/assets/index-BkAJX_uj.js +0 -133
- package/dist/client/assets/index-CRHGYTA2.css +0 -1
package/dist/client/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>vite-temp</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-sLSbr7SJ.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-C3whdqo5.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -70,7 +70,8 @@ export class FileService {
|
|
|
70
70
|
private projectRoot: string;
|
|
71
71
|
|
|
72
72
|
constructor(projectRoot?: string) {
|
|
73
|
-
|
|
73
|
+
// MAKECC_PROJECT_PATH: npx makecc 실행 시 사용자 프로젝트 경로
|
|
74
|
+
this.projectRoot = projectRoot || process.env.MAKECC_PROJECT_PATH || process.cwd();
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Anthropic from '@anthropic-ai/sdk';
|
|
2
2
|
import { GoogleGenerativeAI } from '@google/generative-ai';
|
|
3
3
|
import ExcelJS from 'exceljs';
|
|
4
|
-
import
|
|
4
|
+
import pptxgen from 'pptxgenjs';
|
|
5
5
|
import { writeFile, mkdir } from 'fs/promises';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
import { existsSync } from 'fs';
|
|
@@ -286,6 +286,7 @@ ${input}
|
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
// 2단계: PptxGenJS로 실제 파일 생성
|
|
289
|
+
const PptxGenJS = (pptxgen as any).default || pptxgen;
|
|
289
290
|
const pptx = new PptxGenJS();
|
|
290
291
|
pptx.author = pptData.author || 'Million Agent';
|
|
291
292
|
pptx.title = pptData.title;
|