Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
docs: clarify Copilot ACP test and driver contracts
nickash2fd4a01929dcf
diff --git a/server/copilot-engine.e2e.test.ts b/server/copilot-engine.e2e.test.tsindex a712fcf8ae..7df515dccd 100644--- a/server/copilot-engine.e2e.test.ts+++ b/server/copilot-engine.e2e.test.ts@@ -72,7 +72,8 @@ it("moves one bot and one conversation between Claude, GitHub Copilot and a cust}}, 120_000);-it("creates and updates a routine through Copilot's launcher-owned tools", async () => {+/** Verifies routine create and update calls through Copilot's scoped launcher-owned MCP server. */+async function createAndUpdateRoutineThroughCopilotTools() {const fixture = await launchVerificationServer({}, undefined, undefined, undefined, undefined, undefined, ["copilot"]);const { url, dataDir, logPath } = fixture.info;const evidence: unknown[] = [{ fixture: fixture.info }];@@ -129,4 +130,6 @@ it("creates and updates a routine through Copilot's launcher-owned tools", asyncconsole.info(JSON.stringify({ logPath, evidencePath }));await fixture.close();}-}, 90_000);+}++it("creates and updates a routine through Copilot's launcher-owned tools", createAndUpdateRoutineThroughCopilotTools, 90_000);diff --git a/server/drivers/acp/copilot.ts b/server/drivers/acp/copilot.tsindex 23ec6e4795..71c4692b1a 100644--- a/server/drivers/acp/copilot.ts+++ b/server/drivers/acp/copilot.ts@@ -227,6 +227,7 @@ const SUPPORT: AcpSupport = {export const CopilotAgentDriver = {...createAcpDriver(SUPPORT),+ /** Creates an instance with thread-isolated launcher config files, removed when the instance is disposed. */async create(input: Parameters<ReturnType<typeof createAcpDriver>["create"]>[0]) {// Copilot CLI 1.0.105 rejects stdio servers from ACP clients; --additional-mcp-config accepts them from its launcher.const directory = await mkdtemp(join(tmpdir(), "omb-copilot-mcp-"));diff --git a/server/drivers/acp/core.ts b/server/drivers/acp/core.tsindex 2909e26f91..958eea3bc6 100644--- a/server/drivers/acp/core.ts+++ b/server/drivers/acp/core.ts@@ -298,6 +298,7 @@ function decodeAcpConfig(defaultCli: string) {};}+/** Builds an ACP driver while keeping launch-owned MCP servers available to hooks even when omitted from session params. */export function createAcpDriver(support: AcpSupport): ProviderDriver<AcpConfig> {if (support.sessionScopedApproval && !support.configureSession) {throw new Error(`${support.displayName}: sessionScopedApproval needs configureSession to apply each turn's mode`);diff --git a/server/testing/fake-acp-cli.ts b/server/testing/fake-acp-cli.tsindex 434b524266..917e1e24ae 100755--- a/server/testing/fake-acp-cli.ts+++ b/server/testing/fake-acp-cli.ts@@ -622,6 +622,7 @@ function heldByHoldFile(msg: any): boolean {return true;}+/** Applies one ACP message while preserving the fake CLI's launcher-owned MCP behavior. */function handle(msg: any) {if (msg.id !== undefined && (msg.result !== undefined || msg.error !== undefined) && msg.id === pendingAskQuestionId) {pendingAskQuestionId = null;