dsh-prompt-pool 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +94 -61
- package/client.js +2663 -2034
- package/icon.svg +4 -4
- package/locale/en.json +6 -6
- package/locale/zh.json +6 -6
- package/package.json +58 -58
package/README.md
CHANGED
|
@@ -1,61 +1,94 @@
|
|
|
1
|
-
# Prompt pool · 提示池
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/dsh-prompt-pool) [](https://dshfind.com/en/plugins/Ganttfly/dsh-prompt-pool?ref=badge)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
](https://www.npmjs.com/package/dsh-prompt-pool) [](https://dshfind.com/en/plugins/Ganttfly/dsh-prompt-pool?ref=badge)
|
|
4
|
+
|
|
5
|
+
*Annotate a long conversation in place, turn the marks into prompts, and keep them ready to send in order.*
|
|
6
|
+
|
|
7
|
+
Nothing runs until you release it. Agent work breaks between messages: a passage you want to come back
|
|
8
|
+
to, a prompt you keep reusing, a sequence to run. The pool keeps the note, the wording and the next action
|
|
9
|
+
next to the conversation.
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
**How it works**, the card the plugin ships — annotations on the left, the pool on the right:
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
- Three destinations in the right sidebar page — **Annotations** (this session), **Prompts** (this
|
|
20
|
+
workspace only) and **Shared** (across workspaces) — with a scope hint on the destination row and the
|
|
21
|
+
page opening on annotations
|
|
22
|
+
- Segmented trigger beside the composer: the brand cap opens the page, the **Annotations** and **Prompts**
|
|
23
|
+
menus lead to it too, and a host without a sidebar gets the composer panel instead
|
|
24
|
+
- Annotate while you read, two ways: right-click **+ Annotate** for the exact words, or
|
|
25
|
+
**Start paragraph annotation** to click block after block with the pick never ending; both open the editor bubble in
|
|
26
|
+
place, keep images with the note, and default the next note to the kind you just used
|
|
27
|
+
- Notes live on the **Annotations** page, which starts in single mode: no checkboxes, and the row chrome is
|
|
28
|
+
on — locate, insert, file and delete. The **Multi-select** button in the header puts a checkbox on every row
|
|
29
|
+
and hides the row actions; it swaps itself for **Exit multi-select**, **Select all** and **Clear selection**
|
|
30
|
+
while the batch is open. **Start paragraph annotation** lives in the field, beside **Save as prompt**, and
|
|
31
|
+
hides in multi-select. The two batch entries never show together. While a pick is running, it reads
|
|
32
|
+
**End paragraph annotation** and ends it. A new note is revealed with a **Just added** marker. First-run
|
|
33
|
+
discovery shows one thing at a time: an empty list is a two-line onboarding card, a list with notes carries
|
|
34
|
+
the dismissible right-click tip, and the first saved note shows a one-time toast
|
|
35
|
+
- In **Multi-select**, ticked notes compile into the always-open field at the foot — one numbered prompt with
|
|
36
|
+
a per-kind response contract, each ticked note offering **Plan first** / **Execute now** — then **Save as
|
|
37
|
+
prompt** or **Send**; the field never shows the send queue and no annotation is ever queued
|
|
38
|
+
- In single mode, **Insert** puts that one note into the same field, which then shows only that note;
|
|
39
|
+
inserting another row swaps it, and the one note can be edited, regenerated, saved or sent
|
|
40
|
+
- Filing a note as a prompt opens the pool's own editor with the 【Original】 / 【Annotation】 body, a blank
|
|
41
|
+
title, the type that answers the note's kind and its images; the standalone save sheet stays the
|
|
42
|
+
fallback for hosts without a sidebar
|
|
43
|
+
- Prompts carry one optional type (decision / question / opinion / idea / supplement / to-do /
|
|
44
|
+
inspiration) shown as a badge at the head of the row, after the checkbox
|
|
45
|
+
- One card at the foot of the prompt list: a status line (**N / 20 queued**, the workspace, **Clear**,
|
|
46
|
+
**Send** and a chevron that folds the queue away), the queue row by row, and an input box shaped like the
|
|
47
|
+
composer. The prompt list starts in single
|
|
48
|
+
mode; the header's **Multi-select** puts a checkbox on every row and swaps itself for **Exit multi-select**,
|
|
49
|
+
**Select all** and **Clear selection** — leaving it clears the ticks. Ticked rows compile into the box in list
|
|
50
|
+
order and each grows a **Plan first** / **Execute now**
|
|
51
|
+
pair, so one batch can mix both — marked entries carry an inline tag and the opening contract switches to
|
|
52
|
+
the execute form. The body rebuilds from the ticks and those choices unless you edited it, in which case it
|
|
53
|
+
offers **Regenerate**. A **+** at the box's lower left — or an image pasted with **Ctrl+V** — attaches images:
|
|
54
|
+
thumbnails sit above the text and
|
|
55
|
+
travel with **Send**, **Add to queue** or **Save as prompt** (up to six). Pictures of the ticked annotations
|
|
56
|
+
join the same strip and leave with the batch; they are read-only there, since the note keeps them. Inserting a
|
|
57
|
+
row appends its body, and
|
|
58
|
+
its pictures, to the box. The queue icon in the box folds it into one
|
|
59
|
+
queued entry, **Send** sends it, **Save as prompt** files it in the list you are viewing and opens its row for editing (the workspace,
|
|
60
|
+
or the shared tab you picked), and **Undo** puts the used prompts
|
|
61
|
+
back
|
|
62
|
+
- Send queue for prompts only: the queue icon adds a row at a time, rows move, edit or remove (a queued row is a
|
|
63
|
+
pending send, so it cannot create or copy), a workspace holds at most twenty rows and a fuller queue says so
|
|
64
|
+
instead of growing, the header chevron folds the list down to its status line and opens it again, a release
|
|
65
|
+
shows progress and Stop, anything unsent stays in the
|
|
66
|
+
queue, and an empty queue keeps only the status line
|
|
67
|
+
- Shared pool keeps the built-in and custom groups; a family can be expanded, folded into one tab with its
|
|
68
|
+
groups as chips, or hidden, and mixed lists name each row's group
|
|
69
|
+
- Starter prompts follow the host language; Settings can reset them in the current interface language,
|
|
70
|
+
keeping edited built-ins as ordinary items
|
|
71
|
+
- Settings is one page with three sections: **Annotations** (three retention switches, in action order — insert,
|
|
72
|
+
save as prompt, summary — each with Undo), **Prompts** (three retention switches — insert, add to queue, send —
|
|
73
|
+
all off by default), and **Shared pool** (which group families show, their order, whether the All tab appears,
|
|
74
|
+
and the built-in reset); **Reset** restores every setting without touching the pool
|
|
75
|
+
- Right-click on selected conversation text to copy it or save it into a group (the last destination leads
|
|
76
|
+
the menu), and confirmations with undo for deletes and clears
|
|
77
|
+
|
|
78
|
+
Requires DSH >= 0.2.0-rc.1 (verified on 0.2.2-rc.1). This is a **bundle**: install the package, then
|
|
79
|
+
enable it in Settings → Plugins.
|
|
80
|
+
|
|
81
|
+
```powershell
|
|
82
|
+
dsh plugin add dsh-prompt-pool --profile <profile>
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Full documentation: <https://github.com/Ganttfly/dsh-prompt-pool#readme> ·
|
|
86
|
+
[中文说明](https://github.com/Ganttfly/dsh-prompt-pool/blob/main/README.zh.md)
|
|
87
|
+
|
|
88
|
+
## Known limitations
|
|
89
|
+
|
|
90
|
+
- Non-image attachments are not captured (the toast reports how many were left behind).
|
|
91
|
+
- Reference chips (`@file`, `@session`) are stored and re-inserted as text, not clickable chips.
|
|
92
|
+
- A capture copies; it does not clear the composer.
|
|
93
|
+
|
|
94
|
+
MIT
|