File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,8 +99,6 @@ Option 2: Run without installing
9999uvx --from ' dimos[base,unitree]' dimos --replay run unitree-go2
100100```
101101
102- <!-- 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'` -->
103-
104102### Test Installation
105103
106104#### Control a robot in a simulation (no robot required)
Original file line number Diff line number Diff line change 55Clone the repo:
66
77``` bash
8- git clone -b main --single-branch git@ github.com: dimensionalOS/dimos.git
8+ git clone -b main --single-branch https:// github.com/ dimensionalOS/dimos.git
99cd dimos
1010```
1111
Original file line number Diff line number Diff line change 1717from pathlib import Path
1818import platform
1919import subprocess
20+ import sys
2021import tarfile
2122import tempfile
2223
2930def _get_user_data_dir () -> Path :
3031 """Get platform-specific user data directory."""
3132 system = platform .system ()
33+ # if virtual env is available, use it to keep venv's from fighting over data
34+ # a better fix for large files will be added later to minimize storage duplication
35+ if os .environ .get ("VIRTUAL_ENV" ):
36+ venv_data_dir = Path (
37+ f"{ os .environ .get ('VIRTUAL_ENV' )} /lib/python{ sys .version_info .major } .{ sys .version_info .minor } /site-packages/dimos/data"
38+ )
39+ return venv_data_dir
3240
3341 if system == "Linux" :
3442 # Use XDG_DATA_HOME if set, otherwise default to ~/.local/share
@@ -78,9 +86,8 @@ def _get_repo_root() -> Path:
7886 "--depth" ,
7987 "1" ,
8088 "--branch" ,
81- # TODO: Use "main",
82- "dev" ,
83- "git@github.com:dimensionalOS/dimos.git" ,
89+ "main" ,
90+ "https://github.com/dimensionalOS/dimos.git" ,
8491 str (repo_dir ),
8592 ],
8693 check = True ,
@@ -91,7 +98,7 @@ def _get_repo_root() -> Path:
9198 except subprocess .CalledProcessError as e :
9299 raise RuntimeError (
93100 f"Failed to clone dimos repository: { e .stderr } \n "
94- f"Make sure you have access to git@ github.com: dimensionalOS/dimos.git"
101+ f"Make sure you can access https:// github.com/ dimensionalOS/dimos.git"
95102 )
96103
97104 return repo_dir
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ curl -LsSf https://astral.sh/uv/install.sh | sh && export PATH="$HOME/.local/bin
4343
4444# this allows getting large files on-demand
4545export GIT_LFS_SKIP_SMUDGE=1
46- git clone -b dev git@ github.com: dimensionalOS/dimos.git
46+ git clone -b dev https:// github.com/ dimensionalOS/dimos.git
4747cd dimos
4848
4949
@@ -155,7 +155,7 @@ mkdir -p "$HOME/.config/nix"; echo "experimental-features = nix-command flakes"
155155
156156# this allows getting large files on-demand
157157export GIT_LFS_SKIP_SMUDGE=1
158- git clone -b dev git@ github.com: dimensionalOS/dimos.git
158+ git clone -b dev https:// github.com/ dimensionalOS/dimos.git
159159cd dimos
160160
161161# activate the nix .envrc
@@ -194,7 +194,7 @@ mkdir -p "$HOME/.config/nix"; echo "experimental-features = nix-command flakes"
194194
195195# this allows getting large files on-demand
196196export GIT_LFS_SKIP_SMUDGE=1
197- git clone -b dev git@ github.com: dimensionalOS/dimos.git
197+ git clone -b dev https:// github.com/ dimensionalOS/dimos.git
198198cd dimos
199199
200200# activate the nix development shell
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ name = "dimos"
2323authors = [
2424 {name = " Dimensional Team" , email = " build@dimensionalOS.com" },
2525]
26- version = " 0.0.8 "
26+ version = " 0.0.9 "
2727description = " Powering agentive generalist robotics"
2828requires-python = " >=3.10"
2929readme = " README.md"
You can’t perform that action at this time.
0 commit comments