@saar-ai/web-widget 0.9.0 → 0.11.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/dist/adopt-stylesheet.d.ts +11 -0
- package/dist/adopt-stylesheet.d.ts.map +1 -0
- package/dist/chunks/{chat-DAgqVvIS.js → chat-CU9VPqVO.js} +112 -16
- package/dist/chunks/{host-widget-CTK7C95y.js → host-widget-BZKCb7yR.js} +7752 -989
- package/dist/chunks/{schemas-D-uDc-9q.js → schemas-YN3wGSGZ.js} +7 -4
- package/dist/chunks/{telemetry-DQUulENJ.js → telemetry-B1xBTk1s.js} +1 -1
- package/dist/concierge-shell.css +2 -0
- package/dist/concierge-state.d.ts +234 -0
- package/dist/concierge-state.d.ts.map +1 -0
- package/dist/dock/dock-drag.d.ts +5 -5
- package/dist/dock/dock-drag.d.ts.map +1 -1
- package/dist/dock/dock-float.d.ts +116 -0
- package/dist/dock/dock-float.d.ts.map +1 -0
- package/dist/dock/dock-motion.d.ts +61 -6
- package/dist/dock/dock-motion.d.ts.map +1 -1
- package/dist/dock/dock-pill.d.ts +18 -1
- package/dist/dock/dock-pill.d.ts.map +1 -1
- package/dist/dock/dock-renderer.d.ts +3 -0
- package/dist/dock/dock-renderer.d.ts.map +1 -0
- package/dist/dock/dock-row.d.ts +128 -10
- package/dist/dock/dock-row.d.ts.map +1 -1
- package/dist/dock/dock-sheet.d.ts.map +1 -1
- package/dist/dock/dock-state.d.ts +115 -135
- package/dist/dock/dock-state.d.ts.map +1 -1
- package/dist/dock/dock.d.ts +103 -24
- package/dist/dock/dock.d.ts.map +1 -1
- package/dist/dock/geometry.d.ts +129 -3
- package/dist/dock/geometry.d.ts.map +1 -1
- package/dist/generated/concierge-shell-css.d.ts +2 -0
- package/dist/generated/concierge-shell-css.d.ts.map +1 -0
- package/dist/generated/widget-css.d.ts.map +1 -1
- package/dist/host-widget.d.ts +84 -2
- package/dist/host-widget.d.ts.map +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +206 -4024
- package/dist/messages.d.ts +88 -1
- package/dist/messages.d.ts.map +1 -1
- package/dist/mount.d.ts +4 -5
- package/dist/mount.d.ts.map +1 -1
- package/dist/next/index.js +1 -1
- package/dist/renderers.d.ts +3 -0
- package/dist/renderers.d.ts.map +1 -0
- package/dist/rope-knot.d.ts +67 -0
- package/dist/rope-knot.d.ts.map +1 -1
- package/dist/styles.d.ts +1 -0
- package/dist/styles.d.ts.map +1 -1
- package/dist/theme/derive.d.ts +1 -1
- package/dist/theme/derive.d.ts.map +1 -1
- package/dist/use-chat-session.d.ts +33 -1
- package/dist/use-chat-session.d.ts.map +1 -1
- package/dist/use-voice-session.d.ts +2 -0
- package/dist/use-voice-session.d.ts.map +1 -1
- package/dist/voice-widget.d.ts +114 -3
- package/dist/voice-widget.d.ts.map +1 -1
- package/dist/widget/concierge-launcher.d.ts +53 -0
- package/dist/widget/concierge-launcher.d.ts.map +1 -0
- package/dist/widget/concierge-shell.d.ts +255 -0
- package/dist/widget/concierge-shell.d.ts.map +1 -0
- package/dist/widget/position.d.ts +65 -0
- package/dist/widget/position.d.ts.map +1 -0
- package/dist/widget/shell-renderer.d.ts +3 -0
- package/dist/widget/shell-renderer.d.ts.map +1 -0
- package/dist/widget/transcript-geometry.d.ts +220 -0
- package/dist/widget/transcript-geometry.d.ts.map +1 -0
- package/dist/widget/widget-view.d.ts +74 -0
- package/dist/widget/widget-view.d.ts.map +1 -0
- package/dist/widget-cards.d.ts +21 -1
- package/dist/widget-cards.d.ts.map +1 -1
- package/dist/widget-cart-summary.d.ts +10 -1
- package/dist/widget-cart-summary.d.ts.map +1 -1
- package/dist/widget.css +1 -1
- package/package.json +7 -3
- package/src/styles/concierge-shell-entry.css +42 -0
- package/src/styles/concierge.css +528 -65
- package/src/styles/dock-surface.css +284 -0
- package/src/styles/tokens.css +22 -6
- package/src/styles/widget-entry.css +42 -1
|
@@ -1,45 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* THE DOCK'S
|
|
2
|
+
* THE DOCK'S VIEW — docs/DOCK_SPEC.md §5.1, drawn.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Which state the session is in is decided in `../concierge-state.ts`
|
|
5
|
+
* (`deriveConciergeState`) and shared with the widget generation
|
|
6
|
+
* (docs/CONCIERGE_GENERATIONS.md §3). This module owns the other half for the
|
|
7
|
+
* dock: what each of those states LOOKS like as a row — its caption, its
|
|
8
|
+
* control set, its border, its mark's treatment, what it does to the sheet,
|
|
9
|
+
* and whether it may recede to glass. Everything under `dock/` renders what
|
|
10
|
+
* `deriveDockState` returns; nothing else in the dock decides a state, and
|
|
11
|
+
* nothing in here decides one either.
|
|
8
12
|
*
|
|
9
|
-
*
|
|
13
|
+
* The precedence order, the `cards` rule and the live-voice ordering used to
|
|
14
|
+
* live in this file. They moved out on 2026-09-17 with the split, unchanged,
|
|
15
|
+
* so that both renderers read one state machine; `dock-state.test.ts` still
|
|
16
|
+
* asserts §5.1 row by row through `deriveDockState`, whose signature and
|
|
17
|
+
* output are exactly what they were.
|
|
10
18
|
*
|
|
11
|
-
*
|
|
12
|
-
* from the components that draw them: whether the shopper is being heard,
|
|
13
|
-
* answered, muted or reconnected is the one thing a voice product has to get
|
|
14
|
-
* right, and it must be assertable without a LiveKit room, a socket, a
|
|
15
|
-
* microphone or a DOM. §5.1 is a thirteen-row table; `dock-state.test.ts`
|
|
16
|
-
* walks it row by row, which is only possible because this takes data and
|
|
17
|
-
* returns data.
|
|
19
|
+
* ## Glass is a decision too
|
|
18
20
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* escalated, a duck with a curation landing inside it, a reconnect with a
|
|
23
|
-
* refused microphone. The order below is spelled out rather than left to the
|
|
24
|
-
* shape of the `if`s, and it is the same precedence `host-widget.tsx`'s
|
|
25
|
-
* status line already uses for its three claimants (session > voice > cart):
|
|
26
|
-
*
|
|
27
|
-
* 1. **`error`** — the conversation is broken; nothing else the row could
|
|
28
|
-
* say matters more.
|
|
29
|
-
* 2. **`offline`** — the tenant says there is no channel to answer on.
|
|
30
|
-
* 3. **`human`** — a PERSON holds the conversation. Voice is AI-only, so
|
|
31
|
-
* every voice state below is a lie while this is true.
|
|
32
|
-
* 4. **`mic_blocked`** — the browser refused. It outranks `reconnecting`
|
|
33
|
-
* because "resume" is an instruction the shopper cannot follow.
|
|
34
|
-
* 5. **`reconnecting`** — §5.1: the most-seen state on a conventionally
|
|
35
|
-
* navigating storefront.
|
|
36
|
-
* 6. **`ducked`** — the shopper turned to the page.
|
|
37
|
-
* 7. the live voice states, in the order `botStateFor` already established.
|
|
38
|
-
* 8. **`cards`** — only over a quiet row (`dormant`/`ducked`) and only while
|
|
39
|
-
* the sheet is closed, per §5.1's "replaces `dock_ducked` once cards land
|
|
40
|
-
* during a duck". It never steals the caption from a live audio state,
|
|
41
|
-
* where the clause and the partial transcript are the point.
|
|
42
|
-
* 9. **`dormant`**.
|
|
21
|
+
* `DockView.glass` (§3.6) is derived here rather than in the row: which
|
|
22
|
+
* states may recede to the colourless surface is exactly the kind of rule
|
|
23
|
+
* that drifts when two components each hold half of it.
|
|
43
24
|
*
|
|
44
25
|
* ## Copy is a KEY, never a string
|
|
45
26
|
*
|
|
@@ -50,20 +31,52 @@
|
|
|
50
31
|
* and never localises: it has no messages, on purpose, so the table can be
|
|
51
32
|
* asserted without one.
|
|
52
33
|
*/
|
|
53
|
-
import type
|
|
54
|
-
|
|
55
|
-
export
|
|
56
|
-
export type
|
|
34
|
+
import { type ConciergeSnapshot, type ConciergeState, type ConciergeStateInput, type ConciergeVoiceInput } from '../concierge-state.js';
|
|
35
|
+
export declare const DOCK_STATES: readonly ["dormant", "connecting", "listening", "thinking", "speaking", "ducked", "reconnecting", "muted", "mic_blocked", "typing", "human", "offline", "error", "cards"];
|
|
36
|
+
export type DockState = ConciergeState;
|
|
37
|
+
export type DockVoiceInput = ConciergeVoiceInput;
|
|
38
|
+
export type DockStateInput = ConciergeStateInput;
|
|
39
|
+
/** A dock nobody has touched, on a tenant with no voice — see `idleConciergeInput`. */
|
|
40
|
+
export declare const idleDockInput: DockStateInput;
|
|
57
41
|
/**
|
|
58
42
|
* §2's control candidates. Never more than three are returned, and the ORDER
|
|
59
43
|
* is the order they are drawn in — `interrupt` first in `speaking` because
|
|
60
44
|
* §5.1 puts it there and because it is the one a thumb reaches for.
|
|
45
|
+
*
|
|
46
|
+
* ## `call` and `mic` are two controls, split 2026-09-16
|
|
47
|
+
*
|
|
48
|
+
* One `mic` used to mean both "start talking to the concierge" and "the
|
|
49
|
+
* microphone in this call". Those are not the same thing to a shopper, and
|
|
50
|
+
* drawing the second one's icon for the first made a microphone the entry
|
|
51
|
+
* point to a row where no microphone was open and nothing was being recorded.
|
|
52
|
+
* From the live widget: "Voice needs a different icon than mic. maybe a call
|
|
53
|
+
* or some other icon. Mic should only be used in voice mode for mute/unmute."
|
|
54
|
+
*
|
|
55
|
+
* The split is by whether a ROOM EXISTS, not by what the press happens to do:
|
|
56
|
+
*
|
|
57
|
+
* - **`call`** — `dormant`, `typing` and `human`. Nothing is dialled, so the
|
|
58
|
+
* only thing the control can do is start a call. Drawn as a soundwave
|
|
59
|
+
* (`dock-row.tsx`'s `SoundwaveGlyph`), the same visual family as the row's
|
|
60
|
+
* activity waveform, so voice reads as voice.
|
|
61
|
+
* - **`mic`** — `ducked` and `reconnecting` (resume) and `muted` (unmute).
|
|
62
|
+
* A session is behind all three and the press operates its microphone.
|
|
63
|
+
* - **`mute`** — the live audio states' in-call microphone under its own
|
|
64
|
+
* name, unchanged.
|
|
65
|
+
*
|
|
66
|
+
* `call` carries the SAME gesture contract `mic` did for starting (§5.2's
|
|
67
|
+
* hold-to-talk on touch, click-to-start on desktop, `Space`/`Enter`), and
|
|
68
|
+
* `micDisabled`/`micUnavailableReason` apply to it: `human` draws it dimmed
|
|
69
|
+
* for the same reason it used to draw the microphone dimmed.
|
|
61
70
|
*/
|
|
62
|
-
export type DockControl = 'mic' | 'mute' | 'keyboard' | 'send' | 'interrupt' | 'see' | 'fix_browser' | 'attach';
|
|
71
|
+
export type DockControl = 'call' | 'mic' | 'mute' | 'keyboard' | 'send' | 'interrupt' | 'see' | 'fix_browser' | 'attach';
|
|
63
72
|
/** §2 — the mark carries session state as a TREATMENT, not a colour swap. */
|
|
64
73
|
export type DockMark = 'live' | 'dimmed';
|
|
65
|
-
/**
|
|
66
|
-
|
|
74
|
+
/**
|
|
75
|
+
* §2's activity slot: a waveform while audio flows, a progress track during
|
|
76
|
+
* retrieval, three dots while the other side composes (`typing`, and `human`
|
|
77
|
+
* while an operator types — added 2026-09-15).
|
|
78
|
+
*/
|
|
79
|
+
export type DockActivity = 'none' | 'waveform' | 'progress' | 'dots';
|
|
67
80
|
/** §1 rule 5 — the only chrome that changes. */
|
|
68
81
|
export type DockBorder = 'rest' | 'primary';
|
|
69
82
|
/**
|
|
@@ -88,93 +101,6 @@ export type DockCaptionSpec = {
|
|
|
88
101
|
};
|
|
89
102
|
/** The `WidgetMessages` keys this module can name. Narrow on purpose — a typo is a compile error. */
|
|
90
103
|
export type DockMessageKey = 'dock_connecting' | 'dock_listening' | 'dock_thinking' | 'dock_ducked' | 'dock_still_here' | 'dock_still_here_resume' | 'dock_muted' | 'dock_mic_blocked' | 'dock_cards' | 'dock_voice_failed' | 'escalated_banner';
|
|
91
|
-
/** The voice leg, as the row needs to see it — a superset of `VoiceSessionSnapshot`'s fields. */
|
|
92
|
-
export interface DockVoiceInput {
|
|
93
|
-
/** The tenant published voice AND this is not an embedded webview (§8.4). */
|
|
94
|
-
readonly enabled: boolean;
|
|
95
|
-
readonly phase: VoicePhase;
|
|
96
|
-
/** The caller's microphone is published to the room. */
|
|
97
|
-
readonly micOpen: boolean;
|
|
98
|
-
/** The browser is being asked for the microphone right now (`VoiceSessionSnapshot.micPending`). */
|
|
99
|
-
readonly micPending: boolean;
|
|
100
|
-
/** The browser REFUSED. Distinct from muted: no press can undo it on this page (§5.1). */
|
|
101
|
-
readonly micBlocked: boolean;
|
|
102
|
-
readonly agentPresent: boolean;
|
|
103
|
-
readonly agentSpeaking: boolean;
|
|
104
|
-
readonly callerSpeaking: boolean;
|
|
105
|
-
readonly awaitingAgent: boolean;
|
|
106
|
-
}
|
|
107
|
-
export interface DockStateInput {
|
|
108
|
-
/** The shopper has expressed intent — before that the dock is resting, whatever the transports say. */
|
|
109
|
-
readonly engaged: boolean;
|
|
110
|
-
readonly voice: DockVoiceInput;
|
|
111
|
-
/** What is in the composer right now. Only `dormant` reads it, for the send control. */
|
|
112
|
-
readonly draft: string;
|
|
113
|
-
/** §5.5 — the shopper turned to the page during `speaking`. */
|
|
114
|
-
readonly ducked: boolean;
|
|
115
|
-
/** §8.6 — the session is being resumed (a navigation, a return from lock). */
|
|
116
|
-
readonly reconnecting: boolean;
|
|
117
|
-
/** The room itself dropped, so the resume needs a tap rather than just a wait. */
|
|
118
|
-
readonly roomDropped: boolean;
|
|
119
|
-
/** A PERSON holds the conversation (`UseChatSessionResult.status === 'escalated'`). */
|
|
120
|
-
readonly escalated: boolean;
|
|
121
|
-
/** The operator's last line, once they have said anything. */
|
|
122
|
-
readonly operatorLine?: string;
|
|
123
|
-
/** The attach control is escalated-only (`AGENTS.md` — the concierge has no vision path). */
|
|
124
|
-
readonly canAttach: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* A host that can actually open the browser's own permission help (§5.1's
|
|
127
|
-
* `dock_fix_browser`).
|
|
128
|
-
*
|
|
129
|
-
* Gated for the same reason `canAttach` is: a control that provably does
|
|
130
|
-
* nothing is worse than no control. Nothing in the browser can open that UI
|
|
131
|
-
* from script, so most hosts have nothing to offer here — and
|
|
132
|
-
* `dock_mic_blocked` ("Mic blocked — type instead") already tells the
|
|
133
|
-
* shopper what they can do.
|
|
134
|
-
*/
|
|
135
|
-
readonly canFixPermission: boolean;
|
|
136
|
-
readonly offline: boolean;
|
|
137
|
-
readonly offlineMessage?: string;
|
|
138
|
-
/**
|
|
139
|
-
* The host's status line, for the two claimants that are genuinely ERRORS:
|
|
140
|
-
* the conversation itself is broken, or the voice leg is (a refused
|
|
141
|
-
* microphone, a dead speech vendor).
|
|
142
|
-
*/
|
|
143
|
-
readonly error?: string;
|
|
144
|
-
/**
|
|
145
|
-
* WHICH claimant `error` came from — the conversation, or the voice leg.
|
|
146
|
-
*
|
|
147
|
-
* The host resolves the precedence (session > voice) into one string before
|
|
148
|
-
* it reaches the dock, and the string alone cannot say what it is: this
|
|
149
|
-
* module has to know a voice CONNECT failed to swap its transport text for
|
|
150
|
-
* §5.1's `dock_voice_failed`, and it must not do that to a session error
|
|
151
|
-
* that merely happened while the room was also down.
|
|
152
|
-
*/
|
|
153
|
-
readonly errorSource?: 'session' | 'voice';
|
|
154
|
-
/**
|
|
155
|
-
* A line the shopper needs to READ that is not an error — today, only
|
|
156
|
-
* `cart_add_failed`: the concierge said an item was going in the basket and
|
|
157
|
-
* only this browser knows it did not.
|
|
158
|
-
*
|
|
159
|
-
* It replaces the CAPTION and changes nothing else. Folding it into `error`
|
|
160
|
-
* instead cost the row its whole live state: an add that failed mid-call
|
|
161
|
-
* took `speaking` down to `error` for the rest of the session, so the
|
|
162
|
-
* clause disappeared and mute and interrupt went with it — and
|
|
163
|
-
* `agentAddFailed` is only cleared by the NEXT successful agent add, so it
|
|
164
|
-
* did not go away. §5.1 puts `cart_add_failed` in the caption; that is all
|
|
165
|
-
* it asks for.
|
|
166
|
-
*/
|
|
167
|
-
readonly notice?: string;
|
|
168
|
-
/** How many cards the latest curation put on the shelf. */
|
|
169
|
-
readonly shelfCount: number;
|
|
170
|
-
readonly sheetOpen: boolean;
|
|
171
|
-
/** The live partial transcript, current utterance only (§5.1's `listening`). */
|
|
172
|
-
readonly partialTranscript?: string;
|
|
173
|
-
/** `FillerPolicy`'s model-authored acknowledgement (§6) — the designed `thinking` caption. */
|
|
174
|
-
readonly preamble?: string;
|
|
175
|
-
/** The clause the agent is saying right now (§5.1's `speaking`). */
|
|
176
|
-
readonly clause?: string;
|
|
177
|
-
}
|
|
178
104
|
export interface DockView {
|
|
179
105
|
readonly state: DockState;
|
|
180
106
|
readonly mark: DockMark;
|
|
@@ -184,6 +110,30 @@ export interface DockView {
|
|
|
184
110
|
readonly controls: readonly DockControl[];
|
|
185
111
|
readonly border: DockBorder;
|
|
186
112
|
readonly sheet: DockSheetPolicy;
|
|
113
|
+
/**
|
|
114
|
+
* How many cards are on the shelf — the `see` control's own name reads it
|
|
115
|
+
* (§5.1's `dock_cards`, "{count} picks — see").
|
|
116
|
+
*
|
|
117
|
+
* On the VIEW rather than recovered from the caption, which is where it used
|
|
118
|
+
* to come from: `dock-row.tsx` reached into `view.caption.vars['count']`
|
|
119
|
+
* with a cast, so the count only existed in the one state that draws the
|
|
120
|
+
* `cards` caption — a live call with a shelf said "Show conversation" over
|
|
121
|
+
* six picks — and renaming the interpolation variable would have changed an
|
|
122
|
+
* accessible name with nothing failing.
|
|
123
|
+
*/
|
|
124
|
+
readonly shelfCount: number;
|
|
125
|
+
/**
|
|
126
|
+
* A PERSON holds the conversation, so the mark is theirs (§2's handoff
|
|
127
|
+
* disc).
|
|
128
|
+
*
|
|
129
|
+
* DERIVED here rather than read from the raw `escalated` prop at each call
|
|
130
|
+
* site, for the reason `glass` is derived here: §5.1's precedence puts
|
|
131
|
+
* `error` and `offline` ABOVE `human`, so an escalated session with a status
|
|
132
|
+
* error drew the error row while the mark still showed the operator's
|
|
133
|
+
* initials — the row saying the conversation is broken and the mark saying a
|
|
134
|
+
* person is here, in the same frame. One state, one answer.
|
|
135
|
+
*/
|
|
136
|
+
readonly handoff: boolean;
|
|
187
137
|
/**
|
|
188
138
|
* There is a CALL to end — the room is being dialled, is up, or is waiting
|
|
189
139
|
* for the worker to join.
|
|
@@ -208,20 +158,43 @@ export interface DockView {
|
|
|
208
158
|
* with a reason on it reads as the product.
|
|
209
159
|
*/
|
|
210
160
|
readonly micDisabled?: boolean;
|
|
161
|
+
/**
|
|
162
|
+
* §3.6 (added 2026-09-15) — draw the row on the colourless glass surface.
|
|
163
|
+
*
|
|
164
|
+
* True for `ducked` (which includes a shopper-initiated pause) and for an
|
|
165
|
+
* IDLE `typing` row that nobody is composing into. Never for `connecting`,
|
|
166
|
+
* `listening`, `thinking` or `speaking`: a surface that goes clear while the
|
|
167
|
+
* concierge is talking reads as the concierge leaving mid-sentence. `cards`
|
|
168
|
+
* is not glass either — a curation landing is exactly when the row should
|
|
169
|
+
* look present.
|
|
170
|
+
*/
|
|
171
|
+
readonly glass: boolean;
|
|
211
172
|
}
|
|
212
|
-
/** A dock nobody has touched, on a tenant with no voice. Every field explicit — see `DockStateInput`. */
|
|
213
|
-
export declare const idleDockInput: DockStateInput;
|
|
214
173
|
/**
|
|
215
|
-
* §5.1's table, as a function.
|
|
174
|
+
* §5.1's table, as a function — the dock's public entry point, unchanged.
|
|
216
175
|
*
|
|
217
176
|
* @param input the session, as data — see {@link DockStateInput}
|
|
218
177
|
* @returns everything the row, the caption and the sheet need for one render
|
|
219
178
|
*/
|
|
220
179
|
export declare function deriveDockState(input: DockStateInput): DockView;
|
|
180
|
+
/**
|
|
181
|
+
* The dock's presentation of a state the shared machine already decided.
|
|
182
|
+
*
|
|
183
|
+
* Takes the snapshot AND the input: the snapshot for everything a renderer
|
|
184
|
+
* may not recompute (the state, `handoff`, `callActive`, `shelfCount`), the
|
|
185
|
+
* input for CONTENT — a partial transcript, a preamble, the operator's line,
|
|
186
|
+
* the host's error text. The one thing this function never does is look at
|
|
187
|
+
* the input to decide which state it is in.
|
|
188
|
+
*/
|
|
189
|
+
export declare function deriveDockView(snapshot: ConciergeSnapshot, input: DockStateInput): DockView;
|
|
221
190
|
/**
|
|
222
191
|
* A transcript turn, as the EXCHANGE split reads it: its speaker and nothing
|
|
223
192
|
* else.
|
|
224
193
|
*
|
|
194
|
+
* @deprecated §3.4's latest-exchange view was retired on 2026-09-15 (the
|
|
195
|
+
* float, §3.5, shows the last turn; the visor always holds the whole
|
|
196
|
+
* transcript). Kept because `index.ts` publishes this module wholesale.
|
|
197
|
+
*
|
|
225
198
|
* §3.4's split is a decision about the conversation's shape, so it lives here
|
|
226
199
|
* with the rest of them — and it takes speakers rather than turns because a
|
|
227
200
|
* turn carries text, cards, attachments, a locale and a delivery state, none
|
|
@@ -233,6 +206,10 @@ export type DockSpeaker = 'caller' | 'agent' | 'event';
|
|
|
233
206
|
/**
|
|
234
207
|
* §3.4 (revised 2026-09-11) — where the LATEST EXCHANGE begins.
|
|
235
208
|
*
|
|
209
|
+
* @deprecated Nothing in the dock renders a latest-exchange view any more
|
|
210
|
+
* (§3.4, revised 2026-09-15). Kept, and still correct, because it is
|
|
211
|
+
* published API.
|
|
212
|
+
*
|
|
236
213
|
* An exchange is the shopper's line and the reply to it. The latest one
|
|
237
214
|
* therefore starts at the LAST caller turn and runs to the end, so a reply
|
|
238
215
|
* that arrived as three turns (a filler, the answer, the cards) stays whole.
|
|
@@ -250,7 +227,10 @@ export type DockSpeaker = 'caller' | 'agent' | 'event';
|
|
|
250
227
|
export declare function latestExchangeStart(speakers: readonly DockSpeaker[]): number;
|
|
251
228
|
/**
|
|
252
229
|
* How many exchanges the transcript holds — the number "Show conversation"
|
|
253
|
-
*
|
|
230
|
+
* was offered on (§3.4: the control existed only when there was more than one).
|
|
231
|
+
*
|
|
232
|
+
* @deprecated The control was removed with §3.4's latest-exchange view on
|
|
233
|
+
* 2026-09-15. Kept, and still correct, because it is published API.
|
|
254
234
|
*
|
|
255
235
|
* A caller line opens an exchange; anything said BEFORE the first one (the
|
|
256
236
|
* greeting, a proactive nudge) is an exchange of its own, because it is
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dock-state.d.ts","sourceRoot":"","sources":["../../src/dock/dock-state.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"dock-state.d.ts","sourceRoot":"","sources":["../../src/dock/dock-state.ts"],"names":[],"mappings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GAAG,OAAO,GAAG,OAAO,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,SAAS,WAAW,EAAE,GAAG,MAAM,CAM5E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,SAAS,WAAW,EAAE,GAAG,MAAM,CAetE"}
|
package/dist/dock/dock.d.ts
CHANGED
|
@@ -151,13 +151,19 @@ export interface DockVoiceProps {
|
|
|
151
151
|
* type, and deliberately: the dock itself only ever calls this for its own
|
|
152
152
|
* two native gestures, the duck (`'look'`, above) and the interrupt
|
|
153
153
|
* control/row tap (`'tap'`, `onControl`'s `'interrupt'` case below).
|
|
154
|
-
* `'keyboard'` — "switched to text mid-reply" —
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* `
|
|
154
|
+
* `'keyboard'` — "switched to text mid-reply" — fires from wherever a typed
|
|
155
|
+
* turn is actually SUBMITTED, which is outside this component (`onSubmit`,
|
|
156
|
+
* wired up by whatever renders the dock). SAA-171: `host-widget.tsx`'s
|
|
157
|
+
* `onSendText` now sends it (`voice.interrupt('keyboard')`, guarded to
|
|
158
|
+
* `inCall && (voiceSnapshot.agentSpeaking || voiceSnapshot.awaitingAgent)`
|
|
159
|
+
* — the RAW snapshot fields, not `voice.state === 'speaking'`: an earlier
|
|
160
|
+
* version of this fix used the collapsed `BotState` and missed a mic closed
|
|
161
|
+
* by hold-to-talk or caller-speech noise overlapping real agent audio, per
|
|
162
|
+
* adversarial review) — but that call goes straight through
|
|
163
|
+
* `useVoiceSession`'s own `interrupt()`, never through this prop, so this
|
|
164
|
+
* component still never emits `'keyboard'` and the narrowing below stays
|
|
165
|
+
* accurate. Narrowing here keeps the callback's declared surface honest
|
|
166
|
+
* about what THIS component emits.
|
|
161
167
|
*/
|
|
162
168
|
readonly onInterrupt?: (reason: Exclude<CallerInterruptReason, 'keyboard'>) => void;
|
|
163
169
|
/**
|
|
@@ -195,6 +201,35 @@ export interface DockVoiceProps {
|
|
|
195
201
|
*/
|
|
196
202
|
readonly unavailableReason?: string;
|
|
197
203
|
}
|
|
204
|
+
/**
|
|
205
|
+
* §3.5 — the last turn, as the float needs it: who said it, what, and whether
|
|
206
|
+
* it is still arriving.
|
|
207
|
+
*
|
|
208
|
+
* Data rather than a node, unlike `transcript`, because the float makes
|
|
209
|
+
* decisions about it — it times a FINISHED turn out, never a streaming one, and
|
|
210
|
+
* tells a new turn from a growing one — and a rendered node can answer neither.
|
|
211
|
+
* `speaker` has no `event`: a handoff marker is something that happened to the
|
|
212
|
+
* conversation, not a line anybody said.
|
|
213
|
+
*/
|
|
214
|
+
export interface DockTurn {
|
|
215
|
+
readonly speaker: 'caller' | 'agent';
|
|
216
|
+
readonly text: string;
|
|
217
|
+
/** The words may still grow — a text reply mid-stream. Never times out while true. */
|
|
218
|
+
readonly streaming: boolean;
|
|
219
|
+
/**
|
|
220
|
+
* WHO said it, when that is not the concierge — §5.1's `human` row, where a
|
|
221
|
+
* person has taken the conversation and the float should say their name
|
|
222
|
+
* rather than the tenant's concierge's (§3.5, added 2026-09-16).
|
|
223
|
+
*
|
|
224
|
+
* Per TURN rather than per session, because a thread holds both: the
|
|
225
|
+
* concierge's own lines sit above the handoff marker and stay the
|
|
226
|
+
* concierge's forever, and a conversation can change hands twice. Absent ⇒
|
|
227
|
+
* the float falls back to the concierge's name, which is also what every
|
|
228
|
+
* tenant who never published `handoff.showOperatorName: true` gets — their
|
|
229
|
+
* payloads carry no name at all, so there is nothing here to suppress.
|
|
230
|
+
*/
|
|
231
|
+
readonly speakerName?: string;
|
|
232
|
+
}
|
|
198
233
|
export interface DockProps {
|
|
199
234
|
readonly identity: DockIdentityView;
|
|
200
235
|
/** §9.1's `color`/`type` groups. Absent ⇒ the shipped defaults. */
|
|
@@ -223,6 +258,19 @@ export interface DockProps {
|
|
|
223
258
|
*/
|
|
224
259
|
readonly notice?: string;
|
|
225
260
|
readonly operatorLine?: string;
|
|
261
|
+
/**
|
|
262
|
+
* §2 (added 2026-09-16) — the display name of the person now holding the
|
|
263
|
+
* conversation, for the MARK's handoff disc.
|
|
264
|
+
*
|
|
265
|
+
* Read only while {@link DockProps.escalated}; absent ⇒ the disc draws a
|
|
266
|
+
* neutral person glyph instead. Separate from `lastTurn.speakerName`
|
|
267
|
+
* because the two answer different questions: the float names whoever said
|
|
268
|
+
* THE LAST LINE (which may be the shopper), while the mark names whoever is
|
|
269
|
+
* on the other end of the conversation right now.
|
|
270
|
+
*
|
|
271
|
+
* Never reaches an accessible name. See `DockRowProps.markStateLabel`.
|
|
272
|
+
*/
|
|
273
|
+
readonly operatorName?: string;
|
|
226
274
|
readonly reconnecting?: boolean;
|
|
227
275
|
readonly roomDropped?: boolean;
|
|
228
276
|
readonly partialTranscript?: string;
|
|
@@ -234,30 +282,61 @@ export interface DockProps {
|
|
|
234
282
|
/** The text session's transcript, supplied by the caller (`voice-widget.tsx`). */
|
|
235
283
|
readonly transcript?: ReactNode;
|
|
236
284
|
/**
|
|
237
|
-
* §3.4 (
|
|
238
|
-
* `peek` sheet: the shopper's last line and the reply to it, with whatever
|
|
239
|
-
* that reply brought.
|
|
240
|
-
*
|
|
241
|
-
* A second NODE rather than a count the dock slices itself, because the
|
|
242
|
-
* dock is handed a rendered transcript and has no idea what a turn is. The
|
|
243
|
-
* host renders the same turn list twice from one component — sliced at
|
|
244
|
-
* `latestExchangeStart` (`dock-state.ts`) — so a card, a price or an
|
|
245
|
-
* attachment cannot bind differently in the two views.
|
|
285
|
+
* §3.4 (2026-09-11) — the LATEST EXCHANGE, for a text session's `peek` sheet.
|
|
246
286
|
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
*
|
|
287
|
+
* @deprecated Accepted and IGNORED since 2026-09-15. The visor always holds
|
|
288
|
+
* the whole `transcript`; the float (§3.5, {@link DockProps.lastTurn})
|
|
289
|
+
* shows the last turn while it is closed. Still declared so a host built
|
|
290
|
+
* against the older revision keeps compiling.
|
|
250
291
|
*/
|
|
251
292
|
readonly latestExchange?: ReactNode;
|
|
252
293
|
/**
|
|
253
|
-
* How many exchanges the transcript holds
|
|
294
|
+
* How many exchanges the transcript holds — once the gate for "Show
|
|
295
|
+
* conversation".
|
|
254
296
|
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
* to press things.
|
|
297
|
+
* @deprecated Accepted and IGNORED since 2026-09-15, with the control it
|
|
298
|
+
* gated. See {@link DockProps.latestExchange}. Replaced by
|
|
299
|
+
* {@link DockProps.transcriptCount}, which is a count of TURNS.
|
|
259
300
|
*/
|
|
260
301
|
readonly exchangeCount?: number;
|
|
302
|
+
/**
|
|
303
|
+
* HOW MANY TURNS {@link DockProps.transcript} holds (added 2026-09-16).
|
|
304
|
+
*
|
|
305
|
+
* The `see` control and §5.5's row tap both promise a visor with something
|
|
306
|
+
* in it, and until this prop existed the dock answered that question by
|
|
307
|
+
* asking whether the `transcript` PROP was present. It always is: the host
|
|
308
|
+
* renders a node whether or not there are any turns inside it, so a resting
|
|
309
|
+
* row offered a control that opened an empty panel — reported from the live
|
|
310
|
+
* marketing site, where it also announced itself as "0 picks — see".
|
|
311
|
+
*
|
|
312
|
+
* It is a §4.2 defect as well as a §5.1 one. Core draws 88 px of controls in
|
|
313
|
+
* the dormant row and React drew 132 px with `see` among them, so the
|
|
314
|
+
* caption reflowed in the handover frame — the one paint the whole
|
|
315
|
+
* pre-engagement experience is measured on (§7.3).
|
|
316
|
+
*
|
|
317
|
+
* Absent ⇒ zero, which is the safe answer: a host that cannot say how much
|
|
318
|
+
* it has gets no control rather than a control that opens nothing.
|
|
319
|
+
*/
|
|
320
|
+
readonly transcriptCount?: number;
|
|
321
|
+
/**
|
|
322
|
+
* §3.5 (added 2026-09-15) — the last turn, for the FLOAT above the row.
|
|
323
|
+
*
|
|
324
|
+
* The host chooses which turn that is (a filler is not one, a voice partial
|
|
325
|
+
* the recognizer may still revise is not one); the dock decides when to
|
|
326
|
+
* show it. Absent ⇒ no float.
|
|
327
|
+
*/
|
|
328
|
+
readonly lastTurn?: DockTurn;
|
|
329
|
+
/**
|
|
330
|
+
* §5.1 (added 2026-09-15) — the OTHER side is composing: a concierge reply
|
|
331
|
+
* pending or streaming on a text session, or a human operator typing.
|
|
332
|
+
* Draws the dots in `typing` and `human`, and holds §3.6's glass off.
|
|
333
|
+
*/
|
|
334
|
+
readonly composing?: boolean;
|
|
335
|
+
/**
|
|
336
|
+
* §3.2 (added 2026-09-15) — draw the notification dot on the pill. A prop
|
|
337
|
+
* only for now: which events raise and clear it is open (§15).
|
|
338
|
+
*/
|
|
339
|
+
readonly unread?: boolean;
|
|
261
340
|
/** Anything the sheet holds beside its main content: the basket, chips, the handoff marker. */
|
|
262
341
|
readonly sheetExtra?: ReactNode;
|
|
263
342
|
/** Bumped when the sheet's contents grew, so the scroll can follow a reader at the bottom. */
|
package/dist/dock/dock.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dock.d.ts","sourceRoot":"","sources":["../../src/dock/dock.tsx"],"names":[],"mappings":"AAEA,OAAO,EASL,KAAK,aAAa,EAClB,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAE5E,OAAO,EAAwC,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"dock.d.ts","sourceRoot":"","sources":["../../src/dock/dock.tsx"],"names":[],"mappings":"AAEA,OAAO,EASL,KAAK,aAAa,EAClB,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,s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