polydev-ai 1.8.7 → 1.8.8

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.
@@ -443,19 +443,19 @@ class StdioMCPWrapper {
443
443
  console.error(`[Stdio Wrapper] Local CLI prompt sending with perspectives`);
444
444
 
445
445
  try {
446
- let { provider_id, prompt, mode = 'args', timeout_ms = 30000 } = args;
446
+ let { provider_id, prompt, mode = 'args', timeout_ms = 180000 } = args;
447
447
 
448
448
  // Ensure timeout_ms is valid (not undefined, null, Infinity, or negative)
449
449
  if (!timeout_ms || timeout_ms === Infinity || timeout_ms < 1 || timeout_ms > 300000) {
450
- timeout_ms = 30000; // Default to 30 seconds
450
+ timeout_ms = 180000; // Default to 180 seconds for CLI responses
451
451
  }
452
452
 
453
453
  if (!prompt) {
454
454
  throw new Error('prompt is required');
455
455
  }
456
456
 
457
- // Use reasonable timeout for CLI responses (180 seconds for complex prompts)
458
- const gracefulTimeout = Math.min(timeout_ms, 180000);
457
+ // Use configured timeout but cap at 5 minutes max
458
+ const gracefulTimeout = Math.min(timeout_ms, 300000);
459
459
 
460
460
  // Fetch user's model preferences (cached, non-blocking on failure)
461
461
  let modelPreferences = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polydev-ai",
3
- "version": "1.8.7",
3
+ "version": "1.8.8",
4
4
  "description": "Agentic workflow assistant with CLI integration - get diverse perspectives from multiple LLMs when stuck or need enhanced reasoning",
5
5
  "keywords": [
6
6
  "mcp",