Companion for OpenCode 版本历史 - 2 个版本
Companion for OpenCode 作者: Michele
Companion for OpenCode 版本历史 - 2 个版本
小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。
最新版本
版本 1.0.0
发布于 2026年10月19日 - 260.42 KB适用于 Firefox 140.0 及更高版本First stable release: the extension works with both opencode server generations.
- opencode v2 support — the extension now detects whether the server speaks
the v2/api/*HTTP API or the legacy v1 API and adapts to either. v2
opencode servealways requires basic auth (usernameopencode; password
fromOPENCODE_SERVER_PASSWORDor the one printed at startup), so the v1
health probe no longer reports a v2 server as unreachable.
- TUI delivery mode removed — v2 dropped
/tui/append-promptand
/tui/submit-prompt. The remaining delivery modes are New opencode session
and Draft in side panel; theautoSubmitTuisetting is gone and any stored
tuidelivery mode falls back to draft. - The internal API facade is now version-agnostic: consumers talk in normalized
types (FacadeSession,FacadeMessage,FacadeStreamEvent, …) and the v1
(SDK) and v2 (raw/api/*) implementations normalize underneath. - v2 streaming is parsed from
/api/eventSSE frames (session.text.*deltas
accumulated into parts), with a debounced thread reload as a safety net. - Default provider/model resolution uses the server's default model on v2
(there is no merged config endpoint) instead ofGET /config.
- v2 threads rendered in reverse -
/api/session/:id/messagereturns the
thread newest-first, so the panel showed the newest message at the top and
the assistant's reply landed above the prompt, off-screen in a long thread.
The v2 client now restores chronological order. - Streaming stayed dead after a settings change - the panel's
/api/event
subscription was opened with the URL/password it booted with; changing either
only rebuilt the request facade, so replies stopped arriving until the panel
was reopened. The subscription is now replaced when the server settings change. - Failed assistant messages were silently dropped - a run that ends in a
server-side error (expired provider key, aborted step) produces an assistant
message with no text parts, which both implementations mapped tonull. The
panel showed the prompt with no reply and no explanation. Messages now carry
the reported error and the panel renders it in the thread.
源代码遵循 仅 GNU 通用公共许可证 v3.0 发布
- opencode v2 support — the extension now detects whether the server speaks
较早版本
版本 0.3.0
发布于 2026年9月7日 - 235.37 KB适用于 Firefox 140.0 及更高版本- Draft delivery mode (new default) — sending a selection or page now
stages the prompt in the side panel as a compact preview strip (label +
truncated capture + discard) instead of submitting immediately. Nothing is
sent and no tokens are spent until you press Send from the panel; the
panel opens automatically in draft mode even when auto-open is off. Switch
back to instant delivery ("New opencode session" or "Open TUI prompt") in
the options page. - Default model resolution — the extension reads the server's merged
config (GET /config) to resolve the default provider/model; the options
page model dropdown also seeds the currently selected model when the
provider exposes no model list.
- Popup simplified to server URL / password / connection test — delivery mode
and auto-open behaviour now live in the options page only. - Refreshed Chrome Web Store screenshots (side panel, context menu, popup,
options page) from new captures.
源代码遵循 仅 GNU 通用公共许可证 v3.0 发布
- Draft delivery mode (new default) — sending a selection or page now