From 1620e373b6602de079c8637951273b22bf86c2c3 Mon Sep 17 00:00:00 2001 From: Dotta Date: Thu, 8 Oct 2026 08:26:31 -0500 Subject: [PATCH 1/2] Synchronize the provider-death fixture with its shared lifetime quorum Co-Authored-By: Paperclip --- .../runner/crates/runner-core/tests/native_provider_backend.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/paperclip-runner/runner/crates/runner-core/tests/native_provider_backend.rs b/packages/paperclip-runner/runner/crates/runner-core/tests/native_provider_backend.rs index f3def3d46d2..a5169d26446 100644 --- a/packages/paperclip-runner/runner/crates/runner-core/tests/native_provider_backend.rs +++ b/packages/paperclip-runner/runner/crates/runner-core/tests/native_provider_backend.rs @@ -1121,7 +1121,7 @@ fn provider_death_expires_input_and_commits_failure_without_querying_the_dead_pr executor .execute(&command(6, "session.close", json!({}))) .unwrap(); - executor.shutdown().unwrap(); + shutdown_recovered_acpx_fixture(&mut executor, &directory); fs::remove_dir_all(directory).unwrap(); } From d2c65784cb2244952f70d7a4376cfe7fce8e1edf Mon Sep 17 00:00:00 2001 From: Dotta Date: Thu, 8 Oct 2026 08:26:31 -0500 Subject: [PATCH 2/2] Offer Copilot in ordinary New Agent creation Co-Authored-By: Paperclip --- ui/src/components/NewAgentDialog.test.tsx | 12 ++++++++++++ ui/src/components/new-agent/AgentBasicsDialog.tsx | 1 + 2 files changed, 13 insertions(+) diff --git a/ui/src/components/NewAgentDialog.test.tsx b/ui/src/components/NewAgentDialog.test.tsx index 855294dec2e..71b4cd1bb3c 100644 --- a/ui/src/components/NewAgentDialog.test.tsx +++ b/ui/src/components/NewAgentDialog.test.tsx @@ -113,9 +113,21 @@ it("offers native Codex, Claude ACPX, and OpenCode runners", async () => { expect(options).toContain("Codex (app server)"); expect(options).toContain("Claude (ACPX)"); expect(options).toContain("OpenCode"); + expect(options).toContain("GitHub Copilot"); expect(options.join(" ")).not.toContain("ACPX Codex"); }); +it("opens saved-token Copilot setup through the ordinary New Agent picker", async () => { + await name(); + await act(async () => (document.querySelector('input[value="paperclip_runner"]') as HTMLInputElement).click()); + const select = document.querySelector("select") as HTMLSelectElement; + await act(async () => { select.value = "copilot"; select.dispatchEvent(new Event("change", { bubbles: true })); }); + await click("Configure agent"); + const query = new URL(state.navigate.mock.calls[0][0], "http://local").searchParams; + expect(query.get("adapterType")).toBe("paperclip_runner"); + expect(query.get("runnerProvider")).toBe("copilot"); +}); + it.each([false, undefined])( "hides the runner unless explicitly enabled (%s)", async (enableNativeRunner) => { diff --git a/ui/src/components/new-agent/AgentBasicsDialog.tsx b/ui/src/components/new-agent/AgentBasicsDialog.tsx index e2039cd7bd1..8879295845e 100644 --- a/ui/src/components/new-agent/AgentBasicsDialog.tsx +++ b/ui/src/components/new-agent/AgentBasicsDialog.tsx @@ -230,6 +230,7 @@ export function AgentBasicsDialog({ +