mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-30 10:52:15 +00:00
- openjarvis.__version__ now comes from importlib.metadata.version("openjarvis")
instead of a hardcoded string, so it stays in sync with pyproject.toml on every
release. Tests assert against openjarvis.__version__ rather than a literal.
- Bump actions/checkout@v4 → @v6 and astral-sh/setup-uv@v4 → @v8 across every
workflow ahead of the 2026-06-02 Node.js 20 deprecation on GitHub Actions runners.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
561 B
Python
16 lines
561 B
Python
"""OpenJarvis — modular AI assistant backend with composable intelligence primitives."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from importlib.metadata import PackageNotFoundError
|
|
from importlib.metadata import version as _pkg_version
|
|
|
|
from openjarvis.sdk import Jarvis, JarvisSystem, MemoryHandle, SystemBuilder
|
|
|
|
try:
|
|
__version__ = _pkg_version("openjarvis")
|
|
except PackageNotFoundError: # pragma: no cover — uninstalled source tree
|
|
__version__ = "0.0.0+unknown"
|
|
|
|
__all__ = ["Jarvis", "JarvisSystem", "MemoryHandle", "SystemBuilder", "__version__"]
|