Skip to content

Open-source AI podcast clipper. Generate vertical clips with face tracking and burned-in captions. CLI, MCP server, web app.

Release 2.7.10

Nika Siradze8ea57d3c6d23
diff --git a/backend/services/ai_cli.py b/backend/services/ai_cli.py
index 6d8daf0..565ae8a 100644
--- a/backend/services/ai_cli.py
+++ b/backend/services/ai_cli.py
@@ -441,7 +441,7 @@ def _run_ai_command(
result = subprocess.run(
[
cli_path, "exec",
- "--full-auto",
+ "--sandbox", "read-only",
"-o", output_file,
prompt,
],
diff --git a/cli/VERSION b/cli/VERSION
index 3e65160..7dceab0 100644
--- a/cli/VERSION
+++ b/cli/VERSION
@@ -1 +1 @@
-2.7.9
+2.7.10
diff --git a/package-lock.json b/package-lock.json
index e23877f..5ad7260 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "podcli",
- "version": "2.7.9",
+ "version": "2.7.10",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "podcli",
- "version": "2.7.9",
+ "version": "2.7.10",
"license": "AGPL-3.0-only",
"dependencies": {
"@fontsource/dm-sans": "^5.3.0",
diff --git a/package.json b/package.json
index b7bd1cc..e81be09 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "podcli",
- "version": "2.7.9",
+ "version": "2.7.10",
"private": true,
"description": "AI-powered podcast clip generator for TikTok/YouTube Shorts. Transcribe, find viral moments, export vertical clips with burned captions.",
"type": "module",
diff --git a/tests/test_ai_fallback.py b/tests/test_ai_fallback.py
index 4d49739..bb53ba5 100644
--- a/tests/test_ai_fallback.py
+++ b/tests/test_ai_fallback.py
@@ -459,6 +459,40 @@ class AICliDiscoveryTests(unittest.TestCase):
self.assertIn("stdin", kwargs)
self.assertFalse(kwargs.get("shell"))
+ def test_codex_exec_uses_current_read_only_args(self):
+ with tempfile.TemporaryDirectory() as tmp:
+ prompt_file = os.path.join(tmp, "prompt.txt")
+ cli = os.path.join(tmp, "codex")
+
+ with mock.patch("services.ai_cli.subprocess.run") as run_mock:
+ run_mock.return_value = subprocess.CompletedProcess(
+ args=[cli, "exec"],
+ returncode=0,
+ stdout="{}",
+ stderr="",
+ )
+ ai._run_ai_command(
+ cli_path=cli,
+ engine="codex",
+ prompt="find clips",
+ prompt_file=prompt_file,
+ project_dir=tmp,
+ timeout=30,
+ )
+
+ args, kwargs = run_mock.call_args
+ self.assertEqual(
+ args[0],
+ [
+ cli, "exec",
+ "--sandbox", "read-only",
+ "-o", prompt_file + ".out",
+ "find clips",
+ ],
+ )
+ self.assertNotIn("--full-auto", args[0])
+ self.assertEqual(kwargs["cwd"], tmp)
+
if __name__ == "__main__":
unittest.main()