diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-25 00:25:04 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-25 00:25:04 +0200 |
| commit | dd3503c774d8487d6e578240dec83ca8142adaa3 (patch) | |
| tree | 30e23317b6da83461b3f13cb585dda7ac8b3499f /lib/hyperstack | |
| parent | aa9cd6f6a45cd9a4a85d6912f360b32c170f8528 (diff) | |
pi/agent: non-blocking /btw, live loop countdown, persistent prompt history
btw: replace blocking overlay with non-blocking widget
- Fire LLM call in background; return immediately so user can keep typing
- Show loading widget below editor while answering
- Display answer in same widget when ready; dismiss with /btw close
- Remove BtwOverlay and wrapText helpers (no longer needed)
loop-scheduler: update countdown every second
- Add startUiTick/stopUiTick (1s setInterval) so the "in Xs" countdown
in the scheduled-loops widget refreshes live instead of staying stale
- Tick starts automatically when jobs exist, stops when all are removed
or the session shuts down
prompt-history: persist editor input history across session restarts
- New extension saves every submitted prompt to ~/.pi/prompt-history.json
(up to 500 entries) via before_agent_start
- On session_start, reads the file, merges with in-memory editor history
(deduplicating), and re-seeds the editor so up-arrow history survives
process restarts and new sessions
- Requires addToHistory/getHistory on ctx.ui (patched into pi-coding-agent
dist/modes/interactive/interactive-mode.js and types.d.ts)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'lib/hyperstack')
0 files changed, 0 insertions, 0 deletions
