Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

feat(rebrand): add legacy pypi shim

cyha0db00653f95
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 0d63598a5..d3008a9b4 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -188,15 +188,24 @@ jobs:
- name: Build package
run: python -m build
+ - name: Build one-time legacy PyPI shim
+ if: ${{ steps.tag.outputs.tag == 'v3.0.0' }}
+ working-directory: packaging/vibe-remote-shim
+ run: python -m build --outdir ../../dist
+
- name: Verify package Show Runtime manifest
run: |
python - <<'PY'
import zipfile
from pathlib import Path
- wheels = sorted(Path("dist").glob("*.whl"))
+ wheels = [
+ wheel
+ for wheel in sorted(Path("dist").glob("*.whl"))
+ if wheel.name.startswith("avibe_os-")
+ ]
if len(wheels) != 1:
- raise SystemExit(f"Expected exactly one wheel, found {len(wheels)}")
+ raise SystemExit(f"Expected exactly one avibe-os wheel, found {len(wheels)}")
with zipfile.ZipFile(wheels[0]) as wheel:
names = set(wheel.namelist())
@@ -214,7 +223,7 @@ jobs:
- name: Run release install and upgrade regressions
run: |
docker info
- export VIBE_INSTALL_TEST_WHEEL="$(ls dist/*.whl)"
+ export VIBE_INSTALL_TEST_WHEEL="$(ls dist/avibe_os-*.whl)"
pytest \
tests/test_upgrade_flow.py \
tests/test_install_script.py \
diff --git a/docs/plans/rebrand-avibe.md b/docs/plans/rebrand-avibe.md
index 6a9d175be..a303e2bf2 100644
--- a/docs/plans/rebrand-avibe.md
+++ b/docs/plans/rebrand-avibe.md
@@ -491,3 +491,20 @@ Verification:
- `npm test` in `npm/avibe` passed: 8 pass, 3 skipped Windows cases.
- `npm run build` in `ui/` passed with the existing large-chunk Vite warning.
- `git diff --check` passed.
+
+## 15. Execution checkpoint: one-time PyPI shim material
+
+2026-06-07: added the build material for the one-time `vibe-remote==3.0.0`
+migration shim.
+
+Behavior:
+- The real project remains `avibe-os`.
+- `packaging/vibe-remote-shim` builds a minimal `vibe-remote==3.0.0` package
+ with dependency `avibe-os>=3.0.0` and the existing `vibe` console script.
+- The publish workflow builds that shim only for the `v3.0.0` tag and uploads
+ it alongside the real `avibe-os` artifacts. Later releases should publish only
+ `avibe-os`.
+
+Verification:
+- Shim metadata is covered by `tests/test_pypi_shim.py`.
+- The shim wheel build was verified locally with `python3 -m build --wheel`.
diff --git a/packaging/vibe-remote-shim/README.md b/packaging/vibe-remote-shim/README.md
new file mode 100644
index 000000000..7d7c5d28c
--- /dev/null
+++ b/packaging/vibe-remote-shim/README.md
@@ -0,0 +1,7 @@
+# vibe-remote migration shim
+
+`vibe-remote` is the legacy PyPI distribution name for avibe.
+
+This one-time shim release depends on `avibe-os>=3.0.0` and keeps the `vibe`
+console command available for existing users who upgrade from the old package
+name. New releases should be published as `avibe-os`.
diff --git a/packaging/vibe-remote-shim/pyproject.toml b/packaging/vibe-remote-shim/pyproject.toml
new file mode 100644
index 000000000..0e0a51266
--- /dev/null
+++ b/packaging/vibe-remote-shim/pyproject.toml
@@ -0,0 +1,29 @@
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[project]
+name = "vibe-remote"
+version = "3.0.0"
+description = "Legacy PyPI shim for avibe-os"
+readme = "README.md"
+license = "MIT"
+requires-python = ">=3.10"
+authors = [
+ { name = "cyhhao", email = "[email protected]" }
+]
+dependencies = [
+ "avibe-os>=3.0.0",
+]
+
+[project.urls]
+Homepage = "https://github.com/avibe-bot/avibe"
+Repository = "https://github.com/avibe-bot/avibe"
+Documentation = "https://github.com/avibe-bot/avibe#readme"
+Issues = "https://github.com/avibe-bot/avibe/issues"
+
+[project.scripts]
+vibe = "vibe.cli:main"
+
+[tool.hatch.build.targets.wheel]
+packages = ["vibe_remote_shim"]
diff --git a/packaging/vibe-remote-shim/vibe_remote_shim/__init__.py b/packaging/vibe-remote-shim/vibe_remote_shim/__init__.py
new file mode 100644
index 000000000..b357fabaf
--- /dev/null
+++ b/packaging/vibe-remote-shim/vibe_remote_shim/__init__.py
@@ -0,0 +1,3 @@
+"""Legacy PyPI shim for avibe-os."""
+
+__all__: list[str] = []
diff --git a/tests/test_pypi_shim.py b/tests/test_pypi_shim.py
new file mode 100644
index 000000000..0333a10ae
--- /dev/null
+++ b/tests/test_pypi_shim.py
@@ -0,0 +1,26 @@
+from __future__ import annotations
+
+import tomllib
+from pathlib import Path
+
+
+ROOT = Path(__file__).resolve().parents[1]
+SHIM_PROJECT = ROOT / "packaging" / "vibe-remote-shim"
+
+
+def test_legacy_pypi_shim_metadata_points_to_avibe_os() -> None:
+ metadata = tomllib.loads((SHIM_PROJECT / "pyproject.toml").read_text(encoding="utf-8"))
+ project = metadata["project"]
+
+ assert project["name"] == "vibe-remote"
+ assert project["version"] == "3.0.0"
+ assert project["dependencies"] == ["avibe-os>=3.0.0"]
+ assert project["scripts"] == {"vibe": "vibe.cli:main"}
+
+
+def test_legacy_pypi_shim_contains_no_runtime_packages() -> None:
+ metadata = tomllib.loads((SHIM_PROJECT / "pyproject.toml").read_text(encoding="utf-8"))
+ wheel = metadata["tool"]["hatch"]["build"]["targets"]["wheel"]
+
+ assert wheel["packages"] == ["vibe_remote_shim"]
+ assert not any((SHIM_PROJECT / package).exists() for package in ("vibe", "config", "core", "modules", "storage"))