Skip to content

Commit c55726b

Browse files
committed
Merge branch 'development' of github.com:ColdBox/coldbox-cli into development
2 parents a7b5f02 + d3190d2 commit c55726b

File tree

2 files changed

+23
-19
lines changed

2 files changed

+23
-19
lines changed

commands/coldbox/ai/info.cfc

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,25 @@ component extends="coldbox-cli.models.BaseAICommand" {
2626
}
2727

2828
// Load manifest to get active agent
29-
var manifest = loadManifest( arguments.directory );
30-
var activeAgent = manifest.activeAgent ?: "none";
31-
var totalMcpServers = info.mcpServers.core.len() + info.mcpServers.module.len() + info.mcpServers.custom.len();
29+
var manifest = loadManifest( arguments.directory );
30+
var activeAgent = manifest.activeAgent ?: "none";
31+
var totalMcpServers = info.mcpServers.core.len() + info.mcpServers.module.len() + info.mcpServers.custom.len();
3232

33-
// Print configuration in a table
34-
print.line();
35-
print.table(
36-
headerNames = [ "Setting", "Value" ],
37-
data = [
38-
[
39-
"ColdBox CLI Version",
40-
info.coldboxCliVersion
41-
],
42-
[ "Language Mode", info.language ],
43-
[ "App Type", info.templateType ],
44-
[ "Active Agent", activeAgent ],
45-
[ "Guidelines", info.guidelines.len() ],
46-
[ "Skills", info.skills.len() ],
47-
[ "MCP Servers", totalMcpServers ],
33+
// Print configuration in a table
34+
print.line();
35+
print.table(
36+
headerNames = [ "Setting", "Value" ],
37+
data = [
38+
[
39+
"ColdBox CLI Version",
40+
info.coldboxCliVersion
41+
],
42+
[ "Language Mode", info.language ],
43+
[ "App Type", info.templateType ],
44+
[ "Active Agent", activeAgent ],
45+
[ "Guidelines", info.guidelines.len() ],
46+
[ "Skills", info.skills.len() ],
47+
[ "MCP Servers", totalMcpServers ]
4848
]
4949
);
5050
print.line();

models/AIService.cfc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,11 @@ component singleton {
236236
"guidelines" : manifest.guidelines ?: [],
237237
"skills" : manifest.skills ?: [],
238238
"agents" : manifest.agents ?: [],
239-
"mcpServers" : manifest.mcpServers ?: { "core" : [], "module" : [], "custom" : [] }
239+
"mcpServers" : manifest.mcpServers ?: {
240+
"core" : [],
241+
"module" : [],
242+
"custom" : []
243+
}
240244
};
241245
}
242246

0 commit comments

Comments
 (0)