# plugin-reports

`@fayz-ai/plugin-reports` · preview · Partial capability

Every business eventually asks the same thing: "show me the numbers." plugin-reports answers it without a BI bolt-on. You declare reports as data — columns, filters, date ranges, badges, and a data source — and the plugin renders a searchable report hub plus a filterable, exportable viewer. No per-report UI, no copy-pasted tables.

## Specs

- **Package:** `@fayz-ai/plugin-reports`
- **Version:** 0.2.0
- **Status:** preview
- **Capability:** Partial capability
- **Product type:** Management (Admin/SaaS)
- **Stable channel:** `^0.2.0`
- **Migrations:** none
- **Factory:** `createReportsPlugin()`

## Data model

No tables of its own — this plugin uses the core / archetype library (same rule: tenant_id + RLS)..

## AI tools

This plugin declares no AI tools.

## Integrations

No hosted connector — external providers come in via the connector spine (`@fayz-ai/core`).

## Integrate

Add the plugin to surfaces.admin.plugins in your app's app.manifest.json and run the doctor to validate:

```json
{ "surfaces": { "admin": { "plugins": [ { "id": "reports", "enabled": true } ] } } }
```

```bash
npx fayz doctor
```
