fortrip 3.1.0 → 3.2.0
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.
|
@@ -16088,7 +16088,7 @@ var TOOLS = [
|
|
|
16088
16088
|
{
|
|
16089
16089
|
name: "get_hotel_offers",
|
|
16090
16090
|
title: "Get live hotel offers",
|
|
16091
|
-
description: `Live, bookable offers for up to ${LIMITS.offersHotels} hotels and one stay. Every room in stay.rooms must have the same party: for different parties, call once per party. Each offer has the room, the meals included, price.total in USD for the whole stay and every room (what is charged), fees payable at the property, the cancellation terms with times in UTC and the hotel's time zone, the confirmation mode, and an offerId for book_hotel that expires at expiresAt. Hotels with nothing to offer are listed under unavailable with the reason. Up to limitPerHotel offers per hotel, default ${LIMITS.offersPerHotelDefault}, cheapest first.`,
|
|
16091
|
+
description: `Live, bookable offers for up to ${LIMITS.offersHotels} hotels and one stay. Every room in stay.rooms must have the same party: for different parties, call once per party. Each offer has the room, the meals included, price.total in USD for the whole stay and every room (what is charged), fees payable at the property, the cancellation terms with times in UTC and the hotel's time zone, the confirmation mode, and an offerId for book_hotel that expires at expiresAt. Hotels with nothing to offer are listed under unavailable with the reason. Up to limitPerHotel offers per hotel, default ${LIMITS.offersPerHotelDefault}, chosen for a spread of choices in this order while room remains: the cheapest offer, the cheapest that can be cancelled free, the cheapest with breakfast, the cheapest of each other room, then the rest by price; listed cheapest first.`,
|
|
16092
16092
|
annotations: READ,
|
|
16093
16093
|
input: hotelOffersInput,
|
|
16094
16094
|
output: hotelOffersResult
|
|
@@ -16431,7 +16431,7 @@ function offerLine(o) {
|
|
|
16431
16431
|
var OMITTED = {
|
|
16432
16432
|
byNationality: "restricted by nationality",
|
|
16433
16433
|
byFilters: "removed by the filters",
|
|
16434
|
-
dominated: "beaten by another offer for the same room",
|
|
16434
|
+
dominated: "beaten by or the same as another offer for the same room",
|
|
16435
16435
|
unreadable: "unreadable"
|
|
16436
16436
|
};
|
|
16437
16437
|
function limitText(o) {
|
|
@@ -17031,7 +17031,7 @@ ${ORDER_NEXT_STEP}` : text2;
|
|
|
17031
17031
|
// ../contract/package.json
|
|
17032
17032
|
var package_default = {
|
|
17033
17033
|
name: "@fortrip/agent-contract",
|
|
17034
|
-
version: "3.
|
|
17034
|
+
version: "3.2.0",
|
|
17035
17035
|
license: "Apache-2.0",
|
|
17036
17036
|
description: "The contract of Fortrip's agent API (https://api.fortrip.ai/v1) and its MCP server: limits, paths, request and response schemas, error codes and field rules.",
|
|
17037
17037
|
type: "module",
|
package/dist/cli.js
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
unwrap,
|
|
26
26
|
usageError,
|
|
27
27
|
whoami
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-A2DBZWUA.js";
|
|
29
29
|
|
|
30
30
|
// src/commands.ts
|
|
31
31
|
import { readFileSync } from "fs";
|
|
@@ -520,7 +520,7 @@ async function run(argv) {
|
|
|
520
520
|
case "mcp": {
|
|
521
521
|
parseOptions(spec, rest);
|
|
522
522
|
const mcpUrl = resolveMcpUrl(apiUrl);
|
|
523
|
-
const { runMcpBridge } = await import("./mcp-bridge-
|
|
523
|
+
const { runMcpBridge } = await import("./mcp-bridge-GALDBECE.js");
|
|
524
524
|
await runMcpBridge(mcpUrl, apiUrl);
|
|
525
525
|
return void 0;
|
|
526
526
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fortrip",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Search, price and book Fortrip hotels from the terminal or an AI agent.",
|
|
6
6
|
"mcpName": "io.github.FortripEngineering/fortrip",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"tsx": "^4.20.0",
|
|
33
33
|
"typescript": "^5.9.0",
|
|
34
34
|
"zod": "4.4.3",
|
|
35
|
-
"@fortrip/agent-contract": "3.
|
|
35
|
+
"@fortrip/agent-contract": "3.2.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsup",
|