Pinar
HomePlansWhat’s newHelp
Sign in
K

Get startedCaptures and pinsAI agentsProjects and collectionsCloud and plansPrivacy and data
Get started
Captures and pins
AI agents
Send visual context to an agentHandoff formats and destinationsAI features and how to test themAsk the assistantClose the agent review loopTroubleshoot copy and handoff warnings
Projects and collections
Cloud and plans
Privacy and data
Help/AI agents

Troubleshoot copy and handoff warnings

Recover from clipboard, helper, screenshot, or viewer failures without losing the annotations.

5 min
Visual example: A failed finish shows an actionable error and keeps the complete session available for review and retry.

In this guide

  1. 1Clipboard recovery
  2. 2Degraded does not mean uncorrelated
  3. 3Walk the copy path when the toolbar reports failure
  4. 4Messages when finishing a session
1

Clipboard recovery

Pinar first uses the browser clipboard API through an offscreen document and falls back to a hidden text selection when permission or focus blocks it. If every copy mechanism fails, the overlay is restored so your pins and comments remain editable.

2

Degraded does not mean uncorrelated

screenshot_missing means the image could not be persisted. helper_unavailable means the local service was not reached. viewer_unavailable means no viewer URL was produced. Continue from the comment, DOM path, selector, pin coordinates, captureId, and pinId, then retry only the missing layer.

3

Walk the copy path when the toolbar reports failure

Copy requires a saved comment and at least one pin. The toolbar shows “Saving the session…”, hides overlays, captures the shot, then asks the offscreen document to write text/html and text/plain. Offscreen tries navigator.clipboard.write first and falls back to a copy event plus execCommand. If that write is not ok, the content script still attempts writePlainText on the returned plain payload: clipboard.writeText, then a hidden textarea selection.

When every copy path fails, the page sends overlays:hidden with hidden false, flashes “Copy failed”, and leaves pins editable. A successful copy shows “Copied successfully!”, or “Copied successfully!” plus “no screenshot”, “helper unavailable”, or “no viewer”, then ends the session. Those suffixes map to screenshot_missing, helper_unavailable, and viewer_unavailable. screenshot_inline is not one of the degraded handoff warnings. A paste without a closed pinar-visual-context fence cannot be parsed as JSON.

  • If the toolbar says “Write a comment first” or “Add a pin first”, finish that pin and press Command+Enter / Alt+Enter again.
  • If “Copy failed” appears, confirm the pins are still on the page, grant clipboard permission if prompted, and retry the copy.
  • Read the “Copied successfully!” suffix: “no screenshot”, “helper unavailable”, and “no viewer” name the missing layer to retry without discarding comments.
4

Messages when finishing a session

When finishing fails because the final screenshot cannot be captured, the toolbar shows one of these messages instead of a generic error, and the session stays on the page for a retry. Each message names the cause and the fix:

  • “A pin is outside the visible area · bring it into view and try again” — scroll until the pinned element is visible, then finish the session again.
  • “The page changed during capture · stay on the page and try again” — finish again from the annotated page without leaving it.
  • “The annotated tab was not active · switch back to it and try again” — switch to the annotated tab and finish again.
  • “Screenshot not captured · return to the annotated page and try again” — return to the annotated page and finish again.
Still need context?See all in category

On this page

Clipboard recoveryDegraded does not mean uncorrelatedWalk the copy path when the toolbar reports failureMessages when finishing a session
Support Fair Source development

Prefer supporting public source development directly? Sponsor on GitHub or buy a coffee.

Buy Me a CoffeeSponsor on GitHub
Pinar·© 2026·Pinar v0.9.4
Terms of ServicePrivacy Policy