docuking-mcp 2.2.0 → 2.2.1
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/index.js +16 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2042,11 +2042,26 @@ async function handlePull(args) {
|
|
|
2042
2042
|
}
|
|
2043
2043
|
}
|
|
2044
2044
|
|
|
2045
|
+
// 결과 요약
|
|
2046
|
+
const successCount = results.filter(r => r.startsWith('✓')).length;
|
|
2047
|
+
const failCount = results.filter(r => r.startsWith('✗')).length;
|
|
2048
|
+
|
|
2049
|
+
// 실패한 파일만 상세 표시, 성공은 개수만
|
|
2050
|
+
const failedFiles = results.filter(r => r.startsWith('✗'));
|
|
2051
|
+
|
|
2052
|
+
let summary = `Pull 완료! (${successCount}개 성공`;
|
|
2053
|
+
if (failCount > 0) {
|
|
2054
|
+
summary += `, ${failCount}개 실패)`;
|
|
2055
|
+
summary += `\n\n실패 목록:\n${failedFiles.join('\n')}`;
|
|
2056
|
+
} else {
|
|
2057
|
+
summary += ')';
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2045
2060
|
return {
|
|
2046
2061
|
content: [
|
|
2047
2062
|
{
|
|
2048
2063
|
type: 'text',
|
|
2049
|
-
text:
|
|
2064
|
+
text: summary,
|
|
2050
2065
|
},
|
|
2051
2066
|
],
|
|
2052
2067
|
};
|