Import packages/plugin/src/acp/adapters/claude-process.ts

This commit is contained in:
QQ 2026-11-17 08:44:38 +08:00
parent bc9b5c230e
commit b70e3ffab0
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export class ClaudeAcpClient extends CursorAcpClient {
constructor(binary = 'claude-agent-acp', logger?: SafeLogger, spawnAcp?: SpawnCursorAcp,
options: Pick<CursorAcpOptions, 'args' | 'cwd'> = {}, backend: 'claude' | 'hermes' = 'claude') {
const config = { ...options, args: options.args ?? [], authenticationMethod: null, modelBackend: backend }
const config = { ...options, args: options.args ?? [], authenticationMethod: null, modelBackend: backend, backend }
super(binary, logger, spawnAcp, config)
this.makeClient = () => new CursorAcpClient(binary, logger, spawnAcp, config)
this.modelLabel = backend