Repository navigation
codemem v0.46.2
·
348 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
This patch makes observer Settings easier to configure and verifies that saved connection choices stay separate. It also fixes OpenCode 2 model selection during cold startup.
Highlights
- Clear connection choices: Choose an OpenCode account, an API key, a local Claude session, or a local Codex session. API-key mode does not use cached subscription sign-ins, and OpenCode-account mode does not silently fall back to a direct API key. Missing credentials or an unavailable service produce a visible error.
- Model settings: Settings shows the actual defaults and puts Simple and Rich tier models together. OpenAI/Codex uses
gpt-6-lunafor Simple and untiered defaults, andgpt-5.6-terrafor Rich. Saved model choices and hidden values remain intact. The misleading model check was removed; a suggested model does not guarantee account access. - Save and apply feedback: Settings distinguishes saved changes from changes active in the running observer and shows restart guidance only when needed. Automatic connection choices remain automatic when saved. Reverting a connection draft restores active tier routing without overwriting explicit routing choices or other drafts.
- Custom providers: Auto provider inference accepts mixed-case provider prefixes while retaining the configured provider ID. OpenCode and direct custom-provider requests strip matching prefixes without changing model-ID case; direct requests still apply configured model-ID mappings.
- OpenCode 2 startup: codemem retries the exact pre-generation model-selection rejection that can occur before the service's model catalog is ready. Retries keep the selected provider and model, stop after six requests, and wait at most 7.75 seconds in total. Other errors and uncertain generation outcomes are not retried by this compatibility path.
Compatibility and upgrade
Legacy api_http and omitted runtime settings keep their previous routing until you explicitly change the connection. Unrelated Settings edits do not migrate your credentials or account choice.
Install the matching 0.46.2 packages, then restart the viewer and agent host when safe. An already-running viewer does not switch builds automatically. This release does not claim to fix every queued-event failure; inspect observer status if a backlog remains.
What's Changed
Other Changes
- fix(observer): retry cold OpenCode model selection safely by @kunickiaj in #1881
- fix(ui): simplify V2 observer settings status by @kunickiaj in #1875
- fix(ui): remove misleading observer model check by @kunickiaj in #1876
- fix(ui): lead observer settings with connection mode by @kunickiaj in #1877
- fix(ui): unify observer model choices by @kunickiaj in #1878
- fix(ui): show observer apply outcome after save by @kunickiaj in #1879
- fix(observer): isolate connection modes and clarify settings defaults by @kunickiaj in #1880
- fix(observer): reconcile reverted routing and custom provider prefixes by @kunickiaj in #1882
- chore(release): prepare 0.46.2 by @kunickiaj in #1883
Full Changelog: v0.46.1...v0.46.2