Skip to content

Export the browser actions runner from the package entrypoint - #2481

Merged
chubes4 merged 1 commit into
mainfrom
feat/export-browser-actions-runner
Sep 3, 2026
Merged

Export the browser actions runner from the package entrypoint#2481
chubes4 merged 1 commit into
mainfrom
feat/export-browser-actions-runner

Conversation

@chubes4

@chubes4 chubes4 commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • re-export runBrowserActionsCommand, runBrowserScenarioCommand, and BrowserActionsRunPlan from the runtime-playground entrypoint

Why

The browser actions runner is the engine's declarative step executor: it takes browser interaction steps, drives them, and collects artifacts. It is currently reachable only by importing a source path inside the package, so a consumer that wants to run engine steps has to reimplement the driver instead — its own browser launch, its own interception, its own capture and artifact handling.

PlaywrightBrowserEnvironmentSession is already exported, and the runner accepts a caller-supplied session, so the missing export is the only thing preventing a consumer from supplying a prepared browser context and letting the engine execute the steps.

Verification

  • tsc -b --force packages/runtime-core packages/runtime-playground packages/cli — clean
  • the built entrypoint resolves the new exports:
runBrowserActionsCommand: function
runBrowserScenarioCommand: function
createPlaywrightBrowserEnvironmentContext: function

No behaviour changes; this only widens the public surface.

AI assistance

  • AI assistance: Yes
  • Model: OpenAI gpt-5.6-sol
  • Tool: OpenCode
  • Used for: Identifying the missing export while removing a duplicated browser driver in a consumer, and verifying the built entrypoint, under Chris Huber’s direction.

@chubes4
chubes4 merged commit 82e0216 into main Sep 3, 2026
5 of 6 checks passed
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