@ellipsis-dev/sdk 0.32.0 → 0.34.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.
@@ -227,7 +227,7 @@
227
227
  },
228
228
  "MessageRequeuedPayload": {
229
229
  "additionalProperties": true,
230
- "description": "message_requeued: a turn was interrupted before answering, so the\nmessage goes back to the inbox with a new pending turn.",
230
+ "description": "message_requeued: a turn was interrupted before answering, so the\nmessage goes back to the inbox with a new queued turn.",
231
231
  "properties": {
232
232
  "message_id": {
233
233
  "title": "Message Id",
@@ -325,6 +325,31 @@
325
325
  "title": "TurnEndedPayload",
326
326
  "type": "object"
327
327
  },
328
+ "TurnQueuedPayload": {
329
+ "additionalProperties": true,
330
+ "description": "turn_queued: the turn waits because the account already has\n`sessions_alive` sessions alive, its limit.",
331
+ "properties": {
332
+ "limit": {
333
+ "title": "Limit",
334
+ "type": "integer"
335
+ },
336
+ "sessions_alive": {
337
+ "title": "Sessions Alive",
338
+ "type": "integer"
339
+ },
340
+ "turn_id": {
341
+ "title": "Turn Id",
342
+ "type": "string"
343
+ }
344
+ },
345
+ "required": [
346
+ "turn_id",
347
+ "sessions_alive",
348
+ "limit"
349
+ ],
350
+ "title": "TurnQueuedPayload",
351
+ "type": "object"
352
+ },
328
353
  "TurnStartedPayload": {
329
354
  "additionalProperties": true,
330
355
  "description": "turn_started: the agent started on the turn's message.",
@@ -373,6 +398,9 @@
373
398
  "turn_ended": {
374
399
  "$ref": "#/$defs/TurnEndedPayload"
375
400
  },
401
+ "turn_queued": {
402
+ "$ref": "#/$defs/TurnQueuedPayload"
403
+ },
376
404
  "turn_started": {
377
405
  "$ref": "#/$defs/TurnStartedPayload"
378
406
  }
@@ -386,6 +414,7 @@
386
414
  "message_requeued",
387
415
  "session_closed",
388
416
  "turn_ended",
417
+ "turn_queued",
389
418
  "turn_started"
390
419
  ],
391
420
  "title": "LifecyclePayloads",