{ "name": "omp", "homepage": "https://omp.sh", "private": true, "type": "module", "packageManager": "bun@1.3.14", "patchedDependencies": { "@ark/schema@0.56.2": "patches/@ark%2Fschema@0.56.2.patch", "puppeteer-core@25.3.0": "patches/puppeteer-core@25.3.0.patch", "@agentclientprotocol/sdk@1.2.1": "patches/@agentclientprotocol%2Fsdk@1.2.1.patch" }, "workspaces": { "packages": [ "packages/*", "python/robomp/web" ], "catalog": { "@agentclientprotocol/sdk": "1.2.1", "@babel/generator": "^7.29.7", "@babel/parser": "^7.29.7", "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7", "@biomejs/biome": "^2.5.3", "@bufbuild/protobuf": "^2.12.1", "@bufbuild/protoc-gen-es": "^2.12.1", "@huggingface/transformers": "^4.2.0", "@mozilla/readability": "^0.6.0", "@napi-rs/cli": "3.7.2", "@oh-my-pi/hashline": "17.2.9", "@oh-my-pi/omp-stats": "17.2.9", "@oh-my-pi/omptype": "17.2.9", "@oh-my-pi/pi-agent-core": "17.2.9", "@oh-my-pi/pi-ai": "17.2.9", "@oh-my-pi/pi-catalog": "17.2.9", "@oh-my-pi/pi-coding-agent": "17.2.9", "@oh-my-pi/pi-mnemopi": "17.2.9", "@oh-my-pi/pi-natives": "17.2.9", "@oh-my-pi/pi-tui": "17.2.9", "@oh-my-pi/pi-utils": "17.2.9", "@oh-my-pi/pi-wire": "17.2.9", "@oh-my-pi/snapcompact": "17.2.9", "@opentelemetry/api": "^1.9.1", "@opentelemetry/api-logs": "^0.220.0", "@opentelemetry/context-async-hooks": "^2.9.0", "@opentelemetry/exporter-logs-otlp-proto": "^0.220.0", "@opentelemetry/exporter-metrics-otlp-proto": "^0.220.0", "@opentelemetry/exporter-trace-otlp-proto": "^0.220.0", "@opentelemetry/resources": "^2.9.0", "@opentelemetry/sdk-logs": "^0.220.0", "@opentelemetry/sdk-metrics": "^2.9.0", "@opentelemetry/sdk-trace-base": "^2.9.0", "@opentelemetry/sdk-trace-node": "^2.9.0", "@puppeteer/browsers": "^3.0.6", "@tailwindcss/node": "^4.3.2", "@tailwindcss/vite": "^4.3.2", "@types/babel__generator": "^7.27.0", "@types/babel__traverse": "^7.28.0", "@types/bun": "^1.3.14", "@types/react": "^19.2.17", "@types/react-dom": "^19.2.3", "@types/turndown": "5.0.6", "@typescript/native-preview": "7.0.0-dev.20260707.2", "@xterm/headless": "^6.0.0", "chalk": "^5.6.2", "chart.js": "^4.5.1", "date-fns": "^4.4.0", "diff": "^9.0.0", "fflate": "0.8.3", "fastembed": "2.1.0", "fast-xml-parser": "^5.9.3", "ghostty-web": "^0.4.0", "handlebars": "^4.7.9", "header-generator": "^2.1.82", "linkedom": "^0.18.13", "lint-staged": "^17.0.8", "lru-cache": "11.5.2", "lucide-react": "^1.24.0", "mammoth": "^1.12.0", "marked": "^18.0.6", "mupdf": "^1.28.0", "onnxruntime-node": "1.26.0", "postcss": "^8.5.16", "prettier": "^3.9.5", "puppeteer-core": "25.3.0", "react": "19.2.7", "react-chartjs-2": "^5.3.1", "react-dom": "19.2.7", "regexp-tree": "^0.1.27", "solid-js": "^1.9.14", "tailwindcss": "^4.3.2", "ts-morph": "^28.0.0", "turndown": "7.2.4", "turndown-plugin-gfm": "1.0.2", "typescript": "^7.0.2", "vite": "^8.1.4", "vite-plugin-solid": "^2.11.12", "winston": "^3.19.0", "winston-daily-rotate-file": "5.0.0", "zod": "^4" } }, "overrides": { "@ark/schema": "0.56.2" }, "scripts": { "setup": "bun install && bun run build:native && bun --cwd=packages/coding-agent link && sh scripts/link-omp.sh", "dev": "bun --cwd=packages/coding-agent src/cli.ts", "dev:timing": "PI_TIMING=x bun --cwd=packages/coding-agent --preload ../utils/src/module-timer.ts src/cli.ts", "stats": "bun --cwd=packages/coding-agent src/cli.ts stats", "collab:web:dev": "bun --cwd=packages/collab-web run dev", "collab:relay": "bun --cwd=packages/collab-web run relay", "collab:mock-host": "bun --cwd=packages/collab-web run mock-host", "collab:web:build": "bun --cwd=packages/collab-web run build", "meta": "bun --cwd=packages/metaharness run dev", "claude:trace": "bun scripts/claude-trace.ts", "build": "bun run --workspaces --if-present build", "build:native": "bun --cwd=packages/natives run build", "test": "bun scripts/ci-test-ts.ts local", "test:ts": "bun scripts/ci-test-ts.ts local-ts", "test:scripts": "bun test scripts/ci-release-build-binaries.test.ts scripts/musl-release.test.ts scripts/ci-release-publish.test.ts scripts/release.test.ts", "test:rs": "bun scripts/run-rs-task.ts test:rs", "check": "bun run --parallel check:ts check:rs", "check:ts": "bun run check:tools && bun run --workspaces --if-present check", "check:tools": "biome check . --no-errors-on-unmatched", "check:rs": "bun scripts/run-rs-task.ts check:rs", "lint": "bun run --parallel lint:ts lint:rs", "lint:ts": "bun run --parallel lint:tools && bun run --workspaces --if-present lint", "lint:tools": "biome lint . --no-errors-on-unmatched", "lint:rs": "bun scripts/run-rs-task.ts lint:rs", "fmt": "bun run --parallel fmt:ts fmt:rs", "fmt:ts": "bun run fmt:tools && bun run --workspaces --if-present fmt", "fmt:tools": "biome format --write . --no-errors-on-unmatched", "fmt:rs": "bun scripts/run-rs-task.ts fmt:rs", "fix": "bun run --parallel fix:ts fix:rs", "fix:all": "bun run --parallel fix:ts:all fix:rs fix:changelogs", "fix:ts": "bun run fix:tools && bun run --workspaces --if-present fix", "fix:ts:all": "bun run fix:tools:all && bun run --workspaces --if-present fix", "fix:tools": "biome check --write --unsafe --changed --no-errors-on-unmatched .", "fix:tools:all": "biome check --write --unsafe --no-errors-on-unmatched .", "fix:changelogs": "bun scripts/fix-changelogs.ts", "fix:rs": "bun scripts/run-rs-task.ts fix:rs", "ci:check:full": "bun run check:ts", "ci:test:full": "bun run ci:test:ts && bun run test:rs", "ci:test:ts": "bun scripts/ci-test-ts.ts all", "ci:test:ts:workspace": "bun scripts/ci-test-ts.ts workspace", "ci:test:ts:native": "bun scripts/ci-test-ts.ts native", "ci:test:coding-agent:singleton": "bun scripts/ci-test-ts.ts coding-agent-singleton", "ci:test:coding-agent:ui": "bun scripts/ci-test-ts.ts coding-agent-ui", "ci:test:coding-agent:runtime": "bun scripts/ci-test-ts.ts coding-agent-runtime", "ci:test:coding-agent:native": "bun scripts/ci-test-ts.ts coding-agent-native", "ci:test:coding-agent:heavy": "bun scripts/ci-test-ts.ts coding-agent-heavy", "ci:test:smoke": "bun packages/coding-agent/src/cli.ts --version && bun packages/coding-agent/src/cli.ts --help && bun packages/coding-agent/src/cli.ts stats --help && bun packages/coding-agent/src/cli.ts --smoke-test", "ci:test:install-methods": "bash scripts/install-tests/run-ci.sh", "ci:release:build-binaries": "bun scripts/ci-release-build-binaries.ts", "ci:release:publish": "bun scripts/ci-release-publish.ts", "ci:release:publish-native-leaf": "bun scripts/ci-release-publish.ts --native-leaf", "bench:gen-fixtures": "bun --cwd=packages/typescript-edit-benchmark run src/generate.ts --typescript-dir /tmp/typescript-source --count-per-type 8", "stats:sync": "python3 scripts/session-stats/sync.py", "stats:tools": "python3 scripts/session-stats/analyze.py tools", "stats:edits": "python3 scripts/session-stats/analyze.py edits", "stats:followups": "python3 scripts/session-stats/analyze.py followups", "stats:audit": "bun scripts/session-stats/audit.ts", "test:py": "python3 -m pytest -x python/omp-rpc/tests && python3 -m pytest -x python/robomp/tests", "robomp:install": "pip install -e 'python/robomp[dev]'", "robomp:serve": "python3 -m robomp serve", "robomp:test:integration": "ROBOMP_INTEGRATION=1 python3 -m pytest -x python/robomp/tests/test_worker_smoke.py", "pi:image": "docker build -t \"${PI_IMAGE:-oh-my-pi/pi:dev}\" .", "pi:run": "docker run --rm -it \"${PI_IMAGE:-oh-my-pi/pi:dev}\"", "robomp:build": "bun run pi:image && docker compose --project-directory python/robomp build", "robomp:rebuild": "bun run pi:image && docker compose --project-directory python/robomp build --no-cache", "robomp:up": "docker compose --project-directory python/robomp up -d", "robomp:down": "docker compose --project-directory python/robomp down", "robomp:restart": "docker compose --project-directory python/robomp restart robomp", "robomp:logs": "docker compose --project-directory python/robomp logs -f robomp", "robomp:dev": "bun run robomp:build && bun run robomp:up && bun run robomp:logs", "robomp:reset": "docker compose --project-directory python/robomp down -v && (docker image rm \"${PI_IMAGE:-oh-my-pi/pi:dev}\" || true)", "robomp:web:dev": "bun --cwd=python/robomp/web run dev", "robomp:web:build": "bun --cwd=python/robomp/web run build", "lint:py": "ruff check python && ruff format --check python", "fix:py": "ruff check --fix python && ruff format python", "prepublishOnly": "bun run check", "prepare": "bun run gen:tool-views", "publish": "bun run prepublishOnly && npm publish -ws --access public", "publish:dry": "bun run prepublishOnly && npm publish -ws --access public --dry-run", "release": "bun scripts/release.ts", "gen:models": "bun --cwd=packages/catalog run gen:models", "gen:stats": "bun --cwd=packages/stats run gen:stats", "gen:stats:reset": "bun --cwd=packages/stats run gen:stats:reset", "gen:changelog": "bun scripts/rewrite-changelog.ts", "gen:tool-views": "bun --cwd=packages/collab-web run gen:tool-views", "gen:bundle": "bun --cwd=packages/coding-agent run gen:bundle", "gen:mupdf": "bun --cwd=packages/coding-agent run gen:mupdf", "gen:mupdf:reset": "bun --cwd=packages/coding-agent run gen:mupdf:reset", "gen:native": "bun --cwd=packages/natives run gen:native", "gen:native:reset": "bun --cwd=packages/natives run gen:native:reset", "check-spoofed-versions": "bun scripts/check-spoofed-versions.ts" }, "devDependencies": { "@biomejs/biome": "catalog:", "@types/bun": "catalog:", "@typescript/native-preview": "catalog:", "lint-staged": "catalog:", "prettier": "catalog:", "ts-morph": "catalog:", "typescript": "catalog:" }, "lint-staged": { "*.{js,ts,jsx,tsx,json,jsonc,css}": "biome check --write --no-errors-on-unmatched" }, "dependencies": { "sherpa-onnx": "1.13.2", "sherpa-onnx-darwin-arm64": "1.13.3", "sherpa-onnx-node": "1.13.2" } }