@dugleelabs/copair 1.3.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -198,6 +198,55 @@ web_search:
198
198
 
199
199
  → [Web search docs](docs/web-search.md)
200
200
 
201
+ ## Installation
202
+
203
+ **npm** (requires Node.js 20+):
204
+
205
+ ```
206
+ npm install -g @dugleelabs/copair
207
+ ```
208
+
209
+ **Homebrew** (macOS/Linux):
210
+
211
+ ```
212
+ brew install dugleelabs/tap/copair
213
+ ```
214
+
215
+ **Standalone binary** (no Node.js required):
216
+
217
+ Download the latest SEA binary for your platform from [GitHub Releases](https://github.com/dugleelabs/copair/releases):
218
+
219
+ - `copair-darwin-arm64` (macOS Apple Silicon)
220
+ - `copair-darwin-x64` (macOS Intel)
221
+ - `copair-linux-x64` (Linux x64)
222
+
223
+ ```bash
224
+ chmod +x copair-darwin-arm64
225
+ mv copair-darwin-arm64 /usr/local/bin/copair
226
+ ```
227
+
228
+ ## Extending Copair
229
+
230
+ Copair includes a plugin system for extending its behavior. Plugins can intercept and modify LLM requests, observe responses, and override provider routing. The plugin API is used internally and is not yet publicly documented.
231
+
232
+ ```yaml
233
+ # config.yaml
234
+ plugins:
235
+ - "./my-plugin.js"
236
+ - "@scope/my-plugin-package"
237
+ ```
238
+
239
+ **Copair Pro** is a commercial edition built on top of the open-source core, offering additional features for teams and enterprises.
240
+
241
+ ## Programmatic API
242
+
243
+ Copair exports a library API for building on top of the core:
244
+
245
+ ```typescript
246
+ import { bootstrapCLI, PluginManager } from '@dugleelabs/copair';
247
+ import type { CopairPlugin } from '@dugleelabs/copair';
248
+ ```
249
+
201
250
  ## License
202
251
 
203
252
  MIT