From 90057b25f2b50fc3a4d8c242580f42695d14c38c Mon Sep 17 00:00:00 2001 From: Tianyi Cui <53024+tianyicui@users.noreply.github.com> Date: Fri, 24 Jul 2026 22:19:10 +0800 Subject: [PATCH] docs(acp): state both arms of the spec's version-negotiation rule --- packages/acp/acp/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/acp/acp/src/index.ts b/packages/acp/acp/src/index.ts index c4973a9e1d..b0d9e2792e 100644 --- a/packages/acp/acp/src/index.ts +++ b/packages/acp/acp/src/index.ts @@ -193,8 +193,8 @@ export function apply(ctx: Context, config: AcpConfig): void { conn = connection return { initialize(_params: InitializeRequest): Promise { - // Single-version agent: per spec, answer the latest version this - // server supports regardless of the client's requested version. + // Single-version agent: the spec's "same version if supported, else + // the latest supported" both resolve to this server's one version. return Promise.resolve({ protocolVersion: PROTOCOL_VERSION, agentInfo: { name: 'deepseek-harness-acp', version: '0.0.1' },