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(build): use dynamic versioning from git tags

cyhhao37ef07f28c19
diff --git a/.gitignore b/.gitignore
index 8457d91a1..3de8984d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -151,9 +151,11 @@ logs/
.vibe_remote/
ui/node_modules/
ui/dist/
+ui/.vite/
tmp/
.bot.pid
user_settings.json
+vibe/_version.py
# Config files with secrets
config/secrets.py
diff --git a/pyproject.toml b/pyproject.toml
index 65979474d..1bfa9c3c1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,14 +1,14 @@
[build-system]
-requires = ["hatchling"]
+requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "vibe-remote"
-version = "2.0.0"
+dynamic = ["version"]
description = "Local-first agent runtime for Slack - run AI coding agents from your chat"
readme = "README.md"
license = "MIT"
-requires-python = ">=3.9"
+requires-python = ">=3.10"
authors = [
{ name = "cyhhao", email = "[email protected]" }
]
@@ -20,7 +20,6 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
@@ -46,6 +45,12 @@ Issues = "https://github.com/cyhhao/vibe-remote/issues"
[project.scripts]
vibe = "vibe.cli:main"
+[tool.hatch.version]
+source = "vcs"
+
+[tool.hatch.build.hooks.vcs]
+version-file = "vibe/_version.py"
+
[tool.hatch.build]
# Include ui/dist even though it's in .gitignore (build artifacts)
artifacts = ["ui/dist/**"]
diff --git a/vibe/__init__.py b/vibe/__init__.py
index ca3d9c0c2..718ec64fa 100644
--- a/vibe/__init__.py
+++ b/vibe/__init__.py
@@ -1,3 +1,6 @@
"""Vibe Remote - Local-first agent runtime for Slack"""
-__version__ = "2.0.0"
+try:
+ from vibe._version import __version__
+except ImportError:
+ __version__ = "0.0.0.dev0" # Fallback for editable installs without build