Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ Option 2: Run without installing
uvx --from 'dimos[base,unitree]' dimos --replay run unitree-go2
```

<!-- command for testing pre launch: `GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" uv pip install 'dimos[unitree] @ git+ssh://git@github.com/dimensionalOS/dimos.git@dev'` -->

### Test Installation

#### Control a robot in a simulation (no robot required)
Expand Down
2 changes: 1 addition & 1 deletion README_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
15 changes: 11 additions & 4 deletions dimos/utils/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from pathlib import Path
import platform
import subprocess
import sys
import tarfile
import tempfile

Expand All @@ -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
Comment on lines +35 to +39
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoded path structure assumes Linux/Unix layout. Consider using site.getsitepackages() or sysconfig.get_path('purelib') for more reliable cross-platform venv detection.


if system == "Linux":
# Use XDG_DATA_HOME if set, otherwise default to ~/.local/share
Expand Down Expand Up @@ -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,
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/development/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading