@burdenoff/fe-libs 2026.1027.10 → 2026.1027.12

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.
@@ -1,9 +1,8 @@
1
1
  /**
2
2
  * How often to re-check for the assistant's reply while a turn is in flight.
3
3
  *
4
- * The assistant has no streaming transport: the prompt is a fire-and-forget POST
5
- * and the reply is discovered by re-fetching the message list. So this interval
6
- * is the granularity of the whole experience — it bounds how late the answer
4
+ * When the streaming transport is unavailable, the reply is discovered by
5
+ * polling the message list. This interval bounds how late the answer
7
6
  * appears in chat AND how late speech can start, because auto-speak only fires
8
7
  * once a poll observes the reply completed.
9
8
  *
@@ -11,14 +10,11 @@
11
10
  * after the answer was already sitting on the server, and made streamed text
12
11
  * arrive in visible jerks rather than flowing.
13
12
  *
14
- * ★ The schedule is a compromise, not free. Every poll re-fetches the newest
15
- * messages in full rather than a delta, so a faster interval is a real increase
16
- * in request rate. It is spent where it buys the most — the first few seconds,
13
+ * The pollers request a creation-time delta (`sinceMs`), retaining the in-flight
14
+ * message so edits are picked up, with full snapshots for older images. A faster
15
+ * interval still increases request rate. It is spent in the first few seconds,
17
16
  * where most replies land — and given back afterwards, so a long-running turn
18
17
  * costs no more than it used to.
19
- *
20
- * The proper fix is a delta fetch (`sinceMs`, which the shared client already
21
- * supports) or a streaming transport; both are larger changes than this.
22
18
  */
23
19
  /** While the answer is most likely to land. */
24
20
  export declare const POLL_FAST_MS = 600;