211 lines
10 KiB
JSON
211 lines
10 KiB
JSON
{
|
|
"name": "omp",
|
|
"homepage": "https://omp.sh",
|
|
"private": true,
|
|
"type": "module",
|
|
"packageManager": "bun@1.3.14",
|
|
"patchedDependencies": {
|
|
"@ark/schema@0.56.1": "patches/@ark%2Fschema@0.56.1.patch",
|
|
"puppeteer-core@25.3.0": "patches/puppeteer-core@25.3.0.patch"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*",
|
|
"python/robomp/web"
|
|
],
|
|
"catalog": {
|
|
"@agentclientprotocol/sdk": "0.25.0",
|
|
"@babel/generator": "^7.29.7",
|
|
"@babel/parser": "^7.29.7",
|
|
"@babel/traverse": "^7.29.7",
|
|
"@babel/types": "^7.29.7",
|
|
"@biomejs/biome": "^2.4.16",
|
|
"@bufbuild/protobuf": "^2.12.0",
|
|
"@bufbuild/protoc-gen-es": "^2.12.0",
|
|
"@huggingface/transformers": "^4.2.0",
|
|
"@mozilla/readability": "^0.6.0",
|
|
"@napi-rs/cli": "3.7.0",
|
|
"@oh-my-pi/hashline": "16.4.8",
|
|
"@oh-my-pi/omp-stats": "16.4.8",
|
|
"@oh-my-pi/pi-agent-core": "16.4.8",
|
|
"@oh-my-pi/pi-ai": "16.4.8",
|
|
"@oh-my-pi/pi-catalog": "16.4.8",
|
|
"@oh-my-pi/pi-coding-agent": "16.4.8",
|
|
"@oh-my-pi/pi-mnemopi": "16.4.8",
|
|
"@oh-my-pi/pi-natives": "16.4.8",
|
|
"@oh-my-pi/pi-tui": "16.4.8",
|
|
"@oh-my-pi/pi-utils": "16.4.8",
|
|
"@oh-my-pi/pi-wire": "16.4.8",
|
|
"@oh-my-pi/snapcompact": "16.4.8",
|
|
"@opentelemetry/api": "^1.9.1",
|
|
"@opentelemetry/context-async-hooks": "^2.7.1",
|
|
"@opentelemetry/exporter-trace-otlp-proto": "^0.218.0",
|
|
"@opentelemetry/resources": "^2.7.1",
|
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
"@opentelemetry/sdk-trace-node": "^2.7.1",
|
|
"@puppeteer/browsers": "^3.0.4",
|
|
"@tailwindcss/node": "^4.3.0",
|
|
"@tailwindcss/vite": "^4.3.0",
|
|
"@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.20260609.1",
|
|
"@xterm/headless": "^6.0.0",
|
|
"arktype": "2.2.2",
|
|
"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.0",
|
|
"ghostty-web": "^0.4.0",
|
|
"handlebars": "^4.7.9",
|
|
"header-generator": "^2.1.82",
|
|
"linkedom": "^0.18.12",
|
|
"lint-staged": "^17.0.7",
|
|
"lru-cache": "11.5.1",
|
|
"lucide-react": "^1.17.0",
|
|
"mammoth": "^1.12.0",
|
|
"marked": "^18.0.5",
|
|
"mupdf": "^1.27.0",
|
|
"onnxruntime-node": "1.26.0",
|
|
"postcss": "^8.5.15",
|
|
"prettier": "^3.8.4",
|
|
"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.13",
|
|
"tailwindcss": "^4.3.0",
|
|
"ts-morph": "^28.0.0",
|
|
"turndown": "7.2.4",
|
|
"turndown-plugin-gfm": "1.0.2",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.0.16",
|
|
"vite-plugin-solid": "^2.11.12",
|
|
"winston": "^3.19.0",
|
|
"winston-daily-rotate-file": "^5.0.0",
|
|
"zod": "^4"
|
|
}
|
|
},
|
|
"overrides": {
|
|
"@ark/schema": "0.56.1"
|
|
},
|
|
"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",
|
|
"hmgr": "bun --cwd=packages/harbor-manager 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-build-native.test.ts scripts/ci-concurrency.test.ts scripts/ci-release-build-binaries.test.ts scripts/ci-release-notes.test.ts scripts/fix-dts-extensions.test.ts scripts/link-omp.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:build:native": "bun scripts/ci-build-native.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"
|
|
}
|
|
}
|