import { FileCode2, Boxes, Wrench } from 'lucide-react'; import type { ReactNode } from 'react'; const LOGO_CDN = 'https://logos.composio.dev/api'; /** * LocalWorkbenchFlow: branded replacement for the plain `host → sandbox → tools` * mermaid diagram on the local-workbench PR reviewer page. * * Reads left-to-right as the split that defines a local workbench: the Host * creates a session with code execution turned off and starts a * sandbox you own; the Sandbox runs the reviewer, calling run_composio_tool * back out for each GitHub action; Composio resolves and executes those tool * calls under the user's connection and returns results. Tool execution lives * in your box; discovery and auth stay managed. * * Server component, no client JS. Adapts to light/dark via fd-* tokens. */ export function LocalWorkbenchFlow() { return (
Creates the session with{' '}
workbench.enable: false, then
starts a sandbox you own.
helper + env
Clones the PR, installs deps, runs the repo's real checks, all inside your boundary.
run_composio_tool
Resolves the right GitHub action, runs it under the user's connection, and returns the result to the sandbox.