@fractary/codex-cli 0.10.23 → 0.10.25

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.js CHANGED
@@ -1151,11 +1151,16 @@ function syncCommand() {
1151
1151
  workId: options.workId || null,
1152
1152
  files: [],
1153
1153
  synced: 0,
1154
+ skipped: plan.skipped.length,
1154
1155
  status: "success",
1155
- message: "No files to sync"
1156
+ message: plan.skipped.length > 0 ? `No files to sync - ${plan.skipped.length} already in sync` : "No files to sync"
1156
1157
  }, null, 2));
1157
1158
  } else {
1158
- console.log(chalk10.yellow("No files to sync."));
1159
+ if (plan.skipped.length > 0) {
1160
+ console.log(chalk10.green(`\u2713 All files already in sync (${plan.skipped.length} files)`));
1161
+ } else {
1162
+ console.log(chalk10.yellow("No files to sync."));
1163
+ }
1159
1164
  }
1160
1165
  return;
1161
1166
  }
@@ -1252,7 +1257,7 @@ function syncCommand() {
1252
1257
  console.log("");
1253
1258
  }
1254
1259
  if (plan.skipped.length > 0) {
1255
- console.log(chalk10.dim(`${plan.skipped.length} files skipped (no changes)`));
1260
+ console.log(chalk10.dim(`${plan.skipped.length} files already in sync (skipped)`));
1256
1261
  console.log("");
1257
1262
  }
1258
1263
  if (options.dryRun) {
@@ -1294,7 +1299,7 @@ Total: ${plan.totalFiles} files (${formatBytes(plan.totalBytes)})`));
1294
1299
  console.log(chalk10.green(`\u2713 Sync completed successfully`));
1295
1300
  console.log(chalk10.dim(` Synced: ${result.synced} files`));
1296
1301
  if (result.skipped > 0) {
1297
- console.log(chalk10.dim(` Skipped: ${result.skipped} files`));
1302
+ console.log(chalk10.dim(` Already in sync: ${result.skipped} files`));
1298
1303
  }
1299
1304
  console.log(chalk10.dim(` Duration: ${formatDuration(duration)}`));
1300
1305
  } else {
@@ -1302,7 +1307,7 @@ Total: ${plan.totalFiles} files (${formatBytes(plan.totalBytes)})`));
1302
1307
  console.log(chalk10.green(` Synced: ${result.synced} files`));
1303
1308
  console.log(chalk10.red(` Failed: ${result.failed} files`));
1304
1309
  if (result.skipped > 0) {
1305
- console.log(chalk10.dim(` Skipped: ${result.skipped} files`));
1310
+ console.log(chalk10.dim(` Already in sync: ${result.skipped} files`));
1306
1311
  }
1307
1312
  if (result.errors.length > 0) {
1308
1313
  console.log("");