Skip to content

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 18 Feb 16:28
· 16 commits to main since this release

✨ Highlights

  • The ask tool 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, and Response
  • Cancellation flow is now clearer and consistent:
    • Cancelled answers are recorded as (cancelled) in both summary and context sections.
  • Other (custom input) handling is now more explicit:
    • Custom entries are captured with a dedicated Custom input line.
  • Session text reliability has improved:
    • Newline/control characters are sanitized for safer parsing and cleaner logs.

🔁 Output Contract Update

  • content[0].text has changed from short messages (e.g. User selected: ...) to a multi-line structured format.
  • The details payload remains compatible, and single-question flows now also include a results array for consistency.

If you have automation/parsers, prefer reading details over parsing the content string.

✅ 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.

Full Changelog

v0.1.4...v0.1.5