Skip to content

Releases: clankercode/pi-questionnaire

v2.1.2

28 Jun 07:29

Choose a tag to compare

v2.1.1

28 Jun 07:27

Choose a tag to compare

Full Changelog: v2.1.0...v2.1.1

v2.1.0 — ask_user adapter + browser UI overhaul

28 Jun 06:06

Choose a tag to compare

Highlights

  • ask_user tool override — the extension now replaces the built-in ask_user tool with the rich questionnaire TUI. The LLM can call either AskUserQuestion (full schema) or ask_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-in ask_user tool 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-theme attribute, 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 in index.ts used by both AskUserQuestion and ask_user tools

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_shutdown event (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_enum Other 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_enum values to lowercase in browser and coerceAnswer (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.ts refactored 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

19 Jun 09:54

Choose a tag to compare

v2.0.1 — browser sync fixes (spaces, notes, terminal state, focus)

19 Jun 07:46

Choose a tag to compare

v2.0.0 — AskUserQuestion (HTTP+WebSocket browser sync, is_dangerous, settings, side effects)

18 Jun 23:03

Choose a tag to compare