mlgym-deploy 3.0.2 → 3.0.3
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/index.js +3 -3
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import crypto from 'crypto';
|
|
|
17
17
|
const execAsync = promisify(exec);
|
|
18
18
|
|
|
19
19
|
// Current version of this MCP server - INCREMENT FOR WORKFLOW FIXES
|
|
20
|
-
const CURRENT_VERSION = '3.0.
|
|
20
|
+
const CURRENT_VERSION = '3.0.3'; // Fixed undefined namespace in Git URL (use ssh_url_to_repo from API)
|
|
21
21
|
const PACKAGE_NAME = 'mlgym-deploy';
|
|
22
22
|
|
|
23
23
|
// Version check state
|
|
@@ -991,8 +991,8 @@ async function initProject(args) {
|
|
|
991
991
|
await execAsync('git branch -M main', { cwd: absolutePath });
|
|
992
992
|
}
|
|
993
993
|
|
|
994
|
-
// Add GitLab remote
|
|
995
|
-
const gitUrl = project.ssh_url || `git@git.mlgym.io:${project.
|
|
994
|
+
// Add GitLab remote - use ssh_url_to_repo field from backend
|
|
995
|
+
const gitUrl = project.ssh_url_to_repo || project.ssh_url || `git@git.mlgym.io:${project.path}.git`;
|
|
996
996
|
try {
|
|
997
997
|
await execAsync('git remote remove mlgym', { cwd: absolutePath });
|
|
998
998
|
} catch {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mlgym-deploy",
|
|
3
|
-
"version": "3.0.
|
|
4
|
-
"description": "MCP server for MLGym - Fixed
|
|
3
|
+
"version": "3.0.3",
|
|
4
|
+
"description": "MCP server for MLGym - Fixed undefined namespace in Git URL generation",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|