@xema/omni-protocol 0.1.45 → 0.1.46
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/guide.md +6 -0
- package/package.json +1 -1
package/guide.md
CHANGED
|
@@ -2249,6 +2249,12 @@ ends with an `expired` outcome naming `preview`. The two travel together
|
|
|
2249
2249
|
"expires in 12s" from the provider's word. With neither, the agent has as long as they need.
|
|
2250
2250
|
Reaching the instant is not itself a transition: the provider reports what it did, as an event.
|
|
2251
2251
|
|
|
2252
|
+
**Drop both fields when the phase moves.** A provider that builds the `in-progress` task by
|
|
2253
|
+
spreading the `preview` one carries `previewEndsAt` and `atDeadline` with it, and the host refuses
|
|
2254
|
+
the update (`task.preview.deadline.unexpected`) while the provider's own state looks right: the
|
|
2255
|
+
desk hears nothing and the provider sees nothing wrong. The task past preview has no deadline to
|
|
2256
|
+
wait for, so it carries neither field.
|
|
2257
|
+
|
|
2252
2258
|
**A task is never its audio.** A voice task is the allocation: the call is offered when it is
|
|
2253
2259
|
routed to the agent and accepted as its `acceptance` dictates, and its presence and phase follow
|
|
2254
2260
|
the provider's reports about the work — never the audio. Wherever audio moves — an offer, a hold, a
|