Skip to content

Commit 71d4ea5

Browse files
skeshivegemini-cli-robot
authored andcommitted
fix(acp): rename --experimental-acp to --acp & remove Zed-specific refrences (#21171)
# Conflicts: # packages/core/src/code_assist/oauth2.test.ts
1 parent 393e9a1 commit 71d4ea5

24 files changed

+36
-24
lines changed

integration-tests/acp-env-auth.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe.skip('ACP Environment and Auth', () => {
5555

5656
const bundlePath = join(import.meta.dirname, '..', 'bundle/gemini.js');
5757

58-
child = spawn('node', [bundlePath, '--experimental-acp'], {
58+
child = spawn('node', [bundlePath, '--acp'], {
5959
cwd: rig.homeDir!,
6060
stdio: ['pipe', 'pipe', 'inherit'],
6161
env: {
@@ -120,7 +120,7 @@ describe.skip('ACP Environment and Auth', () => {
120120

121121
const bundlePath = join(import.meta.dirname, '..', 'bundle/gemini.js');
122122

123-
child = spawn('node', [bundlePath, '--experimental-acp'], {
123+
child = spawn('node', [bundlePath, '--acp'], {
124124
cwd: rig.homeDir!,
125125
stdio: ['pipe', 'pipe', 'inherit'],
126126
env: {

integration-tests/acp-telemetry.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe('ACP telemetry', () => {
5858
'node',
5959
[
6060
bundlePath,
61-
'--experimental-acp',
61+
'--acp',
6262
'--fake-responses',
6363
join(rig.testDir!, 'fake-responses.json'),
6464
],

packages/cli/src/zed-integration/zedIntegration.test.ts renamed to packages/cli/src/acp/acpClient.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
type Mock,
1515
type Mocked,
1616
} from 'vitest';
17-
import { GeminiAgent, Session } from './zedIntegration.js';
17+
import { GeminiAgent, Session } from './acpClient.js';
1818
import type { CommandHandler } from './commandHandler.js';
1919
import * as acp from '@agentclientprotocol/sdk';
2020
import {

packages/cli/src/zed-integration/zedIntegration.ts renamed to packages/cli/src/acp/acpClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ import { runExitCleanup } from '../utils/cleanup.js';
7070
import { SessionSelector } from '../utils/sessionUtils.js';
7171

7272
import { CommandHandler } from './commandHandler.js';
73-
export async function runZedIntegration(
73+
export async function runAcpClient(
7474
config: Config,
7575
settings: LoadedSettings,
7676
argv: CliArgs,
File renamed without changes.
File renamed without changes.

packages/cli/src/zed-integration/acpResume.test.ts renamed to packages/cli/src/acp/acpResume.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
type Mocked,
1414
type Mock,
1515
} from 'vitest';
16-
import { GeminiAgent } from './zedIntegration.js';
16+
import { GeminiAgent } from './acpClient.js';
1717
import * as acp from '@agentclientprotocol/sdk';
1818
import {
1919
ApprovalMode,
File renamed without changes.
File renamed without changes.

packages/cli/src/zed-integration/commands/commandRegistry.ts renamed to packages/cli/src/acp/commands/commandRegistry.ts

File renamed without changes.

0 commit comments

Comments
 (0)