@fractary/codex 0.12.10 → 0.12.13

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.cjs CHANGED
@@ -4171,7 +4171,7 @@ var ConfigManager = class {
4171
4171
  /**
4172
4172
  * Initialize the codex section in an existing unified config.
4173
4173
  *
4174
- * Requires .fractary/config.yaml to already exist (created by @fractary/core's config-initialize).
4174
+ * Requires .fractary/config.yaml to already exist (created by @fractary/core's config-init).
4175
4175
  * Creates codex-specific directories, gitignore entries, and MCP server configuration.
4176
4176
  *
4177
4177
  * @param options - Initialization options
@@ -4230,12 +4230,12 @@ var ConfigManager = class {
4230
4230
  const existingConfig = await readUnifiedConfig(configPath);
4231
4231
  if (!existingConfig) {
4232
4232
  throw new exports.ValidationError(
4233
- "Configuration not found at .fractary/config.yaml. Run config-initialize first."
4233
+ "Configuration not found at .fractary/config.yaml. Run config-init first."
4234
4234
  );
4235
4235
  }
4236
4236
  if (!existingConfig.codex) {
4237
4237
  throw new exports.ValidationError(
4238
- "Codex section not found in .fractary/config.yaml. Run config-initialize first to create the codex configuration."
4238
+ "Codex section not found in .fractary/config.yaml. Run config-init first to create the codex configuration."
4239
4239
  );
4240
4240
  }
4241
4241
  const codex = { ...existingConfig.codex };
@@ -5326,10 +5326,13 @@ var SyncManager = class {
5326
5326
  let synced = 0;
5327
5327
  let failed = 0;
5328
5328
  if (options?.dryRun) {
5329
+ const actualChanges = plan.files.filter(
5330
+ (f) => f.operation === "create" || f.operation === "update" || f.operation === "delete"
5331
+ ).length;
5329
5332
  return {
5330
5333
  success: true,
5331
5334
  plan,
5332
- synced: plan.totalFiles,
5335
+ synced: actualChanges,
5333
5336
  failed: 0,
5334
5337
  skipped: plan.skipped.length,
5335
5338
  errors: [],