@gojinko/plugin 2.0.0 → 2.1.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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "jinko",
3
3
  "description": "Search flights, book trips, and manage bookings with the Jinko Travel API. Connects to the Jinko MCP server for live flight pricing, trip management, and payment.",
4
- "version": "2.0.0",
4
+ "version": "2.1.1",
5
5
  "author": {
6
6
  "name": "Jinko",
7
7
  "url": "https://gojinko.com"
8
8
  },
9
- "homepage": "https://builders.gojinko.com",
9
+ "homepage": "https://gojinko.com",
10
10
  "repository": "https://github.com/gojinko/jinko-dev-tools",
11
11
  "license": "MIT",
12
12
  "keywords": [
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "jinko",
3
3
  "description": "Search flights, book trips, and manage bookings with the Jinko Travel API. Connects to the Jinko MCP server for live flight pricing, trip management, and payment.",
4
- "version": "2.0.0",
4
+ "version": "2.1.1",
5
5
  "author": {
6
6
  "name": "Jinko",
7
7
  "url": "https://gojinko.com"
8
8
  },
9
- "homepage": "https://builders.gojinko.com",
9
+ "homepage": "https://gojinko.com",
10
10
  "repository": "https://github.com/gojinko/jinko-dev-tools",
11
11
  "license": "MIT",
12
12
  "keywords": [
package/README.md CHANGED
@@ -12,7 +12,7 @@ Plugin for **Claude Code** and **OpenAI Codex** that enables flight search, trip
12
12
 
13
13
  ### 1. Get an API key
14
14
 
15
- Sign up at [builders.gojinko.com](https://builders.gojinko.com) and create an API key from the dashboard.
15
+ Sign up at [gojinko.com/dashboard](https://gojinko.com/dashboard) and create an API key from the dashboard.
16
16
 
17
17
  ### 2. Set your API key
18
18
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@gojinko/plugin",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
4
4
  "description": "Jinko Travel plugin for Claude Code and OpenAI Codex — flight search, booking, and trip management via MCP",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "author": "Jinko <dev@gojinko.com>",
8
- "homepage": "https://builders.gojinko.com",
8
+ "homepage": "https://gojinko.com",
9
9
  "repository": {
10
10
  "type": "git",
11
11
  "url": "https://github.com/gojinko/jinko-dev-tools",
@@ -5,13 +5,13 @@ description: Set up and manage your Jinko developer account — registration, AP
5
5
 
6
6
  # Developer Account
7
7
 
8
- Manage your Jinko developer account via the [Jinko Builders Dashboard](https://builders.gojinko.com).
8
+ Manage your Jinko developer account via the [Jinko Dashboard](https://gojinko.com/dashboard).
9
9
 
10
10
  Account management is handled through the web dashboard — there are no MCP tools for account operations. Guide the user to the dashboard for any account-related tasks.
11
11
 
12
12
  ## Getting started
13
13
 
14
- 1. **Register** — go to [builders.gojinko.com](https://builders.gojinko.com) and sign up with your email.
14
+ 1. **Register** — go to [gojinko.com/dashboard](https://gojinko.com/dashboard) and sign up with your email.
15
15
  2. **Create an API key** — in the dashboard, go to API Keys and create a new key. The full key (prefixed `jnk_`) is shown only once — save it immediately.
16
16
  3. **Set your key** — configure your environment:
17
17
  - CLI: `jinko auth login` (OAuth) or set `JINKO_API_KEY=jnk_...`
@@ -135,5 +135,5 @@ jinko refund status --ref JNK-A7B3X9 --last-name Doe
135
135
  ## See also
136
136
 
137
137
  - MCP-tool equivalents: sibling skills `search-flights`, `search-hotels`, `book-trip`, `manage-booking`
138
- - API docs: `https://builders.gojinko.com/docs`
138
+ - API docs: `https://docs.gojinko.com`
139
139
  - Source: `packages/cli/src/commands/` in the `jinko-dev-tools` repo
@@ -12,7 +12,8 @@ You have access to Jinko MCP tools for flight discovery. Pick the right one base
12
12
  | User intent | Tool to use |
13
13
  |-----------|-------------|
14
14
  | Nothing in mind — wants inspiration | `find_destination` |
15
- | Route known, flexible on dates | `flight_calendar` |
15
+ | Route known, flexible on dates — wants the full price-per-date list | `flight_calendar` |
16
+ | Route known, flexible on dates — wants a short curated spread of date options ("when should I fly?") | `find_dates` |
16
17
  | Route + exact dates, wants live pricing + bookable token | `flight_search` (see the `book-trip` skill) |
17
18
  | Route + exact dates, **wants to track price over time** | `price_monitoring` |
18
19
 
@@ -56,6 +57,18 @@ Show cheapest prices across a date range for a specific route. Great for "what's
56
57
 
57
58
  **Response:** List of dates with `price`, `offer_token`, `airline`, `stops`. Includes `cheapest` entry.
58
59
 
60
+ ## find_dates
61
+
62
+ Answers "when should I fly?" — takes the **same params as `flight_calendar`** and returns up to **10 cheapest itineraries, one per (departure, return) date-pair, spread across the requested departure window** (so you get a diverse set of date options instead of ten near-adjacent cheapest days). **Cache-only** — never live-prices.
63
+
64
+ **Required params:** same as `flight_calendar` (`origins`, `destinations`, `trip_type`, departure window via `departure_date_ranges`).
65
+
66
+ **Optional params:** `return_date_ranges` / `stay_days` (roundtrip), `direct_only`, `cabin_class`, `currency`.
67
+
68
+ **Response:** up to 10 full itineraries (same shape as `flight_calendar`), in chronological order — each the cheapest for its date-pair.
69
+
70
+ **flight_calendar vs find_dates:** use `flight_calendar` for the full price-per-date grid; use `find_dates` when you want a short, spread-out shortlist of the best date options to fly.
71
+
59
72
  ## find_flight (legacy — prefer flight_search)
60
73
 
61
74
  Cached flight search by route + dates. Still callable for backwards compatibility with older ChatGPT App versions, but not recommended for new integrations. Use `flight_search` (in the `book-trip` skill) for the same inputs plus live pricing + a bookable `trip_item_token` in one step.