feat: add plugin version command

This commit is contained in:
xmanrui 2026-08-25 12:25:01 +08:00
parent 10ca7eec2c
commit c5becbe379
24 changed files with 240 additions and 172 deletions

View file

@ -390,7 +390,7 @@ test('Feishu lists models and presets without prompting and advertises fast comm
for (const command of [
'/models', '/model', '/reasoninglist', '/reasonings', '/reasoning',
'/presetlist', '/preset', '/preset --default', '/batch', '/send', '/cancel',
'/stop', '/steer',
'/stop', '/steer', '/version',
]) {
assert.equal(help.includes(command), true, command);
}

View file

@ -76,6 +76,7 @@ test('menu and card help advertise Agent Preset, reasoning, and batch commands',
assert.match(help, /\/batch/);
assert.match(help, /\/send/);
assert.match(help, /\/cancel/);
assert.match(help, /\/version/);
const card = helpCard();
assert.match(card, /\/reasoninglist/);