@curless/hotel-storefront 0.85.0 → 0.86.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 +1342 -0
- package/dist/tools/all-tools.d.ts.map +1 -0
- package/dist/tools/all-tools.js +954 -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 +380 -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 +485 -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 +364 -0
- package/dist/tools/cancel.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 +261 -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 +324 -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 +558 -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 +148 -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.d.ts +4 -0
- package/dist/tools/list-hotels.d.ts.map +1 -0
- package/dist/tools/list-hotels.js +891 -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 +170 -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 +314 -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 +348 -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 +475 -0
- package/dist/tools/terms-answer.js.map +1 -0
- package/dist/tools/tool-set.d.ts +1474 -0
- package/dist/tools/tool-set.d.ts.map +1 -0
- package/dist/tools/tool-set.js +497 -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":"current-trip.js","sourceRoot":"","sources":["../../src/tools/current-trip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB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,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;KAClE,CAAC;AACJ,CAAC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC;AAEjC;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import type { CancelFacts } from '../account/cancel-pages.js';
|
|
2
|
+
import type { MemberLogin } from '../account/member-login.js';
|
|
3
|
+
import type { HotelBackend } from '../backend.js';
|
|
4
|
+
import type { ToolNames } from '../config.js';
|
|
5
|
+
import type { Misses } from '../limits.js';
|
|
6
|
+
import type { MemberStore } from '../members.js';
|
|
7
|
+
import type { TripStore } from '../trip.js';
|
|
8
|
+
import type { Names } from '../types.js';
|
|
9
|
+
import type { Vocabulary } from '../vocab.js';
|
|
10
|
+
/** The languages the card draws its own words in. */
|
|
11
|
+
export type Lang = 'zh' | 'en';
|
|
12
|
+
/**
|
|
13
|
+
* A group's own type for the card: the stylesheets it loads (absolute, each a
|
|
14
|
+
* font of @curless/brand-fonts, served by us) and, for each use, the families
|
|
15
|
+
* as a CSS list - put before the card's system fonts, which stay behind them.
|
|
16
|
+
*/
|
|
17
|
+
export type BrandFonts = {
|
|
18
|
+
css: string[];
|
|
19
|
+
display?: string;
|
|
20
|
+
body?: string;
|
|
21
|
+
numeric?: string;
|
|
22
|
+
};
|
|
23
|
+
export type ToolDeps = {
|
|
24
|
+
backend: HotelBackend;
|
|
25
|
+
/** The membership sign-in's page (account/member-login.ts), where members sign in. */
|
|
26
|
+
memberLogin?: MemberLogin;
|
|
27
|
+
/**
|
|
28
|
+
* The tool names this deployment offers, when it offers fewer than all -
|
|
29
|
+
* the card is sent only these, so it draws no button for a missing tool.
|
|
30
|
+
*/
|
|
31
|
+
offered?: ReadonlySet<string>;
|
|
32
|
+
trips: TripStore;
|
|
33
|
+
members: MemberStore;
|
|
34
|
+
tools: ToolNames;
|
|
35
|
+
vocab: Vocabulary;
|
|
36
|
+
/** The group's own name in other languages, for the card - see `HotelConfig.names`. */
|
|
37
|
+
brandNames?: Names;
|
|
38
|
+
logoUrl?: string;
|
|
39
|
+
/** The group's own logo for a dark page - see `HotelConfig.server.logoDarkFile`. */
|
|
40
|
+
logoDarkUrl?: string;
|
|
41
|
+
/** The header's logo by the card's language - see `HotelConfig.server.logoByLang`. */
|
|
42
|
+
logoByLang?: Record<string, {
|
|
43
|
+
url: string;
|
|
44
|
+
darkUrl?: string;
|
|
45
|
+
}>;
|
|
46
|
+
/** The group's colour, for the card's decoration only - see `HotelConfig.server.accent`. */
|
|
47
|
+
accent?: string;
|
|
48
|
+
/** The group's primary colour and its shades - see `HotelConfig.server.primary`. */
|
|
49
|
+
primary?: {
|
|
50
|
+
color: string;
|
|
51
|
+
hover?: string;
|
|
52
|
+
press?: string;
|
|
53
|
+
dark?: string;
|
|
54
|
+
};
|
|
55
|
+
/** The one picture on the card's home, an https address - see `HotelConfig.server.homeImage`. */
|
|
56
|
+
homeImage?: string;
|
|
57
|
+
/**
|
|
58
|
+
* The card's type - every hotel card's, see server.ts `HOTEL_TYPE`: the
|
|
59
|
+
* stylesheets to load and, for each use, the families to put before the card's own.
|
|
60
|
+
*/
|
|
61
|
+
fonts?: BrandFonts;
|
|
62
|
+
/** The header shows the name beside the logo - see `HotelConfig.server.showName`. */
|
|
63
|
+
showName?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* The language the card draws its own words in - see `langOf`. Today the
|
|
66
|
+
* deployment's (`data.api.language`); absent, English.
|
|
67
|
+
*/
|
|
68
|
+
lang?: Lang;
|
|
69
|
+
/**
|
|
70
|
+
* Missed guesses at a booking's code and email, or a membership's number and
|
|
71
|
+
* surname - see limits.ts. Absent, nothing is counted.
|
|
72
|
+
*/
|
|
73
|
+
misses?: Misses;
|
|
74
|
+
/**
|
|
75
|
+
* How many hotels the whole deployment has (`Made.hotelCount`). A list that
|
|
76
|
+
* narrowed nothing counts them itself; a narrowed one needs this to know the
|
|
77
|
+
* deployment fits on one page (`HOME_LIST_MAX`). Absent, only an unnarrowed
|
|
78
|
+
* list knows.
|
|
79
|
+
*/
|
|
80
|
+
hotelCount?: () => number;
|
|
81
|
+
/**
|
|
82
|
+
* The one-time page where a guest of a client that draws no card reads a
|
|
83
|
+
* group's booking terms and agrees to them (account layer, server.ts - docs
|
|
84
|
+
* §13.6): `ref` is the terms' reference. Absent, or undefined, there is no
|
|
85
|
+
* such page for this guest, and the terms can only be agreed to on a card.
|
|
86
|
+
* ⚠️ THE LINK IS THE GUEST'S: it opens only in the browser signed in to their
|
|
87
|
+
* account and works once - it is handed to the guest, never opened here.
|
|
88
|
+
*/
|
|
89
|
+
termsLink?: (key: string, ref: string,
|
|
90
|
+
/** Absent: the URL names no language and the page picks the browser's own. */
|
|
91
|
+
lang?: Lang) => {
|
|
92
|
+
url: string;
|
|
93
|
+
expiresAt: string;
|
|
94
|
+
} | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* How a guest signs in at one hotel group when a booking needs it (`sign-in`,
|
|
97
|
+
* `signed-out`, `session-expired`): the account's link tool, which takes
|
|
98
|
+
* `group`, else its sign-in tool. Absent, the refusal's own words stand.
|
|
99
|
+
*/
|
|
100
|
+
groupSignIn?: {
|
|
101
|
+
linkTool?: string;
|
|
102
|
+
signInTool?: string;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Who the conversation is signed in to the account as, or undefined when nobody is (0.84.8): where
|
|
106
|
+
* orders are the account's, a list of bookings with no one signed in says so - never "no bookings".
|
|
107
|
+
*/
|
|
108
|
+
accountWho?: (key: string) => string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* 0.82.0: a one-time link to confirm an add-on prepared for this conversation (account.addonLink) -
|
|
111
|
+
* the model's add-on tools only PREPARE one; absent, they can give the guest no page. The page is
|
|
112
|
+
* on `/account`, not a new path.
|
|
113
|
+
*/
|
|
114
|
+
addonLink?: (key: string, ref: string, lang?: Lang) => {
|
|
115
|
+
url: string;
|
|
116
|
+
expiresAt: string;
|
|
117
|
+
} | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* 0.84.2 (the 11-25 code audit's P1-8, `account.cancelOnPage` only - account.cancelLink): a one-time
|
|
120
|
+
* page to cancel a booking on, for a client that draws no card - the model's `confirmed` then cancels
|
|
121
|
+
* nothing, the guest's press there does. Absent: `confirmed` cancels, as before. On `/account`.
|
|
122
|
+
*/
|
|
123
|
+
cancelLink?: (key: string, facts: CancelFacts) => {
|
|
124
|
+
url: string;
|
|
125
|
+
expiresAt: string;
|
|
126
|
+
} | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* 0.84.0 (`data.fullCurrency`, 总线程's task 7): every amount an answer writes in words names its
|
|
129
|
+
* whole currency - US$, CN¥ (money.ts `inFullCurrency`). Absent: as `formatMoney` always wrote them.
|
|
130
|
+
*/
|
|
131
|
+
fullCurrency?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* 0.84.4 (`data.bookingsByTime`, robin 11-25 「按照时间和状态来」): the bookings list's words in time and
|
|
134
|
+
* state, each part headed (`bookingsInTime`). Absent: in the backend's order, as before.
|
|
135
|
+
*/
|
|
136
|
+
bookingsByTime?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* 0.84.0 (`account.cookieSameSite: "Lax"`, robin 11-24 「改回登录」): a link to our pages clicked in
|
|
139
|
+
* the chat carries the account cookie, so the words a client that draws no card is given for one
|
|
140
|
+
* say it opens signed in in the guest's own browser, and is theirs alone to press
|
|
141
|
+
* (account/page-words.ts). Absent: the words are as they were.
|
|
142
|
+
*/
|
|
143
|
+
accountCookieLax?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* 0.82.0: where the guest links their shop account (the account's link tool and the shop's
|
|
146
|
+
* group code, `account.memberships` with `via: "addon"`) - only where that entry is configured.
|
|
147
|
+
*/
|
|
148
|
+
shopLink?: {
|
|
149
|
+
signIn: string;
|
|
150
|
+
signOut: string;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* In a market: the groups a search keeps quiet about (`data.quietGroups`, robin
|
|
154
|
+
* 11-16 - Accor on Otaless). Not answering, or not looked up without a place, is
|
|
155
|
+
* neither drawn on the card nor said to the guest unprompted - see `degradedOf`.
|
|
156
|
+
* Absent: every group is said.
|
|
157
|
+
*/
|
|
158
|
+
quietGroups?: ReadonlySet<string>;
|
|
159
|
+
};
|
|
160
|
+
export type ToolContext = {
|
|
161
|
+
/** The host's `Mcp-Session-Id`, or a per-connection fallback. Never a shared constant. */
|
|
162
|
+
session: string;
|
|
163
|
+
/**
|
|
164
|
+
* The trip this call is about, when the caller named one.
|
|
165
|
+
*
|
|
166
|
+
* The card names it: its tool calls arrive on a different connection from the
|
|
167
|
+
* conversation's, so a key built from the session alone is a DIFFERENT key -
|
|
168
|
+
* which is how the shopping connector once told a buyer their card-filled
|
|
169
|
+
* cart was empty. See trip-ids.ts.
|
|
170
|
+
*/
|
|
171
|
+
tripKey?: string;
|
|
172
|
+
/** The client's network address, as the edge proxy saw it - for the booking limits only. */
|
|
173
|
+
ip?: string;
|
|
174
|
+
/**
|
|
175
|
+
* The client said at `initialize` that it shows no cards (`cardSupport` in
|
|
176
|
+
* sessions.ts). An answer whose card carries what the model would say - the
|
|
177
|
+
* plan, the comparison - then says that nothing was drawn and carries it in
|
|
178
|
+
* words. Absent - a card host, or a session from before a restart - every
|
|
179
|
+
* answer is as it always was.
|
|
180
|
+
*/
|
|
181
|
+
noCards?: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* The list asking itself again for tonight, nights nobody named (`listsTonight`): the
|
|
184
|
+
* backend prices the page alone (`SearchAsked.pricePageOnly`). Set by the list alone.
|
|
185
|
+
*/
|
|
186
|
+
pricePageOnly?: true;
|
|
187
|
+
/**
|
|
188
|
+
* The caller is the server's own one-time terms page, which needs the terms'
|
|
189
|
+
* `ref` and text in the answer's `meta` whatever the client is (it never
|
|
190
|
+
* reaches a model). Set by `contextFor` alone.
|
|
191
|
+
*/
|
|
192
|
+
termsMeta?: boolean;
|
|
193
|
+
/**
|
|
194
|
+
* The client said at `initialize` that it draws cards (`cardSupport`: the MCP
|
|
195
|
+
* Apps extension, or a host known to draw them). Only then is the model told the
|
|
196
|
+
* card already lists the hotels or the rooms (`ON_CARD`). Absent - a client that
|
|
197
|
+
* draws none, or a session from before a restart - it is told nothing of the kind:
|
|
198
|
+
* shopify-storefront 0.69.0 told every client "the card shows them, say one line",
|
|
199
|
+
* and on Manus, Muse and Claude Code the guest saw no product at all.
|
|
200
|
+
*/
|
|
201
|
+
drawsCards?: boolean;
|
|
202
|
+
/**
|
|
203
|
+
* The conversation's id, as its answers give it to a client that draws no
|
|
204
|
+
* card (0.67.0, server.ts `inWords`): an answer that says what to call next
|
|
205
|
+
* says to pass it, so a new connection finds this conversation.
|
|
206
|
+
*/
|
|
207
|
+
tripInWords?: string;
|
|
208
|
+
/**
|
|
209
|
+
* The conversation this connection acts in, as a trip key, where it is not its own
|
|
210
|
+
* session's (0.67.1): a client that draws no card, on a new connection that took its
|
|
211
|
+
* conversation over (server.ts `Sessions.bind`). A booking is that conversation's.
|
|
212
|
+
*/
|
|
213
|
+
conversation?: string;
|
|
214
|
+
/**
|
|
215
|
+
* The guest pressed Cancel on the one-time cancel page (0.84.2, P1-8 - `cancelOnPage`): the preview
|
|
216
|
+
* that page showed (`cancelShapeOf`). The cancel goes ahead only if the preview is still that. Set by
|
|
217
|
+
* `cancelOnPage` alone - never from a tool call.
|
|
218
|
+
*/
|
|
219
|
+
cancelPressed?: string;
|
|
220
|
+
};
|
|
221
|
+
export type ToolAnswer = {
|
|
222
|
+
structured: Record<string, unknown>;
|
|
223
|
+
text: string;
|
|
224
|
+
/** The card's alone, beside the answer (`_meta`) - never the model's: a sign-in link's code. */
|
|
225
|
+
meta?: Record<string, unknown>;
|
|
226
|
+
/** The call itself was wrong - a count out of range - not the world: see `countProblem`. */
|
|
227
|
+
isError?: boolean;
|
|
228
|
+
};
|
|
229
|
+
//# sourceMappingURL=deps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deps.d.ts","sourceRoot":"","sources":["../../src/tools/deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,qDAAqD;AACrD,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/B;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG;IAAE,GAAG,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9F,MAAM,MAAM,QAAQ,GAAG;IACrB,OAAO,EAAE,YAAY,CAAC;IACtB,sFAAsF;IACtF,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,KAAK,EAAE,SAAS,CAAC;IACjB,OAA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AAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,gGAAgG;IAChG,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,4FAA4F;IAC5F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deps.js","sourceRoot":"","sources":["../../src/tools/deps.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { type Candidate } from '../backend.js';
|
|
2
|
+
import type { Identity } from '../types.js';
|
|
3
|
+
import type { ToolAnswer, ToolContext, ToolDeps } from './deps.js';
|
|
4
|
+
/**
|
|
5
|
+
* The answer when the card names a trip this connector does not know.
|
|
6
|
+
*
|
|
7
|
+
* ⚠️ NOT "EXPIRED" (华住 / robin, 2026-10-15). A trip id lives as long as its
|
|
8
|
+
* conversation (trip-ids.ts, `ID_TTL_MS`), and a trip emptied after
|
|
9
|
+
* TRIP_TTL_MS starts over under the same id - so an id nobody knows is not a
|
|
10
|
+
* trip that lapsed. It is a card from before the service's state moved (the
|
|
11
|
+
* public Huazhu's went to a new directory when it switched to the test
|
|
12
|
+
* system), or from a conversation quiet for longer than its id is kept. "Kept
|
|
13
|
+
* for 4 hours" was said over a card drawn an hour before.
|
|
14
|
+
*
|
|
15
|
+
* ⚠️ SAID, NOT PAPERED OVER. An unknown id used to fall back to the card's own
|
|
16
|
+
* connection - a DIFFERENT trip from the conversation's - and the card took
|
|
17
|
+
* that trip's id as its own. Rooms added on the card then went into a trip the
|
|
18
|
+
* assistant could not see, and "book it" was answered "the trip is empty"
|
|
19
|
+
* (2026-10-05 audit). The way back is the conversation's own trip, which the
|
|
20
|
+
* assistant's next answer hands the card.
|
|
21
|
+
*/
|
|
22
|
+
export declare const tripGone: (deps: ToolDeps) => ToolAnswer;
|
|
23
|
+
/**
|
|
24
|
+
* ⚠️ A CARD DRAWN BEFORE THE SIGN-IN, PRESSED AFTER IT (0.84.0; walkthrough 11-24 #5). Since a sign-in
|
|
25
|
+
* the conversation's trip goes by a new id, handed only to the card that started the sign-in (0.75.1,
|
|
26
|
+
* P1-a - `renewedAway` in server.ts): any other card from before it can no longer act on the trip. That
|
|
27
|
+
* is by design and STAYS - this only says what happened, instead of `tripGone`'s "updated, or quiet for
|
|
28
|
+
* a long time", which was not true a few minutes after a sign-in. Still `trip-gone` (a card holding the
|
|
29
|
+
* sign-in's claim asks again with it, as before), with `renewed: true` for the card's own words.
|
|
30
|
+
*/
|
|
31
|
+
export declare const tripRenewed: (deps: ToolDeps, o?: {
|
|
32
|
+
pressed: "sign-in" | "book" | "other";
|
|
33
|
+
signedIn: boolean;
|
|
34
|
+
/** 0.84.1: what voided the card's id - a sign-in (before `account.signInKeepsCards`) or a sign-out. */
|
|
35
|
+
why?: "sign-in" | "sign-out";
|
|
36
|
+
}) => ToolAnswer;
|
|
37
|
+
/**
|
|
38
|
+
* The guest's agreement to the terms behind `ref`, and what it came to: the
|
|
39
|
+
* booking (with its payment page), the group's terms again, or a refusal's
|
|
40
|
+
* code. THE ONE AGREE STEP: the booking card's own tool (`acceptTerms`) and the
|
|
41
|
+
* one-time page (account/index.ts, `makeAccount({ terms })`) both end here, and
|
|
42
|
+
* neither is the model's. Throws the group's refusals (`terms-gone`, `sign-in` …)
|
|
43
|
+
* as `otaless/booking.ts` raises them: `refusalAnswer` says each.
|
|
44
|
+
*/
|
|
45
|
+
export declare const agreeToTerms: (deps: ToolDeps, key: string, ref: string, ctx: ToolContext,
|
|
46
|
+
/** The card's own arguments (a coupon, a request to remember), as it sent them; the page has none. */
|
|
47
|
+
args?: Record<string, unknown>) => Promise<ToolAnswer>;
|
|
48
|
+
/**
|
|
49
|
+
* The conversation's tool context and identity from its key alone - for the
|
|
50
|
+
* one-time terms page, which has the key (account layer) and no session id. The
|
|
51
|
+
* key is `tripKey(session, brand)`; the identity is the same one the tools build.
|
|
52
|
+
*/
|
|
53
|
+
export declare const contextFor: (deps: ToolDeps, key: string) => ToolContext;
|
|
54
|
+
export declare const identityFor: (deps: ToolDeps, key: string) => Identity;
|
|
55
|
+
/**
|
|
56
|
+
* A tool's answer - every amount in it written with its whole currency where the deployment says so
|
|
57
|
+
* (`fullCurrency`, 0.84.0), else exactly as before.
|
|
58
|
+
*/
|
|
59
|
+
export declare const handleTool: (deps: ToolDeps, name: string, rawArgs: unknown, ctx: ToolContext) => Promise<ToolAnswer>;
|
|
60
|
+
/**
|
|
61
|
+
* For each left-out name that fits more than one hotel, the sentence that says
|
|
62
|
+
* which - for the model, in the tool's text, never on the card (see
|
|
63
|
+
* `MORE_THAN_ONE`).
|
|
64
|
+
*/
|
|
65
|
+
export declare const fitsManyOf: (deps: ToolDeps, dropped: {
|
|
66
|
+
name: string;
|
|
67
|
+
candidates?: Candidate[];
|
|
68
|
+
}[]) => string[];
|
|
69
|
+
/** A stay this long, at one hotel, is worth asking whether the days stay in one area. */
|
|
70
|
+
export declare const LONG_STAY_NIGHTS = 4;
|
|
71
|
+
/** The other areas a long stay's answer names - one hotel each. */
|
|
72
|
+
export declare const OTHER_AREAS_MAX = 4;
|
|
73
|
+
/**
|
|
74
|
+
* Every plan's answer ends with this: the card is the plan, and a correction
|
|
75
|
+
* found after drawing it is said, not drawn.
|
|
76
|
+
*
|
|
77
|
+
* ⚠️ ONE PLAN, ONE CARD - SAID WHERE THE MODEL READS IT LAST (the owner,
|
|
78
|
+
* 2026-10-26, live 0.47.8): the plan put the Palace Museum on a Monday, the
|
|
79
|
+
* model noticed after drawing it and drew the whole plan again - two plan
|
|
80
|
+
* cards in one answer, "以第二张卡片为准". The instructions and the description
|
|
81
|
+
* say to check closing days before drawing; this was said only in the answer
|
|
82
|
+
* of a long stay at one hotel. It is in every plan's answer now.
|
|
83
|
+
*/
|
|
84
|
+
export declare const PLAN_DRAWN_ONCE = "The plan on the card is this one. Something to change that you notice now - a sight closed on its day, a day too far from its hotel - goes in your reply, not in another plan: the plan is drawn again only when the guest asks for the change.";
|
|
85
|
+
/**
|
|
86
|
+
* The same place in the answer, for a client that shows no cards.
|
|
87
|
+
*
|
|
88
|
+
* ⚠️ NO CARD, SO THE REPLY IS THE PLAN (总线程, 2026-10-28, a client whose
|
|
89
|
+
* `initialize` declared nothing): it was told "The plan on the card is this
|
|
90
|
+
* one", and a model told that leaves the plan to a card the guest never sees.
|
|
91
|
+
*/
|
|
92
|
+
export declare const PLAN_NOT_DRAWN = "Nothing was drawn: this app shows no cards, so the guest has seen none of this plan. Tell it to them in your reply, day by day - where each day is spent, and each stay with its hotel, dates, price and terms as above. Something to change that you notice now - a sight closed on its day, a day too far from its hotel - is said in that reply, not planned again: the plan is made again only when the guest asks for the change.";
|
|
93
|
+
/** A comparison's answer, for a client that shows no cards - see `PLAN_NOT_DRAWN`. */
|
|
94
|
+
export declare const COMPARISON_NOT_DRAWN = "Nothing was drawn: this app shows no cards, so the guest has seen none of this comparison. Compare the hotels in your reply, with each one's price and terms as given here - each is its cheapest room that sleeps the party.";
|
|
95
|
+
/**
|
|
96
|
+
* What the model is told where the client DRAWS the card (0.55.7, 总线程 11-05,
|
|
97
|
+
* robin 「3.ok」): on claude.ai the hotel's card listed its four room types, and the
|
|
98
|
+
* reply listed them again in a table - breakfast, nightly rate, the stay, the terms.
|
|
99
|
+
* Said only to a client that draws cards (`ToolContext.drawsCards`), in the text and
|
|
100
|
+
* in the structure (`cardShows`); a client that draws none is given every room in
|
|
101
|
+
* words as before (规矩 9).
|
|
102
|
+
*/
|
|
103
|
+
export declare const ON_CARD: {
|
|
104
|
+
readonly hotels: "The card shows these hotels, each with its price: reply in a sentence or two on what stands out for the guest, and do not list them again.";
|
|
105
|
+
readonly rooms: "The card shows these rooms, each with its price and terms: reply in a sentence or two on what stands out for the guest, and do not list them again.";
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* A list's answer, for a client that shows no cards - see `PLAN_NOT_DRAWN`.
|
|
109
|
+
*
|
|
110
|
+
* ⚠️ A LIST WITH NO CARD IS THE HOTELS IN WORDS (2026-10-29 audit, H4). The
|
|
111
|
+
* answer said "12 Huazhu hotels in 上海." and nothing else - the hotels were on
|
|
112
|
+
* the card - so a client that draws none had a count to tell the guest.
|
|
113
|
+
*/
|
|
114
|
+
/**
|
|
115
|
+
* How many hotels of a list a client that draws no card shows the guest at once
|
|
116
|
+
* (总线程 11-06, after RollingGo's text answers): the rest are a count.
|
|
117
|
+
*/
|
|
118
|
+
export declare const HOTEL_CHOICES_SHOWN = 6;
|
|
119
|
+
export declare const LIST_NOT_DRAWN = "Nothing was drawn: this app shows no cards, so the guest has seen none of these hotels. Copy what follows into your reply as it stands, in this order and with these numbers: the sentence of what the hotels share where there is one, then each hotel as its own lines - its number and name in bold (\"**1. \u2026**\", a single hotel too), the sentence of what sets it apart, and its tags ending in its price - with a blank line between hotels. In the guest's language, with every figure kept and nothing that is not in them; never a table, and nothing said again on a hotel that the sentence before them says - at most 6, and any more as a count the guest can ask for, never a pick of your own. The guest answers with a number or a name; the ids after the hotels are for your calls:";
|
|
120
|
+
//# sourceMappingURL=follow-ups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"follow-ups.d.ts","sourceRoot":"","sources":["../../src/tools/follow-ups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAgB,MAAM,eAAe,CAAC;AAQ7D,OAAO,KAAK,EAAkB,QAAQ,EAAyB,MAAM,aAAa,CAAC;AAKnF,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,WAAW,C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