Repository navigation
feat(studio): Lousho branding, cross-agent Runs screen, and bypassPermissions mode - #1199
Conversation
…missions mode - Rename the Studio UI from "Agent Forge" to "Lousho" with the new logo and favicon. - Add an Observe > Runs screen (GET /runs) listing live and recent runs across all agents and workspaces, with Stop, Run again and Open trace. - Add a 'bypassPermissions' permission mode to the SDK: calls that would pause for approval run instead; deny rules, guardrails and forced approvals still apply. - Studio: one-off Bypass run button with a confirm, a bypass badge, and the mode in the Inspector with a warning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Approving.
This PR delivers three cohesive features:
-
Lousho branding – The Studio UI is renamed from "Agent Forge" to "Lousho" in 7 places (title, error boundary, nav bar, agents screen heading, etc.) with a new SVG favicon. The npm package and
apps/agent-forgefolder remain unchanged. -
Runs screen – A new
#/runsscreen (Observe → Runs) backed byGET /runs. It lists live runs (running/paused) first, then recent saved runs across all agents and workspaces. Each row shows agent, workspace, trigger, duration, tokens and cost. Live runs have a Stop button; finished runs have Run again and Open trace. Filters: All, Live, Failed. Polls every 4s (known limitation). -
bypassPermissionsmode – SDK-wide addition:PermissionMode |= 'bypassPermissions', added toAgentSpecV2, the config validator, anddocs/permission-modes.md. Enforced on the server (app.tsvalidates only'bypassPermissions'is allowed) and in the studio runtime client (runtimeClient.run()passespermissionModewhenoptions.bypass === true). The mode bypasses approval pauses but still respects deny rules, guardrails, tool‑own denies, and forced approvals (ask_questionstill pauses). The Studio UI adds a Bypass button next to Run (once‑per‑session confirm, red badge on the run row), and the Inspector/Configure tab offers the mode with a warning that a saved bypass also applies to triggered runs.
All changed files are consistent, types are updated across the API reports, and the known limitations are documented.
Verdict: APPROVE.
Summary
Rename and logo
apps/agent-forge/public/favicon.svg).apps/agent-forgefolder are unchanged.Runs screen
#/runs,#/w/:ws/runs), backed byGET /runs(server/runsList.ts).bypassPermissionsmode (SDK)permissionMode: 'bypassPermissions': tool calls that would pause for approval run instead.exec/needsApproval).ask_questionstill pauses.docs/permission-modes.md; API reports andllms-full.txtregenerated.Bypass in Studio
Known limitations
Test plan
permissions.test.ts(bypass runs but deny still wins;ask_questionstill pauses)🤖 Generated with Claude Code