inline-chat-kit 0.59.0 → 0.59.2

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/CHANGELOG.md CHANGED
@@ -8,6 +8,76 @@ The versions before 1.0 follow the pre-release convention: **a breaking change
8
8
  or new public API bumps the minor**, and the patch is for fixes. Anything that would break an
9
9
  existing install is called out under **Breaking**, with what to do about it.
10
10
 
11
+ ## 0.59.2 — 2026-09-24
12
+
13
+ ### Fixed
14
+
15
+ Docked, an answer holds still while it arrives and as it finishes. Measured
16
+ after the frame is painted, in four windows, on every answer the demo gives:
17
+ from 6 failures to none.
18
+
19
+ - **An answer with a card in it no longer drops and comes back as it
20
+ settles.** The room under the last turn was a margin written a frame after
21
+ the answer changed. When anything inside the turn got shorter — the
22
+ reasoning folding away as a card arrived — the scroll was clamped before
23
+ the margin caught up, and the whole answer dropped 3–13px for a frame. The
24
+ room is now the last turn's `min-height`, which the browser holds in the
25
+ same layout.
26
+ - **A finished answer is no longer nudged up.** Its row of actions was drawn
27
+ only on settling, 36px of new height at the moment it finished, and an
28
+ answer near the composer was pushed up by what did not fit — 2px, or 25.
29
+ The row is now there, hidden, while the answer arrives.
30
+ - **Following the end of a long answer keeps the last line above the
31
+ composer**, where it went 13px behind it. And when a settled answer does
32
+ have to move, it glides once to where it ends up instead of travelling to
33
+ where the end was and creeping back.
34
+ - **An artifact card grows to its content** instead of jumping from 97px to
35
+ 236px in a frame and throwing the answer under it down.
36
+ - **Inline, the sent bubble no longer flickers between one line and two**
37
+ as its stop leaves: the exit spring overshot zero by a fraction of a pixel,
38
+ enough to wrap, four times in 40ms. It is critically damped now.
39
+ - **Browser scroll anchoring is off in the conversation** — the component
40
+ places the view, and Safari never anchored.
41
+
42
+ ### Added
43
+
44
+ - `npm run still-check` in the gate: no jolt (3px undone within two frames),
45
+ and an answer that fits is not moved as it settles.
46
+
47
+ ### Known
48
+
49
+ - Inline, the room is still the measured margin, and a reasoning folding
50
+ away can still clamp the view for a frame by 3–4px, as it did before.
51
+
52
+ ## 0.59.1 — 2026-09-24
53
+
54
+ ### Fixed
55
+
56
+ - **A sent message goes to the top while the model is still silent.** It
57
+ waited for the answer: a model that thinks for a few seconds and then
58
+ answers all at once left the message where it was sent until the answer
59
+ came. Two causes, either one enough:
60
+ - **A host's chat published a render late.** A host that keeps its
61
+ `useChatTurns` in a store and publishes it from an effect hands the kit the
62
+ turns a render after the press. For that render the turn is still the
63
+ composer, and docked the composer is on the bottom edge — the anchor moved
64
+ the view there and was spent. The anchor now waits for the turn to have
65
+ been sent. Measured before: 399px in a 900px window, 526px in an 844px one.
66
+ - **The room under a docked conversation came up short.** While the
67
+ conversation is shorter than the view, the dock's `margin-top: auto`
68
+ swallows the first of the room, and the correction came a frame after the
69
+ view had set off for the old end — and the view no longer looked. The room
70
+ is now settled in one pass, and a travel that was overtaken is looked at
71
+ again when it lands. Measured before: the second message stopped at 141px
72
+ in a 680px window.
73
+
74
+ ### Added
75
+
76
+ - **`ThinksFirst` and `ChatInAStore` stories**, and `npm run silent-check`
77
+ in the gate: three messages to a model silent for 2.5s, in three windows,
78
+ each at the anchor 700ms after the send and still there at 2300ms. Without
79
+ either fix it fails seven of eighteen.
80
+
11
81
  ## 0.59.0 — 2026-09-24
12
82
 
13
83
  From integrating 0.58 into a host app. Nothing changes for a host that passes