Skip to content

feat(studio): Lousho branding, cross-agent Runs screen, and bypassPermissions mode - #1199

Merged
LinuxDevil merged 1 commit into
mainfrom
feat/studio-lousho-runs-bypass
Nov 18, 2026
Merged

LinuxDevil merged 1 commit into
mainfrom
feat/studio-lousho-runs-bypass

Conversation

@LinuxDevil

Copy link
Copy Markdown
Owner

Summary

Rename and logo

  • The Studio UI now says "Lousho" instead of "Agent Forge" in all 7 places, with a new SVG logo mark and favicon (apps/agent-forge/public/favicon.svg).
  • The npm package name and the apps/agent-forge folder are unchanged.

Runs screen

  • New Observe → Runs screen (#/runs, #/w/:ws/runs), backed by GET /runs (server/runsList.ts).
  • Lists live runs (running or paused for approval) first, then recent saved runs for every agent in every workspace.
  • Each row shows the agent, workspace, trigger, duration, tokens and cost. Live runs have Stop; finished runs have Run again and Open trace. Filters: All, Live, Failed.

bypassPermissions mode (SDK)

  • New permissionMode: 'bypassPermissions': tool calls that would pause for approval run instead.
  • Still enforced: deny rules, guardrails, a tool's own deny, and forced approvals (install-receipt exec / needsApproval). ask_question still pauses.
  • Added to the type, the agent-spec schema, the config validator and docs/permission-modes.md; API reports and llms-full.txt regenerated.

Bypass in Studio

  • A Bypass button next to Run starts one bypassed run without saving the mode to the agent, after a once-per-session confirm.
  • Bypassed runs show a red "bypass" badge.
  • The Inspector and Configure tab offer the mode, with a warning that a saved bypass also applies to triggered runs.

Known limitations

  • The Runs list polls every 4s rather than using the WebSocket.
  • Saved runs don't record their trigger yet, so the Trigger and bypass columns are only filled in for live runs.
  • Run again uses the agent's saved spec with the input "Run the agent." and doesn't replay the original input.

Test plan

  • SDK: new tests in permissions.test.ts (bypass runs but deny still wins; ask_question still pauses)
  • Studio client and server tests, typecheck and lint pass
  • Checked in the browser: branding, Runs screen, Run again, Bypass confirm and badge, Inspector option

🤖 Generated with Claude Code

…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>

@lousho-ai lousho-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving.

This PR delivers three cohesive features:

  1. 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-forge folder remain unchanged.

  2. Runs screen – A new #/runs screen (Observe → Runs) backed by GET /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).

  3. bypassPermissions mode – SDK-wide addition: PermissionMode |= 'bypassPermissions', added to AgentSpecV2, the config validator, and docs/permission-modes.md. Enforced on the server (app.ts validates only 'bypassPermissions' is allowed) and in the studio runtime client (runtimeClient.run() passes permissionMode when options.bypass === true). The mode bypasses approval pauses but still respects deny rules, guardrails, tool‑own denies, and forced approvals (ask_question still 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.

@LinuxDevil
LinuxDevil merged commit a0f4a26 into main Nov 18, 2026
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