| type | Feature | |||
|---|---|---|---|---|
| title | Live Sync | |||
| description | Bundles stay current as their files change — local folders are watched and the UI is patched in place without losing state. | |||
| resource | https://github.com/ryansann/okfview/blob/main/src/main/sources/local.ts | |||
| tags |
|
|||
| timestamp | 2026-06-18 00:00:00 UTC |
A core differentiator: open a bundle and edit its files, and okfview reflects the change near-instantly.
- A source adapter watches the origin —
chokidarfor local folders, polling for git/HTTP. - On change, the main process re-loads and re-parses via the OKF core and emits a change event over the context bridge.
- The renderer patches the bundle in its store in place — selection, scroll, graph layout, and MCP scope are preserved.
Because reads always reflect the live workspace, agents connected over MCP see the same fresh state with no extra work. The same persisted bundle list powers Recents, so reopen and live reload use the same source path.