@busca-agentes/next 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,10 +1,12 @@
1
1
  # @busca-agentes/next
2
2
 
3
- Next.js App Router helpers for **Busca para Agentes**: a `/.well-known/search` endpoint for AI agents (GET/HEAD/QUERY, Markdown results) plus the `agent:*` discovery meta tags. Missing `q` returns HTTP 400 with `code`/`how_to_fix` (JSON if `Accept` prefers `application/json`). Easiest setup: `npx busca-agentes init --origin https://your-site.com --email you@your-site.com`.
3
+ Next.js App Router helpers for **Busca para Agentes**: a `/.well-known/search` endpoint compatible with [Cloudflare's Search for Agents endpoint](https://developers.cloudflare.com/ai-search/how-to/search-for-agents/). GET/HEAD/QUERY, Markdown results, `agent:*` discovery tags. Missing `q` returns HTTP 400 with `code`/`how_to_fix` (JSON if `Accept` prefers `application/json`).
4
+
5
+ Easiest setup: `npx busca-agentes init --origin https://your-site.com --email you@your-site.com`
4
6
 
5
7
  Env: `BUSCA_AGENTES_API_KEY` (required), `BUSCA_AGENTES_API_URL` (default https://api.busca-agentes.com).
6
8
 
7
- Pricing: 1,000 free queries per site per month, then US$ 0.75 per 1,000 (Stripe, USD). Pix in BRL is available for Brazil.
9
+ Pricing: 1,000 free queries per site per month, then US$ 0.75 per 1,000 (Stripe, USD, card).
8
10
 
9
11
  ```ts
10
12
  // app/.well-known/search/route.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@busca-agentes/next",
3
- "version": "0.1.5",
4
- "description": "Next.js App Router helpers for /.well-known/search (Search for Agents)",
3
+ "version": "0.1.7",
4
+ "description": "Next.js App Router helpers for /.well-known/search, compatible with Cloudflare Search for Agents",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@busca-agentes/core": "0.1.1"
24
+ "@busca-agentes/core": "^0.1.2"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "next": ">=14",