Get it for macOS

Read a PDF in BB’s side panel and zoom with a trackpad pinch. Select text to copy it or open Add to chat. The composer includes the excerpt and page number and lets you add your own prompt before sending.


Overview

View source

What you get

  • A PDF viewer for .pdf files in workspaces, host folders and thread storage. It shows up in the file tab's "Open with" menu as "PDF to chat".
  • Select text in the document and a small bar with Add to chat and Copy appears at the end of the selection. The bar and the boxes below stay inside the PDF pane, also when the right panel is narrow.
  • Copy puts the selected text on the clipboard as clean lines and shows "Copied" on the button; the selection stays.
  • Add to chat opens a small box with the quoted text, the page number and an optional prompt (up to 4000 characters), and a Send to chat button.
  • Press Enter to send, Shift+Enter for a new line, Escape to close the box without sending.
  • The message goes out in this form: the file path, Page N, the selected text as a quote, then your prompt. If the assistant is still replying, the message is queued and sent after the current reply.
  • Whatever you had typed in the composer is put back after the quote is sent, so a half-written message is not sent along with it.

Reading and zoom

  • Zoom from 25% to 500%: trackpad pinch, Cmd/Ctrl + mouse wheel, or Cmd/Ctrl with +, - and 0. The toolbar has -, + and a Fit button for fit-to-width.
  • Pages are drawn only when they are near the visible area, and PDF parsing runs in a web worker, so long documents do not freeze bb.
  • The last three opened PDFs (up to 96 MB in total) are kept in memory and revalidated on reopen, so switching back is quick.

Files and errors

  • Show in Finder reveals the file on disk. If a PDF fails to load, the tab shows the reason with Retry and Open in default app.
  • Clear messages for a damaged file, a password-protected PDF, a response that is not a PDF, and files over 200 MB.

Requirements

  • bb 0.49 or newer.
  • The file must be on the machine bb runs on. Remote-only files cannot be revealed in Finder.
  • The interface text is English only.
  • The plugin has no settings.

First step

Open any PDF as a file tab, select a sentence and click Add to chat or Copy. If another opener is chosen for PDF files, pick "PDF to chat" in the tab's "Open with" menu or under Settings, Files.

More from genidev

More in File Viewers & Editors 43

Browse, open, preview, or edit files and document vaults.

View all
File ManagerManage the files on the machine bb runs on without a terminal: browse, upload, move, rename, extract and hand them to the agent. Opens as a sidebar page, as a tab beside a thread that can start in that thread's folder, and from a file link in a message. Double-click shows images, PDF, video, Markdown and code; Space looks inside zip, tar, 7z and rar archives without extracting them. Multi-gigabyte uploads resume after a dropped connection, and several files or a whole folder download as one zip. On a phone, selected rows get an Actions bar with the whole row menu. Access stays inside the home folder of the user bb runs as; tar, 7z and rar archives need tar and 7z on that machine.Foma699
FilesA VS Code-style file explorer and editor for the workspace behind a thread. Search in files finds a word across every file in the project: results are grouped by file with each hit highlighted, and clicking one opens the file on that line. It is smart case, with match-case, whole-word and regex toggles, and built for typing — file contents stay in memory between searches, so refining a query re-runs in tens of milliseconds, and a regex runs in its own worker so a runaway pattern cannot freeze BB. Around it: a file tree that shows dotfiles, editor tabs, a go-to-file palette (Cmd+P), find in the open file (Cmd+F), syntax highlighting in your BB code theme, and edit and save guarded so a change an agent made underneath you is never clobbered. Markdown files open rendered, with the source and the editor one click away. Two pickers choose the project and then its checkout or one of its worktrees; beside a thread it is pinned to that thread's worktree. Adds a `bb files` command so agents can browse and read the same workspace from the CLI, on whichever machine it lives.AbdElrahman Telb559