polydev-ai 1.8.83 → 1.8.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/mcp/login.js +1 -1
- package/mcp/stdio-wrapper.js +2 -2
- package/package.json +1 -1
package/mcp/login.js
CHANGED
|
@@ -181,7 +181,7 @@ function runLoginFlow() {
|
|
|
181
181
|
server.listen(0, 'localhost', () => {
|
|
182
182
|
const port = server.address().port;
|
|
183
183
|
const callbackUrl = `http://localhost:${port}/callback`;
|
|
184
|
-
const authUrl = `https://polydev.ai/auth
|
|
184
|
+
const authUrl = `https://polydev.ai/auth?callback=${encodeURIComponent(callbackUrl)}&redirect=claude-code`;
|
|
185
185
|
|
|
186
186
|
console.log('Opening browser for authentication...');
|
|
187
187
|
console.log(`If browser doesn\'t open, visit:\n${authUrl}\n`);
|
package/mcp/stdio-wrapper.js
CHANGED
|
@@ -475,7 +475,7 @@ class StdioMCPWrapper {
|
|
|
475
475
|
server.listen(0, 'localhost', () => {
|
|
476
476
|
const port = server.address().port;
|
|
477
477
|
const callbackUrl = `http://localhost:${port}/callback`;
|
|
478
|
-
const authUrl = `https://polydev.ai/auth
|
|
478
|
+
const authUrl = `https://polydev.ai/auth?callback=${encodeURIComponent(callbackUrl)}&redirect=ide-plugin&auto=true`;
|
|
479
479
|
|
|
480
480
|
console.error(`[Polydev] Opening browser for authentication: ${authUrl}`);
|
|
481
481
|
|
|
@@ -2246,7 +2246,7 @@ class StdioMCPWrapper {
|
|
|
2246
2246
|
server.listen(0, 'localhost', () => {
|
|
2247
2247
|
const port = server.address().port;
|
|
2248
2248
|
const callbackUrl = `http://localhost:${port}/callback`;
|
|
2249
|
-
const authUrl = `https://polydev.ai/auth
|
|
2249
|
+
const authUrl = `https://polydev.ai/auth?callback=${encodeURIComponent(callbackUrl)}&redirect=ide-plugin&auto=true`;
|
|
2250
2250
|
|
|
2251
2251
|
console.error('If browser does not open, visit:');
|
|
2252
2252
|
console.error(authUrl);
|