pi-usereq 0.39.0 → 0.41.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/CHANGELOG.md +52 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/pi-usereq/docs/REFERENCES.md +286 -274
- package/pi-usereq/docs/REQUIREMENTS.md +12 -4
- package/pi-usereq/docs/WORKFLOW.md +7 -5
- package/src/core/config.ts +3 -3
- package/src/core/prompt-command-runtime.ts +6 -6
- package/src/core/prompts.ts +69 -1
- package/src/core/req-references-command.ts +3 -3
- package/src/core/req-reset-command.ts +3 -3
- package/src/core/runtime-project-paths.ts +3 -3
- package/src/index.ts +62 -6
- package/tests/extension-registration.test.ts +290 -0
- package/tests/prompt-command-summary.test.ts +36 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.41.0](https://github.com/Ogekuri/PI-useReq/compare/v0.40.0..v0.41.0) - 2026-07-10
|
|
4
|
+
### 🐛 Bug Fixes
|
|
5
|
+
- await and suppress summary sendMessage to prevent unhandled rejection breaking worktree merge [useReq] *(prompt-delivery)*
|
|
6
|
+
- deliverPromptCommand now awaits the non-critical display:true summary sendMessage and suppresses its failures before dispatching the authoritative hidden display:false prompt turn with triggerTurn:true
|
|
7
|
+
- a rejecting fire-and-forget summary sendMessage previously surfaced as an unhandled rejection (Node default --unhandled-rejections=throw) that could terminate the process before prompt-end closure ran the worktree merge, branch deletion, and worktree deletion
|
|
8
|
+
- add regression tests covering the production sendMessage triggerTurn path, the pi.sendMessage fallback, and a rejecting summary that must not interrupt the merge
|
|
9
|
+
- update WORKFLOW.md call-traces and regenerate REFERENCES.md
|
|
10
|
+
- resolve tsc errors in req command and session-entry types [useReq] *(types)*
|
|
11
|
+
- Narrow runCapture/runGitCapture return types to SpawnSyncReturns<string>
|
|
12
|
+
- so UTF-8 stdout/stderr string methods are type-safe in
|
|
13
|
+
- req-references-command, req-reset-command, runtime-project-paths.
|
|
14
|
+
- Remove index signature from PromptCommandSessionEntry so the SDK
|
|
15
|
+
- SessionEntry union is structurally assignable, resolving all
|
|
16
|
+
- SessionEntry/ExtensionContext -> PromptCommandSessionContext mismatches.
|
|
17
|
+
- Narrow transitionPromptWorkflowState nextState parameter from
|
|
18
|
+
- DebugWorkflowState to PiUsereqWorkflowState to match setPiUsereqWorkflowState.
|
|
19
|
+
- Regenerate REFERENCES.md.
|
|
20
|
+
- add TST-122 summary test and resolve tsc errors [useReq] *(prompt-command)*
|
|
21
|
+
- Add prompt-command-summary unit test verifying renderPromptCommandSummary renders none for empty context files, static code checks, and enabled tools (TST-122, REQ-338).
|
|
22
|
+
- Narrow runCapture return type to SpawnSyncReturns<string> and initialize switchResult to resolve tsc errors in src/core/prompt-command-runtime.ts; re-export PromptCommandName for prompts.ts.
|
|
23
|
+
- Fix getAllTools type predicate in scripts/lib/recording-extension-api.ts to include required promptGuidelines: string[].
|
|
24
|
+
- Regenerate REFERENCES.md.
|
|
25
|
+
|
|
26
|
+
### 🚜 Changes
|
|
27
|
+
- render none for empty summary lists [useReq] *(prompts)*
|
|
28
|
+
- Add REQ-338 and TST-122 requiring the command invocation summary to
|
|
29
|
+
- render 'none' for context files, static code checks, and enabled
|
|
30
|
+
- tools fields when their enabled-item list is empty.
|
|
31
|
+
- Update renderPromptCommandSummary to fall back to 'none' for the
|
|
32
|
+
- context-files, static-check-languages, and enabled-tools lists.
|
|
33
|
+
- Update WORKFLOW.md node descriptions and regenerate REFERENCES.md.
|
|
34
|
+
- default context files to disabled [useReq] *(config)*
|
|
35
|
+
- Update REQ-328 default to disabled and REQ-333 reset-to-disabled
|
|
36
|
+
- Change DEFAULT_CONTEXT_FILES_FLAG from true to false
|
|
37
|
+
- Update Doxygen docs on normalizeContextFilesFlag and constant
|
|
38
|
+
- Bump SRS version to 0.0.72
|
|
39
|
+
|
|
40
|
+
## [0.40.0](https://github.com/Ogekuri/PI-useReq/compare/v0.39.0..v0.40.0) - 2026-07-10
|
|
41
|
+
### 🚜 Changes
|
|
42
|
+
- hide full prompt on screen, show command summary [useReq] *(prompt-delivery)*
|
|
43
|
+
- Deliver rendered prompt to LLM via sendMessage(display:false, triggerTurn:true)
|
|
44
|
+
- Display command invocation summary (command name, args, config) on screen
|
|
45
|
+
- Fall back to sendUserMessage when sendMessage is unavailable
|
|
46
|
+
- Add renderPromptCommandSummary in src/core/prompts.ts
|
|
47
|
+
- Update deliverPromptCommand in src/index.ts for all req-<prompt> commands
|
|
48
|
+
- Add requirements DES-016, REQ-334..337, TST-121
|
|
49
|
+
- Update WORKFLOW.md call-traces and REFERENCES.md
|
|
50
|
+
|
|
3
51
|
## [0.39.0](https://github.com/Ogekuri/PI-useReq/compare/v0.38.0..v0.39.0) - 2026-07-09
|
|
4
52
|
### ⛰️ Features
|
|
5
53
|
- Add Context Files menu and %%CONTEXT_FILES%% prompt injection [useReq] *(context-files)*
|
|
@@ -535,6 +583,8 @@
|
|
|
535
583
|
- \[0.37.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.37.0
|
|
536
584
|
- \[0.38.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.38.0
|
|
537
585
|
- \[0.39.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.39.0
|
|
586
|
+
- \[0.40.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.40.0
|
|
587
|
+
- \[0.41.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.41.0
|
|
538
588
|
|
|
539
589
|
[0.1.0]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.1.0
|
|
540
590
|
[0.2.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.1.0..v0.2.0
|
|
@@ -573,3 +623,5 @@
|
|
|
573
623
|
[0.37.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.36.0..v0.37.0
|
|
574
624
|
[0.38.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.37.0..v0.38.0
|
|
575
625
|
[0.39.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.38.0..v0.39.0
|
|
626
|
+
[0.40.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.39.0..v0.40.0
|
|
627
|
+
[0.41.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.40.0..v0.41.0
|
package/README.md
CHANGED