Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(release): synchronize the workspace lock on version bumps
rubenluetke10-beepc013fe5c7d4d
diff --git a/.github/workflows/release-cut.yml b/.github/workflows/release-cut.ymlindex 64307ba454..53145589c4 100644--- a/.github/workflows/release-cut.yml+++ b/.github/workflows/release-cut.yml@@ -82,7 +82,7 @@ jobs:run: |git config user.name "jarvis-release[bot]"git config user.email "41898282+github-actions[bot]@users.noreply.github.com"- git add pyproject.toml jarvis/__init__.py CHANGELOG.md+ git add pyproject.toml jarvis/__init__.py uv.lock CHANGELOG.mdgit commit -m "chore(release): publish v$V"git push origin HEAD:maingh workflow run ci.yml --ref main -f full=true -f include_macos=falsediff --git a/scripts/ci/cut_release.py b/scripts/ci/cut_release.pyindex d029a22331..a0d187059b 100644--- a/scripts/ci/cut_release.py+++ b/scripts/ci/cut_release.py@@ -7,8 +7,8 @@ dispatch — a release never happens by itself) and runnable locally::python scripts/ci/cut_release.py --bump patch # 2.3.2 -> 2.3.3python scripts/ci/cut_release.py --version 2.4.0-The version lives in exactly two places, ``pyproject.toml`` and-``jarvis/__init__.py``. The CHANGELOG section takes the ``[Unreleased]``+The package version in ``pyproject.toml`` and ``jarvis/__init__.py`` stays+synchronized with the workspace entry in ``uv.lock``. The CHANGELOG takes the ``[Unreleased]``notes when there are any; otherwise it is built from the Conventional Commitsubjects since the previous tag (feat -> Added, fix -> Fixed, perf/refactor ->Changed). The notes are also written to ``--notes-out`` for the GitHub@@ -95,6 +95,17 @@ def apply(version: str, notes: str, today: str, root: Path = REPO_ROOT) -> None:text = init.read_text(encoding="utf-8")text = re.sub(r'__version__ = "[^"]+"', f'__version__ = "{version}"', text, count=1)init.write_bytes(text.encode("utf-8"))+ lockfile = root / "uv.lock"+ if lockfile.exists():+ text = lockfile.read_text(encoding="utf-8")+ text, count = re.subn(+ r'(?m)(^\[\[package\]\]\nname = "personal-jarvis"\nversion = ")[^"]+',+ lambda match: match.group(1) + version,+ text,+ )+ if count != 1:+ raise SystemExit("uv.lock must contain one personal-jarvis workspace package")+ lockfile.write_bytes(text.encode("utf-8"))changelog = root / "CHANGELOG.md"head, _body, rest = split_unreleased(changelog.read_text(encoding="utf-8"))section = f"## [{version}] — {today}\n\n{notes.strip()}\n\n---\n\n"diff --git a/tests/unit/ci/test_pipeline_scripts.py b/tests/unit/ci/test_pipeline_scripts.pyindex 96e2e2c243..a9359efe1c 100644--- a/tests/unit/ci/test_pipeline_scripts.py+++ b/tests/unit/ci/test_pipeline_scripts.py@@ -389,6 +389,12 @@ def test_apply_moves_notes_under_a_dated_section(tmp_path):(tmp_path / "jarvis").mkdir()(tmp_path / "pyproject.toml").write_text('[project]\nversion = "1.0.0"\n', encoding="utf-8")(tmp_path / "jarvis" / "__init__.py").write_text('__version__ = "1.0.0"\n', encoding="utf-8")+ (tmp_path / "uv.lock").write_text(+ '[[package]]\nname = "dependency"\nversion = "1.0.0"\n\n'+ '[[package]]\nname = "personal-jarvis"\nversion = "1.0.0"\n'+ 'source = { editable = "." }\n',+ encoding="utf-8",+ )(tmp_path / "CHANGELOG.md").write_text("# Changelog\n\n## [Unreleased]\n\n---\n\n## [1.0.0] — 2026-01-01\n\n- old\n",encoding="utf-8",@@ -398,6 +404,9 @@ def test_apply_moves_notes_under_a_dated_section(tmp_path):assert text.index("## [Unreleased]") < text.index("## [1.1.0] — 2026-09-28")assert text.index("## [1.1.0]") < text.index("## [1.0.0]")assert cut_release.section_notes(text, "1.1.0") == "### Added\n\n- thing"+ lock = (tmp_path / "uv.lock").read_text(encoding="utf-8")+ assert 'name = "personal-jarvis"\nversion = "1.1.0"' in lock+ assert 'name = "dependency"\nversion = "1.0.0"' in lockfrom scripts.ci import release_admitassert release_admit.versions(tmp_path) == ("1.1.0", "1.1.0")diff --git a/uv.lock b/uv.lockindex 1b09fa9f46..16888507a4 100644--- a/uv.lock+++ b/uv.lock@@ -2873,7 +2873,7 @@ wheels = [[[package]]name = "personal-jarvis"-version = "2.4.4"+version = "2.5.0"source = { editable = "." }dependencies = [{ name = "aiofiles" },