diff --git a/README.md b/README.md index 9ccc7de197..5c8ab2128a 100644 --- a/README.md +++ b/README.md @@ -99,8 +99,6 @@ Option 2: Run without installing uvx --from 'dimos[base,unitree]' dimos --replay run unitree-go2 ``` - - ### Test Installation #### Control a robot in a simulation (no robot required) diff --git a/README_installation.md b/README_installation.md index ccdcb1a550..dc9117798f 100644 --- a/README_installation.md +++ b/README_installation.md @@ -5,7 +5,7 @@ Clone the repo: ```bash -git clone -b main --single-branch git@github.com:dimensionalOS/dimos.git +git clone -b main --single-branch https://github.com/dimensionalOS/dimos.git cd dimos ``` diff --git a/dimos/utils/data.py b/dimos/utils/data.py index 4ba9c73b0c..7666343dbb 100644 --- a/dimos/utils/data.py +++ b/dimos/utils/data.py @@ -17,6 +17,7 @@ from pathlib import Path import platform import subprocess +import sys import tarfile import tempfile @@ -29,6 +30,13 @@ def _get_user_data_dir() -> Path: """Get platform-specific user data directory.""" system = platform.system() + # if virtual env is available, use it to keep venv's from fighting over data + # a better fix for large files will be added later to minimize storage duplication + if os.environ.get("VIRTUAL_ENV"): + venv_data_dir = Path( + f"{os.environ.get('VIRTUAL_ENV')}/lib/python{sys.version_info.major}.{sys.version_info.minor}/site-packages/dimos/data" + ) + return venv_data_dir if system == "Linux": # Use XDG_DATA_HOME if set, otherwise default to ~/.local/share @@ -78,9 +86,8 @@ def _get_repo_root() -> Path: "--depth", "1", "--branch", - # TODO: Use "main", - "dev", - "git@github.com:dimensionalOS/dimos.git", + "main", + "https://github.com/dimensionalOS/dimos.git", str(repo_dir), ], check=True, @@ -91,7 +98,7 @@ def _get_repo_root() -> Path: except subprocess.CalledProcessError as e: raise RuntimeError( f"Failed to clone dimos repository: {e.stderr}\n" - f"Make sure you have access to git@github.com:dimensionalOS/dimos.git" + f"Make sure you can access https://github.com/dimensionalOS/dimos.git" ) return repo_dir diff --git a/docs/development/README.md b/docs/development/README.md index 2b20b4e047..9517fda6a1 100644 --- a/docs/development/README.md +++ b/docs/development/README.md @@ -43,7 +43,7 @@ curl -LsSf https://astral.sh/uv/install.sh | sh && export PATH="$HOME/.local/bin # this allows getting large files on-demand export GIT_LFS_SKIP_SMUDGE=1 -git clone -b dev git@github.com:dimensionalOS/dimos.git +git clone -b dev https://github.com/dimensionalOS/dimos.git cd dimos @@ -155,7 +155,7 @@ mkdir -p "$HOME/.config/nix"; echo "experimental-features = nix-command flakes" # this allows getting large files on-demand export GIT_LFS_SKIP_SMUDGE=1 -git clone -b dev git@github.com:dimensionalOS/dimos.git +git clone -b dev https://github.com/dimensionalOS/dimos.git cd dimos # activate the nix .envrc @@ -194,7 +194,7 @@ mkdir -p "$HOME/.config/nix"; echo "experimental-features = nix-command flakes" # this allows getting large files on-demand export GIT_LFS_SKIP_SMUDGE=1 -git clone -b dev git@github.com:dimensionalOS/dimos.git +git clone -b dev https://github.com/dimensionalOS/dimos.git cd dimos # activate the nix development shell diff --git a/pyproject.toml b/pyproject.toml index 5c824bdc16..2dcf5d548e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ name = "dimos" authors = [ {name = "Dimensional Team", email = "build@dimensionalOS.com"}, ] -version = "0.0.8" +version = "0.0.9" description = "Powering agentive generalist robotics" requires-python = ">=3.10" readme = "README.md" diff --git a/uv.lock b/uv.lock index 7ba440c66e..7380a40780 100644 --- a/uv.lock +++ b/uv.lock @@ -1381,7 +1381,7 @@ wheels = [ [[package]] name = "dimos" -version = "0.0.8" +version = "0.0.9" source = { editable = "." } dependencies = [ { name = "asyncio" },