@curless/hotel-storefront 0.92.0 → 0.94.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.
- package/README.md +5 -2
- 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/cidr.d.ts +3 -21
- package/dist/cidr.d.ts.map +1 -1
- package/dist/cidr.js +9 -56
- package/dist/cidr.js.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/openai-conversation.d.ts +50 -0
- package/dist/openai-conversation.d.ts.map +1 -0
- package/dist/openai-conversation.js +83 -0
- package/dist/openai-conversation.js.map +1 -0
- package/dist/out-of-list.d.ts +74 -0
- package/dist/out-of-list.d.ts.map +1 -0
- package/dist/out-of-list.js +150 -0
- package/dist/out-of-list.js.map +1 -0
- package/dist/ranges-check-cli.js +19 -7
- package/dist/ranges-check-cli.js.map +1 -1
- package/dist/ranges-check.d.ts +19 -15
- package/dist/ranges-check.d.ts.map +1 -1
- package/dist/ranges-check.js +57 -109
- package/dist/ranges-check.js.map +1 -1
- package/dist/server.d.ts +14 -18
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +100 -148
- package/dist/server.js.map +1 -1
- package/dist/source-allowlist.d.ts +4 -10
- package/dist/source-allowlist.d.ts.map +1 -1
- package/dist/source-allowlist.js +28 -45
- package/dist/source-allowlist.js.map +1 -1
- package/dist/source-ranges.d.ts.map +1 -1
- package/dist/source-ranges.js +23 -418
- package/dist/source-ranges.js.map +1 -1
- package/dist/source-refusal-log.d.ts +13 -0
- package/dist/source-refusal-log.d.ts.map +1 -0
- package/dist/source-refusal-log.js +50 -0
- package/dist/source-refusal-log.js.map +1 -0
- package/dist/tools/compare.d.ts.map +1 -1
- package/dist/tools/compare.js +5 -0
- package/dist/tools/compare.js.map +1 -1
- package/dist/tools/hotel-bookable.d.ts +13 -0
- package/dist/tools/hotel-bookable.d.ts.map +1 -1
- package/dist/tools/hotel-bookable.js +22 -0
- package/dist/tools/hotel-bookable.js.map +1 -1
- package/dist/usage/boot.d.ts +3 -0
- package/dist/usage/boot.d.ts.map +1 -1
- package/dist/usage/boot.js +2 -1
- package/dist/usage/boot.js.map +1 -1
- package/dist/usage/platform.d.ts +7 -1
- package/dist/usage/platform.d.ts.map +1 -1
- package/dist/usage/platform.js +6 -2
- package/dist/usage/platform.js.map +1 -1
- package/dist/usage/recorder.d.ts +2 -0
- package/dist/usage/recorder.d.ts.map +1 -1
- package/dist/usage/recorder.js +1 -0
- package/dist/usage/recorder.js.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -116,8 +116,11 @@ path stays open.
|
|
|
116
116
|
`/healthz/detail`; `enforce` answers 403 to anywhere else.
|
|
117
117
|
`HOTEL_SOURCE_ALLOWLIST=off|shadow|enforce` overrides the mode. The address
|
|
118
118
|
believed is the last `X-Forwarded-For` entry - the one a single proxy of your
|
|
119
|
-
own appends.
|
|
120
|
-
|
|
119
|
+
own appends. OpenAI's and Anthropic's ranges are the running lists of
|
|
120
|
+
`@curless/platform-ranges` (read from their two official URLs at start and
|
|
121
|
+
daily, kept in `<HOTEL_STATE_DIR>/platform-ranges`); `/healthz/detail` says how
|
|
122
|
+
old each is, and `npm run check-ranges` compares them with what the platforms
|
|
123
|
+
publish today and exits 3 when one is stale. See `docs/mcp-source-allowlist.md` §8.
|
|
121
124
|
|
|
122
125
|
## Usage statistics
|
|
123
126
|
|
package/dist/card.generated.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const HOTEL_CARD_HTML: string;
|
|
2
2
|
/** sha256 of everything the card is built from (card-kit's source-hash.mjs) - the drift guard reads this. */
|
|
3
|
-
export declare const HOTEL_CARD_SOURCE_SHA = "
|
|
3
|
+
export declare const HOTEL_CARD_SOURCE_SHA = "aa1bc462956b9d2c0e6b30ea491f599001e1f9a1295783eca6c7c51fa65919d5";
|
|
4
4
|
/** Versions it was built with (card-kit/built-with.mjs) - the drift guard compares them with the lock. */
|
|
5
5
|
export declare const HOTEL_CARD_BUILT_WITH = "@modelcontextprotocol/ext-apps@1.7.5 @modelcontextprotocol/sdk@1.32.1 esbuild@0.25.12 rollup@4.63.3 vite@6.4.4 vite-plugin-singlefile@2.3.3 zod@4.6.7 zod-to-json-schema@3.25.2";
|
|
6
6
|
//# sourceMappingURL=card.generated.d.ts.map
|