`prompuff` as the native messaging host, and Connect a browser in Settings
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- csharp, linux, macos
- Área
- cli, desktop, developer-experience
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C#
- Estrellas
- 0
- Forks
- 1
- Merge medio
- 1 h 51 min
- PR fusionados (30 d)
- 13
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de hazeliscoding/prompuff
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
hazeliscoding/prompuff#34 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
hazeliscoding/prompuff#22 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
hazeliscoding/prompuff#14 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 92/100
hazeliscoding/prompuff#13 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
hazeliscoding/prompuff#12 ·
Los mantenedores suelen responder en 1 día
Todos los issues de hazeliscoding/prompuff
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
KnifeLemon/Filee#363 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
area-Native untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
dotnet/machinelearning#7837 ·
Los mantenedores suelen responder en 2 días
-
[CI] .trgen-ignore required for several grammars.Posiblemente ocupada @kaby76 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
antlr/grammars-v4#5073 ·
Los mantenedores suelen responder en 1 día
-
[Enhancement]: Add a search box to the Time Zone dropdownPosiblemente ocupada @idumlupinar la tomó hoy. AbiertoStatus: New
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
dnnsoftware/Dnn.Platform#7579 ·
Los mantenedores suelen responder en 2 días