mlgym-deploy 3.3.14 → 3.3.16

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -18,7 +18,7 @@ import crypto from 'crypto';
18
18
  const execAsync = promisify(exec);
19
19
 
20
20
  // Current version of this MCP server - INCREMENT FOR WORKFLOW FIXES
21
- const CURRENT_VERSION = '3.3.13'; // Fix branch detection for git push (master vs main)
21
+ const CURRENT_VERSION = '3.3.16'; // Fix: Auth status check + expose instead of ports:80
22
22
  const PACKAGE_NAME = 'mlgym-deploy';
23
23
 
24
24
  // Debug logging configuration - ENABLED BY DEFAULT
@@ -1886,7 +1886,7 @@ class DeploymentWorkflow {
1886
1886
  // Parse the result
1887
1887
  const resultData = JSON.parse(authResult.content[0].text);
1888
1888
 
1889
- if (resultData.status === 'success' || resultData.authenticated) {
1889
+ if (resultData.status === 'success' || resultData.status === 'authenticated' || resultData.authenticated) {
1890
1890
  this.authToken = (await loadAuth()).token;
1891
1891
  this.updateLastStep('completed', 'Authentication successful');
1892
1892
  return { authenticated: true, cached: false };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mlgym-deploy",
3
- "version": "3.3.14",
3
+ "version": "3.3.16",
4
4
  "description": "MCP server for MLGym - Complete deployment management: deploy, configure, monitor, and rollback applications",
5
5
  "main": "index.js",
6
6
  "type": "module",