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 +3 -3
- package/mcp/stdio-wrapper.js +6 -4
- package/package.json +1 -1
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-
|
|
22
|
-
'gemini_cli': 'gemini-
|
|
23
|
-
'codex_cli': '
|
|
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 {
|
package/mcp/stdio-wrapper.js
CHANGED
|
@@ -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
|
-
|
|
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-
|
|
1829
|
-
'codex_cli': '
|
|
1830
|
-
'gemini_cli': 'gemini-
|
|
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
|
}
|