Repository navigation
chore(integrations): require stagehand-middleware 0.1.2 in deepagents - #3351
Merged
Merged
Conversation
|
Contributor
There was a problem hiding this comment.
No issues found across 6 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Architecture diagram
sequenceDiagram
participant DeepAgents as DeepAgents Package
participant Stagehand as Stagehand SDK
participant Middleware as stagehand-middleware
participant MCP as MCP Server (stagehand-deepagents-mcp)
participant Agent as LangChain Deep Agent
Note over DeepAgents,Middleware: Dependency Resolution (uv.lock)
DeepAgents->>DeepAgents: pyproject.toml (stagehand>=4.3.0,<5)
DeepAgents->>DeepAgents: pyproject.toml (stagehand-middleware>=0.1.2,<0.2)
alt Runtime: Agent initialized
Agent->>DeepAgents: Create browser tools
DeepAgents->>Stagehand: Initialize browser (v4.3+)
DeepAgents->>Middleware: NEW: version 0.1.2 screenshot artifact support
Middleware->>Stagehand: Capture screenshot (with artifact changes)
Stagehand-->>Middleware: Screenshot result
Middleware-->>DeepAgents: Tool response with screenshot artifact
opt MCP Server process
Agent->>MCP: stagehand-deepagents-mcp CLI entry
MCP->>DeepAgents: import server module
MCP->>Middleware: Route browser actions (v0.1.2)
Middleware-->>MCP: Processed actions
MCP-->>Agent: Tool results
end
else Installation/Resolution
DeepAgents->>DeepAgents: Fetch stagehand-middleware 0.1.2 (lockfile constraint)
DeepAgents->>DeepAgents: Verify compatible with stagehand 4.x
end
Note over DeepAgents,Middleware: Constraint: >=0.1.2,<0.2 (major-version locked)
seanmcguire12
approved these changes
Nov 5, 2026
…leware-0.1.2 # Conflicts: # packages/integrations/deepagents/examples/local/uv.lock # packages/integrations/deepagents/examples/managed/uv.lock # packages/integrations/deepagents/uv.lock
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
why
stagehand-middleware 0.1.2 is published with the screenshot artifact changes from #3350; the deepagents package and examples still locked 0.1.0.
what changed
stagehand-middleware>=0.1.2,<0.2in deepagents and both examples (local, managed).uv.lockfiles (0.1.0 → 0.1.2).test plan
Summary by cubic
Updates
stagehand-middlewarefrom 0.1.0 to 0.1.2 in the deepagents package and both examples, and relocks the rootuv.lockto pick up the screenshot artifact changes from #3350.Written for commit db5befa. Summary will update on new commits.