`prompuff` as the native messaging host, and Connect a browser in Settings
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- csharp, linux, macos
- Ambito
- cli, desktop, developer-experience
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C#
- Stelle
- 0
- Fork
- 1
- Merge medio
- 1h 51m
- PR unite (30g)
- 13
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hazeliscoding/prompuff
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
hazeliscoding/prompuff#34 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
hazeliscoding/prompuff#22 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
hazeliscoding/prompuff#14 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
hazeliscoding/prompuff#13 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
hazeliscoding/prompuff#12 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di hazeliscoding/prompuff
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
KnifeLemon/Filee#363 ·
I maintainer di solito rispondono entro 1 giorno
-
[CI] .trgen-ignore required for several grammars.Forse già presa @kaby76 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
antlr/grammars-v4#5073 ·
I maintainer di solito rispondono entro 1 giorno
-
/api/oauth/introspect emits clientId and tokenType instead of RFC 7662's client_id and token_typeApertabug P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nightscout/nocturne#2317 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: Position intent set on a simple order is dropped when it becomes a bracket, OCO or OTO orderForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
alpacahq/alpaca-trade-api-csharp#903 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
joinrpg/joinrpg-net#5752 ·
I maintainer di solito rispondono entro 1 giorno