@fractary/codex 0.9.1 → 0.11.0

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.d.cts CHANGED
@@ -1744,6 +1744,8 @@ declare class SyncManager {
1744
1744
  constructor(options: SyncManagerConfig);
1745
1745
  private resolveFromCodexPatterns;
1746
1746
  private resolveToCodexPatterns;
1747
+ getToCodexPatterns(): string[];
1748
+ getFromCodexPatterns(): string[];
1747
1749
  loadManifest(): Promise<SyncManifest | null>;
1748
1750
  saveManifest(manifest: SyncManifest): Promise<void>;
1749
1751
  getOrCreateManifest(org: string, project: string): Promise<SyncManifest>;
package/dist/index.d.ts CHANGED
@@ -1744,6 +1744,8 @@ declare class SyncManager {
1744
1744
  constructor(options: SyncManagerConfig);
1745
1745
  private resolveFromCodexPatterns;
1746
1746
  private resolveToCodexPatterns;
1747
+ getToCodexPatterns(): string[];
1748
+ getFromCodexPatterns(): string[];
1747
1749
  loadManifest(): Promise<SyncManifest | null>;
1748
1750
  saveManifest(manifest: SyncManifest): Promise<void>;
1749
1751
  getOrCreateManifest(org: string, project: string): Promise<SyncManifest>;
package/dist/index.js CHANGED
@@ -3675,6 +3675,24 @@ var SyncManager = class {
3675
3675
  }
3676
3676
  return this.config.default_to_codex || [];
3677
3677
  }
3678
+ /**
3679
+ * Get resolved to-codex include patterns (public accessor)
3680
+ *
3681
+ * Returns the resolved patterns from config, handling both new format
3682
+ * (to_codex.include) and legacy format (default_to_codex).
3683
+ */
3684
+ getToCodexPatterns() {
3685
+ return this.resolveToCodexPatterns();
3686
+ }
3687
+ /**
3688
+ * Get resolved from-codex include patterns (public accessor)
3689
+ *
3690
+ * Returns the resolved patterns from config, handling both new format
3691
+ * (from_codex.include) and legacy format (default_from_codex).
3692
+ */
3693
+ getFromCodexPatterns() {
3694
+ return this.resolveFromCodexPatterns();
3695
+ }
3678
3696
  /**
3679
3697
  * Load the sync manifest
3680
3698
  */