Skip to content

The open-source app everyone uses to manage agents at work

Clarify sandbox provider messaging in company environments (#4902)

Devin Foleyeb12c42009e5
diff --git a/ui/src/pages/CompanyEnvironments.tsx b/ui/src/pages/CompanyEnvironments.tsx
index 07472ad7e4..e78f957131 100644
--- a/ui/src/pages/CompanyEnvironments.tsx
+++ b/ui/src/pages/CompanyEnvironments.tsx
@@ -432,6 +432,15 @@ export function CompanyEnvironments() {
remote-managed adapters, and sandbox environments appear only when a run-capable sandbox provider plugin is
installed.
</div>
+ {sandboxCreationEnabled ? (
+ <div className="rounded-md border border-border/60 bg-muted/20 px-3 py-2 text-xs text-muted-foreground">
+ Installed sandbox providers:{" "}
+ <span className="font-medium text-foreground">
+ {discoveredPluginSandboxProviders.map((provider) => provider.displayName).join(", ")}
+ </span>
+ . These are not adapter types. They back the Sandbox driver for adapters that support sandbox execution.
+ </div>
+ ) : null}
<div className="overflow-x-auto">
<table className="w-full min-w-[34rem] text-left text-xs">
@@ -442,7 +451,7 @@ export function CompanyEnvironments() {
<th className="px-3 py-2 font-medium">Local</th>
<th className="px-3 py-2 font-medium">SSH</th>
{sandboxSupportVisible ? (
- <th className="px-3 py-2 font-medium">Sandbox</th>
+ <th className="px-3 py-2 font-medium">Sandbox via plugin</th>
) : null}
</tr>
</thead>
diff --git a/ui/src/pages/CompanySettings.test.tsx b/ui/src/pages/CompanySettings.test.tsx
index 06aef0d95b..51a922b370 100644
--- a/ui/src/pages/CompanySettings.test.tsx
+++ b/ui/src/pages/CompanySettings.test.tsx
@@ -220,6 +220,10 @@ describe("CompanyEnvironments", () => {
await flushReact();
await flushReact();
+ expect(container.textContent).toContain("Installed sandbox providers:");
+ expect(container.textContent).toContain("Secure Sandbox");
+ expect(container.textContent).toContain("These are not adapter types.");
+
const editButton = Array.from(container.querySelectorAll("button"))
.find((button) => button.textContent?.trim() === "Edit");
expect(editButton).toBeTruthy();