Rebuilt from source maps with real source preservation for @ant/* packages.
- Node.js >= 20
- Bun >= 1.1
- npm (for overlay dependency install on first build)
# Production (minified)
node scripts/build-cli.mjs
# Development (unminified, faster builds)
node scripts/build-cli.mjs --no-minify
# Custom output path
node scripts/build-cli.mjs --outfile /path/to/output/cli.jsOutput: dist/cli.js (wrapper) + dist/cli.bundle/ (bundle).
First build runs npm install for ~80 overlay packages. Subsequent builds skip this.
node dist/cli.jsComputer use runs in-process automatically when the CHICAGO_MCP flag is enabled. The native addons are resolved from prebuilds/ relative to the bundled package, or via env var overrides:
# Override native addon paths if the default resolution fails
COMPUTER_USE_SWIFT_NODE_PATH="/path/to/computer-use-swift.node" \
COMPUTER_USE_INPUT_NODE_PATH="/path/to/computer-use-input.node" \
node dist/cli.js| Flag | What it does |
|---|---|
BUILDING_CLAUDE_APPS |
Skill content for building Claude apps |
BASH_CLASSIFIER |
Bash command safety classifier |
TRANSCRIPT_CLASSIFIER |
Transcript-level auto-mode classifier |
CHICAGO_MCP |
Computer use via MCP (screenshot, click, type, etc.) |
Toggle in enabledBundleFeatures inside scripts/build-cli.mjs. ~90 flags available — search feature(' in source.
In source/native-addons/:
| File | Purpose |
|---|---|
computer-use-swift.node |
Screen capture, app management (macOS) |
computer-use-input.node |
Mouse/keyboard input (macOS) |
image-processor.node |
Sharp image processing |
audio-capture.node |
Audio capture |
rm -f .cache/workspace/.prepared.json
node scripts/build-cli.mjs --no-minifyscripts/build-cli.mjs — Build script (source map extraction + bun bundling)
source/cli.js.map — Original source map (4756 modules)
source/native-addons/ — Pre-built .node binaries
source/src/ — Overlay assets (.md skill files)
.cache/workspace/ — Extracted workspace (generated, gitignored)
dist/ — Build output (generated)
