mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-15 03:50:48 +08:00
feat: add session and preset list aliases
This commit is contained in:
parent
92ec91b7bd
commit
98c1e48271
21 changed files with 112 additions and 58 deletions
|
|
@ -67,6 +67,8 @@ test('menu exposes the increased command set and keeps permission completion num
|
|||
test('menu and card help advertise Agent Preset, reasoning, and batch commands', () => {
|
||||
const help = menuHelpText();
|
||||
assert.match(help, /\/presetlist/);
|
||||
assert.match(help, /\/presets/);
|
||||
assert.match(help, /\/sessions/);
|
||||
assert.match(help, /\/preset \[序号或完整ID\]/);
|
||||
assert.match(help, /\/preset id:<ID>/);
|
||||
assert.match(help, /\/preset --default/);
|
||||
|
|
@ -79,6 +81,8 @@ test('menu and card help advertise Agent Preset, reasoning, and batch commands',
|
|||
assert.match(help, /\/version/);
|
||||
|
||||
const card = helpCard();
|
||||
assert.match(card, /\/presets/);
|
||||
assert.match(card, /\/sessions/);
|
||||
assert.match(card, /\/reasoninglist/);
|
||||
assert.match(card, /\/reasonings/);
|
||||
assert.match(card, /\/reasoning \[序号、等级ID或 --default\]/);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue