Skip to content

fix(herdr): Improve AGY parser line wrapping and prompt marker matching - #52

Open
linuxse-blue wants to merge 1 commit into
kstost:mainfrom
linuxse-blue:pr-herdr-fix
Open

fix(herdr): Improve AGY parser line wrapping and prompt marker matching#52
linuxse-blue wants to merge 1 commit into
kstost:mainfrom
linuxse-blue:pr-herdr-fix

Conversation

@linuxse-blue

Copy link
Copy Markdown

Description

This PR improves the Herdr provider adapter for Codex and AGY agents:

  • Prompt Marker Matching: Uses rposition() instead of position() to find the latest prompt marker in TUI output.
  • Line Filtering: Correctly preserves all prose response lines with leading spaces while skipping TUI status bars.
  • Exact Line Break Preservation: Preserves original multi-line terminal line breaks for clean Telegram delivery.

Verification

  • Verified turn response streaming and multi-line Telegram message parsing.

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