@fractary/codex-cli 0.10.22 → 0.10.24

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/cli.cjs CHANGED
@@ -1183,11 +1183,16 @@ function syncCommand() {
1183
1183
  workId: options.workId || null,
1184
1184
  files: [],
1185
1185
  synced: 0,
1186
+ skipped: plan.skipped.length,
1186
1187
  status: "success",
1187
- message: "No files to sync"
1188
+ message: plan.skipped.length > 0 ? `No files to sync - ${plan.skipped.length} already in sync` : "No files to sync"
1188
1189
  }, null, 2));
1189
1190
  } else {
1190
- console.log(chalk10__default.default.yellow("No files to sync."));
1191
+ if (plan.skipped.length > 0) {
1192
+ console.log(chalk10__default.default.green(`\u2713 All files already in sync (${plan.skipped.length} files)`));
1193
+ } else {
1194
+ console.log(chalk10__default.default.yellow("No files to sync."));
1195
+ }
1191
1196
  }
1192
1197
  return;
1193
1198
  }
@@ -1284,7 +1289,7 @@ function syncCommand() {
1284
1289
  console.log("");
1285
1290
  }
1286
1291
  if (plan.skipped.length > 0) {
1287
- console.log(chalk10__default.default.dim(`${plan.skipped.length} files skipped (no changes)`));
1292
+ console.log(chalk10__default.default.dim(`${plan.skipped.length} files already in sync (skipped)`));
1288
1293
  console.log("");
1289
1294
  }
1290
1295
  if (options.dryRun) {
@@ -1326,7 +1331,7 @@ Total: ${plan.totalFiles} files (${codex.formatBytes(plan.totalBytes)})`));
1326
1331
  console.log(chalk10__default.default.green(`\u2713 Sync completed successfully`));
1327
1332
  console.log(chalk10__default.default.dim(` Synced: ${result.synced} files`));
1328
1333
  if (result.skipped > 0) {
1329
- console.log(chalk10__default.default.dim(` Skipped: ${result.skipped} files`));
1334
+ console.log(chalk10__default.default.dim(` Already in sync: ${result.skipped} files`));
1330
1335
  }
1331
1336
  console.log(chalk10__default.default.dim(` Duration: ${codex.formatDuration(duration)}`));
1332
1337
  } else {
@@ -1334,7 +1339,7 @@ Total: ${plan.totalFiles} files (${codex.formatBytes(plan.totalBytes)})`));
1334
1339
  console.log(chalk10__default.default.green(` Synced: ${result.synced} files`));
1335
1340
  console.log(chalk10__default.default.red(` Failed: ${result.failed} files`));
1336
1341
  if (result.skipped > 0) {
1337
- console.log(chalk10__default.default.dim(` Skipped: ${result.skipped} files`));
1342
+ console.log(chalk10__default.default.dim(` Already in sync: ${result.skipped} files`));
1338
1343
  }
1339
1344
  if (result.errors.length > 0) {
1340
1345
  console.log("");