`prompuff://` links that open, copy or render a prompt
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- csharp, sqlite
- Lĩnh vực
- backend-api-design, cli, desktop
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C#
- Star
- 0
- Fork
- 1
- Merge trung bình
- 1 giờ 21 phút
- Pull request đã merge (30 ngày)
- 22
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của hazeliscoding/prompuff
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
hazeliscoding/prompuff#34 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
hazeliscoding/prompuff#22 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
hazeliscoding/prompuff#14 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
hazeliscoding/prompuff#13 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
hazeliscoding/prompuff#12 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của hazeliscoding/prompuff
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
[Bug]: Revit selector reads process ids 2000-2099 as years (flaky AgentClientTests.AYearOrAProcessIdSelectsTheHost)Có thể đã có người làm @Wurschdhaud đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
pyrevitlabs/pyRevit#3817 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug effort:S P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
nightscout/nocturne#2449 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Python: Rejected system messages leave AgentChat permanently activeCó thể đã có người làm @Michael-Duck đã nhận hôm nay. Đang mởpython triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
microsoft/semantic-kernel#14638 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
audit:1 bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NethermindEth/dotnet-libp2p#395 ·
Maintainer thường phản hồi trong vòng 1 ngày