diff --git a/CHANGELOG.md b/CHANGELOG.md index f28861d..30271fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.0.1.alpha6 - 2026-07-18 + +### Bumped + +- Runtime dependency `opencode-ruby` pinned to `= 0.0.1.alpha6`. Rails turns + now establish and validate the OpenCode SSE subscription before submitting + `prompt_async`, and automatic SSE reconnects reopen only the subscription + without replaying the user prompt. + ## 0.0.1.alpha5 - 2026-07-15 ### Bumped diff --git a/README.md b/README.md index 2251910..d648883 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,10 @@ bundle install Runtime deps: `activerecord`, `activestorage`, `activesupport` (>= 7.1). Depends on `opencode-ruby` for the underlying HTTP/SSE primitives. +During the alpha series both gems are pinned in lockstep. Version 0.0.1.alpha6 +uses a subscribe-ready-before-prompt transport contract and reconnects an +accepted turn without posting its prompt again. + ## Quickstart ```ruby diff --git a/lib/opencode/rails_version.rb b/lib/opencode/rails_version.rb index 8dc072d..5b1cdb6 100644 --- a/lib/opencode/rails_version.rb +++ b/lib/opencode/rails_version.rb @@ -11,5 +11,5 @@ # We can't reuse the same constant from a second gem, so we use a # distinct, non-namespaced constant. module Opencode - RAILS_VERSION = "0.0.1.alpha5" + RAILS_VERSION = "0.0.1.alpha6" end diff --git a/opencode-rails.gemspec b/opencode-rails.gemspec index c0ad951..19fd938 100644 --- a/opencode-rails.gemspec +++ b/opencode-rails.gemspec @@ -37,7 +37,7 @@ Gem::Specification.new do |spec| # this gem builds on. During alpha both gems evolve in lockstep — we pin # exactly (= not ~>) so that consumers always pick the version this gem # was tested against. - spec.add_runtime_dependency "opencode-ruby", "= 0.0.1.alpha5" + spec.add_runtime_dependency "opencode-ruby", "= 0.0.1.alpha6" # Rails sub-libraries used at runtime. Depending on these individually # (instead of the `rails` umbrella) avoids forcing host apps to load