docuking-mcp 1.9.1 → 1.9.2

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.
Files changed (2) hide show
  1. package/index.js +8 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1963,6 +1963,9 @@ function findDocuKingFolder(projectPath) {
1963
1963
 
1964
1964
  // 유틸: 디렉토리 재귀 탐색
1965
1965
  // excludedFiles: 제외된 파일 목록을 수집할 배열 (선택)
1966
+ // AI 작업 기록 폴더 (공유 제외 대상)
1967
+ const AI_WORK_FOLDERS = ['z_Talk', 'z_Todo', 'z_King_Todo', 'zz_Plan_Result'];
1968
+
1966
1969
  function collectFiles(basePath, relativePath, results, excludedFiles = null) {
1967
1970
  const fullPath = path.join(basePath, relativePath);
1968
1971
  const entries = fs.readdirSync(fullPath, { withFileTypes: true });
@@ -1971,6 +1974,11 @@ function collectFiles(basePath, relativePath, results, excludedFiles = null) {
1971
1974
  const entryRelPath = relativePath ? `${relativePath}/${entry.name}` : entry.name;
1972
1975
 
1973
1976
  if (entry.isDirectory()) {
1977
+ // AI 작업 기록 폴더는 제외 (z_Talk, z_Todo, z_King_Todo, zz_Plan_Result)
1978
+ if (AI_WORK_FOLDERS.includes(entry.name)) {
1979
+ console.error(`[DocuKing] 제외됨: ${entryRelPath}/ (AI 작업 기록 폴더 - 개인용)`);
1980
+ continue;
1981
+ }
1974
1982
  collectFiles(basePath, entryRelPath, results, excludedFiles);
1975
1983
  } else if (entry.isFile()) {
1976
1984
  const fileType = getFileType(entry.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docuking-mcp",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "DocuKing MCP Server - AI 시대의 문서 협업 플랫폼",
5
5
  "type": "module",
6
6
  "main": "index.js",