@narumitw/pi-btw 0.63.3 → 0.63.5
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 +267 -0
- package/README.md +1 -0
- package/dist/chunks/bring-to-main-VMICX6GU.ts +450 -0
- package/dist/chunks/bring-to-main-VMICX6GU.ts.map +7 -0
- package/dist/chunks/chunk-6GO5M6UJ.ts +142 -0
- package/dist/chunks/chunk-6GO5M6UJ.ts.map +7 -0
- package/dist/chunks/chunk-E4LBFYRH.ts +452 -0
- package/dist/chunks/chunk-E4LBFYRH.ts.map +7 -0
- package/dist/chunks/chunk-FWW662MW.ts +329 -0
- package/dist/chunks/chunk-FWW662MW.ts.map +7 -0
- package/dist/chunks/chunk-TPDBHPLD.ts +614 -0
- package/dist/chunks/chunk-TPDBHPLD.ts.map +7 -0
- package/dist/chunks/fullscreen-ui-4MJ3HOFJ.ts +1400 -0
- package/dist/chunks/fullscreen-ui-4MJ3HOFJ.ts.map +7 -0
- package/dist/chunks/import-main-updates-XFSIED52.ts +79 -0
- package/dist/chunks/import-main-updates-XFSIED52.ts.map +7 -0
- package/dist/chunks/main-tree-picker-WHRN26NJ.ts +328 -0
- package/dist/chunks/main-tree-picker-WHRN26NJ.ts.map +7 -0
- package/dist/chunks/menu-SYMLQYWC.ts +15 -0
- package/dist/chunks/menu-SYMLQYWC.ts.map +7 -0
- package/dist/chunks/transcript-pager-D7XAJC65.ts +824 -0
- package/dist/chunks/transcript-pager-D7XAJC65.ts.map +7 -0
- package/dist/index.ts +111 -4497
- package/dist/index.ts.map +4 -4
- package/package.json +6 -5
- package/src/btw.ts +55 -30
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
# @narumitw/pi-btw
|
|
2
|
+
|
|
3
|
+
## 0.63.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e46b610: Reduce Pi startup work by loading unused BTW and Codex Imagegen UI on first use. Preserve command registration, settings, tool exposure, and session cleanup.
|
|
8
|
+
- Updated dependencies [4f79c28]
|
|
9
|
+
- @narumitw/pi-tui-kit@0.69.1
|
|
10
|
+
|
|
11
|
+
## 0.63.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 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.
|
|
16
|
+
- Updated dependencies [54f2700]
|
|
17
|
+
- Updated dependencies [6c76ef1]
|
|
18
|
+
- @narumitw/pi-tui-kit@0.69.0
|
|
19
|
+
|
|
20
|
+
## 0.63.3
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- bab4b67: Allow main-pane submissions while a split workspace remains open, including when BTW starts while the main agent is idle. Keep the complete workspace task session-owned, prevent overlapping BTW flows, and preserve cancellation, shutdown draining, and error reporting.
|
|
25
|
+
|
|
26
|
+
## 0.63.2
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [a21d39b]
|
|
31
|
+
- Updated dependencies [f68aa54]
|
|
32
|
+
- Updated dependencies [b062d21]
|
|
33
|
+
- @narumitw/pi-tui-kit@0.68.0
|
|
34
|
+
|
|
35
|
+
## 0.63.1
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- 57eeae7: Add the opt-in `createFullscreenHandoff()` resource and native test harness. Share terminal entry/exit drain, cancellation-safe restoration, keyboard-protocol recovery, owned overlay handling, and cleanup errors through public Pi TUI APIs. Keep ordinary Kit interactions unchanged.
|
|
40
|
+
|
|
41
|
+
Use the resource in Starship's configuration chat and BTW's multi-screen workspace. Keep each extension's input policy, layouts, domain state, permissions, and persistence local. BTW now waits for native input drain before entry. Changesets raises both consumer floors to the Kit API release; dependent publication requires its exact registry artifact.
|
|
42
|
+
- Updated dependencies [57eeae7]
|
|
43
|
+
- @narumitw/pi-tui-kit@0.67.0
|
|
44
|
+
|
|
45
|
+
## 0.63.0
|
|
46
|
+
|
|
47
|
+
### Minor Changes
|
|
48
|
+
|
|
49
|
+
- ec9e092: Add manual preview and import of new main-thread context into retained side threads. Keep imported updates in conversation order, preserve earlier request prefixes, and reject incompatible branch or context-boundary changes. Add a configurable import shortcut with F9–F11 fallbacks.
|
|
50
|
+
|
|
51
|
+
## 0.62.0
|
|
52
|
+
|
|
53
|
+
### Minor Changes
|
|
54
|
+
|
|
55
|
+
- 7d15a96: Align the BTW workspace with native Pi input, prompt navigation, scrollbars, and cursor-first dock layout. Add a conflict-checked keyboard shortcut to switch panes. Keep effective key hints, native mouse editing, draft safeguards, and queue timing clear. Cancel and drain session-owned work on replacement and shutdown, and contain renderer cleanup and clipboard failures.
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- d60fa4e: Bring the BTW conversation appearance closer to native Pi. Move side identity, model, thinking, focus, and concise key hints below the editor; match native working borders and message spacing while retaining cursor-first short layouts. Keep tools absent and preserve existing input, queue, lifecycle, and draft-safety behavior.
|
|
60
|
+
- Updated dependencies [077137a]
|
|
61
|
+
- Updated dependencies [9f80b89]
|
|
62
|
+
- Updated dependencies [efc474c]
|
|
63
|
+
- @narumitw/pi-tui-kit@0.66.0
|
|
64
|
+
|
|
65
|
+
## 0.61.2
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- 033dead: Reject unknown and duplicate modifiers when selecting the fullscreen jump-to-latest key hint. Match Pi's strict key parser so the hint names a usable binding.
|
|
70
|
+
|
|
71
|
+
## 0.61.1
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- c073bc0: Fix the main-thread tree picker on Pi 0.87 sessions containing context edits.
|
|
76
|
+
- 81be3f7: Send a per-thread routing `sessionId` with side requests so provider overrides that require one, such as subscription attribution transports, no longer reject `/btw`; the main session ID is still used only for OpenCode headers.
|
|
77
|
+
|
|
78
|
+
## 0.61.0
|
|
79
|
+
|
|
80
|
+
### Minor Changes
|
|
81
|
+
|
|
82
|
+
- 865f1d3: Make the split-pane divider draggable and remember the side-thread width.
|
|
83
|
+
- 129f324: Add configurable fullscreen, side-thread-left, and side-thread-right workspaces with Pi's live main-thread view and click-to-focus input.
|
|
84
|
+
|
|
85
|
+
### Patch Changes
|
|
86
|
+
|
|
87
|
+
- 2bacc07: Use one muted column for the split-pane divider.
|
|
88
|
+
|
|
89
|
+
## 0.60.3
|
|
90
|
+
|
|
91
|
+
### Patch Changes
|
|
92
|
+
|
|
93
|
+
- 34b57b2: Route side-thread requests through Pi's authenticated `modelRegistry.streamSimple()` path so extension-registered providers, OAuth endpoint overrides, headers, and environment credentials are resolved by Pi at request time.
|
|
94
|
+
|
|
95
|
+
## 0.60.2
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- 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.
|
|
100
|
+
|
|
101
|
+
## 0.60.1
|
|
102
|
+
|
|
103
|
+
### Patch Changes
|
|
104
|
+
|
|
105
|
+
- 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.
|
|
106
|
+
|
|
107
|
+
## 0.60.0
|
|
108
|
+
|
|
109
|
+
### Minor Changes
|
|
110
|
+
|
|
111
|
+
- c4d403b: Add a searchable model picker to `/btw` Settings with scoped available models, same as the main thread reset, and model-aware thinking choices.
|
|
112
|
+
|
|
113
|
+
## 0.59.0
|
|
114
|
+
|
|
115
|
+
### Minor Changes
|
|
116
|
+
|
|
117
|
+
- 022ba82: Render supported Mermaid fences as width-safe, themed Unicode diagrams in side-thread transcripts, with readable source fallbacks for malformed, unsupported, or oversized diagrams.
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- ddaccd2: Complete `/btw` fullscreen cancellation by forwarding upstream aborts, closing mounted composers, restoring the parent TUI, and stopping lazy Mermaid transcript preparation when cancelled.
|
|
122
|
+
|
|
123
|
+
## 0.58.1
|
|
124
|
+
|
|
125
|
+
### Patch Changes
|
|
126
|
+
|
|
127
|
+
- ad0fbc0: Honor the API base URL returned by Pi's authentication resolver for both inherited and explicitly configured side-thread models. This fixes misdirected requests for GitHub Copilot accounts that use a different endpoint from the provider default, without changing the main session's model.
|
|
128
|
+
|
|
129
|
+
## 0.58.0
|
|
130
|
+
|
|
131
|
+
### Minor Changes
|
|
132
|
+
|
|
133
|
+
- 609f6a8: Add BTW-only exit, thinking-cycle, and bring-to-main keybindings in `/btw` → Settings, with conflict validation and per-action reset. Preserve Ctrl+C as hard cancel and keep pasted input out of shortcut handling.
|
|
134
|
+
|
|
135
|
+
### Patch Changes
|
|
136
|
+
|
|
137
|
+
- Updated dependencies [317f7bd]
|
|
138
|
+
- @narumitw/pi-tui-kit@0.61.0
|
|
139
|
+
|
|
140
|
+
## 0.57.1
|
|
141
|
+
|
|
142
|
+
### Patch Changes
|
|
143
|
+
|
|
144
|
+
- ee07eb8: Forward Pi session headers to OpenCode providers for side-thread requests.
|
|
145
|
+
|
|
146
|
+
## 0.57.0
|
|
147
|
+
|
|
148
|
+
### Minor Changes
|
|
149
|
+
|
|
150
|
+
- f24a5b0: Add a themed, clickable Jump to latest control that honors Pi's effective fullscreen bottom keybinding.
|
|
151
|
+
|
|
152
|
+
## 0.56.2
|
|
153
|
+
|
|
154
|
+
### Patch Changes
|
|
155
|
+
|
|
156
|
+
- c0fe03e: Wait for Pi's terminal input drain before restoring the parent fullscreen TUI after Ctrl+C.
|
|
157
|
+
|
|
158
|
+
## 0.56.1
|
|
159
|
+
|
|
160
|
+
### Patch Changes
|
|
161
|
+
|
|
162
|
+
- 612df75: Defer Ctrl+C terminal restoration until input dispatch finishes so Windows fullscreen sessions redraw and scroll correctly.
|
|
163
|
+
|
|
164
|
+
## 0.56.0
|
|
165
|
+
|
|
166
|
+
### Minor Changes
|
|
167
|
+
|
|
168
|
+
- f41734c: Add configurable manual fullscreen selection copying through Pi's effective copy keybinding, with paste-safe input and compatibility checks.
|
|
169
|
+
|
|
170
|
+
## 0.55.4
|
|
171
|
+
|
|
172
|
+
### Patch Changes
|
|
173
|
+
|
|
174
|
+
- Updated dependencies [40182e5]
|
|
175
|
+
- @narumitw/pi-tui-kit@0.59.0
|
|
176
|
+
|
|
177
|
+
## 0.55.3
|
|
178
|
+
|
|
179
|
+
### Patch Changes
|
|
180
|
+
|
|
181
|
+
- 4fb170b: Restore main-editor input immediately after Ctrl+C exits a dedicated side thread.
|
|
182
|
+
- 2250f3c: Close the active side flow when Ctrl+C restores the main editor while transcript search has focus.
|
|
183
|
+
- Updated dependencies [78276b0]
|
|
184
|
+
- Updated dependencies [dc9802e]
|
|
185
|
+
- @narumitw/pi-tui-kit@0.58.1
|
|
186
|
+
|
|
187
|
+
## 0.55.2
|
|
188
|
+
|
|
189
|
+
### Patch Changes
|
|
190
|
+
|
|
191
|
+
- Updated dependencies [b9eba3a]
|
|
192
|
+
- @narumitw/pi-tui-kit@0.58.0
|
|
193
|
+
|
|
194
|
+
## 0.55.1
|
|
195
|
+
|
|
196
|
+
### Patch Changes
|
|
197
|
+
|
|
198
|
+
- Updated dependencies [6574232]
|
|
199
|
+
- Updated dependencies [cddc265]
|
|
200
|
+
- @narumitw/pi-tui-kit@0.57.0
|
|
201
|
+
|
|
202
|
+
## 0.55.0
|
|
203
|
+
|
|
204
|
+
### Minor Changes
|
|
205
|
+
|
|
206
|
+
- 79bc155: Add themed fullscreen transcript search and verified host clipboard feedback for mouse selections.
|
|
207
|
+
|
|
208
|
+
## 0.54.2
|
|
209
|
+
|
|
210
|
+
### Patch Changes
|
|
211
|
+
|
|
212
|
+
- 30bc076: Load each extension from a generated TypeScript runtime to reduce Jiti package startup work while preserving existing first-use boundaries.
|
|
213
|
+
|
|
214
|
+
## 0.54.1
|
|
215
|
+
|
|
216
|
+
### Patch Changes
|
|
217
|
+
|
|
218
|
+
- Updated dependencies [8bead31]
|
|
219
|
+
- @narumitw/pi-tui-kit@0.56.0
|
|
220
|
+
|
|
221
|
+
## 0.54.0
|
|
222
|
+
|
|
223
|
+
### Minor Changes
|
|
224
|
+
|
|
225
|
+
- b5c0682: Add native mouse-wheel and trackpad scrolling to side-thread transcript history.
|
|
226
|
+
|
|
227
|
+
## 0.53.0
|
|
228
|
+
|
|
229
|
+
### Minor Changes
|
|
230
|
+
|
|
231
|
+
- d97edfd: Add a native main-session tree picker that starts a fresh side thread from any selected branch without switching the main conversation.
|
|
232
|
+
|
|
233
|
+
### Patch Changes
|
|
234
|
+
|
|
235
|
+
- Updated dependencies [3176172]
|
|
236
|
+
- @narumitw/pi-tui-kit@0.55.0
|
|
237
|
+
|
|
238
|
+
## 0.52.0
|
|
239
|
+
|
|
240
|
+
### Minor Changes
|
|
241
|
+
|
|
242
|
+
- f3d76af: Add a Same as main thread thinking option that starts new side threads from the current main thread level while keeping shortcut changes local.
|
|
243
|
+
|
|
244
|
+
## 0.51.0
|
|
245
|
+
|
|
246
|
+
### Minor Changes
|
|
247
|
+
|
|
248
|
+
- 69e8485: Add local fuzzy search to the in-memory Resume thread choice.
|
|
249
|
+
|
|
250
|
+
## 0.50.0
|
|
251
|
+
|
|
252
|
+
### Minor Changes
|
|
253
|
+
|
|
254
|
+
- be8d492: Add an in-memory Resume picker to `/btw` so the current Pi session can continue any non-empty side thread by its first question while `/btw <question>` remains a fresh-thread fast path.
|
|
255
|
+
|
|
256
|
+
## 0.49.7
|
|
257
|
+
|
|
258
|
+
### Patch Changes
|
|
259
|
+
|
|
260
|
+
- 3f33860: Run side threads in a dedicated full-screen TUI so mouse-drag copying stays stable while the main agent continues producing output in the background.
|
|
261
|
+
- 2a2c9c1: Queue Pi-style steering questions while a side-thread answer is running, process them one at a time without touching the main conversation, and report malformed side-model responses without hanging the side UI.
|
|
262
|
+
|
|
263
|
+
## 0.49.6
|
|
264
|
+
|
|
265
|
+
### Patch Changes
|
|
266
|
+
|
|
267
|
+
- a4b44ee: Route side-question completions through Pi's effective runtime provider so custom provider APIs work.
|
package/README.md
CHANGED
|
@@ -55,6 +55,7 @@ The side thread stays separate until you explicitly bring context to the main ed
|
|
|
55
55
|
|
|
56
56
|
Both routes require TUI mode and a model with usable credentials; see [Settings](#-settings).
|
|
57
57
|
Only one BTW flow can be open per session; close it before running `/btw` again.
|
|
58
|
+
Menus, the context picker, and conversation UI load on first use instead of during Pi startup.
|
|
58
59
|
Side questions and selected conversation context are sent to that model's provider.
|
|
59
60
|
Bringing context back fills the main editor without submitting; replacing an existing draft requires confirmation.
|
|
60
61
|
Ctrl+C cancels the response and discards the current draft and queued questions, but completed exchanges remain resumable in memory.
|