feat: add skills and agents display to extension list with i18n support

- Add skills and agents sections to extensionToOutputString() output
- Implement full i18n support for all extension info labels
- Add translations for en, zh, de, ru languages
- Display skill names and agent names in extension list command
This commit is contained in:
LaZzyMan 2026-01-27 20:42:35 +08:00
parent 7177b41120
commit 61d2c72c90
5 changed files with 66 additions and 9 deletions

View file

@ -492,6 +492,17 @@ export default {
'Either an extension name or --all must be provided':
'Either an extension name or --all must be provided',
'Lists installed extensions.': 'Lists installed extensions.',
'Path:': 'Path:',
'Source:': 'Source:',
'Type:': 'Type:',
'Ref:': 'Ref:',
'Release tag:': 'Release tag:',
'Enabled (User):': 'Enabled (User):',
'Enabled (Workspace):': 'Enabled (Workspace):',
'Context files:': 'Context files:',
'Skills:': 'Skills:',
'Agents:': 'Agents:',
'MCP servers:': 'MCP servers:',
'Link extension failed to install.': 'Link extension failed to install.',
'Extension "{{name}}" linked successfully and enabled.':
'Extension "{{name}}" linked successfully and enabled.',