feat(python/robomp): migrated robomp into monorepo as python/robomp/

- Subtree-merged github.com/can1357/roboomp with full history
- Wired python/robomp/web as a Bun workspace; migrated SolidJS deps to root catalog
- Removed nested bun.lock/bunfig.toml/biome.json; root configs now own them
- Replaced scripts/with-pi-root.sh; default PI_ROOT to ../.. (the monorepo)
- Added root recipes: test:py, lint:py, fix:py (Python opt-in, not folded into bun test)
- Updated .gitignore/.dockerignore for robomp runtime state (data/, cache/, web dist, static bundle)
- Updated README/AGENTS/.env.example to drop ROBOMP_PI_* auto-clone knobs
This commit is contained in:
can1357
2026-05-16 21:00:42 +02:00
parent 2c773a12a4
commit d1877baf66
16 changed files with 300 additions and 538 deletions
+3 -7
View File
@@ -4,15 +4,14 @@
"type": "module",
"packageManager": "bun@1.3.14",
"description": "Self-hosted GitHub triage-and-fix bot driving oh-my-pi.",
"workspaces": ["web"],
"scripts": {
"dev": "bun run build && bun run up && bun run logs",
"build": "bun run pi-artifacts && docker compose build",
"rebuild": "bash scripts/with-pi-root.sh bash -c 'docker build --no-cache -t \"${PI_ARTIFACTS_IMAGE:-oh-my-pi/artifacts:dev}\" \"$PI_ROOT\"' && docker compose build --no-cache",
"pi-artifacts": "bash scripts/with-pi-root.sh bash -c 'docker build -t \"${PI_ARTIFACTS_IMAGE:-oh-my-pi/artifacts:dev}\" \"$PI_ROOT\"'",
"rebuild": "docker build --no-cache -t \"${PI_ARTIFACTS_IMAGE:-oh-my-pi/artifacts:dev}\" ../.. && docker compose build --no-cache",
"pi-artifacts": "docker build -t \"${PI_ARTIFACTS_IMAGE:-oh-my-pi/artifacts:dev}\" ../..",
"clean-pi-artifacts": "docker image rm ${PI_ARTIFACTS_IMAGE:-oh-my-pi/artifacts:dev} || true",
"image-info": "docker image inspect robomp:dev --format 'size: {{.Size}} bytes layers: {{len .RootFS.Layers}} created: {{.Created}}'",
"up": "bash scripts/with-pi-root.sh docker compose up -d",
"up": "docker compose up -d",
"down": "docker compose down",
"restart": "docker compose restart robomp",
"ps": "docker compose ps",
@@ -57,8 +56,5 @@
"wipe-workspaces": "rm -rf ./data/workspaces && mkdir -p ./data/workspaces",
"nuke-data": "rm -rf ./data && mkdir -p ./data",
"reset": "docker compose down -v && (docker image rm ${PI_ARTIFACTS_IMAGE:-oh-my-pi/artifacts:dev} || true)"
},
"devDependencies": {
"@biomejs/biome": "^2.4.14"
}
}