docs: update installation instructions to reflect npm not yet published

Package is not published to npm yet, so users must build from source.
Updated README.md and SETUP.md to:
- Make 'build from source' the primary installation method
- Add note that npm publishing is coming soon
- Include pnpm as a prerequisite

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Prateek 2026-02-16 07:54:05 +05:30
parent 4ddaef3ae8
commit 5edbdc0871
2 changed files with 18 additions and 19 deletions

View File

@ -57,23 +57,16 @@ Comprehensive guide to installing, configuring, and troubleshooting Agent Orches
## Installation
### Global Install (Recommended)
### Build from Source (Current Method)
```bash
npm install -g @composio/ao-cli
# Verify installation
ao --version
```
### Manual Build from Source
The package is not yet published to npm. Install by building from source:
```bash
# Clone the repository
git clone https://github.com/ComposioHQ/agent-orchestrator
cd agent-orchestrator
# Install dependencies
# Install dependencies (requires pnpm)
pnpm install
# Build all packages
@ -86,6 +79,14 @@ npm link -g packages/cli
ao --version
```
> **Coming soon:** `npm install -g @composio/ao-cli` once published to npm.
**If you don't have pnpm:**
```bash
npm install -g pnpm
```
## First-Time Configuration
### Quick Setup with `ao init`

View File

@ -68,15 +68,13 @@ vi.mock("../../src/lib/plugins.js", () => ({
getAutomatedComments: vi.fn().mockResolvedValue([]),
getCIChecks: vi.fn().mockResolvedValue([]),
getReviews: vi.fn().mockResolvedValue([]),
getMergeability: vi
.fn()
.mockResolvedValue({
mergeable: true,
ciPassing: true,
approved: false,
noConflicts: true,
blockers: [],
}),
getMergeability: vi.fn().mockResolvedValue({
mergeable: true,
ciPassing: true,
approved: false,
noConflicts: true,
blockers: [],
}),
getPRState: vi.fn().mockResolvedValue("open"),
mergePR: vi.fn(),
closePR: vi.fn(),