# plugin-tables

`@fayz-ai/plugin-tables` · beta · Capability parcial

Restaurants don't run on records — they run on the room. plugin-tables gives the food vertical a real floor plan: zones, tables, and live status (available, occupied, reserved, cleaning), with seat and close flows wired to your own backend. It's the difference between a generic CRM and software a host can actually work a Friday night on.

## Ficha técnica

- **Pacote:** `@fayz-ai/plugin-tables`
- **Versão:** 0.3.0
- **Status:** beta
- **Capability:** Capability parcial
- **Tipo de produto:** Restaurante / food
- **Canal stable:** `^0.3.0`
- **Migrations:** nenhuma
- **Factory:** `createTablesPlugin()`

## Modelo de dados

Sem tabelas próprias — usa a biblioteca core / archetype (mesma regra: `tenant_id` + RLS).

## Tools de IA

| id | modo | descrição |
| --- | --- | --- |
| `tables.availability` | read | Returns which tables are available, occupied, reserved, or being cleaned. |
| `tables.seat-guests` | persist | Seats guests at a specific table. |

## Integrações

Sem conector hospedado — provedores externos via spine de conectores (`@fayz-ai/core`).

## Integrar

Adicione o plugin em `surfaces.admin.plugins` do `app.manifest.json` e rode o doctor:

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

```bash
npx fayz doctor
```
