Skip to content

[FEATURE] Bridge: conversation list + resume protocol for the extension #1068

Description

@edenreich

Summary

Add bridge protocol support so the opentask sidepanel can list the user's stored conversations and resume a chosen one, mirroring the CLI 1:1 (the same conversations infer persists and resumes from). This is the CLI half of opentask#146; the extension provides the picker UI.

Today the bridge only auto-backfills a single "current" conversation on connect (sendSnapshot from b.repo.GetMessages()), with no way for the panel to see or choose other conversations.

Proposed approach

  • Add request/response frames to the browser-extension protocol: list_conversations (request) -> conversations (response with, per entry: id, a title/first-message preview, updated-at, message count), and resume_conversation { id } (request) -> the existing conversation_snapshot scoped to that conversation.
  • Back it with the conversation store the CLI already resumes from (ConversationRepository / storage under .infer/conversations) so the list and contents match infer exactly.
  • Document the new frames in docs/browser-extension-protocol.md and bump protocol_version.
  • Pairs with the reconnect-dedup fix (separate bug): letting the panel pick a conversation removes the implicit auto-backfill-on-connect.

Cross-repo impact

  • inference-gateway/opentask: picker UI + wiring the new frames (tracked in opentask#146).
  • inference-gateway/docs: a [DOCS] ticket once the protocol change lands (public surface).

Related

  • Umbrella feature: opentask#146
  • Reconnect duplicate-messages bug: filed separately in this repo.

Acceptance Criteria

  • list_conversations returns the user's stored conversations (id, preview, updated-at, message count) matching what infer can resume.
  • resume_conversation { id } returns that conversation as a conversation_snapshot; subsequent live events stream into it.
  • docs/browser-extension-protocol.md documents the new frames and the bumped protocol_version.
  • A [DOCS] ticket is filed for inference-gateway/docs.

Activity

  1. added
    enhancement
    on Aug 15, 2026
  2. moved this to Todo in 2026on Aug 15, 2026
  3. inference-gateway-releaser commented on Aug 16, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.173.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

  4. moved this from Todo to Done in 2026on Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementreleased

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions