polydev-ai 1.8.35 → 1.8.36

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.
@@ -718,11 +718,6 @@ class StdioMCPWrapper {
718
718
  }
719
719
  }
720
720
 
721
- // Report CLI results to server for dashboard storage (non-blocking)
722
- this.reportCliResultsToServer(prompt, localResults, args).catch(err => {
723
- console.error('[Stdio Wrapper] CLI results reporting failed (non-critical):', err.message);
724
- });
725
-
726
721
  // Calculate how many successful local perspectives we got
727
722
  const successfulLocalCount = localResults.filter(r => r.success).length;
728
723
  const failedCliCount = localResults.filter(r => !r.success).length;
@@ -742,9 +737,18 @@ class StdioMCPWrapper {
742
737
  model: p.model
743
738
  }));
744
739
 
740
+ // Note: Remote API will handle logging of CLI + API results together
741
+ // We do NOT call reportCliResultsToServer() here to avoid duplicate logs
745
742
  perspectivesResult = await this.callPerspectivesForCli(args, localResults, remainingPerspectives, apiProvidersInfo);
746
743
  } else {
747
744
  console.error(`[Stdio Wrapper] Already have ${successfulLocalCount} perspectives from CLIs, skipping remote call`);
745
+
746
+ // ONLY report CLI results when NOT calling remote API
747
+ // (When we call remote API, it handles logging CLI + API results together)
748
+ this.reportCliResultsToServer(prompt, localResults, args).catch(err => {
749
+ console.error('[Stdio Wrapper] CLI results reporting failed (non-critical):', err.message);
750
+ });
751
+
748
752
  perspectivesResult = {
749
753
  success: true,
750
754
  content: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polydev-ai",
3
- "version": "1.8.35",
3
+ "version": "1.8.36",
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",
@@ -16,7 +16,7 @@
16
16
  "author": "Polydev AI",
17
17
  "license": "MIT",
18
18
  "private": false,
19
- "main": "mcp/server.js",
19
+ "main": "mcp/stdio-wrapper.js",
20
20
  "bin": {
21
21
  "polydev-stdio": "mcp/stdio-wrapper.js"
22
22
  },
@@ -67,7 +67,7 @@
67
67
  "lucide-react": "^0.542.0",
68
68
  "marked": "^16.2.1",
69
69
  "next": "^15.5.7",
70
- "polydev-ai": "^1.8.34",
70
+ "polydev-ai": "^1.8.33",
71
71
  "posthog-js": "^1.157.2",
72
72
  "prismjs": "^1.30.0",
73
73
  "react": "^18.3.1",