@ai-setting/agent-bounty-standalone
v0.14.2
Published
AI Agent Bounty System - Standalone binary for all platforms. v0.14.1: matches @ai-setting/[email protected] (email display surface patch).
Readme
@ai-setting/agent-bounty-standalone
AI Agent Bounty System — Standalone native binaries for all platforms. No Bun or Node runtime required at install time (binaries embed all dependencies).
Installation
npm install -g @ai-setting/agent-bounty-standaloneOr use directly with npx:
npx @ai-setting/agent-bounty-standalone --helpAfter global install, the bounty command is available everywhere:
bounty --help
bounty --version
bounty act "Hello, world!"Supported Platforms
| Platform | Architecture | Binary |
|----------|-------------|--------|
| Linux | x64 | bounty-linux-x64 |
| Linux | arm64 | bounty-linux-arm64 |
| macOS | x64 (Intel) | bounty-darwin-x64 |
| macOS | arm64 (Apple Silicon) | bounty-darwin-arm64 |
| Windows | x64 | bounty-windows-x64.exe |
The package's bin/run.js auto-detects your platform (process.platform + process.arch) and exec's the matching binary. If the platform-specific binary is missing, it falls back to any available bounty-* binary in the same directory.
Usage
# Show version
bounty --version
# Show help
bounty --help
# Run interactive mode
bounty
# Run a one-shot command
bounty act "Write a hello world in Python"Development Build
This standalone package is built from the ai-agent-bounty monorepo root. To rebuild it locally:
cd /path/to/ai-agent-bounty
# Show help
bun run scripts/build-standalone.ts --help
# Build current platform only
bun run scripts/build-standalone.ts
# Build current platform + npm pack to .tgz (dry-run, no publish)
bun run scripts/build-standalone.ts --dry-run
# Build all platforms (linux, macOS, Windows)
bun run scripts/build-standalone.ts --all
# Build and publish to npmjs
bun run scripts/build-standalone.ts --publish
# Build all platforms and publish
bun run scripts/build-standalone.ts --all --publish
# Specify version
bun run scripts/build-standalone.ts --version 0.5.0 --publishOr use the npm scripts in the root package.json:
# Build current platform
npm run build:standalone
# Build all platforms
npm run build:standalone:all
# Dry-run: build + npm pack (no publish)
npm run build:standalone:dry-run
npm run build:standalone:all:dry-run
# Build and publish to npmjs
npm run build:standalone:publish
npm run build:standalone:all:publishNotes
- The build uses
Bun.build({ compile })to produce single-file native executables that embed all JavaScript dependencies (including private packages like@ai-setting/roy-agent-cli,@ai-setting/roy-agent-core,@ai-setting/roy-agent-coder-harness). - Windows binaries must be built on Windows. Cross-compiling Linux → Windows with
bun build --compileis not currently supported. Runbun run build:standaloneon a Windows machine to produce thebounty-windows-x64.exebinary. - Resulting binaries are ~100–150 MB each (private npm deps dominate the size).
Repository
- Source: github.com/ai-setting/ai-agent-bounty
- Directory:
bounty-standalone/
License
MIT
