czon 0.8.7 → 0.8.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.
@@ -85,7 +85,8 @@ const processSummary = async (model) => {
85
85
  const baseContent = await loadPromptTemplate('summary-base');
86
86
  // Phase 0: 清空 SUMMARY 目录
87
87
  console.info('🗑️ 清空 SUMMARY 目录...');
88
- await (0, opencode_1.runOpenCode)('rm -rf SUMMARY && mkdir -p SUMMARY', { model, cwd });
88
+ await (0, promises_1.rm)((0, path_1.join)(cwd, 'SUMMARY'), { recursive: true, force: true });
89
+ await (0, promises_1.mkdir)((0, path_1.join)(cwd, 'SUMMARY'), { recursive: true });
89
90
  // Phase 1: 串行生成 8 种风格报告
90
91
  console.info(`\n📊 开始生成 ${SUMMARY_STYLES.length} 种风格的分析报告...\n`);
91
92
  const results = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "czon",
3
- "version": "0.8.7",
3
+ "version": "0.8.8",
4
4
  "description": "CZON - AI enhanced Markdown content engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",