@narumitw/pi-plan-mode 0.51.0 → 0.51.1
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 +7 -4
- package/dist/chunks/{chunk-VMD6XCI5.ts → chunk-H3RGWRY7.ts} +53 -608
- package/dist/chunks/{chunk-VMD6XCI5.ts.map → chunk-H3RGWRY7.ts.map} +3 -3
- package/dist/chunks/{interactive-ui-ROT43QBA.ts → interactive-ui-GFNX5OF4.ts} +2 -2
- package/dist/index.ts +2 -2
- package/package.json +2 -2
- package/src/question-tool.ts +65 -738
- /package/dist/chunks/{interactive-ui-ROT43QBA.ts.map → interactive-ui-GFNX5OF4.ts.map} +0 -0
package/README.md
CHANGED
|
@@ -122,11 +122,14 @@ Tests and builds may still write ignored caches or build artifacts and may execu
|
|
|
122
122
|
This is extension-level risk reduction, not an OS sandbox.
|
|
123
123
|
|
|
124
124
|
`plan_mode_question` follows Codex's `request_user_input` pattern: the agent can ask 1-3 concise questions, each with meaningful options and a free-form Other path.
|
|
125
|
-
In TUI mode,
|
|
125
|
+
In TUI mode, a single question shows its header as plain muted text, submits as soon as its preset or custom answer is confirmed, and does not show tabs, Review, or question-navigation controls.
|
|
126
|
+
Add an optional note with `n` before confirming a single preset answer.
|
|
127
|
+
With two or three questions, one question appears at a time with question tabs and a final Review tab.
|
|
126
128
|
Use Tab, Shift+Tab, left, or right to visit any question or Review, including unanswered future questions.
|
|
127
|
-
Use up and down to choose an option, Enter to record it and advance, or `n` to record the highlighted option and open its optional note editor.
|
|
129
|
+
Use up and down to choose an option, Enter to record it and advance, or `n` to record the highlighted option and open its optional note editor.
|
|
130
|
+
Press `n` again on an answered item to edit or clear its note.
|
|
128
131
|
Revisit a question to replace its answer; changing the chosen option clears its prior note.
|
|
129
|
-
Review lists every answer and note,
|
|
132
|
+
Review lists every answer and note, blocks incomplete submission, and requires returning to a question to edit its answer or note.
|
|
130
133
|
Custom answers and notes retain their raw submitted text in the tool result, while terminal rendering is sanitized.
|
|
131
134
|
The TUI rejects either field above 4,000 characters instead of truncating it.
|
|
132
135
|
RPC keeps the existing sequential `select` and `editor` dialogs because Pi RPC cannot render custom TUI components.
|
|
@@ -220,7 +223,7 @@ During implementation, it removes both the original implementation handoff and t
|
|
|
220
223
|
|
|
221
224
|
## 🛠️ Tools
|
|
222
225
|
|
|
223
|
-
- `plan_mode_question` asks up to three structured questions, supports optional answer notes, and reviews
|
|
226
|
+
- `plan_mode_question` asks up to three structured questions, supports optional answer notes, submits one answer directly, and reviews multiple answers before TUI submission.
|
|
224
227
|
- `plan_mode_complete` records the complete approved Markdown plan and terminates the planning turn when called alone.
|
|
225
228
|
|
|
226
229
|
## ⚙️ Settings
|