@henryqw/pi-prompt-creator 3.1.5 → 3.1.6

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.
Files changed (2) hide show
  1. package/CONTEXT.md +16 -18
  2. package/package.json +1 -1
package/CONTEXT.md CHANGED
@@ -1,25 +1,23 @@
1
- # pi-prompt-creator — Context
1
+ # Pi Prompt Creator
2
2
 
3
- ## Domain
3
+ Pi Prompt Creator finds reusable prompt ideas in the current conversation. Main and the user review each idea before the user approves a new global prompt.
4
4
 
5
- Turn repetition and correction in the current Pi conversation into one editable prompt template candidate. The user decides whether the candidate becomes a global Pi prompt.
5
+ ## Language
6
6
 
7
- ## Glossary
7
+ **Current Conversation**:
8
+ The model-visible conversation on the active branch, including its retained summary and effective user and completed assistant text. Inactive branches, removed context, tool traffic, and thinking are not prompt-analysis evidence.
8
9
 
9
- - **Current Conversation**: The active conversation branch, including summaries that replace compacted history. Inactive branches are outside the scope.
10
- - **Signal**: Evidence in the Current Conversation that a reusable prompt may help. Signals are explicit recurrence language, repetition of the same underlying request, or repeated correction of the agent's behavior.
11
- - **Prompt Candidate**: One unsaved, editable prompt template proposed from the strongest Signal. A session has at most one pending Prompt Candidate; the user may explicitly request another after the pending candidate is shown or dismissed.
12
- - **Prompt Review**: Conversational refinement of a Prompt Candidate by the user and Main.
13
- - **Final Prompt Draft**: Complete prompt-template Markdown authored by Main after Prompt Review. A Prompt Candidate is not a Final Prompt Draft.
14
- - **Approved Prompt**: A Final Prompt Draft the user explicitly accepts for creation as a global Pi prompt. Approval never authorizes replacing an existing prompt.
10
+ **Signal**:
11
+ Evidence that a reusable prompt could help: explicit recurrence language, requests with the same intent, or repeated corrections of Main's behavior.
15
12
 
16
- ## Boundary
13
+ **Prompt Candidate**:
14
+ One unsaved prompt template proposed from a Signal. A pending candidate is untrusted review material, not an approved prompt.
17
15
 
18
- | Concern | Home |
19
- | --- | --- |
20
- | Cross-session evidence and historical search | `@henryqw/pi-session-recall` |
21
- | Scripts, Skills, and other automation | Their owning package or repository |
22
- | User config load rules and launch reporting | `@henryqw/pi-config-store` ([ADR 004](../../docs/adr/004-extension-config-safety.md)) |
23
- | This extension | Current-conversation Signal detection, Prompt Candidate generation, and Prompt Review |
16
+ **Prompt Review**:
17
+ Conversational refinement of a displayed Prompt Candidate by the user and Main.
24
18
 
25
- The extension stays silent when it finds no Prompt Candidate. Background analysis remains visible while it is running. Manually requested candidates display when ready; automatic candidates wait for explicit user display, so background work never steals editor focus.
19
+ **Final Prompt Draft**:
20
+ The complete prompt-template Markdown in Main's latest valid retained review reply after the candidate was displayed. A Prompt Candidate is not a Final Prompt Draft.
21
+
22
+ **Approved Prompt**:
23
+ A Final Prompt Draft that the user explicitly accepts for creation as a new global Pi prompt. Approval does not permit replacement of an existing prompt.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-prompt-creator",
3
- "version": "3.1.5",
3
+ "version": "3.1.6",
4
4
  "description": "Turn current Pi conversation signals into user-approved prompt templates.",
5
5
  "keywords": [
6
6
  "pi-package",