@fractary/codex 0.12.11 → 0.12.14

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/dist/index.js CHANGED
@@ -5302,10 +5302,13 @@ var SyncManager = class {
5302
5302
  let synced = 0;
5303
5303
  let failed = 0;
5304
5304
  if (options?.dryRun) {
5305
+ const actualChanges = plan.files.filter(
5306
+ (f) => f.operation === "create" || f.operation === "update" || f.operation === "delete"
5307
+ ).length;
5305
5308
  return {
5306
5309
  success: true,
5307
5310
  plan,
5308
- synced: plan.totalFiles,
5311
+ synced: actualChanges,
5309
5312
  failed: 0,
5310
5313
  skipped: plan.skipped.length,
5311
5314
  errors: [],