polydev-ai 1.10.23 → 1.10.24
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 +4 -2
- package/package.json +1 -1
package/lib/cliManager.js
CHANGED
|
@@ -1432,12 +1432,12 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
|
|
|
1432
1432
|
buildStreamingArgs(providerId, prompt, model = null) {
|
|
1433
1433
|
if (providerId === 'claude_code') {
|
|
1434
1434
|
// --tools "" disables ALL built-in tools (no WebSearch, no Bash, nothing)
|
|
1435
|
-
// --effort
|
|
1435
|
+
// --effort low minimizes extended thinking (Opus 4.6 adaptive thinking)
|
|
1436
1436
|
// --max-turns 1 ensures single-turn response (no agentic loops)
|
|
1437
1437
|
const args = ['-p', '--output-format', 'stream-json', '--verbose', '--include-partial-messages',
|
|
1438
1438
|
'--max-turns', '1',
|
|
1439
1439
|
'--tools', '',
|
|
1440
|
-
'--effort', '
|
|
1440
|
+
'--effort', 'low'
|
|
1441
1441
|
];
|
|
1442
1442
|
|
|
1443
1443
|
// Add model flag if specified
|
|
@@ -1506,6 +1506,8 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
|
|
|
1506
1506
|
const child = spawn(provider.command, args, {
|
|
1507
1507
|
stdio: ['pipe', 'pipe', 'pipe'],
|
|
1508
1508
|
shell: process.platform === 'win32',
|
|
1509
|
+
// Run from /tmp to avoid loading project CLAUDE.md files (saves ~54K system prompt tokens)
|
|
1510
|
+
cwd: providerId === 'claude_code' ? os.tmpdir() : undefined,
|
|
1509
1511
|
env: (() => {
|
|
1510
1512
|
const env = {
|
|
1511
1513
|
...process.env,
|