luv-cli 0.0.6__tar.gz → 0.0.8__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.6 → luv_cli-0.0.8}/PKG-INFO +1 -1
- {luv_cli-0.0.6 → luv_cli-0.0.8}/luv/__init__.py +12 -10
- {luv_cli-0.0.6 → luv_cli-0.0.8}/pyproject.toml +1 -1
- {luv_cli-0.0.6 → luv_cli-0.0.8}/.claude/settings.json +0 -0
- {luv_cli-0.0.6 → luv_cli-0.0.8}/.failproofai/policies-config.json +0 -0
- {luv_cli-0.0.6 → luv_cli-0.0.8}/.github/workflows/publish.yml +0 -0
- {luv_cli-0.0.6 → luv_cli-0.0.8}/.gitignore +0 -0
- {luv_cli-0.0.6 → luv_cli-0.0.8}/LICENSE +0 -0
- {luv_cli-0.0.6 → luv_cli-0.0.8}/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.8
|
|
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
|
|
@@ -350,18 +350,23 @@ def launch(clone_dir: Path, prompt: str | None, extra_env: dict[str, str] = {})
|
|
|
350
350
|
settings = load_luv_settings(clone_dir)
|
|
351
351
|
compose_file = (settings or {}).get("compose_file")
|
|
352
352
|
|
|
353
|
-
|
|
354
|
-
|
|
353
|
+
common_flags = ["--dangerously-skip-permissions",
|
|
354
|
+
"--model", "claude-opus-4-7",
|
|
355
|
+
"--effort", "max",
|
|
356
|
+
"--remote-control"]
|
|
357
|
+
if prompt:
|
|
358
|
+
mode_flags = ["--permission-mode", "plan"]
|
|
359
|
+
initial_args = [prompt]
|
|
360
|
+
else:
|
|
361
|
+
mode_flags = ["--permission-mode", "bypassPermissions"]
|
|
362
|
+
initial_args = [f"/color {pick_color()}"]
|
|
355
363
|
|
|
356
364
|
if compose_file:
|
|
357
365
|
project = docker_project_name(clone_dir)
|
|
358
366
|
start_docker(clone_dir, compose_file, project)
|
|
359
367
|
try:
|
|
360
368
|
base = docker_compose_base(clone_dir, compose_file, project)
|
|
361
|
-
claude_cmd = ["claude"
|
|
362
|
-
"--permission-mode", "bypassPermissions",
|
|
363
|
-
"--model", "claude-opus-4-7", "--effort", "max",
|
|
364
|
-
initial]
|
|
369
|
+
claude_cmd = ["claude"] + common_flags + mode_flags + initial_args
|
|
365
370
|
r = subprocess.run(base + ["exec", "-it"] + docker_env_flags(extra_env) + ["dev-environment"] + claude_cmd)
|
|
366
371
|
sys.exit(r.returncode)
|
|
367
372
|
finally:
|
|
@@ -370,11 +375,8 @@ def launch(clone_dir: Path, prompt: str | None, extra_env: dict[str, str] = {})
|
|
|
370
375
|
claude_bin = shutil.which("claude")
|
|
371
376
|
if not claude_bin:
|
|
372
377
|
die("'claude' not found in PATH")
|
|
373
|
-
base_args = [claude_bin, "--dangerously-skip-permissions",
|
|
374
|
-
"--permission-mode", "bypassPermissions",
|
|
375
|
-
"--model", "claude-opus-4-7", "--effort", "max"]
|
|
376
378
|
os.environ.update(extra_env)
|
|
377
|
-
os.execv(claude_bin,
|
|
379
|
+
os.execv(claude_bin, [claude_bin] + common_flags + mode_flags + initial_args)
|
|
378
380
|
|
|
379
381
|
|
|
380
382
|
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.8"
|
|
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
|