luv-cli 0.0.21__tar.gz → 0.0.22__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.21 → luv_cli-0.0.22}/PKG-INFO +2 -2
- {luv_cli-0.0.21 → luv_cli-0.0.22}/README.md +1 -1
- {luv_cli-0.0.21 → luv_cli-0.0.22}/luv/__init__.py +10 -2
- {luv_cli-0.0.21 → luv_cli-0.0.22}/pyproject.toml +1 -1
- {luv_cli-0.0.21 → luv_cli-0.0.22}/.claude/settings.json +0 -0
- {luv_cli-0.0.21 → luv_cli-0.0.22}/.failproofai/policies-config.json +0 -0
- {luv_cli-0.0.21 → luv_cli-0.0.22}/.github/workflows/publish.yml +0 -0
- {luv_cli-0.0.21 → luv_cli-0.0.22}/.gitignore +0 -0
- {luv_cli-0.0.21 → luv_cli-0.0.22}/LICENSE +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.22
|
|
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
|
|
@@ -72,7 +72,7 @@ luv --clean
|
|
|
72
72
|
1. Clones the repo into `~/prs/{repo}-{number}/`
|
|
73
73
|
2. Creates a new branch `luv-{number}`
|
|
74
74
|
3. Trusts the project in Claude Code config
|
|
75
|
-
4. Launches Claude with Opus 4.8 at max effort
|
|
75
|
+
4. Launches Claude with Opus 4.8 at max effort
|
|
76
76
|
|
|
77
77
|
All workspaces live under `~/prs/`. The number comes from the repo's GitHub issue counter to avoid collisions.
|
|
78
78
|
|
|
@@ -49,7 +49,7 @@ luv --clean
|
|
|
49
49
|
1. Clones the repo into `~/prs/{repo}-{number}/`
|
|
50
50
|
2. Creates a new branch `luv-{number}`
|
|
51
51
|
3. Trusts the project in Claude Code config
|
|
52
|
-
4. Launches Claude with Opus 4.8 at max effort
|
|
52
|
+
4. Launches Claude with Opus 4.8 at max effort
|
|
53
53
|
|
|
54
54
|
All workspaces live under `~/prs/`. The number comes from the repo's GitHub issue counter to avoid collisions.
|
|
55
55
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import os
|
|
3
|
+
import random
|
|
3
4
|
import re
|
|
4
5
|
import shutil
|
|
5
6
|
import stat
|
|
@@ -15,6 +16,13 @@ PRS_DIR = Path.home() / "prs"
|
|
|
15
16
|
CLAUDE_JSON = Path.home() / ".claude.json"
|
|
16
17
|
CLAUDE_SETTINGS_JSON = Path.home() / ".claude" / "settings.json"
|
|
17
18
|
|
|
19
|
+
COLORS = ["red", "blue", "green", "yellow", "purple", "orange", "pink", "cyan", "default"]
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def pick_color() -> str:
|
|
23
|
+
"""Pick a random /color value so each luv session is visually distinct."""
|
|
24
|
+
return random.choice(COLORS)
|
|
25
|
+
|
|
18
26
|
PR_RULES = """
|
|
19
27
|
# Pull Request Management
|
|
20
28
|
|
|
@@ -366,10 +374,10 @@ def launch(clone_dir: Path, prompt: str | None, plan_mode: bool = False,
|
|
|
366
374
|
initial_args = ["-p", prompt]
|
|
367
375
|
elif plan_mode:
|
|
368
376
|
mode_flags = ["--permission-mode", "plan"]
|
|
369
|
-
initial_args = [prompt] if prompt else ["/
|
|
377
|
+
initial_args = [prompt] if prompt else [f"/color {pick_color()}"]
|
|
370
378
|
else:
|
|
371
379
|
mode_flags = ["--permission-mode", "bypassPermissions"]
|
|
372
|
-
initial_args = [prompt] if prompt else ["/
|
|
380
|
+
initial_args = [prompt] if prompt else [f"/color {pick_color()}"]
|
|
373
381
|
|
|
374
382
|
if compose_file:
|
|
375
383
|
project = docker_project_name(clone_dir)
|
|
@@ -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.22"
|
|
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
|