metheus-governance-mcp-cli 0.2.84 → 0.2.85

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/README.md CHANGED
@@ -241,7 +241,7 @@ Behavior:
241
241
  - `Sonnet 4.6r` -> `sonnet`
242
242
  - `Haiku 4.5` -> `haiku`
243
243
  - `Opus 4.6` -> `opus`
244
- - `Gemini 3.1 Pro` -> `gemini-2.5-pro`
244
+ - `gemini-3.1-pro` -> `auto-gemini-3`
245
245
  - if one server bot name maps to multiple server roles, `bot edit` keeps the Telegram env entry bound to the server identity and lets you review the local `role_profiles` for each detected role instead of forcing one role/profile UUID choice up front.
246
246
  - In the normal Telegram edit path, the CLI keeps or re-resolves the server bot binding automatically. It no longer asks you to pick `approval / worker / review / monitor` or a server bot UUID first.
247
247
  - `bot set-default` without flags starts a guided numbered flow: provider -> bot entry -> confirm default change.
@@ -1473,12 +1473,12 @@ function suggestedAIModelsForClient(clientName) {
1473
1473
  { value: "Haiku 4.5", label: "Haiku 4.5", description: "display label; runs as haiku" },
1474
1474
  { value: "Opus 4.6", label: "Opus 4.6", description: "display label; runs as opus" },
1475
1475
  ];
1476
- }
1477
- if (normalizedClient === "gemini") {
1478
- return [
1479
- { value: "Gemini 3.1 Pro", label: "Gemini 3.1 Pro", description: "display label; runs as gemini-2.5-pro" },
1480
- ];
1481
- }
1476
+ }
1477
+ if (normalizedClient === "gemini") {
1478
+ return [
1479
+ { value: "gemini-3.1-pro", label: "gemini-3.1-pro", description: "display label; runs as auto-gemini-3" },
1480
+ ];
1481
+ }
1482
1482
  if (normalizedClient === "sample") {
1483
1483
  return [
1484
1484
  { value: "sample", label: "sample", description: "sample adapter model placeholder" },
@@ -45,9 +45,16 @@ const LOCAL_AI_MODEL_MAPPINGS = {
45
45
  ],
46
46
  gemini: [
47
47
  {
48
- display: "Gemini 3.1 Pro",
49
- execution: "gemini-2.5-pro",
50
- aliases: ["gemini 3.1 pro", "gemini-3.1-pro", "gemini-2.5-pro", "gemini 2.5 pro"],
48
+ display: "gemini-3.1-pro",
49
+ execution: "auto-gemini-3",
50
+ aliases: [
51
+ "gemini-3.1-pro",
52
+ "gemini 3.1 pro",
53
+ "Gemini 3.1 Pro",
54
+ "gemini-3.1-pro-preview",
55
+ "auto-gemini-3",
56
+ "pro",
57
+ ],
51
58
  },
52
59
  ],
53
60
  sample: [],
@@ -243,13 +243,13 @@ export async function runSelftestBotCommands(push, deps) {
243
243
  && resolveLocalAIExecutionModel("claude", "Sonnet 4.6r") === "sonnet"
244
244
  && resolveLocalAIExecutionModel("claude", "Haiku 4.5") === "haiku"
245
245
  && resolveLocalAIExecutionModel("claude", "Opus 4.6") === "opus"
246
- && resolveLocalAIExecutionModel("gemini", "Gemini 3.1 Pro") === "gemini-2.5-pro",
246
+ && resolveLocalAIExecutionModel("gemini", "gemini-3.1-pro") === "auto-gemini-3",
247
247
  [
248
248
  `gpt54=${resolveLocalAIExecutionModel("codex", "gpt-5.4")}`,
249
249
  `gpt53codex=${resolveLocalAIExecutionModel("codex", "gpt-5.3-codex")}`,
250
250
  `spark=${resolveLocalAIExecutionModel("codex", "gpt-5.3-codex-spark")}`,
251
251
  `claude=${resolveLocalAIExecutionModel("claude", "Sonnet 4.6r")}`,
252
- `gemini=${resolveLocalAIExecutionModel("gemini", "Gemini 3.1 Pro")}`,
252
+ `gemini=${resolveLocalAIExecutionModel("gemini", "gemini-3.1-pro")}`,
253
253
  ].join(" "),
254
254
  );
255
255
 
@@ -393,7 +393,7 @@ export async function runSelftestBotCommands(push, deps) {
393
393
  "3", // select role to edit: approval
394
394
  "2", // approval: edit settings
395
395
  "4", // approval AI client: gemini
396
- "2", // approval AI model: Gemini 3.1 Pro
396
+ "2", // approval AI model: gemini-3.1-pro
397
397
  "4", // approval permission: danger_full_access
398
398
  "4", // approval reasoning: high
399
399
  "n", // stop editing roles
@@ -416,7 +416,7 @@ export async function runSelftestBotCommands(push, deps) {
416
416
  && String(safeObject(safeObject(groupedRunnerConfig.role_profiles || {}).worker).permission_mode || "") === "danger_full_access"
417
417
  && String(safeObject(safeObject(groupedRunnerConfig.role_profiles || {}).worker).reasoning_effort || "") === "high"
418
418
  && String(safeObject(safeObject(groupedRunnerConfig.role_profiles || {}).approval).client || "") === "gemini"
419
- && String(safeObject(safeObject(groupedRunnerConfig.role_profiles || {}).approval).model || "") === "Gemini 3.1 Pro",
419
+ && String(safeObject(safeObject(groupedRunnerConfig.role_profiles || {}).approval).model || "") === "gemini-3.1-pro",
420
420
  `worker=${JSON.stringify(safeObject(safeObject(groupedRunnerConfig.role_profiles || {}).worker))} approval=${JSON.stringify(safeObject(safeObject(groupedRunnerConfig.role_profiles || {}).approval))}`,
421
421
  );
422
422
 
@@ -525,7 +525,7 @@ export async function runSelftestBotCommands(push, deps) {
525
525
  "2", // change AI client
526
526
  "4", // gemini
527
527
  "2", // change AI model
528
- "2", // gemini model: Gemini 3.1 Pro
528
+ "2", // gemini model: gemini-3.1-pro
529
529
  "2", // change permission mode
530
530
  "3", // workspace_write
531
531
  "2", // change reasoning effort
@@ -544,7 +544,7 @@ export async function runSelftestBotCommands(push, deps) {
544
544
  push(
545
545
  "bot_edit_guided_prompts_update_ai_binding_fields",
546
546
  String(guidedState.TELEGRAM_BOT_MONITORSELFTESTBOT_AI_CLIENT || "") === "gemini"
547
- && String(guidedState.TELEGRAM_BOT_MONITORSELFTESTBOT_AI_MODEL || "") === "Gemini 3.1 Pro"
547
+ && String(guidedState.TELEGRAM_BOT_MONITORSELFTESTBOT_AI_MODEL || "") === "gemini-3.1-pro"
548
548
  && String(guidedState.TELEGRAM_BOT_MONITORSELFTESTBOT_AI_PERMISSION_MODE || "") === "workspace_write"
549
549
  && String(guidedState.TELEGRAM_BOT_MONITORSELFTESTBOT_AI_REASONING_EFFORT || "") === "medium",
550
550
  `client=${String(guidedState.TELEGRAM_BOT_MONITORSELFTESTBOT_AI_CLIENT || "")} model=${String(guidedState.TELEGRAM_BOT_MONITORSELFTESTBOT_AI_MODEL || "")}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "metheus-governance-mcp-cli",
3
- "version": "0.2.84",
3
+ "version": "0.2.85",
4
4
  "description": "Metheus Governance MCP CLI (setup + stdio proxy)",
5
5
  "type": "module",
6
6
  "files": [