polydev-ai 1.9.7 → 1.9.9

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/lib/cliManager.js CHANGED
@@ -18,9 +18,9 @@ const execAsync = promisify(exec);
18
18
 
19
19
  // Known default models for each CLI tool (used when detection fails)
20
20
  const CLI_DEFAULT_MODELS = {
21
- 'claude_code': 'claude-sonnet-4-5-20250929',
22
- 'gemini_cli': 'gemini-2.5-flash',
23
- 'codex_cli': 'o4-mini'
21
+ 'claude_code': 'claude-opus-4-6',
22
+ 'gemini_cli': 'gemini-3-pro',
23
+ 'codex_cli': 'gpt-5.3'
24
24
  };
25
25
 
26
26
  class CLIManager {
@@ -301,7 +301,9 @@ class StdioMCPWrapper {
301
301
  this.PENDING_SESSION_FILE = path.join(os.homedir(), '.polydev-pending-session');
302
302
 
303
303
  // Initialize CLI Manager for local CLI functionality
304
- this.cliManager = new CLIManager();
304
+ // Disable StatusReporter - it's redundant (updateCliStatusInDatabase handles DB updates via /api/cli-status-update)
305
+ // and causes 401 errors because /api/mcp uses different auth than /api/cli-status-update
306
+ this.cliManager = new CLIManager({ enableStatusReporting: false });
305
307
 
306
308
  // Load manifest for tool definitions
307
309
  this.loadManifest();
@@ -1825,9 +1827,9 @@ Error: ${error.message}`
1825
1827
 
1826
1828
  // Fallback to descriptive defaults based on typical CLI models
1827
1829
  const defaults = {
1828
- 'claude_code': 'claude-sonnet-4-5-20250929',
1829
- 'codex_cli': 'o4-mini',
1830
- 'gemini_cli': 'gemini-2.5-flash'
1830
+ 'claude_code': 'claude-opus-4-6',
1831
+ 'codex_cli': 'gpt-5.3',
1832
+ 'gemini_cli': 'gemini-3-pro'
1831
1833
  };
1832
1834
  return defaults[providerId] || 'unknown';
1833
1835
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polydev-ai",
3
- "version": "1.9.7",
3
+ "version": "1.9.9",
4
4
  "engines": {
5
5
  "node": ">=20.x <=22.x"
6
6
  },