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
feat(packaging): publish personal-jarvis to PyPI from every v* tag
Ruben Lütke0c19a181f61a
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlnew file mode 100644index 0000000000..9ee4cb0e3d--- /dev/null+++ b/.github/workflows/release.yml@@ -0,0 +1,98 @@+# Publish Personal Jarvis to PyPI on every `v*` tag.+#+# No API token and no repository secret is involved: PyPI's Trusted Publishing+# mints a short-lived, single-use credential from this workflow's OIDC identity.+# That identity is (owner, repository, workflow FILE NAME, environment), so the+# five values below must match the publisher registered on PyPI exactly —+# renaming this file or the environment silently breaks every future release:+#+# PyPI project personal-jarvis+# Owner PersonalJarvis+# Repository PersonalJarvis+# Workflow release.yml+# Environment pypi+#+# The build and the publish are two jobs on purpose. Only the tiny publish job+# holds `id-token: write` and enters the `pypi` environment, so the OIDC token+# is never reachable from the step that executes project code.+#+# Action SHAs are pinned to 40-char commits (CVE-2025-30066 hardening), matching+# the rest of this repo's workflows.++name: Release to PyPI++on:+ push:+ tags:+ - "v*"+ # A published version can never be replaced, so a re-run is for the case where+ # the upload itself failed (network, a mis-registered publisher) while the tag+ # is already correct.+ workflow_dispatch: {}++permissions:+ contents: read++jobs:+ build:+ name: Build sdist + wheel+ runs-on: ubuntu-latest+ steps:+ - name: Check out the tagged tree+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2++ - name: Set up Python+ uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0+ with:+ python-version: "3.12"++ - name: Install build tooling+ run: python -m pip install --upgrade build twine++ # A tag that disagrees with the shipped version would publish something+ # nobody can trace back to a commit. Fail before the artifacts exist.+ - name: Verify the tag matches the packaged version+ if: github.ref_type == 'tag'+ run: |+ tag_version="${GITHUB_REF_NAME#v}"+ project_version="$(python -c 'import tomllib,pathlib; print(tomllib.loads(pathlib.Path("pyproject.toml").read_text())["project"]["version"])')"+ package_version="$(python -c 'import re,pathlib; print(re.search(r"__version__ = \"([^\"]+)\"", pathlib.Path("jarvis/__init__.py").read_text()).group(1))')"+ echo "tag=${tag_version} pyproject=${project_version} package=${package_version}"+ if [ "${tag_version}" != "${project_version}" ] || [ "${project_version}" != "${package_version}" ]; then+ echo "::error::Tag ${GITHUB_REF_NAME} does not match pyproject (${project_version}) / jarvis.__version__ (${package_version})."+ exit 1+ fi++ - name: Build+ run: python -m build++ # --strict turns a README that PyPI would refuse to render into a build+ # failure here, rather than a published release with a blank project page.+ - name: Check the metadata and the rendered README+ run: python -m twine check --strict dist/*++ - name: Upload the artifacts+ uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3+ with:+ name: dist+ path: dist/+ if-no-files-found: error++ publish:+ name: Publish to PyPI+ needs: build+ runs-on: ubuntu-latest+ environment: pypi+ permissions:+ # The ONLY thing this job is trusted with: minting the OIDC token that+ # PyPI exchanges for a short-lived upload credential.+ id-token: write+ steps:+ - name: Download the artifacts+ uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8+ with:+ name: dist+ path: dist/++ - name: Publish+ uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1diff --git a/README.md b/README.mdindex 4f87672c9d..56f09d7441 100644--- a/README.md+++ b/README.md@@ -1,11 +1,12 @@<p align="center"><a href="https://github.com/PersonalJarvis/PersonalJarvis">- <img src="assets/brand/banner.png" alt="Personal Jarvis — voice-driven meta-orchestrator" width="860" />+ <img src="https://github.com/PersonalJarvis/PersonalJarvis/raw/main/assets/brand/banner.png" alt="Personal Jarvis — voice-driven meta-orchestrator" width="860" /></a></p><p align="center">- <a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-e7c46e?style=for-the-badge&labelColor=242424" /></a>+ <a href="https://pypi.org/project/personal-jarvis/"><img alt="PyPI: personal-jarvis" src="https://img.shields.io/pypi/v/personal-jarvis?style=for-the-badge&labelColor=242424&color=e7c46e" /></a>+ <a href="https://github.com/PersonalJarvis/PersonalJarvis/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-e7c46e?style=for-the-badge&labelColor=242424" /></a><a href="https://discord.gg/x7USduHxbc"><img alt="Discord" src="https://img.shields.io/badge/Discord-Join-5865F2?style=for-the-badge&logo=discord&logoColor=white&labelColor=242424" /></a><a href="https://x.com/Ruben_Luetke"><img alt="Follow @Ruben_Luetke on X" src="https://img.shields.io/badge/Follow-%40Ruben__Luetke-e7c46e?style=for-the-badge&logo=x&logoColor=white&labelColor=242424" /></a><a href="https://personaljarvis.ai/"><img alt="Personal Jarvis website" src="https://img.shields.io/badge/Website-personaljarvis.ai-e7c46e?style=for-the-badge&labelColor=242424" /></a>@@ -65,7 +66,7 @@ Every one of these works today, out of the box.## How it works<img- src="assets/brand/how-personal-jarvis-works.png"+ src="https://github.com/PersonalJarvis/PersonalJarvis/raw/main/assets/brand/how-personal-jarvis-works.png"width="1064"height="568"alt="How Personal Jarvis works: routing voice and chat through safe actions or reviewed missions"@@ -90,7 +91,7 @@ L0 OS / Hardware Mic, speakers, global hotkeys, optional GPU```A deeper engineering map — anti-patterns, bug classes, phase status with `file:line`-references — lives in [`docs/LLM-CONTEXT.md`](docs/LLM-CONTEXT.md).+references — lives in [`docs/LLM-CONTEXT.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/docs/LLM-CONTEXT.md).</details>@@ -164,10 +165,17 @@ Everything below is optional — each item only unlocks a specific feature:| `--headless` | Minimal server install: API + WebSocket only, torch-free base, no Node.js — the tiny-VPS path || `--no-launch` | Install only; don't start the app |-**pipx** — isolated, no clone, any OS:+**pipx** — isolated, no clone, any OS, straight from PyPI:```bash-pipx install "git+https://github.com/PersonalJarvis/PersonalJarvis" && jarvis serve+pipx install personal-jarvis && jarvis serve+```++**pip** — into an environment you already have:++```bash+pip install personal-jarvis # cloud-first base: API + WebSocket + browser UI+pip install "personal-jarvis[full]" # everything: desktop app, telephony, channels, local voice```**Manual** — clone it, read every line, then run:@@ -190,7 +198,7 @@ jarvis serve # headless server: API + WebSocket + browser UI, no local audio```<p align="center">- <img src="assets/screenshots/app-desktop.png" alt="The Personal Jarvis desktop app" width="860" />+ <img src="https://github.com/PersonalJarvis/PersonalJarvis/raw/main/assets/screenshots/app-desktop.png" alt="The Personal Jarvis desktop app" width="860" /></p><details>@@ -255,13 +263,13 @@ jarvis api <tag> <op> # EVERY REST endpoint, auto-generated from OpenAPIIt's a thin client over the local REST API (`127.0.0.1:47821`), so it inheritsevery guardrail — risk tiers, atomic config writes, the audit log — rather than-bypassing them. Full guide: [`docs/jarvis-cli.md`](docs/jarvis-cli.md).+bypassing them. Full guide: [`docs/jarvis-cli.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/docs/jarvis-cli.md).## ConfigurationZero config files needed — every setting has a built-in default and the one-timein-app setup covers the rest. For fine control there's one optional, documented-file ([`jarvis.toml.example`](jarvis.toml.example)):+file ([`jarvis.toml.example`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/jarvis.toml.example)):```toml[profile]@@ -293,7 +301,7 @@ never go in this file** — API keys live in your OS credential manager (or## Extend itEvery pluggable part is a Python **entry point**: write a class against the-protocols in [`jarvis/core/protocols.py`](jarvis/core/protocols.py), register+protocols in [`jarvis/core/protocols.py`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/jarvis/core/protocols.py), registerone line in `pyproject.toml`, reinstall — no fork, no core edits.| Plugin group | What you can add |@@ -310,7 +318,7 @@ Three rules keep it stable: implement the protocol, stream everything(`AsyncIterator` — non-streaming yields one element), and pass the contractsuite (`pytest tests/contract/`). The deep engineering map — anti-patterns,recurring bug classes, phase status — lives in-[`docs/LLM-CONTEXT.md`](docs/LLM-CONTEXT.md), built to be pasted into an LLM+[`docs/LLM-CONTEXT.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/docs/LLM-CONTEXT.md), built to be pasted into an LLMchat whole.<details>@@ -344,13 +352,13 @@ Worker-Critic), `jarvis/memory/wiki/` (long-term memory), `jarvis/ui/web/` (the| Document | What's in it ||---|---|-| [`docs/architecture-overview.md`](docs/architecture-overview.md) | The full architecture — layers, module catalog, data flow |-| [`docs/LLM-CONTEXT.md`](docs/LLM-CONTEXT.md) | Dense project snapshot, built to paste into an LLM chat whole |-| [`CLAUDE.md`](CLAUDE.md) | Binding contributor guide — conventions, doctrine, anti-patterns |-| [`docs/PHILOSOPHY.md`](docs/PHILOSOPHY.md) | Cross-platform, provider-agnostic design doctrine |-| [`docs/adr/`](docs/adr/) | Architecture Decision Records |-| [`docs/BUGS.md`](docs/BUGS.md) | The recurring-bug register |-| [`docs/BRAND.md`](docs/BRAND.md) | Brand guidelines — colors, typography, the wordmark |+| [`docs/architecture-overview.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/docs/architecture-overview.md) | The full architecture — layers, module catalog, data flow |+| [`docs/LLM-CONTEXT.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/docs/LLM-CONTEXT.md) | Dense project snapshot, built to paste into an LLM chat whole |+| [`CLAUDE.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/CLAUDE.md) | Binding contributor guide — conventions, doctrine, anti-patterns |+| [`docs/PHILOSOPHY.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/docs/PHILOSOPHY.md) | Cross-platform, provider-agnostic design doctrine |+| [`docs/adr/`](https://github.com/PersonalJarvis/PersonalJarvis/tree/main/docs/adr/) | Architecture Decision Records |+| [`docs/BUGS.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/docs/BUGS.md) | The recurring-bug register |+| [`docs/BRAND.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/docs/BRAND.md) | Brand guidelines — colors, typography, the wordmark |## Community@@ -371,16 +379,16 @@ on Discord first. Come say hi and help shape where it goes.## Contributing-Pull requests are welcome — **[`CONTRIBUTING.md`](CONTRIBUTING.md)** has the full guide.-The short version: artifacts are English, read [`CLAUDE.md`](CLAUDE.md) before larger+Pull requests are welcome — **[`CONTRIBUTING.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/CONTRIBUTING.md)** has the full guide.+The short version: artifacts are English, read [`CLAUDE.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/CLAUDE.md) before largerchanges, new providers must pass `pytest tests/contract/`, and security issues go to-[`SECURITY.md`](SECURITY.md) privately.+[`SECURITY.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/SECURITY.md) privately.## License**MIT** — free to use, modify, and distribute, including commercially; see-[`LICENSE`](LICENSE). Third-party names and logos belong to their owners —-see [`TRADEMARK.md`](TRADEMARK.md).+[`LICENSE`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/LICENSE). Third-party names and logos belong to their owners —+see [`TRADEMARK.md`](https://github.com/PersonalJarvis/PersonalJarvis/blob/main/TRADEMARK.md).<br/>diff --git a/pyproject.toml b/pyproject.tomlindex 8300715ef9..6affd5a39f 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,5 +1,7 @@[build-system]-requires = ["setuptools>=68", "wheel"]+# setuptools>=77 is the floor for the PEP 639 license expression below; the+# TOML-table form it replaces is deprecated and scheduled for removal.+requires = ["setuptools>=77", "wheel"]build-backend = "setuptools.build_meta"[project]@@ -8,8 +10,44 @@ version = "1.1.4"description = "Voice-driven meta-orchestrator that turns one spoken request into a fleet of self-checking AI agents"requires-python = ">=3.11,<3.15"readme = "README.md"-license = { text = "MIT" }+license = "MIT"+license-files = ["LICENSE"]authors = [{ name = "Ruben Lütke" }] # i18n-allow: maintainer proper name (umlaut)+keywords = [+ "voice-assistant",+ "ai-agent",+ "agents",+ "llm",+ "orchestrator",+ "speech-to-text",+ "text-to-speech",+ "wake-word",+ "computer-use",+ "automation",+]+# No "License :: OSI Approved ::" classifier: PEP 639 forbids pairing one with+# the SPDX `license` expression above, and setuptools rejects the combination.+# The OS list is exhaustive on purpose — every feature ships on all three+# (CLAUDE.md §3), including a headless Linux server with no screen or audio.+classifiers = [+ "Development Status :: 4 - Beta",+ "Environment :: Console",+ "Environment :: Web Environment",+ "Intended Audience :: Developers",+ "Intended Audience :: End Users/Desktop",+ "Operating System :: MacOS :: MacOS X",+ "Operating System :: Microsoft :: Windows",+ "Operating System :: POSIX :: Linux",+ "Programming Language :: Python :: 3",+ "Programming Language :: Python :: 3.11",+ "Programming Language :: Python :: 3.12",+ "Programming Language :: Python :: 3.13",+ "Programming Language :: Python :: 3.14",+ "Topic :: Multimedia :: Sound/Audio :: Speech",+ "Topic :: Scientific/Engineering :: Artificial Intelligence",+ "Topic :: Software Development :: Libraries :: Application Frameworks",+ "Topic :: Utilities",+]dependencies = ["anthropic>=0.96",@@ -168,11 +206,15 @@ dependencies = ["python-telegram-bot>=22,<23",]+# These are the sidebar of the PyPI project page — for many visitors the first+# and only place they meet the project, so every route out of it is listed.[project.urls]-Homepage = "https://github.com/PersonalJarvis/PersonalJarvis"+Homepage = "https://personaljarvis.ai/"Repository = "https://github.com/PersonalJarvis/PersonalJarvis"Issues = "https://github.com/PersonalJarvis/PersonalJarvis/issues"Documentation = "https://github.com/PersonalJarvis/PersonalJarvis/blob/main/README.md"+Changelog = "https://github.com/PersonalJarvis/PersonalJarvis/blob/main/CHANGELOG.md"+Discord = "https://discord.gg/x7USduHxbc"[project.optional-dependencies]dev = [