Skip to content

Add native macOS sharing for aggregate usage cards #2289

Description

@Chipagosfinest

Summary

Add a native macOS sharing action for aggregate usage cards so users can send the
same deterministic artifact through Mail, Messages, AirDrop, Notes, and other
installed sharing services.

This follows the local share-card work in #2112.

Current behavior

The preview exposes:

  • Copy Image
  • Copy Text
  • Save

Users must manually switch applications and paste or attach the result.

Proposed contract

  • Keep generation local and aggregate-only.
  • Share the exact same immutable payload/image used by preview, copy, and save.
  • Use the native macOS share surface (ShareLink/Transferable or
    NSSharingServicePicker) with a PNG file representation.
  • Do not upload the card or create a public profile.
  • Keep canonical public OG links as a separate, optional future decision.

Privacy requirements

The shared artifact must never contain account identity, API keys, prompts,
projects, file paths, or raw session events.

Acceptance evidence

  • Native share opens from the share preview without blocking menu tracking.
  • The shared file is a visible 1200×630 PNG.
  • Mail/Messages-compatible file representation is covered by a stable seam test.
  • Copy, save, and native share agree on payload and filename.
  • make check and make test pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions