open-index/open-npm huggingface dataset:
npm package: @kaonis/woly-client
Description: Generated TypeScript API clients for WoLy C&C and node-agent APIs
Latest version: 0.1.0

# @kaonis/woly-client

Generated TypeScript API clients for:

- WoLy C&C API (`openapi/cnc.json`)
- WoLy node-agent API (`openapi/node-agent.json`)

## Build

From repository root:

```bash
npm run build -w packages/woly-client
```

`build` performs all generation steps:

1. Export OpenAPI specs from `apps/cnc` and `apps/node-agent`.
2. Regenerate client sources under `src/generated`.
3. Compile TypeScript to `dist`.

## Usage

```ts
import { CncApi, NodeAgentApi } from '@kaonis/woly-client';

CncApi.OpenAPI.BASE = 'http://localhost:8080';
NodeAgentApi.OpenAPI.BASE = 'http://localhost:8082';

const capabilities = await CncApi.MetaService.getApiCapabilities();
const health = await NodeAgentApi.HealthService.getHealth();
```