Skip to content

Commit 2809039

Browse files
committed
Merge branch 'development' of github.com:ColdBox/coldbox-cli into development
2 parents 46b81f0 + 84c3c5c commit 2809039

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

commands/coldbox/ai/install.cfc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ component extends="coldbox-cli.models.BaseAICommand" {
7676
print.line();
7777

7878
printInfo( "Skills installed: #result.skills.len()#" );
79-
result.skills.sort( "textnocase" ).each( function( skill ){
80-
print.indentedLine( " • #skill#" );
81-
} );
79+
result.skills
80+
.sort( "textnocase" )
81+
.each( function( skill ){
82+
print.indentedLine( " • #skill#" );
83+
} );
8284
print.line();
8385

8486
printInfo( "Agents configured:" );
@@ -91,10 +93,10 @@ component extends="coldbox-cli.models.BaseAICommand" {
9193
var totalMcpServers = result.mcpServers.core.len() + result.mcpServers.module.len();
9294
printInfo( "MCP Servers configured: #totalMcpServers#" );
9395
if ( result.mcpServers.core.len() ) {
94-
print.indentedCyanLine( " Core (#result.mcpServers.core.len()#): #result.mcpServers.core.toList( ', ' )#" );
96+
print.indentedCyanLine( " Core (#result.mcpServers.core.len()#): #result.mcpServers.core.toList( ", " )#" );
9597
}
9698
if ( result.mcpServers.module.len() ) {
97-
print.indentedCyanLine( " Module (#result.mcpServers.module.len()#): #result.mcpServers.module.toList( ', ' )#" );
99+
print.indentedCyanLine( " Module (#result.mcpServers.module.len()#): #result.mcpServers.module.toList( ", " )#" );
98100
}
99101
print.line();
100102

commands/coldbox/ai/skills/list.cfc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,11 @@ component extends="coldbox-cli.models.BaseAICommand" {
8383

8484
structEach( skillsByModule, ( module, skills ) => {
8585
print.indentedLine( " From #module#:" )
86-
skills.sort( "textnocase" ).each( ( skillName ) => {
87-
print.indentedLine( " • #skillName#" )
88-
} )
86+
skills
87+
.sort( "textnocase" )
88+
.each( ( skillName ) => {
89+
print.indentedLine( " • #skillName#" )
90+
} )
8991
} )
9092
print.line()
9193
}

models/AIService.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ component singleton {
9393
result.mcpServers.core = mcpServers.core;
9494
result.mcpServers.module = mcpServers.module;
9595
// Configure agents
96-
result.agents = variables.agentRegistry.configureAgents(
96+
result.agents = variables.agentRegistry.configureAgents(
9797
arguments.directory,
9898
arguments.agents,
9999
arguments.language

0 commit comments

Comments
 (0)