@curless/hotel-storefront 0.5.1 → 0.6.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.
@@ -1 +1 @@
1
- {"version":3,"file":"card.generated.js","sourceRoot":"","sources":["../src/card.generated.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,wEAAwE;AACxE,gFAAgF;AAChF,4DAA4D;AAC5D,MAAM,CAAC,MAAM,eAAe,GAAW,MAAM,CAAC,IAAI,CAChD,smrUAAsmrU,EACtmrU,QAAQ,CACT,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAEnB,2FAA2F;AAC3F,MAAM,CAAC,MAAM,qBAAqB,GAChC,kEAAkE,CAAC"}
1
+ {"version":3,"file":"card.generated.js","sourceRoot":"","sources":["../src/card.generated.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,wEAAwE;AACxE,gFAAgF;AAChF,4DAA4D;AAC5D,MAAM,CAAC,MAAM,eAAe,GAAW,MAAM,CAAC,IAAI,CAChD,8yvUAA8yvU,EAC9yvU,QAAQ,CACT,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAEnB,2FAA2F;AAC3F,MAAM,CAAC,MAAM,qBAAqB,GAChC,kEAAkE,CAAC"}
package/dist/lib.d.ts ADDED
@@ -0,0 +1,25 @@
1
+ /**
2
+ * The library face of this package.
3
+ *
4
+ * ⚠️ NOT `index.ts`. That file IS the binary - it reads argv and starts
5
+ * listening, so importing it would start a server. A brand's own repository
6
+ * needs the parts that do not: the loader and its validator, to check its data
7
+ * in its own tests, and the server builder for anyone embedding it.
8
+ *
9
+ * This exists because the brands moved out. A brand repository holds the
10
+ * config, the data and the generator; the rule that the data must satisfy
11
+ * lives HERE, in the validator the server runs at boot. Without an import path
12
+ * the brand would have to re-implement that rule, and two spellings of one rule
13
+ * is how they drift.
14
+ */
15
+ export { loadHotelData, parseHotelData } from './data.js';
16
+ export { loadConfig, buildServer, widgetMeta, imageDomainsOf, CARD_URI, CARD_MIME, VERSION, } from './server.js';
17
+ export { createDemoHotels } from './demo-hotels.js';
18
+ export { toolNames } from './config.js';
19
+ export { resolveBrand, DEMO_NOTE } from './vocab.js';
20
+ export { MAX_PAGE } from './backend.js';
21
+ export type { HotelBackend } from './backend.js';
22
+ export type { HotelConfig, ToolNames } from './config.js';
23
+ export type { ResolvedBrand, Vocabulary } from './vocab.js';
24
+ export type { Booking, Extra, Hotel, HotelDetail, HotelPolicy, Identity, Member, Money, Quote, Room, Stay, TripLine, } from './types.js';
25
+ //# sourceMappingURL=lib.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EACL,UAAU,EACV,WAAW,EACX,UAAU,EACV,cAAc,EACd,QAAQ,EACR,SAAS,EACT,OAAO,GACR,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACjD,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC1D,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC5D,YAAY,EACV,OAAO,EACP,KAAK,EACL,KAAK,EACL,WAAW,EACX,WAAW,EACX,QAAQ,EACR,MAAM,EACN,KAAK,EACL,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,QAAQ,GACT,MAAM,YAAY,CAAC"}
package/dist/lib.js ADDED
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The library face of this package.
3
+ *
4
+ * ⚠️ NOT `index.ts`. That file IS the binary - it reads argv and starts
5
+ * listening, so importing it would start a server. A brand's own repository
6
+ * needs the parts that do not: the loader and its validator, to check its data
7
+ * in its own tests, and the server builder for anyone embedding it.
8
+ *
9
+ * This exists because the brands moved out. A brand repository holds the
10
+ * config, the data and the generator; the rule that the data must satisfy
11
+ * lives HERE, in the validator the server runs at boot. Without an import path
12
+ * the brand would have to re-implement that rule, and two spellings of one rule
13
+ * is how they drift.
14
+ */
15
+ export { loadHotelData, parseHotelData } from './data.js';
16
+ export { loadConfig, buildServer, widgetMeta, imageDomainsOf, CARD_URI, CARD_MIME, VERSION, } from './server.js';
17
+ export { createDemoHotels } from './demo-hotels.js';
18
+ export { toolNames } from './config.js';
19
+ export { resolveBrand, DEMO_NOTE } from './vocab.js';
20
+ export { MAX_PAGE } from './backend.js';
21
+ //# sourceMappingURL=lib.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib.js","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EACL,UAAU,EACV,WAAW,EACX,UAAU,EACV,cAAc,EACd,QAAQ,EACR,SAAS,EACT,OAAO,GACR,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
package/dist/server.d.ts CHANGED
@@ -6,7 +6,7 @@ import { TripIds } from './trip-ids.js';
6
6
  import { TripStore } from './trip.js';
7
7
  import { type ResolvedBrand } from './vocab.js';
8
8
  export declare const PROTOCOL_VERSION = "2025-06-18";
9
- export declare const VERSION = "0.5.1";
9
+ export declare const VERSION = "0.6.1";
10
10
  /**
11
11
  * The card's resource URI.
12
12
  *
@@ -15,7 +15,7 @@ export declare const VERSION = "0.5.1";
15
15
  * connector went storefront-v35 → v40 in a single day of UI work for exactly
16
16
  * this reason.
17
17
  */
18
- export declare const CARD_URI = "ui://curless/hotel/booking-v14.html";
18
+ export declare const CARD_URI = "ui://curless/hotel/booking-v15.html";
19
19
  /**
20
20
  * ⚠️ `text/html;profile=mcp-app`, not `text/html+skybridge`. The MIME is how a
21
21
  * host recognises this resource as a card at all; the plausible near-miss made
@@ -31,10 +31,10 @@ export declare const CARD_MIME = "text/html;profile=mcp-app";
31
31
  */
32
32
  export declare const UI_META: {
33
33
  readonly ui: {
34
- readonly resourceUri: "ui://curless/hotel/booking-v14.html";
34
+ readonly resourceUri: "ui://curless/hotel/booking-v15.html";
35
35
  };
36
- readonly 'ui/resourceUri': "ui://curless/hotel/booking-v14.html";
37
- readonly 'openai/outputTemplate': "ui://curless/hotel/booking-v14.html";
36
+ readonly 'ui/resourceUri': "ui://curless/hotel/booking-v15.html";
37
+ readonly 'openai/outputTemplate': "ui://curless/hotel/booking-v15.html";
38
38
  readonly 'openai/widgetAccessible': true;
39
39
  };
40
40
  /**
@@ -53,14 +53,14 @@ export declare const widgetMeta: (imageDomains: string[]) => {
53
53
  csp: {
54
54
  resourceDomains: string[];
55
55
  };
56
- resourceUri: "ui://curless/hotel/booking-v14.html";
56
+ resourceUri: "ui://curless/hotel/booking-v15.html";
57
57
  };
58
58
  'openai/widgetCSP': {
59
59
  connect_domains: never[];
60
60
  resource_domains: string[];
61
61
  };
62
- 'ui/resourceUri': "ui://curless/hotel/booking-v14.html";
63
- 'openai/outputTemplate': "ui://curless/hotel/booking-v14.html";
62
+ 'ui/resourceUri': "ui://curless/hotel/booking-v15.html";
63
+ 'openai/outputTemplate': "ui://curless/hotel/booking-v15.html";
64
64
  'openai/widgetAccessible': true;
65
65
  };
66
66
  /** The trip snapshot that rides beside every answer, for the card's header. */
package/dist/server.js CHANGED
@@ -19,7 +19,7 @@ import { resolveBrand } from './vocab.js';
19
19
  // that a host actually talks to, and the few protocol facts that were each
20
20
  // learned by getting them wrong somewhere else in this repo.
21
21
  export const PROTOCOL_VERSION = '2025-06-18';
22
- export const VERSION = '0.5.1';
22
+ export const VERSION = '0.6.1';
23
23
  /**
24
24
  * The card's resource URI.
25
25
  *
@@ -28,7 +28,7 @@ export const VERSION = '0.5.1';
28
28
  * connector went storefront-v35 → v40 in a single day of UI work for exactly
29
29
  * this reason.
30
30
  */
31
- export const CARD_URI = 'ui://curless/hotel/booking-v14.html';
31
+ export const CARD_URI = 'ui://curless/hotel/booking-v15.html';
32
32
  /**
33
33
  * ⚠️ `text/html;profile=mcp-app`, not `text/html+skybridge`. The MIME is how a
34
34
  * host recognises this resource as a card at all; the plausible near-miss made
package/dist/surface.js CHANGED
@@ -63,7 +63,7 @@ export const buildInstructions = (brand) => {
63
63
  // wrong in either direction is the failure: a model that writes prices into
64
64
  // prose invents them, and a model that puts its reasoning inside the card
65
65
  // has nothing left to say.
66
- `Two cards carry YOUR judgment rather than a tool's answer. ${t.compare} sets two to four ${v.nounPlural} side by side - send the ids, one line on who each suits, and its pros and cons; every price, rating and room name on it is read from the ${v.noun}'s own record, so do not send figures and do not repeat them in prose. ${t.itinerary} lays a plan out day by day the same way. Use them when the guest is choosing between ${v.nounPlural} or planning several days; the text you write beside them carries the reasoning, the card carries the data.`,
66
+ `Two cards carry YOUR judgment rather than a tool's answer. ${t.compare} sets two to four ${v.nounPlural} side by side - send the ids, one line on who each suits, and its pros and cons; every price, rating and room name on it is read from the ${v.noun}'s own record, so do not send figures and do not repeat them in prose. ${t.itinerary} lays a plan out day by day the same way. Use them when the guest is choosing between ${v.nounPlural} or planning several days; the text you write beside them carries the reasoning, the card carries the data. A comparison or a plan is the END of that turn: do not follow it by opening one of the ${v.nounPlural} with ${t.getHotel}. The guest has not chosen yet, the card is where they choose, and a second card underneath answers a question they have not asked.`,
67
67
  // ⚠️ TWO RULES MET HERE AND THE MODEL HAD TO PICK ONE EACH TIME: "never
68
68
  // choose a hotel for the guest" against "draw the plan they asked for". A
69
69
  // day-by-day plan needs a base, so asked to plan a city with no hotel
@@ -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,CAAC,KAAoB,EAAU,EAAE;IAChE,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,OAAO;QACL,GAAG,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,UAAU,mDAAmD,CAAC,CAAC,UAAU,+GAA+G;QACxM,oBAAoB,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,IAAI,2GAA2G;QACtJ,2EAA2E;QAC3E,GAAG,CAAC,CAAC,CAAC,IAAI;YACR,CAAC,CAAC;gBACE,MAAM,SAAS,4FAA4F;aAC5G;YACH,CAAC,CAAC,EAAE,CAAC;QACP,4EAA4E;QAC5E,uEAAuE;QACvE,kEAAkE;QAClE,yEAAyE;QACzE,yEAAyE;QACzE,qDAAqD;QACrD,oBAAoB,CAAC,CAAC,UAAU,4OAA4O,CAAC,CAAC,UAAU,6MAA6M,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,SAAS,oBAAoB;QACphB,0EAA0E;Q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,GAAG,CAAC,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE;aAC/D;SACF;QACH,CAAC,CAAC,EAAE,CAAC;IACT,OAAO,EAAE,GAAG,CAAC,EAAE,GAAG,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;AAC/F,CAAC,CAAC,CAAC;AAEL;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,0EAA0E;CAC/E,CAAC;AAEX,6DAA6D;AAC7D,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAoB,EAAuB,EAAE,CACzE,IAAI,GAAG,CAAC;IACN,KAAK,CAAC,KAAK,CAAC,SAAS;IACrB,KAAK,CAAC,KAAK,CAAC,QAAQ;IACpB,KAAK,CAAC,KAAK,CAAC,SAAS;IACrB,KAAK,CAAC,KAAK,CAAC,cAAc;IAC1B,KAAK,CAAC,KAAK,CAAC,mBAAmB;IAC/B,KAAK,CAAC,KAAK,CAAC,aAAa;IACzB,0EAA0E;IAC1E,8BAA8B;IAC9B,KAAK,CAAC,KAAK,CAAC,SAAS;CACtB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curless/hotel-storefront",
3
- "version": "0.5.1",
3
+ "version": "0.6.1",
4
4
  "type": "module",
5
5
  "description": "One hotel-booking MCP connector, driven by a config file. Brand, tool names, vocabulary and where the rooms come from live in a HotelConfig, so the second hotel group is a JSON file rather than a fork.",
6
6
  "keywords": [
@@ -13,6 +13,11 @@
13
13
  "curless"
14
14
  ],
15
15
  "license": "MIT",
16
+ "exports": {
17
+ ".": "./dist/lib.js",
18
+ "./package.json": "./package.json"
19
+ },
20
+ "types": "./dist/lib.d.ts",
16
21
  "homepage": "https://mcp.curless.ai/doc/sdks/",
17
22
  "repository": {
18
23
  "type": "git",