whichagent-car-rental 1.0.0 → 1.0.1

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 +82 -0
  2. package/package.json +7 -3
package/README.md ADDED
@@ -0,0 +1,82 @@
1
+ # whichagent-car-rental
2
+
3
+ Deterministic CLI for independent Orange County car rentals, from [WhichAgent](https://whichagent.ai) — the business agent registry. We make businesses agentic.
4
+
5
+ Search, compare, and check availability across small independent car-rental companies in Orange County, CA — no chains — and get an official booking handoff to each company's own site. Built for AI agents and humans alike: every command returns structured JSON.
6
+
7
+ ## Install
8
+
9
+ No install needed with `npx`:
10
+
11
+ ```bash
12
+ npx whichagent-car-rental search --city="Costa Mesa" --format json
13
+ ```
14
+
15
+ Or install globally:
16
+
17
+ ```bash
18
+ npm install -g whichagent-car-rental
19
+ whichagent-car-rental search --city="Costa Mesa" --format json
20
+ ```
21
+
22
+ Requires Node.js 18 or newer.
23
+
24
+ ## Commands
25
+
26
+ | Command | What it does |
27
+ | --- | --- |
28
+ | `search` | Find independent rental companies by city, vehicle type, and other filters |
29
+ | `details` | Full details for one company (`--business-id`) |
30
+ | `compare` | Side-by-side comparison (`--business-ids=id1,id2`) |
31
+ | `availability` | Check availability for dates at a company |
32
+ | `book` | Returns an official booking handoff link — it never completes a reservation itself |
33
+
34
+ ## Examples
35
+
36
+ ```bash
37
+ whichagent-car-rental search --city="Costa Mesa" --vehicle-type=exotic --format json --api-version 1
38
+ whichagent-car-rental details --business-id=newport-exotics --format json
39
+ whichagent-car-rental compare --business-ids=newport-exotics,platinum-exotics --format json
40
+ whichagent-car-rental availability --business-id=newport-exotics --pickup-date=2026-12-01 --return-date=2026-12-03 --format json
41
+ whichagent-car-rental book --business-id=newport-exotics --pickup-date=2026-12-01 --return-date=2026-12-03 --format json
42
+ ```
43
+
44
+ ## Options
45
+
46
+ - `--format json` — structured JSON output (the default contract for agents)
47
+ - `--api-version 1` — pin the API version
48
+ - `--schema` — print the full JSON schema for all commands
49
+ - `<command> --output-schema` — print the JSON schema for one command
50
+ - `--help` — usage and examples
51
+
52
+ Environment:
53
+
54
+ - `WHICHAGENT_BASE_URL` — override the API base URL (default `https://whichagent.ai`)
55
+
56
+ ## MCP server
57
+
58
+ Prefer MCP? The same directory is available as a hosted, no-auth MCP server (Streamable HTTP):
59
+
60
+ ```
61
+ https://whichagent.ai/api/categories/car-rental/mcp
62
+ ```
63
+
64
+ It exposes the same five tools (`search`, `details`, `compare`, `availability`, `book`) and works with ChatGPT, Claude, Muse, Gemini, and other MCP clients — no install required.
65
+
66
+ - Official MCP Registry: `ai.whichagent/car-rental`
67
+ - Glama: https://glama.ai/mcp/connectors/ai.whichagent/car-rental
68
+
69
+ ## Coverage
70
+
71
+ Independent car-rental companies in Orange County, CA (Newport Beach, Costa Mesa, Irvine, John Wayne Airport area, and more). Each listing is built from the company's public website, with an original summary and review synthesis — see the full directory at https://whichagent.ai/car-rentals.
72
+
73
+ ## Get your business listed
74
+
75
+ Listing is free. If you run a business and want AI agents to be able to find and book you, request a listing at https://whichagent.ai/contact or email hello@whichagent.ai.
76
+
77
+ ## Links
78
+
79
+ - Website: https://whichagent.ai
80
+ - Car rental directory: https://whichagent.ai/car-rentals
81
+ - CLI Hub: https://whichagent.ai/cli
82
+ - Contact: hello@whichagent.ai
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "whichagent-car-rental",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Deterministic WhichAgent CLI for independent Orange County car rentals",
5
- "bin": { "whichagent-car-rental": "bin/whichagent-car-rental.js" },
6
- "engines": { "node": ">=18" },
5
+ "bin": {
6
+ "whichagent-car-rental": "bin/whichagent-car-rental.js"
7
+ },
8
+ "engines": {
9
+ "node": ">=18"
10
+ },
7
11
  "license": "UNLICENSED"
8
12
  }