Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
v0.1.2: fix web UI download (use httpx with redirects), bump version
RaghavChamadiyad590879752ad
diff --git a/packages/cli/src/repowise/cli/__init__.py b/packages/cli/src/repowise/cli/__init__.pyindex 5c94627a9..b2ea7a5e8 100644--- a/packages/cli/src/repowise/cli/__init__.py+++ b/packages/cli/src/repowise/cli/__init__.py@@ -6,4 +6,4 @@ git signals, dead code detection, architectural decisions, andAI-generated documentation."""-__version__ = "0.1.1"+__version__ = "0.1.2"diff --git a/packages/cli/src/repowise/cli/commands/serve_cmd.py b/packages/cli/src/repowise/cli/commands/serve_cmd.pyindex a6060e555..1ff415e98 100644--- a/packages/cli/src/repowise/cli/commands/serve_cmd.py+++ b/packages/cli/src/repowise/cli/commands/serve_cmd.py@@ -58,19 +58,24 @@ def _find_local_web() -> Path | None:def _download_web(version: str) -> bool:"""Download pre-built web frontend from GitHub releases."""- import urllib.request- import urllib.error+ import httpxtag = f"v{version}"url = f"https://github.com/{_GITHUB_REPO}/releases/download/{tag}/repowise-web.tar.gz"- console.print(f"[dim]Downloading web UI from {url}...[/dim]")+ console.print(f"[dim]Downloading web UI ({url})...[/dim]")try:+ tmp_path = Nonewith tempfile.NamedTemporaryFile(suffix=".tar.gz", delete=False) as tmp:- urllib.request.urlretrieve(url, tmp.name)tmp_path = tmp.name- except (urllib.error.URLError, urllib.error.HTTPError) as exc:+ with httpx.stream("GET", url, follow_redirects=True, timeout=120) as resp:+ resp.raise_for_status()+ for chunk in resp.iter_bytes(chunk_size=65536):+ tmp.write(chunk)+ except (httpx.HTTPStatusError, httpx.RequestError) as exc:console.print(f"[yellow]Could not download web UI: {exc}[/yellow]")+ if tmp_path:+ os.unlink(tmp_path)return Falsetry:diff --git a/packages/core/src/repowise/core/__init__.py b/packages/core/src/repowise/core/__init__.pyindex 192ade773..0a6b0b742 100644--- a/packages/core/src/repowise/core/__init__.py+++ b/packages/core/src/repowise/core/__init__.py@@ -6,4 +6,4 @@ generation engine. This is the heart of repowise — all other packages depend oNamespace package: repowise.core is part of the repowise namespace."""-__version__ = "0.1.1"+__version__ = "0.1.2"diff --git a/packages/server/src/repowise/server/__init__.py b/packages/server/src/repowise/server/__init__.pyindex ea40201b6..4375f6961 100644--- a/packages/server/src/repowise/server/__init__.py+++ b/packages/server/src/repowise/server/__init__.py@@ -7,4 +7,4 @@ Provides:- Background job scheduler (APScheduler)"""-__version__ = "0.1.1"+__version__ = "0.1.2"diff --git a/pyproject.toml b/pyproject.tomlindex 040243c3c..fbe1fd577 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"[project]name = "repowise"-version = "0.1.1"+version = "0.1.2"description = "Codebase intelligence for developers and AI — generates and maintains a structured wiki for any codebase"readme = "README.md"requires-python = ">=3.11"