Skip to content

Releases

v0.1.3

Choose a tag to compare

@u-foka u-foka released this 20 Nov 15:09

Patch release: the status bar and sidebar update live again when installed from npm.

  • opencode 2.3.2 doesn't run its Solid JSX transform on .tsx files installed under node_modules (anomalyco/opencode#39986), so the npm-installed plugin loaded its own copy of solid-js: the status rendered once and only changed when the screen was rebuilt (switching sessions, restarting). Loading from a local folder or submodule was not affected.
  • The plugin now ships compiled JavaScript (dist/tui.js), and solid-js, @opentui/* and @opencode/plugin are optional peers, so npm no longer installs a second copy of them.
  • dist/ is committed, so git checkouts (e.g. a submodule in the config folder) keep working without a build step.
  • Version bump 0.1.2 → 0.1.3.

npm: npm install opencode-git-config-sync@0.1.3

v0.1.2

Choose a tag to compare

@u-foka u-foka released this 20 Nov 11:47

Patch release: the status no longer hangs on a stuck background check.

  • The background git fetch behind the status now gives up after 60s and runs ssh in batch mode (keeping your core.sshCommand / GIT_SSH_COMMAND), so an unknown host key or a passphrase prompt can no longer freeze the status bar and sidebar until restart.
  • /config-sync-refresh now says when a status check or sync is already running, instead of silently doing nothing.
  • README: pinned-version example updated (it was missed in 0.1.1) and the fetch behavior documented.
  • Version bump 0.1.1 → 0.1.2.

npm: npm install opencode-git-config-sync@0.1.2

v0.1.1

Choose a tag to compare

@u-foka u-foka released this 19 Nov 20:50

Patch release: fix npm install (plugin failed to load from npm).

  • Embedded the Solid JSX transform pragma in src/tui.tsx so opencode's runtime transpiler selects Solid instead of defaulting to React ("Cannot find package 'react'").
  • Shipped tsconfig.json was considered but dropped to match the established opencode TUI plugin convention (pre-built dist is the long-term target; tracked for 0.2.0).
  • Version bump 0.1.0 → 0.1.1 (0.1.0 cannot be republished).

npm: npm install opencode-git-config-sync@0.1.1

v0.1.0

Choose a tag to compare

@u-foka u-foka released this 19 Nov 20:13

Initial release.

  • Live config repo status in the TUI status bar (cfg ↑N ↓N ●N) and session sidebar (changed files with line counts).
  • Outdated warning (red status, ❗ OUTDATED! sidebar banner, daily toast) when commits or uncommitted files are older than 24h.
  • /config-sync: stage, commit with a confirmed message, pull --rebase, update submodules, push.
  • /config-sync-setup: start a new config repo or adopt an existing remote (with undo on failure).
  • /config-sync-refresh: refresh status and re-show the outdated warning.
  • Submodule handling: moved pointers count as changes; unpushed submodule commits are detected and block sync.
  • Works with any git host (SSH or credential helper); no tokens required for the plugin itself.

npm: npm install opencode-git-config-sync (or add to cli.json plugins).