@burdenoff/website-sdk 2026.1105.3 → 2026.1106.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/README.md +79 -0
- package/dist/avatar-live-view/index.d.mts +1 -1
- package/dist/avatar-live-view/index.d.ts +1 -1
- package/dist/avatar-live-view/index.js +850 -175
- package/dist/avatar-live-view/index.js.map +1 -1
- package/dist/avatar-live-view/index.mjs +843 -168
- package/dist/avatar-live-view/index.mjs.map +1 -1
- package/dist/avatar-mic/index.d.mts +54 -60
- package/dist/avatar-mic/index.d.ts +54 -60
- package/dist/avatar-mic/index.js +283 -23
- package/dist/avatar-mic/index.js.map +1 -1
- package/dist/avatar-mic/index.mjs +283 -23
- package/dist/avatar-mic/index.mjs.map +1 -1
- package/dist/{chunk-JGU6JW4N.mjs → chunk-BHEHF3Y5.mjs} +2 -2
- package/dist/{chunk-JGU6JW4N.mjs.map → chunk-BHEHF3Y5.mjs.map} +1 -1
- package/dist/{chunk-3AIAJ2L4.js → chunk-Z2UP22GV.js} +2 -2
- package/dist/{chunk-3AIAJ2L4.js.map → chunk-Z2UP22GV.js.map} +1 -1
- package/dist/{explore-avatar-live-config-1zeXdMer.d.ts → explore-avatar-live-config-CJstiSAN.d.ts} +5 -1
- package/dist/{explore-avatar-live-config-BxiE66Im.d.mts → explore-avatar-live-config-D2PGF8fG.d.mts} +5 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -474,6 +474,85 @@ publishes audio, video or data, and it sends the avatar nothing to say.
|
|
|
474
474
|
the site's analytics. **Before alpha is switched on:** each of the four sites'
|
|
475
475
|
session replay must be off, or honour those classes, and each privacy notice
|
|
476
476
|
(`/privacy#live-avatar`) needs its microphone paragraph.
|
|
477
|
+
- **The voice conversation (BOFF-9797 Stage C2/C3, the operator's decisions of
|
|
478
|
+
2026-11-06, dark).** The same `mic: true` opt-in; the server decides. Only
|
|
479
|
+
where the last `ok` answer's `mic` carries a pause, `{"mode": "browser",
|
|
480
|
+
"maxPressSeconds": 30, "pauseMs": N}` (contract v1.7, the avatar service's
|
|
481
|
+
`AVATAR_WEB_MIC_PAUSE_MS`; N a whole number from 2000 to 2500, read strictly,
|
|
482
|
+
anything else `unreadable`), under the version whose entry declares no notice
|
|
483
|
+
and a question sent by itself after about two seconds of silence
|
|
484
|
+
(`AvatarNoNoticeCopy`: `notice: "none"`, `voice: { pauseMs: 2000 }`;
|
|
485
|
+
`web-voice-2026-11-25-n`, typed questions, Stage B's three minutes, Stage D's
|
|
486
|
+
answers after the first, no bot check: alpha and prod both run it with
|
|
487
|
+
`AVATAR_WEB_BOT_CHECK=off`). A pause under any other version, or that version
|
|
488
|
+
without a pause, is no mic at all. The notice versions of the earlier
|
|
489
|
+
first-use dialog (`web-consent-2026-11-23-v`, `-24-v`), which no environment
|
|
490
|
+
ran, are retired: this SDK has no copy for them, so a server naming one gets
|
|
491
|
+
the tab as it was. The mic slot becomes a labelled **Talk** button: tap Talk, speak,
|
|
492
|
+
and the question goes through the box's own Send once no word has changed
|
|
493
|
+
for the pause (twice that after one word, fillers aside: "So, ragi" is one;
|
|
494
|
+
or after a word a sentence goes on after: "the", "of", "and", "what", "is"…,
|
|
495
|
+
or a filler; never sooner than 1.5 s after the recognizer listening now
|
|
496
|
+
started, never between two recognizers; fillers and stalls such as "um",
|
|
497
|
+
"okay", "hello", such words alone ("the", "what is the") and a lone pronoun
|
|
498
|
+
("you") never make a question). The avatar answers aloud, and once that
|
|
499
|
+
answer has played out (its voice quiet for 2.5 s, nothing accepted still to
|
|
500
|
+
be heard, read when it would listen) the mic listens again by itself, never
|
|
501
|
+
while the avatar speaks (the avatar's voice coming back drops a press the
|
|
502
|
+
conversation started, words and all), and not with less than 20 s of the
|
|
503
|
+
session left (a press under way still finishes). Only a press the
|
|
504
|
+
conversation started by itself is checked for the avatar's own words heard
|
|
505
|
+
back; the visitor's own Talk is their question, whatever it repeats.
|
|
506
|
+
**Stop listening** stops at once (the recognizer released, its words into
|
|
507
|
+
the box, unsent). The session's Stop, its own end (the idle end, the three
|
|
508
|
+
minutes), a question past 30 s from its first word, a failure after words and
|
|
509
|
+
typing (after what was typed) put the words heard so far into the box the
|
|
510
|
+
same way; 30 s with no question ends with nothing heard; leaving the tab or
|
|
511
|
+
the page releases the mic and drops what it heard. None of them ever sends. A
|
|
512
|
+
Talk while the avatar speaks interrupts it and mutes it here in that same
|
|
513
|
+
tap, until its voice has been quiet for 2.5 s after the tap (counted from the
|
|
514
|
+
tap where it was already quiet) or the next answer is accepted; the mute
|
|
515
|
+
holds against the room's own unmuting (LiveKit's playback resume, from "Tap
|
|
516
|
+
to turn on sound" or an iPhone's page shown again, and a track attached
|
|
517
|
+
again); where an answer is still to be heard at the tap (the first before
|
|
518
|
+
any voice, or one accepted), only a voice heard after the tap, quiet for the
|
|
519
|
+
hold, or the next answer accepted ends it. **Nothing of consent in the tab**
|
|
520
|
+
(Stage C3, the operator's final decision of 2026-11-06, "nothing at all"): no
|
|
521
|
+
consent card, no dialog, no mic notice and no privacy text, not even the line
|
|
522
|
+
under the box ("Answers are AI-generated and can be wrong. Don't include
|
|
523
|
+
personal details." stays under every version with words, word for word);
|
|
524
|
+
speech processing and the question sent by itself are the site's privacy
|
|
525
|
+
policy's to describe. The box asking in text under the server's `limits`
|
|
526
|
+
refusal has no line either: every availability answer names the server's
|
|
527
|
+
version, a refusal's too (read leniently: `AvatarAvailability`'s refused
|
|
528
|
+
`consentVersion`), and the tab goes by the last version named. A refusal
|
|
529
|
+
that names none changes nothing, and a tab that has heard of no version yet
|
|
530
|
+
keeps the line.
|
|
531
|
+
Talk starts the recognizer and lets the avatar's sound play inside its own
|
|
532
|
+
tap (only the browser's own permission prompt may come first; the mic is
|
|
533
|
+
made ready while Talk is offered, so the recognizer can start in the tap).
|
|
534
|
+
A new chat's first question, spoken or typed (Talk, Send or a chip), arms
|
|
535
|
+
the start of its session in its own tap (single use: bound to its question,
|
|
536
|
+
site, locale, page, version and bot check), and the avatar answers aloud once
|
|
537
|
+
the answer is ready, with no Start; a start called off (Cancel, the page or
|
|
538
|
+
the version changed) shows Start alone, with no words. The recording
|
|
539
|
+
indicator, Stop listening, the session's Stop and the live avatar's "AI
|
|
540
|
+
avatar · not a real person" label (a label, not a notice) stay. Nothing of
|
|
541
|
+
consent is kept in this browser, no consent and no acceptance of anything:
|
|
542
|
+
the only avatar key written is the existing day's note
|
|
543
|
+
`boff.explore.avatarUsedOn`, at a session's start, as under every version.
|
|
544
|
+
The create still names the version the server named, as the contract's
|
|
545
|
+
token: the server must record no consent for it.
|
|
546
|
+
`listening` marks go only while speech is heard, so an open, silent mic keeps
|
|
547
|
+
no session from its idle end. Under this version the box never switches to
|
|
548
|
+
text on this browser's note of a session today (a visitor may have several a
|
|
549
|
+
day: the server's per-visitor limit decides, and its `limits` refusal still
|
|
550
|
+
switches the box to text); after a session, "New chat for the avatar" offers
|
|
551
|
+
the next one, and words heard as it ended wait in its box. **PROD waits for
|
|
552
|
+
the privacy/legal reviewer's approval** of this no-notice experience; should
|
|
553
|
+
they require a pre-use disclosure, it would be one short line under Talk, as
|
|
554
|
+
a version of its own (`AvatarConsentCopy` has room for another kind of
|
|
555
|
+
notice), never a change to this one.
|
|
477
556
|
- **The answers after the first (BOFF-9797 Stage D, dark).** Only where the
|
|
478
557
|
create's 201 carries `followUps: {maxAnswers, idleSeconds,
|
|
479
558
|
maxAnswerWaitSeconds}` (the avatar service adds it only under its
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { E as ExplorePanelAvatarLive, a as ExploreLocale, A as AvatarConversation } from '../explore-avatar-live-config-
|
|
3
|
+
import { E as ExplorePanelAvatarLive, a as ExploreLocale, A as AvatarConversation } from '../explore-avatar-live-config-D2PGF8fG.mjs';
|
|
4
4
|
import '../types-CTUJNvQu.mjs';
|
|
5
5
|
import '../use-explore-chat-CbfohA9O.mjs';
|
|
6
6
|
import '../explore-types-Ol1Mm3dW.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { E as ExplorePanelAvatarLive, a as ExploreLocale, A as AvatarConversation } from '../explore-avatar-live-config-
|
|
3
|
+
import { E as ExplorePanelAvatarLive, a as ExploreLocale, A as AvatarConversation } from '../explore-avatar-live-config-CJstiSAN.js';
|
|
4
4
|
import '../types-CTUJNvQu.js';
|
|
5
5
|
import '../use-explore-chat-B3dOOvJN.js';
|
|
6
6
|
import '../explore-types-Ol1Mm3dW.js';
|