# SyncMonitor

UMLClass
Skill Seekers :: skill_seekers :: Sync :: SyncMonitor

### Description

Monitors documentation for changes and triggers updates. Features: continuous monitoring with configurable intervals, state persistence, change detection and diff generation, notification system, auto-update capability. Supports context manager protocol.

### Interfaces

### Attributes

Visibility | Name | Type | Description
--- | --- | --- | ---
public | config_path | Path |
public | check_interval | int |
public | auto_update | bool |
public | on_change | Callable | None |
public | skill_config | dict |
public | skill_name | str |
public | state_file | Path |
public | detector | ChangeDetector |
public | notifier | Notifier |
public | state | SyncState |
private | _running | bool |
private | _thread | Thread | None |

### Operations

Visibility | Name | Description
--- | --- | ---
public | monitor() |
public | check() |
public | check_now(generate_diffs: bool): ChangeReport() |
public | start()() |
public | stop()() |
public | stats(): dict() |
private | _load_state(): SyncState() |
private | _save_state()() |
private | _notify(report: ChangeReport)() |
private | _trigger_update(report: ChangeReport)() |

### Properties

Name | Value
--- | ---
name | SyncMonitor
stereotype | null
visibility | public
isAbstract | false
isFinalSpecialization | false
isLeaf | false
isActive | false

### Dependencies

### Relationships

### Owned Elements

### Diagrams