fix(zed-integration): remove extra field from acp auth request (#13646)

Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
This commit is contained in:
Marco Mihai Condrache
2025-12-01 23:23:11 +01:00
committed by GitHub
parent f4babf172b
commit 5729642556
3 changed files with 0 additions and 11 deletions

View File

@@ -172,11 +172,6 @@ describe('acp', () => {
it('should call agent.authenticate when Connection handler receives authenticate method', async () => {
const authenticateParams = {
methodId: 'test-auth-method',
authMethod: {
id: 'test-auth',
name: 'Test Auth Method',
description: 'A test authentication method',
},
};
const handler = mockConnectionConstructor.mock
.calls[0][0]! as MethodHandler;

View File

@@ -223,7 +223,6 @@ export const cancelNotificationSchema = z.object({
export const authenticateRequestSchema = z.object({
methodId: z.string(),
authMethod: authMethodSchema,
});
export const authenticateResponseSchema = z.null();

View File

@@ -129,11 +129,6 @@ describe('GeminiAgent', () => {
it('should authenticate correctly', async () => {
await agent.authenticate({
methodId: AuthType.LOGIN_WITH_GOOGLE,
authMethod: {
id: AuthType.LOGIN_WITH_GOOGLE,
name: 'Log in with Google',
description: null,
},
});
expect(mockConfig.refreshAuth).toHaveBeenCalledWith(