@fractary/codex-mcp 0.10.0 → 0.10.1

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
@@ -12667,12 +12667,21 @@ var SyncRulesSchema = external_exports.object({
12667
12667
  defaultInclude: external_exports.array(external_exports.string()).optional(),
12668
12668
  defaultExclude: external_exports.array(external_exports.string()).optional()
12669
12669
  });
12670
+ var DirectionalSyncConfigSchema = external_exports.object({
12671
+ /** Patterns to include (required) */
12672
+ include: external_exports.array(external_exports.string()),
12673
+ /** Patterns to exclude (optional) */
12674
+ exclude: external_exports.array(external_exports.string()).optional()
12675
+ });
12670
12676
  var DirectionalSyncSchema = external_exports.object({
12677
+ // New format (v0.7.0+) - Recommended
12671
12678
  // Patterns for files to push from this project to codex
12672
- to_codex: external_exports.array(external_exports.string()).optional(),
12679
+ to_codex: DirectionalSyncConfigSchema.optional(),
12673
12680
  // Patterns for files to pull from codex to this project
12674
- // Format: "project-name/path/pattern" or "project-name/**"
12675
- from_codex: external_exports.array(external_exports.string()).optional(),
12681
+ from_codex: DirectionalSyncConfigSchema.optional(),
12682
+ // Global exclude patterns (applied to both directions)
12683
+ exclude: external_exports.array(external_exports.string()).optional(),
12684
+ // Legacy format (deprecated, backward compatible)
12676
12685
  // Org-level defaults (only in codex repository config)
12677
12686
  default_to_codex: external_exports.array(external_exports.string()).optional(),
12678
12687
  default_from_codex: external_exports.array(external_exports.string()).optional()