`prompuff://` links that open, copy or render a prompt
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, sqlite
- Ambito
- backend-api-design, cli, desktop
Direzione di ricerca
Read ROADMAP.md and settle the prompuff:// link shape and each action before implementation. Trace launch handling through src/Prompuff.App/Platform/SingleInstance.cs, then review the CLI command patterns in src/Prompuff.Cli/CliApp.cs and the MCP resource format in src/Prompuff.Cli/McpServerHost.cs. Add tests in the named CLI and single instance test files for each action, unknown IDs, and deleted prompts; done when links work on fresh launch and handoff, and the user guide and CLI help describe them.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Put a prompt one click away: a prompuff:// link in a note, a wiki or a browser bookmark that opens, copies or renders that prompt.
Settle first, and record in ROADMAP.md
- The link's shape. MCP resources already use
prompuff://prompts/{id}, so an "open" link that reads the same would be natural. Copy and render need their own form, such as a path or a query. Once a shape ships it's part of the promise, so choose it before building. - What each action does. For example: open shows the prompt, copy copies its body, and render opens it on the Render tab, where its variables can be filled in.
What to do
- Copy link in a prompt's menu copies its
prompuff://link. prompuff link <prompt>prints it. Like the other commands, it takes an ID or a title, exits with code 2 when a title matches several prompts or none, and takes--json.- The app handles a link it's launched with, and hands it to the running copy over the single-instance pipe, as it does
--quick-save. - A link only opens, copies or renders. It never changes, deletes or exports anything, because any web page can open one. A link to a prompt that doesn't exist, or one in Recently deleted, shows a toast and does nothing else.
- Registering the scheme with the system is #31.
Where to look
src/Prompuff.App/Platform/SingleInstance.cs:LaunchArguments.Parse,LaunchRequest,SingleInstance.HandOffsrc/Prompuff.Cli/CliApp.cs:Usage, the command list, theswitchand a handler likeGetAsync;src/Prompuff.Cli/CliJson.csfor the--jsonoutputsrc/Prompuff.Cli/McpServerHost.cs: theprompuff://prompts/{id}resourcestests/Prompuff.Cli.Tests/CliTests.csandtests/Prompuff.App.Tests/SingleInstanceTests.cs
Done when
- Copy link and
prompuff linkproduce the same link, and launching the app with it opens, copies or renders the prompt, in a fresh start and in the running copy. - Tests cover each action, an unknown ID and a deleted prompt.
-
docs/user-guide.mdand the CLI's help describe links.
- 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]: 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
-
bug ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CodeForFire/lagebuch#714 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
dimitar-radenkov/Pointframe#294 ·
I maintainer di solito rispondono entro 1 giorno
-
kind/feature-request
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Altinn/altinn-correspondence#2154 ·
I maintainer di solito rispondono entro 1 giorno