@narumitw/pi-plan-mode 0.59.0 → 0.59.2
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 +4 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -171,6 +171,10 @@ Press `n` again on an answered item to edit or clear its note.
|
|
|
171
171
|
Revisit a question to replace its answer; changing the chosen option clears its prior note.
|
|
172
172
|
Review lists every answer and note, blocks incomplete submission, and requires returning to a question to edit its answer or note.
|
|
173
173
|
Custom answers and notes retain their raw submitted text in the tool result, while terminal rendering is sanitized.
|
|
174
|
+
In TUI mode, a custom editor registered through Pi's `ctx.ui.setEditorComponent()` also handles answer and note editing in a separate instance, without changing the main prompt draft.
|
|
175
|
+
While that editor is active, it controls Escape and submission keys; Ctrl+C still cancels the question.
|
|
176
|
+
The editor's submitted value is retained, including any whitespace normalization it intentionally applies.
|
|
177
|
+
Without a custom editor, existing editing and cancellation behavior is unchanged.
|
|
174
178
|
The TUI rejects either field above 4,000 characters instead of truncating it.
|
|
175
179
|
RPC keeps the existing sequential `select` and `editor` dialogs because Pi RPC cannot render custom TUI components.
|
|
176
180
|
If you cancel or no interactive UI is available, the agent should ask a concise plain-text question or proceed only with a clearly stated low-risk assumption instead of prematurely producing a final plan.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@narumitw/pi-plan-mode",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.2",
|
|
4
4
|
"description": "Pi extension that adds a Codex-like read-only /plan collaboration mode.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,6 +47,6 @@
|
|
|
47
47
|
"directory": "packages/pi-plan-mode"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@narumitw/pi-tui-kit": "^0.
|
|
50
|
+
"@narumitw/pi-tui-kit": "^0.65.2"
|
|
51
51
|
}
|
|
52
52
|
}
|