luv-cli 0.0.11__tar.gz → 0.0.13__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.11 → luv_cli-0.0.13}/PKG-INFO +1 -1
- {luv_cli-0.0.11 → luv_cli-0.0.13}/luv/__init__.py +12 -7
- {luv_cli-0.0.11 → luv_cli-0.0.13}/pyproject.toml +1 -1
- {luv_cli-0.0.11 → luv_cli-0.0.13}/.claude/settings.json +0 -0
- {luv_cli-0.0.11 → luv_cli-0.0.13}/.failproofai/policies-config.json +0 -0
- {luv_cli-0.0.11 → luv_cli-0.0.13}/.github/workflows/publish.yml +0 -0
- {luv_cli-0.0.11 → luv_cli-0.0.13}/.gitignore +0 -0
- {luv_cli-0.0.11 → luv_cli-0.0.13}/LICENSE +0 -0
- {luv_cli-0.0.11 → luv_cli-0.0.13}/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.13
|
|
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
|
|
@@ -682,13 +682,18 @@ Docker:
|
|
|
682
682
|
if r.returncode != 0:
|
|
683
683
|
die(f"repo '{org}/{repo}' not found or gh auth failed.\n{r.stderr.strip()}")
|
|
684
684
|
|
|
685
|
-
# 2. Get latest issue/PR number (shared counter on GitHub)
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
685
|
+
# 2. Get latest issue/PR number (shared counter on GitHub).
|
|
686
|
+
# /issues is documented to include PRs but in practice returns [] for repos
|
|
687
|
+
# with no plain issues, so query both endpoints and take the max.
|
|
688
|
+
def _latest(endpoint: str) -> int:
|
|
689
|
+
r = run(["gh", "api",
|
|
690
|
+
f"repos/{org}/{repo}/{endpoint}?state=all&per_page=1&sort=created&direction=desc"])
|
|
691
|
+
if r.returncode != 0:
|
|
692
|
+
die(f"failed to fetch {endpoint}.\n{r.stderr.strip()}")
|
|
693
|
+
items = json.loads(r.stdout)
|
|
694
|
+
return items[0]["number"] if items else 0
|
|
695
|
+
|
|
696
|
+
latest = max(_latest("issues"), _latest("pulls"))
|
|
692
697
|
candidate = latest + 1
|
|
693
698
|
|
|
694
699
|
# 3. Find free local folder
|
|
@@ -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.13"
|
|
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
|