• English
  • npm distribution

    Requires macOS arm64 (Apple Silicon) and Node.js 22.13 or newer.

    npm install -g @soma-ai/harness
    soma web
    # Or run directly
    npx @soma-ai/harness web

    Open the printed URL. The package includes the Rust executable and frontend; no build tools are required. Keep npm optional dependencies enabled. Use soma web --provider echo to try the app without model credentials.

    Release

    Build locally on an arm64 Mac. Keep the npm and Cargo versions in sync and use a new staging directory:

    pnpm install --frozen-lockfile
    pnpm --filter @soma-ai/web run build
    pnpm --filter @soma-ai/harness run build:release
    pnpm stage:npm --target aarch64-apple-darwin \
      --binary packages/cli/native/soma --output artifacts/npm/release

    The output contains harness/ and harness-darwin-arm64/. Run npm pack in each directory to create the tarballs. Publish @soma-ai/harness-darwin-arm64 first, then @soma-ai/harness, using npm publish <tarball> --access public. Use --tag next when publishing prereleases.