Skip to content

feat: agent-first foundation and native browser agent - #51610

Closed
arifonurmamade1-ops wants to merge 8 commits into
anomalyco:devfrom
arifonurmamade1-ops:browser-agent
Closed

arifonurmamade1-ops wants to merge 8 commits into
anomalyco:devfrom
arifonurmamade1-ops:browser-agent

Conversation

@arifonurmamade1-ops

Copy link
Copy Markdown

Issue for this PR

Closes #51609

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Stacked branch (8 commits on dev) delivering the agent-first platform foundation and the native browser agent:

  • 2b0cfc4 Agent manager lifecycle — coordinates agent instances used by task execution.
  • 0cd0b27 Background job fan-out tests — fan-out and hierarchical cancellation coverage.
  • e12129b Task graph DAG orchestrator — schedules dependent tasks as a DAG.
  • d6df402 Task graph background job bridge — bridges graph scheduling onto background jobs.
  • 67b2e5e Native browser tool — 17 actions (navigation, interaction, screenshot/snapshot/eval, drained console/network/downloads evidence, viewport, wait) plus a minimal-permission browser subagent, so web tasks can be verified with real browser evidence instead of build success.
  • 6d5cf7f Node.js driver — Playwright cannot run under the bun runtime (launcher and WebSocket client hang; verified), so open writes the embedded driver source to the temp directory and spawns node, executing every action over a JSON-lines stdio RPC. Playwright remains optional: missing package or missing Node.js fails with honest installation/BLOCKED instructions and never simulated results.
  • f58ec6d bounds open at 30s with an honest timeout so a wedged driver cannot hang the session.
  • 01038b9 fixes a latent syntax error in the browser test fixture (the inline script never ran; unreachable before because the live path could not execute under bun).

How did you verify your code works?

From packages/opencode on the final tree: bun typecheck (tsgo) exits 0; bunx oxlint on the changed files reports 0 errors and 0 warnings; prettier check is clean; bun test test/tool/browser.test.ts test/tool/parameters.test.ts reports 66 pass / 0 fail. The browser test executes the full live loop against real headless Chromium driven through the Node.js driver: open → goto → fill → click → eval → console → network → snapshot → screenshot (PNG attachment) → viewport → wait → close. The loop caught the fixture syntax error above — the reason this PR verifies with a real browser run rather than only typechecking. Earlier stack commits were verified with their own phase test suites.

Screenshots / recordings

n/a — no UI change

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@thdxr

thdxr commented Oct 10, 2026

Copy link
Copy Markdown
Member

This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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.

[FEATURE]: Agent-first platform foundation and native browser agent

2 participants