metheus-governance-mcp-cli 0.2.107 → 0.2.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.mjs +5 -6
- package/lib/doctor-checks.mjs +3 -3
- package/package.json +1 -1
package/cli.mjs
CHANGED
|
@@ -4285,10 +4285,9 @@ async function runDoctor(flags) {
|
|
|
4285
4285
|
continue;
|
|
4286
4286
|
}
|
|
4287
4287
|
const detailParts = [];
|
|
4288
|
-
if (envConfig.
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
else if (envConfig.botKey) detailParts.push(`server_name=${envConfig.botKey}`);
|
|
4288
|
+
if (envConfig.serverBotName) detailParts.push(`server_bot_name=${envConfig.serverBotName}`);
|
|
4289
|
+
if (envConfig.serverBotID) detailParts.push(`server_bot_id=${envConfig.serverBotID}`);
|
|
4290
|
+
if (envConfig.botUsername) detailParts.push(`fallback_username=@${envConfig.botUsername}`);
|
|
4292
4291
|
if (envConfig.client) detailParts.push(`ai=${envConfig.client}`);
|
|
4293
4292
|
addDoctorCheck(
|
|
4294
4293
|
rows,
|
|
@@ -4316,8 +4315,8 @@ async function runDoctor(flags) {
|
|
|
4316
4315
|
"ok",
|
|
4317
4316
|
`runner route ${routeLabel} server bot`,
|
|
4318
4317
|
envConfig.botUsername
|
|
4319
|
-
? `resolved by
|
|
4320
|
-
: `resolved by server bot name ${envConfig.botKey}`,
|
|
4318
|
+
? `resolved by fallback username @${envConfig.botUsername}`
|
|
4319
|
+
: `resolved by server bot name ${envConfig.serverBotName || envConfig.botKey}`,
|
|
4321
4320
|
);
|
|
4322
4321
|
} else {
|
|
4323
4322
|
addDoctorCheck(
|
package/lib/doctor-checks.mjs
CHANGED
|
@@ -62,11 +62,11 @@ export async function runDoctorProjectDestinationChecks({
|
|
|
62
62
|
continue;
|
|
63
63
|
}
|
|
64
64
|
const tokenDetailParts = [`configured (${envConfig.filePath})`];
|
|
65
|
-
if (envConfig.
|
|
66
|
-
tokenDetailParts.push(`
|
|
65
|
+
if (envConfig.serverBotName) {
|
|
66
|
+
tokenDetailParts.push(`server_bot_name=${envConfig.serverBotName}`);
|
|
67
67
|
}
|
|
68
68
|
if (envConfig.botUsername) {
|
|
69
|
-
tokenDetailParts.push(
|
|
69
|
+
tokenDetailParts.push(`fallback_username=@${envConfig.botUsername}`);
|
|
70
70
|
}
|
|
71
71
|
if (envConfig.roleProfile) {
|
|
72
72
|
tokenDetailParts.push(`role_profile=${envConfig.roleProfile}`);
|