edsger 0.27.0 → 0.27.2

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/dist/auth/login.js +4 -13
  2. package/package.json +1 -1
@@ -56,6 +56,8 @@ function readLine(prompt) {
56
56
  });
57
57
  });
58
58
  }
59
+ /** Default MCP server URL */
60
+ const MCP_SERVER_URL = 'https://ktkogvogdaffjmvrewiu.supabase.co/functions/v1';
59
61
  /**
60
62
  * Run the login flow
61
63
  */
@@ -86,20 +88,9 @@ export async function runLogin() {
86
88
  }
87
89
  console.log(' 1. Sign in to edsger.ai (if not already signed in)');
88
90
  console.log(' 2. Click "Generate CLI Token" on the page');
89
- console.log(' 3. Copy the MCP Server URL and paste it below');
90
- console.log(' 4. Copy the CLI Token and paste it below');
91
+ console.log(' 3. Copy the CLI Token and paste it below');
91
92
  console.log();
92
- // Read MCP server URL (shown on the web page)
93
- const mcpServerUrl = await readLine('MCP Server URL: ');
94
- if (!mcpServerUrl) {
95
- logError('MCP Server URL is required. Login cancelled.');
96
- return;
97
- }
98
- // Validate URL format
99
- if (!mcpServerUrl.startsWith('http://') && !mcpServerUrl.startsWith('https://')) {
100
- logError('Invalid URL format. Must start with http:// or https://');
101
- return;
102
- }
93
+ const mcpServerUrl = process.env.EDSGER_MCP_SERVER_URL || MCP_SERVER_URL;
103
94
  // Read token
104
95
  const mcpToken = await readLine('CLI Token: ');
105
96
  if (!mcpToken) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edsger",
3
- "version": "0.27.0",
3
+ "version": "0.27.2",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "edsger": "dist/index.js"