Dev #11

Merged
cpfarhood merged 86 commits from dev into local 2026-05-12 00:02:32 +00:00
2 changed files with 14 additions and 1 deletions
Showing only changes of commit eb12c42009 - Show all commits
+10 -1
View File
@@ -432,6 +432,15 @@ export function CompanyEnvironments() {
remote-managed adapters, and sandbox environments appear only when a run-capable sandbox provider plugin is remote-managed adapters, and sandbox environments appear only when a run-capable sandbox provider plugin is
installed. installed.
</div> </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"> <div className="overflow-x-auto">
<table className="w-full min-w-[34rem] text-left text-xs"> <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">Local</th>
<th className="px-3 py-2 font-medium">SSH</th> <th className="px-3 py-2 font-medium">SSH</th>
{sandboxSupportVisible ? ( {sandboxSupportVisible ? (
<th className="px-3 py-2 font-medium">Sandbox</th> <th className="px-3 py-2 font-medium">Sandbox via plugin</th>
) : null} ) : null}
</tr> </tr>
</thead> </thead>
+4
View File
@@ -220,6 +220,10 @@ describe("CompanyEnvironments", () => {
await flushReact(); await flushReact();
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")) const editButton = Array.from(container.querySelectorAll("button"))
.find((button) => button.textContent?.trim() === "Edit"); .find((button) => button.textContent?.trim() === "Edit");
expect(editButton).toBeTruthy(); expect(editButton).toBeTruthy();