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 destinationsClose the agent review loopReopen and relocate pinsTroubleshoot 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: When every clipboard path fails, the toolbar shows Copy failed and restores the pins so you can retry without losing comments.

In this guide

  1. 1Clipboard recovery
  2. 2Degraded does not mean uncorrelated
  3. 3Walk the copy path when the toolbar reports failure
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 annotations…”, 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/Ctrl/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.
Still need context?See all in category

On this page

Clipboard recoveryDegraded does not mean uncorrelatedWalk the copy path when the toolbar reports failure
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.3.6
Terms of ServicePrivacy Policy