@curless/hotel-storefront 0.23.2 → 0.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -11
- package/dist/__tests__/__fixtures__/huazhu-fake.d.ts +2 -0
- package/dist/__tests__/__fixtures__/huazhu-fake.d.ts.map +1 -0
- package/dist/__tests__/__fixtures__/huazhu-fake.js +3 -0
- package/dist/__tests__/__fixtures__/huazhu-fake.js.map +1 -0
- package/dist/__tests__/huazhu-backend.test.d.ts +2 -0
- package/dist/__tests__/huazhu-backend.test.d.ts.map +1 -0
- package/dist/__tests__/huazhu-backend.test.js +434 -0
- package/dist/__tests__/huazhu-backend.test.js.map +1 -0
- package/dist/__tests__/huazhu-cancel-policy.test.d.ts +2 -0
- package/dist/__tests__/huazhu-cancel-policy.test.d.ts.map +1 -0
- package/dist/__tests__/huazhu-cancel-policy.test.js +82 -0
- package/dist/__tests__/huazhu-cancel-policy.test.js.map +1 -0
- package/dist/__tests__/huazhu-sandbox.test.d.ts +2 -0
- package/dist/__tests__/huazhu-sandbox.test.d.ts.map +1 -0
- package/dist/__tests__/huazhu-sandbox.test.js +172 -0
- package/dist/__tests__/huazhu-sandbox.test.js.map +1 -0
- package/dist/__tests__/huazhu-sellable.test.d.ts +2 -0
- package/dist/__tests__/huazhu-sellable.test.d.ts.map +1 -0
- package/dist/__tests__/huazhu-sellable.test.js +192 -0
- package/dist/__tests__/huazhu-sellable.test.js.map +1 -0
- package/dist/__tests__/server.test.js +129 -4
- package/dist/__tests__/server.test.js.map +1 -1
- package/dist/__tests__/tool-descriptions.test.js +85 -7
- package/dist/__tests__/tool-descriptions.test.js.map +1 -1
- package/dist/backend.d.ts +27 -0
- package/dist/backend.d.ts.map +1 -1
- package/dist/backend.js +7 -0
- 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 +64 -4
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/facilities.d.ts.map +1 -1
- package/dist/facilities.js +7 -5
- package/dist/facilities.js.map +1 -1
- package/dist/huazhu/backend.d.ts +40 -0
- package/dist/huazhu/backend.d.ts.map +1 -0
- package/dist/huazhu/backend.js +1318 -0
- package/dist/huazhu/backend.js.map +1 -0
- package/dist/huazhu/bookings.d.ts +81 -0
- package/dist/huazhu/bookings.d.ts.map +1 -0
- package/dist/huazhu/bookings.js +189 -0
- package/dist/huazhu/bookings.js.map +1 -0
- package/dist/huazhu/cancel-policy.d.ts +69 -0
- package/dist/huazhu/cancel-policy.d.ts.map +1 -0
- package/dist/huazhu/cancel-policy.js +201 -0
- package/dist/huazhu/cancel-policy.js.map +1 -0
- package/dist/huazhu/catalog.d.ts +75 -0
- package/dist/huazhu/catalog.d.ts.map +1 -0
- package/dist/huazhu/catalog.js +251 -0
- package/dist/huazhu/catalog.js.map +1 -0
- package/dist/huazhu/check.d.ts +5 -0
- package/dist/huazhu/check.d.ts.map +1 -0
- package/dist/huazhu/check.js +170 -0
- package/dist/huazhu/check.js.map +1 -0
- package/dist/huazhu/client.d.ts +100 -0
- package/dist/huazhu/client.d.ts.map +1 -0
- package/dist/huazhu/client.js +232 -0
- package/dist/huazhu/client.js.map +1 -0
- package/dist/huazhu/fake.d.ts +64 -0
- package/dist/huazhu/fake.d.ts.map +1 -0
- package/dist/huazhu/fake.js +365 -0
- package/dist/huazhu/fake.js.map +1 -0
- package/dist/huazhu/sandbox.d.ts +26 -0
- package/dist/huazhu/sandbox.d.ts.map +1 -0
- package/dist/huazhu/sandbox.js +289 -0
- package/dist/huazhu/sandbox.js.map +1 -0
- package/dist/huazhu/sellable.d.ts +81 -0
- package/dist/huazhu/sellable.d.ts.map +1 -0
- package/dist/huazhu/sellable.js +219 -0
- package/dist/huazhu/sellable.js.map +1 -0
- package/dist/huazhu/wire.d.ts +389 -0
- package/dist/huazhu/wire.d.ts.map +1 -0
- package/dist/huazhu/wire.js +72 -0
- package/dist/huazhu/wire.js.map +1 -0
- package/dist/index.js +18 -4
- package/dist/index.js.map +1 -1
- package/dist/legal.d.ts +4 -3
- package/dist/legal.d.ts.map +1 -1
- package/dist/legal.js +71 -30
- package/dist/legal.js.map +1 -1
- package/dist/lib.d.ts +8 -3
- package/dist/lib.d.ts.map +1 -1
- package/dist/lib.js +8 -1
- package/dist/lib.js.map +1 -1
- package/dist/server.d.ts +20 -8
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +132 -28
- package/dist/server.js.map +1 -1
- package/dist/surface.d.ts +2 -1
- package/dist/surface.d.ts.map +1 -1
- package/dist/surface.js +42 -10
- package/dist/surface.js.map +1 -1
- package/dist/tools.d.ts +33 -20
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +122 -11
- package/dist/tools.js.map +1 -1
- package/dist/types.d.ts +21 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/vocab.d.ts +5 -0
- package/dist/vocab.d.ts.map +1 -1
- package/dist/vocab.js +2 -1
- package/dist/vocab.js.map +1 -1
- package/package.json +1 -1
package/dist/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAgB,IAAI,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO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from './vocab.js';
|
|
2
3
|
/**
|
|
3
4
|
* How to BEHAVE, not just what the tools are.
|
|
@@ -9,7 +10,7 @@ import { type ResolvedBrand } from './vocab.js';
|
|
|
9
10
|
* held room booked; and cancel when asked to cancel, discovering the fee
|
|
10
11
|
* afterwards. Each of those is one line below.
|
|
11
12
|
*/
|
|
12
|
-
export declare const buildInstructions: (brand: ResolvedBrand) => string;
|
|
13
|
+
export declare const buildInstructions: (brand: ResolvedBrand, caps?: BackendCapabilities) => string;
|
|
13
14
|
/**
|
|
14
15
|
* The `tools/list` answer: each tool with its card metadata and the shape of
|
|
15
16
|
* what it returns.
|
package/dist/surface.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../src/surface.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../src/surface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAqB,MAAM,cAAc,CAAC;AAE3E,OAAO,EAAa,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAY3D;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,GAC5B,OAAO,aAAa,EACpB,OAAM,mBAAuC,KAC5C,MAuHF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,EACzE,OAAO,SAAS,CAAC,EAAE,EACnB,eAAe,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACtC,SAAS,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClD,YAAW,WAAW,CAAC,MAAM,CAAa;;;;;;;;;;;;;;;KAexC,CAAC;AAEL;;;;;GAKG;AACH,eAAO,MAAM,UAAU;;;CAIb,CAAC;AAEX,6DAA6D;AAC7D,eAAO,MAAM,aAAa,GAAI,OAAO,aAAa,KAAG,WAAW,CAAC,MAAM,CAkBnE,CAAC"}
|
package/dist/surface.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FULL_CAPABILITIES } from './backend.js';
|
|
1
2
|
import { FENCE_RULE } from './fence.js';
|
|
2
3
|
import { DEMO_NOTE } from './vocab.js';
|
|
3
4
|
// What a host is told about this connector: the `instructions` it injects into
|
|
@@ -19,9 +20,15 @@ import { DEMO_NOTE } from './vocab.js';
|
|
|
19
20
|
* held room booked; and cancel when asked to cancel, discovering the fee
|
|
20
21
|
* afterwards. Each of those is one line below.
|
|
21
22
|
*/
|
|
22
|
-
export const buildInstructions = (brand) => {
|
|
23
|
+
export const buildInstructions = (brand, caps = FULL_CAPABILITIES) => {
|
|
23
24
|
const { tools: t, vocab: v } = brand;
|
|
24
25
|
const takesPayment = brand.config.payment?.mode === 'wallet';
|
|
26
|
+
// ⚠️ NOTHING HERE NAMES A TOOL THIS DEPLOYMENT DOES NOT OFFER. A model told
|
|
27
|
+
// about a sign-in that does not exist asks the guest for a membership number
|
|
28
|
+
// and then has nowhere to put it.
|
|
29
|
+
const drawing = caps.extras
|
|
30
|
+
? `${t.listHotels}, ${t.getHotel} and ${t.listExtras} each draw a card every time, so they are for a guest who asked to SEE a list, a ${v.noun} or its add-ons`
|
|
31
|
+
: `${t.listHotels} and ${t.getHotel} each draw a card every time, so they are for a guest who asked to SEE a list or a ${v.noun}`;
|
|
25
32
|
return [
|
|
26
33
|
`${v.brand} ${v.nounPlural}. 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.`,
|
|
27
34
|
`These tools read ${v.brand}'s own ${v.noun} data: what each property offers, what a room costs on given nights, and what its cancellation terms are.`,
|
|
@@ -31,13 +38,18 @@ export const buildInstructions = (brand) => {
|
|
|
31
38
|
`⚠️ ${DEMO_NOTE} Say so the first time you quote a price, and never imply a room can actually be occupied.`,
|
|
32
39
|
]
|
|
33
40
|
: []),
|
|
41
|
+
...(v.sandbox
|
|
42
|
+
? [
|
|
43
|
+
`⚠️ THIS IS A TEST ENVIRONMENT. The ${v.nounPlural}, rates and bookings come from a simulated copy of ${v.brand}'s booking system, not from ${v.brand}: a booking made here is not a ${v.brand} reservation, holds no real room and is paid by nobody. Say so whenever you report a booking.`,
|
|
44
|
+
]
|
|
45
|
+
: []),
|
|
34
46
|
// ⚠️ "ONCE AND STOP" USED TO BE ABSOLUTE, and it silently outranked the two
|
|
35
47
|
// judgment cards: asked "compare the Hong Kong ones" and "plan me four
|
|
36
48
|
// days", the model listed the hotels and stopped, exactly as told
|
|
37
49
|
// (2026-09-18, both cases). Same shape as the contradiction the shopping
|
|
38
50
|
// connector shipped on 2026-09-17 - one rule written twice, differently.
|
|
39
51
|
// The carve-out is named here rather than hoped for.
|
|
40
|
-
`FIRST TURN: call ${t.listHotels} ONCE and stop - with the guest's own words as \`query\`, or the city as \`city\`, when they have said where they are going, and with nothing when they have not. Do not interview them first, do not recommend, and do not describe the ${v.nounPlural} in prose; they are on the screen. Say at most one short line. With nothing named, the answer is the group's destinations - regions, countries and cities, for the guest to choose from on the card - so do not list or name places in prose and do not ask which city: the card is where they choose. A country of many cities answers with its cities the same way; \`all\` lists the ${v.nounPlural} themselves, for a guest who asked for every one. THE ONE EXCEPTION: when the guest has asked you to compare, to recommend, or to plan days out, draw it with ${t.compare} or ${t.itinerary} in the same turn. WHICH ONE IS DECIDED BY WHAT THEY ASKED FOR, not by the word "recommend": days, a plan or an itinerary in any words - "plan our days", 行程推荐, 行程安排, 推荐一下行程 - is ${t.itinerary}, with your pick of ${v.noun} on it; which ${v.noun} to stay at - "recommend a hotel", 推荐一下酒店, "which is better" - is ${t.compare}, with your pick as \`recommended\`. Both take ${v.nounPlural} by name or id and read every figure themselves. To read up before either - which ${v.nounPlural} a city has, what each is like, its rooms and add-ons - call ${t.lookUp}: it answers in text and draws nothing. ${
|
|
52
|
+
`FIRST TURN: call ${t.listHotels} ONCE and stop - with the guest's own words as \`query\`, or the city as \`city\`, when they have said where they are going, and with nothing when they have not. Do not interview them first, do not recommend, and do not describe the ${v.nounPlural} in prose; they are on the screen. Say at most one short line. With nothing named, the answer is the group's destinations - regions, countries and cities, for the guest to choose from on the card - so do not list or name places in prose and do not ask which city: the card is where they choose. A country of many cities answers with its cities the same way; \`all\` lists the ${v.nounPlural} themselves, for a guest who asked for every one. THE ONE EXCEPTION: when the guest has asked you to compare, to recommend, or to plan days out, draw it with ${t.compare} or ${t.itinerary} in the same turn. WHICH ONE IS DECIDED BY WHAT THEY ASKED FOR, not by the word "recommend": days, a plan or an itinerary in any words - "plan our days", 行程推荐, 行程安排, 推荐一下行程 - is ${t.itinerary}, with your pick of ${v.noun} on it; which ${v.noun} to stay at - "recommend a hotel", 推荐一下酒店, "which is better" - is ${t.compare}, with your pick as \`recommended\`. Both take ${v.nounPlural} by name or id and read every figure themselves. To read up before either - which ${v.nounPlural} a city has, what each is like, its rooms${caps.extras ? ' and add-ons' : ''} - call ${t.lookUp}: it answers in text and draws nothing. ${drawing}, and each one called on the way to a comparison or a plan is one more card above it.`,
|
|
41
53
|
// ⚠️ A CITY IS NOT A HOTEL. The single most useful thing in the reference
|
|
42
54
|
// demo, and the easiest to lose: four Hong Kong properties under three
|
|
43
55
|
// brands, and an assistant that "helpfully" picks one has made the guest's
|
|
@@ -47,19 +59,35 @@ export const buildInstructions = (brand) => {
|
|
|
47
59
|
`A room has no price until the nights are known. When the guest has not said their dates, ask - do not assume tonight, this weekend, or the dates of anything else in the conversation. ${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.`,
|
|
48
60
|
`${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. The card shows the same filters as chips the guest can change.`,
|
|
49
61
|
`${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.`,
|
|
50
|
-
|
|
62
|
+
caps.extras
|
|
63
|
+
? `The card keeps a trip: room nights plus add-ons. ${t.addToTrip} and ${t.viewTrip} change and read it from the chat, and ${t.listExtras} shows what a ${v.noun} offers beside the room. To take a line out, set its \`rooms\` 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 - the guest may have changed it on the card.`
|
|
64
|
+
: `The card keeps a trip of room nights. ${t.addToTrip} and ${t.viewTrip} change and read it from the chat; ${v.brand} sells rooms only here, with no add-ons. To take a line out, set its \`rooms\` 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 - the guest may have changed it on the card.`,
|
|
51
65
|
...(v.hints.hotel ? [v.hints.hotel] : []),
|
|
52
66
|
// ⚠️ HELD IS NOT BOOKED AND NOT PAID.
|
|
53
67
|
takesPayment
|
|
54
68
|
? `${t.requestBooking} holds the rooms; payment follows. Do not describe a held booking as paid.`
|
|
55
|
-
:
|
|
69
|
+
: caps.booking === 'pay-at-hotel'
|
|
70
|
+
? `${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 this connector does not take them.`
|
|
71
|
+
: `${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 this connector does not take them.`,
|
|
56
72
|
// ⚠️ THE SAME RULE AS THE EMAIL, AND FOR THE SAME REASON. A membership
|
|
57
73
|
// number is the guest's to give; filled in from an account or a profile it
|
|
58
74
|
// would hand somebody else's tier and point balance to whoever is typing.
|
|
59
|
-
|
|
75
|
+
...(caps.members
|
|
76
|
+
? [
|
|
77
|
+
`${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: this connector has nowhere 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.`,
|
|
78
|
+
]
|
|
79
|
+
: []),
|
|
60
80
|
// ⚠️ MEMORY IS THE GUEST'S TO ASK FOR, and it lives on the membership.
|
|
61
|
-
|
|
62
|
-
|
|
81
|
+
...(caps.members
|
|
82
|
+
? [
|
|
83
|
+
`A signed-in member can have their room preferences remembered for next time - a bed type, a floor, a quiet or connecting room. An accessible room is never remembered: it is asked for on each stay that needs it. Pass \`rememberRequests\` on ${t.requestBooking} only when they asked for that. Saved preferences come back with ${t.signIn} and are ticked on the booking form: mention them, and ask before booking with them. ${t.forgetPreferences} forgets them when the guest asks.`,
|
|
84
|
+
]
|
|
85
|
+
: []),
|
|
86
|
+
...(caps.extras
|
|
87
|
+
? [
|
|
88
|
+
`An add-on can also go on a booking already made, come off it, or change: ${t.listExtras} with \`booking\` lists that ${v.noun}'s add-ons with what the booking holds, and ${t.previewChange} with \`extra\` and \`quantity\` shows what it would cost - the same preview-then-confirm as any other change.`,
|
|
89
|
+
]
|
|
90
|
+
: []),
|
|
63
91
|
// ⚠️ NOT OFFERED EITHER. Told not to USE the account's email, the model
|
|
64
92
|
// listed what it needed and added "you can use robin@curless.ai" (robin,
|
|
65
93
|
// 2026-09-28) - the address filled in by suggestion instead of by argument.
|
|
@@ -67,7 +95,9 @@ export const buildInstructions = (brand) => {
|
|
|
67
95
|
// guest asks for the booking, not to a checklist before they have a hotel.
|
|
68
96
|
`${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.`,
|
|
69
97
|
// ⚠️ PREVIEW, THEN CANCEL. The tool enforces this; the instruction is why.
|
|
70
|
-
|
|
98
|
+
caps.changes
|
|
99
|
+
? `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.`
|
|
100
|
+
: `${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.`,
|
|
71
101
|
`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.`,
|
|
72
102
|
// ⚠️ THE DIVISION OF LABOUR ON THESE TWO, in one line, because getting it
|
|
73
103
|
// wrong in either direction is the failure: a model that writes prices into
|
|
@@ -89,7 +119,7 @@ export const buildInstructions = (brand) => {
|
|
|
89
119
|
// ⚠️ ONE PLAN, ONE CARD. Each call to a tool here draws a card, so looking
|
|
90
120
|
// hotels up before planning put them all above the plan; and a timeline the
|
|
91
121
|
// model draws itself is a second, unchecked copy of the plan beside ours.
|
|
92
|
-
`A plan is ONE ${t.itinerary} call. Read up with ${t.lookUp} if you need to - it draws nothing - and call no ${t.listHotels}, ${t.getHotel}
|
|
122
|
+
`A plan is ONE ${t.itinerary} call. Read up with ${t.lookUp} if you need to - it draws nothing - and call no ${t.listHotels}, ${t.getHotel}${caps.extras ? `, ${t.listExtras}` : ''} or ${t.compare} before it, since each of them draws its own card above the plan, and it reads every price itself. Put the day's moments in each day's \`plan\` - when, and what - and the ${v.noun} in its \`items\`. The card is the plan: do not draw a timeline, a table or another picture of the same days yourself.`,
|
|
93
123
|
// ⚠️ THE PLAN'S SHAPE IS ITS NIGHTS. The server reads a hotel named on
|
|
94
124
|
// consecutive days as one stay of that many nights, and a dated day that
|
|
95
125
|
// names none as another night at the last one - robin's six Shanghai
|
|
@@ -97,7 +127,9 @@ export const buildInstructions = (brand) => {
|
|
|
97
127
|
`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.`,
|
|
98
128
|
// ⚠️ ONE BOOKING PER STAY. Said to the model so it does not tell a guest
|
|
99
129
|
// that cancelling "the booking" cancels the whole trip.
|
|
100
|
-
|
|
130
|
+
caps.booking === 'pay-at-hotel'
|
|
131
|
+
? '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. It is all or nothing: if one stay cannot be booked, the others are cancelled again and the answer says which failed. A cancellation is made to one booking, by its code, and leaves the others as they are.'
|
|
132
|
+
: '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. It is all or nothing: if one stay cannot be held, nothing is, and the answer says which. A change or a cancellation is made to one booking, by its code, and leaves the others as they are.',
|
|
101
133
|
// ⚠️ TWO CURRENCIES, TWO TOTALS - said here because the model is the one
|
|
102
134
|
// who would otherwise add them up in a sentence.
|
|
103
135
|
`A trip can hold ${v.nounPlural} that charge in different currencies. It is then priced one currency at a time: each has its own taxes and total, and nothing converts one into another - so never add them together, never convert one, and never call one ${v.noun} cheaper than another across currencies.`,
|
package/dist/surface.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surface.js","sourceRoot":"","sources":["../src/surface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,SAAS,EAAsB,MAAM,YAAY,CAAC;AAE3D,+EAA+E;AAC/E,yEAAyE;AACzE,EAAE;AACF,8EAA8E;AAC9E,gFAAgF;AAChF,8EAA8E;AAC9E,gFAAgF;AAChF,gFAAgF;AAChF,4CAA4C;AAE5C;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,
|
|
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,SAAS,EAAsB,MAAM,YAAY,CAAC;AAE3D,+EAA+E;AAC/E,yEAAyE;AACzE,EAAE;AACF,8EAA8E;AAC9E,gFAAgF;AAChF,8EAA8E;AAC9E,gFAAgF;AAChF,gFAAgF;AAChF,4CAA4C;AAE5C;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,KAAoB,EACpB,OAA4B,iBAAiB,EACrC,EAAE;IACV,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,KAAK,QAAQ,CAAC;IAC7D,4EAA4E;IAC5E,6EAA6E;IAC7E,kCAAkC;IAClC,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM;QACzB,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,KAAK,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,CAAC,UAAU;IACtB,0EAA0E;IAC1E,8BAA8B;IAC9B,KAAK,CAAC,KAAK,CAAC,SAAS;CACtB,CAAC,CAAC"}
|
package/dist/tools.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type BackendCapabilities } from './backend.js';
|
|
1
2
|
import type { HotelBackend } from './backend.js';
|
|
2
3
|
import type { ToolNames } from './config.js';
|
|
3
4
|
import type { Misses } from './limits.js';
|
|
@@ -7,7 +8,12 @@ import type { RoomRequestKind } from './types.js';
|
|
|
7
8
|
import { type Vocabulary } from './vocab.js';
|
|
8
9
|
/** How many ${nounPlural} one look-up reads - a city's worth, and what a comparison can hold and then some. */
|
|
9
10
|
export declare const LOOK_UP_MAX = 6;
|
|
10
|
-
|
|
11
|
+
/**
|
|
12
|
+
* The tools this deployment offers: every tool, less the ones its backend
|
|
13
|
+
* cannot do, and with the descriptions of the rest saying only what is true
|
|
14
|
+
* of it - see `BackendCapabilities`.
|
|
15
|
+
*/
|
|
16
|
+
export declare const buildTools: (n: ToolNames, v: Vocabulary, caps?: BackendCapabilities) => ({
|
|
11
17
|
readonly name: `list_${string}${string}`;
|
|
12
18
|
readonly description: `${string} ${string}, shown as a card. Asked with no place - or a country of many cities - it answers with the places to choose from: regions, countries and cities, each with how many ${string} it has; \`all\` lists the ${string} themselves. \`city\` (a city or a country) or \`query\` answers with the ${string}: a picture, the city and area, a rating where the ${string} publishes one, and a from-price, and a city usually holds several. With \`checkIn\` and \`checkOut\` every ${string} is priced for those nights - its cheapest room that takes the party, \`rooms\` of it, for the whole stay with taxes - or marked as having no room for them. \`sort\` and \`maxNightly\` order and cap by that price, or by the from-price without dates, where the matches share one currency. \`brand\`, \`facilities\`, \`freeCancellation\` and \`breakfast\` narrow the list, and the answer counts what each would leave. A long list comes a page at a time: the answer says how many more there are and the \`offset\` of the next page. Words or a place that match nothing are widened once, and the answer names what it widened to.${string}`;
|
|
13
19
|
readonly annotations: {
|
|
@@ -87,7 +93,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
87
93
|
};
|
|
88
94
|
};
|
|
89
95
|
};
|
|
90
|
-
}
|
|
96
|
+
} | {
|
|
91
97
|
readonly name: `get_${string}${string}`;
|
|
92
98
|
readonly description: `One ${string} in full: description, amenities, address, check-in and check-out times. Given \`checkIn\` and \`checkOut\` it also returns the room types that can be booked for those nights, each with its nightly rate, the stay total including taxes and fees, whether it can be cancelled free and until when, and how many rooms are left. \`rooms\` leaves out the types that have fewer than that many. Without dates it returns the ${string} only, because a room has no price until the nights are known. The ${string} is drawn as a card for the guest to look at.${string}`;
|
|
93
99
|
readonly annotations: {
|
|
@@ -123,7 +129,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
123
129
|
};
|
|
124
130
|
readonly required: readonly ["hotel"];
|
|
125
131
|
};
|
|
126
|
-
}
|
|
132
|
+
} | {
|
|
127
133
|
readonly name: `look_up_${string}${string}`;
|
|
128
134
|
readonly description: `Reads up to 6 ${string} - a \`city\`'s (or a country's), or the ones named in \`${string}\` - and returns them as text, with nothing drawn and nothing shown to the guest: each one's id, area, rating, description and amenities, its add-ons with their ids and prices, and, given \`checkIn\` and \`checkOut\`, its rooms priced for those nights with taxes in. The ids are the ones a comparison and a plan take.`;
|
|
129
135
|
readonly annotations: {
|
|
@@ -158,7 +164,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
158
164
|
};
|
|
159
165
|
};
|
|
160
166
|
};
|
|
161
|
-
}
|
|
167
|
+
} | {
|
|
162
168
|
readonly name: `list_${string}extras`;
|
|
163
169
|
readonly description: `What one ${string} offers beside the room: airport transfers, dinners, guided experiences, spa and family add-ons, each with its price and whether it is charged per stay, per person or per night, drawn as a card for the guest to look at.`;
|
|
164
170
|
readonly annotations: {
|
|
@@ -197,7 +203,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
197
203
|
};
|
|
198
204
|
};
|
|
199
205
|
};
|
|
200
|
-
}
|
|
206
|
+
} | {
|
|
201
207
|
readonly name: `add_to_${string}trip`;
|
|
202
208
|
readonly description: `Puts room nights or an add-on into the trip and returns the whole trip, priced. A room line needs the ${string}, the room type and the dates; \`rooms\` books more than one of that room type. An add-on line needs the ${string} and the add-on. A line is replaced, not stacked: sending the same room and dates again sets that line's room count, and 0 removes it.`;
|
|
203
209
|
readonly annotations: {
|
|
@@ -245,7 +251,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
245
251
|
};
|
|
246
252
|
readonly required: readonly ["hotel"];
|
|
247
253
|
};
|
|
248
|
-
}
|
|
254
|
+
} | {
|
|
249
255
|
readonly name: `view_${string}trip`;
|
|
250
256
|
readonly description: "The trip as it stands: every room line and add-on with its own total, the taxes and fees, and the all-in total, laid out day by day on the card.";
|
|
251
257
|
readonly annotations: {
|
|
@@ -259,7 +265,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
259
265
|
readonly type: "object";
|
|
260
266
|
readonly properties: {};
|
|
261
267
|
};
|
|
262
|
-
}
|
|
268
|
+
} | {
|
|
263
269
|
readonly name: `clear_${string}trip`;
|
|
264
270
|
readonly description: "Empties the trip.";
|
|
265
271
|
readonly annotations: {
|
|
@@ -273,7 +279,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
273
279
|
readonly type: "object";
|
|
274
280
|
readonly properties: {};
|
|
275
281
|
};
|
|
276
|
-
}
|
|
282
|
+
} | {
|
|
277
283
|
readonly name: `request_${string}booking`;
|
|
278
284
|
readonly description: `Asks ${string} to hold the trip's rooms for a named guest and returns a confirmation code and the moment the hold lapses. No payment is taken and no card is collected; the rooms are held, not paid for. Preferences - a bed type, a floor, a late arrival - ride along on the booking as requests the desk tries to meet.`;
|
|
279
285
|
readonly annotations: {
|
|
@@ -321,7 +327,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
321
327
|
};
|
|
322
328
|
readonly required: readonly ["name", "email"];
|
|
323
329
|
};
|
|
324
|
-
}
|
|
330
|
+
} | {
|
|
325
331
|
readonly name: `list_my_${string}bookings`;
|
|
326
332
|
readonly description: "The bookings made in this conversation, newest to oldest, with their status, dates and confirmation codes. A booking made elsewhere is added when both its confirmation code and the email it was made with are given.";
|
|
327
333
|
readonly annotations: {
|
|
@@ -348,7 +354,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
348
354
|
};
|
|
349
355
|
};
|
|
350
356
|
};
|
|
351
|
-
}
|
|
357
|
+
} | {
|
|
352
358
|
readonly name: `preview_${string}cancellation`;
|
|
353
359
|
readonly description: "What cancelling a booking would cost and what would be refunded, with the rule it was worked out from and the free-cancellation deadline where the rate has one. Nothing is cancelled.";
|
|
354
360
|
readonly annotations: {
|
|
@@ -372,7 +378,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
372
378
|
};
|
|
373
379
|
readonly required: readonly ["booking"];
|
|
374
380
|
};
|
|
375
|
-
}
|
|
381
|
+
} | {
|
|
376
382
|
readonly name: `cancel_${string}booking`;
|
|
377
383
|
readonly description: "Cancels a booking. Called without `confirmed` it returns the cancellation preview - the fee, the refund and the rule behind them - and cancels nothing; it cancels only when `confirmed` is true.";
|
|
378
384
|
readonly annotations: {
|
|
@@ -404,7 +410,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
404
410
|
};
|
|
405
411
|
readonly required: readonly ["booking"];
|
|
406
412
|
};
|
|
407
|
-
}
|
|
413
|
+
} | {
|
|
408
414
|
readonly name: `preview_${string}booking_change`;
|
|
409
415
|
readonly description: `What moving a booking to other nights, another room type or a different number of rooms - or putting an add-on on it, taking one off or changing how many - would cost: what it holds now, what it would hold, and the difference between them. The new nights are priced at what those nights cost today, not at the rate the booking was made on. A rate that cannot be moved, a ${string} that has no room left for the new nights and a booking that is already gone are each said in those words. Nothing is changed.`;
|
|
410
416
|
readonly annotations: {
|
|
@@ -452,7 +458,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
452
458
|
};
|
|
453
459
|
readonly required: readonly ["booking"];
|
|
454
460
|
};
|
|
455
|
-
}
|
|
461
|
+
} | {
|
|
456
462
|
readonly name: `change_${string}booking`;
|
|
457
463
|
readonly description: "Moves a booking to other nights, another room type or a different number of rooms, or sets one of its add-ons (`extra` and `quantity`; 0 takes it off). Called without `confirmed` it returns the same preview - the two stays and the difference - and changes nothing; it changes only when `confirmed` is true. The confirmation code stays the same.";
|
|
458
464
|
readonly annotations: {
|
|
@@ -504,7 +510,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
504
510
|
};
|
|
505
511
|
readonly required: readonly ["booking"];
|
|
506
512
|
};
|
|
507
|
-
}
|
|
513
|
+
} | {
|
|
508
514
|
readonly name: `compare_${string}${string}`;
|
|
509
515
|
readonly description: `Puts two to four ${string} side by side as one card. Each column's price, rate, cancellation terms, breakfast and rooms left come from the ${string}'s own record; the arguments carry only the ids, one line on who each suits, and its pros and cons. With \`checkIn\`/\`checkOut\` the columns carry each ${string}'s cheapest room for those nights; without them, a from-price.`;
|
|
510
516
|
readonly annotations: {
|
|
@@ -574,7 +580,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
574
580
|
};
|
|
575
581
|
readonly required: readonly ["entries"];
|
|
576
582
|
};
|
|
577
|
-
}
|
|
583
|
+
} | {
|
|
578
584
|
readonly name: `show_${string}itinerary`;
|
|
579
585
|
readonly description: `A day-by-day plan as one card: each day carries its own label, an optional note, the moments of the day in order, and the ${string} and add-ons attached to it, with their details filled in from their own records - a ${string} with its photograph and, given dates, the price of its nights. Each stay is marked with whether it is booked, in the trip or only in the plan, and the card says how many of each. Nothing is added to the trip.`;
|
|
580
586
|
readonly annotations: {
|
|
@@ -656,7 +662,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
656
662
|
};
|
|
657
663
|
readonly required: readonly ["title", "days"];
|
|
658
664
|
};
|
|
659
|
-
}
|
|
665
|
+
} | {
|
|
660
666
|
readonly name: `sign_in_${string}member`;
|
|
661
667
|
readonly description: `Signs a ${string} loyalty member in for this conversation with their membership number and the surname on it, and 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.`;
|
|
662
668
|
readonly annotations: {
|
|
@@ -680,7 +686,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
680
686
|
};
|
|
681
687
|
readonly required: readonly ["number", "surname"];
|
|
682
688
|
};
|
|
683
|
-
}
|
|
689
|
+
} | {
|
|
684
690
|
readonly name: `sign_out_${string}member`;
|
|
685
691
|
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.";
|
|
686
692
|
readonly annotations: {
|
|
@@ -694,7 +700,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
694
700
|
readonly type: "object";
|
|
695
701
|
readonly properties: {};
|
|
696
702
|
};
|
|
697
|
-
}
|
|
703
|
+
} | {
|
|
698
704
|
readonly name: `forget_${string}preferences`;
|
|
699
705
|
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.`;
|
|
700
706
|
readonly annotations: {
|
|
@@ -708,7 +714,7 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
708
714
|
readonly type: "object";
|
|
709
715
|
readonly properties: {};
|
|
710
716
|
};
|
|
711
|
-
}
|
|
717
|
+
} | {
|
|
712
718
|
readonly name: `get_${string}${string}_policies`;
|
|
713
719
|
readonly description: `What one ${string} publishes about cancellation, check-in and check-out, children and extra beds, pets, deposits and accessibility. With \`topic\` it returns that topic; without, all of them.`;
|
|
714
720
|
readonly annotations: {
|
|
@@ -732,10 +738,17 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary) => readonly [{
|
|
|
732
738
|
};
|
|
733
739
|
readonly required: readonly ["hotel"];
|
|
734
740
|
};
|
|
735
|
-
}];
|
|
741
|
+
})[];
|
|
742
|
+
/** The tool names a backend with these capabilities leaves out. */
|
|
743
|
+
export declare const withheldTools: (n: ToolNames, caps: BackendCapabilities) => Set<string>;
|
|
736
744
|
export declare const buildOutputSchemas: (n: ToolNames) => Record<string, unknown>;
|
|
737
745
|
export type ToolDeps = {
|
|
738
746
|
backend: HotelBackend;
|
|
747
|
+
/**
|
|
748
|
+
* The tool names this deployment offers, when it offers fewer than all -
|
|
749
|
+
* the card is sent only these, so it draws no button for a missing tool.
|
|
750
|
+
*/
|
|
751
|
+
offered?: ReadonlySet<string>;
|
|
739
752
|
trips: TripStore;
|
|
740
753
|
members: MemberStore;
|
|
741
754
|
tools: ToolNames;
|
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":"AAAA,OAAO,EACL,KAAK,mBAAmB,EAOzB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAgBhD,OAAO,EAGL,KAAK,SAAS,EAGf,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAYV,eAAe,EAIhB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAa,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAkExD,+GAA+G;AAC/G,eAAO,MAAM,WAAW,IAAI,CAAC;A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