Metadata-Version: 2.4
Name: current-sync
Version: 0.1.0
Summary: Git-watch I2I synchronization — Ship Protocol Layer 3. Ocean currents between agent vessels.
Author-email: Oracle1 <oracle1@cocapn.ai>
License-Expression: MIT
Project-URL: Homepage, https://github.com/SuperInstance/current-sync
Keywords: sync,git-watch,i2i,agent,cocapn,ship-protocol
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# current-sync

Git-watch I2I synchronization. Ship Protocol Layer 3. Ocean currents carrying messages between agent vessels.

Watch repos for changes, propagate updates between agents, track sync events. In production, calls git pull/push. In library mode, provides the sync scheduling and event tracking framework.

## Usage

```python
from current_sync import CurrentSync, SyncTarget

sync = CurrentSync()
sync.add_target(SyncTarget(repo="SuperInstance/oracle1-vessel", path_pattern="for-fleet/**"))
sync.add_target(SyncTarget(repo="Lucineer/the-seed", poll_interval=60))

due = sync.check_due()  # targets needing a sync
event = sync.simulate_sync("oracle1", "jc1", ["BOTTLE-TO-JC1.md"])
```

Zero deps. `pip install current-sync`
