polydev-ai 1.10.16 → 1.10.17

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
@@ -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', '3'] // JSON output, limit agentic loops
59
+ test_prompt: ['--print', '--output-format', 'json', '--dangerously-skip-permissions'] // JSON output, skip permission prompts for server-side usage
60
60
  },
61
61
  install_instructions: 'Install via: npm install -g @anthropic-ai/claude-code',
62
62
  auth_instructions: 'Authenticate with Claude Code'
@@ -1138,8 +1138,8 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
1138
1138
 
1139
1139
  // Add standard flags and prompt
1140
1140
  args.push(
1141
- '--sandbox',
1142
- 'workspace-write',
1141
+ '--full-auto',
1142
+ '--ephemeral',
1143
1143
  '--skip-git-repo-check',
1144
1144
  '--cd',
1145
1145
  workingDir,
@@ -1169,6 +1169,8 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
1169
1169
  NO_COLOR: '1',
1170
1170
  TERM: 'dumb',
1171
1171
  NONINTERACTIVE: '1',
1172
+ // Prevent shell init scripts from hanging (GitHub issue #7353)
1173
+ BASH_ENV: '/dev/null',
1172
1174
  // Prevent browser opening (OAuth, updates, etc.)
1173
1175
  NO_BROWSER: '1',
1174
1176
  BROWSER: 'echo',
@@ -1429,7 +1431,7 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
1429
1431
  */
1430
1432
  buildStreamingArgs(providerId, prompt, model = null) {
1431
1433
  if (providerId === 'claude_code') {
1432
- const args = ['-p', '--output-format', 'stream-json', '--verbose', '--include-partial-messages', '--max-turns', '3'];
1434
+ const args = ['-p', '--output-format', 'stream-json', '--verbose', '--include-partial-messages', '--dangerously-skip-permissions'];
1433
1435
 
1434
1436
  // Add model flag if specified
1435
1437
  if (model) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polydev-ai",
3
- "version": "1.10.16",
3
+ "version": "1.10.17",
4
4
  "engines": {
5
5
  "node": ">=20.x <=22.x"
6
6
  },