polydev-ai 1.10.15 → 1.10.16
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 +2 -2
- package/package.json +1 -1
package/lib/cliManager.js
CHANGED
|
@@ -56,7 +56,7 @@ class CLIManager {
|
|
|
56
56
|
chat: [],
|
|
57
57
|
version: ['--version'],
|
|
58
58
|
auth_status: ['--print', 'test auth'], // Use --print to test auth
|
|
59
|
-
test_prompt: ['--print', '--output-format', 'json', '--max-turns', '
|
|
59
|
+
test_prompt: ['--print', '--output-format', 'json', '--max-turns', '3'] // JSON output, limit agentic loops
|
|
60
60
|
},
|
|
61
61
|
install_instructions: 'Install via: npm install -g @anthropic-ai/claude-code',
|
|
62
62
|
auth_instructions: 'Authenticate with Claude Code'
|
|
@@ -1429,7 +1429,7 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
|
|
|
1429
1429
|
*/
|
|
1430
1430
|
buildStreamingArgs(providerId, prompt, model = null) {
|
|
1431
1431
|
if (providerId === 'claude_code') {
|
|
1432
|
-
const args = ['-p', '--output-format', 'stream-json', '--verbose', '--include-partial-messages', '--max-turns', '
|
|
1432
|
+
const args = ['-p', '--output-format', 'stream-json', '--verbose', '--include-partial-messages', '--max-turns', '3'];
|
|
1433
1433
|
|
|
1434
1434
|
// Add model flag if specified
|
|
1435
1435
|
if (model) {
|