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 CHANGED
@@ -1,61 +1,94 @@
1
- # Prompt pool · 提示池
2
-
3
- [![npm version](https://img.shields.io/npm/v/dsh-prompt-pool.svg)](https://www.npmjs.com/package/dsh-prompt-pool) [![dshfind](https://dshfind.com/api/badge/Ganttfly/dsh-prompt-pool)](https://dshfind.com/en/plugins/Ganttfly/dsh-prompt-pool?ref=badge)
4
-
5
- A prompt staging pool for DeepSeek Harness: park a draft until it is ready, queue the next prompts in
6
- order, and annotate a long reply without losing the sentence you mean. Nothing runs until you release it.
7
-
8
- Agent work breaks between messages: a half-written prompt, a sequence to run, a passage to comment on.
9
- The pool keeps the draft, the next action and the exact wording next to the conversation.
10
-
11
- ![Annotating a reply, then reviewing the checked notes in the pool's Annotations page](https://raw.githubusercontent.com/Ganttfly/dsh-prompt-pool/main/docs/images/annotations-review.png)
12
-
13
- ![The Prompts destination: the current workspace's prompts and the send queue](https://raw.githubusercontent.com/Ganttfly/dsh-prompt-pool/main/docs/images/prompts-send-queue.png)
14
-
15
- - Three destinations in the right sidebar page — **Annotations** (this session), **Prompts** (this
16
- workspace only) and **Shared** (across workspaces) — with a scope hint on the destination row and the
17
- page opening on annotations
18
- - Segmented trigger beside the composer: the brand cap opens the page, the **Annotations** and **Prompts**
19
- menus lead to it too, and a host without a sidebar gets the composer panel instead
20
- - Annotate while you read, two ways: right-click **Select to annotate** for the exact words, or
21
- **Continuous** to click block after block with the pick never ending; both open the editor bubble in
22
- place, keep images with the note, and default the next note to the kind you just used
23
- - Notes live on the **Annotations** page: locate the passage, insert one into the composer, edit its kind
24
- and text in place, or file it as a prompt; a new note is revealed with a **Just added** marker
25
- - **Summarize in one click** folds the checked notes into one numbered prompt in the **Prompt preview**
26
- card — immediate execution and to-do routing per row, an editable prompt with a per-kind response
27
- contract, then **Cancel** / **Save as prompt** / **Send**
28
- - Filing a note as a prompt opens the pool's own editor with the 【Original】 / 【Annotation】 body, a blank
29
- title, the type that answers the note's kind and its images; the standalone save sheet stays the
30
- fallback for hosts without a sidebar
31
- - Prompts carry one optional type (decision / question / opinion / idea / supplement / to-do /
32
- inspiration) shown as a badge before the title
33
- - Send queue for prompts only: **+** adds, rows move, edit, duplicate or remove, the header switches
34
- between **one by one** and **merge**, a release shows progress and Stop, and an empty queue stays as a
35
- one-line strip instead of vanishing
36
- - Shared pool keeps the built-in and custom groups; a family can be expanded, folded into one tab with its
37
- groups as chips, or hidden, and mixed lists name each row's group
38
- - Starter prompts follow the host language; Settings can reset them in the current interface language,
39
- keeping edited built-ins as ordinary items
40
- - Settings is one page with **Annotations** (three retention switches, each with Undo) and **Prompts**
41
- (post-use retention, built-in reset, group order and display) sections
42
- - Right-click on selected conversation text to copy it or save it into a group (the last destination leads
43
- the menu), and confirmations with undo for deletes and clears
44
-
45
- Requires DSH >= 0.2.0-rc.1 (verified on 0.2.2-rc.1). This is a **bundle**: install the package, then
46
- enable it in Settings → Plugins.
47
-
48
- ```powershell
49
- dsh plugin add dsh-prompt-pool --profile <profile>
50
- ```
51
-
52
- Full documentation: <https://github.com/Ganttfly/dsh-prompt-pool#readme> ·
53
- [中文说明](https://github.com/Ganttfly/dsh-prompt-pool/blob/main/README.zh.md)
54
-
55
- ## Known limitations
56
-
57
- - Non-image attachments are not captured (the toast reports how many were left behind).
58
- - Reference chips (`@file`, `@session`) are stored and re-inserted as text, not clickable chips.
59
- - A capture copies; it does not clear the composer.
60
-
61
- MIT
1
+ # Prompt pool · 提示池
2
+
3
+ [![npm version](https://img.shields.io/npm/v/dsh-prompt-pool.svg)](https://www.npmjs.com/package/dsh-prompt-pool) [![dshfind](https://dshfind.com/api/badge/Ganttfly/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
+ ![Annotating a long reply, then reviewing the notes on the pool's Annotations page](https://raw.githubusercontent.com/Ganttfly/dsh-prompt-pool/main/docs/images/annotate-and-review.png)
12
+
13
+ ![The Prompts destination: this workspace's prompts and the send queue holding five of them](https://raw.githubusercontent.com/Ganttfly/dsh-prompt-pool/main/docs/images/prompts-and-queue.png)
14
+
15
+ **How it works**, the card the plugin ships — annotations on the left, the pool on the right:
16
+
17
+ ![The built-in help card: annotations on the left, prompts on the right](https://raw.githubusercontent.com/Ganttfly/dsh-prompt-pool/main/docs/images/help-card.zh.png)
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