Skip to content

feat(tui): web search browser — view URLs and results inline #15

Open

Description

@EngineerProjects

Summary

When the agent uses a web search or web fetch tool, show the URLs and
a readable summary of the results in a browsable panel. The user can
open any result in the system browser or copy the URL.

UX

┌─ Web search — "Go generics tutorial" ───────────────┐
│  3 results                                           │
│  ──────────────────────────────────────────────      │
│  ▶ 1. go.dev/doc/tutorial/generics                  │
│       The Go Programming Language — official docs   │
│                                                      │
│    2. blog.golang.org/intro-generics                │
│       An Introduction To Generics — Go Blog         │
│                                                      │
│    3. gobyexample.com/generics                      │
│       Go by Example: Generics                       │
│  ──────────────────────────────────────────────      │
│  enter: open in browser  c: copy URL  esc: close    │
└─────────────────────────────────────────────────────┘

Acceptance criteria

  • Panel appears when agent uses web_search or web_fetch
  • Shows URL, title, and snippet for each result
  • enter opens the URL in the system browser (xdg-open / open)
  • c copies the URL to clipboard
  • Scrollable for many results
  • Panel is non-blocking — agent continues while panel is open
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

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions