Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2963 commits
Select commit Hold shift + click to select a range
335c38d
added all api calls as rpc calls
mustafab0 Dec 25, 2025
64702f4
udated readme
mustafab0 Dec 25, 2025
24a11b3
with error recovery
mustafab0 Dec 25, 2025
71fbb04
test files to test w/ hw and w/o hw
mustafab0 Dec 26, 2025
2dc2a1a
addressed PR comments
mustafab0 Dec 30, 2025
a940a3a
replaced num of joints to arm type
mustafab0 Dec 30, 2025
c965d6c
modified readme for adding multicast
mustafab0 Dec 30, 2025
16b4e72
CI code cleanup
mustafab0 Dec 30, 2025
2bdd423
Made the xArm SDK import lazy to fix CI test failures and Updated all…
mustafab0 Dec 30, 2025
d74b141
Use xarm_driver from aa108b14 with base from 11b7c9b0, reverted to 2 …
mustafab0 Dec 30, 2025
95f0ac9
removed subscription management as module already does it
mustafab0 Dec 30, 2025
2473243
removed running booolean onlu using thread safe threading event
mustafab0 Dec 30, 2025
54ab9a1
fix imports
paul-nechifor Dec 30, 2025
6ad0c43
ruff/mypy fixes
paul-nechifor Dec 30, 2025
874657a
fixed conflict markers after rebase
mustafab0 Jan 2, 2026
ee9eb3d
Fix typing.List derecation
mustafab0 Jan 2, 2026
a1a0a7c
added xarm sdk to pyproject.toml
mustafab0 Jan 2, 2026
d98d37c
restructured hardware folder
mustafab0 Dec 25, 2025
7980a33
added custom messages for robot state and joint commands
mustafab0 Dec 25, 2025
07428db
added all api calls as rpc calls
mustafab0 Dec 25, 2025
af4bdac
ruff/mypy fixes
paul-nechifor Dec 30, 2025
eccfca0
added cartesian motor controller
mustafab0 Dec 30, 2025
306308f
cartesian motion controller listens to LCM topic /target_pose
mustafab0 Dec 30, 2025
3111e76
removed deprecated test files from the arm driver
mustafab0 Dec 31, 2025
48158e4
added xarm driver blueprint
mustafab0 Dec 31, 2025
f197f8a
added blue print for running cartesian motion controller
mustafab0 Dec 31, 2025
cb0f07b
CI code cleanup
mustafab0 Dec 31, 2025
a1acfbe
restructured manipulation/control folder
mustafab0 Dec 31, 2025
339c35e
Important message types for trajectory controller
mustafab0 Dec 31, 2025
8969050
simple trajectory controller subscribes to LCM trajectory topic and e…
mustafab0 Dec 31, 2025
c896f7b
added a simple trajectory generator that creates a trapezoidal motion…
mustafab0 Dec 31, 2025
5ccc213
simple trajectory setter to add waypoints for trajectory generation
mustafab0 Dec 31, 2025
644f8b1
created a blueprint for the joint controller
mustafab0 Dec 31, 2025
e2fd009
replaced hardcoded arm DOF with calculating on receiving joint states
mustafab0 Jan 1, 2026
4db158b
CI code cleanup
mustafab0 Jan 1, 2026
fd5c26c
fixed deprecation and method mismatch
mustafab0 Jan 2, 2026
20ed285
Fix duplicate imports in gstreamer_camera_test_script
mustafab0 Jan 2, 2026
a5c73a6
updated driver to work with all xarm
mustafab0 Jan 2, 2026
de6a8de
basic realtime piper driver implemented
mustafab0 Jan 2, 2026
2a7ae82
deleted old piper_arm driver
mustafab0 Jan 2, 2026
c93701e
added rpc methods for the piper sdk api as mixins
mustafab0 Jan 2, 2026
b350dc8
piper blueprints added
mustafab0 Jan 2, 2026
33315d6
basic test files for checking driver performance
mustafab0 Jan 2, 2026
5e9a43a
genreawlized trajectory setter
mustafab0 Jan 2, 2026
7cf68a3
added piper readme
mustafab0 Jan 2, 2026
9b602a6
removed temp test files for the driver
mustafab0 Jan 2, 2026
9a87aa1
defined a component based architecture for general arm driver
mustafab0 Jan 2, 2026
ee6d60c
universal manipulator driver spec defined
mustafab0 Jan 2, 2026
7732df8
generic ManipulatorDriver which all manipulators inherit from
mustafab0 Jan 2, 2026
dc04795
utils setup for base driver
mustafab0 Jan 2, 2026
0eb6f6f
rpc components added to interface with arm specific SDK APIs
mustafab0 Jan 2, 2026
b553c03
renamed xarm specific driver to driver old
mustafab0 Jan 2, 2026
89efbf3
new xarm driver inherits from BasreManipulatorDriver class
mustafab0 Jan 2, 2026
e37fad2
xarm SDK wrapper that translates dimos commands to arm specific comma…
mustafab0 Jan 2, 2026
06fdd5e
xarm blueprints added
mustafab0 Jan 2, 2026
84ec314
renamed old priper driver
mustafab0 Jan 2, 2026
07bf7de
new piper driver inherits from base manipulator driver
mustafab0 Jan 2, 2026
bba4a67
added piper driver blueprints
mustafab0 Jan 2, 2026
cd85962
changed driver architecture to use 2 threads only instead of 3
mustafab0 Jan 3, 2026
77b0255
updated xarm and piper driver to use new 2 thread archirecture
mustafab0 Jan 3, 2026
ce93f4b
updated xarm_wrapper set_position method to use servo mode
mustafab0 Jan 3, 2026
6193346
removed fake rpc methods and added new component_api decorator for au…
mustafab0 Jan 4, 2026
a37d00d
updated component files to remove fake rpc names and added @component…
mustafab0 Jan 4, 2026
c83cd2b
updated piper driver to remove fake rpc name for enable servo
mustafab0 Jan 4, 2026
1f91041
updated compoment based architecture to match final 2 thread implemen…
mustafab0 Jan 4, 2026
e17fc68
Added How To readme to add new drivers to the system
mustafab0 Jan 4, 2026
375ede2
fixed bugs after rebasing with dev
mustafab0 Jan 4, 2026
5931373
optimized control loop
mustafab0 Jan 4, 2026
59ddb0d
fixed end effector pre-commit issue
mustafab0 Jan 4, 2026
18bc9f0
updaed camera module import path
mustafab0 Jan 4, 2026
5e8b7d9
fixed dictionary changed size during iteration for lcmspy crashes
mustafab0 Jan 4, 2026
a499e12
removed old architecture based drivers
mustafab0 Jan 4, 2026
3bda994
removed deprecated tests
mustafab0 Jan 4, 2026
14c7c6a
corrected sdk_wrapper for enabling servo
mustafab0 Jan 4, 2026
9451f97
added piper blueprints to the all blueprints
mustafab0 Jan 4, 2026
d38e42e
added mock sdk and driver unit test
mustafab0 Jan 4, 2026
7c0937e
added driver integration test
mustafab0 Jan 4, 2026
705c04e
renamed test_driver_integration to avoid my test naming conflict
mustafab0 Jan 4, 2026
6ab1f28
fix mypy type errors
mustafab0 Jan 4, 2026
383b541
Fix mypy type errors in manipulator base components
mustafab0 Jan 4, 2026
2fd2591
next_time tracking to maintain consistent frequency
mustafab0 Jan 6, 2026
2ecf89f
fixed mypy type issues with sdk_interface
mustafab0 Jan 6, 2026
6232ac7
fix rxpy backpressure
paul-nechifor Jan 6, 2026
2e10886
Cuda mapper (#862)
leshy Jan 6, 2026
4144e91
Merge branch 'dev' into generalized_manipulator_driver
mustafab0 Jan 6, 2026
2d01153
fixed trajectory and joint message for mypy type checker
mustafab0 Jan 6, 2026
53512e1
ignore rxpy_backpressure
paul-nechifor Jan 6, 2026
7ef053c
skip rxpy_backpressure errors
paul-nechifor Jan 6, 2026
805310c
Merge branch 'dev' into pip-install
paul-nechifor Jan 6, 2026
b049543
add new readme
paul-nechifor Jan 6, 2026
4300b6c
fix linting
paul-nechifor Jan 6, 2026
b525523
Merge branch 'dev' into module_init_and_agents
leshy Jan 6, 2026
cae7e8b
fixing mypy errors - manipulation folders
ruthwikdasyam Jan 6, 2026
61b3bc7
update readme
paul-nechifor Jan 6, 2026
b8edc8f
Fix: pre-commit errors
ruthwikdasyam Jan 6, 2026
53bb701
rename agents to agents_deprecated (#877)
paul-nechifor Jan 6, 2026
451f980
Merge branch 'dev' into generalized_manipulator_driver
mustafab0 Jan 6, 2026
603734b
new planner new mapper (#879)
paul-nechifor Jan 6, 2026
95d1b7d
Merge branch 'dev' into pip-install
paul-nechifor Jan 6, 2026
8572f47
sim fix
paul-nechifor Jan 6, 2026
b352102
odom ts parsing
leshy Jan 6, 2026
cfb488c
Merge pull request #882 from dimensionalOS/unitree_odom_fix
paul-nechifor Jan 6, 2026
b3ffedb
Sim fix (#881)
paul-nechifor Jan 6, 2026
cdcee4b
navigation tuning (#883)
leshy Jan 6, 2026
d51a4ed
add controllers
paul-nechifor Jan 6, 2026
00e0ef9
add langchain
paul-nechifor Jan 6, 2026
c6e6840
Merge branch 'dev' into add-controllers
paul-nechifor Jan 6, 2026
733a7fc
update uv.lock
paul-nechifor Jan 6, 2026
4d37cd2
linting
paul-nechifor Jan 6, 2026
231a845
debugging costmapper delays
leshy Jan 6, 2026
3f63a7d
unitree debug dash
leshy Jan 6, 2026
99eb59b
use p or pd
paul-nechifor Jan 6, 2026
0112555
linting
paul-nechifor Jan 6, 2026
5b159cb
go to unknown goal
paul-nechifor Jan 6, 2026
8e1a92f
replanning
paul-nechifor Jan 6, 2026
3bd04be
add large map
paul-nechifor Jan 6, 2026
dd863f9
work on costmap debugging
leshy Jan 6, 2026
9fc55aa
costmapper latency test
leshy Jan 6, 2026
6e333ce
issue identified
leshy Jan 6, 2026
f8b0489
remove slow part of simple occupancy
paul-nechifor Jan 6, 2026
ea2b2bc
new pointcloud2 backedn
leshy Jan 6, 2026
7e6278e
removed debug tests
leshy Jan 6, 2026
c9d8174
fix test
paul-nechifor Jan 6, 2026
1f610e4
mypy
leshy Jan 6, 2026
a74aac6
optimizations
paul-nechifor Jan 6, 2026
3190797
remove time
paul-nechifor Jan 6, 2026
3a11a6f
fix typing
paul-nechifor Jan 6, 2026
9d66a6d
Merge branch 'add-controllers' into e2e-tests
paul-nechifor Jan 6, 2026
3422652
fix test
paul-nechifor Jan 6, 2026
c46ebd5
fix linting
paul-nechifor Jan 6, 2026
28d5519
fix tests
paul-nechifor Jan 6, 2026
c5ae034
fixing tests
leshy Jan 6, 2026
70a3e64
mypy
leshy Jan 6, 2026
63b663e
comments cleanup
leshy Jan 6, 2026
e411987
go2 urdf box, and urdf box generator
leshy Jan 6, 2026
f489a0c
fixing occupancy test in CI
leshy Jan 6, 2026
c8220b5
updated pyproject to include our fixed unitree lib
leshy Jan 6, 2026
5e4afdd
Merge remote-tracking branch 'origin/add-controllers' into release_pl…
leshy Jan 6, 2026
3cb80fa
Merge branch 'unitree_box_urdf' into release_planner
leshy Jan 6, 2026
face25d
go2 dash update
leshy Jan 6, 2026
0cc607e
pyproject fix
leshy Jan 6, 2026
43be89a
fix numba issue
paul-nechifor Jan 6, 2026
3e65fff
removed unused
paul-nechifor Jan 6, 2026
25cdbbf
update coverage uv
paul-nechifor Jan 6, 2026
2ad64a7
Merge branch 'dev' into module_init_and_agents
paul-nechifor Jan 6, 2026
2d98aa1
fix mypy
paul-nechifor Jan 6, 2026
d11af1d
Merge pull request #876 from dimensionalOS/module_init_and_agents
paul-nechifor Jan 6, 2026
c177f74
try to fix open3d leak
paul-nechifor Jan 6, 2026
3402017
remove old setup.sh (#888)
paul-nechifor Jan 6, 2026
efb98ad
Revert "try to fix open3d leak"
paul-nechifor Jan 6, 2026
99a38b1
lcm stop
paul-nechifor Jan 6, 2026
a0ea3f2
go2 detections
leshy Jan 6, 2026
adbfcb2
Merge pull request #887 from dimensionalOS/release_planner
paul-nechifor Jan 6, 2026
73c161f
added ignore overrides for libraries and other dependencies for mypy …
mustafab0 Jan 6, 2026
1251160
Merge branch 'dev' into generalized_manipulator_driver
mustafab0 Jan 6, 2026
d5bdd6b
renamed integration_test to test_integration
mustafab0 Jan 6, 2026
3e47a67
renamed mock_sdk to conftest.py
mustafab0 Jan 6, 2026
71683e0
updated ignore list to ignore errors due to merge with dev branch
mustafab0 Jan 6, 2026
3015ff4
Merge branch 'dev' into pip-install
paul-nechifor Jan 6, 2026
7ea2eb6
fix leak (#890)
paul-nechifor Jan 6, 2026
3905e01
first pass on large file deletions (#891)
leshy Jan 6, 2026
bc7e8f7
renamed functions to avoid pytest auto detection
mustafab0 Jan 6, 2026
44fc63d
Add rerun visualization support (Lesh's approach)
Nabla7 Jan 6, 2026
6b31d20
Merge release_detections: Add detection support to Go2 blueprints
Nabla7 Jan 6, 2026
3ba1a0b
command center stop and home
leshy Jan 6, 2026
a491a0b
Add rerun + controls web interface to WebsocketVisModule
Nabla7 Jan 6, 2026
9c32f48
Add Rerun web viewer integration with control dashboard
Nabla7 Jan 6, 2026
76767ec
CI code cleanup
Nabla7 Jan 6, 2026
e100b99
feat(dashboard): Add centralized RerunModule for visualization
Nabla7 Jan 6, 2026
90f4c43
CI code cleanup
Nabla7 Jan 6, 2026
6de16d9
fix(rerun): camera frustum now tracks robot odometry
Nabla7 Jan 7, 2026
bc20c96
CI code cleanup
Nabla7 Jan 7, 2026
37cacfc
remove garbage
Nabla7 Jan 7, 2026
fd26e8c
Merge pull request #831 from dimensionalOS/generalized_manipulator_dr…
mustafab0 Jan 7, 2026
096a061
feat: distributed Rerun logging with proper transform hierarchy
Nabla7 Jan 7, 2026
8942e39
CI code cleanup
Nabla7 Jan 7, 2026
08fb74b
feat: add camera/costmap panels and native viewer option
Nabla7 Jan 7, 2026
1cb36d7
CI code cleanup
Nabla7 Jan 7, 2026
5527b4e
feat: Out.to_rerun() API for declarative Rerun logging
Nabla7 Jan 7, 2026
46d9da1
Restore MacOS Support (flake.nix) (#863)
jeff-hykin Jan 7, 2026
32ee8f8
feat(rerun): Upgrade visualization with boxes, colormap, and dual cos…
Nabla7 Jan 7, 2026
d4422ed
CI code cleanup
Nabla7 Jan 7, 2026
9d264ea
fix(rerun): Flip costmap 2D image axes to match world coordinates
Nabla7 Jan 7, 2026
ad18d6b
check-uv
paul-nechifor Jan 7, 2026
72f90c9
fix uv.lock
paul-nechifor Jan 7, 2026
50c45d0
autofixes.
paul-nechifor Jan 7, 2026
aedc236
fix use astral for uv
paul-nechifor Jan 7, 2026
289bc81
feat(web): Build command-center as standalone React app for unified d…
Nabla7 Jan 7, 2026
8d98a95
CI code cleanup
Nabla7 Jan 7, 2026
42be3c1
style(rerun): Set 3D view background to black
Nabla7 Jan 7, 2026
8c0dbdc
Merge pull request #902 from dimensionalOS/check-uv
paul-nechifor Jan 7, 2026
1341cd7
refactor(rerun): Address PR review feedback
Nabla7 Jan 7, 2026
302074b
Merge branch 'dev' into pip-install
paul-nechifor Jan 7, 2026
bbaa730
CI code cleanup
Nabla7 Jan 7, 2026
fb2ba00
use unitree-webrtc-connect-leshy
paul-nechifor Jan 7, 2026
5c2ee5d
refactor(image): Fix PR feedback - shared to_rerun, DepthImage, simpl…
Nabla7 Jan 7, 2026
06ba955
fix(rerun): Costmap mesh only renders known cells, proper colors
Nabla7 Jan 7, 2026
14de2af
Merge pull request #731 from dimensionalOS/pip-install
paul-nechifor Jan 7, 2026
81f546f
feat: add latency logging panels to Rerun viewer
Nabla7 Jan 7, 2026
7688933
CI code cleanup
Nabla7 Jan 7, 2026
04548d0
feat: add latency logging panels + vectorize mesh generation
Nabla7 Jan 7, 2026
62a7e65
CI code cleanup
Nabla7 Jan 7, 2026
fe909fd
Revert "Restore MacOS Support (flake.nix) (#863)" (#907)
leshy Jan 7, 2026
e8d66ca
jeff flake without py env stuff (#911)
leshy Jan 7, 2026
775ea2a
remove deprecated docker files (#912)
paul-nechifor Jan 7, 2026
7393d32
update .foxe file
paul-nechifor Jan 7, 2026
c7e48f4
fix move skill
paul-nechifor Jan 6, 2026
83a25c9
Merge pull request #893 from dimensionalOS/command_center_stop_home
paul-nechifor Jan 7, 2026
9f04d04
fix(metrics): Use monotonic timestamps for accurate latency in replay
Nabla7 Jan 7, 2026
07beb26
use packages (#915)
paul-nechifor Jan 7, 2026
74b9a26
Fix agents prompt (#914)
paul-nechifor Jan 7, 2026
0b0d3a9
feat: Viewer backend toggle + async Rerun logging for 10Hz costmap
Nabla7 Jan 7, 2026
9b58dcc
refactor: Consolidate to single VIEWER_BACKEND config
Nabla7 Jan 7, 2026
a6c5e9d
refactor: Modular Rerun blueprint composition
Nabla7 Jan 7, 2026
a6a5423
fix manifest
paul-nechifor Jan 7, 2026
90c1801
fix:imports and conditional Rerun
Nabla7 Jan 7, 2026
b471f0e
fix big
paul-nechifor Jan 7, 2026
b7f31a7
duplicate test
paul-nechifor Jan 7, 2026
3b8b777
fix
paul-nechifor Jan 7, 2026
4ec29b7
max 100s
paul-nechifor Jan 7, 2026
4fd8f4a
Merge pull request #916 from dimensionalOS/fix-manifest
paul-nechifor Jan 7, 2026
b20d6e9
refactor: Move CostMapper Rerun logging to async thread
Nabla7 Jan 7, 2026
9f0e63b
feat: Set rerun-native as default + improve costmap colors
Nabla7 Jan 7, 2026
ecbbfd0
Merge branch 'dev' into feat/rerun-latency-panels
Nabla7 Jan 7, 2026
b643297
Merge pull request #913 from dimensionalOS/move-fix
paul-nechifor Jan 7, 2026
30315fe
refactor: Address PR review feedback from Paul
Nabla7 Jan 7, 2026
a352fe4
fix: Address all mypy errors from CI
Nabla7 Jan 7, 2026
0523997
style: Apply ruff formatting from pre-commit hooks
Nabla7 Jan 7, 2026
278347c
Ignore individual errors (#919)
paul-nechifor Jan 7, 2026
3367a7d
fix: Fix remaining 3 mypy errors
Nabla7 Jan 7, 2026
8a9e447
Merge latest dev into feat/rerun-latency-panels
Nabla7 Jan 7, 2026
d5eb234
style: Add license header from pre-commit hook
Nabla7 Jan 7, 2026
21532de
fix: Import Any in foxglove_bridge.py
Nabla7 Jan 7, 2026
b0e5d3b
fix: Add missing type annotations after dev merge
Nabla7 Jan 7, 2026
53b244f
fix: Add abstract to_rerun() method and missing Any import
Nabla7 Jan 7, 2026
be07b70
fix mypy
paul-nechifor Jan 7, 2026
2ff0d53
Merge pull request #917 from dimensionalOS/feat/rerun-latency-panels
Nabla7 Jan 7, 2026
fac0387
remove old navigation modules
paul-nechifor Jan 7, 2026
4674a2b
fix bad args
paul-nechifor Jan 7, 2026
5d0237f
Update dimos/robot/all_blueprints.py
paul-nechifor Jan 7, 2026
0fb1837
CI code cleanup
paul-nechifor Jan 7, 2026
ec65d98
Merge pull request #923 from dimensionalOS/remove-old-nav
paul-nechifor Jan 8, 2026
5721e26
Feat/rerun latency panels (#925)
Nabla7 Jan 8, 2026
274701d
Repair camera module (#929)
leshy Jan 8, 2026
1b482b2
Repair Stream (#932)
leshy Jan 8, 2026
f399eac
Docs Clean (#933)
leshy Jan 8, 2026
c157f4a
docs: sensor streams (#934)
leshy Jan 8, 2026
26a4780
testing markdown eval in CI
leshy Jan 8, 2026
fd418ea
Fix markdown check to run on both code and markdown changes
leshy Jan 8, 2026
3a47ef3
Run markdown check inside dev container with full deps
leshy Jan 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
32 changes: 32 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "dimos-dev",
"image": "ghcr.io/dimensionalos/dev:dev",
"customizations": {
"vscode": {
"extensions": [
"charliermarsh.ruff",
"ms-python.vscode-pylance"
]
}
},
"containerEnv": {
"PYTHONPATH": "${localEnv:PYTHONPATH}:/workspaces/dimos"
},
"postCreateCommand": "git config --global --add safe.directory /workspaces/dimos && cd /workspaces/dimos && pre-commit install",
"settings": {
"notebook.formatOnSave.enabled": true,
"notebook.codeActionsOnSave": {
"notebook.source.fixAll": "explicit",
"notebook.source.organizeImports": "explicit"
},
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true
},
"runArgs": [
"--cap-add=NET_ADMIN"
]
}
109 changes: 109 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# Version control
.git
.gitignore
.github/

# Editor and IDE files
.vscode
.idea
*.swp
*.swo
.cursor/
.cursorignore

# Shell history
.bash_history
.zsh_history
.history

# Python virtual environments
**/venv/
**/.venv/
**/env/
**/.env/
**/*-venv/
**/*_venv/
**/ENV/


# Python build artifacts
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
*.egg-info/
dist/
build/
*.so
*.dylib

# Environment file
.env
.env.local
.env.*.local

# Large data files
data/*
!data/.lfs/

# Model files (can be downloaded at runtime)
*.pt
*.pth
*.onnx
*.pb
*.h5
*.ckpt
*.safetensors
checkpoints/
assets/model-cache

# Logs
*.log

# Large media files (not needed for functionality)
*.png
*.jpg
*.jpeg
*.gif
*.mp4
*.mov
*.avi
*.mkv
*.webm
*.MOV

# Large font files
*.ttf
*.otf

# Node modules (for dev tools, not needed in container)
node_modules/
package-lock.json
package.json
bin/node_modules/

# Database files
*.db
*.sqlite
*.sqlite3

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Temporary files
tmp/
temp/
*.tmp
.python-version

# Exclude all assets subdirectories
assets/*/*
!assets/agent/prompt.txt
!assets/*
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
indent_size = 4

[*.nix]
indent_size = 2

[*.{py,ipynb}]
indent_size = 4
max_line_length = 100

[*.rs]
indent_style = space
indent_size = 4

[*.{ts,svelte}]
indent_size = 2
11 changes: 11 additions & 0 deletions .envrc.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM="
fi
use flake .
for venv in venv .venv env; do
if [[ -f "$venv/bin/activate" ]]; then
source "$venv/bin/activate"
break
fi
done
dotenv_if_exists
7 changes: 7 additions & 0 deletions .envrc.venv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
for venv in venv .venv env; do
if [[ -f "$venv/bin/activate" ]]; then
source "$venv/bin/activate"
break
fi
done
dotenv_if_exists
20 changes: 18 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
* text=auto
# Handle line endings automatically for files Git considers text,
# converting them to LF on checkout.
* text=auto eol=lf
# Ensure Python files always use LF for line endings.
*.py text eol=lf

# Treat designated file types as binary and do not alter their contents or line endings.
*.png binary
*.jpg binary
*.ico binary
*.pdf binary
# Explicit LFS tracking for test files
/data/.lfs/*.tar.gz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text binary
*.mp4 filter=lfs diff=lfs merge=lfs -text binary
*.mov filter=lfs diff=lfs merge=lfs -text binary
*.gif filter=lfs diff=lfs merge=lfs -text binary
*.foxe filter=lfs diff=lfs merge=lfs -text binary
docs/**/*.png filter=lfs diff=lfs merge=lfs -text
docs/**/*.jpg filter=lfs diff=lfs merge=lfs -text
59 changes: 59 additions & 0 deletions .github/actions/docker-build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: docker-build
description: "Composite action to build and push a Docker target to GHCR"
inputs:
target:
description: "Dockerfile target stage to build"
required: true
tag:
description: "Image tag to push"
required: true
freespace:
description: "Remove large pre‑installed SDKs before building to free space"
required: false
default: "false"
context:
description: "Docker build context"
required: false
default: "."

runs:
using: "composite"
steps:
- name: Free up disk space
if: ${{ inputs.freespace == 'true' }}
shell: bash
run: |
echo -e "pre cleanup space:\n $(df -h)"
sudo rm -rf /opt/ghc
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/share/boost
sudo rm -rf /usr/local/lib/android
echo -e "post cleanup space:\n $(df -h)"

- uses: actions/checkout@v4

- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}

- uses: crazy-max/ghaction-github-runtime@v3

- uses: docker/setup-buildx-action@v3
with:
driver: docker-container
install: true
use: true

- name: Build & Push ${{ inputs.target }}
uses: docker/build-push-action@v6
with:
push: true
context: ${{ inputs.context }}
file: docker/${{ inputs.target }}/Dockerfile
tags: ghcr.io/dimensionalos/${{ inputs.target }}:${{ inputs.tag }}
cache-from: type=gha,scope=${{ inputs.target }}
cache-to: type=gha,mode=max,scope=${{ inputs.target }}
build-args: |
FROM_TAG=${{ inputs.tag }}
Loading