@burdenoff/website-sdk 2026.1102.1 → 2026.1102.3
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 +50 -2
- package/dist/avatar-live-view/index.d.mts +18 -4
- package/dist/avatar-live-view/index.d.ts +18 -4
- package/dist/avatar-live-view/index.js +1348 -266
- package/dist/avatar-live-view/index.js.map +1 -1
- package/dist/avatar-live-view/index.mjs +1346 -264
- package/dist/avatar-live-view/index.mjs.map +1 -1
- package/dist/{chunk-OIQHIGGU.js → chunk-7O2I32ZN.js} +2 -2
- package/dist/chunk-7O2I32ZN.js.map +1 -0
- package/dist/{chunk-R742FS5E.js → chunk-DZLUZKOX.js} +19 -17
- package/dist/{chunk-R742FS5E.js.map → chunk-DZLUZKOX.js.map} +1 -1
- package/dist/{chunk-QOHPLTGT.mjs → chunk-K3QZGJEH.mjs} +2 -2
- package/dist/chunk-K3QZGJEH.mjs.map +1 -0
- package/dist/{chunk-SK5UGG6A.js → chunk-P5GMVPR6.js} +76 -20
- package/dist/chunk-P5GMVPR6.js.map +1 -0
- package/dist/{chunk-EUPFS6MZ.mjs → chunk-SMD7MEEA.mjs} +76 -20
- package/dist/chunk-SMD7MEEA.mjs.map +1 -0
- package/dist/{chunk-ETI2HQEC.mjs → chunk-ZWEEBHXJ.mjs} +4 -4
- package/dist/{chunk-ETI2HQEC.mjs.map → chunk-ZWEEBHXJ.mjs.map} +1 -1
- package/dist/components/explore.d.mts +2 -2
- package/dist/components/explore.d.ts +2 -2
- package/dist/components/explore.js +14 -14
- package/dist/components/explore.mjs +2 -2
- package/dist/{explore-DUTNYUOm.d.mts → explore-DaSNdm4O.d.mts} +1 -1
- package/dist/{explore-DjQE7Xia.d.ts → explore-DtSPdlEy.d.ts} +1 -1
- package/dist/{explore-avatar-live-config-C1ILEcY8.d.ts → explore-avatar-live-config-CAfN5eAX.d.ts} +9 -3
- package/dist/{explore-avatar-live-config-D-hO90-A.d.mts → explore-avatar-live-config-N4WhJzgS.d.mts} +9 -3
- package/dist/{explore-types-Bb2Ih3d8.d.mts → explore-types-Ol1Mm3dW.d.mts} +12 -1
- package/dist/{explore-types-Bb2Ih3d8.d.ts → explore-types-Ol1Mm3dW.d.ts} +12 -1
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +9 -9
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.d.mts +15 -9
- package/dist/index.d.ts +15 -9
- package/dist/index.js +93 -63
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +36 -6
- package/dist/index.mjs.map +1 -1
- package/dist/{use-explore-chat-DunjG-3p.d.ts → use-explore-chat-B3dOOvJN.d.ts} +43 -3
- package/dist/{use-explore-chat-zRuoAin6.d.mts → use-explore-chat-CbfohA9O.d.mts} +43 -3
- package/package.json +1 -1
- package/dist/chunk-EUPFS6MZ.mjs.map +0 -1
- package/dist/chunk-OIQHIGGU.js.map +0 -1
- package/dist/chunk-QOHPLTGT.mjs.map +0 -1
- package/dist/chunk-SK5UGG6A.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { a as EXPLORE_PREFILL_MAX_LENGTH, e as ExplorePage, f as ExplorePageProps, m as ExploreProvenance, n as ExploreReferenceKind, g as answerPlainText, h as answerSpeechText, i as exploreQuestionHref, j as inlineImageOrigins, k as isInlineImageAllowed, l as isInlineVideoAllowed, o as logoUrlOf, q as productNamesByOrigin, r as referenceKindOf, s as summariseReferences } from '../explore-
|
|
3
|
-
import '../explore-types-
|
|
2
|
+
export { a as EXPLORE_PREFILL_MAX_LENGTH, e as ExplorePage, f as ExplorePageProps, m as ExploreProvenance, n as ExploreReferenceKind, g as answerPlainText, h as answerSpeechText, i as exploreQuestionHref, j as inlineImageOrigins, k as isInlineImageAllowed, l as isInlineVideoAllowed, o as logoUrlOf, q as productNamesByOrigin, r as referenceKindOf, s as summariseReferences } from '../explore-DaSNdm4O.mjs';
|
|
3
|
+
import '../explore-types-Ol1Mm3dW.mjs';
|
|
4
4
|
import 'react-markdown';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { a as EXPLORE_PREFILL_MAX_LENGTH, e as ExplorePage, f as ExplorePageProps, m as ExploreProvenance, n as ExploreReferenceKind, g as answerPlainText, h as answerSpeechText, i as exploreQuestionHref, j as inlineImageOrigins, k as isInlineImageAllowed, l as isInlineVideoAllowed, o as logoUrlOf, q as productNamesByOrigin, r as referenceKindOf, s as summariseReferences } from '../explore-
|
|
3
|
-
import '../explore-types-
|
|
2
|
+
export { a as EXPLORE_PREFILL_MAX_LENGTH, e as ExplorePage, f as ExplorePageProps, m as ExploreProvenance, n as ExploreReferenceKind, g as answerPlainText, h as answerSpeechText, i as exploreQuestionHref, j as inlineImageOrigins, k as isInlineImageAllowed, l as isInlineVideoAllowed, o as logoUrlOf, q as productNamesByOrigin, r as referenceKindOf, s as summariseReferences } from '../explore-DtSPdlEy.js';
|
|
3
|
+
import '../explore-types-Ol1Mm3dW.js';
|
|
4
4
|
import 'react-markdown';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDZLUZKOX_js = require('../chunk-DZLUZKOX.js');
|
|
4
4
|
require('../chunk-O4GS3XPZ.js');
|
|
5
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-P5GMVPR6.js');
|
|
6
6
|
require('../chunk-PHXAGQNB.js');
|
|
7
7
|
require('../chunk-3LFFY7AZ.js');
|
|
8
8
|
require('../chunk-GEXC4LRP.js');
|
|
@@ -18,51 +18,51 @@ require('../chunk-ZSTFX7FV.js');
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "EXPLORE_PREFILL_MAX_LENGTH", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkDZLUZKOX_js.EXPLORE_PREFILL_MAX_LENGTH; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ExplorePage", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkDZLUZKOX_js.ExplorePage; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "answerPlainText", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkDZLUZKOX_js.answerPlainText; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "answerSpeechText", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkDZLUZKOX_js.answerSpeechText; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "exploreQuestionHref", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkDZLUZKOX_js.exploreQuestionHref; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "inlineImageOrigins", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkDZLUZKOX_js.inlineImageOrigins; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isInlineImageAllowed", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkDZLUZKOX_js.isInlineImageAllowed; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isInlineVideoAllowed", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkDZLUZKOX_js.isInlineVideoAllowed; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "logoUrlOf", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkDZLUZKOX_js.logoUrlOf; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "productNamesByOrigin", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkDZLUZKOX_js.productNamesByOrigin; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "referenceKindOf", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkDZLUZKOX_js.referenceKindOf; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "summariseReferences", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkDZLUZKOX_js.summariseReferences; }
|
|
66
66
|
});
|
|
67
67
|
//# sourceMappingURL=explore.js.map
|
|
68
68
|
//# sourceMappingURL=explore.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { EXPLORE_PREFILL_MAX_LENGTH, ExplorePage, answerPlainText, answerSpeechText, exploreQuestionHref, inlineImageOrigins, isInlineImageAllowed, isInlineVideoAllowed, logoUrlOf, productNamesByOrigin, referenceKindOf, summariseReferences } from '../chunk-
|
|
1
|
+
export { EXPLORE_PREFILL_MAX_LENGTH, ExplorePage, answerPlainText, answerSpeechText, exploreQuestionHref, inlineImageOrigins, isInlineImageAllowed, isInlineVideoAllowed, logoUrlOf, productNamesByOrigin, referenceKindOf, summariseReferences } from '../chunk-ZWEEBHXJ.mjs';
|
|
2
2
|
import '../chunk-TT3MHN42.mjs';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-SMD7MEEA.mjs';
|
|
4
4
|
import '../chunk-SKIYDKIS.mjs';
|
|
5
5
|
import '../chunk-6VJT3SM4.mjs';
|
|
6
6
|
import '../chunk-EBZ2HGJ2.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { f as ExploreProduct, g as ExploreReference } from './explore-types-Ol1Mm3dW.mjs';
|
|
3
3
|
import { Components } from 'react-markdown';
|
|
4
4
|
|
|
5
5
|
/** The words the player needs. `AnswerRendererStrings`, and so `ExploreStrings`, carry them. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { f as ExploreProduct, g as ExploreReference } from './explore-types-Ol1Mm3dW.js';
|
|
3
3
|
import { Components } from 'react-markdown';
|
|
4
4
|
|
|
5
5
|
/** The words the player needs. `AnswerRendererStrings`, and so `ExploreStrings`, carry them. */
|
package/dist/{explore-avatar-live-config-C1ILEcY8.d.ts → explore-avatar-live-config-CAfN5eAX.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as AvatarLiveModule } from './types-CndbmBK-.js';
|
|
2
|
-
import {
|
|
2
|
+
import { h as UseExploreChatResult } from './use-explore-chat-B3dOOvJN.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Localisation for the `/explore` chat surface.
|
|
@@ -289,7 +289,13 @@ interface ExplorePanelAvatarLive {
|
|
|
289
289
|
/** The version of the suggested-question list the panel shows (its `examplePrompts`), such as `hb-en-1`. */
|
|
290
290
|
manifestVersion: string;
|
|
291
291
|
}
|
|
292
|
-
/**
|
|
293
|
-
|
|
292
|
+
/**
|
|
293
|
+
* What the live avatar reads of the panel's conversation: the transcript, whether it is read-only and the token, and
|
|
294
|
+
* `reset` (the chat's own New chat) for its New chat button where the conversation can never be read. Where the server
|
|
295
|
+
* reads typed questions too (contract v1.3), the Avatar tab's own question box asks through the same conversation:
|
|
296
|
+
* `send` (with `surface: "AVATAR"`), and `canSend`, `phase`, `activity` and `catalog` to say when it can and what the
|
|
297
|
+
* answer is doing, and `resent` to follow a question asked there that Chat's Retry sent again.
|
|
298
|
+
*/
|
|
299
|
+
type AvatarConversation = Pick<UseExploreChatResult, "messages" | "isSharedView" | "getConversationToken" | "reset" | "send" | "canSend" | "phase" | "activity" | "catalog" | "resent">;
|
|
294
300
|
|
|
295
301
|
export { type AvatarConversation as A, type ExplorePanelAvatarLive as E, type ExploreLocale as a, EXPLORE_LOCALES as b, type ExploreStrings as c, speechLocaleOf as s };
|
package/dist/{explore-avatar-live-config-D-hO90-A.d.mts → explore-avatar-live-config-N4WhJzgS.d.mts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as AvatarLiveModule } from './types-CndbmBK-.mjs';
|
|
2
|
-
import {
|
|
2
|
+
import { h as UseExploreChatResult } from './use-explore-chat-CbfohA9O.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Localisation for the `/explore` chat surface.
|
|
@@ -289,7 +289,13 @@ interface ExplorePanelAvatarLive {
|
|
|
289
289
|
/** The version of the suggested-question list the panel shows (its `examplePrompts`), such as `hb-en-1`. */
|
|
290
290
|
manifestVersion: string;
|
|
291
291
|
}
|
|
292
|
-
/**
|
|
293
|
-
|
|
292
|
+
/**
|
|
293
|
+
* What the live avatar reads of the panel's conversation: the transcript, whether it is read-only and the token, and
|
|
294
|
+
* `reset` (the chat's own New chat) for its New chat button where the conversation can never be read. Where the server
|
|
295
|
+
* reads typed questions too (contract v1.3), the Avatar tab's own question box asks through the same conversation:
|
|
296
|
+
* `send` (with `surface: "AVATAR"`), and `canSend`, `phase`, `activity` and `catalog` to say when it can and what the
|
|
297
|
+
* answer is doing, and `resent` to follow a question asked there that Chat's Retry sent again.
|
|
298
|
+
*/
|
|
299
|
+
type AvatarConversation = Pick<UseExploreChatResult, "messages" | "isSharedView" | "getConversationToken" | "reset" | "send" | "canSend" | "phase" | "activity" | "catalog" | "resent">;
|
|
294
300
|
|
|
295
301
|
export { type AvatarConversation as A, type ExplorePanelAvatarLive as E, type ExploreLocale as a, EXPLORE_LOCALES as b, type ExploreStrings as c, speechLocaleOf as s };
|
|
@@ -191,6 +191,12 @@ interface ExploreCatalog {
|
|
|
191
191
|
*/
|
|
192
192
|
conceptHighlights: ExploreConceptHighlight[];
|
|
193
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* `enum ExploreSurface` (BOFF-9797): where the visitor asked. `AVATAR` is the live avatar's own question box, whose
|
|
196
|
+
* first answer the server may shape to be read aloud; a question asked anywhere else carries no surface at all (the
|
|
197
|
+
* server reads none as `CHAT`).
|
|
198
|
+
*/
|
|
199
|
+
type ExploreSurface = "CHAT" | "AVATAR";
|
|
194
200
|
/** `input SendExploreMessageInput`. */
|
|
195
201
|
interface SendExploreMessageInput {
|
|
196
202
|
/** Omit to start a new conversation. */
|
|
@@ -207,6 +213,11 @@ interface SendExploreMessageInput {
|
|
|
207
213
|
* so these are the limits the composer shows, not the limits that hold.
|
|
208
214
|
*/
|
|
209
215
|
attachments?: ExploreAttachmentInput[];
|
|
216
|
+
/**
|
|
217
|
+
* BOFF-9797. Sent only from the live avatar's question box, as `AVATAR`; every other send omits it, so a server that
|
|
218
|
+
* does not know the field yet is never sent it from the Chat tab.
|
|
219
|
+
*/
|
|
220
|
+
surface?: ExploreSurface;
|
|
210
221
|
}
|
|
211
222
|
/** `input ExploreAttachmentInput`. `textContent` is null for a format the browser cannot read. */
|
|
212
223
|
interface ExploreAttachmentInput {
|
|
@@ -350,4 +361,4 @@ declare const EXPLORE_ESCALATION_NOTE_SOFT_MAX = 2000;
|
|
|
350
361
|
*/
|
|
351
362
|
declare function looksLikeDeliverableEmail(value: string): boolean;
|
|
352
363
|
|
|
353
|
-
export {
|
|
364
|
+
export { type SendExploreMessageResult as A, looksLikeDeliverableEmail as B, type ExploreCatalog as E, SEND_EXPLORE_MESSAGE_MUTATION as S, type ExploreMessage as a, type ExploreSurface as b, type ExploreFeedbackRating as c, type ExploreFeedbackReason as d, type ExploreLimits as e, type ExploreProduct as f, type ExploreReference as g, ESCALATE_EXPLORE_CONVERSATION_MUTATION as h, EXPLORE_CATALOG_QUERY as i, EXPLORE_CATALOG_QUERY_WITHOUT_HIGHLIGHTS as j, EXPLORE_ESCALATION_NOTE_SOFT_MAX as k, EXPLORE_MESSAGE_QUERY as l, type EscalateExploreConversationInput as m, type EscalateExploreConversationResult as n, type ExploreCatalogQueryData as o, type ExploreConceptHighlight as p, type ExploreConversation as q, type ExploreCtaKind as r, type ExploreCtaLink as s, type ExploreErrorCode as t, type ExploreEscalation as u, type ExploreMessageQueryData as v, type ExploreMessageRole as w, type ExploreMessageStatus as x, type SendExploreMessageInput as y, type SendExploreMessageMutationData as z };
|
|
@@ -191,6 +191,12 @@ interface ExploreCatalog {
|
|
|
191
191
|
*/
|
|
192
192
|
conceptHighlights: ExploreConceptHighlight[];
|
|
193
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* `enum ExploreSurface` (BOFF-9797): where the visitor asked. `AVATAR` is the live avatar's own question box, whose
|
|
196
|
+
* first answer the server may shape to be read aloud; a question asked anywhere else carries no surface at all (the
|
|
197
|
+
* server reads none as `CHAT`).
|
|
198
|
+
*/
|
|
199
|
+
type ExploreSurface = "CHAT" | "AVATAR";
|
|
194
200
|
/** `input SendExploreMessageInput`. */
|
|
195
201
|
interface SendExploreMessageInput {
|
|
196
202
|
/** Omit to start a new conversation. */
|
|
@@ -207,6 +213,11 @@ interface SendExploreMessageInput {
|
|
|
207
213
|
* so these are the limits the composer shows, not the limits that hold.
|
|
208
214
|
*/
|
|
209
215
|
attachments?: ExploreAttachmentInput[];
|
|
216
|
+
/**
|
|
217
|
+
* BOFF-9797. Sent only from the live avatar's question box, as `AVATAR`; every other send omits it, so a server that
|
|
218
|
+
* does not know the field yet is never sent it from the Chat tab.
|
|
219
|
+
*/
|
|
220
|
+
surface?: ExploreSurface;
|
|
210
221
|
}
|
|
211
222
|
/** `input ExploreAttachmentInput`. `textContent` is null for a format the browser cannot read. */
|
|
212
223
|
interface ExploreAttachmentInput {
|
|
@@ -350,4 +361,4 @@ declare const EXPLORE_ESCALATION_NOTE_SOFT_MAX = 2000;
|
|
|
350
361
|
*/
|
|
351
362
|
declare function looksLikeDeliverableEmail(value: string): boolean;
|
|
352
363
|
|
|
353
|
-
export {
|
|
364
|
+
export { type SendExploreMessageResult as A, looksLikeDeliverableEmail as B, type ExploreCatalog as E, SEND_EXPLORE_MESSAGE_MUTATION as S, type ExploreMessage as a, type ExploreSurface as b, type ExploreFeedbackRating as c, type ExploreFeedbackReason as d, type ExploreLimits as e, type ExploreProduct as f, type ExploreReference as g, ESCALATE_EXPLORE_CONVERSATION_MUTATION as h, EXPLORE_CATALOG_QUERY as i, EXPLORE_CATALOG_QUERY_WITHOUT_HIGHLIGHTS as j, EXPLORE_ESCALATION_NOTE_SOFT_MAX as k, EXPLORE_MESSAGE_QUERY as l, type EscalateExploreConversationInput as m, type EscalateExploreConversationResult as n, type ExploreCatalogQueryData as o, type ExploreConceptHighlight as p, type ExploreConversation as q, type ExploreCtaKind as r, type ExploreCtaLink as s, type ExploreErrorCode as t, type ExploreEscalation as u, type ExploreMessageQueryData as v, type ExploreMessageRole as w, type ExploreMessageStatus as x, type SendExploreMessageInput as y, type SendExploreMessageMutationData as z };
|
package/dist/hooks/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { D as DEFAULT_EXPLORE_EXAMPLE_PROMPTS, E as ExploreChatError, a as ExploreChatErrorKind, b as ExploreChatPhase, c as ExploreEscalateOutcome, d as ExploreEscalateResult, F as FALLBACK_EXPLORE_LIMITS, U as UseExploreChatOptions,
|
|
1
|
+
export { D as DEFAULT_EXPLORE_EXAMPLE_PROMPTS, E as ExploreChatError, a as ExploreChatErrorKind, b as ExploreChatPhase, c as ExploreEscalateOutcome, d as ExploreEscalateResult, e as ExploreResent, f as ExploreSendOptions, g as ExploreSent, F as FALLBACK_EXPLORE_LIMITS, U as UseExploreChatOptions, h as UseExploreChatResult, i as classifyExploreError, u as useExploreChat } from '../use-explore-chat-CbfohA9O.mjs';
|
|
2
2
|
export { U as UseSpeechOutputOptions, a as UseSpeechOutputResult, s as stopSpeaking, u as useProgressiveReveal, b as useSpeechOutput } from '../use-progressive-reveal-ppicEgzZ.mjs';
|
|
3
|
-
import '../explore-types-
|
|
3
|
+
import '../explore-types-Ol1Mm3dW.mjs';
|
|
4
4
|
|
|
5
5
|
interface UseSpeechInputOptions {
|
|
6
6
|
/** Receives settled text as it is recognised. Append it to the draft. */
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { D as DEFAULT_EXPLORE_EXAMPLE_PROMPTS, E as ExploreChatError, a as ExploreChatErrorKind, b as ExploreChatPhase, c as ExploreEscalateOutcome, d as ExploreEscalateResult, F as FALLBACK_EXPLORE_LIMITS, U as UseExploreChatOptions,
|
|
1
|
+
export { D as DEFAULT_EXPLORE_EXAMPLE_PROMPTS, E as ExploreChatError, a as ExploreChatErrorKind, b as ExploreChatPhase, c as ExploreEscalateOutcome, d as ExploreEscalateResult, e as ExploreResent, f as ExploreSendOptions, g as ExploreSent, F as FALLBACK_EXPLORE_LIMITS, U as UseExploreChatOptions, h as UseExploreChatResult, i as classifyExploreError, u as useExploreChat } from '../use-explore-chat-B3dOOvJN.js';
|
|
2
2
|
export { U as UseSpeechOutputOptions, a as UseSpeechOutputResult, s as stopSpeaking, u as useProgressiveReveal, b as useSpeechOutput } from '../use-progressive-reveal-ppicEgzZ.js';
|
|
3
|
-
import '../explore-types-
|
|
3
|
+
import '../explore-types-Ol1Mm3dW.js';
|
|
4
4
|
|
|
5
5
|
interface UseSpeechInputOptions {
|
|
6
6
|
/** Receives settled text as it is recognised. Append it to the draft. */
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-VRWZLGR7.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkP5GMVPR6_js = require('../chunk-P5GMVPR6.js');
|
|
5
5
|
require('../chunk-PHXAGQNB.js');
|
|
6
6
|
require('../chunk-E3GUGJMY.js');
|
|
7
7
|
require('../chunk-JXLSTVBK.js');
|
|
@@ -11,35 +11,35 @@ require('../chunk-ZSTFX7FV.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "DEFAULT_EXPLORE_EXAMPLE_PROMPTS", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkP5GMVPR6_js.DEFAULT_EXPLORE_EXAMPLE_PROMPTS; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "FALLBACK_EXPLORE_LIMITS", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkP5GMVPR6_js.FALLBACK_EXPLORE_LIMITS; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "classifyExploreError", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkP5GMVPR6_js.classifyExploreError; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "stopSpeaking", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkP5GMVPR6_js.stopSpeaking; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "useExploreChat", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkP5GMVPR6_js.useExploreChat; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "useProgressiveReveal", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkP5GMVPR6_js.useProgressiveReveal; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "useSpeechInput", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkP5GMVPR6_js.useSpeechInput; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "useSpeechOutput", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkP5GMVPR6_js.useSpeechOutput; }
|
|
43
43
|
});
|
|
44
44
|
//# sourceMappingURL=index.js.map
|
|
45
45
|
//# sourceMappingURL=index.js.map
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-GTRAXQGC.mjs';
|
|
2
|
-
export { DEFAULT_EXPLORE_EXAMPLE_PROMPTS, FALLBACK_EXPLORE_LIMITS, classifyExploreError, stopSpeaking, useExploreChat, useProgressiveReveal, useSpeechInput, useSpeechOutput } from '../chunk-
|
|
2
|
+
export { DEFAULT_EXPLORE_EXAMPLE_PROMPTS, FALLBACK_EXPLORE_LIMITS, classifyExploreError, stopSpeaking, useExploreChat, useProgressiveReveal, useSpeechInput, useSpeechOutput } from '../chunk-SMD7MEEA.mjs';
|
|
3
3
|
import '../chunk-SKIYDKIS.mjs';
|
|
4
4
|
import '../chunk-KZANIV3S.mjs';
|
|
5
5
|
import '../chunk-5JRJ57CL.mjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -18,14 +18,14 @@ export { LaunchCountdown, LaunchCountdownProps } from './components/launch-count
|
|
|
18
18
|
export { ProblemSolved, ProblemsSolvedSection, ProblemsSolvedSectionProps } from './components/problems-solved.mjs';
|
|
19
19
|
export { DetectedPlatform, ElectronDownloadLink, ElectronDownloadLinkProps, detectElectronPlatform } from './components/electron-download.mjs';
|
|
20
20
|
import { Components } from 'react-markdown';
|
|
21
|
-
import { a as ExploreLocale, E as ExplorePanelAvatarLive } from './explore-avatar-live-config-
|
|
22
|
-
export { b as EXPLORE_LOCALES, c as ExploreStrings, s as speechLocaleOf } from './explore-avatar-live-config-
|
|
23
|
-
import { A as AnswerRendererStrings, E as ExploreScope } from './explore-
|
|
24
|
-
export { a as EXPLORE_PREFILL_MAX_LENGTH, b as ExploreAnswerBody, c as ExploreAnswerBodyProps, d as ExploreAnswerStyles, e as ExplorePage, f as ExplorePageProps, g as answerPlainText, h as answerSpeechText, i as exploreQuestionHref, j as inlineImageOrigins, k as isInlineImageAllowed, l as isInlineVideoAllowed, p as productSlugsByOrigin } from './explore-
|
|
21
|
+
import { a as ExploreLocale, E as ExplorePanelAvatarLive } from './explore-avatar-live-config-N4WhJzgS.mjs';
|
|
22
|
+
export { b as EXPLORE_LOCALES, c as ExploreStrings, s as speechLocaleOf } from './explore-avatar-live-config-N4WhJzgS.mjs';
|
|
23
|
+
import { A as AnswerRendererStrings, E as ExploreScope } from './explore-DaSNdm4O.mjs';
|
|
24
|
+
export { a as EXPLORE_PREFILL_MAX_LENGTH, b as ExploreAnswerBody, c as ExploreAnswerBodyProps, d as ExploreAnswerStyles, e as ExplorePage, f as ExplorePageProps, g as answerPlainText, h as answerSpeechText, i as exploreQuestionHref, j as inlineImageOrigins, k as isInlineImageAllowed, l as isInlineVideoAllowed, p as productSlugsByOrigin } from './explore-DaSNdm4O.mjs';
|
|
25
25
|
export { ExploreCta, ExploreCtaProps } from './components/explore-cta.mjs';
|
|
26
|
-
import {
|
|
27
|
-
export { D as DEFAULT_EXPLORE_EXAMPLE_PROMPTS, E as ExploreChatError, a as ExploreChatErrorKind, b as ExploreChatPhase, c as ExploreEscalateOutcome, d as ExploreEscalateResult, F as FALLBACK_EXPLORE_LIMITS, U as UseExploreChatOptions,
|
|
28
|
-
export {
|
|
26
|
+
import { h as UseExploreChatResult, S as StagedAttachment } from './use-explore-chat-CbfohA9O.mjs';
|
|
27
|
+
export { D as DEFAULT_EXPLORE_EXAMPLE_PROMPTS, E as ExploreChatError, a as ExploreChatErrorKind, b as ExploreChatPhase, c as ExploreEscalateOutcome, d as ExploreEscalateResult, e as ExploreResent, f as ExploreSendOptions, g as ExploreSent, F as FALLBACK_EXPLORE_LIMITS, U as UseExploreChatOptions, i as classifyExploreError, u as useExploreChat } from './use-explore-chat-CbfohA9O.mjs';
|
|
28
|
+
export { h as ESCALATE_EXPLORE_CONVERSATION_MUTATION, i as EXPLORE_CATALOG_QUERY, j as EXPLORE_CATALOG_QUERY_WITHOUT_HIGHLIGHTS, k as EXPLORE_ESCALATION_NOTE_SOFT_MAX, l as EXPLORE_MESSAGE_QUERY, m as EscalateExploreConversationInput, n as EscalateExploreConversationResult, E as ExploreCatalog, o as ExploreCatalogQueryData, p as ExploreConceptHighlight, q as ExploreConversation, r as ExploreCtaKind, s as ExploreCtaLink, t as ExploreErrorCode, u as ExploreEscalation, e as ExploreLimits, a as ExploreMessage, v as ExploreMessageQueryData, w as ExploreMessageRole, x as ExploreMessageStatus, f as ExploreProduct, g as ExploreReference, b as ExploreSurface, S as SEND_EXPLORE_MESSAGE_MUTATION, y as SendExploreMessageInput, z as SendExploreMessageMutationData, A as SendExploreMessageResult, B as looksLikeDeliverableEmail } from './explore-types-Ol1Mm3dW.mjs';
|
|
29
29
|
export { U as UseSpeechOutputOptions, a as UseSpeechOutputResult, s as stopSpeaking, u as useProgressiveReveal, b as useSpeechOutput } from './use-progressive-reveal-ppicEgzZ.mjs';
|
|
30
30
|
export { RybbitAnalytics, RybbitAnalyticsProps, WebsiteEventName, WebsiteEventProperties, trackWebsiteEvent } from './analytics/index.mjs';
|
|
31
31
|
export { PageHead, PageHeadProps } from './seo/index.mjs';
|
|
@@ -739,10 +739,16 @@ interface ExplorePanelProps {
|
|
|
739
739
|
zIndex?: number;
|
|
740
740
|
/** Where focus goes back when the panel closes: the button that opened it. */
|
|
741
741
|
returnFocusRef?: RefObject<HTMLElement | null>;
|
|
742
|
+
/**
|
|
743
|
+
* BOFF-9797. The host router's path, when it has one (`SiteAssistantDock` passes its own). The live avatar's "Start
|
|
744
|
+
* when ready" is bound to the page it was pressed on and is called off when this changes. Absent: the window's path,
|
|
745
|
+
* read when the start is pressed and again before the session is created.
|
|
746
|
+
*/
|
|
747
|
+
currentPath?: string;
|
|
742
748
|
/** Extra classes for the panel. */
|
|
743
749
|
className?: string;
|
|
744
750
|
}
|
|
745
|
-
declare function ExplorePanel({ open, onOpenChange, id, productSlug, locale, scope, productName, examplePrompts, onNavigate, welcomeTitle, welcomeBody, explorePath, avatar, bottomOffset, zIndex, returnFocusRef, className, }: ExplorePanelProps): react.JSX.Element | null;
|
|
751
|
+
declare function ExplorePanel({ open, onOpenChange, id, productSlug, locale, scope, productName, examplePrompts, onNavigate, welcomeTitle, welcomeBody, explorePath, avatar, bottomOffset, zIndex, returnFocusRef, currentPath, className, }: ExplorePanelProps): react.JSX.Element | null;
|
|
746
752
|
|
|
747
753
|
interface SiteAssistantDockProps {
|
|
748
754
|
/** The site's product, as the platform knows it (`healthybowl`). Passed to the panel's chat. */
|
|
@@ -848,7 +854,7 @@ declare function websiteAvatarLive({ deployEnv, siteKey, site, manifestVersion,
|
|
|
848
854
|
|
|
849
855
|
declare const buttonVariants: (props?: ({
|
|
850
856
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
851
|
-
size?: "
|
|
857
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
852
858
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
853
859
|
interface ButtonProps extends react.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
854
860
|
asChild?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,14 +18,14 @@ export { LaunchCountdown, LaunchCountdownProps } from './components/launch-count
|
|
|
18
18
|
export { ProblemSolved, ProblemsSolvedSection, ProblemsSolvedSectionProps } from './components/problems-solved.js';
|
|
19
19
|
export { DetectedPlatform, ElectronDownloadLink, ElectronDownloadLinkProps, detectElectronPlatform } from './components/electron-download.js';
|
|
20
20
|
import { Components } from 'react-markdown';
|
|
21
|
-
import { a as ExploreLocale, E as ExplorePanelAvatarLive } from './explore-avatar-live-config-
|
|
22
|
-
export { b as EXPLORE_LOCALES, c as ExploreStrings, s as speechLocaleOf } from './explore-avatar-live-config-
|
|
23
|
-
import { A as AnswerRendererStrings, E as ExploreScope } from './explore-
|
|
24
|
-
export { a as EXPLORE_PREFILL_MAX_LENGTH, b as ExploreAnswerBody, c as ExploreAnswerBodyProps, d as ExploreAnswerStyles, e as ExplorePage, f as ExplorePageProps, g as answerPlainText, h as answerSpeechText, i as exploreQuestionHref, j as inlineImageOrigins, k as isInlineImageAllowed, l as isInlineVideoAllowed, p as productSlugsByOrigin } from './explore-
|
|
21
|
+
import { a as ExploreLocale, E as ExplorePanelAvatarLive } from './explore-avatar-live-config-CAfN5eAX.js';
|
|
22
|
+
export { b as EXPLORE_LOCALES, c as ExploreStrings, s as speechLocaleOf } from './explore-avatar-live-config-CAfN5eAX.js';
|
|
23
|
+
import { A as AnswerRendererStrings, E as ExploreScope } from './explore-DtSPdlEy.js';
|
|
24
|
+
export { a as EXPLORE_PREFILL_MAX_LENGTH, b as ExploreAnswerBody, c as ExploreAnswerBodyProps, d as ExploreAnswerStyles, e as ExplorePage, f as ExplorePageProps, g as answerPlainText, h as answerSpeechText, i as exploreQuestionHref, j as inlineImageOrigins, k as isInlineImageAllowed, l as isInlineVideoAllowed, p as productSlugsByOrigin } from './explore-DtSPdlEy.js';
|
|
25
25
|
export { ExploreCta, ExploreCtaProps } from './components/explore-cta.js';
|
|
26
|
-
import {
|
|
27
|
-
export { D as DEFAULT_EXPLORE_EXAMPLE_PROMPTS, E as ExploreChatError, a as ExploreChatErrorKind, b as ExploreChatPhase, c as ExploreEscalateOutcome, d as ExploreEscalateResult, F as FALLBACK_EXPLORE_LIMITS, U as UseExploreChatOptions,
|
|
28
|
-
export {
|
|
26
|
+
import { h as UseExploreChatResult, S as StagedAttachment } from './use-explore-chat-B3dOOvJN.js';
|
|
27
|
+
export { D as DEFAULT_EXPLORE_EXAMPLE_PROMPTS, E as ExploreChatError, a as ExploreChatErrorKind, b as ExploreChatPhase, c as ExploreEscalateOutcome, d as ExploreEscalateResult, e as ExploreResent, f as ExploreSendOptions, g as ExploreSent, F as FALLBACK_EXPLORE_LIMITS, U as UseExploreChatOptions, i as classifyExploreError, u as useExploreChat } from './use-explore-chat-B3dOOvJN.js';
|
|
28
|
+
export { h as ESCALATE_EXPLORE_CONVERSATION_MUTATION, i as EXPLORE_CATALOG_QUERY, j as EXPLORE_CATALOG_QUERY_WITHOUT_HIGHLIGHTS, k as EXPLORE_ESCALATION_NOTE_SOFT_MAX, l as EXPLORE_MESSAGE_QUERY, m as EscalateExploreConversationInput, n as EscalateExploreConversationResult, E as ExploreCatalog, o as ExploreCatalogQueryData, p as ExploreConceptHighlight, q as ExploreConversation, r as ExploreCtaKind, s as ExploreCtaLink, t as ExploreErrorCode, u as ExploreEscalation, e as ExploreLimits, a as ExploreMessage, v as ExploreMessageQueryData, w as ExploreMessageRole, x as ExploreMessageStatus, f as ExploreProduct, g as ExploreReference, b as ExploreSurface, S as SEND_EXPLORE_MESSAGE_MUTATION, y as SendExploreMessageInput, z as SendExploreMessageMutationData, A as SendExploreMessageResult, B as looksLikeDeliverableEmail } from './explore-types-Ol1Mm3dW.js';
|
|
29
29
|
export { U as UseSpeechOutputOptions, a as UseSpeechOutputResult, s as stopSpeaking, u as useProgressiveReveal, b as useSpeechOutput } from './use-progressive-reveal-ppicEgzZ.js';
|
|
30
30
|
export { RybbitAnalytics, RybbitAnalyticsProps, WebsiteEventName, WebsiteEventProperties, trackWebsiteEvent } from './analytics/index.js';
|
|
31
31
|
export { PageHead, PageHeadProps } from './seo/index.js';
|
|
@@ -739,10 +739,16 @@ interface ExplorePanelProps {
|
|
|
739
739
|
zIndex?: number;
|
|
740
740
|
/** Where focus goes back when the panel closes: the button that opened it. */
|
|
741
741
|
returnFocusRef?: RefObject<HTMLElement | null>;
|
|
742
|
+
/**
|
|
743
|
+
* BOFF-9797. The host router's path, when it has one (`SiteAssistantDock` passes its own). The live avatar's "Start
|
|
744
|
+
* when ready" is bound to the page it was pressed on and is called off when this changes. Absent: the window's path,
|
|
745
|
+
* read when the start is pressed and again before the session is created.
|
|
746
|
+
*/
|
|
747
|
+
currentPath?: string;
|
|
742
748
|
/** Extra classes for the panel. */
|
|
743
749
|
className?: string;
|
|
744
750
|
}
|
|
745
|
-
declare function ExplorePanel({ open, onOpenChange, id, productSlug, locale, scope, productName, examplePrompts, onNavigate, welcomeTitle, welcomeBody, explorePath, avatar, bottomOffset, zIndex, returnFocusRef, className, }: ExplorePanelProps): react.JSX.Element | null;
|
|
751
|
+
declare function ExplorePanel({ open, onOpenChange, id, productSlug, locale, scope, productName, examplePrompts, onNavigate, welcomeTitle, welcomeBody, explorePath, avatar, bottomOffset, zIndex, returnFocusRef, currentPath, className, }: ExplorePanelProps): react.JSX.Element | null;
|
|
746
752
|
|
|
747
753
|
interface SiteAssistantDockProps {
|
|
748
754
|
/** The site's product, as the platform knows it (`healthybowl`). Passed to the panel's chat. */
|
|
@@ -848,7 +854,7 @@ declare function websiteAvatarLive({ deployEnv, siteKey, site, manifestVersion,
|
|
|
848
854
|
|
|
849
855
|
declare const buttonVariants: (props?: ({
|
|
850
856
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
851
|
-
size?: "
|
|
857
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
852
858
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
853
859
|
interface ButtonProps extends react.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
854
860
|
asChild?: boolean;
|