@narumitw/pi-plan-mode 0.59.4 → 0.59.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.
- package/CHANGELOG.md +215 -0
- package/README.md +1 -0
- package/dist/chunks/{chunk-MJV6WNHK.ts → chunk-W7D6N2MI.ts} +2 -1
- package/dist/chunks/{chunk-MJV6WNHK.ts.map → chunk-W7D6N2MI.ts.map} +2 -2
- package/dist/chunks/{interactive-ui-F7FMN7FT.ts → interactive-ui-RG7CBW6F.ts} +2 -2
- package/dist/index.ts +3 -2
- package/dist/index.ts.map +2 -2
- package/package.json +5 -4
- package/src/plan-mode.ts +1 -0
- package/src/question-tool.ts +1 -0
- /package/dist/chunks/{interactive-ui-F7FMN7FT.ts.map → interactive-ui-RG7CBW6F.ts.map} +0 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
# @narumitw/pi-plan-mode
|
|
2
|
+
|
|
3
|
+
## 0.59.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6c76ef1: Report inline Plan questions, Notes template editing, and Progress settings as waiting for user input on supported Pi hosts and terminals. Add optional consumer-owned blocked metadata to Kit custom interactions and questionnaires without marking loaders or changing RPC and print behavior. Settle host-disposed interactions and drain their work without interrupting native reset or restoring stale editor drafts.
|
|
8
|
+
- e484010: Include the existing package-root CHANGELOG.md in extension tarballs so Pi can show native update notices. Keep Changesets version headings and Pi's first-observation and collapseChangelog behavior unchanged.
|
|
9
|
+
- Updated dependencies [54f2700]
|
|
10
|
+
- Updated dependencies [6c76ef1]
|
|
11
|
+
- @narumitw/pi-tui-kit@0.69.0
|
|
12
|
+
|
|
13
|
+
## 0.59.5
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 9d3e0d7: Prevent passive UI timers from keeping Node alive while preserving status expiry, settings reloads, paste handling, and cleanup.
|
|
18
|
+
- Updated dependencies [9d3e0d7]
|
|
19
|
+
- @narumitw/pi-tui-kit@0.68.1
|
|
20
|
+
|
|
21
|
+
## 0.59.4
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 9f80b89: Reuse published Kit interaction ownership for native Progress and Subagents settings while preserving ordered saves, rollback, and durable-save recovery after the screen closes.
|
|
26
|
+
|
|
27
|
+
Share passive widget framing in Subagents, Tool, Plan Mode, and Cache Hit Monitor. Keep domain rendering and lifecycle ownership local, bound narrow and invalid widths, and retain lazy loading of Kit menus and other interactive APIs.
|
|
28
|
+
- Updated dependencies [077137a]
|
|
29
|
+
- Updated dependencies [9f80b89]
|
|
30
|
+
- Updated dependencies [efc474c]
|
|
31
|
+
- @narumitw/pi-tui-kit@0.66.0
|
|
32
|
+
|
|
33
|
+
## 0.59.3
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- fed7bfb: Handle Pi custom-message run starts without consuming queued file quotes, clearing ready plans, or applying user-prompt Goal ownership logic.
|
|
38
|
+
|
|
39
|
+
## 0.59.2
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- 2708319: Require Pi TUI Kit's published questionnaire custom-editor fix so existing lockfiles cannot retain a Kit release that bypasses the configured editor factory or mishandles editor submissions and key-release cycles.
|
|
44
|
+
|
|
45
|
+
## 0.59.1
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- 000bd50: Use Pi's publicly configured custom editor factory for TUI questionnaire answers and notes. Custom editors own editing and submission keys, while Ctrl+C remains hard cancellation and the main prompt editor stays untouched. Preserve raw expanded drafts, fragmented paste safety, default-editor and non-TUI behavior, and release questionnaire-owned editor instances when the interaction ends.
|
|
50
|
+
|
|
51
|
+
Honor custom editor submission values without replacing intentional normalization with the original draft, and retain editor-owned key-release cycles across answer and note transitions.
|
|
52
|
+
- Updated dependencies [000bd50]
|
|
53
|
+
- @narumitw/pi-tui-kit@0.65.2
|
|
54
|
+
|
|
55
|
+
## 0.59.0
|
|
56
|
+
|
|
57
|
+
### Minor Changes
|
|
58
|
+
|
|
59
|
+
- 51d8c21: Restrict `safeSubcommands` trust to individual parsed Bash and PowerShell segments. A matching prefix no longer exempts trailing commands or bypasses the shell parser: every segment must pass its own policy, and unsupported syntax such as redirects and multiline input remains blocked.
|
|
60
|
+
|
|
61
|
+
This is a compatibility change from full-command trust. Simple configured commands and trusted arguments remain supported, but chains require each additional segment to be independently permitted. Run workflows requiring parser-unsupported syntax outside Plan mode after review. The settings schema is unchanged, and explicitly trusted commands and their arguments can still mutate data or execute code; this setting is not a read-only guarantee or sandbox.
|
|
62
|
+
|
|
63
|
+
## 0.58.4
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- 9621cda: Distinguish inactive Pi tools from Plan-policy blocks in Settings and the pre-start picker, and explain how to enable built-in search tools through Pi settings without changing tool activation or execution policy.
|
|
68
|
+
- dbc6e8e: Allow explicit selection of native MCP and orchestration tools in Plan Mode. Honor registered callable exposure without direct activation while preserving automatic core defaults, frozen workflow policies, and per-call nested safety checks.
|
|
69
|
+
- acb3aaf: Allow case-insensitive inspection flags such as `rg -i` and `grep -i` in the Plan mode shell policy.
|
|
70
|
+
|
|
71
|
+
## 0.58.3
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- 26e8801: Make Plan-mode shortcut changes explicitly take effect after `/reload` or restarting Pi. Keep startup shortcut registrations stable, remove ineffective live rebinding, and show the configured and startup-loaded values with reload guidance in Settings. Other settings retain their existing reload behavior.
|
|
76
|
+
- Updated dependencies [e6db042]
|
|
77
|
+
- @narumitw/pi-tui-kit@0.65.1
|
|
78
|
+
|
|
79
|
+
## 0.58.2
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- 8abd5b7: Keep generated extension runtime graphs inside Pi's Jiti-loaded TypeScript path to avoid duplicate peer-runtime evaluation during startup. Add measured generated runtimes for Context Management, Herdr, and TypeSafe Search.
|
|
84
|
+
|
|
85
|
+
## 0.58.1
|
|
86
|
+
|
|
87
|
+
### Patch Changes
|
|
88
|
+
|
|
89
|
+
- 67a3049: Adapt provider, transcript, usage, deferred-tool, and telemetry behavior to Pi's current runtime contracts, including accurate cache-warming accounting and exclusion from ordinary generation traces.
|
|
90
|
+
|
|
91
|
+
## 0.58.0
|
|
92
|
+
|
|
93
|
+
### Minor Changes
|
|
94
|
+
|
|
95
|
+
- b745330: Add persistent fresh implementation model and thinking defaults with a same-as-plan fallback.
|
|
96
|
+
- 0ef037d: Add one-shot model and thinking selection before fresh ready-plan implementation.
|
|
97
|
+
|
|
98
|
+
### Patch Changes
|
|
99
|
+
|
|
100
|
+
- 7c9a062: Defer automatic ready-plan fresh session handoffs until lifecycle dispatch and prompt cleanup finish.
|
|
101
|
+
- Updated dependencies [4485b49]
|
|
102
|
+
- Updated dependencies [6b1e009]
|
|
103
|
+
- @narumitw/pi-tui-kit@0.62.0
|
|
104
|
+
|
|
105
|
+
## 0.57.1
|
|
106
|
+
|
|
107
|
+
### Patch Changes
|
|
108
|
+
|
|
109
|
+
- 31b3dde: Remove the implementation model and thinking selectors, restoring Plan implementation handoffs to the current model and normal thinking behavior.
|
|
110
|
+
|
|
111
|
+
## 0.57.0
|
|
112
|
+
|
|
113
|
+
### Minor Changes
|
|
114
|
+
|
|
115
|
+
- e2af16b: Add optional implementation model and thinking defaults plus per-menu implementation options for same-session and fresh-session handoffs. Apply choices only at implementation start without changing Pi defaults or automatically restoring the planner's model after a run ends.
|
|
116
|
+
|
|
117
|
+
### Patch Changes
|
|
118
|
+
|
|
119
|
+
- Updated dependencies [317f7bd]
|
|
120
|
+
- @narumitw/pi-tui-kit@0.61.0
|
|
121
|
+
|
|
122
|
+
## 0.56.0
|
|
123
|
+
|
|
124
|
+
### Minor Changes
|
|
125
|
+
|
|
126
|
+
- e230348: Allow narrowly validated local `hostname`, `tasklist`, `Get-Process`, and `Get-Service` inspections in Plan mode by default.
|
|
127
|
+
- 708cc2e: Let users add arbitrary `safeSubcommands` entries and treat every configured command-subcommand prefix as fully trusted for Plan-mode Bash and PowerShell calls.
|
|
128
|
+
|
|
129
|
+
## 0.55.3
|
|
130
|
+
|
|
131
|
+
### Patch Changes
|
|
132
|
+
|
|
133
|
+
- 14068d2: Allow reviewed Git inspections to use current-working-directory `git -C <path>` forms, and report actionable reasons when Plan mode denies an unavailable, inactive, frozen, blocked, or unselected tool.
|
|
134
|
+
|
|
135
|
+
## 0.55.2
|
|
136
|
+
|
|
137
|
+
### Patch Changes
|
|
138
|
+
|
|
139
|
+
- Updated dependencies [40182e5]
|
|
140
|
+
- @narumitw/pi-tui-kit@0.59.0
|
|
141
|
+
|
|
142
|
+
## 0.55.1
|
|
143
|
+
|
|
144
|
+
### Patch Changes
|
|
145
|
+
|
|
146
|
+
- b99b3db: Resolve explicitly selected tools registered before the first Plan request without mutating Pi's active tool schemas.
|
|
147
|
+
|
|
148
|
+
## 0.55.0
|
|
149
|
+
|
|
150
|
+
### Minor Changes
|
|
151
|
+
|
|
152
|
+
- b59cdbc: Remove the `toolVisibility` setting and keep Plan helper schemas stable from startup.
|
|
153
|
+
Retired settings keys are ignored and preserved, while globally visible helper metadata now distinguishes `/plan` from ordinary planning workflows.
|
|
154
|
+
|
|
155
|
+
## 0.54.0
|
|
156
|
+
|
|
157
|
+
### Minor Changes
|
|
158
|
+
|
|
159
|
+
- ab467e0: Allow Pi's active native PowerShell tool to run reviewed read-only file, directory, Git, and GitHub inspections in Plan mode while blocking mutation and unsupported dynamic syntax.
|
|
160
|
+
|
|
161
|
+
## 0.53.1
|
|
162
|
+
|
|
163
|
+
### Patch Changes
|
|
164
|
+
|
|
165
|
+
- 02878f5: Add an editor-style divider above the Plan mode widget.
|
|
166
|
+
- 3346683: Publish generated lazy chunks at the JavaScript paths referenced by each extension runtime so deferred menus and implementations load correctly through Pi's Jiti loader.
|
|
167
|
+
- Updated dependencies [b9eba3a]
|
|
168
|
+
- @narumitw/pi-tui-kit@0.58.0
|
|
169
|
+
|
|
170
|
+
## 0.53.0
|
|
171
|
+
|
|
172
|
+
### Minor Changes
|
|
173
|
+
|
|
174
|
+
- c194597: Make conversation-history-only implementation the default, use Codex-style kickoff prompts without active-plan injection, and clarify Plan reinjection controls.
|
|
175
|
+
- e74ee84: Add configurable Plan helper visibility and default to revealing the helper tools on the first successful Plan activation.
|
|
176
|
+
- 67eb77b: Remove the `--plan` startup flag. Start Plan mode after launch with `/plan start` or begin with a prompt through `/plan <prompt>`.
|
|
177
|
+
- da265a0: Keep Plan and Normal requests on one append-only conversation with stable tool schemas, versioned mode contracts, and a runtime Plan tool allowlist that no longer activates inactive tools.
|
|
178
|
+
|
|
179
|
+
### Patch Changes
|
|
180
|
+
|
|
181
|
+
- df584db: Keep unused resumed sessions free of mode contracts and reject `/tree` navigation to internal transition markers.
|
|
182
|
+
- 5be9aa2: Prevent active agent runs from mixing Plan and Normal tool contracts, and retry explicit structured finalization once after settlement when the model responds with prose only.
|
|
183
|
+
|
|
184
|
+
## 0.52.0
|
|
185
|
+
|
|
186
|
+
### Minor Changes
|
|
187
|
+
|
|
188
|
+
- 85d13c8: Coordinate Plan-mode activation through Workflow Mutex Protocol v1 so cooperating agent workflows cannot start in the same Pi session.
|
|
189
|
+
|
|
190
|
+
## 0.51.1
|
|
191
|
+
|
|
192
|
+
### Patch Changes
|
|
193
|
+
|
|
194
|
+
- 8540d0f: Simplify single-question TUI questionnaires with a plain header and immediate answer submission while retaining tabbed Review for multiple questions.
|
|
195
|
+
- 5785cb4: Reuse Pi TUI Kit's questionnaire runner while preserving Plan mode answer and lifecycle behavior.
|
|
196
|
+
- Updated dependencies [8540d0f]
|
|
197
|
+
- @narumitw/pi-tui-kit@0.57.1
|
|
198
|
+
|
|
199
|
+
## 0.51.0
|
|
200
|
+
|
|
201
|
+
### Minor Changes
|
|
202
|
+
|
|
203
|
+
- 416da47: Add tabbed TUI Plan questions with answer notes and final review.
|
|
204
|
+
|
|
205
|
+
## 0.50.1
|
|
206
|
+
|
|
207
|
+
### Patch Changes
|
|
208
|
+
|
|
209
|
+
- 30bc076: Load each extension from a generated TypeScript runtime to reduce Jiti package startup work while preserving existing first-use boundaries.
|
|
210
|
+
|
|
211
|
+
## 0.50.0
|
|
212
|
+
|
|
213
|
+
### Minor Changes
|
|
214
|
+
|
|
215
|
+
- 160f2fc: Add an optional `toggleShortcut` setting and a **Plan mode shortcut** Settings row so the global Plan-mode keybinding can be chosen, and keep it disabled while the setting is omitted. Reload the settings file automatically when it changes and rebind the configured shortcut immediately after a Settings save.
|
package/README.md
CHANGED
|
@@ -176,6 +176,7 @@ While that editor is active, it controls Escape and submission keys; Ctrl+C stil
|
|
|
176
176
|
The editor's submitted value is retained, including any whitespace normalization it intentionally applies.
|
|
177
177
|
Without a custom editor, existing editing and cancellation behavior is unchanged.
|
|
178
178
|
The TUI rejects either field above 4,000 characters instead of truncating it.
|
|
179
|
+
On Pi 1.5 or later, the inline question prompt reports `question` waiting status to supported terminals until it closes. Older hosts keep the same question UI without this terminal status.
|
|
179
180
|
RPC keeps the existing sequential `select` and `editor` dialogs because Pi RPC cannot render custom TUI components.
|
|
180
181
|
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.
|
|
181
182
|
|
|
@@ -1022,6 +1022,7 @@ async function askPlanModeQuestions(questions, ctx, shouldContinue = () => true)
|
|
|
1022
1022
|
}))
|
|
1023
1023
|
}));
|
|
1024
1024
|
const result = await runQuestionnaire(ctx, {
|
|
1025
|
+
blocked: { kind: "question", message: "Answer Plan mode questions" },
|
|
1025
1026
|
questions: runnerQuestions,
|
|
1026
1027
|
allowNotes: true,
|
|
1027
1028
|
maxTextLength: MAX_PLAN_MODE_RESPONSE_LENGTH,
|
|
@@ -1876,4 +1877,4 @@ export {
|
|
|
1876
1877
|
defaultPlanModeToolNames,
|
|
1877
1878
|
snapshotPlanModeSelectedNames
|
|
1878
1879
|
};
|
|
1879
|
-
//# sourceMappingURL=chunk-
|
|
1880
|
+
//# sourceMappingURL=chunk-W7D6N2MI.ts.map
|