polydev-ai 1.10.22 → 1.10.23

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
@@ -1136,11 +1136,13 @@ This is a known issue with @google/gemini-cli@0.3.4 and older Node.js versions.`
1136
1136
  console.log(`[CLI Debug] Codex using model: ${model}`);
1137
1137
  }
1138
1138
 
1139
- // Use read-only sandbox to prevent agentic file/exec operations
1140
- // codex exec only accepts: -s, -m, -c, -p, --enable, --disable (no -a, --ephemeral, --skip-git-repo-check)
1139
+ // Use read-only sandbox + medium reasoning to prevent slow agentic operations
1140
+ // -c model_reasoning_effort=medium: reduces from 67s (high) to 8.5s (measured)
1141
+ // -s read-only: prevents file writes and command execution
1141
1142
  const directPrompt = `Answer this question directly from your knowledge. Do not execute any commands, read any files, or use any tools. Provide a concise, expert response.\n\n${prompt}`;
1142
1143
  args.push(
1143
1144
  '-s', 'read-only',
1145
+ '-c', 'model_reasoning_effort=medium',
1144
1146
  directPrompt
1145
1147
  );
1146
1148
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polydev-ai",
3
- "version": "1.10.22",
3
+ "version": "1.10.23",
4
4
  "engines": {
5
5
  "node": ">=20.x <=22.x"
6
6
  },