Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

9.9 KB
Raw Blame
{
  "name": "openhuman-app",
  "version": "0.64.20",
  "type": "module",
  "engines": {
    "node": ">=24.0.0"
  },
  "scripts": {
    "dev": "vite",
    "dev:web": "vite",
    "dev:app": "bash ../scripts/run-dev-macos.sh",
    "dev:app:web": "bash ../scripts/run-dev-web.sh",
    "dev:app:web:attach": "bash ../scripts/run-dev-web.sh --attach",
    "dev:app:win": "..\\scripts\\run-dev-win.cmd",
    "core:stage": "echo '[core:stage] no-op — core is linked in-process; sidecar removed (PR #1061)'",
    "tauri:ios:init": "bash ../scripts/ios-init.sh",
    "tauri:ios:dev": "cd src-tauri-mobile && IPHONEOS_DEPLOYMENT_TARGET=${IPHONEOS_DEPLOYMENT_TARGET:-16.0} npx --package=@tauri-apps/cli@^2 tauri ios dev",
    "tauri:ios:build": "cd src-tauri-mobile && IPHONEOS_DEPLOYMENT_TARGET=${IPHONEOS_DEPLOYMENT_TARGET:-16.0} npx --package=@tauri-apps/cli@^2 tauri ios build",
    "tauri:android:init": "bash ../scripts/android-init.sh",
    "tauri:android:dev": "cd src-tauri-mobile && ../node_modules/.bin/tauri android dev",
    "tauri:android:build": "cd src-tauri-mobile && ../node_modules/.bin/tauri android build",
    "release:android:play": "bash ../scripts/release/upload-android-to-play.sh",
    "build": "node scripts/build-parallel.mjs",
    "build:app": "node scripts/build-parallel.mjs",
    "build:app:e2e": "node scripts/build-parallel.mjs --mode development",
    "build:web:e2e": "bash ./scripts/e2e-web-build.sh",
    "build:web": "cross-env VITE_OPENHUMAN_TARGET=web node scripts/build-parallel.mjs",
    "compile": "tsc --noEmit",
    "typecheck:e2e": "tsc -p test/tsconfig.e2e.json --noEmit",
    "preview": "vite preview",
    "tauri": "node scripts/tauri.cjs",
    "tauri:build:ui": "node scripts/tauri.cjs build -- --bin OpenHuman",
    "macos:build:intel": "source ../scripts/load-dotenv.sh && cd ../crates/openhuman-app && cargo tauri build --bundles app dmg --target x86_64-apple-darwin -- --bin OpenHuman",
    "macos:build:intel:debug": "source ../scripts/load-dotenv.sh && cd ../crates/openhuman-app && cargo tauri build --debug --bundles app dmg --target x86_64-apple-darwin -- --bin OpenHuman",
    "macos:build:debug": "source ../scripts/load-dotenv.sh && cd ../crates/openhuman-app && cargo tauri build --debug --bundles app dmg -- --bin OpenHuman",
    "macos:build:release": "source ../scripts/load-dotenv.sh && cd ../crates/openhuman-app && cargo tauri build --bundles app dmg -- --bin OpenHuman",
    "macos:build:release:signed": "source ../scripts/load-env.sh && cd ../crates/openhuman-app && cargo tauri build --bundles app dmg -- --bin OpenHuman",
    "macos:build:sign:release": "pnpm macos:build:release:signed",
    "macos:run": "open '../crates/openhuman-app/target/debug/bundle/macos/OpenHuman.app'",
    "macos:dev": "pnpm macos:build:debug && open '../crates/openhuman-app/target/debug/bundle/macos/OpenHuman.app'",
    "test": "vitest run --config test/vitest.config.ts",
    "test:unit": "vitest run --config test/vitest.config.ts",
    "test:unit:watch": "vitest --config test/vitest.config.ts",
    "test:watch": "vitest --config test/vitest.config.ts",
    "test:coverage": "vitest run --config test/vitest.config.ts --coverage",
    "test:rust": "bash ../scripts/test-rust-with-mock.sh",
    "test:e2e:build": "bash ./scripts/e2e-build.sh",
    "test:e2e:web:build": "bash ./scripts/e2e-web-build.sh",
    "test:e2e:web": "pnpm test:e2e:web:build && bash ./scripts/e2e-web-session.sh",
    "test:e2e:mega": "pnpm test:e2e:build && bash ./scripts/e2e-run-spec.sh test/e2e/specs/mega-flow.spec.ts mega-flow",
    "test:e2e:login": "bash ./scripts/e2e-login.sh",
    "test:e2e:auth": "bash ./scripts/e2e-auth.sh",
    "test:e2e:service-connectivity": "OPENHUMAN_SERVICE_MOCK=1 bash ./scripts/e2e-run-spec.sh test/e2e/specs/service-connectivity-flow.spec.ts service-connectivity",
    "test:e2e:skills-registry": "pnpm test:e2e:web:build && bash ./scripts/e2e-web-session.sh test/playwright/specs/skills-registry.spec.ts",
    "test:e2e:cron-jobs": "pnpm test:e2e:web:build && bash ./scripts/e2e-web-session.sh test/playwright/specs/cron-jobs-flow.spec.ts",
    "test:e2e": "pnpm test:e2e:web && pnpm test:e2e:mega",
    "test:e2e:all:flows": "bash ./scripts/e2e-run-all-flows.sh",
    "test:e2e:all": "pnpm test:e2e:web && pnpm test:e2e:all:flows",
    "test:e2e:session": "bash ./scripts/e2e-run-session.sh",
    "test:e2e:session:full": "pnpm test:e2e:build && pnpm test:e2e:session",
    "test:all": "pnpm test:coverage && pnpm test:rust && pnpm test:e2e",
    "rust:check": "cargo check --manifest-path ../crates/openhuman-app/Cargo.toml",
    "rust:format": "cargo fmt --manifest-path ../Cargo.toml --package openhuman --package openhuman-cli --package openhuman-embed --package openhuman-modules-linked --package openhuman-rpc --package openhuman-tinyhumans --package openhuman-tui && cargo fmt --manifest-path ../crates/openhuman-app/Cargo.toml --package openhuman-app",
    "rust:format:check": "cargo fmt --manifest-path ../Cargo.toml --package openhuman --package openhuman-cli --package openhuman-embed --package openhuman-modules-linked --package openhuman-rpc --package openhuman-tinyhumans --package openhuman-tui -- --check && cargo fmt --manifest-path ../crates/openhuman-app/Cargo.toml --package openhuman-app -- --check",
    "rust:clippy": "cargo clippy --manifest-path ../crates/openhuman-app/Cargo.toml -- -D warnings",
    "format": "prettier --write . && pnpm rust:format",
    "format:check": "prettier --check . && pnpm rust:format:check",
    "format:check:prettier": "prettier --check .",
    "lint": "eslint . --ext .ts,.tsx --cache",
    "lint:fix": "eslint . --ext .ts,.tsx --fix --cache",
    "lint:commands-tokens": "bash scripts/lint-token-scan.sh lint:commands-tokens -nU \"(bg|text|border|ring|shadow)-(neutral|primary|sage|amber|canvas|stone|slate)\" src/components/commands/",
    "lint:ui-tokens": "bash scripts/lint-token-scan.sh lint:ui-tokens -nP \"^(?!\\s*(//|\\*|/\\*)).*\\b(bg|text|border|ring|divide)-(neutral|stone|slate|canvas|white|black)\\b\" src/components/ui/ src/components/layout/ src/components/settings/ src/features/conversations/ src/components/intelligence/ src/components/feedback/ src/components/flows/ src/components/chat/ src/components/skills/ src/components/channels/ src/pages/ src/components/dashboard/ src/components/composio/ src/components/notifications/ src/components/accounts/ src/features/human/ && bash scripts/lint-token-scan.sh lint:ui-tokens -nP \"^(?!\\s*(//|\\*|/\\*)).*(color-mix\\(|oklch\\(|@layer )\" src/components/ui/ src/styles/fonts.css && node scripts/lint-undefined-scales.mjs",
    "knip": "knip --config knip.json",
    "knip:production": "knip --config knip.json --production"
  },
  "dependencies": {
    "@assistant-ui/core": "^0.3.20",
    "@assistant-ui/react": "^0.15.21",
    "@assistant-ui/react-lexical": "^0.2.10",
    "@assistant-ui/react-markdown": "^0.14.12",
    "@base-ui/react": "^1.7.0",
    "@noble/ciphers": "^1.2.1",
    "@noble/curves": "^2.2.0",
    "@noble/hashes": "^2.0.1",
    "@radix-ui/react-collapsible": "^1.1.20",
    "@reduxjs/toolkit": "^2.11.2",
    "@rive-app/react-webgl2": "^4.28.6",
    "@sentry/react": "^10.38.0",
    "@tauri-apps/api": "^2.11.0",
    "@tauri-apps/plugin-barcode-scanner": "^2.4.4",
    "@tauri-apps/plugin-deep-link": "^2",
    "@tauri-apps/plugin-opener": "^2",
    "@tauri-apps/plugin-os": "^2.3.2",
    "@xyflow/react": "^12.11.1",
    "buffer": "^6.0.3",
    "class-variance-authority": "^0.7.1",
    "clsx": "^2.1.1",
    "cmdk": "^1.1.1",
    "d3-force": "^3.0.0",
    "debug": "^4.4.3",
    "katex": "^0.16.47",
    "lucide-react": "^1.33.0",
    "os-browserify": "^0.3.0",
    "pixi.js": "^8.18.1",
    "process": "^0.11.10",
    "qrcode.react": "^4.2.0",
    "radix-ui": "^1.6.7",
    "react": "^19.1.0",
    "react-dom": "^19.1.0",
    "react-icons": "^5.6.0",
    "react-joyride": "^3.1.0",
    "react-markdown": "^10.1.0",
    "react-redux": "^9.2.0",
    "react-router-dom": "^7.13.0",
    "recharts": "^2.15.0",
    "redux-persist": "^6.0.0",
    "rehype-highlight": "^7.0.2",
    "rehype-katex": "^7.0.1",
    "remark-gfm": "^4.0.1",
    "remark-math": "^6.0.0",
    "socket.io-client": "^4.8.3",
    "tailwind-merge": "^2.6.1",
    "tauri-plugin-ptt-api": "workspace:*",
    "three": "^0.183.2",
    "tw-animate-css": "^1.4.0",
    "tw-shimmer": "^0.4.13",
    "util": "^0.12.5",
    "zustand": "^5.0.15"
  },
  "devDependencies": {
    "@eslint/js": "^9.39.2",
    "@playwright/test": "^1.56.1",
    "@sentry/vite-plugin": "^2.22.6",
    "@tailwindcss/forms": "^0.5.11",
    "@tailwindcss/postcss": "^4.3.3",
    "@tailwindcss/typography": "^0.5.19",
    "@tauri-apps/cli": "2.11.4",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.2",
    "@testing-library/user-event": "^14.6.1",
    "@trivago/prettier-plugin-sort-imports": "^6.0.2",
    "@types/d3-force": "^3.0.10",
    "@types/debug": "^4.1.12",
    "@types/jest-axe": "^3.5.9",
    "@types/node": "^25.0.10",
    "@types/react": "^19.1.8",
    "@types/react-dom": "^19.1.6",
    "@types/redux-logger": "^3.0.13",
    "@types/three": "^0.183.1",
    "@typescript-eslint/eslint-plugin": "^8.54.0",
    "@typescript-eslint/parser": "^8.54.0",
    "@vitejs/plugin-react": "^6.0.1",
    "@vitest/coverage-v8": "^4.0.18",
    "@wdio/appium-service": "^9.24.0",
    "@wdio/cli": "^9.24.0",
    "@wdio/globals": "^9.24.0",
    "@wdio/local-runner": "^9.24.0",
    "@wdio/mocha-framework": "^9.24.0",
    "@wdio/spec-reporter": "^9.24.0",
    "@wdio/types": "^9.24.0",
    "cross-env": "^10.1.0",
    "eslint": "^9.39.2",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-react": "^7.37.5",
    "eslint-plugin-react-hooks": "^7.0.1",
    "husky": "^9.1.7",
    "jest-axe": "^10.0.0",
    "jsdom": "^28.0.0",
    "knip": "^6.3.1",
    "postcss": "^8.5.6",
    "prettier": "^3.8.1",
    "redux-logger": "^3.0.6",
    "tailwindcss": "^4.3.3",
    "typescript": "~5.8.3",
    "vite": "^8.0.0",
    "vite-plugin-node-polyfills": "^0.26.0",
    "vitest": "^4.0.18",
    "webdriverio": "^9.24.0"
  }
}