Skip to content

deps: bump geny-executor 2.0.2 → 2.0.3 (Claude Code message-form parser)#812

Merged
CocoRoF merged 1 commit into
mainfrom
fix/executor-2.0.3-message-form-parser
May 19, 2026
Merged

deps: bump geny-executor 2.0.2 → 2.0.3 (Claude Code message-form parser)#812
CocoRoF merged 1 commit into
mainfrom
fix/executor-2.0.3-message-form-parser

Conversation

@CocoRoF
Copy link
Copy Markdown
Owner

@CocoRoF CocoRoF commented May 19, 2026

Summary

Pulls in geny-executor 2.0.3 which fixes the two bugs that surfaced after 2.0.2 unblocked Claude Code (CLI) streaming on prod:

  1. output_len=0 on every session. Claude Code 2.x's default stream-json output puts the full assistant message in one envelope (assistant.message.content[]) instead of per-token deltas. The 2.0.2 accumulator only handled the delta form so text never made it into the terminal APIResponse.
  2. "Not logged in" was returned as the assistant's reply when the CLI's credential cache was empty. The CLI tags those frames with error="authentication_failed" but otherwise looks like normal output; 2.0.3 raises APIError(CLI_AUTH_FAILED) so the host surfaces the auth problem.

Executor PR: CocoRoF/geny-executor#205
PyPI: https://pypi.org/project/geny-executor/2.0.3/

Test plan

  • Executor: 187/187 tests/llm_client/ pass including 3 new regression guards
  • Manual on prod: run "ㅎㅇ" against the Claude Code env → response now contains actual assistant text, not empty

🤖 Generated with Claude Code

…h_failed)

2.0.3 fixes two follow-on bugs the user hit on prod after 2.0.2:

1. Claude Code 2.x emits the full assistant message in one
   ``assistant.message.content[]`` envelope (not delta form) by
   default. The 2.0.2 accumulator only handled the delta form so
   sessions came back with ``output_len=0`` despite the pipeline
   reporting SUCCESS.
2. ``error="authentication_failed"`` envelopes were treated as normal
   assistant output. The "Not logged in · Please run /login"
   placeholder was returned as the agent's reply.

See CocoRoF/geny-executor#205 for the full root-cause + fix.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@CocoRoF CocoRoF merged commit b459099 into main May 19, 2026
1 check passed
@CocoRoF CocoRoF deleted the fix/executor-2.0.3-message-form-parser branch May 19, 2026 02:48
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