@@ -28,7 +28,7 @@ describe('agent slug guard', () => {
2828 it ( 'accepts every documented slug and rejects others' , ( ) => {
2929 for ( const s of AGENT_SLUGS ) expect ( isAgentSlug ( s ) ) . toBe ( true ) ;
3030 expect ( isAgentSlug ( 'not-an-agent' ) ) . toBe ( false ) ;
31- expect ( AGENT_SLUGS ) . toHaveLength ( 16 ) ;
31+ expect ( AGENT_SLUGS ) . toHaveLength ( 17 ) ;
3232 expect ( isAgentSlug ( 'kiro' ) ) . toBe ( true ) ;
3333 expect ( isAgentSlug ( 'reasonix' ) ) . toBe ( true ) ;
3434 expect ( isAgentSlug ( 'raven' ) ) . toBe ( true ) ;
@@ -120,6 +120,19 @@ describe('JSON-config agents', () => {
120120 } ) ;
121121 } ) ;
122122
123+ it ( 'kimchi merges a stdio entry into the harness MCP settings file' , ( ) => {
124+ const plan = planAgentInstall ( 'kimchi' , SPEC , ctx ( ) ) ;
125+ if ( plan . kind !== 'json' ) throw new Error ( 'expected json' ) ;
126+ expect ( plan . configPath ) . toBe ( '/home/u/.config/kimchi/harness/mcp.json' ) ;
127+ expect ( plan . keyPath ) . toEqual ( [ 'mcpServers' ] ) ;
128+ expect ( plan . serverKey ) . toBe ( 'open-design' ) ;
129+ expect ( plan . entry ) . toEqual ( {
130+ command : SPEC . command ,
131+ args : SPEC . args ,
132+ env : SPEC . env ,
133+ } ) ;
134+ } ) ;
135+
123136 it ( 'raven plans a stdio entry under tools.mcpServers' , ( ) => {
124137 const plan = planAgentInstall ( 'raven' , SPEC , ctx ( ) ) ;
125138 if ( plan . kind !== 'json' ) throw new Error ( 'expected json' ) ;
0 commit comments