Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
附加组件图标

Companion for OpenCode 版本历史 - 2 个版本

Companion for OpenCode 作者: Michele

目前尚无评分
0 / 5 星
5
0
4
0
3
0
2
0
1
0
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 serve always requires basic auth (username opencode; password
      from OPENCODE_SERVER_PASSWORD or 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-prompt and
      /tui/submit-prompt. The remaining delivery modes are New opencode session
      and Draft in side panel; the autoSubmitTui setting is gone and any stored
      tui delivery 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/event SSE 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 of GET /config.
    • v2 threads rendered in reverse - /api/session/:id/message returns 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 to null. 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 发布

    下载 Firefox 并安装扩展
    下载文件
  • 较早版本

    版本 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 发布

    下载文件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。