@curless/hotel-storefront 0.85.0 → 0.87.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.
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/dist/tools/accept-terms.d.ts +4 -0
- package/dist/tools/accept-terms.d.ts.map +1 -0
- package/dist/tools/accept-terms.js +26 -0
- package/dist/tools/accept-terms.js.map +1 -0
- package/dist/tools/add-booking-addon.d.ts +4 -0
- package/dist/tools/add-booking-addon.d.ts.map +1 -0
- package/dist/tools/add-booking-addon.js +44 -0
- package/dist/tools/add-booking-addon.js.map +1 -0
- package/dist/tools/add-to-trip.d.ts +4 -0
- package/dist/tools/add-to-trip.d.ts.map +1 -0
- package/dist/tools/add-to-trip.js +49 -0
- package/dist/tools/add-to-trip.js.map +1 -0
- package/dist/tools/all-tools.d.ts +19124 -0
- package/dist/tools/all-tools.d.ts.map +1 -0
- package/dist/tools/all-tools.js +43 -0
- package/dist/tools/all-tools.js.map +1 -0
- package/dist/tools/answer.d.ts +3 -0
- package/dist/tools/answer.d.ts.map +1 -0
- package/dist/tools/answer.js +104 -0
- package/dist/tools/answer.js.map +1 -0
- package/dist/tools/args.d.ts +149 -0
- package/dist/tools/args.d.ts.map +1 -0
- package/dist/tools/args.js +176 -0
- package/dist/tools/args.js.map +1 -0
- package/dist/tools/base-output-schemas.d.ts +3 -0
- package/dist/tools/base-output-schemas.d.ts.map +1 -0
- package/dist/tools/base-output-schemas.js +396 -0
- package/dist/tools/base-output-schemas.js.map +1 -0
- package/dist/tools/book-picked.d.ts +4 -0
- package/dist/tools/book-picked.d.ts.map +1 -0
- package/dist/tools/book-picked.js +14 -0
- package/dist/tools/book-picked.js.map +1 -0
- package/dist/tools/booking-answer.d.ts +24 -0
- package/dist/tools/booking-answer.d.ts.map +1 -0
- package/dist/tools/booking-answer.js +567 -0
- package/dist/tools/booking-answer.js.map +1 -0
- package/dist/tools/buy-shop-item.d.ts +4 -0
- package/dist/tools/buy-shop-item.d.ts.map +1 -0
- package/dist/tools/buy-shop-item.js +45 -0
- package/dist/tools/buy-shop-item.js.map +1 -0
- package/dist/tools/call.d.ts +11 -0
- package/dist/tools/call.d.ts.map +1 -0
- package/dist/tools/call.js +2 -0
- package/dist/tools/call.js.map +1 -0
- package/dist/tools/cancel-facts.d.ts +281 -0
- package/dist/tools/cancel-facts.d.ts.map +1 -0
- package/dist/tools/cancel-facts.js +309 -0
- package/dist/tools/cancel-facts.js.map +1 -0
- package/dist/tools/cancel.d.ts +4 -0
- package/dist/tools/cancel.d.ts.map +1 -0
- package/dist/tools/cancel.js +415 -0
- package/dist/tools/cancel.js.map +1 -0
- package/dist/tools/capability-adjust.d.ts +31 -0
- package/dist/tools/capability-adjust.d.ts.map +1 -0
- package/dist/tools/capability-adjust.js +299 -0
- package/dist/tools/capability-adjust.js.map +1 -0
- package/dist/tools/card-addons.d.ts +4 -0
- package/dist/tools/card-addons.d.ts.map +1 -0
- package/dist/tools/card-addons.js +76 -0
- package/dist/tools/card-addons.js.map +1 -0
- package/dist/tools/change-booking.d.ts +4 -0
- package/dist/tools/change-booking.d.ts.map +1 -0
- package/dist/tools/change-booking.js +145 -0
- package/dist/tools/change-booking.js.map +1 -0
- package/dist/tools/clear-trip.d.ts +4 -0
- package/dist/tools/clear-trip.d.ts.map +1 -0
- package/dist/tools/clear-trip.js +10 -0
- package/dist/tools/clear-trip.js.map +1 -0
- package/dist/tools/compare.d.ts +4 -0
- package/dist/tools/compare.d.ts.map +1 -0
- package/dist/tools/compare.js +114 -0
- package/dist/tools/compare.js.map +1 -0
- package/dist/tools/current-trip.d.ts +70 -0
- package/dist/tools/current-trip.d.ts.map +1 -0
- package/dist/tools/current-trip.js +269 -0
- package/dist/tools/current-trip.js.map +1 -0
- package/dist/tools/deps.d.ts +229 -0
- package/dist/tools/deps.d.ts.map +1 -0
- package/dist/tools/deps.js +2 -0
- package/dist/tools/deps.js.map +1 -0
- package/dist/tools/follow-ups.d.ts +120 -0
- package/dist/tools/follow-ups.d.ts.map +1 -0
- package/dist/tools/follow-ups.js +369 -0
- package/dist/tools/follow-ups.js.map +1 -0
- package/dist/tools/forget-preferences.d.ts +4 -0
- package/dist/tools/forget-preferences.d.ts.map +1 -0
- package/dist/tools/forget-preferences.js +24 -0
- package/dist/tools/forget-preferences.js.map +1 -0
- package/dist/tools/get-hotel.d.ts +4 -0
- package/dist/tools/get-hotel.d.ts.map +1 -0
- package/dist/tools/get-hotel.js +350 -0
- package/dist/tools/get-hotel.js.map +1 -0
- package/dist/tools/hotel-choices.d.ts +132 -0
- package/dist/tools/hotel-choices.d.ts.map +1 -0
- package/dist/tools/hotel-choices.js +587 -0
- package/dist/tools/hotel-choices.js.map +1 -0
- package/dist/tools/itinerary.d.ts +4 -0
- package/dist/tools/itinerary.d.ts.map +1 -0
- package/dist/tools/itinerary.js +158 -0
- package/dist/tools/itinerary.js.map +1 -0
- package/dist/tools/list-booking-addons.d.ts +4 -0
- package/dist/tools/list-booking-addons.d.ts.map +1 -0
- package/dist/tools/list-booking-addons.js +21 -0
- package/dist/tools/list-booking-addons.js.map +1 -0
- package/dist/tools/list-bookings.d.ts +4 -0
- package/dist/tools/list-bookings.d.ts.map +1 -0
- package/dist/tools/list-bookings.js +119 -0
- package/dist/tools/list-bookings.js.map +1 -0
- package/dist/tools/list-extras.d.ts +4 -0
- package/dist/tools/list-extras.d.ts.map +1 -0
- package/dist/tools/list-extras.js +90 -0
- package/dist/tools/list-extras.js.map +1 -0
- package/dist/tools/list-hotels-ask.d.ts +133 -0
- package/dist/tools/list-hotels-ask.d.ts.map +1 -0
- package/dist/tools/list-hotels-ask.js +326 -0
- package/dist/tools/list-hotels-ask.js.map +1 -0
- package/dist/tools/list-hotels-empty.d.ts +5 -0
- package/dist/tools/list-hotels-empty.d.ts.map +1 -0
- package/dist/tools/list-hotels-empty.js +130 -0
- package/dist/tools/list-hotels-empty.js.map +1 -0
- package/dist/tools/list-hotels-home.d.ts +9 -0
- package/dist/tools/list-hotels-home.d.ts.map +1 -0
- package/dist/tools/list-hotels-home.js +181 -0
- package/dist/tools/list-hotels-home.js.map +1 -0
- package/dist/tools/list-hotels-page.d.ts +43 -0
- package/dist/tools/list-hotels-page.d.ts.map +1 -0
- package/dist/tools/list-hotels-page.js +344 -0
- package/dist/tools/list-hotels-page.js.map +1 -0
- package/dist/tools/list-hotels.d.ts +4 -0
- package/dist/tools/list-hotels.d.ts.map +1 -0
- package/dist/tools/list-hotels.js +24 -0
- package/dist/tools/list-hotels.js.map +1 -0
- package/dist/tools/list-shop-items.d.ts +4 -0
- package/dist/tools/list-shop-items.d.ts.map +1 -0
- package/dist/tools/list-shop-items.js +34 -0
- package/dist/tools/list-shop-items.js.map +1 -0
- package/dist/tools/list-shop-orders.d.ts +4 -0
- package/dist/tools/list-shop-orders.d.ts.map +1 -0
- package/dist/tools/list-shop-orders.js +22 -0
- package/dist/tools/list-shop-orders.js.map +1 -0
- package/dist/tools/look-up.d.ts +4 -0
- package/dist/tools/look-up.d.ts.map +1 -0
- package/dist/tools/look-up.js +207 -0
- package/dist/tools/look-up.js.map +1 -0
- package/dist/tools/output-schemas.d.ts +645 -0
- package/dist/tools/output-schemas.d.ts.map +1 -0
- package/dist/tools/output-schemas.js +503 -0
- package/dist/tools/output-schemas.js.map +1 -0
- package/dist/tools/paid-lines.d.ts +718 -0
- package/dist/tools/paid-lines.d.ts.map +1 -0
- package/dist/tools/paid-lines.js +359 -0
- package/dist/tools/paid-lines.js.map +1 -0
- package/dist/tools/pay-with-union-pay.d.ts +4 -0
- package/dist/tools/pay-with-union-pay.d.ts.map +1 -0
- package/dist/tools/pay-with-union-pay.js +112 -0
- package/dist/tools/pay-with-union-pay.js.map +1 -0
- package/dist/tools/payment-words.d.ts +269 -0
- package/dist/tools/payment-words.d.ts.map +1 -0
- package/dist/tools/payment-words.js +365 -0
- package/dist/tools/payment-words.js.map +1 -0
- package/dist/tools/pick-room.d.ts +4 -0
- package/dist/tools/pick-room.d.ts.map +1 -0
- package/dist/tools/pick-room.js +23 -0
- package/dist/tools/pick-room.js.map +1 -0
- package/dist/tools/policies.d.ts +4 -0
- package/dist/tools/policies.d.ts.map +1 -0
- package/dist/tools/policies.js +74 -0
- package/dist/tools/policies.js.map +1 -0
- package/dist/tools/pricing.d.ts +55 -0
- package/dist/tools/pricing.d.ts.map +1 -0
- package/dist/tools/pricing.js +260 -0
- package/dist/tools/pricing.js.map +1 -0
- package/dist/tools/put-room-line.d.ts +12 -0
- package/dist/tools/put-room-line.d.ts.map +1 -0
- package/dist/tools/put-room-line.js +347 -0
- package/dist/tools/put-room-line.js.map +1 -0
- package/dist/tools/quote-card.d.ts +234 -0
- package/dist/tools/quote-card.d.ts.map +1 -0
- package/dist/tools/quote-card.js +375 -0
- package/dist/tools/quote-card.js.map +1 -0
- package/dist/tools/refund-booking.d.ts +4 -0
- package/dist/tools/refund-booking.d.ts.map +1 -0
- package/dist/tools/refund-booking.js +112 -0
- package/dist/tools/refund-booking.js.map +1 -0
- package/dist/tools/request-booking.d.ts +4 -0
- package/dist/tools/request-booking.d.ts.map +1 -0
- package/dist/tools/request-booking.js +5 -0
- package/dist/tools/request-booking.js.map +1 -0
- package/dist/tools/request-words.d.ts +238 -0
- package/dist/tools/request-words.d.ts.map +1 -0
- package/dist/tools/request-words.js +487 -0
- package/dist/tools/request-words.js.map +1 -0
- package/dist/tools/room-choices.d.ts +64 -0
- package/dist/tools/room-choices.d.ts.map +1 -0
- package/dist/tools/room-choices.js +374 -0
- package/dist/tools/room-choices.js.map +1 -0
- package/dist/tools/session-notes.d.ts +164 -0
- package/dist/tools/session-notes.d.ts.map +1 -0
- package/dist/tools/session-notes.js +412 -0
- package/dist/tools/session-notes.js.map +1 -0
- package/dist/tools/sign-in.d.ts +4 -0
- package/dist/tools/sign-in.d.ts.map +1 -0
- package/dist/tools/sign-in.js +72 -0
- package/dist/tools/sign-in.js.map +1 -0
- package/dist/tools/sign-out.d.ts +4 -0
- package/dist/tools/sign-out.d.ts.map +1 -0
- package/dist/tools/sign-out.js +13 -0
- package/dist/tools/sign-out.js.map +1 -0
- package/dist/tools/terms-answer.d.ts +114 -0
- package/dist/tools/terms-answer.d.ts.map +1 -0
- package/dist/tools/terms-answer.js +492 -0
- package/dist/tools/terms-answer.js.map +1 -0
- package/dist/tools/tool-defs-account.d.ts +80 -0
- package/dist/tools/tool-defs-account.d.ts.map +1 -0
- package/dist/tools/tool-defs-account.js +65 -0
- package/dist/tools/tool-defs-account.js.map +1 -0
- package/dist/tools/tool-defs-addons.d.ts +251 -0
- package/dist/tools/tool-defs-addons.d.ts.map +1 -0
- package/dist/tools/tool-defs-addons.js +198 -0
- package/dist/tools/tool-defs-addons.js.map +1 -0
- package/dist/tools/tool-defs-booking.d.ts +410 -0
- package/dist/tools/tool-defs-booking.d.ts.map +1 -0
- package/dist/tools/tool-defs-booking.js +285 -0
- package/dist/tools/tool-defs-booking.js.map +1 -0
- package/dist/tools/tool-defs-browse.d.ts +444 -0
- package/dist/tools/tool-defs-browse.d.ts.map +1 -0
- package/dist/tools/tool-defs-browse.js +307 -0
- package/dist/tools/tool-defs-browse.js.map +1 -0
- package/dist/tools/tool-defs-trip.d.ts +136 -0
- package/dist/tools/tool-defs-trip.d.ts.map +1 -0
- package/dist/tools/tool-defs-trip.js +79 -0
- package/dist/tools/tool-defs-trip.js.map +1 -0
- package/dist/tools/tool-env.d.ts +64 -0
- package/dist/tools/tool-env.d.ts.map +1 -0
- package/dist/tools/tool-env.js +49 -0
- package/dist/tools/tool-env.js.map +1 -0
- package/dist/tools/tool-set.d.ts +1425 -0
- package/dist/tools/tool-set.d.ts.map +1 -0
- package/dist/tools/tool-set.js +244 -0
- package/dist/tools/tool-set.js.map +1 -0
- package/dist/tools/view-trip.d.ts +4 -0
- package/dist/tools/view-trip.d.ts.map +1 -0
- package/dist/tools/view-trip.js +7 -0
- package/dist/tools/view-trip.js.map +1 -0
- package/dist/tools.d.ts +13 -2089
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +11 -10685
- package/dist/tools.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terms-answer.js","sourceRoot":"","sources":["../../src/tools/terms-answer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAUjD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,cAAc,EACd,MAAM,EACN,aAAa,EACb,UAAU,EACV,YAAY,EACZ,cAAc,EACd,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,eAAe,CAAC;AAE9C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,qBAAqB,CAAC;AAE1D;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;AAC5D;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAEtD,0GAA0G;AAC1G,MA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zF,CAAC,CAAC,6GAA6G,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { ToolEnv } from './tool-env.js';
|
|
2
|
+
export declare const signInTool: ({ n, v, open }: ToolEnv) => {
|
|
3
|
+
readonly name: `sign_in_${string}member`;
|
|
4
|
+
readonly description: `Signs ${string} loyalty member in (log in) for this conversation - ${string} \u4F1A\u5458\u767B\u5F55 - on ${string}'s own sign-in page: answers with a one-time link and a short code the page shows too, where the guest types their membership number and the surname on it; the chat does not carry them. Once they have, it answers with their tier, their point balance and what the tier takes off the public rate; room rates and trip totals are then quoted at the member rate until they are signed out.`;
|
|
5
|
+
readonly annotations: {
|
|
6
|
+
readonly title: string;
|
|
7
|
+
readonly readOnlyHint: false;
|
|
8
|
+
readonly destructiveHint: false;
|
|
9
|
+
readonly idempotentHint: true;
|
|
10
|
+
readonly openWorldHint: boolean;
|
|
11
|
+
};
|
|
12
|
+
readonly inputSchema: {
|
|
13
|
+
readonly type: "object";
|
|
14
|
+
readonly properties: {
|
|
15
|
+
readonly lang: {
|
|
16
|
+
readonly type: "string";
|
|
17
|
+
readonly enum: readonly ["zh", "en"];
|
|
18
|
+
readonly description: "The language the page opens in: zh for a guest writing Chinese, en otherwise. The page has a switch.";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const memberCardTool: ({ n, v, open }: ToolEnv) => {
|
|
24
|
+
readonly name: `card_${string}member`;
|
|
25
|
+
readonly description: `The booking card's own way to start ${string} membership sign-in, or to see whether its page has been used yet - for the conversation the card was drawn for.`;
|
|
26
|
+
readonly annotations: {
|
|
27
|
+
readonly title: string;
|
|
28
|
+
readonly readOnlyHint: false;
|
|
29
|
+
readonly destructiveHint: false;
|
|
30
|
+
readonly idempotentHint: true;
|
|
31
|
+
readonly openWorldHint: boolean;
|
|
32
|
+
};
|
|
33
|
+
readonly inputSchema: {
|
|
34
|
+
readonly type: "object";
|
|
35
|
+
readonly properties: {
|
|
36
|
+
readonly action: {
|
|
37
|
+
readonly type: "string";
|
|
38
|
+
readonly enum: readonly ["sign_in", "view"];
|
|
39
|
+
readonly description: "sign_in: a new one-time sign-in page; view: whether this conversation is signed in yet";
|
|
40
|
+
};
|
|
41
|
+
readonly lang: {
|
|
42
|
+
readonly type: "string";
|
|
43
|
+
readonly enum: readonly ["zh", "en"];
|
|
44
|
+
readonly description: "The language the page opens in";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
readonly required: readonly ["action"];
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export declare const signOutTool: ({ n, v, open }: ToolEnv) => {
|
|
51
|
+
readonly name: `sign_out_${string}member`;
|
|
52
|
+
readonly description: "Ends the membership sign-in for this conversation. Rates go back to the public ones; the trip and any bookings are left as they are.";
|
|
53
|
+
readonly annotations: {
|
|
54
|
+
readonly title: string;
|
|
55
|
+
readonly readOnlyHint: false;
|
|
56
|
+
readonly destructiveHint: false;
|
|
57
|
+
readonly idempotentHint: true;
|
|
58
|
+
readonly openWorldHint: boolean;
|
|
59
|
+
};
|
|
60
|
+
readonly inputSchema: {
|
|
61
|
+
readonly type: "object";
|
|
62
|
+
readonly properties: {};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export declare const forgetPreferencesTool: ({ n, v, open }: ToolEnv) => {
|
|
66
|
+
readonly name: `forget_${string}preferences`;
|
|
67
|
+
readonly description: `Forgets the room preferences saved on the signed-in ${string} membership - a bed type, a floor, a quiet or connecting room. Bookings already made keep what they asked for.`;
|
|
68
|
+
readonly annotations: {
|
|
69
|
+
readonly title: "Forget my saved preferences";
|
|
70
|
+
readonly readOnlyHint: false;
|
|
71
|
+
readonly destructiveHint: true;
|
|
72
|
+
readonly idempotentHint: true;
|
|
73
|
+
readonly openWorldHint: boolean;
|
|
74
|
+
};
|
|
75
|
+
readonly inputSchema: {
|
|
76
|
+
readonly type: "object";
|
|
77
|
+
readonly properties: {};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=tool-defs-account.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-defs-account.d.ts","sourceRoot":"","sources":["../../src/tools/tool-defs-account.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAK7C,eAAO,MAAM,UAAU,GAAI,gBAAgB,OAAO;;;;;;;;;;;;;;;;;;;;CAsBrC,CAAC;AAEd,eAAO,MAAM,cAAc,GAAI,gBAAgB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBzC,CAAC;AAEd,eAAO,MAAM,WAAW,GAAI,gBAAgB,OAAO;;;;;;;;;;;;;;CAOtC,CAAC;AAEd,eAAO,MAAM,qBAAqB,GAAI,gBAAgB,OAAO;;;;;;;;;;;;;;CAYhD,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { aBrandOf } from '../vocab.js';
|
|
2
|
+
import { edits } from './tool-set.js';
|
|
3
|
+
// The tools of the member: signing in and out, the member card, what is kept.
|
|
4
|
+
export const signInTool = ({ n, v, open }) => ({
|
|
5
|
+
name: n.signIn,
|
|
6
|
+
// ⚠️ NOTHING ABOUT THE MEMBER IS ASKED FOR HERE (0.58.0, robin 11-06: 「我们
|
|
7
|
+
// 自己的登陆也要改成外链」): the membership number and the surname are typed
|
|
8
|
+
// on our page (account/member-login.ts), never in the chat - so no schema
|
|
9
|
+
// here has a field a model could fill with them.
|
|
10
|
+
// ⚠️ THE WORDS A GUEST SAYS FOR IT (总线程 11-09): a host that finds tools by
|
|
11
|
+
// searching them (Manus) has 「登录」 to search with.
|
|
12
|
+
description: `Signs ${aBrandOf(v)} loyalty member in (log in) for this conversation - ${v.brand} 会员登录 - on ${v.brand}'s own sign-in page: answers with a one-time link and a short code the page shows too, where the guest types their membership number and the surname on it; the chat does not carry them. Once they have, it answers with their tier, their point balance and what the tier takes off the public rate; room rates and trip totals are then quoted at the member rate until they are signed out.`,
|
|
13
|
+
annotations: edits(`Sign in to ${v.brand}`, open),
|
|
14
|
+
inputSchema: {
|
|
15
|
+
type: 'object',
|
|
16
|
+
properties: {
|
|
17
|
+
lang: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
enum: ['zh', 'en'],
|
|
20
|
+
description: 'The language the page opens in: zh for a guest writing Chinese, en otherwise. The page has a switch.',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
export const memberCardTool = ({ n, v, open }) => ({
|
|
26
|
+
name: n.memberCard,
|
|
27
|
+
// The card's own (app-only, server.ts): never offered to the assistant.
|
|
28
|
+
description: `The booking card's own way to start ${aBrandOf(v)} membership sign-in, or to see whether its page has been used yet - for the conversation the card was drawn for.`,
|
|
29
|
+
annotations: edits(`${v.brand} membership (card)`, open),
|
|
30
|
+
inputSchema: {
|
|
31
|
+
type: 'object',
|
|
32
|
+
properties: {
|
|
33
|
+
action: {
|
|
34
|
+
type: 'string',
|
|
35
|
+
enum: ['sign_in', 'view'],
|
|
36
|
+
description: 'sign_in: a new one-time sign-in page; view: whether this conversation is signed in yet',
|
|
37
|
+
},
|
|
38
|
+
lang: {
|
|
39
|
+
type: 'string',
|
|
40
|
+
enum: ['zh', 'en'],
|
|
41
|
+
description: 'The language the page opens in',
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
required: ['action'],
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
export const signOutTool = ({ n, v, open }) => ({
|
|
48
|
+
name: n.signOut,
|
|
49
|
+
description: 'Ends the membership sign-in for this conversation. Rates go back to the public ones; the trip and any bookings are left as they are.',
|
|
50
|
+
annotations: edits(`Sign out of ${v.brand}`, open),
|
|
51
|
+
inputSchema: { type: 'object', properties: {} },
|
|
52
|
+
});
|
|
53
|
+
export const forgetPreferencesTool = ({ n, v, open }) => ({
|
|
54
|
+
name: n.forgetPreferences,
|
|
55
|
+
description: `Forgets the room preferences saved on the signed-in ${v.brand} membership - a bed type, a floor, a quiet or connecting room. Bookings already made keep what they asked for.`,
|
|
56
|
+
annotations: {
|
|
57
|
+
title: 'Forget my saved preferences',
|
|
58
|
+
readOnlyHint: false,
|
|
59
|
+
destructiveHint: true,
|
|
60
|
+
idempotentHint: true,
|
|
61
|
+
openWorldHint: open,
|
|
62
|
+
},
|
|
63
|
+
inputSchema: { type: 'object', properties: {} },
|
|
64
|
+
});
|
|
65
|
+
//# sourceMappingURL=tool-defs-account.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-defs-account.js","sourceRoot":"","sources":["../../src/tools/tool-defs-account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,8EAA8E;AAE9E,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAW,EAAE,EAAE,CACpD,CAAC;IACC,IAAI,EAAE,CAAC,CAAC,MAAM;IACd,0EAA0E;IAC1E,iEAAiE;IACjE,0EAA0E;IAC1E,iDAAiD;IACjD,2EAA2E;IAC3E,kDAAkD;IAClD,WAAW,EAAE,SAAS,QAAQ,CAAC,CAAC,CAAC,uDAAuD,CAAC,CAAC,KAAK,cAAc,CAAC,CAAC,KAAK,iYAAiY;IACrf,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC;IACjD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;gBAClB,WAAW,EACT,sGAAsG;aACzG;SACF;KACF;CACF,CAAU,CAAC;AAEd,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC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,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,IAAI;KACpB;IACD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,EAAE;CAChD,CAAU,CAAC"}
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
import type { ToolEnv } from './tool-env.js';
|
|
2
|
+
export declare const listBookingAddonsTool: ({ n, open }: ToolEnv) => {
|
|
3
|
+
readonly name: `list_${string}booking_addons`;
|
|
4
|
+
readonly description: "What can be added to a booking made here after it was made - an airport transfer and the like - each with its id, name, price and the details it needs. Only a booking made here has any.";
|
|
5
|
+
readonly annotations: {
|
|
6
|
+
readonly title: string;
|
|
7
|
+
readonly readOnlyHint: true;
|
|
8
|
+
readonly destructiveHint: false;
|
|
9
|
+
readonly idempotentHint: true;
|
|
10
|
+
readonly openWorldHint: boolean;
|
|
11
|
+
};
|
|
12
|
+
readonly inputSchema: {
|
|
13
|
+
readonly type: "object";
|
|
14
|
+
readonly properties: {
|
|
15
|
+
readonly booking: {
|
|
16
|
+
readonly type: "string";
|
|
17
|
+
readonly description: "The confirmation code or order id, as the booking answer gave it";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
readonly required: readonly ["booking"];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const addBookingAddonTool: ({ n, open }: ToolEnv) => {
|
|
24
|
+
readonly name: `add_${string}booking_addon`;
|
|
25
|
+
readonly description: "Prepares adding one add-on to a booking made here, at the price the add-on list gave. It does NOT add it: the answer gives a one-time page address for the guest to open in the browser signed in to their account, where they see the add-on, the price, the total and the booking, and press confirm themselves. Pass that link on; never say the add-on was added until the guest has confirmed it and the booking says so. It checks the id, the details and the price again as it prepares, and refuses a booking that is not theirs or is over.";
|
|
26
|
+
readonly annotations: {
|
|
27
|
+
readonly title: string;
|
|
28
|
+
readonly readOnlyHint: false;
|
|
29
|
+
readonly destructiveHint: false;
|
|
30
|
+
readonly idempotentHint: false;
|
|
31
|
+
readonly openWorldHint: boolean;
|
|
32
|
+
};
|
|
33
|
+
readonly inputSchema: {
|
|
34
|
+
readonly type: "object";
|
|
35
|
+
readonly properties: {
|
|
36
|
+
readonly booking: {
|
|
37
|
+
readonly type: "string";
|
|
38
|
+
readonly description: "The confirmation code or order id, as the booking answer gave it";
|
|
39
|
+
};
|
|
40
|
+
readonly addon: {
|
|
41
|
+
readonly type: "string";
|
|
42
|
+
readonly description: "The add-on id, as the add-on list gave it";
|
|
43
|
+
};
|
|
44
|
+
readonly direction: {
|
|
45
|
+
readonly type: "string";
|
|
46
|
+
readonly enum: readonly ["arrival", "departure", "round_trip"];
|
|
47
|
+
readonly description: "For a transfer: to the hotel, from it, or both";
|
|
48
|
+
};
|
|
49
|
+
readonly flightNo: {
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
readonly description: "For a transfer: the flight number, e.g. MU5101";
|
|
52
|
+
};
|
|
53
|
+
readonly pickupTime: {
|
|
54
|
+
readonly type: "string";
|
|
55
|
+
readonly description: "For a transfer: the pick-up time, HH:MM";
|
|
56
|
+
};
|
|
57
|
+
readonly date: {
|
|
58
|
+
readonly type: "string";
|
|
59
|
+
readonly description: "The date it is for, YYYY-MM-DD";
|
|
60
|
+
};
|
|
61
|
+
readonly quantity: {
|
|
62
|
+
readonly type: "integer";
|
|
63
|
+
readonly minimum: 1;
|
|
64
|
+
readonly maximum: 10;
|
|
65
|
+
readonly description: "How many, 1 to 10, for an add-on that is bought by the piece. Default 1";
|
|
66
|
+
};
|
|
67
|
+
readonly partySize: {
|
|
68
|
+
readonly type: "integer";
|
|
69
|
+
readonly minimum: 1;
|
|
70
|
+
readonly maximum: 10;
|
|
71
|
+
readonly description: "For a transfer: how many passengers, 1 to 10. Default 1";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
readonly required: readonly ["booking", "addon"];
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
export declare const shopItemsTools: ({ n, open }: ToolEnv) => readonly [] | readonly [{
|
|
78
|
+
readonly name: string;
|
|
79
|
+
readonly description: "The value-added services (增值服务): goods in Otaless's shop to buy for a stay, not rooms - each with its id, name, price and currency, whether it is available and its options. With `item` it opens one item. It only reads the shop; nothing is ordered.";
|
|
80
|
+
readonly annotations: {
|
|
81
|
+
readonly title: string;
|
|
82
|
+
readonly readOnlyHint: true;
|
|
83
|
+
readonly destructiveHint: false;
|
|
84
|
+
readonly idempotentHint: true;
|
|
85
|
+
readonly openWorldHint: boolean;
|
|
86
|
+
};
|
|
87
|
+
readonly inputSchema: {
|
|
88
|
+
readonly type: "object";
|
|
89
|
+
readonly properties: {
|
|
90
|
+
readonly query: {
|
|
91
|
+
readonly type: "string";
|
|
92
|
+
readonly description: "Words in the item name";
|
|
93
|
+
};
|
|
94
|
+
readonly category: {
|
|
95
|
+
readonly type: "string";
|
|
96
|
+
readonly description: "One of the shop's categories";
|
|
97
|
+
};
|
|
98
|
+
readonly maxPrice: {
|
|
99
|
+
readonly type: "number";
|
|
100
|
+
readonly minimum: 0;
|
|
101
|
+
readonly description: "The highest price, in the shop's currency (US dollars)";
|
|
102
|
+
};
|
|
103
|
+
readonly item: {
|
|
104
|
+
readonly type: "string";
|
|
105
|
+
readonly description: "An item id, as this tool listed it, for that one item in detail";
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}];
|
|
110
|
+
export declare const shopOrdersTools: ({ n, open }: ToolEnv) => readonly [] | readonly [{
|
|
111
|
+
readonly name: string;
|
|
112
|
+
readonly description: "The value-added service orders (增值服务订单) of the Otaless account signed in here: goods bought from the Otaless shop to go with a stay - not hotel bookings. 增值服务订单, 商城订单, shop orders and add-on orders are all the same thing. Each order comes with its item, total and currency, status, order id, the hotel booking it was bought with where that is known, and when it was ordered and paid where that is known (in UTC); cancelled ones are listed as the shop has them. It only reads: nothing is ordered, paid or cancelled. Nothing is listed when no account is signed in.";
|
|
113
|
+
readonly annotations: {
|
|
114
|
+
readonly title: string;
|
|
115
|
+
readonly readOnlyHint: true;
|
|
116
|
+
readonly destructiveHint: false;
|
|
117
|
+
readonly idempotentHint: true;
|
|
118
|
+
readonly openWorldHint: boolean;
|
|
119
|
+
};
|
|
120
|
+
readonly inputSchema: {
|
|
121
|
+
readonly type: "object";
|
|
122
|
+
readonly properties: {};
|
|
123
|
+
};
|
|
124
|
+
}];
|
|
125
|
+
export declare const buyShopItemTools: ({ n, open }: ToolEnv) => readonly [] | readonly [{
|
|
126
|
+
readonly name: string;
|
|
127
|
+
readonly description: "Prepares buying one value-added service (增值服务: a shop item) to go with the guest's own hotel booking. It does NOT order or charge anything: the answer gives a one-time page address for the guest to open in the browser signed in to their account, where they see the item, the quantity and the total and press confirm themselves - and when they do, the backend charges a card linked to their account, or gives a payment link if there is none. Pass that link on; never say the item was ordered or paid until the guest confirmed and the shop says so. It checks the price against the one the guest was shown and refuses a booking that is not theirs or is over.";
|
|
128
|
+
readonly annotations: {
|
|
129
|
+
readonly title: string;
|
|
130
|
+
readonly readOnlyHint: false;
|
|
131
|
+
readonly destructiveHint: false;
|
|
132
|
+
readonly idempotentHint: false;
|
|
133
|
+
readonly openWorldHint: boolean;
|
|
134
|
+
};
|
|
135
|
+
readonly inputSchema: {
|
|
136
|
+
readonly type: "object";
|
|
137
|
+
readonly properties: {
|
|
138
|
+
readonly item: {
|
|
139
|
+
readonly type: "string";
|
|
140
|
+
readonly description: "The item id, as the shop listing gave it";
|
|
141
|
+
};
|
|
142
|
+
readonly option: {
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
readonly description: "One of the item's options, exactly as listed - for an item that has options";
|
|
145
|
+
};
|
|
146
|
+
readonly quantity: {
|
|
147
|
+
readonly type: "integer";
|
|
148
|
+
readonly minimum: 1;
|
|
149
|
+
readonly maximum: 10;
|
|
150
|
+
readonly description: "How many, 1 to 10";
|
|
151
|
+
};
|
|
152
|
+
readonly booking: {
|
|
153
|
+
readonly type: "string";
|
|
154
|
+
readonly description: "The confirmation code of the guest's own hotel booking this goes with";
|
|
155
|
+
};
|
|
156
|
+
readonly unitPrice: {
|
|
157
|
+
readonly type: "number";
|
|
158
|
+
readonly exclusiveMinimum: 0;
|
|
159
|
+
readonly description: "The price of one, as the guest was shown it";
|
|
160
|
+
};
|
|
161
|
+
readonly currency: {
|
|
162
|
+
readonly type: "string";
|
|
163
|
+
readonly description: "Its currency code, as the guest was shown it";
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
readonly required: readonly ["item", "quantity", "booking", "unitPrice", "currency"];
|
|
167
|
+
};
|
|
168
|
+
}];
|
|
169
|
+
export declare const cardAddonsTools: ({ n, open }: ToolEnv) => readonly [] | readonly [{
|
|
170
|
+
readonly name: string;
|
|
171
|
+
readonly description: "The card's own steps for the value-added services (增值服务) of a booking made here: `view` reads what can be added (the shop's goods, and the hotel's own services where they are offered) fresh; `buy_shop_item` (and `book_hotel_addon`, where hotel services are offered) is the guest's press on a confirm screen that showed the item, the quantity and the total - each answers with `addonResult` and a fresh `addonsView`; `shop_status` reads whether a shop `order` the guest is paying for is paid yet (a read, nothing changes). Never the assistant's: nothing here is called without the guest's press.";
|
|
172
|
+
readonly annotations: {
|
|
173
|
+
readonly title: string;
|
|
174
|
+
readonly readOnlyHint: false;
|
|
175
|
+
readonly destructiveHint: true;
|
|
176
|
+
readonly idempotentHint: false;
|
|
177
|
+
readonly openWorldHint: boolean;
|
|
178
|
+
};
|
|
179
|
+
readonly inputSchema: {
|
|
180
|
+
readonly type: "object";
|
|
181
|
+
readonly properties: {
|
|
182
|
+
readonly action: {
|
|
183
|
+
readonly type: "string";
|
|
184
|
+
readonly enum: readonly ["view", "book_hotel_addon", "buy_shop_item", "shop_status"];
|
|
185
|
+
};
|
|
186
|
+
readonly booking: {
|
|
187
|
+
readonly type: "string";
|
|
188
|
+
readonly description: "The confirmation code of the guest's own booking";
|
|
189
|
+
};
|
|
190
|
+
readonly catalogId: {
|
|
191
|
+
readonly type: "string";
|
|
192
|
+
readonly description: "book_hotel_addon: the add-on id";
|
|
193
|
+
};
|
|
194
|
+
readonly direction: {
|
|
195
|
+
readonly type: "string";
|
|
196
|
+
readonly enum: readonly ["arrival", "departure", "round_trip"];
|
|
197
|
+
};
|
|
198
|
+
readonly flightNo: {
|
|
199
|
+
readonly type: "string";
|
|
200
|
+
};
|
|
201
|
+
readonly pickupTime: {
|
|
202
|
+
readonly type: "string";
|
|
203
|
+
readonly description: "HH:MM";
|
|
204
|
+
};
|
|
205
|
+
readonly date: {
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
readonly description: "YYYY-MM-DD";
|
|
208
|
+
};
|
|
209
|
+
readonly quantity: {
|
|
210
|
+
readonly type: "integer";
|
|
211
|
+
readonly minimum: 1;
|
|
212
|
+
readonly maximum: 10;
|
|
213
|
+
};
|
|
214
|
+
readonly partySize: {
|
|
215
|
+
readonly type: "integer";
|
|
216
|
+
readonly minimum: 1;
|
|
217
|
+
readonly maximum: 10;
|
|
218
|
+
};
|
|
219
|
+
readonly shownTotal: {
|
|
220
|
+
readonly type: "string";
|
|
221
|
+
readonly description: "book_hotel_addon: the total the confirm screen showed, 2 decimals";
|
|
222
|
+
};
|
|
223
|
+
readonly currency: {
|
|
224
|
+
readonly type: "string";
|
|
225
|
+
readonly description: "The currency the screen showed";
|
|
226
|
+
};
|
|
227
|
+
readonly item: {
|
|
228
|
+
readonly type: "string";
|
|
229
|
+
readonly description: "buy_shop_item: the shop item id";
|
|
230
|
+
};
|
|
231
|
+
readonly order: {
|
|
232
|
+
readonly type: "string";
|
|
233
|
+
readonly description: "shop_status: the shop order id buy_shop_item answered with";
|
|
234
|
+
};
|
|
235
|
+
readonly option: {
|
|
236
|
+
readonly type: "string";
|
|
237
|
+
readonly description: "buy_shop_item: the option, as listed";
|
|
238
|
+
};
|
|
239
|
+
readonly shownUnit: {
|
|
240
|
+
readonly type: "string";
|
|
241
|
+
readonly description: "buy_shop_item: the price of one the screen showed, 2 decimals";
|
|
242
|
+
};
|
|
243
|
+
readonly press: {
|
|
244
|
+
readonly type: "string";
|
|
245
|
+
readonly description: "Made once per confirm screen and sent again unchanged on a retry of the same screen";
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
readonly required: readonly ["action", "booking"];
|
|
249
|
+
};
|
|
250
|
+
}];
|
|
251
|
+
//# sourceMappingURL=tool-defs-addons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-defs-addons.d.ts","sourceRoot":"","sources":["../../src/tools/tool-defs-addons.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAK7C,eAAO,MAAM,qBAAqB,GAAI,aAAa,OAAO;;;;;;;;;;;;;;;;;;;;CAgB7C,CAAC;AAEd,eAAO,MAAM,mBAAmB,GAAI,aAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C3C,CAAC;AAGd,eAAO,MAAM,cAAc,GAAI,aAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BlD,CAAC;AAIF,eAAO,MAAM,eAAe,GAAI,aAAa,OAAO;;;;;;;;;;;;;;EAWnD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,aAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2CpD,CAAC;AAKF,eAAO,MAAM,eAAe,GAAI,aAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDnD,CAAC"}
|