docs(acp): state both arms of the spec's version-negotiation rule
This commit is contained in:
@@ -193,8 +193,8 @@ export function apply(ctx: Context, config: AcpConfig): void {
|
|||||||
conn = connection
|
conn = connection
|
||||||
return {
|
return {
|
||||||
initialize(_params: InitializeRequest): Promise<InitializeResponse> {
|
initialize(_params: InitializeRequest): Promise<InitializeResponse> {
|
||||||
// Single-version agent: per spec, answer the latest version this
|
// Single-version agent: the spec's "same version if supported, else
|
||||||
// server supports regardless of the client's requested version.
|
// the latest supported" both resolve to this server's one version.
|
||||||
return Promise.resolve({
|
return Promise.resolve({
|
||||||
protocolVersion: PROTOCOL_VERSION,
|
protocolVersion: PROTOCOL_VERSION,
|
||||||
agentInfo: { name: 'deepseek-harness-acp', version: '0.0.1' },
|
agentInfo: { name: 'deepseek-harness-acp', version: '0.0.1' },
|
||||||
|
|||||||
Reference in New Issue
Block a user