@ellipsis-dev/sdk 0.35.0 → 0.37.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/dist/index.d.ts +56 -175
- package/dist/index.js +38 -82
- package/dist/store/index.d.ts +14 -25
- package/dist/store/index.js +228 -284
- package/dist/stream/index.d.ts +2 -3
- package/dist/stream/index.js +11 -22
- package/dist/{types-BrLpRRde.d.ts → types-BXbnHOQe.d.ts} +844 -1555
- package/package.json +1 -1
- package/schema/collection_frames.schema.json +87 -211
- package/schema/frames.schema.json +842 -1496
- package/schema/lifecycle.schema.json +389 -150
- package/schema/openapi.v1.json +761 -1619
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
}
|
|
467
467
|
],
|
|
468
468
|
"default": null,
|
|
469
|
-
"description": "The initial user message, passed verbatim. Omit to start an interactive session with no
|
|
469
|
+
"description": "The initial user message, passed verbatim. Omit to start an interactive session with no message, waiting for one.",
|
|
470
470
|
"title": "Prompt"
|
|
471
471
|
},
|
|
472
472
|
"settings": {
|
|
@@ -585,6 +585,19 @@
|
|
|
585
585
|
"title": "Kind",
|
|
586
586
|
"type": "string"
|
|
587
587
|
},
|
|
588
|
+
"message_id": {
|
|
589
|
+
"anyOf": [
|
|
590
|
+
{
|
|
591
|
+
"type": "string"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"type": "null"
|
|
595
|
+
}
|
|
596
|
+
],
|
|
597
|
+
"default": null,
|
|
598
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
599
|
+
"title": "Message Id"
|
|
600
|
+
},
|
|
588
601
|
"model": {
|
|
589
602
|
"anyOf": [
|
|
590
603
|
{
|
|
@@ -647,19 +660,6 @@
|
|
|
647
660
|
"title": "Session Id",
|
|
648
661
|
"type": "string"
|
|
649
662
|
},
|
|
650
|
-
"session_message_id": {
|
|
651
|
-
"anyOf": [
|
|
652
|
-
{
|
|
653
|
-
"type": "string"
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
"type": "null"
|
|
657
|
-
}
|
|
658
|
-
],
|
|
659
|
-
"default": null,
|
|
660
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
661
|
-
"title": "Session Message Id"
|
|
662
|
-
},
|
|
663
663
|
"source": {
|
|
664
664
|
"const": "claude_code",
|
|
665
665
|
"default": "claude_code",
|
|
@@ -691,19 +691,6 @@
|
|
|
691
691
|
],
|
|
692
692
|
"default": null,
|
|
693
693
|
"title": "Tools"
|
|
694
|
-
},
|
|
695
|
-
"turn_id": {
|
|
696
|
-
"anyOf": [
|
|
697
|
-
{
|
|
698
|
-
"type": "string"
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
"type": "null"
|
|
702
|
-
}
|
|
703
|
-
],
|
|
704
|
-
"default": null,
|
|
705
|
-
"description": "Turn containing this record, when applicable.",
|
|
706
|
-
"title": "Turn Id"
|
|
707
694
|
}
|
|
708
695
|
},
|
|
709
696
|
"required": [
|
|
@@ -713,16 +700,15 @@
|
|
|
713
700
|
"feed_seq",
|
|
714
701
|
"id",
|
|
715
702
|
"kind",
|
|
703
|
+
"message_id",
|
|
716
704
|
"model",
|
|
717
705
|
"payload",
|
|
718
706
|
"record_format",
|
|
719
707
|
"record_type",
|
|
720
708
|
"session_id",
|
|
721
|
-
"session_message_id",
|
|
722
709
|
"source",
|
|
723
710
|
"tokens_info",
|
|
724
|
-
"tools"
|
|
725
|
-
"turn_id"
|
|
711
|
+
"tools"
|
|
726
712
|
],
|
|
727
713
|
"title": "ClaudeNativeSessionRecord",
|
|
728
714
|
"type": "object",
|
|
@@ -1091,6 +1077,19 @@
|
|
|
1091
1077
|
"title": "Kind",
|
|
1092
1078
|
"type": "string"
|
|
1093
1079
|
},
|
|
1080
|
+
"message_id": {
|
|
1081
|
+
"anyOf": [
|
|
1082
|
+
{
|
|
1083
|
+
"type": "string"
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"type": "null"
|
|
1087
|
+
}
|
|
1088
|
+
],
|
|
1089
|
+
"default": null,
|
|
1090
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
1091
|
+
"title": "Message Id"
|
|
1092
|
+
},
|
|
1094
1093
|
"model": {
|
|
1095
1094
|
"anyOf": [
|
|
1096
1095
|
{
|
|
@@ -1149,19 +1148,6 @@
|
|
|
1149
1148
|
"title": "Session Id",
|
|
1150
1149
|
"type": "string"
|
|
1151
1150
|
},
|
|
1152
|
-
"session_message_id": {
|
|
1153
|
-
"anyOf": [
|
|
1154
|
-
{
|
|
1155
|
-
"type": "string"
|
|
1156
|
-
},
|
|
1157
|
-
{
|
|
1158
|
-
"type": "null"
|
|
1159
|
-
}
|
|
1160
|
-
],
|
|
1161
|
-
"default": null,
|
|
1162
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
1163
|
-
"title": "Session Message Id"
|
|
1164
|
-
},
|
|
1165
1151
|
"source": {
|
|
1166
1152
|
"const": "claude_code",
|
|
1167
1153
|
"default": "claude_code",
|
|
@@ -1193,19 +1179,6 @@
|
|
|
1193
1179
|
],
|
|
1194
1180
|
"default": null,
|
|
1195
1181
|
"title": "Tools"
|
|
1196
|
-
},
|
|
1197
|
-
"turn_id": {
|
|
1198
|
-
"anyOf": [
|
|
1199
|
-
{
|
|
1200
|
-
"type": "string"
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
"type": "null"
|
|
1204
|
-
}
|
|
1205
|
-
],
|
|
1206
|
-
"default": null,
|
|
1207
|
-
"description": "Turn containing this record, when applicable.",
|
|
1208
|
-
"title": "Turn Id"
|
|
1209
1182
|
}
|
|
1210
1183
|
},
|
|
1211
1184
|
"required": [
|
|
@@ -1215,16 +1188,15 @@
|
|
|
1215
1188
|
"feed_seq",
|
|
1216
1189
|
"id",
|
|
1217
1190
|
"kind",
|
|
1191
|
+
"message_id",
|
|
1218
1192
|
"model",
|
|
1219
1193
|
"payload",
|
|
1220
1194
|
"record_format",
|
|
1221
1195
|
"record_type",
|
|
1222
1196
|
"session_id",
|
|
1223
|
-
"session_message_id",
|
|
1224
1197
|
"source",
|
|
1225
1198
|
"tokens_info",
|
|
1226
|
-
"tools"
|
|
1227
|
-
"turn_id"
|
|
1199
|
+
"tools"
|
|
1228
1200
|
],
|
|
1229
1201
|
"title": "ClaudeSessionRecord",
|
|
1230
1202
|
"type": "object",
|
|
@@ -1503,12 +1475,14 @@
|
|
|
1503
1475
|
"discriminator": {
|
|
1504
1476
|
"mapping": {
|
|
1505
1477
|
"agentMessage": "#/$defs/CodexAgentMessage",
|
|
1478
|
+
"collabAgentToolCall": "#/$defs/CodexCollabAgentToolCall",
|
|
1506
1479
|
"commandExecution": "#/$defs/CodexCommandExecution",
|
|
1507
1480
|
"contextCompaction": "#/$defs/CodexContextCompaction",
|
|
1508
1481
|
"fileChange": "#/$defs/CodexFileChange",
|
|
1509
1482
|
"mcpToolCall": "#/$defs/CodexMcpToolCall",
|
|
1510
1483
|
"plan": "#/$defs/CodexPlan",
|
|
1511
1484
|
"reasoning": "#/$defs/CodexReasoning",
|
|
1485
|
+
"subAgentActivity": "#/$defs/CodexSubAgentActivity",
|
|
1512
1486
|
"userMessage": "#/$defs/CodexUserMessage",
|
|
1513
1487
|
"webSearch": "#/$defs/CodexWebSearch"
|
|
1514
1488
|
},
|
|
@@ -1541,6 +1515,12 @@
|
|
|
1541
1515
|
},
|
|
1542
1516
|
{
|
|
1543
1517
|
"$ref": "#/$defs/CodexContextCompaction"
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"$ref": "#/$defs/CodexSubAgentActivity"
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
"$ref": "#/$defs/CodexCollabAgentToolCall"
|
|
1544
1524
|
}
|
|
1545
1525
|
]
|
|
1546
1526
|
},
|
|
@@ -1628,6 +1608,19 @@
|
|
|
1628
1608
|
"title": "Kind",
|
|
1629
1609
|
"type": "string"
|
|
1630
1610
|
},
|
|
1611
|
+
"message_id": {
|
|
1612
|
+
"anyOf": [
|
|
1613
|
+
{
|
|
1614
|
+
"type": "string"
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"type": "null"
|
|
1618
|
+
}
|
|
1619
|
+
],
|
|
1620
|
+
"default": null,
|
|
1621
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
1622
|
+
"title": "Message Id"
|
|
1623
|
+
},
|
|
1631
1624
|
"model": {
|
|
1632
1625
|
"anyOf": [
|
|
1633
1626
|
{
|
|
@@ -1659,19 +1652,6 @@
|
|
|
1659
1652
|
"title": "Session Id",
|
|
1660
1653
|
"type": "string"
|
|
1661
1654
|
},
|
|
1662
|
-
"session_message_id": {
|
|
1663
|
-
"anyOf": [
|
|
1664
|
-
{
|
|
1665
|
-
"type": "string"
|
|
1666
|
-
},
|
|
1667
|
-
{
|
|
1668
|
-
"type": "null"
|
|
1669
|
-
}
|
|
1670
|
-
],
|
|
1671
|
-
"default": null,
|
|
1672
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
1673
|
-
"title": "Session Message Id"
|
|
1674
|
-
},
|
|
1675
1655
|
"source": {
|
|
1676
1656
|
"const": "codex",
|
|
1677
1657
|
"default": "codex",
|
|
@@ -1703,19 +1683,6 @@
|
|
|
1703
1683
|
],
|
|
1704
1684
|
"default": null,
|
|
1705
1685
|
"title": "Tools"
|
|
1706
|
-
},
|
|
1707
|
-
"turn_id": {
|
|
1708
|
-
"anyOf": [
|
|
1709
|
-
{
|
|
1710
|
-
"type": "string"
|
|
1711
|
-
},
|
|
1712
|
-
{
|
|
1713
|
-
"type": "null"
|
|
1714
|
-
}
|
|
1715
|
-
],
|
|
1716
|
-
"default": null,
|
|
1717
|
-
"description": "Turn containing this record, when applicable.",
|
|
1718
|
-
"title": "Turn Id"
|
|
1719
1686
|
}
|
|
1720
1687
|
},
|
|
1721
1688
|
"required": [
|
|
@@ -1725,21 +1692,81 @@
|
|
|
1725
1692
|
"feed_seq",
|
|
1726
1693
|
"id",
|
|
1727
1694
|
"kind",
|
|
1695
|
+
"message_id",
|
|
1728
1696
|
"model",
|
|
1729
1697
|
"payload",
|
|
1730
1698
|
"record_format",
|
|
1731
1699
|
"record_type",
|
|
1732
1700
|
"session_id",
|
|
1733
|
-
"session_message_id",
|
|
1734
1701
|
"source",
|
|
1735
1702
|
"tokens_info",
|
|
1736
|
-
"tools"
|
|
1737
|
-
"turn_id"
|
|
1703
|
+
"tools"
|
|
1738
1704
|
],
|
|
1739
1705
|
"title": "CodexAppServerSessionRecord",
|
|
1740
1706
|
"type": "object",
|
|
1741
1707
|
"x-ellipsis-preserve-payload": true
|
|
1742
1708
|
},
|
|
1709
|
+
"CodexCollabAgentToolCall": {
|
|
1710
|
+
"additionalProperties": true,
|
|
1711
|
+
"properties": {
|
|
1712
|
+
"id": {
|
|
1713
|
+
"title": "Id",
|
|
1714
|
+
"type": "string"
|
|
1715
|
+
},
|
|
1716
|
+
"prompt": {
|
|
1717
|
+
"anyOf": [
|
|
1718
|
+
{
|
|
1719
|
+
"type": "string"
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"type": "null"
|
|
1723
|
+
}
|
|
1724
|
+
],
|
|
1725
|
+
"default": null,
|
|
1726
|
+
"title": "Prompt"
|
|
1727
|
+
},
|
|
1728
|
+
"receiverThreadIds": {
|
|
1729
|
+
"items": {
|
|
1730
|
+
"type": "string"
|
|
1731
|
+
},
|
|
1732
|
+
"title": "Receiverthreadids",
|
|
1733
|
+
"type": "array"
|
|
1734
|
+
},
|
|
1735
|
+
"senderThreadId": {
|
|
1736
|
+
"title": "Senderthreadid",
|
|
1737
|
+
"type": "string"
|
|
1738
|
+
},
|
|
1739
|
+
"status": {
|
|
1740
|
+
"enum": [
|
|
1741
|
+
"inProgress",
|
|
1742
|
+
"completed",
|
|
1743
|
+
"failed"
|
|
1744
|
+
],
|
|
1745
|
+
"title": "Status",
|
|
1746
|
+
"type": "string"
|
|
1747
|
+
},
|
|
1748
|
+
"tool": {
|
|
1749
|
+
"title": "Tool",
|
|
1750
|
+
"type": "string"
|
|
1751
|
+
},
|
|
1752
|
+
"type": {
|
|
1753
|
+
"const": "collabAgentToolCall",
|
|
1754
|
+
"default": "collabAgentToolCall",
|
|
1755
|
+
"title": "Type",
|
|
1756
|
+
"type": "string"
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1759
|
+
"required": [
|
|
1760
|
+
"id",
|
|
1761
|
+
"receiverThreadIds",
|
|
1762
|
+
"senderThreadId",
|
|
1763
|
+
"status",
|
|
1764
|
+
"tool",
|
|
1765
|
+
"type"
|
|
1766
|
+
],
|
|
1767
|
+
"title": "CodexCollabAgentToolCall",
|
|
1768
|
+
"type": "object"
|
|
1769
|
+
},
|
|
1743
1770
|
"CodexCommandExecution": {
|
|
1744
1771
|
"additionalProperties": true,
|
|
1745
1772
|
"properties": {
|
|
@@ -1922,7 +1949,7 @@
|
|
|
1922
1949
|
}
|
|
1923
1950
|
],
|
|
1924
1951
|
"default": null,
|
|
1925
|
-
"description": "Reasoning effort for every
|
|
1952
|
+
"description": "Reasoning effort for every message. Omit to use the model default."
|
|
1926
1953
|
},
|
|
1927
1954
|
"model": {
|
|
1928
1955
|
"description": "The model the session runs on: a Responses-capable id from the models table. Required.",
|
|
@@ -1939,7 +1966,7 @@
|
|
|
1939
1966
|
}
|
|
1940
1967
|
],
|
|
1941
1968
|
"default": null,
|
|
1942
|
-
"description": "The initial user message, passed verbatim. Omit to start an interactive session with no
|
|
1969
|
+
"description": "The initial user message, passed verbatim. Omit to start an interactive session with no message, waiting for one.",
|
|
1943
1970
|
"title": "Prompt"
|
|
1944
1971
|
}
|
|
1945
1972
|
},
|
|
@@ -2919,6 +2946,19 @@
|
|
|
2919
2946
|
"title": "Kind",
|
|
2920
2947
|
"type": "string"
|
|
2921
2948
|
},
|
|
2949
|
+
"message_id": {
|
|
2950
|
+
"anyOf": [
|
|
2951
|
+
{
|
|
2952
|
+
"type": "string"
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
"type": "null"
|
|
2956
|
+
}
|
|
2957
|
+
],
|
|
2958
|
+
"default": null,
|
|
2959
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
2960
|
+
"title": "Message Id"
|
|
2961
|
+
},
|
|
2922
2962
|
"model": {
|
|
2923
2963
|
"anyOf": [
|
|
2924
2964
|
{
|
|
@@ -2989,19 +3029,6 @@
|
|
|
2989
3029
|
"title": "Session Id",
|
|
2990
3030
|
"type": "string"
|
|
2991
3031
|
},
|
|
2992
|
-
"session_message_id": {
|
|
2993
|
-
"anyOf": [
|
|
2994
|
-
{
|
|
2995
|
-
"type": "string"
|
|
2996
|
-
},
|
|
2997
|
-
{
|
|
2998
|
-
"type": "null"
|
|
2999
|
-
}
|
|
3000
|
-
],
|
|
3001
|
-
"default": null,
|
|
3002
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
3003
|
-
"title": "Session Message Id"
|
|
3004
|
-
},
|
|
3005
3032
|
"source": {
|
|
3006
3033
|
"const": "codex",
|
|
3007
3034
|
"default": "codex",
|
|
@@ -3033,19 +3060,6 @@
|
|
|
3033
3060
|
],
|
|
3034
3061
|
"default": null,
|
|
3035
3062
|
"title": "Tools"
|
|
3036
|
-
},
|
|
3037
|
-
"turn_id": {
|
|
3038
|
-
"anyOf": [
|
|
3039
|
-
{
|
|
3040
|
-
"type": "string"
|
|
3041
|
-
},
|
|
3042
|
-
{
|
|
3043
|
-
"type": "null"
|
|
3044
|
-
}
|
|
3045
|
-
],
|
|
3046
|
-
"default": null,
|
|
3047
|
-
"description": "Turn containing this record, when applicable.",
|
|
3048
|
-
"title": "Turn Id"
|
|
3049
3063
|
}
|
|
3050
3064
|
},
|
|
3051
3065
|
"required": [
|
|
@@ -3055,21 +3069,64 @@
|
|
|
3055
3069
|
"feed_seq",
|
|
3056
3070
|
"id",
|
|
3057
3071
|
"kind",
|
|
3072
|
+
"message_id",
|
|
3058
3073
|
"model",
|
|
3059
3074
|
"payload",
|
|
3060
3075
|
"record_format",
|
|
3061
3076
|
"record_type",
|
|
3062
3077
|
"session_id",
|
|
3063
|
-
"session_message_id",
|
|
3064
3078
|
"source",
|
|
3065
3079
|
"tokens_info",
|
|
3066
|
-
"tools"
|
|
3067
|
-
"turn_id"
|
|
3080
|
+
"tools"
|
|
3068
3081
|
],
|
|
3069
3082
|
"title": "CodexSessionRecord",
|
|
3070
3083
|
"type": "object",
|
|
3071
3084
|
"x-ellipsis-preserve-payload": true
|
|
3072
3085
|
},
|
|
3086
|
+
"CodexSubAgentActivity": {
|
|
3087
|
+
"additionalProperties": true,
|
|
3088
|
+
"description": "A subagent's spawn or completion, recorded on the spawning thread.",
|
|
3089
|
+
"properties": {
|
|
3090
|
+
"agentPath": {
|
|
3091
|
+
"anyOf": [
|
|
3092
|
+
{
|
|
3093
|
+
"type": "string"
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
"type": "null"
|
|
3097
|
+
}
|
|
3098
|
+
],
|
|
3099
|
+
"default": null,
|
|
3100
|
+
"title": "Agentpath"
|
|
3101
|
+
},
|
|
3102
|
+
"agentThreadId": {
|
|
3103
|
+
"title": "Agentthreadid",
|
|
3104
|
+
"type": "string"
|
|
3105
|
+
},
|
|
3106
|
+
"id": {
|
|
3107
|
+
"title": "Id",
|
|
3108
|
+
"type": "string"
|
|
3109
|
+
},
|
|
3110
|
+
"kind": {
|
|
3111
|
+
"title": "Kind",
|
|
3112
|
+
"type": "string"
|
|
3113
|
+
},
|
|
3114
|
+
"type": {
|
|
3115
|
+
"const": "subAgentActivity",
|
|
3116
|
+
"default": "subAgentActivity",
|
|
3117
|
+
"title": "Type",
|
|
3118
|
+
"type": "string"
|
|
3119
|
+
}
|
|
3120
|
+
},
|
|
3121
|
+
"required": [
|
|
3122
|
+
"agentThreadId",
|
|
3123
|
+
"id",
|
|
3124
|
+
"kind",
|
|
3125
|
+
"type"
|
|
3126
|
+
],
|
|
3127
|
+
"title": "CodexSubAgentActivity",
|
|
3128
|
+
"type": "object"
|
|
3129
|
+
},
|
|
3073
3130
|
"CodexTextInput": {
|
|
3074
3131
|
"additionalProperties": true,
|
|
3075
3132
|
"properties": {
|
|
@@ -3908,33 +3965,33 @@
|
|
|
3908
3965
|
"description": "Known values: text (append assistant output), thinking (replace the readable reasoning-summary preview). Open vocabulary: ignore deltas with unknown kinds.",
|
|
3909
3966
|
"type": "string"
|
|
3910
3967
|
},
|
|
3911
|
-
"
|
|
3968
|
+
"message_id": {
|
|
3912
3969
|
"anyOf": [
|
|
3913
3970
|
{
|
|
3914
|
-
"type": "
|
|
3971
|
+
"type": "string"
|
|
3915
3972
|
},
|
|
3916
3973
|
{
|
|
3917
3974
|
"type": "null"
|
|
3918
3975
|
}
|
|
3919
3976
|
],
|
|
3920
3977
|
"default": null,
|
|
3921
|
-
"description": "
|
|
3922
|
-
"title": "
|
|
3978
|
+
"description": "Identifier of the message being answered, if known.",
|
|
3979
|
+
"title": "Message Id"
|
|
3923
3980
|
},
|
|
3924
|
-
"
|
|
3981
|
+
"output_tokens": {
|
|
3925
3982
|
"anyOf": [
|
|
3926
3983
|
{
|
|
3927
|
-
"type": "
|
|
3984
|
+
"type": "integer"
|
|
3928
3985
|
},
|
|
3929
3986
|
{
|
|
3930
3987
|
"type": "null"
|
|
3931
3988
|
}
|
|
3932
3989
|
],
|
|
3933
3990
|
"default": null,
|
|
3934
|
-
"description": "
|
|
3935
|
-
"title": "
|
|
3991
|
+
"description": "Output tokens generated so far for the current response.",
|
|
3992
|
+
"title": "Output Tokens"
|
|
3936
3993
|
},
|
|
3937
|
-
"
|
|
3994
|
+
"text": {
|
|
3938
3995
|
"anyOf": [
|
|
3939
3996
|
{
|
|
3940
3997
|
"type": "string"
|
|
@@ -3944,8 +4001,8 @@
|
|
|
3944
4001
|
}
|
|
3945
4002
|
],
|
|
3946
4003
|
"default": null,
|
|
3947
|
-
"description": "
|
|
3948
|
-
"title": "
|
|
4004
|
+
"description": "For \"text\", an append-only fragment. For \"thinking\", the first-line prefix of the latest summary section (at most 512 characters); replace the preview, and clear it on an empty string. Null means no text update.",
|
|
4005
|
+
"title": "Text"
|
|
3949
4006
|
},
|
|
3950
4007
|
"type": {
|
|
3951
4008
|
"const": "delta",
|
|
@@ -3956,30 +4013,14 @@
|
|
|
3956
4013
|
},
|
|
3957
4014
|
"required": [
|
|
3958
4015
|
"kind",
|
|
4016
|
+
"message_id",
|
|
3959
4017
|
"output_tokens",
|
|
3960
4018
|
"text",
|
|
3961
|
-
"turn_id",
|
|
3962
4019
|
"type"
|
|
3963
4020
|
],
|
|
3964
4021
|
"title": "DeltaFrame",
|
|
3965
4022
|
"type": "object"
|
|
3966
4023
|
},
|
|
3967
|
-
"DoneFrame": {
|
|
3968
|
-
"description": "Terminal marker: the conversation is over, after the final session\nframe carried the end state. Followed by a normal close (1000).",
|
|
3969
|
-
"properties": {
|
|
3970
|
-
"type": {
|
|
3971
|
-
"const": "done",
|
|
3972
|
-
"default": "done",
|
|
3973
|
-
"title": "Type",
|
|
3974
|
-
"type": "string"
|
|
3975
|
-
}
|
|
3976
|
-
},
|
|
3977
|
-
"required": [
|
|
3978
|
-
"type"
|
|
3979
|
-
],
|
|
3980
|
-
"title": "DoneFrame",
|
|
3981
|
-
"type": "object"
|
|
3982
|
-
},
|
|
3983
4024
|
"Duration": {
|
|
3984
4025
|
"additionalProperties": false,
|
|
3985
4026
|
"description": "A duration as explicit units, summed. Set any of `hours`/`minutes`/\n`seconds` (at least one). The alternative to the `30m`-style shorthand\nstring wherever a duration is accepted.",
|
|
@@ -4317,7 +4358,7 @@
|
|
|
4317
4358
|
},
|
|
4318
4359
|
"EnvironmentOutputPayload": {
|
|
4319
4360
|
"additionalProperties": true,
|
|
4320
|
-
"description": "environment_output: one chunk of output from preparing the environment,\nincluding the customer's own hooks. Many fire per
|
|
4361
|
+
"description": "environment_output: one chunk of output from preparing the environment,\nincluding the customer's own hooks. Many fire per message; `chunk` orders\nthem within a step.",
|
|
4321
4362
|
"properties": {
|
|
4322
4363
|
"chunk": {
|
|
4323
4364
|
"title": "Chunk",
|
|
@@ -4407,7 +4448,7 @@
|
|
|
4407
4448
|
"title": "Kind",
|
|
4408
4449
|
"type": "string"
|
|
4409
4450
|
},
|
|
4410
|
-
"
|
|
4451
|
+
"message_id": {
|
|
4411
4452
|
"anyOf": [
|
|
4412
4453
|
{
|
|
4413
4454
|
"type": "string"
|
|
@@ -4417,9 +4458,22 @@
|
|
|
4417
4458
|
}
|
|
4418
4459
|
],
|
|
4419
4460
|
"default": null,
|
|
4420
|
-
"
|
|
4461
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
4462
|
+
"title": "Message Id"
|
|
4421
4463
|
},
|
|
4422
|
-
"
|
|
4464
|
+
"model": {
|
|
4465
|
+
"anyOf": [
|
|
4466
|
+
{
|
|
4467
|
+
"type": "string"
|
|
4468
|
+
},
|
|
4469
|
+
{
|
|
4470
|
+
"type": "null"
|
|
4471
|
+
}
|
|
4472
|
+
],
|
|
4473
|
+
"default": null,
|
|
4474
|
+
"title": "Model"
|
|
4475
|
+
},
|
|
4476
|
+
"payload": {
|
|
4423
4477
|
"$ref": "#/$defs/EnvironmentOutputPayload"
|
|
4424
4478
|
},
|
|
4425
4479
|
"record_format": {
|
|
@@ -4439,19 +4493,6 @@
|
|
|
4439
4493
|
"title": "Session Id",
|
|
4440
4494
|
"type": "string"
|
|
4441
4495
|
},
|
|
4442
|
-
"session_message_id": {
|
|
4443
|
-
"anyOf": [
|
|
4444
|
-
{
|
|
4445
|
-
"type": "string"
|
|
4446
|
-
},
|
|
4447
|
-
{
|
|
4448
|
-
"type": "null"
|
|
4449
|
-
}
|
|
4450
|
-
],
|
|
4451
|
-
"default": null,
|
|
4452
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
4453
|
-
"title": "Session Message Id"
|
|
4454
|
-
},
|
|
4455
4496
|
"source": {
|
|
4456
4497
|
"const": "lifecycle",
|
|
4457
4498
|
"default": "lifecycle",
|
|
@@ -4483,19 +4524,6 @@
|
|
|
4483
4524
|
],
|
|
4484
4525
|
"default": null,
|
|
4485
4526
|
"title": "Tools"
|
|
4486
|
-
},
|
|
4487
|
-
"turn_id": {
|
|
4488
|
-
"anyOf": [
|
|
4489
|
-
{
|
|
4490
|
-
"type": "string"
|
|
4491
|
-
},
|
|
4492
|
-
{
|
|
4493
|
-
"type": "null"
|
|
4494
|
-
}
|
|
4495
|
-
],
|
|
4496
|
-
"default": null,
|
|
4497
|
-
"description": "Turn containing this record, when applicable.",
|
|
4498
|
-
"title": "Turn Id"
|
|
4499
4527
|
}
|
|
4500
4528
|
},
|
|
4501
4529
|
"required": [
|
|
@@ -4505,16 +4533,15 @@
|
|
|
4505
4533
|
"feed_seq",
|
|
4506
4534
|
"id",
|
|
4507
4535
|
"kind",
|
|
4536
|
+
"message_id",
|
|
4508
4537
|
"model",
|
|
4509
4538
|
"payload",
|
|
4510
4539
|
"record_format",
|
|
4511
4540
|
"record_type",
|
|
4512
4541
|
"session_id",
|
|
4513
|
-
"session_message_id",
|
|
4514
4542
|
"source",
|
|
4515
4543
|
"tokens_info",
|
|
4516
|
-
"tools"
|
|
4517
|
-
"turn_id"
|
|
4544
|
+
"tools"
|
|
4518
4545
|
],
|
|
4519
4546
|
"title": "EnvironmentOutputRecord",
|
|
4520
4547
|
"type": "object",
|
|
@@ -4624,6 +4651,19 @@
|
|
|
4624
4651
|
"title": "Kind",
|
|
4625
4652
|
"type": "string"
|
|
4626
4653
|
},
|
|
4654
|
+
"message_id": {
|
|
4655
|
+
"anyOf": [
|
|
4656
|
+
{
|
|
4657
|
+
"type": "string"
|
|
4658
|
+
},
|
|
4659
|
+
{
|
|
4660
|
+
"type": "null"
|
|
4661
|
+
}
|
|
4662
|
+
],
|
|
4663
|
+
"default": null,
|
|
4664
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
4665
|
+
"title": "Message Id"
|
|
4666
|
+
},
|
|
4627
4667
|
"model": {
|
|
4628
4668
|
"anyOf": [
|
|
4629
4669
|
{
|
|
@@ -4656,19 +4696,6 @@
|
|
|
4656
4696
|
"title": "Session Id",
|
|
4657
4697
|
"type": "string"
|
|
4658
4698
|
},
|
|
4659
|
-
"session_message_id": {
|
|
4660
|
-
"anyOf": [
|
|
4661
|
-
{
|
|
4662
|
-
"type": "string"
|
|
4663
|
-
},
|
|
4664
|
-
{
|
|
4665
|
-
"type": "null"
|
|
4666
|
-
}
|
|
4667
|
-
],
|
|
4668
|
-
"default": null,
|
|
4669
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
4670
|
-
"title": "Session Message Id"
|
|
4671
|
-
},
|
|
4672
4699
|
"source": {
|
|
4673
4700
|
"const": "lifecycle",
|
|
4674
4701
|
"default": "lifecycle",
|
|
@@ -4700,19 +4727,6 @@
|
|
|
4700
4727
|
],
|
|
4701
4728
|
"default": null,
|
|
4702
4729
|
"title": "Tools"
|
|
4703
|
-
},
|
|
4704
|
-
"turn_id": {
|
|
4705
|
-
"anyOf": [
|
|
4706
|
-
{
|
|
4707
|
-
"type": "string"
|
|
4708
|
-
},
|
|
4709
|
-
{
|
|
4710
|
-
"type": "null"
|
|
4711
|
-
}
|
|
4712
|
-
],
|
|
4713
|
-
"default": null,
|
|
4714
|
-
"description": "Turn containing this record, when applicable.",
|
|
4715
|
-
"title": "Turn Id"
|
|
4716
4730
|
}
|
|
4717
4731
|
},
|
|
4718
4732
|
"required": [
|
|
@@ -4722,16 +4736,15 @@
|
|
|
4722
4736
|
"feed_seq",
|
|
4723
4737
|
"id",
|
|
4724
4738
|
"kind",
|
|
4739
|
+
"message_id",
|
|
4725
4740
|
"model",
|
|
4726
4741
|
"payload",
|
|
4727
4742
|
"record_format",
|
|
4728
4743
|
"record_type",
|
|
4729
4744
|
"session_id",
|
|
4730
|
-
"session_message_id",
|
|
4731
4745
|
"source",
|
|
4732
4746
|
"tokens_info",
|
|
4733
|
-
"tools"
|
|
4734
|
-
"turn_id"
|
|
4747
|
+
"tools"
|
|
4735
4748
|
],
|
|
4736
4749
|
"title": "EnvironmentPhaseRecord",
|
|
4737
4750
|
"type": "object",
|
|
@@ -4814,6 +4827,19 @@
|
|
|
4814
4827
|
"title": "Kind",
|
|
4815
4828
|
"type": "string"
|
|
4816
4829
|
},
|
|
4830
|
+
"message_id": {
|
|
4831
|
+
"anyOf": [
|
|
4832
|
+
{
|
|
4833
|
+
"type": "string"
|
|
4834
|
+
},
|
|
4835
|
+
{
|
|
4836
|
+
"type": "null"
|
|
4837
|
+
}
|
|
4838
|
+
],
|
|
4839
|
+
"default": null,
|
|
4840
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
4841
|
+
"title": "Message Id"
|
|
4842
|
+
},
|
|
4817
4843
|
"model": {
|
|
4818
4844
|
"anyOf": [
|
|
4819
4845
|
{
|
|
@@ -4846,19 +4872,6 @@
|
|
|
4846
4872
|
"title": "Session Id",
|
|
4847
4873
|
"type": "string"
|
|
4848
4874
|
},
|
|
4849
|
-
"session_message_id": {
|
|
4850
|
-
"anyOf": [
|
|
4851
|
-
{
|
|
4852
|
-
"type": "string"
|
|
4853
|
-
},
|
|
4854
|
-
{
|
|
4855
|
-
"type": "null"
|
|
4856
|
-
}
|
|
4857
|
-
],
|
|
4858
|
-
"default": null,
|
|
4859
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
4860
|
-
"title": "Session Message Id"
|
|
4861
|
-
},
|
|
4862
4875
|
"source": {
|
|
4863
4876
|
"const": "lifecycle",
|
|
4864
4877
|
"default": "lifecycle",
|
|
@@ -4890,19 +4903,6 @@
|
|
|
4890
4903
|
],
|
|
4891
4904
|
"default": null,
|
|
4892
4905
|
"title": "Tools"
|
|
4893
|
-
},
|
|
4894
|
-
"turn_id": {
|
|
4895
|
-
"anyOf": [
|
|
4896
|
-
{
|
|
4897
|
-
"type": "string"
|
|
4898
|
-
},
|
|
4899
|
-
{
|
|
4900
|
-
"type": "null"
|
|
4901
|
-
}
|
|
4902
|
-
],
|
|
4903
|
-
"default": null,
|
|
4904
|
-
"description": "Turn containing this record, when applicable.",
|
|
4905
|
-
"title": "Turn Id"
|
|
4906
4906
|
}
|
|
4907
4907
|
},
|
|
4908
4908
|
"required": [
|
|
@@ -4912,16 +4912,15 @@
|
|
|
4912
4912
|
"feed_seq",
|
|
4913
4913
|
"id",
|
|
4914
4914
|
"kind",
|
|
4915
|
+
"message_id",
|
|
4915
4916
|
"model",
|
|
4916
4917
|
"payload",
|
|
4917
4918
|
"record_format",
|
|
4918
4919
|
"record_type",
|
|
4919
4920
|
"session_id",
|
|
4920
|
-
"session_message_id",
|
|
4921
4921
|
"source",
|
|
4922
4922
|
"tokens_info",
|
|
4923
|
-
"tools"
|
|
4924
|
-
"turn_id"
|
|
4923
|
+
"tools"
|
|
4925
4924
|
],
|
|
4926
4925
|
"title": "EnvironmentReadyRecord",
|
|
4927
4926
|
"type": "object",
|
|
@@ -5006,6 +5005,30 @@
|
|
|
5006
5005
|
"title": "ErrorFrame",
|
|
5007
5006
|
"type": "object"
|
|
5008
5007
|
},
|
|
5008
|
+
"ErrorReason": {
|
|
5009
|
+
"description": "Why a message failed, was stopped, or was cancelled.",
|
|
5010
|
+
"enum": [
|
|
5011
|
+
"error",
|
|
5012
|
+
"tool_call_failed",
|
|
5013
|
+
"budget_hit",
|
|
5014
|
+
"payment_required",
|
|
5015
|
+
"blocked",
|
|
5016
|
+
"contact_email_required",
|
|
5017
|
+
"lifecycle_hook_failed",
|
|
5018
|
+
"missing_repo_access",
|
|
5019
|
+
"missing_token_permissions",
|
|
5020
|
+
"missing_environment_variables",
|
|
5021
|
+
"missing_github_integration",
|
|
5022
|
+
"agent_unavailable",
|
|
5023
|
+
"upstream_unavailable",
|
|
5024
|
+
"unsupported_configuration",
|
|
5025
|
+
"execution_disabled",
|
|
5026
|
+
"interrupted",
|
|
5027
|
+
"stopped"
|
|
5028
|
+
],
|
|
5029
|
+
"title": "ErrorReason",
|
|
5030
|
+
"type": "string"
|
|
5031
|
+
},
|
|
5009
5032
|
"GeminiConfig": {
|
|
5010
5033
|
"additionalProperties": false,
|
|
5011
5034
|
"description": "Native options supported by the current Gemini CLI adapter.",
|
|
@@ -5025,7 +5048,7 @@
|
|
|
5025
5048
|
}
|
|
5026
5049
|
],
|
|
5027
5050
|
"default": null,
|
|
5028
|
-
"description": "The initial user message, passed verbatim. Omit to start an interactive session with no
|
|
5051
|
+
"description": "The initial user message, passed verbatim. Omit to start an interactive session with no message, waiting for one.",
|
|
5029
5052
|
"title": "Prompt"
|
|
5030
5053
|
}
|
|
5031
5054
|
},
|
|
@@ -5284,6 +5307,19 @@
|
|
|
5284
5307
|
"title": "Kind",
|
|
5285
5308
|
"type": "string"
|
|
5286
5309
|
},
|
|
5310
|
+
"message_id": {
|
|
5311
|
+
"anyOf": [
|
|
5312
|
+
{
|
|
5313
|
+
"type": "string"
|
|
5314
|
+
},
|
|
5315
|
+
{
|
|
5316
|
+
"type": "null"
|
|
5317
|
+
}
|
|
5318
|
+
],
|
|
5319
|
+
"default": null,
|
|
5320
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
5321
|
+
"title": "Message Id"
|
|
5322
|
+
},
|
|
5287
5323
|
"model": {
|
|
5288
5324
|
"anyOf": [
|
|
5289
5325
|
{
|
|
@@ -5315,19 +5351,6 @@
|
|
|
5315
5351
|
"title": "Session Id",
|
|
5316
5352
|
"type": "string"
|
|
5317
5353
|
},
|
|
5318
|
-
"session_message_id": {
|
|
5319
|
-
"anyOf": [
|
|
5320
|
-
{
|
|
5321
|
-
"type": "string"
|
|
5322
|
-
},
|
|
5323
|
-
{
|
|
5324
|
-
"type": "null"
|
|
5325
|
-
}
|
|
5326
|
-
],
|
|
5327
|
-
"default": null,
|
|
5328
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
5329
|
-
"title": "Session Message Id"
|
|
5330
|
-
},
|
|
5331
5354
|
"source": {
|
|
5332
5355
|
"const": "gemini",
|
|
5333
5356
|
"default": "gemini",
|
|
@@ -5359,19 +5382,6 @@
|
|
|
5359
5382
|
],
|
|
5360
5383
|
"default": null,
|
|
5361
5384
|
"title": "Tools"
|
|
5362
|
-
},
|
|
5363
|
-
"turn_id": {
|
|
5364
|
-
"anyOf": [
|
|
5365
|
-
{
|
|
5366
|
-
"type": "string"
|
|
5367
|
-
},
|
|
5368
|
-
{
|
|
5369
|
-
"type": "null"
|
|
5370
|
-
}
|
|
5371
|
-
],
|
|
5372
|
-
"default": null,
|
|
5373
|
-
"description": "Turn containing this record, when applicable.",
|
|
5374
|
-
"title": "Turn Id"
|
|
5375
5385
|
}
|
|
5376
5386
|
},
|
|
5377
5387
|
"required": [
|
|
@@ -5381,16 +5391,15 @@
|
|
|
5381
5391
|
"feed_seq",
|
|
5382
5392
|
"id",
|
|
5383
5393
|
"kind",
|
|
5394
|
+
"message_id",
|
|
5384
5395
|
"model",
|
|
5385
5396
|
"payload",
|
|
5386
5397
|
"record_format",
|
|
5387
5398
|
"record_type",
|
|
5388
5399
|
"session_id",
|
|
5389
|
-
"session_message_id",
|
|
5390
5400
|
"source",
|
|
5391
5401
|
"tokens_info",
|
|
5392
|
-
"tools"
|
|
5393
|
-
"turn_id"
|
|
5402
|
+
"tools"
|
|
5394
5403
|
],
|
|
5395
5404
|
"title": "GeminiSessionRecord",
|
|
5396
5405
|
"type": "object",
|
|
@@ -7058,27 +7067,56 @@
|
|
|
7058
7067
|
"title": "MemorySize",
|
|
7059
7068
|
"type": "object"
|
|
7060
7069
|
},
|
|
7061
|
-
"
|
|
7070
|
+
"MessageEndedPayload": {
|
|
7062
7071
|
"additionalProperties": true,
|
|
7063
|
-
"description": "
|
|
7072
|
+
"description": "message_ended: the message was answered, or its answer failed, was\nstopped, or was cancelled. `error` is the same object as the session's\n`error`, null when the message was answered. `cost` and `tokens` are what\nanswering it spent. Messages answered together report the spend once, on\nthe last of them.",
|
|
7064
7073
|
"properties": {
|
|
7074
|
+
"cost": {
|
|
7075
|
+
"$ref": "#/$defs/Cost"
|
|
7076
|
+
},
|
|
7077
|
+
"duration_ms": {
|
|
7078
|
+
"anyOf": [
|
|
7079
|
+
{
|
|
7080
|
+
"type": "integer"
|
|
7081
|
+
},
|
|
7082
|
+
{
|
|
7083
|
+
"type": "null"
|
|
7084
|
+
}
|
|
7085
|
+
],
|
|
7086
|
+
"default": null,
|
|
7087
|
+
"title": "Duration Ms"
|
|
7088
|
+
},
|
|
7089
|
+
"error": {
|
|
7090
|
+
"anyOf": [
|
|
7091
|
+
{
|
|
7092
|
+
"$ref": "#/$defs/SessionError"
|
|
7093
|
+
},
|
|
7094
|
+
{
|
|
7095
|
+
"type": "null"
|
|
7096
|
+
}
|
|
7097
|
+
],
|
|
7098
|
+
"default": null
|
|
7099
|
+
},
|
|
7065
7100
|
"message_id": {
|
|
7066
7101
|
"title": "Message Id",
|
|
7067
7102
|
"type": "string"
|
|
7068
7103
|
},
|
|
7069
|
-
"
|
|
7070
|
-
"title": "
|
|
7104
|
+
"status": {
|
|
7105
|
+
"title": "Status",
|
|
7071
7106
|
"type": "string"
|
|
7107
|
+
},
|
|
7108
|
+
"tokens": {
|
|
7109
|
+
"$ref": "#/$defs/Tokens"
|
|
7072
7110
|
}
|
|
7073
7111
|
},
|
|
7074
7112
|
"required": [
|
|
7075
7113
|
"message_id",
|
|
7076
|
-
"
|
|
7114
|
+
"status"
|
|
7077
7115
|
],
|
|
7078
|
-
"title": "
|
|
7116
|
+
"title": "MessageEndedPayload",
|
|
7079
7117
|
"type": "object"
|
|
7080
7118
|
},
|
|
7081
|
-
"
|
|
7119
|
+
"MessageEndedRecord": {
|
|
7082
7120
|
"properties": {
|
|
7083
7121
|
"cost": {
|
|
7084
7122
|
"anyOf": [
|
|
@@ -7125,6 +7163,19 @@
|
|
|
7125
7163
|
"title": "Kind",
|
|
7126
7164
|
"type": "string"
|
|
7127
7165
|
},
|
|
7166
|
+
"message_id": {
|
|
7167
|
+
"anyOf": [
|
|
7168
|
+
{
|
|
7169
|
+
"type": "string"
|
|
7170
|
+
},
|
|
7171
|
+
{
|
|
7172
|
+
"type": "null"
|
|
7173
|
+
}
|
|
7174
|
+
],
|
|
7175
|
+
"default": null,
|
|
7176
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
7177
|
+
"title": "Message Id"
|
|
7178
|
+
},
|
|
7128
7179
|
"model": {
|
|
7129
7180
|
"anyOf": [
|
|
7130
7181
|
{
|
|
@@ -7138,7 +7189,7 @@
|
|
|
7138
7189
|
"title": "Model"
|
|
7139
7190
|
},
|
|
7140
7191
|
"payload": {
|
|
7141
|
-
"$ref": "#/$defs/
|
|
7192
|
+
"$ref": "#/$defs/MessageEndedPayload"
|
|
7142
7193
|
},
|
|
7143
7194
|
"record_format": {
|
|
7144
7195
|
"const": "ellipsis_lifecycle@1",
|
|
@@ -7147,8 +7198,8 @@
|
|
|
7147
7198
|
"type": "string"
|
|
7148
7199
|
},
|
|
7149
7200
|
"record_type": {
|
|
7150
|
-
"const": "
|
|
7151
|
-
"default": "
|
|
7201
|
+
"const": "message_ended",
|
|
7202
|
+
"default": "message_ended",
|
|
7152
7203
|
"title": "Record Type",
|
|
7153
7204
|
"type": "string"
|
|
7154
7205
|
},
|
|
@@ -7157,19 +7208,6 @@
|
|
|
7157
7208
|
"title": "Session Id",
|
|
7158
7209
|
"type": "string"
|
|
7159
7210
|
},
|
|
7160
|
-
"session_message_id": {
|
|
7161
|
-
"anyOf": [
|
|
7162
|
-
{
|
|
7163
|
-
"type": "string"
|
|
7164
|
-
},
|
|
7165
|
-
{
|
|
7166
|
-
"type": "null"
|
|
7167
|
-
}
|
|
7168
|
-
],
|
|
7169
|
-
"default": null,
|
|
7170
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
7171
|
-
"title": "Session Message Id"
|
|
7172
|
-
},
|
|
7173
7211
|
"source": {
|
|
7174
7212
|
"const": "lifecycle",
|
|
7175
7213
|
"default": "lifecycle",
|
|
@@ -7201,19 +7239,6 @@
|
|
|
7201
7239
|
],
|
|
7202
7240
|
"default": null,
|
|
7203
7241
|
"title": "Tools"
|
|
7204
|
-
},
|
|
7205
|
-
"turn_id": {
|
|
7206
|
-
"anyOf": [
|
|
7207
|
-
{
|
|
7208
|
-
"type": "string"
|
|
7209
|
-
},
|
|
7210
|
-
{
|
|
7211
|
-
"type": "null"
|
|
7212
|
-
}
|
|
7213
|
-
],
|
|
7214
|
-
"default": null,
|
|
7215
|
-
"description": "Turn containing this record, when applicable.",
|
|
7216
|
-
"title": "Turn Id"
|
|
7217
7242
|
}
|
|
7218
7243
|
},
|
|
7219
7244
|
"required": [
|
|
@@ -7223,63 +7248,93 @@
|
|
|
7223
7248
|
"feed_seq",
|
|
7224
7249
|
"id",
|
|
7225
7250
|
"kind",
|
|
7251
|
+
"message_id",
|
|
7226
7252
|
"model",
|
|
7227
7253
|
"payload",
|
|
7228
7254
|
"record_format",
|
|
7229
7255
|
"record_type",
|
|
7230
7256
|
"session_id",
|
|
7231
|
-
"session_message_id",
|
|
7232
7257
|
"source",
|
|
7233
7258
|
"tokens_info",
|
|
7234
|
-
"tools"
|
|
7235
|
-
"turn_id"
|
|
7259
|
+
"tools"
|
|
7236
7260
|
],
|
|
7237
|
-
"title": "
|
|
7261
|
+
"title": "MessageEndedRecord",
|
|
7238
7262
|
"type": "object",
|
|
7239
7263
|
"x-ellipsis-preserve-payload": true
|
|
7240
7264
|
},
|
|
7241
|
-
"
|
|
7265
|
+
"MessageQueuedPayload": {
|
|
7242
7266
|
"additionalProperties": true,
|
|
7243
|
-
"description": "
|
|
7267
|
+
"description": "message_queued: the message waits because the account already has\n`sessions_alive` sessions alive, its limit.",
|
|
7244
7268
|
"properties": {
|
|
7245
|
-
"
|
|
7269
|
+
"limit": {
|
|
7270
|
+
"title": "Limit",
|
|
7271
|
+
"type": "integer"
|
|
7272
|
+
},
|
|
7273
|
+
"message_id": {
|
|
7274
|
+
"title": "Message Id",
|
|
7275
|
+
"type": "string"
|
|
7276
|
+
},
|
|
7277
|
+
"sessions_alive": {
|
|
7278
|
+
"title": "Sessions Alive",
|
|
7279
|
+
"type": "integer"
|
|
7280
|
+
}
|
|
7281
|
+
},
|
|
7282
|
+
"required": [
|
|
7283
|
+
"message_id",
|
|
7284
|
+
"sessions_alive",
|
|
7285
|
+
"limit"
|
|
7286
|
+
],
|
|
7287
|
+
"title": "MessageQueuedPayload",
|
|
7288
|
+
"type": "object"
|
|
7289
|
+
},
|
|
7290
|
+
"MessageQueuedRecord": {
|
|
7291
|
+
"properties": {
|
|
7292
|
+
"cost": {
|
|
7246
7293
|
"anyOf": [
|
|
7247
7294
|
{
|
|
7248
|
-
"type": "
|
|
7295
|
+
"type": "integer"
|
|
7249
7296
|
},
|
|
7250
7297
|
{
|
|
7251
7298
|
"type": "null"
|
|
7252
7299
|
}
|
|
7253
7300
|
],
|
|
7254
7301
|
"default": null,
|
|
7255
|
-
"title": "
|
|
7256
|
-
},
|
|
7257
|
-
"body": {
|
|
7258
|
-
"title": "Body",
|
|
7259
|
-
"type": "string"
|
|
7260
|
-
},
|
|
7261
|
-
"closes_session": {
|
|
7262
|
-
"default": false,
|
|
7263
|
-
"title": "Closes Session",
|
|
7264
|
-
"type": "boolean"
|
|
7302
|
+
"title": "Cost"
|
|
7265
7303
|
},
|
|
7266
|
-
"
|
|
7267
|
-
"
|
|
7304
|
+
"created_at": {
|
|
7305
|
+
"format": "date-time",
|
|
7306
|
+
"title": "Created At",
|
|
7268
7307
|
"type": "string"
|
|
7269
7308
|
},
|
|
7270
|
-
"
|
|
7309
|
+
"duration": {
|
|
7271
7310
|
"anyOf": [
|
|
7272
7311
|
{
|
|
7273
|
-
"type": "
|
|
7312
|
+
"type": "integer"
|
|
7274
7313
|
},
|
|
7275
7314
|
{
|
|
7276
7315
|
"type": "null"
|
|
7277
7316
|
}
|
|
7278
7317
|
],
|
|
7279
7318
|
"default": null,
|
|
7280
|
-
"title": "
|
|
7319
|
+
"title": "Duration"
|
|
7281
7320
|
},
|
|
7282
|
-
"
|
|
7321
|
+
"feed_seq": {
|
|
7322
|
+
"description": "Position in the session feed and the stream's resume cursor.",
|
|
7323
|
+
"title": "Feed Seq",
|
|
7324
|
+
"type": "integer"
|
|
7325
|
+
},
|
|
7326
|
+
"id": {
|
|
7327
|
+
"description": "Unique identifier of the record.",
|
|
7328
|
+
"title": "Id",
|
|
7329
|
+
"type": "string"
|
|
7330
|
+
},
|
|
7331
|
+
"kind": {
|
|
7332
|
+
"const": "platform",
|
|
7333
|
+
"default": "platform",
|
|
7334
|
+
"title": "Kind",
|
|
7335
|
+
"type": "string"
|
|
7336
|
+
},
|
|
7337
|
+
"message_id": {
|
|
7283
7338
|
"anyOf": [
|
|
7284
7339
|
{
|
|
7285
7340
|
"type": "string"
|
|
@@ -7289,9 +7344,10 @@
|
|
|
7289
7344
|
}
|
|
7290
7345
|
],
|
|
7291
7346
|
"default": null,
|
|
7292
|
-
"
|
|
7347
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
7348
|
+
"title": "Message Id"
|
|
7293
7349
|
},
|
|
7294
|
-
"
|
|
7350
|
+
"model": {
|
|
7295
7351
|
"anyOf": [
|
|
7296
7352
|
{
|
|
7297
7353
|
"type": "string"
|
|
@@ -7301,17 +7357,83 @@
|
|
|
7301
7357
|
}
|
|
7302
7358
|
],
|
|
7303
7359
|
"default": null,
|
|
7304
|
-
"title": "
|
|
7360
|
+
"title": "Model"
|
|
7361
|
+
},
|
|
7362
|
+
"payload": {
|
|
7363
|
+
"$ref": "#/$defs/MessageQueuedPayload"
|
|
7364
|
+
},
|
|
7365
|
+
"record_format": {
|
|
7366
|
+
"const": "ellipsis_lifecycle@1",
|
|
7367
|
+
"default": "ellipsis_lifecycle@1",
|
|
7368
|
+
"title": "Record Format",
|
|
7369
|
+
"type": "string"
|
|
7370
|
+
},
|
|
7371
|
+
"record_type": {
|
|
7372
|
+
"const": "message_queued",
|
|
7373
|
+
"default": "message_queued",
|
|
7374
|
+
"title": "Record Type",
|
|
7375
|
+
"type": "string"
|
|
7376
|
+
},
|
|
7377
|
+
"session_id": {
|
|
7378
|
+
"description": "Session containing this record.",
|
|
7379
|
+
"title": "Session Id",
|
|
7380
|
+
"type": "string"
|
|
7381
|
+
},
|
|
7382
|
+
"source": {
|
|
7383
|
+
"const": "lifecycle",
|
|
7384
|
+
"default": "lifecycle",
|
|
7385
|
+
"title": "Source",
|
|
7386
|
+
"type": "string"
|
|
7387
|
+
},
|
|
7388
|
+
"tokens_info": {
|
|
7389
|
+
"anyOf": [
|
|
7390
|
+
{
|
|
7391
|
+
"$ref": "#/$defs/TokensInfo"
|
|
7392
|
+
},
|
|
7393
|
+
{
|
|
7394
|
+
"type": "null"
|
|
7395
|
+
}
|
|
7396
|
+
],
|
|
7397
|
+
"default": null
|
|
7398
|
+
},
|
|
7399
|
+
"tools": {
|
|
7400
|
+
"anyOf": [
|
|
7401
|
+
{
|
|
7402
|
+
"items": {
|
|
7403
|
+
"type": "string"
|
|
7404
|
+
},
|
|
7405
|
+
"type": "array"
|
|
7406
|
+
},
|
|
7407
|
+
{
|
|
7408
|
+
"type": "null"
|
|
7409
|
+
}
|
|
7410
|
+
],
|
|
7411
|
+
"default": null,
|
|
7412
|
+
"title": "Tools"
|
|
7305
7413
|
}
|
|
7306
7414
|
},
|
|
7307
7415
|
"required": [
|
|
7416
|
+
"cost",
|
|
7417
|
+
"created_at",
|
|
7418
|
+
"duration",
|
|
7419
|
+
"feed_seq",
|
|
7420
|
+
"id",
|
|
7421
|
+
"kind",
|
|
7308
7422
|
"message_id",
|
|
7309
|
-
"
|
|
7423
|
+
"model",
|
|
7424
|
+
"payload",
|
|
7425
|
+
"record_format",
|
|
7426
|
+
"record_type",
|
|
7427
|
+
"session_id",
|
|
7428
|
+
"source",
|
|
7429
|
+
"tokens_info",
|
|
7430
|
+
"tools"
|
|
7310
7431
|
],
|
|
7311
|
-
"title": "
|
|
7312
|
-
"type": "object"
|
|
7432
|
+
"title": "MessageQueuedRecord",
|
|
7433
|
+
"type": "object",
|
|
7434
|
+
"x-ellipsis-preserve-payload": true
|
|
7313
7435
|
},
|
|
7314
|
-
"
|
|
7436
|
+
"MessageRecord": {
|
|
7315
7437
|
"properties": {
|
|
7316
7438
|
"cost": {
|
|
7317
7439
|
"anyOf": [
|
|
@@ -7358,6 +7480,19 @@
|
|
|
7358
7480
|
"title": "Kind",
|
|
7359
7481
|
"type": "string"
|
|
7360
7482
|
},
|
|
7483
|
+
"message_id": {
|
|
7484
|
+
"anyOf": [
|
|
7485
|
+
{
|
|
7486
|
+
"type": "string"
|
|
7487
|
+
},
|
|
7488
|
+
{
|
|
7489
|
+
"type": "null"
|
|
7490
|
+
}
|
|
7491
|
+
],
|
|
7492
|
+
"default": null,
|
|
7493
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
7494
|
+
"title": "Message Id"
|
|
7495
|
+
},
|
|
7361
7496
|
"model": {
|
|
7362
7497
|
"anyOf": [
|
|
7363
7498
|
{
|
|
@@ -7371,7 +7506,7 @@
|
|
|
7371
7506
|
"title": "Model"
|
|
7372
7507
|
},
|
|
7373
7508
|
"payload": {
|
|
7374
|
-
"$ref": "#/$defs/
|
|
7509
|
+
"$ref": "#/$defs/SessionMessage"
|
|
7375
7510
|
},
|
|
7376
7511
|
"record_format": {
|
|
7377
7512
|
"const": "ellipsis_lifecycle@1",
|
|
@@ -7380,8 +7515,8 @@
|
|
|
7380
7515
|
"type": "string"
|
|
7381
7516
|
},
|
|
7382
7517
|
"record_type": {
|
|
7383
|
-
"const": "
|
|
7384
|
-
"default": "
|
|
7518
|
+
"const": "message",
|
|
7519
|
+
"default": "message",
|
|
7385
7520
|
"title": "Record Type",
|
|
7386
7521
|
"type": "string"
|
|
7387
7522
|
},
|
|
@@ -7390,19 +7525,6 @@
|
|
|
7390
7525
|
"title": "Session Id",
|
|
7391
7526
|
"type": "string"
|
|
7392
7527
|
},
|
|
7393
|
-
"session_message_id": {
|
|
7394
|
-
"anyOf": [
|
|
7395
|
-
{
|
|
7396
|
-
"type": "string"
|
|
7397
|
-
},
|
|
7398
|
-
{
|
|
7399
|
-
"type": "null"
|
|
7400
|
-
}
|
|
7401
|
-
],
|
|
7402
|
-
"default": null,
|
|
7403
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
7404
|
-
"title": "Session Message Id"
|
|
7405
|
-
},
|
|
7406
7528
|
"source": {
|
|
7407
7529
|
"const": "lifecycle",
|
|
7408
7530
|
"default": "lifecycle",
|
|
@@ -7434,19 +7556,6 @@
|
|
|
7434
7556
|
],
|
|
7435
7557
|
"default": null,
|
|
7436
7558
|
"title": "Tools"
|
|
7437
|
-
},
|
|
7438
|
-
"turn_id": {
|
|
7439
|
-
"anyOf": [
|
|
7440
|
-
{
|
|
7441
|
-
"type": "string"
|
|
7442
|
-
},
|
|
7443
|
-
{
|
|
7444
|
-
"type": "null"
|
|
7445
|
-
}
|
|
7446
|
-
],
|
|
7447
|
-
"default": null,
|
|
7448
|
-
"description": "Turn containing this record, when applicable.",
|
|
7449
|
-
"title": "Turn Id"
|
|
7450
7559
|
}
|
|
7451
7560
|
},
|
|
7452
7561
|
"required": [
|
|
@@ -7456,49 +7565,31 @@
|
|
|
7456
7565
|
"feed_seq",
|
|
7457
7566
|
"id",
|
|
7458
7567
|
"kind",
|
|
7568
|
+
"message_id",
|
|
7459
7569
|
"model",
|
|
7460
7570
|
"payload",
|
|
7461
7571
|
"record_format",
|
|
7462
7572
|
"record_type",
|
|
7463
7573
|
"session_id",
|
|
7464
|
-
"session_message_id",
|
|
7465
7574
|
"source",
|
|
7466
7575
|
"tokens_info",
|
|
7467
|
-
"tools"
|
|
7468
|
-
"turn_id"
|
|
7576
|
+
"tools"
|
|
7469
7577
|
],
|
|
7470
|
-
"title": "
|
|
7578
|
+
"title": "MessageRecord",
|
|
7471
7579
|
"type": "object",
|
|
7472
7580
|
"x-ellipsis-preserve-payload": true
|
|
7473
7581
|
},
|
|
7474
7582
|
"MessageRequeuedPayload": {
|
|
7475
7583
|
"additionalProperties": true,
|
|
7476
|
-
"description": "message_requeued:
|
|
7584
|
+
"description": "message_requeued: the agent was interrupted before answering, so the\nmessage goes back to the inbox and starts again on a fresh environment.",
|
|
7477
7585
|
"properties": {
|
|
7478
7586
|
"message_id": {
|
|
7479
7587
|
"title": "Message Id",
|
|
7480
7588
|
"type": "string"
|
|
7481
|
-
},
|
|
7482
|
-
"requeued_turn_id": {
|
|
7483
|
-
"anyOf": [
|
|
7484
|
-
{
|
|
7485
|
-
"type": "string"
|
|
7486
|
-
},
|
|
7487
|
-
{
|
|
7488
|
-
"type": "null"
|
|
7489
|
-
}
|
|
7490
|
-
],
|
|
7491
|
-
"default": null,
|
|
7492
|
-
"title": "Requeued Turn Id"
|
|
7493
|
-
},
|
|
7494
|
-
"turn_id": {
|
|
7495
|
-
"title": "Turn Id",
|
|
7496
|
-
"type": "string"
|
|
7497
7589
|
}
|
|
7498
7590
|
},
|
|
7499
7591
|
"required": [
|
|
7500
|
-
"message_id"
|
|
7501
|
-
"turn_id"
|
|
7592
|
+
"message_id"
|
|
7502
7593
|
],
|
|
7503
7594
|
"title": "MessageRequeuedPayload",
|
|
7504
7595
|
"type": "object"
|
|
@@ -7550,6 +7641,19 @@
|
|
|
7550
7641
|
"title": "Kind",
|
|
7551
7642
|
"type": "string"
|
|
7552
7643
|
},
|
|
7644
|
+
"message_id": {
|
|
7645
|
+
"anyOf": [
|
|
7646
|
+
{
|
|
7647
|
+
"type": "string"
|
|
7648
|
+
},
|
|
7649
|
+
{
|
|
7650
|
+
"type": "null"
|
|
7651
|
+
}
|
|
7652
|
+
],
|
|
7653
|
+
"default": null,
|
|
7654
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
7655
|
+
"title": "Message Id"
|
|
7656
|
+
},
|
|
7553
7657
|
"model": {
|
|
7554
7658
|
"anyOf": [
|
|
7555
7659
|
{
|
|
@@ -7582,19 +7686,6 @@
|
|
|
7582
7686
|
"title": "Session Id",
|
|
7583
7687
|
"type": "string"
|
|
7584
7688
|
},
|
|
7585
|
-
"session_message_id": {
|
|
7586
|
-
"anyOf": [
|
|
7587
|
-
{
|
|
7588
|
-
"type": "string"
|
|
7589
|
-
},
|
|
7590
|
-
{
|
|
7591
|
-
"type": "null"
|
|
7592
|
-
}
|
|
7593
|
-
],
|
|
7594
|
-
"default": null,
|
|
7595
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
7596
|
-
"title": "Session Message Id"
|
|
7597
|
-
},
|
|
7598
7689
|
"source": {
|
|
7599
7690
|
"const": "lifecycle",
|
|
7600
7691
|
"default": "lifecycle",
|
|
@@ -7626,19 +7717,6 @@
|
|
|
7626
7717
|
],
|
|
7627
7718
|
"default": null,
|
|
7628
7719
|
"title": "Tools"
|
|
7629
|
-
},
|
|
7630
|
-
"turn_id": {
|
|
7631
|
-
"anyOf": [
|
|
7632
|
-
{
|
|
7633
|
-
"type": "string"
|
|
7634
|
-
},
|
|
7635
|
-
{
|
|
7636
|
-
"type": "null"
|
|
7637
|
-
}
|
|
7638
|
-
],
|
|
7639
|
-
"default": null,
|
|
7640
|
-
"description": "Turn containing this record, when applicable.",
|
|
7641
|
-
"title": "Turn Id"
|
|
7642
7720
|
}
|
|
7643
7721
|
},
|
|
7644
7722
|
"required": [
|
|
@@ -7648,88 +7726,248 @@
|
|
|
7648
7726
|
"feed_seq",
|
|
7649
7727
|
"id",
|
|
7650
7728
|
"kind",
|
|
7729
|
+
"message_id",
|
|
7651
7730
|
"model",
|
|
7652
7731
|
"payload",
|
|
7653
7732
|
"record_format",
|
|
7654
7733
|
"record_type",
|
|
7655
7734
|
"session_id",
|
|
7656
|
-
"session_message_id",
|
|
7657
7735
|
"source",
|
|
7658
7736
|
"tokens_info",
|
|
7659
|
-
"tools"
|
|
7660
|
-
"turn_id"
|
|
7737
|
+
"tools"
|
|
7661
7738
|
],
|
|
7662
7739
|
"title": "MessageRequeuedRecord",
|
|
7663
7740
|
"type": "object",
|
|
7664
7741
|
"x-ellipsis-preserve-payload": true
|
|
7665
7742
|
},
|
|
7666
|
-
"
|
|
7667
|
-
"
|
|
7743
|
+
"MessageStartedPayload": {
|
|
7744
|
+
"additionalProperties": true,
|
|
7745
|
+
"description": "message_started: the agent started on the message.",
|
|
7668
7746
|
"properties": {
|
|
7669
|
-
"
|
|
7670
|
-
"
|
|
7671
|
-
"description": "Token cost paid by a Claude subscription, at Ellipsis rates, in millicents.",
|
|
7672
|
-
"title": "Claude Subscription",
|
|
7673
|
-
"type": "integer"
|
|
7674
|
-
},
|
|
7675
|
-
"codex_subscription": {
|
|
7676
|
-
"default": 0,
|
|
7677
|
-
"description": "Token cost paid by a Codex subscription, at Ellipsis rates, in millicents.",
|
|
7678
|
-
"title": "Codex Subscription",
|
|
7679
|
-
"type": "integer"
|
|
7680
|
-
},
|
|
7681
|
-
"model": {
|
|
7682
|
-
"description": "The model that used these tokens.",
|
|
7683
|
-
"title": "Model",
|
|
7747
|
+
"message_id": {
|
|
7748
|
+
"title": "Message Id",
|
|
7684
7749
|
"type": "string"
|
|
7685
|
-
},
|
|
7686
|
-
"platform": {
|
|
7687
|
-
"default": 0,
|
|
7688
|
-
"description": "Token cost charged to Ellipsis credit, in millicents.",
|
|
7689
|
-
"title": "Platform",
|
|
7690
|
-
"type": "integer"
|
|
7691
|
-
},
|
|
7692
|
-
"total": {
|
|
7693
|
-
"default": 0,
|
|
7694
|
-
"description": "All token cost, in millicents. It is the sum of platform, claude_subscription, and codex_subscription.",
|
|
7695
|
-
"title": "Total",
|
|
7696
|
-
"type": "integer"
|
|
7697
7750
|
}
|
|
7698
7751
|
},
|
|
7699
7752
|
"required": [
|
|
7700
|
-
"
|
|
7701
|
-
"codex_subscription",
|
|
7702
|
-
"model",
|
|
7703
|
-
"platform",
|
|
7704
|
-
"total"
|
|
7753
|
+
"message_id"
|
|
7705
7754
|
],
|
|
7706
|
-
"title": "
|
|
7755
|
+
"title": "MessageStartedPayload",
|
|
7707
7756
|
"type": "object"
|
|
7708
7757
|
},
|
|
7709
|
-
"
|
|
7710
|
-
"description": "Token counts for one model.",
|
|
7758
|
+
"MessageStartedRecord": {
|
|
7711
7759
|
"properties": {
|
|
7712
|
-
"
|
|
7713
|
-
"
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
-
|
|
7760
|
+
"cost": {
|
|
7761
|
+
"anyOf": [
|
|
7762
|
+
{
|
|
7763
|
+
"type": "integer"
|
|
7764
|
+
},
|
|
7765
|
+
{
|
|
7766
|
+
"type": "null"
|
|
7767
|
+
}
|
|
7768
|
+
],
|
|
7769
|
+
"default": null,
|
|
7770
|
+
"title": "Cost"
|
|
7717
7771
|
},
|
|
7718
|
-
"
|
|
7719
|
-
"
|
|
7720
|
-
"
|
|
7721
|
-
"
|
|
7722
|
-
"type": "integer"
|
|
7772
|
+
"created_at": {
|
|
7773
|
+
"format": "date-time",
|
|
7774
|
+
"title": "Created At",
|
|
7775
|
+
"type": "string"
|
|
7723
7776
|
},
|
|
7724
|
-
"
|
|
7725
|
-
"
|
|
7726
|
-
|
|
7727
|
-
|
|
7777
|
+
"duration": {
|
|
7778
|
+
"anyOf": [
|
|
7779
|
+
{
|
|
7780
|
+
"type": "integer"
|
|
7781
|
+
},
|
|
7782
|
+
{
|
|
7783
|
+
"type": "null"
|
|
7784
|
+
}
|
|
7785
|
+
],
|
|
7786
|
+
"default": null,
|
|
7787
|
+
"title": "Duration"
|
|
7788
|
+
},
|
|
7789
|
+
"feed_seq": {
|
|
7790
|
+
"description": "Position in the session feed and the stream's resume cursor.",
|
|
7791
|
+
"title": "Feed Seq",
|
|
7728
7792
|
"type": "integer"
|
|
7729
7793
|
},
|
|
7730
|
-
"
|
|
7731
|
-
"description": "
|
|
7732
|
-
"title": "
|
|
7794
|
+
"id": {
|
|
7795
|
+
"description": "Unique identifier of the record.",
|
|
7796
|
+
"title": "Id",
|
|
7797
|
+
"type": "string"
|
|
7798
|
+
},
|
|
7799
|
+
"kind": {
|
|
7800
|
+
"const": "platform",
|
|
7801
|
+
"default": "platform",
|
|
7802
|
+
"title": "Kind",
|
|
7803
|
+
"type": "string"
|
|
7804
|
+
},
|
|
7805
|
+
"message_id": {
|
|
7806
|
+
"anyOf": [
|
|
7807
|
+
{
|
|
7808
|
+
"type": "string"
|
|
7809
|
+
},
|
|
7810
|
+
{
|
|
7811
|
+
"type": "null"
|
|
7812
|
+
}
|
|
7813
|
+
],
|
|
7814
|
+
"default": null,
|
|
7815
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
7816
|
+
"title": "Message Id"
|
|
7817
|
+
},
|
|
7818
|
+
"model": {
|
|
7819
|
+
"anyOf": [
|
|
7820
|
+
{
|
|
7821
|
+
"type": "string"
|
|
7822
|
+
},
|
|
7823
|
+
{
|
|
7824
|
+
"type": "null"
|
|
7825
|
+
}
|
|
7826
|
+
],
|
|
7827
|
+
"default": null,
|
|
7828
|
+
"title": "Model"
|
|
7829
|
+
},
|
|
7830
|
+
"payload": {
|
|
7831
|
+
"$ref": "#/$defs/MessageStartedPayload"
|
|
7832
|
+
},
|
|
7833
|
+
"record_format": {
|
|
7834
|
+
"const": "ellipsis_lifecycle@1",
|
|
7835
|
+
"default": "ellipsis_lifecycle@1",
|
|
7836
|
+
"title": "Record Format",
|
|
7837
|
+
"type": "string"
|
|
7838
|
+
},
|
|
7839
|
+
"record_type": {
|
|
7840
|
+
"const": "message_started",
|
|
7841
|
+
"default": "message_started",
|
|
7842
|
+
"title": "Record Type",
|
|
7843
|
+
"type": "string"
|
|
7844
|
+
},
|
|
7845
|
+
"session_id": {
|
|
7846
|
+
"description": "Session containing this record.",
|
|
7847
|
+
"title": "Session Id",
|
|
7848
|
+
"type": "string"
|
|
7849
|
+
},
|
|
7850
|
+
"source": {
|
|
7851
|
+
"const": "lifecycle",
|
|
7852
|
+
"default": "lifecycle",
|
|
7853
|
+
"title": "Source",
|
|
7854
|
+
"type": "string"
|
|
7855
|
+
},
|
|
7856
|
+
"tokens_info": {
|
|
7857
|
+
"anyOf": [
|
|
7858
|
+
{
|
|
7859
|
+
"$ref": "#/$defs/TokensInfo"
|
|
7860
|
+
},
|
|
7861
|
+
{
|
|
7862
|
+
"type": "null"
|
|
7863
|
+
}
|
|
7864
|
+
],
|
|
7865
|
+
"default": null
|
|
7866
|
+
},
|
|
7867
|
+
"tools": {
|
|
7868
|
+
"anyOf": [
|
|
7869
|
+
{
|
|
7870
|
+
"items": {
|
|
7871
|
+
"type": "string"
|
|
7872
|
+
},
|
|
7873
|
+
"type": "array"
|
|
7874
|
+
},
|
|
7875
|
+
{
|
|
7876
|
+
"type": "null"
|
|
7877
|
+
}
|
|
7878
|
+
],
|
|
7879
|
+
"default": null,
|
|
7880
|
+
"title": "Tools"
|
|
7881
|
+
}
|
|
7882
|
+
},
|
|
7883
|
+
"required": [
|
|
7884
|
+
"cost",
|
|
7885
|
+
"created_at",
|
|
7886
|
+
"duration",
|
|
7887
|
+
"feed_seq",
|
|
7888
|
+
"id",
|
|
7889
|
+
"kind",
|
|
7890
|
+
"message_id",
|
|
7891
|
+
"model",
|
|
7892
|
+
"payload",
|
|
7893
|
+
"record_format",
|
|
7894
|
+
"record_type",
|
|
7895
|
+
"session_id",
|
|
7896
|
+
"source",
|
|
7897
|
+
"tokens_info",
|
|
7898
|
+
"tools"
|
|
7899
|
+
],
|
|
7900
|
+
"title": "MessageStartedRecord",
|
|
7901
|
+
"type": "object",
|
|
7902
|
+
"x-ellipsis-preserve-payload": true
|
|
7903
|
+
},
|
|
7904
|
+
"ModelLlmCostSplit": {
|
|
7905
|
+
"description": "What one model's tokens cost, in millicents, split by who paid.",
|
|
7906
|
+
"properties": {
|
|
7907
|
+
"claude_subscription": {
|
|
7908
|
+
"default": 0,
|
|
7909
|
+
"description": "Token cost paid by a Claude subscription, at Ellipsis rates, in millicents.",
|
|
7910
|
+
"title": "Claude Subscription",
|
|
7911
|
+
"type": "integer"
|
|
7912
|
+
},
|
|
7913
|
+
"codex_subscription": {
|
|
7914
|
+
"default": 0,
|
|
7915
|
+
"description": "Token cost paid by a Codex subscription, at Ellipsis rates, in millicents.",
|
|
7916
|
+
"title": "Codex Subscription",
|
|
7917
|
+
"type": "integer"
|
|
7918
|
+
},
|
|
7919
|
+
"model": {
|
|
7920
|
+
"description": "The model that used these tokens.",
|
|
7921
|
+
"title": "Model",
|
|
7922
|
+
"type": "string"
|
|
7923
|
+
},
|
|
7924
|
+
"platform": {
|
|
7925
|
+
"default": 0,
|
|
7926
|
+
"description": "Token cost charged to Ellipsis credit, in millicents.",
|
|
7927
|
+
"title": "Platform",
|
|
7928
|
+
"type": "integer"
|
|
7929
|
+
},
|
|
7930
|
+
"total": {
|
|
7931
|
+
"default": 0,
|
|
7932
|
+
"description": "All token cost, in millicents. It is the sum of platform, claude_subscription, and codex_subscription.",
|
|
7933
|
+
"title": "Total",
|
|
7934
|
+
"type": "integer"
|
|
7935
|
+
}
|
|
7936
|
+
},
|
|
7937
|
+
"required": [
|
|
7938
|
+
"claude_subscription",
|
|
7939
|
+
"codex_subscription",
|
|
7940
|
+
"model",
|
|
7941
|
+
"platform",
|
|
7942
|
+
"total"
|
|
7943
|
+
],
|
|
7944
|
+
"title": "ModelLlmCostSplit",
|
|
7945
|
+
"type": "object"
|
|
7946
|
+
},
|
|
7947
|
+
"ModelTokenCounts": {
|
|
7948
|
+
"description": "Token counts for one model.",
|
|
7949
|
+
"properties": {
|
|
7950
|
+
"cache_creation": {
|
|
7951
|
+
"default": 0,
|
|
7952
|
+
"description": "Tokens written to the prompt cache.",
|
|
7953
|
+
"title": "Cache Creation",
|
|
7954
|
+
"type": "integer"
|
|
7955
|
+
},
|
|
7956
|
+
"cache_read": {
|
|
7957
|
+
"default": 0,
|
|
7958
|
+
"description": "Tokens read from the prompt cache.",
|
|
7959
|
+
"title": "Cache Read",
|
|
7960
|
+
"type": "integer"
|
|
7961
|
+
},
|
|
7962
|
+
"input": {
|
|
7963
|
+
"default": 0,
|
|
7964
|
+
"description": "Input tokens used.",
|
|
7965
|
+
"title": "Input",
|
|
7966
|
+
"type": "integer"
|
|
7967
|
+
},
|
|
7968
|
+
"model": {
|
|
7969
|
+
"description": "The model that used these tokens.",
|
|
7970
|
+
"title": "Model",
|
|
7733
7971
|
"type": "string"
|
|
7734
7972
|
},
|
|
7735
7973
|
"output": {
|
|
@@ -7812,13 +8050,12 @@
|
|
|
7812
8050
|
"environment_output": "#/$defs/EnvironmentOutputRecord",
|
|
7813
8051
|
"environment_phase": "#/$defs/EnvironmentPhaseRecord",
|
|
7814
8052
|
"environment_ready": "#/$defs/EnvironmentReadyRecord",
|
|
7815
|
-
"
|
|
7816
|
-
"
|
|
8053
|
+
"message": "#/$defs/MessageRecord",
|
|
8054
|
+
"message_ended": "#/$defs/MessageEndedRecord",
|
|
8055
|
+
"message_queued": "#/$defs/MessageQueuedRecord",
|
|
7817
8056
|
"message_requeued": "#/$defs/MessageRequeuedRecord",
|
|
7818
|
-
"
|
|
7819
|
-
"
|
|
7820
|
-
"turn_queued": "#/$defs/TurnQueuedRecord",
|
|
7821
|
-
"turn_started": "#/$defs/TurnStartedRecord"
|
|
8057
|
+
"message_started": "#/$defs/MessageStartedRecord",
|
|
8058
|
+
"session_closed": "#/$defs/SessionClosedRecord"
|
|
7822
8059
|
},
|
|
7823
8060
|
"propertyName": "record_type"
|
|
7824
8061
|
},
|
|
@@ -7827,22 +8064,19 @@
|
|
|
7827
8064
|
"$ref": "#/$defs/SessionClosedRecord"
|
|
7828
8065
|
},
|
|
7829
8066
|
{
|
|
7830
|
-
"$ref": "#/$defs/
|
|
8067
|
+
"$ref": "#/$defs/MessageRecord"
|
|
7831
8068
|
},
|
|
7832
8069
|
{
|
|
7833
|
-
"$ref": "#/$defs/
|
|
8070
|
+
"$ref": "#/$defs/MessageQueuedRecord"
|
|
7834
8071
|
},
|
|
7835
8072
|
{
|
|
7836
|
-
"$ref": "#/$defs/
|
|
7837
|
-
},
|
|
7838
|
-
{
|
|
7839
|
-
"$ref": "#/$defs/TurnQueuedRecord"
|
|
8073
|
+
"$ref": "#/$defs/MessageStartedRecord"
|
|
7840
8074
|
},
|
|
7841
8075
|
{
|
|
7842
|
-
"$ref": "#/$defs/
|
|
8076
|
+
"$ref": "#/$defs/MessageEndedRecord"
|
|
7843
8077
|
},
|
|
7844
8078
|
{
|
|
7845
|
-
"$ref": "#/$defs/
|
|
8079
|
+
"$ref": "#/$defs/MessageRequeuedRecord"
|
|
7846
8080
|
},
|
|
7847
8081
|
{
|
|
7848
8082
|
"$ref": "#/$defs/EnvironmentPhaseRecord"
|
|
@@ -8472,8 +8706,8 @@
|
|
|
8472
8706
|
"title": "ReactWorkflowRun",
|
|
8473
8707
|
"type": "object"
|
|
8474
8708
|
},
|
|
8475
|
-
"
|
|
8476
|
-
"description": "Cursored append-only delivery of session records, ordered by feed_seq,\nfrom all sources. Every record in the frame advances the resume cursor
|
|
8709
|
+
"RecordsFrame": {
|
|
8710
|
+
"description": "Cursored append-only delivery of session records, ordered by feed_seq,\nfrom all sources. Every record in the frame advances the resume cursor,\nincluding ones a client renders as nothing.",
|
|
8477
8711
|
"properties": {
|
|
8478
8712
|
"records": {
|
|
8479
8713
|
"description": "New session records, ordered by feed_seq.",
|
|
@@ -8484,8 +8718,8 @@
|
|
|
8484
8718
|
"type": "array"
|
|
8485
8719
|
},
|
|
8486
8720
|
"type": {
|
|
8487
|
-
"const": "
|
|
8488
|
-
"default": "
|
|
8721
|
+
"const": "records",
|
|
8722
|
+
"default": "records",
|
|
8489
8723
|
"title": "Type",
|
|
8490
8724
|
"type": "string"
|
|
8491
8725
|
}
|
|
@@ -8494,7 +8728,7 @@
|
|
|
8494
8728
|
"records",
|
|
8495
8729
|
"type"
|
|
8496
8730
|
],
|
|
8497
|
-
"title": "
|
|
8731
|
+
"title": "RecordsFrame",
|
|
8498
8732
|
"type": "object"
|
|
8499
8733
|
},
|
|
8500
8734
|
"ReleaseAction": {
|
|
@@ -9176,7 +9410,7 @@
|
|
|
9176
9410
|
]
|
|
9177
9411
|
}
|
|
9178
9412
|
],
|
|
9179
|
-
"description": "An agent session: one conversation with an agent. Returned by\n`GET /v1/sessions/{id}` and carried by the session stream's\n`session
|
|
9413
|
+
"description": "An agent session: one conversation with an agent. Returned by\n`GET /v1/sessions/{id}` and carried by the session stream's\n`session` frames; REST and stream never disagree about what a\nsession looks like.",
|
|
9180
9414
|
"properties": {
|
|
9181
9415
|
"agent": {
|
|
9182
9416
|
"anyOf": [
|
|
@@ -9254,6 +9488,18 @@
|
|
|
9254
9488
|
"$ref": "#/$defs/SessionEnvironment",
|
|
9255
9489
|
"description": "The full environment configuration frozen when the session was created, with the saved environment's id and how it was chosen."
|
|
9256
9490
|
},
|
|
9491
|
+
"error": {
|
|
9492
|
+
"anyOf": [
|
|
9493
|
+
{
|
|
9494
|
+
"$ref": "#/$defs/SessionError"
|
|
9495
|
+
},
|
|
9496
|
+
{
|
|
9497
|
+
"type": "null"
|
|
9498
|
+
}
|
|
9499
|
+
],
|
|
9500
|
+
"default": null,
|
|
9501
|
+
"description": "Why the last message failed, was stopped, or was cancelled; null otherwise."
|
|
9502
|
+
},
|
|
9257
9503
|
"event": {
|
|
9258
9504
|
"anyOf": [
|
|
9259
9505
|
{
|
|
@@ -9381,7 +9627,7 @@
|
|
|
9381
9627
|
}
|
|
9382
9628
|
],
|
|
9383
9629
|
"default": null,
|
|
9384
|
-
"description": "The session's structured output: the `json_schema` the agent must satisfy and, once
|
|
9630
|
+
"description": "The session's structured output: the `json_schema` the agent must satisfy and, once the agent has submitted it, the `result`."
|
|
9385
9631
|
},
|
|
9386
9632
|
"parent": {
|
|
9387
9633
|
"anyOf": [
|
|
@@ -9411,6 +9657,10 @@
|
|
|
9411
9657
|
"$ref": "#/$defs/SessionSource",
|
|
9412
9658
|
"description": "Where the session came from (e.g. react, web, api, cli, mention, cron)."
|
|
9413
9659
|
},
|
|
9660
|
+
"status": {
|
|
9661
|
+
"$ref": "#/$defs/SessionStatus",
|
|
9662
|
+
"description": "Where the session is. A message you sent is answered once the status is `idle` or `closed`; its `message_ended` record in GET /v1/sessions/{id}/records says how."
|
|
9663
|
+
},
|
|
9414
9664
|
"summary": {
|
|
9415
9665
|
"anyOf": [
|
|
9416
9666
|
{
|
|
@@ -9427,18 +9677,6 @@
|
|
|
9427
9677
|
"$ref": "#/$defs/Tokens",
|
|
9428
9678
|
"description": "The tokens the session has used so far."
|
|
9429
9679
|
},
|
|
9430
|
-
"turn": {
|
|
9431
|
-
"anyOf": [
|
|
9432
|
-
{
|
|
9433
|
-
"$ref": "#/$defs/SessionTurn"
|
|
9434
|
-
},
|
|
9435
|
-
{
|
|
9436
|
-
"type": "null"
|
|
9437
|
-
}
|
|
9438
|
-
],
|
|
9439
|
-
"default": null,
|
|
9440
|
-
"description": "The turn in progress, or the latest one when none is running. Null until the session has a message. Wait on it: the message you sent is answered when the turn with your message's `turn_id` reaches a final status."
|
|
9441
|
-
},
|
|
9442
9680
|
"updated_at": {
|
|
9443
9681
|
"description": "When the session was last updated.",
|
|
9444
9682
|
"format": "date-time",
|
|
@@ -9457,6 +9695,7 @@
|
|
|
9457
9695
|
"cost",
|
|
9458
9696
|
"created_at",
|
|
9459
9697
|
"environment",
|
|
9698
|
+
"error",
|
|
9460
9699
|
"event",
|
|
9461
9700
|
"gemini",
|
|
9462
9701
|
"git",
|
|
@@ -9468,9 +9707,9 @@
|
|
|
9468
9707
|
"permissions",
|
|
9469
9708
|
"skills",
|
|
9470
9709
|
"source",
|
|
9710
|
+
"status",
|
|
9471
9711
|
"summary",
|
|
9472
9712
|
"tokens",
|
|
9473
|
-
"turn",
|
|
9474
9713
|
"updated_at"
|
|
9475
9714
|
],
|
|
9476
9715
|
"title": "Session",
|
|
@@ -9584,7 +9823,7 @@
|
|
|
9584
9823
|
},
|
|
9585
9824
|
"SessionClosedPayload": {
|
|
9586
9825
|
"additionalProperties": true,
|
|
9587
|
-
"description": "session_closed: the
|
|
9826
|
+
"description": "session_closed: the session closed permanently.",
|
|
9588
9827
|
"properties": {},
|
|
9589
9828
|
"title": "SessionClosedPayload",
|
|
9590
9829
|
"type": "object"
|
|
@@ -9636,6 +9875,19 @@
|
|
|
9636
9875
|
"title": "Kind",
|
|
9637
9876
|
"type": "string"
|
|
9638
9877
|
},
|
|
9878
|
+
"message_id": {
|
|
9879
|
+
"anyOf": [
|
|
9880
|
+
{
|
|
9881
|
+
"type": "string"
|
|
9882
|
+
},
|
|
9883
|
+
{
|
|
9884
|
+
"type": "null"
|
|
9885
|
+
}
|
|
9886
|
+
],
|
|
9887
|
+
"default": null,
|
|
9888
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
9889
|
+
"title": "Message Id"
|
|
9890
|
+
},
|
|
9639
9891
|
"model": {
|
|
9640
9892
|
"anyOf": [
|
|
9641
9893
|
{
|
|
@@ -9668,19 +9920,6 @@
|
|
|
9668
9920
|
"title": "Session Id",
|
|
9669
9921
|
"type": "string"
|
|
9670
9922
|
},
|
|
9671
|
-
"session_message_id": {
|
|
9672
|
-
"anyOf": [
|
|
9673
|
-
{
|
|
9674
|
-
"type": "string"
|
|
9675
|
-
},
|
|
9676
|
-
{
|
|
9677
|
-
"type": "null"
|
|
9678
|
-
}
|
|
9679
|
-
],
|
|
9680
|
-
"default": null,
|
|
9681
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
9682
|
-
"title": "Session Message Id"
|
|
9683
|
-
},
|
|
9684
9923
|
"source": {
|
|
9685
9924
|
"const": "lifecycle",
|
|
9686
9925
|
"default": "lifecycle",
|
|
@@ -9712,19 +9951,6 @@
|
|
|
9712
9951
|
],
|
|
9713
9952
|
"default": null,
|
|
9714
9953
|
"title": "Tools"
|
|
9715
|
-
},
|
|
9716
|
-
"turn_id": {
|
|
9717
|
-
"anyOf": [
|
|
9718
|
-
{
|
|
9719
|
-
"type": "string"
|
|
9720
|
-
},
|
|
9721
|
-
{
|
|
9722
|
-
"type": "null"
|
|
9723
|
-
}
|
|
9724
|
-
],
|
|
9725
|
-
"default": null,
|
|
9726
|
-
"description": "Turn containing this record, when applicable.",
|
|
9727
|
-
"title": "Turn Id"
|
|
9728
9954
|
}
|
|
9729
9955
|
},
|
|
9730
9956
|
"required": [
|
|
@@ -9734,16 +9960,15 @@
|
|
|
9734
9960
|
"feed_seq",
|
|
9735
9961
|
"id",
|
|
9736
9962
|
"kind",
|
|
9963
|
+
"message_id",
|
|
9737
9964
|
"model",
|
|
9738
9965
|
"payload",
|
|
9739
9966
|
"record_format",
|
|
9740
9967
|
"record_type",
|
|
9741
9968
|
"session_id",
|
|
9742
|
-
"session_message_id",
|
|
9743
9969
|
"source",
|
|
9744
9970
|
"tokens_info",
|
|
9745
|
-
"tools"
|
|
9746
|
-
"turn_id"
|
|
9971
|
+
"tools"
|
|
9747
9972
|
],
|
|
9748
9973
|
"title": "SessionClosedRecord",
|
|
9749
9974
|
"type": "object",
|
|
@@ -9954,7 +10179,7 @@
|
|
|
9954
10179
|
"description": "Whether the session can take more messages, and how quickly it would\nanswer one.",
|
|
9955
10180
|
"properties": {
|
|
9956
10181
|
"interactive": {
|
|
9957
|
-
"description": "Whether the session stays open after its first
|
|
10182
|
+
"description": "Whether the session stays open after its first message is answered.",
|
|
9958
10183
|
"title": "Interactive",
|
|
9959
10184
|
"type": "boolean"
|
|
9960
10185
|
},
|
|
@@ -9962,10 +10187,6 @@
|
|
|
9962
10187
|
"$ref": "#/$defs/SessionPrompting",
|
|
9963
10188
|
"description": "The session's policy for direct messages. Caller authorization and message validation are checked separately."
|
|
9964
10189
|
},
|
|
9965
|
-
"state": {
|
|
9966
|
-
"$ref": "#/$defs/SessionState",
|
|
9967
|
-
"description": "`open` while the session can take messages; `closed` is permanent."
|
|
9968
|
-
},
|
|
9969
10190
|
"warm": {
|
|
9970
10191
|
"description": "Whether an agent is ready to answer the next message right away. When false, the next message first prepares an environment, which takes longer. A hint only; clients need no logic on it.",
|
|
9971
10192
|
"title": "Warm",
|
|
@@ -9975,7 +10196,6 @@
|
|
|
9975
10196
|
"required": [
|
|
9976
10197
|
"interactive",
|
|
9977
10198
|
"prompting",
|
|
9978
|
-
"state",
|
|
9979
10199
|
"warm"
|
|
9980
10200
|
],
|
|
9981
10201
|
"title": "SessionConversation",
|
|
@@ -9987,7 +10207,7 @@
|
|
|
9987
10207
|
"properties": {
|
|
9988
10208
|
"interactive": {
|
|
9989
10209
|
"default": true,
|
|
9990
|
-
"description": "Whether the session stays open after its first
|
|
10210
|
+
"description": "Whether the session stays open after its first message is answered. Defaults to true; false runs once and requires a prompt. Requires the model's interactive capability when true. Direct message acceptance is reported separately in conversation.prompting.",
|
|
9991
10211
|
"title": "Interactive",
|
|
9992
10212
|
"type": "boolean"
|
|
9993
10213
|
}
|
|
@@ -10096,6 +10316,34 @@
|
|
|
10096
10316
|
"title": "SessionEnvironment",
|
|
10097
10317
|
"type": "object"
|
|
10098
10318
|
},
|
|
10319
|
+
"SessionError": {
|
|
10320
|
+
"description": "Why the last message failed, was stopped, or was cancelled. Cleared\nwhen the next message starts.",
|
|
10321
|
+
"properties": {
|
|
10322
|
+
"detail": {
|
|
10323
|
+
"anyOf": [
|
|
10324
|
+
{
|
|
10325
|
+
"type": "string"
|
|
10326
|
+
},
|
|
10327
|
+
{
|
|
10328
|
+
"type": "null"
|
|
10329
|
+
}
|
|
10330
|
+
],
|
|
10331
|
+
"default": null,
|
|
10332
|
+
"description": "A human-readable explanation.",
|
|
10333
|
+
"title": "Detail"
|
|
10334
|
+
},
|
|
10335
|
+
"reason": {
|
|
10336
|
+
"$ref": "#/$defs/ErrorReason",
|
|
10337
|
+
"description": "What went wrong."
|
|
10338
|
+
}
|
|
10339
|
+
},
|
|
10340
|
+
"required": [
|
|
10341
|
+
"detail",
|
|
10342
|
+
"reason"
|
|
10343
|
+
],
|
|
10344
|
+
"title": "SessionError",
|
|
10345
|
+
"type": "object"
|
|
10346
|
+
},
|
|
10099
10347
|
"SessionEventActor": {
|
|
10100
10348
|
"description": "The event's initiator, when known; never inferred from resource ownership.",
|
|
10101
10349
|
"properties": {
|
|
@@ -10137,7 +10385,7 @@
|
|
|
10137
10385
|
"type": "object"
|
|
10138
10386
|
},
|
|
10139
10387
|
"SessionFrame": {
|
|
10140
|
-
"description": "
|
|
10388
|
+
"description": "The whole session, last writer wins: the first frame after the stream\nconnects, and resent whole whenever any field changes (status, error,\ncost). A `closed` status is the last one; a normal close (1000) follows.",
|
|
10141
10389
|
"properties": {
|
|
10142
10390
|
"session": {
|
|
10143
10391
|
"$ref": "#/$defs/Session",
|
|
@@ -10401,7 +10649,7 @@
|
|
|
10401
10649
|
"type": "object"
|
|
10402
10650
|
},
|
|
10403
10651
|
"SessionMessage": {
|
|
10404
|
-
"description": "One message
|
|
10652
|
+
"description": "One message sent to a session.",
|
|
10405
10653
|
"properties": {
|
|
10406
10654
|
"author": {
|
|
10407
10655
|
"anyOf": [
|
|
@@ -10422,38 +10670,11 @@
|
|
|
10422
10670
|
"type": "string"
|
|
10423
10671
|
},
|
|
10424
10672
|
"created_at": {
|
|
10425
|
-
"description": "When the message was
|
|
10673
|
+
"description": "When the message was received.",
|
|
10426
10674
|
"format": "date-time",
|
|
10427
10675
|
"title": "Created At",
|
|
10428
10676
|
"type": "string"
|
|
10429
10677
|
},
|
|
10430
|
-
"delivered_at": {
|
|
10431
|
-
"anyOf": [
|
|
10432
|
-
{
|
|
10433
|
-
"format": "date-time",
|
|
10434
|
-
"type": "string"
|
|
10435
|
-
},
|
|
10436
|
-
{
|
|
10437
|
-
"type": "null"
|
|
10438
|
-
}
|
|
10439
|
-
],
|
|
10440
|
-
"default": null,
|
|
10441
|
-
"description": "When the message was delivered to the agent, if it has been.",
|
|
10442
|
-
"title": "Delivered At"
|
|
10443
|
-
},
|
|
10444
|
-
"feed_seq": {
|
|
10445
|
-
"anyOf": [
|
|
10446
|
-
{
|
|
10447
|
-
"type": "integer"
|
|
10448
|
-
},
|
|
10449
|
-
{
|
|
10450
|
-
"type": "null"
|
|
10451
|
-
}
|
|
10452
|
-
],
|
|
10453
|
-
"default": null,
|
|
10454
|
-
"description": "Where the message sits in the session's feed \u2014 placement metadata only, NOT a resume cursor (only records_append frames advance the cursor). Null for older rows.",
|
|
10455
|
-
"title": "Feed Seq"
|
|
10456
|
-
},
|
|
10457
10678
|
"id": {
|
|
10458
10679
|
"description": "Unique identifier of the message.",
|
|
10459
10680
|
"title": "Id",
|
|
@@ -10467,67 +10688,25 @@
|
|
|
10467
10688
|
"title": "Images",
|
|
10468
10689
|
"type": "array"
|
|
10469
10690
|
},
|
|
10470
|
-
"
|
|
10471
|
-
"
|
|
10472
|
-
|
|
10473
|
-
|
|
10474
|
-
},
|
|
10475
|
-
{
|
|
10476
|
-
"type": "null"
|
|
10477
|
-
}
|
|
10478
|
-
],
|
|
10479
|
-
"default": null,
|
|
10480
|
-
"description": "Identifier of the principal that sent the message, if attributed.",
|
|
10481
|
-
"title": "Sender Attribution Id"
|
|
10482
|
-
},
|
|
10483
|
-
"sender_attribution_type": {
|
|
10484
|
-
"anyOf": [
|
|
10485
|
-
{
|
|
10486
|
-
"$ref": "#/$defs/AttributionType"
|
|
10487
|
-
},
|
|
10488
|
-
{
|
|
10489
|
-
"type": "null"
|
|
10490
|
-
}
|
|
10491
|
-
],
|
|
10492
|
-
"default": null,
|
|
10493
|
-
"description": "Kind of principal that sent the message, if attributed."
|
|
10691
|
+
"index": {
|
|
10692
|
+
"description": "Position in the session, starting at 0.",
|
|
10693
|
+
"title": "Index",
|
|
10694
|
+
"type": "integer"
|
|
10494
10695
|
},
|
|
10495
10696
|
"session_id": {
|
|
10496
10697
|
"description": "Identifier of the session the message belongs to.",
|
|
10497
10698
|
"title": "Session Id",
|
|
10498
10699
|
"type": "string"
|
|
10499
|
-
},
|
|
10500
|
-
"status": {
|
|
10501
|
-
"$ref": "#/$defs/SessionMessageStatus",
|
|
10502
|
-
"description": "Delivery status of the message."
|
|
10503
|
-
},
|
|
10504
|
-
"turn_id": {
|
|
10505
|
-
"anyOf": [
|
|
10506
|
-
{
|
|
10507
|
-
"type": "string"
|
|
10508
|
-
},
|
|
10509
|
-
{
|
|
10510
|
-
"type": "null"
|
|
10511
|
-
}
|
|
10512
|
-
],
|
|
10513
|
-
"default": null,
|
|
10514
|
-
"description": "The turn created to answer this message. Wait on it: the message is answered when that turn reaches a final status.",
|
|
10515
|
-
"title": "Turn Id"
|
|
10516
10700
|
}
|
|
10517
10701
|
},
|
|
10518
10702
|
"required": [
|
|
10519
10703
|
"author",
|
|
10520
10704
|
"body",
|
|
10521
10705
|
"created_at",
|
|
10522
|
-
"delivered_at",
|
|
10523
|
-
"feed_seq",
|
|
10524
10706
|
"id",
|
|
10525
10707
|
"images",
|
|
10526
|
-
"
|
|
10527
|
-
"
|
|
10528
|
-
"session_id",
|
|
10529
|
-
"status",
|
|
10530
|
-
"turn_id"
|
|
10708
|
+
"index",
|
|
10709
|
+
"session_id"
|
|
10531
10710
|
],
|
|
10532
10711
|
"title": "SessionMessage",
|
|
10533
10712
|
"type": "object"
|
|
@@ -10559,16 +10738,8 @@
|
|
|
10559
10738
|
"title": "SessionMessageImage",
|
|
10560
10739
|
"type": "object"
|
|
10561
10740
|
},
|
|
10562
|
-
"SessionMessageStatus": {
|
|
10563
|
-
"enum": [
|
|
10564
|
-
"pending",
|
|
10565
|
-
"delivered"
|
|
10566
|
-
],
|
|
10567
|
-
"title": "SessionMessageStatus",
|
|
10568
|
-
"type": "string"
|
|
10569
|
-
},
|
|
10570
10741
|
"SessionOutput": {
|
|
10571
|
-
"description": "Structured output on the wire: the contract and, when
|
|
10742
|
+
"description": "Structured output on the wire: the contract and, when the agent has\nsubmitted one, the payload. `result` is None while the session runs and\nwhen the agent submitted nothing; it is the agent's own JSON, in the\nshape of `json_schema`.",
|
|
10572
10743
|
"properties": {
|
|
10573
10744
|
"json_schema": {
|
|
10574
10745
|
"additionalProperties": true,
|
|
@@ -10587,7 +10758,7 @@
|
|
|
10587
10758
|
}
|
|
10588
10759
|
],
|
|
10589
10760
|
"default": null,
|
|
10590
|
-
"description": "The payload the agent submitted, or null until
|
|
10761
|
+
"description": "The payload the agent submitted, or null until it submits one.",
|
|
10591
10762
|
"title": "Result"
|
|
10592
10763
|
}
|
|
10593
10764
|
},
|
|
@@ -10712,44 +10883,18 @@
|
|
|
10712
10883
|
"title": "SessionSource",
|
|
10713
10884
|
"type": "string"
|
|
10714
10885
|
},
|
|
10715
|
-
"
|
|
10716
|
-
"description": "
|
|
10886
|
+
"SessionStatus": {
|
|
10887
|
+
"description": "Where the session is. `queued` while a message waits for a worker,\n`preparing` while its environment is set up, `running` while the agent\nworks, `idle` when every message has been answered and the session can\ntake another, and `closed` when it can take no more. `closed` is\npermanent.",
|
|
10717
10888
|
"enum": [
|
|
10718
|
-
"
|
|
10889
|
+
"queued",
|
|
10890
|
+
"preparing",
|
|
10891
|
+
"running",
|
|
10892
|
+
"idle",
|
|
10719
10893
|
"closed"
|
|
10720
10894
|
],
|
|
10721
|
-
"title": "
|
|
10895
|
+
"title": "SessionStatus",
|
|
10722
10896
|
"type": "string"
|
|
10723
10897
|
},
|
|
10724
|
-
"SessionStopped": {
|
|
10725
|
-
"description": "When a stop was requested and the GitHub user who requested it.",
|
|
10726
|
-
"properties": {
|
|
10727
|
-
"at": {
|
|
10728
|
-
"description": "When a stop was requested.",
|
|
10729
|
-
"format": "date-time",
|
|
10730
|
-
"title": "At",
|
|
10731
|
-
"type": "string"
|
|
10732
|
-
},
|
|
10733
|
-
"by": {
|
|
10734
|
-
"anyOf": [
|
|
10735
|
-
{
|
|
10736
|
-
"$ref": "#/$defs/GithubAccountSnippet"
|
|
10737
|
-
},
|
|
10738
|
-
{
|
|
10739
|
-
"type": "null"
|
|
10740
|
-
}
|
|
10741
|
-
],
|
|
10742
|
-
"default": null,
|
|
10743
|
-
"description": "The GitHub user who stopped the session, resolved at read time. Null if the user is unknown or unavailable."
|
|
10744
|
-
}
|
|
10745
|
-
},
|
|
10746
|
-
"required": [
|
|
10747
|
-
"at",
|
|
10748
|
-
"by"
|
|
10749
|
-
],
|
|
10750
|
-
"title": "SessionStopped",
|
|
10751
|
-
"type": "object"
|
|
10752
|
-
},
|
|
10753
10898
|
"SessionSummary": {
|
|
10754
10899
|
"description": "A live one-line summary of what the session is doing, refreshed\nevery few steps while it runs.",
|
|
10755
10900
|
"properties": {
|
|
@@ -10780,119 +10925,6 @@
|
|
|
10780
10925
|
"title": "SessionSummary",
|
|
10781
10926
|
"type": "object"
|
|
10782
10927
|
},
|
|
10783
|
-
"SessionTurn": {
|
|
10784
|
-
"description": "One message and the agent's answer to it. A turn is `queued` from the\nmoment its message is received, `preparing` while its environment is set\nup, `running` while the agent works, then `completed`, `failed`,\n`stopped`, or `cancelled`.",
|
|
10785
|
-
"properties": {
|
|
10786
|
-
"cost": {
|
|
10787
|
-
"$ref": "#/$defs/Cost",
|
|
10788
|
-
"description": "What the turn cost so far, in millicents, broken down by leg."
|
|
10789
|
-
},
|
|
10790
|
-
"created_at": {
|
|
10791
|
-
"description": "When the turn's message was received.",
|
|
10792
|
-
"format": "date-time",
|
|
10793
|
-
"title": "Created At",
|
|
10794
|
-
"type": "string"
|
|
10795
|
-
},
|
|
10796
|
-
"detail": {
|
|
10797
|
-
"anyOf": [
|
|
10798
|
-
{
|
|
10799
|
-
"type": "string"
|
|
10800
|
-
},
|
|
10801
|
-
{
|
|
10802
|
-
"type": "null"
|
|
10803
|
-
}
|
|
10804
|
-
],
|
|
10805
|
-
"default": null,
|
|
10806
|
-
"description": "A human-readable explanation of a failed, stopped, or cancelled turn, or of why a queued turn waits.",
|
|
10807
|
-
"title": "Detail"
|
|
10808
|
-
},
|
|
10809
|
-
"ended_at": {
|
|
10810
|
-
"anyOf": [
|
|
10811
|
-
{
|
|
10812
|
-
"format": "date-time",
|
|
10813
|
-
"type": "string"
|
|
10814
|
-
},
|
|
10815
|
-
{
|
|
10816
|
-
"type": "null"
|
|
10817
|
-
}
|
|
10818
|
-
],
|
|
10819
|
-
"default": null,
|
|
10820
|
-
"description": "When the turn reached its final status.",
|
|
10821
|
-
"title": "Ended At"
|
|
10822
|
-
},
|
|
10823
|
-
"id": {
|
|
10824
|
-
"description": "Unique identifier of the turn.",
|
|
10825
|
-
"title": "Id",
|
|
10826
|
-
"type": "string"
|
|
10827
|
-
},
|
|
10828
|
-
"index": {
|
|
10829
|
-
"description": "Position in the session, starting at 0.",
|
|
10830
|
-
"title": "Index",
|
|
10831
|
-
"type": "integer"
|
|
10832
|
-
},
|
|
10833
|
-
"reason": {
|
|
10834
|
-
"anyOf": [
|
|
10835
|
-
{
|
|
10836
|
-
"$ref": "#/$defs/TurnReason"
|
|
10837
|
-
},
|
|
10838
|
-
{
|
|
10839
|
-
"type": "null"
|
|
10840
|
-
}
|
|
10841
|
-
],
|
|
10842
|
-
"default": null,
|
|
10843
|
-
"description": "Why the turn failed or was cancelled; null on every other status."
|
|
10844
|
-
},
|
|
10845
|
-
"started_at": {
|
|
10846
|
-
"anyOf": [
|
|
10847
|
-
{
|
|
10848
|
-
"format": "date-time",
|
|
10849
|
-
"type": "string"
|
|
10850
|
-
},
|
|
10851
|
-
{
|
|
10852
|
-
"type": "null"
|
|
10853
|
-
}
|
|
10854
|
-
],
|
|
10855
|
-
"default": null,
|
|
10856
|
-
"description": "When the agent started on the message.",
|
|
10857
|
-
"title": "Started At"
|
|
10858
|
-
},
|
|
10859
|
-
"status": {
|
|
10860
|
-
"$ref": "#/$defs/TurnStatus",
|
|
10861
|
-
"description": "Where the turn is."
|
|
10862
|
-
},
|
|
10863
|
-
"stopped": {
|
|
10864
|
-
"anyOf": [
|
|
10865
|
-
{
|
|
10866
|
-
"$ref": "#/$defs/SessionStopped"
|
|
10867
|
-
},
|
|
10868
|
-
{
|
|
10869
|
-
"type": "null"
|
|
10870
|
-
}
|
|
10871
|
-
],
|
|
10872
|
-
"default": null,
|
|
10873
|
-
"description": "When and by whom a stop was requested; null when none was."
|
|
10874
|
-
},
|
|
10875
|
-
"tokens": {
|
|
10876
|
-
"$ref": "#/$defs/Tokens",
|
|
10877
|
-
"description": "The tokens the turn spent and the model they went to."
|
|
10878
|
-
}
|
|
10879
|
-
},
|
|
10880
|
-
"required": [
|
|
10881
|
-
"cost",
|
|
10882
|
-
"created_at",
|
|
10883
|
-
"detail",
|
|
10884
|
-
"ended_at",
|
|
10885
|
-
"id",
|
|
10886
|
-
"index",
|
|
10887
|
-
"reason",
|
|
10888
|
-
"started_at",
|
|
10889
|
-
"status",
|
|
10890
|
-
"stopped",
|
|
10891
|
-
"tokens"
|
|
10892
|
-
],
|
|
10893
|
-
"title": "SessionTurn",
|
|
10894
|
-
"type": "object"
|
|
10895
|
-
},
|
|
10896
10928
|
"SettingsRef": {
|
|
10897
10929
|
"additionalProperties": false,
|
|
10898
10930
|
"description": "A Claude Code settings.json read from a repository and applied to the\nsession. It adds permission rules and other Claude Code settings; rules the\nplatform sets stay in force. Supported models list `settings` in\n`/v1/account/models`.",
|
|
@@ -11074,49 +11106,6 @@
|
|
|
11074
11106
|
"title": "SlackMessageEvent",
|
|
11075
11107
|
"type": "object"
|
|
11076
11108
|
},
|
|
11077
|
-
"SnapshotFrame": {
|
|
11078
|
-
"description": "The first frame after the stream connects: the session plus its open\ninbox. Records always arrive separately via records_append frames.",
|
|
11079
|
-
"properties": {
|
|
11080
|
-
"earliest_feed_seq": {
|
|
11081
|
-
"anyOf": [
|
|
11082
|
-
{
|
|
11083
|
-
"type": "integer"
|
|
11084
|
-
},
|
|
11085
|
-
{
|
|
11086
|
-
"type": "null"
|
|
11087
|
-
}
|
|
11088
|
-
],
|
|
11089
|
-
"description": "The retention head: the lowest feed_seq still stored for this session, or null when it has no stored records. A client resuming from after_seq < earliest_feed_seq - 1 knows history is truncated.",
|
|
11090
|
-
"title": "Earliest Feed Seq"
|
|
11091
|
-
},
|
|
11092
|
-
"messages": {
|
|
11093
|
-
"description": "The session's open (pending) inbox messages.",
|
|
11094
|
-
"items": {
|
|
11095
|
-
"$ref": "#/$defs/SessionMessage"
|
|
11096
|
-
},
|
|
11097
|
-
"title": "Messages",
|
|
11098
|
-
"type": "array"
|
|
11099
|
-
},
|
|
11100
|
-
"session": {
|
|
11101
|
-
"$ref": "#/$defs/Session",
|
|
11102
|
-
"description": "The session's current state."
|
|
11103
|
-
},
|
|
11104
|
-
"type": {
|
|
11105
|
-
"const": "snapshot",
|
|
11106
|
-
"default": "snapshot",
|
|
11107
|
-
"title": "Type",
|
|
11108
|
-
"type": "string"
|
|
11109
|
-
}
|
|
11110
|
-
},
|
|
11111
|
-
"required": [
|
|
11112
|
-
"earliest_feed_seq",
|
|
11113
|
-
"messages",
|
|
11114
|
-
"session",
|
|
11115
|
-
"type"
|
|
11116
|
-
],
|
|
11117
|
-
"title": "SnapshotFrame",
|
|
11118
|
-
"type": "object"
|
|
11119
|
-
},
|
|
11120
11109
|
"StatusAction": {
|
|
11121
11110
|
"description": "The state of a commit status. `success` is `passed`, `failure` is `failed`, and `error` is `errored`.",
|
|
11122
11111
|
"enum": [
|
|
@@ -11233,23 +11222,27 @@
|
|
|
11233
11222
|
"title": "TokensInfo",
|
|
11234
11223
|
"type": "object"
|
|
11235
11224
|
},
|
|
11236
|
-
"
|
|
11237
|
-
"
|
|
11238
|
-
"description": "turn_ended: the turn reached its final status. `status`, `reason`, and\n`detail` match the turn on the session object.",
|
|
11225
|
+
"UnknownSessionRecord": {
|
|
11226
|
+
"description": "Unrecognized or unparseable payload; the complete original stays readable.",
|
|
11239
11227
|
"properties": {
|
|
11240
|
-
"
|
|
11228
|
+
"cost": {
|
|
11241
11229
|
"anyOf": [
|
|
11242
11230
|
{
|
|
11243
|
-
"type": "
|
|
11231
|
+
"type": "integer"
|
|
11244
11232
|
},
|
|
11245
11233
|
{
|
|
11246
11234
|
"type": "null"
|
|
11247
11235
|
}
|
|
11248
11236
|
],
|
|
11249
11237
|
"default": null,
|
|
11250
|
-
"title": "
|
|
11238
|
+
"title": "Cost"
|
|
11251
11239
|
},
|
|
11252
|
-
"
|
|
11240
|
+
"created_at": {
|
|
11241
|
+
"format": "date-time",
|
|
11242
|
+
"title": "Created At",
|
|
11243
|
+
"type": "string"
|
|
11244
|
+
},
|
|
11245
|
+
"duration": {
|
|
11253
11246
|
"anyOf": [
|
|
11254
11247
|
{
|
|
11255
11248
|
"type": "integer"
|
|
@@ -11259,9 +11252,25 @@
|
|
|
11259
11252
|
}
|
|
11260
11253
|
],
|
|
11261
11254
|
"default": null,
|
|
11262
|
-
"title": "Duration
|
|
11255
|
+
"title": "Duration"
|
|
11263
11256
|
},
|
|
11264
|
-
"
|
|
11257
|
+
"feed_seq": {
|
|
11258
|
+
"description": "Position in the session feed and the stream's resume cursor.",
|
|
11259
|
+
"title": "Feed Seq",
|
|
11260
|
+
"type": "integer"
|
|
11261
|
+
},
|
|
11262
|
+
"id": {
|
|
11263
|
+
"description": "Unique identifier of the record.",
|
|
11264
|
+
"title": "Id",
|
|
11265
|
+
"type": "string"
|
|
11266
|
+
},
|
|
11267
|
+
"kind": {
|
|
11268
|
+
"const": "unknown",
|
|
11269
|
+
"default": "unknown",
|
|
11270
|
+
"title": "Kind",
|
|
11271
|
+
"type": "string"
|
|
11272
|
+
},
|
|
11273
|
+
"message_id": {
|
|
11265
11274
|
"anyOf": [
|
|
11266
11275
|
{
|
|
11267
11276
|
"type": "string"
|
|
@@ -11271,638 +11280,8 @@
|
|
|
11271
11280
|
}
|
|
11272
11281
|
],
|
|
11273
11282
|
"default": null,
|
|
11274
|
-
"
|
|
11275
|
-
|
|
11276
|
-
"status": {
|
|
11277
|
-
"title": "Status",
|
|
11278
|
-
"type": "string"
|
|
11279
|
-
},
|
|
11280
|
-
"turn_id": {
|
|
11281
|
-
"title": "Turn Id",
|
|
11282
|
-
"type": "string"
|
|
11283
|
-
},
|
|
11284
|
-
"turn_index": {
|
|
11285
|
-
"title": "Turn Index",
|
|
11286
|
-
"type": "integer"
|
|
11287
|
-
}
|
|
11288
|
-
},
|
|
11289
|
-
"required": [
|
|
11290
|
-
"turn_id",
|
|
11291
|
-
"turn_index",
|
|
11292
|
-
"status"
|
|
11293
|
-
],
|
|
11294
|
-
"title": "TurnEndedPayload",
|
|
11295
|
-
"type": "object"
|
|
11296
|
-
},
|
|
11297
|
-
"TurnEndedRecord": {
|
|
11298
|
-
"properties": {
|
|
11299
|
-
"cost": {
|
|
11300
|
-
"anyOf": [
|
|
11301
|
-
{
|
|
11302
|
-
"type": "integer"
|
|
11303
|
-
},
|
|
11304
|
-
{
|
|
11305
|
-
"type": "null"
|
|
11306
|
-
}
|
|
11307
|
-
],
|
|
11308
|
-
"default": null,
|
|
11309
|
-
"title": "Cost"
|
|
11310
|
-
},
|
|
11311
|
-
"created_at": {
|
|
11312
|
-
"format": "date-time",
|
|
11313
|
-
"title": "Created At",
|
|
11314
|
-
"type": "string"
|
|
11315
|
-
},
|
|
11316
|
-
"duration": {
|
|
11317
|
-
"anyOf": [
|
|
11318
|
-
{
|
|
11319
|
-
"type": "integer"
|
|
11320
|
-
},
|
|
11321
|
-
{
|
|
11322
|
-
"type": "null"
|
|
11323
|
-
}
|
|
11324
|
-
],
|
|
11325
|
-
"default": null,
|
|
11326
|
-
"title": "Duration"
|
|
11327
|
-
},
|
|
11328
|
-
"feed_seq": {
|
|
11329
|
-
"description": "Position in the session feed and the stream's resume cursor.",
|
|
11330
|
-
"title": "Feed Seq",
|
|
11331
|
-
"type": "integer"
|
|
11332
|
-
},
|
|
11333
|
-
"id": {
|
|
11334
|
-
"description": "Unique identifier of the record.",
|
|
11335
|
-
"title": "Id",
|
|
11336
|
-
"type": "string"
|
|
11337
|
-
},
|
|
11338
|
-
"kind": {
|
|
11339
|
-
"const": "platform",
|
|
11340
|
-
"default": "platform",
|
|
11341
|
-
"title": "Kind",
|
|
11342
|
-
"type": "string"
|
|
11343
|
-
},
|
|
11344
|
-
"model": {
|
|
11345
|
-
"anyOf": [
|
|
11346
|
-
{
|
|
11347
|
-
"type": "string"
|
|
11348
|
-
},
|
|
11349
|
-
{
|
|
11350
|
-
"type": "null"
|
|
11351
|
-
}
|
|
11352
|
-
],
|
|
11353
|
-
"default": null,
|
|
11354
|
-
"title": "Model"
|
|
11355
|
-
},
|
|
11356
|
-
"payload": {
|
|
11357
|
-
"$ref": "#/$defs/TurnEndedPayload"
|
|
11358
|
-
},
|
|
11359
|
-
"record_format": {
|
|
11360
|
-
"const": "ellipsis_lifecycle@1",
|
|
11361
|
-
"default": "ellipsis_lifecycle@1",
|
|
11362
|
-
"title": "Record Format",
|
|
11363
|
-
"type": "string"
|
|
11364
|
-
},
|
|
11365
|
-
"record_type": {
|
|
11366
|
-
"const": "turn_ended",
|
|
11367
|
-
"default": "turn_ended",
|
|
11368
|
-
"title": "Record Type",
|
|
11369
|
-
"type": "string"
|
|
11370
|
-
},
|
|
11371
|
-
"session_id": {
|
|
11372
|
-
"description": "Session containing this record.",
|
|
11373
|
-
"title": "Session Id",
|
|
11374
|
-
"type": "string"
|
|
11375
|
-
},
|
|
11376
|
-
"session_message_id": {
|
|
11377
|
-
"anyOf": [
|
|
11378
|
-
{
|
|
11379
|
-
"type": "string"
|
|
11380
|
-
},
|
|
11381
|
-
{
|
|
11382
|
-
"type": "null"
|
|
11383
|
-
}
|
|
11384
|
-
],
|
|
11385
|
-
"default": null,
|
|
11386
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
11387
|
-
"title": "Session Message Id"
|
|
11388
|
-
},
|
|
11389
|
-
"source": {
|
|
11390
|
-
"const": "lifecycle",
|
|
11391
|
-
"default": "lifecycle",
|
|
11392
|
-
"title": "Source",
|
|
11393
|
-
"type": "string"
|
|
11394
|
-
},
|
|
11395
|
-
"tokens_info": {
|
|
11396
|
-
"anyOf": [
|
|
11397
|
-
{
|
|
11398
|
-
"$ref": "#/$defs/TokensInfo"
|
|
11399
|
-
},
|
|
11400
|
-
{
|
|
11401
|
-
"type": "null"
|
|
11402
|
-
}
|
|
11403
|
-
],
|
|
11404
|
-
"default": null
|
|
11405
|
-
},
|
|
11406
|
-
"tools": {
|
|
11407
|
-
"anyOf": [
|
|
11408
|
-
{
|
|
11409
|
-
"items": {
|
|
11410
|
-
"type": "string"
|
|
11411
|
-
},
|
|
11412
|
-
"type": "array"
|
|
11413
|
-
},
|
|
11414
|
-
{
|
|
11415
|
-
"type": "null"
|
|
11416
|
-
}
|
|
11417
|
-
],
|
|
11418
|
-
"default": null,
|
|
11419
|
-
"title": "Tools"
|
|
11420
|
-
},
|
|
11421
|
-
"turn_id": {
|
|
11422
|
-
"anyOf": [
|
|
11423
|
-
{
|
|
11424
|
-
"type": "string"
|
|
11425
|
-
},
|
|
11426
|
-
{
|
|
11427
|
-
"type": "null"
|
|
11428
|
-
}
|
|
11429
|
-
],
|
|
11430
|
-
"default": null,
|
|
11431
|
-
"description": "Turn containing this record, when applicable.",
|
|
11432
|
-
"title": "Turn Id"
|
|
11433
|
-
}
|
|
11434
|
-
},
|
|
11435
|
-
"required": [
|
|
11436
|
-
"cost",
|
|
11437
|
-
"created_at",
|
|
11438
|
-
"duration",
|
|
11439
|
-
"feed_seq",
|
|
11440
|
-
"id",
|
|
11441
|
-
"kind",
|
|
11442
|
-
"model",
|
|
11443
|
-
"payload",
|
|
11444
|
-
"record_format",
|
|
11445
|
-
"record_type",
|
|
11446
|
-
"session_id",
|
|
11447
|
-
"session_message_id",
|
|
11448
|
-
"source",
|
|
11449
|
-
"tokens_info",
|
|
11450
|
-
"tools",
|
|
11451
|
-
"turn_id"
|
|
11452
|
-
],
|
|
11453
|
-
"title": "TurnEndedRecord",
|
|
11454
|
-
"type": "object",
|
|
11455
|
-
"x-ellipsis-preserve-payload": true
|
|
11456
|
-
},
|
|
11457
|
-
"TurnQueuedPayload": {
|
|
11458
|
-
"additionalProperties": true,
|
|
11459
|
-
"description": "turn_queued: the turn waits because the account already has\n`sessions_alive` sessions alive, its limit.",
|
|
11460
|
-
"properties": {
|
|
11461
|
-
"limit": {
|
|
11462
|
-
"title": "Limit",
|
|
11463
|
-
"type": "integer"
|
|
11464
|
-
},
|
|
11465
|
-
"sessions_alive": {
|
|
11466
|
-
"title": "Sessions Alive",
|
|
11467
|
-
"type": "integer"
|
|
11468
|
-
},
|
|
11469
|
-
"turn_id": {
|
|
11470
|
-
"title": "Turn Id",
|
|
11471
|
-
"type": "string"
|
|
11472
|
-
}
|
|
11473
|
-
},
|
|
11474
|
-
"required": [
|
|
11475
|
-
"turn_id",
|
|
11476
|
-
"sessions_alive",
|
|
11477
|
-
"limit"
|
|
11478
|
-
],
|
|
11479
|
-
"title": "TurnQueuedPayload",
|
|
11480
|
-
"type": "object"
|
|
11481
|
-
},
|
|
11482
|
-
"TurnQueuedRecord": {
|
|
11483
|
-
"properties": {
|
|
11484
|
-
"cost": {
|
|
11485
|
-
"anyOf": [
|
|
11486
|
-
{
|
|
11487
|
-
"type": "integer"
|
|
11488
|
-
},
|
|
11489
|
-
{
|
|
11490
|
-
"type": "null"
|
|
11491
|
-
}
|
|
11492
|
-
],
|
|
11493
|
-
"default": null,
|
|
11494
|
-
"title": "Cost"
|
|
11495
|
-
},
|
|
11496
|
-
"created_at": {
|
|
11497
|
-
"format": "date-time",
|
|
11498
|
-
"title": "Created At",
|
|
11499
|
-
"type": "string"
|
|
11500
|
-
},
|
|
11501
|
-
"duration": {
|
|
11502
|
-
"anyOf": [
|
|
11503
|
-
{
|
|
11504
|
-
"type": "integer"
|
|
11505
|
-
},
|
|
11506
|
-
{
|
|
11507
|
-
"type": "null"
|
|
11508
|
-
}
|
|
11509
|
-
],
|
|
11510
|
-
"default": null,
|
|
11511
|
-
"title": "Duration"
|
|
11512
|
-
},
|
|
11513
|
-
"feed_seq": {
|
|
11514
|
-
"description": "Position in the session feed and the stream's resume cursor.",
|
|
11515
|
-
"title": "Feed Seq",
|
|
11516
|
-
"type": "integer"
|
|
11517
|
-
},
|
|
11518
|
-
"id": {
|
|
11519
|
-
"description": "Unique identifier of the record.",
|
|
11520
|
-
"title": "Id",
|
|
11521
|
-
"type": "string"
|
|
11522
|
-
},
|
|
11523
|
-
"kind": {
|
|
11524
|
-
"const": "platform",
|
|
11525
|
-
"default": "platform",
|
|
11526
|
-
"title": "Kind",
|
|
11527
|
-
"type": "string"
|
|
11528
|
-
},
|
|
11529
|
-
"model": {
|
|
11530
|
-
"anyOf": [
|
|
11531
|
-
{
|
|
11532
|
-
"type": "string"
|
|
11533
|
-
},
|
|
11534
|
-
{
|
|
11535
|
-
"type": "null"
|
|
11536
|
-
}
|
|
11537
|
-
],
|
|
11538
|
-
"default": null,
|
|
11539
|
-
"title": "Model"
|
|
11540
|
-
},
|
|
11541
|
-
"payload": {
|
|
11542
|
-
"$ref": "#/$defs/TurnQueuedPayload"
|
|
11543
|
-
},
|
|
11544
|
-
"record_format": {
|
|
11545
|
-
"const": "ellipsis_lifecycle@1",
|
|
11546
|
-
"default": "ellipsis_lifecycle@1",
|
|
11547
|
-
"title": "Record Format",
|
|
11548
|
-
"type": "string"
|
|
11549
|
-
},
|
|
11550
|
-
"record_type": {
|
|
11551
|
-
"const": "turn_queued",
|
|
11552
|
-
"default": "turn_queued",
|
|
11553
|
-
"title": "Record Type",
|
|
11554
|
-
"type": "string"
|
|
11555
|
-
},
|
|
11556
|
-
"session_id": {
|
|
11557
|
-
"description": "Session containing this record.",
|
|
11558
|
-
"title": "Session Id",
|
|
11559
|
-
"type": "string"
|
|
11560
|
-
},
|
|
11561
|
-
"session_message_id": {
|
|
11562
|
-
"anyOf": [
|
|
11563
|
-
{
|
|
11564
|
-
"type": "string"
|
|
11565
|
-
},
|
|
11566
|
-
{
|
|
11567
|
-
"type": "null"
|
|
11568
|
-
}
|
|
11569
|
-
],
|
|
11570
|
-
"default": null,
|
|
11571
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
11572
|
-
"title": "Session Message Id"
|
|
11573
|
-
},
|
|
11574
|
-
"source": {
|
|
11575
|
-
"const": "lifecycle",
|
|
11576
|
-
"default": "lifecycle",
|
|
11577
|
-
"title": "Source",
|
|
11578
|
-
"type": "string"
|
|
11579
|
-
},
|
|
11580
|
-
"tokens_info": {
|
|
11581
|
-
"anyOf": [
|
|
11582
|
-
{
|
|
11583
|
-
"$ref": "#/$defs/TokensInfo"
|
|
11584
|
-
},
|
|
11585
|
-
{
|
|
11586
|
-
"type": "null"
|
|
11587
|
-
}
|
|
11588
|
-
],
|
|
11589
|
-
"default": null
|
|
11590
|
-
},
|
|
11591
|
-
"tools": {
|
|
11592
|
-
"anyOf": [
|
|
11593
|
-
{
|
|
11594
|
-
"items": {
|
|
11595
|
-
"type": "string"
|
|
11596
|
-
},
|
|
11597
|
-
"type": "array"
|
|
11598
|
-
},
|
|
11599
|
-
{
|
|
11600
|
-
"type": "null"
|
|
11601
|
-
}
|
|
11602
|
-
],
|
|
11603
|
-
"default": null,
|
|
11604
|
-
"title": "Tools"
|
|
11605
|
-
},
|
|
11606
|
-
"turn_id": {
|
|
11607
|
-
"anyOf": [
|
|
11608
|
-
{
|
|
11609
|
-
"type": "string"
|
|
11610
|
-
},
|
|
11611
|
-
{
|
|
11612
|
-
"type": "null"
|
|
11613
|
-
}
|
|
11614
|
-
],
|
|
11615
|
-
"default": null,
|
|
11616
|
-
"description": "Turn containing this record, when applicable.",
|
|
11617
|
-
"title": "Turn Id"
|
|
11618
|
-
}
|
|
11619
|
-
},
|
|
11620
|
-
"required": [
|
|
11621
|
-
"cost",
|
|
11622
|
-
"created_at",
|
|
11623
|
-
"duration",
|
|
11624
|
-
"feed_seq",
|
|
11625
|
-
"id",
|
|
11626
|
-
"kind",
|
|
11627
|
-
"model",
|
|
11628
|
-
"payload",
|
|
11629
|
-
"record_format",
|
|
11630
|
-
"record_type",
|
|
11631
|
-
"session_id",
|
|
11632
|
-
"session_message_id",
|
|
11633
|
-
"source",
|
|
11634
|
-
"tokens_info",
|
|
11635
|
-
"tools",
|
|
11636
|
-
"turn_id"
|
|
11637
|
-
],
|
|
11638
|
-
"title": "TurnQueuedRecord",
|
|
11639
|
-
"type": "object",
|
|
11640
|
-
"x-ellipsis-preserve-payload": true
|
|
11641
|
-
},
|
|
11642
|
-
"TurnReason": {
|
|
11643
|
-
"description": "Why a turn failed or was cancelled. Null on every other outcome.",
|
|
11644
|
-
"enum": [
|
|
11645
|
-
"error",
|
|
11646
|
-
"tool_call_failed",
|
|
11647
|
-
"budget_hit",
|
|
11648
|
-
"payment_required",
|
|
11649
|
-
"blocked",
|
|
11650
|
-
"contact_email_required",
|
|
11651
|
-
"lifecycle_hook_failed",
|
|
11652
|
-
"missing_repo_access",
|
|
11653
|
-
"missing_token_permissions",
|
|
11654
|
-
"missing_environment_variables",
|
|
11655
|
-
"missing_github_integration",
|
|
11656
|
-
"agent_unavailable",
|
|
11657
|
-
"upstream_unavailable",
|
|
11658
|
-
"unsupported_configuration",
|
|
11659
|
-
"execution_disabled",
|
|
11660
|
-
"interrupted"
|
|
11661
|
-
],
|
|
11662
|
-
"title": "TurnReason",
|
|
11663
|
-
"type": "string"
|
|
11664
|
-
},
|
|
11665
|
-
"TurnStartedPayload": {
|
|
11666
|
-
"additionalProperties": true,
|
|
11667
|
-
"description": "turn_started: the agent started on the turn's message.",
|
|
11668
|
-
"properties": {
|
|
11669
|
-
"turn_id": {
|
|
11670
|
-
"title": "Turn Id",
|
|
11671
|
-
"type": "string"
|
|
11672
|
-
},
|
|
11673
|
-
"turn_index": {
|
|
11674
|
-
"title": "Turn Index",
|
|
11675
|
-
"type": "integer"
|
|
11676
|
-
}
|
|
11677
|
-
},
|
|
11678
|
-
"required": [
|
|
11679
|
-
"turn_id",
|
|
11680
|
-
"turn_index"
|
|
11681
|
-
],
|
|
11682
|
-
"title": "TurnStartedPayload",
|
|
11683
|
-
"type": "object"
|
|
11684
|
-
},
|
|
11685
|
-
"TurnStartedRecord": {
|
|
11686
|
-
"properties": {
|
|
11687
|
-
"cost": {
|
|
11688
|
-
"anyOf": [
|
|
11689
|
-
{
|
|
11690
|
-
"type": "integer"
|
|
11691
|
-
},
|
|
11692
|
-
{
|
|
11693
|
-
"type": "null"
|
|
11694
|
-
}
|
|
11695
|
-
],
|
|
11696
|
-
"default": null,
|
|
11697
|
-
"title": "Cost"
|
|
11698
|
-
},
|
|
11699
|
-
"created_at": {
|
|
11700
|
-
"format": "date-time",
|
|
11701
|
-
"title": "Created At",
|
|
11702
|
-
"type": "string"
|
|
11703
|
-
},
|
|
11704
|
-
"duration": {
|
|
11705
|
-
"anyOf": [
|
|
11706
|
-
{
|
|
11707
|
-
"type": "integer"
|
|
11708
|
-
},
|
|
11709
|
-
{
|
|
11710
|
-
"type": "null"
|
|
11711
|
-
}
|
|
11712
|
-
],
|
|
11713
|
-
"default": null,
|
|
11714
|
-
"title": "Duration"
|
|
11715
|
-
},
|
|
11716
|
-
"feed_seq": {
|
|
11717
|
-
"description": "Position in the session feed and the stream's resume cursor.",
|
|
11718
|
-
"title": "Feed Seq",
|
|
11719
|
-
"type": "integer"
|
|
11720
|
-
},
|
|
11721
|
-
"id": {
|
|
11722
|
-
"description": "Unique identifier of the record.",
|
|
11723
|
-
"title": "Id",
|
|
11724
|
-
"type": "string"
|
|
11725
|
-
},
|
|
11726
|
-
"kind": {
|
|
11727
|
-
"const": "platform",
|
|
11728
|
-
"default": "platform",
|
|
11729
|
-
"title": "Kind",
|
|
11730
|
-
"type": "string"
|
|
11731
|
-
},
|
|
11732
|
-
"model": {
|
|
11733
|
-
"anyOf": [
|
|
11734
|
-
{
|
|
11735
|
-
"type": "string"
|
|
11736
|
-
},
|
|
11737
|
-
{
|
|
11738
|
-
"type": "null"
|
|
11739
|
-
}
|
|
11740
|
-
],
|
|
11741
|
-
"default": null,
|
|
11742
|
-
"title": "Model"
|
|
11743
|
-
},
|
|
11744
|
-
"payload": {
|
|
11745
|
-
"$ref": "#/$defs/TurnStartedPayload"
|
|
11746
|
-
},
|
|
11747
|
-
"record_format": {
|
|
11748
|
-
"const": "ellipsis_lifecycle@1",
|
|
11749
|
-
"default": "ellipsis_lifecycle@1",
|
|
11750
|
-
"title": "Record Format",
|
|
11751
|
-
"type": "string"
|
|
11752
|
-
},
|
|
11753
|
-
"record_type": {
|
|
11754
|
-
"const": "turn_started",
|
|
11755
|
-
"default": "turn_started",
|
|
11756
|
-
"title": "Record Type",
|
|
11757
|
-
"type": "string"
|
|
11758
|
-
},
|
|
11759
|
-
"session_id": {
|
|
11760
|
-
"description": "Session containing this record.",
|
|
11761
|
-
"title": "Session Id",
|
|
11762
|
-
"type": "string"
|
|
11763
|
-
},
|
|
11764
|
-
"session_message_id": {
|
|
11765
|
-
"anyOf": [
|
|
11766
|
-
{
|
|
11767
|
-
"type": "string"
|
|
11768
|
-
},
|
|
11769
|
-
{
|
|
11770
|
-
"type": "null"
|
|
11771
|
-
}
|
|
11772
|
-
],
|
|
11773
|
-
"default": null,
|
|
11774
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
11775
|
-
"title": "Session Message Id"
|
|
11776
|
-
},
|
|
11777
|
-
"source": {
|
|
11778
|
-
"const": "lifecycle",
|
|
11779
|
-
"default": "lifecycle",
|
|
11780
|
-
"title": "Source",
|
|
11781
|
-
"type": "string"
|
|
11782
|
-
},
|
|
11783
|
-
"tokens_info": {
|
|
11784
|
-
"anyOf": [
|
|
11785
|
-
{
|
|
11786
|
-
"$ref": "#/$defs/TokensInfo"
|
|
11787
|
-
},
|
|
11788
|
-
{
|
|
11789
|
-
"type": "null"
|
|
11790
|
-
}
|
|
11791
|
-
],
|
|
11792
|
-
"default": null
|
|
11793
|
-
},
|
|
11794
|
-
"tools": {
|
|
11795
|
-
"anyOf": [
|
|
11796
|
-
{
|
|
11797
|
-
"items": {
|
|
11798
|
-
"type": "string"
|
|
11799
|
-
},
|
|
11800
|
-
"type": "array"
|
|
11801
|
-
},
|
|
11802
|
-
{
|
|
11803
|
-
"type": "null"
|
|
11804
|
-
}
|
|
11805
|
-
],
|
|
11806
|
-
"default": null,
|
|
11807
|
-
"title": "Tools"
|
|
11808
|
-
},
|
|
11809
|
-
"turn_id": {
|
|
11810
|
-
"anyOf": [
|
|
11811
|
-
{
|
|
11812
|
-
"type": "string"
|
|
11813
|
-
},
|
|
11814
|
-
{
|
|
11815
|
-
"type": "null"
|
|
11816
|
-
}
|
|
11817
|
-
],
|
|
11818
|
-
"default": null,
|
|
11819
|
-
"description": "Turn containing this record, when applicable.",
|
|
11820
|
-
"title": "Turn Id"
|
|
11821
|
-
}
|
|
11822
|
-
},
|
|
11823
|
-
"required": [
|
|
11824
|
-
"cost",
|
|
11825
|
-
"created_at",
|
|
11826
|
-
"duration",
|
|
11827
|
-
"feed_seq",
|
|
11828
|
-
"id",
|
|
11829
|
-
"kind",
|
|
11830
|
-
"model",
|
|
11831
|
-
"payload",
|
|
11832
|
-
"record_format",
|
|
11833
|
-
"record_type",
|
|
11834
|
-
"session_id",
|
|
11835
|
-
"session_message_id",
|
|
11836
|
-
"source",
|
|
11837
|
-
"tokens_info",
|
|
11838
|
-
"tools",
|
|
11839
|
-
"turn_id"
|
|
11840
|
-
],
|
|
11841
|
-
"title": "TurnStartedRecord",
|
|
11842
|
-
"type": "object",
|
|
11843
|
-
"x-ellipsis-preserve-payload": true
|
|
11844
|
-
},
|
|
11845
|
-
"TurnStatus": {
|
|
11846
|
-
"description": "Where one turn is: waiting, preparing, being answered, or over.\n\n`queued` turns wait to start, behind another turn or for a free session\nslot on the account. `preparing` turns wait while the environment is set\nup. `stopped` and `cancelled` are their own outcomes; `reason` explains a\n`failed` or `cancelled` turn.",
|
|
11847
|
-
"enum": [
|
|
11848
|
-
"queued",
|
|
11849
|
-
"preparing",
|
|
11850
|
-
"running",
|
|
11851
|
-
"completed",
|
|
11852
|
-
"failed",
|
|
11853
|
-
"stopped",
|
|
11854
|
-
"cancelled"
|
|
11855
|
-
],
|
|
11856
|
-
"title": "TurnStatus",
|
|
11857
|
-
"type": "string"
|
|
11858
|
-
},
|
|
11859
|
-
"UnknownSessionRecord": {
|
|
11860
|
-
"description": "Unrecognized or unparseable payload; the complete original stays readable.",
|
|
11861
|
-
"properties": {
|
|
11862
|
-
"cost": {
|
|
11863
|
-
"anyOf": [
|
|
11864
|
-
{
|
|
11865
|
-
"type": "integer"
|
|
11866
|
-
},
|
|
11867
|
-
{
|
|
11868
|
-
"type": "null"
|
|
11869
|
-
}
|
|
11870
|
-
],
|
|
11871
|
-
"default": null,
|
|
11872
|
-
"title": "Cost"
|
|
11873
|
-
},
|
|
11874
|
-
"created_at": {
|
|
11875
|
-
"format": "date-time",
|
|
11876
|
-
"title": "Created At",
|
|
11877
|
-
"type": "string"
|
|
11878
|
-
},
|
|
11879
|
-
"duration": {
|
|
11880
|
-
"anyOf": [
|
|
11881
|
-
{
|
|
11882
|
-
"type": "integer"
|
|
11883
|
-
},
|
|
11884
|
-
{
|
|
11885
|
-
"type": "null"
|
|
11886
|
-
}
|
|
11887
|
-
],
|
|
11888
|
-
"default": null,
|
|
11889
|
-
"title": "Duration"
|
|
11890
|
-
},
|
|
11891
|
-
"feed_seq": {
|
|
11892
|
-
"description": "Position in the session feed and the stream's resume cursor.",
|
|
11893
|
-
"title": "Feed Seq",
|
|
11894
|
-
"type": "integer"
|
|
11895
|
-
},
|
|
11896
|
-
"id": {
|
|
11897
|
-
"description": "Unique identifier of the record.",
|
|
11898
|
-
"title": "Id",
|
|
11899
|
-
"type": "string"
|
|
11900
|
-
},
|
|
11901
|
-
"kind": {
|
|
11902
|
-
"const": "unknown",
|
|
11903
|
-
"default": "unknown",
|
|
11904
|
-
"title": "Kind",
|
|
11905
|
-
"type": "string"
|
|
11283
|
+
"description": "The message this record belongs to: the message itself, or what happened while answering it. Null for records outside any message, such as the session closing.",
|
|
11284
|
+
"title": "Message Id"
|
|
11906
11285
|
},
|
|
11907
11286
|
"model": {
|
|
11908
11287
|
"anyOf": [
|
|
@@ -11936,19 +11315,6 @@
|
|
|
11936
11315
|
"title": "Session Id",
|
|
11937
11316
|
"type": "string"
|
|
11938
11317
|
},
|
|
11939
|
-
"session_message_id": {
|
|
11940
|
-
"anyOf": [
|
|
11941
|
-
{
|
|
11942
|
-
"type": "string"
|
|
11943
|
-
},
|
|
11944
|
-
{
|
|
11945
|
-
"type": "null"
|
|
11946
|
-
}
|
|
11947
|
-
],
|
|
11948
|
-
"default": null,
|
|
11949
|
-
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
11950
|
-
"title": "Session Message Id"
|
|
11951
|
-
},
|
|
11952
11318
|
"source": {
|
|
11953
11319
|
"description": "Original producer. Unknown producers remain readable as unknown records.",
|
|
11954
11320
|
"title": "Source",
|
|
@@ -11979,19 +11345,6 @@
|
|
|
11979
11345
|
],
|
|
11980
11346
|
"default": null,
|
|
11981
11347
|
"title": "Tools"
|
|
11982
|
-
},
|
|
11983
|
-
"turn_id": {
|
|
11984
|
-
"anyOf": [
|
|
11985
|
-
{
|
|
11986
|
-
"type": "string"
|
|
11987
|
-
},
|
|
11988
|
-
{
|
|
11989
|
-
"type": "null"
|
|
11990
|
-
}
|
|
11991
|
-
],
|
|
11992
|
-
"default": null,
|
|
11993
|
-
"description": "Turn containing this record, when applicable.",
|
|
11994
|
-
"title": "Turn Id"
|
|
11995
11348
|
}
|
|
11996
11349
|
},
|
|
11997
11350
|
"required": [
|
|
@@ -12001,16 +11354,15 @@
|
|
|
12001
11354
|
"feed_seq",
|
|
12002
11355
|
"id",
|
|
12003
11356
|
"kind",
|
|
11357
|
+
"message_id",
|
|
12004
11358
|
"model",
|
|
12005
11359
|
"payload",
|
|
12006
11360
|
"record_format",
|
|
12007
11361
|
"record_type",
|
|
12008
11362
|
"session_id",
|
|
12009
|
-
"session_message_id",
|
|
12010
11363
|
"source",
|
|
12011
11364
|
"tokens_info",
|
|
12012
|
-
"tools"
|
|
12013
|
-
"turn_id"
|
|
11365
|
+
"tools"
|
|
12014
11366
|
],
|
|
12015
11367
|
"title": "UnknownSessionRecord",
|
|
12016
11368
|
"type": "object",
|
|
@@ -12042,13 +11394,10 @@
|
|
|
12042
11394
|
"description": "One server-to-client frame of the Ellipsis session stream (WS /v1/sessions/{id}/stream). Clients ignore frames with unknown `type` values.",
|
|
12043
11395
|
"oneOf": [
|
|
12044
11396
|
{
|
|
12045
|
-
"$ref": "#/$defs/
|
|
12046
|
-
},
|
|
12047
|
-
{
|
|
12048
|
-
"$ref": "#/$defs/RecordsAppendFrame"
|
|
11397
|
+
"$ref": "#/$defs/SessionFrame"
|
|
12049
11398
|
},
|
|
12050
11399
|
{
|
|
12051
|
-
"$ref": "#/$defs/
|
|
11400
|
+
"$ref": "#/$defs/RecordsFrame"
|
|
12052
11401
|
},
|
|
12053
11402
|
{
|
|
12054
11403
|
"$ref": "#/$defs/DeltaFrame"
|
|
@@ -12056,9 +11405,6 @@
|
|
|
12056
11405
|
{
|
|
12057
11406
|
"$ref": "#/$defs/HeartbeatFrame"
|
|
12058
11407
|
},
|
|
12059
|
-
{
|
|
12060
|
-
"$ref": "#/$defs/DoneFrame"
|
|
12061
|
-
},
|
|
12062
11408
|
{
|
|
12063
11409
|
"$ref": "#/$defs/ErrorFrame"
|
|
12064
11410
|
}
|