`prompuff` as the native messaging host, and Connect a browser in Settings
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- csharp, linux, macos
- Domain
- cli, desktop, developer-experience
Research direction
Start with src/Prompuff.Cli/CliApp.cs and src/Prompuff.Cli/McpServerHost.cs to understand the existing stdio protocol, then read src/Prompuff.Cli/CliLibrary.cs and the platform installer and single instance files named in the issue. Implementing this spans the host protocol, browser registration across platforms, cleanup, and app integration. Done means the framed host tests pass, connecting and undoing works on the listed browsers and platforms, and docs/user-guide.md explains setup.
Written by the indexing model from the issue text.
Description
The extension (#44, #45) talks to the library through native messaging: the browser starts a program and exchanges length-prefixed JSON with it over stdin and stdout. That program is the prompuff command, which already opens the library by the app's rules and speaks MCP over stdio.
What to do
- Add a host mode to
prompuff. Chrome and Edge pass the caller's origin as an argument, and Firefox passes the manifest path and the extension ID. The host searches, gets and renders prompts, sends text to Quick save in the running app, and does nothing else. - The host's manifest allows only Prompuff's own extension IDs (
allowed_origins,allowed_extensions). - Connect a browser in Settings › Integrations writes the manifest into the browser's own folders, and can undo it:
- Windows: a registry key under
HKCU\Software\Google\Chrome\NativeMessagingHosts,HKCU\Software\Microsoft\Edge\NativeMessagingHostsandHKCU\Software\Mozilla\NativeMessagingHosts, pointing at a manifest in Prompuff's data folder. Registry code stays insrc/Prompuff.App/Platform, behindOperatingSystem.IsWindows(). - Linux and macOS: the manifest file in each browser's
NativeMessagingHostsfolder.
- Windows: a registry key under
- Writing into browser folders is outside Prompuff's own folders, so it's a step the user starts. Add it to the exception in AGENTS.md's cross-platform rules. Velopack's uninstall hook removes it on Windows.
- The host opens no network connection and never logs titles, bodies or values.
Where to look
src/Prompuff.Cli/CliApp.csandsrc/Prompuff.Cli/McpServerHost.cs: another stdio protocol in the same programsrc/Prompuff.Cli/CliLibrary.cs: opening the librarysrc/Prompuff.App/Platform/CommandLineInstaller.cs: the install, remove and uninstall-hook patternsrc/Prompuff.App/Platform/SingleInstance.cs: how a second process reaches the running app
Done when
- Tests drive the host with framed messages and cover a bad frame, an unknown origin and an oversized message.
- Connect a browser works for Chrome, Edge and Firefox on Windows and in WSLg, and undoing it removes every file and key it wrote.
-
docs/user-guide.mddescribes connecting a browser.
- Dominant language
- C#
- Stars
- 0
- Forks
- 1
- Avg merge
- 1h 21m
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hazeliscoding/prompuff
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
hazeliscoding/prompuff#34 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
hazeliscoding/prompuff#22 ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
hazeliscoding/prompuff#14 ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
hazeliscoding/prompuff#13 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
hazeliscoding/prompuff#12 ·
Maintainers usually reply within 1 day
All issues in hazeliscoding/prompuff
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
[Bug]: Revit selector reads process ids 2000-2099 as years (flaky AgentClientTests.AYearOrAProcessIdSelectsTheHost)Possibly taken @Wurschdhaud claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
pyrevitlabs/pyRevit#3817 ·
Maintainers usually reply within 1 day
-
bug effort:S P2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nightscout/nocturne#2449 ·
Maintainers usually reply within 1 day
-
Python: Rejected system messages leave AgentChat permanently activePossibly taken @Michael-Duck claimed this today. Openpython triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
microsoft/semantic-kernel#14638 ·
Maintainers usually reply within 3 days
-
audit:1 bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
NethermindEth/dotnet-libp2p#395 ·
Maintainers usually reply within 1 day