@curless/hotel-storefront 0.66.0 → 0.67.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/dist/account/fake-ota.d.ts.map +1 -1
- package/dist/account/fake-ota.js +2 -0
- package/dist/account/fake-ota.js.map +1 -1
- package/dist/account/index.d.ts +20 -0
- package/dist/account/index.d.ts.map +1 -1
- package/dist/account/index.js +85 -24
- package/dist/account/index.js.map +1 -1
- package/dist/account/ota-member.d.ts +2 -0
- package/dist/account/ota-member.d.ts.map +1 -1
- package/dist/account/ota-member.js +2 -0
- package/dist/account/ota-member.js.map +1 -1
- package/dist/account/pages.d.ts +16 -1
- package/dist/account/pages.d.ts.map +1 -1
- package/dist/account/pages.js +88 -10
- package/dist/account/pages.js.map +1 -1
- package/dist/account/requests.d.ts +1 -1
- package/dist/account/requests.d.ts.map +1 -1
- package/dist/account/store.d.ts +38 -1
- package/dist/account/store.d.ts.map +1 -1
- package/dist/account/store.js +32 -1
- package/dist/account/store.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 +20 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/otaless/backend.d.ts +6 -0
- package/dist/otaless/backend.d.ts.map +1 -1
- package/dist/otaless/backend.js +70 -5
- package/dist/otaless/backend.js.map +1 -1
- package/dist/otaless/booking.d.ts +119 -5
- package/dist/otaless/booking.d.ts.map +1 -1
- package/dist/otaless/booking.js +477 -59
- package/dist/otaless/booking.js.map +1 -1
- package/dist/otaless/client.d.ts +83 -7
- package/dist/otaless/client.d.ts.map +1 -1
- package/dist/otaless/client.js +117 -13
- package/dist/otaless/client.js.map +1 -1
- package/dist/otaless/fake.d.ts +45 -2
- package/dist/otaless/fake.d.ts.map +1 -1
- package/dist/otaless/fake.js +94 -10
- package/dist/otaless/fake.js.map +1 -1
- package/dist/otaless/make.d.ts +8 -0
- package/dist/otaless/make.d.ts.map +1 -1
- package/dist/otaless/make.js +55 -4
- package/dist/otaless/make.js.map +1 -1
- package/dist/otaless/places.d.ts +14 -0
- package/dist/otaless/places.d.ts.map +1 -1
- package/dist/otaless/places.js +108 -1
- package/dist/otaless/places.js.map +1 -1
- package/dist/pictures.d.ts +19 -0
- package/dist/pictures.d.ts.map +1 -0
- package/dist/pictures.js +74 -0
- package/dist/pictures.js.map +1 -0
- package/dist/server.d.ts +17 -2
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +415 -40
- package/dist/server.js.map +1 -1
- package/dist/sessions.d.ts +23 -0
- package/dist/sessions.d.ts.map +1 -1
- package/dist/sessions.js +39 -1
- package/dist/sessions.js.map +1 -1
- package/dist/supplier.js +4 -0
- package/dist/supplier.js.map +1 -1
- package/dist/surface.d.ts +24 -1
- package/dist/surface.d.ts.map +1 -1
- package/dist/surface.js +31 -4
- package/dist/surface.js.map +1 -1
- package/dist/tools.d.ts +30 -0
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +221 -27
- package/dist/tools.js.map +1 -1
- package/dist/trip-ids.d.ts +38 -1
- package/dist/trip-ids.d.ts.map +1 -1
- package/dist/trip-ids.js +98 -3
- package/dist/trip-ids.js.map +1 -1
- package/dist/types.d.ts +69 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const PICTURES_META_KEY = "curless/pictures";
|
|
2
|
+
/** A `data:` picture the card may show: a JPEG, a PNG or a WebP, in base64. */
|
|
3
|
+
export declare const DATA_PICTURE: RegExp;
|
|
4
|
+
/** The longest `data:` picture kept, in characters - a thumbnail is a few thousand. */
|
|
5
|
+
export declare const MAX_DATA_PICTURE: number;
|
|
6
|
+
/** What stands for a picture in the answer, beside it in `PICTURES_META_KEY`. */
|
|
7
|
+
export declare const PICTURE_REF = "pic:";
|
|
8
|
+
export declare const isDataPicture: (u: unknown) => u is string;
|
|
9
|
+
/**
|
|
10
|
+
* The answer with every `data:` picture (`imageUrl`, `images`) taken out: for a
|
|
11
|
+
* card (`card`), each one allowed is a `pic:` reference and is in `pictures`; for
|
|
12
|
+
* no card, it is gone. Any other picture is left exactly as it was - an answer
|
|
13
|
+
* with none comes back as the same object.
|
|
14
|
+
*/
|
|
15
|
+
export declare const picturesApart: <T>(answer: T, card: boolean) => {
|
|
16
|
+
shown: T;
|
|
17
|
+
pictures: Record<string, string>;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=pictures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pictures.d.ts","sourceRoot":"","sources":["../src/pictures.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,iBAAiB,qBAAqB,CAAC;AACpD,+EAA+E;AAC/E,eAAO,MAAM,YAAY,QAAgE,CAAC;AAC1F,uFAAuF;AACvF,eAAO,MAAM,gBAAgB,QAAa,CAAC;AAC3C,iFAAiF;AACjF,eAAO,MAAM,WAAW,SAAS,CAAC;AAElC,eAAO,MAAM,aAAa,GAAI,GAAG,OAAO,KAAG,CAAC,IAAI,MAC+B,CAAC;AAKhF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,CAAC,EAC7B,QAAQ,CAAC,EACT,MAAM,OAAO,KACZ;IAAE,KAAK,EAAE,CAAC,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAkC9C,CAAC"}
|
package/dist/pictures.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { createHash } from 'node:crypto';
|
|
2
|
+
// A picture the backend sends as itself, not as an address (0.67.0, robin 11-11:
|
|
3
|
+
// 「后端 imageUrl 给什么就显示什么」) - Otaless's are 64×48 JPEGs in base64.
|
|
4
|
+
//
|
|
5
|
+
// ⚠️ ONLY A PICTURE, AND ONLY THREE KINDS. A `data:` address can be anything -
|
|
6
|
+
// an SVG with its own script, an HTML page - and the card's CSP can open `data:`
|
|
7
|
+
// to images only by scheme, never by kind. So the kind is checked here: a JPEG,
|
|
8
|
+
// a PNG or a WebP, in base64, and not past `MAX_DATA_PICTURE`. Anything else is
|
|
9
|
+
// dropped, as a hotel with no picture is drawn (its text, no picture's place).
|
|
10
|
+
//
|
|
11
|
+
// ⚠️ AND NEVER IN WHAT THE MODEL READS. A list of twenty hotels with a picture
|
|
12
|
+
// each is tens of kilobytes of base64 in `structuredContent`, which a host hands
|
|
13
|
+
// its model. The card's own pictures go beside the answer (`PICTURES_META_KEY`),
|
|
14
|
+
// by a short reference in the answer (`pic:…`), and the card puts them back
|
|
15
|
+
// (card.ts `withKept`); a host that draws no card gets none at all - there is
|
|
16
|
+
// nothing to show them on, and its `_meta` may reach the model.
|
|
17
|
+
export const PICTURES_META_KEY = 'curless/pictures';
|
|
18
|
+
/** A `data:` picture the card may show: a JPEG, a PNG or a WebP, in base64. */
|
|
19
|
+
export const DATA_PICTURE = /^data:image\/(?:jpeg|png|webp);base64,[A-Za-z0-9+/]+={0,2}$/;
|
|
20
|
+
/** The longest `data:` picture kept, in characters - a thumbnail is a few thousand. */
|
|
21
|
+
export const MAX_DATA_PICTURE = 256 * 1024;
|
|
22
|
+
/** What stands for a picture in the answer, beside it in `PICTURES_META_KEY`. */
|
|
23
|
+
export const PICTURE_REF = 'pic:';
|
|
24
|
+
export const isDataPicture = (u) => typeof u === 'string' && u.length <= MAX_DATA_PICTURE && DATA_PICTURE.test(u);
|
|
25
|
+
const isData = (u) => typeof u === 'string' && u.slice(0, 5).toLowerCase() === 'data:';
|
|
26
|
+
/**
|
|
27
|
+
* The answer with every `data:` picture (`imageUrl`, `images`) taken out: for a
|
|
28
|
+
* card (`card`), each one allowed is a `pic:` reference and is in `pictures`; for
|
|
29
|
+
* no card, it is gone. Any other picture is left exactly as it was - an answer
|
|
30
|
+
* with none comes back as the same object.
|
|
31
|
+
*/
|
|
32
|
+
export const picturesApart = (answer, card) => {
|
|
33
|
+
const pictures = {};
|
|
34
|
+
const ref = (u) => {
|
|
35
|
+
if (!card || !isDataPicture(u))
|
|
36
|
+
return undefined;
|
|
37
|
+
const k = createHash('sha256').update(u).digest('base64url').slice(0, 12);
|
|
38
|
+
pictures[k] = u;
|
|
39
|
+
return `${PICTURE_REF}${k}`;
|
|
40
|
+
};
|
|
41
|
+
const walk = (v) => {
|
|
42
|
+
if (Array.isArray(v)) {
|
|
43
|
+
let changed = false;
|
|
44
|
+
const out = v.map((x) => {
|
|
45
|
+
const y = walk(x);
|
|
46
|
+
if (y !== x)
|
|
47
|
+
changed = true;
|
|
48
|
+
return y;
|
|
49
|
+
});
|
|
50
|
+
return changed ? out : v;
|
|
51
|
+
}
|
|
52
|
+
if (!v || typeof v !== 'object')
|
|
53
|
+
return v;
|
|
54
|
+
let changed = false;
|
|
55
|
+
const entries = [];
|
|
56
|
+
for (const [k, x] of Object.entries(v)) {
|
|
57
|
+
let y = x;
|
|
58
|
+
if (k === 'imageUrl' && isData(x))
|
|
59
|
+
y = ref(x);
|
|
60
|
+
else if (k === 'images' && Array.isArray(x) && x.some(isData))
|
|
61
|
+
y = x.flatMap((u) => (isData(u) ? (ref(u) ?? []) : [u]));
|
|
62
|
+
else
|
|
63
|
+
y = walk(x);
|
|
64
|
+
if (y !== x)
|
|
65
|
+
changed = true;
|
|
66
|
+
// A picture not kept is no picture: the key goes, as for a hotel that has none.
|
|
67
|
+
if (y !== undefined)
|
|
68
|
+
entries.push([k, y]);
|
|
69
|
+
}
|
|
70
|
+
return changed ? Object.fromEntries(entries) : v;
|
|
71
|
+
};
|
|
72
|
+
return { shown: walk(answer), pictures };
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=pictures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pictures.js","sourceRoot":"","sources":["../src/pictures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,iFAAiF;AACjF,iEAAiE;AACjE,EAAE;A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AI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;gBACtD,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;YACjB,IAAI,CAAC,KAAK,CAAC;gBAAE,OAAO,GAAG,IAAI,CAAC;YAC5B,gFAAgF;YAChF,IAAI,CAAC,KAAK,SAAS;gBAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;QACD,OAAO,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACnD,CAAC,CAAC;IACF,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,CAAM,EAAE,QAAQ,EAAE,CAAC;AAChD,CAAC,CAAC"}
|
package/dist/server.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare const INITIALIZE_PER_MINUTE = 300;
|
|
|
29
29
|
* number. Found by reading the boot banner of a container that had just been
|
|
30
30
|
* deployed (2026-09-22): seventeen tools listed, and "0.7.0" above them.
|
|
31
31
|
*/
|
|
32
|
-
export declare const VERSION = "0.
|
|
32
|
+
export declare const VERSION = "0.67.1";
|
|
33
33
|
/**
|
|
34
34
|
* The card's resource URI.
|
|
35
35
|
*
|
|
@@ -38,7 +38,7 @@ export declare const VERSION = "0.66.0";
|
|
|
38
38
|
* connector went storefront-v35 → v40 in a single day of UI work for exactly
|
|
39
39
|
* this reason.
|
|
40
40
|
*/
|
|
41
|
-
export declare const CARD_URI = "ui://curless/hotel/booking-
|
|
41
|
+
export declare const CARD_URI = "ui://curless/hotel/booking-v131.html";
|
|
42
42
|
/**
|
|
43
43
|
* The URI one deployment names its card by: `CARD_URI` with a short hash of
|
|
44
44
|
* everything a host caches under it - the card itself, and the hosts it may
|
|
@@ -222,6 +222,21 @@ export type ServerOptions = {
|
|
|
222
222
|
};
|
|
223
223
|
export { imageDomainsOf } from './supplier.js';
|
|
224
224
|
export declare const buildServer: (opts: ServerOptions) => BuiltServer;
|
|
225
|
+
/**
|
|
226
|
+
* The line every answer to a client that draws no card ends with, once its
|
|
227
|
+
* conversation has an id (0.67.0): the id, and that every later call passes it.
|
|
228
|
+
* In `structuredContent` too, the same words (`conversation`): a host may hand
|
|
229
|
+
* its model that rather than the text.
|
|
230
|
+
*/
|
|
231
|
+
export declare const conversationSaid: (id: string) => string;
|
|
232
|
+
/** A new connection's look at what its conversation holds, naming no trip: it holds nothing yet (0.67.0). */
|
|
233
|
+
export declare const NEW_CONNECTION_SAID = "This connection is new and holds nothing yet. If an earlier answer in this chat gave a trip id, call again with it as trip: that is how this conversation's trip, sign-in and bookings are found.";
|
|
234
|
+
/** A trip id whose conversation was quiet too long to be taken over (0.67.1). */
|
|
235
|
+
export declare const EXPIRED_SAID = "The trip id passed names a conversation not used for more than 30 minutes, so it was not picked up: this is a new conversation, and nothing of the earlier one - its trip, sign-in or bookings - carries over. The guest signs in again if they need to.";
|
|
236
|
+
/** Times each app's header names are logged at `initialize`, and at `tools/call` (0.67.0). */
|
|
237
|
+
export declare const HEADER_LOGS_PER_APP = 5;
|
|
238
|
+
/** Apps whose header names are logged at all, by where - past it, a new name is not (0.67.0). */
|
|
239
|
+
export declare const HEADER_APPS = 200;
|
|
225
240
|
export declare const clientIp: (header: string | undefined) => string | undefined;
|
|
226
241
|
/** Read a brand's config from disk. The path is the one `data.file` resolves against. */
|
|
227
242
|
export declare const loadConfig: (path: string) => {
|
package/dist/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAYA,OAAO,EAAgB,IAAI,EAAE,MAAM,MAAM,CAAC;AAO1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI/C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"server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