@curless/hotel-storefront 0.62.0 → 0.63.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.
Files changed (59) hide show
  1. package/dist/account/fake-ota.d.ts +9 -0
  2. package/dist/account/fake-ota.d.ts.map +1 -1
  3. package/dist/account/fake-ota.js +7 -2
  4. package/dist/account/fake-ota.js.map +1 -1
  5. package/dist/account/index.d.ts +28 -0
  6. package/dist/account/index.d.ts.map +1 -1
  7. package/dist/account/index.js +402 -2
  8. package/dist/account/index.js.map +1 -1
  9. package/dist/account/pages.d.ts +99 -0
  10. package/dist/account/pages.d.ts.map +1 -1
  11. package/dist/account/pages.js +228 -4
  12. package/dist/account/pages.js.map +1 -1
  13. package/dist/account/requests.d.ts +11 -1
  14. package/dist/account/requests.d.ts.map +1 -1
  15. package/dist/account/requests.js +2 -1
  16. package/dist/account/requests.js.map +1 -1
  17. package/dist/backend.d.ts +27 -0
  18. package/dist/backend.d.ts.map +1 -1
  19. package/dist/backend.js.map +1 -1
  20. package/dist/card.generated.d.ts +1 -1
  21. package/dist/card.generated.js +2 -2
  22. package/dist/card.generated.js.map +1 -1
  23. package/dist/config.d.ts +23 -0
  24. package/dist/config.d.ts.map +1 -1
  25. package/dist/config.js +10 -0
  26. package/dist/config.js.map +1 -1
  27. package/dist/legal.d.ts.map +1 -1
  28. package/dist/legal.js +34 -22
  29. package/dist/legal.js.map +1 -1
  30. package/dist/otaless/backend.d.ts +31 -1
  31. package/dist/otaless/backend.d.ts.map +1 -1
  32. package/dist/otaless/backend.js +31 -17
  33. package/dist/otaless/backend.js.map +1 -1
  34. package/dist/otaless/booking.d.ts +14 -1
  35. package/dist/otaless/booking.d.ts.map +1 -1
  36. package/dist/otaless/booking.js +17 -10
  37. package/dist/otaless/booking.js.map +1 -1
  38. package/dist/otaless/client.d.ts +11 -0
  39. package/dist/otaless/client.d.ts.map +1 -1
  40. package/dist/otaless/client.js +20 -3
  41. package/dist/otaless/client.js.map +1 -1
  42. package/dist/otaless/make.d.ts.map +1 -1
  43. package/dist/otaless/make.js +17 -1
  44. package/dist/otaless/make.js.map +1 -1
  45. package/dist/server.d.ts +2 -2
  46. package/dist/server.d.ts.map +1 -1
  47. package/dist/server.js +73 -3
  48. package/dist/server.js.map +1 -1
  49. package/dist/surface.d.ts +6 -0
  50. package/dist/surface.d.ts.map +1 -1
  51. package/dist/surface.js +71 -23
  52. package/dist/surface.js.map +1 -1
  53. package/dist/tools.d.ts +230 -52
  54. package/dist/tools.d.ts.map +1 -1
  55. package/dist/tools.js +838 -225
  56. package/dist/tools.js.map +1 -1
  57. package/dist/types.d.ts +32 -0
  58. package/dist/types.d.ts.map +1 -1
  59. package/package.json +1 -1
package/dist/tools.d.ts CHANGED
@@ -5,7 +5,7 @@ import type { ToolNames } from './config.js';
5
5
  import type { Misses } from './limits.js';
6
6
  import type { MemberStore } from './members.js';
7
7
  import { type TripStore } from './trip.js';
8
- import type { BookingPayment, Money, Names, RoomRequestKind } from './types.js';
8
+ import type { BookingPayment, Identity, Money, Names, RoomRequestKind } from './types.js';
9
9
  import { type Vocabulary } from './vocab.js';
10
10
  /** How many ${nounPlural} one look-up reads - a city's worth, and what a comparison can hold and then some. */
11
11
  export declare const LOOK_UP_MAX = 6;
@@ -1002,6 +1002,118 @@ export declare const buildTools: (n: ToolNames, v: Vocabulary, caps?: BackendCap
1002
1002
  };
1003
1003
  readonly required: readonly ["name", "email"];
1004
1004
  };
1005
+ } | {
1006
+ readonly name: `card_${string}terms`;
1007
+ readonly description: "The card's own step when the guest presses \"Agree and continue\" under a hotel group's booking terms: it sends the guest's agreement to the terms behind `ref` and the stay is then booked with the group. It answers like a booking: the group's payment page, the terms again, or why nothing was booked.";
1008
+ readonly annotations: {
1009
+ readonly title: string;
1010
+ readonly readOnlyHint: false;
1011
+ readonly destructiveHint: false;
1012
+ readonly idempotentHint: false;
1013
+ readonly openWorldHint: boolean;
1014
+ };
1015
+ readonly inputSchema: {
1016
+ readonly type: "object";
1017
+ readonly properties: {
1018
+ readonly ref: {
1019
+ readonly type: "string";
1020
+ readonly description: "The terms the card is showing, by the reference the booking answer gave";
1021
+ };
1022
+ };
1023
+ readonly required: readonly ["ref"];
1024
+ };
1025
+ } | {
1026
+ readonly name: `refund_${string}booking`;
1027
+ readonly description: "Asks the hotel group to refund, in full, a booking made here that has been paid. It is meant for a guest who asked for their money back, once the booking and the amount have been said back to them. The answer says what the group did with the request.";
1028
+ readonly annotations: {
1029
+ readonly title: string;
1030
+ readonly readOnlyHint: false;
1031
+ readonly destructiveHint: true;
1032
+ readonly idempotentHint: true;
1033
+ readonly openWorldHint: boolean;
1034
+ };
1035
+ readonly inputSchema: {
1036
+ readonly type: "object";
1037
+ readonly properties: {
1038
+ readonly booking: {
1039
+ readonly type: "string";
1040
+ readonly description: "The confirmation code or order id, as the booking answer gave it";
1041
+ };
1042
+ readonly reason: {
1043
+ readonly type: "string";
1044
+ readonly maxLength: 200;
1045
+ readonly description: "Optional, the guest's reason in their own words, up to 200 characters";
1046
+ };
1047
+ };
1048
+ readonly required: readonly ["booking"];
1049
+ };
1050
+ } | {
1051
+ readonly name: `list_${string}booking_addons`;
1052
+ readonly description: "What can be added to a booking made here after it was made - an airport transfer and the like - each with its id, name, price and the details it needs. Only a booking made here has any.";
1053
+ readonly annotations: {
1054
+ readonly title: string;
1055
+ readonly readOnlyHint: true;
1056
+ readonly destructiveHint: false;
1057
+ readonly idempotentHint: true;
1058
+ readonly openWorldHint: boolean;
1059
+ };
1060
+ readonly inputSchema: {
1061
+ readonly type: "object";
1062
+ readonly properties: {
1063
+ readonly booking: {
1064
+ readonly type: "string";
1065
+ readonly description: "The confirmation code or order id, as the booking answer gave it";
1066
+ };
1067
+ };
1068
+ readonly required: readonly ["booking"];
1069
+ };
1070
+ } | {
1071
+ readonly name: `add_${string}booking_addon`;
1072
+ readonly description: "Adds one add-on to a booking made here, at the price the add-on list gave. It is meant for an add-on the guest chose, once its price has been said back to them. The answer gives the add-on order's code, status and total.";
1073
+ readonly annotations: {
1074
+ readonly title: string;
1075
+ readonly readOnlyHint: false;
1076
+ readonly destructiveHint: false;
1077
+ readonly idempotentHint: false;
1078
+ readonly openWorldHint: boolean;
1079
+ };
1080
+ readonly inputSchema: {
1081
+ readonly type: "object";
1082
+ readonly properties: {
1083
+ readonly booking: {
1084
+ readonly type: "string";
1085
+ readonly description: "The confirmation code or order id, as the booking answer gave it";
1086
+ };
1087
+ readonly addon: {
1088
+ readonly type: "string";
1089
+ readonly description: "The add-on id, as the add-on list gave it";
1090
+ };
1091
+ readonly direction: {
1092
+ readonly type: "string";
1093
+ readonly enum: readonly ["arrival", "departure", "round_trip"];
1094
+ readonly description: "For a transfer: to the hotel, from it, or both";
1095
+ };
1096
+ readonly flightNo: {
1097
+ readonly type: "string";
1098
+ readonly description: "For a transfer: the flight number, e.g. MU5101";
1099
+ };
1100
+ readonly pickupTime: {
1101
+ readonly type: "string";
1102
+ readonly description: "For a transfer: the pick-up time, HH:MM";
1103
+ };
1104
+ readonly date: {
1105
+ readonly type: "string";
1106
+ readonly description: "The date it is for, YYYY-MM-DD";
1107
+ };
1108
+ readonly quantity: {
1109
+ readonly type: "integer";
1110
+ readonly minimum: 1;
1111
+ readonly maximum: 20;
1112
+ readonly description: "How many, 1 to 20. Default 1";
1113
+ };
1114
+ };
1115
+ readonly required: readonly ["booking", "addon"];
1116
+ };
1005
1117
  })[];
1006
1118
  /** The tool names a backend with these capabilities leaves out. */
1007
1119
  /**
@@ -1123,6 +1235,29 @@ export type ToolDeps = {
1123
1235
  * list knows.
1124
1236
  */
1125
1237
  hotelCount?: () => number;
1238
+ /**
1239
+ * The one-time page where a guest of a client that draws no card reads a
1240
+ * group's booking terms and agrees to them (account layer, server.ts - docs
1241
+ * §13.6): `ref` is the terms' reference. Absent, or undefined, there is no
1242
+ * such page for this guest, and the terms can only be agreed to on a card.
1243
+ * ⚠️ THE LINK IS THE GUEST'S: it opens only in the browser signed in to their
1244
+ * account and works once - it is handed to the guest, never opened here.
1245
+ */
1246
+ termsLink?: (key: string, ref: string,
1247
+ /** Absent: the URL names no language and the page picks the browser's own. */
1248
+ lang?: Lang) => {
1249
+ url: string;
1250
+ expiresAt: string;
1251
+ } | undefined;
1252
+ /**
1253
+ * How a guest signs in at one hotel group when a booking needs it (`sign-in`,
1254
+ * `signed-out`, `session-expired`): the account's link tool, which takes
1255
+ * `group`, else its sign-in tool. Absent, the refusal's own words stand.
1256
+ */
1257
+ groupSignIn?: {
1258
+ linkTool?: string;
1259
+ signInTool?: string;
1260
+ };
1126
1261
  };
1127
1262
  export type ToolContext = {
1128
1263
  /** The host's `Mcp-Session-Id`, or a per-connection fallback. Never a shared constant. */
@@ -1209,50 +1344,8 @@ export declare const notSentSaid: (name: string) => string;
1209
1344
  */
1210
1345
  export declare const commonFields: (deps: ToolDeps, key?: string) => {
1211
1346
  lang?: Lang | undefined;
1212
- signedIn: boolean;
1213
- member: {
1214
- coupons?: {
1215
- spend?: string | Money | undefined;
1216
- off?: string | Money | undefined;
1217
- minSpend?: string | Money | undefined;
1218
- maxOff?: string | Money | undefined;
1219
- amountOff?: string | Money | undefined;
1220
- id: string;
1221
- kind: import("./types.js").CouponKind;
1222
- name: string;
1223
- names?: Names;
1224
- percentOff?: number;
1225
- brands?: {
1226
- name: string;
1227
- names?: Names;
1228
- }[];
1229
- hotels?: {
1230
- id: string;
1231
- name: string;
1232
- names?: Names;
1233
- }[];
1234
- validFrom: string;
1235
- validUntil: string;
1236
- state: "usable" | "used" | "expired" | "not-yet";
1237
- usedOn?: {
1238
- code?: string;
1239
- stands: boolean;
1240
- };
1241
- }[] | undefined;
1242
- pointsExpiring?: {
1243
- points: number;
1244
- on: string;
1245
- } | undefined;
1246
- points: number;
1247
- preferences?: RoomRequestKind[] | undefined;
1248
- names?: Partial<Record<import("./types.js").NameLang, string>> | undefined;
1249
- name?: string | undefined;
1250
- programme: string;
1251
- tier: {
1252
- name: string;
1253
- discount: number;
1254
- };
1255
- };
1347
+ signedIn?: undefined;
1348
+ member?: undefined;
1256
1349
  vocab: {
1257
1350
  noun: string;
1258
1351
  nounPlural: string;
@@ -1294,10 +1387,14 @@ export declare const commonFields: (deps: ToolDeps, key?: string) => {
1294
1387
  readonly payWithUnionPay: `pay_${string}booking_with_unionpay`;
1295
1388
  readonly pickRoom: `pick_${string}room`;
1296
1389
  readonly bookPicked: `book_picked_${string}room`;
1390
+ readonly acceptTerms: `card_${string}terms`;
1391
+ readonly refundBooking: `refund_${string}booking`;
1392
+ readonly listBookingAddons: `list_${string}booking_addons`;
1393
+ readonly addBookingAddon: `add_${string}booking_addon`;
1297
1394
  } | {
1298
- [k: string]: `list_${string}${string}` | `get_${string}${string}` | `look_up_${string}${string}` | `list_${string}extras` | `add_to_${string}trip` | `view_${string}trip` | `clear_${string}trip` | `request_${string}booking` | `list_my_${string}bookings` | `preview_${string}cancellation` | `cancel_${string}booking` | `preview_${string}booking_change` | `change_${string}booking` | `get_${string}${string}_policies` | `compare_${string}${string}` | `show_${string}itinerary` | `sign_in_${string}member` | `sign_out_${string}member` | `card_${string}member` | `forget_${string}preferences` | `pay_${string}booking_with_unionpay` | `pick_${string}room` | `book_picked_${string}room`;
1395
+ [k: string]: `list_${string}${string}` | `get_${string}${string}` | `look_up_${string}${string}` | `list_${string}extras` | `add_to_${string}trip` | `view_${string}trip` | `clear_${string}trip` | `request_${string}booking` | `list_my_${string}bookings` | `preview_${string}cancellation` | `cancel_${string}booking` | `preview_${string}booking_change` | `change_${string}booking` | `get_${string}${string}_policies` | `compare_${string}${string}` | `show_${string}itinerary` | `sign_in_${string}member` | `sign_out_${string}member` | `card_${string}member` | `forget_${string}preferences` | `pay_${string}booking_with_unionpay` | `pick_${string}room` | `book_picked_${string}room` | `card_${string}terms` | `refund_${string}booking` | `list_${string}booking_addons` | `add_${string}booking_addon`;
1299
1396
  };
1300
- bookingMode: "hold" | "pay-at-hotel";
1397
+ bookingMode: "pay-at-hotel" | "hold";
1301
1398
  showName?: boolean | undefined;
1302
1399
  fonts?: BrandFonts | undefined;
1303
1400
  primary?: {
@@ -1314,7 +1411,49 @@ export declare const commonFields: (deps: ToolDeps, key?: string) => {
1314
1411
  } | {
1315
1412
  lang?: Lang | undefined;
1316
1413
  signedIn: boolean;
1317
- member?: undefined;
1414
+ member: {
1415
+ coupons?: {
1416
+ spend?: string | Money | undefined;
1417
+ off?: string | Money | undefined;
1418
+ minSpend?: string | Money | undefined;
1419
+ maxOff?: string | Money | undefined;
1420
+ amountOff?: string | Money | undefined;
1421
+ id: string;
1422
+ kind: import("./types.js").CouponKind;
1423
+ name: string;
1424
+ names?: Names;
1425
+ percentOff?: number;
1426
+ brands?: {
1427
+ name: string;
1428
+ names?: Names;
1429
+ }[];
1430
+ hotels?: {
1431
+ id: string;
1432
+ name: string;
1433
+ names?: Names;
1434
+ }[];
1435
+ validFrom: string;
1436
+ validUntil: string;
1437
+ state: "usable" | "used" | "expired" | "not-yet";
1438
+ usedOn?: {
1439
+ code?: string;
1440
+ stands: boolean;
1441
+ };
1442
+ }[] | undefined;
1443
+ pointsExpiring?: {
1444
+ points: number;
1445
+ on: string;
1446
+ } | undefined;
1447
+ points: number;
1448
+ preferences?: RoomRequestKind[] | undefined;
1449
+ names?: Partial<Record<import("./types.js").NameLang, string>> | undefined;
1450
+ name?: string | undefined;
1451
+ programme: string;
1452
+ tier: {
1453
+ name: string;
1454
+ discount: number;
1455
+ };
1456
+ };
1318
1457
  vocab: {
1319
1458
  noun: string;
1320
1459
  nounPlural: string;
@@ -1356,10 +1495,14 @@ export declare const commonFields: (deps: ToolDeps, key?: string) => {
1356
1495
  readonly payWithUnionPay: `pay_${string}booking_with_unionpay`;
1357
1496
  readonly pickRoom: `pick_${string}room`;
1358
1497
  readonly bookPicked: `book_picked_${string}room`;
1498
+ readonly acceptTerms: `card_${string}terms`;
1499
+ readonly refundBooking: `refund_${string}booking`;
1500
+ readonly listBookingAddons: `list_${string}booking_addons`;
1501
+ readonly addBookingAddon: `add_${string}booking_addon`;
1359
1502
  } | {
1360
- [k: string]: `list_${string}${string}` | `get_${string}${string}` | `look_up_${string}${string}` | `list_${string}extras` | `add_to_${string}trip` | `view_${string}trip` | `clear_${string}trip` | `request_${string}booking` | `list_my_${string}bookings` | `preview_${string}cancellation` | `cancel_${string}booking` | `preview_${string}booking_change` | `change_${string}booking` | `get_${string}${string}_policies` | `compare_${string}${string}` | `show_${string}itinerary` | `sign_in_${string}member` | `sign_out_${string}member` | `card_${string}member` | `forget_${string}preferences` | `pay_${string}booking_with_unionpay` | `pick_${string}room` | `book_picked_${string}room`;
1503
+ [k: string]: `list_${string}${string}` | `get_${string}${string}` | `look_up_${string}${string}` | `list_${string}extras` | `add_to_${string}trip` | `view_${string}trip` | `clear_${string}trip` | `request_${string}booking` | `list_my_${string}bookings` | `preview_${string}cancellation` | `cancel_${string}booking` | `preview_${string}booking_change` | `change_${string}booking` | `get_${string}${string}_policies` | `compare_${string}${string}` | `show_${string}itinerary` | `sign_in_${string}member` | `sign_out_${string}member` | `card_${string}member` | `forget_${string}preferences` | `pay_${string}booking_with_unionpay` | `pick_${string}room` | `book_picked_${string}room` | `card_${string}terms` | `refund_${string}booking` | `list_${string}booking_addons` | `add_${string}booking_addon`;
1361
1504
  };
1362
- bookingMode: "hold" | "pay-at-hotel";
1505
+ bookingMode: "pay-at-hotel" | "hold";
1363
1506
  showName?: boolean | undefined;
1364
1507
  fonts?: BrandFonts | undefined;
1365
1508
  primary?: {
@@ -1375,6 +1518,8 @@ export declare const commonFields: (deps: ToolDeps, key?: string) => {
1375
1518
  brand: string;
1376
1519
  } | {
1377
1520
  lang?: Lang | undefined;
1521
+ signedIn: boolean;
1522
+ member?: undefined;
1378
1523
  vocab: {
1379
1524
  noun: string;
1380
1525
  nounPlural: string;
@@ -1416,10 +1561,14 @@ export declare const commonFields: (deps: ToolDeps, key?: string) => {
1416
1561
  readonly payWithUnionPay: `pay_${string}booking_with_unionpay`;
1417
1562
  readonly pickRoom: `pick_${string}room`;
1418
1563
  readonly bookPicked: `book_picked_${string}room`;
1564
+ readonly acceptTerms: `card_${string}terms`;
1565
+ readonly refundBooking: `refund_${string}booking`;
1566
+ readonly listBookingAddons: `list_${string}booking_addons`;
1567
+ readonly addBookingAddon: `add_${string}booking_addon`;
1419
1568
  } | {
1420
- [k: string]: `list_${string}${string}` | `get_${string}${string}` | `look_up_${string}${string}` | `list_${string}extras` | `add_to_${string}trip` | `view_${string}trip` | `clear_${string}trip` | `request_${string}booking` | `list_my_${string}bookings` | `preview_${string}cancellation` | `cancel_${string}booking` | `preview_${string}booking_change` | `change_${string}booking` | `get_${string}${string}_policies` | `compare_${string}${string}` | `show_${string}itinerary` | `sign_in_${string}member` | `sign_out_${string}member` | `card_${string}member` | `forget_${string}preferences` | `pay_${string}booking_with_unionpay` | `pick_${string}room` | `book_picked_${string}room`;
1569
+ [k: string]: `list_${string}${string}` | `get_${string}${string}` | `look_up_${string}${string}` | `list_${string}extras` | `add_to_${string}trip` | `view_${string}trip` | `clear_${string}trip` | `request_${string}booking` | `list_my_${string}bookings` | `preview_${string}cancellation` | `cancel_${string}booking` | `preview_${string}booking_change` | `change_${string}booking` | `get_${string}${string}_policies` | `compare_${string}${string}` | `show_${string}itinerary` | `sign_in_${string}member` | `sign_out_${string}member` | `card_${string}member` | `forget_${string}preferences` | `pay_${string}booking_with_unionpay` | `pick_${string}room` | `book_picked_${string}room` | `card_${string}terms` | `refund_${string}booking` | `list_${string}booking_addons` | `add_${string}booking_addon`;
1421
1570
  };
1422
- bookingMode: "hold" | "pay-at-hotel";
1571
+ bookingMode: "pay-at-hotel" | "hold";
1423
1572
  showName?: boolean | undefined;
1424
1573
  fonts?: BrandFonts | undefined;
1425
1574
  primary?: {
@@ -1461,6 +1610,13 @@ export declare const notOnSaleWords: (group: string, why: string) => string;
1461
1610
  export declare const termsWords: (terms: string) => string;
1462
1611
  /** How many room types a client that draws no card shows the guest at once - see `roomChoiceRows`. */
1463
1612
  export declare const ROOM_CHOICES_SHOWN = 5;
1613
+ /**
1614
+ * A moment as a clock time with its offset - "17:30 UTC+08:00, 10 Nov" - never
1615
+ * a bare ISO string. Read from the string itself: its own offset when it has
1616
+ * one, else UTC, since no hotel record here carries a time zone. Undefined for
1617
+ * anything that is not an ISO moment.
1618
+ */
1619
+ export declare const clockWords: (iso: string | undefined) => string | undefined;
1464
1620
  /**
1465
1621
  * From how many cities a country is a list of cities to choose from rather
1466
1622
  * than a list of hotels. China is forty; Malaysia's six hotels in three cities
@@ -1497,6 +1653,28 @@ export declare const HOME_LIST_MAX = 6;
1497
1653
  * assistant's next answer hands the card.
1498
1654
  */
1499
1655
  export declare const tripGone: (deps: ToolDeps) => ToolAnswer;
1656
+ /**
1657
+ * The guest's agreement to the terms behind `ref`, and what it came to: the
1658
+ * booking (with its payment page), the group's terms again, or a refusal's
1659
+ * code. THE ONE AGREE STEP: the booking card's own tool (`acceptTerms`) and the
1660
+ * one-time page (account/index.ts, `makeAccount({ terms })`) both end here, and
1661
+ * neither is the model's. Throws the group's refusals (`terms-gone`, `sign-in` …)
1662
+ * as `otaless/booking.ts` raises them: `refusalAnswer` says each.
1663
+ */
1664
+ export declare const agreeToTerms: (deps: ToolDeps, key: string, ref: string, ctx: ToolContext,
1665
+ /** The card's own arguments (a coupon, a request to remember), as it sent them; the page has none. */
1666
+ args?: Record<string, unknown>) => Promise<ToolAnswer>;
1667
+ /**
1668
+ * The conversation's tool context and identity from its key alone - for the
1669
+ * one-time terms page, which has the key (account layer) and no session id. The
1670
+ * key is `tripKey(session, brand)`; the identity is the same one the tools build.
1671
+ */
1672
+ export declare const contextFor: (deps: ToolDeps, key: string) => ToolContext;
1673
+ export declare const identityFor: (deps: ToolDeps, key: string) => Identity;
1674
+ /** A booking refusal as its answer (`view: 'error'`, its code), or undefined when `err` is not one. */
1675
+ export declare const bookingRefusal: (deps: ToolDeps, key: string, err: unknown) => (ToolAnswer & {
1676
+ isError?: boolean;
1677
+ }) | undefined;
1500
1678
  export declare const handleTool: (deps: ToolDeps, name: string, rawArgs: unknown, ctx: ToolContext) => Promise<ToolAnswer>;
1501
1679
  /**
1502
1680
  * Every plan's answer ends with this: the card is the plan, and a correction
@@ -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,EAWzB,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;AAoChD,OAAO,EAGL,KAAK,SAAS,EAMf,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAEV,cAAc,EAgBd,KAAK,EACL,KAAK,EAKL,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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