@camunda/copilot-chat 0.8.0 → 0.8.1-alpha.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 CHANGED
@@ -111,6 +111,32 @@ after each connection or reconnection. The panel refreshes its snapshot at that
111
111
  point to recover events missed while connecting. The HTTP adapter does this on
112
112
  SSE open; two-argument synchronous adapters remain supported.
113
113
 
114
+ An open conversation refreshes its snapshot every five seconds while running,
115
+ until a terminal snapshot has been fetched. Missing realtime completion events
116
+ therefore do not require a page reload. Online and visibility-resume events also
117
+ refresh the snapshot. Requests are serialized and reconnect/lifecycle refreshes
118
+ are coalesced. Failed requests retry with backoff, capped at 30 seconds; the panel
119
+ shows a synchronization warning and disables submissions until recovery. It does
120
+ not infer success or cancel provider work when synchronization fails.
121
+
122
+ Adapters may use the optional fourth `observe` argument to report an `Error` after
123
+ a transport or parsing failure. The observer then refreshes the snapshot. The HTTP
124
+ adapter reports SSE errors and malformed JSON this way.
125
+
126
+ Snapshots, summaries, and events optionally carry a monotonically increasing
127
+ numeric `revision` per conversation. Once a revision is present, older or
128
+ unversioned updates are ignored. Events at the same revision may carry different
129
+ parts of one change; revisions are not event IDs. Hosts must supply consistent
130
+ revisions across all three surfaces to enable this protection. Existing unversioned
131
+ adapters remain supported: events arriving during a snapshot request invalidate
132
+ that response and cause a later refresh. Without server revisions, the library
133
+ cannot identify stale server responses or all delayed events.
134
+
135
+ Polling only repairs browser state from the backend's snapshot. It cannot repair
136
+ a backend that has not persisted completion, and a suspended/offline browser or
137
+ a request that never settles has no bounded convergence guarantee. Unmounting
138
+ stops observation, timers, and browser listeners; it never cancels a turn.
139
+
114
140
  `CandidateReview.onReviewReady` reports true only when every artifact is ready.
115
141
  Fixture scripts must supply `before` for modifications to support restore;
116
142
  otherwise approval has no checkpoint. Only created files restore to absence.
@@ -125,6 +151,12 @@ and becomes the assistant reply in `content`. Optional `groupId` metadata in
125
151
  older snapshots does not nest rows. Message rows show text directly beside a
126
152
  neutral dot, without a generic "Progress" label.
127
153
 
154
+ An assistant reply in `content` is visible while the message is still streaming.
155
+ The turn remains busy and the composer stays disabled until completion; rendering
156
+ the reply does not indicate that output verification or proposal creation succeeded.
157
+ Empty reasoning markers are not shown or counted. Actual thinking blocks with
158
+ non-blank description text remain visible, and failed steps are never hidden.
159
+
128
160
  Shell-tool lint steps, including combined layout/lint steps, use a neutral wrench
129
161
  and their original activity label even when the check returns an error. They do
130
162
  not show red failure styling, a "(failed)" suffix, or a warning badge. The stored
@@ -1,4 +1,4 @@
1
- import { R as c, L as f, A as d } from "./index-D9bYzhnE.js";
1
+ import { R as c, L as f, A as d } from "./index-Bh5gDiy3.js";
2
2
  import { useContext as p, useState as L, useEffect as N } from "react";
3
3
  import { jsx as x } from "react/jsx-runtime";
4
4
  var A = ({ code: s, language: e, raw: a, className: o, startLine: m, lineNumbers: u, ...g }) => {