ccsini 0.1.8 → 0.1.9

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/dist/index.js +8 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -26950,7 +26950,7 @@ var {
26950
26950
  } = import__.default;
26951
26951
 
26952
26952
  // src/version.ts
26953
- var VERSION = "0.1.8";
26953
+ var VERSION = "0.1.9";
26954
26954
 
26955
26955
  // src/commands/init.ts
26956
26956
  init_source();
@@ -28041,7 +28041,9 @@ var NEVER_SYNC_PATTERNS = [
28041
28041
  "statsig/**",
28042
28042
  "telemetry/**",
28043
28043
  "stats-cache.json",
28044
- "image-cache/**"
28044
+ "image-cache/**",
28045
+ "file-history/**",
28046
+ "**/node_modules/**"
28045
28047
  ];
28046
28048
  var JWT_EXPIRY_SECONDS = 900;
28047
28049
  var MAX_CONCURRENT_TRANSFERS = 10;
@@ -28356,13 +28358,16 @@ async function hashFile(filePath) {
28356
28358
  const content = await readFile4(filePath);
28357
28359
  return createHash("sha256").update(content).digest("hex");
28358
28360
  }
28359
- var EXCLUDED_DIRS = NEVER_SYNC_PATTERNS.filter((p) => p.endsWith("/**")).map((p) => p.replace("/**", ""));
28361
+ var EXCLUDED_DIRS = NEVER_SYNC_PATTERNS.filter((p) => p.endsWith("/**") && !p.startsWith("**/")).map((p) => p.replace("/**", ""));
28362
+ var EXCLUDED_DIR_NAMES = new Set(NEVER_SYNC_PATTERNS.filter((p) => p.startsWith("**/") && p.endsWith("/**")).map((p) => p.replace("**/", "").replace("/**", "")));
28360
28363
  async function scanDir(baseDir, currentDir, results, onProgress) {
28361
28364
  const entries = await readdir(currentDir, { withFileTypes: true });
28362
28365
  for (const entry of entries) {
28363
28366
  const fullPath = join4(currentDir, entry.name);
28364
28367
  const relativePath = relative(baseDir, fullPath).split("\\").join("/");
28365
28368
  if (entry.isDirectory()) {
28369
+ if (EXCLUDED_DIR_NAMES.has(entry.name))
28370
+ continue;
28366
28371
  if (EXCLUDED_DIRS.includes(relativePath))
28367
28372
  continue;
28368
28373
  await scanDir(baseDir, fullPath, results, onProgress);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccsini",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Claude Code seamless sync across devices",
5
5
  "type": "module",
6
6
  "bin": {