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.
@@ -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-BkAJX_uj.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-CRHGYTA2.css">
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makecc",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Visual workflow builder for Claude Code agents and skills",
6
6
  "keywords": [
@@ -70,7 +70,8 @@ export class FileService {
70
70
  private projectRoot: string;
71
71
 
72
72
  constructor(projectRoot?: string) {
73
- this.projectRoot = projectRoot || process.cwd();
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 PptxGenJS from 'pptxgenjs';
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;