@curless/hotel-storefront 0.53.0 → 0.55.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/about.d.ts +24 -0
- package/dist/about.d.ts.map +1 -0
- package/dist/about.js +28 -0
- package/dist/about.js.map +1 -0
- package/dist/aggregate/make.js +2 -2
- package/dist/aggregate/make.js.map +1 -1
- package/dist/backend.d.ts +15 -0
- package/dist/backend.d.ts.map +1 -1
- package/dist/backend.js.map +1 -1
- package/dist/card.generated.d.ts +1 -1
- package/dist/card.generated.js +2 -2
- package/dist/card.generated.js.map +1 -1
- package/dist/config.d.ts +33 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/coupon-words.d.ts +12 -0
- package/dist/coupon-words.d.ts.map +1 -0
- package/dist/coupon-words.js +19 -0
- package/dist/coupon-words.js.map +1 -0
- package/dist/dates.js +1 -1
- package/dist/dates.js.map +1 -1
- package/dist/demo-hotels.d.ts +6 -0
- package/dist/demo-hotels.d.ts.map +1 -1
- package/dist/demo-hotels.js +57 -17
- package/dist/demo-hotels.js.map +1 -1
- package/dist/fence.d.ts.map +1 -1
- package/dist/fence.js +4 -3
- package/dist/fence.js.map +1 -1
- package/dist/huazhu/backend.d.ts +6 -0
- package/dist/huazhu/backend.d.ts.map +1 -1
- package/dist/huazhu/backend.js +25 -22
- package/dist/huazhu/backend.js.map +1 -1
- package/dist/huazhu/catalog.d.ts +6 -6
- package/dist/huazhu/catalog.d.ts.map +1 -1
- package/dist/huazhu/catalog.js +33 -15
- package/dist/huazhu/catalog.js.map +1 -1
- package/dist/huazhu/client.js +1 -1
- package/dist/huazhu/client.js.map +1 -1
- package/dist/huazhu/make.d.ts.map +1 -1
- package/dist/huazhu/make.js +1 -0
- package/dist/huazhu/make.js.map +1 -1
- package/dist/huazhu/sandbox.d.ts.map +1 -1
- package/dist/huazhu/sandbox.js +5 -3
- package/dist/huazhu/sandbox.js.map +1 -1
- package/dist/legal.d.ts.map +1 -1
- package/dist/legal.js +104 -80
- package/dist/legal.js.map +1 -1
- package/dist/lib.d.ts +1 -1
- package/dist/lib.d.ts.map +1 -1
- package/dist/lib.js +1 -1
- package/dist/lib.js.map +1 -1
- package/dist/otaless/backend.d.ts +31 -0
- package/dist/otaless/backend.d.ts.map +1 -0
- package/dist/otaless/backend.js +502 -0
- package/dist/otaless/backend.js.map +1 -0
- package/dist/otaless/client.d.ts +103 -0
- package/dist/otaless/client.d.ts.map +1 -0
- package/dist/otaless/client.js +110 -0
- package/dist/otaless/client.js.map +1 -0
- package/dist/otaless/fake.d.ts +27 -0
- package/dist/otaless/fake.d.ts.map +1 -0
- package/dist/otaless/fake.js +239 -0
- package/dist/otaless/fake.js.map +1 -0
- package/dist/otaless/make.d.ts +4 -0
- package/dist/otaless/make.d.ts.map +1 -0
- package/dist/otaless/make.js +71 -0
- package/dist/otaless/make.js.map +1 -0
- package/dist/paid.d.ts.map +1 -1
- package/dist/paid.js +9 -9
- package/dist/paid.js.map +1 -1
- package/dist/present.d.ts +6 -1
- package/dist/present.d.ts.map +1 -1
- package/dist/present.js +20 -5
- package/dist/present.js.map +1 -1
- package/dist/reference.d.ts.map +1 -1
- package/dist/reference.js +10 -3
- package/dist/reference.js.map +1 -1
- package/dist/server.d.ts +2 -2
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +8 -6
- package/dist/server.js.map +1 -1
- package/dist/supplier.d.ts +6 -0
- package/dist/supplier.d.ts.map +1 -1
- package/dist/supplier.js +4 -0
- package/dist/supplier.js.map +1 -1
- package/dist/surface.d.ts.map +1 -1
- package/dist/surface.js +100 -71
- package/dist/surface.js.map +1 -1
- package/dist/tools.d.ts +19 -0
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +204 -102
- package/dist/tools.js.map +1 -1
- package/dist/types.d.ts +58 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/vocab.d.ts +0 -14
- package/dist/vocab.d.ts.map +1 -1
- package/dist/vocab.js +19 -22
- package/dist/vocab.js.map +1 -1
- package/package.json +1 -1
package/dist/surface.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FULL_CAPABILITIES } from './backend.js';
|
|
2
2
|
import { FENCE_RULE } from './fence.js';
|
|
3
3
|
import { currencyLabel } from './reference.js';
|
|
4
|
-
import { HOME_LIST_MAX } from './tools.js';
|
|
5
|
-
import {
|
|
4
|
+
import { HOME_LIST_MAX, readOnlyWords } from './tools.js';
|
|
5
|
+
import { upFirst } from './vocab.js';
|
|
6
6
|
// What a host is told about this connector: the `instructions` it injects into
|
|
7
7
|
// the model's context, and the tool list with each tool's card metadata.
|
|
8
8
|
//
|
|
@@ -44,16 +44,22 @@ export const buildInstructions = (brand, caps = FULL_CAPABILITIES,
|
|
|
44
44
|
opts = {}) => {
|
|
45
45
|
const { tools: t, vocab: v } = brand;
|
|
46
46
|
const cardless = opts.noCards === true;
|
|
47
|
+
// Nothing can be booked here yet (`capabilities.readOnly`, Otaless 2026-11-03):
|
|
48
|
+
// no sentence below names a tool that books, lists or cancels a booking.
|
|
49
|
+
const ro = caps.readOnly === true;
|
|
47
50
|
const few = (opts.hotels ?? 0) > 1 && (opts.hotels ?? 0) <= HOME_LIST_MAX;
|
|
48
51
|
const takesPayment = brand.config.payment?.mode === 'wallet';
|
|
49
52
|
// A market's groups, and the ones among them that are a simulation.
|
|
50
53
|
const suppliers = v.market ? (brand.config.data.suppliers ?? []) : [];
|
|
51
54
|
const groups = and(suppliers.map((x) => x.name));
|
|
52
|
-
|
|
53
|
-
//
|
|
54
|
-
|
|
55
|
-
//
|
|
56
|
-
|
|
55
|
+
// …and the ones whose bookings are not real ones: a demonstration file, a simulated
|
|
56
|
+
// copy of the group's system, or its own test system (华住, 2026-10-15) - said as the
|
|
57
|
+
// fact, in none of those words (robin, 2026-11-03). A single group's the same way:
|
|
58
|
+
// not sent to it (a demonstration file, a simulated copy), or - its own test
|
|
59
|
+
// system - holding no room for anyone.
|
|
60
|
+
const notSent = !v.market && v.demo && !v.test;
|
|
61
|
+
const notReal = suppliers.filter((x) => x.data.source === 'demo' ||
|
|
62
|
+
(x.data.source === 'api' && (x.data.api?.sandbox || x.data.api?.test)));
|
|
57
63
|
// ⚠️ NOTHING HERE NAMES A TOOL THIS DEPLOYMENT DOES NOT OFFER. A model told
|
|
58
64
|
// about a sign-in that does not exist asks the guest for a membership number
|
|
59
65
|
// and then has nowhere to put it.
|
|
@@ -70,40 +76,45 @@ opts = {}) => {
|
|
|
70
76
|
// P1-1): with only English in the words, a model told a Chinese
|
|
71
77
|
// guest "浦东凯里酒店" for 上海浦东嘉里大酒店.
|
|
72
78
|
`This app shows no cards: every answer here says in words what it found, and the guest sees only your reply - so the ${v.nounPlural}, rooms, prices and the booking are told there. A name followed by another in () is the group's own Chinese name for it: to a guest writing Chinese, say that one, never a translation of your own.`
|
|
73
|
-
:
|
|
79
|
+
: ro
|
|
80
|
+
? `The card shows the ${v.nounPlural}, rooms with their nightly rate and stay total, and the trip and its total.`
|
|
81
|
+
: `The card IS the booking surface: it shows the ${v.nounPlural} with pictures, rooms with their nightly rate and stay total, the trip and its total, and the booking itself.`}`,
|
|
74
82
|
// ⚠️ NOT "OWN" ON THE SANDBOX: its properties, prices and terms are
|
|
75
83
|
// invented (2026-10-05 audit, P2).
|
|
76
|
-
v.market
|
|
77
|
-
? // ⚠️ THE
|
|
78
|
-
// it
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
84
|
+
v.market && brand.config.data.source === 'otaless'
|
|
85
|
+
? // ⚠️ THE BACKEND'S OWN, AS IT SENDS THEM (robin, 2026-11-03): which
|
|
86
|
+
// groups it has is its answer, not this text's.
|
|
87
|
+
`These tools read the ${v.nounPlural} of several ${v.noun} groups through ${v.brand}: what each property offers, what a room costs on given nights, and its cancellation terms in the group's own words. ${v.brand} holds no booking itself, and none can be made here yet.`
|
|
88
|
+
: v.market
|
|
89
|
+
? // ⚠️ THE MARKET HOLDS NOTHING. A booking is with the group whose hotel
|
|
90
|
+
// it is; "Otaless has your room" sends a guest to a desk that never
|
|
91
|
+
// heard of Otaless (robin, 2026-10-07).
|
|
92
|
+
`These tools read the ${v.nounPlural} of ${groups} through ${v.brand}: what each property offers, what a room costs on given nights, and what its cancellation terms are. ${v.brand} holds no booking itself - each one is with the group whose ${v.noun} it is, and every answer about a booking names that group. Never say ${v.brand} holds, receives or confirms a booking.`
|
|
93
|
+
: // ⚠️ ONE SENTENCE FOR EVERY DEPLOYMENT (robin, 2026-11-03: 「不用特意写不是真的,
|
|
94
|
+
// 我们真要上线都要接真实的api的」). The test system, the simulated copy and the
|
|
95
|
+
// invented hotels each had a sentence saying so, and a ⚠️ line after it -
|
|
96
|
+
// "Demonstration data … say so the first time you quote a price". The data is
|
|
97
|
+
// used as it comes; what the model must not get wrong is what a booking here
|
|
98
|
+
// is, which the line below and every booking's answer say.
|
|
99
|
+
`These tools read ${v.brand}'s ${v.noun} data: what each property offers, what a room costs on given nights, and what its cancellation terms are.`,
|
|
100
|
+
// ⚠️ A MARKET SAYS THE FACT, NOT THE KIND OF PLACE (robin, 2026-11-03: 「Otaless 都不用标什么
|
|
101
|
+
// 演示测试之类的,他们传什么直接用就行」). These were one line per group saying its
|
|
102
|
+
// hotels were from "a simulated copy", "its own test system" or "invented for this
|
|
103
|
+
// demonstration" (2026-10-29); the groups' data is used as it comes, and what the model
|
|
104
|
+
// must not get wrong is what a booking with them is.
|
|
105
|
+
...(notReal.length
|
|
92
106
|
? [
|
|
93
|
-
`⚠️ ${
|
|
107
|
+
`⚠️ A booking made here with ${notReal.length > 1 ? 'any of ' : ''}${and(notReal.map((x) => x.name))} is not a real booking with that group: it holds no room for anyone and is paid by nobody. The answer says so for each such booking; say so whenever you report one.`,
|
|
94
108
|
]
|
|
95
109
|
: []),
|
|
96
|
-
...
|
|
97
|
-
...testing.map((x) => `⚠️ ${x.name}'s ${v.nounPlural}, rates and bookings here come from ${x.name}'s own test system, not its live one: a booking with them made here is a test booking that holds no room for anyone and is paid by nobody. The answer says so for each such booking; say so whenever you report one.`),
|
|
98
|
-
...inventedGroups.map((x) => `⚠️ ${x.name}'s ${v.nounPlural} here are invented for this demonstration: their names, rooms and rates are not ${x.name}'s, and their photographs are stock photographs, not of these ${v.nounPlural}. Never present one as a real ${x.name} ${v.noun}.`),
|
|
99
|
-
...(v.test
|
|
110
|
+
...(notSent && !ro
|
|
100
111
|
? [
|
|
101
|
-
`⚠️
|
|
112
|
+
`⚠️ A booking made here is not sent to ${v.brand}: it holds no room for anyone and ${caps.prepaid ? 'moves no real money' : 'is paid by nobody'}. The answer says so for each booking; say so whenever you report one.`,
|
|
102
113
|
]
|
|
103
114
|
: []),
|
|
104
|
-
...(v.
|
|
115
|
+
...(v.test && !ro
|
|
105
116
|
? [
|
|
106
|
-
`⚠️
|
|
117
|
+
`⚠️ A booking made here holds no room for anyone and ${caps.prepaid ? 'moves no real money' : 'is paid by nobody'}. The answer says so for each booking; say so whenever you report one, and never call it a reservation or say it is held for the guest.`,
|
|
107
118
|
]
|
|
108
119
|
: []),
|
|
109
120
|
// ⚠️ "ONCE AND STOP" USED TO BE ABSOLUTE, and it silently outranked the two
|
|
@@ -170,47 +181,57 @@ opts = {}) => {
|
|
|
170
181
|
? `${t.getHotel} without dates returns the ${v.noun} and no rooms: ask which nights they mean.`
|
|
171
182
|
: `${t.getHotel} without dates returns the ${v.noun} and no rooms; the card then fills in tonight and tomorrow so the guest sees rooms straight away, with those dates on screen above them and editable. So ask which nights they mean rather than treating what is on the card as their trip.`}`,
|
|
172
183
|
`${t.listHotels} narrows by \`brand\`, \`facilities\` (pool, spa, beach, fitness, kids), \`freeCancellation\` and \`breakfast\` - use them for what the guest asked for, never as a guess at what they want; and given \`checkIn\` and \`checkOut\` it prices every ${v.noun} for those nights.${cardless ? '' : ' The card shows the same filters as chips the guest can change.'}`,
|
|
173
|
-
|
|
184
|
+
brand.config.data.source === 'otaless'
|
|
185
|
+
? // ⚠️ WHAT THE BACKEND GIVES (2026-11-03): no rooms-left count, and the
|
|
186
|
+
// terms as a sentence of the group's.
|
|
187
|
+
`${t.getHotel} with \`checkIn\` and \`checkOut\` gives the room types for those nights: nightly rate, the stay total, breakfast, and the cancellation terms in the group's own words. How many rooms are left is not given here - never say a number. Quote the stay total when comparing - a nightly rate hides the weekend.`
|
|
188
|
+
: `${t.getHotel} with \`checkIn\` and \`checkOut\` gives the room types for those nights: nightly rate, the stay total including taxes and fees, whether it can be cancelled free and until when, and how many are left. Quote the stay total when comparing - a nightly rate hides the weekend and the tax.`,
|
|
174
189
|
// ⚠️ A TRIP IS THE JOURNEY, BOOKED AT ONCE (robin, 2026-10-14): ten days
|
|
175
190
|
// in Beijing, three hotels, planned in the chat and booked together - not
|
|
176
191
|
// an "add to trip" offered beside every room. One stay is booked from the
|
|
177
192
|
// hotel's own card.
|
|
178
|
-
`A trip is the whole journey the guest books at once - several stays, each at one ${v.noun} for its own nights (ten days in Beijing at three ${v.nounPlural}, say). When the guest wants a journey of several days or places, plan it with ${t.itinerary} (below), put each stay in the trip with one ${t.addToTrip} per stay - the ${v.noun} id and the room id the plan priced, not names - and its nights${caps.extras ? `, with any add-on - an airport transfer, a dinner - on the stay it belongs to (${t.listExtras} shows what a ${v.noun} offers beside the room)` : ''}, then call ${t.viewTrip}: ${
|
|
179
|
-
?
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
:
|
|
193
|
+
`A trip is the whole journey the guest books at once - several stays, each at one ${v.noun} for its own nights (ten days in Beijing at three ${v.nounPlural}, say). When the guest wants a journey of several days or places, plan it with ${t.itinerary} (below), put each stay in the trip with one ${t.addToTrip} per stay - the ${v.noun} id and the room id the plan priced, not names - and its nights${caps.extras ? `, with any add-on - an airport transfer, a dinner - on the stay it belongs to (${t.listExtras} shows what a ${v.noun} offers beside the room)` : ''}, then call ${t.viewTrip}: ${ro
|
|
194
|
+
? cardless
|
|
195
|
+
? 'it answers with every stay by date, its price and the total - tell the guest that. Nothing in it can be booked here yet (below).'
|
|
196
|
+
: 'its card lists every stay by date with its price and the total. Nothing in it can be booked here yet (below).'
|
|
197
|
+
: cardless
|
|
198
|
+
? `it answers with every stay by date, its price and the total - tell the guest that - and ${t.requestBooking} books them all at once.`
|
|
199
|
+
: 'its card lists every stay by date with its price and the total, and the guest books them all there at once.'} ${ro
|
|
200
|
+
? ''
|
|
201
|
+
: cardless
|
|
202
|
+
? `For one stay at one ${v.noun}, there is no card to book it from here: put it in the trip with ${t.addToTrip} and book it with ${t.requestBooking} once the guest has given the details it asks for.`
|
|
203
|
+
: `For one stay at one ${v.noun}, the guest books it from that ${v.noun}'s card - do not offer to add it to a trip.`} ${caps.extras ? '' : `${v.market ? 'The groups here sell' : `${v.brand} sells`} rooms only here, with no add-ons. `}To take a line out, set its \`rooms\`${caps.extras ? ' or `quantity`' : ''} to 0; ${t.clearTrip} empties all of it, and only when the guest asks. To know what is in the trip, call ${t.viewTrip} rather than repeating it from memory${cardless ? '.' : ' - the guest may have changed it on the card.'}`,
|
|
183
204
|
...(v.hints.hotel ? [v.hints.hotel] : []),
|
|
184
205
|
// ⚠️ HELD IS NOT BOOKED AND NOT PAID.
|
|
185
|
-
|
|
186
|
-
? `${
|
|
187
|
-
:
|
|
188
|
-
? `${t.requestBooking}
|
|
189
|
-
:
|
|
190
|
-
?
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
206
|
+
ro
|
|
207
|
+
? `${readOnlyWords(v)} There is no booking, membership or cancellation here: never ask for the guest's name, email, phone number or any payment details, and never say a room is booked, held or reserved.`
|
|
208
|
+
: takesPayment
|
|
209
|
+
? `${t.requestBooking} holds the rooms; payment follows. Do not describe a held booking as paid.`
|
|
210
|
+
: v.market
|
|
211
|
+
? `${t.requestBooking} books the rooms for a named guest with the group each ${v.noun} belongs to, one group at a time: a trip holding two groups' ${v.nounPlural} is booked group by group. What a booking makes is that group's, and the answer says it for every stay - a hold that lapses on its own and is not sent to the group, a booking that holds no room for anyone, or the hotel's own reservation paid at the hotel. Report the first two as the answer says them - not sent to the group, no room held, nothing charged - never as a reservation or as a room held for the guest; report the third as booked, to be paid at the hotel, never as paid. IT TAKES NO MONEY AND COLLECTS NO CARD. Never ask for a card or a payment.`
|
|
212
|
+
: caps.booking === 'pay-at-hotel' && (v.test || notSent)
|
|
213
|
+
? // ⚠️ NO TEST / SIMULATED IN IT (robin, 2026-11-03): what the booking is,
|
|
214
|
+
// as the answer says it - not sent to the group, or in its own test
|
|
215
|
+
// system holding no room for anyone - and nothing charged.
|
|
216
|
+
`${t.requestBooking} books the rooms for a named guest and returns a confirmation code. ${notSent
|
|
217
|
+
? `The booking is not sent to ${v.brand} and holds no room`
|
|
218
|
+
: `The booking is made in ${v.brand}'s own system and holds no room for anyone`}: report it with its code as the answer says it, never as a reservation, and never tell the guest to ${caps.prepaid ? '' : 'pay anything, '}expect a room or go to the hotel. ${caps.prepaid
|
|
219
|
+
? `A rate marked paid in advance is not booked at once: the answer gives a card page where no real money moves${notSent ? '' : ' (it takes a test card)'} and the time it must be paid by - pass both on, say no real money moves, and never call it booked until ${t.listBookings} says so. Every other rate is paid by nobody. Card details are typed only on that page: never ask for a card number, and never put one into any field.`
|
|
220
|
+
: 'IT TAKES NO MONEY AND COLLECTS NO CARD. Never ask for a card number, and never put one into any field.'}`
|
|
200
221
|
: caps.booking === 'pay-at-hotel'
|
|
201
|
-
? `${t.requestBooking} books the rooms with ${v.brand} for a named guest: each stay becomes the hotel's own reservation with its own confirmation code, kept until it is cancelled and PAID AT THE HOTEL. IT TAKES NO MONEY AND COLLECTS NO CARD. Report it as booked and to be paid at the hotel, never as paid. When the answer says ${v.brand} has not confirmed it yet, say exactly that - it is neither booked nor failed until ${t.listBookings} says so. Never ask for a card number, and never put one into any field - if the guest offers card details, tell them
|
|
222
|
+
? `${t.requestBooking} books the rooms with ${v.brand} for a named guest: each stay becomes the hotel's own reservation with its own confirmation code, kept until it is cancelled and PAID AT THE HOTEL. IT TAKES NO MONEY AND COLLECTS NO CARD. Report it as booked and to be paid at the hotel, never as paid. When the answer says ${v.brand} has not confirmed it yet, say exactly that - it is neither booked nor failed until ${t.listBookings} says so. Never ask for a card number, and never put one into any field - if the guest offers card details, tell them card details are not taken here.`
|
|
202
223
|
: v.demo
|
|
203
|
-
? // ⚠️ THIS SAID "a card is presented at check-in"
|
|
204
|
-
// "never imply a room can actually be occupied" (2026-10-05 audit,
|
|
224
|
+
? // ⚠️ THIS SAID "a card is presented at check-in" (2026-10-05 audit,
|
|
205
225
|
// P2) - and a guest could have taken the code to the real hotel.
|
|
206
|
-
|
|
207
|
-
|
|
226
|
+
// The fact, no DEMONSTRATION in it (robin, 2026-11-03).
|
|
227
|
+
`${t.requestBooking} makes a booking request: it returns a confirmation code and the moment the hold lapses on its own. ${v.brand} does not receive it and no real room is held anywhere. IT TAKES NO MONEY AND COLLECTS NO CARD. Report it with its code and when the hold lapses, as not sent to ${v.brand} - never as booked, paid or held by the hotel, and never tell the guest to present anything at a hotel. Never ask for a card number, and never put one into any field - if the guest offers card details, tell them card details are not taken here.`
|
|
228
|
+
: `${t.requestBooking} asks ${v.brand} to hold the rooms for a named guest and returns a confirmation code and the moment the hold lapses. IT TAKES NO MONEY AND COLLECTS NO CARD. Report it as requested and held, never as booked-and-paid, and tell the guest when the hold lapses and that a card is presented at check-in. Never ask for a card number, and never put one into any field - if the guest offers card details, tell them card details are not taken here.`,
|
|
208
229
|
// ⚠️ THE SAME RULE AS THE EMAIL, AND FOR THE SAME REASON. A membership
|
|
209
230
|
// number is the guest's to give; filled in from an account or a profile it
|
|
210
231
|
// would hand somebody else's tier and point balance to whoever is typing.
|
|
211
232
|
...(caps.members
|
|
212
233
|
? [
|
|
213
|
-
`${v.brand} loyalty members get a lower rate. ${t.signIn} takes a membership number and the SURNAME on it - both from the guest, in this conversation, never from an account or a profile you know from elsewhere. There is no password
|
|
234
|
+
`${v.brand} loyalty members get a lower rate. ${t.signIn} takes a membership number and the SURNAME on it - both from the guest, in this conversation, never from an account or a profile you know from elsewhere. There is no password, and nowhere here to put one, so if a guest offers one, tell them it is not needed and do not repeat it back. ${t.signOut} ends it. A rate shown as a member rate is always the discount the tier actually carries, and the public rate is shown beside it.`,
|
|
214
235
|
]
|
|
215
236
|
: []),
|
|
216
237
|
// ⚠️ A COUPON IS THE GUEST'S, and spending it is theirs to decide (0.51.0,
|
|
@@ -236,12 +257,18 @@ opts = {}) => {
|
|
|
236
257
|
// 2026-09-28) - the address filled in by suggestion instead of by argument.
|
|
237
258
|
// And not asked for up front: the name and email belong to the moment the
|
|
238
259
|
// guest asks for the booking, not to a checklist before they have a hotel.
|
|
239
|
-
|
|
260
|
+
ro
|
|
261
|
+
? ''
|
|
262
|
+
: `${t.requestBooking} needs the guest's own name and email. Ask for them when the guest asks for the booking, not before - and do not use, suggest or offer a name or email you know from anywhere else, such as their account or profile ("you could use …" included), unless they have typed it in this conversation.`,
|
|
240
263
|
// ⚠️ PREVIEW, THEN CANCEL. The tool enforces this; the instruction is why.
|
|
241
|
-
|
|
242
|
-
?
|
|
243
|
-
:
|
|
244
|
-
|
|
264
|
+
ro
|
|
265
|
+
? ''
|
|
266
|
+
: caps.changes
|
|
267
|
+
? `Moving a booking is the same two steps as cancelling one. ${t.previewChange} shows the stay it holds now, the stay it would hold and the difference between them - the new nights are priced at what those nights cost today, so a change can cost more than the booking did. Show that and get a yes before ${t.changeBooking} with \`confirmed\`. A rate the hotel will not move, and a change it has no rooms for, are refused there in the hotel's own words; a different HOTEL is a cancellation and a new booking, with whatever fee the old one carries, and calling it a change would hide that fee.`
|
|
268
|
+
: `${v.market ? 'Bookings' : `${v.brand} bookings`} cannot be moved to other nights or another room here. To change one, cancel it - preview first, as below - and book the new nights, which are priced at what they cost today. Say that plainly, with the cancellation fee if there is one, before doing either.`,
|
|
269
|
+
ro
|
|
270
|
+
? ''
|
|
271
|
+
: `Before cancelling anything: ${t.previewCancellation} says what it would cost, what comes back, and the rule behind it. Show the guest that and get a yes before calling ${t.cancelBooking} with \`confirmed\` - it returns the preview and cancels nothing without it. A guest who says "cancel it" has not yet seen the fee.`,
|
|
245
272
|
// ⚠️ THE DIVISION OF LABOUR ON THESE TWO, in one line, because getting it
|
|
246
273
|
// wrong in either direction is the failure: a model that writes prices into
|
|
247
274
|
// prose invents them, and a model that puts its reasoning inside the card
|
|
@@ -281,16 +308,18 @@ opts = {}) => {
|
|
|
281
308
|
// consecutive days as one stay of that many nights, and a dated day that
|
|
282
309
|
// names none as another night at the last one - robin's six Shanghai
|
|
283
310
|
// nights named Pudong on day 1 only and were priced as one (2026-09-29).
|
|
284
|
-
`An itinerary is a PLAN. Name the ${v.noun} on the first day of each stay: consecutive days at one ${v.noun} are one stay of that many nights, a dated day that names none keeps the guest where they slept the night before, and the day they leave needs none. ${t.itinerary} marks each stay as booked, in the trip, or only planned, and says how many of each; say so too, and never describe a planned stay as booked. Putting something in the trip is ${t.addToTrip}, and ${t.requestBooking} is what asks for the rooms. To put a plan's stays in the trip yourself, make one ${t.addToTrip} per stay with the ${v.noun} id and the room id the plan priced (they are in its answer) and that stay's nights - not by name.`,
|
|
311
|
+
`An itinerary is a PLAN. Name the ${v.noun} on the first day of each stay: consecutive days at one ${v.noun} are one stay of that many nights, a dated day that names none keeps the guest where they slept the night before, and the day they leave needs none. ${t.itinerary} marks each stay as booked, in the trip, or only planned, and says how many of each; say so too, and never describe a planned stay as booked. Putting something in the trip is ${t.addToTrip}, and ${ro ? 'nothing is booked here' : `${t.requestBooking} is what asks for the rooms`}. To put a plan's stays in the trip yourself, make one ${t.addToTrip} per stay with the ${v.noun} id and the room id the plan priced (they are in its answer) and that stay's nights - not by name.`,
|
|
285
312
|
// ⚠️ ONE BOOKING PER STAY. Said to the model so it does not tell a guest
|
|
286
313
|
// that cancelling "the booking" cancels the whole trip. And booked in part
|
|
287
314
|
// is said as that (robin, 2026-10-14): which stays, which not, and what
|
|
288
315
|
// could be booked instead - never "all booked", never "all failed".
|
|
289
|
-
|
|
290
|
-
?
|
|
291
|
-
:
|
|
292
|
-
? `A trip of more than one stay is booked
|
|
293
|
-
:
|
|
316
|
+
ro
|
|
317
|
+
? ''
|
|
318
|
+
: v.market
|
|
319
|
+
? `A trip of more than one stay is booked as one booking per stay, each with its own confirmation code - each hotel keeps its own nights. One group's stays are booked together, and ${PARTIAL} A cancellation or a change touches only the booking it names.`
|
|
320
|
+
: caps.booking === 'pay-at-hotel'
|
|
321
|
+
? `A trip of more than one stay is booked together as one booking per stay, each with its own confirmation code - each hotel keeps its own reservation. ${PARTIAL} A cancellation is made to one booking, by its code, and leaves the others as they are.`
|
|
322
|
+
: `A trip of more than one stay is requested together and held as one booking per stay, each with its own confirmation code - each hotel holds its own nights. ${PARTIAL} A change or a cancellation is made to one booking, by its code, and leaves the others as they are.`,
|
|
294
323
|
// ⚠️ TWO CURRENCIES, TWO TOTALS - said here because the model is the one
|
|
295
324
|
// who would otherwise add them up in a sentence.
|
|
296
325
|
caps.oneCurrency
|
|
@@ -303,7 +332,7 @@ opts = {}) => {
|
|
|
303
332
|
? `Prices are in each ${v.noun}'s own currency, and that is what is charged. Where an answer gives ≈ ${currencyLabel(brand.config.data.reference.currency)} figures, they are a reference at the stated rate: quote the ${v.noun}'s own price first, and add the ≈ figure only for a guest who does not use that currency - never as the price.`
|
|
304
333
|
: '',
|
|
305
334
|
caps.policies === false
|
|
306
|
-
? `A ${v.noun}'s cancellation terms are its RATE's: they come with each room for the nights asked about, and in full in the cancellation preview. ${v.market ? 'The groups here publish' : `${v.brand} publishes`} no other policy text here - asked about check-in times, children, pets, deposits or accessibility, say that it is not published here and do not fill in what hotels usually do.`
|
|
335
|
+
? `A ${v.noun}'s cancellation terms are its RATE's: they come with each room for the nights asked about${ro ? ", in the group's own words - quote them as they are, and never read a yes or no, a deadline or a fee into them" : ', and in full in the cancellation preview'}. ${v.market ? 'The groups here publish' : `${v.brand} publishes`} no other policy text here - asked about check-in times, children, pets, deposits or accessibility, say that it is not published here and do not fill in what hotels usually do.`
|
|
307
336
|
: `Questions about cancellation terms, check-in and check-out, children, pets, deposits or accessibility: call ${t.policies} with that topic and answer from what the ${v.noun} has published. If it does not say, tell the guest that and give the ${v.noun}'s link; do not fill in what hotels usually do.`,
|
|
308
337
|
`Availability is what the ${v.noun} says it has. Report a low room count as a fact if the guest asks; do not turn it into a reason to hurry.`,
|
|
309
338
|
FENCE_RULE,
|
package/dist/surface.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surface.js","sourceRoot":"","sources":["../src/surface.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAsB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAElE,+EAA+E;AAC/E,yEAAyE;AACzE,EAAE;AACF,8EAA8E;AAC9E,gFAAgF;AAChF,8EAA8E;AAC9E,gFAAgF;AAChF,gFAAgF;AAChF,4CAA4C;AAE5C,6CAA6C;AAC7C,MAAM,GAAG,GAAG,CAAC,EAAY,EAAU,EAAE,CACnC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC;AAE3F;;;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Aa;IACzB,KAAK,CAAC,KAAK,CAAC,aAAa;IACzB,0CAA0C;IAC1C,KAAK,CAAC,KAAK,CAAC,UAAU;IACtB,0EAA0E;IAC1E,8BAA8B;IAC9B,KAAK,CAAC,KAAK,CAAC,SAAS;CACtB,CAAC,CAAC"}
|
package/dist/tools.d.ts
CHANGED
|
@@ -1003,6 +1003,12 @@ export declare const homeListing: <T extends {
|
|
|
1003
1003
|
vocab: Vocabulary;
|
|
1004
1004
|
}, count: number) => T;
|
|
1005
1005
|
export declare const withheldTools: (n: ToolNames, caps: BackendCapabilities) => Set<string>;
|
|
1006
|
+
/**
|
|
1007
|
+
* What to tell a guest who wants to book where nothing can be booked yet
|
|
1008
|
+
* (`capabilities.readOnly`) - the same words in the instructions and in each
|
|
1009
|
+
* answer that would otherwise say how to book.
|
|
1010
|
+
*/
|
|
1011
|
+
export declare const readOnlyWords: (v: Pick<Vocabulary, "brand" | "noun">) => string;
|
|
1006
1012
|
/**
|
|
1007
1013
|
* The output schemas with what this backend never fills taken out.
|
|
1008
1014
|
*
|
|
@@ -1148,6 +1154,19 @@ export declare const NOTE_PASSED = "A note from the guest was passed to the hote
|
|
|
1148
1154
|
* the one who knows - and says it when the guest wants one.
|
|
1149
1155
|
*/
|
|
1150
1156
|
export declare const notSoldHereWords: (group: string) => string;
|
|
1157
|
+
/**
|
|
1158
|
+
* A hotel none of whose rooms are on sale here (`none-on-sale`), said on its page
|
|
1159
|
+
* with the way out (2026-11-03 review, T5). The page's text had one sentence -
|
|
1160
|
+
* "This hotel has no rooms on sale here." - and the card said where to book it
|
|
1161
|
+
* instead, so a client that draws no card left the guest with a dead end. The
|
|
1162
|
+
* clause is the list's (see `NOT_SOLD_OUT`), so the list and the page say one
|
|
1163
|
+
* thing; the group is the deployment's own, or the hotel's in a market, never a
|
|
1164
|
+
* name written into the sentence. In the text and, word for word, in the
|
|
1165
|
+
* structure (`noRooms`): the model reads the structure.
|
|
1166
|
+
*/
|
|
1167
|
+
export declare const notOnSaleWords: (group: string, why: string) => string;
|
|
1168
|
+
/** A rate's cancellation terms in the supplier's own words (`Room.terms`), quoted - or that none were given. */
|
|
1169
|
+
export declare const termsWords: (terms: string) => string;
|
|
1151
1170
|
/**
|
|
1152
1171
|
* From how many cities a country is a list of cities to choose from rather
|
|
1153
1172
|
* than a list of hotels. China is forty; Malaysia's six hotels in three cities
|
package/dist/tools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,mBAAmB,EAWzB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAa,YAAY,EAAgB,MAAM,cAAc,CAAC;AAC1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAM7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAkChD,OAAO,EAGL,KAAK,SAAS,EAMf,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAEV,cAAc,EAqBd,eAAe,EAMhB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,KAAK,UAAU,EAA+B,MAAM,YAAY,CAAC;AAuF1E,+GAA+G;AAC/G,eAAO,MAAM,WAAW,IAAI,CAAC;AAE7B;;;;GAIG;AACH,eAAO,MAAM,UAAU,GACrB,GAAG,SAAS,EACZ,GAAG,UAAU,EACb,OAAM,mBAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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