Repository navigation
Releases
v0.2.0-v2.1 - OpenCode V2 offline preview
OpenCode V2 sync preview 0.2.0-v2.1
Предварительная сборка для OpenCode CLI 2.0.29. Публикация этого релиза не устанавливает обновление и не мигрирует рабочие базы.
- Отдельный транспорт V2: сессии, сообщения, события, sequence, инструкции и immutable blobs. Адаптер V1 сохранён; форматы V1/V2 не смешиваются.
- Нативный V2 plugin entrypoint, проверка схемы/конфликтов, транзакционный импорт и резервная копия перед импортом.
- Импорт V2 только при полностью закрытом OpenCode через
pull --offline. - Прерванные архивы можно сохранить неизменными через
push --offline. Активное исполнение, очереди, неизвестные состояния инструментов и SQLite-журналы остаются блокирующими.
На изолированных Windows-копиях проверен A → B → A для четырёх ранее заблокированных историй: 7669 исходных сообщений и пять незавершённых записей сохранены. Три сессии продолжились под прежними ID; для одной создана native fork перед незавершённым хвостом, с сохранением полного оригинала. Восемь новых завершённых ответов локального тестового провайдера подтверждены на обеих репликах. Полные нормализованные снимки A/B совпали; SQLite integrity и повторный импорт прошли.
Проверки: 167 тестов, lint, typecheck, build и независимый review. Установленный архив совпадает с проверенной сборкой по 112 файлам.
Перед использованием прочитайте совместимость V2 и незавершённые истории.
Нужны отдельные закрытые резервные копии A/B, новый V2-репозиторий сессий и обновление старого loader на каталог пакета с server.js. Само обновление пакета старый loader не заменяет. Автоматический pull отключён для V2; live-экспорт незавершённых архивов по-прежнему отклоняется. Используйте один активный компьютер.
Полный перенос актуальных рабочих баз обоих компьютеров, Windows Desktop, реальные внешние провайдеры и сторонние плагины ещё требуют отдельной проверки. Этот prerelease не является разрешением на их миграцию. Новая история V2 при откате сохраняется отдельно; преобразование её обратно в V1 без потерь не доказано.
Файлы релиза: npm-архив, архив исходников и SHA-256. Личные профили компьютеров, конфигурации, токены, базы, тексты диалогов и диагностические отчёты с ID сессий в assets не включены. В npm эта версия не публикуется.
v0.1.1 - Desktop visibility diagnostics
OpenCode Multidevice Sync 0.1.1
Patch release focused on a real Desktop visibility issue discovered during two-device migration.
Added
omds sessions locationsgroups root/child sessions by OpenCode project directory.omds doctorreports those locations and best-effort DesktoplastProjectvisibility mismatches.omds pullprints session locations after session processing.- Best-effort Desktop-state readers for Windows, macOS and Linux.
Compatibility
- Plugin SDK dependency updated to OpenCode 1.18.31.
- OpenCode 1.18.30 session schema remains covered by regression tests.
- No session shard format change in this patch.
- OMDS never rewrites OpenCode Desktop UI state automatically.
Verification
- 121 tests pass locally.
- CI passes on Windows, Ubuntu and macOS with Node 22 and 24.
- Release-candidate workflow passes check, pack and production-dependency audit.
- npm audit: 0 known vulnerabilities.
This remains an early preview. Keep backups and use one active computer at a time.
v0.1.0 - Early preview
OpenCode Multidevice Sync 0.1.0
Early preview for testing, not a stable production release. Keep independent backups and use one active device at a time.
Included
- Configuration, skills, plugins and selected session shards via a separate private GitHub repository.
- Non-destructive UPSERT, whole-batch transactional import, schema/ownership validation and pre-commit integrity checks.
- Preservation of existing machine-local project metadata, including the synthetic
globalproject. - Deterministic exports and per-session content baselines for detecting divergent edits.
- Verified SQLite backups,
doctor, offline-onlyrestoreand isolated dry-run previews. - Canonical/local path mapping and opt-in, debounced auto-push.
Validation
- 115 tests passed in each of six CI environments: Windows, Ubuntu and macOS with Node.js 22 and 24.
- Lint, TypeScript checks, builds, packaging and entry-point checks passed.
- The separate release-candidate verification workflow also passed.
- CI: https://github.com/logser13/opencode-multidevice-sync/actions/runs/34769325500
- Release verification: https://github.com/logser13/opencode-multidevice-sync/actions/runs/34769615765
Installation
Download the attached .tgz, verify its SHA-256 against SHA256SUMS.txt, then install using npm install -g ./opencode-multidevice-sync-0.1.0.tgz. On restricted Windows PowerShell, use npm.cmd and omds.cmd.
This is a GitHub release, not an npm registry publication. Plugin activation is a separate step; follow the README and migration guide. Never run the old sync plugin/safe-wrapper alongside this plugin.
Important limits
Tested against the OpenCode 1.18.30 schema; other schemas require testing. CI is not a live two-Desktop acceptance test. Local locking is not distributed locking. Conflicting histories require manual review. Source files, browser profiles and credentials are not automatically transferred. A private data repository is not end-to-end encryption; session text may contain sensitive data.
The public source repository must never be used as your sync-data repository.
Based on doomsday616/opencode-github-sync 3.0.1 under MIT. Original copyright and permission notices are retained in LICENSE and NOTICE. Community fork, not an official OpenCode release.