Skip to content

Migrate interaction tag to JLine 2 API - #107

Open
skrcode wants to merge 1 commit into
apache:dependabot/maven/jline-jline-2.14.6from
skrcode:jaipilot/jline-2-api
Open

Migrate interaction tag to JLine 2 API#107
skrcode wants to merge 1 commit into
apache:dependabot/maven/jline-jline-2.14.6from
skrcode:jaipilot/jline-2-api

Conversation

@skrcode

@skrcode skrcode commented Aug 30, 2026

Copy link
Copy Markdown

Summary

This completes the JLine 2.14.6 upgrade proposed in #104.

JLine 2 moved the console, history, and completion APIs used by AskTag. This migration:

  • uses jline.console.ConsoleReader
  • preserves the shared in-memory history with MemoryHistory
  • rebuilds history-based completions from the JLine 2 History.Entry iterator
  • replaces SimpleCompletor with StringsCompleter

The existing prompt, default-answer, predefined-completion, and cross-invocation history behavior is retained.

Verification

  • mvn -B --no-transfer-progress -pl jelly-tags/interaction -am clean verify on JDK 8
  • the same reactor build on JDK 25
  • 133 Commons Jelly core tests passed on each JDK
  • interaction module compiled and packaged on both the minimum and current Java runtimes
  • Apache RAT, Animal Sniffer, build-plan checks, and SBOM generation completed
  • git diff --check

Built and verified with JAIPilot:

  • Skills: jaipilot-maintainer-intent, jaipilot-fast-execution, and jaipilot-review-diff
  • Execution profile: gpt-5.6-sol · xhigh · fast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant