@curless/hotel-storefront 0.75.0 → 0.75.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.
Files changed (61) hide show
  1. package/dist/account/index.d.ts +12 -3
  2. package/dist/account/index.d.ts.map +1 -1
  3. package/dist/account/index.js +38 -1
  4. package/dist/account/index.js.map +1 -1
  5. package/dist/account/member-login.d.ts +6 -1
  6. package/dist/account/member-login.d.ts.map +1 -1
  7. package/dist/account/member-login.js +1 -1
  8. package/dist/account/member-login.js.map +1 -1
  9. package/dist/backend.d.ts +21 -1
  10. package/dist/backend.d.ts.map +1 -1
  11. package/dist/backend.js.map +1 -1
  12. package/dist/card.generated.d.ts +1 -1
  13. package/dist/card.generated.js +2 -2
  14. package/dist/card.generated.js.map +1 -1
  15. package/dist/choices.d.ts +16 -17
  16. package/dist/choices.d.ts.map +1 -1
  17. package/dist/choices.js +18 -43
  18. package/dist/choices.js.map +1 -1
  19. package/dist/huazhu/backend.d.ts +16 -1
  20. package/dist/huazhu/backend.d.ts.map +1 -1
  21. package/dist/huazhu/backend.js +39 -4
  22. package/dist/huazhu/backend.js.map +1 -1
  23. package/dist/huazhu/catalog.d.ts.map +1 -1
  24. package/dist/huazhu/catalog.js +20 -0
  25. package/dist/huazhu/catalog.js.map +1 -1
  26. package/dist/huazhu/english.d.ts +12 -1
  27. package/dist/huazhu/english.d.ts.map +1 -1
  28. package/dist/huazhu/english.js +55 -4
  29. package/dist/huazhu/english.js.map +1 -1
  30. package/dist/legal.d.ts.map +1 -1
  31. package/dist/legal.js +4 -5
  32. package/dist/legal.js.map +1 -1
  33. package/dist/otaless/backend.d.ts +6 -0
  34. package/dist/otaless/backend.d.ts.map +1 -1
  35. package/dist/otaless/backend.js +86 -7
  36. package/dist/otaless/backend.js.map +1 -1
  37. package/dist/otaless/booking.d.ts +29 -7
  38. package/dist/otaless/booking.d.ts.map +1 -1
  39. package/dist/otaless/booking.js +179 -34
  40. package/dist/otaless/booking.js.map +1 -1
  41. package/dist/present.d.ts.map +1 -1
  42. package/dist/present.js +3 -5
  43. package/dist/present.js.map +1 -1
  44. package/dist/server.d.ts +21 -2
  45. package/dist/server.d.ts.map +1 -1
  46. package/dist/server.js +340 -24
  47. package/dist/server.js.map +1 -1
  48. package/dist/surface.d.ts.map +1 -1
  49. package/dist/surface.js +10 -3
  50. package/dist/surface.js.map +1 -1
  51. package/dist/tools.d.ts +18 -1
  52. package/dist/tools.d.ts.map +1 -1
  53. package/dist/tools.js +153 -77
  54. package/dist/tools.js.map +1 -1
  55. package/dist/trip-ids.d.ts +44 -0
  56. package/dist/trip-ids.d.ts.map +1 -1
  57. package/dist/trip-ids.js +105 -1
  58. package/dist/trip-ids.js.map +1 -1
  59. package/dist/types.d.ts +16 -2
  60. package/dist/types.d.ts.map +1 -1
  61. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EACL,KAAK,mBAAmB,EAazB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAa,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAa1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAiB7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAqChD,OAAO,EAGL,KAAK,SAAS,EAMf,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAEV,cAAc,EAgBd,QAAQ,EAER,KAAK,EACL,KAAK,EAKL,eAAe,EAOhB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,KAAK,UAAU,EAA+B,MAAM,YAAY,CAAC;AAsG1E,+GAA+G;AAC/G,eAAO,MAAM,WAAW,IAAI,CAAC;AAE7B;;;;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AAsBF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe,oPACuN,CAAC;AAEpP;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,2aAC+Y,CAAC;AAE3a,sFAAsF;AACtF,eAAO,MAAM,oBAAoB,kOACgM,CAAC;AAElO;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO;;;CAKV,CAAC;AAEX;;;;;;GAMG;AACH;;;GAGG;AACH,eAAO,MAAM,mBAAmB,IAAI,CAAC;AAMrC,eAAO,MAAM,cAAc,gxBAA8xB,CAAC"}
package/dist/tools.js CHANGED
@@ -111,6 +111,23 @@ export const LOOK_UP_MAX = 6;
111
111
  */
112
112
  export const buildTools = (n, v, caps = FULL_CAPABILITIES) => forCapabilities(allTools(n, v), n, v, caps);
113
113
  /** The tool names a backend with these capabilities leaves out. */
114
+ /** The list tool's sentence on what it answers asked with no place - every deployment's. */
115
+ const PLACES_SENTENCE = /Asked with no place[\s\S]*?themselves\. /;
116
+ /** The same, where a list without dates is priced for tonight (`listsTonight`) - see `tonightHomeSentence`. */
117
+ const TONIGHT_HOME_SENTENCE = /Asked with no place, it answers with the cities[\s\S]*?asked to see every one\. /;
118
+ /**
119
+ * The most hotels a list priced for tonight by default holds on one page
120
+ * (`listsTonight`, 0.75.1, 总线程 11-18): every one is a price asked of the group - two
121
+ * calls, and its products - so a guest who named no nights waits for twelve at most, and
122
+ * the rest come with the next page. A `limit` above it is taken as this.
123
+ */
124
+ export const TONIGHT_PAGE_MAX = 12;
125
+ /**
126
+ * What the list tool answers asked with no place, where a list without dates is priced
127
+ * for tonight and there are too many hotels for one page (Huazhu's production, 88 on
128
+ * 2026-11-18): the cities to choose from - the home - and never `all` for it.
129
+ */
130
+ const tonightHomeSentence = (v) => `Asked with no place, it answers with the cities to choose from, each with how many ${v.nounPlural} it has: that is the home, for a guest who has not said where. Any list here without dates - a city, words, a brand or a filter - is priced for tonight, a page at a time; \`all\` lists every ${v.noun} itself the same way, for a guest who asked to see every one. `;
114
131
  /**
115
132
  * The list tool where the deployment is one hotel in all (2026-10-15, Huazhu's
116
133
  * test system): asked with no place it answers with that hotel's page, not
@@ -130,7 +147,9 @@ export const homeListing = (t, brand, count) => {
130
147
  return t;
131
148
  const home = count === 1 ? `it answers with that ${v.noun}'s own page` : 'it lists every one of them';
132
149
  const one = `This deployment has ${count === 1 ? 'ONE' : count} ${count === 1 ? v.noun : v.nounPlural} in all: asked with no place, or with \`all\`, ${home}; any list here without dates is priced for tonight; and there is no other ${v.noun} or city to list or search. `;
133
- const places = /Asked with no place[\s\S]*?themselves\. /;
150
+ // The places sentence as every deployment has it, or as one priced for tonight has it
151
+ // (`tonightHomeSentence`): either way, this one is said instead.
152
+ const places = new RegExp(`${TONIGHT_HOME_SENTENCE.source}|${PLACES_SENTENCE.source}`);
134
153
  const schema = t.inputSchema;
135
154
  const all = schema?.properties?.all;
136
155
  return {
@@ -224,6 +243,32 @@ const forCapabilities = (tools, n, v, caps) => {
224
243
  .filter((t) => !withheld.has(t.name))
225
244
  .map((t) => {
226
245
  let out = t;
246
+ // ⚠️ A BIG DEPLOYMENT PRICED FOR TONIGHT HAS A HOME OF CITIES, AND `all` IS NOT IT
247
+ // (robin 11-18, 华住生产 at 88 hotels: 「华住首页改成城市选择的吧」 - and a list of all 88,
248
+ // 「选好日期看价格」 on each, was not what opening Huazhu should be). The sentence a
249
+ // deployment of a few has instead is `homeListing`'s, which replaces this one.
250
+ if (caps.listsTonight && !v.market && t.name === n.listHotels) {
251
+ const schema = out.inputSchema;
252
+ const all = schema?.properties?.all;
253
+ out = {
254
+ ...out,
255
+ description: out.description.replace(PLACES_SENTENCE, tonightHomeSentence(v)),
256
+ ...(schema && all
257
+ ? {
258
+ inputSchema: {
259
+ ...schema,
260
+ properties: {
261
+ ...schema.properties,
262
+ all: {
263
+ ...all,
264
+ description: `True lists every ${v.noun} itself, a page at a time - only for a guest who asked to see every one. With nothing named the answer is the cities to choose from, and \`all\` is not the way to it`,
265
+ },
266
+ },
267
+ },
268
+ }
269
+ : {}),
270
+ };
271
+ }
227
272
  // ⚠️ NOTHING TO BOOK, SO NO "TO BOOK" (2026-11-09 audit, T3): a read-only
228
273
  // deployment's list is for looking through and picking one.
229
274
  if (caps.readOnly && t.name === n.listHotels) {
@@ -3166,9 +3211,9 @@ const LABEL_WORDS = {
3166
3211
  const labelWords = (r) => {
3167
3212
  const words = [
3168
3213
  ...(r.labels ?? []).map((l) => LABEL_WORDS[l]),
3169
- ...(r.payment === 'prepaid'
3170
- ? [r.notSoldHere ? 'paid in advance - not booked here' : 'paid in advance']
3171
- : []),
3214
+ // Paid in advance, and nothing more - not "not booked here" (0.75.1, robin 11-18:
3215
+ // that is said when the guest wants one - `notSoldHereWords`).
3216
+ ...(r.payment === 'prepaid' ? ['paid in advance'] : []),
3172
3217
  ];
3173
3218
  return words.length ? ` [${words.join(', ')}]` : '';
3174
3219
  };
@@ -3212,8 +3257,14 @@ const OWN_WHY = {
3212
3257
  * the structure (2026-10-28). Listed and marked as the group sells them; the
3213
3258
  * card says no more than 预付 on them (robin, 2026-10-30), so the assistant is
3214
3259
  * the one who knows - and says it when the guest wants one.
3260
+ *
3261
+ * ⚠️ WHEN THE GUEST WANTS ONE, NEVER BEFORE (0.75.1, robin 11-18 on 华住生产: 「这两段话去掉
3262
+ * 吧,预订按钮给我加上,但是跳转的时候再提示暂时还不能预订」): a list or a page says nothing of
3263
+ * it - no sentence first, no "not booked here" on a price (0.65.0 said it before anything was
3264
+ * chosen). The card says it when Reserve is pressed; the assistant when the guest asks to
3265
+ * book one, or when it goes to book one (and the booking is refused, with the same ways on).
3215
3266
  */
3216
- export const notSoldHereWords = (group) => `Rates marked paid in advance are listed as ${group} sells them, but a stay paid in advance cannot be booked here yet; only rates paid at the hotel can be. If the guest wants one, say so plainly - nothing is booked or charged - and ${waysOnWords(group, 'a rate paid at the hotel, where this answer lists one')}`;
3267
+ export const notSoldHereWords = (group) => `Rates marked paid in advance are listed as ${group} sells them, but a stay paid in advance cannot be booked here yet; only rates paid at the hotel can be. Do not bring that up on your own - show the rates as they are, paid in advance, with nothing said of booking them here. Only when the guest wants one - asks to book it, or you go to book it - say so plainly - nothing is booked or charged - and ${waysOnWords(group, 'a rate paid at the hotel, where this answer lists one')}`;
3217
3268
  /**
3218
3269
  * Where a guest goes from a rate paid in advance (总线程 11-09, Manus on Huazhu:
3219
3270
  * 「选最便宜那个」 was answered "it cannot be booked here" and nothing more,
@@ -3403,7 +3454,7 @@ readOnly = false) => {
3403
3454
  };
3404
3455
  const pay = readOnly
3405
3456
  ? { said: '', tags: [] }
3406
- : paymentOf(rows.map(({ r }) => payOf(r)), 'room', group);
3457
+ : paymentOf(rows.map(({ r }) => payOf(r)), 'room');
3407
3458
  const lowest = Math.min(...rows.map(({ r }) => r.stayTotal.minor));
3408
3459
  const apart = {
3409
3460
  cheapest: setsApart(rows.map(({ r }) => !r.hourly && r.stayTotal.minor === lowest)),
@@ -3485,7 +3536,8 @@ readOnly = false) => {
3485
3536
  said,
3486
3537
  blocks,
3487
3538
  ids: rows.map(({ r }) => r.id),
3488
- notes: rows.map(({ r }) => readOnly ? '' : r.notSoldHere ? 'paid in advance - not booked here' : ''),
3539
+ // How it is paid, for the model too (0.75.1: no "not booked here" before the guest wants one).
3540
+ notes: rows.map(({ r }) => (readOnly ? '' : r.notSoldHere ? 'paid in advance' : '')),
3489
3541
  };
3490
3542
  };
3491
3543
  /**
@@ -3493,7 +3545,7 @@ readOnly = false) => {
3493
3545
  * id on each line - "— room `x`" - the model was to copy the line and drop its
3494
3546
  * end, and on Manus it rewrote the lines and dropped the numbers instead. The
3495
3547
  * choices are the guest's as they stand; this line is the model's - and it
3496
- * marks each one not booked here too (P1-5), where the choices may say it once
3548
+ * marks each one paid in advance too (P1-5), where the choices may say it once
3497
3549
  * for all.
3498
3550
  */
3499
3551
  const idsByNumber = (what, ids, from = 1, notes = []) => `${what} ids by number, for your calls - never for the guest: ${ids
@@ -3541,10 +3593,10 @@ numbers) => {
3541
3593
  * The lead, what the rooms share and the choices - in the text and, word for
3542
3594
  * word, in `roomChoices`.
3543
3595
  *
3544
- * ⚠️ WHAT CANNOT BE BOOKED HERE IS SAID BEFORE THE LIST (robin's Manus run, 11-06,
3545
- * via 总线程): nine Huazhu rates, every one paid in advance, and "none of these can
3546
- * be booked here" came after all of them. `before` is that sentence, first; the
3547
- * sentence of what the rooms share says it to the guest.
3596
+ * `before`: what is said before the list (other arrivals that cost less). Since 0.75.1
3597
+ * (robin 11-18) that rates paid in advance cannot be booked here is not among it: it was
3598
+ * first since robin's Manus run (11-06, via 总线程), and now it is said when the guest wants
3599
+ * one (`notSoldHereWords`).
3548
3600
  */
3549
3601
  const roomChoicesOf = (rooms, roomsWanted, when, before, group, readOnly = false) => {
3550
3602
  const c = roomChoicesBlock(rooms, roomsWanted, group, readOnly);
@@ -3558,12 +3610,6 @@ const roomChoicesOf = (rooms, roomsWanted, when, before, group, readOnly = false
3558
3610
  `\n${idsByNumber('Room', c.ids, 1, c.notes)}`,
3559
3611
  ];
3560
3612
  };
3561
- /** What is said before the rooms where some - or all - of them are paid in advance and not booked here. */
3562
- const notSoldFirst = (rooms, notSold) => !notSold
3563
- ? ''
3564
- : rooms.length > 0 && rooms.every((r) => r.notSoldHere)
3565
- ? `Every rate here for these nights is paid in advance, so none of them can be booked here yet and none is paid at the hotel - the sentence before the rooms says so; keep it first. ${notSold}`
3566
- : `${notSold} The sentence before the rooms says which are not bookable here; keep it before them.`;
3567
3613
  /**
3568
3614
  * What a hotel's rooms look like to the assistant for the nights: one line per
3569
3615
  * type, and with filters only the rates that meet ALL of them. None meeting
@@ -3578,8 +3624,8 @@ when, enough, roomsWanted, terms, noCards,
3578
3624
  /** The nights as the guest reads them - weekdays first - for a client that draws no card. */
3579
3625
  saidWhen,
3580
3626
  /**
3581
- * What is said before the list to a client that draws no card: rates paid in
3582
- * advance (`notSoldFirst`), and other arrivals that cost less (`dateFlex`).
3627
+ * What is said before the list to a client that draws no card: other arrivals
3628
+ * that cost less (`dateFlex`).
3583
3629
  */
3584
3630
  before,
3585
3631
  /** The group a stay paid in advance is booked with instead - see `paymentOf`. */
@@ -5500,7 +5546,7 @@ const hotelChoicesBlock = (hotels,
5500
5546
  offset,
5501
5547
  /** The group a hotel is with, in a market - its name is ours, not the backend's code. */
5502
5548
  groupOf,
5503
- /** The group a price paid in advance is booked with instead. */
5549
+ /** The deployment's group, where a hotel's own is not known. */
5504
5550
  group,
5505
5551
  /** Nothing can be booked here (`capabilities.readOnly`): said once, and no payment told apart. */
5506
5552
  readOnly = false) => {
@@ -5536,7 +5582,7 @@ readOnly = false) => {
5536
5582
  const cancel = spreadOf(priced.map(cancelOf));
5537
5583
  const pay = readOnly
5538
5584
  ? { said: '', tags: [] }
5539
- : paymentOf(priced.map((h) => payOf(h.forStay ?? {})), 'hotel', group, `Every price here is a rate paid in advance, and paying in advance cannot be done here yet; a hotel's own rooms show any rate paid at the hotel, or book with ${group} in its own app or on its website.`);
5585
+ : paymentOf(priced.map((h) => payOf(h.forStay ?? {})), 'hotel');
5540
5586
  const payTag = (h) => (h.forStay ? (pay.tags[priced.indexOf(h)] ?? '') : '');
5541
5587
  // The cheapest, in one currency, and the best rated - among more than one.
5542
5588
  const priceOf = (h) => h.forStay?.total ?? h.fromNightly;
@@ -5644,7 +5690,8 @@ readOnly = false) => {
5644
5690
  return {
5645
5691
  said,
5646
5692
  blocks,
5647
- notes: hotels.map((h) => !readOnly && h.forStay?.notSoldHere ? 'its price is paid in advance - not booked here' : ''),
5693
+ // How its price is paid (0.75.1: no "not booked here" before the guest wants one).
5694
+ notes: hotels.map((h) => !readOnly && h.forStay?.notSoldHere ? 'its price is paid in advance' : ''),
5648
5695
  };
5649
5696
  };
5650
5697
  /**
@@ -5688,11 +5735,8 @@ const comparedInWords = (c) => {
5688
5735
  : p.refundable
5689
5736
  ? 'no free cancellation'
5690
5737
  : 'non-refundable',
5691
- p.payment === 'prepaid'
5692
- ? p.notSoldHere
5693
- ? 'paid in advance - not booked here'
5694
- : 'paid in advance'
5695
- : '',
5738
+ // Paid in advance, and nothing more (0.75.1 - `notSoldHereWords`).
5739
+ p.payment === 'prepaid' ? 'paid in advance' : '',
5696
5740
  p.breakfast ? 'breakfast included' : 'no breakfast',
5697
5741
  ]
5698
5742
  .filter(Boolean)
@@ -6779,6 +6823,8 @@ const answerTool = async (deps, name, rawArgs, ctx) => {
6779
6823
  ? Math.max(1, Math.min(MAX_ROOMS_PER_LINE, Math.floor(args.rooms)))
6780
6824
  : undefined,
6781
6825
  filters: filtersOf(args),
6826
+ // Tonight by default: the page alone is priced (`listsTonight`, below).
6827
+ ...(ctx.pricePageOnly ? { pricePageOnly: true } : {}),
6782
6828
  };
6783
6829
  // A group as a guest names it, to the id the market files it under.
6784
6830
  const named = ask.filters?.supplier ? groupNamed(deps, ask.filters.supplier) : undefined;
@@ -7012,32 +7058,61 @@ const answerTool = async (deps, name, rawArgs, ctx) => {
7012
7058
  // per hotel (six at most). A group of many still chooses a city first and
7013
7059
  // lists twenty at a time without prices, a market its group; rooms by the
7014
7060
  // hour are today's by their own rule; dates the model gave are used as given.
7015
- if (fitsOnePage && !ask.stay && !ask.filters?.hourly && hotels.length && today?.min) {
7061
+ //
7062
+ // ⚠️ AND IN A DEPLOYMENT PRICED FOR TONIGHT, AT ANY SIZE (`listsTonight`, 0.75.1 -
7063
+ // robin 11-18 at Huazhu's 88: 「怎么变成要选日期了,不是默认当天的吗」). Its home is still
7064
+ // the cities to choose from, unpriced (`choosing`); every list - a city, words, a brand,
7065
+ // a filter, `all` - is tonight's, priced: this page only, at most TONIGHT_PAGE_MAX,
7066
+ // through the group's own limit on calls and its minute of kept prices. A hotel whose
7067
+ // price cannot be read is listed without one, said as that (`noRoomsForStayCode`
7068
+ // 'unreachable'); a list that cannot be priced at all is the list as it was.
7069
+ const tonightLists = !fitsOnePage &&
7070
+ !choosing &&
7071
+ deps.backend.capabilities?.listsTonight === true &&
7072
+ !deps.backend.suppliers &&
7073
+ !deps.vocab.market;
7074
+ if ((fitsOnePage || tonightLists) &&
7075
+ !ask.stay &&
7076
+ !ask.filters?.hourly &&
7077
+ hotels.length &&
7078
+ today?.min) {
7016
7079
  const tonight = {
7017
7080
  checkIn: today.min,
7018
7081
  checkOut: addDays(today.min, 1),
7019
7082
  guests: guestsOf(args),
7020
7083
  };
7021
- const priced = await answerTool(deps, t.listHotels, { ...args, ...tonight }, ctx);
7022
- // ⚠️ THE ROOMS ASKED FOR, not "one room" (2026-11-03 review, C12): `rooms: 2`
7023
- // rides along into the priced list, and every price in it is two rooms'.
7024
- const roomCount = ask.rooms ?? 1;
7025
- // In both, in the same words: the model reads the structure.
7026
- // ⚠️ TO A CLIENT THAT DRAWS NO CARD, THE OTHER NIGHTS ARE NAMED BY THEIR
7027
- // DATES (robin 11-06): the card has a date bar to change; in words it is
7028
- // the reply's first sentence - see `stayDefaultWords`.
7029
- const stayDefault = ctx.noCards
7030
- ? stayDefaultWords(tonight.checkIn, tonight.guests, roomCount, 'hotels')
7031
- : `No dates were asked for, so this opens on tonight by default: ${tonight.checkIn} to ${tonight.checkOut} (one night, on the hotels' own date), ${tonight.guests} ${tonight.guests === 1 ? 'guest' : 'guests'}, ${roomCount === 1 ? 'one room' : `${roomCount} rooms`} - every price here is for that night. Say so: the prices shown are tonight's, and the guest can change the dates on the card or name others. Do not ask for dates before showing them.`;
7032
- // Right after what is here - "every one, and no others" stays the first thing said.
7033
- const inAll = String(priced.structured.inAll ?? '');
7034
- return {
7035
- ...priced,
7036
- structured: { ...priced.structured, stayDefault },
7037
- text: inAll && priced.text.startsWith(inAll)
7038
- ? `${inAll} ${stayDefault}${priced.text.slice(inAll.length)}`
7039
- : `${stayDefault}\n\n${priced.text}`,
7084
+ const pageAsked = typeof args.limit === 'number' ? args.limit : DEFAULT_PAGE;
7085
+ const tonightArgs = {
7086
+ ...args,
7087
+ ...tonight,
7088
+ ...(tonightLists ? { limit: Math.min(pageAsked, TONIGHT_PAGE_MAX) } : {}),
7040
7089
  };
7090
+ // Where the deployment is priced for tonight at any size, a list that could not be
7091
+ // priced at all is the list as it was - never no list (a deployment of a few as before).
7092
+ const priced = tonightLists
7093
+ ? await answerTool(deps, t.listHotels, tonightArgs, { ...ctx, pricePageOnly: true }).then((a) => (a.isError ? undefined : a), () => undefined)
7094
+ : await answerTool(deps, t.listHotels, tonightArgs, ctx);
7095
+ if (priced) {
7096
+ // ⚠️ THE ROOMS ASKED FOR, not "one room" (2026-11-03 review, C12): `rooms: 2`
7097
+ // rides along into the priced list, and every price in it is two rooms'.
7098
+ const roomCount = ask.rooms ?? 1;
7099
+ // In both, in the same words: the model reads the structure.
7100
+ // ⚠️ TO A CLIENT THAT DRAWS NO CARD, THE OTHER NIGHTS ARE NAMED BY THEIR
7101
+ // DATES (robin 11-06): the card has a date bar to change; in words it is
7102
+ // the reply's first sentence - see `stayDefaultWords`.
7103
+ const stayDefault = ctx.noCards
7104
+ ? stayDefaultWords(tonight.checkIn, tonight.guests, roomCount, 'hotels')
7105
+ : `No dates were asked for, so this opens on tonight by default: ${tonight.checkIn} to ${tonight.checkOut} (one night, on the hotels' own date), ${tonight.guests} ${tonight.guests === 1 ? 'guest' : 'guests'}, ${roomCount === 1 ? 'one room' : `${roomCount} rooms`} - every price here is for that night. Say so: the prices shown are tonight's, and the guest can change the dates on the card or name others. Do not ask for dates before showing them.`;
7106
+ // Right after what is here - "every one, and no others" stays the first thing said.
7107
+ const inAll = String(priced.structured.inAll ?? '');
7108
+ return {
7109
+ ...priced,
7110
+ structured: { ...priced.structured, stayDefault },
7111
+ text: inAll && priced.text.startsWith(inAll)
7112
+ ? `${inAll} ${stayDefault}${priced.text.slice(inAll.length)}`
7113
+ : `${stayDefault}\n\n${priced.text}`,
7114
+ };
7115
+ }
7041
7116
  }
7042
7117
  // ⚠️ ONE HOTEL IS NO CHOICE OF PLACES (robin, 2026-10-15: 「现在只有杭州一家
7043
7118
  // 了,首页也要改」). Huazhu's test system has one hotel, and "where to?" over
@@ -7128,11 +7203,23 @@ const answerTool = async (deps, name, rawArgs, ctx) => {
7128
7203
  }, new Map())
7129
7204
  .values(),
7130
7205
  ].sort((a, b) => b.count - a.count);
7206
+ // The places page counts a group asked only with a place where it is known to have hotels (0.75.1).
7207
+ const placesTotal = total + (answer.elsewhere ?? 0);
7208
+ // ⚠️ ONE COUNTRY IS A CHOICE OF CITIES (robin 11-18, Huazhu's 88 in 32 cities, all in
7209
+ // China: 「华住首页改成城市选择的吧」). "88 hotels in 32 cities across 1 country, to choose
7210
+ // from by region, country and city - Asia: China (88)" named no city the guest could
7211
+ // choose. Where a list is priced for tonight (`listsTonight`), every city, counted - with
7212
+ // a card and without - and what choosing one does.
7213
+ const cityHome = deps.backend.capabilities?.listsTonight === true &&
7214
+ !deps.backend.suppliers &&
7215
+ !deps.vocab.market &&
7216
+ countries.length === 1 &&
7217
+ facets.cities.length > 1;
7131
7218
  return {
7132
7219
  structured: {
7133
7220
  view: 'destinations',
7134
7221
  ...common(deps, key),
7135
- total,
7222
+ total: placesTotal,
7136
7223
  regions,
7137
7224
  ask: { ...stayArgs },
7138
7225
  ...(ask.stay ? { stay: ask.stay } : {}),
@@ -7152,7 +7239,9 @@ const answerTool = async (deps, name, rawArgs, ctx) => {
7152
7239
  // groups that did not answer, by name; no places, no plans.
7153
7240
  text: total === 0
7154
7241
  ? `There are no ${n} to show right now.${degraded.said ? ` ${degraded.said}` : ''}`
7155
- : `${total} ${branded(deps.vocab, n)} in ${facets.cities.length} cities across ${countries.length} ${countries.length === 1 ? 'country' : 'countries'}, to choose from by region, country and city - ${regions.map((r) => `${r.name}: ${ctx.noCards ? everyWithCities(r.countries) : every(r.countries)}`).join('; ')}. A city or a country lists its ${n}. ${degraded.said ? `${degraded.said} ` : ''}${forPlans}`,
7242
+ : cityHome
7243
+ ? `${placesTotal} ${branded(deps.vocab, n)} in ${facets.cities.length} cities, to choose from by city: ${every(facets.cities)}. A city lists its ${n}, priced for tonight unless other nights are named; \`all\` lists every one, a page at a time - only for a guest who asked to see every one. ${degraded.said ? `${degraded.said} ` : ''}${forPlans}`
7244
+ : `${placesTotal} ${branded(deps.vocab, n)} in ${facets.cities.length} cities across ${countries.length} ${countries.length === 1 ? 'country' : 'countries'}, to choose from by region, country and city - ${regions.map((r) => `${r.name}: ${ctx.noCards ? everyWithCities(r.countries) : every(r.countries)}`).join('; ')}. A city or a country lists its ${n}. ${degraded.said ? `${degraded.said} ` : ''}${forPlans}`,
7156
7245
  };
7157
7246
  }
7158
7247
  if (hotels.length === 0) {
@@ -7393,20 +7482,12 @@ const answerTool = async (deps, name, rawArgs, ctx) => {
7393
7482
  : '',
7394
7483
  ].filter(Boolean);
7395
7484
  // A price on the list that is not booked here (`notSoldHere`): said as on
7396
- // the hotel's page, in both - see `notSoldHereWords`.
7485
+ // the hotel's page, in both - see `notSoldHereWords`. ⚠️ NOT FIRST ANY MORE (0.75.1,
7486
+ // robin 11-18): 0.58.2 had a list whose every price was one say so before the list
7487
+ // (总线程 11-09, Manus: 「选最便宜那个」 met "it cannot be booked here" and nothing more);
7488
+ // now it is said when the guest wants one, with the ways on - as on the hotel's page.
7397
7489
  const notSoldOn = hotels.find((h) => h.forStay?.notSoldHere);
7398
- // ⚠️ EVERY PRICE LISTED PAID IN ADVANCE IS SAID FIRST (总线程 11-09, Manus on
7399
- // Huazhu's production): one hotel, its one price paid in advance, and the
7400
- // guest's 「选最便宜那个」 met "it cannot be booked here" and nothing more.
7401
- const pricedHere = hotels.filter((h) => h.forStay);
7402
- const allPrepaid = pricedHere.length > 0 && pricedHere.every((h) => h.forStay?.notSoldHere);
7403
- const notSold = notSoldOn
7404
- ? `${allPrepaid
7405
- ? `Every price in this list is a rate paid in advance, which cannot be booked here - say that first, before the list. A ${deps.vocab.noun}'s own page (${deps.tools.getHotel}) lists the rates it has paid at the hotel, if it has any. `
7406
- : ''}${notSoldHereWords(groupNameOf(deps, notSoldOn.id))}`
7407
- : '';
7408
- if (notSold)
7409
- priceNotes.push(notSold);
7490
+ const notSold = notSoldOn ? notSoldHereWords(groupNameOf(deps, notSoldOn.id)) : '';
7410
7491
  // To a client that draws no card, the hotels as numbered lines - numbered
7411
7492
  // across pages, so "the 23rd" on the second page is still one hotel. In the
7412
7493
  // text and, word for word, in the structure (`hotelChoices`).
@@ -7534,6 +7615,8 @@ const answerTool = async (deps, name, rawArgs, ctx) => {
7534
7615
  widened?.found ? `Nothing matched ${widened.from}, so this is ${widened.to}.` : '',
7535
7616
  degraded.said,
7536
7617
  hotelChoices ? `\n${LIST_NOT_DRAWN}\n${hotelChoices}\n` : '',
7618
+ // After the hotels, never before them: for when the guest wants one (0.75.1).
7619
+ notSold,
7537
7620
  ctx.drawsCards && hotels.length ? ON_CARD.hotels : '',
7538
7621
  forPlans,
7539
7622
  ]
@@ -7751,14 +7834,9 @@ const answerTool = async (deps, name, rawArgs, ctx) => {
7751
7834
  ? `${flex.text} (That is the cheapest room of any kind, not only one with ${termWords(terms)}.)`
7752
7835
  : flex.text;
7753
7836
  // ⚠️ BEFORE THE LIST, NOT AFTER IT (总线程 11-06, robin's Manus run): "arriving
7754
- // the 18th is ¥253 less", last in the answer, was never passed on; and "none of
7755
- // these can be booked here" after nine rates was said last.
7756
- const before = [
7757
- notSoldFirst(choosable, notSold),
7758
- flexSaid ? `${flexSaid} Say that in one sentence before the list too.` : '',
7759
- ]
7760
- .filter(Boolean)
7761
- .join(' ');
7837
+ // the 18th is ¥253 less", last in the answer, was never passed on. (Rates not booked
7838
+ // here are no longer said before it - 0.75.1, `notSoldHereWords`.)
7839
+ const before = flexSaid ? `${flexSaid} Say that in one sentence before the list too.` : '';
7762
7840
  const saidWhen = byTheHour
7763
7841
  ? `today, ${dayWords(stay.checkIn)}, ${stay.guests} ${stay.guests === 1 ? 'guest' : 'guests'}`
7764
7842
  : `${stayDayWords(stay.checkIn, stay.checkOut)}, ${stay.guests} ${stay.guests === 1 ? 'guest' : 'guests'}${roomsWanted > 1 ? `, ${roomsWanted} rooms` : ''}`;
@@ -7807,7 +7885,8 @@ const answerTool = async (deps, name, rawArgs, ctx) => {
7807
7885
  `${offerCount(rs)} for ${ctx.noCards ? `${stayDayWords(stay.checkIn, stay.checkOut)}, ${stay.checkIn} to ${stay.checkOut}` : `${stay.checkIn} to ${stay.checkOut}`}, ${stay.guests} guests${roomsWanted > 1 ? `, ${roomsWanted} rooms` : ''}`, byTheHour ? `today, ${stay.checkIn}` : `${stay.checkIn} to ${stay.checkOut}`, enough, roomsWanted, terms, ctx.noCards, saidWhen, before, groupNameOf(deps, h.id), !!notBookable),
7808
7886
  // Said before the list to a client that draws no card (`before`).
7809
7887
  ctx.noCards && choosable.length ? '' : flexSaid,
7810
- ctx.noCards && choosable.length ? '' : notSold,
7888
+ // After the rooms, never before them: for when the guest wants one (0.75.1).
7889
+ notSold,
7811
7890
  ctx.drawsCards && enough.length ? ON_CARD.rooms : '',
7812
7891
  ]
7813
7892
  .filter(Boolean)
@@ -9033,11 +9112,8 @@ const answerTool = async (deps, name, rawArgs, ctx) => {
9033
9112
  : ctx.noCards && x.freeCancellationUntil
9034
9113
  ? `free to cancel until ${freeUntilText(x)}`
9035
9114
  : '',
9036
- x.payment === 'prepaid'
9037
- ? x.notSoldHere
9038
- ? 'paid in advance - not booked here'
9039
- : 'paid in advance'
9040
- : '',
9115
+ // Paid in advance, and nothing more (0.75.1 - `notSoldHereWords`).
9116
+ x.payment === 'prepaid' ? 'paid in advance' : '',
9041
9117
  ]
9042
9118
  .filter(Boolean)
9043
9119
  .join(', ');