@hunyed15/codecgc 0.1.10 → 0.1.11

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.
@@ -176,9 +176,9 @@ def run_shell_command(
176
176
  gemini_path = shutil.which("gemini") or cmd[0]
177
177
  popen_cmd[0] = gemini_path
178
178
 
179
- # if os.name == "nt" and gemini_path.lower().endswith((".cmd", ".bat")):
180
- # from subprocess import list2cmdline
181
- # popen_cmd = ["cmd.exe", "/s", "/c", list2cmdline(cmd)]
179
+ if os.name == "nt" and gemini_path.lower().endswith((".cmd", ".bat")):
180
+ from subprocess import list2cmdline
181
+ popen_cmd = ["cmd.exe", "/s", "/c", list2cmdline(cmd)]
182
182
 
183
183
  process = subprocess.Popen(
184
184
  popen_cmd,
@@ -286,8 +286,12 @@ def _execute_gemini_session(
286
286
  "--skip-trust",
287
287
  "--approval-mode",
288
288
  DEFAULT_GEMINI_APPROVAL_MODE,
289
+ "--prompt",
290
+ prompt,
289
291
  "-o",
290
292
  "stream-json",
293
+ "--allowed-mcp-server-names",
294
+ "__codecgc_none__",
291
295
  ]
292
296
 
293
297
  project_policy = _resolve_project_gemini_policy(cd)
@@ -303,8 +307,6 @@ def _execute_gemini_session(
303
307
  if session_id:
304
308
  cmd.extend(["--resume", session_id])
305
309
 
306
- cmd.append(prompt)
307
-
308
310
  gemini_env = {**os.environ, "GEMINI_CLI_TRUST_WORKSPACE": "true"}
309
311
 
310
312
  all_messages = []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hunyed15/codecgc",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Claude-hosted multi-model workflow product shell for CodeCGC.",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",