open-index/open-npm huggingface dataset:
npm package: @orpheusrun/cli
Description: Orpheus CLI - The runtime for AI agents
Author: Orpheus Systems
Latest version: 0.1.4

<p align="center">
  <img src="https://orpheus.run/email-assets/main_deploy.png?v=1" alt="Orpheus CLI - Deploy AI agents with one command" width="100%" />
</p>

# Orpheus CLI

The runtime for AI agents.

## Quick Start

```bash
# Install
npm install -g @orpheusrun/cli

# Setup
orpheus setup

# Deploy an example
orpheus examples

# Check status
orpheus status
```

## Features

- **Queue-depth autoscaling** - Scales based on demand, not CPU
- **Workspace persistence** - Agent state survives crashes
- **Session affinity** - Routes same session to same worker
- **SSE streaming** - Real-time execution progress
- **Crash recovery** - Safe-first policy, no auto-retry

## Documentation

Visit [orpheus.run](https://orpheus.run) for full documentation.

## Support

- GitHub: [github.com/arpitnath/orpheus](https://github.com/arpitnath/orpheus/issues)
- Docs: [docs.orpheus.run](https://docs.orpheus.run)

## License

MIT
npm package: @orq/superagent
Description: Super agent request utility for orq
Author: Luca Nils Schmid
Latest version: 0.6.1

# @orq/superagent

[![Build Status](https://travis-ci.org/Kriegslustig/orq-superagent.svg?branch=master)](https://travis-ci.org/Kriegslustig/orq-superagent)

Super agent request utility for orq.

## Usage

See [orq](https://github.com/Kriegslustig/orq/blob/master/README.md) docs.
npm package: @orquestra/adapter-express
Description: Express HTTP adapter for Orquestra. Wraps an `Express` app and exposes a Supertest agent through `orquestra.http`.
Author: Gabriel de Jesus Silva
Latest version: 0.2.0

# @orquestra/adapter-express

Express HTTP adapter for Orquestra. Wraps an `Express` app and exposes a Supertest agent through `orquestra.http`.

---

## Install
```bash
npm i -D @orquestra/core @orquestra/adapter-express supertest
```

---

## Usage
```ts
import express from 'express';
import { Orquestra } from '@orquestra/core';
import { OrquestraAdapterExpress } from '@orquestra/adapter-express';

function createApp() {
  const app = express();
  app.use(express.json());
  app.get('/', (_req, res) => res.json({ ok: true }));
  return { app, close: async () => {/* close resources if any */} };
}

const orquestra = new Orquestra({
  httpServer: async () => {
    const { app, close } = createApp();
    const adapter = new OrquestraAdapterExpress(app);
    adapter.setCloseHandler(close);
    return adapter;
  },
});

beforeAll(() => orquestra.start());
afterAll(() => orquestra.teardown());

test('GET /', async () => {
  const res = await orquestra.http.get('/');
  expect(res.status).toBe(200);
  expect(res.body).toEqual({ ok: true });
});
```

---

## Tips
- Use `adapter.setCloseHandler(async () => app.close?.())` to release server resources on teardown.
- Add pre-request hooks via `orquestra.get(OrquestraHttpServer).addPreRequestHook(...)` to inject headers or auth tokens.
npm package: @orquestra/adapter-fastify
Description: Fastify HTTP adapter for Orquestra. Wraps a `FastifyInstance` and exposes a Supertest agent through `orquestra.http`.
Author: Gabriel de Jesus Silva
Latest version: 0.2.0

# @orquestra/adapter-fastify

Fastify HTTP adapter for Orquestra. Wraps a `FastifyInstance` and exposes a Supertest agent through `orquestra.http`.

---

## Install
```bash
npm i -D @orquestra/core @orquestra/adapter-fastify supertest fastify
```

---

## Usage
```ts
import Fastify from 'fastify';
import { Orquestra } from '@orquestra/core';
import { OrquestraAdapterFastify } from '@orquestra/adapter-fastify';

async function createApp() {
  const app = Fastify();
  app.get('/', async () => ({ ok: true }));

  // IMPORTANT: make sure Fastify is ready before using the adapter
  await app.ready();

  return { app, close: async () => app.close() };
}

const orquestra = new Orquestra({
  httpServer: async () => {
    const { app, close } = await createApp();
    const adapter = new OrquestraAdapterFastify(app);
    adapter.setCloseHandler(close);
    return adapter;
  },
});

beforeAll(() => orquestra.start());
afterAll(() => orquestra.teardown());

test('GET /', async () => {
  const res = await orquestra.http.get('/');
  expect(res.status).toBe(200);
  expect(res.body).toEqual({ ok: true });
});
```

---

## Notes
- The Fastify server must be fully initialized (`await app.ready()`) before creating the adapter.
- Use `adapter.setCloseHandler(async () => app.close())` for graceful teardown.
- Pre-request hooks can be added via `orquestra.get(OrquestraHttpServer).addPreRequestHook(...)`.