@ag-ui/proto 0.0.40-alpha.6 → 0.0.40-alpha.8
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/LICENSE +18 -5
- package/dist/index.js +28 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -20,7 +20,7 @@ var Struct = {
|
|
|
20
20
|
},
|
|
21
21
|
decode(input, length) {
|
|
22
22
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
23
|
-
|
|
23
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
24
24
|
const message = createBaseStruct();
|
|
25
25
|
while (reader.pos < end) {
|
|
26
26
|
const tag = reader.uint32();
|
|
@@ -94,7 +94,7 @@ var Struct_FieldsEntry = {
|
|
|
94
94
|
},
|
|
95
95
|
decode(input, length) {
|
|
96
96
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
97
|
-
|
|
97
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
98
98
|
const message = createBaseStruct_FieldsEntry();
|
|
99
99
|
while (reader.pos < end) {
|
|
100
100
|
const tag = reader.uint32();
|
|
@@ -166,7 +166,7 @@ var Value = {
|
|
|
166
166
|
},
|
|
167
167
|
decode(input, length) {
|
|
168
168
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
169
|
-
|
|
169
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
170
170
|
const message = createBaseValue();
|
|
171
171
|
while (reader.pos < end) {
|
|
172
172
|
const tag = reader.uint32();
|
|
@@ -283,7 +283,7 @@ var ListValue = {
|
|
|
283
283
|
},
|
|
284
284
|
decode(input, length) {
|
|
285
285
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
286
|
-
|
|
286
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
287
287
|
const message = createBaseListValue();
|
|
288
288
|
while (reader.pos < end) {
|
|
289
289
|
const tag = reader.uint32();
|
|
@@ -359,7 +359,7 @@ var JsonPatchOperation = {
|
|
|
359
359
|
},
|
|
360
360
|
decode(input, length) {
|
|
361
361
|
const reader = input instanceof BinaryReader2 ? input : new BinaryReader2(input);
|
|
362
|
-
|
|
362
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
363
363
|
const message = createBaseJsonPatchOperation();
|
|
364
364
|
while (reader.pos < end) {
|
|
365
365
|
const tag = reader.uint32();
|
|
@@ -434,7 +434,7 @@ var ToolCall = {
|
|
|
434
434
|
},
|
|
435
435
|
decode(input, length) {
|
|
436
436
|
const reader = input instanceof BinaryReader3 ? input : new BinaryReader3(input);
|
|
437
|
-
|
|
437
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
438
438
|
const message = createBaseToolCall();
|
|
439
439
|
while (reader.pos < end) {
|
|
440
440
|
const tag = reader.uint32();
|
|
@@ -495,7 +495,7 @@ var ToolCall_Function = {
|
|
|
495
495
|
},
|
|
496
496
|
decode(input, length) {
|
|
497
497
|
const reader = input instanceof BinaryReader3 ? input : new BinaryReader3(input);
|
|
498
|
-
|
|
498
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
499
499
|
const message = createBaseToolCall_Function();
|
|
500
500
|
while (reader.pos < end) {
|
|
501
501
|
const tag = reader.uint32();
|
|
@@ -571,7 +571,7 @@ var Message = {
|
|
|
571
571
|
},
|
|
572
572
|
decode(input, length) {
|
|
573
573
|
const reader = input instanceof BinaryReader3 ? input : new BinaryReader3(input);
|
|
574
|
-
|
|
574
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
575
575
|
const message = createBaseMessage();
|
|
576
576
|
while (reader.pos < end) {
|
|
577
577
|
const tag = reader.uint32();
|
|
@@ -689,7 +689,7 @@ var BaseEvent = {
|
|
|
689
689
|
},
|
|
690
690
|
decode(input, length) {
|
|
691
691
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
692
|
-
|
|
692
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
693
693
|
const message = createBaseBaseEvent();
|
|
694
694
|
while (reader.pos < end) {
|
|
695
695
|
const tag = reader.uint32();
|
|
@@ -753,7 +753,7 @@ var TextMessageStartEvent = {
|
|
|
753
753
|
},
|
|
754
754
|
decode(input, length) {
|
|
755
755
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
756
|
-
|
|
756
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
757
757
|
const message = createBaseTextMessageStartEvent();
|
|
758
758
|
while (reader.pos < end) {
|
|
759
759
|
const tag = reader.uint32();
|
|
@@ -817,7 +817,7 @@ var TextMessageContentEvent = {
|
|
|
817
817
|
},
|
|
818
818
|
decode(input, length) {
|
|
819
819
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
820
|
-
|
|
820
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
821
821
|
const message = createBaseTextMessageContentEvent();
|
|
822
822
|
while (reader.pos < end) {
|
|
823
823
|
const tag = reader.uint32();
|
|
@@ -878,7 +878,7 @@ var TextMessageEndEvent = {
|
|
|
878
878
|
},
|
|
879
879
|
decode(input, length) {
|
|
880
880
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
881
|
-
|
|
881
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
882
882
|
const message = createBaseTextMessageEndEvent();
|
|
883
883
|
while (reader.pos < end) {
|
|
884
884
|
const tag = reader.uint32();
|
|
@@ -937,7 +937,7 @@ var ToolCallStartEvent = {
|
|
|
937
937
|
},
|
|
938
938
|
decode(input, length) {
|
|
939
939
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
940
|
-
|
|
940
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
941
941
|
const message = createBaseToolCallStartEvent();
|
|
942
942
|
while (reader.pos < end) {
|
|
943
943
|
const tag = reader.uint32();
|
|
@@ -1009,7 +1009,7 @@ var ToolCallArgsEvent = {
|
|
|
1009
1009
|
},
|
|
1010
1010
|
decode(input, length) {
|
|
1011
1011
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1012
|
-
|
|
1012
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1013
1013
|
const message = createBaseToolCallArgsEvent();
|
|
1014
1014
|
while (reader.pos < end) {
|
|
1015
1015
|
const tag = reader.uint32();
|
|
@@ -1070,7 +1070,7 @@ var ToolCallEndEvent = {
|
|
|
1070
1070
|
},
|
|
1071
1071
|
decode(input, length) {
|
|
1072
1072
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1073
|
-
|
|
1073
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1074
1074
|
const message = createBaseToolCallEndEvent();
|
|
1075
1075
|
while (reader.pos < end) {
|
|
1076
1076
|
const tag = reader.uint32();
|
|
@@ -1123,7 +1123,7 @@ var StateSnapshotEvent = {
|
|
|
1123
1123
|
},
|
|
1124
1124
|
decode(input, length) {
|
|
1125
1125
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1126
|
-
|
|
1126
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1127
1127
|
const message = createBaseStateSnapshotEvent();
|
|
1128
1128
|
while (reader.pos < end) {
|
|
1129
1129
|
const tag = reader.uint32();
|
|
@@ -1176,7 +1176,7 @@ var StateDeltaEvent = {
|
|
|
1176
1176
|
},
|
|
1177
1177
|
decode(input, length) {
|
|
1178
1178
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1179
|
-
|
|
1179
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1180
1180
|
const message = createBaseStateDeltaEvent();
|
|
1181
1181
|
while (reader.pos < end) {
|
|
1182
1182
|
const tag = reader.uint32();
|
|
@@ -1229,7 +1229,7 @@ var MessagesSnapshotEvent = {
|
|
|
1229
1229
|
},
|
|
1230
1230
|
decode(input, length) {
|
|
1231
1231
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1232
|
-
|
|
1232
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1233
1233
|
const message = createBaseMessagesSnapshotEvent();
|
|
1234
1234
|
while (reader.pos < end) {
|
|
1235
1235
|
const tag = reader.uint32();
|
|
@@ -1285,7 +1285,7 @@ var RawEvent = {
|
|
|
1285
1285
|
},
|
|
1286
1286
|
decode(input, length) {
|
|
1287
1287
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1288
|
-
|
|
1288
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1289
1289
|
const message = createBaseRawEvent();
|
|
1290
1290
|
while (reader.pos < end) {
|
|
1291
1291
|
const tag = reader.uint32();
|
|
@@ -1349,7 +1349,7 @@ var CustomEvent = {
|
|
|
1349
1349
|
},
|
|
1350
1350
|
decode(input, length) {
|
|
1351
1351
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1352
|
-
|
|
1352
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1353
1353
|
const message = createBaseCustomEvent();
|
|
1354
1354
|
while (reader.pos < end) {
|
|
1355
1355
|
const tag = reader.uint32();
|
|
@@ -1413,7 +1413,7 @@ var RunStartedEvent = {
|
|
|
1413
1413
|
},
|
|
1414
1414
|
decode(input, length) {
|
|
1415
1415
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1416
|
-
|
|
1416
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1417
1417
|
const message = createBaseRunStartedEvent();
|
|
1418
1418
|
while (reader.pos < end) {
|
|
1419
1419
|
const tag = reader.uint32();
|
|
@@ -1480,7 +1480,7 @@ var RunFinishedEvent = {
|
|
|
1480
1480
|
},
|
|
1481
1481
|
decode(input, length) {
|
|
1482
1482
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1483
|
-
|
|
1483
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1484
1484
|
const message = createBaseRunFinishedEvent();
|
|
1485
1485
|
while (reader.pos < end) {
|
|
1486
1486
|
const tag = reader.uint32();
|
|
@@ -1552,7 +1552,7 @@ var RunErrorEvent = {
|
|
|
1552
1552
|
},
|
|
1553
1553
|
decode(input, length) {
|
|
1554
1554
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1555
|
-
|
|
1555
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1556
1556
|
const message = createBaseRunErrorEvent();
|
|
1557
1557
|
while (reader.pos < end) {
|
|
1558
1558
|
const tag = reader.uint32();
|
|
@@ -1613,7 +1613,7 @@ var StepStartedEvent = {
|
|
|
1613
1613
|
},
|
|
1614
1614
|
decode(input, length) {
|
|
1615
1615
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1616
|
-
|
|
1616
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1617
1617
|
const message = createBaseStepStartedEvent();
|
|
1618
1618
|
while (reader.pos < end) {
|
|
1619
1619
|
const tag = reader.uint32();
|
|
@@ -1666,7 +1666,7 @@ var StepFinishedEvent = {
|
|
|
1666
1666
|
},
|
|
1667
1667
|
decode(input, length) {
|
|
1668
1668
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1669
|
-
|
|
1669
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1670
1670
|
const message = createBaseStepFinishedEvent();
|
|
1671
1671
|
while (reader.pos < end) {
|
|
1672
1672
|
const tag = reader.uint32();
|
|
@@ -1725,7 +1725,7 @@ var TextMessageChunkEvent = {
|
|
|
1725
1725
|
},
|
|
1726
1726
|
decode(input, length) {
|
|
1727
1727
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1728
|
-
|
|
1728
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1729
1729
|
const message = createBaseTextMessageChunkEvent();
|
|
1730
1730
|
while (reader.pos < end) {
|
|
1731
1731
|
const tag = reader.uint32();
|
|
@@ -1809,7 +1809,7 @@ var ToolCallChunkEvent = {
|
|
|
1809
1809
|
},
|
|
1810
1810
|
decode(input, length) {
|
|
1811
1811
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1812
|
-
|
|
1812
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1813
1813
|
const message = createBaseToolCallChunkEvent();
|
|
1814
1814
|
while (reader.pos < end) {
|
|
1815
1815
|
const tag = reader.uint32();
|
|
@@ -1953,7 +1953,7 @@ var Event = {
|
|
|
1953
1953
|
},
|
|
1954
1954
|
decode(input, length) {
|
|
1955
1955
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
1956
|
-
|
|
1956
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1957
1957
|
const message = createBaseEvent();
|
|
1958
1958
|
while (reader.pos < end) {
|
|
1959
1959
|
const tag = reader.uint32();
|