luv-cli 0.0.7__tar.gz → 0.0.9__tar.gz
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.
- {luv_cli-0.0.7 → luv_cli-0.0.9}/PKG-INFO +1 -1
- {luv_cli-0.0.7 → luv_cli-0.0.9}/luv/__init__.py +19 -14
- {luv_cli-0.0.7 → luv_cli-0.0.9}/pyproject.toml +1 -1
- {luv_cli-0.0.7 → luv_cli-0.0.9}/.claude/settings.json +0 -0
- {luv_cli-0.0.7 → luv_cli-0.0.9}/.failproofai/policies-config.json +0 -0
- {luv_cli-0.0.7 → luv_cli-0.0.9}/.github/workflows/publish.yml +0 -0
- {luv_cli-0.0.7 → luv_cli-0.0.9}/.gitignore +0 -0
- {luv_cli-0.0.7 → luv_cli-0.0.9}/LICENSE +0 -0
- {luv_cli-0.0.7 → luv_cli-0.0.9}/README.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: luv-cli
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.9
|
|
4
4
|
Summary: Launch Claude Code agents on GitHub repos with isolated workspaces and optional Docker dev environments
|
|
5
5
|
Project-URL: Homepage, https://github.com/exospherehost/luv
|
|
6
6
|
Project-URL: Repository, https://github.com/exospherehost/luv
|
|
@@ -330,7 +330,9 @@ def resume(clone_dir: Path, extra_env: dict[str, str] = {}) -> None:
|
|
|
330
330
|
r = subprocess.run(base + ["exec", "-it"] + docker_env_flags(extra_env) + ["dev-environment",
|
|
331
331
|
"claude", "--dangerously-skip-permissions",
|
|
332
332
|
"--model", "claude-opus-4-7",
|
|
333
|
-
"--effort", "max", "--resume"
|
|
333
|
+
"--effort", "max", "--resume",
|
|
334
|
+
"--remote-control",
|
|
335
|
+
"--remote-control-session-name-prefix", clone_dir.name])
|
|
334
336
|
sys.exit(r.returncode)
|
|
335
337
|
finally:
|
|
336
338
|
stop_docker(clone_dir, compose_file, project)
|
|
@@ -340,7 +342,9 @@ def resume(clone_dir: Path, extra_env: dict[str, str] = {}) -> None:
|
|
|
340
342
|
die("'claude' not found in PATH")
|
|
341
343
|
os.environ.update(extra_env)
|
|
342
344
|
os.execv(claude_bin, [claude_bin, "--dangerously-skip-permissions",
|
|
343
|
-
"--model", "claude-opus-4-7", "--effort", "max", "--resume"
|
|
345
|
+
"--model", "claude-opus-4-7", "--effort", "max", "--resume",
|
|
346
|
+
"--remote-control",
|
|
347
|
+
"--remote-control-session-name-prefix", clone_dir.name])
|
|
344
348
|
|
|
345
349
|
|
|
346
350
|
def launch(clone_dir: Path, prompt: str | None, extra_env: dict[str, str] = {}) -> None:
|
|
@@ -350,20 +354,24 @@ def launch(clone_dir: Path, prompt: str | None, extra_env: dict[str, str] = {})
|
|
|
350
354
|
settings = load_luv_settings(clone_dir)
|
|
351
355
|
compose_file = (settings or {}).get("compose_file")
|
|
352
356
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
+
common_flags = ["--dangerously-skip-permissions",
|
|
358
|
+
"--model", "claude-opus-4-7",
|
|
359
|
+
"--effort", "max",
|
|
360
|
+
"--remote-control",
|
|
361
|
+
"--remote-control-session-name-prefix", clone_dir.name]
|
|
362
|
+
if prompt:
|
|
363
|
+
mode_flags = ["--permission-mode", "plan"]
|
|
364
|
+
initial_args = [prompt]
|
|
365
|
+
else:
|
|
366
|
+
mode_flags = ["--permission-mode", "bypassPermissions"]
|
|
367
|
+
initial_args = [f"/color {pick_color()}"]
|
|
357
368
|
|
|
358
369
|
if compose_file:
|
|
359
370
|
project = docker_project_name(clone_dir)
|
|
360
371
|
start_docker(clone_dir, compose_file, project)
|
|
361
372
|
try:
|
|
362
373
|
base = docker_compose_base(clone_dir, compose_file, project)
|
|
363
|
-
claude_cmd = ["claude"
|
|
364
|
-
"--permission-mode", "bypassPermissions",
|
|
365
|
-
"--model", "claude-opus-4-7", "--effort", "max",
|
|
366
|
-
initial]
|
|
374
|
+
claude_cmd = ["claude"] + common_flags + mode_flags + initial_args
|
|
367
375
|
r = subprocess.run(base + ["exec", "-it"] + docker_env_flags(extra_env) + ["dev-environment"] + claude_cmd)
|
|
368
376
|
sys.exit(r.returncode)
|
|
369
377
|
finally:
|
|
@@ -372,11 +380,8 @@ def launch(clone_dir: Path, prompt: str | None, extra_env: dict[str, str] = {})
|
|
|
372
380
|
claude_bin = shutil.which("claude")
|
|
373
381
|
if not claude_bin:
|
|
374
382
|
die("'claude' not found in PATH")
|
|
375
|
-
base_args = [claude_bin, "--dangerously-skip-permissions",
|
|
376
|
-
"--permission-mode", "bypassPermissions",
|
|
377
|
-
"--model", "claude-opus-4-7", "--effort", "max"]
|
|
378
383
|
os.environ.update(extra_env)
|
|
379
|
-
os.execv(claude_bin,
|
|
384
|
+
os.execv(claude_bin, [claude_bin] + common_flags + mode_flags + initial_args)
|
|
380
385
|
|
|
381
386
|
|
|
382
387
|
def cmd_clean(force: bool = False) -> None:
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "luv-cli"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.9"
|
|
8
8
|
description = "Launch Claude Code agents on GitHub repos with isolated workspaces and optional Docker dev environments"
|
|
9
9
|
requires-python = ">=3.10"
|
|
10
10
|
license = "MIT"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|