v0.1.5
✨ Highlights
- The
asktool session output has been upgraded from short one-line responses to a structured logging format:- Summary block:
User answers: - Per-question context block:
Answer context: - Each question now explicitly includes
Prompt,Options, andResponse
- Summary block:
- Cancellation flow is now clearer and consistent:
- Cancelled answers are recorded as
(cancelled)in both summary and context sections.
- Cancelled answers are recorded as
Other(custom input) handling is now more explicit:- Custom entries are captured with a dedicated
Custom inputline.
- Custom entries are captured with a dedicated
- Session text reliability has improved:
- Newline/control characters are sanitized for safer parsing and cleaner logs.
🔁 Output Contract Update
content[0].texthas changed from short messages (e.g.User selected: ...) to a multi-line structured format.- The
detailspayload remains compatible, and single-question flows now also include aresultsarray for consistency.
If you have automation/parsers, prefer reading
detailsover parsing thecontentstring.
✅ Quality & Release Pipeline Improvements
- Added
npm run check:typecheck+test:coverage+coverage:check
- Added coverage gate script:
scripts/check-coverage.mjs - Added CI workflow:
.github/workflows/ci.yml - Updated Release workflow to run full checks (
npm run check) - Added PR template with an ask-session logging contract checklist
📚 Documentation Updates
- README examples were updated to match the new output format (summary + context).
- Development/validation section now documents check commands and coverage thresholds.