- Use closure core variable instead of args.coreAccess in command handlers - Remove pendingResumes state machine from resume.ts - Replace silent fallback with delegated in command-registry - Fix plugin template signatures for registerMenuItem and registerAssistantSection - Add delegated type to CommandResponse docs in plugin template - Update test to match silent->delegated change Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
import type { TemplateParams } from './package-json.js'
export function generateReadme(params: TemplateParams): string {
return [
`# ${params.pluginName}`,
'',
params.description || 'An OpenACP plugin.',
'',
'## Installation',
'',
'```bash',
`openacp plugin add ${params.pluginName}`,
'```',
'',
'## Development',
'',
'```bash',
'npm install',
'npm run build',
'npm test',
'',
'# Live development with hot-reload:',
`openacp dev .`,
'```',
'',
'## License',
'',
params.license,
'',
].join('\n')
}