Releases: clankercode/pi-questionnaire
Releases · clankercode/pi-questionnaire
v2.1.2
Full Changelog: v2.1.1...v2.1.2
v2.1.1
Full Changelog: v2.1.0...v2.1.1
v2.1.0 — ask_user adapter + browser UI overhaul
Highlights
ask_usertool override — the extension now replaces the built-inask_usertool with the rich questionnaire TUI. The LLM can call eitherAskUserQuestion(full schema) orask_user(simpler confirm/select/multiselect/input/batch schema) and both route to the same TUI with browser sync, previews, notes, and all 13 settings.- Browser UI overhaul — the browser questionnaire page has been rebuilt with an editorial document layout, dark mode support, a layout toggle (single-question / all-questions), row-click option selection, and a review/submit flow redesign.
- Browser confirm + submitted screens — dedicated confirm-before-submit and submitted-receipt screens with auto-close timer.
Added
src/ask-user-adapter.ts— schema and param conversion for the built-inask_usertool surface (7477051)- Browser editorial document layout with progress band, choice-row structure, notes-field wrapper, and review ledger (
061f3a4) - Browser dark mode with CSS variables,
data-themeattribute, and native control color-scheme (c3c1790,7ade39f) - Browser single-question / all-questions layout toggle (
c3c1790) - Browser row-click option selection (radio/checkbox) and progress-step review exit (
c3c1790) - Browser confirm submit screen with Back navigation (
5bf4205) - Browser submitted receipt screen with structured answer display and cancelable auto-close timer (
b218475) - Shared
executeQuestionnaire()function inindex.tsused by bothAskUserQuestionandask_usertools
Fixed
- Keyboard handling bugs and 250ms submit debounce to prevent accidental rapid submits (
dae3b54) - Show required-answer feedback on Submit tab before allowing submission (
e4b19bf) - Browser dark mode controls and review navigation polish (
46cdd3d) - Apply browser theme to
<html>document root (not just<body>) (7ade39f) - Stop all active browser sync servers on
session_shutdownevent (e1036ed) - Align option status markers (■/▣/□) after numbered options in tab bar (
de76abe) - Render Other checkmark after the option number, not before (
61501a9) - Render inline cursor at editor line position instead of always at end of text (
41868c7,86c7777) - Type bracket characters correctly in TUI Other editor (
d2c1652) - Keep focused browser inputs stable across WebSocket re-renders (
cc25ac2,2be039c) - Render saved option checkmark independently of selection cursor (
46f59e9) - Use emoji pointing-hand cursor for single-choice options and blue checkmark for saved answers (
7788657,cbb661b) - Harden saved option checkmarks against edge cases (
a5658d1) - Sync browser submit review tab from TUI tab changes (
db2e260) - Preserve browser Other draft text during option sync (
b1bf176) - Ignore
confirm_enumOther sentinel value in browser client (8ba754b) - Use text cursor (not pointer) for single-choice options (
6898988) - Keep choice cursor emoji outside ANSI styling spans (
f05dc87) - Fix browser Other answer sync to send structured data (
9227c76) - Normalize
confirm_enumvalues to lowercase in browser andcoerceAnswer(04b797f,caa572e) - Remove cancel button from browser UI; show helper text instead (
c3c1790)
Changed
- Browser assets are now served dynamically from
dist/browser-assets/instead of static files (3727bb5) src/index.tsrefactored to extract shared questionnaire execution logic (7477051)
Testing
- 140 node tests passing (TUI render, browser server, settings, side effects)
- 127 pytest cases passing (schema, normalize, answers, settings menu, TUI integration)
- 267 total tests, all green
v2.0.2 — number up/down and notes tab fixes
Full Changelog: v2.0.1...v2.0.2