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 CHANGED
@@ -4285,10 +4285,9 @@ async function runDoctor(flags) {
4285
4285
  continue;
4286
4286
  }
4287
4287
  const detailParts = [];
4288
- if (envConfig.botKey) detailParts.push(`bot=${envConfig.botKey}`);
4289
- if (envConfig.botUsername) detailParts.push(`@${envConfig.botUsername}`);
4290
- if (envConfig.serverBotID) detailParts.push(`server_bot_id=${envConfig.serverBotID}`);
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 bot username @${envConfig.botUsername}`
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(
@@ -62,11 +62,11 @@ export async function runDoctorProjectDestinationChecks({
62
62
  continue;
63
63
  }
64
64
  const tokenDetailParts = [`configured (${envConfig.filePath})`];
65
- if (envConfig.botKey) {
66
- tokenDetailParts.push(`local_selector=${envConfig.botKey}`);
65
+ if (envConfig.serverBotName) {
66
+ tokenDetailParts.push(`server_bot_name=${envConfig.serverBotName}`);
67
67
  }
68
68
  if (envConfig.botUsername) {
69
- tokenDetailParts.push(`@${envConfig.botUsername}`);
69
+ tokenDetailParts.push(`fallback_username=@${envConfig.botUsername}`);
70
70
  }
71
71
  if (envConfig.roleProfile) {
72
72
  tokenDetailParts.push(`role_profile=${envConfig.roleProfile}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "metheus-governance-mcp-cli",
3
- "version": "0.2.107",
3
+ "version": "0.2.108",
4
4
  "description": "Metheus Governance MCP CLI (setup + stdio proxy)",
5
5
  "type": "module",
6
6
  "files": [