# plugin-shop

`@fayz-ai/plugin-shop` · preview · Capability parcial

Every vertical eventually wants to sell something. A salon sells retail product, a restaurant sells gift cards, a clinic sells packages. plugin-shop is the e-commerce admin surface that snaps into that need — a catalog, orders, customers, and discounts — without making you rebuild Shopify from scratch.

## Ficha técnica

- **Pacote:** `@fayz-ai/plugin-shop`
- **Versão:** 0.2.5
- **Status:** preview
- **Capability:** Capability parcial
- **Tipo de produto:** E-commerce
- **Canal stable:** `^0.2.5`
- **Migrations:** nenhuma
- **Factory:** `createShopPlugin()`

## Modelo de dados

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

## Tools de IA

| id | modo | descrição |
| --- | --- | --- |
| `shop.list-products` | read | Lists products in the shop catalog. |
| `shop.list-orders` | read | Lists recent shop orders. |

## 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": "shop", "enabled": true } ] } } }
```

```bash
npx fayz doctor
```
