block / block/buzz

feat(desktop): deep link to import an agent snapshot from a URL

Open
#4,197 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
32.7k
Forks
4.3k
Avg merge
1d 13h
Merged PRs (30d)
253

Description

I ship a product (Vibewatch) that gives customers a pre-made `.agent.png` snapshot to set up our agent in Buzz. Setup today: download the file, open Buzz, My agents > Import snapshot, pick the file. Works fine, but I'd love to put a one-click "Add to Buzz" button on our side instead.

Proposal:

`buzz://import-agent?url=&sha256=`

Buzz fetches the snapshot from the url using the same bounded sha256-verified fetch the in-chat snapshot cards use, then routes the bytes into the existing import preview. The user still reviews and confirms in the app, so the trust model is the same as importing a downloaded file. Non-https urls and hash mismatches get rejected.

All the pieces are already there (buzz:// deep links, the verified fetch, the import preview), this just wires a new deep link kind into them.

Closest existing issue I found is #2624, which is the same import path from the CLI instead of a url.

Happy to build this as a PR if the approach sounds right.

Contributor guide

Open the contributing guide

Research direction

Trace the existing buzz:// deep-link handling, the verified fetch used by in-chat snapshot cards, and the existing import preview. Wire the import-agent URL deep link through those paths, preserving preview and confirmation; done means HTTPS URLs and matching SHA-256 values succeed while non-HTTPS URLs and mismatches are rejected.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.