mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-22 11:04:42 -07:00
Agent Skills: Unify Representation & Centralize Loading (#15833)
This commit is contained in:
@@ -58,8 +58,20 @@ describe('skillsCommand', () => {
|
||||
expect.objectContaining({
|
||||
type: MessageType.SKILLS_LIST,
|
||||
skills: [
|
||||
{ name: 'skill1', description: 'desc1' },
|
||||
{ name: 'skill2', description: 'desc2' },
|
||||
{
|
||||
name: 'skill1',
|
||||
description: 'desc1',
|
||||
disabled: undefined,
|
||||
location: '/loc1',
|
||||
body: 'body1',
|
||||
},
|
||||
{
|
||||
name: 'skill2',
|
||||
description: 'desc2',
|
||||
disabled: undefined,
|
||||
location: '/loc2',
|
||||
body: 'body2',
|
||||
},
|
||||
],
|
||||
showDescriptions: true,
|
||||
}),
|
||||
@@ -75,8 +87,20 @@ describe('skillsCommand', () => {
|
||||
expect.objectContaining({
|
||||
type: MessageType.SKILLS_LIST,
|
||||
skills: [
|
||||
{ name: 'skill1', description: 'desc1' },
|
||||
{ name: 'skill2', description: 'desc2' },
|
||||
{
|
||||
name: 'skill1',
|
||||
description: 'desc1',
|
||||
disabled: undefined,
|
||||
location: '/loc1',
|
||||
body: 'body1',
|
||||
},
|
||||
{
|
||||
name: 'skill2',
|
||||
description: 'desc2',
|
||||
disabled: undefined,
|
||||
location: '/loc2',
|
||||
body: 'body2',
|
||||
},
|
||||
],
|
||||
showDescriptions: true,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user