Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/plugin-desktop-attachments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@uploads/plugin": minor
---

The staged media mod now has a desktop band and a pane. On the Desktop app's Code tab, the band shows the mark, a short headline, up to four thumbnails, a View button and a Hide button. View, or the new `/uploads-staged` command, opens a "Staged attachments" pane with a thumbnail grid, per-file detail, copy-markdown, remove, and a PR feed link. All surfaces now say "attachments" and leave the branch name out of the band.
12 changes: 11 additions & 1 deletion plugins/claude/uploads/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,18 @@ describing it in prose.
| uploads-cli skill | `/uploads:uploads-cli` | Full reference for the optional `uploads` CLI |
| uploads MCP server | (tools) | Hosted server at `https://agents.uploads.sh/mcp` |
| PR screenshot reminder hook | (automatic) | Advisory nudge before `gh pr create` on a UI branch with no screenshots |
| Staged media mod | (automatic) | Shows staged screenshots above the prompt; attaches them on PR open |
| Staged media mod | `/uploads-staged` | Shows staged attachments above the prompt; attaches them on PR open |

The staged media mod needs Claude Code 2.1.287 or later. Older versions load
the rest of the plugin and skip the mod. It draws in the terminal and the
Desktop app's Code tab. Elsewhere, such as the VS Code extension's chat panel
or `claude -p`, it still attaches files and tells Claude, but shows nothing.

On the Desktop app, the band shows thumbnails of the staged attachments. **View**
or `/uploads-staged` opens a pane where you can see each one, copy its
markdown, remove it, or copy the PR's feed link; the footnote links to your workspace on uploads.sh. **Hide** hides the band until
the staged set changes.

## Install

```
Expand Down Expand Up @@ -74,6 +79,11 @@ looks up the PR's head branch:
**Attach staged files on gh pr create** option in `/plugin` to have it only
report what is waiting.

On the Desktop app, the pane also runs `uploads delete` when you remove an
attachment, `uploads feed create` when you copy the feed link, and `gh pr view`
to find the branch's open PR. Thumbnails are fetched with `curl` from
`storage.uploads.sh`, resized by Cloudflare's image transform, and kept in the mod's session state.

If the CLI is not installed or not signed in, the mod does nothing.

See the [privacy policy](https://uploads.sh/privacy) and
Expand Down
Loading
Loading