feat(cli): add settings support for experimental skills

- Add tools.experimentalSkills setting in settingsSchema
- Read default from settings in config. ts
- Add --skills as shorter alias for --experimental-skills
- Update documentation for new setting

Fixes #1493
This commit is contained in:
Antarin Ghosal 2026-01-14 18:49:17 +05:30
parent 985f65f8fa
commit 52db3a766d
4 changed files with 34 additions and 3 deletions

View file

@ -332,9 +332,10 @@ export async function parseArguments(settings: Settings): Promise<CliArgs> {
hidden: true,
})
.option('experimental-skills', {
alias: ['x'],
type: 'boolean',
description: 'Enable experimental Skills feature',
default: false,
description: 'Enable experimental Skills feature (short: -x)',
default: settings.tools?.experimentalSkills ?? false,
})
.option('channel', {
type: 'string',