polydev-ai 1.8.24 → 1.8.25
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/stdio-wrapper.js +4 -1
- package/package.json +1 -1
package/mcp/stdio-wrapper.js
CHANGED
|
@@ -234,6 +234,9 @@ class StdioMCPWrapper {
|
|
|
234
234
|
process.exit(1);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
+
// Server URL for API calls
|
|
238
|
+
this.serverUrl = 'https://www.polydev.ai/api/mcp';
|
|
239
|
+
|
|
237
240
|
// Initialize CLI Manager for local CLI functionality
|
|
238
241
|
this.cliManager = new CLIManager();
|
|
239
242
|
|
|
@@ -296,7 +299,7 @@ class StdioMCPWrapper {
|
|
|
296
299
|
// Handle get_perspectives with local CLIs + remote perspectives
|
|
297
300
|
const toolName = params.name;
|
|
298
301
|
|
|
299
|
-
if (toolName === 'get_perspectives') {
|
|
302
|
+
if (toolName === 'get_perspectives' || toolName === 'polydev.get_perspectives') {
|
|
300
303
|
return await this.handleGetPerspectivesWithCLIs(params, id);
|
|
301
304
|
}
|
|
302
305
|
|
package/package.json
CHANGED