Skip to content

v0.2.2 — ask_user Structured Question Tool & Pipeline Design Protocol

Choose a tag to compare

@CCLucky-uu CCLucky-uu released this 09 Jun 13:18
· 19 commits to main since this release

Highlights

🗣️ ask_user Structured Question Tool

Wevra Agent can now ask users structured questions with predefined options instead of free-form text. Supports multi-question batches with tab navigation, per-tab "Other" custom input, single-select auto-advance, and full answer context (question + option label + description) returned to the LLM.

📋 Pipeline Design Protocol

The pipeline-management skill expanded from 6 lines to a comprehensive 5-phase protocol guiding Wevra through reliable pipeline creation: Goal Discovery → Architecture Proposal → Agent Assignment → Artifact Design → Incremental Build. Includes 26 red lines and artifact content strategy.

What's Changed

Added

  • ask_user tool with multi-question batch, per-tab Other input, auto-advance, skip all
  • InlineQuestion inline component (replaces QuestionDialog modal)
  • ChatInputArea component extracted from WevraChatPanel
  • wevra.ask-user WebSocket method and question_request/question_response stream events
  • Pipeline Design Protocol with red lines, artifact strategy, anti-patterns
  • ResultEnvelope documentation in pipeline_node tool description
  • Question state persistence via localStorage (survives page refresh)

Fixed

  • Question timeout crash (conversation no longer breaks when user doesn't answer in time)
  • Stream events lost after answering a question (LLM response now syncs correctly)
  • Page refresh stuck in busy state (pending question restored from localStorage)
  • Other option state leaking across tabs
  • Other button not responding on first tab
  • Confirm button initial state (starts disabled)
  • Textarea not hiding when switching from Other to a regular option

Changed

  • Question timeout increased to 10 minutes
  • Input area extracted into standalone ChatInputArea component
  • pipeline-management skill: 6 lines → full 5-phase protocol

Full Changelog: v0.2.1...v0.2.2