Repository navigation
fix(executor): fix Claude client process check path #496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: wecode-ai/Wegent
Length of output: 369
🏁 Script executed:
Repository: wecode-ai/Wegent
Length of output: 3179
🏁 Script executed:
Repository: wecode-ai/Wegent
Length of output: 5549
🏁 Script executed:
Repository: wecode-ai/Wegent
Length of output: 340
🏁 Script executed:
Repository: wecode-ai/Wegent
Length of output: 83
🏁 Script executed:
Repository: wecode-ai/Wegent
Length of output: 1165
🏁 Script executed:
Repository: wecode-ai/Wegent
Length of output: 899
🏁 Script executed:
# Let me check what's actually in the pyproject.toml more carefully cat executor/pyproject.tomlRepository: wecode-ai/Wegent
Length of output: 2452
🌐 Web query:
claude-agent-sdk 0.1.31 _transport _process documentation💡 Result:
In
claude-agent-sdk==0.1.31(Python), modules named_transport/_process(leading underscore) are private, internal implementation details and aren’t part of the supported/public API, so there isn’t “official documentation” for them the way there is forquery()/ClaudeSDKClient/ClaudeAgentOptions. The public docs focus on those supported entry points instead. [1], [2]What you can do:
claude_agent_sdk.query(...)for simple/streaming runs, orClaudeSDKClientfor interactive sessions, tools, and hooks. [1], [2], [3]claude_agent_sdk/_internal/transport/...(for examplesubprocess_cli.py, referenced in bug reports). [4]If you tell me what you’re trying to accomplish (e.g., custom transport, embedding, debugging a subprocess hang, replacing the bundled CLI, etc.), I can point to the exact internal files/classes involved and the least-fragile way to extend/patch it for 0.1.31.
🌐 Web query:
claude-agent-sdk changelog version 0.1.6 to 0.1.31 breaking changes💡 Result:
First: which “claude-agent-sdk”?
pip install claude-agent-sdk): the latest visible release in the official GitHub releases feed is v0.1.29 (Feb 4, 2026)—there is no 0.1.31 shown there. [3]npm install@anthropic-ai/claude-agent-sdk``) may have different versions; however, your version range 0.1.6 → 0.1.31 does not match the Python release list. [3]Breaking changes from 0.1.6 upward (Python) — confirmed
1) CLI distribution / install requirements changed (potentially breaking operationally)
npm install -g@anthropic-ai/claude-code``). [1]ClaudeAgentOptions(cli_path=...). [2]Why this can be “breaking” in practice: deployments that relied on a system/global CLI (or on Node being present, or on small wheels) may need changes (e.g., slimmer containers now pulling large wheels; different CLI selection/override behavior). [1][2]
What I can’t confirm from official sources here
I couldn’t access an official, complete per-version changelog that enumerates all breaking changes specifically between 0.1.6 and 0.1.31, and for Python specifically 0.1.31 doesn’t appear to exist in the official Python releases listing. [3]
If you tell me whether you mean Python or TypeScript, and (for TS) share the exact package name + a link to the changelog page you’re using, I can narrow this to a definitive “breaking changes only” list.
🏁 Script executed:
Repository: wecode-ai/Wegent
Length of output: 422
🏁 Script executed:
Repository: wecode-ai/Wegent
Length of output: 324
Resolve the version mismatch in claude-agent-sdk dependencies before relying on private SDK internals.
executor/requirements.txtpinsclaude_agent_sdk==0.1.6whileexecutor/pyproject.tomlpinsclaude-agent-sdk==0.1.31. This inconsistency must be resolved first, as accessing private internals like_transport._processis inherently fragile and will break across SDK versions. Once the versions are aligned, consider adding a brief comment linking to the SDK source or changelog that documents the structure being relied upon, since future maintainers will need to re-verify this if the SDK updates.Minor:
processcould benefit from a type annotation (process: Any = None) for clarity, though the existing defensivehasattrchecks andtry-exceptwrapper provide appropriate mitigations.🤖 Prompt for AI Agents